{"version":3,"sources":["../../src/events-guests-v1-guest-guests.http.ts","../../src/events-guests-v1-guest-guests.types.ts","../../src/events-guests-v1-guest-guests.meta.ts"],"sourcesContent":["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              { path: 'guests.additionalDetails.createdDate' },\n              { path: 'guests.additionalDetails.updatedDate' },\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","export 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   * Additional Details\n   * @readonly\n   */\n  additionalDetails?: AdditionalDetails;\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  addressLine?: 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 AdditionalDetails {\n  /** Date and time the source entity (RSVP or Order) was created. */\n  createdDate?: Date | null;\n  /** Date and time the source entity (RSVP or Order) was updated. */\n  updatedDate?: Date | null;\n  /** Rsvp Status */\n  rsvpStatus?: RsvpStatusWithLiterals;\n  /** Order Status */\n  orderStatus?: OrderStatusWithLiterals;\n}\n\nexport enum RsvpStatus {\n  /** Guest is attending the event. */\n  YES = 'YES',\n  /** Guest isn't attending the event. */\n  NO = 'NO',\n  /** Guest is on a waitlist. */\n  WAITLIST = 'WAITLIST',\n}\n\n/** @enumType */\nexport type RsvpStatusWithLiterals = RsvpStatus | 'YES' | 'NO' | 'WAITLIST';\n\nexport enum OrderStatus {\n  /** Order status is not available for this request fieldset. */\n  UNKNOW_ORDER_STATUS = 'UNKNOW_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 has be paid via offline payment. Status needs to be manually updated to `\"PAID\"`. */\n  OFFLINE_PENDING = 'OFFLINE_PENDING',\n  /** Order is awaiting 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  | 'UNKNOW_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 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?: PageUrl;\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  /** 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 = LocationType | 'VENUE' | '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  addressLine?: 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  /** 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  | 'ONE_TIME'\n  | 'RECURRING'\n  | 'RECURRING_UPCOMING'\n  | 'RECURRING_RECENTLY_ENDED'\n  | 'RECURRING_RECENTLY_CANCELED';\n\nexport interface Recurrences {\n  /**\n   * Individual event dates for recurring events.\n   *\n   * *Note:** Each date must be manually calculated and provided. There is no support for automatic generation using recurrence rules or patterns (for example, \"Weekly\").\n   *\n   * When you create a recurring event:\n   * - Each occurrence is created as an independent event with its own unique ID.\n   * - All occurrences in the series share the same `categoryId`, which allows you to identify all events in the recurring series.\n   * - To retrieve all events in a recurring series, query events by `recurringEvents.categoryId`.\n   * - Each event in the series can be independently updated or deleted using its individual event ID.\n   * @maxSize 1000\n   */\n  individualEventDates?: Occurrence[];\n  /**\n   * Recurring event category ID.\n   *\n   * This read-only field is automatically generated and shared by all events in a recurring series. Use this ID to query and retrieve all occurrences of a recurring event.\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 interface PageUrl {\n  /**\n   * The base URL. For premium sites, the base is the domain. For free sites, the base is the Wix site URL (for example, `https://mysite.wixsite.com/mysite`).\n   * @maxLength 500\n   */\n  base?: string;\n  /**\n   * The path to the page. For example, `/product-page/a-product`.\n   * @maxLength 500\n   */\n  path?: string;\n}\n\nexport enum 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  | '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  /** 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  | '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?: TicketingOrderStatusWithLiterals;\n  /** Invoice */\n  invoice?: Invoice;\n}\n\nexport enum TicketingOrderStatus {\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 TicketingOrderStatusWithLiterals =\n  | TicketingOrderStatus\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 GuestOrderConfirmed {\n  /** Order buyer. */\n  guest?: EventGuest;\n  /**\n   * Ticket holders.\n   * @maxSize 50\n   */\n  ticketHolders?: EventGuest[];\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  entityAsJson?: string;\n  /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n  restoreInfo?: RestoreInfo;\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  currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n  /** Entity that was deleted. */\n  deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n  bodyAsJson?: 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  /** Details related to the account */\n  accountInfo?: AccountInfo;\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 AccountInfo {\n  /**\n   * ID of the Wix account associated with the event.\n   * @format GUID\n   */\n  accountId?: string | null;\n  /**\n   * ID of the parent Wix account. Only included when accountId belongs to a child account.\n   * @format GUID\n   */\n  parentAccountId?: string | null;\n  /**\n   * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n   * @format GUID\n   */\n  siteId?: string | null;\n}\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  /** 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  | '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  /**\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 address. */\n  email?: string;\n  /** Checkout form response. */\n  checkoutForm?: FormResponse;\n  /** Order status. */\n  status?: TicketingOrderStatusWithLiterals;\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?: TicketingOrderStatusWithLiterals;\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  /** 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  | '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","import * as ambassadorWixEventsGuestsV1Guest from './events-guests-v1-guest-guests.http.js';\nimport * as ambassadorWixEventsGuestsV1GuestTypes from './events-guests-v1-guest-guests.types.js';\nimport * as ambassadorWixEventsGuestsV1GuestUniversalTypes from './events-guests-v1-guest-guests.universal.js';\n\nexport type __PublicMethodMetaInfo<\n  K = string,\n  M = unknown,\n  T = unknown,\n  S = unknown,\n  Q = unknown,\n  R = unknown\n> = {\n  getUrl: (context: any) => string;\n  httpMethod: K;\n  path: string;\n  pathParams: M;\n  __requestType: T;\n  __originalRequestType: S;\n  __responseType: Q;\n  __originalResponseType: R;\n};\n\nexport function queryGuests(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixEventsGuestsV1GuestUniversalTypes.QueryEventGuestsRequest,\n  ambassadorWixEventsGuestsV1GuestTypes.QueryEventGuestsRequest,\n  ambassadorWixEventsGuestsV1GuestUniversalTypes.QueryEventGuestsResponse,\n  ambassadorWixEventsGuestsV1GuestTypes.QueryEventGuestsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixEventsGuestsV1Guest.queryEventGuests(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v2/guests/query',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport {\n  EventGuest as EventGuestOriginal,\n  TicketDetails as TicketDetailsOriginal,\n  TicketGuestDetails as TicketGuestDetailsOriginal,\n  OnlineConferencingLogin as OnlineConferencingLoginOriginal,\n  GuestDetails as GuestDetailsOriginal,\n  FormResponse as FormResponseOriginal,\n  InputValue as InputValueOriginal,\n  FormattedAddress as FormattedAddressOriginal,\n  Address as AddressOriginal,\n  AddressStreetOneOf as AddressStreetOneOfOriginal,\n  StreetAddress as StreetAddressOriginal,\n  AddressLocation as AddressLocationOriginal,\n  Subdivision as SubdivisionOriginal,\n  SubdivisionType as SubdivisionTypeOriginal,\n  SubdivisionTypeWithLiterals as SubdivisionTypeWithLiteralsOriginal,\n  StandardDetails as StandardDetailsOriginal,\n  FormSubmission as FormSubmissionOriginal,\n  AttendanceStatus as AttendanceStatusOriginal,\n  AttendanceStatusWithLiterals as AttendanceStatusWithLiteralsOriginal,\n  GuestType as GuestTypeOriginal,\n  GuestTypeWithLiterals as GuestTypeWithLiteralsOriginal,\n  AdditionalDetails as AdditionalDetailsOriginal,\n  RsvpStatus as RsvpStatusOriginal,\n  RsvpStatusWithLiterals as RsvpStatusWithLiteralsOriginal,\n  OrderStatus as OrderStatusOriginal,\n  OrderStatusWithLiterals as OrderStatusWithLiteralsOriginal,\n  GuestCountUpdated as GuestCountUpdatedOriginal,\n  GuestCountUpdate as GuestCountUpdateOriginal,\n  MemberEventStatusUpdated as MemberEventStatusUpdatedOriginal,\n  MemberEventStatusUpdatedEventType as MemberEventStatusUpdatedEventTypeOriginal,\n  MemberEventStatusUpdatedEventTypeWithLiterals as MemberEventStatusUpdatedEventTypeWithLiteralsOriginal,\n  ContactEventStatusUpdated as ContactEventStatusUpdatedOriginal,\n  EventType as EventTypeOriginal,\n  EventTypeWithLiterals as EventTypeWithLiteralsOriginal,\n  GuestCheckedIn as GuestCheckedInOriginal,\n  EventDetails as EventDetailsOriginal,\n  Location as LocationOriginal,\n  LocationType as LocationTypeOriginal,\n  LocationTypeWithLiterals as LocationTypeWithLiteralsOriginal,\n  CommonAddress as CommonAddressOriginal,\n  CommonAddressStreetOneOf as CommonAddressStreetOneOfOriginal,\n  CommonStreetAddress as CommonStreetAddressOriginal,\n  CommonAddressLocation as CommonAddressLocationOriginal,\n  CommonSubdivision as CommonSubdivisionOriginal,\n  SubdivisionSubdivisionType as SubdivisionSubdivisionTypeOriginal,\n  SubdivisionSubdivisionTypeWithLiterals as SubdivisionSubdivisionTypeWithLiteralsOriginal,\n  DateAndTimeSettings as DateAndTimeSettingsOriginal,\n  RecurrenceStatusStatus as RecurrenceStatusStatusOriginal,\n  RecurrenceStatusStatusWithLiterals as RecurrenceStatusStatusWithLiteralsOriginal,\n  Recurrences as RecurrencesOriginal,\n  Occurrence as OccurrenceOriginal,\n  Formatted as FormattedOriginal,\n  PageUrl as PageUrlOriginal,\n  Status as StatusOriginal,\n  StatusWithLiterals as StatusWithLiteralsOriginal,\n  NotifyGuestAction as NotifyGuestActionOriginal,\n  TaskContext as TaskContextOriginal,\n  NotifyActionType as NotifyActionTypeOriginal,\n  NotifyActionTypeWithLiterals as NotifyActionTypeWithLiteralsOriginal,\n  Timing as TimingOriginal,\n  TimingWithLiterals as TimingWithLiteralsOriginal,\n  OrderDetails as OrderDetailsOriginal,\n  TicketingOrderStatus as TicketingOrderStatusOriginal,\n  TicketingOrderStatusWithLiterals as TicketingOrderStatusWithLiteralsOriginal,\n  Invoice as InvoiceOriginal,\n  Item as ItemOriginal,\n  Money as MoneyOriginal,\n  Discount as DiscountOriginal,\n  DiscountItem as DiscountItemOriginal,\n  DiscountItemDiscountOneOf as DiscountItemDiscountOneOfOriginal,\n  CouponDiscount as CouponDiscountOriginal,\n  PaidPlanDiscount as PaidPlanDiscountOriginal,\n  PaidPlanDiscountDiscountOneOf as PaidPlanDiscountDiscountOneOfOriginal,\n  PercentDiscount as PercentDiscountOriginal,\n  Tax as TaxOriginal,\n  TaxType as TaxTypeOriginal,\n  TaxTypeWithLiterals as TaxTypeWithLiteralsOriginal,\n  Fee as FeeOriginal,\n  FeeName as FeeNameOriginal,\n  FeeNameWithLiterals as FeeNameWithLiteralsOriginal,\n  FeeType as FeeTypeOriginal,\n  FeeTypeWithLiterals as FeeTypeWithLiteralsOriginal,\n  GuestEventCanceled as GuestEventCanceledOriginal,\n  GuestEventStarts as GuestEventStartsOriginal,\n  GuestOrderCanceled as GuestOrderCanceledOriginal,\n  GuestOrderConfirmed as GuestOrderConfirmedOriginal,\n  DomainEvent as DomainEventOriginal,\n  DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n  EntityCreatedEvent as EntityCreatedEventOriginal,\n  RestoreInfo as RestoreInfoOriginal,\n  EntityUpdatedEvent as EntityUpdatedEventOriginal,\n  EntityDeletedEvent as EntityDeletedEventOriginal,\n  ActionEvent as ActionEventOriginal,\n  MessageEnvelope as MessageEnvelopeOriginal,\n  IdentificationData as IdentificationDataOriginal,\n  IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n  WebhookIdentityType as WebhookIdentityTypeOriginal,\n  WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n  AccountInfo as AccountInfoOriginal,\n  QueryEventGuestsRequest as QueryEventGuestsRequestOriginal,\n  QueryV2 as QueryV2Original,\n  QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal,\n  Sorting as SortingOriginal,\n  SortOrder as SortOrderOriginal,\n  SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n  Paging as PagingOriginal,\n  CursorPaging as CursorPagingOriginal,\n  RequestedFieldsEnumRequestedFields as RequestedFieldsEnumRequestedFieldsOriginal,\n  RequestedFieldsEnumRequestedFieldsWithLiterals as RequestedFieldsEnumRequestedFieldsWithLiteralsOriginal,\n  QueryEventGuestsResponse as QueryEventGuestsResponseOriginal,\n  PagingMetadataV2 as PagingMetadataV2Original,\n  Cursors as CursorsOriginal,\n  StreamEventGuestsRequest as StreamEventGuestsRequestOriginal,\n  Empty as EmptyOriginal,\n  SecondaryLanguagesRequest as SecondaryLanguagesRequestOriginal,\n  SecondaryLanguagesResponse as SecondaryLanguagesResponseOriginal,\n  Language as LanguageOriginal,\n  OrderConfirmed as OrderConfirmedOriginal,\n  Ticket as TicketOriginal,\n  CheckIn as CheckInOriginal,\n  OrderUpdated as OrderUpdatedOriginal,\n  OrderDeleted as OrderDeletedOriginal,\n  OrderType as OrderTypeOriginal,\n  OrderTypeWithLiterals as OrderTypeWithLiteralsOriginal,\n  EventDeleted as EventDeletedOriginal,\n  Task as TaskOriginal,\n  TaskKey as TaskKeyOriginal,\n  ListGuestListPreviewsRequest as ListGuestListPreviewsRequestOriginal,\n  RequestedFields as RequestedFieldsOriginal,\n  RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal,\n  ListGuestListPreviewsResponse as ListGuestListPreviewsResponseOriginal,\n  GuestListPreview as GuestListPreviewOriginal,\n  GuestCount as GuestCountOriginal,\n  MemberGuests as MemberGuestsOriginal,\n  MemberGuest as MemberGuestOriginal,\n  UpdateGuestRequest as UpdateGuestRequestOriginal,\n  UpdateGuestResponse as UpdateGuestResponseOriginal,\n} from './events-guests-v1-guest-guests.types.js';\n"],"mappings":";AAAA,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;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,EAAAA,WAAA,sBAAmB;AAJT,SAAAA;AAAA,GAAA;AA0DL,IAAK,kBAAL,kBAAKC,qBAAL;AAEL,EAAAA,iBAAA,mBAAgB;AAEhB,EAAAA,iBAAA,oBAAiB;AAJP,SAAAA;AAAA,GAAA;;;ACxyDL,SAAS,cAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAC6B,iBAAiB,OAAO;AAE3D,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","SubdivisionType","AttendanceStatus","GuestType","RsvpStatus","OrderStatus","MemberEventStatusUpdatedEventType","EventType","LocationType","SubdivisionSubdivisionType","RecurrenceStatusStatus","Status","NotifyActionType","Timing","TicketingOrderStatus","TaxType","FeeName","FeeType","WebhookIdentityType","SortOrder","RequestedFieldsEnumRequestedFields","OrderType","RequestedFields"]}