@wix/events 1.0.13 → 1.0.15
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.
- package/build/cjs/index.d.ts +6 -1
- package/build/cjs/index.js +7 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/src/events-guests-v1-guest.http.d.ts +1 -4
- package/build/cjs/src/events-guests-v1-guest.http.js +27 -5
- package/build/cjs/src/events-guests-v1-guest.http.js.map +1 -1
- package/build/cjs/src/events-guests-v1-guest.public.d.ts +2 -2
- package/build/cjs/src/events-guests-v1-guest.public.js +2 -2
- package/build/cjs/src/events-guests-v1-guest.public.js.map +1 -1
- package/build/cjs/src/events-guests-v1-guest.types.d.ts +58 -44
- package/build/cjs/src/events-guests-v1-guest.types.js +9 -9
- package/build/cjs/src/events-guests-v1-guest.types.js.map +1 -1
- package/build/cjs/src/events-guests-v1-guest.universal.d.ts +61 -47
- package/build/cjs/src/events-guests-v1-guest.universal.js +12 -12
- package/build/cjs/src/events-guests-v1-guest.universal.js.map +1 -1
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.http.d.ts +49 -0
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.http.js +485 -0
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.http.js.map +1 -0
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.types.d.ts +318 -0
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.types.js +27 -0
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.types.js.map +1 -0
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.universal.js +1 -1
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.universal.js.map +1 -1
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule.http.d.ts +49 -0
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule.http.js +485 -0
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule.http.js.map +1 -0
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule.types.d.ts +318 -0
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule.types.js +27 -0
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule.types.js.map +1 -0
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule.universal.js +1 -1
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule.universal.js.map +1 -1
- package/build/cjs/src/events-v1-event.types.d.ts +1 -1
- package/build/cjs/src/events-v1-event.universal.d.ts +1 -1
- package/build/cjs/src/events-v1-order-checkout.http.d.ts +65 -0
- package/build/cjs/src/events-v1-order-checkout.http.js +1026 -0
- package/build/cjs/src/events-v1-order-checkout.http.js.map +1 -0
- package/build/cjs/src/events-v1-order-checkout.public.d.ts +12 -0
- package/build/cjs/src/events-v1-order-checkout.public.js +68 -0
- package/build/cjs/src/events-v1-order-checkout.public.js.map +1 -0
- package/build/cjs/src/events-v1-order-checkout.types.d.ts +1271 -0
- package/build/cjs/src/events-v1-order-checkout.types.js +145 -0
- package/build/cjs/src/events-v1-order-checkout.types.js.map +1 -0
- package/build/cjs/src/events-v1-order-checkout.universal.d.ts +1439 -0
- package/build/cjs/src/events-v1-order-checkout.universal.js +698 -0
- package/build/cjs/src/events-v1-order-checkout.universal.js.map +1 -0
- package/build/cjs/src/events-v1-order-orders.http.d.ts +79 -0
- package/build/cjs/src/events-v1-order-orders.http.js +1040 -0
- package/build/cjs/src/events-v1-order-orders.http.js.map +1 -0
- package/build/cjs/src/events-v1-order-orders.public.d.ts +10 -0
- package/build/cjs/src/events-v1-order-orders.public.js +56 -0
- package/build/cjs/src/events-v1-order-orders.public.js.map +1 -0
- package/build/cjs/src/events-v1-order-orders.types.d.ts +1271 -0
- package/build/cjs/src/events-v1-order-orders.types.js +145 -0
- package/build/cjs/src/events-v1-order-orders.types.js.map +1 -0
- package/build/cjs/src/events-v1-order-orders.universal.d.ts +1397 -0
- package/build/cjs/src/events-v1-order-orders.universal.js +599 -0
- package/build/cjs/src/events-v1-order-orders.universal.js.map +1 -0
- package/build/cjs/src/events-v1-rsvp.http.d.ts +20 -0
- package/build/cjs/src/events-v1-rsvp.http.js +577 -0
- package/build/cjs/src/events-v1-rsvp.http.js.map +1 -0
- package/build/cjs/src/events-v1-rsvp.public.d.ts +13 -0
- package/build/cjs/src/events-v1-rsvp.public.js +64 -0
- package/build/cjs/src/events-v1-rsvp.public.js.map +1 -0
- package/build/cjs/src/events-v1-rsvp.types.d.ts +453 -0
- package/build/cjs/src/events-v1-rsvp.types.js +44 -0
- package/build/cjs/src/events-v1-rsvp.types.js.map +1 -0
- package/build/cjs/src/events-v1-rsvp.universal.d.ts +652 -0
- package/build/cjs/src/events-v1-rsvp.universal.js +632 -0
- package/build/cjs/src/events-v1-rsvp.universal.js.map +1 -0
- package/build/cjs/src/events-v1-ticket-definition.http.d.ts +42 -0
- package/build/cjs/src/events-v1-ticket-definition.http.js +472 -0
- package/build/cjs/src/events-v1-ticket-definition.http.js.map +1 -0
- package/build/cjs/src/events-v1-ticket-definition.public.d.ts +11 -0
- package/build/cjs/src/events-v1-ticket-definition.public.js +55 -0
- package/build/cjs/src/events-v1-ticket-definition.public.js.map +1 -0
- package/build/cjs/src/events-v1-ticket-definition.types.d.ts +435 -0
- package/build/cjs/src/events-v1-ticket-definition.types.js +54 -0
- package/build/cjs/src/events-v1-ticket-definition.types.js.map +1 -0
- package/build/cjs/src/events-v1-ticket-definition.universal.d.ts +619 -0
- package/build/cjs/src/events-v1-ticket-definition.universal.js +527 -0
- package/build/cjs/src/events-v1-ticket-definition.universal.js.map +1 -0
- package/build/cjs/src/events-v1-ticket.http.d.ts +31 -0
- package/build/cjs/src/events-v1-ticket.http.js +496 -0
- package/build/cjs/src/events-v1-ticket.http.js.map +1 -0
- package/build/cjs/src/events-v1-ticket.public.d.ts +10 -0
- package/build/cjs/src/events-v1-ticket.public.js +47 -0
- package/build/cjs/src/events-v1-ticket.public.js.map +1 -0
- package/build/cjs/src/events-v1-ticket.types.d.ts +448 -0
- package/build/cjs/src/events-v1-ticket.types.js +76 -0
- package/build/cjs/src/events-v1-ticket.types.js.map +1 -0
- package/build/cjs/src/events-v1-ticket.universal.d.ts +590 -0
- package/build/cjs/src/events-v1-ticket.universal.js +552 -0
- package/build/cjs/src/events-v1-ticket.universal.js.map +1 -0
- package/build/cjs/src/events-v2-policy.http.d.ts +28 -7
- package/build/cjs/src/events-v2-policy.http.js +28 -7
- package/build/cjs/src/events-v2-policy.http.js.map +1 -1
- package/build/cjs/src/events-v2-policy.universal.d.ts +53 -37
- package/build/cjs/src/events-v2-policy.universal.js +21 -7
- package/build/cjs/src/events-v2-policy.universal.js.map +1 -1
- package/build/es/index.d.ts +6 -1
- package/build/es/index.js +6 -1
- package/build/es/index.js.map +1 -1
- package/build/es/src/events-guests-v1-guest.http.d.ts +1 -4
- package/build/es/src/events-guests-v1-guest.http.js +27 -5
- package/build/es/src/events-guests-v1-guest.http.js.map +1 -1
- package/build/es/src/events-guests-v1-guest.public.d.ts +2 -2
- package/build/es/src/events-guests-v1-guest.public.js +1 -1
- package/build/es/src/events-guests-v1-guest.public.js.map +1 -1
- package/build/es/src/events-guests-v1-guest.types.d.ts +58 -44
- package/build/es/src/events-guests-v1-guest.types.js +8 -8
- package/build/es/src/events-guests-v1-guest.types.js.map +1 -1
- package/build/es/src/events-guests-v1-guest.universal.d.ts +61 -47
- package/build/es/src/events-guests-v1-guest.universal.js +11 -11
- package/build/es/src/events-guests-v1-guest.universal.js.map +1 -1
- package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.http.d.ts +49 -0
- package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.http.js +470 -0
- package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.http.js.map +1 -0
- package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.types.d.ts +318 -0
- package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.types.js +24 -0
- package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.types.js.map +1 -0
- package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.universal.js +1 -1
- package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.universal.js.map +1 -1
- package/build/es/src/events-schedule-v1-schedule-item-schedule.http.d.ts +49 -0
- package/build/es/src/events-schedule-v1-schedule-item-schedule.http.js +470 -0
- package/build/es/src/events-schedule-v1-schedule-item-schedule.http.js.map +1 -0
- package/build/es/src/events-schedule-v1-schedule-item-schedule.types.d.ts +318 -0
- package/build/es/src/events-schedule-v1-schedule-item-schedule.types.js +24 -0
- package/build/es/src/events-schedule-v1-schedule-item-schedule.types.js.map +1 -0
- package/build/es/src/events-schedule-v1-schedule-item-schedule.universal.js +1 -1
- package/build/es/src/events-schedule-v1-schedule-item-schedule.universal.js.map +1 -1
- package/build/es/src/events-v1-event.types.d.ts +1 -1
- package/build/es/src/events-v1-event.universal.d.ts +1 -1
- package/build/es/src/events-v1-order-checkout.http.d.ts +65 -0
- package/build/es/src/events-v1-order-checkout.http.js +1009 -0
- package/build/es/src/events-v1-order-checkout.http.js.map +1 -0
- package/build/es/src/events-v1-order-checkout.public.d.ts +12 -0
- package/build/es/src/events-v1-order-checkout.public.js +43 -0
- package/build/es/src/events-v1-order-checkout.public.js.map +1 -0
- package/build/es/src/events-v1-order-checkout.types.d.ts +1271 -0
- package/build/es/src/events-v1-order-checkout.types.js +142 -0
- package/build/es/src/events-v1-order-checkout.types.js.map +1 -0
- package/build/es/src/events-v1-order-checkout.universal.d.ts +1439 -0
- package/build/es/src/events-v1-order-checkout.universal.js +668 -0
- package/build/es/src/events-v1-order-checkout.universal.js.map +1 -0
- package/build/es/src/events-v1-order-orders.http.d.ts +79 -0
- package/build/es/src/events-v1-order-orders.http.js +1023 -0
- package/build/es/src/events-v1-order-orders.http.js.map +1 -0
- package/build/es/src/events-v1-order-orders.public.d.ts +10 -0
- package/build/es/src/events-v1-order-orders.public.js +33 -0
- package/build/es/src/events-v1-order-orders.public.js.map +1 -0
- package/build/es/src/events-v1-order-orders.types.d.ts +1271 -0
- package/build/es/src/events-v1-order-orders.types.js +142 -0
- package/build/es/src/events-v1-order-orders.types.js.map +1 -0
- package/build/es/src/events-v1-order-orders.universal.d.ts +1397 -0
- package/build/es/src/events-v1-order-orders.universal.js +571 -0
- package/build/es/src/events-v1-order-orders.universal.js.map +1 -0
- package/build/es/src/events-v1-rsvp.http.d.ts +20 -0
- package/build/es/src/events-v1-rsvp.http.js +565 -0
- package/build/es/src/events-v1-rsvp.http.js.map +1 -0
- package/build/es/src/events-v1-rsvp.public.d.ts +13 -0
- package/build/es/src/events-v1-rsvp.public.js +48 -0
- package/build/es/src/events-v1-rsvp.public.js.map +1 -0
- package/build/es/src/events-v1-rsvp.types.d.ts +453 -0
- package/build/es/src/events-v1-rsvp.types.js +41 -0
- package/build/es/src/events-v1-rsvp.types.js.map +1 -0
- package/build/es/src/events-v1-rsvp.universal.d.ts +652 -0
- package/build/es/src/events-v1-rsvp.universal.js +601 -0
- package/build/es/src/events-v1-rsvp.universal.js.map +1 -0
- package/build/es/src/events-v1-ticket-definition.http.d.ts +42 -0
- package/build/es/src/events-v1-ticket-definition.http.js +462 -0
- package/build/es/src/events-v1-ticket-definition.http.js.map +1 -0
- package/build/es/src/events-v1-ticket-definition.public.d.ts +11 -0
- package/build/es/src/events-v1-ticket-definition.public.js +38 -0
- package/build/es/src/events-v1-ticket-definition.public.js.map +1 -0
- package/build/es/src/events-v1-ticket-definition.types.d.ts +435 -0
- package/build/es/src/events-v1-ticket-definition.types.js +51 -0
- package/build/es/src/events-v1-ticket-definition.types.js.map +1 -0
- package/build/es/src/events-v1-ticket-definition.universal.d.ts +619 -0
- package/build/es/src/events-v1-ticket-definition.universal.js +498 -0
- package/build/es/src/events-v1-ticket-definition.universal.js.map +1 -0
- package/build/es/src/events-v1-ticket.http.d.ts +31 -0
- package/build/es/src/events-v1-ticket.http.js +487 -0
- package/build/es/src/events-v1-ticket.http.js.map +1 -0
- package/build/es/src/events-v1-ticket.public.d.ts +10 -0
- package/build/es/src/events-v1-ticket.public.js +33 -0
- package/build/es/src/events-v1-ticket.public.js.map +1 -0
- package/build/es/src/events-v1-ticket.types.d.ts +448 -0
- package/build/es/src/events-v1-ticket.types.js +73 -0
- package/build/es/src/events-v1-ticket.types.js.map +1 -0
- package/build/es/src/events-v1-ticket.universal.d.ts +590 -0
- package/build/es/src/events-v1-ticket.universal.js +524 -0
- package/build/es/src/events-v1-ticket.universal.js.map +1 -0
- package/build/es/src/events-v2-policy.http.d.ts +28 -7
- package/build/es/src/events-v2-policy.http.js +28 -7
- package/build/es/src/events-v2-policy.http.js.map +1 -1
- package/build/es/src/events-v2-policy.universal.d.ts +53 -37
- package/build/es/src/events-v2-policy.universal.js +21 -7
- package/build/es/src/events-v2-policy.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,652 @@
|
|
|
1
|
+
export declare const __debug: {
|
|
2
|
+
verboseLogging: {
|
|
3
|
+
on: () => boolean;
|
|
4
|
+
off: () => boolean;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
export interface Rsvp {
|
|
8
|
+
/** RSVP ID. */
|
|
9
|
+
_id?: string;
|
|
10
|
+
/** Event ID. */
|
|
11
|
+
eventId?: string;
|
|
12
|
+
/** Contact ID associated with this RSVP. */
|
|
13
|
+
contactId?: string;
|
|
14
|
+
/** Member ID associated with this RSVP. */
|
|
15
|
+
memberId?: string;
|
|
16
|
+
/** RSVP created timestamp. */
|
|
17
|
+
created?: Date;
|
|
18
|
+
/** RSVP modified timestamp. */
|
|
19
|
+
modified?: Date;
|
|
20
|
+
/** First name. */
|
|
21
|
+
firstName?: string;
|
|
22
|
+
/** Last name. */
|
|
23
|
+
lastName?: string;
|
|
24
|
+
/** Guest email. */
|
|
25
|
+
email?: string;
|
|
26
|
+
/** RSVP form response. */
|
|
27
|
+
rsvpForm?: FormResponse;
|
|
28
|
+
/** RSVP response status. */
|
|
29
|
+
status?: RsvpStatus;
|
|
30
|
+
/** Total number of attendees. */
|
|
31
|
+
totalGuests?: number;
|
|
32
|
+
/** List of guests. */
|
|
33
|
+
guests?: Guest[];
|
|
34
|
+
/** Whether RSVP is anonymized by GDPR delete. */
|
|
35
|
+
anonymized?: boolean;
|
|
36
|
+
}
|
|
37
|
+
export interface FormResponse {
|
|
38
|
+
/** Input values entered upon ticket order. */
|
|
39
|
+
inputValues?: InputValue[];
|
|
40
|
+
}
|
|
41
|
+
export interface InputValue {
|
|
42
|
+
/** Unique input name. */
|
|
43
|
+
inputName?: string;
|
|
44
|
+
/** Text value representation. */
|
|
45
|
+
value?: string;
|
|
46
|
+
/** Text value vector. */
|
|
47
|
+
values?: string[];
|
|
48
|
+
}
|
|
49
|
+
export interface FormattedAddress {
|
|
50
|
+
/** One line address representation. */
|
|
51
|
+
formatted?: string;
|
|
52
|
+
/** Address components (optional). */
|
|
53
|
+
address?: Address;
|
|
54
|
+
}
|
|
55
|
+
/** Physical address */
|
|
56
|
+
export interface Address extends AddressStreetOneOf {
|
|
57
|
+
/** Country code. */
|
|
58
|
+
country?: string | null;
|
|
59
|
+
/** Subdivision. Usually a state, region, prefecture, or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
|
|
60
|
+
subdivision?: string | null;
|
|
61
|
+
/** City name. */
|
|
62
|
+
city?: string | null;
|
|
63
|
+
/** Zip/postal code. */
|
|
64
|
+
postalCode?: string | null;
|
|
65
|
+
/** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
|
|
66
|
+
addressLine2?: string | null;
|
|
67
|
+
/** Street name and number. */
|
|
68
|
+
streetAddress?: StreetAddress;
|
|
69
|
+
/** Main address line, usually street and number as free text. */
|
|
70
|
+
addressLine1?: string | null;
|
|
71
|
+
}
|
|
72
|
+
/** @oneof */
|
|
73
|
+
export interface AddressStreetOneOf {
|
|
74
|
+
/** Street name and number. */
|
|
75
|
+
streetAddress?: StreetAddress;
|
|
76
|
+
/** Main address line, usually street and number as free text. */
|
|
77
|
+
addressLine?: string | null;
|
|
78
|
+
}
|
|
79
|
+
export interface StreetAddress {
|
|
80
|
+
/** Street number. */
|
|
81
|
+
number?: string;
|
|
82
|
+
/** Street name. */
|
|
83
|
+
name?: string;
|
|
84
|
+
}
|
|
85
|
+
export interface AddressLocation {
|
|
86
|
+
/** Address latitude. */
|
|
87
|
+
latitude?: number | null;
|
|
88
|
+
/** Address longitude. */
|
|
89
|
+
longitude?: number | null;
|
|
90
|
+
}
|
|
91
|
+
export interface Subdivision {
|
|
92
|
+
/** Short subdivision code. */
|
|
93
|
+
code?: string;
|
|
94
|
+
/** Subdivision full name. */
|
|
95
|
+
name?: string;
|
|
96
|
+
}
|
|
97
|
+
export declare enum SubdivisionType {
|
|
98
|
+
UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
|
|
99
|
+
/** State */
|
|
100
|
+
ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
|
|
101
|
+
/** County */
|
|
102
|
+
ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
|
|
103
|
+
/** City/town */
|
|
104
|
+
ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
|
|
105
|
+
/** Neighborhood/quarter */
|
|
106
|
+
ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
|
|
107
|
+
/** Street/block */
|
|
108
|
+
ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
|
|
109
|
+
/** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
|
|
110
|
+
COUNTRY = "COUNTRY"
|
|
111
|
+
}
|
|
112
|
+
export declare enum RsvpStatus {
|
|
113
|
+
YES = "YES",
|
|
114
|
+
NO = "NO",
|
|
115
|
+
WAITING = "WAITING"
|
|
116
|
+
}
|
|
117
|
+
export interface Guest {
|
|
118
|
+
/** Index in the RSVP guest list. */
|
|
119
|
+
index?: number;
|
|
120
|
+
/** Guest full name. */
|
|
121
|
+
fullName?: string;
|
|
122
|
+
/** Guest check-in. */
|
|
123
|
+
checkIn?: CheckIn;
|
|
124
|
+
/** Unique guest ID per RSVP. */
|
|
125
|
+
_id?: number;
|
|
126
|
+
}
|
|
127
|
+
export interface CheckIn {
|
|
128
|
+
/** Time of check-in */
|
|
129
|
+
created?: Date;
|
|
130
|
+
}
|
|
131
|
+
export interface ListRsvpRequest {
|
|
132
|
+
/** Number of items to skip. See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination). */
|
|
133
|
+
offset?: number;
|
|
134
|
+
/** Number of items to load. See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination). */
|
|
135
|
+
limit?: number;
|
|
136
|
+
/** 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). */
|
|
137
|
+
fieldset?: RsvpFieldset[];
|
|
138
|
+
/** Event ID. */
|
|
139
|
+
eventId?: string[];
|
|
140
|
+
/** RSVP ID. */
|
|
141
|
+
rsvpId?: string[];
|
|
142
|
+
/** RSVP status. */
|
|
143
|
+
status?: RsvpStatus[];
|
|
144
|
+
/** Site member ID. */
|
|
145
|
+
memberId?: string[];
|
|
146
|
+
/**
|
|
147
|
+
* Facet counts to include in the response.
|
|
148
|
+
* See [supported facets](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort#wix-events_wix-events_filter-and-sort_list-query-rsvps).
|
|
149
|
+
*/
|
|
150
|
+
facet?: string[];
|
|
151
|
+
/** Textual search filter - search is performed on "full_name" and "email". */
|
|
152
|
+
searchPhrase?: string;
|
|
153
|
+
/** Event creator id filter, by default any. */
|
|
154
|
+
eventCreatorId?: string[];
|
|
155
|
+
/**
|
|
156
|
+
* Sort order, defaults to `"created:asc"`.
|
|
157
|
+
* See [supported fields](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort#wix-events_wix-events_filter-and-sort_list-query-rsvps).
|
|
158
|
+
*/
|
|
159
|
+
sort?: string;
|
|
160
|
+
/** Contact ID. */
|
|
161
|
+
contactId?: string[];
|
|
162
|
+
/** RSVP tag */
|
|
163
|
+
tag?: RsvpTag[];
|
|
164
|
+
}
|
|
165
|
+
export declare enum RsvpFieldset {
|
|
166
|
+
/** Include RSVP details: created, modified, first_name, last_name, etc. */
|
|
167
|
+
DETAILS = "DETAILS",
|
|
168
|
+
/** Include rsvp_form. */
|
|
169
|
+
FORM = "FORM",
|
|
170
|
+
/** Include RSVP email. */
|
|
171
|
+
CONTACT_DETAILS = "CONTACT_DETAILS"
|
|
172
|
+
}
|
|
173
|
+
export declare enum RsvpTag {
|
|
174
|
+
/** Return only rsvps with all guests checked-in */
|
|
175
|
+
FULLY_CHECKED_IN = "FULLY_CHECKED_IN",
|
|
176
|
+
/** Return only rsvps with not all guests checked-in */
|
|
177
|
+
NOT_FULLY_CHECKED_IN = "NOT_FULLY_CHECKED_IN",
|
|
178
|
+
/** Return only member rsvp */
|
|
179
|
+
MEMBER = "MEMBER"
|
|
180
|
+
}
|
|
181
|
+
export interface ListRsvpResponse {
|
|
182
|
+
/** Total RSVPs matching the given filters. */
|
|
183
|
+
total?: number;
|
|
184
|
+
/** Offset. */
|
|
185
|
+
offset?: number;
|
|
186
|
+
/** Limit. */
|
|
187
|
+
limit?: number;
|
|
188
|
+
/** RSVP list. */
|
|
189
|
+
rsvps?: Rsvp[];
|
|
190
|
+
/** Facet query result. */
|
|
191
|
+
facets?: Record<string, FacetCounts>;
|
|
192
|
+
/** Meta data of search results. */
|
|
193
|
+
searchMetaData?: SearchMetaData;
|
|
194
|
+
/** Rsvp data enriched facets. */
|
|
195
|
+
rsvpFacets?: RsvpFacets;
|
|
196
|
+
}
|
|
197
|
+
export interface FacetCounts {
|
|
198
|
+
/** Facet counts aggregated per value */
|
|
199
|
+
counts?: Record<string, number>;
|
|
200
|
+
}
|
|
201
|
+
export interface SearchMetaData {
|
|
202
|
+
/** Search results */
|
|
203
|
+
results?: Result[];
|
|
204
|
+
}
|
|
205
|
+
export interface Result {
|
|
206
|
+
/** Entity ID */
|
|
207
|
+
_id?: string;
|
|
208
|
+
/**
|
|
209
|
+
* Entity score.
|
|
210
|
+
* Higher is more relevant to search phrase.
|
|
211
|
+
*/
|
|
212
|
+
score?: string;
|
|
213
|
+
}
|
|
214
|
+
export interface RsvpFacets {
|
|
215
|
+
/** Filter facets. */
|
|
216
|
+
facets?: Record<string, RsvpFacetCounts>;
|
|
217
|
+
}
|
|
218
|
+
export interface RsvpFacetCounts {
|
|
219
|
+
/** Facet totals, aggregated per filter. */
|
|
220
|
+
counts?: Record<string, Counts>;
|
|
221
|
+
}
|
|
222
|
+
export interface Counts {
|
|
223
|
+
/** Number of RSVPs. */
|
|
224
|
+
count?: number;
|
|
225
|
+
/** Number of guests within RSVPs. */
|
|
226
|
+
guests?: number;
|
|
227
|
+
/** Number of guests who have checked-in. */
|
|
228
|
+
guestsCheckIn?: number;
|
|
229
|
+
}
|
|
230
|
+
export interface QueryRsvpRequest {
|
|
231
|
+
/** Offset. See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination). */
|
|
232
|
+
offset?: number;
|
|
233
|
+
/** Limit. See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination). */
|
|
234
|
+
limit?: number;
|
|
235
|
+
/** 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). */
|
|
236
|
+
fieldset?: RsvpFieldset[];
|
|
237
|
+
/** Filter. See [supported fields and operators](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort#wix-events_wix-events_filter-and-sort_list-query-rsvps). */
|
|
238
|
+
filter?: Record<string, any> | null;
|
|
239
|
+
/** Site member ID. */
|
|
240
|
+
memberId?: string[];
|
|
241
|
+
/**
|
|
242
|
+
* Filter facets to include in the response.
|
|
243
|
+
* See [supported facets](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort#wix-events_wix-events_filter-and-sort_list-query-rsvps).
|
|
244
|
+
*/
|
|
245
|
+
facet?: string[];
|
|
246
|
+
/** Textual search filter - search is performed on "guests.full_name". */
|
|
247
|
+
searchPhrase?: string;
|
|
248
|
+
/** Event creator ID. */
|
|
249
|
+
eventCreatorId?: string[];
|
|
250
|
+
/**
|
|
251
|
+
* Sort order, defaults to `"created:asc"`.
|
|
252
|
+
* See [supported fields](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort#wix-events_wix-events_filter-and-sort_list-query-rsvps).
|
|
253
|
+
*/
|
|
254
|
+
sort?: string;
|
|
255
|
+
/** Contact ID. */
|
|
256
|
+
contactId?: string[];
|
|
257
|
+
/** RSVP tag */
|
|
258
|
+
tag?: RsvpTag[];
|
|
259
|
+
}
|
|
260
|
+
export interface QueryRsvpResponse {
|
|
261
|
+
/** Total RSVPs matching the given filters. */
|
|
262
|
+
total?: number;
|
|
263
|
+
/** Offset. */
|
|
264
|
+
offset?: number;
|
|
265
|
+
/** Limit. */
|
|
266
|
+
limit?: number;
|
|
267
|
+
/** RSVP list. */
|
|
268
|
+
rsvps?: Rsvp[];
|
|
269
|
+
/** Facet query result. */
|
|
270
|
+
facets?: Record<string, FacetCounts>;
|
|
271
|
+
/** Meta data of search results. */
|
|
272
|
+
searchMetaData?: SearchMetaData;
|
|
273
|
+
/** Rsvp data enriched facets. */
|
|
274
|
+
rsvpFacets?: RsvpFacets;
|
|
275
|
+
}
|
|
276
|
+
export interface GetRsvpRequest {
|
|
277
|
+
/** Event ID. */
|
|
278
|
+
eventId?: string;
|
|
279
|
+
/** RSVP ID. */
|
|
280
|
+
rsvpId: string;
|
|
281
|
+
/** 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). */
|
|
282
|
+
fieldset?: RsvpFieldset[];
|
|
283
|
+
}
|
|
284
|
+
export interface GetRsvpResponse {
|
|
285
|
+
/** RSVP. */
|
|
286
|
+
rsvp?: Rsvp;
|
|
287
|
+
}
|
|
288
|
+
export interface CreateRsvpRequest {
|
|
289
|
+
/** Event ID. */
|
|
290
|
+
eventId?: string;
|
|
291
|
+
/** RSVP form response. */
|
|
292
|
+
form?: FormResponse;
|
|
293
|
+
/** RSVP status. */
|
|
294
|
+
status?: RsvpStatus;
|
|
295
|
+
/** Member ID of the RSVP. */
|
|
296
|
+
memberId?: string | null;
|
|
297
|
+
/**
|
|
298
|
+
* Create RSVP options.
|
|
299
|
+
* WIX_EVENTS.MANAGE_RSVP permission is required.
|
|
300
|
+
*/
|
|
301
|
+
options?: ModificationOptions;
|
|
302
|
+
}
|
|
303
|
+
export interface ModificationOptions {
|
|
304
|
+
/** Whether to ignore notification settings (when hen true, no notifications to contact or user are sent). */
|
|
305
|
+
silent?: boolean;
|
|
306
|
+
/** Whether to create/update regardless of event guest limit. */
|
|
307
|
+
ignoreLimits?: boolean;
|
|
308
|
+
/** Whether to ignore the form validation. */
|
|
309
|
+
ignoreFormValidation?: boolean;
|
|
310
|
+
}
|
|
311
|
+
export interface CreateRsvpResponse {
|
|
312
|
+
/** Created RSVP. */
|
|
313
|
+
rsvp?: Rsvp;
|
|
314
|
+
/** "Add to calendar" links. */
|
|
315
|
+
calendarLinks?: CalendarLinks;
|
|
316
|
+
}
|
|
317
|
+
export interface CalendarLinks {
|
|
318
|
+
/** "Add to Google calendar" URL. */
|
|
319
|
+
google?: string;
|
|
320
|
+
/** "Download ICS calendar file" URL. */
|
|
321
|
+
ics?: string;
|
|
322
|
+
}
|
|
323
|
+
export interface RsvpCreated {
|
|
324
|
+
/** RSVP created timestamp in ISO UTC format. */
|
|
325
|
+
timestamp?: Date;
|
|
326
|
+
/** Site language when RSVP created */
|
|
327
|
+
language?: string | null;
|
|
328
|
+
/** Notifications silenced for this domain event. */
|
|
329
|
+
silent?: boolean | null;
|
|
330
|
+
/** Event ID. */
|
|
331
|
+
eventId?: string;
|
|
332
|
+
/** RSVP ID. */
|
|
333
|
+
rsvpId?: string;
|
|
334
|
+
/** Contact ID associated with this RSVP. */
|
|
335
|
+
contactId?: string;
|
|
336
|
+
/** Member ID associated with this RSVP. */
|
|
337
|
+
memberId?: string | null;
|
|
338
|
+
/** Guest first name. */
|
|
339
|
+
firstName?: string;
|
|
340
|
+
/** Guest last name. */
|
|
341
|
+
lastName?: string;
|
|
342
|
+
/** Guest email. */
|
|
343
|
+
email?: string;
|
|
344
|
+
/** RSVP form response. */
|
|
345
|
+
rsvpForm?: FormResponse;
|
|
346
|
+
/** RSVP response status. */
|
|
347
|
+
status?: RsvpStatus;
|
|
348
|
+
/** List of all guests. */
|
|
349
|
+
guests?: Guest[];
|
|
350
|
+
}
|
|
351
|
+
export interface UpdateRsvpRequest {
|
|
352
|
+
/** Event ID. */
|
|
353
|
+
eventId: string;
|
|
354
|
+
/** RSVP ID. */
|
|
355
|
+
rsvpId: string;
|
|
356
|
+
/** Set of field paths, specifying which parts of RSVP to update. */
|
|
357
|
+
fields: string[];
|
|
358
|
+
/** RSVP form response. */
|
|
359
|
+
rsvpForm?: FormResponse;
|
|
360
|
+
/** RSVP response status. */
|
|
361
|
+
status?: RsvpStatus;
|
|
362
|
+
/**
|
|
363
|
+
* Update RSVP options.
|
|
364
|
+
* WIX_EVENTS.MANAGE_RSVP permission is required.
|
|
365
|
+
*/
|
|
366
|
+
options?: ModificationOptions;
|
|
367
|
+
}
|
|
368
|
+
export interface UpdateRsvpResponse {
|
|
369
|
+
/** Updated RSVP. */
|
|
370
|
+
rsvp?: Rsvp;
|
|
371
|
+
}
|
|
372
|
+
export interface RsvpUpdated {
|
|
373
|
+
/** RSVP updated timestamp in ISO UTC format. */
|
|
374
|
+
timestamp?: Date;
|
|
375
|
+
/** Site language when RSVP created */
|
|
376
|
+
language?: string | null;
|
|
377
|
+
/** Event ID. */
|
|
378
|
+
eventId?: string;
|
|
379
|
+
/** RSVP ID. */
|
|
380
|
+
rsvpId?: string;
|
|
381
|
+
/** Contact ID associated with this RSVP. */
|
|
382
|
+
contactId?: string;
|
|
383
|
+
/** Member ID associated with this RSVP. */
|
|
384
|
+
memberId?: string | null;
|
|
385
|
+
/** RSVP created timestamp. */
|
|
386
|
+
created?: Date;
|
|
387
|
+
/** Guest first name. */
|
|
388
|
+
firstName?: string;
|
|
389
|
+
/** Guest last name. */
|
|
390
|
+
lastName?: string;
|
|
391
|
+
/** Guest email. */
|
|
392
|
+
email?: string;
|
|
393
|
+
/** RSVP form response. */
|
|
394
|
+
rsvpForm?: FormResponse;
|
|
395
|
+
/** RSVP response status. */
|
|
396
|
+
status?: RsvpStatus;
|
|
397
|
+
/** List of the guests. */
|
|
398
|
+
guests?: Guest[];
|
|
399
|
+
}
|
|
400
|
+
export interface BulkUpdateRsvpRequest {
|
|
401
|
+
/** Event ID. */
|
|
402
|
+
eventId: string;
|
|
403
|
+
/** RSVPs to update. */
|
|
404
|
+
rsvpId?: string[];
|
|
405
|
+
/** Set of fields to update. */
|
|
406
|
+
fields?: string[];
|
|
407
|
+
/** New RSVP status. */
|
|
408
|
+
status?: RsvpStatus;
|
|
409
|
+
}
|
|
410
|
+
export interface BulkUpdateRsvpResponse {
|
|
411
|
+
/** Updated RSVPs. */
|
|
412
|
+
rsvps?: Rsvp[];
|
|
413
|
+
}
|
|
414
|
+
export interface DeleteRsvpRequest {
|
|
415
|
+
/** Event ID. */
|
|
416
|
+
eventId: string;
|
|
417
|
+
/** RSVPs to delete. When not returned, all RSVPs associated with this event are deleted. */
|
|
418
|
+
rsvps?: string[];
|
|
419
|
+
}
|
|
420
|
+
export interface DeleteRsvpResponse {
|
|
421
|
+
}
|
|
422
|
+
export interface RsvpDeleted {
|
|
423
|
+
/** RSVP deleted timestamp in ISO UTC format. */
|
|
424
|
+
timestamp?: Date;
|
|
425
|
+
/** Event ID. */
|
|
426
|
+
eventId?: string;
|
|
427
|
+
/** RSVP ID. */
|
|
428
|
+
rsvpId?: string;
|
|
429
|
+
/** Contact ID associated with this RSVP. */
|
|
430
|
+
contactId?: string;
|
|
431
|
+
/** Member ID associated with this RSVP. */
|
|
432
|
+
memberId?: string | null;
|
|
433
|
+
/** Whether RSVP was anonymized by GDPR delete. */
|
|
434
|
+
anonymized?: boolean;
|
|
435
|
+
}
|
|
436
|
+
export interface CheckInRsvpRequest {
|
|
437
|
+
/** Event ID. */
|
|
438
|
+
eventId: string;
|
|
439
|
+
/** RSVP ID to check-in. */
|
|
440
|
+
rsvpId: string;
|
|
441
|
+
/** Guest IDs to check-in. */
|
|
442
|
+
guestId?: number[];
|
|
443
|
+
}
|
|
444
|
+
export interface CheckInRsvpResponse {
|
|
445
|
+
/** Updated RSVP. */
|
|
446
|
+
rsvp?: Rsvp;
|
|
447
|
+
}
|
|
448
|
+
export interface DeleteRsvpCheckInRequest {
|
|
449
|
+
/** Event ID. */
|
|
450
|
+
eventId: string;
|
|
451
|
+
/** RSVP ID to delete check-in. */
|
|
452
|
+
rsvpId: string;
|
|
453
|
+
/** Guest IDs to delete check-in. */
|
|
454
|
+
guestId?: number[];
|
|
455
|
+
}
|
|
456
|
+
export interface DeleteRsvpCheckInResponse {
|
|
457
|
+
/** Updated RSVP. */
|
|
458
|
+
rsvp?: Rsvp;
|
|
459
|
+
}
|
|
460
|
+
/**
|
|
461
|
+
* Retrieves a list of up to 100 RSVPs, given the provided [paging](https://dev.wix.com/api/rest/getting-started/pagination), [filtering & sorting](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort#wix-events_wix-events_filter-and-sort_list-query-rsvps).
|
|
462
|
+
* @public
|
|
463
|
+
* @documentationMaturity preview
|
|
464
|
+
*/
|
|
465
|
+
export declare function listRsvp(options?: ListRsvpOptions): Promise<ListRsvpResponse>;
|
|
466
|
+
export interface ListRsvpOptions {
|
|
467
|
+
/** Number of items to skip. See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination). */
|
|
468
|
+
offset?: number;
|
|
469
|
+
/** Number of items to load. See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination). */
|
|
470
|
+
limit?: number;
|
|
471
|
+
/** 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). */
|
|
472
|
+
fieldset?: RsvpFieldset[];
|
|
473
|
+
/** Event ID. */
|
|
474
|
+
eventId?: string[];
|
|
475
|
+
/** RSVP ID. */
|
|
476
|
+
rsvpId?: string[];
|
|
477
|
+
/** RSVP status. */
|
|
478
|
+
status?: RsvpStatus[];
|
|
479
|
+
/** Site member ID. */
|
|
480
|
+
memberId?: string[];
|
|
481
|
+
/**
|
|
482
|
+
* Facet counts to include in the response.
|
|
483
|
+
* See [supported facets](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort#wix-events_wix-events_filter-and-sort_list-query-rsvps).
|
|
484
|
+
*/
|
|
485
|
+
facet?: string[];
|
|
486
|
+
/** Textual search filter - search is performed on "full_name" and "email". */
|
|
487
|
+
searchPhrase?: string;
|
|
488
|
+
/** Event creator id filter, by default any. */
|
|
489
|
+
eventCreatorId?: string[];
|
|
490
|
+
/**
|
|
491
|
+
* Sort order, defaults to `"created:asc"`.
|
|
492
|
+
* See [supported fields](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort#wix-events_wix-events_filter-and-sort_list-query-rsvps).
|
|
493
|
+
*/
|
|
494
|
+
sort?: string;
|
|
495
|
+
/** Contact ID. */
|
|
496
|
+
contactId?: string[];
|
|
497
|
+
/** RSVP tag */
|
|
498
|
+
tag?: RsvpTag[];
|
|
499
|
+
}
|
|
500
|
+
/**
|
|
501
|
+
* Retrieves a list of up to 100 RSVPs, supporting [structurized queries](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort#wix-events_wix-events_filter-and-sort_list-query-rsvps).
|
|
502
|
+
* @public
|
|
503
|
+
* @documentationMaturity preview
|
|
504
|
+
*/
|
|
505
|
+
export declare function queryRsvp(options?: QueryRsvpOptions): Promise<QueryRsvpResponse>;
|
|
506
|
+
export interface QueryRsvpOptions {
|
|
507
|
+
/** Offset. See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination). */
|
|
508
|
+
offset?: number;
|
|
509
|
+
/** Limit. See [Pagination](https://dev.wix.com/api/rest/getting-started/pagination). */
|
|
510
|
+
limit?: number;
|
|
511
|
+
/** 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). */
|
|
512
|
+
fieldset?: RsvpFieldset[];
|
|
513
|
+
/** Filter. See [supported fields and operators](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort#wix-events_wix-events_filter-and-sort_list-query-rsvps). */
|
|
514
|
+
filter?: Record<string, any> | null;
|
|
515
|
+
/** Site member ID. */
|
|
516
|
+
memberId?: string[];
|
|
517
|
+
/**
|
|
518
|
+
* Filter facets to include in the response.
|
|
519
|
+
* See [supported facets](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort#wix-events_wix-events_filter-and-sort_list-query-rsvps).
|
|
520
|
+
*/
|
|
521
|
+
facet?: string[];
|
|
522
|
+
/** Textual search filter - search is performed on "guests.full_name". */
|
|
523
|
+
searchPhrase?: string;
|
|
524
|
+
/** Event creator ID. */
|
|
525
|
+
eventCreatorId?: string[];
|
|
526
|
+
/**
|
|
527
|
+
* Sort order, defaults to `"created:asc"`.
|
|
528
|
+
* See [supported fields](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort#wix-events_wix-events_filter-and-sort_list-query-rsvps).
|
|
529
|
+
*/
|
|
530
|
+
sort?: string;
|
|
531
|
+
/** Contact ID. */
|
|
532
|
+
contactId?: string[];
|
|
533
|
+
/** RSVP tag */
|
|
534
|
+
tag?: RsvpTag[];
|
|
535
|
+
}
|
|
536
|
+
/**
|
|
537
|
+
* Retrieves an RSVP.
|
|
538
|
+
* @param rsvpId - RSVP ID.
|
|
539
|
+
* @public
|
|
540
|
+
* @documentationMaturity preview
|
|
541
|
+
* @requiredField rsvpId
|
|
542
|
+
*/
|
|
543
|
+
export declare function getRsvp(rsvpId: string, options?: GetRsvpOptions): Promise<GetRsvpResponse>;
|
|
544
|
+
export interface GetRsvpOptions {
|
|
545
|
+
/** Event ID. */
|
|
546
|
+
eventId?: string;
|
|
547
|
+
/** 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). */
|
|
548
|
+
fieldset?: RsvpFieldset[];
|
|
549
|
+
}
|
|
550
|
+
/**
|
|
551
|
+
* Creates an RSVP, associated with a contact of the site.
|
|
552
|
+
* @public
|
|
553
|
+
* @documentationMaturity preview
|
|
554
|
+
*/
|
|
555
|
+
export declare function createRsvp(options?: CreateRsvpOptions): Promise<CreateRsvpResponse>;
|
|
556
|
+
export interface CreateRsvpOptions {
|
|
557
|
+
/** Event ID. */
|
|
558
|
+
eventId?: string;
|
|
559
|
+
/** RSVP form response. */
|
|
560
|
+
form?: FormResponse;
|
|
561
|
+
/** RSVP status. */
|
|
562
|
+
status?: RsvpStatus;
|
|
563
|
+
/** Member ID of the RSVP. */
|
|
564
|
+
memberId?: string | null;
|
|
565
|
+
/**
|
|
566
|
+
* Create RSVP options.
|
|
567
|
+
* WIX_EVENTS.MANAGE_RSVP permission is required.
|
|
568
|
+
*/
|
|
569
|
+
options?: ModificationOptions;
|
|
570
|
+
}
|
|
571
|
+
/**
|
|
572
|
+
* Updates an RSVP. See [partial updates](https://dev.wix.com/api/wix-events/partial-updates).
|
|
573
|
+
* @param rsvpId - RSVP ID.
|
|
574
|
+
* @param eventId - Event ID.
|
|
575
|
+
* @public
|
|
576
|
+
* @documentationMaturity preview
|
|
577
|
+
* @requiredField eventId
|
|
578
|
+
* @requiredField options.fields
|
|
579
|
+
* @requiredField rsvpId
|
|
580
|
+
*/
|
|
581
|
+
export declare function updateRsvp(rsvpId: string, eventId: string, options?: UpdateRsvpOptions): Promise<UpdateRsvpResponse>;
|
|
582
|
+
export interface UpdateRsvpOptions {
|
|
583
|
+
/** Set of field paths, specifying which parts of RSVP to update. */
|
|
584
|
+
fields: string[];
|
|
585
|
+
/** RSVP form response. */
|
|
586
|
+
rsvpForm?: FormResponse;
|
|
587
|
+
/** RSVP response status. */
|
|
588
|
+
status?: RsvpStatus;
|
|
589
|
+
/**
|
|
590
|
+
* Update RSVP options.
|
|
591
|
+
* WIX_EVENTS.MANAGE_RSVP permission is required.
|
|
592
|
+
*/
|
|
593
|
+
options?: ModificationOptions;
|
|
594
|
+
}
|
|
595
|
+
/**
|
|
596
|
+
* Updates multiple RSVPs - status only.
|
|
597
|
+
* @param eventId - Event ID.
|
|
598
|
+
* @public
|
|
599
|
+
* @documentationMaturity preview
|
|
600
|
+
* @requiredField eventId
|
|
601
|
+
*/
|
|
602
|
+
export declare function bulkUpdateRsvp(eventId: string, options?: BulkUpdateRsvpOptions): Promise<BulkUpdateRsvpResponse>;
|
|
603
|
+
export interface BulkUpdateRsvpOptions {
|
|
604
|
+
/** RSVPs to update. */
|
|
605
|
+
rsvpId?: string[];
|
|
606
|
+
/** Set of fields to update. */
|
|
607
|
+
fields?: string[];
|
|
608
|
+
/** New RSVP status. */
|
|
609
|
+
status?: RsvpStatus;
|
|
610
|
+
}
|
|
611
|
+
/**
|
|
612
|
+
* Deletes an RSVP.
|
|
613
|
+
* @param eventId - Event ID.
|
|
614
|
+
* @public
|
|
615
|
+
* @documentationMaturity preview
|
|
616
|
+
* @requiredField eventId
|
|
617
|
+
*/
|
|
618
|
+
export declare function deleteRsvp(eventId: string, options?: DeleteRsvpOptions): Promise<void>;
|
|
619
|
+
export interface DeleteRsvpOptions {
|
|
620
|
+
/** RSVPs to delete. When not returned, all RSVPs associated with this event are deleted. */
|
|
621
|
+
rsvps?: string[];
|
|
622
|
+
}
|
|
623
|
+
/**
|
|
624
|
+
* Checks-in an RSVP.
|
|
625
|
+
* @param eventId - Event ID.
|
|
626
|
+
* @public
|
|
627
|
+
* @documentationMaturity preview
|
|
628
|
+
* @requiredField eventId
|
|
629
|
+
* @requiredField options.rsvpId
|
|
630
|
+
*/
|
|
631
|
+
export declare function checkInRsvp(eventId: string, options?: CheckInRsvpOptions): Promise<CheckInRsvpResponse>;
|
|
632
|
+
export interface CheckInRsvpOptions {
|
|
633
|
+
/** RSVP ID to check-in. */
|
|
634
|
+
rsvpId: string;
|
|
635
|
+
/** Guest IDs to check-in. */
|
|
636
|
+
guestId?: number[];
|
|
637
|
+
}
|
|
638
|
+
/**
|
|
639
|
+
* Deletes an RSVP check-in.
|
|
640
|
+
* @param eventId - Event ID.
|
|
641
|
+
* @public
|
|
642
|
+
* @documentationMaturity preview
|
|
643
|
+
* @requiredField eventId
|
|
644
|
+
* @requiredField options.rsvpId
|
|
645
|
+
*/
|
|
646
|
+
export declare function deleteRsvpCheckIn(eventId: string, options?: DeleteRsvpCheckInOptions): Promise<DeleteRsvpCheckInResponse>;
|
|
647
|
+
export interface DeleteRsvpCheckInOptions {
|
|
648
|
+
/** RSVP ID to delete check-in. */
|
|
649
|
+
rsvpId: string;
|
|
650
|
+
/** Guest IDs to delete check-in. */
|
|
651
|
+
guestId?: number[];
|
|
652
|
+
}
|