@wix/auto_sdk_events_ticket-definitions-v-2 1.0.23 → 1.0.25

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 (17) hide show
  1. package/build/cjs/src/events-v3-ticket-definition-ticket-definitions-v-2.types.d.ts +186 -68
  2. package/build/cjs/src/events-v3-ticket-definition-ticket-definitions-v-2.types.js.map +1 -1
  3. package/build/cjs/src/events-v3-ticket-definition-ticket-definitions-v-2.universal.d.ts +200 -82
  4. package/build/cjs/src/events-v3-ticket-definition-ticket-definitions-v-2.universal.js.map +1 -1
  5. package/build/es/src/events-v3-ticket-definition-ticket-definitions-v-2.types.d.ts +186 -68
  6. package/build/es/src/events-v3-ticket-definition-ticket-definitions-v-2.types.js.map +1 -1
  7. package/build/es/src/events-v3-ticket-definition-ticket-definitions-v-2.universal.d.ts +200 -82
  8. package/build/es/src/events-v3-ticket-definition-ticket-definitions-v-2.universal.js.map +1 -1
  9. package/build/internal/cjs/src/events-v3-ticket-definition-ticket-definitions-v-2.types.d.ts +186 -68
  10. package/build/internal/cjs/src/events-v3-ticket-definition-ticket-definitions-v-2.types.js.map +1 -1
  11. package/build/internal/cjs/src/events-v3-ticket-definition-ticket-definitions-v-2.universal.d.ts +200 -82
  12. package/build/internal/cjs/src/events-v3-ticket-definition-ticket-definitions-v-2.universal.js.map +1 -1
  13. package/build/internal/es/src/events-v3-ticket-definition-ticket-definitions-v-2.types.d.ts +186 -68
  14. package/build/internal/es/src/events-v3-ticket-definition-ticket-definitions-v-2.types.js.map +1 -1
  15. package/build/internal/es/src/events-v3-ticket-definition-ticket-definitions-v-2.universal.d.ts +200 -82
  16. package/build/internal/es/src/events-v3-ticket-definition-ticket-definitions-v-2.universal.js.map +1 -1
  17. package/package.json +3 -3
@@ -59,14 +59,14 @@ export interface TicketDefinition {
59
59
  /** Ticket pricing method. */
60
60
  pricingMethod?: PricingMethod;
61
61
  /** Whether fee is included in the ticket price or customer pays it additionally at checkout. */
62
- feeType?: FeeTypeEnumType;
62
+ feeType?: FeeTypeEnumTypeWithLiterals;
63
63
  /** Ticket sale period. */
64
64
  salePeriod?: SalePeriod;
65
65
  /**
66
66
  * Ticket sale status.
67
67
  * @readonly
68
68
  */
69
- saleStatus?: SaleStatusEnumStatus;
69
+ saleStatus?: SaleStatusEnumStatusWithLiterals;
70
70
  /**
71
71
  * Ticket sales information. <br>
72
72
  * **Note:** This field is only returned when `SALES_DETAILS` fieldset is included in the request.
@@ -106,7 +106,7 @@ export interface PricingMethod extends PricingMethodPriceOneOf {
106
106
  * Ticket price type.
107
107
  * @readonly
108
108
  */
109
- pricingType?: PricingTypeEnumType;
109
+ pricingType?: PricingTypeEnumTypeWithLiterals;
110
110
  /**
111
111
  * Whether the ticket is free. To create a free ticket, enter `0` in the `pricingMethod.fixedPrice.value` field.
112
112
  * @readonly
@@ -168,6 +168,8 @@ export declare enum PricingTypeEnumType {
168
168
  /** All collected money is a donation. This pricing type is automatically assigned when you select the `guestPrice` pricing method. */
169
169
  DONATION = "DONATION"
170
170
  }
