@wix/auto_sdk_events_forms 1.0.78 → 1.0.80

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 +142 -16
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +273 -33
  5. package/build/cjs/index.typings.js +91 -15
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +273 -33
  8. package/build/cjs/meta.js +91 -15
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +133 -16
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +273 -33
  14. package/build/es/index.typings.mjs +82 -15
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +273 -33
  17. package/build/es/meta.mjs +82 -15
  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 +142 -16
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +273 -33
  23. package/build/internal/cjs/index.typings.js +91 -15
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +273 -33
  26. package/build/internal/cjs/meta.js +91 -15
  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 +133 -16
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +273 -33
  32. package/build/internal/es/index.typings.mjs +82 -15
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +273 -33
  35. package/build/internal/es/meta.mjs +82 -15
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +4 -4
@@ -285,12 +285,11 @@ interface GetFormRequest {
285
285
  eventId: string;
286
286
  }
287
287
  declare enum RequestedFields {
288
- UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
289
288
  /** Include soft deleted input controls in the response. */
290
289
  DELETED = "DELETED"
291
290
  }
292
291
  /** @enumType */
293
- type RequestedFieldsWithLiterals = RequestedFields | 'UNKNOWN_REQUESTED_FIELD' | 'DELETED';
292
+ type RequestedFieldsWithLiterals = RequestedFields | 'DELETED';
294
293
  interface GetFormResponse {
295
294
  /**
296
295
  * Event form.
@@ -1190,14 +1189,13 @@ interface TicketsConfirmationMessages {
1190
1189
  shareActionLabel?: string | null;
1191
1190
  }
1192
1191
  declare enum CheckoutType {
1193
- UNKNOWN_CHECKOUT_TYPE = "UNKNOWN_CHECKOUT_TYPE",
1194
1192
  /** Checkout using Events App. */
1195
1193
  EVENTS_APP = "EVENTS_APP",
1196
1194
  /** Checkout using Ecomm Platform. */
1197
1195
  ECOMM_PLATFORM = "ECOMM_PLATFORM"
1198
1196
  }
1199
1197
  /** @enumType */
