@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
@@ -791,17 +791,27 @@ interface Rel {
791
791
  interface Animation {
792
792
  /** Animation kind. */
793
793
  type?: AnimationTypeWithLiterals;
794
- /** Entrance animation, played once when the node first enters the viewport. */
794
+ /** Entrance animation, played once when the node first enters the viewport (VIEW). */
795
795
  entrance?: EntranceAnimation;
796
- /** Looping animation, repeated indefinitely while the node is on the page. When combined with entrance, the loop starts after the entrance finishes. */
796
+ /** Looping animation, repeated indefinitely while the node is on the page. When combined with entrance, the loop starts after the entrance finishes (VIEW). */
797
797
  loop?: LoopAnimation;
798
+ /**
799
+ * POINTER carries its fields directly on the union member in the JTD wall, hence
800
+ * flat fields here (ts-proto camelCase must equal the JTD property names). A future
801
+ * SCROLL variant will contend for the `effect` JSON name — resolve when it lands.
802
+ */
803
+ effect?: PointerEffect;
804
+ /** How quickly the node settles toward the pointer, in milliseconds (POINTER). */
805
+ transitionDuration?: number | null;
798
806
  }
799
807
  declare enum AnimationType {
800
808
  /** Animations that play while the node is in view. */
801
- VIEW = "VIEW"
809
+ VIEW = "VIEW",
810
+ /** Animations driven by the visitor's mouse position. */
811
+ POINTER = "POINTER"
802
812
  }
803
813
  /** @enumType */
804
- type AnimationTypeWithLiterals = AnimationType | 'VIEW';
814
+ type AnimationTypeWithLiterals = AnimationType | 'VIEW' | 'POINTER';
805
815
  interface EntranceAnimation {
806
816
  /** The entrance effect to play. */
807
817
  effect?: EntranceEffect;
@@ -921,6 +931,49 @@ declare enum LoopEffectType {
921
931
  }
922
932
  /** @enumType */
923
933
  type LoopEffectTypeWithLiterals = LoopEffectType | 'BOUNCE' | 'BREATHE' | 'CROSS' | 'FLASH' | 'FLIP' | 'FOLD' | 'JELLO' | 'POKE' | 'PULSE' | 'RUBBER' | 'SPIN' | 'SWING' | 'WIGGLE';
934
+ interface PointerEffect {
935
+ /** The mouse effect type. */
936
+ type?: PointerEffectTypeWithLiterals;
937
+ /** Reacts away from the pointer instead of toward it. */
938
+ inverted?: boolean | null;
939
+ /**
940
+ * 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.
941
+ * @maxLength 20
942
+ */
943
+ axis?: string | null;
944
+ /**
945
+ * Whether the node grows or shrinks as the pointer nears: UP or DOWN (SCALE).
946
+ * @maxLength 8
947
+ */
948
+ direction?: string | null;
949
+ /**
950
+ * Motion style: GENTLE, MODERATE, or INTENSE.
951
+ * @maxLength 100
952
+ */
953
+ easing?: string | null;
954
+ }
955
+ declare enum PointerEffectType {
956
+ /** Drifts loosely after the pointer with a light rotation. */
957
+ AIRY = "AIRY",
958
+ /** Squashes and stretches toward the pointer. */
959
+ BLOB = "BLOB",
960
+ /** Shifts after the pointer while blurring. */
961
+ BLUR = "BLUR",
962
+ /** Scales as the pointer approaches. */
963
+ SCALE = "SCALE",
964
+ /** Skews toward the pointer. */
965
+ SKEW = "SKEW",
966
+ /** Rotates around a pivot edge or axis, following the pointer. */
967
+ SWIVEL = "SWIVEL",
968
+ /** Tilts in 3D perspective toward the pointer. */
969
+ TILT_3D = "TILT_3D",
970
+ /** Follows the pointer's position. */
971
+ TRACK = "TRACK",
972
+ /** Follows the pointer with a 3D depth motion. */
973
+ TRACK_3D = "TRACK_3D"
974
+ }
975
+ /** @enumType */
976
+ type PointerEffectTypeWithLiterals = PointerEffectType | 'AIRY' | 'BLOB' | 'BLUR' | 'SCALE' | 'SKEW' | 'SWIVEL' | 'TILT_3D' | 'TRACK' | 'TRACK_3D';
924
977
  interface CodeBlockData {
925
978
  /** Styling for the code block's text. */
926
979
  textStyle?: TextStyle;
@@ -2965,7 +3018,15 @@ interface Tag {
2965
3018
  meta?: Record<string, any> | null;
2966
3019
  /** SEO tag inner content. For example, `<title> inner content </title>`. */
2967
3020
  children?: string;
2968
- /** Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages). */
3021
+ /**
3022
+ * Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages).
3023
+ *
3024
+ * Limitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read
3025
+ * only from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor
3026
+ * or Wix Studio pages, so custom tags saved on those pages are missing from the response entirely. For
3027
+ * those pages `false` therefore does not mean "not a custom tag" — it means this API could not tell.
3028
+ * Pass `seoData` explicitly to resolve against a known set of tags.
3029
+ */
2969
3030
  custom?: boolean;
2970
3031
  /** Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines. */
2971
3032
  disabled?: boolean;
@@ -3134,10 +3195,6 @@ interface DraftPostTranslation {
3134
3195
  /** Post URL. */
3135
3196
  url?: string;
3136
3197
  }
3137
- interface InitialDraftPostsCopied {
3138
- /** Number of draft posts copied. */
3139
- count?: number;
3140
- }
3141
3198
  interface DraftCategoriesUpdated {
3142
3199
  /**
3143
3200
  * Draft post ID.
@@ -3176,6 +3233,200 @@ interface DraftTagsUpdated {
3176
3233
  */
3177
3234
  previousTags?: string[];
3178
3235
  }
3236
+ interface GetDraftPostTotalsRequest {
3237
+ /**
3238
+ * Group results by fields (defaults to grouping by status).
3239
+ * If, for example, grouping by language is passed, language values in response will be filled.
3240
+ * If, for example, grouping by language is not passed, null values will be filled in language field in response.
3241
+ * @maxSize 10
3242
+ */
3243
+ groupBy?: TotalDraftPostsGroupingFieldWithLiterals[];
3244
+ /**
3245
+ * Optional language filter by provided language code. Useful in multilingual context.
3246
+ * @format LANGUAGE_TAG
3247
+ */
3248
+ language?: string | null;
3249
+ }
3250
+ declare enum TotalDraftPostsGroupingField {
3251
+ /** Groups results by status. */
3252
+ STATUS = "STATUS",
3253
+ /** Groups results by language. */
3254
+ LANGUAGE = "LANGUAGE"
3255
+ }
3256
+ /** @enumType */
3257
+ type TotalDraftPostsGroupingFieldWithLiterals = TotalDraftPostsGroupingField | 'STATUS' | 'LANGUAGE';
3258
+ interface GetDraftPostTotalsResponse {
3259
+ /** Draft post totals. */
3260
+ totalDraftPosts?: TotalDraftPosts[];
3261
+ }
3262
+ interface TotalDraftPosts {
3263
+ /** Draft post totals in that group. */
3264
+ total?: number;
3265
+ /** Draft post status (only has value when grouping by status, otherwise null). */
3266
+ status?: StatusWithLiterals;
3267
+ /**
3268
+ * Draft post language code (only has value when grouping by language, otherwise null).
3269
+ * @format LANGUAGE_TAG
3270
+ */
3271
+ language?: string | null;
3272
+ }
3273
+ interface DomainEvent extends DomainEventBodyOneOf {
3274
+ createdEvent?: EntityCreatedEvent;
3275
+ updatedEvent?: EntityUpdatedEvent;
3276
+ deletedEvent?: EntityDeletedEvent;
3277
+ actionEvent?: ActionEvent;
3278
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
3279
+ _id?: string;
3280
+ /**
3281
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
3282
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
3283
+ */
3284
+ entityFqdn?: string;
3285
+ /**
3286
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
3287
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
3288
+ */
3289
+ slug?: string;
3290
+ /** ID of the entity associated with the event. */
3291
+ entityId?: string;
3292
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
3293
+ eventTime?: Date | null;
3294
+ /**
3295
+ * Whether the event was triggered as a result of a privacy regulation application
3296
+ * (for example, GDPR).
3297
+ */
3298
+ triggeredByAnonymizeRequest?: boolean | null;
3299
+ /** If present, indicates the action that triggered the event. */
3300
+ originatedFrom?: string | null;
3301
+ /**
3302
+ * 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.
3303
+ * 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.
3304
+ */
3305
+ entityEventSequence?: string | null;
3306
+ }
3307
+ /** @oneof */
3308
+ interface DomainEventBodyOneOf {
3309
+ createdEvent?: EntityCreatedEvent;
3310
+ updatedEvent?: EntityUpdatedEvent;
3311
+ deletedEvent?: EntityDeletedEvent;
3312
+ actionEvent?: ActionEvent;
3313
+ }
3314
+ interface EntityCreatedEvent {
3315
+ entity?: string;
3316
+ }
3317
+ interface RestoreInfo {
3318
+ deletedDate?: Date | null;
3319
+ }
3320
+ interface EntityUpdatedEvent {
3321
+ /**
3322
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
3323
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
3324
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
3325
+ */
3326
+ currentEntity?: string;
3327
+ }
3328
+ interface EntityDeletedEvent {
3329
+ /** Entity that was deleted. */
3330
+ deletedEntity?: string | null;
3331
+ }
3332
+ interface ActionEvent {
3333
+ body?: string;
3334
+ }
3335
+ interface MessageEnvelope {
3336
+ /**
3337
+ * App instance ID.
3338
+ * @format GUID
3339
+ */
3340
+ instanceId?: string | null;
3341
+ /**
3342
+ * Event type.
3343
+ * @maxLength 150
3344
+ */
3345
+ eventType?: string;
3346
+ /** The identification type and identity data. */
3347
+ identity?: IdentificationData;
3348
+ /** Stringify payload. */
3349
+ data?: string;
3350
+ /** Details related to the account */
3351
+ accountInfo?: AccountInfo;
3352
+ }
3353
+ interface IdentificationData extends IdentificationDataIdOneOf {
3354
+ /**
3355
+ * ID of a site visitor that has not logged in to the site.
3356
+ * @format GUID
3357
+ */
3358
+ anonymousVisitorId?: string;
3359
+ /**
3360
+ * ID of a site visitor that has logged in to the site.
3361
+ * @format GUID
3362
+ */
3363
+ memberId?: string;
3364
+ /**
3365
+ * ID of a Wix user (site owner, contributor, etc.).
3366
+ * @format GUID
3367
+ */
3368
+ wixUserId?: string;
3369
+ /**
3370
+ * ID of an app.
3371
+ * @format GUID
3372
+ */
3373
+ appId?: string;
3374
+ /** @readonly */
3375
+ identityType?: WebhookIdentityTypeWithLiterals;
3376
+ }
3377
+ /** @oneof */
3378
+ interface IdentificationDataIdOneOf {
3379
+ /**
3380
+ * ID of a site visitor that has not logged in to the site.
3381
+ * @format GUID
3382
+ */
3383
+ anonymousVisitorId?: string;
3384
+ /**
3385
+ * ID of a site visitor that has logged in to the site.
3386
+ * @format GUID
3387
+ */
3388
+ memberId?: string;
3389
+ /**
3390
+ * ID of a Wix user (site owner, contributor, etc.).
3391
+ * @format GUID
3392
+ */
3393
+ wixUserId?: string;
3394
+ /**
3395
+ * ID of an app.
3396
+ * @format GUID
3397
+ */
3398
+ appId?: string;
3399
+ }
3400
+ declare enum WebhookIdentityType {
3401
+ UNKNOWN = "UNKNOWN",
3402
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
3403
+ MEMBER = "MEMBER",
3404
+ WIX_USER = "WIX_USER",
3405
+ APP = "APP"
3406
+ }
3407
+ /** @enumType */
3408
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
3409
+ interface AccountInfo {
3410
+ /**
3411
+ * ID of the Wix account associated with the event.
3412
+ * @format GUID
3413
+ */
3414
+ accountId?: string | null;
3415
+ /**
3416
+ * ID of the parent Wix account. Only included when accountId belongs to a child account.
3417
+ * @format GUID
3418
+ */
3419
+ parentAccountId?: string | null;
3420
+ /**
3421
+ * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
3422
+ * @format GUID
3423
+ */
3424
+ siteId?: string | null;
3425
+ }
3426
+ interface InitialDraftPostsCopied {
3427
+ /** Number of draft posts copied. */
3428
+ count?: number;
3429
+ }
3179
3430
  interface CreateDraftPostRequest {
3180
3431
  /** Draft post to create. */
3181
3432
  draftPost: DraftPost;
@@ -3825,297 +4076,29 @@ interface DraftPostCount {
3825
4076
  /** Number of posts. */
3826
4077
  postCount?: number;
3827
4078
  }
3828
- interface DomainEvent extends DomainEventBodyOneOf {
3829
- createdEvent?: EntityCreatedEvent;
3830
- updatedEvent?: EntityUpdatedEvent;
3831
- deletedEvent?: EntityDeletedEvent;
3832
- actionEvent?: ActionEvent;
3833
- /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
3834
- _id?: string;
4079
+ interface BulkRevertToUnpublishedRequest {
3835
4080
  /**
3836
- * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
3837
- * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
4081
+ * Source post IDs.
4082
+ * @minSize 1
4083
+ * @maxSize 100
4084
+ * @format GUID
3838
4085
  */
3839
- entityFqdn?: string;
4086
+ postIds?: string[];
4087
+ /** Should full draft post be returned. */
4088
+ returnFullEntity?: boolean;
4089
+ }
4090
+ interface BulkRevertToUnpublishedResponse {
4091
+ /** Bulk action results. */
4092
+ results?: BulkDraftPostResult[];
4093
+ /** Bulk action metadata. */
4094
+ bulkActionMetadata?: BulkActionMetadata;
4095
+ }
4096
+ interface BulkRejectDraftPostRequest {
3840
4097
  /**
3841
- * Event action name, placed at the top level to make it easier for users to dispatch messages.
3842
- * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
3843
- */
3844
- slug?: string;
3845
- /** ID of the entity associated with the event. */
3846
- entityId?: string;
3847
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
3848
- eventTime?: Date | null;
3849
- /**
3850
- * Whether the event was triggered as a result of a privacy regulation application
3851
- * (for example, GDPR).
3852
- */
3853
- triggeredByAnonymizeRequest?: boolean | null;
3854
- /** If present, indicates the action that triggered the event. */
3855
- originatedFrom?: string | null;
3856
- /**
3857
- * 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.
3858
- * 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.
3859
- */
3860
- entityEventSequence?: string | null;
3861
- }
3862
- /** @oneof */
3863
- interface DomainEventBodyOneOf {
3864
- createdEvent?: EntityCreatedEvent;
3865
- updatedEvent?: EntityUpdatedEvent;
3866
- deletedEvent?: EntityDeletedEvent;
3867
- actionEvent?: ActionEvent;
3868
- }
3869
- interface EntityCreatedEvent {
3870
- entity?: string;
3871
- }
3872
- interface RestoreInfo {
3873
- deletedDate?: Date | null;
3874
- }
3875
- interface EntityUpdatedEvent {
3876
- /**
3877
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
3878
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
3879
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
3880
- */
3881
- currentEntity?: string;
3882
- }
3883
- interface EntityDeletedEvent {
3884
- /** Entity that was deleted. */
3885
- deletedEntity?: string | null;
3886
- }
3887
- interface ActionEvent {
3888
- body?: string;
3889
- }
3890
- interface MessageEnvelope {
3891
- /**
3892
- * App instance ID.
3893
- * @format GUID
3894
- */
3895
- instanceId?: string | null;
3896
- /**
3897
- * Event type.
3898
- * @maxLength 150
3899
- */
3900
- eventType?: string;
3901
- /** The identification type and identity data. */
3902
- identity?: IdentificationData;
3903
- /** Stringify payload. */
3904
- data?: string;
3905
- /** Details related to the account */
3906
- accountInfo?: AccountInfo;
3907
- }
3908
- interface IdentificationData extends IdentificationDataIdOneOf {
3909
- /**
3910
- * ID of a site visitor that has not logged in to the site.
3911
- * @format GUID
3912
- */
3913
- anonymousVisitorId?: string;
3914
- /**
3915
- * ID of a site visitor that has logged in to the site.
3916
- * @format GUID
3917
- */
3918
- memberId?: string;
3919
- /**
3920
- * ID of a Wix user (site owner, contributor, etc.).
3921
- * @format GUID
3922
- */
3923
- wixUserId?: string;
3924
- /**
3925
- * ID of an app.
3926
- * @format GUID
3927
- */
3928
- appId?: string;
3929
- /** @readonly */
3930
- identityType?: WebhookIdentityTypeWithLiterals;
3931
- }
3932
- /** @oneof */
3933
- interface IdentificationDataIdOneOf {
3934
- /**
3935
- * ID of a site visitor that has not logged in to the site.
3936
- * @format GUID
3937
- */
3938
- anonymousVisitorId?: string;
3939
- /**
3940
- * ID of a site visitor that has logged in to the site.
3941
- * @format GUID
3942
- */
3943
- memberId?: string;
3944
- /**
3945
- * ID of a Wix user (site owner, contributor, etc.).
3946
- * @format GUID
3947
- */
3948
- wixUserId?: string;
3949
- /**
3950
- * ID of an app.
3951
- * @format GUID
3952
- */
3953
- appId?: string;
3954
- }
3955
- declare enum WebhookIdentityType {
3956
- UNKNOWN = "UNKNOWN",
3957
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
3958
- MEMBER = "MEMBER",
3959
- WIX_USER = "WIX_USER",
3960
- APP = "APP"
3961
- }
3962
- /** @enumType */
3963
- type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
3964
- interface AccountInfo {
3965
- /**
3966
- * ID of the Wix account associated with the event.
3967
- * @format GUID
3968
- */
3969
- accountId?: string | null;
3970
- /**
3971
- * ID of the parent Wix account. Only included when accountId belongs to a child account.
3972
- * @format GUID
3973
- */
3974
- parentAccountId?: string | null;
3975
- /**
3976
- * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
3977
- * @format GUID
3978
- */
3979
- siteId?: string | null;
3980
- }
3981
- interface GetDraftPostTotalsRequest {
3982
- /**
3983
- * Group results by fields (defaults to grouping by status).
3984
- * If, for example, grouping by language is passed, language values in response will be filled.
3985
- * If, for example, grouping by language is not passed, null values will be filled in language field in response.
3986
- * @maxSize 10
3987
- */
3988
- groupBy?: TotalDraftPostsGroupingFieldWithLiterals[];
3989
- /**
3990
- * Optional language filter by provided language code. Useful in multilingual context.
3991
- * @format LANGUAGE_TAG
3992
- */
3993
- language?: string | null;
3994
- }
3995
- declare enum TotalDraftPostsGroupingField {
3996
- /** Groups results by status. */
3997
- STATUS = "STATUS",
3998
- /** Groups results by language. */
3999
- LANGUAGE = "LANGUAGE"
4000
- }
4001
- /** @enumType */
4002
- type TotalDraftPostsGroupingFieldWithLiterals = TotalDraftPostsGroupingField | 'STATUS' | 'LANGUAGE';
4003
- interface GetDraftPostTotalsResponse {
4004
- /** Draft post totals. */
4005
- totalDraftPosts?: TotalDraftPosts[];
4006
- }
4007
- interface TotalDraftPosts {
4008
- /** Draft post totals in that group. */
4009
- total?: number;
4010
- /** Draft post status (only has value when grouping by status, otherwise null). */
4011
- status?: StatusWithLiterals;
4012
- /**
4013
- * Draft post language code (only has value when grouping by language, otherwise null).
4014
- * @format LANGUAGE_TAG
4015
- */
4016
- language?: string | null;
4017
- }
4018
- interface TranslateDraftRequest {
4019
- /**
4020
- * Source post or draft ID
4021
- * @format GUID
4022
- */
4023
- postId?: string;
4024
- /**
4025
- * Translation language
4026
- * @format LANGUAGE_TAG
4027
- */
4028
- language?: string;
4029
- /**
4030
- * List of draft post fields to be included if entities are present in the response.
4031
- * Base fieldset, which is default, will return all core draft post properties.
4032
- * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
4033
- * @maxSize 10
4034
- */
4035
- fieldsets?: FieldWithLiterals[];
4036
- /**
4037
- * Performs automatic translation of the title and the content of the draft post to the target language.
4038
- * @internal
4039
- */
4040
- useAutoTranslation?: boolean;
4041
- }
4042
- interface TranslateDraftResponse {
4043
- /** Draft post. */
4044
- draftPost?: DraftPost;
4045
- }
4046
- interface IsDraftPostAutoTranslatableRequest {
4047
- /**
4048
- * Source post or draft ID.
4049
- * @format GUID
4050
- */
4051
- draftPostId?: string;
4052
- }
4053
- interface IsDraftPostAutoTranslatableResponse {
4054
- /**
4055
- * Source draft post ID.
4056
- * @format GUID
4057
- */
4058
- draftPostId?: string;
4059
- /** Indicates if enough machine translation credits are available for the draft post translation. */
4060
- translatable?: boolean;
4061
- /** Draft post title word count. */
4062
- titleWordCount?: number;
4063
- /** Draft post content word count. */
4064
- contentWordCount?: number;
4065
- /** Word credits available for auto translation. */
4066
- availableAutoTranslateWords?: number;
4067
- /** Word credits available after auto translation would be done. */
4068
- availableAutoTranslateWordsAfter?: number;
4069
- /** Content text character count. */
4070
- contentTextCharacterCount?: number;
4071
- }
4072
- interface UpdateDraftPostLanguageRequest {
4073
- /**
4074
- * Source draft post ID
4075
- * @format GUID
4076
- */
4077
- postId?: string;
4078
- /**
4079
- * New language to replace to
4080
- * @minLength 2
4081
- * @format LANGUAGE_TAG
4082
- */
4083
- language?: string;
4084
- /**
4085
- * List of draft post fields to be included if entities are present in the response.
4086
- * Base fieldset, which is default, will return all core draft post properties.
4087
- * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
4088
- * @maxSize 10
4089
- */
4090
- fieldsets?: FieldWithLiterals[];
4091
- }
4092
- interface UpdateDraftPostLanguageResponse {
4093
- /** Draft post */
4094
- draftPost?: DraftPost;
4095
- }
4096
- interface BulkRevertToUnpublishedRequest {
4097
- /**
4098
- * Source post IDs.
4099
- * @minSize 1
4100
- * @maxSize 100
4101
- * @format GUID
4102
- */
4103
- postIds?: string[];
4104
- /** Should full draft post be returned. */
4105
- returnFullEntity?: boolean;
4106
- }
4107
- interface BulkRevertToUnpublishedResponse {
4108
- /** Bulk action results. */
4109
- results?: BulkDraftPostResult[];
4110
- /** Bulk action metadata. */
4111
- bulkActionMetadata?: BulkActionMetadata;
4112
- }
4113
- interface BulkRejectDraftPostRequest {
4114
- /**
4115
- * Source post IDs.
4116
- * @minSize 1
4117
- * @maxSize 100
4118
- * @format GUID
4098
+ * Source post IDs.
4099
+ * @minSize 1
4100
+ * @maxSize 100
4101
+ * @format GUID
4119
4102
  */
4120
4103
  postIds?: string[];
4121
4104
  /** Should full draft post be returned. */
@@ -4240,6 +4223,84 @@ interface MarkPostAsInModerationResponse {
4240
4223
  /** Updated post draft. */
4241
4224
  draftPost?: DraftPost;
4242
4225
  }
4226
+ interface TranslateDraftRequest {
4227
+ /**
4228
+ * Source post or draft ID
4229
+ * @format GUID
4230
+ */
4231
+ postId?: string;
4232
+ /**
4233
+ * Translation language
4234
+ * @format LANGUAGE_TAG
4235
+ */
4236
+ language?: string;
4237
+ /**
4238
+ * List of draft post fields to be included if entities are present in the response.
4239
+ * Base fieldset, which is default, will return all core draft post properties.
4240
+ * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
4241
+ * @maxSize 10
4242
+ */
4243
+ fieldsets?: FieldWithLiterals[];
4244
+ /**
4245
+ * Performs automatic translation of the title and the content of the draft post to the target language.
4246
+ * @internal
4247
+ */
4248
+ useAutoTranslation?: boolean;
4249
+ }
4250
+ interface TranslateDraftResponse {
4251
+ /** Draft post. */
4252
+ draftPost?: DraftPost;
4253
+ }
4254
+ interface IsDraftPostAutoTranslatableRequest {
4255
+ /**
4256
+ * Source post or draft ID.
4257
+ * @format GUID
4258
+ */
4259
+ draftPostId?: string;
4260
+ }
4261
+ interface IsDraftPostAutoTranslatableResponse {
4262
+ /**
4263
+ * Source draft post ID.
4264
+ * @format GUID
4265
+ */
4266
+ draftPostId?: string;
4267
+ /** Indicates if enough machine translation credits are available for the draft post translation. */
4268
+ translatable?: boolean;
4269
+ /** Draft post title word count. */
4270
+ titleWordCount?: number;
4271
+ /** Draft post content word count. */
4272
+ contentWordCount?: number;
4273
+ /** Word credits available for auto translation. */
4274
+ availableAutoTranslateWords?: number;
4275
+ /** Word credits available after auto translation would be done. */
4276
+ availableAutoTranslateWordsAfter?: number;
4277
+ /** Content text character count. */
4278
+ contentTextCharacterCount?: number;
4279
+ }
4280
+ interface UpdateDraftPostLanguageRequest {
4281
+ /**
4282
+ * Source draft post ID
4283
+ * @format GUID
4284
+ */
4285
+ postId?: string;
4286
+ /**
4287
+ * New language to replace to
4288
+ * @minLength 2
4289
+ * @format LANGUAGE_TAG
4290
+ */
4291
+ language?: string;
4292
+ /**
4293
+ * List of draft post fields to be included if entities are present in the response.
4294
+ * Base fieldset, which is default, will return all core draft post properties.
4295
+ * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
4296
+ * @maxSize 10
4297
+ */
4298
+ fieldsets?: FieldWithLiterals[];
4299
+ }
4300
+ interface UpdateDraftPostLanguageResponse {
4301
+ /** Draft post */
4302
+ draftPost?: DraftPost;
4303
+ }
4243
4304
  interface BaseEventMetadata {
4244
4305
  /**
4245
4306
  * App instance ID.
@@ -5119,4 +5180,4 @@ declare const utils: {
5119
5180
  */
5120
5181
  declare function publishDraftPost(draftPostId: string): Promise<NonNullablePaths<PublishDraftPostResponse, `postId`, 2>>;
5121
5182
 
5122
- export { type AccountInfo, type AccountInfoMetadata, Action, type ActionEvent, type ActionWithLiterals, type AddressLocation, Alignment, type AlignmentWithLiterals, type AnchorData, type Animation, AnimationType, type AnimationTypeWithLiterals, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type ApplicationError, type ApproveDraftPostRequest, type ApproveDraftPostResponse, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Backdrop, BackdropType, type BackdropTypeWithLiterals, type Background, type BackgroundGradient, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Banner, BannerOrigin, type BannerOriginWithLiterals, BannerPosition, type BannerPositionWithLiterals, type BaseEventMetadata, type BlockquoteData, type BlogPaging, type BookingData, type Border, type BorderColors, type BorderWidths, type BulkActionMetadata, type BulkCreateDraftPostsOptions, type BulkCreateDraftPostsRequest, type BulkCreateDraftPostsResponse, type BulkDeleteDraftPostsOptions, type BulkDeleteDraftPostsRequest, type BulkDeleteDraftPostsResponse, type BulkDraftPostResult, type BulkRejectDraftPostRequest, type BulkRejectDraftPostResponse, type BulkRevertToUnpublishedRequest, type BulkRevertToUnpublishedResponse, type BulkUpdateDraftPostsOptions, type BulkUpdateDraftPostsRequest, type BulkUpdateDraftPostsResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, CardStylesType, type CardStylesTypeWithLiterals, type CellStyle, type CheckboxListData, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ColumnSize, type ColumnSizeWithLiterals, type CommonQueryWithEntityContext, type CreateDraftPostOptions, type CreateDraftPostRequest, type CreateDraftPostResponse, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteDraftPostOptions, type DeleteDraftPostRequest, type DeleteDraftPostResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DividerDataStyles, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type DraftCategoriesUpdated, type DraftCreatedEnvelope, type DraftDeletedEnvelope, type DraftPost, type DraftPostCount, type DraftPostOwnerChanged, type DraftPostQuery, type DraftPostQuerySpec, type DraftPostTranslation, type DraftPostsQueryBuilder, type DraftPostsQueryResult, type DraftTagsUpdated, type DraftUpdatedEnvelope, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EntranceAnimation, type EntranceEffect, EntranceEffectType, type EntranceEffectTypeWithLiterals, type EventData, type EventMetadata, Field, type FieldWithLiterals, type FileData, type FileSource, type FileSourceDataOneOf, type FocalPoint, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetDeletedDraftPostRequest, type GetDeletedDraftPostResponse, type GetDraftPostCountsRequest, type GetDraftPostCountsResponse, type GetDraftPostOptions, type GetDraftPostRequest, type GetDraftPostResponse, type GetDraftPostTotalsRequest, type GetDraftPostTotalsResponse, GetDraftPostsSort, type GetDraftPostsSortWithLiterals, type Gradient, GradientType, type GradientTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataCrop, type ImageDataStyles, ImagePosition, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageStyles, Indentation, type IndentationWithLiterals, type InitialDraftPostsCopied, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type IsDraftPostAutoTranslatableRequest, type IsDraftPostAutoTranslatableResponse, type Item, type ItemDataOneOf, type ItemMetadata, type ItemStyle, type Keyword, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineCap, type LineCapWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListDeletedDraftPostsOptions, type ListDeletedDraftPostsRequest, type ListDeletedDraftPostsResponse, type ListDraftPostsOptions, type ListDraftPostsRequest, type ListDraftPostsResponse, type ListItemNodeData, ListStyle, type ListStyleWithLiterals, type ListValue, type LoopAnimation, type LoopEffect, LoopEffectType, type LoopEffectTypeWithLiterals, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type MarkPostAsInModerationRequest, type MarkPostAsInModerationResponse, type MaskedDraftPosts, type Media, type MediaMediaOneOf, type MentionData, type MessageEnvelope, type MetaData, type Metadata, type ModerationDetails, ModerationStatusStatus, type ModerationStatusStatusWithLiterals, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type Paging, type PagingMetadataV2, type ParagraphData, type Permissions, Placement, type PlacementWithLiterals, type PlatformQuery, type PlatformQueryPagingMethodOneOf, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollDesignBackground, type PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, type PollDesignBackgroundTypeWithLiterals, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, type PollSettings, Position, type PositionWithLiterals, type PricingData, type PublishDraftPostRequest, type PublishDraftPostResponse, type QueryDraftPostsOptions, type QueryDraftPostsRequest, type QueryDraftPostsResponse, type RejectDraftPostRequest, type RejectDraftPostResponse, type Rel, type RemoveFromTrashBinRequest, type RemoveFromTrashBinResponse, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreFromTrashBinRequest, type RestoreFromTrashBinResponse, type RestoreInfo, type RevertToUnpublishedRequest, type RevertToUnpublishedResponse, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type SeoSchema, type Settings, type ShapeData, type ShapeDataStyles, type SketchData, type SmartBlockCellData, type SmartBlockData, SmartBlockDataType, type SmartBlockDataTypeWithLiterals, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type Stop, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TocData, type TotalDraftPosts, TotalDraftPostsGroupingField, type TotalDraftPostsGroupingFieldWithLiterals, type TranslateDraftRequest, type TranslateDraftResponse, Type, type TypeWithLiterals, type UnpublishPostRequest, type UnpublishPostResponse, type UpdateDraftPost, type UpdateDraftPostContentRequest, type UpdateDraftPostContentResponse, type UpdateDraftPostLanguageRequest, type UpdateDraftPostLanguageResponse, type UpdateDraftPostOptions, type UpdateDraftPostRequest, type UpdateDraftPostResponse, type V1Media, Variant, type VariantWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, type VideoResolution, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, type WixMedia, bulkCreateDraftPosts, bulkDeleteDraftPosts, bulkUpdateDraftPosts, createDraftPost, deleteDraftPost, getDeletedDraftPost, getDraftPost, listDeletedDraftPosts, listDraftPosts, onDraftCreated, onDraftDeleted, onDraftUpdated, publishDraftPost, queryDraftPosts, removeFromTrashBin, restoreFromTrashBin, typedQueryDraftPosts, updateDraftPost, utils };
5183
+ export { type AccountInfo, type AccountInfoMetadata, Action, type ActionEvent, type ActionWithLiterals, type AddressLocation, Alignment, type AlignmentWithLiterals, type AnchorData, type Animation, AnimationType, type AnimationTypeWithLiterals, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, type ApplicationError, type ApproveDraftPostRequest, type ApproveDraftPostResponse, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Backdrop, BackdropType, type BackdropTypeWithLiterals, type Background, type BackgroundGradient, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Banner, BannerOrigin, type BannerOriginWithLiterals, BannerPosition, type BannerPositionWithLiterals, type BaseEventMetadata, type BlockquoteData, type BlogPaging, type BookingData, type Border, type BorderColors, type BorderWidths, type BulkActionMetadata, type BulkCreateDraftPostsOptions, type BulkCreateDraftPostsRequest, type BulkCreateDraftPostsResponse, type BulkDeleteDraftPostsOptions, type BulkDeleteDraftPostsRequest, type BulkDeleteDraftPostsResponse, type BulkDraftPostResult, type BulkRejectDraftPostRequest, type BulkRejectDraftPostResponse, type BulkRevertToUnpublishedRequest, type BulkRevertToUnpublishedResponse, type BulkUpdateDraftPostsOptions, type BulkUpdateDraftPostsRequest, type BulkUpdateDraftPostsResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, CardStylesType, type CardStylesTypeWithLiterals, type CellStyle, type CheckboxListData, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ColumnSize, type ColumnSizeWithLiterals, type CommonQueryWithEntityContext, type CreateDraftPostOptions, type CreateDraftPostRequest, type CreateDraftPostResponse, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteDraftPostOptions, type DeleteDraftPostRequest, type DeleteDraftPostResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DividerDataStyles, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type DraftCategoriesUpdated, type DraftCreatedEnvelope, type DraftDeletedEnvelope, type DraftPost, type DraftPostCount, type DraftPostOwnerChanged, type DraftPostQuery, type DraftPostQuerySpec, type DraftPostTranslation, type DraftPostsQueryBuilder, type DraftPostsQueryResult, type DraftTagsUpdated, type DraftUpdatedEnvelope, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EntranceAnimation, type EntranceEffect, EntranceEffectType, type EntranceEffectTypeWithLiterals, type EventData, type EventMetadata, Field, type FieldWithLiterals, type FileData, type FileSource, type FileSourceDataOneOf, type FocalPoint, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetDeletedDraftPostRequest, type GetDeletedDraftPostResponse, type GetDraftPostCountsRequest, type GetDraftPostCountsResponse, type GetDraftPostOptions, type GetDraftPostRequest, type GetDraftPostResponse, type GetDraftPostTotalsRequest, type GetDraftPostTotalsResponse, GetDraftPostsSort, type GetDraftPostsSortWithLiterals, type Gradient, GradientType, type GradientTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataCrop, type ImageDataStyles, ImagePosition, ImagePositionPosition, type ImagePositionPositionWithLiterals, type ImagePositionWithLiterals, ImageScalingScaling, type ImageScalingScalingWithLiterals, type ImageStyles, Indentation, type IndentationWithLiterals, type InitialDraftPostsCopied, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type IsDraftPostAutoTranslatableRequest, type IsDraftPostAutoTranslatableResponse, type Item, type ItemDataOneOf, type ItemMetadata, type ItemStyle, type Keyword, Layout, type LayoutCellData, type LayoutData, type LayoutDataBackground, type LayoutDataBackgroundImage, LayoutDataBackgroundType, type LayoutDataBackgroundTypeWithLiterals, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineCap, type LineCapWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListDeletedDraftPostsOptions, type ListDeletedDraftPostsRequest, type ListDeletedDraftPostsResponse, type ListDraftPostsOptions, type ListDraftPostsRequest, type ListDraftPostsResponse, type ListItemNodeData, ListStyle, type ListStyleWithLiterals, type ListValue, type LoopAnimation, type LoopEffect, LoopEffectType, type LoopEffectTypeWithLiterals, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type MarkPostAsInModerationRequest, type MarkPostAsInModerationResponse, type MaskedDraftPosts, type Media, type MediaMediaOneOf, type MentionData, type MessageEnvelope, type MetaData, type Metadata, type ModerationDetails, ModerationStatusStatus, type ModerationStatusStatusWithLiterals, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type Paging, type PagingMetadataV2, type ParagraphData, type Permissions, Placement, type PlacementWithLiterals, type PlatformQuery, type PlatformQueryPagingMethodOneOf, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type PointerEffect, PointerEffectType, type PointerEffectTypeWithLiterals, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollDesignBackground, type PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, type PollDesignBackgroundTypeWithLiterals, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, type PollSettings, Position, type PositionWithLiterals, type PricingData, type PublishDraftPostRequest, type PublishDraftPostResponse, type QueryDraftPostsOptions, type QueryDraftPostsRequest, type QueryDraftPostsResponse, type RejectDraftPostRequest, type RejectDraftPostResponse, type Rel, type RemoveFromTrashBinRequest, type RemoveFromTrashBinResponse, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreFromTrashBinRequest, type RestoreFromTrashBinResponse, type RestoreInfo, type RevertToUnpublishedRequest, type RevertToUnpublishedResponse, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type SeoSchema, type Settings, type ShapeData, type ShapeDataStyles, type SketchData, type SmartBlockCellData, type SmartBlockData, SmartBlockDataType, type SmartBlockDataTypeWithLiterals, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type Stop, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type TocData, type TotalDraftPosts, TotalDraftPostsGroupingField, type TotalDraftPostsGroupingFieldWithLiterals, type TranslateDraftRequest, type TranslateDraftResponse, Type, type TypeWithLiterals, type UnpublishPostRequest, type UnpublishPostResponse, type UpdateDraftPost, type UpdateDraftPostContentRequest, type UpdateDraftPostContentResponse, type UpdateDraftPostLanguageRequest, type UpdateDraftPostLanguageResponse, type UpdateDraftPostOptions, type UpdateDraftPostRequest, type UpdateDraftPostResponse, type V1Media, Variant, type VariantWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, type VideoResolution, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, type WixMedia, bulkCreateDraftPosts, bulkDeleteDraftPosts, bulkUpdateDraftPosts, createDraftPost, deleteDraftPost, getDeletedDraftPost, getDraftPost, listDeletedDraftPosts, listDraftPosts, onDraftCreated, onDraftDeleted, onDraftUpdated, publishDraftPost, queryDraftPosts, removeFromTrashBin, restoreFromTrashBin, typedQueryDraftPosts, updateDraftPost, utils };