@wix/auto_sdk_blog_draft-posts 1.0.91 → 1.0.93

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 (45) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +28 -13
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +338 -277
  5. package/build/cjs/index.typings.js +28 -13
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +340 -279
  8. package/build/cjs/meta.js +28 -13
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/schemas.js +15 -15
  11. package/build/cjs/schemas.js.map +1 -1
  12. package/build/es/index.d.mts +1 -1
  13. package/build/es/index.mjs +27 -13
  14. package/build/es/index.mjs.map +1 -1
  15. package/build/es/index.typings.d.mts +338 -277
  16. package/build/es/index.typings.mjs +27 -13
  17. package/build/es/index.typings.mjs.map +1 -1
  18. package/build/es/meta.d.mts +340 -279
  19. package/build/es/meta.mjs +27 -13
  20. package/build/es/meta.mjs.map +1 -1
  21. package/build/es/schemas.mjs +15 -15
  22. package/build/es/schemas.mjs.map +1 -1
  23. package/build/internal/cjs/index.d.ts +1 -1
  24. package/build/internal/cjs/index.js +28 -13
  25. package/build/internal/cjs/index.js.map +1 -1
  26. package/build/internal/cjs/index.typings.d.ts +359 -298
  27. package/build/internal/cjs/index.typings.js +28 -13
  28. package/build/internal/cjs/index.typings.js.map +1 -1
  29. package/build/internal/cjs/meta.d.ts +782 -721
  30. package/build/internal/cjs/meta.js +28 -13
  31. package/build/internal/cjs/meta.js.map +1 -1
  32. package/build/internal/cjs/schemas.js +15 -15
  33. package/build/internal/cjs/schemas.js.map +1 -1
  34. package/build/internal/es/index.d.mts +1 -1
  35. package/build/internal/es/index.mjs +27 -13
  36. package/build/internal/es/index.mjs.map +1 -1
  37. package/build/internal/es/index.typings.d.mts +359 -298
  38. package/build/internal/es/index.typings.mjs +27 -13
  39. package/build/internal/es/index.typings.mjs.map +1 -1
  40. package/build/internal/es/meta.d.mts +782 -721
  41. package/build/internal/es/meta.mjs +27 -13
  42. package/build/internal/es/meta.mjs.map +1 -1
  43. package/build/internal/es/schemas.mjs +15 -15
  44. package/build/internal/es/schemas.mjs.map +1 -1
  45. package/package.json +2 -2
