@wix/events 1.0.282 → 1.0.284

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.
@@ -1403,2221 +1403,2205 @@ declare enum EmailNotificationReminderTime {
1403
1403
  /** 30 minutes prior */
1404
1404
  BEFORE_30_MINUTES = "BEFORE_30_MINUTES"
1405
1405
  }
1406
- interface UpdatedWithPreviousEntity {
1407
- /** previous automation */
1408
- previousAutomation?: Automation;
1409
- /** updated automation */
1410
- currentAutomation?: Automation;
1406
+ interface TriggerNotificationRequest extends TriggerNotificationRequestNotificationOneOf, TriggerNotificationRequestGuestsOneOf {
1407
+ /** Email notification type */
1408
+ emailNotificationType?: EmailNotificationType;
1409
+ /** Push notification type */
1410
+ pushNotificationType?: PushNotificationType;
1411
+ /** Rsvp guest info */
1412
+ rsvpGuest?: RsvpGuest;
1413
+ /** Order guest info */
1414
+ orderGuest?: OrderGuest;
1415
+ /** Event guests info */
1416
+ eventGuests?: EventGuests;
1417
+ /** Ticket guests info */
1418
+ ticketGuest?: TicketGuest;
1411
1419
  }
1412
- interface Automation extends AutomationOriginInfoOneOf {
1413
- /** Application info */
1414
- applicationInfo?: ApplicationOrigin;
1415
- /** Preinstalled info */
1416
- preinstalledInfo?: PreinstalledOrigin;
1417
- /**
1418
- * Automation ID.
1419
- * @readonly
1420
- */
1421
- _id?: string | null;
1422
- /**
1423
- * Revision number, which increments by 1 each time the automation is updated.
1424
- * To prevent conflicting changes,
1425
- * the current revision must be passed when updating the automation.
1426
- *
1427
- * Ignored when creating an automation.
1428
- * @readonly
1429
- */
1430
- revision?: string | null;
1431
- /**
1432
- * Information about the creator of the automation.
1433
- * @readonly
1434
- */
1435
- createdBy?: AuditInfo;
1436
- /**
1437
- * Date and time the automation was created.
1438
- * @readonly
1439
- */
1440
- _createdDate?: Date;
1441
- /**
1442
- * The entity that last updated the automation.
1443
- * @readonly
1444
- */
1445
- updatedBy?: AuditInfo;
1446
- /**
1447
- * Date and time the automation was last updated.
1448
- * @readonly
1449
- */
1450
- _updatedDate?: Date;
1451
- /** Automation name that is displayed on the user's site. */
1452
- name?: string;
1453
- /** Automation description. */
1454
- description?: string | null;
1455
- /** Object that defines the automation's trigger, actions, and activation status. */
1456
- configuration?: AutomationConfiguration;
1457
- /** Defines how the automation was added to the site. */
1458
- origin?: Origin;
1459
- /** Automation settings. */
1460
- settings?: AutomationSettings;
1461
- /**
1462
- * Draft info (optional - only if the automation is a draft)
1463
- * @readonly
1464
- */
1465
- draftInfo?: DraftInfo;
1466
- /** Namespace */
1467
- namespace?: string | null;
1420
+ /** @oneof */
1421
+ interface TriggerNotificationRequestNotificationOneOf {
1422
+ /** Email notification type */
1423
+ emailNotificationType?: EmailNotificationType;
1424
+ /** Push notification type */
1425
+ pushNotificationType?: PushNotificationType;
1468
1426
  }
1469
1427
  /** @oneof */
1470
- interface AutomationOriginInfoOneOf {
1471
- /** Application info */
1472
- applicationInfo?: ApplicationOrigin;
1473
- /** Preinstalled info */
1474
- preinstalledInfo?: PreinstalledOrigin;
1428
+ interface TriggerNotificationRequestGuestsOneOf {
1429
+ /** Rsvp guest info */
1430
+ rsvpGuest?: RsvpGuest;
1431
+ /** Order guest info */
1432
+ orderGuest?: OrderGuest;
1433
+ /** Event guests info */
1434
+ eventGuests?: EventGuests;
1435
+ /** Ticket guests info */
1436
+ ticketGuest?: TicketGuest;
1475
1437
  }
1476
- interface ActionSettings {
1477
- /**
1478
- * List of actions that cannot be deleted.
1479
- * Default: Empty. All actions are deletable by default.
1480
- */
1481
- permanentActionIds?: string[];
1482
- /**
1483
- * List of actions that cannot be edited.
1484
- * Default: Empty. All actions are editable by default.
1485
- */
1486
- readonlyActionIds?: string[];
1487
- /** Whether the option to add a delay is disabled for the automation. */
1488
- disableDelayAddition?: boolean;
1489
- /** Whether the option to add a condition is disabled for the automation. */
1490
- disableConditionAddition?: boolean;
1438
+ declare enum PushNotificationType {
1439
+ /** This is default value. This value is unused. */
1440
+ UNKNOWN_PUSH_TYPE = "UNKNOWN_PUSH_TYPE",
1441
+ /** Triggered when event is updated. */
1442
+ PUSH_EVENT_UPDATED = "PUSH_EVENT_UPDATED",
1443
+ /** Triggered when event is canceled. */
1444
+ PUSH_EVENT_CANCELATION = "PUSH_EVENT_CANCELATION",
1445
+ /** Triggered before the event start time. */
1446
+ PUSH_UPCOMING_EVENT_REMINDER = "PUSH_UPCOMING_EVENT_REMINDER",
1447
+ /** Triggered when event is created. */
1448
+ PUSH_EVENT_CREATED = "PUSH_EVENT_CREATED"
1491
1449
  }
1492
- interface AuditInfo extends AuditInfoIdOneOf {
1493
- /** User ID. */
1494
- userId?: string;
1495
- /** Application ID. */
1496
- appId?: string;
1450
+ /** Single guest associated to the RSVP */
1451
+ interface RsvpGuest {
1452
+ /** Event id */
1453
+ eventId?: string;
1454
+ /** Rsvp id */
1455
+ rsvpId?: string;
1497
1456
  }
1498
- /** @oneof */
1499
- interface AuditInfoIdOneOf {
1500
- /** User ID. */
1501
- userId?: string;
1502
- /** Application ID. */
1503
- appId?: string;
1457
+ /** Single guest associated to the Order */
1458
+ interface OrderGuest {
1459
+ /** Event id */
1460
+ eventId?: string;
1461
+ /** Order number */
1462
+ orderNumber?: string;
1504
1463
  }
1505
- /** Automation runtime configuration */
1506
- interface AutomationConfiguration {
1507
- /** Status of the automation on the site. */
1508
- status?: Status$7;
1509
- /** Automation trigger configuration. */
1510
- trigger?: Trigger;
1511
- /** List of IDs of root actions. Root actions are the first actions to run after the trigger. The actions in the list run in parallel. */
1512
- rootActionIds?: string[];
1513
- /**
1514
- * Map of all actions that the automation may execute.
1515
- * The key is the action ID, and the value is the action configuration.
1516
- */
1517
- actions?: Record<string, Action>;
1464
+ /** All event guest from RSVPs and Orders */
1465
+ interface EventGuests {
1466
+ /** Event id */
1467
+ eventId?: string;
1518
1468
  }
1519
- declare enum TimeUnit {
1520
- UNKNOWN_TIME_UNIT = "UNKNOWN_TIME_UNIT",
1521
- MINUTES = "MINUTES",
1522
- HOURS = "HOURS",
1523
- DAYS = "DAYS",
1524
- WEEKS = "WEEKS",
1525
- MONTHS = "MONTHS"
1469
+ /** Multiple guests associated to Tickets */
1470
+ interface TicketGuest {
1471
+ /** Event id */
1472
+ eventId?: string;
1473
+ /** Order number */
1474
+ orderNumber?: string | null;
1475
+ /** Ticket numbers must be from the same order only. */
1476
+ ticketNumber?: string[];
1526
1477
  }
1527
- interface Filter {
1528
- /** Filter ID. */
1529
- _id?: string;
1530
- /** Field key from the payload schema, for example "formId". */
1531
- fieldKey?: string;
1532
- /** Filter expression that evaluates to a boolean. */
1533
- filterExpression?: string;
1478
+ interface TriggerNotificationResponse {
1534
1479
  }
1535
- interface FutureDateActivationOffset {
1536
- /**
1537
- * The offset value. The value is always taken as negative, so that the automation runs before the trigger date.
1538
- * To create an offset that causes the automation to run after the trigger date, use a delay action.
1539
- */
1540
- preScheduledEventOffsetExpression?: string;
1541
- /** Time unit for the scheduled event offset. */
1542
- scheduledEventOffsetTimeUnit?: TimeUnit;
1480
+ interface RsvpCreated$1 {
1481
+ /** RSVP created timestamp in ISO UTC format. */
1482
+ timestamp?: Date;
1483
+ /** Site language when RSVP created */
1484
+ language?: string | null;
1485
+ /** Notifications silenced for this domain event. */
1486
+ silent?: boolean | null;
1487
+ /** Event ID. */
1488
+ eventId?: string;
1489
+ /** RSVP ID. */
1490
+ rsvpId?: string;
1491
+ /** Contact ID associated with this RSVP. */
1492
+ contactId?: string;
1493
+ /** Member ID associated with this RSVP. */
1494
+ memberId?: string | null;
1495
+ /** Guest first name. */
1496
+ firstName?: string;
1497
+ /** Guest last name. */
1498
+ lastName?: string;
1499
+ /** Guest email. */
1500
+ email?: string;
1501
+ /** RSVP form response. */
1502
+ rsvpForm?: FormResponse$4;
1503
+ /** RSVP response status. */
1504
+ status?: RsvpStatus$2;
1505
+ /** List of all guests. */
1506
+ guests?: Guest$3[];
1507
+ /** URL and password to online conference */
1508
+ onlineConferencingLogin?: OnlineConferencingLogin$4;
1543
1509
  }
1544
- interface RateLimit {
1545
- /** Value expressing the maximum number of times the trigger can be activated. */
1546
- maxActivationsExpression?: string;
1547
- /** Duration of the rate limiting window in the selected time unit. If no value is set, the rate limit is permanent. */
1548
- durationExpression?: string | null;
1549
- /** Time unit for the rate limit duration. */
1550
- durationTimeUnit?: TimeUnit;
1551
- /** Unique identifier of each activation, by which rate limiter will count activations. */
1552
- uniqueIdentifierExpression?: string | null;
1510
+ interface FormResponse$4 {
1511
+ inputValues?: InputValue$4[];
1553
1512
  }
1554
- interface ConditionExpressionGroup {
1555
- /** Expression group operator. */
1556
- operator?: Operator;
1557
- /** List of boolean expressions to be evaluated with the given operator. */
1558
- booleanExpressions?: string[];
1513
+ interface InputValue$4 {
1514
+ inputName?: string;
1515
+ value?: string;
1516
+ values?: string[];
1559
1517
  }
1560
- declare enum Operator {
1561
- UNKNOWN_OPERATOR = "UNKNOWN_OPERATOR",
1562
- OR = "OR",
1563
- AND = "AND"
1518
+ interface FormattedAddress$4 {
1519
+ /** One line address representation. */
1520
+ formatted?: string;
1521
+ /** Address components (optional). */
1522
+ address?: CommonAddress$2;
1564
1523
  }
1565
- declare enum Type$5 {
1566
- /** Automation will be triggered according to the trigger configuration */
1567
- UNKNOWN_ACTION_TYPE = "UNKNOWN_ACTION_TYPE",
1568
- /** App defined Action */
1569
- APP_DEFINED = "APP_DEFINED",
1570
- /** Condition Action */
1571
- CONDITION = "CONDITION",
1572
- /** Delay Action */
1573
- DELAY = "DELAY",
1574
- /** RateLimit Action */
1575
- RATE_LIMIT = "RATE_LIMIT",
1576
- /** Output Action */
1577
- OUTPUT = "OUTPUT"
1578
- }
1579
- interface AppDefinedAction {
1580
- /** ID of the app that defines the action. */
1581
- appId?: string;
1582
- /** Action key. */
1583
- actionKey?: string;
1584
- /** Action input mapping. */
1585
- inputMapping?: Record<string, any> | null;
1586
- /**
1587
- * Array of conditions determining whether to skip the action in the automation flow.
1588
- * The action will be skipped if any of the expression groups evaluate to `true`.
1589
- * Actions following a skipped action will still run.
1590
- */
1591
- skipConditionOrExpressionGroups?: ConditionExpressionGroup[];
1592
- /** List of IDs of actions to run in parallel once the action completes. */
1593
- postActionIds?: string[];
1594
- }
1595
- interface ConditionAction {
1596
- /** The condition evaluates to `true` if either of the expression groups evaluate to `true`. */
1597
- orExpressionGroups?: ConditionExpressionGroup[];
1598
- /** List of IDs of actions to run when the entire condition is evaluated to `true`. */
1599
- truePostActionIds?: string[];
1600
- /** List of IDs of actions to run when the entire condition is evaluated to `false`. */
1601
- falsePostActionIds?: string[];
1524
+ /** Physical address */
1525
+ interface CommonAddress$2 extends CommonAddressStreetOneOf$2 {
1526
+ /** Street name and number. */
1527
+ streetAddress?: CommonStreetAddress$2;
1528
+ /** Main address line, usually street and number as free text. */
1529
+ addressLine1?: string | null;
1530
+ /** Country code. */
1531
+ country?: string | null;
1532
+ /** Subdivision shorthand. Usually, a short code (2 or 3 letters) that represents a state, region, prefecture, or province. e.g. NY */
1533
+ subdivision?: string | null;
1534
+ /** City name. */
1535
+ city?: string | null;
1536
+ /** Zip/postal code. */
1537
+ postalCode?: string | null;
1538
+ /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
1539
+ addressLine2?: string | null;
1602
1540
  }
1603
- interface DelayAction {
1604
- /** Value expressing the amount of time to wait from a specific date or from the time the action is executed. */
1605
- offsetExpression?: string | null;
1606
- /** Time unit for delay offset. */
1607
- offsetTimeUnit?: TimeUnit;
1608
- /**
1609
- * The action due date. If defined without an offset, the automation will wait until this date to execute the next step.
1610
- * If an offset is defined, it's calculated from this date.
1611
- * The date is expressed in the number of milliseconds since the Unix Epoch (1 January, 1970 UTC).
1612
- */
1613
- dueDateEpochExpression?: string | null;
1614
- /** List of IDs of actions to run in parallel after the delay. */
1615
- postActionIds?: string[];
1541
+ /** @oneof */
1542
+ interface CommonAddressStreetOneOf$2 {
1543
+ /** Street name and number. */
1544
+ streetAddress?: CommonStreetAddress$2;
1545
+ /** Main address line, usually street and number as free text. */
1546
+ addressLine?: string | null;
1616
1547
  }
1617
- interface RateLimitAction {
1618
- /** The maximum number of activations allowed for the action. */
1619
- maxActivationsExpression?: string;
1620
- /**
1621
- * Duration of the rate limiting window, expressed in selected time unit.
1622
- * If no value is set, then there is no time limit on the rate limiter.
1623
- */
1624
- rateLimitDurationExpression?: string | null;
1625
- /** Time unit for the rate limit duration. */
1626
- rateLimitDurationTimeUnit?: TimeUnit;
1627
- /** Unique identifier of each activation by which rate limiter counts activations. */
1628
- uniqueIdentifierExpression?: string | null;
1629
- /** List of IDs of actions to run in parallel once the action completes. */
1630
- postActionIds?: string[];
1548
+ interface CommonStreetAddress$2 {
1549
+ /** Street number. */
1550
+ number?: string;
1551
+ /** Street name. */
1552
+ name?: string;
1631
1553
  }
1632
- interface OutputAction {
1633
- /** Output action output mapping. */
1634
- outputMapping?: Record<string, any> | null;
1554
+ interface CommonAddressLocation$2 {
1555
+ /** Address latitude. */
1556
+ latitude?: number | null;
1557
+ /** Address longitude. */
1558
+ longitude?: number | null;
1635
1559
  }
1636
- declare enum Status$7 {
1637
- /** unused */
1638
- UNKNOWN_STATUS = "UNKNOWN_STATUS",
1639
- /** Automation will be triggered according to the trigger configuration */
1640
- ACTIVE = "ACTIVE",
1641
- /** Automation will not be triggered */
1642
- INACTIVE = "INACTIVE"
1560
+ interface CommonSubdivision$2 {
1561
+ /** Short subdivision code. */
1562
+ code?: string;
1563
+ /** Subdivision full name. */
1564
+ name?: string;
1643
1565
  }
1644
- interface Trigger {
1645
- /** ID of the app that defines the trigger. */
1646
- appId?: string;
1647
- /** Trigger key. */
1648
- triggerKey?: string;
1649
- /**
1650
- * List of filters on schema fields.
1651
- * In order for the automation to run, all filter expressions must evaluate to `true` for a given payload.
1652
- */
1653
- filters?: Filter[];
1654
- /** Defines the time offset between the trigger date and when the automation runs. */
1655
- scheduledEventOffset?: FutureDateActivationOffset;
1656
- /** Limits the number of times an automation can be triggered. */
1657
- rateLimit?: RateLimit;
1658
- automationConfigMapping?: Record<string, any> | null;
1566
+ declare enum SubdivisionType$9 {
1567
+ UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
1568
+ /** State */
1569
+ ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
1570
+ /** County */
1571
+ ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
1572
+ /** City/town */
1573
+ ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
1574
+ /** Neighborhood/quarter */
1575
+ ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
1576
+ /** Street/block */
1577
+ ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
1578
+ /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
1579
+ COUNTRY = "COUNTRY"
1659
1580
  }
1660
- interface Action extends ActionInfoOneOf {
1661
- /** Action defined by an app (via RPC, HTTP or Velo). */
1662
- appDefinedInfo?: AppDefinedAction;
1663
- /** Condition action. */
1664
- conditionInfo?: ConditionAction;
1665
- /** Delay action. */
1666
- delayInfo?: DelayAction;
1667
- /** Rate-limiting action. */
1668
- rateLimitInfo?: RateLimitAction;
1669
- /** Action ID. If not specified, a new ID is generated. */
1670
- _id?: string | null;
1671
- /** Action type. */
1672
- type?: Type$5;
1673
- /**
1674
- * Human-readable name to differentiate the action from other actions of the same type.
1675
- * The name can contain only alphanumeric characters and underscores. If not provided, a namespace in the form `actionkey-indexOfAction` is
1676
- * generated automatically.
1677
- * If the action has output, the output will be available in the payload under this name.
1678
- * If the user has multiple actions with the same appId and actionKey, previous action output will be overwritten.
1679
- */
1680
- namespace?: string | null;
1581
+ /** Subdivision Concordance values */
1582
+ interface StandardDetails$4 {
1583
+ /** subdivision iso-3166-2 code according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). e.g. US-NY, GB-SCT, NO-30 */
1584
+ iso31662?: string | null;
1681
1585
  }
1682
- /** @oneof */
1683
- interface ActionInfoOneOf {
1684
- /** Action defined by an app (via RPC, HTTP or Velo). */
1685
- appDefinedInfo?: AppDefinedAction;
1686
- /** Condition action. */
1687
- conditionInfo?: ConditionAction;
1688
- /** Delay action. */
1689
- delayInfo?: DelayAction;
1690
- /** Rate-limiting action. */
1691
- rateLimitInfo?: RateLimitAction;
1586
+ declare enum RsvpStatus$2 {
1587
+ YES = "YES",
1588
+ NO = "NO",
1589
+ WAITING = "WAITING"
1692
1590
  }
1693
- declare enum Origin {
1694
- /** default value. this is unused */
1695
- UNKNOWN_ORIGIN = "UNKNOWN_ORIGIN",
1696
- /** user created automation */
1697
- USER = "USER",
1698
- /** automation created by application (site specific) */
1699
- APPLICATION = "APPLICATION",
1700
- /** preinstalled application automation */
1701
- PREINSTALLED = "PREINSTALLED"
1591
+ interface Guest$3 {
1592
+ /** Index in the RSVP guest list. */
1593
+ index?: number;
1594
+ /** Guest full name. */
1595
+ fullName?: string;
1596
+ /** Guest check-in. */
1597
+ checkIn?: CheckIn$3;
1598
+ /** Unique guest ID per RSVP. */
1599
+ _id?: number;
1702
1600
  }
1703
- interface ApplicationOrigin {
1704
- /** Application ID. */
1705
- appId?: string;
1601
+ interface CheckIn$3 {
1602
+ /** Time of check-in */
1603
+ created?: Date;
1706
1604
  }
1707
- interface PreinstalledOrigin {
1708
- /** ID of the app that defines the preinstalled automation. */
1709
- appId?: string;
1710
- /** Application component ID. */
1711
- componentId?: string;
1712
- /** Application component version. */
1713
- componentVersion?: number;
1605
+ interface OnlineConferencingLogin$4 {
1714
1606
  /**
1715
- * Whether the automation is an override automation. If the user modifies the preinstalled automation installed on their site, a site-specific
1716
- * automation is created that overrides the original one. If the user makes no modifications this boolean is set to `false` and the original
1717
- * preinstalled automation is used.
1718
- *
1719
- * Default: `false`
1607
+ * Link URL to the online conference.
1720
1608
  * @readonly
1721
1609
  */
1722
- override?: boolean | null;
1723
- }
1724
- interface AutomationSettings {
1725
- /**
1726
- * Whether the automation is hidden from users.
1727
- * Default: `false`
1728
- */
1729
- hidden?: boolean;
1730
- /**
1731
- * Whether the automation is read-only.
1732
- * Default: `false`
1733
- */
1734
- readonly?: boolean;
1735
- /**
1736
- * Whether the option to delete the automation from the site is disabled.
1737
- * Default: `false`
1738
- */
1739
- disableDelete?: boolean;
1740
- /**
1741
- * Whether the option to change the automation status (from active to inactive and vice versa) is disabled.
1742
- * Default: `false`
1743
- */
1744
- disableStatusChange?: boolean;
1745
- /** Automation action settings. */
1746
- actionSettings?: ActionSettings;
1747
- }
1748
- interface DraftInfo {
1610
+ link?: string;
1749
1611
  /**
1750
- * optional - automationId of the original automation
1612
+ * Password for the online conference.
1751
1613
  * @readonly
1752
1614
  */
1753
- originalAutomationId?: string | null;
1754
- }
1755
- interface DeletedWithEntity {
1756
- /** Deleted automation */
1757
- automation?: Automation;
1615
+ password?: string | null;
1758
1616
  }
1759
- interface GuestCountUpdated {
1760
- /** Guest. */
1761
- guest?: EventGuest;
1762
- /** Guest count updates. */
1763
- guestCountUpdates?: GuestCountUpdate[];
1617
+ interface Empty$5 {
1764
1618
  }
1765
- interface EventGuest {
1766
- /** Guest ID. */
1767
- _id?: string | null;
1768
- /** Event ID. */
1769
- eventId?: string | null;
1770
- /** RSVP ID. <br/> <br/> **Note:** Only applicable when `guestType` is `RSVP`. */
1771
- rsvpId?: string | null;
1772
- /** Order number. <br/> <br/> **Note:** Only applicable when `guestType` is `BUYER` or `TICKET_HOLDER`. */
1773
- orderNumber?: string | null;
1774
- /** Ticket number. <br/> <br/> **Note:** Only applicable when `guestType` is `TICKET_HOLDER`. */
1775
- ticketNumber?: string | null;
1776
- /** List of names, numbers, and definition IDs for each ticket. */
1777
- tickets?: TicketDetails$2[];
1778
- /** Guest's contact ID. See [Contacts API](https://dev.wix.com/api/rest/contacts/contacts/contacts-v4) for more details. */
1779
- contactId?: string | null;
1780
- /** Guest details. <br/> <br/> Returned only when the `guestDetails` fieldset is sent in the request. */
1781
- guestDetails?: GuestDetails$2;
1782
- /** Attendance status. The attendaces status updates based on status values in an RSVP object (for RSVP events) or in an Order object (for ticketed events). For more information read [this article](https://dev.wix.com/docs/rest/business-solutions/events/event-guests/guest-attendance-status-mapping). <br/> <br/> **Note:** For `guestType` `BUYER` or `TICKET_HOLDER` the `IN_WAITLIST` value is not applicable. */
1783
- attendanceStatus?: AttendanceStatus;
1784
- /** Secondary language code in [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. Used when the event ticket should be translated into another language. */
1785
- secondaryLanguageCode?: string | null;
1786
- /** Date and time the guest was created in `yyyy-mm-ddThh:mm:sssZ` format. */
1787
- _createdDate?: Date;
1788
- /** Date and time the guest was updated in `yyyy-mm-ddThh:mm:sssZ` format. */
1789
- _updatedDate?: Date;
1790
- /** Date and time of guest's latest attendance status update. */
1791
- attendanceStatusUpdatedDate?: Date;
1792
- /** Site member ID. */
1793
- memberId?: string | null;
1794
- /** Guest type: <br/> <br/> `RSVP`: An invited guest, no ticket necessary. <br/> <br/> `BUYER`: The guest who bought the tickets. <br/> <br/> `TICKET_HOLDER`: The guest for whom the ticket was bought. */
1795
- guestType?: GuestType;
1796
- /** Locale in [IETF BCP 47](https://en.wikipedia.org/wiki/IETF_language_tag) format. Used when the event date and time on a ticket should be formatted into another locale. */
1619
+ interface RsvpUpdated$1 {
1620
+ /** RSVP updated timestamp in ISO UTC format. */
1621
+ timestamp?: Date;
1622
+ /** Site language when RSVP created */
1623
+ language?: string | null;
1624
+ /** Locale in which Rsvp was created. */
1797
1625
  locale?: string | null;
1626
+ /** Event ID. */
1627
+ eventId?: string;
1628
+ /** RSVP ID. */
1629
+ rsvpId?: string;
1630
+ /** Contact ID associated with this RSVP. */
1631
+ contactId?: string;
1632
+ /** Member ID associated with this RSVP. */
1633
+ memberId?: string | null;
1634
+ /** RSVP created timestamp. */
1635
+ created?: Date;
1636
+ /** Guest first name. */
1637
+ firstName?: string;
1638
+ /** Guest last name. */
1639
+ lastName?: string;
1640
+ /** Guest email. */
1641
+ email?: string;
1642
+ /** RSVP form response. */
1643
+ rsvpForm?: FormResponse$4;
1644
+ /** RSVP response status. */
1645
+ status?: RsvpStatus$2;
1646
+ /** List of the guests. */
1647
+ guests?: Guest$3[];
1648
+ /** URL and password to online conference */
1649
+ onlineConferencingLogin?: OnlineConferencingLogin$4;
1650
+ /** Notifications silenced for this domain event. */
1651
+ silent?: boolean | null;
1652
+ }
1653
+ interface EventUpdated$3 {
1654
+ /** Event update timestamp in ISO UTC format. */
1655
+ timestamp?: Date;
1656
+ /** Event ID. */
1657
+ eventId?: string;
1658
+ /** Event location. */
1659
+ location?: Location$6;
1660
+ /** Event schedule configuration. */
1661
+ scheduleConfig?: ScheduleConfig$6;
1662
+ /** Event title. */
1663
+ title?: string;
1798
1664
  /**
1799
- * Number of current guest plus additional guests
1800
- * @readonly
1801
- */
1802
- totalGuests?: number | null;
1803
- /**
1804
- * Guest revision
1805
- * @readonly
1665
+ * Whether schedule configuration was updated.
1666
+ * @deprecated
1806
1667
  */
1807
- revision?: string | null;
1668
+ scheduleConfigUpdated?: boolean;
1669
+ /** Updated event */
1670
+ event?: Event$4;
1808
1671
  }
1809
- interface TicketDetails$2 {
1810
- /** Ticket number. */
1811
- number?: string;
1812
- /** Ticket definition ID. */
1813
- definitionId?: string | null;
1814
- /** Ticket name. */
1672
+ interface Location$6 {
1673
+ /** Location name. */
1815
1674
  name?: string | null;
1816
- }
1817
- interface TicketGuestDetails {
1818
- /** The login details for the guest to access the online conference event. */
1819
- onlineConferencingLogin?: OnlineConferencingLogin$4;
1820
- /** First name. */
1821
- firstName?: string | null;
1822
- /** Last name. */
1823
- lastName?: string | null;
1824
- }
1825
- interface OnlineConferencingLogin$4 {
1675
+ /** Location map coordinates. */
1676
+ coordinates?: MapCoordinates$6;
1677
+ /** Single line address representation. */
1678
+ address?: string | null;
1679
+ /** Location type. */
1680
+ type?: LocationType$6;
1826
1681
  /**
1827
- * Link URL to the online conference.
1828
- * @readonly
1682
+ * Full address derived from formatted single line `address`.
1683
+ * When `full_address` is used to create or update the event, deprecated `address` and `coordinates` are ignored.
1684
+ * If provided `full_address` has empty `formatted_address` or `coordinates`, it will be auto-completed using Atlas service.
1685
+ *
1686
+ * Migration notes:
1687
+ * - `full_address.formatted_address` is equivalent to `address`.
1688
+ * - `full_address.geocode` is equivalent to `coordinates`.
1829
1689
  */
1830
- link?: string;
1690
+ fullAddress?: Address$9;
1831
1691
  /**
1832
- * Password for the online conference.
1833
- * @readonly
1692
+ * Defines event location as TBD (To Be Determined).
1693
+ * When event location is not yet defined, `name` is displayed instead of location address.
1694
+ * `coordinates`, `address`, `type` and `full_address` are not required when location is TBD.
1834
1695
  */
1835
- password?: string | null;
1836
- }
1837
- interface GuestDetails$2 {
1838
- /** Email. */
1839
- email?: string | null;
1840
- /** First name. */
1841
- firstName?: string | null;
1842
- /** Last name. */
1843
- lastName?: string | null;
1844
- /** Form response. */
1845
- formResponse?: FormResponse$4;
1846
- /** Whether the guest has checked into the event. */
1847
- checkedIn?: boolean;
1848
- /** The login details for the guest to access the online conference event. */
1849
- onlineConferencingLogin?: OnlineConferencingLogin$4;
1850
- }
1851
- interface FormResponse$4 {
1852
- inputValues?: InputValue$4[];
1696
+ tbd?: boolean | null;
1853
1697
  }
1854
- interface InputValue$4 {
1855
- inputName?: string;
1856
- value?: string;
1857
- values?: string[];
1698
+ interface MapCoordinates$6 {
1699
+ /** Latitude. */
1700
+ lat?: number;
1701
+ /** Longitude. */
1702
+ lng?: number;
1858
1703
  }
1859
- interface FormattedAddress$4 {
1860
- /** One line address representation. */
1861
- formatted?: string;
1862
- /** Address components (optional). */
1863
- address?: CommonAddress$2;
1704
+ declare enum LocationType$6 {
1705
+ VENUE = "VENUE",
1706
+ ONLINE = "ONLINE"
1864
1707
  }
1865
1708
  /** Physical address */
1866
- interface CommonAddress$2 extends CommonAddressStreetOneOf$2 {
1867
- /** Street name and number. */
1868
- streetAddress?: CommonStreetAddress$2;
1869
- /** Main address line, usually street and number as free text. */
1709
+ interface Address$9 extends AddressStreetOneOf$9 {
1710
+ /** a break down of the street to number and street name */
1711
+ streetAddress?: StreetAddress$9;
1712
+ /** Main address line (usually street and number) as free text */
1870
1713
  addressLine1?: string | null;
1871
- /** Country code. */
1714
+ /** country code */
1872
1715
  country?: string | null;
1873
- /** Subdivision shorthand. Usually, a short code (2 or 3 letters) that represents a state, region, prefecture, or province. e.g. NY */
1716
+ /** subdivision (usually state or region) code according to ISO 3166-2 */
1874
1717
  subdivision?: string | null;
1875
- /** City name. */
1718
+ /** city name */
1876
1719
  city?: string | null;
1877
- /** Zip/postal code. */
1720
+ /** zip/postal code */
1878
1721
  postalCode?: string | null;
1879
- /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
1722
+ /** Free text providing more detailed address info. Usually contains Apt, Suite, Floor */
1880
1723
  addressLine2?: string | null;
1724
+ /** A string containing the human-readable address of this location */
1725
+ formatted?: string | null;
1726
+ /** coordinates of the physical address */
1727
+ location?: AddressLocation$9;
1881
1728
  }
1882
1729
  /** @oneof */
1883
- interface CommonAddressStreetOneOf$2 {
1884
- /** Street name and number. */
1885
- streetAddress?: CommonStreetAddress$2;
1886
- /** Main address line, usually street and number as free text. */
1730
+ interface AddressStreetOneOf$9 {
1731
+ /** a break down of the street to number and street name */
1732
+ streetAddress?: StreetAddress$9;
1733
+ /** Main address line (usually street and number) as free text */
1887
1734
  addressLine?: string | null;
1888
1735
  }
1889
- interface CommonStreetAddress$2 {
1890
- /** Street number. */
1736
+ interface StreetAddress$9 {
1737
+ /** street number */
1891
1738
  number?: string;
1892
- /** Street name. */
1739
+ /** street name */
1893
1740
  name?: string;
1894
1741
  }
1895
- interface CommonAddressLocation$2 {
1896
- /** Address latitude. */
1742
+ interface AddressLocation$9 {
1743
+ /** address latitude coordinates */
1897
1744
  latitude?: number | null;
1898
- /** Address longitude. */
1745
+ /** address longitude coordinates */
1899
1746
  longitude?: number | null;
1900
1747
  }
1901
- interface CommonSubdivision$2 {
1902
- /** Short subdivision code. */
1748
+ interface Subdivision$9 {
1749
+ /** subdivision short code */
1903
1750
  code?: string;
1904
- /** Subdivision full name. */
1751
+ /** subdivision full-name */
1905
1752
  name?: string;
1906
1753
  }
1907
- declare enum SubdivisionType$9 {
1908
- UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
1909
- /** State */
1910
- ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
1911
- /** County */
1912
- ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
1913
- /** City/town */
1914
- ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
1915
- /** Neighborhood/quarter */
1916
- ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
1917
- /** Street/block */
1918
- ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
1919
- /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
1920
- COUNTRY = "COUNTRY"
1921
- }
1922
- /** Subdivision Concordance values */
1923
- interface StandardDetails$4 {
1924
- /** subdivision iso-3166-2 code according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). e.g. US-NY, GB-SCT, NO-30 */
1925
- iso31662?: string | null;
1926
- }
1927
- declare enum AttendanceStatus {
1928
- /** Not attending. */
1929
- NOT_ATTENDING = "NOT_ATTENDING",
1930
- /** Attending. */
1931
- ATTENDING = "ATTENDING",
1932
- /** In a waiting list. */
1933
- IN_WAITLIST = "IN_WAITLIST"
1754
+ interface ScheduleConfig$6 {
1755
+ /**
1756
+ * Defines event as TBD (To Be Determined) schedule.
1757
+ * When event time is not yet defined, TBD message is displayed instead of event start and end times.
1758
+ * `startDate`, `endDate` and `timeZoneId` are not required when schedule is TBD.
1759
+ */
1760
+ scheduleTbd?: boolean;
1761
+ /** TBD message. */
1762
+ scheduleTbdMessage?: string | null;
1763
+ /** Event start timestamp. */
1764
+ startDate?: Date;
1765
+ /** Event end timestamp. */
1766
+ endDate?: Date;
1767
+ /** Event time zone ID in TZ database format, e.g., `EST`, `America/Los_Angeles`. */
1768
+ timeZoneId?: string | null;
1769
+ /** Whether end date is hidden in the formatted schedule. */
1770
+ endDateHidden?: boolean;
1771
+ /** Whether time zone is displayed in formatted schedule. */
1772
+ showTimeZone?: boolean;
1773
+ /** Event recurrences. */
1774
+ recurrences?: Recurrences$6;
1934
1775
  }
1935
- declare enum GuestType {
1936
- /** Rsvp guest. */
1776
+ interface Recurrences$6 {
1777
+ /** Event occurrences. */
1778
+ occurrences?: Occurrence$6[];
1779
+ /**
1780
+ * Recurring event category ID.
1781
+ * @readonly
1782
+ */
1783
+ categoryId?: string | null;
1784
+ /**
1785
+ * Recurrence status.
1786
+ * @readonly
1787
+ */
1788
+ status?: RecurrenceStatusStatus$1;
1789
+ }
1790
+ interface Occurrence$6 {
1791
+ /** Event start timestamp. */
1792
+ startDate?: Date;
1793
+ /** Event end timestamp. */
1794
+ endDate?: Date;
1795
+ /** Event time zone ID in TZ database format, e.g., `EST`, `America/Los_Angeles`. */
1796
+ timeZoneId?: string | null;
1797
+ /** Whether time zone is displayed in formatted schedule. */
1798
+ showTimeZone?: boolean;
1799
+ }
1800
+ declare enum RecurrenceStatusStatus$1 {
1801
+ /** Event occurs only once. */
1802
+ ONE_TIME = "ONE_TIME",
1803
+ /** Event is recurring. */
1804
+ RECURRING = "RECURRING",
1805
+ /** Marks the next upcoming occurrence of the recurring event. */
1806
+ RECURRING_NEXT = "RECURRING_NEXT",
1807
+ /** Marks the most recent ended occurrence of the recurring event. */
1808
+ RECURRING_LAST_ENDED = "RECURRING_LAST_ENDED",
1809
+ /** Marks the most recent canceled occurrence of the recurring event. */
1810
+ RECURRING_LAST_CANCELED = "RECURRING_LAST_CANCELED"
1811
+ }
1812
+ interface Event$4 {
1813
+ /**
1814
+ * Event ID.
1815
+ * @readonly
1816
+ */
1817
+ _id?: string;
1818
+ /** Event location. */
1819
+ location?: Location$6;
1820
+ /** Event scheduling. */
1821
+ scheduling?: Scheduling$4;
1822
+ /** Event title. */
1823
+ title?: string;
1824
+ /** Event description. */
1825
+ description?: string;
1826
+ /** Rich-text content displayed in Wix UI - "About Event" section (HTML). */
1827
+ about?: string;
1828
+ /** Main event image. */
1829
+ mainImage?: string;
1830
+ /** Event slug URL (generated from event title). */
1831
+ slug?: string;
1832
+ /** ISO 639-1 language code of the event (used in content translations). */
1833
+ language?: string;
1834
+ /** Event creation timestamp. */
1835
+ created?: Date;
1836
+ /** Event modified timestamp. */
1837
+ modified?: Date;
1838
+ /** Event status. */
1839
+ status?: EventStatus$6;
1840
+ /** RSVP or ticketing registration details. */
1841
+ registration?: Registration$4;
1842
+ /** "Add to calendar" URLs. */
1843
+ calendarLinks?: CalendarLinks$6;
1844
+ /** Event page URL components. */
1845
+ eventPageUrl?: SiteUrl$4;
1846
+ /** Event registration form. */
1847
+ form?: Form$4;
1848
+ /** Event dashboard summary of RSVP / ticket sales. */
1849
+ dashboard?: Dashboard$6;
1850
+ /** Instance ID of the site where event is hosted. */
1851
+ instanceId?: string;
1852
+ /** Guest list configuration. */
1853
+ guestListConfig?: GuestListConfig$4;
1854
+ /** Event creator user ID. */
1855
+ userId?: string;
1856
+ /** Event discussion feed. For internal use. */
1857
+ feed?: Feed$4;
1858
+ /** Online conferencing details. */
1859
+ onlineConferencing?: OnlineConferencing$4;
1860
+ /** SEO settings. */
1861
+ seoSettings?: SeoSettings$4;
1862
+ /** Assigned contacts label key. */
1863
+ assignedContactsLabel?: string | null;
1864
+ /** Agenda details. */
1865
+ agenda?: Agenda$4;
1866
+ /** Categories this event is assigned to. */
1867
+ categories?: Category$5[];
1868
+ /** Visual settings for event. */
1869
+ eventDisplaySettings?: EventDisplaySettings$4;
1870
+ }
1871
+ interface Scheduling$4 {
1872
+ /** Schedule configuration. */
1873
+ config?: ScheduleConfig$6;
1874
+ /** Formatted schedule representation. */
1875
+ formatted?: string;
1876
+ /** Formatted start date of the event (empty for TBD schedules). */
1877
+ startDateFormatted?: string;
1878
+ /** Formatted start time of the event (empty for TBD schedules). */
1879
+ startTimeFormatted?: string;
1880
+ /** Formatted end date of the event (empty for TBD schedules or when end date is hidden). */
1881
+ endDateFormatted?: string;
1882
+ /** Formatted end time of the event (empty for TBD schedules or when end date is hidden). */
1883
+ endTimeFormatted?: string;
1884
+ }
1885
+ declare enum EventStatus$6 {
1886
+ /** Event is public and scheduled to start */
1887
+ SCHEDULED = "SCHEDULED",
1888
+ /** Event has started */
1889
+ STARTED = "STARTED",
1890
+ /** Event has ended */
1891
+ ENDED = "ENDED",
1892
+ /** Event was canceled */
1893
+ CANCELED = "CANCELED",
1894
+ /** Event is not public and needs to be published */
1895
+ DRAFT = "DRAFT"
1896
+ }
1897
+ interface Registration$4 {
1898
+ /** Event type. */
1899
+ type?: EventType$4;
1900
+ /** Event registration status. */
1901
+ status?: RegistrationStatus$4;
1902
+ /** RSVP collection details. */
1903
+ rsvpCollection?: RsvpCollection$4;
1904
+ /** Ticketing details. */
1905
+ ticketing?: Ticketing$4;
1906
+ /** External registration details. */
1907
+ external?: ExternalEvent$4;
1908
+ /** Types of users allowed to register. */
1909
+ restrictedTo?: VisitorType$4;
1910
+ /** Initial event type which was set when creating an event. */
1911
+ initialType?: EventType$4;
1912
+ }
1913
+ declare enum EventType$4 {
1914
+ /** Type not available for this request fieldset */
1915
+ NA_EVENT_TYPE = "NA_EVENT_TYPE",
1916
+ /** Registration via RSVP */
1937
1917
  RSVP = "RSVP",
1938
- /** Buyer guest. */
1939
- BUYER = "BUYER",
1940
- /** Ticket holder guest. */
1941
- TICKET_HOLDER = "TICKET_HOLDER"
1918
+ /** Registration via ticket purchase */
1919
+ TICKETS = "TICKETS",
1920
+ /** External registration */
1921
+ EXTERNAL = "EXTERNAL",
1922
+ /** Registration not available */
1923
+ NO_REGISTRATION = "NO_REGISTRATION"
1942
1924
  }
1943
- interface GuestCountUpdate {
1944
- /** Attendance status. */
1945
- attendanceStatus?: AttendanceStatus;
1946
- /** Total guest count change. */
1947
- totalGuestsDelta?: number;
1948
- /** Guest count change. */
1949
- countDelta?: number;
1925
+ declare enum RegistrationStatus$4 {
1926
+ /** Registration status is not applicable */
1927
+ NA_REGISTRATION_STATUS = "NA_REGISTRATION_STATUS",
1928
+ /** Registration to event is closed */
1929
+ CLOSED = "CLOSED",
1930
+ /** Registration to event is closed manually */
1931
+ CLOSED_MANUALLY = "CLOSED_MANUALLY",
1932
+ /** Registration is open via RSVP */
1933
+ OPEN_RSVP = "OPEN_RSVP",
1934
+ /** Registration to event waitlist is open via RSVP */
1935
+ OPEN_RSVP_WAITLIST = "OPEN_RSVP_WAITLIST",
1936
+ /** Registration is open via ticket purchase */
1937
+ OPEN_TICKETS = "OPEN_TICKETS",
1938
+ /** Registration is open via external URL */
1939
+ OPEN_EXTERNAL = "OPEN_EXTERNAL",
1940
+ /** Registration will be open via RSVP */
1941
+ SCHEDULED_RSVP = "SCHEDULED_RSVP"
1950
1942
  }
1951
- interface MemberEventStatusUpdated {
1952
- /** Event id. */
1953
- eventId?: string | null;
1954
- /** Member id. */
1955
- memberId?: string | null;
1956
- /** Member event status. */
1957
- status?: MemberEventStatusUpdatedEventType;
1943
+ interface RsvpCollection$4 {
1944
+ /** RSVP collection configuration. */
1945
+ config?: RsvpCollectionConfig$4;
1958
1946
  }
1959
- declare enum MemberEventStatusUpdatedEventType {
1947
+ interface RsvpCollectionConfig$4 {
1948
+ /** Defines the supported RSVP statuses. */
1949
+ rsvpStatusOptions?: RsvpStatusOptions$4;
1960
1950
  /**
1961
- * Every time a guest with specified member ID is added to the event.
1962
- * This event can also be fired if existing guest changed member ID.
1951
+ * Total guest limit available to register to the event.
1952
+ * Additional guests per RSVP are counted towards total guests.
1963
1953
  */
1964
- MEMBER_JOINED = "MEMBER_JOINED",
1954
+ limit?: number | null;
1955
+ /** Whether a waitlist is opened when total guest limit is reached, allowing guests to create RSVP with WAITING RSVP status. */
1956
+ waitlist?: boolean;
1957
+ /** Registration start timestamp. */
1958
+ startDate?: Date;
1959
+ /** Registration end timestamp. */
1960
+ endDate?: Date;
1961
+ }
1962
+ declare enum RsvpStatusOptions$4 {
1963
+ /** Only YES RSVP status is available for RSVP registration */
1964
+ YES_ONLY = "YES_ONLY",
1965
+ /** YES and NO RSVP status options are available for the registration */
1966
+ YES_AND_NO = "YES_AND_NO"
1967
+ }
1968
+ interface Ticketing$4 {
1965
1969
  /**
1966
- * Every time a guest with specified member ID is removed from the event.
1967
- * This event can also be fired if existing guest changed member ID.
1970
+ * Deprecated.
1971
+ * @deprecated
1968
1972
  */
1969
- MEMBER_LEFT = "MEMBER_LEFT",
1973
+ lowestPrice?: string | null;
1970
1974
  /**
1971
- * Every time a guest with specified member ID and status ATTENDING is added to the event.
1972
- * This event can also be fired if existing guest changed member ID or status to ATTENDING.
1975
+ * Deprecated.
1976
+ * @deprecated
1973
1977
  */
1974
- ATTENDING_MEMBER_JOINED = "ATTENDING_MEMBER_JOINED",
1978
+ highestPrice?: string | null;
1979
+ /** Currency used in event transactions. */
1980
+ currency?: string | null;
1981
+ /** Ticketing configuration. */
1982
+ config?: TicketingConfig$4;
1975
1983
  /**
1976
- * Once last guest with specified member ID is removed from the event or status became not ATTENDING.
1977
- * Once this is fired there are no more attending guests with specified member ID in the event.
1978
- * This event can also be fired if existing guest changed their member ID or status to not ATTENDING.
1984
+ * Price of lowest priced ticket.
1985
+ * @readonly
1979
1986
  */
1980
- LAST_ATTENDING_MEMBER_LEFT = "LAST_ATTENDING_MEMBER_LEFT"
1981
- }
1982
- interface ContactEventStatusUpdated {
1983
- /** Event id. */
1984
- eventId?: string | null;
1985
- /** Contact id. */
1986
- contactId?: string | null;
1987
- /** Contact event status. */
1988
- status?: ContactEventStatusUpdatedEventType;
1989
- }
1990
- declare enum ContactEventStatusUpdatedEventType {
1987
+ lowestTicketPrice?: Money$7;
1991
1988
  /**
1992
- * Every time a guest with specified contact ID is added to the event.
1993
- * This event can also be fired if existing guest changed contact ID.
1989
+ * Price of highest priced ticket.
1990
+ * @readonly
1994
1991
  */
1995
- CONTACT_JOINED = "CONTACT_JOINED",
1992
+ highestTicketPrice?: Money$7;
1996
1993
  /**
1997
- * Every time a guest with specified contact ID is removed from the event.
1998
- * This event can also be fired if existing guest changed contact ID.
1994
+ * Formatted price of lowest priced ticket.
1995
+ * @readonly
1999
1996
  */
2000
- CONTACT_LEFT = "CONTACT_LEFT",
1997
+ lowestTicketPriceFormatted?: string | null;
2001
1998
  /**
2002
- * Once last guest with specified contact ID is removed from the event.
2003
- * Once this is fired there are no more guests with specified contact ID in the event.
2004
- * This event can also be fired if existing guest changed their contact ID.
1999
+ * Formatted price of highest priced ticket.
2000
+ * @readonly
2005
2001
  */
2006
- LAST_CONTACT_LEFT = "LAST_CONTACT_LEFT"
2007
- }
2008
- interface NotifyGuestAction {
2009
- /** Event guest. */
2010
- guest?: EventGuest;
2011
- /** Task context. */
2012
- taskContext?: TaskContext;
2013
- }
2014
- interface TaskContext {
2015
- /** Task id. */
2016
- _id?: string | null;
2017
- /** Notify action type */
2018
- type?: NotifyActionType;
2019
- }
2020
- declare enum NotifyActionType {
2021
- UNKNOWN = "UNKNOWN",
2022
- EMAIL = "EMAIL",
2023
- AUTOMATION_TRIGGER = "AUTOMATION_TRIGGER",
2024
- PUSH = "PUSH"
2025
- }
2026
- interface UnprocessedTargetEvent {
2027
- /** The target that was not marked as processed */
2028
- target?: Target$1;
2029
- }
2030
- interface Target$1 {
2031
- /** Unique identifier of the target with pattern `id_tag_value[type]`, for example 'com.wixpress.myproto[wix_proto_bundle_export]`` */
2032
- _id?: string | null;
2033
- /** The unique location of the target in Bazel notation i.e @repo//path/to/target:target_name */
2034
- location?: string | null;
2035
- /** The combined digest of all files within the target */
2036
- combinedDigest?: string | null;
2037
- /** The vcs commit timestamp of the target in milliseconds */
2038
- commitTimestamp?: string | null;
2039
- /** The type of the target */
2040
- type?: TargetType;
2002
+ highestTicketPriceFormatted?: string | null;
2041
2003
  /**
2042
- * The target's id tag value in Bazel, uniquness is not guaranteed
2043
- * i.e for a tag "businessSchemaIndexerId=com.wixpress.myproto" the value is "com.wixpress.myproto"
2004
+ * Whether all tickets are sold for this event.
2005
+ * @readonly
2044
2006
  */
2045
- idTagValue?: string | null;
2046
- files?: File$1[];
2007
+ soldOut?: boolean | null;
2047
2008
  }
2048
- declare enum TargetType {
2049
- NONE = "NONE",
2050
- WIX_PROTO_BUNDLE_EXPORT = "WIX_PROTO_BUNDLE_EXPORT",
2051
- WIX_APPENDIX_BUNDLE_EXPORT = "WIX_APPENDIX_BUNDLE_EXPORT",
2052
- WIX_API_REGISTRY_INFO_EXPORT = "WIX_API_REGISTRY_INFO_EXPORT"
2009
+ interface TicketingConfig$4 {
2010
+ /** Whether the form must be filled out separately for each ticket. */
2011
+ guestAssignedTickets?: boolean;
2012
+ /** Tax configuration. */
2013
+ taxConfig?: TaxConfig$4;
2014
+ /** Limit of tickets that can be purchased per order, default 20. */
2015
+ ticketLimitPerOrder?: number;
2016
+ /** Duration for which the tickets being bought are reserved. */
2017
+ reservationDurationInMinutes?: number | null;
2053
2018
  }
2054
- interface File$1 {
2055
- /** The name of the file including path relative to its source repo, i.e src/main/java/com/wixpress/MyClass.java */
2019
+ interface TaxConfig$4 {
2020
+ /** Tax application settings. */
2021
+ type?: TaxType$5;
2022
+ /** Tax name. */
2056
2023
  name?: string | null;
2057
- /** The URI of the file */
2058
- uri?: string | null;
2059
- /** The digest of the file */
2060
- digest?: string | null;
2061
- /** The size of the file in bytes */
2062
- sizeInBytes?: string | null;
2063
- }
2064
- interface TriggerNotificationRequest extends TriggerNotificationRequestNotificationOneOf, TriggerNotificationRequestGuestsOneOf {
2065
- /** Email notification type */
2066
- emailNotificationType?: EmailNotificationType;
2067
- /** Push notification type */
2068
- pushNotificationType?: PushNotificationType;
2069
- /** Rsvp guest info */
2070
- rsvpGuest?: RsvpGuest;
2071
- /** Order guest info */
2072
- orderGuest?: OrderGuest;
2073
- /** Event guests info */
2074
- eventGuests?: EventGuests;
2075
- /** Ticket guests info */
2076
- ticketGuest?: TicketGuest;
2077
- }
2078
- /** @oneof */
2079
- interface TriggerNotificationRequestNotificationOneOf {
2080
- /** Email notification type */
2081
- emailNotificationType?: EmailNotificationType;
2082
- /** Push notification type */
2083
- pushNotificationType?: PushNotificationType;
2084
- }
2085
- /** @oneof */
2086
- interface TriggerNotificationRequestGuestsOneOf {
2087
- /** Rsvp guest info */
2088
- rsvpGuest?: RsvpGuest;
2089
- /** Order guest info */
2090
- orderGuest?: OrderGuest;
2091
- /** Event guests info */
2092
- eventGuests?: EventGuests;
2093
- /** Ticket guests info */
2094
- ticketGuest?: TicketGuest;
2095
- }
2096
- declare enum PushNotificationType {
2097
- /** This is default value. This value is unused. */
2098
- UNKNOWN_PUSH_TYPE = "UNKNOWN_PUSH_TYPE",
2099
- /** Triggered when event is updated. */
2100
- PUSH_EVENT_UPDATED = "PUSH_EVENT_UPDATED",
2101
- /** Triggered when event is canceled. */
2102
- PUSH_EVENT_CANCELATION = "PUSH_EVENT_CANCELATION",
2103
- /** Triggered before the event start time. */
2104
- PUSH_UPCOMING_EVENT_REMINDER = "PUSH_UPCOMING_EVENT_REMINDER",
2105
- /** Triggered when event is created. */
2106
- PUSH_EVENT_CREATED = "PUSH_EVENT_CREATED"
2107
- }
2108
- /** Single guest associated to the RSVP */
2109
- interface RsvpGuest {
2110
- /** Event id */
2111
- eventId?: string;
2112
- /** Rsvp id */
2113
- rsvpId?: string;
2114
- }
2115
- /** Single guest associated to the Order */
2116
- interface OrderGuest {
2117
- /** Event id */
2118
- eventId?: string;
2119
- /** Order number */
2120
- orderNumber?: string;
2121
- }
2122
- /** All event guest from RSVPs and Orders */
2123
- interface EventGuests {
2124
- /** Event id */
2125
- eventId?: string;
2126
- }
2127
- /** Multiple guests associated to Tickets */
2128
- interface TicketGuest {
2129
- /** Event id */
2130
- eventId?: string;
2131
- /** Order number */
2132
- orderNumber?: string | null;
2133
- /** Ticket numbers must be from the same order only. */
2134
- ticketNumber?: string[];
2135
- }
2136
- interface TriggerNotificationResponse {
2137
- }
2138
- interface RsvpCreated$1 {
2139
- /** RSVP created timestamp in ISO UTC format. */
2140
- timestamp?: Date;
2141
- /** Site language when RSVP created */
2142
- language?: string | null;
2143
- /** Notifications silenced for this domain event. */
2144
- silent?: boolean | null;
2145
- /** Event ID. */
2146
- eventId?: string;
2147
- /** RSVP ID. */
2148
- rsvpId?: string;
2149
- /** Contact ID associated with this RSVP. */
2150
- contactId?: string;
2151
- /** Member ID associated with this RSVP. */
2152
- memberId?: string | null;
2153
- /** Guest first name. */
2154
- firstName?: string;
2155
- /** Guest last name. */
2156
- lastName?: string;
2157
- /** Guest email. */
2158
- email?: string;
2159
- /** RSVP form response. */
2160
- rsvpForm?: FormResponse$4;
2161
- /** RSVP response status. */
2162
- status?: RsvpStatus$2;
2163
- /** List of all guests. */
2164
- guests?: Guest$3[];
2165
- /** URL and password to online conference */
2166
- onlineConferencingLogin?: OnlineConferencingLogin$4;
2167
- }
2168
- declare enum RsvpStatus$2 {
2169
- YES = "YES",
2170
- NO = "NO",
2171
- WAITING = "WAITING"
2172
- }
2173
- interface Guest$3 {
2174
- /** Index in the RSVP guest list. */
2175
- index?: number;
2176
- /** Guest full name. */
2177
- fullName?: string;
2178
- /** Guest check-in. */
2179
- checkIn?: CheckIn$3;
2180
- /** Unique guest ID per RSVP. */
2181
- _id?: number;
2182
- }
2183
- interface CheckIn$3 {
2184
- /** Time of check-in */
2185
- created?: Date;
2186
- }
2187
- interface Empty$5 {
2024
+ /** Tax rate (e.g.,`21.55`). */
2025
+ rate?: string | null;
2026
+ /** Applies taxes for donations, default true. */
2027
+ appliesToDonations?: boolean | null;
2188
2028
  }
2189
- interface RsvpUpdated$1 {
2190
- /** RSVP updated timestamp in ISO UTC format. */
2191
- timestamp?: Date;
2192
- /** Site language when RSVP created */
2193
- language?: string | null;
2194
- /** Locale in which Rsvp was created. */
2195
- locale?: string | null;
2196
- /** Event ID. */
2197
- eventId?: string;
2198
- /** RSVP ID. */
2199
- rsvpId?: string;
2200
- /** Contact ID associated with this RSVP. */
2201
- contactId?: string;
2202
- /** Member ID associated with this RSVP. */
2203
- memberId?: string | null;
2204
- /** RSVP created timestamp. */
2205
- created?: Date;
2206
- /** Guest first name. */
2207
- firstName?: string;
2208
- /** Guest last name. */
2209
- lastName?: string;
2210
- /** Guest email. */
2211
- email?: string;
2212
- /** RSVP form response. */
2213
- rsvpForm?: FormResponse$4;
2214
- /** RSVP response status. */
2215
- status?: RsvpStatus$2;
2216
- /** List of the guests. */
2217
- guests?: Guest$3[];
2218
- /** URL and password to online conference */
2219
- onlineConferencingLogin?: OnlineConferencingLogin$4;
2220
- /** Notifications silenced for this domain event. */
2221
- silent?: boolean | null;
2029
+ declare enum TaxType$5 {
2030
+ /** Tax is included in the ticket price. */
2031
+ INCLUDED = "INCLUDED",
2032
+ /** Tax is added to the order at the checkout. */
2033
+ ADDED = "ADDED",
2034
+ /** Tax is added to the final total at the checkout. */
2035
+ ADDED_AT_CHECKOUT = "ADDED_AT_CHECKOUT"
2222
2036
  }
2223
- interface EventUpdated$3 {
2224
- /** Event update timestamp in ISO UTC format. */
2225
- timestamp?: Date;
2226
- /** Event ID. */
2227
- eventId?: string;
2228
- /** Event location. */
2229
- location?: Location$6;
2230
- /** Event schedule configuration. */
2231
- scheduleConfig?: ScheduleConfig$6;
2232
- /** Event title. */
2233
- title?: string;
2037
+ interface Money$7 {
2234
2038
  /**
2235
- * Whether schedule configuration was updated.
2039
+ * *Deprecated:** Use `value` instead.
2236
2040
  * @deprecated
2237
2041
  */
2238
- scheduleConfigUpdated?: boolean;
2239
- /** Updated event */
2240
- event?: Event$4;
2042
+ amount?: string;
2043
+ /** ISO 4217 format of the currency e.g., `USD`. */
2044
+ currency?: string;
2045
+ /** Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99). Optionally, starts with a single (-), to indicate that the amount is negative. */
2046
+ value?: string | null;
2241
2047
  }
2242
- interface Location$6 {
2243
- /** Location name. */
2244
- name?: string | null;
2245
- /** Location map coordinates. */
2246
- coordinates?: MapCoordinates$6;
2247
- /** Single line address representation. */
2248
- address?: string | null;
2249
- /** Location type. */
2250
- type?: LocationType$6;
2251
- /**
2252
- * Full address derived from formatted single line `address`.
2253
- * When `full_address` is used to create or update the event, deprecated `address` and `coordinates` are ignored.
2254
- * If provided `full_address` has empty `formatted_address` or `coordinates`, it will be auto-completed using Atlas service.
2255
- *
2256
- * Migration notes:
2257
- * - `full_address.formatted_address` is equivalent to `address`.
2258
- * - `full_address.geocode` is equivalent to `coordinates`.
2259
- */
2260
- fullAddress?: Address$9;
2261
- /**
2262
- * Defines event location as TBD (To Be Determined).
2263
- * When event location is not yet defined, `name` is displayed instead of location address.
2264
- * `coordinates`, `address`, `type` and `full_address` are not required when location is TBD.
2265
- */
2266
- tbd?: boolean | null;
2048
+ interface ExternalEvent$4 {
2049
+ /** External event registration URL. */
2050
+ registration?: string;
2267
2051
  }
2268
- interface MapCoordinates$6 {
2269
- /** Latitude. */
2270
- lat?: number;
2271
- /** Longitude. */
2272
- lng?: number;
2052
+ declare enum VisitorType$4 {
2053
+ /** Site visitor (including member) */
2054
+ VISITOR = "VISITOR",
2055
+ /** Site member */
2056
+ MEMBER = "MEMBER",
2057
+ /** Site visitor or member */
2058
+ VISITOR_OR_MEMBER = "VISITOR_OR_MEMBER"
2273
2059
  }
2274
- declare enum LocationType$6 {
2275
- VENUE = "VENUE",
2276
- ONLINE = "ONLINE"
2060
+ interface CalendarLinks$6 {
2061
+ /** "Add to Google calendar" URL. */
2062
+ google?: string;
2063
+ /** "Download ICS calendar file" URL. */
2064
+ ics?: string;
2277
2065
  }
2278
- /** Physical address */
2279
- interface Address$9 extends AddressStreetOneOf$9 {
2280
- /** a break down of the street to number and street name */
2281
- streetAddress?: StreetAddress$9;
2282
- /** Main address line (usually street and number) as free text */
2283
- addressLine1?: string | null;
2284
- /** country code */
2285
- country?: string | null;
2286
- /** subdivision (usually state or region) code according to ISO 3166-2 */
2287
- subdivision?: string | null;
2288
- /** city name */
2289
- city?: string | null;
2290
- /** zip/postal code */
2291
- postalCode?: string | null;
2292
- /** Free text providing more detailed address info. Usually contains Apt, Suite, Floor */
2293
- addressLine2?: string | null;
2294
- /** A string containing the human-readable address of this location */
2295
- formatted?: string | null;
2296
- /** coordinates of the physical address */
2297
- location?: AddressLocation$9;
2066
+ /** Site URL components */
2067
+ interface SiteUrl$4 {
2068
+ /**
2069
+ * Base URL. For premium sites, this will be the domain.
2070
+ * For free sites, this would be site URL (e.g `mysite.wixsite.com/mysite`)
2071
+ */
2072
+ base?: string;
2073
+ /** The path to that page - e.g `/my-events/weekly-meetup-2` */
2074
+ path?: string;
2298
2075
  }
2299
- /** @oneof */
2300
- interface AddressStreetOneOf$9 {
2301
- /** a break down of the street to number and street name */
2302
- streetAddress?: StreetAddress$9;
2303
- /** Main address line (usually street and number) as free text */
2304
- addressLine?: string | null;
2076
+ /**
2077
+ * The form defines which elements are rendered in the Wix UI during the registration process (RSVP or checkout).
2078
+ * It also contains customizable messages and labels.
2079
+ *
2080
+ *
2081
+ * A form is an ordered list of controls (blocks), which accept guest information into a field input.
2082
+ *
2083
+ * Each control contains one or more nested inputs. For example, `Name` control has two inputs:
2084
+ * - First Name
2085
+ * - Last Name
2086
+ *
2087
+ * By default, name and email controls are always required and are pinned to the top of the form.
2088
+ */
2089
+ interface Form$4 {
2090
+ /** Nested fields as an ordered list. */
2091
+ controls?: InputControl$4[];
2092
+ /** Set of configured form messages. */
2093
+ messages?: FormMessages$4;
2305
2094
  }
2306
- interface StreetAddress$9 {
2307
- /** street number */
2308
- number?: string;
2309
- /** street name */
2095
+ /**
2096
+ * A block of nested fields.
2097
+ * Used to aggregate similar inputs like First Name and Last Name.
2098
+ */
2099
+ interface InputControl$4 {
2100
+ /** Field control type. */
2101
+ type?: InputControlType$4;
2102
+ /** Whether control is mandatory (such as name & email). When true, only label can be changed. */
2103
+ system?: boolean;
2104
+ /**
2105
+ * Deprecated: Use `id`.
2106
+ * @deprecated
2107
+ */
2310
2108
  name?: string;
2109
+ /** Child inputs. */
2110
+ inputs?: Input$4[];
2111
+ /**
2112
+ * Deprecated: use `inputs.label`.
2113
+ * @deprecated
2114
+ */
2115
+ label?: string;
2116
+ /** Field controls are sorted by this value in ascending order. */
2117
+ orderIndex?: number;
2118
+ /** Unique control ID. */
2119
+ _id?: string;
2120
+ /**
2121
+ * Whether input control is deleted.
2122
+ * @readonly
2123
+ */
2124
+ deleted?: boolean | null;
2311
2125
  }
2312
- interface AddressLocation$9 {
2313
- /** address latitude coordinates */
2314
- latitude?: number | null;
2315
- /** address longitude coordinates */
2316
- longitude?: number | null;
2126
+ declare enum InputControlType$4 {
2127
+ /** Single text value field. */
2128
+ INPUT = "INPUT",
2129
+ /** Single text value field. */
2130
+ TEXTAREA = "TEXTAREA",
2131
+ /** Single-choice field of predefined values. */
2132
+ DROPDOWN = "DROPDOWN",
2133
+ /** Single-choice field of predefined values. */
2134
+ RADIO = "RADIO",
2135
+ /** Multiple-choice field of predefined values. */
2136
+ CHECKBOX = "CHECKBOX",
2137
+ /** First and last name fields. */
2138
+ NAME = "NAME",
2139
+ /** Additional guests and respective guest names fields. */
2140
+ GUEST_CONTROL = "GUEST_CONTROL",
2141
+ /** Single-line address field. */
2142
+ ADDRESS_SHORT = "ADDRESS_SHORT",
2143
+ /** Full address field. */
2144
+ ADDRESS_FULL = "ADDRESS_FULL",
2145
+ /** Year, month and day fields. */
2146
+ DATE = "DATE"
2317
2147
  }
2318
- interface Subdivision$9 {
2319
- /** subdivision short code */
2320
- code?: string;
2321
- /** subdivision full-name */
2148
+ /** An input of one or multiple text values */
2149
+ interface Input$4 {
2150
+ /** Field name. */
2322
2151
  name?: string;
2323
- }
2324
- interface ScheduleConfig$6 {
2325
2152
  /**
2326
- * Defines event as TBD (To Be Determined) schedule.
2327
- * When event time is not yet defined, TBD message is displayed instead of event start and end times.
2328
- * `startDate`, `endDate` and `timeZoneId` are not required when schedule is TBD.
2153
+ * Deprecated: use `ValueType.TEXT_ARRAY`.
2154
+ * @deprecated
2329
2155
  */
2330
- scheduleTbd?: boolean;
2331
- /** TBD message. */
2332
- scheduleTbdMessage?: string | null;
2333
- /** Event start timestamp. */
2334
- startDate?: Date;
2335
- /** Event end timestamp. */
2336
- endDate?: Date;
2337
- /** Event time zone ID in TZ database format, e.g., `EST`, `America/Los_Angeles`. */
2338
- timeZoneId?: string | null;
2339
- /** Whether end date is hidden in the formatted schedule. */
2340
- endDateHidden?: boolean;
2341
- /** Whether time zone is displayed in formatted schedule. */
2342
- showTimeZone?: boolean;
2343
- /** Event recurrences. */
2344
- recurrences?: Recurrences$6;
2156
+ array?: boolean;
2157
+ /** Main field label */
2158
+ label?: string;
2159
+ /** Additional labels for multi-valued fields such as address. */
2160
+ additionalLabels?: Record<string, string>;
2161
+ /** Predefined choice options for fields, such as dropdown. */
2162
+ options?: string[];
2163
+ /** Whether field is mandatory. */
2164
+ mandatory?: boolean;
2165
+ /** Maximum number of accepted characters (relevant for text fields). */
2166
+ maxLength?: number;
2167
+ /**
2168
+ * Type which determines field format.
2169
+ * Used to validate submitted response.
2170
+ */
2171
+ type?: ValueType$4;
2172
+ /**
2173
+ * A maximum accepted values for array input.
2174
+ * Only applicable for inputs of valueType: TEXT_ARRAY.
2175
+ */
2176
+ maxSize?: number | null;
2177
+ /**
2178
+ * Preselected option.
2179
+ * Currently only applicable for dropdown.
2180
+ */
2181
+ defaultOptionSelection?: OptionSelection$4;
2182
+ /**
2183
+ * Additional labels for multi-valued fields such as address.
2184
+ * @readonly
2185
+ */
2186
+ labels?: Label$4[];
2345
2187
  }
2346
- interface Recurrences$6 {
2347
- /** Event occurrences. */
2348
- occurrences?: Occurrence$6[];
2188
+ declare enum ValueType$4 {
2189
+ TEXT = "TEXT",
2190
+ NUMBER = "NUMBER",
2191
+ TEXT_ARRAY = "TEXT_ARRAY",
2192
+ DATE_TIME = "DATE_TIME",
2193
+ ADDRESS = "ADDRESS"
2194
+ }
2195
+ /**
2196
+ * Describes initially selected option when an input has multiple choices.
2197
+ * Defaults to first (0th) option if not configured.
2198
+ */
2199
+ interface OptionSelection$4 extends OptionSelectionSelectedOptionOneOf$4 {
2200
+ /** 0-based index from predefined `input.options` which is selected initially. */
2201
+ optionIndex?: number;
2349
2202
  /**
2350
- * Recurring event category ID.
2351
- * @readonly
2203
+ * Placeholder hint describing expected choices (such as "Please select").
2204
+ * Considered an empty choice.
2352
2205
  */
2353
- categoryId?: string | null;
2206
+ placeholderText?: string;
2207
+ }
2208
+ /** @oneof */
2209
+ interface OptionSelectionSelectedOptionOneOf$4 {
2210
+ /** 0-based index from predefined `input.options` which is selected initially. */
2211
+ optionIndex?: number;
2354
2212
  /**
2355
- * Recurrence status.
2356
- * @readonly
2213
+ * Placeholder hint describing expected choices (such as "Please select").
2214
+ * Considered an empty choice.
2357
2215
  */
2358
- status?: RecurrenceStatusStatus$1;
2216
+ placeholderText?: string;
2359
2217
  }
2360
- interface Occurrence$6 {
2361
- /** Event start timestamp. */
2362
- startDate?: Date;
2363
- /** Event end timestamp. */
2364
- endDate?: Date;
2365
- /** Event time zone ID in TZ database format, e.g., `EST`, `America/Los_Angeles`. */
2366
- timeZoneId?: string | null;
2367
- /** Whether time zone is displayed in formatted schedule. */
2368
- showTimeZone?: boolean;
2218
+ interface Label$4 {
2219
+ /** Field name. */
2220
+ name?: string;
2221
+ /** Field label. */
2222
+ label?: string;
2369
2223
  }
2370
- declare enum RecurrenceStatusStatus$1 {
2371
- /** Event occurs only once. */
2372
- ONE_TIME = "ONE_TIME",
2373
- /** Event is recurring. */
2374
- RECURRING = "RECURRING",
2375
- /** Marks the next upcoming occurrence of the recurring event. */
2376
- RECURRING_NEXT = "RECURRING_NEXT",
2377
- /** Marks the most recent ended occurrence of the recurring event. */
2378
- RECURRING_LAST_ENDED = "RECURRING_LAST_ENDED",
2379
- /** Marks the most recent canceled occurrence of the recurring event. */
2380
- RECURRING_LAST_CANCELED = "RECURRING_LAST_CANCELED"
2224
+ /**
2225
+ * Defines form messages shown in UI before, during, and after registration flow.
2226
+ * It enables configuration of form titles, response labels, "thank you" messages, and call-to-action texts.
2227
+ */
2228
+ interface FormMessages$4 {
2229
+ /** RSVP form messages. */
2230
+ rsvp?: RsvpFormMessages$4;
2231
+ /** Checkout form messages. */
2232
+ checkout?: CheckoutFormMessages$4;
2233
+ /** Messages shown when event registration is closed. */
2234
+ registrationClosed?: RegistrationClosedMessages$4;
2235
+ /** Messages shown when event tickets are unavailable. */
2236
+ ticketsUnavailable?: TicketsUnavailableMessages$4;
2381
2237
  }
2382
- interface Event$4 {
2383
- /**
2384
- * Event ID.
2385
- * @readonly
2386
- */
2387
- _id?: string;
2388
- /** Event location. */
2389
- location?: Location$6;
2390
- /** Event scheduling. */
2391
- scheduling?: Scheduling$4;
2392
- /** Event title. */
2238
+ interface RsvpFormMessages$4 {
2239
+ /** Label text indicating RSVP `YES` response. */
2240
+ rsvpYesOption?: string;
2241
+ /** Label text indicating RSVP `NO` response. */
2242
+ rsvpNoOption?: string;
2243
+ /** Messages shown for RSVP = `YES`. */
2244
+ positiveMessages?: Positive$4;
2245
+ /** Messages shown for RSVP = `WAITING` (when event is full and waitlist is available). */
2246
+ waitlistMessages?: Positive$4;
2247
+ /** Messages shown for RSVP = `NO`. */
2248
+ negativeMessages?: Negative$4;
2249
+ /** "Submit form" call-to-action label text. */
2250
+ submitActionLabel?: string;
2251
+ }
2252
+ /** Confirmation messages shown after registration. */
2253
+ interface PositiveResponseConfirmation$4 {
2254
+ /** Confirmation message title. */
2393
2255
  title?: string;
2394
- /** Event description. */
2395
- description?: string;
2396
- /** Rich-text content displayed in Wix UI - "About Event" section (HTML). */
2397
- about?: string;
2398
- /** Main event image. */
2399
- mainImage?: string;
2400
- /** Event slug URL (generated from event title). */
2401
- slug?: string;
2402
- /** ISO 639-1 language code of the event (used in content translations). */
2403
- language?: string;
2404
- /** Event creation timestamp. */
2405
- created?: Date;
2406
- /** Event modified timestamp. */
2407
- modified?: Date;
2408
- /** Event status. */
2409
- status?: EventStatus$6;
2410
- /** RSVP or ticketing registration details. */
2411
- registration?: Registration$4;
2412
- /** "Add to calendar" URLs. */
2413
- calendarLinks?: CalendarLinks$6;
2414
- /** Event page URL components. */
2415
- eventPageUrl?: SiteUrl$4;
2416
- /** Event registration form. */
2417
- form?: Form$4;
2418
- /** Event dashboard summary of RSVP / ticket sales. */
2419
- dashboard?: Dashboard$6;
2420
- /** Instance ID of the site where event is hosted. */
2421
- instanceId?: string;
2422
- /** Guest list configuration. */
2423
- guestListConfig?: GuestListConfig$4;
2424
- /** Event creator user ID. */
2425
- userId?: string;
2426
- /** Event discussion feed. For internal use. */
2427
- feed?: Feed$4;
2428
- /** Online conferencing details. */
2429
- onlineConferencing?: OnlineConferencing$4;
2430
- /** SEO settings. */
2431
- seoSettings?: SeoSettings$4;
2432
- /** Assigned contacts label key. */
2433
- assignedContactsLabel?: string | null;
2434
- /** Agenda details. */
2435
- agenda?: Agenda$4;
2436
- /** Categories this event is assigned to. */
2437
- categories?: Category$5[];
2438
- /** Visual settings for event. */
2439
- eventDisplaySettings?: EventDisplaySettings$4;
2256
+ /** Confirmation message text. */
2257
+ message?: string;
2258
+ /** "Add to calendar" call-to-action label text. */
2259
+ addToCalendarActionLabel?: string;
2260
+ /** "Share event" call-to-action label text. */
2261
+ shareActionLabel?: string;
2440
2262
  }
2441
- interface Scheduling$4 {
2442
- /** Schedule configuration. */
2443
- config?: ScheduleConfig$6;
2444
- /** Formatted schedule representation. */
2445
- formatted?: string;
2446
- /** Formatted start date of the event (empty for TBD schedules). */
2447
- startDateFormatted?: string;
2448
- /** Formatted start time of the event (empty for TBD schedules). */
2449
- startTimeFormatted?: string;
2450
- /** Formatted end date of the event (empty for TBD schedules or when end date is hidden). */
2451
- endDateFormatted?: string;
2452
- /** Formatted end time of the event (empty for TBD schedules or when end date is hidden). */
2453
- endTimeFormatted?: string;
2263
+ /** Confirmation messages shown after registration. */
2264
+ interface NegativeResponseConfirmation$4 {
2265
+ /** Confirmation message title. */
2266
+ title?: string;
2267
+ /** "Share event" call-to-action label text. */
2268
+ shareActionLabel?: string;
2454
2269
  }
2455
- declare enum EventStatus$6 {
2456
- /** Event is public and scheduled to start */
2457
- SCHEDULED = "SCHEDULED",
2458
- /** Event has started */
2459
- STARTED = "STARTED",
2460
- /** Event has ended */
2461
- ENDED = "ENDED",
2462
- /** Event was canceled */
2463
- CANCELED = "CANCELED",
2464
- /** Event is not public and needs to be published */
2465
- DRAFT = "DRAFT"
2270
+ /** Set of messages shown during registration when RSVP response is positive. */
2271
+ interface Positive$4 {
2272
+ /** Main form title for positive response. */
2273
+ title?: string;
2274
+ /** Confirmation messages shown after registration. */
2275
+ confirmation?: PositiveResponseConfirmation$4;
2466
2276
  }
2467
- interface Registration$4 {
2468
- /** Event type. */
2469
- type?: EventType$4;
2470
- /** Event registration status. */
2471
- status?: RegistrationStatus$4;
2472
- /** RSVP collection details. */
2473
- rsvpCollection?: RsvpCollection$4;
2474
- /** Ticketing details. */
2475
- ticketing?: Ticketing$4;
2476
- /** External registration details. */
2477
- external?: ExternalEvent$4;
2478
- /** Types of users allowed to register. */
2479
- restrictedTo?: VisitorType$4;
2480
- /** Initial event type which was set when creating an event. */
2481
- initialType?: EventType$4;
2277
+ /** A set of messages shown during registration with negative response */
2278
+ interface Negative$4 {
2279
+ /** Main form title for negative response. */
2280
+ title?: string;
2281
+ /** Confirmation messages shown after registration. */
2282
+ confirmation?: NegativeResponseConfirmation$4;
2482
2283
  }
2483
- declare enum EventType$4 {
2484
- /** Type not available for this request fieldset */
2485
- NA_EVENT_TYPE = "NA_EVENT_TYPE",
2486
- /** Registration via RSVP */
2487
- RSVP = "RSVP",
2488
- /** Registration via ticket purchase */
2489
- TICKETS = "TICKETS",
2490
- /** External registration */
2491
- EXTERNAL = "EXTERNAL",
2492
- /** Registration not available */
2493
- NO_REGISTRATION = "NO_REGISTRATION"
2284
+ interface CheckoutFormMessages$4 {
2285
+ /** Main form title for response. */
2286
+ title?: string;
2287
+ /** Submit form call-to-action label text. */
2288
+ submitActionLabel?: string;
2289
+ /** Confirmation messages shown after checkout. */
2290
+ confirmation?: ResponseConfirmation$4;
2494
2291
  }
2495
- declare enum RegistrationStatus$4 {
2496
- /** Registration status is not applicable */
2497
- NA_REGISTRATION_STATUS = "NA_REGISTRATION_STATUS",
2498
- /** Registration to event is closed */
2499
- CLOSED = "CLOSED",
2500
- /** Registration to event is closed manually */
2501
- CLOSED_MANUALLY = "CLOSED_MANUALLY",
2502
- /** Registration is open via RSVP */
2503
- OPEN_RSVP = "OPEN_RSVP",
2504
- /** Registration to event waitlist is open via RSVP */
2505
- OPEN_RSVP_WAITLIST = "OPEN_RSVP_WAITLIST",
2506
- /** Registration is open via ticket purchase */
2507
- OPEN_TICKETS = "OPEN_TICKETS",
2508
- /** Registration is open via external URL */
2509
- OPEN_EXTERNAL = "OPEN_EXTERNAL",
2510
- /** Registration will be open via RSVP */
2511
- SCHEDULED_RSVP = "SCHEDULED_RSVP"
2292
+ /** Confirmation messages shown after checkout. */
2293
+ interface ResponseConfirmation$4 {
2294
+ /** Confirmation message title. */
2295
+ title?: string;
2296
+ /** Confirmation message text. */
2297
+ message?: string;
2298
+ /** "Download tickets" call-to-action label text. */
2299
+ downloadTicketsLabel?: string;
2300
+ /** "Add to calendar" call-to-action label text. */
2301
+ addToCalendarLabel?: string;
2302
+ /** "Share event" call-to-action label text. */
2303
+ shareEventLabel?: string;
2512
2304
  }
2513
- interface RsvpCollection$4 {
2514
- /** RSVP collection configuration. */
2515
- config?: RsvpCollectionConfig$4;
2305
+ interface RegistrationClosedMessages$4 {
2306
+ /** Message shown when event registration is closed. */
2307
+ message?: string;
2308
+ /** "Explore other events" call-to-action label text. */
2309
+ exploreEventsActionLabel?: string;
2310
+ }
2311
+ interface TicketsUnavailableMessages$4 {
2312
+ /** Message shown when event tickets are unavailable. */
2313
+ message?: string;
2314
+ /** "Explore other events" call-to-action label text. */
2315
+ exploreEventsActionLabel?: string;
2516
2316
  }
2517
- interface RsvpCollectionConfig$4 {
2518
- /** Defines the supported RSVP statuses. */
2519
- rsvpStatusOptions?: RsvpStatusOptions$4;
2317
+ interface Dashboard$6 {
2318
+ /** Guest RSVP summary. */
2319
+ rsvpSummary?: RsvpSummary$5;
2520
2320
  /**
2521
- * Total guest limit available to register to the event.
2522
- * Additional guests per RSVP are counted towards total guests.
2321
+ * Summary of revenue and tickets sold.
2322
+ * (Archived orders are not included).
2523
2323
  */
2524
- limit?: number | null;
2525
- /** Whether a waitlist is opened when total guest limit is reached, allowing guests to create RSVP with WAITING RSVP status. */
2526
- waitlist?: boolean;
2527
- /** Registration start timestamp. */
2528
- startDate?: Date;
2529
- /** Registration end timestamp. */
2530
- endDate?: Date;
2324
+ ticketingSummary?: TicketingSummary$4;
2531
2325
  }
2532
- declare enum RsvpStatusOptions$4 {
2533
- /** Only YES RSVP status is available for RSVP registration */
2534
- YES_ONLY = "YES_ONLY",
2535
- /** YES and NO RSVP status options are available for the registration */
2536
- YES_AND_NO = "YES_AND_NO"
2326
+ interface RsvpSummary$5 {
2327
+ /** Total number of RSVPs. */
2328
+ total?: number;
2329
+ /** Number of RSVPs with status `YES`. */
2330
+ yes?: number;
2331
+ /** Number of RSVPs with status `NO`. */
2332
+ no?: number;
2333
+ /** Number of RSVPs in waitlist. */
2334
+ waitlist?: number;
2537
2335
  }
2538
- interface Ticketing$4 {
2336
+ interface TicketingSummary$4 {
2337
+ /** Number of tickets sold. */
2338
+ tickets?: number;
2539
2339
  /**
2540
- * Deprecated.
2541
- * @deprecated
2340
+ * Total revenue, excluding fees.
2341
+ * (taxes and payment provider fees are not deducted.)
2542
2342
  */
2543
- lowestPrice?: string | null;
2343
+ revenue?: Money$7;
2344
+ /** Whether currency is locked and cannot be changed (generally occurs after the first order in the specified currency has been created). */
2345
+ currencyLocked?: boolean;
2346
+ /** Number of orders placed. */
2347
+ orders?: number;
2348
+ /** Total balance of confirmed transactions. */
2349
+ totalSales?: Money$7;
2350
+ }
2351
+ interface GuestListConfig$4 {
2352
+ /** Whether members can see other members attending the event (defaults to true). */
2353
+ publicGuestList?: boolean;
2354
+ }
2355
+ interface Feed$4 {
2356
+ /** Event discussion feed token. */
2357
+ token?: string;
2358
+ }
2359
+ interface OnlineConferencing$4 {
2360
+ config?: OnlineConferencingConfig$4;
2361
+ session?: OnlineConferencingSession$4;
2362
+ }
2363
+ interface OnlineConferencingConfig$4 {
2544
2364
  /**
2545
- * Deprecated.
2546
- * @deprecated
2365
+ * Whether online conferencing is enabled (not supported for TBD schedules).
2366
+ * When enabled, links to join conferencing are generated and provided to guests.
2547
2367
  */
2548
- highestPrice?: string | null;
2549
- /** Currency used in event transactions. */
2550
- currency?: string | null;
2551
- /** Ticketing configuration. */
2552
- config?: TicketingConfig$4;
2368
+ enabled?: boolean;
2369
+ /** Conferencing provider ID. */
2370
+ providerId?: string | null;
2371
+ /** Conference type */
2372
+ conferenceType?: ConferenceType$4;
2373
+ }
2374
+ declare enum ConferenceType$4 {
2375
+ /** Everyone in the meeting can publish and subscribe video and audio. */
2376
+ MEETING = "MEETING",
2377
+ /** Guests can only subscribe to video and audio. */
2378
+ WEBINAR = "WEBINAR"
2379
+ }
2380
+ interface OnlineConferencingSession$4 {
2553
2381
  /**
2554
- * Price of lowest priced ticket.
2382
+ * Link for event host to start the online conference session.
2555
2383
  * @readonly
2556
2384
  */
2557
- lowestTicketPrice?: Money$7;
2385
+ hostLink?: string;
2558
2386
  /**
2559
- * Price of highest priced ticket.
2387
+ * Link for guests to join the online conference session.
2560
2388
  * @readonly
2561
2389
  */
2562
- highestTicketPrice?: Money$7;
2390
+ guestLink?: string;
2563
2391
  /**
2564
- * Formatted price of lowest priced ticket.
2392
+ * The password required to join online conferencing session (when relevant).
2565
2393
  * @readonly
2566
2394
  */
2567
- lowestTicketPriceFormatted?: string | null;
2395
+ password?: string | null;
2568
2396
  /**
2569
- * Formatted price of highest priced ticket.
2397
+ * Indicates that session was created successfully on providers side.
2570
2398
  * @readonly
2571
2399
  */
2572
- highestTicketPriceFormatted?: string | null;
2400
+ sessionCreated?: boolean | null;
2573
2401
  /**
2574
- * Whether all tickets are sold for this event.
2402
+ * Unique session id
2575
2403
  * @readonly
2576
2404
  */
2577
- soldOut?: boolean | null;
2578
- }
2579
- interface TicketingConfig$4 {
2580
- /** Whether the form must be filled out separately for each ticket. */
2581
- guestAssignedTickets?: boolean;
2582
- /** Tax configuration. */
2583
- taxConfig?: TaxConfig$4;
2584
- /** Limit of tickets that can be purchased per order, default 20. */
2585
- ticketLimitPerOrder?: number;
2586
- /** Duration for which the tickets being bought are reserved. */
2587
- reservationDurationInMinutes?: number | null;
2588
- }
2589
- interface TaxConfig$4 {
2590
- /** Tax application settings. */
2591
- type?: TaxType$5;
2592
- /** Tax name. */
2593
- name?: string | null;
2594
- /** Tax rate (e.g.,`21.55`). */
2595
- rate?: string | null;
2596
- /** Applies taxes for donations, default true. */
2597
- appliesToDonations?: boolean | null;
2598
- }
2599
- declare enum TaxType$5 {
2600
- /** Tax is included in the ticket price. */
2601
- INCLUDED = "INCLUDED",
2602
- /** Tax is added to the order at the checkout. */
2603
- ADDED = "ADDED",
2604
- /** Tax is added to the final total at the checkout. */
2605
- ADDED_AT_CHECKOUT = "ADDED_AT_CHECKOUT"
2405
+ sessionId?: string | null;
2606
2406
  }
2607
- interface Money$7 {
2407
+ interface SeoSettings$4 {
2408
+ /** URL slug */
2409
+ slug?: string;
2410
+ /** Advanced SEO data */
2411
+ advancedSeoData?: SeoSchema$4;
2608
2412
  /**
2609
- * *Deprecated:** Use `value` instead.
2610
- * @deprecated
2413
+ * Hidden from SEO Site Map
2414
+ * @readonly
2611
2415
  */
2612
- amount?: string;
2613
- /** ISO 4217 format of the currency e.g., `USD`. */
2614
- currency?: string;
2615
- /** Monetary amount. Decimal string with a period as a decimal separator (e.g., 3.99). Optionally, starts with a single (-), to indicate that the amount is negative. */
2616
- value?: string | null;
2416
+ hidden?: boolean | null;
2617
2417
  }
2618
- interface ExternalEvent$4 {
2619
- /** External event registration URL. */
2620
- registration?: string;
2418
+ /**
2419
+ * The SEO schema object contains data about different types of meta tags. It makes sure that the information about your page is presented properly to search engines.
2420
+ * The search engines use this information for ranking purposes, or to display snippets in the search results.
2421
+ * This data will override other sources of tags (for example patterns) and will be included in the <head> section of the HTML document, while not being displayed on the page itself.
2422
+ */
2423
+ interface SeoSchema$4 {
2424
+ /** SEO tag information. */
2425
+ tags?: Tag$4[];
2426
+ /** SEO general settings. */
2427
+ settings?: Settings$5;
2621
2428
  }
2622
- declare enum VisitorType$4 {
2623
- /** Site visitor (including member) */
2624
- VISITOR = "VISITOR",
2625
- /** Site member */
2626
- MEMBER = "MEMBER",
2627
- /** Site visitor or member */
2628
- VISITOR_OR_MEMBER = "VISITOR_OR_MEMBER"
2429
+ interface Keyword$4 {
2430
+ /** Keyword value. */
2431
+ term?: string;
2432
+ /** Whether the keyword is the main focus keyword. */
2433
+ isMain?: boolean;
2434
+ /** Who added the keyword to the settings */
2435
+ origin?: string | null;
2629
2436
  }
2630
- interface CalendarLinks$6 {
2631
- /** "Add to Google calendar" URL. */
2632
- google?: string;
2633
- /** "Download ICS calendar file" URL. */
2634
- ics?: string;
2437
+ interface Tag$4 {
2438
+ /**
2439
+ * SEO tag type.
2440
+ *
2441
+ *
2442
+ * Supported values: `title`, `meta`, `script`, `link`.
2443
+ */
2444
+ type?: string;
2445
+ /**
2446
+ * A `{'key':'value'}` pair object where each SEO tag property (`'name'`, `'content'`, `'rel'`, `'href'`) contains a value.
2447
+ * For example: `{'name': 'description', 'content': 'the description itself'}`.
2448
+ */
2449
+ props?: Record<string, any> | null;
2450
+ /** SEO tag meta data. For example, `{height: 300, width: 240}`. */
2451
+ meta?: Record<string, any> | null;
2452
+ /** SEO tag inner content. For example, `<title> inner content </title>`. */
2453
+ children?: string;
2454
+ /** Whether the tag is a custom tag. */
2455
+ custom?: boolean;
2456
+ /** Whether the tag is disabled. */
2457
+ disabled?: boolean;
2635
2458
  }
2636
- /** Site URL components */
2637
- interface SiteUrl$4 {
2459
+ interface Settings$5 {
2638
2460
  /**
2639
- * Base URL. For premium sites, this will be the domain.
2640
- * For free sites, this would be site URL (e.g `mysite.wixsite.com/mysite`)
2461
+ * Whether the Auto Redirect feature, which creates `301 redirects` on a slug change, is enabled.
2462
+ *
2463
+ *
2464
+ * Default: `false` (Auto Redirect is enabled.)
2641
2465
  */
2642
- base?: string;
2643
- /** The path to that page - e.g `/my-events/weekly-meetup-2` */
2644
- path?: string;
2466
+ preventAutoRedirect?: boolean;
2467
+ /** User-selected keyword terms for a specific page. */
2468
+ keywords?: Keyword$4[];
2645
2469
  }
2646
- /**
2647
- * The form defines which elements are rendered in the Wix UI during the registration process (RSVP or checkout).
2648
- * It also contains customizable messages and labels.
2649
- *
2650
- *
2651
- * A form is an ordered list of controls (blocks), which accept guest information into a field input.
2652
- *
2653
- * Each control contains one or more nested inputs. For example, `Name` control has two inputs:
2654
- * - First Name
2655
- * - Last Name
2656
- *
2657
- * By default, name and email controls are always required and are pinned to the top of the form.
2658
- */
2659
- interface Form$4 {
2660
- /** Nested fields as an ordered list. */
2661
- controls?: InputControl$4[];
2662
- /** Set of configured form messages. */
2663
- messages?: FormMessages$4;
2470
+ interface Agenda$4 {
2471
+ /** Whether the schedule is enabled for the event. */
2472
+ enabled?: boolean;
2473
+ /**
2474
+ * Agenda page URL.
2475
+ * @readonly
2476
+ */
2477
+ pageUrl?: SiteUrl$4;
2664
2478
  }
2665
- /**
2666
- * A block of nested fields.
2667
- * Used to aggregate similar inputs like First Name and Last Name.
2668
- */
2669
- interface InputControl$4 {
2670
- /** Field control type. */
2671
- type?: InputControlType$4;
2672
- /** Whether control is mandatory (such as name & email). When true, only label can be changed. */
2673
- system?: boolean;
2479
+ interface Category$5 {
2674
2480
  /**
2675
- * Deprecated: Use `id`.
2676
- * @deprecated
2481
+ * Category ID.
2482
+ * @readonly
2677
2483
  */
2484
+ _id?: string;
2485
+ /** Category name. */
2678
2486
  name?: string;
2679
- /** Child inputs. */
2680
- inputs?: Input$4[];
2681
2487
  /**
2682
- * Deprecated: use `inputs.label`.
2683
- * @deprecated
2488
+ * Date and time when category was created.
2489
+ * @readonly
2684
2490
  */
2685
- label?: string;
2686
- /** Field controls are sorted by this value in ascending order. */
2687
- orderIndex?: number;
2688
- /** Unique control ID. */
2689
- _id?: string;
2491
+ _createdDate?: Date;
2690
2492
  /**
2691
- * Whether input control is deleted.
2493
+ * The total number of draft and published events assigned to the category.
2692
2494
  * @readonly
2693
2495
  */
2694
- deleted?: boolean | null;
2496
+ counts?: CategoryCounts$5;
2497
+ /**
2498
+ * Category state. Possible values:
2499
+ *
2500
+ * `MANUAL`: Category is created manually by the user.
2501
+ * `AUTO`: Category is created automatically.
2502
+ * `RECURRING_EVENT`: Category is created automatically when publishing recurring events.
2503
+ * `HIDDEN`: Category can't be seen.
2504
+ *
2505
+ * Default: `MANUAL`.
2506
+ *
2507
+ * **Note:** The WIX_EVENTS.MANAGE_AUTO_CATEGORIES permission scope is required to use states other than `MANUAL`.
2508
+ */
2509
+ states?: State$8[];
2695
2510
  }
2696
- declare enum InputControlType$4 {
2697
- /** Single text value field. */
2698
- INPUT = "INPUT",
2699
- /** Single text value field. */
2700
- TEXTAREA = "TEXTAREA",
2701
- /** Single-choice field of predefined values. */
2702
- DROPDOWN = "DROPDOWN",
2703
- /** Single-choice field of predefined values. */
2704
- RADIO = "RADIO",
2705
- /** Multiple-choice field of predefined values. */
2706
- CHECKBOX = "CHECKBOX",
2707
- /** First and last name fields. */
2708
- NAME = "NAME",
2709
- /** Additional guests and respective guest names fields. */
2710
- GUEST_CONTROL = "GUEST_CONTROL",
2711
- /** Single-line address field. */
2712
- ADDRESS_SHORT = "ADDRESS_SHORT",
2713
- /** Full address field. */
2714
- ADDRESS_FULL = "ADDRESS_FULL",
2715
- /** Year, month and day fields. */
2716
- DATE = "DATE"
2511
+ interface CategoryCounts$5 {
2512
+ /** Total number of draft events assigned to the category. */
2513
+ assignedEventsCount?: number | null;
2514
+ /** Total number of published events assigned to the category. Deleted events are excluded. */
2515
+ assignedDraftEventsCount?: number | null;
2717
2516
  }
2718
- /** An input of one or multiple text values */
2719
- interface Input$4 {
2720
- /** Field name. */
2721
- name?: string;
2517
+ declare enum State$8 {
2518
+ /** Created manually by the user. */
2519
+ MANUAL = "MANUAL",
2520
+ /** Created automatically. */
2521
+ AUTO = "AUTO",
2522
+ /** Created when publishing recurring events. */
2523
+ RECURRING_EVENT = "RECURRING_EVENT",
2524
+ /** Category is hidden. */
2525
+ HIDDEN = "HIDDEN",
2526
+ /** Category is used to store component events. */
2527
+ COMPONENT = "COMPONENT"
2528
+ }
2529
+ interface EventDisplaySettings$4 {
2530
+ /** Whether event details button is hidden. Only available for events with no registration. */
2531
+ hideEventDetailsButton?: boolean | null;
2532
+ }
2533
+ interface LabellingSettings$4 {
2534
+ }
2535
+ interface OrderConfirmed$1 {
2536
+ /** Order confirmation timestamp in ISO UTC. */
2537
+ timestamp?: Date;
2538
+ /** Site language when Order initiated */
2539
+ language?: string | null;
2540
+ /** Notifications silenced for this domain event. */
2541
+ silent?: boolean | null;
2542
+ /** Locale in which Order was created. */
2543
+ locale?: string | null;
2544
+ /** Event ID. */
2545
+ eventId?: string;
2546
+ /** Unique order number. */
2547
+ orderNumber?: string;
2548
+ /** Contact ID associated with this order. */
2549
+ contactId?: string;
2550
+ /** Member ID associated with this order. */
2551
+ memberId?: string | null;
2722
2552
  /**
2723
- * Deprecated: use `ValueType.TEXT_ARRAY`.
2724
- * @deprecated
2553
+ * Order created timestamp
2554
+ * @readonly
2725
2555
  */
2726
- array?: boolean;
2727
- /** Main field label */
2728
- label?: string;
2729
- /** Additional labels for multi-valued fields such as address. */
2730
- additionalLabels?: Record<string, string>;
2731
- /** Predefined choice options for fields, such as dropdown. */
2732
- options?: string[];
2733
- /** Whether field is mandatory. */
2734
- mandatory?: boolean;
2735
- /** Maximum number of accepted characters (relevant for text fields). */
2736
- maxLength?: number;
2556
+ created?: Date;
2557
+ /** Buyer first name. */
2558
+ firstName?: string;
2559
+ /** Buyer last name. */
2560
+ lastName?: string;
2561
+ /** Buyer email address. */
2562
+ email?: string;
2563
+ /** Checkout form response. */
2564
+ checkoutForm?: FormResponse$4;
2565
+ /** Order status. */
2566
+ status?: OrderStatus$2;
2567
+ /** Payment method used for paid tickets purchase, i.e. "payPal", "creditCard", etc. */
2568
+ method?: string | null;
2569
+ /** Tickets (generated after payment). */
2570
+ tickets?: Ticket$2[];
2571
+ /** Invoice. */
2572
+ invoice?: Invoice$1;
2573
+ /** Reservation ID associated with this order. */
2574
+ reservationId?: string;
2575
+ }
2576
+ declare enum OrderStatus$2 {
2577
+ /** Order status not available for this request fieldset */
2578
+ NA_ORDER_STATUS = "NA_ORDER_STATUS",
2579
+ /** Order is confirmed, no payment required */
2580
+ FREE = "FREE",
2581
+ /** Order was paid but payment gateway suspended the payment. Eventually changes to PAID */
2582
+ PENDING = "PENDING",
2583
+ /** Order paid via payment gateway */
2584
+ PAID = "PAID",
2585
+ /** Order confirmed but has to be paid via offline payment and status manually updated to PAID */
2586
+ OFFLINE_PENDING = "OFFLINE_PENDING",
2587
+ /** Order is awaiting for payment in Cashier */
2588
+ INITIATED = "INITIATED",
2589
+ /** Order was canceled */
2590
+ CANCELED = "CANCELED",
2591
+ /** Order payment was declined */
2592
+ DECLINED = "DECLINED",
2593
+ /** Order payment was authorized */
2594
+ AUTHORIZED = "AUTHORIZED",
2595
+ /** Order payment was voided */
2596
+ VOIDED = "VOIDED"
2597
+ }
2598
+ interface Ticket$2 {
2599
+ /** Unique issued ticket number. */
2600
+ ticketNumber?: string;
2601
+ /** Ticket definition ID. */
2602
+ ticketDefinitionId?: string;
2603
+ /** Ticket check-in. */
2604
+ checkIn?: CheckIn$3;
2605
+ /** Ticket price. */
2606
+ price?: Money$7;
2607
+ /** Whether ticket is archived. */
2608
+ archived?: boolean;
2609
+ /** Guest first name. */
2610
+ firstName?: string | null;
2611
+ /** Guest last name. */
2612
+ lastName?: string | null;
2613
+ /** Guest email. */
2614
+ email?: string | null;
2615
+ /** Contact ID associated with this ticket. */
2616
+ contactId?: string | null;
2617
+ /** Whether ticket is confirmed */
2618
+ confirmed?: boolean;
2619
+ /** Member ID associated with this ticket. */
2620
+ memberId?: string | null;
2621
+ /** Ticket form response (only assigned tickets contain separate forms). */
2622
+ form?: FormResponse$4;
2623
+ /** Ticket name. */
2624
+ ticketName?: string;
2625
+ /** Anonymized tickets no longer contain personally identifiable information (PII). */
2626
+ anonymized?: boolean;
2627
+ /** URL and password to online conference */
2628
+ onlineConferencingLogin?: OnlineConferencingLogin$4;
2629
+ }
2630
+ interface Invoice$1 {
2631
+ items?: Item$2[];
2737
2632
  /**
2738
- * Type which determines field format.
2739
- * Used to validate submitted response.
2633
+ * Total cart amount.
2634
+ * @deprecated
2740
2635
  */
2741
- type?: ValueType$4;
2636
+ total?: Money$7;
2637
+ /** Discount applied to cart. */
2638
+ discount?: Discount$1;
2639
+ /** Tax applied to cart. */
2640
+ tax?: Tax$1;
2641
+ /** Total cart amount before discount, tax, and fees. */
2642
+ subTotal?: Money$7;
2742
2643
  /**
2743
- * A maximum accepted values for array input.
2744
- * Only applicable for inputs of valueType: TEXT_ARRAY.
2644
+ * Total amount of cart after discount, tax, and fees.
2645
+ * Grand total is calculated in the following order:
2646
+ * 1. Total prices of all items in the cart are calculated.
2647
+ * 2. Discount is subtracted from the cart (if applicable).
2648
+ * 3. Tax is added (if applicable).
2649
+ * 4. Wix service fee is added.
2745
2650
  */
2746
- maxSize?: number | null;
2651
+ grandTotal?: Money$7;
2747
2652
  /**
2748
- * Preselected option.
2749
- * Currently only applicable for dropdown.
2653
+ * Fees applied to the cart.
2654
+ * @readonly
2750
2655
  */
2751
- defaultOptionSelection?: OptionSelection$4;
2656
+ fees?: Fee$1[];
2657
+ /** Total revenue, excluding fees. (Taxes and payment provider fees are not deducted). */
2658
+ revenue?: Money$7;
2659
+ /** URL to invoice preview. Returned only if order is paid. */
2660
+ previewUrl?: string | null;
2661
+ }
2662
+ interface Item$2 {
2663
+ /** Unique line item ID. */
2664
+ _id?: string;
2665
+ /** Line item quantity. */
2666
+ quantity?: number;
2667
+ /** Line item mame. */
2668
+ name?: string;
2669
+ /** Line item price. */
2670
+ price?: Money$7;
2671
+ /** Total price for line items. Always equal to price * quantity. */
2672
+ total?: Money$7;
2673
+ /** Discount applied to the line item. */
2674
+ discount?: Discount$1;
2675
+ /** Tax applied to the item. */
2676
+ tax?: Tax$1;
2752
2677
  /**
2753
- * Additional labels for multi-valued fields such as address.
2678
+ * Fees applied to the item.
2754
2679
  * @readonly
2755
2680
  */
2756
- labels?: Label$4[];
2757
- }
2758
- declare enum ValueType$4 {
2759
- TEXT = "TEXT",
2760
- NUMBER = "NUMBER",
2761
- TEXT_ARRAY = "TEXT_ARRAY",
2762
- DATE_TIME = "DATE_TIME",
2763
- ADDRESS = "ADDRESS"
2681
+ fees?: Fee$1[];
2764
2682
  }
2765
- /**
2766
- * Describes initially selected option when an input has multiple choices.
2767
- * Defaults to first (0th) option if not configured.
2768
- */
2769
- interface OptionSelection$4 extends OptionSelectionSelectedOptionOneOf$4 {
2770
- /** 0-based index from predefined `input.options` which is selected initially. */
2771
- optionIndex?: number;
2683
+ interface Discount$1 {
2684
+ /** Total discount amount. */
2685
+ amount?: Money$7;
2686
+ /** Total charge after applied discount. */
2687
+ afterDiscount?: Money$7;
2772
2688
  /**
2773
- * Placeholder hint describing expected choices (such as "Please select").
2774
- * Considered an empty choice.
2689
+ * Discount coupon code.
2690
+ * @deprecated
2775
2691
  */
2776
- placeholderText?: string;
2777
- }
2778
- /** @oneof */
2779
- interface OptionSelectionSelectedOptionOneOf$4 {
2780
- /** 0-based index from predefined `input.options` which is selected initially. */
2781
- optionIndex?: number;
2692
+ code?: string;
2782
2693
  /**
2783
- * Placeholder hint describing expected choices (such as "Please select").
2784
- * Considered an empty choice.
2694
+ * Discount coupon name.
2695
+ * @deprecated
2785
2696
  */
2786
- placeholderText?: string;
2787
- }
2788
- interface Label$4 {
2789
- /** Field name. */
2790
2697
  name?: string;
2791
- /** Field label. */
2792
- label?: string;
2698
+ /**
2699
+ * Discount coupon ID.
2700
+ * @deprecated
2701
+ */
2702
+ couponId?: string;
2703
+ /** Discount items. */
2704
+ discounts?: DiscountItem$1[];
2793
2705
  }
2794
- /**
2795
- * Defines form messages shown in UI before, during, and after registration flow.
2796
- * It enables configuration of form titles, response labels, "thank you" messages, and call-to-action texts.
2797
- */
2798
- interface FormMessages$4 {
2799
- /** RSVP form messages. */
2800
- rsvp?: RsvpFormMessages$4;
2801
- /** Checkout form messages. */
2802
- checkout?: CheckoutFormMessages$4;
2803
- /** Messages shown when event registration is closed. */
2804
- registrationClosed?: RegistrationClosedMessages$4;
2805
- /** Messages shown when event tickets are unavailable. */
2806
- ticketsUnavailable?: TicketsUnavailableMessages$4;
2706
+ interface DiscountItem$1 extends DiscountItemDiscountOneOf$1 {
2707
+ /** Coupon discount. */
2708
+ coupon?: CouponDiscount$1;
2709
+ /** Pricing plan discount. */
2710
+ paidPlan?: PaidPlanDiscount$1;
2711
+ /** Total discount amount. */
2712
+ amount?: Money$7;
2807
2713
  }
2808
- interface RsvpFormMessages$4 {
2809
- /** Label text indicating RSVP `YES` response. */
2810
- rsvpYesOption?: string;
2811
- /** Label text indicating RSVP `NO` response. */
2812
- rsvpNoOption?: string;
2813
- /** Messages shown for RSVP = `YES`. */
2814
- positiveMessages?: Positive$4;
2815
- /** Messages shown for RSVP = `WAITING` (when event is full and waitlist is available). */
2816
- waitlistMessages?: Positive$4;
2817
- /** Messages shown for RSVP = `NO`. */
2818
- negativeMessages?: Negative$4;
2819
- /** "Submit form" call-to-action label text. */
2820
- submitActionLabel?: string;
2714
+ /** @oneof */
2715
+ interface DiscountItemDiscountOneOf$1 {
2716
+ /** Coupon discount. */
2717
+ coupon?: CouponDiscount$1;
2718
+ /** Pricing plan discount. */
2719
+ paidPlan?: PaidPlanDiscount$1;
2821
2720
  }
2822
- /** Confirmation messages shown after registration. */
2823
- interface PositiveResponseConfirmation$4 {
2824
- /** Confirmation message title. */
2825
- title?: string;
2826
- /** Confirmation message text. */
2827
- message?: string;
2828
- /** "Add to calendar" call-to-action label text. */
2829
- addToCalendarActionLabel?: string;
2830
- /** "Share event" call-to-action label text. */
2831
- shareActionLabel?: string;
2721
+ interface CouponDiscount$1 {
2722
+ /** Discount coupon name. */
2723
+ name?: string;
2724
+ /** Discount coupon code. */
2725
+ code?: string;
2726
+ /** Discount coupon ID. */
2727
+ couponId?: string;
2832
2728
  }
2833
- /** Confirmation messages shown after registration. */
2834
- interface NegativeResponseConfirmation$4 {
2835
- /** Confirmation message title. */
2836
- title?: string;
2837
- /** "Share event" call-to-action label text. */
2838
- shareActionLabel?: string;
2729
+ interface PaidPlanDiscount$1 extends PaidPlanDiscountDiscountOneOf$1 {
2730
+ /** Discount by percentage applied to tickets. */
2731
+ percentDiscount?: PercentDiscount$1;
2732
+ /** Name of pricing plan. */
2733
+ name?: string;
2839
2734
  }
2840
- /** Set of messages shown during registration when RSVP response is positive. */
2841
- interface Positive$4 {
2842
- /** Main form title for positive response. */
2843
- title?: string;
2844
- /** Confirmation messages shown after registration. */
2845
- confirmation?: PositiveResponseConfirmation$4;
2735
+ /** @oneof */
2736
+ interface PaidPlanDiscountDiscountOneOf$1 {
2737
+ /** Discount by percentage applied to tickets. */
2738
+ percentDiscount?: PercentDiscount$1;
2846
2739
  }
2847
- /** A set of messages shown during registration with negative response */
2848
- interface Negative$4 {
2849
- /** Main form title for negative response. */
2850
- title?: string;
2851
- /** Confirmation messages shown after registration. */
2852
- confirmation?: NegativeResponseConfirmation$4;
2740
+ interface PercentDiscount$1 {
2741
+ /** Percent rate. */
2742
+ rate?: string;
2743
+ /** Number of discounted tickets. */
2744
+ quantityDiscounted?: number;
2853
2745
  }
2854
- interface CheckoutFormMessages$4 {
2855
- /** Main form title for response. */
2856
- title?: string;
2857
- /** Submit form call-to-action label text. */
2858
- submitActionLabel?: string;
2859
- /** Confirmation messages shown after checkout. */
2860
- confirmation?: ResponseConfirmation$4;
2746
+ interface Tax$1 {
2747
+ /** Tax type. */
2748
+ type?: TaxType$5;
2749
+ /**
2750
+ * Tax name.
2751
+ * @readonly
2752
+ */
2753
+ name?: string;
2754
+ /** Tax rate. */
2755
+ rate?: string;
2756
+ /** Taxable amount. */
2757
+ taxable?: Money$7;
2758
+ /** Total tax amount. */
2759
+ amount?: Money$7;
2861
2760
  }
2862
- /** Confirmation messages shown after checkout. */
2863
- interface ResponseConfirmation$4 {
2864
- /** Confirmation message title. */
2865
- title?: string;
2866
- /** Confirmation message text. */
2867
- message?: string;
2868
- /** "Download tickets" call-to-action label text. */
2869
- downloadTicketsLabel?: string;
2870
- /** "Add to calendar" call-to-action label text. */
2871
- addToCalendarLabel?: string;
2872
- /** "Share event" call-to-action label text. */
2873
- shareEventLabel?: string;
2761
+ interface Fee$1 {
2762
+ /** Fee identifier. */
2763
+ name?: FeeName$1;
2764
+ /** How fee is calculated. */
2765
+ type?: FeeType$2;
2766
+ /**
2767
+ * Fee rate.
2768
+ * @readonly
2769
+ */
2770
+ rate?: string;
2771
+ /** Total amount of fee charges. */
2772
+ amount?: Money$7;
2874
2773
  }
2875
- interface RegistrationClosedMessages$4 {
2876
- /** Message shown when event registration is closed. */
2877
- message?: string;
2878
- /** "Explore other events" call-to-action label text. */
2879
- exploreEventsActionLabel?: string;
2774
+ declare enum FeeName$1 {
2775
+ /** Wix service fee charges applied to the line item. */
2776
+ WIX_FEE = "WIX_FEE"
2880
2777
  }
2881
- interface TicketsUnavailableMessages$4 {
2882
- /** Message shown when event tickets are unavailable. */
2883
- message?: string;
2884
- /** "Explore other events" call-to-action label text. */
2885
- exploreEventsActionLabel?: string;
2778
+ declare enum FeeType$2 {
2779
+ /** Fee is added to the ticket price at checkout. */
2780
+ FEE_ADDED = "FEE_ADDED",
2781
+ /** Seller absorbs the fee. It is deducted from the ticket price. */
2782
+ FEE_INCLUDED = "FEE_INCLUDED",
2783
+ /** Fee is added to the ticket price at checkout. */
2784
+ FEE_ADDED_AT_CHECKOUT = "FEE_ADDED_AT_CHECKOUT"
2886
2785
  }
2887
- interface Dashboard$6 {
2888
- /** Guest RSVP summary. */
2889
- rsvpSummary?: RsvpSummary$5;
2786
+ /** Produced if a buyer email was added to the existing order */
2787
+ interface OrderEmailAdded {
2788
+ /** Order updated timestamp in ISO UTC format. */
2789
+ timestamp?: Date;
2790
+ /** Site language when Order initiated */
2791
+ language?: string | null;
2792
+ /** Locale in which Order was created. */
2793
+ locale?: string | null;
2794
+ /** Notifications silenced for this domain event. */
2795
+ silent?: boolean | null;
2796
+ /** Event ID. */
2797
+ eventId?: string;
2798
+ /** Unique order number. */
2799
+ orderNumber?: string;
2800
+ /** Contact ID associated with this order. */
2801
+ contactId?: string | null;
2802
+ /** Member ID associated with this order. */
2803
+ memberId?: string | null;
2890
2804
  /**
2891
- * Summary of revenue and tickets sold.
2892
- * (Archived orders are not included).
2805
+ * Order created timestamp.
2806
+ * @readonly
2893
2807
  */
2894
- ticketingSummary?: TicketingSummary$4;
2895
- }
2896
- interface RsvpSummary$5 {
2897
- /** Total number of RSVPs. */
2898
- total?: number;
2899
- /** Number of RSVPs with status `YES`. */
2900
- yes?: number;
2901
- /** Number of RSVPs with status `NO`. */
2902
- no?: number;
2903
- /** Number of RSVPs in waitlist. */
2904
- waitlist?: number;
2905
- }
2906
- interface TicketingSummary$4 {
2907
- /** Number of tickets sold. */
2908
- tickets?: number;
2808
+ created?: Date;
2909
2809
  /**
2910
- * Total revenue, excluding fees.
2911
- * (taxes and payment provider fees are not deducted.)
2810
+ * Order updated timestamp.
2811
+ * @readonly
2912
2812
  */
2913
- revenue?: Money$7;
2914
- /** Whether currency is locked and cannot be changed (generally occurs after the first order in the specified currency has been created). */
2915
- currencyLocked?: boolean;
2916
- /** Number of orders placed. */
2917
- orders?: number;
2918
- /** Total balance of confirmed transactions. */
2919
- totalSales?: Money$7;
2813
+ updated?: Date;
2814
+ /** Buyer first name. */
2815
+ firstName?: string | null;
2816
+ /** Buyer last name. */
2817
+ lastName?: string | null;
2818
+ /** Buyer email. */
2819
+ email?: string | null;
2820
+ /** Checkout form response. */
2821
+ checkoutForm?: FormResponse$4;
2822
+ /** Whether order is confirmed - occurs once payment gateway processes the payment and funds reach merchant's account. */
2823
+ confirmed?: boolean;
2824
+ /** Order status. */
2825
+ status?: OrderStatus$2;
2826
+ /** Payment method used for paid tickets purchase, i.e. "payPal", "creditCard", etc. */
2827
+ method?: string | null;
2828
+ /** Tickets generated after payment. */
2829
+ tickets?: Ticket$2[];
2830
+ /** Whether order was archived and excluded from results. */
2831
+ archived?: boolean;
2832
+ /** Reservation ID associated with this order. */
2833
+ reservationId?: string;
2920
2834
  }
2921
- interface GuestListConfig$4 {
2922
- /** Whether members can see other members attending the event (defaults to true). */
2923
- publicGuestList?: boolean;
2835
+ interface EventCanceled$2 {
2836
+ /** Event canceled timestamp in ISO UTC format. */
2837
+ timestamp?: Date;
2838
+ /** Event ID. */
2839
+ eventId?: string;
2840
+ /** Event title */
2841
+ title?: string;
2842
+ /** Event creator user ID. */
2843
+ userId?: string | null;
2924
2844
  }
2925
- interface Feed$4 {
2926
- /** Event discussion feed token. */
2927
- token?: string;
2845
+ interface EventReminder$1 {
2846
+ /** Reminder timestamp in ISO UTC format. */
2847
+ timestamp?: Date;
2848
+ /** Event ID. */
2849
+ eventId?: string;
2850
+ /** Event location. */
2851
+ location?: Location$6;
2852
+ /** Event schedule configuration. */
2853
+ scheduleConfig?: ScheduleConfig$6;
2854
+ /** Event title. */
2855
+ title?: string;
2856
+ /** Event creator user ID. */
2857
+ userId?: string | null;
2858
+ /** Time until the event starts (currently, reminder is triggered 1 day before event starts). */
2859
+ startsIn?: TimeDuration$1;
2928
2860
  }
2929
- interface OnlineConferencing$4 {
2930
- config?: OnlineConferencingConfig$4;
2931
- session?: OnlineConferencingSession$4;
2861
+ /**
2862
+ * A coarse-grained representation of time duration divided into whole constituting components of days, hours, and minutes.
2863
+ * For example, 25.5 hours duration is represented as `{ days: 1, hours: 1, minutes: 30 }`.
2864
+ */
2865
+ interface TimeDuration$1 {
2866
+ /** Number of days. */
2867
+ days?: number;
2868
+ /** Number of hours. */
2869
+ hours?: number;
2870
+ /** Number of minutes. */
2871
+ minutes?: number;
2932
2872
  }
2933
- interface OnlineConferencingConfig$4 {
2873
+ interface OrderPaid$1 {
2874
+ /** Order paid timestamp in ISO UTC. */
2875
+ timestamp?: Date;
2876
+ /** Site language when Order initiated */
2877
+ language?: string | null;
2878
+ /** Notifications silenced for this domain event. */
2879
+ silent?: boolean | null;
2880
+ /** Locale in which Order was created. */
2881
+ locale?: string | null;
2882
+ /** Event ID. */
2883
+ eventId?: string;
2884
+ /** Unique order number. */
2885
+ orderNumber?: string;
2886
+ /** Reservation ID associated with this order. */
2887
+ reservationId?: string;
2888
+ /** Contact ID associated with this order. */
2889
+ contactId?: string;
2890
+ /** Member ID associated with this order. */
2891
+ memberId?: string | null;
2934
2892
  /**
2935
- * Whether online conferencing is enabled (not supported for TBD schedules).
2936
- * When enabled, links to join conferencing are generated and provided to guests.
2893
+ * Order created timestamp
2894
+ * @readonly
2937
2895
  */
2938
- enabled?: boolean;
2939
- /** Conferencing provider ID. */
2940
- providerId?: string | null;
2941
- /** Conference type */
2942
- conferenceType?: ConferenceType$4;
2943
- }
2944
- declare enum ConferenceType$4 {
2945
- /** Everyone in the meeting can publish and subscribe video and audio. */
2946
- MEETING = "MEETING",
2947
- /** Guests can only subscribe to video and audio. */
2948
- WEBINAR = "WEBINAR"
2896
+ created?: Date;
2897
+ /** Buyer first name. */
2898
+ firstName?: string;
2899
+ /** Buyer last name. */
2900
+ lastName?: string;
2901
+ /** Buyer email address. */
2902
+ email?: string;
2903
+ /** Checkout form response. */
2904
+ checkoutForm?: FormResponse$4;
2905
+ /** Order status. */
2906
+ status?: OrderStatus$2;
2907
+ /** Payment method used for paid tickets purchase, i.e. "payPal", "creditCard", etc. */
2908
+ method?: string | null;
2909
+ /** Tickets (generated after payment). */
2910
+ tickets?: Ticket$2[];
2911
+ /** Invoice. */
2912
+ invoice?: Invoice$1;
2949
2913
  }
2950
- interface OnlineConferencingSession$4 {
2914
+ interface DomainEvent$8 extends DomainEventBodyOneOf$8 {
2915
+ createdEvent?: EntityCreatedEvent$8;
2916
+ updatedEvent?: EntityUpdatedEvent$8;
2917
+ deletedEvent?: EntityDeletedEvent$8;
2918
+ actionEvent?: ActionEvent$8;
2951
2919
  /**
2952
- * Link for event host to start the online conference session.
2953
- * @readonly
2920
+ * Unique event ID.
2921
+ * Allows clients to ignore duplicate webhooks.
2954
2922
  */
2955
- hostLink?: string;
2923
+ _id?: string;
2956
2924
  /**
2957
- * Link for guests to join the online conference session.
2958
- * @readonly
2925
+ * Assumes actions are also always typed to an entity_type
2926
+ * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
2959
2927
  */
2960
- guestLink?: string;
2928
+ entityFqdn?: string;
2961
2929
  /**
2962
- * The password required to join online conferencing session (when relevant).
2963
- * @readonly
2930
+ * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
2931
+ * This is although the created/updated/deleted notion is duplication of the oneof types
2932
+ * Example: created/updated/deleted/started/completed/email_opened
2964
2933
  */
2965
- password?: string | null;
2934
+ slug?: string;
2935
+ /** ID of the entity associated with the event. */
2936
+ entityId?: string;
2937
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
2938
+ eventTime?: Date;
2966
2939
  /**
2967
- * Indicates that session was created successfully on providers side.
2968
- * @readonly
2940
+ * Whether the event was triggered as a result of a privacy regulation application
2941
+ * (for example, GDPR).
2969
2942
  */
2970
- sessionCreated?: boolean | null;
2943
+ triggeredByAnonymizeRequest?: boolean | null;
2944
+ /** If present, indicates the action that triggered the event. */
2945
+ originatedFrom?: string | null;
2971
2946
  /**
2972
- * Unique session id
2973
- * @readonly
2947
+ * A sequence number defining the order of updates to the underlying entity.
2948
+ * For example, given that some entity was updated at 16:00 and than again at 16:01,
2949
+ * it is guaranteed that the sequence number of the second update is strictly higher than the first.
2950
+ * As the consumer, you can use this value to ensure that you handle messages in the correct order.
2951
+ * To do so, you will need to persist this number on your end, and compare the sequence number from the
2952
+ * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
2974
2953
  */
2975
- sessionId?: string | null;
2954
+ entityEventSequence?: string | null;
2976
2955
  }
2977
- interface SeoSettings$4 {
2978
- /** URL slug */
2979
- slug?: string;
2980
- /** Advanced SEO data */
2981
- advancedSeoData?: SeoSchema$4;
2982
- /**
2983
- * Hidden from SEO Site Map
2984
- * @readonly
2985
- */
2986
- hidden?: boolean | null;
2956
+ /** @oneof */
2957
+ interface DomainEventBodyOneOf$8 {
2958
+ createdEvent?: EntityCreatedEvent$8;
2959
+ updatedEvent?: EntityUpdatedEvent$8;
2960
+ deletedEvent?: EntityDeletedEvent$8;
2961
+ actionEvent?: ActionEvent$8;
2987
2962
  }
2988
- /**
2989
- * The SEO schema object contains data about different types of meta tags. It makes sure that the information about your page is presented properly to search engines.
2990
- * The search engines use this information for ranking purposes, or to display snippets in the search results.
2991
- * This data will override other sources of tags (for example patterns) and will be included in the <head> section of the HTML document, while not being displayed on the page itself.
2992
- */
2993
- interface SeoSchema$4 {
2994
- /** SEO tag information. */
2995
- tags?: Tag$4[];
2996
- /** SEO general settings. */
2997
- settings?: Settings$5;
2963
+ interface EntityCreatedEvent$8 {
2964
+ entity?: string;
2998
2965
  }
2999
- interface Keyword$4 {
3000
- /** Keyword value. */
3001
- term?: string;
3002
- /** Whether the keyword is the main focus keyword. */
3003
- isMain?: boolean;
3004
- /** Who added the keyword to the settings */
3005
- origin?: string | null;
2966
+ interface RestoreInfo$7 {
2967
+ deletedDate?: Date;
3006
2968
  }
3007
- interface Tag$4 {
3008
- /**
3009
- * SEO tag type.
3010
- *
3011
- *
3012
- * Supported values: `title`, `meta`, `script`, `link`.
3013
- */
3014
- type?: string;
2969
+ interface EntityUpdatedEvent$8 {
3015
2970
  /**
3016
- * A `{'key':'value'}` pair object where each SEO tag property (`'name'`, `'content'`, `'rel'`, `'href'`) contains a value.
3017
- * For example: `{'name': 'description', 'content': 'the description itself'}`.
2971
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
2972
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
2973
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
3018
2974
  */
3019
- props?: Record<string, any> | null;
3020
- /** SEO tag meta data. For example, `{height: 300, width: 240}`. */
3021
- meta?: Record<string, any> | null;
3022
- /** SEO tag inner content. For example, `<title> inner content </title>`. */
3023
- children?: string;
3024
- /** Whether the tag is a custom tag. */
3025
- custom?: boolean;
3026
- /** Whether the tag is disabled. */
3027
- disabled?: boolean;
2975
+ currentEntity?: string;
2976
+ }
2977
+ interface EntityDeletedEvent$8 {
2978
+ /** Entity that was deleted */
2979
+ deletedEntity?: string | null;
2980
+ }
2981
+ interface ActionEvent$8 {
2982
+ body?: string;
2983
+ }
2984
+ interface TicketPdfResolved {
2985
+ /** Optional order number */
2986
+ orderNumber?: string | null;
2987
+ /** Optional ticket number */
2988
+ ticketNumber?: string | null;
2989
+ /** Resolved download url */
2990
+ downloadUrl?: string | null;
2991
+ /** Resolve status */
2992
+ resolveFailed?: boolean | null;
2993
+ /** Papyrus document id */
2994
+ documentId?: string | null;
2995
+ }
2996
+ interface TicketPdfResolveDelayed {
2997
+ /** Optional order number */
2998
+ orderNumber?: string | null;
2999
+ /** Optional ticket number */
3000
+ ticketNumber?: string | null;
3001
+ /** Papyrus document id */
3002
+ documentId?: string | null;
3003
+ }
3004
+ interface OrderCanceled {
3005
+ /** Event ID. */
3006
+ eventId?: string;
3007
+ /** Unique order number. */
3008
+ orderNumber?: string;
3009
+ /** Reservation ID associated with this order. */
3010
+ reservationId?: string;
3011
+ /** Contact ID associated with this order. */
3012
+ contactId?: string;
3013
+ /** Buyer first name. */
3014
+ firstName?: string | null;
3015
+ /** Buyer last name. */
3016
+ lastName?: string | null;
3017
+ /** Buyer email address. */
3018
+ email?: string | null;
3019
+ /** Checkout form response. */
3020
+ checkoutForm?: FormResponse$4;
3021
+ /** Invoice. */
3022
+ invoice?: Invoice$1;
3023
+ }
3024
+ interface EventEnded$2 {
3025
+ /** Event end timestamp in ISO UTC format. */
3026
+ timestamp?: Date;
3027
+ /** Event ID. */
3028
+ eventId?: string;
3028
3029
  }
3029
- interface Settings$5 {
3030
+ interface EventStarted$1 {
3031
+ /** Event start timestamp in ISO UTC format. */
3032
+ timestamp?: Date;
3033
+ /** Event ID. */
3034
+ eventId?: string;
3035
+ }
3036
+ interface UpdatedWithPreviousEntity {
3037
+ /** previous automation */
3038
+ previousAutomation?: Automation;
3039
+ /** updated automation */
3040
+ currentAutomation?: Automation;
3041
+ }
3042
+ interface Automation extends AutomationOriginInfoOneOf {
3043
+ /** Application info */
3044
+ applicationInfo?: ApplicationOrigin;
3045
+ /** Preinstalled info */
3046
+ preinstalledInfo?: PreinstalledOrigin;
3030
3047
  /**
3031
- * Whether the Auto Redirect feature, which creates `301 redirects` on a slug change, is enabled.
3032
- *
3033
- *
3034
- * Default: `false` (Auto Redirect is enabled.)
3048
+ * Automation ID.
3049
+ * @readonly
3035
3050
  */
3036
- preventAutoRedirect?: boolean;
3037
- /** User-selected keyword terms for a specific page. */
3038
- keywords?: Keyword$4[];
3039
- }
3040
- interface Agenda$4 {
3041
- /** Whether the schedule is enabled for the event. */
3042
- enabled?: boolean;
3051
+ _id?: string | null;
3043
3052
  /**
3044
- * Agenda page URL.
3053
+ * Revision number, which increments by 1 each time the automation is updated.
3054
+ * To prevent conflicting changes,
3055
+ * the current revision must be passed when updating the automation.
3056
+ *
3057
+ * Ignored when creating an automation.
3045
3058
  * @readonly
3046
3059
  */
3047
- pageUrl?: SiteUrl$4;
3048
- }
3049
- interface Category$5 {
3060
+ revision?: string | null;
3050
3061
  /**
3051
- * Category ID.
3062
+ * Information about the creator of the automation.
3052
3063
  * @readonly
3053
3064
  */
3054
- _id?: string;
3055
- /** Category name. */
3056
- name?: string;
3065
+ createdBy?: AuditInfo;
3057
3066
  /**
3058
- * Date and time when category was created.
3067
+ * Date and time the automation was created.
3059
3068
  * @readonly
3060
3069
  */
3061
3070
  _createdDate?: Date;
3062
3071
  /**
3063
- * The total number of draft and published events assigned to the category.
3072
+ * The entity that last updated the automation.
3064
3073
  * @readonly
3065
3074
  */
3066
- counts?: CategoryCounts$5;
3075
+ updatedBy?: AuditInfo;
3067
3076
  /**
3068
- * Category state. Possible values:
3069
- *
3070
- * `MANUAL`: Category is created manually by the user.
3071
- * `AUTO`: Category is created automatically.
3072
- * `RECURRING_EVENT`: Category is created automatically when publishing recurring events.
3073
- * `HIDDEN`: Category can't be seen.
3074
- *
3075
- * Default: `MANUAL`.
3076
- *
3077
- * **Note:** The WIX_EVENTS.MANAGE_AUTO_CATEGORIES permission scope is required to use states other than `MANUAL`.
3077
+ * Date and time the automation was last updated.
3078
+ * @readonly
3078
3079
  */
3079
- states?: State$8[];
3080
- }
3081
- interface CategoryCounts$5 {
3082
- /** Total number of draft events assigned to the category. */
3083
- assignedEventsCount?: number | null;
3084
- /** Total number of published events assigned to the category. Deleted events are excluded. */
3085
- assignedDraftEventsCount?: number | null;
3086
- }
3087
- declare enum State$8 {
3088
- /** Created manually by the user. */
3089
- MANUAL = "MANUAL",
3090
- /** Created automatically. */
3091
- AUTO = "AUTO",
3092
- /** Created when publishing recurring events. */
3093
- RECURRING_EVENT = "RECURRING_EVENT",
3094
- /** Category is hidden. */
3095
- HIDDEN = "HIDDEN",
3096
- /** Category is used to store component events. */
3097
- COMPONENT = "COMPONENT"
3098
- }
3099
- interface EventDisplaySettings$4 {
3100
- /** Whether event details button is hidden. Only available for events with no registration. */
3101
- hideEventDetailsButton?: boolean | null;
3102
- }
3103
- interface LabellingSettings$4 {
3104
- }
3105
- interface OrderConfirmed$1 {
3106
- /** Order confirmation timestamp in ISO UTC. */
3107
- timestamp?: Date;
3108
- /** Site language when Order initiated */
3109
- language?: string | null;
3110
- /** Notifications silenced for this domain event. */
3111
- silent?: boolean | null;
3112
- /** Locale in which Order was created. */
3113
- locale?: string | null;
3114
- /** Event ID. */
3115
- eventId?: string;
3116
- /** Unique order number. */
3117
- orderNumber?: string;
3118
- /** Contact ID associated with this order. */
3119
- contactId?: string;
3120
- /** Member ID associated with this order. */
3121
- memberId?: string | null;
3080
+ _updatedDate?: Date;
3081
+ /** Automation name that is displayed on the user's site. */
3082
+ name?: string;
3083
+ /** Automation description. */
3084
+ description?: string | null;
3085
+ /** Object that defines the automation's trigger, actions, and activation status. */
3086
+ configuration?: AutomationConfiguration;
3087
+ /** Defines how the automation was added to the site. */
3088
+ origin?: Origin;
3089
+ /** Automation settings. */
3090
+ settings?: AutomationSettings;
3122
3091
  /**
3123
- * Order created timestamp
3092
+ * Draft info (optional - only if the automation is a draft)
3124
3093
  * @readonly
3125
3094
  */
3126
- created?: Date;
3127
- /** Buyer first name. */
3128
- firstName?: string;
3129
- /** Buyer last name. */
3130
- lastName?: string;
3131
- /** Buyer email address. */
3132
- email?: string;
3133
- /** Checkout form response. */
3134
- checkoutForm?: FormResponse$4;
3135
- /** Order status. */
3136
- status?: OrderStatus$2;
3137
- /** Payment method used for paid tickets purchase, i.e. "payPal", "creditCard", etc. */
3138
- method?: string | null;
3139
- /** Tickets (generated after payment). */
3140
- tickets?: Ticket$2[];
3141
- /** Invoice. */
3142
- invoice?: Invoice$1;
3143
- /** Reservation ID associated with this order. */
3144
- reservationId?: string;
3145
- }
3146
- declare enum OrderStatus$2 {
3147
- /** Order status not available for this request fieldset */
3148
- NA_ORDER_STATUS = "NA_ORDER_STATUS",
3149
- /** Order is confirmed, no payment required */
3150
- FREE = "FREE",
3151
- /** Order was paid but payment gateway suspended the payment. Eventually changes to PAID */
3152
- PENDING = "PENDING",
3153
- /** Order paid via payment gateway */
3154
- PAID = "PAID",
3155
- /** Order confirmed but has to be paid via offline payment and status manually updated to PAID */
3156
- OFFLINE_PENDING = "OFFLINE_PENDING",
3157
- /** Order is awaiting for payment in Cashier */
3158
- INITIATED = "INITIATED",
3159
- /** Order was canceled */
3160
- CANCELED = "CANCELED",
3161
- /** Order payment was declined */
3162
- DECLINED = "DECLINED"
3095
+ draftInfo?: DraftInfo;
3096
+ /** Namespace */
3097
+ namespace?: string | null;
3163
3098
  }
3164
- interface Ticket$2 {
3165
- /** Unique issued ticket number. */
3166
- ticketNumber?: string;
3167
- /** Ticket definition ID. */
3168
- ticketDefinitionId?: string;
3169
- /** Ticket check-in. */
3170
- checkIn?: CheckIn$3;
3171
- /** Ticket price. */
3172
- price?: Money$7;
3173
- /** Whether ticket is archived. */
3174
- archived?: boolean;
3175
- /** Guest first name. */
3176
- firstName?: string | null;
3177
- /** Guest last name. */
3178
- lastName?: string | null;
3179
- /** Guest email. */
3180
- email?: string | null;
3181
- /** Contact ID associated with this ticket. */
3182
- contactId?: string | null;
3183
- /** Whether ticket is confirmed */
3184
- confirmed?: boolean;
3185
- /** Member ID associated with this ticket. */
3186
- memberId?: string | null;
3187
- /** Ticket form response (only assigned tickets contain separate forms). */
3188
- form?: FormResponse$4;
3189
- /** Ticket name. */
3190
- ticketName?: string;
3191
- /** Anonymized tickets no longer contain personally identifiable information (PII). */
3192
- anonymized?: boolean;
3193
- /** URL and password to online conference */
3194
- onlineConferencingLogin?: OnlineConferencingLogin$4;
3099
+ /** @oneof */
3100
+ interface AutomationOriginInfoOneOf {
3101
+ /** Application info */
3102
+ applicationInfo?: ApplicationOrigin;
3103
+ /** Preinstalled info */
3104
+ preinstalledInfo?: PreinstalledOrigin;
3195
3105
  }
3196
- interface Invoice$1 {
3197
- items?: Item$2[];
3106
+ interface ActionSettings {
3198
3107
  /**
3199
- * Total cart amount.
3200
- * @deprecated
3108
+ * List of actions that cannot be deleted.
3109
+ * Default: Empty. All actions are deletable by default.
3201
3110
  */
3202
- total?: Money$7;
3203
- /** Discount applied to cart. */
3204
- discount?: Discount$1;
3205
- /** Tax applied to cart. */
3206
- tax?: Tax$1;
3207
- /** Total cart amount before discount, tax, and fees. */
3208
- subTotal?: Money$7;
3111
+ permanentActionIds?: string[];
3209
3112
  /**
3210
- * Total amount of cart after discount, tax, and fees.
3211
- * Grand total is calculated in the following order:
3212
- * 1. Total prices of all items in the cart are calculated.
3213
- * 2. Discount is subtracted from the cart (if applicable).
3214
- * 3. Tax is added (if applicable).
3215
- * 4. Wix service fee is added.
3113
+ * List of actions that cannot be edited.
3114
+ * Default: Empty. All actions are editable by default.
3216
3115
  */
3217
- grandTotal?: Money$7;
3116
+ readonlyActionIds?: string[];
3117
+ /** Whether the option to add a delay is disabled for the automation. */
3118
+ disableDelayAddition?: boolean;
3119
+ /** Whether the option to add a condition is disabled for the automation. */
3120
+ disableConditionAddition?: boolean;
3121
+ }
3122
+ interface AuditInfo extends AuditInfoIdOneOf {
3123
+ /** User ID. */
3124
+ userId?: string;
3125
+ /** Application ID. */
3126
+ appId?: string;
3127
+ }
3128
+ /** @oneof */
3129
+ interface AuditInfoIdOneOf {
3130
+ /** User ID. */
3131
+ userId?: string;
3132
+ /** Application ID. */
3133
+ appId?: string;
3134
+ }
3135
+ /** Automation runtime configuration */
3136
+ interface AutomationConfiguration {
3137
+ /** Status of the automation on the site. */
3138
+ status?: Status$7;
3139
+ /** Automation trigger configuration. */
3140
+ trigger?: Trigger;
3141
+ /** List of IDs of root actions. Root actions are the first actions to run after the trigger. The actions in the list run in parallel. */
3142
+ rootActionIds?: string[];
3218
3143
  /**
3219
- * Fees applied to the cart.
3220
- * @readonly
3144
+ * Map of all actions that the automation may execute.
3145
+ * The key is the action ID, and the value is the action configuration.
3221
3146
  */
3222
- fees?: Fee$1[];
3223
- /** Total revenue, excluding fees. (Taxes and payment provider fees are not deducted). */
3224
- revenue?: Money$7;
3225
- /** URL to invoice preview. Returned only if order is paid. */
3226
- previewUrl?: string | null;
3147
+ actions?: Record<string, Action$1>;
3227
3148
  }
3228
- interface Item$2 {
3229
- /** Unique line item ID. */
3149
+ declare enum TimeUnit {
3150
+ UNKNOWN_TIME_UNIT = "UNKNOWN_TIME_UNIT",
3151
+ MINUTES = "MINUTES",
3152
+ HOURS = "HOURS",
3153
+ DAYS = "DAYS",
3154
+ WEEKS = "WEEKS",
3155
+ MONTHS = "MONTHS"
3156
+ }
3157
+ interface Filter {
3158
+ /** Filter ID. */
3230
3159
  _id?: string;
3231
- /** Line item quantity. */
3232
- quantity?: number;
3233
- /** Line item mame. */
3234
- name?: string;
3235
- /** Line item price. */
3236
- price?: Money$7;
3237
- /** Total price for line items. Always equal to price * quantity. */
3238
- total?: Money$7;
3239
- /** Discount applied to the line item. */
3240
- discount?: Discount$1;
3241
- /** Tax applied to the item. */
3242
- tax?: Tax$1;
3160
+ /** Field key from the payload schema, for example "formId". */
3161
+ fieldKey?: string;
3162
+ /** Filter expression that evaluates to a boolean. */
3163
+ filterExpression?: string;
3164
+ }
3165
+ interface FutureDateActivationOffset {
3243
3166
  /**
3244
- * Fees applied to the item.
3245
- * @readonly
3167
+ * The offset value. The value is always taken as negative, so that the automation runs before the trigger date.
3168
+ * To create an offset that causes the automation to run after the trigger date, use a delay action.
3246
3169
  */
3247
- fees?: Fee$1[];
3170
+ preScheduledEventOffsetExpression?: string;
3171
+ /** Time unit for the scheduled event offset. */
3172
+ scheduledEventOffsetTimeUnit?: TimeUnit;
3248
3173
  }
3249
- interface Discount$1 {
3250
- /** Total discount amount. */
3251
- amount?: Money$7;
3252
- /** Total charge after applied discount. */
3253
- afterDiscount?: Money$7;
3174
+ interface RateLimit {
3175
+ /** Value expressing the maximum number of times the trigger can be activated. */
3176
+ maxActivationsExpression?: string;
3177
+ /** Duration of the rate limiting window in the selected time unit. If no value is set, the rate limit is permanent. */
3178
+ durationExpression?: string | null;
3179
+ /** Time unit for the rate limit duration. */
3180
+ durationTimeUnit?: TimeUnit;
3181
+ /** Unique identifier of each activation, by which rate limiter will count activations. */
3182
+ uniqueIdentifierExpression?: string | null;
3183
+ }
3184
+ interface ConditionExpressionGroup {
3185
+ /** Expression group operator. */
3186
+ operator?: Operator;
3187
+ /** List of boolean expressions to be evaluated with the given operator. */
3188
+ booleanExpressions?: string[];
3189
+ }
3190
+ declare enum Operator {
3191
+ UNKNOWN_OPERATOR = "UNKNOWN_OPERATOR",
3192
+ OR = "OR",
3193
+ AND = "AND"
3194
+ }
3195
+ declare enum Type$5 {
3196
+ /** Automation will be triggered according to the trigger configuration */
3197
+ UNKNOWN_ACTION_TYPE = "UNKNOWN_ACTION_TYPE",
3198
+ /** App defined Action */
3199
+ APP_DEFINED = "APP_DEFINED",
3200
+ /** Condition Action */
3201
+ CONDITION = "CONDITION",
3202
+ /** Delay Action */
3203
+ DELAY = "DELAY",
3204
+ /** RateLimit Action */
3205
+ RATE_LIMIT = "RATE_LIMIT",
3206
+ /** Output Action */
3207
+ OUTPUT = "OUTPUT"
3208
+ }
3209
+ interface AppDefinedAction {
3210
+ /** ID of the app that defines the action. */
3211
+ appId?: string;
3212
+ /** Action key. */
3213
+ actionKey?: string;
3214
+ /** Action input mapping. */
3215
+ inputMapping?: Record<string, any> | null;
3254
3216
  /**
3255
- * Discount coupon code.
3256
- * @deprecated
3217
+ * Array of conditions determining whether to skip the action in the automation flow.
3218
+ * The action will be skipped if any of the expression groups evaluate to `true`.
3219
+ * Actions following a skipped action will still run.
3257
3220
  */
3258
- code?: string;
3221
+ skipConditionOrExpressionGroups?: ConditionExpressionGroup[];
3222
+ /** List of IDs of actions to run in parallel once the action completes. */
3223
+ postActionIds?: string[];
3224
+ }
3225
+ interface ConditionAction {
3226
+ /** The condition evaluates to `true` if either of the expression groups evaluate to `true`. */
3227
+ orExpressionGroups?: ConditionExpressionGroup[];
3228
+ /** List of IDs of actions to run when the entire condition is evaluated to `true`. */
3229
+ truePostActionIds?: string[];
3230
+ /** List of IDs of actions to run when the entire condition is evaluated to `false`. */
3231
+ falsePostActionIds?: string[];
3232
+ }
3233
+ interface DelayAction {
3234
+ /** Value expressing the amount of time to wait from a specific date or from the time the action is executed. */
3235
+ offsetExpression?: string | null;
3236
+ /** Time unit for delay offset. */
3237
+ offsetTimeUnit?: TimeUnit;
3259
3238
  /**
3260
- * Discount coupon name.
3261
- * @deprecated
3239
+ * The action due date. If defined without an offset, the automation will wait until this date to execute the next step.
3240
+ * If an offset is defined, it's calculated from this date.
3241
+ * The date is expressed in the number of milliseconds since the Unix Epoch (1 January, 1970 UTC).
3262
3242
  */
3263
- name?: string;
3243
+ dueDateEpochExpression?: string | null;
3244
+ /** List of IDs of actions to run in parallel after the delay. */
3245
+ postActionIds?: string[];
3246
+ }
3247
+ interface RateLimitAction {
3248
+ /** The maximum number of activations allowed for the action. */
3249
+ maxActivationsExpression?: string;
3264
3250
  /**
3265
- * Discount coupon ID.
3266
- * @deprecated
3251
+ * Duration of the rate limiting window, expressed in selected time unit.
3252
+ * If no value is set, then there is no time limit on the rate limiter.
3267
3253
  */
3268
- couponId?: string;
3269
- /** Discount items. */
3270
- discounts?: DiscountItem$1[];
3254
+ rateLimitDurationExpression?: string | null;
3255
+ /** Time unit for the rate limit duration. */
3256
+ rateLimitDurationTimeUnit?: TimeUnit;
3257
+ /** Unique identifier of each activation by which rate limiter counts activations. */
3258
+ uniqueIdentifierExpression?: string | null;
3259
+ /** List of IDs of actions to run in parallel once the action completes. */
3260
+ postActionIds?: string[];
3271
3261
  }
3272
- interface DiscountItem$1 extends DiscountItemDiscountOneOf$1 {
3273
- /** Coupon discount. */
3274
- coupon?: CouponDiscount$1;
3275
- /** Pricing plan discount. */
3276
- paidPlan?: PaidPlanDiscount$1;
3277
- /** Total discount amount. */
3278
- amount?: Money$7;
3262
+ interface OutputAction {
3263
+ /** Output action output mapping. */
3264
+ outputMapping?: Record<string, any> | null;
3279
3265
  }
3280
- /** @oneof */
3281
- interface DiscountItemDiscountOneOf$1 {
3282
- /** Coupon discount. */
3283
- coupon?: CouponDiscount$1;
3284
- /** Pricing plan discount. */
3285
- paidPlan?: PaidPlanDiscount$1;
3266
+ declare enum Status$7 {
3267
+ /** unused */
3268
+ UNKNOWN_STATUS = "UNKNOWN_STATUS",
3269
+ /** Automation will be triggered according to the trigger configuration */
3270
+ ACTIVE = "ACTIVE",
3271
+ /** Automation will not be triggered */
3272
+ INACTIVE = "INACTIVE"
3286
3273
  }
3287
- interface CouponDiscount$1 {
3288
- /** Discount coupon name. */
3289
- name?: string;
3290
- /** Discount coupon code. */
3291
- code?: string;
3292
- /** Discount coupon ID. */
3293
- couponId?: string;
3274
+ interface Trigger {
3275
+ /** ID of the app that defines the trigger. */
3276
+ appId?: string;
3277
+ /** Trigger key. */
3278
+ triggerKey?: string;
3279
+ /**
3280
+ * List of filters on schema fields.
3281
+ * In order for the automation to run, all filter expressions must evaluate to `true` for a given payload.
3282
+ */
3283
+ filters?: Filter[];
3284
+ /** Defines the time offset between the trigger date and when the automation runs. */
3285
+ scheduledEventOffset?: FutureDateActivationOffset;
3286
+ /** Limits the number of times an automation can be triggered. */
3287
+ rateLimit?: RateLimit;
3288
+ automationConfigMapping?: Record<string, any> | null;
3294
3289
  }
3295
- interface PaidPlanDiscount$1 extends PaidPlanDiscountDiscountOneOf$1 {
3296
- /** Discount by percentage applied to tickets. */
3297
- percentDiscount?: PercentDiscount$1;
3298
- /** Name of pricing plan. */
3299
- name?: string;
3290
+ interface Action$1 extends ActionInfoOneOf {
3291
+ /** Action defined by an app (via RPC, HTTP or Velo). */
3292
+ appDefinedInfo?: AppDefinedAction;
3293
+ /** Condition action. */
3294
+ conditionInfo?: ConditionAction;
3295
+ /** Delay action. */
3296
+ delayInfo?: DelayAction;
3297
+ /** Rate-limiting action. */
3298
+ rateLimitInfo?: RateLimitAction;
3299
+ /** Action ID. If not specified, a new ID is generated. */
3300
+ _id?: string | null;
3301
+ /** Action type. */
3302
+ type?: Type$5;
3303
+ /**
3304
+ * Human-readable name to differentiate the action from other actions of the same type.
3305
+ * The name can contain only alphanumeric characters and underscores. If not provided, a namespace in the form `actionkey-indexOfAction` is
3306
+ * generated automatically.
3307
+ * If the action has output, the output will be available in the payload under this name.
3308
+ * If the user has multiple actions with the same appId and actionKey, previous action output will be overwritten.
3309
+ */
3310
+ namespace?: string | null;
3300
3311
  }
3301
3312
  /** @oneof */
3302
- interface PaidPlanDiscountDiscountOneOf$1 {
3303
- /** Discount by percentage applied to tickets. */
3304
- percentDiscount?: PercentDiscount$1;
3313
+ interface ActionInfoOneOf {
3314
+ /** Action defined by an app (via RPC, HTTP or Velo). */
3315
+ appDefinedInfo?: AppDefinedAction;
3316
+ /** Condition action. */
3317
+ conditionInfo?: ConditionAction;
3318
+ /** Delay action. */
3319
+ delayInfo?: DelayAction;
3320
+ /** Rate-limiting action. */
3321
+ rateLimitInfo?: RateLimitAction;
3305
3322
  }
3306
- interface PercentDiscount$1 {
3307
- /** Percent rate. */
3308
- rate?: string;
3309
- /** Number of discounted tickets. */
3310
- quantityDiscounted?: number;
3323
+ declare enum Origin {
3324
+ /** default value. this is unused */
3325
+ UNKNOWN_ORIGIN = "UNKNOWN_ORIGIN",
3326
+ /** user created automation */
3327
+ USER = "USER",
3328
+ /** automation created by application (site specific) */
3329
+ APPLICATION = "APPLICATION",
3330
+ /** preinstalled application automation */
3331
+ PREINSTALLED = "PREINSTALLED"
3311
3332
  }
3312
- interface Tax$1 {
3313
- /** Tax type. */
3314
- type?: TaxType$5;
3333
+ interface ApplicationOrigin {
3334
+ /** Application ID. */
3335
+ appId?: string;
3336
+ }
3337
+ interface PreinstalledOrigin {
3338
+ /** ID of the app that defines the preinstalled automation. */
3339
+ appId?: string;
3340
+ /** Application component ID. */
3341
+ componentId?: string;
3342
+ /** Application component version. */
3343
+ componentVersion?: number;
3315
3344
  /**
3316
- * Tax name.
3345
+ * Whether the automation is an override automation. If the user modifies the preinstalled automation installed on their site, a site-specific
3346
+ * automation is created that overrides the original one. If the user makes no modifications this boolean is set to `false` and the original
3347
+ * preinstalled automation is used.
3348
+ *
3349
+ * Default: `false`
3317
3350
  * @readonly
3318
3351
  */
3319
- name?: string;
3320
- /** Tax rate. */
3321
- rate?: string;
3322
- /** Taxable amount. */
3323
- taxable?: Money$7;
3324
- /** Total tax amount. */
3325
- amount?: Money$7;
3352
+ override?: boolean | null;
3326
3353
  }
3327
- interface Fee$1 {
3328
- /** Fee identifier. */
3329
- name?: FeeName$1;
3330
- /** How fee is calculated. */
3331
- type?: FeeType$2;
3354
+ interface AutomationSettings {
3332
3355
  /**
3333
- * Fee rate.
3356
+ * Whether the automation is hidden from users.
3357
+ * Default: `false`
3358
+ */
3359
+ hidden?: boolean;
3360
+ /**
3361
+ * Whether the automation is read-only.
3362
+ * Default: `false`
3363
+ */
3364
+ readonly?: boolean;
3365
+ /**
3366
+ * Whether the option to delete the automation from the site is disabled.
3367
+ * Default: `false`
3368
+ */
3369
+ disableDelete?: boolean;
3370
+ /**
3371
+ * Whether the option to change the automation status (from active to inactive and vice versa) is disabled.
3372
+ * Default: `false`
3373
+ */
3374
+ disableStatusChange?: boolean;
3375
+ /** Automation action settings. */
3376
+ actionSettings?: ActionSettings;
3377
+ }
3378
+ interface DraftInfo {
3379
+ /**
3380
+ * optional - automationId of the original automation
3334
3381
  * @readonly
3335
3382
  */
3336
- rate?: string;
3337
- /** Total amount of fee charges. */
3338
- amount?: Money$7;
3383
+ originalAutomationId?: string | null;
3339
3384
  }
3340
- declare enum FeeName$1 {
3341
- /** Wix service fee charges applied to the line item. */
3342
- WIX_FEE = "WIX_FEE"
3385
+ interface DeletedWithEntity {
3386
+ /** Deleted automation */
3387
+ automation?: Automation;
3343
3388
  }
3344
- declare enum FeeType$2 {
3345
- /** Fee is added to the ticket price at checkout. */
3346
- FEE_ADDED = "FEE_ADDED",
3347
- /** Seller absorbs the fee. It is deducted from the ticket price. */
3348
- FEE_INCLUDED = "FEE_INCLUDED",
3349
- /** Fee is added to the ticket price at checkout. */
3350
- FEE_ADDED_AT_CHECKOUT = "FEE_ADDED_AT_CHECKOUT"
3389
+ interface GuestCountUpdated {
3390
+ /** Guest. */
3391
+ guest?: EventGuest;
3392
+ /** Guest count updates. */
3393
+ guestCountUpdates?: GuestCountUpdate[];
3351
3394
  }
3352
- /** Produced if a buyer email was added to the existing order */
3353
- interface OrderEmailAdded {
3354
- /** Order updated timestamp in ISO UTC format. */
3355
- timestamp?: Date;
3356
- /** Site language when Order initiated */
3357
- language?: string | null;
3358
- /** Locale in which Order was created. */
3359
- locale?: string | null;
3360
- /** Notifications silenced for this domain event. */
3361
- silent?: boolean | null;
3395
+ interface EventGuest {
3396
+ /** Guest ID. */
3397
+ _id?: string | null;
3362
3398
  /** Event ID. */
3363
- eventId?: string;
3364
- /** Unique order number. */
3365
- orderNumber?: string;
3366
- /** Contact ID associated with this order. */
3399
+ eventId?: string | null;
3400
+ /** RSVP ID. <br/> <br/> **Note:** Only applicable when `guestType` is `RSVP`. */
3401
+ rsvpId?: string | null;
3402
+ /** Order number. <br/> <br/> **Note:** Only applicable when `guestType` is `BUYER` or `TICKET_HOLDER`. */
3403
+ orderNumber?: string | null;
3404
+ /** Ticket number. <br/> <br/> **Note:** Only applicable when `guestType` is `TICKET_HOLDER`. */
3405
+ ticketNumber?: string | null;
3406
+ /** List of names, numbers, and definition IDs for each ticket. */
3407
+ tickets?: TicketDetails$2[];
3408
+ /** Guest's contact ID. See [Contacts API](https://dev.wix.com/api/rest/contacts/contacts/contacts-v4) for more details. */
3367
3409
  contactId?: string | null;
3368
- /** Member ID associated with this order. */
3410
+ /** Guest details. <br/> <br/> Returned only when the `guestDetails` fieldset is sent in the request. */
3411
+ guestDetails?: GuestDetails$2;
3412
+ /** Attendance status. The attendaces status updates based on status values in an RSVP object (for RSVP events) or in an Order object (for ticketed events). For more information read [this article](https://dev.wix.com/docs/rest/business-solutions/events/event-guests/guest-attendance-status-mapping). <br/> <br/> **Note:** For `guestType` `BUYER` or `TICKET_HOLDER` the `IN_WAITLIST` value is not applicable. */
3413
+ attendanceStatus?: AttendanceStatus;
3414
+ /** Secondary language code in [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. Used when the event ticket should be translated into another language. */
3415
+ secondaryLanguageCode?: string | null;
3416
+ /** Date and time the guest was created in `yyyy-mm-ddThh:mm:sssZ` format. */
3417
+ _createdDate?: Date;
3418
+ /** Date and time the guest was updated in `yyyy-mm-ddThh:mm:sssZ` format. */
3419
+ _updatedDate?: Date;
3420
+ /** Date and time of guest's latest attendance status update. */
3421
+ attendanceStatusUpdatedDate?: Date;
3422
+ /** Site member ID. */
3369
3423
  memberId?: string | null;
3424
+ /** Guest type: <br/> <br/> `RSVP`: An invited guest, no ticket necessary. <br/> <br/> `BUYER`: The guest who bought the tickets. <br/> <br/> `TICKET_HOLDER`: The guest for whom the ticket was bought. */
3425
+ guestType?: GuestType;
3426
+ /** Locale in [IETF BCP 47](https://en.wikipedia.org/wiki/IETF_language_tag) format. Used when the event date and time on a ticket should be formatted into another locale. */
3427
+ locale?: string | null;
3370
3428
  /**
3371
- * Order created timestamp.
3429
+ * Number of current guest plus additional guests
3372
3430
  * @readonly
3373
3431
  */
3374
- created?: Date;
3432
+ totalGuests?: number | null;
3375
3433
  /**
3376
- * Order updated timestamp.
3434
+ * Guest revision
3377
3435
  * @readonly
3378
3436
  */
3379
- updated?: Date;
3380
- /** Buyer first name. */
3437
+ revision?: string | null;
3438
+ }
3439
+ interface TicketDetails$2 {
3440
+ /** Ticket number. */
3441
+ number?: string;
3442
+ /** Ticket definition ID. */
3443
+ definitionId?: string | null;
3444
+ /** Ticket name. */
3445
+ name?: string | null;
3446
+ }
3447
+ interface TicketGuestDetails {
3448
+ /** The login details for the guest to access the online conference event. */
3449
+ onlineConferencingLogin?: OnlineConferencingLogin$4;
3450
+ /** First name. */
3381
3451
  firstName?: string | null;
3382
- /** Buyer last name. */
3452
+ /** Last name. */
3383
3453
  lastName?: string | null;
3384
- /** Buyer email. */
3385
- email?: string | null;
3386
- /** Checkout form response. */
3387
- checkoutForm?: FormResponse$4;
3388
- /** Whether order is confirmed - occurs once payment gateway processes the payment and funds reach merchant's account. */
3389
- confirmed?: boolean;
3390
- /** Order status. */
3391
- status?: OrderStatus$2;
3392
- /** Payment method used for paid tickets purchase, i.e. "payPal", "creditCard", etc. */
3393
- method?: string | null;
3394
- /** Tickets generated after payment. */
3395
- tickets?: Ticket$2[];
3396
- /** Whether order was archived and excluded from results. */
3397
- archived?: boolean;
3398
- /** Reservation ID associated with this order. */
3399
- reservationId?: string;
3400
3454
  }
3401
- interface EventCanceled$2 {
3402
- /** Event canceled timestamp in ISO UTC format. */
3403
- timestamp?: Date;
3404
- /** Event ID. */
3405
- eventId?: string;
3406
- /** Event title */
3407
- title?: string;
3408
- /** Event creator user ID. */
3409
- userId?: string | null;
3455
+ interface GuestDetails$2 {
3456
+ /** Email. */
3457
+ email?: string | null;
3458
+ /** First name. */
3459
+ firstName?: string | null;
3460
+ /** Last name. */
3461
+ lastName?: string | null;
3462
+ /** Form response. */
3463
+ formResponse?: FormResponse$4;
3464
+ /** Whether the guest has checked into the event. */
3465
+ checkedIn?: boolean;
3466
+ /** The login details for the guest to access the online conference event. */
3467
+ onlineConferencingLogin?: OnlineConferencingLogin$4;
3410
3468
  }
3411
- interface EventReminder$1 {
3412
- /** Reminder timestamp in ISO UTC format. */
3413
- timestamp?: Date;
3414
- /** Event ID. */
3415
- eventId?: string;
3416
- /** Event location. */
3417
- location?: Location$6;
3418
- /** Event schedule configuration. */
3419
- scheduleConfig?: ScheduleConfig$6;
3420
- /** Event title. */
3421
- title?: string;
3422
- /** Event creator user ID. */
3423
- userId?: string | null;
3424
- /** Time until the event starts (currently, reminder is triggered 1 day before event starts). */
3425
- startsIn?: TimeDuration$1;
3469
+ declare enum AttendanceStatus {
3470
+ /** Not attending. */
3471
+ NOT_ATTENDING = "NOT_ATTENDING",
3472
+ /** Attending. */
3473
+ ATTENDING = "ATTENDING",
3474
+ /** In a waiting list. */
3475
+ IN_WAITLIST = "IN_WAITLIST"
3426
3476
  }
3427
- /**
3428
- * A coarse-grained representation of time duration divided into whole constituting components of days, hours, and minutes.
3429
- * For example, 25.5 hours duration is represented as `{ days: 1, hours: 1, minutes: 30 }`.
3430
- */
3431
- interface TimeDuration$1 {
3432
- /** Number of days. */
3433
- days?: number;
3434
- /** Number of hours. */
3435
- hours?: number;
3436
- /** Number of minutes. */
3437
- minutes?: number;
3477
+ declare enum GuestType {
3478
+ /** Rsvp guest. */
3479
+ RSVP = "RSVP",
3480
+ /** Buyer guest. */
3481
+ BUYER = "BUYER",
3482
+ /** Ticket holder guest. */
3483
+ TICKET_HOLDER = "TICKET_HOLDER"
3438
3484
  }
3439
- interface OrderPaid$1 {
3440
- /** Order paid timestamp in ISO UTC. */
3441
- timestamp?: Date;
3442
- /** Site language when Order initiated */
3443
- language?: string | null;
3444
- /** Notifications silenced for this domain event. */
3445
- silent?: boolean | null;
3446
- /** Locale in which Order was created. */
3447
- locale?: string | null;
3448
- /** Event ID. */
3449
- eventId?: string;
3450
- /** Unique order number. */
3451
- orderNumber?: string;
3452
- /** Reservation ID associated with this order. */
3453
- reservationId?: string;
3454
- /** Contact ID associated with this order. */
3455
- contactId?: string;
3456
- /** Member ID associated with this order. */
3457
- memberId?: string | null;
3458
- /**
3459
- * Order created timestamp
3460
- * @readonly
3461
- */
3462
- created?: Date;
3463
- /** Buyer first name. */
3464
- firstName?: string;
3465
- /** Buyer last name. */
3466
- lastName?: string;
3467
- /** Buyer email address. */
3468
- email?: string;
3469
- /** Checkout form response. */
3470
- checkoutForm?: FormResponse$4;
3471
- /** Order status. */
3472
- status?: OrderStatus$2;
3473
- /** Payment method used for paid tickets purchase, i.e. "payPal", "creditCard", etc. */
3474
- method?: string | null;
3475
- /** Tickets (generated after payment). */
3476
- tickets?: Ticket$2[];
3477
- /** Invoice. */
3478
- invoice?: Invoice$1;
3485
+ interface GuestCountUpdate {
3486
+ /** Attendance status. */
3487
+ attendanceStatus?: AttendanceStatus;
3488
+ /** Total guest count change. */
3489
+ totalGuestsDelta?: number;
3490
+ /** Guest count change. */
3491
+ countDelta?: number;
3479
3492
  }
3480
- interface DomainEvent$8 extends DomainEventBodyOneOf$8 {
3481
- createdEvent?: EntityCreatedEvent$8;
3482
- updatedEvent?: EntityUpdatedEvent$8;
3483
- deletedEvent?: EntityDeletedEvent$8;
3484
- actionEvent?: ActionEvent$8;
3485
- /**
3486
- * Unique event ID.
3487
- * Allows clients to ignore duplicate webhooks.
3488
- */
3489
- _id?: string;
3493
+ interface MemberEventStatusUpdated {
3494
+ /** Event id. */
3495
+ eventId?: string | null;
3496
+ /** Member id. */
3497
+ memberId?: string | null;
3498
+ /** Member event status. */
3499
+ status?: MemberEventStatusUpdatedEventType;
3500
+ }
3501
+ declare enum MemberEventStatusUpdatedEventType {
3490
3502
  /**
3491
- * Assumes actions are also always typed to an entity_type
3492
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
3503
+ * Every time a guest with specified member ID is added to the event.
3504
+ * This event can also be fired if existing guest changed member ID.
3493
3505
  */
3494
- entityFqdn?: string;
3506
+ MEMBER_JOINED = "MEMBER_JOINED",
3495
3507
  /**
3496
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
3497
- * This is although the created/updated/deleted notion is duplication of the oneof types
3498
- * Example: created/updated/deleted/started/completed/email_opened
3508
+ * Every time a guest with specified member ID is removed from the event.
3509
+ * This event can also be fired if existing guest changed member ID.
3499
3510
  */
3500
- slug?: string;
3501
- /** ID of the entity associated with the event. */
3502
- entityId?: string;
3503
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
3504
- eventTime?: Date;
3511
+ MEMBER_LEFT = "MEMBER_LEFT",
3505
3512
  /**
3506
- * Whether the event was triggered as a result of a privacy regulation application
3507
- * (for example, GDPR).
3513
+ * Every time a guest with specified member ID and status ATTENDING is added to the event.
3514
+ * This event can also be fired if existing guest changed member ID or status to ATTENDING.
3508
3515
  */
3509
- triggeredByAnonymizeRequest?: boolean | null;
3510
- /** If present, indicates the action that triggered the event. */
3511
- originatedFrom?: string | null;
3516
+ ATTENDING_MEMBER_JOINED = "ATTENDING_MEMBER_JOINED",
3512
3517
  /**
3513
- * A sequence number defining the order of updates to the underlying entity.
3514
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
3515
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
3516
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
3517
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
3518
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
3518
+ * Once last guest with specified member ID is removed from the event or status became not ATTENDING.
3519
+ * Once this is fired there are no more attending guests with specified member ID in the event.
3520
+ * This event can also be fired if existing guest changed their member ID or status to not ATTENDING.
3519
3521
  */
3520
- entityEventSequence?: string | null;
3521
- }
3522
- /** @oneof */
3523
- interface DomainEventBodyOneOf$8 {
3524
- createdEvent?: EntityCreatedEvent$8;
3525
- updatedEvent?: EntityUpdatedEvent$8;
3526
- deletedEvent?: EntityDeletedEvent$8;
3527
- actionEvent?: ActionEvent$8;
3528
- }
3529
- interface EntityCreatedEvent$8 {
3530
- entity?: string;
3522
+ LAST_ATTENDING_MEMBER_LEFT = "LAST_ATTENDING_MEMBER_LEFT"
3531
3523
  }
3532
- interface RestoreInfo$7 {
3533
- deletedDate?: Date;
3524
+ interface ContactEventStatusUpdated {
3525
+ /** Event id. */
3526
+ eventId?: string | null;
3527
+ /** Contact id. */
3528
+ contactId?: string | null;
3529
+ /** Contact event status. */
3530
+ status?: ContactEventStatusUpdatedEventType;
3534
3531
  }
3535
- interface EntityUpdatedEvent$8 {
3532
+ declare enum ContactEventStatusUpdatedEventType {
3536
3533
  /**
3537
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
3538
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
3539
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
3534
+ * Every time a guest with specified contact ID is added to the event.
3535
+ * This event can also be fired if existing guest changed contact ID.
3540
3536
  */
3541
- currentEntity?: string;
3542
- }
3543
- interface EntityDeletedEvent$8 {
3544
- /** Entity that was deleted */
3545
- deletedEntity?: string | null;
3546
- }
3547
- interface ActionEvent$8 {
3548
- body?: string;
3549
- }
3550
- interface TicketPdfResolved {
3551
- /** Optional order number */
3552
- orderNumber?: string | null;
3553
- /** Optional ticket number */
3554
- ticketNumber?: string | null;
3555
- /** Resolved download url */
3556
- downloadUrl?: string | null;
3557
- /** Resolve status */
3558
- resolveFailed?: boolean | null;
3559
- /** Papyrus document id */
3560
- documentId?: string | null;
3537
+ CONTACT_JOINED = "CONTACT_JOINED",
3538
+ /**
3539
+ * Every time a guest with specified contact ID is removed from the event.
3540
+ * This event can also be fired if existing guest changed contact ID.
3541
+ */
3542
+ CONTACT_LEFT = "CONTACT_LEFT",
3543
+ /**
3544
+ * Once last guest with specified contact ID is removed from the event.
3545
+ * Once this is fired there are no more guests with specified contact ID in the event.
3546
+ * This event can also be fired if existing guest changed their contact ID.
3547
+ */
3548
+ LAST_CONTACT_LEFT = "LAST_CONTACT_LEFT"
3561
3549
  }
3562
- interface TicketPdfResolveDelayed {
3563
- /** Optional order number */
3564
- orderNumber?: string | null;
3565
- /** Optional ticket number */
3566
- ticketNumber?: string | null;
3567
- /** Papyrus document id */
3568
- documentId?: string | null;
3550
+ interface NotifyGuestAction {
3551
+ /** Event guest. */
3552
+ guest?: EventGuest;
3553
+ /** Task context. */
3554
+ taskContext?: TaskContext;
3569
3555
  }
3570
- interface EventEnded$2 {
3571
- /** Event end timestamp in ISO UTC format. */
3572
- timestamp?: Date;
3573
- /** Event ID. */
3574
- eventId?: string;
3556
+ interface TaskContext {
3557
+ /** Task id. */
3558
+ _id?: string | null;
3559
+ /** Notify action type */
3560
+ type?: NotifyActionType;
3575
3561
  }
3576
- interface EventStarted$1 {
3577
- /** Event start timestamp in ISO UTC format. */
3578
- timestamp?: Date;
3579
- /** Event ID. */
3580
- eventId?: string;
3562
+ declare enum NotifyActionType {
3563
+ UNKNOWN = "UNKNOWN",
3564
+ EMAIL = "EMAIL",
3565
+ AUTOMATION_TRIGGER = "AUTOMATION_TRIGGER",
3566
+ PUSH = "PUSH"
3581
3567
  }
3582
- interface MessageEnvelope$c {
3583
- /** App instance ID. */
3584
- instanceId?: string | null;
3585
- /** Event type. */
3586
- eventType?: string;
3587
- /** The identification type and identity data. */
3588
- identity?: IdentificationData$c;
3589
- /** Stringify payload. */
3590
- data?: string;
3568
+ interface UnprocessedTargetEvent {
3569
+ /** The target that was not marked as processed */
3570
+ target?: Target$1;
3591
3571
  }
3592
- interface IdentificationData$c extends IdentificationDataIdOneOf$c {
3593
- /** ID of a site visitor that has not logged in to the site. */
3594
- anonymousVisitorId?: string;
3595
- /** ID of a site visitor that has logged in to the site. */
3596
- memberId?: string;
3597
- /** ID of a Wix user (site owner, contributor, etc.). */
3598
- wixUserId?: string;
3599
- /** ID of an app. */
3600
- appId?: string;
3601
- /** @readonly */
3602
- identityType?: WebhookIdentityType$c;
3572
+ interface Target$1 {
3573
+ /** Unique identifier of the target with pattern `id_tag_value[type]`, for example 'com.wixpress.myproto[wix_proto_bundle_export]`` */
3574
+ _id?: string | null;
3575
+ /** The unique location of the target in Bazel notation i.e @repo//path/to/target:target_name */
3576
+ location?: string | null;
3577
+ /** The combined digest of all files within the target */
3578
+ combinedDigest?: string | null;
3579
+ /** The vcs commit timestamp of the target in milliseconds */
3580
+ commitTimestamp?: string | null;
3581
+ /** The type of the target */
3582
+ type?: TargetType;
3583
+ /**
3584
+ * The target's id tag value in Bazel, uniquness is not guaranteed
3585
+ * i.e for a tag "businessSchemaIndexerId=com.wixpress.myproto" the value is "com.wixpress.myproto"
3586
+ */
3587
+ idTagValue?: string | null;
3588
+ files?: File$1[];
3603
3589
  }
3604
- /** @oneof */
3605
- interface IdentificationDataIdOneOf$c {
3606
- /** ID of a site visitor that has not logged in to the site. */
3607
- anonymousVisitorId?: string;
3608
- /** ID of a site visitor that has logged in to the site. */
3609
- memberId?: string;
3610
- /** ID of a Wix user (site owner, contributor, etc.). */
3611
- wixUserId?: string;
3612
- /** ID of an app. */
3613
- appId?: string;
3590
+ declare enum TargetType {
3591
+ NONE = "NONE",
3592
+ WIX_PROTO_BUNDLE_EXPORT = "WIX_PROTO_BUNDLE_EXPORT",
3593
+ WIX_APPENDIX_BUNDLE_EXPORT = "WIX_APPENDIX_BUNDLE_EXPORT",
3594
+ WIX_API_REGISTRY_INFO_EXPORT = "WIX_API_REGISTRY_INFO_EXPORT"
3614
3595
  }
3615
- declare enum WebhookIdentityType$c {
3616
- UNKNOWN = "UNKNOWN",
3617
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
3618
- MEMBER = "MEMBER",
3619
- WIX_USER = "WIX_USER",
3620
- APP = "APP"
3596
+ interface File$1 {
3597
+ /** The name of the file including path relative to its source repo, i.e src/main/java/com/wixpress/MyClass.java */
3598
+ name?: string | null;
3599
+ /** The URI of the file */
3600
+ uri?: string | null;
3601
+ /** The digest of the file */
3602
+ digest?: string | null;
3603
+ /** The size of the file in bytes */
3604
+ sizeInBytes?: string | null;
3621
3605
  }
3622
3606
  interface ResolveNotificationConfigRequest {
3623
3607
  /** Id of the NotificationConfig to retrieve */
@@ -3681,6 +3665,46 @@ interface EventCopied$3 {
3681
3665
  */
3682
3666
  ticketDefinitions?: Record<string, string>;
3683
3667
  }
3668
+ interface MessageEnvelope$c {
3669
+ /** App instance ID. */
3670
+ instanceId?: string | null;
3671
+ /** Event type. */
3672
+ eventType?: string;
3673
+ /** The identification type and identity data. */
3674
+ identity?: IdentificationData$c;
3675
+ /** Stringify payload. */
3676
+ data?: string;
3677
+ }
3678
+ interface IdentificationData$c extends IdentificationDataIdOneOf$c {
3679
+ /** ID of a site visitor that has not logged in to the site. */
3680
+ anonymousVisitorId?: string;
3681
+ /** ID of a site visitor that has logged in to the site. */
3682
+ memberId?: string;
3683
+ /** ID of a Wix user (site owner, contributor, etc.). */
3684
+ wixUserId?: string;
3685
+ /** ID of an app. */
3686
+ appId?: string;
3687
+ /** @readonly */
3688
+ identityType?: WebhookIdentityType$c;
3689
+ }
3690
+ /** @oneof */
3691
+ interface IdentificationDataIdOneOf$c {
3692
+ /** ID of a site visitor that has not logged in to the site. */
3693
+ anonymousVisitorId?: string;
3694
+ /** ID of a site visitor that has logged in to the site. */
3695
+ memberId?: string;
3696
+ /** ID of a Wix user (site owner, contributor, etc.). */
3697
+ wixUserId?: string;
3698
+ /** ID of an app. */
3699
+ appId?: string;
3700
+ }
3701
+ declare enum WebhookIdentityType$c {
3702
+ UNKNOWN = "UNKNOWN",
3703
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
3704
+ MEMBER = "MEMBER",
3705
+ WIX_USER = "WIX_USER",
3706
+ APP = "APP"
3707
+ }
3684
3708
  interface EmailNotificationConfigNonNullableFields {
3685
3709
  notificationType: EmailNotificationType;
3686
3710
  reminderTime: EmailNotificationReminderTime;
@@ -3856,7 +3880,6 @@ type _publicOnNotificationConfigDeletedType = typeof onNotificationConfigDeleted
3856
3880
  */
3857
3881
  declare const onNotificationConfigDeleted: ReturnType<typeof createEventModule$a<_publicOnNotificationConfigDeletedType>>;
3858
3882
 
3859
- type context$e_Action = Action;
3860
3883
  type context$e_ActionInfoOneOf = ActionInfoOneOf;
3861
3884
  type context$e_ActionSettings = ActionSettings;
3862
3885
  type context$e_AppDefinedAction = AppDefinedAction;
@@ -3903,6 +3926,7 @@ declare const context$e_NotifyActionType: typeof NotifyActionType;
3903
3926
  type context$e_NotifyGuestAction = NotifyGuestAction;
3904
3927
  type context$e_Operator = Operator;
3905
3928
  declare const context$e_Operator: typeof Operator;
3929
+ type context$e_OrderCanceled = OrderCanceled;
3906
3930
  type context$e_OrderEmailAdded = OrderEmailAdded;
3907
3931
  type context$e_OrderGuest = OrderGuest;
3908
3932
  type context$e_Origin = Origin;
@@ -3950,7 +3974,7 @@ declare const context$e_resolveNotificationConfig: typeof resolveNotificationCon
3950
3974
  declare const context$e_triggerNotification: typeof triggerNotification;
3951
3975
  declare const context$e_upsertNotificationConfig: typeof upsertNotificationConfig;
3952
3976
  declare namespace context$e {
3953
- export { type context$e_Action as Action, type ActionEvent$8 as ActionEvent, type context$e_ActionInfoOneOf as ActionInfoOneOf, type context$e_ActionSettings as ActionSettings, type Address$9 as Address, type AddressLocation$9 as AddressLocation, type AddressStreetOneOf$9 as AddressStreetOneOf, type Agenda$4 as Agenda, type context$e_AppDefinedAction as AppDefinedAction, type context$e_ApplicationOrigin as ApplicationOrigin, context$e_AttendanceStatus as AttendanceStatus, type context$e_AuditInfo as AuditInfo, type context$e_AuditInfoIdOneOf as AuditInfoIdOneOf, type context$e_Automation as Automation, type context$e_AutomationConfiguration as AutomationConfiguration, type context$e_AutomationOriginInfoOneOf as AutomationOriginInfoOneOf, type context$e_AutomationSettings as AutomationSettings, type BaseEventMetadata$a as BaseEventMetadata, type CalendarLinks$6 as CalendarLinks, type Category$5 as Category, type CategoryCounts$5 as CategoryCounts, type CheckIn$3 as CheckIn, type CheckoutFormMessages$4 as CheckoutFormMessages, type CommonAddress$2 as CommonAddress, type CommonAddressLocation$2 as CommonAddressLocation, type CommonAddressStreetOneOf$2 as CommonAddressStreetOneOf, type CommonStreetAddress$2 as CommonStreetAddress, type CommonSubdivision$2 as CommonSubdivision, type context$e_ConditionAction as ConditionAction, type context$e_ConditionExpressionGroup as ConditionExpressionGroup, ConferenceType$4 as ConferenceType, type context$e_ContactEventStatusUpdated as ContactEventStatusUpdated, context$e_ContactEventStatusUpdatedEventType as ContactEventStatusUpdatedEventType, type CouponDiscount$1 as CouponDiscount, type Dashboard$6 as Dashboard, type context$e_DelayAction as DelayAction, type context$e_DeletedWithEntity as DeletedWithEntity, type Discount$1 as Discount, type DiscountItem$1 as DiscountItem, type DiscountItemDiscountOneOf$1 as DiscountItemDiscountOneOf, type DomainEvent$8 as DomainEvent, type DomainEventBodyOneOf$8 as DomainEventBodyOneOf, type context$e_DraftInfo as DraftInfo, type context$e_EmailNotificationConfig as EmailNotificationConfig, context$e_EmailNotificationReminderTime as EmailNotificationReminderTime, context$e_EmailNotificationType as EmailNotificationType, type context$e_EmailTemplate as EmailTemplate, type Empty$5 as Empty, type EntityCreatedEvent$8 as EntityCreatedEvent, type EntityDeletedEvent$8 as EntityDeletedEvent, type EntityUpdatedEvent$8 as EntityUpdatedEvent, type Event$4 as Event, type EventCanceled$2 as EventCanceled, type EventCopied$3 as EventCopied, type EventDeleted$4 as EventDeleted, type EventDisplaySettings$4 as EventDisplaySettings, type EventEnded$2 as EventEnded, type context$e_EventGuest as EventGuest, type context$e_EventGuests as EventGuests, type EventMetadata$5 as EventMetadata, type EventReminder$1 as EventReminder, type EventStarted$1 as EventStarted, EventStatus$6 as EventStatus, EventType$4 as EventType, type EventUpdated$3 as EventUpdated, type ExternalEvent$4 as ExternalEvent, type Fee$1 as Fee, FeeName$1 as FeeName, FeeType$2 as FeeType, type Feed$4 as Feed, type File$1 as File, type context$e_Filter as Filter, type Form$4 as Form, type FormMessages$4 as FormMessages, type FormResponse$4 as FormResponse, type FormattedAddress$4 as FormattedAddress, type context$e_FutureDateActivationOffset as FutureDateActivationOffset, type Guest$3 as Guest, type context$e_GuestCountUpdate as GuestCountUpdate, type context$e_GuestCountUpdated as GuestCountUpdated, type GuestDetails$2 as GuestDetails, type GuestListConfig$4 as GuestListConfig, context$e_GuestType as GuestType, type IdentificationData$c as IdentificationData, type IdentificationDataIdOneOf$c as IdentificationDataIdOneOf, type Input$4 as Input, type InputControl$4 as InputControl, InputControlType$4 as InputControlType, type InputValue$4 as InputValue, type Invoice$1 as Invoice, type Item$2 as Item, type Keyword$4 as Keyword, type Label$4 as Label, type LabellingSettings$4 as LabellingSettings, type Link$1 as Link, type Location$6 as Location, LocationType$6 as LocationType, type MapCoordinates$6 as MapCoordinates, type context$e_MemberEventStatusUpdated as MemberEventStatusUpdated, context$e_MemberEventStatusUpdatedEventType as MemberEventStatusUpdatedEventType, type MessageEnvelope$c as MessageEnvelope, type Money$7 as Money, type Negative$4 as Negative, type NegativeResponseConfirmation$4 as NegativeResponseConfirmation, type context$e_NotificationConfig as NotificationConfig, type context$e_NotificationConfigCreatedEnvelope as NotificationConfigCreatedEnvelope, type context$e_NotificationConfigDeletedEnvelope as NotificationConfigDeletedEnvelope, type context$e_NotificationConfigUpdatedEnvelope as NotificationConfigUpdatedEnvelope, context$e_NotifyActionType as NotifyActionType, type context$e_NotifyGuestAction as NotifyGuestAction, type Occurrence$6 as Occurrence, type OnlineConferencing$4 as OnlineConferencing, type OnlineConferencingConfig$4 as OnlineConferencingConfig, type OnlineConferencingLogin$4 as OnlineConferencingLogin, type OnlineConferencingSession$4 as OnlineConferencingSession, context$e_Operator as Operator, type OptionSelection$4 as OptionSelection, type OptionSelectionSelectedOptionOneOf$4 as OptionSelectionSelectedOptionOneOf, type OrderConfirmed$1 as OrderConfirmed, type context$e_OrderEmailAdded as OrderEmailAdded, type context$e_OrderGuest as OrderGuest, type OrderPaid$1 as OrderPaid, OrderStatus$2 as OrderStatus, context$e_Origin as Origin, type context$e_OutputAction as OutputAction, type PaidPlanDiscount$1 as PaidPlanDiscount, type PaidPlanDiscountDiscountOneOf$1 as PaidPlanDiscountDiscountOneOf, type PercentDiscount$1 as PercentDiscount, type Positive$4 as Positive, type PositiveResponseConfirmation$4 as PositiveResponseConfirmation, type context$e_PreinstalledOrigin as PreinstalledOrigin, context$e_PushNotificationType as PushNotificationType, type context$e_RateLimit as RateLimit, type context$e_RateLimitAction as RateLimitAction, RecurrenceStatusStatus$1 as RecurrenceStatusStatus, type Recurrences$6 as Recurrences, type Registration$4 as Registration, type RegistrationClosedMessages$4 as RegistrationClosedMessages, RegistrationStatus$4 as RegistrationStatus, type context$e_ResolveEmailNotificationConfigRequest as ResolveEmailNotificationConfigRequest, type context$e_ResolveEmailNotificationConfigResponse as ResolveEmailNotificationConfigResponse, type context$e_ResolveNotificationConfigRequest as ResolveNotificationConfigRequest, type context$e_ResolveNotificationConfigResponse as ResolveNotificationConfigResponse, type context$e_ResolveNotificationConfigResponseNonNullableFields as ResolveNotificationConfigResponseNonNullableFields, type ResponseConfirmation$4 as ResponseConfirmation, type RestoreInfo$7 as RestoreInfo, type RsvpCollection$4 as RsvpCollection, type RsvpCollectionConfig$4 as RsvpCollectionConfig, type RsvpCreated$1 as RsvpCreated, type RsvpFormMessages$4 as RsvpFormMessages, type context$e_RsvpGuest as RsvpGuest, RsvpStatus$2 as RsvpStatus, RsvpStatusOptions$4 as RsvpStatusOptions, type RsvpSummary$5 as RsvpSummary, type RsvpUpdated$1 as RsvpUpdated, type ScheduleConfig$6 as ScheduleConfig, type Scheduling$4 as Scheduling, type SeoSchema$4 as SeoSchema, type SeoSettings$4 as SeoSettings, type Settings$5 as Settings, type SiteUrl$4 as SiteUrl, type StandardDetails$4 as StandardDetails, State$8 as State, Status$7 as Status, type StreetAddress$9 as StreetAddress, type Subdivision$9 as Subdivision, SubdivisionType$9 as SubdivisionType, type Tag$4 as Tag, type Target$1 as Target, context$e_TargetType as TargetType, type context$e_TaskContext as TaskContext, type Tax$1 as Tax, type TaxConfig$4 as TaxConfig, TaxType$5 as TaxType, type Ticket$2 as Ticket, type TicketDetails$2 as TicketDetails, type context$e_TicketGuest as TicketGuest, type context$e_TicketGuestDetails as TicketGuestDetails, type context$e_TicketPdfResolveDelayed as TicketPdfResolveDelayed, type context$e_TicketPdfResolved as TicketPdfResolved, type Ticketing$4 as Ticketing, type TicketingConfig$4 as TicketingConfig, type TicketingSummary$4 as TicketingSummary, type TicketsUnavailableMessages$4 as TicketsUnavailableMessages, type TimeDuration$1 as TimeDuration, context$e_TimeUnit as TimeUnit, type context$e_Trigger as Trigger, type context$e_TriggerNotificationOptions as TriggerNotificationOptions, type context$e_TriggerNotificationRequest as TriggerNotificationRequest, type context$e_TriggerNotificationRequestGuestsOneOf as TriggerNotificationRequestGuestsOneOf, type context$e_TriggerNotificationRequestNotificationOneOf as TriggerNotificationRequestNotificationOneOf, type context$e_TriggerNotificationResponse as TriggerNotificationResponse, Type$5 as Type, type context$e_UnprocessedTargetEvent as UnprocessedTargetEvent, type context$e_UpdatedWithPreviousEntity as UpdatedWithPreviousEntity, type context$e_UpsertNotificationConfig as UpsertNotificationConfig, type context$e_UpsertNotificationConfigRequest as UpsertNotificationConfigRequest, type context$e_UpsertNotificationConfigResponse as UpsertNotificationConfigResponse, type context$e_UpsertNotificationConfigResponseNonNullableFields as UpsertNotificationConfigResponseNonNullableFields, ValueType$4 as ValueType, VisitorType$4 as VisitorType, WebhookIdentityType$c as WebhookIdentityType, type context$e__publicOnNotificationConfigCreatedType as _publicOnNotificationConfigCreatedType, type context$e__publicOnNotificationConfigDeletedType as _publicOnNotificationConfigDeletedType, type context$e__publicOnNotificationConfigUpdatedType as _publicOnNotificationConfigUpdatedType, context$e_onNotificationConfigCreated as onNotificationConfigCreated, context$e_onNotificationConfigDeleted as onNotificationConfigDeleted, context$e_onNotificationConfigUpdated as onNotificationConfigUpdated, onNotificationConfigCreated$1 as publicOnNotificationConfigCreated, onNotificationConfigDeleted$1 as publicOnNotificationConfigDeleted, onNotificationConfigUpdated$1 as publicOnNotificationConfigUpdated, context$e_resolveNotificationConfig as resolveNotificationConfig, context$e_triggerNotification as triggerNotification, context$e_upsertNotificationConfig as upsertNotificationConfig };
3977
+ export { type Action$1 as Action, type ActionEvent$8 as ActionEvent, type context$e_ActionInfoOneOf as ActionInfoOneOf, type context$e_ActionSettings as ActionSettings, type Address$9 as Address, type AddressLocation$9 as AddressLocation, type AddressStreetOneOf$9 as AddressStreetOneOf, type Agenda$4 as Agenda, type context$e_AppDefinedAction as AppDefinedAction, type context$e_ApplicationOrigin as ApplicationOrigin, context$e_AttendanceStatus as AttendanceStatus, type context$e_AuditInfo as AuditInfo, type context$e_AuditInfoIdOneOf as AuditInfoIdOneOf, type context$e_Automation as Automation, type context$e_AutomationConfiguration as AutomationConfiguration, type context$e_AutomationOriginInfoOneOf as AutomationOriginInfoOneOf, type context$e_AutomationSettings as AutomationSettings, type BaseEventMetadata$a as BaseEventMetadata, type CalendarLinks$6 as CalendarLinks, type Category$5 as Category, type CategoryCounts$5 as CategoryCounts, type CheckIn$3 as CheckIn, type CheckoutFormMessages$4 as CheckoutFormMessages, type CommonAddress$2 as CommonAddress, type CommonAddressLocation$2 as CommonAddressLocation, type CommonAddressStreetOneOf$2 as CommonAddressStreetOneOf, type CommonStreetAddress$2 as CommonStreetAddress, type CommonSubdivision$2 as CommonSubdivision, type context$e_ConditionAction as ConditionAction, type context$e_ConditionExpressionGroup as ConditionExpressionGroup, ConferenceType$4 as ConferenceType, type context$e_ContactEventStatusUpdated as ContactEventStatusUpdated, context$e_ContactEventStatusUpdatedEventType as ContactEventStatusUpdatedEventType, type CouponDiscount$1 as CouponDiscount, type Dashboard$6 as Dashboard, type context$e_DelayAction as DelayAction, type context$e_DeletedWithEntity as DeletedWithEntity, type Discount$1 as Discount, type DiscountItem$1 as DiscountItem, type DiscountItemDiscountOneOf$1 as DiscountItemDiscountOneOf, type DomainEvent$8 as DomainEvent, type DomainEventBodyOneOf$8 as DomainEventBodyOneOf, type context$e_DraftInfo as DraftInfo, type context$e_EmailNotificationConfig as EmailNotificationConfig, context$e_EmailNotificationReminderTime as EmailNotificationReminderTime, context$e_EmailNotificationType as EmailNotificationType, type context$e_EmailTemplate as EmailTemplate, type Empty$5 as Empty, type EntityCreatedEvent$8 as EntityCreatedEvent, type EntityDeletedEvent$8 as EntityDeletedEvent, type EntityUpdatedEvent$8 as EntityUpdatedEvent, type Event$4 as Event, type EventCanceled$2 as EventCanceled, type EventCopied$3 as EventCopied, type EventDeleted$4 as EventDeleted, type EventDisplaySettings$4 as EventDisplaySettings, type EventEnded$2 as EventEnded, type context$e_EventGuest as EventGuest, type context$e_EventGuests as EventGuests, type EventMetadata$5 as EventMetadata, type EventReminder$1 as EventReminder, type EventStarted$1 as EventStarted, EventStatus$6 as EventStatus, EventType$4 as EventType, type EventUpdated$3 as EventUpdated, type ExternalEvent$4 as ExternalEvent, type Fee$1 as Fee, FeeName$1 as FeeName, FeeType$2 as FeeType, type Feed$4 as Feed, type File$1 as File, type context$e_Filter as Filter, type Form$4 as Form, type FormMessages$4 as FormMessages, type FormResponse$4 as FormResponse, type FormattedAddress$4 as FormattedAddress, type context$e_FutureDateActivationOffset as FutureDateActivationOffset, type Guest$3 as Guest, type context$e_GuestCountUpdate as GuestCountUpdate, type context$e_GuestCountUpdated as GuestCountUpdated, type GuestDetails$2 as GuestDetails, type GuestListConfig$4 as GuestListConfig, context$e_GuestType as GuestType, type IdentificationData$c as IdentificationData, type IdentificationDataIdOneOf$c as IdentificationDataIdOneOf, type Input$4 as Input, type InputControl$4 as InputControl, InputControlType$4 as InputControlType, type InputValue$4 as InputValue, type Invoice$1 as Invoice, type Item$2 as Item, type Keyword$4 as Keyword, type Label$4 as Label, type LabellingSettings$4 as LabellingSettings, type Link$1 as Link, type Location$6 as Location, LocationType$6 as LocationType, type MapCoordinates$6 as MapCoordinates, type context$e_MemberEventStatusUpdated as MemberEventStatusUpdated, context$e_MemberEventStatusUpdatedEventType as MemberEventStatusUpdatedEventType, type MessageEnvelope$c as MessageEnvelope, type Money$7 as Money, type Negative$4 as Negative, type NegativeResponseConfirmation$4 as NegativeResponseConfirmation, type context$e_NotificationConfig as NotificationConfig, type context$e_NotificationConfigCreatedEnvelope as NotificationConfigCreatedEnvelope, type context$e_NotificationConfigDeletedEnvelope as NotificationConfigDeletedEnvelope, type context$e_NotificationConfigUpdatedEnvelope as NotificationConfigUpdatedEnvelope, context$e_NotifyActionType as NotifyActionType, type context$e_NotifyGuestAction as NotifyGuestAction, type Occurrence$6 as Occurrence, type OnlineConferencing$4 as OnlineConferencing, type OnlineConferencingConfig$4 as OnlineConferencingConfig, type OnlineConferencingLogin$4 as OnlineConferencingLogin, type OnlineConferencingSession$4 as OnlineConferencingSession, context$e_Operator as Operator, type OptionSelection$4 as OptionSelection, type OptionSelectionSelectedOptionOneOf$4 as OptionSelectionSelectedOptionOneOf, type context$e_OrderCanceled as OrderCanceled, type OrderConfirmed$1 as OrderConfirmed, type context$e_OrderEmailAdded as OrderEmailAdded, type context$e_OrderGuest as OrderGuest, type OrderPaid$1 as OrderPaid, OrderStatus$2 as OrderStatus, context$e_Origin as Origin, type context$e_OutputAction as OutputAction, type PaidPlanDiscount$1 as PaidPlanDiscount, type PaidPlanDiscountDiscountOneOf$1 as PaidPlanDiscountDiscountOneOf, type PercentDiscount$1 as PercentDiscount, type Positive$4 as Positive, type PositiveResponseConfirmation$4 as PositiveResponseConfirmation, type context$e_PreinstalledOrigin as PreinstalledOrigin, context$e_PushNotificationType as PushNotificationType, type context$e_RateLimit as RateLimit, type context$e_RateLimitAction as RateLimitAction, RecurrenceStatusStatus$1 as RecurrenceStatusStatus, type Recurrences$6 as Recurrences, type Registration$4 as Registration, type RegistrationClosedMessages$4 as RegistrationClosedMessages, RegistrationStatus$4 as RegistrationStatus, type context$e_ResolveEmailNotificationConfigRequest as ResolveEmailNotificationConfigRequest, type context$e_ResolveEmailNotificationConfigResponse as ResolveEmailNotificationConfigResponse, type context$e_ResolveNotificationConfigRequest as ResolveNotificationConfigRequest, type context$e_ResolveNotificationConfigResponse as ResolveNotificationConfigResponse, type context$e_ResolveNotificationConfigResponseNonNullableFields as ResolveNotificationConfigResponseNonNullableFields, type ResponseConfirmation$4 as ResponseConfirmation, type RestoreInfo$7 as RestoreInfo, type RsvpCollection$4 as RsvpCollection, type RsvpCollectionConfig$4 as RsvpCollectionConfig, type RsvpCreated$1 as RsvpCreated, type RsvpFormMessages$4 as RsvpFormMessages, type context$e_RsvpGuest as RsvpGuest, RsvpStatus$2 as RsvpStatus, RsvpStatusOptions$4 as RsvpStatusOptions, type RsvpSummary$5 as RsvpSummary, type RsvpUpdated$1 as RsvpUpdated, type ScheduleConfig$6 as ScheduleConfig, type Scheduling$4 as Scheduling, type SeoSchema$4 as SeoSchema, type SeoSettings$4 as SeoSettings, type Settings$5 as Settings, type SiteUrl$4 as SiteUrl, type StandardDetails$4 as StandardDetails, State$8 as State, Status$7 as Status, type StreetAddress$9 as StreetAddress, type Subdivision$9 as Subdivision, SubdivisionType$9 as SubdivisionType, type Tag$4 as Tag, type Target$1 as Target, context$e_TargetType as TargetType, type context$e_TaskContext as TaskContext, type Tax$1 as Tax, type TaxConfig$4 as TaxConfig, TaxType$5 as TaxType, type Ticket$2 as Ticket, type TicketDetails$2 as TicketDetails, type context$e_TicketGuest as TicketGuest, type context$e_TicketGuestDetails as TicketGuestDetails, type context$e_TicketPdfResolveDelayed as TicketPdfResolveDelayed, type context$e_TicketPdfResolved as TicketPdfResolved, type Ticketing$4 as Ticketing, type TicketingConfig$4 as TicketingConfig, type TicketingSummary$4 as TicketingSummary, type TicketsUnavailableMessages$4 as TicketsUnavailableMessages, type TimeDuration$1 as TimeDuration, context$e_TimeUnit as TimeUnit, type context$e_Trigger as Trigger, type context$e_TriggerNotificationOptions as TriggerNotificationOptions, type context$e_TriggerNotificationRequest as TriggerNotificationRequest, type context$e_TriggerNotificationRequestGuestsOneOf as TriggerNotificationRequestGuestsOneOf, type context$e_TriggerNotificationRequestNotificationOneOf as TriggerNotificationRequestNotificationOneOf, type context$e_TriggerNotificationResponse as TriggerNotificationResponse, Type$5 as Type, type context$e_UnprocessedTargetEvent as UnprocessedTargetEvent, type context$e_UpdatedWithPreviousEntity as UpdatedWithPreviousEntity, type context$e_UpsertNotificationConfig as UpsertNotificationConfig, type context$e_UpsertNotificationConfigRequest as UpsertNotificationConfigRequest, type context$e_UpsertNotificationConfigResponse as UpsertNotificationConfigResponse, type context$e_UpsertNotificationConfigResponseNonNullableFields as UpsertNotificationConfigResponseNonNullableFields, ValueType$4 as ValueType, VisitorType$4 as VisitorType, WebhookIdentityType$c as WebhookIdentityType, type context$e__publicOnNotificationConfigCreatedType as _publicOnNotificationConfigCreatedType, type context$e__publicOnNotificationConfigDeletedType as _publicOnNotificationConfigDeletedType, type context$e__publicOnNotificationConfigUpdatedType as _publicOnNotificationConfigUpdatedType, context$e_onNotificationConfigCreated as onNotificationConfigCreated, context$e_onNotificationConfigDeleted as onNotificationConfigDeleted, context$e_onNotificationConfigUpdated as onNotificationConfigUpdated, onNotificationConfigCreated$1 as publicOnNotificationConfigCreated, onNotificationConfigDeleted$1 as publicOnNotificationConfigDeleted, onNotificationConfigUpdated$1 as publicOnNotificationConfigUpdated, context$e_resolveNotificationConfig as resolveNotificationConfig, context$e_triggerNotification as triggerNotification, context$e_upsertNotificationConfig as upsertNotificationConfig };
3954
3978
  }
3955
3979
 
3956
3980
  /** Schedule item describes the schedule within an event. Each event may contain multiple schedule items. */
@@ -8520,6 +8544,18 @@ interface PaymentTransaction {
8520
8544
  */
8521
8545
  method?: string;
8522
8546
  }
8547
+ declare enum Action {
8548
+ /** Order can be archived. */
8549
+ ARCHIVE = "ARCHIVE",
8550
+ /** Order can be unarchived. */
8551
+ UNARCHIVE = "UNARCHIVE",
8552
+ /** Order can be confirmed. */
8553
+ CONFIRM = "CONFIRM",
8554
+ /** Order can be captured. */
8555
+ CAPTURE = "CAPTURE",
8556
+ /** Order can be voided. */
8557
+ VOID = "VOID"
8558
+ }
8523
8559
  interface OrderDeleted {
8524
8560
  /** Order deleted timestamp in ISO UTC format. */
8525
8561
  timestamp?: Date;
@@ -9724,6 +9760,7 @@ interface OrderNonNullableFields {
9724
9760
  transactionId: string;
9725
9761
  paymentDetails?: PaymentDetailsNonNullableFields;
9726
9762
  channel: ChannelType$1;
9763
+ availableActions: Action[];
9727
9764
  }
9728
9765
  interface ListOrdersResponseNonNullableFields {
9729
9766
  total: number;
@@ -10306,6 +10343,8 @@ type _publicOnOrderInitiatedType = typeof onOrderInitiated$1;
10306
10343
  /** */
10307
10344
  declare const onOrderInitiated: ReturnType<typeof createEventModule$7<_publicOnOrderInitiatedType>>;
10308
10345
 
10346
+ type context$8_Action = Action;
10347
+ declare const context$8_Action: typeof Action;
10309
10348
  type context$8_BulkUpdateOrdersOptions = BulkUpdateOrdersOptions;
10310
10349
  type context$8_BulkUpdateOrdersRequest = BulkUpdateOrdersRequest;
10311
10350
  type context$8_BulkUpdateOrdersResponse = BulkUpdateOrdersResponse;
@@ -10452,7 +10491,7 @@ declare const context$8_updateCheckout: typeof updateCheckout;
10452
10491
  declare const context$8_updateOrder: typeof updateOrder;
10453
10492
  declare const context$8_voidAuthorizedPayment: typeof voidAuthorizedPayment;
10454
10493
  declare namespace context$8 {
10455
- export { type Address$7 as Address, type AddressLocation$7 as AddressLocation, type AddressStreetOneOf$7 as AddressStreetOneOf, type BaseEventMetadata$7 as BaseEventMetadata, type context$8_BulkUpdateOrdersOptions as BulkUpdateOrdersOptions, type context$8_BulkUpdateOrdersRequest as BulkUpdateOrdersRequest, type context$8_BulkUpdateOrdersResponse as BulkUpdateOrdersResponse, type context$8_BulkUpdateOrdersResponseNonNullableFields as BulkUpdateOrdersResponseNonNullableFields, type context$8_Buyer as Buyer, type CalendarLinks$4 as CalendarLinks, type context$8_CancelReservationRequest as CancelReservationRequest, type context$8_CancelReservationResponse as CancelReservationResponse, type context$8_CaptureAuthorizedPaymentOptions as CaptureAuthorizedPaymentOptions, type context$8_CaptureAuthorizedPaymentRequest as CaptureAuthorizedPaymentRequest, type context$8_CaptureAuthorizedPaymentResponse as CaptureAuthorizedPaymentResponse, ChannelType$1 as ChannelType, type CheckIn$2 as CheckIn, type context$8_CheckoutOptions as CheckoutOptions, type context$8_CheckoutOptionsForRequest as CheckoutOptionsForRequest, type context$8_CheckoutRequest as CheckoutRequest, type context$8_CheckoutResponse as CheckoutResponse, type context$8_CheckoutResponseNonNullableFields as CheckoutResponseNonNullableFields, type context$8_ConfirmOrderOptions as ConfirmOrderOptions, type context$8_ConfirmOrderRequest as ConfirmOrderRequest, type context$8_ConfirmOrderResponse as ConfirmOrderResponse, type context$8_ConfirmOrderResponseNonNullableFields as ConfirmOrderResponseNonNullableFields, type Counts$2 as Counts, type context$8_CouponDiscount as CouponDiscount, type context$8_CreateReservationOptions as CreateReservationOptions, type context$8_CreateReservationRequest as CreateReservationRequest, type context$8_CreateReservationResponse as CreateReservationResponse, type context$8_CreateReservationResponseNonNullableFields as CreateReservationResponseNonNullableFields, type Dashboard$4 as Dashboard, type context$8_Discount as Discount, type context$8_DiscountErrors as DiscountErrors, type context$8_DiscountItem as DiscountItem, type context$8_DiscountItemDiscountOneOf as DiscountItemDiscountOneOf, type context$8_DiscountRequest as DiscountRequest, type context$8_Error as Error, type FacetCounts$5 as FacetCounts, type context$8_Fee as Fee, context$8_FeeName as FeeName, FeeType$1 as FeeType, type FormResponse$3 as FormResponse, type FormattedAddress$3 as FormattedAddress, type context$8_GetCheckoutOptionsRequest as GetCheckoutOptionsRequest, type context$8_GetCheckoutOptionsResponse as GetCheckoutOptionsResponse, type context$8_GetCheckoutOptionsResponseNonNullableFields as GetCheckoutOptionsResponseNonNullableFields, type context$8_GetInvoiceOptions as GetInvoiceOptions, type context$8_GetInvoicePreviewRequest as GetInvoicePreviewRequest, type context$8_GetInvoiceRequest as GetInvoiceRequest, type context$8_GetInvoiceResponse as GetInvoiceResponse, type context$8_GetInvoiceResponseNonNullableFields as GetInvoiceResponseNonNullableFields, type context$8_GetOrderIdentifiers as GetOrderIdentifiers, type context$8_GetOrderOptions as GetOrderOptions, type context$8_GetOrderRequest as GetOrderRequest, type context$8_GetOrderResponse as GetOrderResponse, type context$8_GetOrderResponseNonNullableFields as GetOrderResponseNonNullableFields, type context$8_GetPaymentInfoRequest as GetPaymentInfoRequest, type context$8_GetPaymentInfoResponse as GetPaymentInfoResponse, type context$8_GetSummaryOptions as GetSummaryOptions, type context$8_GetSummaryRequest as GetSummaryRequest, type context$8_GetSummaryResponse as GetSummaryResponse, type context$8_GetSummaryResponseNonNullableFields as GetSummaryResponseNonNullableFields, type Guest$2 as Guest, type GuestDetails$1 as GuestDetails, type context$8_HeadersEntry as HeadersEntry, type IdentificationData$8 as IdentificationData, type IdentificationDataIdOneOf$8 as IdentificationDataIdOneOf, type InputValue$3 as InputValue, type context$8_Invoice as Invoice, type Item$1 as Item, type context$8_ListAvailableTicketsOptions as ListAvailableTicketsOptions, type context$8_ListAvailableTicketsRequest as ListAvailableTicketsRequest, type context$8_ListAvailableTicketsResponse as ListAvailableTicketsResponse, type context$8_ListAvailableTicketsResponseNonNullableFields as ListAvailableTicketsResponseNonNullableFields, type context$8_ListOrdersOptions as ListOrdersOptions, type context$8_ListOrdersRequest as ListOrdersRequest, type context$8_ListOrdersResponse as ListOrdersResponse, type context$8_ListOrdersResponseNonNullableFields as ListOrdersResponseNonNullableFields, type MessageEnvelope$8 as MessageEnvelope, type Money$5 as Money, type OnlineConferencingLogin$3 as OnlineConferencingLogin, type context$8_Order as Order, type context$8_OrderConfirmed as OrderConfirmed, type context$8_OrderConfirmedEnvelope as OrderConfirmedEnvelope, type context$8_OrderDeleted as OrderDeleted, type context$8_OrderDeletedEnvelope as OrderDeletedEnvelope, type context$8_OrderFacetCounts as OrderFacetCounts, type context$8_OrderFacets as OrderFacets, context$8_OrderFieldset as OrderFieldset, type context$8_OrderInitiated as OrderInitiated, type context$8_OrderInitiatedEnvelope as OrderInitiatedEnvelope, type context$8_OrderNonNullableFields as OrderNonNullableFields, type context$8_OrderPageUrls as OrderPageUrls, type context$8_OrderPaid as OrderPaid, type context$8_OrderReservationCreatedEnvelope as OrderReservationCreatedEnvelope, type context$8_OrderReservationUpdatedEnvelope as OrderReservationUpdatedEnvelope, OrderStatus$1 as OrderStatus, context$8_OrderTag as OrderTag, context$8_OrderType as OrderType, type OrderUpdated$1 as OrderUpdated, type context$8_OrderUpdatedEnvelope as OrderUpdatedEnvelope, type context$8_PaidPlanBenefit as PaidPlanBenefit, type context$8_PaidPlanDiscount as PaidPlanDiscount, type context$8_PaidPlanDiscountDiscountOneOf as PaidPlanDiscountDiscountOneOf, type context$8_PaymentDetails as PaymentDetails, type context$8_PaymentTransaction as PaymentTransaction, type context$8_PaymentTransactionEvent as PaymentTransactionEvent, type context$8_PaymentTransactionSummary as PaymentTransactionSummary, type context$8_PercentDiscount as PercentDiscount, type context$8_PosCheckoutOptions as PosCheckoutOptions, type context$8_PosCheckoutRequest as PosCheckoutRequest, type context$8_PosCheckoutResponse as PosCheckoutResponse, type context$8_PosCheckoutResponseNonNullableFields as PosCheckoutResponseNonNullableFields, type PricingOption$1 as PricingOption, type PricingOptions$2 as PricingOptions, type context$8_QueryAvailableTicketsOptions as QueryAvailableTicketsOptions, type context$8_QueryAvailableTicketsRequest as QueryAvailableTicketsRequest, type context$8_QueryAvailableTicketsResponse as QueryAvailableTicketsResponse, type context$8_QueryAvailableTicketsResponseNonNullableFields as QueryAvailableTicketsResponseNonNullableFields, type context$8_RawHttpResponse as RawHttpResponse, type ReservationCount$1 as ReservationCount, type ReservationCreated$1 as ReservationCreated, ReservationStatus$1 as ReservationStatus, type ReservationUpdated$1 as ReservationUpdated, type ResponseMetaData$1 as ResponseMetaData, type StandardDetails$3 as StandardDetails, State$5 as State, type StreetAddress$7 as StreetAddress, type Subdivision$7 as Subdivision, SubdivisionType$7 as SubdivisionType, type context$8_Tax as Tax, TaxType$3 as TaxType, type Ticket$1 as Ticket, type TicketDefinition$2 as TicketDefinition, TicketDefinitionFieldset$1 as TicketDefinitionFieldset, type TicketDetails$1 as TicketDetails, type TicketPricing$1 as TicketPricing, type TicketPricingPriceOneOf$1 as TicketPricingPriceOneOf, type TicketQuantity$1 as TicketQuantity, type context$8_TicketReservation as TicketReservation, type context$8_TicketReservationQuantity as TicketReservationQuantity, type TicketSalePeriod$1 as TicketSalePeriod, TicketSaleStatus$1 as TicketSaleStatus, type context$8_TicketSales as TicketSales, type TicketingTicket$1 as TicketingTicket, Type$4 as Type, type context$8_UpdateCheckoutOptions as UpdateCheckoutOptions, type context$8_UpdateCheckoutRequest as UpdateCheckoutRequest, type context$8_UpdateCheckoutResponse as UpdateCheckoutResponse, type context$8_UpdateCheckoutResponseNonNullableFields as UpdateCheckoutResponseNonNullableFields, type context$8_UpdateOrderIdentifiers as UpdateOrderIdentifiers, type context$8_UpdateOrderOptions as UpdateOrderOptions, type context$8_UpdateOrderRequest as UpdateOrderRequest, type context$8_UpdateOrderResponse as UpdateOrderResponse, type context$8_UpdateOrderResponseNonNullableFields as UpdateOrderResponseNonNullableFields, type context$8_VoidAuthorizedPaymentOptions as VoidAuthorizedPaymentOptions, type context$8_VoidAuthorizedPaymentRequest as VoidAuthorizedPaymentRequest, type context$8_VoidAuthorizedPaymentResponse as VoidAuthorizedPaymentResponse, WebhookIdentityType$8 as WebhookIdentityType, type WixFeeConfig$1 as WixFeeConfig, type context$8__publicOnOrderConfirmedType as _publicOnOrderConfirmedType, type context$8__publicOnOrderDeletedType as _publicOnOrderDeletedType, type context$8__publicOnOrderInitiatedType as _publicOnOrderInitiatedType, type context$8__publicOnOrderReservationCreatedType as _publicOnOrderReservationCreatedType, type context$8__publicOnOrderReservationUpdatedType as _publicOnOrderReservationUpdatedType, type context$8__publicOnOrderUpdatedType as _publicOnOrderUpdatedType, context$8_bulkUpdateOrders as bulkUpdateOrders, context$8_cancelReservation as cancelReservation, context$8_captureAuthorizedPayment as captureAuthorizedPayment, context$8_checkout as checkout, context$8_confirmOrder as confirmOrder, context$8_createReservation as createReservation, context$8_getCheckoutOptions as getCheckoutOptions, context$8_getInvoice as getInvoice, context$8_getOrder as getOrder, context$8_getSummary as getSummary, context$8_listAvailableTickets as listAvailableTickets, context$8_listOrders as listOrders, context$8_onOrderConfirmed as onOrderConfirmed, context$8_onOrderDeleted as onOrderDeleted, context$8_onOrderInitiated as onOrderInitiated, context$8_onOrderReservationCreated as onOrderReservationCreated, context$8_onOrderReservationUpdated as onOrderReservationUpdated, context$8_onOrderUpdated as onOrderUpdated, context$8_posCheckout as posCheckout, onOrderConfirmed$1 as publicOnOrderConfirmed, onOrderDeleted$1 as publicOnOrderDeleted, onOrderInitiated$1 as publicOnOrderInitiated, onOrderReservationCreated$1 as publicOnOrderReservationCreated, onOrderReservationUpdated$1 as publicOnOrderReservationUpdated, onOrderUpdated$1 as publicOnOrderUpdated, context$8_queryAvailableTickets as queryAvailableTickets, context$8_updateCheckout as updateCheckout, context$8_updateOrder as updateOrder, context$8_voidAuthorizedPayment as voidAuthorizedPayment };
10494
+ export { context$8_Action as Action, type Address$7 as Address, type AddressLocation$7 as AddressLocation, type AddressStreetOneOf$7 as AddressStreetOneOf, type BaseEventMetadata$7 as BaseEventMetadata, type context$8_BulkUpdateOrdersOptions as BulkUpdateOrdersOptions, type context$8_BulkUpdateOrdersRequest as BulkUpdateOrdersRequest, type context$8_BulkUpdateOrdersResponse as BulkUpdateOrdersResponse, type context$8_BulkUpdateOrdersResponseNonNullableFields as BulkUpdateOrdersResponseNonNullableFields, type context$8_Buyer as Buyer, type CalendarLinks$4 as CalendarLinks, type context$8_CancelReservationRequest as CancelReservationRequest, type context$8_CancelReservationResponse as CancelReservationResponse, type context$8_CaptureAuthorizedPaymentOptions as CaptureAuthorizedPaymentOptions, type context$8_CaptureAuthorizedPaymentRequest as CaptureAuthorizedPaymentRequest, type context$8_CaptureAuthorizedPaymentResponse as CaptureAuthorizedPaymentResponse, ChannelType$1 as ChannelType, type CheckIn$2 as CheckIn, type context$8_CheckoutOptions as CheckoutOptions, type context$8_CheckoutOptionsForRequest as CheckoutOptionsForRequest, type context$8_CheckoutRequest as CheckoutRequest, type context$8_CheckoutResponse as CheckoutResponse, type context$8_CheckoutResponseNonNullableFields as CheckoutResponseNonNullableFields, type context$8_ConfirmOrderOptions as ConfirmOrderOptions, type context$8_ConfirmOrderRequest as ConfirmOrderRequest, type context$8_ConfirmOrderResponse as ConfirmOrderResponse, type context$8_ConfirmOrderResponseNonNullableFields as ConfirmOrderResponseNonNullableFields, type Counts$2 as Counts, type context$8_CouponDiscount as CouponDiscount, type context$8_CreateReservationOptions as CreateReservationOptions, type context$8_CreateReservationRequest as CreateReservationRequest, type context$8_CreateReservationResponse as CreateReservationResponse, type context$8_CreateReservationResponseNonNullableFields as CreateReservationResponseNonNullableFields, type Dashboard$4 as Dashboard, type context$8_Discount as Discount, type context$8_DiscountErrors as DiscountErrors, type context$8_DiscountItem as DiscountItem, type context$8_DiscountItemDiscountOneOf as DiscountItemDiscountOneOf, type context$8_DiscountRequest as DiscountRequest, type context$8_Error as Error, type FacetCounts$5 as FacetCounts, type context$8_Fee as Fee, context$8_FeeName as FeeName, FeeType$1 as FeeType, type FormResponse$3 as FormResponse, type FormattedAddress$3 as FormattedAddress, type context$8_GetCheckoutOptionsRequest as GetCheckoutOptionsRequest, type context$8_GetCheckoutOptionsResponse as GetCheckoutOptionsResponse, type context$8_GetCheckoutOptionsResponseNonNullableFields as GetCheckoutOptionsResponseNonNullableFields, type context$8_GetInvoiceOptions as GetInvoiceOptions, type context$8_GetInvoicePreviewRequest as GetInvoicePreviewRequest, type context$8_GetInvoiceRequest as GetInvoiceRequest, type context$8_GetInvoiceResponse as GetInvoiceResponse, type context$8_GetInvoiceResponseNonNullableFields as GetInvoiceResponseNonNullableFields, type context$8_GetOrderIdentifiers as GetOrderIdentifiers, type context$8_GetOrderOptions as GetOrderOptions, type context$8_GetOrderRequest as GetOrderRequest, type context$8_GetOrderResponse as GetOrderResponse, type context$8_GetOrderResponseNonNullableFields as GetOrderResponseNonNullableFields, type context$8_GetPaymentInfoRequest as GetPaymentInfoRequest, type context$8_GetPaymentInfoResponse as GetPaymentInfoResponse, type context$8_GetSummaryOptions as GetSummaryOptions, type context$8_GetSummaryRequest as GetSummaryRequest, type context$8_GetSummaryResponse as GetSummaryResponse, type context$8_GetSummaryResponseNonNullableFields as GetSummaryResponseNonNullableFields, type Guest$2 as Guest, type GuestDetails$1 as GuestDetails, type context$8_HeadersEntry as HeadersEntry, type IdentificationData$8 as IdentificationData, type IdentificationDataIdOneOf$8 as IdentificationDataIdOneOf, type InputValue$3 as InputValue, type context$8_Invoice as Invoice, type Item$1 as Item, type context$8_ListAvailableTicketsOptions as ListAvailableTicketsOptions, type context$8_ListAvailableTicketsRequest as ListAvailableTicketsRequest, type context$8_ListAvailableTicketsResponse as ListAvailableTicketsResponse, type context$8_ListAvailableTicketsResponseNonNullableFields as ListAvailableTicketsResponseNonNullableFields, type context$8_ListOrdersOptions as ListOrdersOptions, type context$8_ListOrdersRequest as ListOrdersRequest, type context$8_ListOrdersResponse as ListOrdersResponse, type context$8_ListOrdersResponseNonNullableFields as ListOrdersResponseNonNullableFields, type MessageEnvelope$8 as MessageEnvelope, type Money$5 as Money, type OnlineConferencingLogin$3 as OnlineConferencingLogin, type context$8_Order as Order, type context$8_OrderConfirmed as OrderConfirmed, type context$8_OrderConfirmedEnvelope as OrderConfirmedEnvelope, type context$8_OrderDeleted as OrderDeleted, type context$8_OrderDeletedEnvelope as OrderDeletedEnvelope, type context$8_OrderFacetCounts as OrderFacetCounts, type context$8_OrderFacets as OrderFacets, context$8_OrderFieldset as OrderFieldset, type context$8_OrderInitiated as OrderInitiated, type context$8_OrderInitiatedEnvelope as OrderInitiatedEnvelope, type context$8_OrderNonNullableFields as OrderNonNullableFields, type context$8_OrderPageUrls as OrderPageUrls, type context$8_OrderPaid as OrderPaid, type context$8_OrderReservationCreatedEnvelope as OrderReservationCreatedEnvelope, type context$8_OrderReservationUpdatedEnvelope as OrderReservationUpdatedEnvelope, OrderStatus$1 as OrderStatus, context$8_OrderTag as OrderTag, context$8_OrderType as OrderType, type OrderUpdated$1 as OrderUpdated, type context$8_OrderUpdatedEnvelope as OrderUpdatedEnvelope, type context$8_PaidPlanBenefit as PaidPlanBenefit, type context$8_PaidPlanDiscount as PaidPlanDiscount, type context$8_PaidPlanDiscountDiscountOneOf as PaidPlanDiscountDiscountOneOf, type context$8_PaymentDetails as PaymentDetails, type context$8_PaymentTransaction as PaymentTransaction, type context$8_PaymentTransactionEvent as PaymentTransactionEvent, type context$8_PaymentTransactionSummary as PaymentTransactionSummary, type context$8_PercentDiscount as PercentDiscount, type context$8_PosCheckoutOptions as PosCheckoutOptions, type context$8_PosCheckoutRequest as PosCheckoutRequest, type context$8_PosCheckoutResponse as PosCheckoutResponse, type context$8_PosCheckoutResponseNonNullableFields as PosCheckoutResponseNonNullableFields, type PricingOption$1 as PricingOption, type PricingOptions$2 as PricingOptions, type context$8_QueryAvailableTicketsOptions as QueryAvailableTicketsOptions, type context$8_QueryAvailableTicketsRequest as QueryAvailableTicketsRequest, type context$8_QueryAvailableTicketsResponse as QueryAvailableTicketsResponse, type context$8_QueryAvailableTicketsResponseNonNullableFields as QueryAvailableTicketsResponseNonNullableFields, type context$8_RawHttpResponse as RawHttpResponse, type ReservationCount$1 as ReservationCount, type ReservationCreated$1 as ReservationCreated, ReservationStatus$1 as ReservationStatus, type ReservationUpdated$1 as ReservationUpdated, type ResponseMetaData$1 as ResponseMetaData, type StandardDetails$3 as StandardDetails, State$5 as State, type StreetAddress$7 as StreetAddress, type Subdivision$7 as Subdivision, SubdivisionType$7 as SubdivisionType, type context$8_Tax as Tax, TaxType$3 as TaxType, type Ticket$1 as Ticket, type TicketDefinition$2 as TicketDefinition, TicketDefinitionFieldset$1 as TicketDefinitionFieldset, type TicketDetails$1 as TicketDetails, type TicketPricing$1 as TicketPricing, type TicketPricingPriceOneOf$1 as TicketPricingPriceOneOf, type TicketQuantity$1 as TicketQuantity, type context$8_TicketReservation as TicketReservation, type context$8_TicketReservationQuantity as TicketReservationQuantity, type TicketSalePeriod$1 as TicketSalePeriod, TicketSaleStatus$1 as TicketSaleStatus, type context$8_TicketSales as TicketSales, type TicketingTicket$1 as TicketingTicket, Type$4 as Type, type context$8_UpdateCheckoutOptions as UpdateCheckoutOptions, type context$8_UpdateCheckoutRequest as UpdateCheckoutRequest, type context$8_UpdateCheckoutResponse as UpdateCheckoutResponse, type context$8_UpdateCheckoutResponseNonNullableFields as UpdateCheckoutResponseNonNullableFields, type context$8_UpdateOrderIdentifiers as UpdateOrderIdentifiers, type context$8_UpdateOrderOptions as UpdateOrderOptions, type context$8_UpdateOrderRequest as UpdateOrderRequest, type context$8_UpdateOrderResponse as UpdateOrderResponse, type context$8_UpdateOrderResponseNonNullableFields as UpdateOrderResponseNonNullableFields, type context$8_VoidAuthorizedPaymentOptions as VoidAuthorizedPaymentOptions, type context$8_VoidAuthorizedPaymentRequest as VoidAuthorizedPaymentRequest, type context$8_VoidAuthorizedPaymentResponse as VoidAuthorizedPaymentResponse, WebhookIdentityType$8 as WebhookIdentityType, type WixFeeConfig$1 as WixFeeConfig, type context$8__publicOnOrderConfirmedType as _publicOnOrderConfirmedType, type context$8__publicOnOrderDeletedType as _publicOnOrderDeletedType, type context$8__publicOnOrderInitiatedType as _publicOnOrderInitiatedType, type context$8__publicOnOrderReservationCreatedType as _publicOnOrderReservationCreatedType, type context$8__publicOnOrderReservationUpdatedType as _publicOnOrderReservationUpdatedType, type context$8__publicOnOrderUpdatedType as _publicOnOrderUpdatedType, context$8_bulkUpdateOrders as bulkUpdateOrders, context$8_cancelReservation as cancelReservation, context$8_captureAuthorizedPayment as captureAuthorizedPayment, context$8_checkout as checkout, context$8_confirmOrder as confirmOrder, context$8_createReservation as createReservation, context$8_getCheckoutOptions as getCheckoutOptions, context$8_getInvoice as getInvoice, context$8_getOrder as getOrder, context$8_getSummary as getSummary, context$8_listAvailableTickets as listAvailableTickets, context$8_listOrders as listOrders, context$8_onOrderConfirmed as onOrderConfirmed, context$8_onOrderDeleted as onOrderDeleted, context$8_onOrderInitiated as onOrderInitiated, context$8_onOrderReservationCreated as onOrderReservationCreated, context$8_onOrderReservationUpdated as onOrderReservationUpdated, context$8_onOrderUpdated as onOrderUpdated, context$8_posCheckout as posCheckout, onOrderConfirmed$1 as publicOnOrderConfirmed, onOrderDeleted$1 as publicOnOrderDeleted, onOrderInitiated$1 as publicOnOrderInitiated, onOrderReservationCreated$1 as publicOnOrderReservationCreated, onOrderReservationUpdated$1 as publicOnOrderReservationUpdated, onOrderUpdated$1 as publicOnOrderUpdated, context$8_queryAvailableTickets as queryAvailableTickets, context$8_updateCheckout as updateCheckout, context$8_updateOrder as updateOrder, context$8_voidAuthorizedPayment as voidAuthorizedPayment };
10456
10495
  }
10457
10496
 
10458
10497
  interface RichContent {