171
+ /** @enumType */
172
+ export type PricingTypeEnumTypeWithLiterals = PricingTypeEnumType | 'UNKNOWN_PRICING_TYPE' | 'STANDARD' | 'DONATION';
171
173
  export declare enum FeeTypeEnumType {
172
174
  /** Unknown fee type. */
173
175
  UNKNOWN_FEE_TYPE = "UNKNOWN_FEE_TYPE",
@@ -178,6 +180,8 @@ export declare enum FeeTypeEnumType {
178
180
  /** Ticket service fee is not collected. Available only for free tickets and legacy users. */
179
181
  NO_FEE = "NO_FEE"
180
182
  }
183
+ /** @enumType */
184
+ export type FeeTypeEnumTypeWithLiterals = FeeTypeEnumType | 'UNKNOWN_FEE_TYPE' | 'FEE_INCLUDED' | 'FEE_ADDED_AT_CHECKOUT' | 'NO_FEE';
181
185
  export declare enum SaleStatusEnumStatus {
182
186
  /** Undefined sale status. */
183
187
  UNKNOWN_SALE_STATUS = "UNKNOWN_SALE_STATUS",
@@ -188,6 +192,8 @@ export declare enum SaleStatusEnumStatus {
188
192
  /** Tickets are not on sale. */
189
193
  SALE_ENDED = "SALE_ENDED"
190
194
  }
195
+ /** @enumType */
196
+ export type SaleStatusEnumStatusWithLiterals = SaleStatusEnumStatus | 'UNKNOWN_SALE_STATUS' | 'SALE_SCHEDULED' | 'SALE_STARTED' | 'SALE_ENDED';
191
197
  export interface SalesDetails {
192
198
  /**
193
199
  * Number of tickets that have not been purchased yet. The field is `null` if the ticket quantity is unlimited.
@@ -254,7 +260,7 @@ export interface EventDetails {
254
260
  * Event status.
255
261
  * @readonly
256
262
  */
257
- status?: Status;
263
+ status?: StatusWithLiterals;
258
264
  }
259
265
  export interface Location {
260
266
  /**
@@ -263,7 +269,7 @@ export interface Location {
263
269
  */
264
270
  name?: string | null;
265
271
  /** Location type. */
266
- type?: LocationType;
272
+ type?: LocationTypeWithLiterals;
267
273
  /** Exact location address. */
268
274
  address?: CommonAddress;
269
275
  /** Whether the event location is TBD. */
@@ -277,6 +283,8 @@ export declare enum LocationType {
277
283
  /** Event is online, such as a virtual video conference. */
278
284
  ONLINE = "ONLINE"
279
285
  }
286
+ /** @enumType */
287
+ export type LocationTypeWithLiterals = LocationType | 'UNKNOWN_LOCATION' | 'VENUE' | 'ONLINE';
280
288
  /** Physical address */
281
289
  export interface CommonAddress extends CommonAddressStreetOneOf {
282
290
  /** Street address. */
@@ -375,6 +383,8 @@ export declare enum SubdivisionSubdivisionType {
375
383
  /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
376
384
  COUNTRY = "COUNTRY"
377
385
  }
386
+ /** @enumType */
387
+ export type SubdivisionSubdivisionTypeWithLiterals = SubdivisionSubdivisionType | 'UNKNOWN_SUBDIVISION_TYPE' | 'ADMINISTRATIVE_AREA_LEVEL_1' | 'ADMINISTRATIVE_AREA_LEVEL_2' | 'ADMINISTRATIVE_AREA_LEVEL_3' | 'ADMINISTRATIVE_AREA_LEVEL_4' | 'ADMINISTRATIVE_AREA_LEVEL_5' | 'COUNTRY';
378
388
  export interface DateAndTimeSettings {
379
389
  /** Whether the event date and time are TBD. */
380
390
  dateAndTimeTbd?: boolean | null;
@@ -400,7 +410,7 @@ export interface DateAndTimeSettings {
400
410
  * Repeating event status.
401
411
  * @readonly
402
412
  */
403
- recurrenceStatus?: RecurrenceStatusStatus;
413
+ recurrenceStatus?: RecurrenceStatusStatusWithLiterals;
404
414
  /** Event repetitions. */
405
415
  recurringEvents?: Recurrences;
406
416
  /** Formatted date and time settings. */
@@ -420,6 +430,8 @@ export declare enum RecurrenceStatusStatus {
420
430
  /** Latest canceled event in a schedule of recurring events */
421
431
  RECURRING_RECENTLY_CANCELED = "RECURRING_RECENTLY_CANCELED"
422
432
  }
433
+ /** @enumType */
434
+ export type RecurrenceStatusStatusWithLiterals = RecurrenceStatusStatus | 'UNKNOWN_STATUS' | 'ONE_TIME' | 'RECURRING' | 'RECURRING_UPCOMING' | 'RECURRING_RECENTLY_ENDED' | 'RECURRING_RECENTLY_CANCELED';
423
435
  export interface Recurrences {
424
436
  /**
425
437
  * Individual event dates.
@@ -506,6 +518,8 @@ export declare enum Status {
506
518
  /** Event is not public. */
507
519
  DRAFT = "DRAFT"
508
520
  }
521
+ /** @enumType */
522
+ export type StatusWithLiterals = Status | 'UNKNOWN_EVENT_STATUS' | 'UPCOMING' | 'STARTED' | 'ENDED' | 'CANCELED' | 'DRAFT';
509
523
  export interface InvalidateCache extends InvalidateCacheGetByOneOf {
510
524
  /**
511
525
  * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
@@ -623,7 +637,7 @@ export interface CreateTicketDefinitionRequest {
623
637
  * Predefined sets of fields to return.
624
638
  * @maxSize 5
625
639
  */
626
- fields?: Field[];
640
+ fields?: FieldWithLiterals[];
627
641
  }
628
642
  export declare enum Field {
629
643
  /** Unknown requested field. */
@@ -633,6 +647,8 @@ export declare enum Field {
633
647
  /** Returns `eventDetails` in the response. */
634
648
  EVENT_DETAILS = "EVENT_DETAILS"
635
649
  }
650
+ /** @enumType */
651
+ export type FieldWithLiterals = Field | 'UNKNOWN_REQUESTED_FIELD' | 'SALES_DETAILS' | 'EVENT_DETAILS';
636
652
  export interface CreateTicketDefinitionResponse {
637
653
  /** Created ticket definition. */
638
654
  ticketDefinition?: TicketDefinition;
@@ -644,7 +660,7 @@ export interface UpdateTicketDefinitionRequest {
644
660
  * Predefined sets of fields to return.
645
661
  * @maxSize 5
646
662
  */
647
- fields?: Field[];
663
+ fields?: FieldWithLiterals[];
648
664
  }
649
665
  export interface UpdateTicketDefinitionResponse {
650
666
  /** The updated ticket definition. */
@@ -660,7 +676,7 @@ export interface GetTicketDefinitionRequest {
660
676
  * Predefined sets of fields to return.
661
677
  * @maxSize 5
662
678
  */
663
- fields?: Field[];
679
+ fields?: FieldWithLiterals[];
664
680
  }
665
681
  export interface GetTicketDefinitionResponse {
666
682
  /** The requested ticket definition. */
@@ -726,7 +742,7 @@ export interface UpdateTicketDefinitionSortIndexRequest {
726
742
  * Requested fields.
727
743
  * @maxSize 5
728
744
  */
729
- fields?: Field[];
745
+ fields?: FieldWithLiterals[];
730
746
  }
731
747
  export interface UpdateTicketDefinitionSortIndexResponse {
732
748
  /** the updated ticket definition */
@@ -739,7 +755,7 @@ export interface QueryTicketDefinitionsRequest {
739
755
  * Predefined sets of fields to return.
740
756
  * @maxSize 5
741
757
  */
742
- fields?: Field[];
758
+ fields?: FieldWithLiterals[];
743
759
  }
744
760
  export interface QueryV2 extends QueryV2PagingMethodOneOf {
745
761
  /** Paging options to limit and skip the number of items. */
@@ -768,12 +784,14 @@ export interface Sorting {
768
784
  */
769
785
  fieldName?: string;
770
786
  /** Defaults to `ASC` */
771
- order?: SortOrder;
787
+ order?: SortOrderWithLiterals;
772
788
  }
773
789
  export declare enum SortOrder {
774
790
  ASC = "ASC",
775
791
  DESC = "DESC"
776
792
  }
793
+ /** @enumType */
794
+ export type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
777
795
  export interface Paging {
778
796
  /** Number of items to load per page. */
779
797
  limit?: number | null;
@@ -832,7 +850,7 @@ export interface QueryAvailableTicketDefinitionsRequest {
832
850
  * Predefined sets of fields to return.
833
851
  * @maxSize 5
834
852
  */
835
- fields?: Field[];
853
+ fields?: FieldWithLiterals[];
836
854
  }
837
855
  export interface QueryAvailableTicketDefinitionsResponse {
838
856
  /** List of ticket definitions. */
@@ -997,7 +1015,7 @@ export interface EventCreated {
997
1015
  */
998
1016
  userId?: string | null;
999
1017
  /** Event status. */
1000
- status?: EventStatus;
1018
+ status?: EventStatusWithLiterals;
1001
1019
  /**
1002
1020
  * Instance ID. Indicates the original app instance which current event was derived from.
1003
1021
  * @format GUID
@@ -1025,7 +1043,7 @@ export interface EventsLocation {
1025
1043
  */
1026
1044
  address?: string | null;
1027
1045
  /** Location type. */
1028
- type?: LocationLocationType;
1046
+ type?: LocationLocationTypeWithLiterals;
1029
1047
  /**
1030
1048
  * Full address derived from formatted single line `address`.
1031
1049
  * When `full_address` is used to create or update the event, deprecated `address` and `coordinates` are ignored.
@@ -1061,6 +1079,8 @@ export declare enum LocationLocationType {
1061
1079
  VENUE = "VENUE",
1062
1080
  ONLINE = "ONLINE"
1063
1081
  }
1082
+ /** @enumType */
1083
+ export type LocationLocationTypeWithLiterals = LocationLocationType | 'VENUE' | 'ONLINE';
1064
1084
  /** Physical address */
1065
1085
  export interface Address extends AddressStreetOneOf {
1066
1086
  /** a break down of the street to number and street name */
@@ -1142,6 +1162,8 @@ export declare enum SubdivisionType {
1142
1162
  /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
1143
1163
  COUNTRY = "COUNTRY"
1144
1164
  }
1165
+ /** @enumType */
1166
+ export type SubdivisionTypeWithLiterals = SubdivisionType | 'UNKNOWN_SUBDIVISION_TYPE' | 'ADMINISTRATIVE_AREA_LEVEL_1' | 'ADMINISTRATIVE_AREA_LEVEL_2' | 'ADMINISTRATIVE_AREA_LEVEL_3' | 'ADMINISTRATIVE_AREA_LEVEL_4' | 'ADMINISTRATIVE_AREA_LEVEL_5' | 'COUNTRY';
1145
1167
  export interface ScheduleConfig {
1146
1168
  /**
1147
1169
  * Defines event as TBD (To Be Determined) schedule.
@@ -1185,7 +1207,7 @@ export interface EventsRecurrences {
1185
1207
  * Recurrence status.
1186
1208
  * @readonly
1187
1209
  */
1188
- status?: EventsRecurrenceStatusStatus;
1210
+ status?: EventsRecurrenceStatusStatusWithLiterals;
1189
1211
  }
1190
1212
  export interface EventsOccurrence {
1191
1213
  /** Event start timestamp. */
@@ -1212,6 +1234,8 @@ export declare enum EventsRecurrenceStatusStatus {
1212
1234
  /** Marks the most recent canceled occurrence of the recurring event. */
1213
1235
  RECURRING_LAST_CANCELED = "RECURRING_LAST_CANCELED"
1214
1236
  }
1237
+ /** @enumType */
1238
+ export type EventsRecurrenceStatusStatusWithLiterals = EventsRecurrenceStatusStatus | 'ONE_TIME' | 'RECURRING' | 'RECURRING_NEXT' | 'RECURRING_LAST_ENDED' | 'RECURRING_LAST_CANCELED';
1215
1239
  export declare enum EventStatus {
1216
1240
  /** Event is public and scheduled to start */
1217
1241
  SCHEDULED = "SCHEDULED",
@@ -1222,6 +1246,8 @@ export declare enum EventStatus {
1222
1246
  /** Event was canceled */
1223
1247
  CANCELED = "CANCELED"
1224
1248
  }
1249
+ /** @enumType */
1250
+ export type EventStatusWithLiterals = EventStatus | 'SCHEDULED' | 'STARTED' | 'ENDED' | 'CANCELED';
1225
1251
  export interface Event {
1226
1252
  /**
1227
1253
  * Event ID.
@@ -1250,7 +1276,7 @@ export interface Event {
1250
1276
  /** Event modified timestamp. */
1251
1277
  modified?: Date | null;
1252
1278
  /** Event status. */
1253
- status?: EventStatus;
1279
+ status?: EventStatusWithLiterals;
1254
1280
  /** RSVP or ticketing registration details. */
1255
1281
  registration?: Registration;
1256
1282
  /** "Add to calendar" URLs. */
@@ -1324,9 +1350,9 @@ export interface Image {
1324
1350
  }
1325
1351
  export interface Registration {
1326
1352
  /** Event type. */
1327
- type?: EventType;
1353
+ type?: EventTypeWithLiterals;
1328
1354
  /** Event registration status. */
1329
- status?: RegistrationStatus;
1355
+ status?: RegistrationStatusWithLiterals;
1330
1356
  /** RSVP collection details. */
1331
1357
  rsvpCollection?: RsvpCollection;
1332
1358
  /** Ticketing details. */
@@ -1334,9 +1360,9 @@ export interface Registration {
1334
1360
  /** External registration details. */
1335
1361
  external?: ExternalEvent;
1336
1362
  /** Types of users allowed to register. */
1337
- restrictedTo?: VisitorType;
1363
+ restrictedTo?: VisitorTypeWithLiterals;
1338
1364
  /** Initial event type which was set when creating an event. */
1339
- initialType?: EventType;
1365
+ initialType?: EventTypeWithLiterals;
1340
1366
  }
1341
1367
  export declare enum EventType {
1342
1368
  /** Type not available for this request fieldset */
@@ -1350,6 +1376,8 @@ export declare enum EventType {
1350
1376
  /** Registration not available */
1351
1377
  NO_REGISTRATION = "NO_REGISTRATION"
1352
1378
  }
1379
+ /** @enumType */
1380
+ export type EventTypeWithLiterals = EventType | 'NA_EVENT_TYPE' | 'RSVP' | 'TICKETS' | 'EXTERNAL' | 'NO_REGISTRATION';
1353
1381
  export declare enum RegistrationStatus {
1354
1382
  /** Registration status is not applicable */
1355
1383
  NA_REGISTRATION_STATUS = "NA_REGISTRATION_STATUS",
@@ -1368,13 +1396,15 @@ export declare enum RegistrationStatus {
1368
1396
  /** Registration will be open via RSVP */
1369
1397
  SCHEDULED_RSVP = "SCHEDULED_RSVP"
1370
1398
  }
1399
+ /** @enumType */
1400
+ export type RegistrationStatusWithLiterals = RegistrationStatus | 'NA_REGISTRATION_STATUS' | 'CLOSED' | 'CLOSED_MANUALLY' | 'OPEN_RSVP' | 'OPEN_RSVP_WAITLIST' | 'OPEN_TICKETS' | 'OPEN_EXTERNAL' | 'SCHEDULED_RSVP';
1371
1401
  export interface RsvpCollection {
1372
1402
  /** RSVP collection configuration. */
1373
1403
  config?: RsvpCollectionConfig;
1374
1404
  }
1375
1405
  export interface RsvpCollectionConfig {
1376
1406
  /** Defines the supported RSVP statuses. */
1377
- rsvpStatusOptions?: RsvpStatusOptions;
1407
+ rsvpStatusOptions?: RsvpStatusOptionsWithLiterals;
1378
1408
  /**
1379
1409
  * Total guest limit available to register to the event.
1380
1410
  * Additional guests per RSVP are counted towards total guests.
@@ -1393,6 +1423,8 @@ export declare enum RsvpStatusOptions {
1393
1423
  /** YES and NO RSVP status options are available for the registration */
1394
1424
  YES_AND_NO = "YES_AND_NO"
1395
1425
  }
1426
+ /** @enumType */
1427
+ export type RsvpStatusOptionsWithLiterals = RsvpStatusOptions | 'YES_ONLY' | 'YES_AND_NO';
1396
1428
  export interface Ticketing {
1397
1429
  /**
1398
1430
  * Deprecated.
@@ -1453,7 +1485,7 @@ export interface TicketingConfig {
1453
1485
  }
1454
1486
  export interface TaxConfig {
1455
1487
  /** Tax application settings. */
1456
- type?: TaxType;
1488
+ type?: TaxTypeWithLiterals;
1457
1489
  /**
1458
1490
  * Tax name.
1459
1491
  * @minLength 1
@@ -1476,6 +1508,8 @@ export declare enum TaxType {
1476
1508
  /** Tax is added to the final total at the checkout. */
1477
1509
  ADDED_AT_CHECKOUT = "ADDED_AT_CHECKOUT"
1478
1510
  }
1511
+ /** @enumType */
1512
+ export type TaxTypeWithLiterals = TaxType | 'INCLUDED' | 'ADDED' | 'ADDED_AT_CHECKOUT';
1479
1513
  export interface Money {
1480
1514
  /**
1481
1515
  * *Deprecated:** Use `value` instead.
@@ -1506,6 +1540,8 @@ export declare enum VisitorType {
1506
1540
  /** Site visitor or member */
1507
1541
  VISITOR_OR_MEMBER = "VISITOR_OR_MEMBER"
1508
1542
  }
1543
+ /** @enumType */
1544
+ export type VisitorTypeWithLiterals = VisitorType | 'VISITOR' | 'MEMBER' | 'VISITOR_OR_MEMBER';
1509
1545
  export interface CalendarLinks {
1510
1546
  /** "Add to Google calendar" URL. */
1511
1547
  google?: string;
@@ -1547,7 +1583,7 @@ export interface Form {
1547
1583
  */
1548
1584
  export interface InputControl {
1549
1585
  /** Field control type. */
1550
- type?: InputControlType;
1586
+ type?: InputControlTypeWithLiterals;
1551
1587
  /** Whether control is mandatory (such as name & email). When true, only label can be changed. */
1552
1588
  system?: boolean;
1553
1589
  /**
@@ -1594,6 +1630,8 @@ export declare enum InputControlType {
1594
1630
  /** Year, month and day fields. */
1595
1631
  DATE = "DATE"
1596
1632
  }
1633
+ /** @enumType */
1634
+ export type InputControlTypeWithLiterals = InputControlType | 'INPUT' | 'TEXTAREA' | 'DROPDOWN' | 'RADIO' | 'CHECKBOX' | 'NAME' | 'GUEST_CONTROL' | 'ADDRESS_SHORT' | 'ADDRESS_FULL' | 'DATE';
1597
1635
  /** An input of one or multiple text values */
1598
1636
  export interface Input {
1599
1637
  /** Field name. */
@@ -1617,7 +1655,7 @@ export interface Input {
1617
1655
  * Type which determines field format.
1618
1656
  * Used to validate submitted response.
1619
1657
  */
1620
- type?: ValueType;
1658
+ type?: ValueTypeWithLiterals;
1621
1659
  /**
1622
1660
  * A maximum accepted values for array input.
1623
1661
  * Only applicable for inputs of valueType: TEXT_ARRAY.
@@ -1641,6 +1679,8 @@ export declare enum ValueType {
1641
1679
  DATE_TIME = "DATE_TIME",
1642
1680
  ADDRESS = "ADDRESS"
1643
1681
  }
1682
+ /** @enumType */
1683
+ export type ValueTypeWithLiterals = ValueType | 'TEXT' | 'NUMBER' | 'TEXT_ARRAY' | 'DATE_TIME' | 'ADDRESS';
1644
1684
  /**
1645
1685
  * Describes initially selected option when an input has multiple choices.
1646
1686
  * Defaults to first (0th) option if not configured.
@@ -1829,7 +1869,7 @@ export interface OnlineConferencingConfig {
1829
1869
  */
1830
1870
  providerId?: string | null;
1831
1871
  /** Conference type */
1832
- conferenceType?: ConferenceType;
1872
+ conferenceType?: ConferenceTypeWithLiterals;
1833
1873
  }
1834
1874
  export declare enum ConferenceType {
1835
1875
  /** Everyone in the meeting can publish and subscribe video and audio. */
@@ -1837,6 +1877,8 @@ export declare enum ConferenceType {
1837
1877
  /** Guests can only subscribe to video and audio. */
1838
1878
  WEBINAR = "WEBINAR"
1839
1879
  }
1880
+ /** @enumType */
1881
+ export type ConferenceTypeWithLiterals = ConferenceType | 'MEETING' | 'WEBINAR';
1840
1882
  export interface OnlineConferencingSession {
1841
1883
  /**
1842
1884
  * Link for event host to start the online conference session.
@@ -1981,7 +2023,7 @@ export interface Category {
1981
2023
  * **Note:** The WIX_EVENTS.MANAGE_AUTO_CATEGORIES permission scope is required to use states other than `MANUAL`.
1982
2024
  * @maxSize 3
1983
2025
  */
1984
- states?: CategoryStateState[];
2026
+ states?: CategoryStateStateWithLiterals[];
1985
2027
  }
1986
2028
  export interface CategoryCounts {
1987
2029
  /** Total number of draft events assigned to the category. */
@@ -1999,6 +2041,8 @@ export declare enum CategoryStateState {
1999
2041
  /** Category is hidden. */
2000
2042
  HIDDEN = "HIDDEN"
2001
2043
  }
2044
+ /** @enumType */
2045
+ export type CategoryStateStateWithLiterals = CategoryStateState | 'MANUAL' | 'AUTO' | 'RECURRING_EVENT' | 'HIDDEN';
2002
2046
  export interface EventDisplaySettings {
2003
2047
  /** Whether event details button is hidden. Only available for events with no registration. */
2004
2048
  hideEventDetailsButton?: boolean | null;
@@ -2071,7 +2115,7 @@ export interface Node extends NodeDataOneOf {
2071
2115
  /** LayoutData layout_data = 31; // Data for a layout node. Reserved for future use. */
2072
2116
  layoutCellData?: LayoutCellData;
2073
2117
  /** 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. */
2074
- type?: NodeType;
2118
+ type?: NodeTypeWithLiterals;
2075
2119
  /** Node ID. */
2076
2120
  id?: string;
2077
2121
  /** A list of child nodes. */
@@ -2172,6 +2216,8 @@ export declare enum NodeType {
2172
2216
  LAYOUT = "LAYOUT",
2173
2217
  LAYOUT_CELL = "LAYOUT_CELL"
2174
2218
  }
2219
+ /** @enumType */
2220
+ export 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';
2175
2221
  export interface NodeStyle {
2176
2222
  /** The top padding value in pixels. */
2177
2223
  paddingTop?: string | null;
@@ -2184,7 +2230,7 @@ export interface ButtonData {
2184
2230
  /** Styling for the button's container. */
2185
2231
  containerData?: PluginContainerData;
2186
2232
  /** The button type. */
2187
- type?: ButtonDataType;
2233
+ type?: ButtonDataTypeWithLiterals;
2188
2234
  /** Styling for the button. */
2189
2235
  styles?: Styles;
2190
2236
  /** The text to display on the button. */
@@ -2210,7 +2256,7 @@ export interface PluginContainerData {
2210
2256
  /** The width of the node when it's displayed. */
2211
2257
  width?: PluginContainerDataWidth;
2212
2258
  /** The node's alignment within its container. */
2213
- alignment?: PluginContainerDataAlignment;
2259
+ alignment?: PluginContainerDataAlignmentWithLiterals;
2214
2260
  /** Spoiler cover settings for the node. */
2215
2261
  spoiler?: Spoiler;
2216
2262
  /** The height of the node when it's displayed. */
@@ -2228,6 +2274,8 @@ export declare enum WidthType {
2228
2274
  /** coast-to-coast display */
2229
2275
  FULL_WIDTH = "FULL_WIDTH"
2230
2276
  }
2277
+ /** @enumType */
2278
+ export type WidthTypeWithLiterals = WidthType | 'CONTENT' | 'SMALL' | 'ORIGINAL' | 'FULL_WIDTH';
2231
2279
  export interface PluginContainerDataWidth extends PluginContainerDataWidthDataOneOf {
2232
2280
  /**
2233
2281
  * One of the following predefined width options:
@@ -2236,7 +2284,7 @@ export interface PluginContainerDataWidth extends PluginContainerDataWidthDataOn
2236
2284
  * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.
2237
2285
  * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.
2238
2286
  */
2239
- size?: WidthType;
2287
+ size?: WidthTypeWithLiterals;
2240
2288
  /** A custom width value in pixels. */
2241
2289
  custom?: string | null;
2242
2290
  }
@@ -2249,7 +2297,7 @@ export interface PluginContainerDataWidthDataOneOf {
2249
2297
  * `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.
2250
2298
  * `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.
2251
2299
  */
2252
- size?: WidthType;
2300
+ size?: WidthTypeWithLiterals;
2253
2301
  /** A custom width value in pixels. */
2254
2302
  custom?: string | null;
2255
2303
  }
@@ -2261,6 +2309,8 @@ export declare enum PluginContainerDataAlignment {
2261
2309
  /** Right Alignment */
2262
2310
  RIGHT = "RIGHT"
2263
2311
  }
2312
+ /** @enumType */
2313
+ export type PluginContainerDataAlignmentWithLiterals = PluginContainerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
2264
2314
  export interface Spoiler {
2265
2315
  /** Sets whether the spoiler cover is enabled for this node. Defaults to `false`. */
2266
2316
  enabled?: boolean | null;
@@ -2279,6 +2329,8 @@ export declare enum ButtonDataType {
2279
2329
  /** Triggers custom action that is defined in plugin configuration by the consumer */
2280
2330
  ACTION = "ACTION"
2281
2331
  }
2332
+ /** @enumType */
2333
+ export type ButtonDataTypeWithLiterals = ButtonDataType | 'LINK' | 'ACTION';
2282
2334
  export interface Styles {
2283
2335
  /** Border attributes. */
2284
2336
  border?: Border;
@@ -2297,7 +2349,7 @@ export interface Link extends LinkDataOneOf {
2297
2349
  * `PARENT` - Opens the linked document in the link's parent frame.
2298
2350
  * `TOP` - Opens the linked document in the full body of the link's browser tab or window.
2299
2351
  */
2300
- target?: Target;
2352
+ target?: TargetWithLiterals;
2301
2353
  /** The HTML `rel` attribute value for the link. This object specifies the relationship between the current document and the linked document. */
2302
2354
  rel?: Rel;
2303
2355
  /** A serialized object used for a custom or external link panel. */
@@ -2320,6 +2372,8 @@ export declare enum Target {
2320
2372
  /** Opens the linked document in the full body of the window */
2321
2373
  TOP = "TOP"
2322
2374
  }
2375
+ /** @enumType */
2376
+ export type TargetWithLiterals = Target | 'SELF' | 'BLANK' | 'PARENT' | 'TOP';
2323
2377
  export interface Rel {
2324
2378
  /** Indicates to search engine crawlers not to follow the link. Defaults to `false`. */
2325
2379
  nofollow?: boolean | null;
@@ -2336,7 +2390,7 @@ export interface CodeBlockData {
2336
2390
  }
2337
2391
  export interface TextStyle {
2338
2392
  /** Text alignment. Defaults to `AUTO`. */
2339
- textAlignment?: TextAlignment;
2393
+ textAlignment?: TextAlignmentWithLiterals;
2340
2394
  /** A CSS `line-height` value for the text expressed as a ratio relative to the font size. For example, if the font size is 20px, a `lineHeight` value of `'1.5'`` results in a line height of 30px. */
2341
2395
  lineHeight?: string | null;
2342
2396
  }
@@ -2352,15 +2406,17 @@ export declare enum TextAlignment {
2352
2406
  /** Text is spaced to line up its left and right edges to the left and right edges of the line box, except for the last line */
2353
2407
  JUSTIFY = "JUSTIFY"
2354
2408
  }
2409
+ /** @enumType */
2410
+ export type TextAlignmentWithLiterals = TextAlignment | 'AUTO' | 'LEFT' | 'RIGHT' | 'CENTER' | 'JUSTIFY';
2355
2411
  export interface DividerData {
2356
2412
  /** Styling for the divider's container. */
2357
2413
  containerData?: PluginContainerData;
2358
2414
  /** Divider line style. */
2359
- lineStyle?: LineStyle;
2415
+ lineStyle?: LineStyleWithLiterals;
2360
2416
  /** Divider width. */
2361
- width?: Width;
2417
+ width?: WidthWithLiterals;
2362
2418
  /** Divider alignment. */
2363
- alignment?: Alignment;
2419
+ alignment?: AlignmentWithLiterals;
2364
2420
  }
2365
2421
  export declare enum LineStyle {
2366
2422
  /** Single Line */
@@ -2372,6 +2428,8 @@ export declare enum LineStyle {
2372
2428
  /** Dotted Line */
2373
2429
  DOTTED = "DOTTED"
2374
2430
  }
2431
+ /** @enumType */
2432
+ export type LineStyleWithLiterals = LineStyle | 'SINGLE' | 'DOUBLE' | 'DASHED' | 'DOTTED';
2375
2433
  export declare enum Width {
2376
2434
  /** Large line */
2377
2435
  LARGE = "LARGE",
@@ -2380,6 +2438,8 @@ export declare enum Width {
2380
2438
  /** Small line */
2381
2439
  SMALL = "SMALL"
2382
2440
  }
2441
+ /** @enumType */
2442
+ export type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';
2383
2443
  export declare enum Alignment {
2384
2444
  /** Center alignment */
2385
2445
  CENTER = "CENTER",
@@ -2388,6 +2448,8 @@ export declare enum Alignment {
2388
2448
  /** Right alignment */
2389
2449
  RIGHT = "RIGHT"
2390
2450
  }
2451
+ /** @enumType */
2452
+ export type AlignmentWithLiterals = Alignment | 'CENTER' | 'LEFT' | 'RIGHT';
2391
2453
  export interface FileData {
2392
2454
  /** Styling for the file's container. */
2393
2455
  containerData?: PluginContainerData;
@@ -2419,6 +2481,8 @@ export declare enum ViewMode {
2419
2481
  /** Mini PDF view */
2420
2482
  MINI = "MINI"
2421
2483
  }
2484
+ /** @enumType */
2485
+ export type ViewModeWithLiterals = ViewMode | 'NONE' | 'FULL' | 'MINI';
2422
2486
  export interface FileSource extends FileSourceDataOneOf {
2423
2487
  /** The absolute URL for the file's source. */
2424
2488
  url?: string | null;
@@ -2451,7 +2515,7 @@ export interface PDFSettings {
2451
2515
  * `FULL` : A full page view of the PDF is displayed.
2452
2516
  * `MINI` : A mini view of the PDF is displayed.
2453
2517
  */
2454
- viewMode?: ViewMode;
2518
+ viewMode?: ViewModeWithLiterals;
2455
2519
  /** Sets whether the PDF download button is disabled. Defaults to `false`. */
2456
2520
  disableDownload?: boolean | null;
2457
2521
  /** Sets whether the PDF print button is disabled. Defaults to `false`. */
@@ -2538,18 +2602,24 @@ export declare enum LayoutType {
2538
2602
  /** Fullsize images type */
2539
2603
  FULLSIZE = "FULLSIZE"
2540
2604
  }
2605
+ /** @enumType */
2606
+ export type LayoutTypeWithLiterals = LayoutType | 'COLLAGE' | 'MASONRY' | 'GRID' | 'THUMBNAIL' | 'SLIDER' | 'SLIDESHOW' | 'PANORAMA' | 'COLUMN' | 'MAGIC' | 'FULLSIZE';
2541
2607
  export declare enum Orientation {
2542
2608
  /** Rows Orientation */
2543
2609
  ROWS = "ROWS",
2544
2610
  /** Columns Orientation */
2545
2611
  COLUMNS = "COLUMNS"
2546
2612
  }
2613
+ /** @enumType */
2614
+ export type OrientationWithLiterals = Orientation | 'ROWS' | 'COLUMNS';
2547
2615
  export declare enum Crop {
2548
2616
  /** Crop to fill */
2549
2617
  FILL = "FILL",
2550
2618
  /** Crop to fit */
2551
2619
  FIT = "FIT"
2552
2620
  }
2621
+ /** @enumType */
2622
+ export type CropWithLiterals = Crop | 'FILL' | 'FIT';
2553
2623
  export declare enum ThumbnailsAlignment {
2554
2624
  /** Top alignment */
2555
2625
  TOP = "TOP",
@@ -2562,13 +2632,15 @@ export declare enum ThumbnailsAlignment {
2562
2632
  /** No thumbnail */
2563
2633
  NONE = "NONE"
2564
2634
  }
2635
+ /** @enumType */
2636
+ export type ThumbnailsAlignmentWithLiterals = ThumbnailsAlignment | 'TOP' | 'RIGHT' | 'BOTTOM' | 'LEFT' | 'NONE';
2565
2637
  export interface Layout {
2566
2638
  /** Gallery layout type. */
2567
- type?: LayoutType;
2639
+ type?: LayoutTypeWithLiterals;
2568
2640
  /** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
2569
2641
  horizontalScroll?: boolean | null;
2570
2642
  /** Gallery orientation. */
2571
- orientation?: Orientation;
2643
+ orientation?: OrientationWithLiterals;
2572
2644
  /** The number of columns to display on full size screens. */
2573
2645
  numberOfColumns?: number | null;
2574
2646
  /** The number of columns to display on mobile screens. */
@@ -2580,13 +2652,13 @@ export interface ItemStyle {
2580
2652
  /** Item ratio */
2581
2653
  ratio?: number | null;
2582
2654
  /** Sets how item images are cropped. */
2583
- crop?: Crop;
2655
+ crop?: CropWithLiterals;
2584
2656
  /** The spacing between items in pixels. */
2585
2657
  spacing?: number | null;
2586
2658
  }
2587
2659
  export interface Thumbnails {
2588
2660
  /** Thumbnail alignment. */
2589
- placement?: ThumbnailsAlignment;
2661
+ placement?: ThumbnailsAlignmentWithLiterals;
2590
2662
  /** Spacing between thumbnails in pixels. */
2591
2663
  spacing?: number | null;
2592
2664
  }
@@ -2602,7 +2674,7 @@ export interface GIFData {
2602
2674
  /** Width in pixels. */
2603
2675
  width?: number;
2604
2676
  /** Type of GIF (Sticker or NORMAL). Defaults to `NORMAL`. */
2605
- gifType?: GIFType;
2677
+ gifType?: GIFTypeWithLiterals;
2606
2678
  }
2607
2679
  export interface GIF {
2608
2680
  /**
@@ -2625,6 +2697,8 @@ export declare enum GIFType {
2625
2697
  NORMAL = "NORMAL",
2626
2698
  STICKER = "STICKER"
2627
2699
  }
2700
+ /** @enumType */
2701
+ export type GIFTypeWithLiterals = GIFType | 'NORMAL' | 'STICKER';
2628
2702
  export interface HeadingData {
2629
2703
  /** Heading level from 1-6. */
2630
2704
  level?: number;
@@ -2646,7 +2720,7 @@ export interface HTMLData extends HTMLDataDataOneOf {
2646
2720
  /** Styling for the HTML node's container. Height property is irrelevant for HTML embeds when autoHeight is set to `true`. */
2647
2721
  containerData?: PluginContainerData;
2648
2722
  /** The type of HTML code. */
2649
- source?: Source;
2723
+ source?: SourceWithLiterals;
2650
2724
  /** If container height is aligned with its content height. Defaults to `true`. */
2651
2725
  autoHeight?: boolean | null;
2652
2726
  }
@@ -2666,6 +2740,8 @@ export declare enum Source {
2666
2740
  HTML = "HTML",
2667
2741
  ADSENSE = "ADSENSE"
2668
2742
  }
2743
+ /** @enumType */
2744
+ export type SourceWithLiterals = Source | 'HTML' | 'ADSENSE';
2669
2745
  export interface ImageData {
2670
2746
  /** Styling for the image's container. */
2671
2747
  containerData?: PluginContainerData;
@@ -2730,6 +2806,8 @@ export declare enum Position {
2730
2806
  /** Thumbnail hidden and not displayed */
2731
2807
  HIDDEN = "HIDDEN"
2732
2808
  }
2809
+ /** @enumType */
2810
+ export type PositionWithLiterals = Position | 'START' | 'END' | 'TOP' | 'HIDDEN';
2733
2811
  export interface LinkPreviewDataStyles {
2734
2812
  /**
2735
2813
  * Background color as a hexadecimal value.
@@ -2761,7 +2839,7 @@ export interface LinkPreviewDataStyles {
2761
2839
  */
2762
2840
  borderColor?: string | null;
2763
2841
  /** Position of thumbnail. Defaults to `START`. */
2764
- thumbnailPosition?: Position;
2842
+ thumbnailPosition?: PositionWithLiterals;
2765
2843
  }
2766
2844
  export interface MapData {
2767
2845
  /** Styling for the map's container. */
@@ -2791,7 +2869,7 @@ export interface MapSettings {
2791
2869
  /** Initial zoom value. */
2792
2870
  initialZoom?: number | null;
2793
2871
  /** Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types. */
2794
- mapType?: MapType;
2872
+ mapType?: MapTypeWithLiterals;
2795
2873
  }
2796
2874
  export declare enum MapType {
2797
2875
  /** Roadmap map type */
@@ -2803,6 +2881,8 @@ export declare enum MapType {
2803
2881
  /** Terrain map type */
2804
2882
  TERRAIN = "TERRAIN"
2805
2883
  }
2884
+ /** @enumType */
2885
+ export type MapTypeWithLiterals = MapType | 'ROADMAP' | 'SATELITE' | 'HYBRID' | 'TERRAIN';
2806
2886
  export interface ParagraphData {
2807
2887
  /** Styling for the paragraph text. */
2808
2888
  textStyle?: TextStyle;
@@ -2829,17 +2909,21 @@ export declare enum ViewRole {
2829
2909
  /** Anyone can see the results, even if one didn't vote */
2830
2910
  EVERYONE = "EVERYONE"
2831
2911
  }
2912
+ /** @enumType */
2913
+ export type ViewRoleWithLiterals = ViewRole | 'CREATOR' | 'VOTERS' | 'EVERYONE';
2832
2914
  export declare enum VoteRole {
2833
2915
  /** Logged in member */
2834
2916
  SITE_MEMBERS = "SITE_MEMBERS",
2835
2917
  /** Anyone */
2836
2918
  ALL = "ALL"
2837
2919
  }
2920
+ /** @enumType */
2921
+ export type VoteRoleWithLiterals = VoteRole | 'SITE_MEMBERS' | 'ALL';
2838
2922
  export interface Permissions {
2839
2923
  /** Sets who can view the poll results. */
2840
- view?: ViewRole;
2924
+ view?: ViewRoleWithLiterals;
2841
2925
  /** Sets who can vote. */
2842
- vote?: VoteRole;
2926
+ vote?: VoteRoleWithLiterals;
2843
2927
  /** Sets whether one voter can vote multiple times. Defaults to `false`. */
2844
2928
  allowMultipleVotes?: boolean | null;
2845
2929
  }
@@ -2865,17 +2949,21 @@ export declare enum PollLayoutType {
2865
2949
  /** Grid */
2866
2950
  GRID = "GRID"
2867
2951
  }
2952
+ /** @enumType */
2953
+ export type PollLayoutTypeWithLiterals = PollLayoutType | 'LIST' | 'GRID';
2868
2954
  export declare enum PollLayoutDirection {
2869
2955
  /** Left-to-right */
2870
2956
  LTR = "LTR",
2871
2957
  /** Right-to-left */
2872
2958
  RTL = "RTL"
2873
2959
  }
2960
+ /** @enumType */
2961
+ export type PollLayoutDirectionWithLiterals = PollLayoutDirection | 'LTR' | 'RTL';
2874
2962
  export interface PollLayout {
2875
2963
  /** The layout for displaying the voting options. */
2876
- type?: PollLayoutType;
2964
+ type?: PollLayoutTypeWithLiterals;
2877
2965
  /** The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right. */
2878
- direction?: PollLayoutDirection;
2966
+ direction?: PollLayoutDirectionWithLiterals;
2879
2967
  /** Sets whether to display the main poll image. Defaults to `false`. */
2880
2968
  enableImage?: boolean | null;
2881
2969
  }
@@ -2891,6 +2979,8 @@ export declare enum BackgroundType {
2891
2979
  /** Gradiant background type */
2892
2980
  GRADIENT = "GRADIENT"
2893
2981
  }
2982
+ /** @enumType */
2983
+ export type BackgroundTypeWithLiterals = BackgroundType | 'COLOR' | 'IMAGE' | 'GRADIENT';
2894
2984
  export interface Gradient {
2895
2985
  /** The gradient angle in degrees. */
2896
2986
  angle?: number | null;
@@ -2916,7 +3006,7 @@ export interface Background extends BackgroundBackgroundOneOf {
2916
3006
  /** Details for a gradient background. */
2917
3007
  gradient?: Gradient;
2918
3008
  /** Background type. For each option, include the relevant details. */
2919
- type?: BackgroundType;
3009
+ type?: BackgroundTypeWithLiterals;
2920
3010
  }
2921
3011
  /** @oneof */
2922
3012
  export interface BackgroundBackgroundOneOf {
@@ -2993,7 +3083,7 @@ export interface Decoration extends DecorationDataOneOf {
2993
3083
  /** Data for a spoiler decoration. */
2994
3084
  spoilerData?: SpoilerData;
2995
3085
  /** The type of decoration to apply. */
2996
- type?: DecorationType;
3086
+ type?: DecorationTypeWithLiterals;
2997
3087
  }
2998
3088
  /** @oneof */
2999
3089
  export interface DecorationDataOneOf {
@@ -3028,6 +3118,8 @@ export declare enum DecorationType {
3028
3118
  FONT_SIZE = "FONT_SIZE",
3029
3119
  EXTERNAL = "EXTERNAL"
3030
3120
  }
3121
+ /** @enumType */
3122
+ export type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL';
3031
3123
  export interface AnchorData {
3032
3124
  /** The target node's ID. */
3033
3125
  anchor?: string;
@@ -3052,7 +3144,7 @@ export interface MentionData {
3052
3144
  }
3053
3145
  export interface FontSizeData {
3054
3146
  /** The units used for the font size. */
3055
- unit?: FontType;
3147
+ unit?: FontTypeWithLiterals;
3056
3148
  /** Font size value. */
3057
3149
  value?: number | null;
3058
3150
  }
@@ -3060,6 +3152,8 @@ export declare enum FontType {
3060
3152
  PX = "PX",
3061
3153
  EM = "EM"
3062
3154
  }
3155
+ /** @enumType */
3156
+ export type FontTypeWithLiterals = FontType | 'PX' | 'EM';
3063
3157
  export interface SpoilerData {
3064
3158
  /** Spoiler ID. */
3065
3159
  id?: string | null;
@@ -3070,7 +3164,7 @@ export interface AppEmbedData extends AppEmbedDataAppDataOneOf {
3070
3164
  /** Data for embedded Wix Events content. */
3071
3165
  eventData?: EventData;
3072
3166
  /** The type of Wix App content being embedded. */
3073
- type?: AppType;
3167
+ type?: AppTypeWithLiterals;
3074
3168
  /** The ID of the embedded content. */
3075
3169
  itemId?: string | null;
3076
3170
  /** The name of the embedded content. */
@@ -3097,6 +3191,8 @@ export declare enum AppType {
3097
3191
  EVENT = "EVENT",
3098
3192
  BOOKING = "BOOKING"
3099
3193
  }
3194
+ /** @enumType */
3195
+ export type AppTypeWithLiterals = AppType | 'PRODUCT' | 'EVENT' | 'BOOKING';
3100
3196
  export interface BookingData {
3101
3197
  /** Booking duration in minutes. */
3102
3198
  durations?: string | null;
@@ -3175,9 +3271,9 @@ export interface CollapsibleListData {
3175
3271
  /** If `true`, only one item can be expanded at a time. Defaults to `false`. */
3176
3272
  expandOnlyOne?: boolean | null;
3177
3273
  /** Sets which items are expanded when the page loads. */
3178
- initialExpandedItems?: InitialExpandedItems;
3274
+ initialExpandedItems?: InitialExpandedItemsWithLiterals;
3179
3275
  /** The direction of the text in the list. Either left-to-right or right-to-left. */
3180
- direction?: Direction;
3276
+ direction?: DirectionWithLiterals;
3181
3277
  /** If `true`, The collapsible item will appear in search results as an FAQ. */
3182
3278
  isQapageData?: boolean | null;
3183
3279
  }
@@ -3189,12 +3285,16 @@ export declare enum InitialExpandedItems {
3189
3285
  /** All items collapsed initally */
3190
3286
  NONE = "NONE"
3191
3287
  }
3288
+ /** @enumType */
3289
+ export type InitialExpandedItemsWithLiterals = InitialExpandedItems | 'FIRST' | 'ALL' | 'NONE';
3192
3290
  export declare enum Direction {
3193
3291
  /** Left-to-right */
3194
3292
  LTR = "LTR",
3195
3293
  /** Right-to-left */
3196
3294
  RTL = "RTL"
3197
3295
  }
3296
+ /** @enumType */
3297
+ export type DirectionWithLiterals = Direction | 'LTR' | 'RTL';
3198
3298
  export interface TableData {
3199
3299
  /** Styling for the table's container. */
3200
3300
  containerData?: PluginContainerData;
@@ -3232,9 +3332,11 @@ export declare enum VerticalAlignment {
3232
3332
  /** Bottom alignment */
3233
3333
  BOTTOM = "BOTTOM"
3234
3334
  }
3335
+ /** @enumType */
3336
+ export type VerticalAlignmentWithLiterals = VerticalAlignment | 'TOP' | 'MIDDLE' | 'BOTTOM';
3235
3337
  export interface CellStyle {
3236
3338
  /** Vertical alignment for the cell's text. */
3237
- verticalAlignment?: VerticalAlignment;
3339
+ verticalAlignment?: VerticalAlignmentWithLiterals;
3238
3340
  /**
3239
3341
  * Cell background color as a hexadecimal value.
3240
3342
  * @format COLOR_HEX
@@ -3273,6 +3375,8 @@ export declare enum NullValue {
3273
3375
  /** Null value. */
3274
3376
  NULL_VALUE = "NULL_VALUE"
3275
3377
  }
3378
+ /** @enumType */
3379
+ export type NullValueWithLiterals = NullValue | 'NULL_VALUE';
3276
3380
  /**
3277
3381
  * `ListValue` is a wrapper around a repeated field of values.
3278
3382
  *
@@ -3370,7 +3474,7 @@ export interface TextNodeStyle {
3370
3474
  }
3371
3475
  export interface Badge {
3372
3476
  /** Badge type. */
3373
- type?: Type;
3477
+ type?: TypeWithLiterals;
3374
3478
  /**
3375
3479
  * Badge text.
3376
3480
  * @maxLength 50
@@ -3387,6 +3491,8 @@ export declare enum Type {
3387
3491
  /** General badge type. */
3388
3492
  GENERAL = "GENERAL"
3389
3493
  }
3494
+ /** @enumType */
3495
+ export type TypeWithLiterals = Type | 'UNKNOWN_BADGE_TYPE' | 'URGENT' | 'INFO' | 'GENERAL';
3390
3496
  export interface EventUpdated {
3391
3497
  /** Event update timestamp in ISO UTC format. */
3392
3498
  timestamp?: Date | null;
@@ -3624,7 +3730,7 @@ export interface Asset {
3624
3730
  */
3625
3731
  instanceId?: string;
3626
3732
  /** An application state. */
3627
- state?: State;
3733
+ state?: StateWithLiterals;
3628
3734
  }
3629
3735
  export declare enum State {
3630
3736
  UNKNOWN = "UNKNOWN",
@@ -3633,6 +3739,8 @@ export declare enum State {
3633
3739
  PENDING = "PENDING",
3634
3740
  DEMO = "DEMO"
3635
3741
  }
3742
+ /** @enumType */
3743
+ export type StateWithLiterals = State | 'UNKNOWN' | 'ENABLED' | 'DISABLED' | 'PENDING' | 'DEMO';
3636
3744
  export interface SiteCreated {
3637
3745
  /**
3638
3746
  * A template identifier (empty if not created from a template).
@@ -3645,7 +3753,7 @@ export interface SiteCreated {
3645
3753
  */
3646
3754
  ownerId?: string;
3647
3755
  /** A context in which meta site was created. */
3648
- context?: SiteCreatedContext;
3756
+ context?: SiteCreatedContextWithLiterals;
3649
3757
  /**
3650
3758
  * A meta site id from which this site was created.
3651
3759
  *
@@ -3660,7 +3768,7 @@ export interface SiteCreated {
3660
3768
  */
3661
3769
  siteName?: string;
3662
3770
  /** A namespace. */
3663
- namespace?: Namespace;
3771
+ namespace?: NamespaceWithLiterals;
3664
3772
  }
3665
3773
  export declare enum SiteCreatedContext {
3666
3774
  /** A valid option, we don't expose all reasons why site might be created. */
@@ -3676,6 +3784,8 @@ export declare enum SiteCreatedContext {
3676
3784
  /** deprecated A meta site was created for Flash editor. */
3677
3785
  FLASH = "FLASH"
3678
3786
  }
3787
+ /** @enumType */
3788
+ export type SiteCreatedContextWithLiterals = SiteCreatedContext | 'OTHER' | 'FROM_TEMPLATE' | 'DUPLICATE_BY_SITE_TRANSFER' | 'DUPLICATE' | 'OLD_SITE_TRANSFER' | 'FLASH';
3679
3789
  export declare enum Namespace {
3680
3790
  UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
3681
3791
  /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
@@ -3754,6 +3864,8 @@ export declare enum Namespace {
3754
3864
  /** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
3755
3865
  STANDALONE_FORMS = "STANDALONE_FORMS"
3756
3866
  }
3867
+ /** @enumType */
3868
+ export type NamespaceWithLiterals = Namespace | 'UNKNOWN_NAMESPACE' | 'WIX' | 'SHOUT_OUT' | 'ALBUMS' | 'WIX_STORES_TEST_DRIVE' | 'HOTELS' | 'CLUBS' | 'ONBOARDING_DRAFT' | 'DEV_SITE' | 'LOGOS' | 'VIDEO_MAKER' | 'PARTNER_DASHBOARD' | 'DEV_CENTER_COMPANY' | 'HTML_DRAFT' | 'SITELESS_BUSINESS' | 'CREATOR_ECONOMY' | 'DASHBOARD_FIRST' | 'ANYWHERE' | 'HEADLESS' | 'ACCOUNT_MASTER_CMS' | 'RISE' | 'BRANDED_FIRST' | 'NOWNIA' | 'UGC_TEMPLATE' | 'CODUX' | 'MEDIA_DESIGN_CREATOR' | 'SHARED_BLOG_ENTERPRISE' | 'STANDALONE_FORMS';
3757
3869
  /** Site transferred to another user. */
3758
3870
  export interface SiteTransferred {
3759
3871
  /**
@@ -3776,7 +3888,7 @@ export interface DeleteContext {
3776
3888
  /** When the meta site was deleted. */
3777
3889
  dateDeleted?: Date | null;
3778
3890
  /** A status. */
3779
- deleteStatus?: DeleteStatus;
3891
+ deleteStatus?: DeleteStatusWithLiterals;
3780
3892
  /**
3781
3893
  * A reason (flow).
3782
3894
  * @maxLength 255
@@ -3795,6 +3907,8 @@ export declare enum DeleteStatus {
3795
3907
  PENDING_PURGE = "PENDING_PURGE",
3796
3908
  PURGED_EXTERNALLY = "PURGED_EXTERNALLY"
3797
3909
  }
3910
+ /** @enumType */
3911
+ export type DeleteStatusWithLiterals = DeleteStatus | 'UNKNOWN' | 'TRASH' | 'DELETED' | 'PENDING_PURGE' | 'PURGED_EXTERNALLY';
3798
3912
  /** Restoration of the meta site. */
3799
3913
  export interface SiteUndeleted {
3800
3914
  }
@@ -3896,9 +4010,9 @@ export interface SiteHardDeleted {
3896
4010
  }
3897
4011
  export interface NamespaceChanged {
3898
4012
  /** A previous namespace. */
3899
- oldNamespace?: Namespace;
4013
+ oldNamespace?: NamespaceWithLiterals;
3900
4014
  /** A new namespace. */
3901
- newNamespace?: Namespace;
4015
+ newNamespace?: NamespaceWithLiterals;
3902
4016
  }
3903
4017
  /** Assigned Studio editor */
3904
4018
  export interface StudioAssigned {
@@ -3916,7 +4030,7 @@ export interface GetTicketDefinitionFromTrashBinRequest {
3916
4030
  * Requested fields. Not implemented.
3917
4031
  * @maxSize 5
3918
4032
  */
3919
- fields?: Field[];
4033
+ fields?: FieldWithLiterals[];
3920
4034
  }
3921
4035
  export interface GetTicketDefinitionFromTrashBinResponse {
3922
4036
  /** The requested ticket definition. */
@@ -3967,7 +4081,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
3967
4081
  */
3968
4082
  appId?: string;
3969
4083
  /** @readonly */
3970
- identityType?: WebhookIdentityType;
4084
+ identityType?: WebhookIdentityTypeWithLiterals;
3971
4085
  }
3972
4086
  /** @oneof */
3973
4087
  export interface IdentificationDataIdOneOf {
@@ -3999,6 +4113,8 @@ export declare enum WebhookIdentityType {
3999
4113
  WIX_USER = "WIX_USER",
4000
4114
  APP = "APP"
4001
4115
  }
4116
+ /** @enumType */
4117
+ export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
4002
4118
  export interface GetTicketDefinitionSummaryRequest {
4003
4119
  /**
4004
4120
  * Ticket definition id.
@@ -4121,7 +4237,7 @@ export interface ReservationCreated {
4121
4237
  /** Reservation expiration timestamp. */
4122
4238
  expires?: Date | null;
4123
4239
  /** Reservation status. */
4124
- status?: ReservationStatus;
4240
+ status?: ReservationStatusWithLiterals;
4125
4241
  /**
4126
4242
  * Reservation ticket quantities.
4127
4243
  * @maxSize 50
@@ -4147,6 +4263,8 @@ export declare enum ReservationStatus {
4147
4263
  /** The reservation is expired. */
4148
4264
  RESERVATION_EXPIRED = "RESERVATION_EXPIRED"
4149
4265
  }
4266
+ /** @enumType */
4267
+ export type ReservationStatusWithLiterals = ReservationStatus | 'RESERVATION_PENDING' | 'RESERVATION_CONFIRMED' | 'RESERVATION_CANCELED' | 'RESERVATION_CANCELED_MANUALLY' | 'RESERVATION_EXPIRED';
4150
4268
  export interface TicketQuantity {
4151
4269
  /**
4152
4270
  * Ticket definition ID.
@@ -4188,7 +4306,7 @@ export interface ReservationUpdated {
4188
4306
  */
4189
4307
  reservationId?: string;
4190
4308
  /** Reservation status. */
4191
- status?: ReservationStatus;
4309
+ status?: ReservationStatusWithLiterals;
4192
4310
  /** Reservation expiration timestamp. */
4193
4311
  expires?: Date | null;
4194
4312
  /**