import { ListRsvpRequest as ListRsvpRequest$1, ListRsvpResponse as ListRsvpResponse$1, QueryRsvpRequest as QueryRsvpRequest$1, QueryRsvpResponse as QueryRsvpResponse$1, GetRsvpRequest as GetRsvpRequest$1, GetRsvpResponse as GetRsvpResponse$1, CreateRsvpRequest as CreateRsvpRequest$1, CreateRsvpResponse as CreateRsvpResponse$1, UpdateRsvpRequest as UpdateRsvpRequest$1, UpdateRsvpResponse as UpdateRsvpResponse$1, BulkUpdateRsvpRequest as BulkUpdateRsvpRequest$1, BulkUpdateRsvpResponse as BulkUpdateRsvpResponse$1, DeleteRsvpRequest as DeleteRsvpRequest$1, DeleteRsvpResponse as DeleteRsvpResponse$1, CheckInRsvpRequest as CheckInRsvpRequest$1, CheckInRsvpResponse as CheckInRsvpResponse$1, DeleteRsvpCheckInRequest as DeleteRsvpCheckInRequest$1, DeleteRsvpCheckInResponse as DeleteRsvpCheckInResponse$1 } from './index.typings.js'; import '@wix/sdk-types'; interface Rsvp { /** * RSVP ID. * @format GUID */ id?: string; /** * Event ID. * @format GUID */ eventId?: string; /** * Contact ID associated with this RSVP. * @format GUID */ contactId?: string; /** * Member ID associated with this RSVP. * @format GUID */ memberId?: string; /** RSVP created timestamp. */ created?: Date | null; /** RSVP modified timestamp. */ modified?: Date | null; /** First name. */ firstName?: string; /** Last name. */ lastName?: string; /** * Guest email. * @format EMAIL */ email?: string; /** RSVP form response. */ rsvpForm?: FormResponse; /** RSVP response status. */ status?: RsvpStatusWithLiterals; /** Total number of attendees. */ totalGuests?: number; /** List of guests. */ guests?: Guest[]; /** Whether RSVP is anonymized by GDPR delete. */ anonymized?: boolean; /** Whether marketing consent was given */ marketingConsent?: boolean | null; } interface FormResponse { /** * Form field inputs. * @maxSize 200 */ inputValues?: InputValue[]; } interface InputValue { /** * Form field input name. * @maxLength 100 */ inputName?: string; /** * Form field value. * @maxLength 5000 */ value?: string; /** * Form field values. * @maxSize 100 * @maxLength 5000 */ values?: string[]; } interface FormattedAddress { /** * 1-line address representation. * @maxLength 200 */ formatted?: string; /** Address components. */ address?: Address; } /** Physical address */ interface Address extends AddressStreetOneOf { /** Street name and number. */ streetAddress?: StreetAddress; /** Main address line, usually street and number as free text. */ addressLine?: string | null; /** * Country code. * @format COUNTRY */ country?: string | null; /** Subdivision shorthand. Usually, a short code (2 or 3 letters) that represents a state, region, prefecture, or province. e.g. NY */ subdivision?: string | null; /** City name. */ city?: string | null; /** Zip/postal code. */ postalCode?: string | null; /** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */ addressLine2?: string | null; } /** @oneof */ interface AddressStreetOneOf { /** Street name and number. */ streetAddress?: StreetAddress; /** Main address line, usually street and number as free text. */ addressLine?: string | null; } interface StreetAddress { /** Street number. */ number?: string; /** Street name. */ name?: string; } interface AddressLocation { /** Address latitude. */ latitude?: number | null; /** Address longitude. */ longitude?: number | null; } interface Subdivision { /** Short subdivision code. */ code?: string; /** Subdivision full name. */ name?: string; } declare enum SubdivisionType { UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE", /** State */ ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1", /** County */ ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2", /** City/town */ ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3", /** Neighborhood/quarter */ ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4", /** Street/block */ ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5", /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */ COUNTRY = "COUNTRY" } /** @enumType */ type SubdivisionTypeWithLiterals = SubdivisionType | 'UNKNOWN_SUBDIVISION_TYPE' | 'ADMINISTRATIVE_AREA_LEVEL_1' | 'ADMINISTRATIVE_AREA_LEVEL_2' | 'ADMINISTRATIVE_AREA_LEVEL_3' | 'ADMINISTRATIVE_AREA_LEVEL_4' | 'ADMINISTRATIVE_AREA_LEVEL_5' | 'COUNTRY'; /** Subdivision Concordance values */ interface StandardDetails { /** * 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 * @maxLength 20 */ iso31662?: string | null; } declare enum RsvpStatus { YES = "YES", NO = "NO", WAITING = "WAITING" } /** @enumType */ type RsvpStatusWithLiterals = RsvpStatus | 'YES' | 'NO' | 'WAITING'; interface Guest { /** Index in the RSVP guest list. */ index?: number; /** Guest full name. */ fullName?: string; /** Guest check-in. */ checkIn?: CheckIn; /** * Unique guest ID per RSVP. * @min 1 */ id?: number; } interface CheckIn { /** Time of a ticket's check-in. */ created?: Date | null; } interface ListRsvpRequest { /** Number of items to skip. See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination). */ offset?: number; /** * Number of items to load. See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination). * @max 400 */ limit?: number; /** * Controls which data is returned. See [Fieldset](https://dev.wix.com/api/rest/wix-events/wix-events/fieldset#wix-events_wix-events_fieldset_rsvp-fieldset). * @maxSize 20 */ fieldset?: RsvpFieldsetWithLiterals[]; /** * Event ID. * @format GUID * @maxSize 100 */ eventId?: string[]; /** * RSVP ID. * @format GUID * @maxSize 500 */ rsvpId?: string[]; /** * RSVP status. * @maxSize 20 */ status?: RsvpStatusWithLiterals[]; /** * Site member ID. * @format GUID * @maxSize 500 */ memberId?: string[]; /** * Facet counts to include in the response. * @maxLength 100 * @maxSize 20 */ facet?: string[]; /** * Textual search filter - search is performed on "full_name" and "email". * @maxLength 200 */ searchPhrase?: string; /** * Event creator id filter, by default any. * @format GUID * @maxSize 50 */ eventCreatorId?: string[]; /** * Sort order, defaults to `"created:asc"`. * @maxLength 100 */ sort?: string; /** * Contact ID. * @format GUID * @maxSize 100 */ contactId?: string[]; /** RSVP tag */ tag?: RsvpTagWithLiterals[]; } declare enum RsvpFieldset { /** Include RSVP details including: `created`, `modified`, `firstName`, `lastName`, `status`, `totalGuests`, `guests`, and `annonymized`. */ DETAILS = "DETAILS", /** Include RSVP form. */ FORM = "FORM", /** Include RSVP email. */ CONTACT_DETAILS = "CONTACT_DETAILS" } /** @enumType */ type RsvpFieldsetWithLiterals = RsvpFieldset | 'DETAILS' | 'FORM' | 'CONTACT_DETAILS'; declare enum RsvpTag { /** Return only RSVPs of all guests that are fully checked-in. */ FULLY_CHECKED_IN = "FULLY_CHECKED_IN", /** Return only RSVPs of all guests that aren't fully checked-in. */ NOT_FULLY_CHECKED_IN = "NOT_FULLY_CHECKED_IN", /** Return only RSVPs of guests that are members. */ MEMBER = "MEMBER" } /** @enumType */ type RsvpTagWithLiterals = RsvpTag | 'FULLY_CHECKED_IN' | 'NOT_FULLY_CHECKED_IN' | 'MEMBER'; interface ListRsvpResponse { /** Total RSVPs matching the given filters. */ total?: number; /** Offset. */ offset?: number; /** * Limit. * @max 100 */ limit?: number; /** RSVP list. */ rsvps?: Rsvp[]; /** Facet query result. */ facets?: Record; /** Rsvp data enriched facets. */ rsvpFacets?: RsvpFacets; } interface FacetCounts { /** Facet counts aggregated per value. */ counts?: Record; } interface RsvpFacets { /** Filter facets. */ facets?: Record; } interface RsvpFacetCounts { /** Facet totals, aggregated per filter. */ counts?: Record; } interface Counts { /** Number of RSVPs. */ count?: number; /** Number of guests within RSVPs. */ guests?: number; /** Number of guests who have checked-in. */ guestsCheckIn?: number; } interface QueryRsvpRequest { /** Offset. See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination). */ offset?: number; /** * Limit. See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination). * @max 100 */ limit?: number; /** * Control which data is returned. See [Fieldset](https://dev.wix.com/api/rest/wix-events/wix-events/fieldset#wix-events_wix-events_fieldset_rsvp-fieldset). * @maxSize 20 */ fieldset?: RsvpFieldsetWithLiterals[]; /** Filter. */ filter?: Record | null; /** * Site member ID. * @format GUID * @maxSize 500 */ memberId?: string[]; /** * Filter facets to include in the response. * @maxLength 100 * @maxSize 20 */ facet?: string[]; /** * Textual search filter - search is performed on "guests.full_name". * @maxLength 200 */ searchPhrase?: string; /** * Event creator ID. * @format GUID * @maxSize 50 */ eventCreatorId?: string[]; /** * Sort order, defaults to `"created:asc"`. * @maxLength 100 */ sort?: string; /** * Contact ID. * @format GUID * @maxSize 100 */ contactId?: string[]; /** RSVP tag */ tag?: RsvpTagWithLiterals[]; } interface QueryRsvpResponse { /** Total RSVPs matching the given filters. */ total?: number; /** Offset. */ offset?: number; /** * Limit. * @max 100 */ limit?: number; /** RSVP list. */ rsvps?: Rsvp[]; /** Facet query result. */ facets?: Record; /** Rsvp data enriched facets. */ rsvpFacets?: RsvpFacets; } interface GetRsvpRequest { /** * Event ID. * @format GUID */ eventId?: string; /** * RSVP ID. * @format GUID */ rsvpId: string; /** * Controls which data is returned. See [Fieldset](https://dev.wix.com/api/rest/wix-events/wix-events/fieldset#wix-events_wix-events_fieldset_rsvp-fieldset). * @maxSize 20 */ fieldset?: RsvpFieldsetWithLiterals[]; } interface GetRsvpResponse { /** RSVP. */ rsvp?: Rsvp; } interface CreateRsvpRequest { /** * Event ID. * @format GUID */ eventId?: string; /** RSVP form response. */ form?: FormResponse; /** RSVP status. */ status?: RsvpStatusWithLiterals; /** * Member ID of the RSVP. * @format GUID */ memberId?: string | null; /** * Create RSVP options. * WIX_EVENTS.MANAGE_RSVP permission is required. */ options?: ModificationOptions; /** Whether marketing consent was given */ marketingConsent?: boolean | null; } interface ModificationOptions { /** Whether to ignore notification settings (when hen true, no notifications to contact or user are sent). */ silent?: boolean; /** Whether to create/update regardless of event guest limit. */ ignoreLimits?: boolean; /** Whether to ignore the form validation. */ ignoreFormValidation?: boolean; } interface CreateRsvpResponse { /** Created RSVP. */ rsvp?: Rsvp; /** "Add to calendar" links. */ calendarLinks?: CalendarLinks; } interface CalendarLinks { /** "Add to Google calendar" URL. */ google?: string; /** "Download ICS calendar file" URL. */ ics?: string; } interface RsvpCreated { /** RSVP created timestamp in ISO UTC format. */ timestamp?: Date | null; /** * Site language when RSVP created * @format LANGUAGE */ language?: string | null; /** Notifications silenced for this domain event. */ silent?: boolean | null; /** * Event ID. * @format GUID */ eventId?: string; /** * RSVP ID. * @format GUID */ rsvpId?: string; /** Contact ID associated with this RSVP. */ contactId?: string; /** * Member ID associated with this RSVP. * @format GUID */ memberId?: string | null; /** Guest first name. */ firstName?: string; /** Guest last name. */ lastName?: string; /** * Guest email. * @format EMAIL */ email?: string; /** RSVP form response. */ rsvpForm?: FormResponse; /** RSVP response status. */ status?: RsvpStatusWithLiterals; /** List of all guests. */ guests?: Guest[]; /** URL and password to online conference */ onlineConferencingLogin?: OnlineConferencingLogin; } interface OnlineConferencingLogin { /** * Link URL to the online conference. * @format WEB_URL * @readonly */ link?: string; /** * Password for the online conference. * @readonly */ password?: string | null; } interface UpdateRsvpRequest { /** * Event ID. * @format GUID */ eventId: string; /** * RSVP ID. * @format GUID */ rsvpId: string; /** Set of field paths, specifying which parts of RSVP to update. */ fields: string[]; /** RSVP form response. */ rsvpForm?: FormResponse; /** RSVP response status. */ status?: RsvpStatusWithLiterals; /** * Update RSVP options. * WIX_EVENTS.MANAGE_RSVP permission is required. */ options?: ModificationOptions; } interface UpdateRsvpResponse { /** Updated RSVP. */ rsvp?: Rsvp; } interface RsvpUpdated { /** RSVP updated timestamp in ISO UTC format. */ timestamp?: Date | null; /** * Site language when RSVP created * @format LANGUAGE */ language?: string | null; /** * Locale in which Rsvp was created. * @format LANGUAGE_TAG */ locale?: string | null; /** * Event ID. * @format GUID */ eventId?: string; /** * RSVP ID. * @format GUID */ rsvpId?: string; /** Contact ID associated with this RSVP. */ contactId?: string; /** * Member ID associated with this RSVP. * @format GUID */ memberId?: string | null; /** RSVP created timestamp. */ created?: Date | null; /** Guest first name. */ firstName?: string; /** Guest last name. */ lastName?: string; /** * Guest email. * @format EMAIL */ email?: string; /** RSVP form response. */ rsvpForm?: FormResponse; /** RSVP response status. */ status?: RsvpStatusWithLiterals; /** List of the guests. */ guests?: Guest[]; /** URL and password to online conference */ onlineConferencingLogin?: OnlineConferencingLogin; /** Notifications silenced for this domain event. */ silent?: boolean | null; } interface BulkUpdateRsvpRequest { /** * Event ID. * @format GUID */ eventId: string; /** * RSVPs to update. * @format GUID * @minSize 1 * @maxSize 100 */ rsvpId?: string[]; /** Set of fields to update. */ fields?: string[]; /** New RSVP status. */ status?: RsvpStatusWithLiterals; } interface BulkUpdateRsvpResponse { /** Updated RSVPs. */ rsvps?: Rsvp[]; } interface DeleteRsvpRequest { /** * Event ID. * @format GUID */ eventId: string; /** * RSVPs to delete. * @format GUID * @minSize 1 * @maxSize 100 */ rsvps?: string[]; } interface DeleteRsvpResponse { } interface RsvpDeleted { /** RSVP deleted timestamp in ISO UTC format. */ timestamp?: Date | null; /** * Event ID. * @format GUID */ eventId?: string; /** * RSVP ID. * @format GUID */ rsvpId?: string; /** Contact ID associated with this RSVP. */ contactId?: string; /** * Member ID associated with this RSVP. * @format GUID */ memberId?: string | null; /** Whether RSVP was anonymized by GDPR delete. */ anonymized?: boolean; } interface CheckInRsvpRequest { /** * Event ID. * @format GUID */ eventId: string; /** * RSVP ID to check-in. * @format GUID */ rsvpId: string; /** * Guest IDs to check-in. * @min 1 * @minSize 1 * @maxSize 11 */ guestId?: number[]; } interface CheckInRsvpResponse { /** Updated RSVP. */ rsvp?: Rsvp; } interface DeleteRsvpCheckInRequest { /** * Event ID. * @format GUID */ eventId: string; /** * RSVP ID to delete check-in. * @format GUID */ rsvpId: string; /** * Guest IDs to delete check-in. * @min 1 * @minSize 1 * @maxSize 11 */ guestId?: number[]; } interface DeleteRsvpCheckInResponse { /** Updated RSVP. */ rsvp?: Rsvp; } interface MessageEnvelope { /** * App instance ID. * @format GUID */ instanceId?: string | null; /** * Event type. * @maxLength 150 */ eventType?: string; /** The identification type and identity data. */ identity?: IdentificationData; /** Stringify payload. */ data?: string; /** Details related to the account */ accountInfo?: AccountInfo; } interface IdentificationData extends IdentificationDataIdOneOf { /** * ID of a site visitor that has not logged in to the site. * @format GUID */ anonymousVisitorId?: string; /** * ID of a site visitor that has logged in to the site. * @format GUID */ memberId?: string; /** * ID of a Wix user (site owner, contributor, etc.). * @format GUID */ wixUserId?: string; /** * ID of an app. * @format GUID */ appId?: string; /** @readonly */ identityType?: WebhookIdentityTypeWithLiterals; } /** @oneof */ interface IdentificationDataIdOneOf { /** * ID of a site visitor that has not logged in to the site. * @format GUID */ anonymousVisitorId?: string; /** * ID of a site visitor that has logged in to the site. * @format GUID */ memberId?: string; /** * ID of a Wix user (site owner, contributor, etc.). * @format GUID */ wixUserId?: string; /** * ID of an app. * @format GUID */ appId?: string; } declare enum WebhookIdentityType { UNKNOWN = "UNKNOWN", ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR", MEMBER = "MEMBER", WIX_USER = "WIX_USER", APP = "APP" } /** @enumType */ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP'; interface AccountInfo { /** * ID of the Wix account associated with the event. * @format GUID */ accountId?: string | null; /** * ID of the parent Wix account. Only included when accountId belongs to a child account. * @format GUID */ parentAccountId?: string | null; /** * ID of the Wix site associated with the event. Only included when the event is tied to a specific site. * @format GUID */ siteId?: string | null; } type __PublicMethodMetaInfo = { getUrl: (context: any) => string; httpMethod: K; path: string; pathParams: M; __requestType: T; __originalRequestType: S; __responseType: Q; __originalResponseType: R; }; declare function listRsvp(): __PublicMethodMetaInfo<'GET', {}, ListRsvpRequest$1, ListRsvpRequest, ListRsvpResponse$1, ListRsvpResponse>; declare function queryRsvp(): __PublicMethodMetaInfo<'POST', {}, QueryRsvpRequest$1, QueryRsvpRequest, QueryRsvpResponse$1, QueryRsvpResponse>; declare function getRsvp(): __PublicMethodMetaInfo<'GET', { rsvpId: string; }, GetRsvpRequest$1, GetRsvpRequest, GetRsvpResponse$1, GetRsvpResponse>; declare function createRsvp(): __PublicMethodMetaInfo<'POST', {}, CreateRsvpRequest$1, CreateRsvpRequest, CreateRsvpResponse$1, CreateRsvpResponse>; declare function updateRsvp(): __PublicMethodMetaInfo<'PATCH', { rsvpId: string; }, UpdateRsvpRequest$1, UpdateRsvpRequest, UpdateRsvpResponse$1, UpdateRsvpResponse>; declare function bulkUpdateRsvp(): __PublicMethodMetaInfo<'PATCH', {}, BulkUpdateRsvpRequest$1, BulkUpdateRsvpRequest, BulkUpdateRsvpResponse$1, BulkUpdateRsvpResponse>; declare function deleteRsvp(): __PublicMethodMetaInfo<'DELETE', {}, DeleteRsvpRequest$1, DeleteRsvpRequest, DeleteRsvpResponse$1, DeleteRsvpResponse>; declare function checkInRsvp(): __PublicMethodMetaInfo<'POST', {}, CheckInRsvpRequest$1, CheckInRsvpRequest, CheckInRsvpResponse$1, CheckInRsvpResponse>; declare function deleteRsvpCheckIn(): __PublicMethodMetaInfo<'DELETE', {}, DeleteRsvpCheckInRequest$1, DeleteRsvpCheckInRequest, DeleteRsvpCheckInResponse$1, DeleteRsvpCheckInResponse>; export { type AccountInfo as AccountInfoOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressStreetOneOf as AddressStreetOneOfOriginal, type BulkUpdateRsvpRequest as BulkUpdateRsvpRequestOriginal, type BulkUpdateRsvpResponse as BulkUpdateRsvpResponseOriginal, type CalendarLinks as CalendarLinksOriginal, type CheckIn as CheckInOriginal, type CheckInRsvpRequest as CheckInRsvpRequestOriginal, type CheckInRsvpResponse as CheckInRsvpResponseOriginal, type Counts as CountsOriginal, type CreateRsvpRequest as CreateRsvpRequestOriginal, type CreateRsvpResponse as CreateRsvpResponseOriginal, type DeleteRsvpCheckInRequest as DeleteRsvpCheckInRequestOriginal, type DeleteRsvpCheckInResponse as DeleteRsvpCheckInResponseOriginal, type DeleteRsvpRequest as DeleteRsvpRequestOriginal, type DeleteRsvpResponse as DeleteRsvpResponseOriginal, type FacetCounts as FacetCountsOriginal, type FormResponse as FormResponseOriginal, type FormattedAddress as FormattedAddressOriginal, type GetRsvpRequest as GetRsvpRequestOriginal, type GetRsvpResponse as GetRsvpResponseOriginal, type Guest as GuestOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type InputValue as InputValueOriginal, type ListRsvpRequest as ListRsvpRequestOriginal, type ListRsvpResponse as ListRsvpResponseOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type ModificationOptions as ModificationOptionsOriginal, type OnlineConferencingLogin as OnlineConferencingLoginOriginal, type QueryRsvpRequest as QueryRsvpRequestOriginal, type QueryRsvpResponse as QueryRsvpResponseOriginal, type RsvpCreated as RsvpCreatedOriginal, type RsvpDeleted as RsvpDeletedOriginal, type RsvpFacetCounts as RsvpFacetCountsOriginal, type RsvpFacets as RsvpFacetsOriginal, RsvpFieldset as RsvpFieldsetOriginal, type RsvpFieldsetWithLiterals as RsvpFieldsetWithLiteralsOriginal, type Rsvp as RsvpOriginal, RsvpStatus as RsvpStatusOriginal, type RsvpStatusWithLiterals as RsvpStatusWithLiteralsOriginal, RsvpTag as RsvpTagOriginal, type RsvpTagWithLiterals as RsvpTagWithLiteralsOriginal, type RsvpUpdated as RsvpUpdatedOriginal, type StandardDetails as StandardDetailsOriginal, type StreetAddress as StreetAddressOriginal, type Subdivision as SubdivisionOriginal, SubdivisionType as SubdivisionTypeOriginal, type SubdivisionTypeWithLiterals as SubdivisionTypeWithLiteralsOriginal, type UpdateRsvpRequest as UpdateRsvpRequestOriginal, type UpdateRsvpResponse as UpdateRsvpResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkUpdateRsvp, checkInRsvp, createRsvp, deleteRsvp, deleteRsvpCheckIn, getRsvp, listRsvp, queryRsvp, updateRsvp };