@@ -832,17 +832,27 @@ interface Rel {
832
832
  interface Animation {
833
833
  /** Animation kind. */
834
834
  type?: AnimationTypeWithLiterals;
835
- /** Entrance animation, played once when the node first enters the viewport. */
835
+ /** Entrance animation, played once when the node first enters the viewport (VIEW). */
836
836
  entrance?: EntranceAnimation;
837
- /** Looping animation, repeated indefinitely while the node is on the page. When combined with entrance, the loop starts after the entrance finishes. */
837
+ /** Looping animation, repeated indefinitely while the node is on the page. When combined with entrance, the loop starts after the entrance finishes (VIEW). */
838
838
  loop?: LoopAnimation;
839
+ /**
840
+ * POINTER carries its fields directly on the union member in the JTD wall, hence
841
+ * flat fields here (ts-proto camelCase must equal the JTD property names). A future
842
+ * SCROLL variant will contend for the `effect` JSON name — resolve when it lands.
843
+ */
844
+ effect?: PointerEffect;
845
+ /** How quickly the node settles toward the pointer, in milliseconds (POINTER). */
846
+ transitionDuration?: number | null;
839
847
  }
840
848
  declare enum AnimationType {
841
849
  /** Animations that play while the node is in view. */
842
- VIEW = "VIEW"
850
+ VIEW = "VIEW",
851
+ /** Animations driven by the visitor's mouse position. */
852
+ POINTER = "POINTER"
843
853
  }
844
854
  /** @enumType */
845
- type AnimationTypeWithLiterals = AnimationType | 'VIEW';
855
+ type AnimationTypeWithLiterals = AnimationType | 'VIEW' | 'POINTER';
846
856
  interface EntranceAnimation {
847
857
  /** The entrance effect to play. */
848
858
  effect?: EntranceEffect;
@@ -962,6 +972,49 @@ declare enum LoopEffectType {
962
972
  }
963
973
  /** @enumType */
964
974
  type LoopEffectTypeWithLiterals = LoopEffectType | 'BOUNCE' | 'BREATHE' | 'CROSS' | 'FLASH' | 'FLIP' | 'FOLD' | 'JELLO' | 'POKE' | 'PULSE' | 'RUBBER' | 'SPIN' | 'SWING' | 'WIGGLE';
975
+ interface PointerEffect {
976
+ /** The mouse effect type. */
977
+ type?: PointerEffectTypeWithLiterals;
978
+ /** Reacts away from the pointer instead of toward it. */
979
+ inverted?: boolean | null;
980
+ /**
981
+ * One field, two value spaces (the effect type says which): the axis the movement is constrained to — HORIZONTAL, VERTICAL, or BOTH (AIRY, SCALE, SKEW, TRACK, TRACK_3D) — or the edge/center axis the node swivels around — TOP, BOTTOM, LEFT, RIGHT, CENTER_HORIZONTAL, or CENTER_VERTICAL (SWIVEL). Only the effects that expose one accept it.
982
+ * @maxLength 20
983
+ */
984
+ axis?: string | null;
985
+ /**
986
+ * Whether the node grows or shrinks as the pointer nears: UP or DOWN (SCALE).
987
+ * @maxLength 8
988
+ */
989
+ direction?: string | null;
990
+ /**
991
+ * Motion style: GENTLE, MODERATE, or INTENSE.
992
+ * @maxLength 100
993
+ */
994
+ easing?: string | null;
995
+ }
996
+ declare enum PointerEffectType {
997
+ /** Drifts loosely after the pointer with a light rotation. */
998
+ AIRY = "AIRY",
999
+ /** Squashes and stretches toward the pointer. */
1000
+ BLOB = "BLOB",
1001
+ /** Shifts after the pointer while blurring. */
1002
+ BLUR = "BLUR",
1003
+ /** Scales as the pointer approaches. */
1004
+ SCALE = "SCALE",
1005
+ /** Skews toward the pointer. */
1006
+ SKEW = "SKEW",
1007
+ /** Rotates around a pivot edge or axis, following the pointer. */
1008
+ SWIVEL = "SWIVEL",
1009
+ /** Tilts in 3D perspective toward the pointer. */
1010
+ TILT_3D = "TILT_3D",
1011
+ /** Follows the pointer's position. */
1012
+ TRACK = "TRACK",
1013
+ /** Follows the pointer with a 3D depth motion. */
1014
+ TRACK_3D = "TRACK_3D"
1015
+ }
1016
+ /** @enumType */
1017
+ type PointerEffectTypeWithLiterals = PointerEffectType | 'AIRY' | 'BLOB' | 'BLUR' | 'SCALE' | 'SKEW' | 'SWIVEL' | 'TILT_3D' | 'TRACK' | 'TRACK_3D';
965
1018
  interface CodeBlockData {
966
1019
  /** Styling for the code block's text. */
967
1020
  textStyle?: TextStyle;
@@ -3006,7 +3059,15 @@ interface Tag {
3006
3059
  meta?: Record<string, any> | null;
3007
3060
  /** SEO tag inner content. For example, `<title> inner content </title>`. */
3008
3061
  children?: string;
3009
- /** Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages). */
3062
+ /**
3063
+ * Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages).
3064
+ *
3065
+ * Limitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read
3066
+ * only from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor
3067
+ * or Wix Studio pages, so custom tags saved on those pages are missing from the response entirely. For
3068
+ * those pages `false` therefore does not mean "not a custom tag" — it means this API could not tell.
3069
+ * Pass `seoData` explicitly to resolve against a known set of tags.
3070
+ */
3010
3071
  custom?: boolean;
3011
3072
  /** Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines. */
3012
3073
  disabled?: boolean;
@@ -3250,10 +3311,6 @@ interface DraftPostTranslation {
3250
3311
  /** Post URL. */
3251
3312
  url?: PageUrl;
3252
3313
  }
3253
- interface InitialDraftPostsCopied {
3254
- /** Number of draft posts copied. */
3255
- count?: number;
3256
- }
3257
3314
  interface DraftCategoriesUpdated {
3258
3315
  /**
3259
3316
  * Draft post ID.
@@ -3292,368 +3349,258 @@ interface DraftTagsUpdated {
3292
3349
  */
3293
3350
  previousTags?: string[];
3294
3351
  }
3295
- interface CreateDraftPostRequest {
3296
- /** Draft post to create. */
3297
- draftPost: DraftPost;
3298
- /**
3299
- * Whether the draft post should be published on creation.
3300
- *
3301
- * Default: `false`
3302
- */
3303
- publish?: boolean;
3352
+ interface GetDraftPostTotalsRequest {
3304
3353
  /**
3305
- * Save type.
3306
- * @internal
3354
+ * Group results by fields (defaults to grouping by status).
3355
+ * If, for example, grouping by language is passed, language values in response will be filled.
3356
+ * If, for example, grouping by language is not passed, null values will be filled in language field in response.
3357
+ * @maxSize 10
3307
3358
  */
3308
- saveType?: TypeWithLiterals;
3359
+ groupBy?: TotalDraftPostsGroupingFieldWithLiterals[];
3309
3360
  /**
3310
- * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
3311
- * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default
3312
- * only the draft post's base fields are returned.
3313
- * @maxSize 10
3361
+ * Optional language filter by provided language code. Useful in multilingual context.
3362
+ * @format LANGUAGE_TAG
3314
3363
  */
3315
- fieldsets?: FieldWithLiterals[];
3364
+ language?: string | null;
3316
3365
  }
3317
- declare enum Type {
3318
- UNKNOWN = "UNKNOWN",
3319
- /** Manually saved. */
3320
- MANUAL = "MANUAL",
3321
- /** Triggered by autosave. */
3322
- AUTO_SAVE = "AUTO_SAVE",
3323
- /** Copied from template during provisioning flow. */
3324
- PROVISIONING = "PROVISIONING",
3325
- /** Imported from another blog. */
3326
- IMPORT = "IMPORT",
3327
- /** Triggered by autosave when post created by AI tool. */
3328
- AI_AUTO_SAVE = "AI_AUTO_SAVE"
3366
+ declare enum TotalDraftPostsGroupingField {
3367
+ /** Groups results by status. */
3368
+ STATUS = "STATUS",
3369
+ /** Groups results by language. */
3370
+ LANGUAGE = "LANGUAGE"
3329
3371
  }
3330
3372
  /** @enumType */
3331
- type TypeWithLiterals = Type | 'UNKNOWN' | 'MANUAL' | 'AUTO_SAVE' | 'PROVISIONING' | 'IMPORT' | 'AI_AUTO_SAVE';
3332
- declare enum Field {
3333
- /** Unknown field. */
3334
- UNKNOWN = "UNKNOWN",
3335
- /** Includes draft post preview URL. */
3336
- URL = "URL",
3373
+ type TotalDraftPostsGroupingFieldWithLiterals = TotalDraftPostsGroupingField | 'STATUS' | 'LANGUAGE';
3374
+ interface GetDraftPostTotalsResponse {
3375
+ /** Draft post totals. */
3376
+ totalDraftPosts?: TotalDraftPosts[];
3377
+ }
3378
+ interface TotalDraftPosts {
3379
+ /** Draft post totals in that group. */
3380
+ total?: number;
3381
+ /** Draft post status (only has value when grouping by status, otherwise null). */
3382
+ status?: StatusWithLiterals;
3337
3383
  /**
3338
- * Includes internal id field.
3339
- * Reserved for internal use.
3340
- * @internal
3384
+ * Draft post language code (only has value when grouping by language, otherwise null).
3385
+ * @format LANGUAGE_TAG
3341
3386
  */
3342
- INTERNAL_ID = "INTERNAL_ID",
3343
- /** Includes content field. */
3344
- CONTENT = "CONTENT",
3345
- /** Includes rich content field. */
3346
- RICH_CONTENT = "RICH_CONTENT",
3387
+ language?: string | null;
3388
+ }
3389
+ interface DomainEvent extends DomainEventBodyOneOf {
3390
+ createdEvent?: EntityCreatedEvent;
3391
+ updatedEvent?: EntityUpdatedEvent;
3392
+ deletedEvent?: EntityDeletedEvent;
3393
+ actionEvent?: ActionEvent;
3394
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
3395
+ id?: string;
3347
3396
  /**
3348
- * Includes draft post translations when present.
3349
- * @internal
3397
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
3398
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
3350
3399
  */
3351
- TRANSLATIONS = "TRANSLATIONS",
3352
- /** If the user has not set excerpt, returns the one autogenerated from content. */
3353
- GENERATED_EXCERPT = "GENERATED_EXCERPT"
3354
- }
3355
- /** @enumType */
3356
- type FieldWithLiterals = Field | 'UNKNOWN' | 'URL' | 'CONTENT' | 'RICH_CONTENT' | 'GENERATED_EXCERPT';
3357
- interface CreateDraftPostResponse {
3358
- /** Created draft post info. */
3359
- draftPost?: DraftPost;
3360
- }
3361
- interface BulkCreateDraftPostsRequest {
3400
+ entityFqdn?: string;
3362
3401
  /**
3363
- * Draft posts to create.
3364
- * @minSize 1
3365
- * @maxSize 20
3402
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
3403
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
3366
3404
  */
3367
- draftPosts: DraftPost[];
3368
- /** Whether the draft post should be published after creation. */
3369
- publish?: boolean;
3405
+ slug?: string;
3406
+ /** ID of the entity associated with the event. */
3407
+ entityId?: string;
3408
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
3409
+ eventTime?: Date | null;
3370
3410
  /**
3371
- * Save type.
3372
- * @internal
3411
+ * Whether the event was triggered as a result of a privacy regulation application
3412
+ * (for example, GDPR).
3373
3413
  */
3374
- saveType?: TypeWithLiterals;
3375
- /** Whether to return the full created draft post entities in the response. */
3376
- returnFullEntity?: boolean;
3414
+ triggeredByAnonymizeRequest?: boolean | null;
3415
+ /** If present, indicates the action that triggered the event. */
3416
+ originatedFrom?: string | null;
3377
3417
  /**
3378
- * List of draft post fields to be included in the response if the entities are present.
3379
- * Base default fieldset returns all core draft post properties (all properties that are not a supported fieldset value).
3380
- * For example, when `URL` fieldset is selected, returned draft post will include the set of base properties and the draft post's preview url.
3381
- * @maxSize 10
3418
+ * 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.
3419
+ * 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.
3382
3420
  */
3383
- fieldsets?: FieldWithLiterals[];
3384
- }
3385
- interface BulkCreateDraftPostsResponse {
3386
- /** Draft posts created by bulk action. */
3387
- results?: BulkDraftPostResult[];
3388
- /** Bulk action metadata. */
3389
- bulkActionMetadata?: BulkActionMetadata;
3390
- }
3391
- interface BulkDraftPostResult {
3392
- /** Bulk actions metadata for draft post. */
3393
- itemMetadata?: ItemMetadata;
3394
- /** Optional full draft post. */
3395
- item?: DraftPost;
3421
+ entityEventSequence?: string | null;
3396
3422
  }
3397
- interface ItemMetadata {
3398
- /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
3399
- id?: string | null;
3400
- /** Index of the item within the request array. Allows for correlation between request and response items. */
3401
- originalIndex?: number;
3402
- /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
3403
- success?: boolean;
3404
- /** Details about the error in case of failure. */
3405
- error?: ApplicationError;
3423
+ /** @oneof */
3424
+ interface DomainEventBodyOneOf {
3425
+ createdEvent?: EntityCreatedEvent;
3426
+ updatedEvent?: EntityUpdatedEvent;
3427
+ deletedEvent?: EntityDeletedEvent;
3428
+ actionEvent?: ActionEvent;
3406
3429
  }
3407
- interface ApplicationError {
3408
- /** Error code. */
3409
- code?: string;
3410
- /** Description of the error. */
3411
- description?: string;
3412
- /** Data related to the error. */
3413
- data?: Record<string, any> | null;
3430
+ interface EntityCreatedEvent {
3431
+ entityAsJson?: string;
3432
+ /**
3433
+ * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity
3434
+ * @internal
3435
+ */
3436
+ triggeredByUndelete?: boolean | null;
3437
+ /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
3438
+ restoreInfo?: RestoreInfo;
3439
+ /**
3440
+ * Optional domain-specific metadata defined by the API owner, encoded as JSON.
3441
+ * @internal
3442
+ */
3443
+ additionalMetadataAsJson?: string | null;
3414
3444
  }
3415
- interface BulkActionMetadata {
3416
- /** Number of items that were successfully processed. */
3417
- totalSuccesses?: number;
3418
- /** Number of items that couldn't be processed. */
3419
- totalFailures?: number;
3420
- /** Number of failures without details because detailed failure threshold was exceeded. */
3421
- undetailedFailures?: number;
3445
+ interface RestoreInfo {
3446
+ deletedDate?: Date | null;
3422
3447
  }
3423
- interface BulkUpdateDraftPostsRequest {
3448
+ interface EntityUpdatedEvent {
3424
3449
  /**
3425
- * Draft posts to update.
3426
- * @minSize 1
3427
- * @maxSize 20
3450
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
3451
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
3452
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
3428
3453
  */
3429
- draftPosts?: MaskedDraftPosts[];
3454
+ currentEntityAsJson?: string;
3430
3455
  /**
3431
- * Action to perform on the posts.
3432
- *
3433
- * Default: `UPDATE`
3456
+ * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard
3457
+ * wont populate it / have any reference to it in the API.
3458
+ * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed,
3459
+ * the developer should send only the new (current) entity.
3460
+ * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big
3461
+ * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message.
3462
+ * @internal
3463
+ * @deprecated
3434
3464
  */
3435
- action?: ActionWithLiterals;
3436
- /** Posts' scheduled publish date when `action` is set to `UPDATE_SCHEDULE`. */
3437
- scheduledPublishDate?: Date | null;
3465
+ previousEntityAsJson?: string | null;
3438
3466
  /**
3439
- * Save type.
3467
+ * Map of fully qualified field paths to their previous values for fields that changed.
3468
+ * For more details please see [AIP](https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/design-patterns/7016-events#modified-fields-format)
3440
3469
  * @internal
3441
3470
  */
3442
- saveType?: TypeWithLiterals;
3443
- /** Whether to return the full updated draft post entities in the response. */
3444
- returnFullEntity?: boolean;
3471
+ modifiedFields?: Record<string, any>;
3445
3472
  /**
3446
- * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
3447
- * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default
3448
- * only the draft post's base fields are returned.
3449
- * @maxSize 10
3473
+ * Optional domain-specific metadata defined by the API owner, encoded as JSON.
3474
+ * @internal
3450
3475
  */
3451
- fieldsets?: FieldWithLiterals[];
3452
- }
3453
- interface MaskedDraftPosts {
3454
- /** Draft post */
3455
- draftPost?: DraftPost;
3456
- /** Field mask of fields to update. */
3457
- fieldMask?: string[];
3476
+ additionalMetadataAsJson?: string | null;
3458
3477
  }
3459
- declare enum Action {
3460
- /** Update the draft post. */
3461
- UPDATE = "UPDATE",
3462
- /** Update and publish a draft post. */
3463
- UPDATE_PUBLISH = "UPDATE_PUBLISH",
3464
- /** Update the draft post and schedule a publish date. */
3465
- UPDATE_SCHEDULE = "UPDATE_SCHEDULE",
3466
- /** Update the post and revert it to draft. */
3467
- UPDATE_REVERT_TO_DRAFT = "UPDATE_REVERT_TO_DRAFT",
3468
- /** Update the draft post and cancel the scheduled publish date. */
3469
- UPDATE_CANCEL_SCHEDULE = "UPDATE_CANCEL_SCHEDULE",
3470
- /** Update and reject draft post. */
3471
- UPDATE_REJECT = "UPDATE_REJECT",
3472
- /** Update a post that's already been published. This creates and updates a draft version of the post. The original post is still published. */
3473
- UPDATE_PUBLICATION = "UPDATE_PUBLICATION"
3474
- }
3475
- /** @enumType */
3476
- type ActionWithLiterals = Action | 'UPDATE' | 'UPDATE_PUBLISH' | 'UPDATE_SCHEDULE' | 'UPDATE_REVERT_TO_DRAFT' | 'UPDATE_CANCEL_SCHEDULE' | 'UPDATE_REJECT' | 'UPDATE_PUBLICATION';
3477
- interface BulkUpdateDraftPostsResponse {
3478
- /** Draft posts updated by bulk action. */
3479
- results?: BulkDraftPostResult[];
3480
- /** Bulk action metadata. */
3481
- bulkActionMetadata?: BulkActionMetadata;
3482
- }
3483
- interface DraftPostOwnerChanged {
3478
+ interface EntityDeletedEvent {
3484
3479
  /**
3485
- * Member ID of the draft post's owner before the change.
3480
+ * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled
3486
3481
  * @internal
3487
- * @format GUID
3488
3482
  */
3489
- oldMemberId?: string;
3483
+ movedToTrash?: boolean | null;
3484
+ /** Entity that was deleted. */
3485
+ deletedEntityAsJson?: string | null;
3490
3486
  /**
3491
- * Member ID of the draft post's owner after the change.
3487
+ * Optional domain-specific metadata defined by the API owner, encoded as JSON.
3492
3488
  * @internal
3493
- * @format GUID
3494
3489
  */
3495
- newMemberId?: string;
3490
+ additionalMetadataAsJson?: string | null;
3496
3491
  }
3497
- interface ListDeletedDraftPostsRequest {
3498
- /**
3499
- * Language filter.
3500
- *
3501
- * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
3502
- * If omitted, deleted draft posts in all languages are returned.
3503
- * @format LANGUAGE_TAG
3504
- */
3505
- language?: string | null;
3506
- /**
3507
- * Sorting options.
3508
- *
3509
- * Default: `EDITING_DATE_DESCENDING`
3510
- */
3511
- sort?: GetDraftPostsSortWithLiterals;
3512
- /** Pagination options. */
3513
- paging?: BlogPaging;
3492
+ interface ActionEvent {
3493
+ bodyAsJson?: string;
3494
+ }
3495
+ interface MessageEnvelope {
3514
3496
  /**
3515
- * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
3516
- * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default
3517
- * only the draft post's base fields are returned.
3518
- * @maxSize 10
3497
+ * App instance ID.
3498
+ * @format GUID
3519
3499
  */
3520
- fieldsets?: FieldWithLiterals[];
3500
+ instanceId?: string | null;
3521
3501
  /**
3522
- * Draft post ids.
3523
- * @maxSize 100
3524
- * @format GUID
3502
+ * Event type.
3503
+ * @maxLength 150
3525
3504
  */
3526
- draftPostIds?: string[];
3527
- }
3528
- declare enum GetDraftPostsSort {
3529
- /** Sort by `editedDate` in descending order. */
3530
- EDITING_DATE_DESC = "EDITING_DATE_DESC",
3531
- /** Sort by `editedDate` in ascending order. */
3532
- EDITING_DATE_ASC = "EDITING_DATE_ASC"
3505
+ eventType?: string;
3506
+ /** The identification type and identity data. */
3507
+ identity?: IdentificationData;
3508
+ /** Stringify payload. */
3509
+ data?: string;
3510
+ /** Details related to the account */
3511
+ accountInfo?: AccountInfo;
3533
3512
  }
3534
- /** @enumType */
3535
- type GetDraftPostsSortWithLiterals = GetDraftPostsSort | 'EDITING_DATE_DESC' | 'EDITING_DATE_ASC';
3536
- interface BlogPaging {
3513
+ interface IdentificationData extends IdentificationDataIdOneOf {
3537
3514
  /**
3538
- * Number of items to skip in the current sort order.
3539
- *
3540
- *
3541
- * Default: `0`
3515
+ * ID of a site visitor that has not logged in to the site.
3516
+ * @format GUID
3542
3517
  */
3543
- offset?: number;
3518
+ anonymousVisitorId?: string;
3544
3519
  /**
3545
- * Number of items to return.
3546
- *
3547
- *
3548
- * Default:`50`
3549
- * @min 1
3550
- * @max 100
3520
+ * ID of a site visitor that has logged in to the site.
3521
+ * @format GUID
3551
3522
  */
3552
- limit?: number;
3523
+ memberId?: string;
3553
3524
  /**
3554
- * Pointer to the next or previous page in the list of results.
3555
- * @maxLength 2000
3525
+ * ID of a Wix user (site owner, contributor, etc.).
3526
+ * @format GUID
3556
3527
  */
3557
- cursor?: string | null;
3558
- }
3559
- interface ListDeletedDraftPostsResponse {
3560
- /** List of draft posts. */
3561
- draftPosts?: DraftPost[];
3562
- /** Details on the paged set of results returned. */
3563
- pagingMetadata?: PagingMetadataV2;
3564
- }
3565
- interface PagingMetadataV2 {
3566
- /** Number of items returned in the response. */
3567
- count?: number | null;
3568
- /** Offset that was requested. */
3569
- offset?: number | null;
3570
- /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
3571
- total?: number | null;
3572
- /** Flag that indicates the server failed to calculate the `total` field. */
3573
- tooManyToCount?: boolean | null;
3574
- /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
3575
- cursors?: Cursors;
3528
+ wixUserId?: string;
3576
3529
  /**
3577
- * Indicates if there are more results after the current page.
3578
- * If `true`, another page of results can be retrieved.
3579
- * If `false`, this is the last page.
3580
- * @internal
3530
+ * ID of an app.
3531
+ * @format GUID
3581
3532
  */
3582
- hasNext?: boolean | null;
3533
+ appId?: string;
3534
+ /** @readonly */
3535
+ identityType?: WebhookIdentityTypeWithLiterals;
3583
3536
  }
3584
- interface Cursors {
3537
+ /** @oneof */
3538
+ interface IdentificationDataIdOneOf {
3585
3539
  /**
3586
- * Cursor pointing to next page in the list of results.
3587
- * @maxLength 2000
3540
+ * ID of a site visitor that has not logged in to the site.
3541
+ * @format GUID
3588
3542
  */
3589
- next?: string | null;
3543
+ anonymousVisitorId?: string;
3590
3544
  /**
3591
- * Cursor pointing to previous page in the list of results.
3592
- * @maxLength 2000
3545
+ * ID of a site visitor that has logged in to the site.
3546
+ * @format GUID
3593
3547
  */
3594
- prev?: string | null;
3595
- }
3596
- interface GetDraftPostRequest {
3548
+ memberId?: string;
3597
3549
  /**
3598
- * Draft post ID.
3599
- * @maxLength 38
3550
+ * ID of a Wix user (site owner, contributor, etc.).
3551
+ * @format GUID
3600
3552
  */
3601
- draftPostId: string;
3553
+ wixUserId?: string;
3602
3554
  /**
3603
- * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
3604
- * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default
3605
- * only the draft post's base fields are returned.
3606
- * @maxSize 10
3555
+ * ID of an app.
3556
+ * @format GUID
3607
3557
  */
3608
- fieldsets?: FieldWithLiterals[];
3558
+ appId?: string;
3609
3559
  }
3610
- interface GetDraftPostResponse {
3611
- /** Draft post info. */
3612
- draftPost?: DraftPost;
3560
+ declare enum WebhookIdentityType {
3561
+ UNKNOWN = "UNKNOWN",
3562
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
3563
+ MEMBER = "MEMBER",
3564
+ WIX_USER = "WIX_USER",
3565
+ APP = "APP"
3613
3566
  }
3614
- interface UpdateDraftPostContentRequest {
3567
+ /** @enumType */
3568
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
3569
+ interface AccountInfo {
3615
3570
  /**
3616
- * Draft post ID.
3617
- * @maxLength 38
3571
+ * ID of the Wix account associated with the event.
3572
+ * @format GUID
3618
3573
  */
3619
- draftPostId?: string;
3620
- /** Change origin. */
3621
- changeOrigin?: OriginWithLiterals;
3574
+ accountId?: string | null;
3622
3575
  /**
3623
- * List of draft post fields to be included if entities are present in the response.
3624
- * Base fieldset, which is default, will return all core draft post properties.
3625
- * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
3626
- * @maxSize 10
3576
+ * ID of the parent Wix account. Only included when accountId belongs to a child account.
3577
+ * @format GUID
3627
3578
  */
3628
- fieldsets?: FieldWithLiterals[];
3629
- /** Draft Post rich content. */
3630
- richContent?: RichContent;
3579
+ parentAccountId?: string | null;
3580
+ /**
3581
+ * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
3582
+ * @format GUID
3583
+ */
3584
+ siteId?: string | null;
3631
3585
  }
3632
- interface UpdateDraftPostContentResponse {
3633
- /** Updated draft post info. */
3634
- draftPost?: DraftPost;
3586
+ interface InitialDraftPostsCopied {
3587
+ /** Number of draft posts copied. */
3588
+ count?: number;
3635
3589
  }
3636
- interface UpdateDraftPostRequest {
3637
- /** Draft post to update. */
3590
+ interface CreateDraftPostRequest {
3591
+ /** Draft post to create. */
3638
3592
  draftPost: DraftPost;
3639
3593
  /**
3640
- * Field mask of fields to update.
3641
- * @internal
3594
+ * Whether the draft post should be published on creation.
3595
+ *
3596
+ * Default: `false`
3642
3597
  */
3643
- fieldMask?: string[];
3598
+ publish?: boolean;
3644
3599
  /**
3645
3600
  * Save type.
3646
3601
  * @internal
3647
3602
  */
3648
3603
  saveType?: TypeWithLiterals;
3649
- /**
3650
- * Action to perform on the post.
3651
- *
3652
- * Default: `UPDATE`
3653
- */
3654
- action?: ActionWithLiterals;
3655
- /** Post publish schedule date if `action` is set to `UPDATE_SCHEDULE`. */
3656
- scheduledPublishDate?: Date | null;
3657
3604
  /**
3658
3605
  * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
3659
3606
  * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default
@@ -3662,68 +3609,197 @@ interface UpdateDraftPostRequest {
3662
3609
  */
3663
3610
  fieldsets?: FieldWithLiterals[];
3664
3611
  }
3665
- interface UpdateDraftPostResponse {
3666
- /** Updated draft post info. */
3667
- draftPost?: DraftPost;
3612
+ declare enum Type {
3613
+ UNKNOWN = "UNKNOWN",
3614
+ /** Manually saved. */
3615
+ MANUAL = "MANUAL",
3616
+ /** Triggered by autosave. */
3617
+ AUTO_SAVE = "AUTO_SAVE",
3618
+ /** Copied from template during provisioning flow. */
3619
+ PROVISIONING = "PROVISIONING",
3620
+ /** Imported from another blog. */
3621
+ IMPORT = "IMPORT",
3622
+ /** Triggered by autosave when post created by AI tool. */
3623
+ AI_AUTO_SAVE = "AI_AUTO_SAVE"
3668
3624
  }
3669
- interface DeleteDraftPostRequest {
3625
+ /** @enumType */
3626
+ type TypeWithLiterals = Type | 'UNKNOWN' | 'MANUAL' | 'AUTO_SAVE' | 'PROVISIONING' | 'IMPORT' | 'AI_AUTO_SAVE';
3627
+ declare enum Field {
3628
+ /** Unknown field. */
3629
+ UNKNOWN = "UNKNOWN",
3630
+ /** Includes draft post preview URL. */
3631
+ URL = "URL",
3670
3632
  /**
3671
- * Draft post ID.
3672
- * @maxLength 38
3673
- */
3674
- draftPostId: string;
3633
+ * Includes internal id field.
3634
+ * Reserved for internal use.
3635
+ * @internal
3636
+ */
3637
+ INTERNAL_ID = "INTERNAL_ID",
3638
+ /** Includes content field. */
3639
+ CONTENT = "CONTENT",
3640
+ /** Includes rich content field. */
3641
+ RICH_CONTENT = "RICH_CONTENT",
3675
3642
  /**
3676
- * Whether to bypass the trash bin and delete the post permanently.
3677
- *
3678
- * Default: `false`
3643
+ * Includes draft post translations when present.
3644
+ * @internal
3679
3645
  */
3680
- permanent?: boolean;
3646
+ TRANSLATIONS = "TRANSLATIONS",
3647
+ /** If the user has not set excerpt, returns the one autogenerated from content. */
3648
+ GENERATED_EXCERPT = "GENERATED_EXCERPT"
3681
3649
  }
3682
- interface DeleteDraftPostResponse {
3650
+ /** @enumType */
3651
+ type FieldWithLiterals = Field | 'UNKNOWN' | 'URL' | 'CONTENT' | 'RICH_CONTENT' | 'GENERATED_EXCERPT';
3652
+ interface CreateDraftPostResponse {
3653
+ /** Created draft post info. */
3654
+ draftPost?: DraftPost;
3683
3655
  }
3684
- interface RemoveFromTrashBinRequest {
3656
+ interface BulkCreateDraftPostsRequest {
3685
3657
  /**
3686
- * Draft post ID.
3687
- * @maxLength 38
3658
+ * Draft posts to create.
3659
+ * @minSize 1
3660
+ * @maxSize 20
3688
3661
  */
3689
- draftPostId: string;
3662
+ draftPosts: DraftPost[];
3663
+ /** Whether the draft post should be published after creation. */
3664
+ publish?: boolean;
3665
+ /**
3666
+ * Save type.
3667
+ * @internal
3668
+ */
3669
+ saveType?: TypeWithLiterals;
3670
+ /** Whether to return the full created draft post entities in the response. */
3671
+ returnFullEntity?: boolean;
3672
+ /**
3673
+ * List of draft post fields to be included in the response if the entities are present.
3674
+ * Base default fieldset returns all core draft post properties (all properties that are not a supported fieldset value).
3675
+ * For example, when `URL` fieldset is selected, returned draft post will include the set of base properties and the draft post's preview url.
3676
+ * @maxSize 10
3677
+ */
3678
+ fieldsets?: FieldWithLiterals[];
3690
3679
  }
3691
- interface RemoveFromTrashBinResponse {
3680
+ interface BulkCreateDraftPostsResponse {
3681
+ /** Draft posts created by bulk action. */
3682
+ results?: BulkDraftPostResult[];
3683
+ /** Bulk action metadata. */
3684
+ bulkActionMetadata?: BulkActionMetadata;
3692
3685
  }
3693
- interface BulkDeleteDraftPostsRequest {
3686
+ interface BulkDraftPostResult {
3687
+ /** Bulk actions metadata for draft post. */
3688
+ itemMetadata?: ItemMetadata;
3689
+ /** Optional full draft post. */
3690
+ item?: DraftPost;
3691
+ }
3692
+ interface ItemMetadata {
3693
+ /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
3694
+ id?: string | null;
3695
+ /** Index of the item within the request array. Allows for correlation between request and response items. */
3696
+ originalIndex?: number;
3697
+ /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
3698
+ success?: boolean;
3699
+ /** Details about the error in case of failure. */
3700
+ error?: ApplicationError;
3701
+ }
3702
+ interface ApplicationError {
3703
+ /** Error code. */
3704
+ code?: string;
3705
+ /** Description of the error. */
3706
+ description?: string;
3707
+ /** Data related to the error. */
3708
+ data?: Record<string, any> | null;
3709
+ }
3710
+ interface BulkActionMetadata {
3711
+ /** Number of items that were successfully processed. */
3712
+ totalSuccesses?: number;
3713
+ /** Number of items that couldn't be processed. */
3714
+ totalFailures?: number;
3715
+ /** Number of failures without details because detailed failure threshold was exceeded. */
3716
+ undetailedFailures?: number;
3717
+ }
3718
+ interface BulkUpdateDraftPostsRequest {
3694
3719
  /**
3695
- * Post IDs.
3720
+ * Draft posts to update.
3696
3721
  * @minSize 1
3697
- * @maxSize 100
3698
- * @maxLength 38
3722
+ * @maxSize 20
3699
3723
  */
3700
- postIds: string[];
3701
- /** Should delete bypassing the trash-bin. */
3702
- permanent?: boolean;
3724
+ draftPosts?: MaskedDraftPosts[];
3725
+ /**
3726
+ * Action to perform on the posts.
3727
+ *
3728
+ * Default: `UPDATE`
3729
+ */
3730
+ action?: ActionWithLiterals;
3731
+ /** Posts' scheduled publish date when `action` is set to `UPDATE_SCHEDULE`. */
3732
+ scheduledPublishDate?: Date | null;
3733
+ /**
3734
+ * Save type.
3735
+ * @internal
3736
+ */
3737
+ saveType?: TypeWithLiterals;
3738
+ /** Whether to return the full updated draft post entities in the response. */
3739
+ returnFullEntity?: boolean;
3740
+ /**
3741
+ * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
3742
+ * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default
3743
+ * only the draft post's base fields are returned.
3744
+ * @maxSize 10
3745
+ */
3746
+ fieldsets?: FieldWithLiterals[];
3703
3747
  }
3704
- interface BulkDeleteDraftPostsResponse {
3705
- /** Bulk action results. */
3748
+ interface MaskedDraftPosts {
3749
+ /** Draft post */
3750
+ draftPost?: DraftPost;
3751
+ /** Field mask of fields to update. */
3752
+ fieldMask?: string[];
3753
+ }
3754
+ declare enum Action {
3755
+ /** Update the draft post. */
3756
+ UPDATE = "UPDATE",
3757
+ /** Update and publish a draft post. */
3758
+ UPDATE_PUBLISH = "UPDATE_PUBLISH",
3759
+ /** Update the draft post and schedule a publish date. */
3760
+ UPDATE_SCHEDULE = "UPDATE_SCHEDULE",
3761
+ /** Update the post and revert it to draft. */
3762
+ UPDATE_REVERT_TO_DRAFT = "UPDATE_REVERT_TO_DRAFT",
3763
+ /** Update the draft post and cancel the scheduled publish date. */
3764
+ UPDATE_CANCEL_SCHEDULE = "UPDATE_CANCEL_SCHEDULE",
3765
+ /** Update and reject draft post. */
3766
+ UPDATE_REJECT = "UPDATE_REJECT",
3767
+ /** Update a post that's already been published. This creates and updates a draft version of the post. The original post is still published. */
3768
+ UPDATE_PUBLICATION = "UPDATE_PUBLICATION"
3769
+ }
3770
+ /** @enumType */
3771
+ type ActionWithLiterals = Action | 'UPDATE' | 'UPDATE_PUBLISH' | 'UPDATE_SCHEDULE' | 'UPDATE_REVERT_TO_DRAFT' | 'UPDATE_CANCEL_SCHEDULE' | 'UPDATE_REJECT' | 'UPDATE_PUBLICATION';
3772
+ interface BulkUpdateDraftPostsResponse {
3773
+ /** Draft posts updated by bulk action. */
3706
3774
  results?: BulkDraftPostResult[];
3707
3775
  /** Bulk action metadata. */
3708
3776
  bulkActionMetadata?: BulkActionMetadata;
3709
3777
  }
3710
- interface ListDraftPostsRequest {
3778
+ interface DraftPostOwnerChanged {
3711
3779
  /**
3712
- * Draft post status filter.
3713
- *
3714
- * If omitted, draft posts with all statuses are returned.
3780
+ * Member ID of the draft post's owner before the change.
3781
+ * @internal
3782
+ * @format GUID
3715
3783
  */
3716
- status?: StatusWithLiterals;
3784
+ oldMemberId?: string;
3785
+ /**
3786
+ * Member ID of the draft post's owner after the change.
3787
+ * @internal
3788
+ * @format GUID
3789
+ */
3790
+ newMemberId?: string;
3791
+ }
3792
+ interface ListDeletedDraftPostsRequest {
3717
3793
  /**
3718
3794
  * Language filter.
3719
3795
  *
3720
3796
  * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
3721
- * If omitted, draft posts in all languages are returned.
3797
+ * If omitted, deleted draft posts in all languages are returned.
3722
3798
  * @format LANGUAGE_TAG
3723
3799
  */
3724
3800
  language?: string | null;
3725
3801
  /**
3726
- * Sort options.
3802
+ * Sorting options.
3727
3803
  *
3728
3804
  * Default: `EDITING_DATE_DESCENDING`
3729
3805
  */
@@ -3737,49 +3813,87 @@ interface ListDraftPostsRequest {
3737
3813
  * @maxSize 10
3738
3814
  */
3739
3815
  fieldsets?: FieldWithLiterals[];
3816
+ /**
3817
+ * Draft post ids.
3818
+ * @maxSize 100
3819
+ * @format GUID
3820
+ */
3821
+ draftPostIds?: string[];
3740
3822
  }
3741
- interface ListDraftPostsResponse {
3742
- /** List of draft posts. */
3743
- draftPosts?: DraftPost[];
3744
- /** Details on the paged set of results returned. */
3745
- metaData?: MetaData;
3823
+ declare enum GetDraftPostsSort {
3824
+ /** Sort by `editedDate` in descending order. */
3825
+ EDITING_DATE_DESC = "EDITING_DATE_DESC",
3826
+ /** Sort by `editedDate` in ascending order. */
3827
+ EDITING_DATE_ASC = "EDITING_DATE_ASC"
3746
3828
  }
3747
- interface MetaData {
3748
- /** Number of items returned in this response. */
3749
- count?: number;
3750
- /** Requested offset. */
3829
+ /** @enumType */
3830
+ type GetDraftPostsSortWithLiterals = GetDraftPostsSort | 'EDITING_DATE_DESC' | 'EDITING_DATE_ASC';
3831
+ interface BlogPaging {
3832
+ /**
3833
+ * Number of items to skip in the current sort order.
3834
+ *
3835
+ *
3836
+ * Default: `0`
3837
+ */
3751
3838
  offset?: number;
3752
- /** Total number of items that match the query. */
3753
- total?: number;
3839
+ /**
3840
+ * Number of items to return.
3841
+ *
3842
+ *
3843
+ * Default:`50`
3844
+ * @min 1
3845
+ * @max 100
3846
+ */
3847
+ limit?: number;
3754
3848
  /**
3755
3849
  * Pointer to the next or previous page in the list of results.
3756
3850
  * @maxLength 2000
3757
3851
  */
3758
3852
  cursor?: string | null;
3759
3853
  }
3760
- interface GetDeletedDraftPostRequest {
3854
+ interface ListDeletedDraftPostsResponse {
3855
+ /** List of draft posts. */
3856
+ draftPosts?: DraftPost[];
3857
+ /** Details on the paged set of results returned. */
3858
+ pagingMetadata?: PagingMetadataV2;
3859
+ }
3860
+ interface PagingMetadataV2 {
3861
+ /** Number of items returned in the response. */
3862
+ count?: number | null;
3863
+ /** Offset that was requested. */
3864
+ offset?: number | null;
3865
+ /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
3866
+ total?: number | null;
3867
+ /** Flag that indicates the server failed to calculate the `total` field. */
3868
+ tooManyToCount?: boolean | null;
3869
+ /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
3870
+ cursors?: Cursors;
3761
3871
  /**
3762
- * Draft post ID.
3763
- * @maxLength 38
3872
+ * Indicates if there are more results after the current page.
3873
+ * If `true`, another page of results can be retrieved.
3874
+ * If `false`, this is the last page.
3875
+ * @internal
3764
3876
  */
3765
- draftPostId: string;
3877
+ hasNext?: boolean | null;
3766
3878
  }
3767
- interface GetDeletedDraftPostResponse {
3768
- /** Draft post info. */
3769
- draftPost?: DraftPost;
3879
+ interface Cursors {
3880
+ /**
3881
+ * Cursor pointing to next page in the list of results.
3882
+ * @maxLength 2000
3883
+ */
3884
+ next?: string | null;
3885
+ /**
3886
+ * Cursor pointing to previous page in the list of results.
3887
+ * @maxLength 2000
3888
+ */
3889
+ prev?: string | null;
3770
3890
  }
3771
- interface RestoreFromTrashBinRequest {
3891
+ interface GetDraftPostRequest {
3772
3892
  /**
3773
3893
  * Draft post ID.
3774
3894
  * @maxLength 38
3775
3895
  */
3776
3896
  draftPostId: string;
3777
- }
3778
- interface RestoreFromTrashBinResponse {
3779
- /** Restored draft post info. */
3780
- draftPost?: DraftPost;
3781
- }
3782
- interface QueryDraftPostsRequest {
3783
3897
  /**
3784
3898
  * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
3785
3899
  * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default
@@ -3787,471 +3901,340 @@ interface QueryDraftPostsRequest {
3787
3901
  * @maxSize 10
3788
3902
  */
3789
3903
  fieldsets?: FieldWithLiterals[];
3790
- /** Query options. */
3791
- query?: PlatformQuery;
3792
3904
  }
3793
- interface PlatformQuery extends PlatformQueryPagingMethodOneOf {
3794
- /** Paging options to limit and skip the number of items. */
3795
- paging?: Paging;
3796
- /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
3797
- cursorPaging?: CursorPaging;
3798
- /**
3799
- * Filter object in the following format:
3800
- * `"filter" : {
3801
- * "fieldName1": "value1",
3802
- * "fieldName2":{"$operator":"value2"}
3803
- * }`
3804
- * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
3805
- */
3806
- filter?: Record<string, any> | null;
3807
- /**
3808
- * Sort object in the following format:
3809
- * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
3810
- * @maxSize 3
3811
- */
3812
- sort?: Sorting[];
3813
- }
3814
- /** @oneof */
3815
- interface PlatformQueryPagingMethodOneOf {
3816
- /** Paging options to limit and skip the number of items. */
3817
- paging?: Paging;
3818
- /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
3819
- cursorPaging?: CursorPaging;
3905
+ interface GetDraftPostResponse {
3906
+ /** Draft post info. */
3907
+ draftPost?: DraftPost;
3820
3908
  }
3821
- interface Sorting {
3909
+ interface UpdateDraftPostContentRequest {
3822
3910
  /**
3823
- * Name of the field to sort by.
3824
- * @maxLength 512
3911
+ * Draft post ID.
3912
+ * @maxLength 38
3825
3913
  */
3826
- fieldName?: string;
3827
- /** Sort order. */
3828
- order?: SortOrderWithLiterals;
3914
+ draftPostId?: string;
3915
+ /** Change origin. */
3916
+ changeOrigin?: OriginWithLiterals;
3829
3917
  /**
3830
- * When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by
3831
- * a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.
3832
- *
3833
- * If multiple filters are provided, they are combined with AND operator.
3834
- *
3835
- * Example:
3836
- * Given we have document like {"id": "1", "nestedField": [{"price": 10, "region": "EU"}, {"price": 20, "region": "US"}]}
3837
- * and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be
3838
- * { fieldName: "nestedField.price", "select_items_by": [{"nestedField.region": "US"}] }
3839
- * @internal
3918
+ * List of draft post fields to be included if entities are present in the response.
3919
+ * Base fieldset, which is default, will return all core draft post properties.
3920
+ * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
3840
3921
  * @maxSize 10
3841
3922
  */
3842
- selectItemsBy?: Record<string, any>[] | null;
3843
- /**
3844
- * Origin point for geo-distance sorting on a GEO field
3845
- * results are ordered by distance from this point (ASC = nearest first, DESC = farthest first).
3846
- */
3847
- origin?: AddressLocation;
3848
- }
3849
- declare enum SortOrder {
3850
- ASC = "ASC",
3851
- DESC = "DESC"
3923
+ fieldsets?: FieldWithLiterals[];
3924
+ /** Draft Post rich content. */
3925
+ richContent?: RichContent;
3852
3926
  }
3853
- /** @enumType */
3854
- type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
3855
- interface AddressLocation {
3856
- /** Address latitude. */
3857
- latitude?: number | null;
3858
- /** Address longitude. */
3859
- longitude?: number | null;
3927
+ interface UpdateDraftPostContentResponse {
3928
+ /** Updated draft post info. */
3929
+ draftPost?: DraftPost;
3860
3930
  }
3861
- interface Paging {
3931
+ interface UpdateDraftPostRequest {
3932
+ /** Draft post to update. */
3933
+ draftPost: DraftPost;
3862
3934
  /**
3863
- * Number of items to load.
3864
- * @max 100
3935
+ * Field mask of fields to update.
3936
+ * @internal
3865
3937
  */
3866
- limit?: number | null;
3867
- /** Number of items to skip in the current sort order. */
3868
- offset?: number | null;
3869
- }
3870
- interface CursorPaging {
3938
+ fieldMask?: string[];
3871
3939
  /**
3872
- * Number of items to load.
3873
- * @max 100
3940
+ * Save type.
3941
+ * @internal
3874
3942
  */
3875
- limit?: number | null;
3943
+ saveType?: TypeWithLiterals;
3876
3944
  /**
3877
- * Pointer to the next or previous page in the list of results.
3945
+ * Action to perform on the post.
3878
3946
  *
3879
- * You can get the relevant cursor token
3880
- * from the `pagingMetadata` object in the previous call's response.
3881
- * Not relevant for the first request.
3882
- * @maxLength 2000
3947
+ * Default: `UPDATE`
3883
3948
  */
3884
- cursor?: string | null;
3949
+ action?: ActionWithLiterals;
3950
+ /** Post publish schedule date if `action` is set to `UPDATE_SCHEDULE`. */
3951
+ scheduledPublishDate?: Date | null;
3952
+ /**
3953
+ * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
3954
+ * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default
3955
+ * only the draft post's base fields are returned.
3956
+ * @maxSize 10
3957
+ */
3958
+ fieldsets?: FieldWithLiterals[];
3885
3959
  }
3886
- interface QueryDraftPostsResponse {
3887
- /** List of posts. */
3888
- draftPosts?: DraftPost[];
3889
- /** Details on the paged set of results returned. */
3890
- pagingMetadata?: PagingMetadataV2;
3960
+ interface UpdateDraftPostResponse {
3961
+ /** Updated draft post info. */
3962
+ draftPost?: DraftPost;
3891
3963
  }
3892
- interface PublishDraftPostRequest {
3964
+ interface DeleteDraftPostRequest {
3893
3965
  /**
3894
3966
  * Draft post ID.
3895
3967
  * @maxLength 38
3896
3968
  */
3897
3969
  draftPostId: string;
3898
- }
3899
- interface PublishDraftPostResponse {
3900
3970
  /**
3901
- * Published post ID.
3902
- * @format GUID
3971
+ * Whether to bypass the trash bin and delete the post permanently.
3972
+ *
3973
+ * Default: `false`
3903
3974
  */
3904
- postId?: string;
3975
+ permanent?: boolean;
3905
3976
  }
3906
- interface UnpublishPostRequest {
3977
+ interface DeleteDraftPostResponse {
3978
+ }
3979
+ interface RemoveFromTrashBinRequest {
3907
3980
  /**
3908
3981
  * Draft post ID.
3909
3982
  * @maxLength 38
3910
3983
  */
3911
- draftPostId?: string;
3984
+ draftPostId: string;
3912
3985
  }
3913
- interface UnpublishPostResponse {
3986
+ interface RemoveFromTrashBinResponse {
3914
3987
  }
3915
- interface GetDraftPostCountsRequest {
3916
- /**
3917
- * Tag IDs to count draft posts for.
3918
- * @maxSize 50
3919
- * @format GUID
3920
- */
3921
- tagIds?: string[];
3988
+ interface BulkDeleteDraftPostsRequest {
3922
3989
  /**
3923
- * Category IDs to count draft posts for.
3924
- * @maxSize 50
3925
- * @format GUID
3990
+ * Post IDs.
3991
+ * @minSize 1
3992
+ * @maxSize 100
3993
+ * @maxLength 38
3926
3994
  */
3927
- categoryIds?: string[];
3928
- }
3929
- interface GetDraftPostCountsResponse {
3930
- /** Draft post counts per tag. */
3931
- tagPostCounts?: DraftPostCount[];
3932
- /** Draft post counts per category. */
3933
- categoryPostCounts?: DraftPostCount[];
3995
+ postIds: string[];
3996
+ /** Should delete bypassing the trash-bin. */
3997
+ permanent?: boolean;
3934
3998
  }
3935
- interface DraftPostCount {
3936
- /**
3937
- * Tag or Category ID.
3938
- * @format GUID
3939
- */
3940
- id?: string;
3941
- /** Number of posts. */
3942
- postCount?: number;
3999
+ interface BulkDeleteDraftPostsResponse {
4000
+ /** Bulk action results. */
4001
+ results?: BulkDraftPostResult[];
4002
+ /** Bulk action metadata. */
4003
+ bulkActionMetadata?: BulkActionMetadata;
3943
4004
  }
3944
- interface DomainEvent extends DomainEventBodyOneOf {
3945
- createdEvent?: EntityCreatedEvent;
3946
- updatedEvent?: EntityUpdatedEvent;
3947
- deletedEvent?: EntityDeletedEvent;
3948
- actionEvent?: ActionEvent;
3949
- /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
3950
- id?: string;
3951
- /**
3952
- * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
3953
- * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
3954
- */
3955
- entityFqdn?: string;
3956
- /**
3957
- * Event action name, placed at the top level to make it easier for users to dispatch messages.
3958
- * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
3959
- */
3960
- slug?: string;
3961
- /** ID of the entity associated with the event. */
3962
- entityId?: string;
3963
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
3964
- eventTime?: Date | null;
4005
+ interface ListDraftPostsRequest {
3965
4006
  /**
3966
- * Whether the event was triggered as a result of a privacy regulation application
3967
- * (for example, GDPR).
4007
+ * Draft post status filter.
4008
+ *
4009
+ * If omitted, draft posts with all statuses are returned.
3968
4010
  */
3969
- triggeredByAnonymizeRequest?: boolean | null;
3970
- /** If present, indicates the action that triggered the event. */
3971
- originatedFrom?: string | null;
4011
+ status?: StatusWithLiterals;
3972
4012
  /**
3973
- * 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.
3974
- * 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.
4013
+ * Language filter.
4014
+ *
4015
+ * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
4016
+ * If omitted, draft posts in all languages are returned.
4017
+ * @format LANGUAGE_TAG
3975
4018
  */
3976
- entityEventSequence?: string | null;
3977
- }
3978
- /** @oneof */
3979
- interface DomainEventBodyOneOf {
3980
- createdEvent?: EntityCreatedEvent;
3981
- updatedEvent?: EntityUpdatedEvent;
3982
- deletedEvent?: EntityDeletedEvent;
3983
- actionEvent?: ActionEvent;
3984
- }
3985
- interface EntityCreatedEvent {
3986
- entityAsJson?: string;
4019
+ language?: string | null;
3987
4020
  /**
3988
- * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity
3989
- * @internal
4021
+ * Sort options.
4022
+ *
4023
+ * Default: `EDITING_DATE_DESCENDING`
3990
4024
  */
3991
- triggeredByUndelete?: boolean | null;
3992
- /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
3993
- restoreInfo?: RestoreInfo;
4025
+ sort?: GetDraftPostsSortWithLiterals;
4026
+ /** Pagination options. */
4027
+ paging?: BlogPaging;
3994
4028
  /**
3995
- * Optional domain-specific metadata defined by the API owner, encoded as JSON.
3996
- * @internal
4029
+ * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
4030
+ * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default
4031
+ * only the draft post's base fields are returned.
4032
+ * @maxSize 10
3997
4033
  */
3998
- additionalMetadataAsJson?: string | null;
4034
+ fieldsets?: FieldWithLiterals[];
3999
4035
  }
4000
- interface RestoreInfo {
4001
- deletedDate?: Date | null;
4036
+ interface ListDraftPostsResponse {
4037
+ /** List of draft posts. */
4038
+ draftPosts?: DraftPost[];
4039
+ /** Details on the paged set of results returned. */
4040
+ metaData?: MetaData;
4002
4041
  }
4003
- interface EntityUpdatedEvent {
4004
- /**
4005
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
4006
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
4007
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
4008
- */
4009
- currentEntityAsJson?: string;
4010
- /**
4011
- * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard
4012
- * wont populate it / have any reference to it in the API.
4013
- * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed,
4014
- * the developer should send only the new (current) entity.
4015
- * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big
4016
- * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message.
4017
- * @internal
4018
- * @deprecated
4019
- */
4020
- previousEntityAsJson?: string | null;
4021
- /**
4022
- * Map of fully qualified field paths to their previous values for fields that changed.
4023
- * For more details please see [AIP](https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/design-patterns/7016-events#modified-fields-format)
4024
- * @internal
4025
- */
4026
- modifiedFields?: Record<string, any>;
4042
+ interface MetaData {
4043
+ /** Number of items returned in this response. */
4044
+ count?: number;
4045
+ /** Requested offset. */
4046
+ offset?: number;
4047
+ /** Total number of items that match the query. */
4048
+ total?: number;
4027
4049
  /**
4028
- * Optional domain-specific metadata defined by the API owner, encoded as JSON.
4029
- * @internal
4050
+ * Pointer to the next or previous page in the list of results.
4051
+ * @maxLength 2000
4030
4052
  */
4031
- additionalMetadataAsJson?: string | null;
4053
+ cursor?: string | null;
4032
4054
  }
4033
- interface EntityDeletedEvent {
4034
- /**
4035
- * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled
4036
- * @internal
4037
- */
4038
- movedToTrash?: boolean | null;
4039
- /** Entity that was deleted. */
4040
- deletedEntityAsJson?: string | null;
4055
+ interface GetDeletedDraftPostRequest {
4041
4056
  /**
4042
- * Optional domain-specific metadata defined by the API owner, encoded as JSON.
4043
- * @internal
4057
+ * Draft post ID.
4058
+ * @maxLength 38
4044
4059
  */
4045
- additionalMetadataAsJson?: string | null;
4060
+ draftPostId: string;
4046
4061
  }
4047
- interface ActionEvent {
4048
- bodyAsJson?: string;
4062
+ interface GetDeletedDraftPostResponse {
4063
+ /** Draft post info. */
4064
+ draftPost?: DraftPost;
4049
4065
  }
4050
- interface MessageEnvelope {
4051
- /**
4052
- * App instance ID.
4053
- * @format GUID
4054
- */
4055
- instanceId?: string | null;
4066
+ interface RestoreFromTrashBinRequest {
4056
4067
  /**
4057
- * Event type.
4058
- * @maxLength 150
4068
+ * Draft post ID.
4069
+ * @maxLength 38
4059
4070
  */
4060
- eventType?: string;
4061
- /** The identification type and identity data. */
4062
- identity?: IdentificationData;
4063
- /** Stringify payload. */
4064
- data?: string;
4065
- /** Details related to the account */
4066
- accountInfo?: AccountInfo;
4071
+ draftPostId: string;
4067
4072
  }
4068
- interface IdentificationData extends IdentificationDataIdOneOf {
4069
- /**
4070
- * ID of a site visitor that has not logged in to the site.
4071
- * @format GUID
4072
- */
4073
- anonymousVisitorId?: string;
4074
- /**
4075
- * ID of a site visitor that has logged in to the site.
4076
- * @format GUID
4077
- */
4078
- memberId?: string;
4079
- /**
4080
- * ID of a Wix user (site owner, contributor, etc.).
4081
- * @format GUID
4082
- */
4083
- wixUserId?: string;
4084
- /**
4085
- * ID of an app.
4086
- * @format GUID
4087
- */
4088
- appId?: string;
4089
- /** @readonly */
4090
- identityType?: WebhookIdentityTypeWithLiterals;
4073
+ interface RestoreFromTrashBinResponse {
4074
+ /** Restored draft post info. */
4075
+ draftPost?: DraftPost;
4091
4076
  }
4092
- /** @oneof */
4093
- interface IdentificationDataIdOneOf {
4094
- /**
4095
- * ID of a site visitor that has not logged in to the site.
4096
- * @format GUID
4097
- */
4098
- anonymousVisitorId?: string;
4099
- /**
4100
- * ID of a site visitor that has logged in to the site.
4101
- * @format GUID
4102
- */
4103
- memberId?: string;
4104
- /**
4105
- * ID of a Wix user (site owner, contributor, etc.).
4106
- * @format GUID
4107
- */
4108
- wixUserId?: string;
4077
+ interface QueryDraftPostsRequest {
4109
4078
  /**
4110
- * ID of an app.
4111
- * @format GUID
4079
+ * List of additional draft post fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
4080
+ * the response in addition to the draft post's base fields. Base fields don’t include any of the supported fieldset values. By default
4081
+ * only the draft post's base fields are returned.
4082
+ * @maxSize 10
4112
4083
  */
4113
- appId?: string;
4114
- }
4115
- declare enum WebhookIdentityType {
4116
- UNKNOWN = "UNKNOWN",
4117
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
4118
- MEMBER = "MEMBER",
4119
- WIX_USER = "WIX_USER",
4120
- APP = "APP"
4084
+ fieldsets?: FieldWithLiterals[];
4085
+ /** Query options. */
4086
+ query?: PlatformQuery;
4121
4087
  }
4122
- /** @enumType */
4123
- type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
4124
- interface AccountInfo {
4125
- /**
4126
- * ID of the Wix account associated with the event.
4127
- * @format GUID
4128
- */
4129
- accountId?: string | null;
4088
+ interface PlatformQuery extends PlatformQueryPagingMethodOneOf {
4089
+ /** Paging options to limit and skip the number of items. */
4090
+ paging?: Paging;
4091
+ /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
4092
+ cursorPaging?: CursorPaging;
4130
4093
  /**
4131
- * ID of the parent Wix account. Only included when accountId belongs to a child account.
4132
- * @format GUID
4094
+ * Filter object in the following format:
4095
+ * `"filter" : {
4096
+ * "fieldName1": "value1",
4097
+ * "fieldName2":{"$operator":"value2"}
4098
+ * }`
4099
+ * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
4133
4100
  */
4134
- parentAccountId?: string | null;
4101
+ filter?: Record<string, any> | null;
4135
4102
  /**
4136
- * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
4137
- * @format GUID
4103
+ * Sort object in the following format:
4104
+ * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
4105
+ * @maxSize 3
4138
4106
  */
4139
- siteId?: string | null;
4107
+ sort?: Sorting[];
4140
4108
  }
4141
- interface GetDraftPostTotalsRequest {
4109
+ /** @oneof */
4110
+ interface PlatformQueryPagingMethodOneOf {
4111
+ /** Paging options to limit and skip the number of items. */
4112
+ paging?: Paging;
4113
+ /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
4114
+ cursorPaging?: CursorPaging;
4115
+ }
4116
+ interface Sorting {
4142
4117
  /**
4143
- * Group results by fields (defaults to grouping by status).
4144
- * If, for example, grouping by language is passed, language values in response will be filled.
4145
- * If, for example, grouping by language is not passed, null values will be filled in language field in response.
4118
+ * Name of the field to sort by.
4119
+ * @maxLength 512
4120
+ */
4121
+ fieldName?: string;
4122
+ /** Sort order. */
4123
+ order?: SortOrderWithLiterals;
4124
+ /**
4125
+ * When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by
4126
+ * a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.
4127
+ *
4128
+ * If multiple filters are provided, they are combined with AND operator.
4129
+ *
4130
+ * Example:
4131
+ * Given we have document like {"id": "1", "nestedField": [{"price": 10, "region": "EU"}, {"price": 20, "region": "US"}]}
4132
+ * and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be
4133
+ * { fieldName: "nestedField.price", "select_items_by": [{"nestedField.region": "US"}] }
4134
+ * @internal
4146
4135
  * @maxSize 10
4147
4136
  */
4148
- groupBy?: TotalDraftPostsGroupingFieldWithLiterals[];
4137
+ selectItemsBy?: Record<string, any>[] | null;
4149
4138
  /**
4150
- * Optional language filter by provided language code. Useful in multilingual context.
4151
- * @format LANGUAGE_TAG
4139
+ * Origin point for geo-distance sorting on a GEO field
4140
+ * results are ordered by distance from this point (ASC = nearest first, DESC = farthest first).
4152
4141
  */
4153
- language?: string | null;
4142
+ origin?: AddressLocation;
4154
4143
  }
4155
- declare enum TotalDraftPostsGroupingField {
4156
- /** Groups results by status. */
4157
- STATUS = "STATUS",
4158
- /** Groups results by language. */
4159
- LANGUAGE = "LANGUAGE"
4144
+ declare enum SortOrder {
4145
+ ASC = "ASC",
4146
+ DESC = "DESC"
4160
4147
  }
4161
4148
  /** @enumType */
4162
- type TotalDraftPostsGroupingFieldWithLiterals = TotalDraftPostsGroupingField | 'STATUS' | 'LANGUAGE';
4163
- interface GetDraftPostTotalsResponse {
4164
- /** Draft post totals. */
4165
- totalDraftPosts?: TotalDraftPosts[];
4149
+ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
4150
+ interface AddressLocation {
4151
+ /** Address latitude. */
4152
+ latitude?: number | null;
4153
+ /** Address longitude. */
4154
+ longitude?: number | null;
4166
4155
  }
4167
- interface TotalDraftPosts {
4168
- /** Draft post totals in that group. */
4169
- total?: number;
4170
- /** Draft post status (only has value when grouping by status, otherwise null). */
4171
- status?: StatusWithLiterals;
4156
+ interface Paging {
4172
4157
  /**
4173
- * Draft post language code (only has value when grouping by language, otherwise null).
4174
- * @format LANGUAGE_TAG
4158
+ * Number of items to load.
4159
+ * @max 100
4175
4160
  */
4176
- language?: string | null;
4161
+ limit?: number | null;
4162
+ /** Number of items to skip in the current sort order. */
4163
+ offset?: number | null;
4177
4164
  }
4178
- interface TranslateDraftRequest {
4179
- /**
4180
- * Source post or draft ID
4181
- * @format GUID
4182
- */
4183
- postId?: string;
4165
+ interface CursorPaging {
4184
4166
  /**
4185
- * Translation language
4186
- * @format LANGUAGE_TAG
4167
+ * Number of items to load.
4168
+ * @max 100
4187
4169
  */
4188
- language?: string;
4170
+ limit?: number | null;
4189
4171
  /**
4190
- * List of draft post fields to be included if entities are present in the response.
4191
- * Base fieldset, which is default, will return all core draft post properties.
4192
- * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
4193
- * @maxSize 10
4172
+ * Pointer to the next or previous page in the list of results.
4173
+ *
4174
+ * You can get the relevant cursor token
4175
+ * from the `pagingMetadata` object in the previous call's response.
4176
+ * Not relevant for the first request.
4177
+ * @maxLength 2000
4194
4178
  */
4195
- fieldsets?: FieldWithLiterals[];
4179
+ cursor?: string | null;
4180
+ }
4181
+ interface QueryDraftPostsResponse {
4182
+ /** List of posts. */
4183
+ draftPosts?: DraftPost[];
4184
+ /** Details on the paged set of results returned. */
4185
+ pagingMetadata?: PagingMetadataV2;
4186
+ }
4187
+ interface PublishDraftPostRequest {
4196
4188
  /**
4197
- * Performs automatic translation of the title and the content of the draft post to the target language.
4198
- * @internal
4189
+ * Draft post ID.
4190
+ * @maxLength 38
4199
4191
  */
4200
- useAutoTranslation?: boolean;
4201
- }
4202
- interface TranslateDraftResponse {
4203
- /** Draft post. */
4204
- draftPost?: DraftPost;
4192
+ draftPostId: string;
4205
4193
  }
4206
- interface IsDraftPostAutoTranslatableRequest {
4194
+ interface PublishDraftPostResponse {
4207
4195
  /**
4208
- * Source post or draft ID.
4196
+ * Published post ID.
4209
4197
  * @format GUID
4210
4198
  */
4211
- draftPostId?: string;
4199
+ postId?: string;
4212
4200
  }
4213
- interface IsDraftPostAutoTranslatableResponse {
4201
+ interface UnpublishPostRequest {
4214
4202
  /**
4215
- * Source draft post ID.
4216
- * @format GUID
4203
+ * Draft post ID.
4204
+ * @maxLength 38
4217
4205
  */
4218
4206
  draftPostId?: string;
4219
- /** Indicates if enough machine translation credits are available for the draft post translation. */
4220
- translatable?: boolean;
4221
- /** Draft post title word count. */
4222
- titleWordCount?: number;
4223
- /** Draft post content word count. */
4224
- contentWordCount?: number;
4225
- /** Word credits available for auto translation. */
4226
- availableAutoTranslateWords?: number;
4227
- /** Word credits available after auto translation would be done. */
4228
- availableAutoTranslateWordsAfter?: number;
4229
- /** Content text character count. */
4230
- contentTextCharacterCount?: number;
4231
4207
  }
4232
- interface UpdateDraftPostLanguageRequest {
4208
+ interface UnpublishPostResponse {
4209
+ }
4210
+ interface GetDraftPostCountsRequest {
4233
4211
  /**
4234
- * Source draft post ID
4212
+ * Tag IDs to count draft posts for.
4213
+ * @maxSize 50
4235
4214
  * @format GUID
4236
4215
  */
4237
- postId?: string;
4216
+ tagIds?: string[];
4238
4217
  /**
4239
- * New language to replace to
4240
- * @minLength 2
4241
- * @format LANGUAGE_TAG
4218
+ * Category IDs to count draft posts for.
4219
+ * @maxSize 50
4220
+ * @format GUID
4242
4221
  */
4243
- language?: string;
4222
+ categoryIds?: string[];
4223
+ }
4224
+ interface GetDraftPostCountsResponse {
4225
+ /** Draft post counts per tag. */
4226
+ tagPostCounts?: DraftPostCount[];
4227
+ /** Draft post counts per category. */
4228
+ categoryPostCounts?: DraftPostCount[];
4229
+ }
4230
+ interface DraftPostCount {
4244
4231
  /**
4245
- * List of draft post fields to be included if entities are present in the response.
4246
- * Base fieldset, which is default, will return all core draft post properties.
4247
- * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
4248
- * @maxSize 10
4232
+ * Tag or Category ID.
4233
+ * @format GUID
4249
4234
  */
4250
- fieldsets?: FieldWithLiterals[];
4251
- }
4252
- interface UpdateDraftPostLanguageResponse {
4253
- /** Draft post */
4254
- draftPost?: DraftPost;
4235
+ id?: string;
4236
+ /** Number of posts. */
4237
+ postCount?: number;
4255
4238
  }
4256
4239
  interface BulkRevertToUnpublishedRequest {
4257
4240
  /**
@@ -4400,6 +4383,84 @@ interface MarkPostAsInModerationResponse {
4400
4383
  /** Updated post draft. */
4401
4384
  draftPost?: DraftPost;
4402
4385
  }
4386
+ interface TranslateDraftRequest {
4387
+ /**
4388
+ * Source post or draft ID
4389
+ * @format GUID
4390
+ */
4391
+ postId?: string;
4392
+ /**
4393
+ * Translation language
4394
+ * @format LANGUAGE_TAG
4395
+ */
4396
+ language?: string;
4397
+ /**
4398
+ * List of draft post fields to be included if entities are present in the response.
4399
+ * Base fieldset, which is default, will return all core draft post properties.
4400
+ * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
4401
+ * @maxSize 10
4402
+ */
4403
+ fieldsets?: FieldWithLiterals[];
4404
+ /**
4405
+ * Performs automatic translation of the title and the content of the draft post to the target language.
4406
+ * @internal
4407
+ */
4408
+ useAutoTranslation?: boolean;
4409
+ }
4410
+ interface TranslateDraftResponse {
4411
+ /** Draft post. */
4412
+ draftPost?: DraftPost;
4413
+ }
4414
+ interface IsDraftPostAutoTranslatableRequest {
4415
+ /**
4416
+ * Source post or draft ID.
4417
+ * @format GUID
4418
+ */
4419
+ draftPostId?: string;
4420
+ }
4421
+ interface IsDraftPostAutoTranslatableResponse {
4422
+ /**
4423
+ * Source draft post ID.
4424
+ * @format GUID
4425
+ */
4426
+ draftPostId?: string;
4427
+ /** Indicates if enough machine translation credits are available for the draft post translation. */
4428
+ translatable?: boolean;
4429
+ /** Draft post title word count. */
4430
+ titleWordCount?: number;
4431
+ /** Draft post content word count. */
4432
+ contentWordCount?: number;
4433
+ /** Word credits available for auto translation. */
4434
+ availableAutoTranslateWords?: number;
4435
+ /** Word credits available after auto translation would be done. */
4436
+ availableAutoTranslateWordsAfter?: number;
4437
+ /** Content text character count. */
4438
+ contentTextCharacterCount?: number;
4439
+ }
4440
+ interface UpdateDraftPostLanguageRequest {
4441
+ /**
4442
+ * Source draft post ID
4443
+ * @format GUID
4444
+ */
4445
+ postId?: string;
4446
+ /**
4447
+ * New language to replace to
4448
+ * @minLength 2
4449
+ * @format LANGUAGE_TAG
4450
+ */
4451
+ language?: string;
4452
+ /**
4453
+ * List of draft post fields to be included if entities are present in the response.
4454
+ * Base fieldset, which is default, will return all core draft post properties.
4455
+ * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
4456
+ * @maxSize 10
4457
+ */
4458
+ fieldsets?: FieldWithLiterals[];
4459
+ }
4460
+ interface UpdateDraftPostLanguageResponse {
4461
+ /** Draft post */
4462
+ draftPost?: DraftPost;
4463
+ }
4403
4464
 
4404
4465
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
4405
4466
  getUrl: (context: any) => string;
@@ -4440,4 +4501,4 @@ declare function publishDraftPost(): __PublicMethodMetaInfo<'POST', {
4440
4501
  draftPostId: string;
4441
4502
  }, PublishDraftPostRequest$1, PublishDraftPostRequest, PublishDraftPostResponse$1, PublishDraftPostResponse>;
4442
4503
 
4443
- export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, Action as ActionOriginal, type ActionWithLiterals as ActionWithLiteralsOriginal, type AddressLocation as AddressLocationOriginal, Alignment as AlignmentOriginal, type AlignmentWithLiterals as AlignmentWithLiteralsOriginal, type AnchorData as AnchorDataOriginal, type Animation as AnimationOriginal, AnimationType as AnimationTypeOriginal, type AnimationTypeWithLiterals as AnimationTypeWithLiteralsOriginal, type AppEmbedDataAppDataOneOf as AppEmbedDataAppDataOneOfOriginal, type AppEmbedData as AppEmbedDataOriginal, AppType as AppTypeOriginal, type AppTypeWithLiterals as AppTypeWithLiteralsOriginal, type ApplicationError as ApplicationErrorOriginal, type ApproveDraftPostRequest as ApproveDraftPostRequestOriginal, type ApproveDraftPostResponse as ApproveDraftPostResponseOriginal, AspectRatio as AspectRatioOriginal, type AspectRatioWithLiterals as AspectRatioWithLiteralsOriginal, type AudioData as AudioDataOriginal, type Backdrop as BackdropOriginal, BackdropType as BackdropTypeOriginal, type BackdropTypeWithLiterals as BackdropTypeWithLiteralsOriginal, type BackgroundGradient as BackgroundGradientOriginal, type BackgroundImage as BackgroundImageOriginal, type Background as BackgroundOriginal, BackgroundType as BackgroundTypeOriginal, type BackgroundTypeWithLiterals as BackgroundTypeWithLiteralsOriginal, BannerOrigin as BannerOriginOriginal, type BannerOriginWithLiterals as BannerOriginWithLiteralsOriginal, type Banner as BannerOriginal, BannerPosition as BannerPositionOriginal, type BannerPositionWithLiterals as BannerPositionWithLiteralsOriginal, type BlockquoteData as BlockquoteDataOriginal, type BlogPaging as BlogPagingOriginal, type BookingData as BookingDataOriginal, type BorderColors as BorderColorsOriginal, type Border as BorderOriginal, type BorderWidths as BorderWidthsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCreateDraftPostsRequest as BulkCreateDraftPostsRequestOriginal, type BulkCreateDraftPostsResponse as BulkCreateDraftPostsResponseOriginal, type BulkDeleteDraftPostsRequest as BulkDeleteDraftPostsRequestOriginal, type BulkDeleteDraftPostsResponse as BulkDeleteDraftPostsResponseOriginal, type BulkDraftPostResult as BulkDraftPostResultOriginal, type BulkRejectDraftPostRequest as BulkRejectDraftPostRequestOriginal, type BulkRejectDraftPostResponse as BulkRejectDraftPostResponseOriginal, type BulkRevertToUnpublishedRequest as BulkRevertToUnpublishedRequestOriginal, type BulkRevertToUnpublishedResponse as BulkRevertToUnpublishedResponseOriginal, type BulkUpdateDraftPostsRequest as BulkUpdateDraftPostsRequestOriginal, type BulkUpdateDraftPostsResponse as BulkUpdateDraftPostsResponseOriginal, type BulletedListData as BulletedListDataOriginal, type ButtonData as ButtonDataOriginal, ButtonDataType as ButtonDataTypeOriginal, type ButtonDataTypeWithLiterals as ButtonDataTypeWithLiteralsOriginal, type ButtonStyles as ButtonStylesOriginal, type CaptionData as CaptionDataOriginal, type CardDataBackground as CardDataBackgroundOriginal, CardDataBackgroundType as CardDataBackgroundTypeOriginal, type CardDataBackgroundTypeWithLiterals as CardDataBackgroundTypeWithLiteralsOriginal, type CardData as CardDataOriginal, type CardStyles as CardStylesOriginal, CardStylesType as CardStylesTypeOriginal, type CardStylesTypeWithLiterals as CardStylesTypeWithLiteralsOriginal, type CellStyle as CellStyleOriginal, type CheckboxListData as CheckboxListDataOriginal, type CodeBlockData as CodeBlockDataOriginal, type CollapsibleListData as CollapsibleListDataOriginal, type ColorData as ColorDataOriginal, type Colors as ColorsOriginal, ColumnSize as ColumnSizeOriginal, type ColumnSizeWithLiterals as ColumnSizeWithLiteralsOriginal, type CreateDraftPostRequest as CreateDraftPostRequestOriginal, type CreateDraftPostResponse as CreateDraftPostResponseOriginal, Crop as CropOriginal, type CropWithLiterals as CropWithLiteralsOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type DecorationDataOneOf as DecorationDataOneOfOriginal, type Decoration as DecorationOriginal, DecorationType as DecorationTypeOriginal, type DecorationTypeWithLiterals as DecorationTypeWithLiteralsOriginal, type DeleteDraftPostRequest as DeleteDraftPostRequestOriginal, type DeleteDraftPostResponse as DeleteDraftPostResponseOriginal, type Design as DesignOriginal, DesignTarget as DesignTargetOriginal, type DesignTargetWithLiterals as DesignTargetWithLiteralsOriginal, type Dimensions as DimensionsOriginal, Direction as DirectionOriginal, type DirectionWithLiterals as DirectionWithLiteralsOriginal, DividerDataAlignment as DividerDataAlignmentOriginal, type DividerDataAlignmentWithLiterals as DividerDataAlignmentWithLiteralsOriginal, type DividerData as DividerDataOriginal, type DividerDataStyles as DividerDataStylesOriginal, type DocumentStyle as DocumentStyleOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DraftCategoriesUpdated as DraftCategoriesUpdatedOriginal, type DraftPostCount as DraftPostCountOriginal, type DraftPost as DraftPostOriginal, type DraftPostOwnerChanged as DraftPostOwnerChangedOriginal, type DraftPostTranslation as DraftPostTranslationOriginal, type DraftTagsUpdated as DraftTagsUpdatedOriginal, type EmbedData as EmbedDataOriginal, type EmbedMedia as EmbedMediaOriginal, type EmbedThumbnail as EmbedThumbnailOriginal, type EmbedVideo as EmbedVideoOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type EntranceAnimation as EntranceAnimationOriginal, type EntranceEffect as EntranceEffectOriginal, EntranceEffectType as EntranceEffectTypeOriginal, type EntranceEffectTypeWithLiterals as EntranceEffectTypeWithLiteralsOriginal, type EventData as EventDataOriginal, Field as FieldOriginal, type FieldWithLiterals as FieldWithLiteralsOriginal, type FileData as FileDataOriginal, type FileSourceDataOneOf as FileSourceDataOneOfOriginal, type FileSource as FileSourceOriginal, type FocalPoint as FocalPointOriginal, type FontFamilyData as FontFamilyDataOriginal, type FontSizeData as FontSizeDataOriginal, FontType as FontTypeOriginal, type FontTypeWithLiterals as FontTypeWithLiteralsOriginal, type GIFData as GIFDataOriginal, type GIF as GIFOriginal, GIFType as GIFTypeOriginal, type GIFTypeWithLiterals as GIFTypeWithLiteralsOriginal, type GalleryData as GalleryDataOriginal, type GalleryOptionsLayout as GalleryOptionsLayoutOriginal, type GalleryOptions as GalleryOptionsOriginal, type GetDeletedDraftPostRequest as GetDeletedDraftPostRequestOriginal, type GetDeletedDraftPostResponse as GetDeletedDraftPostResponseOriginal, type GetDraftPostCountsRequest as GetDraftPostCountsRequestOriginal, type GetDraftPostCountsResponse as GetDraftPostCountsResponseOriginal, type GetDraftPostRequest as GetDraftPostRequestOriginal, type GetDraftPostResponse as GetDraftPostResponseOriginal, type GetDraftPostTotalsRequest as GetDraftPostTotalsRequestOriginal, type GetDraftPostTotalsResponse as GetDraftPostTotalsResponseOriginal, GetDraftPostsSort as GetDraftPostsSortOriginal, type GetDraftPostsSortWithLiterals as GetDraftPostsSortWithLiteralsOriginal, type Gradient as GradientOriginal, GradientType as GradientTypeOriginal, type GradientTypeWithLiterals as GradientTypeWithLiteralsOriginal, type HTMLDataDataOneOf as HTMLDataDataOneOfOriginal, type HTMLData as HTMLDataOriginal, type HeadingData as HeadingDataOriginal, type Height as HeightOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ImageDataCrop as ImageDataCropOriginal, type ImageData as ImageDataOriginal, type ImageDataStyles as ImageDataStylesOriginal, type Image as ImageOriginal, ImagePosition as ImagePositionOriginal, ImagePositionPosition as ImagePositionPositionOriginal, type ImagePositionPositionWithLiterals as ImagePositionPositionWithLiteralsOriginal, type ImagePositionWithLiterals as ImagePositionWithLiteralsOriginal, ImageScalingScaling as ImageScalingScalingOriginal, type ImageScalingScalingWithLiterals as ImageScalingScalingWithLiteralsOriginal, type ImageStyles as ImageStylesOriginal, Indentation as IndentationOriginal, type IndentationWithLiterals as IndentationWithLiteralsOriginal, type InitialDraftPostsCopied as InitialDraftPostsCopiedOriginal, InitialExpandedItems as InitialExpandedItemsOriginal, type InitialExpandedItemsWithLiterals as InitialExpandedItemsWithLiteralsOriginal, type IsDraftPostAutoTranslatableRequest as IsDraftPostAutoTranslatableRequestOriginal, type IsDraftPostAutoTranslatableResponse as IsDraftPostAutoTranslatableResponseOriginal, type ItemDataOneOf as ItemDataOneOfOriginal, type ItemImage as ItemImageOriginal, type ItemMetadata as ItemMetadataOriginal, type Item as ItemOriginal, type ItemStyle as ItemStyleOriginal, type Keyword as KeywordOriginal, type LayoutCellData as LayoutCellDataOriginal, type LayoutDataBackgroundImage as LayoutDataBackgroundImageOriginal, type LayoutDataBackground as LayoutDataBackgroundOriginal, LayoutDataBackgroundType as LayoutDataBackgroundTypeOriginal, type LayoutDataBackgroundTypeWithLiterals as LayoutDataBackgroundTypeWithLiteralsOriginal, type LayoutData as LayoutDataOriginal, Layout as LayoutOriginal, LayoutType as LayoutTypeOriginal, type LayoutTypeWithLiterals as LayoutTypeWithLiteralsOriginal, type LayoutWithLiterals as LayoutWithLiteralsOriginal, LineCap as LineCapOriginal, type LineCapWithLiterals as LineCapWithLiteralsOriginal, LineStyle as LineStyleOriginal, type LineStyleWithLiterals as LineStyleWithLiteralsOriginal, type LinkDataOneOf as LinkDataOneOfOriginal, type LinkData as LinkDataOriginal, type Link as LinkOriginal, type LinkPreviewData as LinkPreviewDataOriginal, type LinkPreviewDataStyles as LinkPreviewDataStylesOriginal, type ListDeletedDraftPostsRequest as ListDeletedDraftPostsRequestOriginal, type ListDeletedDraftPostsResponse as ListDeletedDraftPostsResponseOriginal, type ListDraftPostsRequest as ListDraftPostsRequestOriginal, type ListDraftPostsResponse as ListDraftPostsResponseOriginal, type ListItemNodeData as ListItemNodeDataOriginal, ListStyle as ListStyleOriginal, type ListStyleWithLiterals as ListStyleWithLiteralsOriginal, type ListValue as ListValueOriginal, type LoopAnimation as LoopAnimationOriginal, type LoopEffect as LoopEffectOriginal, LoopEffectType as LoopEffectTypeOriginal, type LoopEffectTypeWithLiterals as LoopEffectTypeWithLiteralsOriginal, type MapData as MapDataOriginal, type MapSettings as MapSettingsOriginal, MapType as MapTypeOriginal, type MapTypeWithLiterals as MapTypeWithLiteralsOriginal, type MarkPostAsInModerationRequest as MarkPostAsInModerationRequestOriginal, type MarkPostAsInModerationResponse as MarkPostAsInModerationResponseOriginal, type MaskedDraftPosts as MaskedDraftPostsOriginal, type MediaMediaOneOf as MediaMediaOneOfOriginal, type Media as MediaOriginal, type MentionData as MentionDataOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MetaData as MetaDataOriginal, type Metadata as MetadataOriginal, type ModerationDetails as ModerationDetailsOriginal, ModerationStatusStatus as ModerationStatusStatusOriginal, type ModerationStatusStatusWithLiterals as ModerationStatusStatusWithLiteralsOriginal, type NodeDataOneOf as NodeDataOneOfOriginal, type Node as NodeOriginal, type NodeStyle as NodeStyleOriginal, NodeType as NodeTypeOriginal, type NodeTypeWithLiterals as NodeTypeWithLiteralsOriginal, NullValue as NullValueOriginal, type NullValueWithLiterals as NullValueWithLiteralsOriginal, type Oembed as OembedOriginal, type OptionDesign as OptionDesignOriginal, type OptionLayout as OptionLayoutOriginal, type Option as OptionOriginal, type OrderedListData as OrderedListDataOriginal, Orientation as OrientationOriginal, type OrientationWithLiterals as OrientationWithLiteralsOriginal, Origin as OriginOriginal, type OriginWithLiterals as OriginWithLiteralsOriginal, type PDFSettings as PDFSettingsOriginal, type PageUrl as PageUrlOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type ParagraphData as ParagraphDataOriginal, type Permissions as PermissionsOriginal, Placement as PlacementOriginal, type PlacementWithLiterals as PlacementWithLiteralsOriginal, type PlatformQuery as PlatformQueryOriginal, type PlatformQueryPagingMethodOneOf as PlatformQueryPagingMethodOneOfOriginal, type PlaybackOptions as PlaybackOptionsOriginal, PluginContainerDataAlignment as PluginContainerDataAlignmentOriginal, type PluginContainerDataAlignmentWithLiterals as PluginContainerDataAlignmentWithLiteralsOriginal, type PluginContainerData as PluginContainerDataOriginal, type PluginContainerDataWidthDataOneOf as PluginContainerDataWidthDataOneOfOriginal, type PluginContainerDataWidth as PluginContainerDataWidthOriginal, type PollDataLayout as PollDataLayoutOriginal, type PollData as PollDataOriginal, type PollDesignBackgroundBackgroundOneOf as PollDesignBackgroundBackgroundOneOfOriginal, type PollDesignBackground as PollDesignBackgroundOriginal, PollDesignBackgroundType as PollDesignBackgroundTypeOriginal, type PollDesignBackgroundTypeWithLiterals as PollDesignBackgroundTypeWithLiteralsOriginal, type PollDesign as PollDesignOriginal, PollLayoutDirection as PollLayoutDirectionOriginal, type PollLayoutDirectionWithLiterals as PollLayoutDirectionWithLiteralsOriginal, type PollLayout as PollLayoutOriginal, PollLayoutType as PollLayoutTypeOriginal, type PollLayoutTypeWithLiterals as PollLayoutTypeWithLiteralsOriginal, type Poll as PollOriginal, type PollSettings as PollSettingsOriginal, Position as PositionOriginal, type PositionWithLiterals as PositionWithLiteralsOriginal, type PricingData as PricingDataOriginal, type PublishDraftPostRequest as PublishDraftPostRequestOriginal, type PublishDraftPostResponse as PublishDraftPostResponseOriginal, type QueryDraftPostsRequest as QueryDraftPostsRequestOriginal, type QueryDraftPostsResponse as QueryDraftPostsResponseOriginal, type RejectDraftPostRequest as RejectDraftPostRequestOriginal, type RejectDraftPostResponse as RejectDraftPostResponseOriginal, type Rel as RelOriginal, type RemoveFromTrashBinRequest as RemoveFromTrashBinRequestOriginal, type RemoveFromTrashBinResponse as RemoveFromTrashBinResponseOriginal, Resizing as ResizingOriginal, type ResizingWithLiterals as ResizingWithLiteralsOriginal, ResponsivenessBehaviour as ResponsivenessBehaviourOriginal, type ResponsivenessBehaviourWithLiterals as ResponsivenessBehaviourWithLiteralsOriginal, type RestoreFromTrashBinRequest as RestoreFromTrashBinRequestOriginal, type RestoreFromTrashBinResponse as RestoreFromTrashBinResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type RevertToUnpublishedRequest as RevertToUnpublishedRequestOriginal, type RevertToUnpublishedResponse as RevertToUnpublishedResponseOriginal, type RibbonStyles as RibbonStylesOriginal, type RichContent as RichContentOriginal, Scaling as ScalingOriginal, type ScalingWithLiterals as ScalingWithLiteralsOriginal, type SeoSchema as SeoSchemaOriginal, type Settings as SettingsOriginal, type ShapeData as ShapeDataOriginal, type ShapeDataStyles as ShapeDataStylesOriginal, type SketchData as SketchDataOriginal, type SmartBlockCellData as SmartBlockCellDataOriginal, type SmartBlockData as SmartBlockDataOriginal, SmartBlockDataType as SmartBlockDataTypeOriginal, type SmartBlockDataTypeWithLiterals as SmartBlockDataTypeWithLiteralsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, Source as SourceOriginal, type SourceWithLiterals as SourceWithLiteralsOriginal, type SpoilerData as SpoilerDataOriginal, type Spoiler as SpoilerOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type Stop as StopOriginal, type StylesBorder as StylesBorderOriginal, type Styles as StylesOriginal, StylesPosition as StylesPositionOriginal, type StylesPositionWithLiterals as StylesPositionWithLiteralsOriginal, type TableCellData as TableCellDataOriginal, type TableData as TableDataOriginal, type Tag as TagOriginal, Target as TargetOriginal, type TargetWithLiterals as TargetWithLiteralsOriginal, TextAlignment as TextAlignmentOriginal, type TextAlignmentWithLiterals as TextAlignmentWithLiteralsOriginal, type TextData as TextDataOriginal, type TextNodeStyle as TextNodeStyleOriginal, type TextStyle as TextStyleOriginal, ThumbnailsAlignment as ThumbnailsAlignmentOriginal, type ThumbnailsAlignmentWithLiterals as ThumbnailsAlignmentWithLiteralsOriginal, type Thumbnails as ThumbnailsOriginal, type TocData as TocDataOriginal, TotalDraftPostsGroupingField as TotalDraftPostsGroupingFieldOriginal, type TotalDraftPostsGroupingFieldWithLiterals as TotalDraftPostsGroupingFieldWithLiteralsOriginal, type TotalDraftPosts as TotalDraftPostsOriginal, type TranslateDraftRequest as TranslateDraftRequestOriginal, type TranslateDraftResponse as TranslateDraftResponseOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type UnpublishPostRequest as UnpublishPostRequestOriginal, type UnpublishPostResponse as UnpublishPostResponseOriginal, type UpdateDraftPostContentRequest as UpdateDraftPostContentRequestOriginal, type UpdateDraftPostContentResponse as UpdateDraftPostContentResponseOriginal, type UpdateDraftPostLanguageRequest as UpdateDraftPostLanguageRequestOriginal, type UpdateDraftPostLanguageResponse as UpdateDraftPostLanguageResponseOriginal, type UpdateDraftPostRequest as UpdateDraftPostRequestOriginal, type UpdateDraftPostResponse as UpdateDraftPostResponseOriginal, type V1Media as V1MediaOriginal, Variant as VariantOriginal, type VariantWithLiterals as VariantWithLiteralsOriginal, VerticalAlignmentAlignment as VerticalAlignmentAlignmentOriginal, type VerticalAlignmentAlignmentWithLiterals as VerticalAlignmentAlignmentWithLiteralsOriginal, VerticalAlignment as VerticalAlignmentOriginal, type VerticalAlignmentWithLiterals as VerticalAlignmentWithLiteralsOriginal, type VideoData as VideoDataOriginal, type Video as VideoOriginal, type VideoResolution as VideoResolutionOriginal, type VideoV2 as VideoV2Original, ViewMode as ViewModeOriginal, type ViewModeWithLiterals as ViewModeWithLiteralsOriginal, ViewRole as ViewRoleOriginal, type ViewRoleWithLiterals as ViewRoleWithLiteralsOriginal, VoteRole as VoteRoleOriginal, type VoteRoleWithLiterals as VoteRoleWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, Width as WidthOriginal, WidthType as WidthTypeOriginal, type WidthTypeWithLiterals as WidthTypeWithLiteralsOriginal, type WidthWithLiterals as WidthWithLiteralsOriginal, type WixMedia as WixMediaOriginal, type __PublicMethodMetaInfo, bulkCreateDraftPosts, bulkDeleteDraftPosts, bulkUpdateDraftPosts, createDraftPost, deleteDraftPost, getDeletedDraftPost, getDraftPost, listDeletedDraftPosts, listDraftPosts, publishDraftPost, queryDraftPosts, removeFromTrashBin, restoreFromTrashBin, updateDraftPost };
4504
+ export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, Action as ActionOriginal, type ActionWithLiterals as ActionWithLiteralsOriginal, type AddressLocation as AddressLocationOriginal, Alignment as AlignmentOriginal, type AlignmentWithLiterals as AlignmentWithLiteralsOriginal, type AnchorData as AnchorDataOriginal, type Animation as AnimationOriginal, AnimationType as AnimationTypeOriginal, type AnimationTypeWithLiterals as AnimationTypeWithLiteralsOriginal, type AppEmbedDataAppDataOneOf as AppEmbedDataAppDataOneOfOriginal, type AppEmbedData as AppEmbedDataOriginal, AppType as AppTypeOriginal, type AppTypeWithLiterals as AppTypeWithLiteralsOriginal, type ApplicationError as ApplicationErrorOriginal, type ApproveDraftPostRequest as ApproveDraftPostRequestOriginal, type ApproveDraftPostResponse as ApproveDraftPostResponseOriginal, AspectRatio as AspectRatioOriginal, type AspectRatioWithLiterals as AspectRatioWithLiteralsOriginal, type AudioData as AudioDataOriginal, type Backdrop as BackdropOriginal, BackdropType as BackdropTypeOriginal, type BackdropTypeWithLiterals as BackdropTypeWithLiteralsOriginal, type BackgroundGradient as BackgroundGradientOriginal, type BackgroundImage as BackgroundImageOriginal, type Background as BackgroundOriginal, BackgroundType as BackgroundTypeOriginal, type BackgroundTypeWithLiterals as BackgroundTypeWithLiteralsOriginal, BannerOrigin as BannerOriginOriginal, type BannerOriginWithLiterals as BannerOriginWithLiteralsOriginal, type Banner as BannerOriginal, BannerPosition as BannerPositionOriginal, type BannerPositionWithLiterals as BannerPositionWithLiteralsOriginal, type BlockquoteData as BlockquoteDataOriginal, type BlogPaging as BlogPagingOriginal, type BookingData as BookingDataOriginal, type BorderColors as BorderColorsOriginal, type Border as BorderOriginal, type BorderWidths as BorderWidthsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCreateDraftPostsRequest as BulkCreateDraftPostsRequestOriginal, type BulkCreateDraftPostsResponse as BulkCreateDraftPostsResponseOriginal, type BulkDeleteDraftPostsRequest as BulkDeleteDraftPostsRequestOriginal, type BulkDeleteDraftPostsResponse as BulkDeleteDraftPostsResponseOriginal, type BulkDraftPostResult as BulkDraftPostResultOriginal, type BulkRejectDraftPostRequest as BulkRejectDraftPostRequestOriginal, type BulkRejectDraftPostResponse as BulkRejectDraftPostResponseOriginal, type BulkRevertToUnpublishedRequest as BulkRevertToUnpublishedRequestOriginal, type BulkRevertToUnpublishedResponse as BulkRevertToUnpublishedResponseOriginal, type BulkUpdateDraftPostsRequest as BulkUpdateDraftPostsRequestOriginal, type BulkUpdateDraftPostsResponse as BulkUpdateDraftPostsResponseOriginal, type BulletedListData as BulletedListDataOriginal, type ButtonData as ButtonDataOriginal, ButtonDataType as ButtonDataTypeOriginal, type ButtonDataTypeWithLiterals as ButtonDataTypeWithLiteralsOriginal, type ButtonStyles as ButtonStylesOriginal, type CaptionData as CaptionDataOriginal, type CardDataBackground as CardDataBackgroundOriginal, CardDataBackgroundType as CardDataBackgroundTypeOriginal, type CardDataBackgroundTypeWithLiterals as CardDataBackgroundTypeWithLiteralsOriginal, type CardData as CardDataOriginal, type CardStyles as CardStylesOriginal, CardStylesType as CardStylesTypeOriginal, type CardStylesTypeWithLiterals as CardStylesTypeWithLiteralsOriginal, type CellStyle as CellStyleOriginal, type CheckboxListData as CheckboxListDataOriginal, type CodeBlockData as CodeBlockDataOriginal, type CollapsibleListData as CollapsibleListDataOriginal, type ColorData as ColorDataOriginal, type Colors as ColorsOriginal, ColumnSize as ColumnSizeOriginal, type ColumnSizeWithLiterals as ColumnSizeWithLiteralsOriginal, type CreateDraftPostRequest as CreateDraftPostRequestOriginal, type CreateDraftPostResponse as CreateDraftPostResponseOriginal, Crop as CropOriginal, type CropWithLiterals as CropWithLiteralsOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type DecorationDataOneOf as DecorationDataOneOfOriginal, type Decoration as DecorationOriginal, DecorationType as DecorationTypeOriginal, type DecorationTypeWithLiterals as DecorationTypeWithLiteralsOriginal, type DeleteDraftPostRequest as DeleteDraftPostRequestOriginal, type DeleteDraftPostResponse as DeleteDraftPostResponseOriginal, type Design as DesignOriginal, DesignTarget as DesignTargetOriginal, type DesignTargetWithLiterals as DesignTargetWithLiteralsOriginal, type Dimensions as DimensionsOriginal, Direction as DirectionOriginal, type DirectionWithLiterals as DirectionWithLiteralsOriginal, DividerDataAlignment as DividerDataAlignmentOriginal, type DividerDataAlignmentWithLiterals as DividerDataAlignmentWithLiteralsOriginal, type DividerData as DividerDataOriginal, type DividerDataStyles as DividerDataStylesOriginal, type DocumentStyle as DocumentStyleOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DraftCategoriesUpdated as DraftCategoriesUpdatedOriginal, type DraftPostCount as DraftPostCountOriginal, type DraftPost as DraftPostOriginal, type DraftPostOwnerChanged as DraftPostOwnerChangedOriginal, type DraftPostTranslation as DraftPostTranslationOriginal, type DraftTagsUpdated as DraftTagsUpdatedOriginal, type EmbedData as EmbedDataOriginal, type EmbedMedia as EmbedMediaOriginal, type EmbedThumbnail as EmbedThumbnailOriginal, type EmbedVideo as EmbedVideoOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type EntranceAnimation as EntranceAnimationOriginal, type EntranceEffect as EntranceEffectOriginal, EntranceEffectType as EntranceEffectTypeOriginal, type EntranceEffectTypeWithLiterals as EntranceEffectTypeWithLiteralsOriginal, type EventData as EventDataOriginal, Field as FieldOriginal, type FieldWithLiterals as FieldWithLiteralsOriginal, type FileData as FileDataOriginal, type FileSourceDataOneOf as FileSourceDataOneOfOriginal, type FileSource as FileSourceOriginal, type FocalPoint as FocalPointOriginal, type FontFamilyData as FontFamilyDataOriginal, type FontSizeData as FontSizeDataOriginal, FontType as FontTypeOriginal, type FontTypeWithLiterals as FontTypeWithLiteralsOriginal, type GIFData as GIFDataOriginal, type GIF as GIFOriginal, GIFType as GIFTypeOriginal, type GIFTypeWithLiterals as GIFTypeWithLiteralsOriginal, type GalleryData as GalleryDataOriginal, type GalleryOptionsLayout as GalleryOptionsLayoutOriginal, type GalleryOptions as GalleryOptionsOriginal, type GetDeletedDraftPostRequest as GetDeletedDraftPostRequestOriginal, type GetDeletedDraftPostResponse as GetDeletedDraftPostResponseOriginal, type GetDraftPostCountsRequest as GetDraftPostCountsRequestOriginal, type GetDraftPostCountsResponse as GetDraftPostCountsResponseOriginal, type GetDraftPostRequest as GetDraftPostRequestOriginal, type GetDraftPostResponse as GetDraftPostResponseOriginal, type GetDraftPostTotalsRequest as GetDraftPostTotalsRequestOriginal, type GetDraftPostTotalsResponse as GetDraftPostTotalsResponseOriginal, GetDraftPostsSort as GetDraftPostsSortOriginal, type GetDraftPostsSortWithLiterals as GetDraftPostsSortWithLiteralsOriginal, type Gradient as GradientOriginal, GradientType as GradientTypeOriginal, type GradientTypeWithLiterals as GradientTypeWithLiteralsOriginal, type HTMLDataDataOneOf as HTMLDataDataOneOfOriginal, type HTMLData as HTMLDataOriginal, type HeadingData as HeadingDataOriginal, type Height as HeightOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ImageDataCrop as ImageDataCropOriginal, type ImageData as ImageDataOriginal, type ImageDataStyles as ImageDataStylesOriginal, type Image as ImageOriginal, ImagePosition as ImagePositionOriginal, ImagePositionPosition as ImagePositionPositionOriginal, type ImagePositionPositionWithLiterals as ImagePositionPositionWithLiteralsOriginal, type ImagePositionWithLiterals as ImagePositionWithLiteralsOriginal, ImageScalingScaling as ImageScalingScalingOriginal, type ImageScalingScalingWithLiterals as ImageScalingScalingWithLiteralsOriginal, type ImageStyles as ImageStylesOriginal, Indentation as IndentationOriginal, type IndentationWithLiterals as IndentationWithLiteralsOriginal, type InitialDraftPostsCopied as InitialDraftPostsCopiedOriginal, InitialExpandedItems as InitialExpandedItemsOriginal, type InitialExpandedItemsWithLiterals as InitialExpandedItemsWithLiteralsOriginal, type IsDraftPostAutoTranslatableRequest as IsDraftPostAutoTranslatableRequestOriginal, type IsDraftPostAutoTranslatableResponse as IsDraftPostAutoTranslatableResponseOriginal, type ItemDataOneOf as ItemDataOneOfOriginal, type ItemImage as ItemImageOriginal, type ItemMetadata as ItemMetadataOriginal, type Item as ItemOriginal, type ItemStyle as ItemStyleOriginal, type Keyword as KeywordOriginal, type LayoutCellData as LayoutCellDataOriginal, type LayoutDataBackgroundImage as LayoutDataBackgroundImageOriginal, type LayoutDataBackground as LayoutDataBackgroundOriginal, LayoutDataBackgroundType as LayoutDataBackgroundTypeOriginal, type LayoutDataBackgroundTypeWithLiterals as LayoutDataBackgroundTypeWithLiteralsOriginal, type LayoutData as LayoutDataOriginal, Layout as LayoutOriginal, LayoutType as LayoutTypeOriginal, type LayoutTypeWithLiterals as LayoutTypeWithLiteralsOriginal, type LayoutWithLiterals as LayoutWithLiteralsOriginal, LineCap as LineCapOriginal, type LineCapWithLiterals as LineCapWithLiteralsOriginal, LineStyle as LineStyleOriginal, type LineStyleWithLiterals as LineStyleWithLiteralsOriginal, type LinkDataOneOf as LinkDataOneOfOriginal, type LinkData as LinkDataOriginal, type Link as LinkOriginal, type LinkPreviewData as LinkPreviewDataOriginal, type LinkPreviewDataStyles as LinkPreviewDataStylesOriginal, type ListDeletedDraftPostsRequest as ListDeletedDraftPostsRequestOriginal, type ListDeletedDraftPostsResponse as ListDeletedDraftPostsResponseOriginal, type ListDraftPostsRequest as ListDraftPostsRequestOriginal, type ListDraftPostsResponse as ListDraftPostsResponseOriginal, type ListItemNodeData as ListItemNodeDataOriginal, ListStyle as ListStyleOriginal, type ListStyleWithLiterals as ListStyleWithLiteralsOriginal, type ListValue as ListValueOriginal, type LoopAnimation as LoopAnimationOriginal, type LoopEffect as LoopEffectOriginal, LoopEffectType as LoopEffectTypeOriginal, type LoopEffectTypeWithLiterals as LoopEffectTypeWithLiteralsOriginal, type MapData as MapDataOriginal, type MapSettings as MapSettingsOriginal, MapType as MapTypeOriginal, type MapTypeWithLiterals as MapTypeWithLiteralsOriginal, type MarkPostAsInModerationRequest as MarkPostAsInModerationRequestOriginal, type MarkPostAsInModerationResponse as MarkPostAsInModerationResponseOriginal, type MaskedDraftPosts as MaskedDraftPostsOriginal, type MediaMediaOneOf as MediaMediaOneOfOriginal, type Media as MediaOriginal, type MentionData as MentionDataOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MetaData as MetaDataOriginal, type Metadata as MetadataOriginal, type ModerationDetails as ModerationDetailsOriginal, ModerationStatusStatus as ModerationStatusStatusOriginal, type ModerationStatusStatusWithLiterals as ModerationStatusStatusWithLiteralsOriginal, type NodeDataOneOf as NodeDataOneOfOriginal, type Node as NodeOriginal, type NodeStyle as NodeStyleOriginal, NodeType as NodeTypeOriginal, type NodeTypeWithLiterals as NodeTypeWithLiteralsOriginal, NullValue as NullValueOriginal, type NullValueWithLiterals as NullValueWithLiteralsOriginal, type Oembed as OembedOriginal, type OptionDesign as OptionDesignOriginal, type OptionLayout as OptionLayoutOriginal, type Option as OptionOriginal, type OrderedListData as OrderedListDataOriginal, Orientation as OrientationOriginal, type OrientationWithLiterals as OrientationWithLiteralsOriginal, Origin as OriginOriginal, type OriginWithLiterals as OriginWithLiteralsOriginal, type PDFSettings as PDFSettingsOriginal, type PageUrl as PageUrlOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type ParagraphData as ParagraphDataOriginal, type Permissions as PermissionsOriginal, Placement as PlacementOriginal, type PlacementWithLiterals as PlacementWithLiteralsOriginal, type PlatformQuery as PlatformQueryOriginal, type PlatformQueryPagingMethodOneOf as PlatformQueryPagingMethodOneOfOriginal, type PlaybackOptions as PlaybackOptionsOriginal, PluginContainerDataAlignment as PluginContainerDataAlignmentOriginal, type PluginContainerDataAlignmentWithLiterals as PluginContainerDataAlignmentWithLiteralsOriginal, type PluginContainerData as PluginContainerDataOriginal, type PluginContainerDataWidthDataOneOf as PluginContainerDataWidthDataOneOfOriginal, type PluginContainerDataWidth as PluginContainerDataWidthOriginal, type PointerEffect as PointerEffectOriginal, PointerEffectType as PointerEffectTypeOriginal, type PointerEffectTypeWithLiterals as PointerEffectTypeWithLiteralsOriginal, type PollDataLayout as PollDataLayoutOriginal, type PollData as PollDataOriginal, type PollDesignBackgroundBackgroundOneOf as PollDesignBackgroundBackgroundOneOfOriginal, type PollDesignBackground as PollDesignBackgroundOriginal, PollDesignBackgroundType as PollDesignBackgroundTypeOriginal, type PollDesignBackgroundTypeWithLiterals as PollDesignBackgroundTypeWithLiteralsOriginal, type PollDesign as PollDesignOriginal, PollLayoutDirection as PollLayoutDirectionOriginal, type PollLayoutDirectionWithLiterals as PollLayoutDirectionWithLiteralsOriginal, type PollLayout as PollLayoutOriginal, PollLayoutType as PollLayoutTypeOriginal, type PollLayoutTypeWithLiterals as PollLayoutTypeWithLiteralsOriginal, type Poll as PollOriginal, type PollSettings as PollSettingsOriginal, Position as PositionOriginal, type PositionWithLiterals as PositionWithLiteralsOriginal, type PricingData as PricingDataOriginal, type PublishDraftPostRequest as PublishDraftPostRequestOriginal, type PublishDraftPostResponse as PublishDraftPostResponseOriginal, type QueryDraftPostsRequest as QueryDraftPostsRequestOriginal, type QueryDraftPostsResponse as QueryDraftPostsResponseOriginal, type RejectDraftPostRequest as RejectDraftPostRequestOriginal, type RejectDraftPostResponse as RejectDraftPostResponseOriginal, type Rel as RelOriginal, type RemoveFromTrashBinRequest as RemoveFromTrashBinRequestOriginal, type RemoveFromTrashBinResponse as RemoveFromTrashBinResponseOriginal, Resizing as ResizingOriginal, type ResizingWithLiterals as ResizingWithLiteralsOriginal, ResponsivenessBehaviour as ResponsivenessBehaviourOriginal, type ResponsivenessBehaviourWithLiterals as ResponsivenessBehaviourWithLiteralsOriginal, type RestoreFromTrashBinRequest as RestoreFromTrashBinRequestOriginal, type RestoreFromTrashBinResponse as RestoreFromTrashBinResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type RevertToUnpublishedRequest as RevertToUnpublishedRequestOriginal, type RevertToUnpublishedResponse as RevertToUnpublishedResponseOriginal, type RibbonStyles as RibbonStylesOriginal, type RichContent as RichContentOriginal, Scaling as ScalingOriginal, type ScalingWithLiterals as ScalingWithLiteralsOriginal, type SeoSchema as SeoSchemaOriginal, type Settings as SettingsOriginal, type ShapeData as ShapeDataOriginal, type ShapeDataStyles as ShapeDataStylesOriginal, type SketchData as SketchDataOriginal, type SmartBlockCellData as SmartBlockCellDataOriginal, type SmartBlockData as SmartBlockDataOriginal, SmartBlockDataType as SmartBlockDataTypeOriginal, type SmartBlockDataTypeWithLiterals as SmartBlockDataTypeWithLiteralsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, Source as SourceOriginal, type SourceWithLiterals as SourceWithLiteralsOriginal, type SpoilerData as SpoilerDataOriginal, type Spoiler as SpoilerOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type Stop as StopOriginal, type StylesBorder as StylesBorderOriginal, type Styles as StylesOriginal, StylesPosition as StylesPositionOriginal, type StylesPositionWithLiterals as StylesPositionWithLiteralsOriginal, type TableCellData as TableCellDataOriginal, type TableData as TableDataOriginal, type Tag as TagOriginal, Target as TargetOriginal, type TargetWithLiterals as TargetWithLiteralsOriginal, TextAlignment as TextAlignmentOriginal, type TextAlignmentWithLiterals as TextAlignmentWithLiteralsOriginal, type TextData as TextDataOriginal, type TextNodeStyle as TextNodeStyleOriginal, type TextStyle as TextStyleOriginal, ThumbnailsAlignment as ThumbnailsAlignmentOriginal, type ThumbnailsAlignmentWithLiterals as ThumbnailsAlignmentWithLiteralsOriginal, type Thumbnails as ThumbnailsOriginal, type TocData as TocDataOriginal, TotalDraftPostsGroupingField as TotalDraftPostsGroupingFieldOriginal, type TotalDraftPostsGroupingFieldWithLiterals as TotalDraftPostsGroupingFieldWithLiteralsOriginal, type TotalDraftPosts as TotalDraftPostsOriginal, type TranslateDraftRequest as TranslateDraftRequestOriginal, type TranslateDraftResponse as TranslateDraftResponseOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type UnpublishPostRequest as UnpublishPostRequestOriginal, type UnpublishPostResponse as UnpublishPostResponseOriginal, type UpdateDraftPostContentRequest as UpdateDraftPostContentRequestOriginal, type UpdateDraftPostContentResponse as UpdateDraftPostContentResponseOriginal, type UpdateDraftPostLanguageRequest as UpdateDraftPostLanguageRequestOriginal, type UpdateDraftPostLanguageResponse as UpdateDraftPostLanguageResponseOriginal, type UpdateDraftPostRequest as UpdateDraftPostRequestOriginal, type UpdateDraftPostResponse as UpdateDraftPostResponseOriginal, type V1Media as V1MediaOriginal, Variant as VariantOriginal, type VariantWithLiterals as VariantWithLiteralsOriginal, VerticalAlignmentAlignment as VerticalAlignmentAlignmentOriginal, type VerticalAlignmentAlignmentWithLiterals as VerticalAlignmentAlignmentWithLiteralsOriginal, VerticalAlignment as VerticalAlignmentOriginal, type VerticalAlignmentWithLiterals as VerticalAlignmentWithLiteralsOriginal, type VideoData as VideoDataOriginal, type Video as VideoOriginal, type VideoResolution as VideoResolutionOriginal, type VideoV2 as VideoV2Original, ViewMode as ViewModeOriginal, type ViewModeWithLiterals as ViewModeWithLiteralsOriginal, ViewRole as ViewRoleOriginal, type ViewRoleWithLiterals as ViewRoleWithLiteralsOriginal, VoteRole as VoteRoleOriginal, type VoteRoleWithLiterals as VoteRoleWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, Width as WidthOriginal, WidthType as WidthTypeOriginal, type WidthTypeWithLiterals as WidthTypeWithLiteralsOriginal, type WidthWithLiterals as WidthWithLiteralsOriginal, type WixMedia as WixMediaOriginal, type __PublicMethodMetaInfo, bulkCreateDraftPosts, bulkDeleteDraftPosts, bulkUpdateDraftPosts, createDraftPost, deleteDraftPost, getDeletedDraftPost, getDraftPost, listDeletedDraftPosts, listDraftPosts, publishDraftPost, queryDraftPosts, removeFromTrashBin, restoreFromTrashBin, updateDraftPost };