@wix/auto_sdk_events_guests 1.0.38 → 1.0.40

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.
@@ -259,6 +259,22 @@ interface StandardDetails {
259
259
  */
260
260
  iso31662?: string | null;
261
261
  }
262
+ interface FormSubmission {
263
+ /**
264
+ * Form ID.
265
+ * @readonly
266
+ * @format GUID
267
+ */
268
+ formId?: string | null;
269
+ /**
270
+ * Form submission ID.
271
+ * @readonly
272
+ * @format GUID
273
+ */
274
+ submissionId?: string | null;
275
+ /** Form submissions. */
276
+ submissions?: Record<string, any>;
277
+ }
262
278
  declare enum AttendanceStatus {
263
279
  /** Not attending. */
264
280
  NOT_ATTENDING = "NOT_ATTENDING",
@@ -1751,6 +1767,7 @@ declare function onGuestOrderCanceled(handler: (event: GuestOrderCanceledEnvelop
1751
1767
  interface GuestUpdatedEnvelope {
1752
1768
  entity: EventGuest;
1753
1769
  metadata: EventMetadata;
1770
+ /** @hidden */
1754
1771
  modifiedFields: Record<string, any>;
1755
1772
  }
1756
1773
  /**
@@ -1942,4 +1959,4 @@ type EventGuestQuery = {
1942
1959
  }[];
1943
1960
  };
1944
1961
 
1945
- export { type ActionEvent, type Address, type AddressLocation, type AddressStreetOneOf, AttendanceStatus, type AttendanceStatusWithLiterals, type BaseEventMetadata, type CheckIn, type CommonAddress, type CommonAddressLocation, type CommonAddressStreetOneOf, type CommonQueryWithEntityContext, type CommonStreetAddress, type CommonSubdivision, type ContactEventStatusUpdated, type CouponDiscount, type CursorPaging, type Cursors, type DateAndTimeSettings, type Discount, type DiscountItem, type DiscountItemDiscountOneOf, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventDeleted, type EventDetails, type EventGuest, type EventGuestQuery, type EventGuestQuerySpec, type EventMetadata, EventType, type EventTypeWithLiterals, type Fee, FeeName, type FeeNameWithLiterals, FeeType, type FeeTypeWithLiterals, type FormResponse, type Formatted, type FormattedAddress, type GuestCheckedIn, type GuestCheckedInEnvelope, type GuestCount, type GuestCountUpdate, type GuestCountUpdated, type GuestCreatedEnvelope, type GuestDeletedEnvelope, type GuestDetails, type GuestEventCanceled, type GuestEventCanceledEnvelope, type GuestEventStarts, type GuestEventStartsEnvelope, type GuestListPreview, type GuestOrderCanceled, type GuestOrderCanceledEnvelope, GuestType, type GuestTypeWithLiterals, type GuestUpdatedEnvelope, type GuestsQueryBuilder, type GuestsQueryResult, type IdentificationData, type IdentificationDataIdOneOf, type InputValue, type Invoice, type Item, type Language, type ListGuestListPreviewsRequest, type ListGuestListPreviewsResponse, type Location, LocationType, type LocationTypeWithLiterals, type MemberEventStatusUpdated, MemberEventStatusUpdatedEventType, type MemberEventStatusUpdatedEventTypeWithLiterals, type MemberGuest, type MemberGuests, type MessageEnvelope, type Money, NotifyActionType, type NotifyActionTypeWithLiterals, type NotifyGuestAction, type Occurrence, type OnlineConferencingLogin, type OrderConfirmed, type OrderDeleted, type OrderDetails, OrderStatus, type OrderStatusWithLiterals, OrderType, type OrderTypeWithLiterals, type OrderUpdated, type Paging, type PagingMetadataV2, type PaidPlanDiscount, type PaidPlanDiscountDiscountOneOf, type PercentDiscount, type QueryEventGuestsOptions, type QueryEventGuestsRequest, type QueryEventGuestsResponse, type QueryV2, type QueryV2PagingMethodOneOf, RecurrenceStatusStatus, type RecurrenceStatusStatusWithLiterals, type Recurrences, RequestedFields, RequestedFieldsEnumRequestedFields, type RequestedFieldsEnumRequestedFieldsWithLiterals, type RequestedFieldsWithLiterals, type RestoreInfo, type SecondaryLanguagesRequest, type SecondaryLanguagesResponse, SortOrder, type SortOrderWithLiterals, type Sorting, type StandardDetails, Status, type StatusWithLiterals, type StreamEventGuestsRequest, type StreetAddress, type Subdivision, SubdivisionSubdivisionType, type SubdivisionSubdivisionTypeWithLiterals, SubdivisionType, type SubdivisionTypeWithLiterals, type Task, type TaskContext, type TaskKey, type Tax, TaxType, type TaxTypeWithLiterals, type Ticket, type TicketDetails, type TicketGuestDetails, Timing, type TimingWithLiterals, type UpdateGuestRequest, type UpdateGuestResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, onGuestCheckedIn, onGuestCreated, onGuestDeleted, onGuestEventCanceled, onGuestEventStarts, onGuestOrderCanceled, onGuestUpdated, queryGuests, typedQueryGuests };
1962
+ export { type ActionEvent, type Address, type AddressLocation, type AddressStreetOneOf, AttendanceStatus, type AttendanceStatusWithLiterals, type BaseEventMetadata, type CheckIn, type CommonAddress, type CommonAddressLocation, type CommonAddressStreetOneOf, type CommonQueryWithEntityContext, type CommonStreetAddress, type CommonSubdivision, type ContactEventStatusUpdated, type CouponDiscount, type CursorPaging, type Cursors, type DateAndTimeSettings, type Discount, type DiscountItem, type DiscountItemDiscountOneOf, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventDeleted, type EventDetails, type EventGuest, type EventGuestQuery, type EventGuestQuerySpec, type EventMetadata, EventType, type EventTypeWithLiterals, type Fee, FeeName, type FeeNameWithLiterals, FeeType, type FeeTypeWithLiterals, type FormResponse, type FormSubmission, type Formatted, type FormattedAddress, type GuestCheckedIn, type GuestCheckedInEnvelope, type GuestCount, type GuestCountUpdate, type GuestCountUpdated, type GuestCreatedEnvelope, type GuestDeletedEnvelope, type GuestDetails, type GuestEventCanceled, type GuestEventCanceledEnvelope, type GuestEventStarts, type GuestEventStartsEnvelope, type GuestListPreview, type GuestOrderCanceled, type GuestOrderCanceledEnvelope, GuestType, type GuestTypeWithLiterals, type GuestUpdatedEnvelope, type GuestsQueryBuilder, type GuestsQueryResult, type IdentificationData, type IdentificationDataIdOneOf, type InputValue, type Invoice, type Item, type Language, type ListGuestListPreviewsRequest, type ListGuestListPreviewsResponse, type Location, LocationType, type LocationTypeWithLiterals, type MemberEventStatusUpdated, MemberEventStatusUpdatedEventType, type MemberEventStatusUpdatedEventTypeWithLiterals, type MemberGuest, type MemberGuests, type MessageEnvelope, type Money, NotifyActionType, type NotifyActionTypeWithLiterals, type NotifyGuestAction, type Occurrence, type OnlineConferencingLogin, type OrderConfirmed, type OrderDeleted, type OrderDetails, OrderStatus, type OrderStatusWithLiterals, OrderType, type OrderTypeWithLiterals, type OrderUpdated, type Paging, type PagingMetadataV2, type PaidPlanDiscount, type PaidPlanDiscountDiscountOneOf, type PercentDiscount, type QueryEventGuestsOptions, type QueryEventGuestsRequest, type QueryEventGuestsResponse, type QueryV2, type QueryV2PagingMethodOneOf, RecurrenceStatusStatus, type RecurrenceStatusStatusWithLiterals, type Recurrences, RequestedFields, RequestedFieldsEnumRequestedFields, type RequestedFieldsEnumRequestedFieldsWithLiterals, type RequestedFieldsWithLiterals, type RestoreInfo, type SecondaryLanguagesRequest, type SecondaryLanguagesResponse, SortOrder, type SortOrderWithLiterals, type Sorting, type StandardDetails, Status, type StatusWithLiterals, type StreamEventGuestsRequest, type StreetAddress, type Subdivision, SubdivisionSubdivisionType, type SubdivisionSubdivisionTypeWithLiterals, SubdivisionType, type SubdivisionTypeWithLiterals, type Task, type TaskContext, type TaskKey, type Tax, TaxType, type TaxTypeWithLiterals, type Ticket, type TicketDetails, type TicketGuestDetails, Timing, type TimingWithLiterals, type UpdateGuestRequest, type UpdateGuestResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, onGuestCheckedIn, onGuestCreated, onGuestDeleted, onGuestEventCanceled, onGuestEventStarts, onGuestOrderCanceled, onGuestUpdated, queryGuests, typedQueryGuests };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/events-guests-v1-guest-guests.universal.ts","../../../src/events-guests-v1-guest-guests.http.ts"],"sourcesContent":["import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport { queryBuilder } from '@wix/sdk-runtime/query-builder';\nimport {\n renameKeysFromSDKRequestToRESTRequest,\n renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport {\n HttpClient,\n HttpResponse,\n NonNullablePaths,\n QuerySpec,\n Query as QuerySdkType,\n} from '@wix/sdk-types';\nimport * as ambassadorWixEventsGuestsV1Guest from './events-guests-v1-guest-guests.http.js';\n// @ts-ignore\nimport { transformRESTAddressToSDKAddress } from '@wix/sdk-runtime/transformations/address';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\n\nexport interface EventGuest {\n /**\n * Guest ID.\n * @format GUID\n */\n _id?: string | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string | null;\n /**\n * RSVP ID. <br/> <br/> **Note:** Only applicable when `guestType` is `\"RSVP\"`.\n * @format GUID\n */\n rsvpId?: string | null;\n /**\n * Order number. <br/> <br/> **Note:** Only applicable when `guestType` is `\"BUYER\"` or `\"TICKET_HOLDER\"`.\n * @maxLength 36\n */\n orderNumber?: string | null;\n /**\n * Ticket number. <br/> <br/> **Note:** Only applicable when `guestType` is `\"TICKET_HOLDER\"`.\n * @maxLength 36\n */\n ticketNumber?: string | null;\n /**\n * List of names, numbers, and definition IDs for each ticket.\n * @maxSize 50\n */\n tickets?: TicketDetails[];\n /**\n * Guest's contact ID. See the Contacts API for more details.\n * @format GUID\n */\n contactId?: string | null;\n /** Guest details. <br/> <br/> Returned only when the `guestDetails` fieldset is sent in the request. */\n guestDetails?: GuestDetails;\n /**\n * Attendance status. The attendance status updates based on status values in an RSVP object (for RSVP events) or in an Order object (for ticketed events).\n * For more information, see [Guest Attendance Status Mapping](https://dev.wix.com/docs/api-reference/business-solutions/events/registration/event-guests/guest-attendance-status-mapping). <br/> <br/> **Note:** For `guestType` of `\"BUYER\"` or `\"TICKET_HOLDER\"` the `\"IN_WAITLIST\"` value is not applicable.\n */\n attendanceStatus?: AttendanceStatusWithLiterals;\n /**\n * 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.\n * @format LANGUAGE\n */\n secondaryLanguageCode?: string | null;\n /** Date and time the guest was created in `yyyy-mm-ddThh:mm:sssZ` format. */\n _createdDate?: Date | null;\n /** Date and time the guest was updated in `yyyy-mm-ddThh:mm:sssZ` format. */\n _updatedDate?: Date | null;\n /** Date and time of guest's latest attendance status update. */\n attendanceStatusUpdatedDate?: Date | null;\n /**\n * Site member ID.\n * @format GUID\n */\n memberId?: string | null;\n /** Guest type. */\n guestType?: GuestTypeWithLiterals;\n /**\n * 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.\n * @format LANGUAGE_TAG\n */\n locale?: string | null;\n /**\n * Number of total guests in an event (registered guests + additional ones).\n * @readonly\n */\n totalGuests?: number | null;\n /**\n * Revision number, which increments by 1 each time the guest is updated.\n * @readonly\n */\n revision?: string | null;\n}\n\nexport interface TicketDetails {\n /**\n * Ticket number.\n * @maxLength 36\n */\n number?: string;\n /**\n * Ticket definition ID.\n * @format GUID\n */\n definitionId?: string | null;\n /**\n * Ticket name.\n * @minLength 1\n * @maxLength 30\n */\n name?: string | null;\n}\n\nexport interface TicketGuestDetails {\n /** The login details for the guest to access the online conference event. */\n onlineConferencingLogin?: OnlineConferencingLogin;\n /**\n * First name.\n * @maxLength 255\n */\n firstName?: string | null;\n /**\n * Last name.\n * @maxLength 255\n */\n lastName?: string | null;\n}\n\nexport interface OnlineConferencingLogin {\n /**\n * Link URL to the online conference.\n * @format WEB_URL\n * @readonly\n */\n link?: string;\n /**\n * Password for the online conference.\n * @readonly\n */\n password?: string | null;\n}\n\nexport interface GuestDetails {\n /**\n * Email.\n * @format EMAIL\n */\n email?: string | null;\n /**\n * First name.\n * @maxLength 255\n */\n firstName?: string | null;\n /**\n * Last name.\n * @maxLength 255\n */\n lastName?: string | null;\n /** Form response. */\n formResponse?: FormResponse;\n /** Whether the guest has checked into the event. */\n checkedIn?: boolean;\n /** The login details for the guest to access the online conference event. */\n onlineConferencingLogin?: OnlineConferencingLogin;\n /**\n * Phone extracted from form response. If multiples phone inputs are present, first one is returned.\n * @maxLength 200\n */\n phone?: string | null;\n /**\n * Address extracted from form response. If multiples address inputs are present, first one is returned.\n * @maxLength 200\n */\n address?: string | null;\n}\n\nexport interface FormResponse {\n /**\n * Form field inputs.\n * @maxSize 200\n */\n inputValues?: InputValue[];\n}\n\nexport interface InputValue {\n /**\n * Form field input name.\n * @maxLength 100\n */\n inputName?: string;\n /**\n * Form field value.\n * @maxLength 5000\n */\n value?: string;\n /**\n * Form field values.\n * @maxSize 100\n * @maxLength 5000\n */\n values?: string[];\n}\n\nexport interface FormattedAddress {\n /**\n * 1-line address representation.\n * @maxLength 200\n */\n formatted?: string;\n /** Address components. */\n address?: Address;\n}\n\n/** Physical address */\nexport interface Address extends AddressStreetOneOf {\n /** Street name and number. */\n streetAddress?: StreetAddress;\n /** Main address line, usually street and number as free text. */\n addressLine1?: string | null;\n /**\n * Country code.\n * @format COUNTRY\n */\n country?: string | null;\n /** Subdivision shorthand. Usually, a short code (2 or 3 letters) that represents a state, region, prefecture, or province. e.g. NY */\n subdivision?: string | null;\n /** City name. */\n city?: string | null;\n /** Zip/postal code. */\n postalCode?: string | null;\n /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */\n addressLine2?: string | null;\n}\n\n/** @oneof */\nexport interface AddressStreetOneOf {\n /** Street name and number. */\n streetAddress?: StreetAddress;\n /** Main address line, usually street and number as free text. */\n addressLine?: string | null;\n}\n\nexport interface StreetAddress {\n /** Street number. */\n number?: string;\n /** Street name. */\n name?: string;\n}\n\nexport interface AddressLocation {\n /** Address latitude. */\n latitude?: number | null;\n /** Address longitude. */\n longitude?: number | null;\n}\n\nexport interface Subdivision {\n /** Short subdivision code. */\n code?: string;\n /** Subdivision full name. */\n name?: string;\n}\n\nexport enum SubdivisionType {\n UNKNOWN_SUBDIVISION_TYPE = 'UNKNOWN_SUBDIVISION_TYPE',\n /** State */\n ADMINISTRATIVE_AREA_LEVEL_1 = 'ADMINISTRATIVE_AREA_LEVEL_1',\n /** County */\n ADMINISTRATIVE_AREA_LEVEL_2 = 'ADMINISTRATIVE_AREA_LEVEL_2',\n /** City/town */\n ADMINISTRATIVE_AREA_LEVEL_3 = 'ADMINISTRATIVE_AREA_LEVEL_3',\n /** Neighborhood/quarter */\n ADMINISTRATIVE_AREA_LEVEL_4 = 'ADMINISTRATIVE_AREA_LEVEL_4',\n /** Street/block */\n ADMINISTRATIVE_AREA_LEVEL_5 = 'ADMINISTRATIVE_AREA_LEVEL_5',\n /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */\n COUNTRY = 'COUNTRY',\n}\n\n/** @enumType */\nexport type SubdivisionTypeWithLiterals =\n | SubdivisionType\n | 'UNKNOWN_SUBDIVISION_TYPE'\n | 'ADMINISTRATIVE_AREA_LEVEL_1'\n | 'ADMINISTRATIVE_AREA_LEVEL_2'\n | 'ADMINISTRATIVE_AREA_LEVEL_3'\n | 'ADMINISTRATIVE_AREA_LEVEL_4'\n | 'ADMINISTRATIVE_AREA_LEVEL_5'\n | 'COUNTRY';\n\n/** Subdivision Concordance values */\nexport interface StandardDetails {\n /**\n * 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\n * @maxLength 20\n */\n iso31662?: string | null;\n}\n\nexport enum AttendanceStatus {\n /** Not attending. */\n NOT_ATTENDING = 'NOT_ATTENDING',\n /** Attending. */\n ATTENDING = 'ATTENDING',\n /** In a waiting list. */\n IN_WAITLIST = 'IN_WAITLIST',\n}\n\n/** @enumType */\nexport type AttendanceStatusWithLiterals =\n | AttendanceStatus\n | 'NOT_ATTENDING'\n | 'ATTENDING'\n | 'IN_WAITLIST';\n\nexport enum GuestType {\n /** An invited guest, no ticket necessary. */\n RSVP = 'RSVP',\n /** The guest who bought the ticket. */\n BUYER = 'BUYER',\n /** The guest for whom the ticket was bought. */\n TICKET_HOLDER = 'TICKET_HOLDER',\n}\n\n/** @enumType */\nexport type GuestTypeWithLiterals =\n | GuestType\n | 'RSVP'\n | 'BUYER'\n | 'TICKET_HOLDER';\n\nexport interface GuestCountUpdated {\n /** Guest. */\n guest?: EventGuest;\n /**\n * Guest count updates.\n * @maxSize 2\n */\n guestCountUpdates?: GuestCountUpdate[];\n}\n\nexport interface GuestCountUpdate {\n /** Attendance status. */\n attendanceStatus?: AttendanceStatusWithLiterals;\n /** Total guest count change. */\n totalGuestsDelta?: number;\n /** Guest count change. */\n countDelta?: number;\n}\n\nexport interface MemberEventStatusUpdated {\n /**\n * Event id.\n * @format GUID\n */\n eventId?: string | null;\n /**\n * Member id.\n * @format GUID\n */\n memberId?: string | null;\n /** Member event status. */\n status?: MemberEventStatusUpdatedEventTypeWithLiterals;\n}\n\nexport enum MemberEventStatusUpdatedEventType {\n /**\n * Triggered every time a guest with a specified member ID is added to the event.\n * This event can also be triggered if an existing guest changed their member ID.\n */\n MEMBER_JOINED = 'MEMBER_JOINED',\n /**\n * Triggered every time a guest with a specified member ID is removed from the event.\n * This event can also be triggered if an existing guest changed their member ID.\n */\n MEMBER_LEFT = 'MEMBER_LEFT',\n /**\n * Triggered every time a guest with a specified member ID whose status is `\"ATTENDING\"` is added to the event.\n * This event can also be triggered if an existing guest changed their member ID or changed their status to `\"ATTENDING\"`.\n */\n ATTENDING_MEMBER_JOINED = 'ATTENDING_MEMBER_JOINED',\n /**\n * Triggered when the last guest with a specified member ID is removed from the event or their status changes to `\"NOT_ATTENDING\"`.\n * Once triggered there are no more attending guests with a specified member ID in the event.\n * This event can also be triggered if the last existing guest changed their member ID or their status to `\"NOT_ATTENDING\"`.\n */\n LAST_ATTENDING_MEMBER_LEFT = 'LAST_ATTENDING_MEMBER_LEFT',\n}\n\n/** @enumType */\nexport type MemberEventStatusUpdatedEventTypeWithLiterals =\n | MemberEventStatusUpdatedEventType\n | 'MEMBER_JOINED'\n | 'MEMBER_LEFT'\n | 'ATTENDING_MEMBER_JOINED'\n | 'LAST_ATTENDING_MEMBER_LEFT';\n\nexport interface ContactEventStatusUpdated {\n /**\n * Event id.\n * @format GUID\n */\n eventId?: string | null;\n /**\n * Contact id.\n * @format GUID\n */\n contactId?: string | null;\n /** Contact event status. */\n status?: EventTypeWithLiterals;\n}\n\nexport enum EventType {\n /**\n * Triggered every time a guest with a specified contact ID is added to the event.\n * This event can also be triggered if an existing guest changed their contact ID.\n */\n CONTACT_JOINED = 'CONTACT_JOINED',\n /**\n * Triggered every time a guest with a specified contact ID is removed from the event.\n * This event can also be triggered if an existing guest changed their contact ID.\n */\n CONTACT_LEFT = 'CONTACT_LEFT',\n /**\n * Triggred when the last guest with a specified contact ID is removed from the event.\n * Once triggered there are no more guests with a specified contact ID in the event.\n * This event can also be triggered if the last existing guest changed their contact ID.\n */\n LAST_CONTACT_LEFT = 'LAST_CONTACT_LEFT',\n}\n\n/** @enumType */\nexport type EventTypeWithLiterals =\n | EventType\n | 'CONTACT_JOINED'\n | 'CONTACT_LEFT'\n | 'LAST_CONTACT_LEFT';\n\nexport interface GuestCheckedIn {\n /** Event guest */\n guest?: EventGuest;\n /** Event details */\n eventDetails?: EventDetails;\n}\n\nexport interface EventDetails {\n /**\n * Event title.\n * @minLength 1\n * @maxLength 120\n * @readonly\n */\n title?: string | null;\n /**\n * Event short description.\n * @maxLength 500\n * @readonly\n */\n shortDescription?: string | null;\n /**\n * Event location.\n * @readonly\n */\n location?: Location;\n /**\n * Event date and time settings.\n * @readonly\n */\n dateAndTimeSettings?: DateAndTimeSettings;\n /**\n * Event page URL components.\n * @readonly\n */\n eventPageUrl?: string;\n /**\n * Event status.\n * @readonly\n */\n status?: StatusWithLiterals;\n}\n\nexport interface Location {\n /**\n * Location name. This value is displayed instead of the address when the location is defined as TBD by setting the `locationTbd` property to `true`.\n * @maxLength 50\n */\n name?: string | null;\n /** Location type. */\n type?: LocationTypeWithLiterals;\n /** Exact location address. */\n address?: CommonAddress;\n /** Whether the event location is TBD. */\n locationTbd?: boolean | null;\n}\n\nexport enum LocationType {\n /** Unknown location type. */\n UNKNOWN_LOCATION = 'UNKNOWN_LOCATION',\n /** Event is on-site at a specific physical location. */\n VENUE = 'VENUE',\n /** Event is online, such as a virtual video conference. */\n ONLINE = 'ONLINE',\n}\n\n/** @enumType */\nexport type LocationTypeWithLiterals =\n | LocationType\n | 'UNKNOWN_LOCATION'\n | 'VENUE'\n | 'ONLINE';\n\n/** Physical address */\nexport interface CommonAddress extends CommonAddressStreetOneOf {\n /** Street address. */\n streetAddress?: CommonStreetAddress;\n /**\n * Primary address information (street and building number).\n * @maxLength 250\n */\n addressLine1?: string | null;\n /**\n * 2-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format.\n * @format COUNTRY\n */\n country?: string | null;\n /**\n * Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2).\n * @maxLength 20\n */\n subdivision?: string | null;\n /**\n * City name.\n * @maxLength 100\n */\n city?: string | null;\n /**\n * Zip or postal code.\n * @maxLength 100\n */\n postalCode?: string | null;\n /**\n * Secondary address information (suite or apartment number and room number).\n * @maxLength 250\n */\n addressLine2?: string | null;\n}\n\n/** @oneof */\nexport interface CommonAddressStreetOneOf {\n /** Street address. */\n streetAddress?: CommonStreetAddress;\n /**\n * Primary address information (street and building number).\n * @maxLength 250\n */\n addressLine?: string | null;\n}\n\nexport interface CommonStreetAddress {\n /**\n * Street number.\n * @maxLength 100\n */\n number?: string;\n /**\n * Street name.\n * @maxLength 250\n */\n name?: string;\n}\n\nexport interface CommonAddressLocation {\n /**\n * Address latitude coordinates.\n * @min -90\n * @max 90\n */\n latitude?: number | null;\n /**\n * Address longitude coordinates.\n * @min -180\n * @max 180\n */\n longitude?: number | null;\n}\n\nexport interface CommonSubdivision {\n /**\n * Short subdivision code.\n * @maxLength 100\n */\n code?: string;\n /**\n * Subdivision full name.\n * @maxLength 250\n */\n name?: string;\n}\n\nexport enum SubdivisionSubdivisionType {\n UNKNOWN_SUBDIVISION_TYPE = 'UNKNOWN_SUBDIVISION_TYPE',\n /** State */\n ADMINISTRATIVE_AREA_LEVEL_1 = 'ADMINISTRATIVE_AREA_LEVEL_1',\n /** County */\n ADMINISTRATIVE_AREA_LEVEL_2 = 'ADMINISTRATIVE_AREA_LEVEL_2',\n /** City/town */\n ADMINISTRATIVE_AREA_LEVEL_3 = 'ADMINISTRATIVE_AREA_LEVEL_3',\n /** Neighborhood/quarter */\n ADMINISTRATIVE_AREA_LEVEL_4 = 'ADMINISTRATIVE_AREA_LEVEL_4',\n /** Street/block */\n ADMINISTRATIVE_AREA_LEVEL_5 = 'ADMINISTRATIVE_AREA_LEVEL_5',\n /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */\n COUNTRY = 'COUNTRY',\n}\n\n/** @enumType */\nexport type SubdivisionSubdivisionTypeWithLiterals =\n | SubdivisionSubdivisionType\n | 'UNKNOWN_SUBDIVISION_TYPE'\n | 'ADMINISTRATIVE_AREA_LEVEL_1'\n | 'ADMINISTRATIVE_AREA_LEVEL_2'\n | 'ADMINISTRATIVE_AREA_LEVEL_3'\n | 'ADMINISTRATIVE_AREA_LEVEL_4'\n | 'ADMINISTRATIVE_AREA_LEVEL_5'\n | 'COUNTRY';\n\nexport interface DateAndTimeSettings {\n /** Whether the event date and time are TBD. */\n dateAndTimeTbd?: boolean | null;\n /**\n * Message that is displayed when time and date is TBD.\n *\n * **Note:** This field is only used when the `dateAndTimeTbd` field value is `true`.\n * @maxLength 100\n */\n dateAndTimeTbdMessage?: string | null;\n /**\n * Event start date.\n *\n * **Note:** This field is only returned when the `dateAndTimeTbd` field value is `false`.\n */\n startDate?: Date | null;\n /**\n * Event end date.\n *\n * **Note:** This field is only returned when the `dateAndTimeTbd` field value is `false`.\n */\n endDate?: Date | null;\n /**\n * Event time zone ID in the [TZ database](https://www.iana.org/time-zones) format.\n *\n * **Note:** This field is only returned when the `dateAndTimeTbd` field value is `false`.\n * @maxLength 100\n */\n timeZoneId?: string | null;\n /** Whether the end date is hidden in the formatted date and time. */\n hideEndDate?: boolean | null;\n /** Whether the time zone is displayed in the formatted schedule. */\n showTimeZone?: boolean | null;\n /**\n * Repeating event status.\n * @readonly\n */\n recurrenceStatus?: RecurrenceStatusStatusWithLiterals;\n /** Event repetitions. */\n recurringEvents?: Recurrences;\n /** Formatted date and time settings. */\n formatted?: Formatted;\n}\n\nexport enum RecurrenceStatusStatus {\n /** Unknown recurrance status. */\n UNKNOWN_STATUS = 'UNKNOWN_STATUS',\n /** Event happens only once and can last multiple days. */\n ONE_TIME = 'ONE_TIME',\n /** A series of events that repeat. */\n RECURRING = 'RECURRING',\n /** Next event in a schedule of recurring events. */\n RECURRING_UPCOMING = 'RECURRING_UPCOMING',\n /** Latest event that ended in a schedule of recurring events. */\n RECURRING_RECENTLY_ENDED = 'RECURRING_RECENTLY_ENDED',\n /** Latest canceled event in a schedule of recurring events */\n RECURRING_RECENTLY_CANCELED = 'RECURRING_RECENTLY_CANCELED',\n}\n\n/** @enumType */\nexport type RecurrenceStatusStatusWithLiterals =\n | RecurrenceStatusStatus\n | 'UNKNOWN_STATUS'\n | 'ONE_TIME'\n | 'RECURRING'\n | 'RECURRING_UPCOMING'\n | 'RECURRING_RECENTLY_ENDED'\n | 'RECURRING_RECENTLY_CANCELED';\n\nexport interface Recurrences {\n /**\n * Individual event dates.\n * @maxSize 1000\n */\n individualEventDates?: Occurrence[];\n /**\n * Recurring event category ID.\n * @readonly\n * @maxLength 100\n */\n categoryId?: string | null;\n}\n\nexport interface Occurrence {\n /** Event start date. */\n startDate?: Date | null;\n /** Event end date. */\n endDate?: Date | null;\n /**\n * Event time zone ID in the [TZ database](https://www.iana.org/time-zones) format.\n * @maxLength 100\n */\n timeZoneId?: string | null;\n /** Whether the time zone is displayed in a formatted schedule. */\n showTimeZone?: boolean;\n}\n\nexport interface Formatted {\n /**\n * Formatted date and time representation. <br>\n * Example of formatting when an event lasts multiple days and is in the UTC time zone: `September 1, 2015 at 10:20 AM – September 5, 2015 at 12:14 PM`. <br>\n * Example of formatting when an event lasts 1 day and is in the GMT+2 time zone: `February 1, 2018, 12:10 – 2:50 PM GMT+2`.\n * @readonly\n * @maxLength 500\n */\n dateAndTime?: string | null;\n /**\n * Formatted start date of the event. Empty for TBD schedules.\n * @readonly\n * @maxLength 500\n */\n startDate?: string | null;\n /**\n * Formatted start time of the event. Empty for TBD schedules.\n * @readonly\n * @maxLength 500\n */\n startTime?: string | null;\n /**\n * Formatted end date of the event. Empty for TBD schedules or when the end date is hidden.\n * @readonly\n * @maxLength 500\n */\n endDate?: string | null;\n /**\n * Formatted end time of the event. Empty for TBD schedules or when the end date is hidden.\n * @readonly\n * @maxLength 500\n */\n endTime?: string | null;\n}\n\nexport enum Status {\n /** Unknown event status. */\n UNKNOWN_EVENT_STATUS = 'UNKNOWN_EVENT_STATUS',\n /** Event is published and scheduled to start. */\n UPCOMING = 'UPCOMING',\n /** Event has started. */\n STARTED = 'STARTED',\n /** Event has ended. */\n ENDED = 'ENDED',\n /** Event is canceled. */\n CANCELED = 'CANCELED',\n /** Event is not public. */\n DRAFT = 'DRAFT',\n}\n\n/** @enumType */\nexport type StatusWithLiterals =\n | Status\n | 'UNKNOWN_EVENT_STATUS'\n | 'UPCOMING'\n | 'STARTED'\n | 'ENDED'\n | 'CANCELED'\n | 'DRAFT';\n\nexport interface NotifyGuestAction {\n /** Event guest. */\n guest?: EventGuest;\n /** Task context. */\n taskContext?: TaskContext;\n}\n\nexport interface TaskContext {\n /** Task id. */\n _id?: string | null;\n /** Notify action type. */\n type?: NotifyActionTypeWithLiterals;\n /** Timing. Used for EVENT_STARTS */\n timing?: TimingWithLiterals;\n /** Event context. */\n event?: EventDetails;\n /** Order context. */\n order?: OrderDetails;\n}\n\nexport enum NotifyActionType {\n UNKNOWN = 'UNKNOWN',\n EMAIL = 'EMAIL',\n AUTOMATION_TRIGGER = 'AUTOMATION_TRIGGER',\n PUSH = 'PUSH',\n EVENT_CANCELED = 'EVENT_CANCELED',\n EVENT_STARTS = 'EVENT_STARTS',\n ORDER_CANCELED = 'ORDER_CANCELED',\n}\n\n/** @enumType */\nexport type NotifyActionTypeWithLiterals =\n | NotifyActionType\n | 'UNKNOWN'\n | 'EMAIL'\n | 'AUTOMATION_TRIGGER'\n | 'PUSH'\n | 'EVENT_CANCELED'\n | 'EVENT_STARTS'\n | 'ORDER_CANCELED';\n\nexport enum Timing {\n /** Unknown event start time. */\n UNKNOWN_TIMING = 'UNKNOWN_TIMING',\n /** Instant. */\n NOW = 'NOW',\n /** 24 hours prior. */\n STARTS_IN_1_DAY = 'STARTS_IN_1_DAY',\n /** 3 days prior. */\n STARTS_IN_3_DAYS = 'STARTS_IN_3_DAYS',\n /** 7 days prior. */\n STARTS_IN_1_WEEK = 'STARTS_IN_1_WEEK',\n /** 1 hour prior. */\n STARTS_IN_1_HOUR = 'STARTS_IN_1_HOUR',\n /** 30 minutes prior. */\n STARTS_IN_30_MINUTES = 'STARTS_IN_30_MINUTES',\n /** 2 hours prior. */\n STARTS_IN_2_HOURS = 'STARTS_IN_2_HOURS',\n}\n\n/** @enumType */\nexport type TimingWithLiterals =\n | Timing\n | 'UNKNOWN_TIMING'\n | 'NOW'\n | 'STARTS_IN_1_DAY'\n | 'STARTS_IN_3_DAYS'\n | 'STARTS_IN_1_WEEK'\n | 'STARTS_IN_1_HOUR'\n | 'STARTS_IN_30_MINUTES'\n | 'STARTS_IN_2_HOURS';\n\nexport interface OrderDetails {\n /** Order status */\n orderStatus?: OrderStatusWithLiterals;\n /** Invoice */\n invoice?: Invoice;\n}\n\nexport enum OrderStatus {\n /** Order status isn't available for this request fieldset. */\n NA_ORDER_STATUS = 'NA_ORDER_STATUS',\n /** Order is confirmed, no payment is required. */\n FREE = 'FREE',\n /** Order was paid, but the payment gateway suspended the payment. */\n PENDING = 'PENDING',\n /** Order is paid. */\n PAID = 'PAID',\n /** Order is confirmed but must be paid via offline payment. Status needs to be manually updated to `\"PAID\"`. */\n OFFLINE_PENDING = 'OFFLINE_PENDING',\n /** Order is waiting for payment at the cashier. */\n INITIATED = 'INITIATED',\n /** Order is canceled. */\n CANCELED = 'CANCELED',\n /** Order payment is declined. */\n DECLINED = 'DECLINED',\n /** Order payment is authorized. */\n AUTHORIZED = 'AUTHORIZED',\n /** Order payment is voided. */\n VOIDED = 'VOIDED',\n /** Order is partially paid with less than the total amount. */\n PARTIALLY_PAID = 'PARTIALLY_PAID',\n}\n\n/** @enumType */\nexport type OrderStatusWithLiterals =\n | OrderStatus\n | 'NA_ORDER_STATUS'\n | 'FREE'\n | 'PENDING'\n | 'PAID'\n | 'OFFLINE_PENDING'\n | 'INITIATED'\n | 'CANCELED'\n | 'DECLINED'\n | 'AUTHORIZED'\n | 'VOIDED'\n | 'PARTIALLY_PAID';\n\nexport interface Invoice {\n items?: Item[];\n /**\n * Total cart amount.\n * @deprecated\n */\n total?: Money;\n /** Discount applied to a cart. */\n discount?: Discount;\n /** Tax applied to a cart. */\n tax?: Tax;\n /** Total cart amount before discount, tax, and fees. */\n subTotal?: Money;\n /**\n * Total amount of a cart after discount, tax, and fees.\n * Grand total is calculated in the following order:\n * 1. Total prices of all items in the cart are calculated.\n * 2. Discount is subtracted from the cart, if applicable.\n * 3. Tax is added, if applicable.\n * 4. Wix ticket service fee is added.\n */\n grandTotal?: Money;\n /**\n * Fees applied to the cart.\n * @readonly\n */\n fees?: Fee[];\n /** Total revenue, excluding fees. Taxes and payment provider fees aren't deducted. */\n revenue?: Money;\n /** Invoice preview URL. Only returned if the order is paid. */\n previewUrl?: string | null;\n}\n\nexport interface Item {\n /**\n * Unique line item ID.\n * @format GUID\n */\n _id?: string;\n /**\n * Line item quantity.\n * @min 1\n * @max 50\n */\n quantity?: number;\n /** Line item name. */\n name?: string;\n /** Line item price. */\n price?: Money;\n /** Total price for line items. Always equal to price * quantity. */\n total?: Money;\n /** Discount applied to the line item. */\n discount?: Discount;\n /** Tax applied to the item. */\n tax?: Tax;\n /**\n * Fees applied to the item.\n * @readonly\n */\n fees?: Fee[];\n}\n\nexport interface Money {\n /**\n * *Deprecated:** Use `value` instead.\n * @format DECIMAL_VALUE\n * @deprecated\n */\n amount?: string;\n /**\n * 3-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. For example, `USD`.\n * @format CURRENCY\n */\n currency?: string;\n /**\n * 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.\n * @format DECIMAL_VALUE\n */\n value?: string | null;\n}\n\nexport interface Discount {\n /** Total discount amount. */\n amount?: Money;\n /** Total sum after the discount. */\n afterDiscount?: Money;\n /**\n * Discount coupon code.\n * @deprecated\n */\n code?: string;\n /**\n * Discount coupon name.\n * @deprecated\n */\n name?: string;\n /**\n * Discount coupon ID.\n * @deprecated\n */\n couponId?: string;\n /** Discount items. */\n discounts?: DiscountItem[];\n}\n\nexport interface DiscountItem extends DiscountItemDiscountOneOf {\n /** Coupon discount. */\n coupon?: CouponDiscount;\n /** Pricing plan discount. */\n paidPlan?: PaidPlanDiscount;\n /** Total discount amount. */\n amount?: Money;\n}\n\n/** @oneof */\nexport interface DiscountItemDiscountOneOf {\n /** Coupon discount. */\n coupon?: CouponDiscount;\n /** Pricing plan discount. */\n paidPlan?: PaidPlanDiscount;\n}\n\nexport interface CouponDiscount {\n /** Discount coupon name. **Deprecated:** Use `invoice.discounts.coupon.name` instead. */\n name?: string;\n /** Discount coupon code. **Deprecated:** Use `invoice.discounts.coupon.code` instead. */\n code?: string;\n /** Discount coupon ID. **Deprecated:** Use `invoice.discounts.coupon.couponId` instead. */\n couponId?: string;\n}\n\nexport interface PaidPlanDiscount extends PaidPlanDiscountDiscountOneOf {\n /** Discount by percentage applied to tickets. */\n percentDiscount?: PercentDiscount;\n /** Name of pricing plan. */\n name?: string;\n}\n\n/** @oneof */\nexport interface PaidPlanDiscountDiscountOneOf {\n /** Discount by percentage applied to tickets. */\n percentDiscount?: PercentDiscount;\n}\n\nexport interface PercentDiscount {\n /**\n * Percent rate.\n * @decimalValue options { gte:0.01, lte:100, maxScale:2 }\n */\n rate?: string;\n /** Number of discounted tickets. */\n quantityDiscounted?: number;\n}\n\nexport interface Tax {\n /** Tax type. */\n type?: TaxTypeWithLiterals;\n /**\n * Tax name.\n * @readonly\n */\n name?: string;\n /**\n * Tax rate.\n * @format DECIMAL_VALUE\n */\n rate?: string;\n /** Taxable amount. */\n taxable?: Money;\n /** Total tax amount. */\n amount?: Money;\n}\n\nexport enum TaxType {\n /** Tax is included in the ticket price. */\n INCLUDED = 'INCLUDED',\n /** Tax is added to the order at the checkout. */\n ADDED = 'ADDED',\n /** Tax is added to the final total at the checkout. */\n ADDED_AT_CHECKOUT = 'ADDED_AT_CHECKOUT',\n}\n\n/** @enumType */\nexport type TaxTypeWithLiterals =\n | TaxType\n | 'INCLUDED'\n | 'ADDED'\n | 'ADDED_AT_CHECKOUT';\n\nexport interface Fee {\n /** Fee identifier. */\n name?: FeeNameWithLiterals;\n /** How fee is calculated. */\n type?: FeeTypeWithLiterals;\n /**\n * Fee rate.\n * @format DECIMAL_VALUE\n * @readonly\n */\n rate?: string;\n /** Total amount of fee charges. */\n amount?: Money;\n}\n\nexport enum FeeName {\n /** Wix ticket service fee charges applied to the line item. */\n WIX_FEE = 'WIX_FEE',\n}\n\n/** @enumType */\nexport type FeeNameWithLiterals = FeeName | 'WIX_FEE';\n\nexport enum FeeType {\n /** Fee is added to the ticket price at checkout. */\n FEE_ADDED = 'FEE_ADDED',\n /** Seller absorbs the fee. It's deducted from the ticket price. */\n FEE_INCLUDED = 'FEE_INCLUDED',\n /** Fee is added to the ticket price at checkout. */\n FEE_ADDED_AT_CHECKOUT = 'FEE_ADDED_AT_CHECKOUT',\n}\n\n/** @enumType */\nexport type FeeTypeWithLiterals =\n | FeeType\n | 'FEE_ADDED'\n | 'FEE_INCLUDED'\n | 'FEE_ADDED_AT_CHECKOUT';\n\nexport interface GuestEventCanceled {\n /** Event guest. */\n guest?: EventGuest;\n /** Event context. */\n event?: EventDetails;\n}\n\nexport interface GuestEventStarts {\n /** Event guest. */\n guest?: EventGuest;\n /** Event context. */\n event?: EventDetails;\n /** Timing */\n timing?: TimingWithLiterals;\n}\n\nexport interface GuestOrderCanceled {\n /** Event guest. */\n guest?: EventGuest;\n /** Event context. */\n event?: EventDetails;\n /** Order context. */\n order?: OrderDetails;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entity?: string;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntity?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntity?: string | null;\n}\n\nexport interface ActionEvent {\n body?: string;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface QueryEventGuestsRequest {\n /** Query options. See [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language) for more details. */\n query: QueryV2;\n /**\n * Predefined sets of fields to return.\n * @maxSize 3\n */\n fields?: RequestedFieldsEnumRequestedFieldsWithLiterals[];\n}\n\nexport interface QueryV2 extends QueryV2PagingMethodOneOf {\n /** Paging options to limit and skip the number of items. */\n paging?: Paging;\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n /** Filter object in the following format: <br/> `\"filter\" : { \"fieldName1\": \"value1\", \"fieldName2\":{\"$operator\":\"value2\"} }`. <br/> <br/> **Example:** <br/> `\"filter\" : { \"eventId\": \"sd3f-jhds-4fs77\", \"ticketNumber\": {\"$startsWith\":\"478\"} }` <br/> <br/> See [supported fields and operators](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort) for more information. */\n filter?: Record<string, any> | null;\n /** Sort object in the following format: <br/> `[{\"fieldName\":\"sortField1\"},{\"fieldName\":\"sortField2\",\"direction\":\"DESC\"}]` <br/> <br/> **Example:** <br/> `[{\"fieldName\":\"createdDate\",\"direction\":\"DESC\"}]` <br/> <br/> See [supported fields](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort) for more information. */\n sort?: Sorting[];\n /**\n * Currently the only supported fieldset is `guestDetails`. The `WIX_EVENTS.READ_GUESTS_DETAILS` permission is required to access the guest details. <br/> <br/> See [field projection](https://dev.wix.com/api/rest/getting-started/field-projection) for more information.\n * @deprecated Currently the only supported fieldset is `guestDetails`. The `WIX_EVENTS.READ_GUESTS_DETAILS` permission is required to access the guest details. <br/> <br/> See [field projection](https://dev.wix.com/api/rest/getting-started/field-projection) for more information.\n * @replacedBy fields\n * @targetRemovalDate 2024-06-30\n */\n fieldsets?: string[];\n}\n\n/** @oneof */\nexport interface QueryV2PagingMethodOneOf {\n /** Paging options to limit and skip the number of items. */\n paging?: Paging;\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface Paging {\n /**\n * Number of items to load.\n * @max 1000\n */\n limit?: number | null;\n /** Number of items to skip in the current sort order. */\n offset?: number | null;\n}\n\nexport interface CursorPaging {\n /**\n * Maximum number of items to return in the results.\n * @max 1000\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 16000\n */\n cursor?: string | null;\n}\n\nexport enum RequestedFieldsEnumRequestedFields {\n /** Unknown requested field. */\n UNKNOWN_REQUESTED_FIELD = 'UNKNOWN_REQUESTED_FIELD',\n /** Returns `guestDetails` and `tickets`. */\n GUEST_DETAILS = 'GUEST_DETAILS',\n /** Returns `totalGuests`. */\n GUEST_TOTAL = 'GUEST_TOTAL',\n}\n\n/** @enumType */\nexport type RequestedFieldsEnumRequestedFieldsWithLiterals =\n | RequestedFieldsEnumRequestedFields\n | 'UNKNOWN_REQUESTED_FIELD'\n | 'GUEST_DETAILS'\n | 'GUEST_TOTAL';\n\nexport interface QueryEventGuestsResponse {\n /** List of guests. */\n guests?: EventGuest[];\n /** Metadata for the paginated results. */\n pagingMetadata?: PagingMetadataV2;\n}\n\nexport interface PagingMetadataV2 {\n /** Number of items returned in the response. */\n count?: number | null;\n /** Offset that was requested. */\n offset?: number | null;\n /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */\n total?: number | null;\n /** Flag that indicates the server failed to calculate the `total` field. */\n tooManyToCount?: boolean | null;\n /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */\n cursors?: Cursors;\n}\n\nexport interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to the previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\nexport interface StreamEventGuestsRequest {\n /** Filter. */\n filter?: Record<string, any> | null;\n /** Task context. */\n taskContext?: TaskContext;\n}\n\nexport interface Empty {}\n\nexport interface SecondaryLanguagesRequest {\n /**\n * Guest event id.\n * @format GUID\n */\n eventId?: string;\n}\n\nexport interface SecondaryLanguagesResponse {\n /**\n * Aggregated guests secondary languages.\n * @format LANGUAGE\n */\n secondaryLanguages?: string[];\n /** Aggregated guests languages. */\n languages?: Language[];\n}\n\nexport interface Language {\n /**\n * Guest language.\n * @format LANGUAGE\n */\n language?: string | null;\n /**\n * Guest locale.\n * @format LANGUAGE_TAG\n */\n locale?: string | null;\n}\n\n/** Triggered when an order is confirmed. */\nexport interface OrderConfirmed {\n /** Date and time the order was confirmed. */\n timestamp?: Date | null;\n /**\n * Site language when the order was initiated.\n * @format LANGUAGE\n */\n language?: string | null;\n /** Notifications silenced for this domain event. */\n silent?: boolean | null;\n /**\n * Locale in which the order was created.\n * @format LANGUAGE_TAG\n */\n locale?: string | null;\n /**\n * Event ID to which the order belongs.\n * @format GUID\n */\n eventId?: string;\n /** Unique order number. */\n orderNumber?: string;\n /** Contact ID associated with the order. */\n contactId?: string;\n /**\n * Member ID associated with the order.\n * @format GUID\n */\n memberId?: string | null;\n /**\n * Date and time the order was created.\n * @readonly\n */\n created?: Date | null;\n /** Buyer first name. */\n firstName?: string;\n /** Buyer last name. */\n lastName?: string;\n /** Buyer email address. */\n email?: string;\n /** Checkout form response. */\n checkoutForm?: FormResponse;\n /** Order status. */\n status?: OrderStatusWithLiterals;\n /** Payment method used for paid tickets purchase, i.e. \"payPal\", \"creditCard\", etc. */\n method?: string | null;\n /** Tickets (generated after payment). */\n tickets?: Ticket[];\n /** Invoice. */\n invoice?: Invoice;\n /** Reservation ID associated with the order. */\n reservationId?: string;\n}\n\nexport interface Ticket {\n /** Unique issued ticket number. */\n ticketNumber?: string;\n /**\n * Ticket definition ID.\n * @format GUID\n */\n ticketDefinitionId?: string;\n /** Ticket check-in. */\n checkIn?: CheckIn;\n /** Ticket price. */\n price?: Money;\n /** Whether ticket is archived. */\n archived?: boolean;\n /** Guest first name. */\n firstName?: string | null;\n /** Guest last name. */\n lastName?: string | null;\n /** Guest email. */\n email?: string | null;\n /**\n * Contact ID associated with this ticket.\n * @format GUID\n */\n contactId?: string | null;\n /** Whether ticket is confirmed */\n confirmed?: boolean;\n /**\n * Member ID associated with this ticket.\n * @format GUID\n */\n memberId?: string | null;\n /** Ticket form response (only assigned tickets contain separate forms). */\n form?: FormResponse;\n /** Ticket name. */\n ticketName?: string;\n /** Anonymized tickets no longer contain personally identifiable information (PII). */\n anonymized?: boolean;\n /** URL and password to online conference */\n onlineConferencingLogin?: OnlineConferencingLogin;\n /**\n * Seat ID associated with this ticket.\n * @maxLength 36\n */\n seatId?: string | null;\n /** Whether ticket is canceled. */\n canceled?: boolean | null;\n}\n\nexport interface CheckIn {\n /** Time of a ticket's check-in. */\n created?: Date | null;\n}\n\n/** Triggered when an order is updated. */\nexport interface OrderUpdated {\n /** Date and time the order was updated. */\n timestamp?: Date | null;\n /**\n * Site language when the order was initiated.\n * @format LANGUAGE\n */\n language?: string | null;\n /**\n * Locale in which the order was created.\n * @format LANGUAGE_TAG\n */\n locale?: string | null;\n /**\n * Event ID to which the order belongs.\n * @format GUID\n */\n eventId?: string;\n /** Unique order number. */\n orderNumber?: string;\n /** Contact ID associated with the order. */\n contactId?: string;\n /**\n * Member ID associated with the order.\n * @format GUID\n */\n memberId?: string | null;\n /**\n * Date and time the order was created.\n * @readonly\n */\n created?: Date | null;\n /**\n * Date and time the order was updated.\n * @readonly\n */\n updated?: Date | null;\n /** Buyer first name. */\n firstName?: string;\n /** Buyer last name. */\n lastName?: string;\n /** Buyer email. */\n email?: string;\n /** Checkout form response. */\n checkoutForm?: FormResponse;\n /** Whether order is confirmed - occurs once payment gateway processes the payment and funds reach merchant's account. */\n confirmed?: boolean;\n /** Order status. */\n status?: OrderStatusWithLiterals;\n /** Payment method used for paid tickets purchase, i.e. \"payPal\", \"creditCard\", etc. */\n method?: string | null;\n /** Tickets generated after payment. */\n tickets?: Ticket[];\n /** Whether order was archived and excluded from results. */\n archived?: boolean;\n /** Whether event was triggered by GDPR delete request. */\n triggeredByAnonymizeRequest?: boolean;\n}\n\n/** Triggered when an order is deleted. */\nexport interface OrderDeleted {\n /** Date and time the order was deleted. */\n timestamp?: Date | null;\n /**\n * Event ID to which the order belongs.\n * @format GUID\n */\n eventId?: string;\n /** Unique order number. */\n orderNumber?: string;\n /** Contact ID associated with the order. */\n contactId?: string;\n /**\n * Member ID associated with the order.\n * @format GUID\n */\n memberId?: string | null;\n /**\n * Date and time the order was created.\n * @readonly\n */\n created?: Date | null;\n /**\n * Date and time the order was updated.\n * @readonly\n */\n updated?: Date | null;\n /** Whether the order was anonymized by GDPR delete. */\n anonymized?: boolean;\n /** Order type. */\n orderType?: OrderTypeWithLiterals;\n /** Whether the event was triggered by GDPR delete request. */\n triggeredByAnonymizeRequest?: boolean;\n /** Tickets generated after payment. */\n tickets?: Ticket[];\n}\n\nexport enum OrderType {\n /** Buyer form is used for all tickets. */\n UNASSIGNED_TICKETS = 'UNASSIGNED_TICKETS',\n /** Each order ticket has its own form. */\n ASSIGNED_TICKETS = 'ASSIGNED_TICKETS',\n}\n\n/** @enumType */\nexport type OrderTypeWithLiterals =\n | OrderType\n | 'UNASSIGNED_TICKETS'\n | 'ASSIGNED_TICKETS';\n\nexport interface EventDeleted {\n /** Event deleted timestamp in ISO UTC format. */\n timestamp?: Date | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /** Event title. */\n title?: string;\n /**\n * Event creator user ID.\n * @format GUID\n */\n userId?: string | null;\n}\n\nexport interface Task {\n key?: TaskKey;\n executeAt?: Date | null;\n payload?: string | null;\n}\n\nexport interface TaskKey {\n appId?: string;\n instanceId?: string;\n subjectId?: string | null;\n}\n\nexport interface ListGuestListPreviewsRequest {\n /**\n * Event ids.\n * @format GUID\n * @maxSize 50\n */\n eventIds?: string[];\n /** Cursor paging. */\n cursorPaging?: CursorPaging;\n /**\n * Requested fields.\n * @maxSize 5\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport enum RequestedFields {\n /** Unknown requested field. */\n UNKNOWN_REQUESTED_FIELD = 'UNKNOWN_REQUESTED_FIELD',\n /** Member guests. */\n MEMBER_GUESTS = 'MEMBER_GUESTS',\n /** Waitlist count. */\n WAITLIST_COUNT = 'WAITLIST_COUNT',\n}\n\n/** @enumType */\nexport type RequestedFieldsWithLiterals =\n | RequestedFields\n | 'UNKNOWN_REQUESTED_FIELD'\n | 'MEMBER_GUESTS'\n | 'WAITLIST_COUNT';\n\nexport interface ListGuestListPreviewsResponse {\n /**\n * List of guests.\n * @maxSize 50\n */\n previews?: GuestListPreview[];\n /** Metadata for the paginated results. */\n pagingMetadata?: PagingMetadataV2;\n}\n\nexport interface GuestListPreview {\n /**\n * Event id.\n * @format GUID\n */\n eventId?: string;\n /** Attending guests count. */\n attending?: GuestCount;\n /** Waiting guests count. */\n inWaitlist?: GuestCount;\n /** Not attending guests count. */\n notAttending?: GuestCount;\n /** Latest attending members. */\n latestAttendingMembers?: MemberGuests;\n /** If present, indicates that current member is attending. */\n currentMemberGuest?: MemberGuest;\n}\n\nexport interface GuestCount {\n /** Total guest count. For Rsvp Event every RSVP guest and additional guest count, for Ticketed Event count of TICKET_HOLDER */\n totalEventGuests?: number;\n /** EventGuest count (RSVP, TICKET_HOLDER, BUYER); */\n count?: number;\n}\n\nexport interface MemberGuests {\n /**\n * Member guests\n * @maxSize 8\n */\n guests?: MemberGuest[];\n}\n\nexport interface MemberGuest {\n /**\n * Member id\n * @format GUID\n */\n memberId?: string;\n}\n\nexport interface UpdateGuestRequest {\n /** Updated guest */\n guest?: EventGuest;\n /** Guest revision */\n revision?: string | null;\n}\n\nexport interface UpdateGuestResponse {\n /** Updated guest */\n guest?: EventGuest;\n}\n\nexport interface BaseEventMetadata {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n}\n\nexport interface EventMetadata extends BaseEventMetadata {\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\nexport interface GuestCreatedEnvelope {\n entity: EventGuest;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when a guest is created.\n * @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Events - all permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Read Event Tickets and Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.READ-GUEST-LIST\n * @permissionId WIX_EVENTS.READ_GUESTS_DETAILS\n * @webhook\n * @eventType wix.events.guests.v1.guest_created\n * @slug created\n */\nexport declare function onGuestCreated(\n handler: (event: GuestCreatedEnvelope) => void | Promise<void>\n): void;\n\nexport interface GuestDeletedEnvelope {\n entity: EventGuest;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when a guest is deleted.\n * @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Events - all permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Read Event Tickets and Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.READ-GUEST-LIST\n * @permissionId WIX_EVENTS.READ_GUESTS_DETAILS\n * @webhook\n * @eventType wix.events.guests.v1.guest_deleted\n * @slug deleted\n */\nexport declare function onGuestDeleted(\n handler: (event: GuestDeletedEnvelope) => void | Promise<void>\n): void;\n\nexport interface GuestCheckedInEnvelope {\n data: GuestCheckedIn;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when a guest has checked in.\n * @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Events - all permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Read Event Tickets and Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.READ-GUEST-LIST\n * @permissionId WIX_EVENTS.READ_GUESTS_DETAILS\n * @webhook\n * @eventType wix.events.guests.v1.guest_guest_checked_in\n * @slug guest_checked_in\n */\nexport declare function onGuestCheckedIn(\n handler: (event: GuestCheckedInEnvelope) => void | Promise<void>\n): void;\n\nexport interface GuestEventCanceledEnvelope {\n data: GuestEventCanceled;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when an event is canceled.\n * @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Events - all permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Read Event Tickets and Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.READ-GUEST-LIST\n * @permissionId WIX_EVENTS.READ_GUESTS_DETAILS\n * @webhook\n * @eventType wix.events.guests.v1.guest_guest_event_canceled\n * @slug guest_event_canceled\n */\nexport declare function onGuestEventCanceled(\n handler: (event: GuestEventCanceledEnvelope) => void | Promise<void>\n): void;\n\nexport interface GuestEventStartsEnvelope {\n data: GuestEventStarts;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when an event has started.\n * @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Events - all permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Read Event Tickets and Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.READ-GUEST-LIST\n * @permissionId WIX_EVENTS.READ_GUESTS_DETAILS\n * @webhook\n * @eventType wix.events.guests.v1.guest_guest_event_starts\n * @slug guest_event_starts\n */\nexport declare function onGuestEventStarts(\n handler: (event: GuestEventStartsEnvelope) => void | Promise<void>\n): void;\n\nexport interface GuestOrderCanceledEnvelope {\n data: GuestOrderCanceled;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when a ticket order is canceled.\n * @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Events - all permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Read Event Tickets and Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.READ-GUEST-LIST\n * @permissionId WIX_EVENTS.READ_GUESTS_DETAILS\n * @webhook\n * @eventType wix.events.guests.v1.guest_guest_order_canceled\n * @slug guest_order_canceled\n */\nexport declare function onGuestOrderCanceled(\n handler: (event: GuestOrderCanceledEnvelope) => void | Promise<void>\n): void;\n\nexport interface GuestUpdatedEnvelope {\n entity: EventGuest;\n metadata: EventMetadata;\n modifiedFields: Record<string, any>;\n}\n\n/**\n * Triggered when a guest is updated.\n *\n * This event always triggers together with the Guest Created and the Guest Deleted events.\n * > **Note:** Since this event may trigger twice, you should explicitly add code to ensure that the parts of your code that depend on this event run only once.\n * @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Events - all permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Read Event Tickets and Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.READ-GUEST-LIST\n * @permissionId WIX_EVENTS.READ_GUESTS_DETAILS\n * @webhook\n * @eventType wix.events.guests.v1.guest_updated\n * @slug updated\n */\nexport declare function onGuestUpdated(\n handler: (event: GuestUpdatedEnvelope) => void | Promise<void>\n): void;\n\n/**\n * Creates a query to retrieve a list of guests.\n *\n *\n * The `queryGuests()` method builds a query to retrieve a list of guests and returns a [GuestsQueryBuilder](https://dev.wix.com/docs/sdk/backend-modules/events/guests/guests-query-builder/ascending) object.\n *\n * The returned object contains the query definition which is typically used to run the query using the [`find()`](https://dev.wix.com/docs/sdk/backend-modules/events/guests/guests-query-builder/find) method.\n *\n * You can refine the query by chaining `GuestsQueryBuilder` methods onto the query. `GuestsQueryBuilder` methods enable you to sort, filter, and control the results that `queryGuests.find()` returns.\n *\n * The query runs with the following `GuestsQueryBuilder` defaults that you can override:\n *\n * - [`skipTo(0)`](https://dev.wix.com/docs/sdk/backend-modules/events/guests/guests-query-builder/skip-to)\n * - [`limit(50)`](https://dev.wix.com/docs/sdk/backend-modules/events/guests/guests-query-builder/limit)\n * - [`descending(\"_createdDate\")`](https://dev.wix.com/docs/sdk/backend-modules/events/guests/guests-query-builder/descending)\n *\n * The methods that are chained to `queryGuests()` are applied in the order they are called. For example, if you apply `ascending ('_createdDate')` and then `descending ('_updatedDate')`, the results are sorted first by the created date and then, if there are multiple results with the same date, the items are sorted by the updated date.\n *\n * The table below shows which `GuestsQueryBuilder` methods are supported for `queryGuests()`. You can only use one filter method for each property. Only the first filter will work if a property is used in more than one filter.\n * @public\n * @permissionId WIX_EVENTS.READ_GUESTS\n * @applicableIdentity APP\n * @fqn wix.events.guests.v1.EventGuestsService.QueryEventGuests\n */\nexport function queryGuests(\n options?: QueryEventGuestsOptions\n): GuestsQueryBuilder {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n return queryBuilder<\n EventGuest,\n 'CURSOR',\n QueryEventGuestsRequest,\n QueryEventGuestsResponse\n >({\n func: async (payload: QueryEventGuestsRequest) => {\n const reqOpts = ambassadorWixEventsGuestsV1Guest.queryEventGuests({\n ...payload,\n ...(options ?? {}),\n });\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n return result;\n } catch (err) {\n sideEffects?.onError?.(err);\n throw err;\n }\n },\n requestTransformer: (query: QueryEventGuestsRequest['query']) => {\n const args = [query, options] as [\n QueryEventGuestsRequest['query'],\n QueryEventGuestsOptions\n ];\n return renameKeysFromSDKRequestToRESTRequest({\n ...args?.[1],\n query: args?.[0],\n });\n },\n responseTransformer: ({ data }: HttpResponse<QueryEventGuestsResponse>) => {\n const transformedData = renameKeysFromRESTResponseToSDKResponse(\n transformPaths(data, [\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [\n {\n path: 'guests.guestDetails.formResponse.inputValues.address.address',\n },\n ],\n },\n ])\n );\n\n return {\n items: transformedData?.guests,\n pagingMetadata: transformedData?.pagingMetadata,\n };\n },\n errorTransformer: (err: unknown) => {\n const transformedError = sdkTransformError(err, {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { query: '$[0]' },\n singleArgumentUnchanged: false,\n });\n\n throw transformedError;\n },\n pagingMethod: 'CURSOR',\n transformationPaths: {},\n });\n}\n\nexport interface QueryEventGuestsOptions {\n /**\n * Predefined sets of fields to return.\n * @maxSize 3\n */\n fields?: RequestedFieldsEnumRequestedFieldsWithLiterals[] | undefined;\n}\n\ninterface QueryCursorResult {\n cursors: Cursors;\n hasNext: () => boolean;\n hasPrev: () => boolean;\n length: number;\n pageSize: number;\n}\n\nexport interface GuestsQueryResult extends QueryCursorResult {\n items: EventGuest[];\n query: GuestsQueryBuilder;\n next: () => Promise<GuestsQueryResult>;\n prev: () => Promise<GuestsQueryResult>;\n}\n\nexport interface GuestsQueryBuilder {\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n eq: (\n propertyName:\n | '_id'\n | 'eventId'\n | 'rsvpId'\n | 'orderNumber'\n | 'ticketNumber'\n | 'contactId'\n | 'guestDetails.checkedIn'\n | 'attendanceStatus'\n | 'secondaryLanguageCode'\n | '_createdDate'\n | '_updatedDate'\n | 'attendanceStatusUpdatedDate'\n | 'memberId'\n | 'guestType',\n value: any\n ) => GuestsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n ne: (\n propertyName:\n | '_id'\n | 'eventId'\n | 'rsvpId'\n | 'orderNumber'\n | 'ticketNumber'\n | 'contactId'\n | 'guestDetails.checkedIn'\n | 'attendanceStatus'\n | 'secondaryLanguageCode'\n | '_createdDate'\n | '_updatedDate'\n | 'attendanceStatusUpdatedDate'\n | 'memberId'\n | 'guestType',\n value: any\n ) => GuestsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n ge: (\n propertyName:\n | '_id'\n | 'eventId'\n | 'rsvpId'\n | 'orderNumber'\n | 'ticketNumber'\n | 'contactId'\n | 'secondaryLanguageCode'\n | '_createdDate'\n | '_updatedDate'\n | 'attendanceStatusUpdatedDate'\n | 'memberId',\n value: any\n ) => GuestsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n gt: (\n propertyName:\n | '_id'\n | 'eventId'\n | 'rsvpId'\n | 'orderNumber'\n | 'ticketNumber'\n | 'contactId'\n | 'secondaryLanguageCode'\n | '_createdDate'\n | '_updatedDate'\n | 'attendanceStatusUpdatedDate'\n | 'memberId',\n value: any\n ) => GuestsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n le: (\n propertyName:\n | '_id'\n | 'eventId'\n | 'rsvpId'\n | 'orderNumber'\n | 'ticketNumber'\n | 'contactId'\n | 'secondaryLanguageCode'\n | '_createdDate'\n | '_updatedDate'\n | 'attendanceStatusUpdatedDate'\n | 'memberId',\n value: any\n ) => GuestsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n lt: (\n propertyName:\n | '_id'\n | 'eventId'\n | 'rsvpId'\n | 'orderNumber'\n | 'ticketNumber'\n | 'contactId'\n | 'secondaryLanguageCode'\n | '_createdDate'\n | '_updatedDate'\n | 'attendanceStatusUpdatedDate'\n | 'memberId',\n value: any\n ) => GuestsQueryBuilder;\n in: (\n propertyName:\n | '_id'\n | 'eventId'\n | 'rsvpId'\n | 'orderNumber'\n | 'ticketNumber'\n | 'contactId'\n | 'attendanceStatus'\n | 'secondaryLanguageCode'\n | '_createdDate'\n | '_updatedDate'\n | 'attendanceStatusUpdatedDate'\n | 'memberId'\n | 'guestType',\n value: any\n ) => GuestsQueryBuilder;\n exists: (\n propertyName:\n | '_id'\n | 'eventId'\n | 'rsvpId'\n | 'orderNumber'\n | 'ticketNumber'\n | 'tickets'\n | 'contactId'\n | 'guestDetails.checkedIn'\n | 'secondaryLanguageCode'\n | '_createdDate'\n | '_updatedDate'\n | 'attendanceStatusUpdatedDate'\n | 'memberId',\n value: boolean\n ) => GuestsQueryBuilder;\n /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */\n ascending: (\n ...propertyNames: Array<\n '_createdDate' | '_updatedDate' | 'attendanceStatusUpdatedDate'\n >\n ) => GuestsQueryBuilder;\n /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */\n descending: (\n ...propertyNames: Array<\n '_createdDate' | '_updatedDate' | 'attendanceStatusUpdatedDate'\n >\n ) => GuestsQueryBuilder;\n /** @param limit - Number of items to return, which is also the `pageSize` of the results object. */\n limit: (limit: number) => GuestsQueryBuilder;\n /** @param cursor - A pointer to specific record */\n skipTo: (cursor: string) => GuestsQueryBuilder;\n find: () => Promise<GuestsQueryResult>;\n}\n\n/**\n * @hidden\n * @fqn wix.events.guests.v1.EventGuestsService.QueryEventGuests\n * @requiredField query\n * @returns A `GuestsQueryBuilder` object that contains the refined query.\n */\nexport async function typedQueryGuests(\n query: EventGuestQuery,\n options?: QueryEventGuestsOptions\n): Promise<\n NonNullablePaths<\n QueryEventGuestsResponse,\n | `guests`\n | `guests.${number}.guestDetails.checkedIn`\n | `guests.${number}.guestDetails.onlineConferencingLogin.link`\n | `guests.${number}.attendanceStatus`\n | `guests.${number}.guestType`,\n 6\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n query: query,\n ...options,\n });\n\n const reqOpts = ambassadorWixEventsGuestsV1Guest.queryEventGuests(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [\n {\n path: 'guests.guestDetails.formResponse.inputValues.address.address',\n },\n ],\n },\n ])\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { query: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['query', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface EventGuestQuerySpec extends QuerySpec {\n paging: 'cursor';\n wql: [\n {\n fields: [\n '_id',\n 'contactId',\n 'eventId',\n 'memberId',\n 'orderNumber',\n 'rsvpId',\n 'secondaryLanguageCode',\n 'ticketNumber'\n ];\n operators: ['$eq', '$exists', '$gt', '$gte', '$in', '$lt', '$lte', '$ne'];\n sort: 'NONE';\n },\n {\n fields: ['attendanceStatus', 'guestType'];\n operators: ['$eq', '$in', '$ne'];\n sort: 'NONE';\n },\n {\n fields: ['guestDetails.checkedIn'];\n operators: ['$eq', '$exists', '$ne'];\n sort: 'NONE';\n },\n {\n fields: ['tickets'];\n operators: ['$exists'];\n sort: 'NONE';\n },\n {\n fields: ['_createdDate', '_updatedDate', 'attendanceStatusUpdatedDate'];\n operators: ['$eq', '$exists', '$gt', '$gte', '$in', '$lt', '$lte', '$ne'];\n sort: 'BOTH';\n }\n ];\n}\n\nexport type CommonQueryWithEntityContext = QuerySdkType<\n EventGuest,\n EventGuestQuerySpec\n>;\nexport type EventGuestQuery = {\n /** \n Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. \n */\n cursorPaging?: {\n /** \n Maximum number of items to return in the results. \n @max: 1000 \n */\n limit?:\n | NonNullable<CommonQueryWithEntityContext['cursorPaging']>['limit']\n | null;\n /** \n Pointer to the next or previous page in the list of results.\n\n Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n Not relevant for the first request. \n @maxLength: 16000 \n */\n cursor?:\n | NonNullable<CommonQueryWithEntityContext['cursorPaging']>['cursor']\n | null;\n };\n /** \n Filter object in the following format: <br/> `\"filter\" : { \"fieldName1\": \"value1\", \"fieldName2\":{\"$operator\":\"value2\"} }`. <br/> <br/> **Example:** <br/> `\"filter\" : { \"eventId\": \"sd3f-jhds-4fs77\", \"ticketNumber\": {\"$startsWith\":\"478\"} }` <br/> <br/> See [supported fields and operators](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort) for more information. \n */\n filter?: CommonQueryWithEntityContext['filter'] | null;\n /** \n Sort object in the following format: <br/> `[{\"fieldName\":\"sortField1\"},{\"fieldName\":\"sortField2\",\"direction\":\"DESC\"}]` <br/> <br/> **Example:** <br/> `[{\"fieldName\":\"createdDate\",\"direction\":\"DESC\"}]` <br/> <br/> See [supported fields](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort) for more information. \n */\n sort?: {\n /** \n Name of the field to sort by. \n @maxLength: 512 \n */\n fieldName?: NonNullable<\n CommonQueryWithEntityContext['sort']\n >[number]['fieldName'];\n /** \n Sort order. \n */\n order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];\n }[];\n};\n","import { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixEventsGuestsV1EventGuestsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'api._api_base_domain_': [\n {\n srcPath: '/events-guests',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/events-guests',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/events-guests',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/events-guests',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/events-guests',\n destPath: '',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/events-guests',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/events/v2/guests',\n destPath: '/v2/guests',\n },\n {\n srcPath: '/events-guests/v2/guests',\n destPath: '/v2/guests',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_events_guests';\n\n/**\n * Creates a query to retrieve a list of guests.\n *\n *\n * The `queryGuests()` method builds a query to retrieve a list of guests and returns a [GuestsQueryBuilder](https://dev.wix.com/docs/sdk/backend-modules/events/guests/guests-query-builder/ascending) object.\n *\n * The returned object contains the query definition which is typically used to run the query using the [`find()`](https://dev.wix.com/docs/sdk/backend-modules/events/guests/guests-query-builder/find) method.\n *\n * You can refine the query by chaining `GuestsQueryBuilder` methods onto the query. `GuestsQueryBuilder` methods enable you to sort, filter, and control the results that `queryGuests.find()` returns.\n *\n * The query runs with the following `GuestsQueryBuilder` defaults that you can override:\n *\n * - [`skipTo(0)`](https://dev.wix.com/docs/sdk/backend-modules/events/guests/guests-query-builder/skip-to)\n * - [`limit(50)`](https://dev.wix.com/docs/sdk/backend-modules/events/guests/guests-query-builder/limit)\n * - [`descending(\"_createdDate\")`](https://dev.wix.com/docs/sdk/backend-modules/events/guests/guests-query-builder/descending)\n *\n * The methods that are chained to `queryGuests()` are applied in the order they are called. For example, if you apply `ascending ('_createdDate')` and then `descending ('_updatedDate')`, the results are sorted first by the created date and then, if there are multiple results with the same date, the items are sorted by the updated date.\n *\n * The table below shows which `GuestsQueryBuilder` methods are supported for `queryGuests()`. You can only use one filter method for each property. Only the first filter will work if a property is used in more than one filter.\n */\nexport function queryEventGuests(payload: object): RequestOptionsFactory<any> {\n function __queryEventGuests({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.guests.v1.guest',\n method: 'POST' as any,\n methodFqn: 'wix.events.guests.v1.EventGuestsService.QueryEventGuests',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsGuestsV1EventGuestsServiceUrl({\n protoPath: '/v2/guests/query',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'guests.createdDate' },\n { path: 'guests.updatedDate' },\n { path: 'guests.attendanceStatusUpdatedDate' },\n { path: 'guests.guestDetails.formResponse.inputValues.dateTime' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'guests.guestDetails.formResponse.inputValues.number' },\n {\n path: 'guests.guestDetails.formResponse.inputValues.address.address.geocode.latitude',\n },\n {\n path: 'guests.guestDetails.formResponse.inputValues.address.address.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryEventGuests;\n}\n"],"mappings":";AAAA,SAAS,kBAAkB,yBAAyB;AACpD,SAAS,oBAAoB;AAC7B;AAAA,EACE;AAAA,EACA;AAAA,OACK;;;ACLP,SAAS,oCAAoC;AAC7C,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,8CACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,yBAAyB;AAAA,MACvB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,GAAG;AAAA,MACD;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,qBAAqB;AAAA,MACnB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,mBAAmB;AAAA,MACjB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,EACF;AAEA,SAAO,WAAW,OAAO,OAAO,MAAM,EAAE,iBAAiB,CAAC,CAAC;AAC7D;AAEA,IAAM,eAAe;AAsBd,SAAS,iBAAiB,SAA6C;AAC5E,WAAS,mBAAmB,EAAE,KAAK,GAAQ;AACzC,UAAM,WAAW;AAAA,MACf,YAAY;AAAA,MACZ,QAAQ;AAAA,M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OAAO,OAAO;AAAA,QAC1C,yBAAyB;AAAA,MAC3B;AAAA,MACA,CAAC,SAAS,SAAS;AAAA,IACrB;AACA,iBAAa,UAAU,GAAG;AAE1B,UAAM;AAAA,EACR;AACF;","names":["payload","transformPaths","SubdivisionType","AttendanceStatus","GuestType","MemberEventStatusUpdatedEventType","EventType","LocationType","SubdivisionSubdivisionType","RecurrenceStatusStatus","Status","NotifyActionType","Timing","OrderStatus","TaxType","FeeName","FeeType","WebhookIdentityType","SortOrder","RequestedFieldsEnumRequestedFields","OrderType","RequestedFields"]}
1
+ {"version":3,"sources":["../../../src/events-guests-v1-guest-guests.universal.ts","../../../src/events-guests-v1-guest-guests.http.ts"],"sourcesContent":["import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport { queryBuilder } from '@wix/sdk-runtime/query-builder';\nimport {\n renameKeysFromSDKRequestToRESTRequest,\n renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport {\n HttpClient,\n HttpResponse,\n NonNullablePaths,\n QuerySpec,\n Query as QuerySdkType,\n} from '@wix/sdk-types';\nimport * as ambassadorWixEventsGuestsV1Guest from './events-guests-v1-guest-guests.http.js';\n// @ts-ignore\nimport { transformRESTAddressToSDKAddress } from '@wix/sdk-runtime/transformations/address';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\n\nexport interface EventGuest {\n /**\n * Guest ID.\n * @format GUID\n */\n _id?: string | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string | null;\n /**\n * RSVP ID. <br/> <br/> **Note:** Only applicable when `guestType` is `\"RSVP\"`.\n * @format GUID\n */\n rsvpId?: string | null;\n /**\n * Order number. <br/> <br/> **Note:** Only applicable when `guestType` is `\"BUYER\"` or `\"TICKET_HOLDER\"`.\n * @maxLength 36\n */\n orderNumber?: string | null;\n /**\n * Ticket number. <br/> <br/> **Note:** Only applicable when `guestType` is `\"TICKET_HOLDER\"`.\n * @maxLength 36\n */\n ticketNumber?: string | null;\n /**\n * List of names, numbers, and definition IDs for each ticket.\n * @maxSize 50\n */\n tickets?: TicketDetails[];\n /**\n * Guest's contact ID. See the Contacts API for more details.\n * @format GUID\n */\n contactId?: string | null;\n /** Guest details. <br/> <br/> Returned only when the `guestDetails` fieldset is sent in the request. */\n guestDetails?: GuestDetails;\n /**\n * Attendance status. The attendance status updates based on status values in an RSVP object (for RSVP events) or in an Order object (for ticketed events).\n * For more information, see [Guest Attendance Status Mapping](https://dev.wix.com/docs/api-reference/business-solutions/events/registration/event-guests/guest-attendance-status-mapping). <br/> <br/> **Note:** For `guestType` of `\"BUYER\"` or `\"TICKET_HOLDER\"` the `\"IN_WAITLIST\"` value is not applicable.\n */\n attendanceStatus?: AttendanceStatusWithLiterals;\n /**\n * 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.\n * @format LANGUAGE\n */\n secondaryLanguageCode?: string | null;\n /** Date and time the guest was created in `yyyy-mm-ddThh:mm:sssZ` format. */\n _createdDate?: Date | null;\n /** Date and time the guest was updated in `yyyy-mm-ddThh:mm:sssZ` format. */\n _updatedDate?: Date | null;\n /** Date and time of guest's latest attendance status update. */\n attendanceStatusUpdatedDate?: Date | null;\n /**\n * Site member ID.\n * @format GUID\n */\n memberId?: string | null;\n /** Guest type. */\n guestType?: GuestTypeWithLiterals;\n /**\n * 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.\n * @format LANGUAGE_TAG\n */\n locale?: string | null;\n /**\n * Number of total guests in an event (registered guests + additional ones).\n * @readonly\n */\n totalGuests?: number | null;\n /**\n * Revision number, which increments by 1 each time the guest is updated.\n * @readonly\n */\n revision?: string | null;\n}\n\nexport interface TicketDetails {\n /**\n * Ticket number.\n * @maxLength 36\n */\n number?: string;\n /**\n * Ticket definition ID.\n * @format GUID\n */\n definitionId?: string | null;\n /**\n * Ticket name.\n * @minLength 1\n * @maxLength 30\n */\n name?: string | null;\n}\n\nexport interface TicketGuestDetails {\n /** The login details for the guest to access the online conference event. */\n onlineConferencingLogin?: OnlineConferencingLogin;\n /**\n * First name.\n * @maxLength 255\n */\n firstName?: string | null;\n /**\n * Last name.\n * @maxLength 255\n */\n lastName?: string | null;\n}\n\nexport interface OnlineConferencingLogin {\n /**\n * Link URL to the online conference.\n * @format WEB_URL\n * @readonly\n */\n link?: string;\n /**\n * Password for the online conference.\n * @readonly\n */\n password?: string | null;\n}\n\nexport interface GuestDetails {\n /**\n * Email.\n * @format EMAIL\n */\n email?: string | null;\n /**\n * First name.\n * @maxLength 255\n */\n firstName?: string | null;\n /**\n * Last name.\n * @maxLength 255\n */\n lastName?: string | null;\n /** Form response. */\n formResponse?: FormResponse;\n /** Whether the guest has checked into the event. */\n checkedIn?: boolean;\n /** The login details for the guest to access the online conference event. */\n onlineConferencingLogin?: OnlineConferencingLogin;\n /**\n * Phone extracted from form response. If multiples phone inputs are present, first one is returned.\n * @maxLength 200\n */\n phone?: string | null;\n /**\n * Address extracted from form response. If multiples address inputs are present, first one is returned.\n * @maxLength 200\n */\n address?: string | null;\n}\n\nexport interface FormResponse {\n /**\n * Form field inputs.\n * @maxSize 200\n */\n inputValues?: InputValue[];\n}\n\nexport interface InputValue {\n /**\n * Form field input name.\n * @maxLength 100\n */\n inputName?: string;\n /**\n * Form field value.\n * @maxLength 5000\n */\n value?: string;\n /**\n * Form field values.\n * @maxSize 100\n * @maxLength 5000\n */\n values?: string[];\n}\n\nexport interface FormattedAddress {\n /**\n * 1-line address representation.\n * @maxLength 200\n */\n formatted?: string;\n /** Address components. */\n address?: Address;\n}\n\n/** Physical address */\nexport interface Address extends AddressStreetOneOf {\n /** Street name and number. */\n streetAddress?: StreetAddress;\n /** Main address line, usually street and number as free text. */\n addressLine1?: string | null;\n /**\n * Country code.\n * @format COUNTRY\n */\n country?: string | null;\n /** Subdivision shorthand. Usually, a short code (2 or 3 letters) that represents a state, region, prefecture, or province. e.g. NY */\n subdivision?: string | null;\n /** City name. */\n city?: string | null;\n /** Zip/postal code. */\n postalCode?: string | null;\n /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */\n addressLine2?: string | null;\n}\n\n/** @oneof */\nexport interface AddressStreetOneOf {\n /** Street name and number. */\n streetAddress?: StreetAddress;\n /** Main address line, usually street and number as free text. */\n addressLine?: string | null;\n}\n\nexport interface StreetAddress {\n /** Street number. */\n number?: string;\n /** Street name. */\n name?: string;\n}\n\nexport interface AddressLocation {\n /** Address latitude. */\n latitude?: number | null;\n /** Address longitude. */\n longitude?: number | null;\n}\n\nexport interface Subdivision {\n /** Short subdivision code. */\n code?: string;\n /** Subdivision full name. */\n name?: string;\n}\n\nexport enum SubdivisionType {\n UNKNOWN_SUBDIVISION_TYPE = 'UNKNOWN_SUBDIVISION_TYPE',\n /** State */\n ADMINISTRATIVE_AREA_LEVEL_1 = 'ADMINISTRATIVE_AREA_LEVEL_1',\n /** County */\n ADMINISTRATIVE_AREA_LEVEL_2 = 'ADMINISTRATIVE_AREA_LEVEL_2',\n /** City/town */\n ADMINISTRATIVE_AREA_LEVEL_3 = 'ADMINISTRATIVE_AREA_LEVEL_3',\n /** Neighborhood/quarter */\n ADMINISTRATIVE_AREA_LEVEL_4 = 'ADMINISTRATIVE_AREA_LEVEL_4',\n /** Street/block */\n ADMINISTRATIVE_AREA_LEVEL_5 = 'ADMINISTRATIVE_AREA_LEVEL_5',\n /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */\n COUNTRY = 'COUNTRY',\n}\n\n/** @enumType */\nexport type SubdivisionTypeWithLiterals =\n | SubdivisionType\n | 'UNKNOWN_SUBDIVISION_TYPE'\n | 'ADMINISTRATIVE_AREA_LEVEL_1'\n | 'ADMINISTRATIVE_AREA_LEVEL_2'\n | 'ADMINISTRATIVE_AREA_LEVEL_3'\n | 'ADMINISTRATIVE_AREA_LEVEL_4'\n | 'ADMINISTRATIVE_AREA_LEVEL_5'\n | 'COUNTRY';\n\n/** Subdivision Concordance values */\nexport interface StandardDetails {\n /**\n * 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\n * @maxLength 20\n */\n iso31662?: string | null;\n}\n\nexport interface FormSubmission {\n /**\n * Form ID.\n * @readonly\n * @format GUID\n */\n formId?: string | null;\n /**\n * Form submission ID.\n * @readonly\n * @format GUID\n */\n submissionId?: string | null;\n /** Form submissions. */\n submissions?: Record<string, any>;\n}\n\nexport enum AttendanceStatus {\n /** Not attending. */\n NOT_ATTENDING = 'NOT_ATTENDING',\n /** Attending. */\n ATTENDING = 'ATTENDING',\n /** In a waiting list. */\n IN_WAITLIST = 'IN_WAITLIST',\n}\n\n/** @enumType */\nexport type AttendanceStatusWithLiterals =\n | AttendanceStatus\n | 'NOT_ATTENDING'\n | 'ATTENDING'\n | 'IN_WAITLIST';\n\nexport enum GuestType {\n /** An invited guest, no ticket necessary. */\n RSVP = 'RSVP',\n /** The guest who bought the ticket. */\n BUYER = 'BUYER',\n /** The guest for whom the ticket was bought. */\n TICKET_HOLDER = 'TICKET_HOLDER',\n}\n\n/** @enumType */\nexport type GuestTypeWithLiterals =\n | GuestType\n | 'RSVP'\n | 'BUYER'\n | 'TICKET_HOLDER';\n\nexport interface GuestCountUpdated {\n /** Guest. */\n guest?: EventGuest;\n /**\n * Guest count updates.\n * @maxSize 2\n */\n guestCountUpdates?: GuestCountUpdate[];\n}\n\nexport interface GuestCountUpdate {\n /** Attendance status. */\n attendanceStatus?: AttendanceStatusWithLiterals;\n /** Total guest count change. */\n totalGuestsDelta?: number;\n /** Guest count change. */\n countDelta?: number;\n}\n\nexport interface MemberEventStatusUpdated {\n /**\n * Event id.\n * @format GUID\n */\n eventId?: string | null;\n /**\n * Member id.\n * @format GUID\n */\n memberId?: string | null;\n /** Member event status. */\n status?: MemberEventStatusUpdatedEventTypeWithLiterals;\n}\n\nexport enum MemberEventStatusUpdatedEventType {\n /**\n * Triggered every time a guest with a specified member ID is added to the event.\n * This event can also be triggered if an existing guest changed their member ID.\n */\n MEMBER_JOINED = 'MEMBER_JOINED',\n /**\n * Triggered every time a guest with a specified member ID is removed from the event.\n * This event can also be triggered if an existing guest changed their member ID.\n */\n MEMBER_LEFT = 'MEMBER_LEFT',\n /**\n * Triggered every time a guest with a specified member ID whose status is `\"ATTENDING\"` is added to the event.\n * This event can also be triggered if an existing guest changed their member ID or changed their status to `\"ATTENDING\"`.\n */\n ATTENDING_MEMBER_JOINED = 'ATTENDING_MEMBER_JOINED',\n /**\n * Triggered when the last guest with a specified member ID is removed from the event or their status changes to `\"NOT_ATTENDING\"`.\n * Once triggered there are no more attending guests with a specified member ID in the event.\n * This event can also be triggered if the last existing guest changed their member ID or their status to `\"NOT_ATTENDING\"`.\n */\n LAST_ATTENDING_MEMBER_LEFT = 'LAST_ATTENDING_MEMBER_LEFT',\n}\n\n/** @enumType */\nexport type MemberEventStatusUpdatedEventTypeWithLiterals =\n | MemberEventStatusUpdatedEventType\n | 'MEMBER_JOINED'\n | 'MEMBER_LEFT'\n | 'ATTENDING_MEMBER_JOINED'\n | 'LAST_ATTENDING_MEMBER_LEFT';\n\nexport interface ContactEventStatusUpdated {\n /**\n * Event id.\n * @format GUID\n */\n eventId?: string | null;\n /**\n * Contact id.\n * @format GUID\n */\n contactId?: string | null;\n /** Contact event status. */\n status?: EventTypeWithLiterals;\n}\n\nexport enum EventType {\n /**\n * Triggered every time a guest with a specified contact ID is added to the event.\n * This event can also be triggered if an existing guest changed their contact ID.\n */\n CONTACT_JOINED = 'CONTACT_JOINED',\n /**\n * Triggered every time a guest with a specified contact ID is removed from the event.\n * This event can also be triggered if an existing guest changed their contact ID.\n */\n CONTACT_LEFT = 'CONTACT_LEFT',\n /**\n * Triggred when the last guest with a specified contact ID is removed from the event.\n * Once triggered there are no more guests with a specified contact ID in the event.\n * This event can also be triggered if the last existing guest changed their contact ID.\n */\n LAST_CONTACT_LEFT = 'LAST_CONTACT_LEFT',\n}\n\n/** @enumType */\nexport type EventTypeWithLiterals =\n | EventType\n | 'CONTACT_JOINED'\n | 'CONTACT_LEFT'\n | 'LAST_CONTACT_LEFT';\n\nexport interface GuestCheckedIn {\n /** Event guest */\n guest?: EventGuest;\n /** Event details */\n eventDetails?: EventDetails;\n}\n\nexport interface EventDetails {\n /**\n * Event title.\n * @minLength 1\n * @maxLength 120\n * @readonly\n */\n title?: string | null;\n /**\n * Event short description.\n * @maxLength 500\n * @readonly\n */\n shortDescription?: string | null;\n /**\n * Event location.\n * @readonly\n */\n location?: Location;\n /**\n * Event date and time settings.\n * @readonly\n */\n dateAndTimeSettings?: DateAndTimeSettings;\n /**\n * Event page URL components.\n * @readonly\n */\n eventPageUrl?: string;\n /**\n * Event status.\n * @readonly\n */\n status?: StatusWithLiterals;\n}\n\nexport interface Location {\n /**\n * Location name. This value is displayed instead of the address when the location is defined as TBD by setting the `locationTbd` property to `true`.\n * @maxLength 50\n */\n name?: string | null;\n /** Location type. */\n type?: LocationTypeWithLiterals;\n /** Exact location address. */\n address?: CommonAddress;\n /** Whether the event location is TBD. */\n locationTbd?: boolean | null;\n}\n\nexport enum LocationType {\n /** Unknown location type. */\n UNKNOWN_LOCATION = 'UNKNOWN_LOCATION',\n /** Event is on-site at a specific physical location. */\n VENUE = 'VENUE',\n /** Event is online, such as a virtual video conference. */\n ONLINE = 'ONLINE',\n}\n\n/** @enumType */\nexport type LocationTypeWithLiterals =\n | LocationType\n | 'UNKNOWN_LOCATION'\n | 'VENUE'\n | 'ONLINE';\n\n/** Physical address */\nexport interface CommonAddress extends CommonAddressStreetOneOf {\n /** Street address. */\n streetAddress?: CommonStreetAddress;\n /**\n * Primary address information (street and building number).\n * @maxLength 250\n */\n addressLine1?: string | null;\n /**\n * 2-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format.\n * @format COUNTRY\n */\n country?: string | null;\n /**\n * Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2).\n * @maxLength 20\n */\n subdivision?: string | null;\n /**\n * City name.\n * @maxLength 100\n */\n city?: string | null;\n /**\n * Zip or postal code.\n * @maxLength 100\n */\n postalCode?: string | null;\n /**\n * Secondary address information (suite or apartment number and room number).\n * @maxLength 250\n */\n addressLine2?: string | null;\n}\n\n/** @oneof */\nexport interface CommonAddressStreetOneOf {\n /** Street address. */\n streetAddress?: CommonStreetAddress;\n /**\n * Primary address information (street and building number).\n * @maxLength 250\n */\n addressLine?: string | null;\n}\n\nexport interface CommonStreetAddress {\n /**\n * Street number.\n * @maxLength 100\n */\n number?: string;\n /**\n * Street name.\n * @maxLength 250\n */\n name?: string;\n}\n\nexport interface CommonAddressLocation {\n /**\n * Address latitude coordinates.\n * @min -90\n * @max 90\n */\n latitude?: number | null;\n /**\n * Address longitude coordinates.\n * @min -180\n * @max 180\n */\n longitude?: number | null;\n}\n\nexport interface CommonSubdivision {\n /**\n * Short subdivision code.\n * @maxLength 100\n */\n code?: string;\n /**\n * Subdivision full name.\n * @maxLength 250\n */\n name?: string;\n}\n\nexport enum SubdivisionSubdivisionType {\n UNKNOWN_SUBDIVISION_TYPE = 'UNKNOWN_SUBDIVISION_TYPE',\n /** State */\n ADMINISTRATIVE_AREA_LEVEL_1 = 'ADMINISTRATIVE_AREA_LEVEL_1',\n /** County */\n ADMINISTRATIVE_AREA_LEVEL_2 = 'ADMINISTRATIVE_AREA_LEVEL_2',\n /** City/town */\n ADMINISTRATIVE_AREA_LEVEL_3 = 'ADMINISTRATIVE_AREA_LEVEL_3',\n /** Neighborhood/quarter */\n ADMINISTRATIVE_AREA_LEVEL_4 = 'ADMINISTRATIVE_AREA_LEVEL_4',\n /** Street/block */\n ADMINISTRATIVE_AREA_LEVEL_5 = 'ADMINISTRATIVE_AREA_LEVEL_5',\n /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */\n COUNTRY = 'COUNTRY',\n}\n\n/** @enumType */\nexport type SubdivisionSubdivisionTypeWithLiterals =\n | SubdivisionSubdivisionType\n | 'UNKNOWN_SUBDIVISION_TYPE'\n | 'ADMINISTRATIVE_AREA_LEVEL_1'\n | 'ADMINISTRATIVE_AREA_LEVEL_2'\n | 'ADMINISTRATIVE_AREA_LEVEL_3'\n | 'ADMINISTRATIVE_AREA_LEVEL_4'\n | 'ADMINISTRATIVE_AREA_LEVEL_5'\n | 'COUNTRY';\n\nexport interface DateAndTimeSettings {\n /** Whether the event date and time are TBD. */\n dateAndTimeTbd?: boolean | null;\n /**\n * Message that is displayed when time and date is TBD.\n *\n * **Note:** This field is only used when the `dateAndTimeTbd` field value is `true`.\n * @maxLength 100\n */\n dateAndTimeTbdMessage?: string | null;\n /**\n * Event start date.\n *\n * **Note:** This field is only returned when the `dateAndTimeTbd` field value is `false`.\n */\n startDate?: Date | null;\n /**\n * Event end date.\n *\n * **Note:** This field is only returned when the `dateAndTimeTbd` field value is `false`.\n */\n endDate?: Date | null;\n /**\n * Event time zone ID in the [TZ database](https://www.iana.org/time-zones) format.\n *\n * **Note:** This field is only returned when the `dateAndTimeTbd` field value is `false`.\n * @maxLength 100\n */\n timeZoneId?: string | null;\n /** Whether the end date is hidden in the formatted date and time. */\n hideEndDate?: boolean | null;\n /** Whether the time zone is displayed in the formatted schedule. */\n showTimeZone?: boolean | null;\n /**\n * Repeating event status.\n * @readonly\n */\n recurrenceStatus?: RecurrenceStatusStatusWithLiterals;\n /** Event repetitions. */\n recurringEvents?: Recurrences;\n /** Formatted date and time settings. */\n formatted?: Formatted;\n}\n\nexport enum RecurrenceStatusStatus {\n /** Unknown recurrance status. */\n UNKNOWN_STATUS = 'UNKNOWN_STATUS',\n /** Event happens only once and can last multiple days. */\n ONE_TIME = 'ONE_TIME',\n /** A series of events that repeat. */\n RECURRING = 'RECURRING',\n /** Next event in a schedule of recurring events. */\n RECURRING_UPCOMING = 'RECURRING_UPCOMING',\n /** Latest event that ended in a schedule of recurring events. */\n RECURRING_RECENTLY_ENDED = 'RECURRING_RECENTLY_ENDED',\n /** Latest canceled event in a schedule of recurring events */\n RECURRING_RECENTLY_CANCELED = 'RECURRING_RECENTLY_CANCELED',\n}\n\n/** @enumType */\nexport type RecurrenceStatusStatusWithLiterals =\n | RecurrenceStatusStatus\n | 'UNKNOWN_STATUS'\n | 'ONE_TIME'\n | 'RECURRING'\n | 'RECURRING_UPCOMING'\n | 'RECURRING_RECENTLY_ENDED'\n | 'RECURRING_RECENTLY_CANCELED';\n\nexport interface Recurrences {\n /**\n * Individual event dates.\n * @maxSize 1000\n */\n individualEventDates?: Occurrence[];\n /**\n * Recurring event category ID.\n * @readonly\n * @maxLength 100\n */\n categoryId?: string | null;\n}\n\nexport interface Occurrence {\n /** Event start date. */\n startDate?: Date | null;\n /** Event end date. */\n endDate?: Date | null;\n /**\n * Event time zone ID in the [TZ database](https://www.iana.org/time-zones) format.\n * @maxLength 100\n */\n timeZoneId?: string | null;\n /** Whether the time zone is displayed in a formatted schedule. */\n showTimeZone?: boolean;\n}\n\nexport interface Formatted {\n /**\n * Formatted date and time representation. <br>\n * Example of formatting when an event lasts multiple days and is in the UTC time zone: `September 1, 2015 at 10:20 AM – September 5, 2015 at 12:14 PM`. <br>\n * Example of formatting when an event lasts 1 day and is in the GMT+2 time zone: `February 1, 2018, 12:10 – 2:50 PM GMT+2`.\n * @readonly\n * @maxLength 500\n */\n dateAndTime?: string | null;\n /**\n * Formatted start date of the event. Empty for TBD schedules.\n * @readonly\n * @maxLength 500\n */\n startDate?: string | null;\n /**\n * Formatted start time of the event. Empty for TBD schedules.\n * @readonly\n * @maxLength 500\n */\n startTime?: string | null;\n /**\n * Formatted end date of the event. Empty for TBD schedules or when the end date is hidden.\n * @readonly\n * @maxLength 500\n */\n endDate?: string | null;\n /**\n * Formatted end time of the event. Empty for TBD schedules or when the end date is hidden.\n * @readonly\n * @maxLength 500\n */\n endTime?: string | null;\n}\n\nexport enum Status {\n /** Unknown event status. */\n UNKNOWN_EVENT_STATUS = 'UNKNOWN_EVENT_STATUS',\n /** Event is published and scheduled to start. */\n UPCOMING = 'UPCOMING',\n /** Event has started. */\n STARTED = 'STARTED',\n /** Event has ended. */\n ENDED = 'ENDED',\n /** Event is canceled. */\n CANCELED = 'CANCELED',\n /** Event is not public. */\n DRAFT = 'DRAFT',\n}\n\n/** @enumType */\nexport type StatusWithLiterals =\n | Status\n | 'UNKNOWN_EVENT_STATUS'\n | 'UPCOMING'\n | 'STARTED'\n | 'ENDED'\n | 'CANCELED'\n | 'DRAFT';\n\nexport interface NotifyGuestAction {\n /** Event guest. */\n guest?: EventGuest;\n /** Task context. */\n taskContext?: TaskContext;\n}\n\nexport interface TaskContext {\n /** Task id. */\n _id?: string | null;\n /** Notify action type. */\n type?: NotifyActionTypeWithLiterals;\n /** Timing. Used for EVENT_STARTS */\n timing?: TimingWithLiterals;\n /** Event context. */\n event?: EventDetails;\n /** Order context. */\n order?: OrderDetails;\n}\n\nexport enum NotifyActionType {\n UNKNOWN = 'UNKNOWN',\n EMAIL = 'EMAIL',\n AUTOMATION_TRIGGER = 'AUTOMATION_TRIGGER',\n PUSH = 'PUSH',\n EVENT_CANCELED = 'EVENT_CANCELED',\n EVENT_STARTS = 'EVENT_STARTS',\n ORDER_CANCELED = 'ORDER_CANCELED',\n}\n\n/** @enumType */\nexport type NotifyActionTypeWithLiterals =\n | NotifyActionType\n | 'UNKNOWN'\n | 'EMAIL'\n | 'AUTOMATION_TRIGGER'\n | 'PUSH'\n | 'EVENT_CANCELED'\n | 'EVENT_STARTS'\n | 'ORDER_CANCELED';\n\nexport enum Timing {\n /** Unknown event start time. */\n UNKNOWN_TIMING = 'UNKNOWN_TIMING',\n /** Instant. */\n NOW = 'NOW',\n /** 24 hours prior. */\n STARTS_IN_1_DAY = 'STARTS_IN_1_DAY',\n /** 3 days prior. */\n STARTS_IN_3_DAYS = 'STARTS_IN_3_DAYS',\n /** 7 days prior. */\n STARTS_IN_1_WEEK = 'STARTS_IN_1_WEEK',\n /** 1 hour prior. */\n STARTS_IN_1_HOUR = 'STARTS_IN_1_HOUR',\n /** 30 minutes prior. */\n STARTS_IN_30_MINUTES = 'STARTS_IN_30_MINUTES',\n /** 2 hours prior. */\n STARTS_IN_2_HOURS = 'STARTS_IN_2_HOURS',\n}\n\n/** @enumType */\nexport type TimingWithLiterals =\n | Timing\n | 'UNKNOWN_TIMING'\n | 'NOW'\n | 'STARTS_IN_1_DAY'\n | 'STARTS_IN_3_DAYS'\n | 'STARTS_IN_1_WEEK'\n | 'STARTS_IN_1_HOUR'\n | 'STARTS_IN_30_MINUTES'\n | 'STARTS_IN_2_HOURS';\n\nexport interface OrderDetails {\n /** Order status */\n orderStatus?: OrderStatusWithLiterals;\n /** Invoice */\n invoice?: Invoice;\n}\n\nexport enum OrderStatus {\n /** Order status isn't available for this request fieldset. */\n NA_ORDER_STATUS = 'NA_ORDER_STATUS',\n /** Order is confirmed, no payment is required. */\n FREE = 'FREE',\n /** Order was paid, but the payment gateway suspended the payment. */\n PENDING = 'PENDING',\n /** Order is paid. */\n PAID = 'PAID',\n /** Order is confirmed but must be paid via offline payment. Status needs to be manually updated to `\"PAID\"`. */\n OFFLINE_PENDING = 'OFFLINE_PENDING',\n /** Order is waiting for payment at the cashier. */\n INITIATED = 'INITIATED',\n /** Order is canceled. */\n CANCELED = 'CANCELED',\n /** Order payment is declined. */\n DECLINED = 'DECLINED',\n /** Order payment is authorized. */\n AUTHORIZED = 'AUTHORIZED',\n /** Order payment is voided. */\n VOIDED = 'VOIDED',\n /** Order is partially paid with less than the total amount. */\n PARTIALLY_PAID = 'PARTIALLY_PAID',\n}\n\n/** @enumType */\nexport type OrderStatusWithLiterals =\n | OrderStatus\n | 'NA_ORDER_STATUS'\n | 'FREE'\n | 'PENDING'\n | 'PAID'\n | 'OFFLINE_PENDING'\n | 'INITIATED'\n | 'CANCELED'\n | 'DECLINED'\n | 'AUTHORIZED'\n | 'VOIDED'\n | 'PARTIALLY_PAID';\n\nexport interface Invoice {\n items?: Item[];\n /**\n * Total cart amount.\n * @deprecated\n */\n total?: Money;\n /** Discount applied to a cart. */\n discount?: Discount;\n /** Tax applied to a cart. */\n tax?: Tax;\n /** Total cart amount before discount, tax, and fees. */\n subTotal?: Money;\n /**\n * Total amount of a cart after discount, tax, and fees.\n * Grand total is calculated in the following order:\n * 1. Total prices of all items in the cart are calculated.\n * 2. Discount is subtracted from the cart, if applicable.\n * 3. Tax is added, if applicable.\n * 4. Wix ticket service fee is added.\n */\n grandTotal?: Money;\n /**\n * Fees applied to the cart.\n * @readonly\n */\n fees?: Fee[];\n /** Total revenue, excluding fees. Taxes and payment provider fees aren't deducted. */\n revenue?: Money;\n /** Invoice preview URL. Only returned if the order is paid. */\n previewUrl?: string | null;\n}\n\nexport interface Item {\n /**\n * Unique line item ID.\n * @format GUID\n */\n _id?: string;\n /**\n * Line item quantity.\n * @min 1\n * @max 50\n */\n quantity?: number;\n /** Line item name. */\n name?: string;\n /** Line item price. */\n price?: Money;\n /** Total price for line items. Always equal to price * quantity. */\n total?: Money;\n /** Discount applied to the line item. */\n discount?: Discount;\n /** Tax applied to the item. */\n tax?: Tax;\n /**\n * Fees applied to the item.\n * @readonly\n */\n fees?: Fee[];\n}\n\nexport interface Money {\n /**\n * *Deprecated:** Use `value` instead.\n * @format DECIMAL_VALUE\n * @deprecated\n */\n amount?: string;\n /**\n * 3-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. For example, `USD`.\n * @format CURRENCY\n */\n currency?: string;\n /**\n * 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.\n * @format DECIMAL_VALUE\n */\n value?: string | null;\n}\n\nexport interface Discount {\n /** Total discount amount. */\n amount?: Money;\n /** Total sum after the discount. */\n afterDiscount?: Money;\n /**\n * Discount coupon code.\n * @deprecated\n */\n code?: string;\n /**\n * Discount coupon name.\n * @deprecated\n */\n name?: string;\n /**\n * Discount coupon ID.\n * @deprecated\n */\n couponId?: string;\n /** Discount items. */\n discounts?: DiscountItem[];\n}\n\nexport interface DiscountItem extends DiscountItemDiscountOneOf {\n /** Coupon discount. */\n coupon?: CouponDiscount;\n /** Pricing plan discount. */\n paidPlan?: PaidPlanDiscount;\n /** Total discount amount. */\n amount?: Money;\n}\n\n/** @oneof */\nexport interface DiscountItemDiscountOneOf {\n /** Coupon discount. */\n coupon?: CouponDiscount;\n /** Pricing plan discount. */\n paidPlan?: PaidPlanDiscount;\n}\n\nexport interface CouponDiscount {\n /** Discount coupon name. **Deprecated:** Use `invoice.discounts.coupon.name` instead. */\n name?: string;\n /** Discount coupon code. **Deprecated:** Use `invoice.discounts.coupon.code` instead. */\n code?: string;\n /** Discount coupon ID. **Deprecated:** Use `invoice.discounts.coupon.couponId` instead. */\n couponId?: string;\n}\n\nexport interface PaidPlanDiscount extends PaidPlanDiscountDiscountOneOf {\n /** Discount by percentage applied to tickets. */\n percentDiscount?: PercentDiscount;\n /** Name of pricing plan. */\n name?: string;\n}\n\n/** @oneof */\nexport interface PaidPlanDiscountDiscountOneOf {\n /** Discount by percentage applied to tickets. */\n percentDiscount?: PercentDiscount;\n}\n\nexport interface PercentDiscount {\n /**\n * Percent rate.\n * @decimalValue options { gte:0.01, lte:100, maxScale:2 }\n */\n rate?: string;\n /** Number of discounted tickets. */\n quantityDiscounted?: number;\n}\n\nexport interface Tax {\n /** Tax type. */\n type?: TaxTypeWithLiterals;\n /**\n * Tax name.\n * @readonly\n */\n name?: string;\n /**\n * Tax rate.\n * @format DECIMAL_VALUE\n */\n rate?: string;\n /** Taxable amount. */\n taxable?: Money;\n /** Total tax amount. */\n amount?: Money;\n}\n\nexport enum TaxType {\n /** Tax is included in the ticket price. */\n INCLUDED = 'INCLUDED',\n /** Tax is added to the order at the checkout. */\n ADDED = 'ADDED',\n /** Tax is added to the final total at the checkout. */\n ADDED_AT_CHECKOUT = 'ADDED_AT_CHECKOUT',\n}\n\n/** @enumType */\nexport type TaxTypeWithLiterals =\n | TaxType\n | 'INCLUDED'\n | 'ADDED'\n | 'ADDED_AT_CHECKOUT';\n\nexport interface Fee {\n /** Fee identifier. */\n name?: FeeNameWithLiterals;\n /** How fee is calculated. */\n type?: FeeTypeWithLiterals;\n /**\n * Fee rate.\n * @format DECIMAL_VALUE\n * @readonly\n */\n rate?: string;\n /** Total amount of fee charges. */\n amount?: Money;\n}\n\nexport enum FeeName {\n /** Wix ticket service fee charges applied to the line item. */\n WIX_FEE = 'WIX_FEE',\n}\n\n/** @enumType */\nexport type FeeNameWithLiterals = FeeName | 'WIX_FEE';\n\nexport enum FeeType {\n /** Fee is added to the ticket price at checkout. */\n FEE_ADDED = 'FEE_ADDED',\n /** Seller absorbs the fee. It's deducted from the ticket price. */\n FEE_INCLUDED = 'FEE_INCLUDED',\n /** Fee is added to the ticket price at checkout. */\n FEE_ADDED_AT_CHECKOUT = 'FEE_ADDED_AT_CHECKOUT',\n}\n\n/** @enumType */\nexport type FeeTypeWithLiterals =\n | FeeType\n | 'FEE_ADDED'\n | 'FEE_INCLUDED'\n | 'FEE_ADDED_AT_CHECKOUT';\n\nexport interface GuestEventCanceled {\n /** Event guest. */\n guest?: EventGuest;\n /** Event context. */\n event?: EventDetails;\n}\n\nexport interface GuestEventStarts {\n /** Event guest. */\n guest?: EventGuest;\n /** Event context. */\n event?: EventDetails;\n /** Timing */\n timing?: TimingWithLiterals;\n}\n\nexport interface GuestOrderCanceled {\n /** Event guest. */\n guest?: EventGuest;\n /** Event context. */\n event?: EventDetails;\n /** Order context. */\n order?: OrderDetails;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entity?: string;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntity?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntity?: string | null;\n}\n\nexport interface ActionEvent {\n body?: string;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface QueryEventGuestsRequest {\n /** Query options. See [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language) for more details. */\n query: QueryV2;\n /**\n * Predefined sets of fields to return.\n * @maxSize 3\n */\n fields?: RequestedFieldsEnumRequestedFieldsWithLiterals[];\n}\n\nexport interface QueryV2 extends QueryV2PagingMethodOneOf {\n /** Paging options to limit and skip the number of items. */\n paging?: Paging;\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n /** Filter object in the following format: <br/> `\"filter\" : { \"fieldName1\": \"value1\", \"fieldName2\":{\"$operator\":\"value2\"} }`. <br/> <br/> **Example:** <br/> `\"filter\" : { \"eventId\": \"sd3f-jhds-4fs77\", \"ticketNumber\": {\"$startsWith\":\"478\"} }` <br/> <br/> See [supported fields and operators](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort) for more information. */\n filter?: Record<string, any> | null;\n /** Sort object in the following format: <br/> `[{\"fieldName\":\"sortField1\"},{\"fieldName\":\"sortField2\",\"direction\":\"DESC\"}]` <br/> <br/> **Example:** <br/> `[{\"fieldName\":\"createdDate\",\"direction\":\"DESC\"}]` <br/> <br/> See [supported fields](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort) for more information. */\n sort?: Sorting[];\n /**\n * Currently the only supported fieldset is `guestDetails`. The `WIX_EVENTS.READ_GUESTS_DETAILS` permission is required to access the guest details. <br/> <br/> See [field projection](https://dev.wix.com/api/rest/getting-started/field-projection) for more information.\n * @deprecated Currently the only supported fieldset is `guestDetails`. The `WIX_EVENTS.READ_GUESTS_DETAILS` permission is required to access the guest details. <br/> <br/> See [field projection](https://dev.wix.com/api/rest/getting-started/field-projection) for more information.\n * @replacedBy fields\n * @targetRemovalDate 2024-06-30\n */\n fieldsets?: string[];\n}\n\n/** @oneof */\nexport interface QueryV2PagingMethodOneOf {\n /** Paging options to limit and skip the number of items. */\n paging?: Paging;\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface Paging {\n /**\n * Number of items to load.\n * @max 1000\n */\n limit?: number | null;\n /** Number of items to skip in the current sort order. */\n offset?: number | null;\n}\n\nexport interface CursorPaging {\n /**\n * Maximum number of items to return in the results.\n * @max 1000\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 16000\n */\n cursor?: string | null;\n}\n\nexport enum RequestedFieldsEnumRequestedFields {\n /** Unknown requested field. */\n UNKNOWN_REQUESTED_FIELD = 'UNKNOWN_REQUESTED_FIELD',\n /** Returns `guestDetails` and `tickets`. */\n GUEST_DETAILS = 'GUEST_DETAILS',\n /** Returns `totalGuests`. */\n GUEST_TOTAL = 'GUEST_TOTAL',\n}\n\n/** @enumType */\nexport type RequestedFieldsEnumRequestedFieldsWithLiterals =\n | RequestedFieldsEnumRequestedFields\n | 'UNKNOWN_REQUESTED_FIELD'\n | 'GUEST_DETAILS'\n | 'GUEST_TOTAL';\n\nexport interface QueryEventGuestsResponse {\n /** List of guests. */\n guests?: EventGuest[];\n /** Metadata for the paginated results. */\n pagingMetadata?: PagingMetadataV2;\n}\n\nexport interface PagingMetadataV2 {\n /** Number of items returned in the response. */\n count?: number | null;\n /** Offset that was requested. */\n offset?: number | null;\n /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */\n total?: number | null;\n /** Flag that indicates the server failed to calculate the `total` field. */\n tooManyToCount?: boolean | null;\n /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */\n cursors?: Cursors;\n}\n\nexport interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to the previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\nexport interface StreamEventGuestsRequest {\n /** Filter. */\n filter?: Record<string, any> | null;\n /** Task context. */\n taskContext?: TaskContext;\n}\n\nexport interface Empty {}\n\nexport interface SecondaryLanguagesRequest {\n /**\n * Guest event id.\n * @format GUID\n */\n eventId?: string;\n}\n\nexport interface SecondaryLanguagesResponse {\n /**\n * Aggregated guests secondary languages.\n * @format LANGUAGE\n */\n secondaryLanguages?: string[];\n /** Aggregated guests languages. */\n languages?: Language[];\n}\n\nexport interface Language {\n /**\n * Guest language.\n * @format LANGUAGE\n */\n language?: string | null;\n /**\n * Guest locale.\n * @format LANGUAGE_TAG\n */\n locale?: string | null;\n}\n\n/** Triggered when an order is confirmed. */\nexport interface OrderConfirmed {\n /** Date and time the order was confirmed. */\n timestamp?: Date | null;\n /**\n * Site language when the order was initiated.\n * @format LANGUAGE\n */\n language?: string | null;\n /** Notifications silenced for this domain event. */\n silent?: boolean | null;\n /**\n * Locale in which the order was created.\n * @format LANGUAGE_TAG\n */\n locale?: string | null;\n /**\n * Event ID to which the order belongs.\n * @format GUID\n */\n eventId?: string;\n /** Unique order number. */\n orderNumber?: string;\n /** Contact ID associated with the order. */\n contactId?: string;\n /**\n * Member ID associated with the order.\n * @format GUID\n */\n memberId?: string | null;\n /**\n * Date and time the order was created.\n * @readonly\n */\n created?: Date | null;\n /** Buyer first name. */\n firstName?: string;\n /** Buyer last name. */\n lastName?: string;\n /** Buyer email address. */\n email?: string;\n /** Checkout form response. */\n checkoutForm?: FormResponse;\n /** Order status. */\n status?: OrderStatusWithLiterals;\n /** Payment method used for paid tickets purchase, i.e. \"payPal\", \"creditCard\", etc. */\n method?: string | null;\n /** Tickets (generated after payment). */\n tickets?: Ticket[];\n /** Invoice. */\n invoice?: Invoice;\n /** Reservation ID associated with the order. */\n reservationId?: string;\n}\n\nexport interface Ticket {\n /** Unique issued ticket number. */\n ticketNumber?: string;\n /**\n * Ticket definition ID.\n * @format GUID\n */\n ticketDefinitionId?: string;\n /** Ticket check-in. */\n checkIn?: CheckIn;\n /** Ticket price. */\n price?: Money;\n /** Whether ticket is archived. */\n archived?: boolean;\n /** Guest first name. */\n firstName?: string | null;\n /** Guest last name. */\n lastName?: string | null;\n /** Guest email. */\n email?: string | null;\n /**\n * Contact ID associated with this ticket.\n * @format GUID\n */\n contactId?: string | null;\n /** Whether ticket is confirmed */\n confirmed?: boolean;\n /**\n * Member ID associated with this ticket.\n * @format GUID\n */\n memberId?: string | null;\n /** Ticket form response (only assigned tickets contain separate forms). */\n form?: FormResponse;\n /** Ticket name. */\n ticketName?: string;\n /** Anonymized tickets no longer contain personally identifiable information (PII). */\n anonymized?: boolean;\n /** URL and password to online conference */\n onlineConferencingLogin?: OnlineConferencingLogin;\n /**\n * Seat ID associated with this ticket.\n * @maxLength 36\n */\n seatId?: string | null;\n /** Whether ticket is canceled. */\n canceled?: boolean | null;\n}\n\nexport interface CheckIn {\n /** Time of a ticket's check-in. */\n created?: Date | null;\n}\n\n/** Triggered when an order is updated. */\nexport interface OrderUpdated {\n /** Date and time the order was updated. */\n timestamp?: Date | null;\n /**\n * Site language when the order was initiated.\n * @format LANGUAGE\n */\n language?: string | null;\n /**\n * Locale in which the order was created.\n * @format LANGUAGE_TAG\n */\n locale?: string | null;\n /**\n * Event ID to which the order belongs.\n * @format GUID\n */\n eventId?: string;\n /** Unique order number. */\n orderNumber?: string;\n /** Contact ID associated with the order. */\n contactId?: string;\n /**\n * Member ID associated with the order.\n * @format GUID\n */\n memberId?: string | null;\n /**\n * Date and time the order was created.\n * @readonly\n */\n created?: Date | null;\n /**\n * Date and time the order was updated.\n * @readonly\n */\n updated?: Date | null;\n /** Buyer first name. */\n firstName?: string;\n /** Buyer last name. */\n lastName?: string;\n /** Buyer email. */\n email?: string;\n /** Checkout form response. */\n checkoutForm?: FormResponse;\n /** Whether order is confirmed - occurs once payment gateway processes the payment and funds reach merchant's account. */\n confirmed?: boolean;\n /** Order status. */\n status?: OrderStatusWithLiterals;\n /** Payment method used for paid tickets purchase, i.e. \"payPal\", \"creditCard\", etc. */\n method?: string | null;\n /** Tickets generated after payment. */\n tickets?: Ticket[];\n /** Whether order was archived and excluded from results. */\n archived?: boolean;\n /** Whether event was triggered by GDPR delete request. */\n triggeredByAnonymizeRequest?: boolean;\n}\n\n/** Triggered when an order is deleted. */\nexport interface OrderDeleted {\n /** Date and time the order was deleted. */\n timestamp?: Date | null;\n /**\n * Event ID to which the order belongs.\n * @format GUID\n */\n eventId?: string;\n /** Unique order number. */\n orderNumber?: string;\n /** Contact ID associated with the order. */\n contactId?: string;\n /**\n * Member ID associated with the order.\n * @format GUID\n */\n memberId?: string | null;\n /**\n * Date and time the order was created.\n * @readonly\n */\n created?: Date | null;\n /**\n * Date and time the order was updated.\n * @readonly\n */\n updated?: Date | null;\n /** Whether the order was anonymized by GDPR delete. */\n anonymized?: boolean;\n /** Order type. */\n orderType?: OrderTypeWithLiterals;\n /** Whether the event was triggered by GDPR delete request. */\n triggeredByAnonymizeRequest?: boolean;\n /** Tickets generated after payment. */\n tickets?: Ticket[];\n}\n\nexport enum OrderType {\n /** Buyer form is used for all tickets. */\n UNASSIGNED_TICKETS = 'UNASSIGNED_TICKETS',\n /** Each order ticket has its own form. */\n ASSIGNED_TICKETS = 'ASSIGNED_TICKETS',\n}\n\n/** @enumType */\nexport type OrderTypeWithLiterals =\n | OrderType\n | 'UNASSIGNED_TICKETS'\n | 'ASSIGNED_TICKETS';\n\nexport interface EventDeleted {\n /** Event deleted timestamp in ISO UTC format. */\n timestamp?: Date | null;\n /**\n * Event ID.\n * @format GUID\n */\n eventId?: string;\n /** Event title. */\n title?: string;\n /**\n * Event creator user ID.\n * @format GUID\n */\n userId?: string | null;\n}\n\nexport interface Task {\n key?: TaskKey;\n executeAt?: Date | null;\n payload?: string | null;\n}\n\nexport interface TaskKey {\n appId?: string;\n instanceId?: string;\n subjectId?: string | null;\n}\n\nexport interface ListGuestListPreviewsRequest {\n /**\n * Event ids.\n * @format GUID\n * @maxSize 50\n */\n eventIds?: string[];\n /** Cursor paging. */\n cursorPaging?: CursorPaging;\n /**\n * Requested fields.\n * @maxSize 5\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport enum RequestedFields {\n /** Unknown requested field. */\n UNKNOWN_REQUESTED_FIELD = 'UNKNOWN_REQUESTED_FIELD',\n /** Member guests. */\n MEMBER_GUESTS = 'MEMBER_GUESTS',\n /** Waitlist count. */\n WAITLIST_COUNT = 'WAITLIST_COUNT',\n}\n\n/** @enumType */\nexport type RequestedFieldsWithLiterals =\n | RequestedFields\n | 'UNKNOWN_REQUESTED_FIELD'\n | 'MEMBER_GUESTS'\n | 'WAITLIST_COUNT';\n\nexport interface ListGuestListPreviewsResponse {\n /**\n * List of guests.\n * @maxSize 50\n */\n previews?: GuestListPreview[];\n /** Metadata for the paginated results. */\n pagingMetadata?: PagingMetadataV2;\n}\n\nexport interface GuestListPreview {\n /**\n * Event id.\n * @format GUID\n */\n eventId?: string;\n /** Attending guests count. */\n attending?: GuestCount;\n /** Waiting guests count. */\n inWaitlist?: GuestCount;\n /** Not attending guests count. */\n notAttending?: GuestCount;\n /** Latest attending members. */\n latestAttendingMembers?: MemberGuests;\n /** If present, indicates that current member is attending. */\n currentMemberGuest?: MemberGuest;\n}\n\nexport interface GuestCount {\n /** Total guest count. For Rsvp Event every RSVP guest and additional guest count, for Ticketed Event count of TICKET_HOLDER */\n totalEventGuests?: number;\n /** EventGuest count (RSVP, TICKET_HOLDER, BUYER); */\n count?: number;\n}\n\nexport interface MemberGuests {\n /**\n * Member guests\n * @maxSize 8\n */\n guests?: MemberGuest[];\n}\n\nexport interface MemberGuest {\n /**\n * Member id\n * @format GUID\n */\n memberId?: string;\n}\n\nexport interface UpdateGuestRequest {\n /** Updated guest */\n guest?: EventGuest;\n /** Guest revision */\n revision?: string | null;\n}\n\nexport interface UpdateGuestResponse {\n /** Updated guest */\n guest?: EventGuest;\n}\n\nexport interface BaseEventMetadata {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n}\n\nexport interface EventMetadata extends BaseEventMetadata {\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\nexport interface GuestCreatedEnvelope {\n entity: EventGuest;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when a guest is created.\n * @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Events - all permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Read Event Tickets and Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.READ-GUEST-LIST\n * @permissionId WIX_EVENTS.READ_GUESTS_DETAILS\n * @webhook\n * @eventType wix.events.guests.v1.guest_created\n * @slug created\n */\nexport declare function onGuestCreated(\n handler: (event: GuestCreatedEnvelope) => void | Promise<void>\n): void;\n\nexport interface GuestDeletedEnvelope {\n entity: EventGuest;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when a guest is deleted.\n * @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Events - all permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Read Event Tickets and Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.READ-GUEST-LIST\n * @permissionId WIX_EVENTS.READ_GUESTS_DETAILS\n * @webhook\n * @eventType wix.events.guests.v1.guest_deleted\n * @slug deleted\n */\nexport declare function onGuestDeleted(\n handler: (event: GuestDeletedEnvelope) => void | Promise<void>\n): void;\n\nexport interface GuestCheckedInEnvelope {\n data: GuestCheckedIn;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when a guest has checked in.\n * @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Events - all permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Read Event Tickets and Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.READ-GUEST-LIST\n * @permissionId WIX_EVENTS.READ_GUESTS_DETAILS\n * @webhook\n * @eventType wix.events.guests.v1.guest_guest_checked_in\n * @slug guest_checked_in\n */\nexport declare function onGuestCheckedIn(\n handler: (event: GuestCheckedInEnvelope) => void | Promise<void>\n): void;\n\nexport interface GuestEventCanceledEnvelope {\n data: GuestEventCanceled;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when an event is canceled.\n * @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Events - all permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Read Event Tickets and Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.READ-GUEST-LIST\n * @permissionId WIX_EVENTS.READ_GUESTS_DETAILS\n * @webhook\n * @eventType wix.events.guests.v1.guest_guest_event_canceled\n * @slug guest_event_canceled\n */\nexport declare function onGuestEventCanceled(\n handler: (event: GuestEventCanceledEnvelope) => void | Promise<void>\n): void;\n\nexport interface GuestEventStartsEnvelope {\n data: GuestEventStarts;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when an event has started.\n * @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Events - all permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Read Event Tickets and Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.READ-GUEST-LIST\n * @permissionId WIX_EVENTS.READ_GUESTS_DETAILS\n * @webhook\n * @eventType wix.events.guests.v1.guest_guest_event_starts\n * @slug guest_event_starts\n */\nexport declare function onGuestEventStarts(\n handler: (event: GuestEventStartsEnvelope) => void | Promise<void>\n): void;\n\nexport interface GuestOrderCanceledEnvelope {\n data: GuestOrderCanceled;\n metadata: EventMetadata;\n}\n\n/**\n * Triggered when a ticket order is canceled.\n * @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Events - all permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Read Event Tickets and Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.READ-GUEST-LIST\n * @permissionId WIX_EVENTS.READ_GUESTS_DETAILS\n * @webhook\n * @eventType wix.events.guests.v1.guest_guest_order_canceled\n * @slug guest_order_canceled\n */\nexport declare function onGuestOrderCanceled(\n handler: (event: GuestOrderCanceledEnvelope) => void | Promise<void>\n): void;\n\nexport interface GuestUpdatedEnvelope {\n entity: EventGuest;\n metadata: EventMetadata;\n /** @hidden */\n modifiedFields: Record<string, any>;\n}\n\n/**\n * Triggered when a guest is updated.\n *\n * This event always triggers together with the Guest Created and the Guest Deleted events.\n * > **Note:** Since this event may trigger twice, you should explicitly add code to ensure that the parts of your code that depend on this event run only once.\n * @permissionScope Read Events - all read permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.READ-EVENTS\n * @permissionScope Manage Events - all permissions\n * @permissionScopeId SCOPE.DC-EVENTS-MEGA.MANAGE-EVENTS\n * @permissionScope Manage Events\n * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS\n * @permissionScope Manage Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.MANAGE-GUEST-LIST\n * @permissionScope Read Event Tickets and Guest List\n * @permissionScopeId SCOPE.DC-EVENTS.READ-GUEST-LIST\n * @permissionId WIX_EVENTS.READ_GUESTS_DETAILS\n * @webhook\n * @eventType wix.events.guests.v1.guest_updated\n * @slug updated\n */\nexport declare function onGuestUpdated(\n handler: (event: GuestUpdatedEnvelope) => void | Promise<void>\n): void;\n\n/**\n * Creates a query to retrieve a list of guests.\n *\n *\n * The `queryGuests()` method builds a query to retrieve a list of guests and returns a [GuestsQueryBuilder](https://dev.wix.com/docs/sdk/backend-modules/events/guests/guests-query-builder/ascending) object.\n *\n * The returned object contains the query definition which is typically used to run the query using the [`find()`](https://dev.wix.com/docs/sdk/backend-modules/events/guests/guests-query-builder/find) method.\n *\n * You can refine the query by chaining `GuestsQueryBuilder` methods onto the query. `GuestsQueryBuilder` methods enable you to sort, filter, and control the results that `queryGuests.find()` returns.\n *\n * The query runs with the following `GuestsQueryBuilder` defaults that you can override:\n *\n * - [`skipTo(0)`](https://dev.wix.com/docs/sdk/backend-modules/events/guests/guests-query-builder/skip-to)\n * - [`limit(50)`](https://dev.wix.com/docs/sdk/backend-modules/events/guests/guests-query-builder/limit)\n * - [`descending(\"_createdDate\")`](https://dev.wix.com/docs/sdk/backend-modules/events/guests/guests-query-builder/descending)\n *\n * The methods that are chained to `queryGuests()` are applied in the order they are called. For example, if you apply `ascending ('_createdDate')` and then `descending ('_updatedDate')`, the results are sorted first by the created date and then, if there are multiple results with the same date, the items are sorted by the updated date.\n *\n * The table below shows which `GuestsQueryBuilder` methods are supported for `queryGuests()`. You can only use one filter method for each property. Only the first filter will work if a property is used in more than one filter.\n * @public\n * @permissionId WIX_EVENTS.READ_GUESTS\n * @applicableIdentity APP\n * @fqn wix.events.guests.v1.EventGuestsService.QueryEventGuests\n */\nexport function queryGuests(\n options?: QueryEventGuestsOptions\n): GuestsQueryBuilder {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n return queryBuilder<\n EventGuest,\n 'CURSOR',\n QueryEventGuestsRequest,\n QueryEventGuestsResponse\n >({\n func: async (payload: QueryEventGuestsRequest) => {\n const reqOpts = ambassadorWixEventsGuestsV1Guest.queryEventGuests({\n ...payload,\n ...(options ?? {}),\n });\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n return result;\n } catch (err) {\n sideEffects?.onError?.(err);\n throw err;\n }\n },\n requestTransformer: (query: QueryEventGuestsRequest['query']) => {\n const args = [query, options] as [\n QueryEventGuestsRequest['query'],\n QueryEventGuestsOptions\n ];\n return renameKeysFromSDKRequestToRESTRequest({\n ...args?.[1],\n query: args?.[0],\n });\n },\n responseTransformer: ({ data }: HttpResponse<QueryEventGuestsResponse>) => {\n const transformedData = renameKeysFromRESTResponseToSDKResponse(\n transformPaths(data, [\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [\n {\n path: 'guests.guestDetails.formResponse.inputValues.address.address',\n },\n ],\n },\n ])\n );\n\n return {\n items: transformedData?.guests,\n pagingMetadata: transformedData?.pagingMetadata,\n };\n },\n errorTransformer: (err: unknown) => {\n const transformedError = sdkTransformError(err, {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { query: '$[0]' },\n singleArgumentUnchanged: false,\n });\n\n throw transformedError;\n },\n pagingMethod: 'CURSOR',\n transformationPaths: {},\n });\n}\n\nexport interface QueryEventGuestsOptions {\n /**\n * Predefined sets of fields to return.\n * @maxSize 3\n */\n fields?: RequestedFieldsEnumRequestedFieldsWithLiterals[] | undefined;\n}\n\ninterface QueryCursorResult {\n cursors: Cursors;\n hasNext: () => boolean;\n hasPrev: () => boolean;\n length: number;\n pageSize: number;\n}\n\nexport interface GuestsQueryResult extends QueryCursorResult {\n items: EventGuest[];\n query: GuestsQueryBuilder;\n next: () => Promise<GuestsQueryResult>;\n prev: () => Promise<GuestsQueryResult>;\n}\n\nexport interface GuestsQueryBuilder {\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n eq: (\n propertyName:\n | '_id'\n | 'eventId'\n | 'rsvpId'\n | 'orderNumber'\n | 'ticketNumber'\n | 'contactId'\n | 'guestDetails.checkedIn'\n | 'attendanceStatus'\n | 'secondaryLanguageCode'\n | '_createdDate'\n | '_updatedDate'\n | 'attendanceStatusUpdatedDate'\n | 'memberId'\n | 'guestType',\n value: any\n ) => GuestsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n ne: (\n propertyName:\n | '_id'\n | 'eventId'\n | 'rsvpId'\n | 'orderNumber'\n | 'ticketNumber'\n | 'contactId'\n | 'guestDetails.checkedIn'\n | 'attendanceStatus'\n | 'secondaryLanguageCode'\n | '_createdDate'\n | '_updatedDate'\n | 'attendanceStatusUpdatedDate'\n | 'memberId'\n | 'guestType',\n value: any\n ) => GuestsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n ge: (\n propertyName:\n | '_id'\n | 'eventId'\n | 'rsvpId'\n | 'orderNumber'\n | 'ticketNumber'\n | 'contactId'\n | 'secondaryLanguageCode'\n | '_createdDate'\n | '_updatedDate'\n | 'attendanceStatusUpdatedDate'\n | 'memberId',\n value: any\n ) => GuestsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n gt: (\n propertyName:\n | '_id'\n | 'eventId'\n | 'rsvpId'\n | 'orderNumber'\n | 'ticketNumber'\n | 'contactId'\n | 'secondaryLanguageCode'\n | '_createdDate'\n | '_updatedDate'\n | 'attendanceStatusUpdatedDate'\n | 'memberId',\n value: any\n ) => GuestsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n le: (\n propertyName:\n | '_id'\n | 'eventId'\n | 'rsvpId'\n | 'orderNumber'\n | 'ticketNumber'\n | 'contactId'\n | 'secondaryLanguageCode'\n | '_createdDate'\n | '_updatedDate'\n | 'attendanceStatusUpdatedDate'\n | 'memberId',\n value: any\n ) => GuestsQueryBuilder;\n /** @param propertyName - Property whose value is compared with `value`.\n * @param value - Value to compare against.\n */\n lt: (\n propertyName:\n | '_id'\n | 'eventId'\n | 'rsvpId'\n | 'orderNumber'\n | 'ticketNumber'\n | 'contactId'\n | 'secondaryLanguageCode'\n | '_createdDate'\n | '_updatedDate'\n | 'attendanceStatusUpdatedDate'\n | 'memberId',\n value: any\n ) => GuestsQueryBuilder;\n in: (\n propertyName:\n | '_id'\n | 'eventId'\n | 'rsvpId'\n | 'orderNumber'\n | 'ticketNumber'\n | 'contactId'\n | 'attendanceStatus'\n | 'secondaryLanguageCode'\n | '_createdDate'\n | '_updatedDate'\n | 'attendanceStatusUpdatedDate'\n | 'memberId'\n | 'guestType',\n value: any\n ) => GuestsQueryBuilder;\n exists: (\n propertyName:\n | '_id'\n | 'eventId'\n | 'rsvpId'\n | 'orderNumber'\n | 'ticketNumber'\n | 'tickets'\n | 'contactId'\n | 'guestDetails.checkedIn'\n | 'secondaryLanguageCode'\n | '_createdDate'\n | '_updatedDate'\n | 'attendanceStatusUpdatedDate'\n | 'memberId',\n value: boolean\n ) => GuestsQueryBuilder;\n /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */\n ascending: (\n ...propertyNames: Array<\n '_createdDate' | '_updatedDate' | 'attendanceStatusUpdatedDate'\n >\n ) => GuestsQueryBuilder;\n /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */\n descending: (\n ...propertyNames: Array<\n '_createdDate' | '_updatedDate' | 'attendanceStatusUpdatedDate'\n >\n ) => GuestsQueryBuilder;\n /** @param limit - Number of items to return, which is also the `pageSize` of the results object. */\n limit: (limit: number) => GuestsQueryBuilder;\n /** @param cursor - A pointer to specific record */\n skipTo: (cursor: string) => GuestsQueryBuilder;\n find: () => Promise<GuestsQueryResult>;\n}\n\n/**\n * @hidden\n * @fqn wix.events.guests.v1.EventGuestsService.QueryEventGuests\n * @requiredField query\n * @returns A `GuestsQueryBuilder` object that contains the refined query.\n */\nexport async function typedQueryGuests(\n query: EventGuestQuery,\n options?: QueryEventGuestsOptions\n): Promise<\n NonNullablePaths<\n QueryEventGuestsResponse,\n | `guests`\n | `guests.${number}.guestDetails.checkedIn`\n | `guests.${number}.guestDetails.onlineConferencingLogin.link`\n | `guests.${number}.attendanceStatus`\n | `guests.${number}.guestType`,\n 6\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n query: query,\n ...options,\n });\n\n const reqOpts = ambassadorWixEventsGuestsV1Guest.queryEventGuests(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(\n transformPaths(result.data, [\n {\n transformFn: transformRESTAddressToSDKAddress,\n paths: [\n {\n path: 'guests.guestDetails.formResponse.inputValues.address.address',\n },\n ],\n },\n ])\n )!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { query: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['query', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface EventGuestQuerySpec extends QuerySpec {\n paging: 'cursor';\n wql: [\n {\n fields: [\n '_id',\n 'contactId',\n 'eventId',\n 'memberId',\n 'orderNumber',\n 'rsvpId',\n 'secondaryLanguageCode',\n 'ticketNumber'\n ];\n operators: ['$eq', '$exists', '$gt', '$gte', '$in', '$lt', '$lte', '$ne'];\n sort: 'NONE';\n },\n {\n fields: ['attendanceStatus', 'guestType'];\n operators: ['$eq', '$in', '$ne'];\n sort: 'NONE';\n },\n {\n fields: ['guestDetails.checkedIn'];\n operators: ['$eq', '$exists', '$ne'];\n sort: 'NONE';\n },\n {\n fields: ['tickets'];\n operators: ['$exists'];\n sort: 'NONE';\n },\n {\n fields: ['_createdDate', '_updatedDate', 'attendanceStatusUpdatedDate'];\n operators: ['$eq', '$exists', '$gt', '$gte', '$in', '$lt', '$lte', '$ne'];\n sort: 'BOTH';\n }\n ];\n}\n\nexport type CommonQueryWithEntityContext = QuerySdkType<\n EventGuest,\n EventGuestQuerySpec\n>;\nexport type EventGuestQuery = {\n /** \n Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. \n */\n cursorPaging?: {\n /** \n Maximum number of items to return in the results. \n @max: 1000 \n */\n limit?:\n | NonNullable<CommonQueryWithEntityContext['cursorPaging']>['limit']\n | null;\n /** \n Pointer to the next or previous page in the list of results.\n\n Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n Not relevant for the first request. \n @maxLength: 16000 \n */\n cursor?:\n | NonNullable<CommonQueryWithEntityContext['cursorPaging']>['cursor']\n | null;\n };\n /** \n Filter object in the following format: <br/> `\"filter\" : { \"fieldName1\": \"value1\", \"fieldName2\":{\"$operator\":\"value2\"} }`. <br/> <br/> **Example:** <br/> `\"filter\" : { \"eventId\": \"sd3f-jhds-4fs77\", \"ticketNumber\": {\"$startsWith\":\"478\"} }` <br/> <br/> See [supported fields and operators](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort) for more information. \n */\n filter?: CommonQueryWithEntityContext['filter'] | null;\n /** \n Sort object in the following format: <br/> `[{\"fieldName\":\"sortField1\"},{\"fieldName\":\"sortField2\",\"direction\":\"DESC\"}]` <br/> <br/> **Example:** <br/> `[{\"fieldName\":\"createdDate\",\"direction\":\"DESC\"}]` <br/> <br/> See [supported fields](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort) for more information. \n */\n sort?: {\n /** \n Name of the field to sort by. \n @maxLength: 512 \n */\n fieldName?: NonNullable<\n CommonQueryWithEntityContext['sort']\n >[number]['fieldName'];\n /** \n Sort order. \n */\n order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];\n }[];\n};\n","import { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixEventsGuestsV1EventGuestsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'api._api_base_domain_': [\n {\n srcPath: '/events-guests',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/events-guests',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/events-guests',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/events-guests',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/events-guests',\n destPath: '',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/events-guests',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/events/v2/guests',\n destPath: '/v2/guests',\n },\n {\n srcPath: '/events-guests/v2/guests',\n destPath: '/v2/guests',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_events_guests';\n\n/**\n * Creates a query to retrieve a list of guests.\n *\n *\n * The `queryGuests()` method builds a query to retrieve a list of guests and returns a [GuestsQueryBuilder](https://dev.wix.com/docs/sdk/backend-modules/events/guests/guests-query-builder/ascending) object.\n *\n * The returned object contains the query definition which is typically used to run the query using the [`find()`](https://dev.wix.com/docs/sdk/backend-modules/events/guests/guests-query-builder/find) method.\n *\n * You can refine the query by chaining `GuestsQueryBuilder` methods onto the query. `GuestsQueryBuilder` methods enable you to sort, filter, and control the results that `queryGuests.find()` returns.\n *\n * The query runs with the following `GuestsQueryBuilder` defaults that you can override:\n *\n * - [`skipTo(0)`](https://dev.wix.com/docs/sdk/backend-modules/events/guests/guests-query-builder/skip-to)\n * - [`limit(50)`](https://dev.wix.com/docs/sdk/backend-modules/events/guests/guests-query-builder/limit)\n * - [`descending(\"_createdDate\")`](https://dev.wix.com/docs/sdk/backend-modules/events/guests/guests-query-builder/descending)\n *\n * The methods that are chained to `queryGuests()` are applied in the order they are called. For example, if you apply `ascending ('_createdDate')` and then `descending ('_updatedDate')`, the results are sorted first by the created date and then, if there are multiple results with the same date, the items are sorted by the updated date.\n *\n * The table below shows which `GuestsQueryBuilder` methods are supported for `queryGuests()`. You can only use one filter method for each property. Only the first filter will work if a property is used in more than one filter.\n */\nexport function queryEventGuests(payload: object): RequestOptionsFactory<any> {\n function __queryEventGuests({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.events.guests.v1.guest',\n method: 'POST' as any,\n methodFqn: 'wix.events.guests.v1.EventGuestsService.QueryEventGuests',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixEventsGuestsV1EventGuestsServiceUrl({\n protoPath: '/v2/guests/query',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'guests.createdDate' },\n { path: 'guests.updatedDate' },\n { path: 'guests.attendanceStatusUpdatedDate' },\n { path: 'guests.guestDetails.formResponse.inputValues.dateTime' },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'guests.guestDetails.formResponse.inputValues.number' },\n {\n path: 'guests.guestDetails.formResponse.inputValues.address.address.geocode.latitude',\n },\n {\n path: 'guests.guestDetails.formResponse.inputValues.address.address.geocode.longitude',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryEventGuests;\n}\n"],"mappings":";AAAA,SAAS,kBAAkB,yBAAyB;AACpD,SAAS,oBAAoB;AAC7B;AAAA,EACE;AAAA,EACA;AAAA,OACK;;;ACLP,SAAS,oCAAoC;AAC7C,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,8CACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,yBAAyB;AAAA,MACvB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,G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AmB,kBAAkB,KAAK;AAAA,QAC9C,wBAAwB,CAAC;AAAA,QACzB,0BAA0B,EAAE,OAAO,OAAO;AAAA,QAC1C,yBAAyB;AAAA,MAC3B,CAAC;AAED,YAAM;AAAA,IACR;AAAA,IACA,cAAc;AAAA,IACd,qBAAqB,CAAC;AAAA,EACxB,CAAC;AACH;AAuMA,eAAsB,iBACpB,OACA,SAWA;AAEA,QAAM,EAAE,YAAY,YAAY,IAAI,UAAU,CAAC;AAK/C,QAAM,UAAU,sCAAsC;AAAA,IACpD;AAAA,IACA,GAAG;AAAA,EACL,CAAC;AAED,QAAM,UAA2C,iBAAiB,OAAO;AAEzE,eAAa,aAAa;AAC1B,MAAI;AACF,UAAM,SAAS,MAAM,WAAW,QAAQ,OAAO;AAC/C,iBAAa,YAAY,MAAM;AAE/B,WAAO;AAAA,MACLA,gBAAe,OAAO,MAAM;AAAA,QAC1B;AAAA,UACE,aAAa;AAAA,UACb,OAAO;AAAA,YACL;AAAA,cACE,MAAM;AAAA,YACR;AAAA,UACF;AAAA,QACF;AAAA,MACF,CAAC;AAAA,IACH;AAAA,EACF,SAAS,KAAU;AACjB,UAAM,mBAAmB;AAAA,MACvB;AAAA,MACA;AAAA,QACE,wBAAwB,CAAC;AAAA,QACzB,0BAA0B,EAAE,OAAO,OAAO;AAAA,QAC1C,yBAAyB;AAAA,MAC3B;AAAA,MACA,CAAC,SAAS,SAAS;AAAA,IACrB;AACA,iBAAa,UAAU,GAAG;AAE1B,UAAM;AAAA,EACR;AACF;","names":["payload","transformPaths","SubdivisionType","AttendanceStatus","GuestType","MemberEventStatusUpdatedEventType","EventType","LocationType","SubdivisionSubdivisionType","RecurrenceStatusStatus","Status","NotifyActionType","Timing","OrderStatus","TaxType","FeeName","FeeType","WebhookIdentityType","SortOrder","RequestedFieldsEnumRequestedFields","OrderType","RequestedFields"]}
@@ -260,6 +260,22 @@ interface StandardDetails {
260
260
  */
261
261
  iso31662?: string | null;
262
262
  }
263
+ interface FormSubmission {
264
+ /**
265
+ * Form ID.
266
+ * @readonly
267
+ * @format GUID
268
+ */
269
+ formId?: string | null;
270
+ /**
271
+ * Form submission ID.
272
+ * @readonly
273
+ * @format GUID
274
+ */
275
+ submissionId?: string | null;
276
+ /** Form submissions. */
277
+ submissions?: Record<string, any>;
278
+ }
263
279
  declare enum AttendanceStatus {
264
280
  /** Not attending. */
265
281
  NOT_ATTENDING = "NOT_ATTENDING",
@@ -1600,4 +1616,4 @@ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q
1600
1616
  };
1601
1617
  declare function queryGuests(): __PublicMethodMetaInfo<'POST', {}, QueryEventGuestsRequest$1, QueryEventGuestsRequest, QueryEventGuestsResponse$1, QueryEventGuestsResponse>;
1602
1618
 
1603
- export { type ActionEvent as ActionEventOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressStreetOneOf as AddressStreetOneOfOriginal, AttendanceStatus as AttendanceStatusOriginal, type AttendanceStatusWithLiterals as AttendanceStatusWithLiteralsOriginal, type CheckIn as CheckInOriginal, type CommonAddressLocation as CommonAddressLocationOriginal, type CommonAddress as CommonAddressOriginal, type CommonAddressStreetOneOf as CommonAddressStreetOneOfOriginal, type CommonStreetAddress as CommonStreetAddressOriginal, type CommonSubdivision as CommonSubdivisionOriginal, type ContactEventStatusUpdated as ContactEventStatusUpdatedOriginal, type CouponDiscount as CouponDiscountOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type DateAndTimeSettings as DateAndTimeSettingsOriginal, type DiscountItemDiscountOneOf as DiscountItemDiscountOneOfOriginal, type DiscountItem as DiscountItemOriginal, type Discount as DiscountOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type EventDeleted as EventDeletedOriginal, type EventDetails as EventDetailsOriginal, type EventGuest as EventGuestOriginal, EventType as EventTypeOriginal, type EventTypeWithLiterals as EventTypeWithLiteralsOriginal, FeeName as FeeNameOriginal, type FeeNameWithLiterals as FeeNameWithLiteralsOriginal, type Fee as FeeOriginal, FeeType as FeeTypeOriginal, type FeeTypeWithLiterals as FeeTypeWithLiteralsOriginal, type FormResponse as FormResponseOriginal, type FormattedAddress as FormattedAddressOriginal, type Formatted as FormattedOriginal, type GuestCheckedIn as GuestCheckedInOriginal, type GuestCount as GuestCountOriginal, type GuestCountUpdate as GuestCountUpdateOriginal, type GuestCountUpdated as GuestCountUpdatedOriginal, type GuestDetails as GuestDetailsOriginal, type GuestEventCanceled as GuestEventCanceledOriginal, type GuestEventStarts as GuestEventStartsOriginal, type GuestListPreview as GuestListPreviewOriginal, type GuestOrderCanceled as GuestOrderCanceledOriginal, GuestType as GuestTypeOriginal, type GuestTypeWithLiterals as GuestTypeWithLiteralsOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type InputValue as InputValueOriginal, type Invoice as InvoiceOriginal, type Item as ItemOriginal, type Language as LanguageOriginal, type ListGuestListPreviewsRequest as ListGuestListPreviewsRequestOriginal, type ListGuestListPreviewsResponse as ListGuestListPreviewsResponseOriginal, type Location as LocationOriginal, LocationType as LocationTypeOriginal, type LocationTypeWithLiterals as LocationTypeWithLiteralsOriginal, MemberEventStatusUpdatedEventType as MemberEventStatusUpdatedEventTypeOriginal, type MemberEventStatusUpdatedEventTypeWithLiterals as MemberEventStatusUpdatedEventTypeWithLiteralsOriginal, type MemberEventStatusUpdated as MemberEventStatusUpdatedOriginal, type MemberGuest as MemberGuestOriginal, type MemberGuests as MemberGuestsOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type Money as MoneyOriginal, NotifyActionType as NotifyActionTypeOriginal, type NotifyActionTypeWithLiterals as NotifyActionTypeWithLiteralsOriginal, type NotifyGuestAction as NotifyGuestActionOriginal, type Occurrence as OccurrenceOriginal, type OnlineConferencingLogin as OnlineConferencingLoginOriginal, type OrderConfirmed as OrderConfirmedOriginal, type OrderDeleted as OrderDeletedOriginal, type OrderDetails as OrderDetailsOriginal, OrderStatus as OrderStatusOriginal, type OrderStatusWithLiterals as OrderStatusWithLiteralsOriginal, OrderType as OrderTypeOriginal, type OrderTypeWithLiterals as OrderTypeWithLiteralsOriginal, type OrderUpdated as OrderUpdatedOriginal, type PageUrl as PageUrlOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type PaidPlanDiscountDiscountOneOf as PaidPlanDiscountDiscountOneOfOriginal, type PaidPlanDiscount as PaidPlanDiscountOriginal, type PercentDiscount as PercentDiscountOriginal, type QueryEventGuestsRequest as QueryEventGuestsRequestOriginal, type QueryEventGuestsResponse as QueryEventGuestsResponseOriginal, type QueryV2 as QueryV2Original, type QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal, RecurrenceStatusStatus as RecurrenceStatusStatusOriginal, type RecurrenceStatusStatusWithLiterals as RecurrenceStatusStatusWithLiteralsOriginal, type Recurrences as RecurrencesOriginal, RequestedFieldsEnumRequestedFields as RequestedFieldsEnumRequestedFieldsOriginal, type RequestedFieldsEnumRequestedFieldsWithLiterals as RequestedFieldsEnumRequestedFieldsWithLiteralsOriginal, RequestedFields as RequestedFieldsOriginal, type RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, type SecondaryLanguagesRequest as SecondaryLanguagesRequestOriginal, type SecondaryLanguagesResponse as SecondaryLanguagesResponseOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type StandardDetails as StandardDetailsOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type StreamEventGuestsRequest as StreamEventGuestsRequestOriginal, type StreetAddress as StreetAddressOriginal, type Subdivision as SubdivisionOriginal, SubdivisionSubdivisionType as SubdivisionSubdivisionTypeOriginal, type SubdivisionSubdivisionTypeWithLiterals as SubdivisionSubdivisionTypeWithLiteralsOriginal, SubdivisionType as SubdivisionTypeOriginal, type SubdivisionTypeWithLiterals as SubdivisionTypeWithLiteralsOriginal, type TaskContext as TaskContextOriginal, type TaskKey as TaskKeyOriginal, type Task as TaskOriginal, type Tax as TaxOriginal, TaxType as TaxTypeOriginal, type TaxTypeWithLiterals as TaxTypeWithLiteralsOriginal, type TicketDetails as TicketDetailsOriginal, type TicketGuestDetails as TicketGuestDetailsOriginal, type Ticket as TicketOriginal, Timing as TimingOriginal, type TimingWithLiterals as TimingWithLiteralsOriginal, type UpdateGuestRequest as UpdateGuestRequestOriginal, type UpdateGuestResponse as UpdateGuestResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, queryGuests };
1619
+ export { type ActionEvent as ActionEventOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressStreetOneOf as AddressStreetOneOfOriginal, AttendanceStatus as AttendanceStatusOriginal, type AttendanceStatusWithLiterals as AttendanceStatusWithLiteralsOriginal, type CheckIn as CheckInOriginal, type CommonAddressLocation as CommonAddressLocationOriginal, type CommonAddress as CommonAddressOriginal, type CommonAddressStreetOneOf as CommonAddressStreetOneOfOriginal, type CommonStreetAddress as CommonStreetAddressOriginal, type CommonSubdivision as CommonSubdivisionOriginal, type ContactEventStatusUpdated as ContactEventStatusUpdatedOriginal, type CouponDiscount as CouponDiscountOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type DateAndTimeSettings as DateAndTimeSettingsOriginal, type DiscountItemDiscountOneOf as DiscountItemDiscountOneOfOriginal, type DiscountItem as DiscountItemOriginal, type Discount as DiscountOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type EventDeleted as EventDeletedOriginal, type EventDetails as EventDetailsOriginal, type EventGuest as EventGuestOriginal, EventType as EventTypeOriginal, type EventTypeWithLiterals as EventTypeWithLiteralsOriginal, FeeName as FeeNameOriginal, type FeeNameWithLiterals as FeeNameWithLiteralsOriginal, type Fee as FeeOriginal, FeeType as FeeTypeOriginal, type FeeTypeWithLiterals as FeeTypeWithLiteralsOriginal, type FormResponse as FormResponseOriginal, type FormSubmission as FormSubmissionOriginal, type FormattedAddress as FormattedAddressOriginal, type Formatted as FormattedOriginal, type GuestCheckedIn as GuestCheckedInOriginal, type GuestCount as GuestCountOriginal, type GuestCountUpdate as GuestCountUpdateOriginal, type GuestCountUpdated as GuestCountUpdatedOriginal, type GuestDetails as GuestDetailsOriginal, type GuestEventCanceled as GuestEventCanceledOriginal, type GuestEventStarts as GuestEventStartsOriginal, type GuestListPreview as GuestListPreviewOriginal, type GuestOrderCanceled as GuestOrderCanceledOriginal, GuestType as GuestTypeOriginal, type GuestTypeWithLiterals as GuestTypeWithLiteralsOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type InputValue as InputValueOriginal, type Invoice as InvoiceOriginal, type Item as ItemOriginal, type Language as LanguageOriginal, type ListGuestListPreviewsRequest as ListGuestListPreviewsRequestOriginal, type ListGuestListPreviewsResponse as ListGuestListPreviewsResponseOriginal, type Location as LocationOriginal, LocationType as LocationTypeOriginal, type LocationTypeWithLiterals as LocationTypeWithLiteralsOriginal, MemberEventStatusUpdatedEventType as MemberEventStatusUpdatedEventTypeOriginal, type MemberEventStatusUpdatedEventTypeWithLiterals as MemberEventStatusUpdatedEventTypeWithLiteralsOriginal, type MemberEventStatusUpdated as MemberEventStatusUpdatedOriginal, type MemberGuest as MemberGuestOriginal, type MemberGuests as MemberGuestsOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type Money as MoneyOriginal, NotifyActionType as NotifyActionTypeOriginal, type NotifyActionTypeWithLiterals as NotifyActionTypeWithLiteralsOriginal, type NotifyGuestAction as NotifyGuestActionOriginal, type Occurrence as OccurrenceOriginal, type OnlineConferencingLogin as OnlineConferencingLoginOriginal, type OrderConfirmed as OrderConfirmedOriginal, type OrderDeleted as OrderDeletedOriginal, type OrderDetails as OrderDetailsOriginal, OrderStatus as OrderStatusOriginal, type OrderStatusWithLiterals as OrderStatusWithLiteralsOriginal, OrderType as OrderTypeOriginal, type OrderTypeWithLiterals as OrderTypeWithLiteralsOriginal, type OrderUpdated as OrderUpdatedOriginal, type PageUrl as PageUrlOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type PaidPlanDiscountDiscountOneOf as PaidPlanDiscountDiscountOneOfOriginal, type PaidPlanDiscount as PaidPlanDiscountOriginal, type PercentDiscount as PercentDiscountOriginal, type QueryEventGuestsRequest as QueryEventGuestsRequestOriginal, type QueryEventGuestsResponse as QueryEventGuestsResponseOriginal, type QueryV2 as QueryV2Original, type QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal, RecurrenceStatusStatus as RecurrenceStatusStatusOriginal, type RecurrenceStatusStatusWithLiterals as RecurrenceStatusStatusWithLiteralsOriginal, type Recurrences as RecurrencesOriginal, RequestedFieldsEnumRequestedFields as RequestedFieldsEnumRequestedFieldsOriginal, type RequestedFieldsEnumRequestedFieldsWithLiterals as RequestedFieldsEnumRequestedFieldsWithLiteralsOriginal, RequestedFields as RequestedFieldsOriginal, type RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, type SecondaryLanguagesRequest as SecondaryLanguagesRequestOriginal, type SecondaryLanguagesResponse as SecondaryLanguagesResponseOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type StandardDetails as StandardDetailsOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type StreamEventGuestsRequest as StreamEventGuestsRequestOriginal, type StreetAddress as StreetAddressOriginal, type Subdivision as SubdivisionOriginal, SubdivisionSubdivisionType as SubdivisionSubdivisionTypeOriginal, type SubdivisionSubdivisionTypeWithLiterals as SubdivisionSubdivisionTypeWithLiteralsOriginal, SubdivisionType as SubdivisionTypeOriginal, type SubdivisionTypeWithLiterals as SubdivisionTypeWithLiteralsOriginal, type TaskContext as TaskContextOriginal, type TaskKey as TaskKeyOriginal, type Task as TaskOriginal, type Tax as TaxOriginal, TaxType as TaxTypeOriginal, type TaxTypeWithLiterals as TaxTypeWithLiteralsOriginal, type TicketDetails as TicketDetailsOriginal, type TicketGuestDetails as TicketGuestDetailsOriginal, type Ticket as TicketOriginal, Timing as TimingOriginal, type TimingWithLiterals as TimingWithLiteralsOriginal, type UpdateGuestRequest as UpdateGuestRequestOriginal, type UpdateGuestResponse as UpdateGuestResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, queryGuests };