1200
- type CheckoutTypeWithLiterals = CheckoutType | 'UNKNOWN_CHECKOUT_TYPE' | 'EVENTS_APP' | 'ECOMM_PLATFORM';
1198
+ type CheckoutTypeWithLiterals = CheckoutType | 'EVENTS_APP' | 'ECOMM_PLATFORM';
1201
1199
  interface Money {
1202
1200
  /**
1203
1201
  * *Deprecated:** Use `value` instead.
@@ -1555,6 +1553,10 @@ interface Node extends NodeDataOneOf {
1555
1553
  layoutCellData?: LayoutCellData;
1556
1554
  /** Data for a shape node. */
1557
1555
  shapeData?: ShapeData;
1556
+ /** Data for a card node. */
1557
+ cardData?: CardData;
1558
+ /** Data for a table of contents node. */
1559
+ tocData?: TocData;
1558
1560
  /** Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format. */
1559
1561
  type?: NodeTypeWithLiterals;
1560
1562
  /** Node ID. */
@@ -1624,6 +1626,10 @@ interface NodeDataOneOf {
1624
1626
  layoutCellData?: LayoutCellData;
1625
1627
  /** Data for a shape node. */
1626
1628
  shapeData?: ShapeData;
1629
+ /** Data for a card node. */
1630
+ cardData?: CardData;
1631
+ /** Data for a table of contents node. */
1632
+ tocData?: TocData;
1627
1633
  }
1628
1634
  declare enum NodeType {
1629
1635
  PARAGRAPH = "PARAGRAPH",
@@ -1660,10 +1666,12 @@ declare enum NodeType {
1660
1666
  CAPTION = "CAPTION",
1661
1667
  LAYOUT = "LAYOUT",
1662
1668
  LAYOUT_CELL = "LAYOUT_CELL",
1663
- SHAPE = "SHAPE"
1669
+ SHAPE = "SHAPE",
1670
+ CARD = "CARD",
1671
+ TOC = "TOC"
1664
1672
  }
1665
1673
  /** @enumType */
1666
- type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL' | 'SHAPE';
1674
+ type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL' | 'SHAPE' | 'CARD' | 'TOC';
1667
1675
  interface NodeStyle {
1668
1676
  /** The top padding value in pixels. */
1669
1677
  paddingTop?: string | null;
@@ -1684,6 +1692,55 @@ interface ButtonData {
1684
1692
  /** Button link details. */
1685
1693
  link?: Link;
1686
1694
  }
1695
+ /** Background type */
1696
+ declare enum BackgroundType {
1697
+ /** Solid color background */
1698
+ COLOR = "COLOR",
1699
+ /** Gradient background */
1700
+ GRADIENT = "GRADIENT"
1701
+ }
1702
+ /** @enumType */
1703
+ type BackgroundTypeWithLiterals = BackgroundType | 'COLOR' | 'GRADIENT';
1704
+ interface Gradient {
1705
+ /** Gradient type. */
1706
+ type?: GradientTypeWithLiterals;
1707
+ /**
1708
+ * Color stops for the gradient.
1709
+ * @maxSize 1000
1710
+ */
1711
+ stops?: Stop[];
1712
+ /** Angle in degrees for linear gradient (0-360). */
1713
+ angle?: number | null;
1714
+ /**
1715
+ * Horizontal center position for radial gradient (0-100).
1716
+ * @max 100
1717
+ */
1718
+ centerX?: number | null;
1719
+ /**
1720
+ * Vertical center position for radial gradient (0-100).
1721
+ * @max 100
1722
+ */
1723
+ centerY?: number | null;
1724
+ }
1725
+ /** Gradient type. */
1726
+ declare enum GradientType {
1727
+ /** Linear gradient. */
1728
+ LINEAR = "LINEAR",
1729
+ /** Radial gradient. */
1730
+ RADIAL = "RADIAL"
1731
+ }
1732
+ /** @enumType */
1733
+ type GradientTypeWithLiterals = GradientType | 'LINEAR' | 'RADIAL';
1734
+ /** A single color stop in the gradient. */
1735
+ interface Stop {
1736
+ /**
1737
+ * Stop color as hex value.
1738
+ * @format COLOR_HEX
1739
+ */
1740
+ color?: string | null;
1741
+ /** Stop position (0-1). */
1742
+ position?: number | null;
1743
+ }
1687
1744
  interface Border {
1688
1745
  /**
1689
1746
  * Deprecated: Use `borderWidth` in `styles` instead.
@@ -1713,6 +1770,18 @@ interface Colors {
1713
1770
  */
1714
1771
  background?: string | null;
1715
1772
  }
1773
+ /** Background styling (color or gradient) */
1774
+ interface Background {
1775
+ /** Background type. */
1776
+ type?: BackgroundTypeWithLiterals;
1777
+ /**
1778
+ * Background color as a hexadecimal value.
1779
+ * @format COLOR_HEX
1780
+ */
1781
+ color?: string | null;
1782
+ /** Gradient configuration. */
1783
+ gradient?: Gradient;
1784
+ }
1716
1785
  interface PluginContainerData {
1717
1786
  /** The width of the node when it's displayed. */
1718
1787
  width?: PluginContainerDataWidth;
@@ -1833,17 +1902,23 @@ interface Styles {
1833
1902
  */
1834
1903
  textColorHover?: string | null;
1835
1904
  /**
1836
- * Background color as a hexadecimal value.
1905
+ * Deprecated: Use `background` instead.
1837
1906
  * @format COLOR_HEX
1907
+ * @deprecated
1838
1908
  */
1839
1909
  backgroundColor?: string | null;
1840
1910
  /**
1841
- * Background color as a hexadecimal value (hover state).
1911
+ * Deprecated: Use `backgroundHover` instead.
1842
1912
  * @format COLOR_HEX
1913
+ * @deprecated
1843
1914
  */
1844
1915
  backgroundColorHover?: string | null;
1845
1916
  /** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
1846
1917
  buttonSize?: string | null;
1918
+ /** Background styling (color or gradient). */
1919
+ background?: Background;
1920
+ /** Background styling for hover state (color or gradient). */
1921
+ backgroundHover?: Background;
1847
1922
  }
1848
1923
  interface Link extends LinkDataOneOf {
1849
1924
  /** The absolute URL for the linked document. */
@@ -2225,6 +2300,8 @@ interface HTMLData extends HTMLDataDataOneOf {
2225
2300
  * @deprecated
2226
2301
  */
2227
2302
  isAdsense?: boolean | null;
2303
+ /** The WixelWidget ID for AI_WIDGET source nodes. */
2304
+ widgetId?: string;
2228
2305
  /** Styling for the HTML node's container. Height property is irrelevant for HTML embeds when autoHeight is set to `true`. */
2229
2306
  containerData?: PluginContainerData;
2230
2307
  /** The type of HTML code. */
@@ -2243,14 +2320,17 @@ interface HTMLDataDataOneOf {
2243
2320
  * @deprecated
2244
2321
  */
2245
2322
  isAdsense?: boolean | null;
2323
+ /** The WixelWidget ID for AI_WIDGET source nodes. */
2324
+ widgetId?: string;
2246
2325
  }
2247
2326
  declare enum Source {
2248
2327
  HTML = "HTML",
2249
2328
  ADSENSE = "ADSENSE",
2250
- AI = "AI"
2329
+ AI = "AI",
2330
+ AI_WIDGET = "AI_WIDGET"
2251
2331
  }
2252
2332
  /** @enumType */
2253
- type SourceWithLiterals = Source | 'HTML' | 'ADSENSE' | 'AI';
2333
+ type SourceWithLiterals = Source | 'HTML' | 'ADSENSE' | 'AI' | 'AI_WIDGET';
2254
2334
  interface ImageData {
2255
2335
  /** Styling for the image's container. */
2256
2336
  containerData?: PluginContainerData;
@@ -2480,7 +2560,7 @@ interface OptionLayout {
2480
2560
  /** Sets whether to display option images. Defaults to `false`. */
2481
2561
  enableImage?: boolean | null;
2482
2562
  }
2483
- declare enum BackgroundType {
2563
+ declare enum PollDesignBackgroundType {
2484
2564
  /** Color background type */
2485
2565
  COLOR = "COLOR",
2486
2566
  /** Image background type */
@@ -2489,8 +2569,8 @@ declare enum BackgroundType {
2489
2569
  GRADIENT = "GRADIENT"
2490
2570
  }
2491
2571
  /** @enumType */
2492
- type BackgroundTypeWithLiterals = BackgroundType | 'COLOR' | 'IMAGE' | 'GRADIENT';
2493
- interface Gradient {
2572
+ type PollDesignBackgroundTypeWithLiterals = PollDesignBackgroundType | 'COLOR' | 'IMAGE' | 'GRADIENT';
2573
+ interface BackgroundGradient {
2494
2574
  /** The gradient angle in degrees. */
2495
2575
  angle?: number | null;
2496
2576
  /**
@@ -2504,7 +2584,7 @@ interface Gradient {
2504
2584
  */
2505
2585
  lastColor?: string | null;
2506
2586
  }
2507
- interface Background extends BackgroundBackgroundOneOf {
2587
+ interface PollDesignBackground extends PollDesignBackgroundBackgroundOneOf {
2508
2588
  /**
2509
2589
  * The background color as a hexademical value.
2510
2590
  * @format COLOR_HEX
@@ -2513,12 +2593,12 @@ interface Background extends BackgroundBackgroundOneOf {
2513
2593
  /** An image to use for the background. */
2514
2594
  image?: Media;
2515
2595
  /** Details for a gradient background. */
2516
- gradient?: Gradient;
2596
+ gradient?: BackgroundGradient;
2517
2597
  /** Background type. For each option, include the relevant details. */
2518
- type?: BackgroundTypeWithLiterals;
2598
+ type?: PollDesignBackgroundTypeWithLiterals;
2519
2599
  }
2520
2600
  /** @oneof */
2521
- interface BackgroundBackgroundOneOf {
2601
+ interface PollDesignBackgroundBackgroundOneOf {
2522
2602
  /**
2523
2603
  * The background color as a hexademical value.
2524
2604
  * @format COLOR_HEX
@@ -2527,11 +2607,11 @@ interface BackgroundBackgroundOneOf {
2527
2607
  /** An image to use for the background. */
2528
2608
  image?: Media;
2529
2609
  /** Details for a gradient background. */
2530
- gradient?: Gradient;
2610
+ gradient?: BackgroundGradient;
2531
2611
  }
2532
2612
  interface PollDesign {
2533
2613
  /** Background styling. */
2534
- background?: Background;
2614
+ background?: PollDesignBackground;
2535
2615
  /** Border radius in pixels. */
2536
2616
  borderRadius?: number | null;
2537
2617
  }
@@ -3214,12 +3294,13 @@ interface CaptionData {
3214
3294
  }
3215
3295
  interface LayoutData {
3216
3296
  /**
3217
- * Background color as a hexadecimal value.
3297
+ * Deprecated: Use `background` instead.
3218
3298
  * @format COLOR_HEX
3299
+ * @deprecated
3219
3300
  */
3220
3301
  backgroundColor?: string | null;
3221
3302
  /** Background image. */
3222
- backgroundImage?: BackgroundImage;
3303
+ backgroundImage?: LayoutDataBackgroundImage;
3223
3304
  /**
3224
3305
  * Border color as a hexadecimal value.
3225
3306
  * @format COLOR_HEX
@@ -3227,15 +3308,16 @@ interface LayoutData {
3227
3308
  borderColor?: string | null;
3228
3309
  /** Border width in pixels. */
3229
3310
  borderWidth?: number | null;
3230
- /** Border */
3311
+ /** Border radius in pixels. */
3231
3312
  borderRadius?: number | null;
3232
3313
  /**
3233
- * Backdrop color as a hexadecimal value.
3314
+ * Deprecated: Use `backdrop` instead.
3234
3315
  * @format COLOR_HEX
3316
+ * @deprecated
3235
3317
  */
3236
3318
  backdropColor?: string | null;
3237
- /** Backdrop image.radius in pixels. */
3238
- backdropImage?: BackgroundImage;
3319
+ /** Backdrop image. */
3320
+ backdropImage?: LayoutDataBackgroundImage;
3239
3321
  /** Backdrop top padding. */
3240
3322
  backdropPaddingTop?: number | null;
3241
3323
  /** Backdrop bottom padding */
@@ -3259,8 +3341,12 @@ interface LayoutData {
3259
3341
  designTarget?: DesignTargetWithLiterals;
3260
3342
  /** Banner configuration. When present, this layout is displayed as a banner. */
3261
3343
  banner?: Banner;
3344
+ /** Background styling (color or gradient). */
3345
+ background?: LayoutDataBackground;
3346
+ /** Backdrop styling (color or gradient). */
3347
+ backdrop?: Backdrop;
3262
3348
  }
3263
- declare enum Scaling {
3349
+ declare enum ImageScalingScaling {
3264
3350
  /** Auto image scaling */
3265
3351
  AUTO = "AUTO",
3266
3352
  /** Contain image scaling */
@@ -3269,7 +3355,7 @@ declare enum Scaling {
3269
3355
  COVER = "COVER"
3270
3356
  }
3271
3357
  /** @enumType */
3272
- type ScalingWithLiterals = Scaling | 'AUTO' | 'CONTAIN' | 'COVER';
3358
+ type ImageScalingScalingWithLiterals = ImageScalingScaling | 'AUTO' | 'CONTAIN' | 'COVER';
3273
3359
  declare enum ImagePosition {
3274
3360
  /** Image positioned at the center */
3275
3361
  CENTER = "CENTER",
@@ -3300,13 +3386,31 @@ declare enum Origin {
3300
3386
  }
3301
3387
  /** @enumType */
3302
3388
  type OriginWithLiterals = Origin | 'IMAGE' | 'LAYOUT';
3303
- interface BackgroundImage {
3389
+ /** Background type */
3390
+ declare enum LayoutDataBackgroundType {
3391
+ /** Solid color background */
3392
+ COLOR = "COLOR",
3393
+ /** Gradient background */
3394
+ GRADIENT = "GRADIENT"
3395
+ }
3396
+ /** @enumType */
3397
+ type LayoutDataBackgroundTypeWithLiterals = LayoutDataBackgroundType | 'COLOR' | 'GRADIENT';
3398
+ /** Backdrop type */
3399
+ declare enum BackdropType {
3400
+ /** Solid color backdrop */
3401
+ COLOR = "COLOR",
3402
+ /** Gradient backdrop */
3403
+ GRADIENT = "GRADIENT"
3404
+ }
3405
+ /** @enumType */
3406
+ type BackdropTypeWithLiterals = BackdropType | 'COLOR' | 'GRADIENT';
3407
+ interface LayoutDataBackgroundImage {
3304
3408
  /** Background image. */
3305
3409
  media?: Media;
3306
3410
  /** Background image opacity. */
3307
3411
  opacity?: number | null;
3308
3412
  /** Background image scaling. */
3309
- scaling?: ScalingWithLiterals;
3413
+ scaling?: ImageScalingScalingWithLiterals;
3310
3414
  /** Position of background. Defaults to `CENTER`. */
3311
3415
  position?: ImagePositionWithLiterals;
3312
3416
  }
@@ -3340,6 +3444,30 @@ interface Banner {
3340
3444
  /** Origin of the banner */
3341
3445
  origin?: OriginWithLiterals;
3342
3446
  }
3447
+ /** Background styling (color or gradient) */
3448
+ interface LayoutDataBackground {
3449
+ /** Background type. */
3450
+ type?: LayoutDataBackgroundTypeWithLiterals;
3451
+ /**
3452
+ * Background color as a hexadecimal value.
3453
+ * @format COLOR_HEX
3454
+ */
3455
+ color?: string | null;
3456
+ /** Gradient configuration. */
3457
+ gradient?: Gradient;
3458
+ }
3459
+ /** Backdrop styling (color or gradient) */
3460
+ interface Backdrop {
3461
+ /** Backdrop type. */
3462
+ type?: BackdropTypeWithLiterals;
3463
+ /**
3464
+ * Backdrop color as a hexadecimal value.
3465
+ * @format COLOR_HEX
3466
+ */
3467
+ color?: string | null;
3468
+ /** Gradient configuration. */
3469
+ gradient?: Gradient;
3470
+ }
3343
3471
  interface LayoutCellData {
3344
3472
  /** Size of the cell in 12 columns grid. */
3345
3473
  colSpan?: number | null;
@@ -3361,6 +3489,120 @@ interface ShapeDataStyles {
3361
3489
  /** Map of original color keys to their new color values. */
3362
3490
  colors?: Record<string, string>;
3363
3491
  }
3492
+ interface CardData {
3493
+ /** Background styling (color or gradient). */
3494
+ background?: CardDataBackground;
3495
+ /** Background image. */
3496
+ backgroundImage?: BackgroundImage;
3497
+ }
3498
+ declare enum Scaling {
3499
+ /** Auto image scaling */
3500
+ AUTO = "AUTO",
3501
+ /** Contain image scaling */
3502
+ CONTAIN = "CONTAIN",
3503
+ /** Cover image scaling */
3504
+ COVER = "COVER"
3505
+ }
3506
+ /** @enumType */
3507
+ type ScalingWithLiterals = Scaling | 'AUTO' | 'CONTAIN' | 'COVER';
3508
+ declare enum ImagePositionPosition {
3509
+ /** Image positioned at the center */
3510
+ CENTER = "CENTER",
3511
+ /** Image positioned on the left */
3512
+ CENTER_LEFT = "CENTER_LEFT",
3513
+ /** Image positioned on the right */
3514
+ CENTER_RIGHT = "CENTER_RIGHT",
3515
+ /** Image positioned at the center top */
3516
+ TOP = "TOP",
3517
+ /** Image positioned at the top left */
3518
+ TOP_LEFT = "TOP_LEFT",
3519
+ /** Image positioned at the top right */
3520
+ TOP_RIGHT = "TOP_RIGHT",
3521
+ /** Image positioned at the center bottom */
3522
+ BOTTOM = "BOTTOM",
3523
+ /** Image positioned at the bottom left */
3524
+ BOTTOM_LEFT = "BOTTOM_LEFT",
3525
+ /** Image positioned at the bottom right */
3526
+ BOTTOM_RIGHT = "BOTTOM_RIGHT"
3527
+ }
3528
+ /** @enumType */
3529
+ type ImagePositionPositionWithLiterals = ImagePositionPosition | 'CENTER' | 'CENTER_LEFT' | 'CENTER_RIGHT' | 'TOP' | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT';
3530
+ /** Background type */
3531
+ declare enum CardDataBackgroundType {
3532
+ /** Solid color background */
3533
+ COLOR = "COLOR",
3534
+ /** Gradient background */
3535
+ GRADIENT = "GRADIENT"
3536
+ }
3537
+ /** @enumType */
3538
+ type CardDataBackgroundTypeWithLiterals = CardDataBackgroundType | 'COLOR' | 'GRADIENT';
3539
+ /** Background styling (color or gradient) */
3540
+ interface CardDataBackground {
3541
+ /** Background type. */
3542
+ type?: CardDataBackgroundTypeWithLiterals;
3543
+ /**
3544
+ * Background color as a hexadecimal value.
3545
+ * @format COLOR_HEX
3546
+ */
3547
+ color?: string | null;
3548
+ /** Gradient configuration. */
3549
+ gradient?: Gradient;
3550
+ }
3551
+ interface BackgroundImage {
3552
+ /** Background image. */
3553
+ media?: Media;
3554
+ /** Background image opacity. */
3555
+ opacity?: number | null;
3556
+ /** Background image scaling. */
3557
+ scaling?: ScalingWithLiterals;
3558
+ /** Position of background. Defaults to `CENTER`. */
3559
+ position?: ImagePositionPositionWithLiterals;
3560
+ }
3561
+ interface TocData {
3562
+ /** Heading levels included in the table of contents. Default: [1, 2, 3, 4, 5, 6]. */
3563
+ includedHeadings?: number[];
3564
+ /** List style. Default: PLAIN. */
3565
+ listStyle?: ListStyleWithLiterals;
3566
+ /** Optional override for the font size in pixels. */
3567
+ fontSize?: number | null;
3568
+ /** Optional override for the vertical spacing between items in pixels. */
3569
+ itemSpacing?: number | null;
3570
+ /**
3571
+ * Optional override for the text color.
3572
+ * @format COLOR_HEX
3573
+ */
3574
+ color?: string | null;
3575
+ /** Indentation style. Default: NESTED. */
3576
+ indentation?: IndentationWithLiterals;
3577
+ }
3578
+ /** List style. */
3579
+ declare enum ListStyle {
3580
+ /** No markers (default) */
3581
+ PLAIN = "PLAIN",
3582
+ /** Numbered list */
3583
+ NUMBERED = "NUMBERED",
3584
+ /** Alphabetic letters */
3585
+ LETTERS = "LETTERS",
3586
+ /** Roman numerals */
3587
+ ROMAN = "ROMAN",
3588
+ /** Bulleted list */
3589
+ BULLETED = "BULLETED",
3590
+ /** Alphabetical index */
3591
+ ALPHABETICAL_INDEX = "ALPHABETICAL_INDEX",
3592
+ /** Alphabetical index (compact top-row only) */
3593
+ ALPHABETICAL_INDEX_COMPACT = "ALPHABETICAL_INDEX_COMPACT"
3594
+ }
3595
+ /** @enumType */
3596
+ type ListStyleWithLiterals = ListStyle | 'PLAIN' | 'NUMBERED' | 'LETTERS' | 'ROMAN' | 'BULLETED' | 'ALPHABETICAL_INDEX' | 'ALPHABETICAL_INDEX_COMPACT';
3597
+ /** Indentation style. */
3598
+ declare enum Indentation {
3599
+ /** Sub-headings indented under parents (default) */
3600
+ NESTED = "NESTED",
3601
+ /** All items at the same level */
3602
+ FLAT = "FLAT"
3603
+ }
3604
+ /** @enumType */
3605
+ type IndentationWithLiterals = Indentation | 'NESTED' | 'FLAT';
3364
3606
  interface Metadata {
3365
3607
  /** Schema version. */
3366
3608
  version?: number;
@@ -3416,8 +3658,6 @@ interface Badge {
3416
3658
  text?: string | null;
3417
3659
  }
3418
3660
  declare enum Type {
3419
- /** Unknown badge type. */
3420
- UNKNOWN_BADGE_TYPE = "UNKNOWN_BADGE_TYPE",
3421
3661
  /** 1st priority badge type. */
3422
3662
  FIRST_PRIORITY = "FIRST_PRIORITY",
3423
3663
  /** 2nd priority badge type. */
@@ -3426,7 +3666,7 @@ declare enum Type {
3426
3666
  THIRD_PRIORITY = "THIRD_PRIORITY"
3427
3667
  }
3428
3668
  /** @enumType */
3429
- type TypeWithLiterals = Type | 'UNKNOWN_BADGE_TYPE' | 'FIRST_PRIORITY' | 'SECOND_PRIORITY' | 'THIRD_PRIORITY';
3669
+ type TypeWithLiterals = Type | 'FIRST_PRIORITY' | 'SECOND_PRIORITY' | 'THIRD_PRIORITY';
3430
3670
  interface DiscardDraftRequest {
3431
3671
  /**
3432
3672
  * Event ID to which the form belongs.
@@ -3903,4 +4143,4 @@ declare function publishDraft(eventId: string): Promise<NonNullablePaths<Publish
3903
4143
  */
3904
4144
  declare function discardDraft(eventId: string): Promise<void>;
3905
4145
 
3906
- export { type AccountInfo, type ActionEvent, type AddControlApplicationErrors, type AddControlOptions, type AddControlOptionsControlOneOf, type AddControlRequest, type AddControlRequestControlOneOf, type AddControlResponse, type AdditionalGuestsControl, type Address, type AddressControl, type AddressControlLabels, type AddressLocation, type AddressStreetOneOf, type Agenda, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Badge, type Banner, type BaseEventMetadata, type BlockquoteData, type BookingData, type Border, type BorderColors, type BorderWidths, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CalendarLinks, type CaptionData, type CardStyles, CardStylesType, type CardStylesTypeWithLiterals, type Category, type CategoryCounts, type CellStyle, type CheckboxControl, type CheckoutFormMessages, CheckoutType, type CheckoutTypeWithLiterals, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ConferenceType, type ConferenceTypeWithLiterals, Crop, type CropWithLiterals, type Dashboard, type DateControl, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteControlApplicationErrors, type DeleteControlIdentifiers, type DeleteControlRequest, type DeleteControlResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DiscardDraftRequest, type DiscardDraftResponse, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type DropdownControl, type EmailControl, type EmbedData, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type Event, type EventData, type EventDisplaySettings, EventStatus, type EventStatusWithLiterals, EventType, type EventTypeWithLiterals, type EventUpdated, type ExternalEvent, type Feed, type FileData, type FileSource, type FileSourceDataOneOf, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type Form, type FormEventUpdatedEnvelope, type FormInputControlAdded, type FormInputControlDeleted, type FormInputControlUpdated, type FormMessages, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetFormRequest, type GetFormResponse, type Gradient, type GuestListConfig, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, ImagePosition, type ImagePositionWithLiterals, type ImageStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type Input, type InputControl, InputControlType, type InputControlTypeWithLiterals, type Item, type ItemDataOneOf, type ItemStyle, type Keyword, type Label, type LabellingSettings, type Labels, Layout, type LayoutCellData, type LayoutData, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListValue, type Location, LocationType, type LocationTypeWithLiterals, type MapCoordinates, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MentionData, type MessageEnvelope, type Metadata, type Money, type NameControl, type NameControlLabels, type Negative, type NegativeResponseConfirmation, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Occurrence, type Oembed, type OnlineConferencing, type OnlineConferencingConfig, type OnlineConferencingSession, type Option, type OptionDesign, type OptionLayout, type OptionSelection, type OptionSelectionSelectedOptionOneOf, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type ParagraphData, type Permissions, type PhoneControl, Placement, type PlacementWithLiterals, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, type PollSettings, Position, type PositionWithLiterals, type Positive, type PositiveResponseConfirmation, type PricingData, type PublishDraftRequest, type PublishDraftResponse, type RadioButtonControl, type Recurrences, type Registration, type RegistrationClosedMessages, RegistrationStatus, type RegistrationStatusWithLiterals, type Rel, RequestedFields, type RequestedFieldsWithLiterals, Resizing, type ResizingWithLiterals, type ResponseConfirmation, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, type RsvpCollection, type RsvpCollectionConfig, type RsvpConfirmationMessages, type RsvpConfirmationMessagesNegativeResponseConfirmation, type RsvpConfirmationMessagesPositiveResponseConfirmation, type RsvpFormMessages, RsvpStatusOptions, type RsvpStatusOptionsWithLiterals, type RsvpSummary, Scaling, type ScalingWithLiterals, type ScheduleConfig, type Scheduling, type SeoSchema, type SeoSettings, type Settings, type ShapeData, type ShapeDataStyles, type SiteUrl, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, State, type StateWithLiterals, Status, type StatusWithLiterals, type StreetAddress, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type Subdivision, SubdivisionType, type SubdivisionTypeWithLiterals, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, type TaxConfig, TaxType, type TaxTypeWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextControl, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type Ticketing, type TicketingConfig, type TicketingSummary, type TicketsConfirmationMessages, type TicketsUnavailableMessages, Type, type TypeWithLiterals, type UpdateControlApplicationErrors, type UpdateControlIdentifiers, type UpdateControlIdentifiersControlOneOf, type UpdateControlOptions, type UpdateControlOptionsControlOneOf, type UpdateControlRequest, type UpdateControlRequestControlOneOf, type UpdateControlResponse, type UpdateMessagesOptions, type UpdateMessagesRequest, type UpdateMessagesResponse, ValueType, type ValueTypeWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VisitorType, type VisitorTypeWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, addControl, deleteControl, discardDraft, getForm, onFormEventUpdated, publishDraft, updateControl, updateMessages };
4146
+ export { type AccountInfo, type ActionEvent, type AddControlApplicationErrors, type AddControlOptions, type AddControlOptionsControlOneOf, type AddControlRequest, type AddControlRequestControlOneOf, type AddControlResponse, type AdditionalGuestsControl, type Address, type AddressControl, type AddressControlLabels, type AddressLocation, type AddressStreetOneOf, type Agenda, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Backdrop, BackdropType, type BackdropTypeWithLiterals, type Background, type BackgroundGradient, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type Badge, type Banner, type BaseEventMetadata, type BlockquoteData, type BookingData, type Border, type BorderColors, type BorderWidths, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CalendarLinks, type CaptionData, type CardData, type CardDataBackground, CardDataBackgroundType, type CardDataBackgroundTypeWithLiterals, type CardStyles, CardStylesType, type CardStylesTypeWithLiterals, type Category, type CategoryCounts, type CellStyle, type CheckboxControl, type CheckoutFormMessages, CheckoutType, type CheckoutTypeWithLiterals, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, ConferenceType, type ConferenceTypeWithLiterals, Crop, type CropWithLiterals, type Dashboard, type DateControl, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteControlApplicationErrors, type DeleteControlIdentifiers, type DeleteControlRequest, type DeleteControlResponse, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DiscardDraftRequest, type DiscardDraftResponse, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type DropdownControl, type EmailControl, type EmbedData, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type Event, type EventData, type EventDisplaySettings, EventStatus, type EventStatusWithLiterals, EventType, type EventTypeWithLiterals, type EventUpdated, type ExternalEvent, type Feed, type FileData, type FileSource, type FileSourceDataOneOf, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type Form, type FormEventUpdatedEnvelope, type FormInputControlAdded, type FormInputControlDeleted, type FormInputControlUpdated, type FormMessages, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetFormRequest, type GetFormResponse, type Gradient, GradientType, type GradientTypeWithLiterals, type GuestListConfig, 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, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type Input, type InputControl, InputControlType, type InputControlTypeWithLiterals, type Item, type ItemDataOneOf, type ItemStyle, type Keyword, type Label, type LabellingSettings, type Labels, 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, ListStyle, type ListStyleWithLiterals, type ListValue, type Location, LocationType, type LocationTypeWithLiterals, type MapCoordinates, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MentionData, type MessageEnvelope, type Metadata, type Money, type NameControl, type NameControlLabels, type Negative, type NegativeResponseConfirmation, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Occurrence, type Oembed, type OnlineConferencing, type OnlineConferencingConfig, type OnlineConferencingSession, type Option, type OptionDesign, type OptionLayout, type OptionSelection, type OptionSelectionSelectedOptionOneOf, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type ParagraphData, type Permissions, type PhoneControl, Placement, type PlacementWithLiterals, 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 Positive, type PositiveResponseConfirmation, type PricingData, type PublishDraftRequest, type PublishDraftResponse, type RadioButtonControl, type Recurrences, type Registration, type RegistrationClosedMessages, RegistrationStatus, type RegistrationStatusWithLiterals, type Rel, RequestedFields, type RequestedFieldsWithLiterals, Resizing, type ResizingWithLiterals, type ResponseConfirmation, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, type RsvpCollection, type RsvpCollectionConfig, type RsvpConfirmationMessages, type RsvpConfirmationMessagesNegativeResponseConfirmation, type RsvpConfirmationMessagesPositiveResponseConfirmation, type RsvpFormMessages, RsvpStatusOptions, type RsvpStatusOptionsWithLiterals, type RsvpSummary, Scaling, type ScalingWithLiterals, type ScheduleConfig, type Scheduling, type SeoSchema, type SeoSettings, type Settings, type ShapeData, type ShapeDataStyles, type SiteUrl, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, State, type StateWithLiterals, Status, type StatusWithLiterals, type Stop, type StreetAddress, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type Subdivision, SubdivisionType, type SubdivisionTypeWithLiterals, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, type TaxConfig, TaxType, type TaxTypeWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextControl, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type Ticketing, type TicketingConfig, type TicketingSummary, type TicketsConfirmationMessages, type TicketsUnavailableMessages, type TocData, Type, type TypeWithLiterals, type UpdateControlApplicationErrors, type UpdateControlIdentifiers, type UpdateControlIdentifiersControlOneOf, type UpdateControlOptions, type UpdateControlOptionsControlOneOf, type UpdateControlRequest, type UpdateControlRequestControlOneOf, type UpdateControlResponse, type UpdateMessagesOptions, type UpdateMessagesRequest, type UpdateMessagesResponse, ValueType, type ValueTypeWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VisitorType, type VisitorTypeWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, addControl, deleteControl, discardDraft, getForm, onFormEventUpdated, publishDraft, updateControl, updateMessages };