@wix/auto_sdk_blog_draft-posts 1.0.87 → 1.0.89

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 (37) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +601 -7
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +210 -110
  5. package/build/cjs/index.typings.js +508 -7
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +204 -109
  8. package/build/cjs/meta.js +508 -7
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +599 -7
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +210 -110
  14. package/build/es/index.typings.mjs +506 -7
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +204 -109
  17. package/build/es/meta.mjs +506 -7
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +1 -1
  20. package/build/internal/cjs/index.js +601 -7
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +210 -110
  23. package/build/internal/cjs/index.typings.js +508 -7
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +204 -109
  26. package/build/internal/cjs/meta.js +508 -7
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +1 -1
  29. package/build/internal/es/index.mjs +599 -7
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +210 -110
  32. package/build/internal/es/index.typings.mjs +506 -7
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +204 -109
  35. package/build/internal/es/meta.mjs +506 -7
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -754,7 +754,17 @@ interface DividerData {
754
754
  width?: WidthWithLiterals;
755
755
  /** Divider alignment. */
756
756
  alignment?: DividerDataAlignmentWithLiterals;
757
+ /** Visual styling for the divider lines. */
758
+ styles?: DividerDataStyles;
757
759
  }
760
+ declare enum LineCap {
761
+ /** Square line endings. */
762
+ SQUARE = "SQUARE",
763
+ /** Rounded line endings. */
764
+ ROUND = "ROUND"
765
+ }
766
+ /** @enumType */
767
+ type LineCapWithLiterals = LineCap | 'SQUARE' | 'ROUND';
758
768
  declare enum LineStyle {
759
769
  /** Single Line */
760
770
  SINGLE = "SINGLE",
@@ -787,6 +797,26 @@ declare enum DividerDataAlignment {
787
797
  }
788
798
  /** @enumType */
789
799
  type DividerDataAlignmentWithLiterals = DividerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
800
+ interface DividerDataStyles {
801
+ /**
802
+ * Divider color as a hexadecimal value. An alpha channel controls opacity.
803
+ * @maxLength 19
804
+ */
805
+ color?: string | null;
806
+ /** Divider line ending shape. */
807
+ lineCap?: LineCapWithLiterals;
808
+ /**
809
+ * Line thicknesses in pixels, ordered from first line to last line.
810
+ * @maxSize 10
811
+ */
812
+ lineThickness?: number[];
813
+ /** Dash length in pixels for dashed dividers. */
814
+ dashLength?: number | null;
815
+ /** Gap between dashes or dots in pixels. */
816
+ dashGap?: number | null;
817
+ /** Gap between divider lines in pixels. */
818
+ lineGap?: number | null;
819
+ }
790
820
  interface FileData {
791
821
  /** Styling for the file's container. */
792
822
  containerData?: PluginContainerData;
@@ -1109,6 +1139,10 @@ interface ImageData {
1109
1139
  decorative?: boolean | null;
1110
1140
  /** Styling for the image. */
1111
1141
  styles?: ImageDataStyles;
1142
+ /** Non-destructive crop rectangle, expressed as fractions (0-1) of the original image. When omitted, the full image is shown. */
1143
+ crop?: ImageDataCrop;
1144
+ /** Optional shape mask applied to the visible crop. Supported values: CIRCLE, OVAL, STAR, PENTAGON, HEXAGON, TRIANGLE, HEART, RHOMBUS, FLUID, WINDOW. */
1145
+ cropShape?: string | null;
1112
1146
  }
1113
1147
  interface StylesBorder {
1114
1148
  /** Border width in pixels. */
@@ -1125,6 +1159,16 @@ interface ImageDataStyles {
1125
1159
  /** Border attributes. */
1126
1160
  border?: StylesBorder;
1127
1161
  }
1162
+ interface ImageDataCrop {
1163
+ /** Left edge of the crop, as a fraction (0-1) of the original image width. */
1164
+ x?: number | null;
1165
+ /** Top edge of the crop, as a fraction (0-1) of the original image height. */
1166
+ y?: number | null;
1167
+ /** Visible width of the crop, as a fraction (0-1) of the original image width. */
1168
+ width?: number | null;
1169
+ /** Visible height of the crop, as a fraction (0-1) of the original image height. */
1170
+ height?: number | null;
1171
+ }
1128
1172
  interface LinkPreviewData {
1129
1173
  /** Styling for the link preview's container. */
1130
1174
  containerData?: PluginContainerData;
@@ -1435,6 +1479,8 @@ interface Decoration extends DecorationDataOneOf {
1435
1479
  subscriptData?: boolean | null;
1436
1480
  /** Data for a font family decoration. */
1437
1481
  fontFamilyData?: FontFamilyData;
1482
+ /** Data for a hand-drawn sketch annotation decoration. */
1483
+ sketchData?: SketchData;
1438
1484
  /** The type of decoration to apply. */
1439
1485
  type?: DecorationTypeWithLiterals;
1440
1486
  }
@@ -1466,6 +1512,8 @@ interface DecorationDataOneOf {
1466
1512
  subscriptData?: boolean | null;
1467
1513
  /** Data for a font family decoration. */
1468
1514
  fontFamilyData?: FontFamilyData;
1515
+ /** Data for a hand-drawn sketch annotation decoration. */
1516
+ sketchData?: SketchData;
1469
1517
  }
1470
1518
  declare enum DecorationType {
1471
1519
  BOLD = "BOLD",
@@ -1481,10 +1529,11 @@ declare enum DecorationType {
1481
1529
  STRIKETHROUGH = "STRIKETHROUGH",
1482
1530
  SUPERSCRIPT = "SUPERSCRIPT",
1483
1531
  SUBSCRIPT = "SUBSCRIPT",
1484
- FONT_FAMILY = "FONT_FAMILY"
1532
+ FONT_FAMILY = "FONT_FAMILY",
1533
+ SKETCH = "SKETCH"
1485
1534
  }
1486
1535
  /** @enumType */
1487
- type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH' | 'SUPERSCRIPT' | 'SUBSCRIPT' | 'FONT_FAMILY';
1536
+ type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH' | 'SUPERSCRIPT' | 'SUBSCRIPT' | 'FONT_FAMILY' | 'SKETCH';
1488
1537
  interface AnchorData {
1489
1538
  /** The target node's ID. */
1490
1539
  anchor?: string;
@@ -1527,6 +1576,27 @@ interface FontFamilyData {
1527
1576
  /** @maxLength 1000 */
1528
1577
  value?: string | null;
1529
1578
  }
1579
+ interface SketchData {
1580
+ /** The sketch annotation variant to draw over the text. */
1581
+ variant?: VariantWithLiterals;
1582
+ /**
1583
+ * Annotation color. Defaults to the theme action color.
1584
+ * @maxLength 19
1585
+ */
1586
+ color?: string | null;
1587
+ /** Whether the annotation animates on first paint. Defaults to `true`. */
1588
+ animate?: boolean | null;
1589
+ }
1590
+ declare enum Variant {
1591
+ UNDERLINE = "UNDERLINE",
1592
+ BOX = "BOX",
1593
+ CIRCLE = "CIRCLE",
1594
+ HIGHLIGHT = "HIGHLIGHT",
1595
+ STRIKETHROUGH = "STRIKETHROUGH",
1596
+ CROSSED_OFF = "CROSSED_OFF"
1597
+ }
1598
+ /** @enumType */
1599
+ type VariantWithLiterals = Variant | 'UNDERLINE' | 'BOX' | 'CIRCLE' | 'HIGHLIGHT' | 'STRIKETHROUGH' | 'CROSSED_OFF';
1530
1600
  interface AppEmbedData extends AppEmbedDataAppDataOneOf {
1531
1601
  /** Data for embedded Wix Bookings content. */
1532
1602
  bookingData?: BookingData;
@@ -2136,6 +2206,27 @@ declare enum ImagePosition {
2136
2206
  }
2137
2207
  /** @enumType */
2138
2208
  type ImagePositionWithLiterals = ImagePosition | 'CENTER' | 'CENTER_LEFT' | 'CENTER_RIGHT' | 'TOP' | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT';
2209
+ /** Background styling (color or gradient) */
2210
+ interface LayoutDataBackground {
2211
+ /** Background type. */
2212
+ type?: LayoutDataBackgroundTypeWithLiterals;
2213
+ /**
2214
+ * Background color as a hexadecimal value.
2215
+ * @maxLength 19
2216
+ */
2217
+ color?: string | null;
2218
+ /** Gradient configuration. */
2219
+ gradient?: Gradient;
2220
+ }
2221
+ /** Background type */
2222
+ declare enum LayoutDataBackgroundType {
2223
+ /** Solid color background */
2224
+ COLOR = "COLOR",
2225
+ /** Gradient background */
2226
+ GRADIENT = "GRADIENT"
2227
+ }
2228
+ /** @enumType */
2229
+ type LayoutDataBackgroundTypeWithLiterals = LayoutDataBackgroundType | 'COLOR' | 'GRADIENT';
2139
2230
  declare enum BannerOrigin {
2140
2231
  /** Banner originated from an image */
2141
2232
  IMAGE = "IMAGE",
@@ -2152,15 +2243,6 @@ declare enum BannerPosition {
2152
2243
  }
2153
2244
  /** @enumType */
2154
2245
  type BannerPositionWithLiterals = BannerPosition | 'TOP' | 'BOTTOM';
2155
- /** Background type */
2156
- declare enum LayoutDataBackgroundType {
2157
- /** Solid color background */
2158
- COLOR = "COLOR",
2159
- /** Gradient background */
2160
- GRADIENT = "GRADIENT"
2161
- }
2162
- /** @enumType */
2163
- type LayoutDataBackgroundTypeWithLiterals = LayoutDataBackgroundType | 'COLOR' | 'GRADIENT';
2164
2246
  /** Backdrop type */
2165
2247
  declare enum BackdropType {
2166
2248
  /** Solid color backdrop */
@@ -2173,12 +2255,19 @@ type BackdropTypeWithLiterals = BackdropType | 'COLOR' | 'GRADIENT';
2173
2255
  interface LayoutDataBackgroundImage {
2174
2256
  /** Background image. */
2175
2257
  media?: V1Media;
2176
- /** Background image opacity. */
2258
+ /**
2259
+ * Deprecated: use `overlay` instead. Legacy image opacity (0–100) that dimmed the image to reveal the `background`/`backdrop` color behind it.
2260
+ * @deprecated
2261
+ */
2177
2262
  opacity?: number | null;
2178
2263
  /** Background image scaling. */
2179
2264
  scaling?: ImageScalingScalingWithLiterals;
2180
2265
  /** Position of background. Defaults to `CENTER`. */
2181
2266
  position?: ImagePositionWithLiterals;
2267
+ /** Blur radius in pixels applied to the image layer. `0` (default) leaves the image unblurred; blur is independent of any color overlay and the two stack. */
2268
+ blur?: number | null;
2269
+ /** Color or gradient drawn on top of the image. When present, this is the authoritative overlay and `opacity` is ignored. Its presence also marks content as authored under the new overlay model (vs. the legacy `opacity`-based dimming on `background`/`backdrop`). */
2270
+ overlay?: LayoutDataBackground;
2182
2271
  }
2183
2272
  declare enum VerticalAlignmentAlignment {
2184
2273
  /** Top alignment */
@@ -2212,18 +2301,6 @@ interface Banner {
2212
2301
  /** Position of the banner */
2213
2302
  position?: BannerPositionWithLiterals;
2214
2303
  }
2215
- /** Background styling (color or gradient) */
2216
- interface LayoutDataBackground {
2217
- /** Background type. */
2218
- type?: LayoutDataBackgroundTypeWithLiterals;
2219
- /**
2220
- * Background color as a hexadecimal value.
2221
- * @maxLength 19
2222
- */
2223
- color?: string | null;
2224
- /** Gradient configuration. */
2225
- gradient?: Gradient;
2226
- }
2227
2304
  /** Backdrop styling (color or gradient) */
2228
2305
  interface Backdrop {
2229
2306
  /** Backdrop type. */
@@ -2295,15 +2372,6 @@ declare enum ImagePositionPosition {
2295
2372
  }
2296
2373
  /** @enumType */
2297
2374
  type ImagePositionPositionWithLiterals = ImagePositionPosition | 'CENTER' | 'CENTER_LEFT' | 'CENTER_RIGHT' | 'TOP' | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT';
2298
- /** Background type */
2299
- declare enum CardDataBackgroundType {
2300
- /** Solid color background */
2301
- COLOR = "COLOR",
2302
- /** Gradient background */
2303
- GRADIENT = "GRADIENT"
2304
- }
2305
- /** @enumType */
2306
- type CardDataBackgroundTypeWithLiterals = CardDataBackgroundType | 'COLOR' | 'GRADIENT';
2307
2375
  /** Background styling (color or gradient) */
2308
2376
  interface CardDataBackground {
2309
2377
  /** Background type. */
@@ -2316,15 +2384,31 @@ interface CardDataBackground {
2316
2384
  /** Gradient configuration. */
2317
2385
  gradient?: Gradient;
2318
2386
  }
2387
+ /** Background type */
2388
+ declare enum CardDataBackgroundType {
2389
+ /** Solid color background */
2390
+ COLOR = "COLOR",
2391
+ /** Gradient background */
2392
+ GRADIENT = "GRADIENT"
2393
+ }
2394
+ /** @enumType */
2395
+ type CardDataBackgroundTypeWithLiterals = CardDataBackgroundType | 'COLOR' | 'GRADIENT';
2319
2396
  interface BackgroundImage {
2320
2397
  /** Background image. */
2321
2398
  media?: V1Media;
2322
- /** Background image opacity. */
2399
+ /**
2400
+ * Deprecated: use `overlay` instead. Legacy image opacity (0–100) that dimmed the image to reveal the `background` color behind it.
2401
+ * @deprecated
2402
+ */
2323
2403
  opacity?: number | null;
2324
2404
  /** Background image scaling. */
2325
2405
  scaling?: ScalingWithLiterals;
2326
2406
  /** Position of background. Defaults to `CENTER`. */
2327
2407
  position?: ImagePositionPositionWithLiterals;
2408
+ /** Color or gradient drawn on top of the image. When present, this is the authoritative overlay and `opacity` is ignored. Its presence also marks content as authored under the new overlay model (vs. the legacy `opacity`-based dimming on `background`). */
2409
+ overlay?: CardDataBackground;
2410
+ /** Blur radius in pixels applied to the image layer. `0` (default) leaves the image unblurred; blur is independent of any color overlay and the two stack. */
2411
+ blur?: number | null;
2328
2412
  }
2329
2413
  interface TocData {
2330
2414
  /** Heading levels included in the table of contents. Default: [1, 2, 3, 4, 5, 6]. */
@@ -2833,7 +2917,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
2833
2917
  /** If present, indicates the action that triggered the event. */
2834
2918
  originatedFrom?: string | null;
2835
2919
  /**
2836
- * 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.
2920
+ * 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.
2837
2921
  * 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.
2838
2922
  */
2839
2923
  entityEventSequence?: string | null;
@@ -3440,6 +3524,11 @@ interface Sorting {
3440
3524
  fieldName?: string;
3441
3525
  /** Sort order. */
3442
3526
  order?: SortOrderWithLiterals;
3527
+ /**
3528
+ * Origin point for geo-distance sorting on a GEO field
3529
+ * results are ordered by distance from this point (ASC = nearest first, DESC = farthest first).
3530
+ */
3531
+ origin?: AddressLocation;
3443
3532
  }
3444
3533
  declare enum SortOrder {
3445
3534
  ASC = "ASC",
@@ -3447,6 +3536,12 @@ declare enum SortOrder {
3447
3536
  }
3448
3537
  /** @enumType */
3449
3538
  type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
3539
+ interface AddressLocation {
3540
+ /** Address latitude. */
3541
+ latitude?: number | null;
3542
+ /** Address longitude. */
3543
+ longitude?: number | null;
3544
+ }
3450
3545
  interface Paging {
3451
3546
  /**
3452
3547
  * Number of items to load.
@@ -3530,79 +3625,6 @@ interface DraftPostCount {
3530
3625
  /** Number of posts. */
3531
3626
  postCount?: number;
3532
3627
  }
3533
- interface TranslateDraftRequest {
3534
- /**
3535
- * Source post or draft ID
3536
- * @format GUID
3537
- */
3538
- postId?: string;
3539
- /**
3540
- * Translation language
3541
- * @format LANGUAGE_TAG
3542
- */
3543
- language?: string;
3544
- /**
3545
- * List of draft post fields to be included if entities are present in the response.
3546
- * Base fieldset, which is default, will return all core draft post properties.
3547
- * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
3548
- * @maxSize 10
3549
- */
3550
- fieldsets?: FieldWithLiterals[];
3551
- }
3552
- interface TranslateDraftResponse {
3553
- /** Draft post. */
3554
- draftPost?: DraftPost;
3555
- }
3556
- interface IsDraftPostAutoTranslatableRequest {
3557
- /**
3558
- * Source post or draft ID.
3559
- * @format GUID
3560
- */
3561
- draftPostId?: string;
3562
- }
3563
- interface IsDraftPostAutoTranslatableResponse {
3564
- /**
3565
- * Source draft post ID.
3566
- * @format GUID
3567
- */
3568
- draftPostId?: string;
3569
- /** Indicates if enough machine translation credits are available for the draft post translation. */
3570
- translatable?: boolean;
3571
- /** Draft post title word count. */
3572
- titleWordCount?: number;
3573
- /** Draft post content word count. */
3574
- contentWordCount?: number;
3575
- /** Word credits available for auto translation. */
3576
- availableAutoTranslateWords?: number;
3577
- /** Word credits available after auto translation would be done. */
3578
- availableAutoTranslateWordsAfter?: number;
3579
- /** Content text character count. */
3580
- contentTextCharacterCount?: number;
3581
- }
3582
- interface UpdateDraftPostLanguageRequest {
3583
- /**
3584
- * Source draft post ID
3585
- * @format GUID
3586
- */
3587
- postId?: string;
3588
- /**
3589
- * New language to replace to
3590
- * @minLength 2
3591
- * @format LANGUAGE_TAG
3592
- */
3593
- language?: string;
3594
- /**
3595
- * List of draft post fields to be included if entities are present in the response.
3596
- * Base fieldset, which is default, will return all core draft post properties.
3597
- * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
3598
- * @maxSize 10
3599
- */
3600
- fieldsets?: FieldWithLiterals[];
3601
- }
3602
- interface UpdateDraftPostLanguageResponse {
3603
- /** Draft post */
3604
- draftPost?: DraftPost;
3605
- }
3606
3628
  interface BulkRevertToUnpublishedRequest {
3607
3629
  /**
3608
3630
  * Source post IDs.
@@ -3714,6 +3736,79 @@ interface MarkPostAsInModerationResponse {
3714
3736
  /** Updated post draft. */
3715
3737
  draftPost?: DraftPost;
3716
3738
  }
3739
+ interface TranslateDraftRequest {
3740
+ /**
3741
+ * Source post or draft ID
3742
+ * @format GUID
3743
+ */
3744
+ postId?: string;
3745
+ /**
3746
+ * Translation language
3747
+ * @format LANGUAGE_TAG
3748
+ */
3749
+ language?: string;
3750
+ /**
3751
+ * List of draft post fields to be included if entities are present in the response.
3752
+ * Base fieldset, which is default, will return all core draft post properties.
3753
+ * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
3754
+ * @maxSize 10
3755
+ */
3756
+ fieldsets?: FieldWithLiterals[];
3757
+ }
3758
+ interface TranslateDraftResponse {
3759
+ /** Draft post. */
3760
+ draftPost?: DraftPost;
3761
+ }
3762
+ interface IsDraftPostAutoTranslatableRequest {
3763
+ /**
3764
+ * Source post or draft ID.
3765
+ * @format GUID
3766
+ */
3767
+ draftPostId?: string;
3768
+ }
3769
+ interface IsDraftPostAutoTranslatableResponse {
3770
+ /**
3771
+ * Source draft post ID.
3772
+ * @format GUID
3773
+ */
3774
+ draftPostId?: string;
3775
+ /** Indicates if enough machine translation credits are available for the draft post translation. */
3776
+ translatable?: boolean;
3777
+ /** Draft post title word count. */
3778
+ titleWordCount?: number;
3779
+ /** Draft post content word count. */
3780
+ contentWordCount?: number;
3781
+ /** Word credits available for auto translation. */
3782
+ availableAutoTranslateWords?: number;
3783
+ /** Word credits available after auto translation would be done. */
3784
+ availableAutoTranslateWordsAfter?: number;
3785
+ /** Content text character count. */
3786
+ contentTextCharacterCount?: number;
3787
+ }
3788
+ interface UpdateDraftPostLanguageRequest {
3789
+ /**
3790
+ * Source draft post ID
3791
+ * @format GUID
3792
+ */
3793
+ postId?: string;
3794
+ /**
3795
+ * New language to replace to
3796
+ * @minLength 2
3797
+ * @format LANGUAGE_TAG
3798
+ */
3799
+ language?: string;
3800
+ /**
3801
+ * List of draft post fields to be included if entities are present in the response.
3802
+ * Base fieldset, which is default, will return all core draft post properties.
3803
+ * Example: When URL fieldset is selected, returned draft post will have a set of base properties and draft post preview url.
3804
+ * @maxSize 10
3805
+ */
3806
+ fieldsets?: FieldWithLiterals[];
3807
+ }
3808
+ interface UpdateDraftPostLanguageResponse {
3809
+ /** Draft post */
3810
+ draftPost?: DraftPost;
3811
+ }
3717
3812
  interface BaseEventMetadata {
3718
3813
  /**
3719
3814
  * App instance ID.
@@ -3755,7 +3850,7 @@ interface EventMetadata extends BaseEventMetadata {
3755
3850
  /** If present, indicates the action that triggered the event. */
3756
3851
  originatedFrom?: string | null;
3757
3852
  /**
3758
- * 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.
3853
+ * 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.
3759
3854
  * 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.
3760
3855
  */
3761
3856
  entityEventSequence?: string | null;
@@ -4485,6 +4580,11 @@ type DraftPostQuery = {
4485
4580
  Sort order.
4486
4581
  */
4487
4582
  order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];
4583
+ /**
4584
+ Origin point for geo-distance sorting on a GEO field
4585
+ results are ordered by distance from this point (ASC = nearest first, DESC = farthest first).
4586
+ */
4587
+ origin?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['origin'];
4488
4588
  }[];
4489
4589
  };
4490
4590
  declare const utils: {
@@ -4509,4 +4609,4 @@ declare const utils: {
4509
4609
  */
4510
4610
  declare function publishDraftPost(draftPostId: string): Promise<NonNullablePaths<PublishDraftPostResponse, `postId`, 2>>;
4511
4611
 
4512
- export { type AccountInfo, type AccountInfoMetadata, Action, type ActionEvent, type ActionWithLiterals, Alignment, type AlignmentWithLiterals, type AnchorData, 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 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 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 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, 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 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 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, 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 };
4612
+ export { type AccountInfo, type AccountInfoMetadata, Action, type ActionEvent, type ActionWithLiterals, type AddressLocation, Alignment, type AlignmentWithLiterals, type AnchorData, 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 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 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 };