@wix/auto_sdk_events_notifications 1.0.21 → 1.0.22
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/{internal/cjs/src/events-notifications-v2-notification-config-notifications.universal.d.ts → events-notifications-v2-notification-config-notifications.universal-D-36kOt1.d.mts} +326 -430
- package/build/{cjs/src/events-notifications-v2-notification-config-notifications.universal.d.ts → events-notifications-v2-notification-config-notifications.universal-D-36kOt1.d.ts} +326 -430
- package/build/index.d.mts +39 -0
- package/build/index.d.ts +39 -0
- package/build/index.js +858 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +779 -0
- package/build/index.mjs.map +1 -0
- package/build/internal/{es/src/events-notifications-v2-notification-config-notifications.universal.d.ts → events-notifications-v2-notification-config-notifications.universal-D-36kOt1.d.mts} +326 -430
- package/build/{es/src/events-notifications-v2-notification-config-notifications.universal.d.ts → internal/events-notifications-v2-notification-config-notifications.universal-D-36kOt1.d.ts} +326 -430
- package/build/internal/index.d.mts +39 -0
- package/build/internal/index.d.ts +39 -0
- package/build/internal/index.js +858 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +779 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/internal/meta.d.mts +267 -0
- package/build/internal/meta.d.ts +267 -0
- package/build/internal/meta.js +258 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +229 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/meta.d.mts +267 -0
- package/build/meta.d.ts +267 -0
- package/build/meta.js +258 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +229 -0
- package/build/meta.mjs.map +1 -0
- package/package.json +12 -11
- package/build/cjs/index.d.ts +0 -1
- package/build/cjs/index.js +0 -18
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/index.typings.d.ts +0 -1
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/meta.d.ts +0 -1
- package/build/cjs/meta.js +0 -18
- package/build/cjs/meta.js.map +0 -1
- package/build/cjs/src/events-notifications-v2-notification-config-notifications.context.d.ts +0 -14
- package/build/cjs/src/events-notifications-v2-notification-config-notifications.context.js +0 -69
- package/build/cjs/src/events-notifications-v2-notification-config-notifications.context.js.map +0 -1
- package/build/cjs/src/events-notifications-v2-notification-config-notifications.http.d.ts +0 -7
- package/build/cjs/src/events-notifications-v2-notification-config-notifications.http.js +0 -168
- package/build/cjs/src/events-notifications-v2-notification-config-notifications.http.js.map +0 -1
- package/build/cjs/src/events-notifications-v2-notification-config-notifications.meta.d.ts +0 -19
- package/build/cjs/src/events-notifications-v2-notification-config-notifications.meta.js +0 -87
- package/build/cjs/src/events-notifications-v2-notification-config-notifications.meta.js.map +0 -1
- package/build/cjs/src/events-notifications-v2-notification-config-notifications.public.d.ts +0 -31
- package/build/cjs/src/events-notifications-v2-notification-config-notifications.public.js +0 -101
- package/build/cjs/src/events-notifications-v2-notification-config-notifications.public.js.map +0 -1
- package/build/cjs/src/events-notifications-v2-notification-config-notifications.types.d.ts +0 -3737
- package/build/cjs/src/events-notifications-v2-notification-config-notifications.types.js +0 -571
- package/build/cjs/src/events-notifications-v2-notification-config-notifications.types.js.map +0 -1
- package/build/cjs/src/events-notifications-v2-notification-config-notifications.universal.js +0 -732
- package/build/cjs/src/events-notifications-v2-notification-config-notifications.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/src/events-notifications-v2-notification-config-notifications.context.d.ts +0 -14
- package/build/es/src/events-notifications-v2-notification-config-notifications.context.js +0 -14
- package/build/es/src/events-notifications-v2-notification-config-notifications.context.js.map +0 -1
- package/build/es/src/events-notifications-v2-notification-config-notifications.http.d.ts +0 -7
- package/build/es/src/events-notifications-v2-notification-config-notifications.http.js +0 -162
- package/build/es/src/events-notifications-v2-notification-config-notifications.http.js.map +0 -1
- package/build/es/src/events-notifications-v2-notification-config-notifications.meta.d.ts +0 -19
- package/build/es/src/events-notifications-v2-notification-config-notifications.meta.js +0 -58
- package/build/es/src/events-notifications-v2-notification-config-notifications.meta.js.map +0 -1
- package/build/es/src/events-notifications-v2-notification-config-notifications.public.d.ts +0 -31
- package/build/es/src/events-notifications-v2-notification-config-notifications.public.js +0 -43
- package/build/es/src/events-notifications-v2-notification-config-notifications.public.js.map +0 -1
- package/build/es/src/events-notifications-v2-notification-config-notifications.types.d.ts +0 -3737
- package/build/es/src/events-notifications-v2-notification-config-notifications.types.js +0 -567
- package/build/es/src/events-notifications-v2-notification-config-notifications.types.js.map +0 -1
- package/build/es/src/events-notifications-v2-notification-config-notifications.universal.js +0 -702
- package/build/es/src/events-notifications-v2-notification-config-notifications.universal.js.map +0 -1
- package/build/internal/cjs/index.d.ts +0 -1
- package/build/internal/cjs/index.js +0 -18
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -1
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.d.ts +0 -1
- package/build/internal/cjs/meta.js +0 -18
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.context.d.ts +0 -14
- package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.context.js +0 -69
- package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.context.js.map +0 -1
- package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.http.d.ts +0 -7
- package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.http.js +0 -168
- package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.http.js.map +0 -1
- package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.meta.d.ts +0 -19
- package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.meta.js +0 -87
- package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.meta.js.map +0 -1
- package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.public.d.ts +0 -31
- package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.public.js +0 -101
- package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.public.js.map +0 -1
- package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.types.d.ts +0 -3737
- package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.types.js +0 -571
- package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.types.js.map +0 -1
- package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.universal.js +0 -732
- package/build/internal/cjs/src/events-notifications-v2-notification-config-notifications.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -1
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/events-notifications-v2-notification-config-notifications.context.d.ts +0 -14
- package/build/internal/es/src/events-notifications-v2-notification-config-notifications.context.js +0 -14
- package/build/internal/es/src/events-notifications-v2-notification-config-notifications.context.js.map +0 -1
- package/build/internal/es/src/events-notifications-v2-notification-config-notifications.http.d.ts +0 -7
- package/build/internal/es/src/events-notifications-v2-notification-config-notifications.http.js +0 -162
- package/build/internal/es/src/events-notifications-v2-notification-config-notifications.http.js.map +0 -1
- package/build/internal/es/src/events-notifications-v2-notification-config-notifications.meta.d.ts +0 -19
- package/build/internal/es/src/events-notifications-v2-notification-config-notifications.meta.js +0 -58
- package/build/internal/es/src/events-notifications-v2-notification-config-notifications.meta.js.map +0 -1
- package/build/internal/es/src/events-notifications-v2-notification-config-notifications.public.d.ts +0 -31
- package/build/internal/es/src/events-notifications-v2-notification-config-notifications.public.js +0 -43
- package/build/internal/es/src/events-notifications-v2-notification-config-notifications.public.js.map +0 -1
- package/build/internal/es/src/events-notifications-v2-notification-config-notifications.types.d.ts +0 -3737
- package/build/internal/es/src/events-notifications-v2-notification-config-notifications.types.js +0 -567
- package/build/internal/es/src/events-notifications-v2-notification-config-notifications.types.js.map +0 -1
- package/build/internal/es/src/events-notifications-v2-notification-config-notifications.universal.js +0 -702
- package/build/internal/es/src/events-notifications-v2-notification-config-notifications.universal.js.map +0 -1
|
@@ -1,3737 +0,0 @@
|
|
|
1
|
-
export interface NotificationConfig {
|
|
2
|
-
/**
|
|
3
|
-
* Event ID.
|
|
4
|
-
* @format GUID
|
|
5
|
-
* @immutable
|
|
6
|
-
*/
|
|
7
|
-
id?: string | null;
|
|
8
|
-
/**
|
|
9
|
-
* Represents the current state of an item. Each time the item is modified, its `revision` changes. for an update operation to succeed, you MUST pass the latest revision.
|
|
10
|
-
* @immutable
|
|
11
|
-
*/
|
|
12
|
-
revision?: string | null;
|
|
13
|
-
/**
|
|
14
|
-
* Represents the time this NotificationConfig was created.
|
|
15
|
-
* @readonly
|
|
16
|
-
*/
|
|
17
|
-
createdDate?: Date | null;
|
|
18
|
-
/**
|
|
19
|
-
* Represents the time this NotificationConfig was last updated.
|
|
20
|
-
* @readonly
|
|
21
|
-
*/
|
|
22
|
-
updatedDate?: Date | null;
|
|
23
|
-
/** Rsvp confirmation. */
|
|
24
|
-
rsvpConfirmation?: EmailNotificationConfig;
|
|
25
|
-
/** New spots available. */
|
|
26
|
-
newSpotsAvailable?: EmailNotificationConfig;
|
|
27
|
-
/** Event cancelation. */
|
|
28
|
-
eventCancelation?: EmailNotificationConfig;
|
|
29
|
-
/** Event reminder. */
|
|
30
|
-
upcomingEventReminder?: EmailNotificationConfig;
|
|
31
|
-
/** Order confirmation. */
|
|
32
|
-
orderConfirmation?: EmailNotificationConfig;
|
|
33
|
-
/** Ticket confirmation. */
|
|
34
|
-
ticketConfirmation?: EmailNotificationConfig;
|
|
35
|
-
/** Invoice. */
|
|
36
|
-
invoice?: EmailNotificationConfig;
|
|
37
|
-
/** Order confirmation with tickets link. */
|
|
38
|
-
orderConfirmationWithTicketsLink?: EmailNotificationConfig;
|
|
39
|
-
}
|
|
40
|
-
export interface EmailNotificationConfig {
|
|
41
|
-
/**
|
|
42
|
-
* Predefined id of the notification type.
|
|
43
|
-
* @readonly
|
|
44
|
-
*/
|
|
45
|
-
notificationType?: EmailNotificationTypeWithLiterals;
|
|
46
|
-
/** Email template values. */
|
|
47
|
-
template?: EmailTemplate;
|
|
48
|
-
/**
|
|
49
|
-
* Desired timing of the notification in hours respectfully to event start time.
|
|
50
|
-
* For example if value is 0 then notification is sent at the start of the event.
|
|
51
|
-
*/
|
|
52
|
-
reminderTime?: EmailNotificationReminderTimeWithLiterals;
|
|
53
|
-
/** When true the notification will be sent when certain trigger occurs. */
|
|
54
|
-
sendingEnabled?: boolean | null;
|
|
55
|
-
}
|
|
56
|
-
export declare enum EmailNotificationType {
|
|
57
|
-
/** Default value. This value is unused. */
|
|
58
|
-
UNKNOWN_NOTIFICATION_TYPE = "UNKNOWN_NOTIFICATION_TYPE",
|
|
59
|
-
/** Triggered when site user RSVP to the event. */
|
|
60
|
-
EMAIL_RSVP_CONFIRMATION = "EMAIL_RSVP_CONFIRMATION",
|
|
61
|
-
/** Triggered for waiting guests when additional RSVP spots appears in the fully booked event. */
|
|
62
|
-
EMAIL_NEW_SPOTS_AVAILABLE = "EMAIL_NEW_SPOTS_AVAILABLE",
|
|
63
|
-
/** Triggered when event is canceled. */
|
|
64
|
-
EMAIL_EVENT_CANCELATION = "EMAIL_EVENT_CANCELATION",
|
|
65
|
-
/** Triggered before the event start time. */
|
|
66
|
-
EMAIL_UPCOMING_EVENT_REMINDER = "EMAIL_UPCOMING_EVENT_REMINDER",
|
|
67
|
-
/** Triggered when site user creates Order. */
|
|
68
|
-
EMAIL_ORDER_CONFIRMATION = "EMAIL_ORDER_CONFIRMATION",
|
|
69
|
-
/** Triggered when resending ticket to ticket holder. */
|
|
70
|
-
EMAIL_TICKET_CONFIRMATION = "EMAIL_TICKET_CONFIRMATION",
|
|
71
|
-
/** Triggered when sending invoice. Currently only `enabled` flag update is supported. */
|
|
72
|
-
EMAIL_INVOICE = "EMAIL_INVOICE"
|
|
73
|
-
}
|
|
74
|
-
/** @enumType */
|
|
75
|
-
export type EmailNotificationTypeWithLiterals = EmailNotificationType | 'UNKNOWN_NOTIFICATION_TYPE' | 'EMAIL_RSVP_CONFIRMATION' | 'EMAIL_NEW_SPOTS_AVAILABLE' | 'EMAIL_EVENT_CANCELATION' | 'EMAIL_UPCOMING_EVENT_REMINDER' | 'EMAIL_ORDER_CONFIRMATION' | 'EMAIL_TICKET_CONFIRMATION' | 'EMAIL_INVOICE';
|
|
76
|
-
export interface EmailTemplate {
|
|
77
|
-
/**
|
|
78
|
-
* Email subject.
|
|
79
|
-
* @minLength 1
|
|
80
|
-
* @maxLength 100
|
|
81
|
-
*/
|
|
82
|
-
subject?: string | null;
|
|
83
|
-
/**
|
|
84
|
-
* Plain text message body.
|
|
85
|
-
* @minLength 1
|
|
86
|
-
* @maxLength 1000
|
|
87
|
-
*/
|
|
88
|
-
body?: string | null;
|
|
89
|
-
/** Description link visibility and display text */
|
|
90
|
-
descriptionLink?: Link;
|
|
91
|
-
/** Calendar link visibility and display text */
|
|
92
|
-
calendarLink?: Link;
|
|
93
|
-
/** Online conferencing link visibility and display text */
|
|
94
|
-
onlineConferencingLink?: Link;
|
|
95
|
-
/** When true the tickets are attached to the order confirmation email. */
|
|
96
|
-
includeTickets?: boolean | null;
|
|
97
|
-
}
|
|
98
|
-
export interface Link {
|
|
99
|
-
/** When true the link is added to the email. */
|
|
100
|
-
display?: boolean | null;
|
|
101
|
-
/**
|
|
102
|
-
* Text of the link.
|
|
103
|
-
* @maxLength 60
|
|
104
|
-
*/
|
|
105
|
-
linkText?: string | null;
|
|
106
|
-
}
|
|
107
|
-
export declare enum EmailNotificationReminderTime {
|
|
108
|
-
/** Default value. This value is unused. */
|
|
109
|
-
UNKNOWN_REMINDER_TIME = "UNKNOWN_REMINDER_TIME",
|
|
110
|
-
/** Notification is sent instantly */
|
|
111
|
-
INSTANT = "INSTANT",
|
|
112
|
-
/** 24 hours prior */
|
|
113
|
-
BEFORE_1_DAY = "BEFORE_1_DAY",
|
|
114
|
-
/** 3 days prior */
|
|
115
|
-
BEFORE_3_DAYS = "BEFORE_3_DAYS",
|
|
116
|
-
/** 7 days prior */
|
|
117
|
-
BEFORE_1_WEEK = "BEFORE_1_WEEK",
|
|
118
|
-
/** 1 hour prior */
|
|
119
|
-
BEFORE_1_HOUR = "BEFORE_1_HOUR",
|
|
120
|
-
/** 30 minutes prior */
|
|
121
|
-
BEFORE_30_MINUTES = "BEFORE_30_MINUTES"
|
|
122
|
-
}
|
|
123
|
-
/** @enumType */
|
|
124
|
-
export type EmailNotificationReminderTimeWithLiterals = EmailNotificationReminderTime | 'UNKNOWN_REMINDER_TIME' | 'INSTANT' | 'BEFORE_1_DAY' | 'BEFORE_3_DAYS' | 'BEFORE_1_WEEK' | 'BEFORE_1_HOUR' | 'BEFORE_30_MINUTES';
|
|
125
|
-
export interface TriggerNotificationRequest extends TriggerNotificationRequestNotificationOneOf, TriggerNotificationRequestGuestsOneOf {
|
|
126
|
-
/** Email notification type */
|
|
127
|
-
emailNotificationType?: EmailNotificationTypeWithLiterals;
|
|
128
|
-
/** Push notification type */
|
|
129
|
-
pushNotificationType?: PushNotificationTypeWithLiterals;
|
|
130
|
-
/** Rsvp guest info */
|
|
131
|
-
rsvpGuest?: RsvpGuest;
|
|
132
|
-
/** Order guest info */
|
|
133
|
-
orderGuest?: OrderGuest;
|
|
134
|
-
/** Event guests info */
|
|
135
|
-
eventGuests?: EventGuests;
|
|
136
|
-
/** Ticket guests info */
|
|
137
|
-
ticketGuest?: TicketGuest;
|
|
138
|
-
}
|
|
139
|
-
/** @oneof */
|
|
140
|
-
export interface TriggerNotificationRequestNotificationOneOf {
|
|
141
|
-
/** Email notification type */
|
|
142
|
-
emailNotificationType?: EmailNotificationTypeWithLiterals;
|
|
143
|
-
/** Push notification type */
|
|
144
|
-
pushNotificationType?: PushNotificationTypeWithLiterals;
|
|
145
|
-
}
|
|
146
|
-
/** @oneof */
|
|
147
|
-
export interface TriggerNotificationRequestGuestsOneOf {
|
|
148
|
-
/** Rsvp guest info */
|
|
149
|
-
rsvpGuest?: RsvpGuest;
|
|
150
|
-
/** Order guest info */
|
|
151
|
-
orderGuest?: OrderGuest;
|
|
152
|
-
/** Event guests info */
|
|
153
|
-
eventGuests?: EventGuests;
|
|
154
|
-
/** Ticket guests info */
|
|
155
|
-
ticketGuest?: TicketGuest;
|
|
156
|
-
}
|
|
157
|
-
export declare enum PushNotificationType {
|
|
158
|
-
/** This is default value. This value is unused. */
|
|
159
|
-
UNKNOWN_PUSH_TYPE = "UNKNOWN_PUSH_TYPE",
|
|
160
|
-
/** Triggered when event is updated. */
|
|
161
|
-
PUSH_EVENT_UPDATED = "PUSH_EVENT_UPDATED",
|
|
162
|
-
/** Triggered when event is canceled. */
|
|
163
|
-
PUSH_EVENT_CANCELATION = "PUSH_EVENT_CANCELATION",
|
|
164
|
-
/** Triggered before the event start time. */
|
|
165
|
-
PUSH_UPCOMING_EVENT_REMINDER = "PUSH_UPCOMING_EVENT_REMINDER",
|
|
166
|
-
/** Triggered when event is created. */
|
|
167
|
-
PUSH_EVENT_CREATED = "PUSH_EVENT_CREATED"
|
|
168
|
-
}
|
|
169
|
-
/** @enumType */
|
|
170
|
-
export type PushNotificationTypeWithLiterals = PushNotificationType | 'UNKNOWN_PUSH_TYPE' | 'PUSH_EVENT_UPDATED' | 'PUSH_EVENT_CANCELATION' | 'PUSH_UPCOMING_EVENT_REMINDER' | 'PUSH_EVENT_CREATED';
|
|
171
|
-
/** Single guest associated to the RSVP */
|
|
172
|
-
export interface RsvpGuest {
|
|
173
|
-
/**
|
|
174
|
-
* Event id
|
|
175
|
-
* @format GUID
|
|
176
|
-
*/
|
|
177
|
-
eventId?: string;
|
|
178
|
-
/**
|
|
179
|
-
* Rsvp id
|
|
180
|
-
* @format GUID
|
|
181
|
-
*/
|
|
182
|
-
rsvpId?: string;
|
|
183
|
-
}
|
|
184
|
-
/** Single guest associated to the Order */
|
|
185
|
-
export interface OrderGuest {
|
|
186
|
-
/**
|
|
187
|
-
* Event id
|
|
188
|
-
* @format GUID
|
|
189
|
-
*/
|
|
190
|
-
eventId?: string;
|
|
191
|
-
/**
|
|
192
|
-
* Order number
|
|
193
|
-
* @maxLength 36
|
|
194
|
-
*/
|
|
195
|
-
orderNumber?: string;
|
|
196
|
-
}
|
|
197
|
-
/** All event guest from RSVPs and Orders */
|
|
198
|
-
export interface EventGuests {
|
|
199
|
-
/**
|
|
200
|
-
* Event id
|
|
201
|
-
* @format GUID
|
|
202
|
-
*/
|
|
203
|
-
eventId?: string;
|
|
204
|
-
}
|
|
205
|
-
/** Multiple guests associated to Tickets */
|
|
206
|
-
export interface TicketGuest {
|
|
207
|
-
/**
|
|
208
|
-
* Event id
|
|
209
|
-
* @format GUID
|
|
210
|
-
*/
|
|
211
|
-
eventId?: string;
|
|
212
|
-
/**
|
|
213
|
-
* Order number
|
|
214
|
-
* @maxLength 36
|
|
215
|
-
*/
|
|
216
|
-
orderNumber?: string | null;
|
|
217
|
-
/**
|
|
218
|
-
* Ticket numbers must be from the same order only.
|
|
219
|
-
* @minSize 1
|
|
220
|
-
* @maxSize 100
|
|
221
|
-
* @maxLength 36
|
|
222
|
-
*/
|
|
223
|
-
ticketNumber?: string[];
|
|
224
|
-
}
|
|
225
|
-
export interface TriggerNotificationResponse {
|
|
226
|
-
}
|
|
227
|
-
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
228
|
-
createdEvent?: EntityCreatedEvent;
|
|
229
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
230
|
-
deletedEvent?: EntityDeletedEvent;
|
|
231
|
-
actionEvent?: ActionEvent;
|
|
232
|
-
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
233
|
-
id?: string;
|
|
234
|
-
/**
|
|
235
|
-
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
236
|
-
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
237
|
-
*/
|
|
238
|
-
entityFqdn?: string;
|
|
239
|
-
/**
|
|
240
|
-
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
241
|
-
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
242
|
-
*/
|
|
243
|
-
slug?: string;
|
|
244
|
-
/** ID of the entity associated with the event. */
|
|
245
|
-
entityId?: string;
|
|
246
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
247
|
-
eventTime?: Date | null;
|
|
248
|
-
/**
|
|
249
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
250
|
-
* (for example, GDPR).
|
|
251
|
-
*/
|
|
252
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
253
|
-
/** If present, indicates the action that triggered the event. */
|
|
254
|
-
originatedFrom?: string | null;
|
|
255
|
-
/**
|
|
256
|
-
* 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.
|
|
257
|
-
* 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.
|
|
258
|
-
*/
|
|
259
|
-
entityEventSequence?: string | null;
|
|
260
|
-
}
|
|
261
|
-
/** @oneof */
|
|
262
|
-
export interface DomainEventBodyOneOf {
|
|
263
|
-
createdEvent?: EntityCreatedEvent;
|
|
264
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
265
|
-
deletedEvent?: EntityDeletedEvent;
|
|
266
|
-
actionEvent?: ActionEvent;
|
|
267
|
-
}
|
|
268
|
-
export interface EntityCreatedEvent {
|
|
269
|
-
entityAsJson?: string;
|
|
270
|
-
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
271
|
-
restoreInfo?: RestoreInfo;
|
|
272
|
-
}
|
|
273
|
-
export interface RestoreInfo {
|
|
274
|
-
deletedDate?: Date | null;
|
|
275
|
-
}
|
|
276
|
-
export interface EntityUpdatedEvent {
|
|
277
|
-
/**
|
|
278
|
-
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
279
|
-
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
280
|
-
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
281
|
-
*/
|
|
282
|
-
currentEntityAsJson?: string;
|
|
283
|
-
}
|
|
284
|
-
export interface EntityDeletedEvent {
|
|
285
|
-
/** Entity that was deleted. */
|
|
286
|
-
deletedEntityAsJson?: string | null;
|
|
287
|
-
}
|
|
288
|
-
export interface ActionEvent {
|
|
289
|
-
bodyAsJson?: string;
|
|
290
|
-
}
|
|
291
|
-
export interface Empty {
|
|
292
|
-
}
|
|
293
|
-
export interface EventUpdated {
|
|
294
|
-
/** Event update timestamp in ISO UTC format. */
|
|
295
|
-
timestamp?: Date | null;
|
|
296
|
-
/**
|
|
297
|
-
* Event ID.
|
|
298
|
-
* @format GUID
|
|
299
|
-
*/
|
|
300
|
-
eventId?: string;
|
|
301
|
-
/** Event location. */
|
|
302
|
-
location?: Location;
|
|
303
|
-
/** Event schedule configuration. */
|
|
304
|
-
scheduleConfig?: ScheduleConfig;
|
|
305
|
-
/** Event title. */
|
|
306
|
-
title?: string;
|
|
307
|
-
/**
|
|
308
|
-
* Whether schedule configuration was updated.
|
|
309
|
-
* @deprecated
|
|
310
|
-
*/
|
|
311
|
-
scheduleConfigUpdated?: boolean;
|
|
312
|
-
/** Updated event */
|
|
313
|
-
event?: Event;
|
|
314
|
-
}
|
|
315
|
-
export interface Location {
|
|
316
|
-
/**
|
|
317
|
-
* Location name.
|
|
318
|
-
* @maxLength 50
|
|
319
|
-
*/
|
|
320
|
-
name?: string | null;
|
|
321
|
-
/** Location map coordinates. */
|
|
322
|
-
coordinates?: MapCoordinates;
|
|
323
|
-
/**
|
|
324
|
-
* Single line address representation.
|
|
325
|
-
* @maxLength 300
|
|
326
|
-
*/
|
|
327
|
-
address?: string | null;
|
|
328
|
-
/** Location type. */
|
|
329
|
-
type?: LocationTypeWithLiterals;
|
|
330
|
-
/**
|
|
331
|
-
* Full address derived from formatted single line `address`.
|
|
332
|
-
* When `full_address` is used to create or update the event, deprecated `address` and `coordinates` are ignored.
|
|
333
|
-
* If provided `full_address` has empty `formatted_address` or `coordinates`, it will be auto-completed using Atlas service.
|
|
334
|
-
*
|
|
335
|
-
* Migration notes:
|
|
336
|
-
* - `full_address.formatted_address` is equivalent to `address`.
|
|
337
|
-
* - `full_address.geocode` is equivalent to `coordinates`.
|
|
338
|
-
*/
|
|
339
|
-
fullAddress?: Address;
|
|
340
|
-
/**
|
|
341
|
-
* Defines event location as TBD (To Be Determined).
|
|
342
|
-
* When event location is not yet defined, `name` is displayed instead of location address.
|
|
343
|
-
* `coordinates`, `address`, `type` and `full_address` are not required when location is TBD.
|
|
344
|
-
*/
|
|
345
|
-
tbd?: boolean | null;
|
|
346
|
-
}
|
|
347
|
-
export interface MapCoordinates {
|
|
348
|
-
/**
|
|
349
|
-
* Latitude.
|
|
350
|
-
* @min -90
|
|
351
|
-
* @max 90
|
|
352
|
-
*/
|
|
353
|
-
lat?: number;
|
|
354
|
-
/**
|
|
355
|
-
* Longitude.
|
|
356
|
-
* @min -180
|
|
357
|
-
* @max 180
|
|
358
|
-
*/
|
|
359
|
-
lng?: number;
|
|
360
|
-
}
|
|
361
|
-
export declare enum LocationType {
|
|
362
|
-
VENUE = "VENUE",
|
|
363
|
-
ONLINE = "ONLINE"
|
|
364
|
-
}
|
|
365
|
-
/** @enumType */
|
|
366
|
-
export type LocationTypeWithLiterals = LocationType | 'VENUE' | 'ONLINE';
|
|
367
|
-
/** Physical address */
|
|
368
|
-
export interface Address extends AddressStreetOneOf {
|
|
369
|
-
/** a break down of the street to number and street name */
|
|
370
|
-
streetAddress?: StreetAddress;
|
|
371
|
-
/** Main address line (usually street and number) as free text */
|
|
372
|
-
addressLine?: string | null;
|
|
373
|
-
/**
|
|
374
|
-
* country code
|
|
375
|
-
* @format COUNTRY
|
|
376
|
-
*/
|
|
377
|
-
country?: string | null;
|
|
378
|
-
/** subdivision (usually state or region) code according to ISO 3166-2 */
|
|
379
|
-
subdivision?: string | null;
|
|
380
|
-
/** city name */
|
|
381
|
-
city?: string | null;
|
|
382
|
-
/** zip/postal code */
|
|
383
|
-
postalCode?: string | null;
|
|
384
|
-
/** Free text providing more detailed address info. Usually contains Apt, Suite, Floor */
|
|
385
|
-
addressLine2?: string | null;
|
|
386
|
-
/** A string containing the human-readable address of this location */
|
|
387
|
-
formattedAddress?: string | null;
|
|
388
|
-
/** Free text for human-to-human textual orientation aid purposes */
|
|
389
|
-
hint?: string | null;
|
|
390
|
-
/** coordinates of the physical address */
|
|
391
|
-
geocode?: AddressLocation;
|
|
392
|
-
/** country full-name */
|
|
393
|
-
countryFullname?: string | null;
|
|
394
|
-
/**
|
|
395
|
-
* multi-level subdivisions from top to bottom
|
|
396
|
-
* @maxSize 6
|
|
397
|
-
*/
|
|
398
|
-
subdivisions?: Subdivision[];
|
|
399
|
-
}
|
|
400
|
-
/** @oneof */
|
|
401
|
-
export interface AddressStreetOneOf {
|
|
402
|
-
/** a break down of the street to number and street name */
|
|
403
|
-
streetAddress?: StreetAddress;
|
|
404
|
-
/** Main address line (usually street and number) as free text */
|
|
405
|
-
addressLine?: string | null;
|
|
406
|
-
}
|
|
407
|
-
export interface StreetAddress {
|
|
408
|
-
/** street number */
|
|
409
|
-
number?: string;
|
|
410
|
-
/** street name */
|
|
411
|
-
name?: string;
|
|
412
|
-
}
|
|
413
|
-
export interface AddressLocation {
|
|
414
|
-
/**
|
|
415
|
-
* address latitude coordinates
|
|
416
|
-
* @min -90
|
|
417
|
-
* @max 90
|
|
418
|
-
*/
|
|
419
|
-
latitude?: number | null;
|
|
420
|
-
/**
|
|
421
|
-
* address longitude coordinates
|
|
422
|
-
* @min -180
|
|
423
|
-
* @max 180
|
|
424
|
-
*/
|
|
425
|
-
longitude?: number | null;
|
|
426
|
-
}
|
|
427
|
-
export interface Subdivision {
|
|
428
|
-
/** subdivision short code */
|
|
429
|
-
code?: string;
|
|
430
|
-
/** subdivision full-name */
|
|
431
|
-
name?: string;
|
|
432
|
-
}
|
|
433
|
-
export declare enum SubdivisionType {
|
|
434
|
-
UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
|
|
435
|
-
/** State */
|
|
436
|
-
ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
|
|
437
|
-
/** County */
|
|
438
|
-
ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
|
|
439
|
-
/** City/town */
|
|
440
|
-
ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
|
|
441
|
-
/** Neighborhood/quarter */
|
|
442
|
-
ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
|
|
443
|
-
/** Street/block */
|
|
444
|
-
ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
|
|
445
|
-
/** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
|
|
446
|
-
COUNTRY = "COUNTRY"
|
|
447
|
-
}
|
|
448
|
-
/** @enumType */
|
|
449
|
-
export 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';
|
|
450
|
-
export interface ScheduleConfig {
|
|
451
|
-
/**
|
|
452
|
-
* Defines event as TBD (To Be Determined) schedule.
|
|
453
|
-
* When event time is not yet defined, TBD message is displayed instead of event start and end times.
|
|
454
|
-
* `startDate`, `endDate` and `timeZoneId` are not required when schedule is TBD.
|
|
455
|
-
*/
|
|
456
|
-
scheduleTbd?: boolean;
|
|
457
|
-
/**
|
|
458
|
-
* TBD message.
|
|
459
|
-
* @maxLength 100
|
|
460
|
-
*/
|
|
461
|
-
scheduleTbdMessage?: string | null;
|
|
462
|
-
/** Event start timestamp. */
|
|
463
|
-
startDate?: Date | null;
|
|
464
|
-
/** Event end timestamp. */
|
|
465
|
-
endDate?: Date | null;
|
|
466
|
-
/**
|
|
467
|
-
* Event time zone ID in TZ database format, e.g., `EST`, `America/Los_Angeles`.
|
|
468
|
-
* @maxLength 100
|
|
469
|
-
*/
|
|
470
|
-
timeZoneId?: string | null;
|
|
471
|
-
/** Whether end date is hidden in the formatted schedule. */
|
|
472
|
-
endDateHidden?: boolean;
|
|
473
|
-
/** Whether time zone is displayed in formatted schedule. */
|
|
474
|
-
showTimeZone?: boolean;
|
|
475
|
-
/** Event recurrences. */
|
|
476
|
-
recurrences?: Recurrences;
|
|
477
|
-
}
|
|
478
|
-
export interface Recurrences {
|
|
479
|
-
/**
|
|
480
|
-
* Event occurrences.
|
|
481
|
-
* @maxSize 1000
|
|
482
|
-
*/
|
|
483
|
-
occurrences?: Occurrence[];
|
|
484
|
-
/**
|
|
485
|
-
* Recurring event category ID.
|
|
486
|
-
* @readonly
|
|
487
|
-
*/
|
|
488
|
-
categoryId?: string | null;
|
|
489
|
-
/**
|
|
490
|
-
* Recurrence status.
|
|
491
|
-
* @readonly
|
|
492
|
-
*/
|
|
493
|
-
status?: StatusWithLiterals;
|
|
494
|
-
}
|
|
495
|
-
export interface Occurrence {
|
|
496
|
-
/** Event start timestamp. */
|
|
497
|
-
startDate?: Date | null;
|
|
498
|
-
/** Event end timestamp. */
|
|
499
|
-
endDate?: Date | null;
|
|
500
|
-
/**
|
|
501
|
-
* Event time zone ID in TZ database format, e.g., `EST`, `America/Los_Angeles`.
|
|
502
|
-
* @maxLength 100
|
|
503
|
-
*/
|
|
504
|
-
timeZoneId?: string | null;
|
|
505
|
-
/** Whether time zone is displayed in formatted schedule. */
|
|
506
|
-
showTimeZone?: boolean;
|
|
507
|
-
}
|
|
508
|
-
export declare enum Status {
|
|
509
|
-
/** Event occurs only once. */
|
|
510
|
-
ONE_TIME = "ONE_TIME",
|
|
511
|
-
/** Event is recurring. */
|
|
512
|
-
RECURRING = "RECURRING",
|
|
513
|
-
/** Marks the next upcoming occurrence of the recurring event. */
|
|
514
|
-
RECURRING_NEXT = "RECURRING_NEXT",
|
|
515
|
-
/** Marks the most recent ended occurrence of the recurring event. */
|
|
516
|
-
RECURRING_LAST_ENDED = "RECURRING_LAST_ENDED",
|
|
517
|
-
/** Marks the most recent canceled occurrence of the recurring event. */
|
|
518
|
-
RECURRING_LAST_CANCELED = "RECURRING_LAST_CANCELED"
|
|
519
|
-
}
|
|
520
|
-
/** @enumType */
|
|
521
|
-
export type StatusWithLiterals = Status | 'ONE_TIME' | 'RECURRING' | 'RECURRING_NEXT' | 'RECURRING_LAST_ENDED' | 'RECURRING_LAST_CANCELED';
|
|
522
|
-
export interface Event {
|
|
523
|
-
/**
|
|
524
|
-
* Event ID.
|
|
525
|
-
* @format GUID
|
|
526
|
-
* @readonly
|
|
527
|
-
*/
|
|
528
|
-
id?: string;
|
|
529
|
-
/** Event location. */
|
|
530
|
-
location?: Location;
|
|
531
|
-
/** Event scheduling. */
|
|
532
|
-
scheduling?: Scheduling;
|
|
533
|
-
/** Event title. */
|
|
534
|
-
title?: string;
|
|
535
|
-
/** Event description. */
|
|
536
|
-
description?: string;
|
|
537
|
-
/** Rich-text content that are displayed in a site's "About Event" section (HTML). */
|
|
538
|
-
about?: string;
|
|
539
|
-
/** Main event image. */
|
|
540
|
-
mainImage?: Image;
|
|
541
|
-
/** Event slug URL (generated from event title). */
|
|
542
|
-
slug?: string;
|
|
543
|
-
/** ISO 639-1 language code of the event (used in content translations). */
|
|
544
|
-
language?: string;
|
|
545
|
-
/** Event creation timestamp. */
|
|
546
|
-
created?: Date | null;
|
|
547
|
-
/** Event modified timestamp. */
|
|
548
|
-
modified?: Date | null;
|
|
549
|
-
/** Event status. */
|
|
550
|
-
status?: EventStatusWithLiterals;
|
|
551
|
-
/** RSVP or ticketing registration details. */
|
|
552
|
-
registration?: Registration;
|
|
553
|
-
/** "Add to calendar" URLs. */
|
|
554
|
-
calendarLinks?: CalendarLinks;
|
|
555
|
-
/** Event page URL components. */
|
|
556
|
-
eventPageUrl?: SiteUrl;
|
|
557
|
-
/** Event registration form. */
|
|
558
|
-
form?: Form;
|
|
559
|
-
/** Event dashboard summary of RSVP / ticket sales. */
|
|
560
|
-
dashboard?: Dashboard;
|
|
561
|
-
/** Instance ID of the site where event is hosted. */
|
|
562
|
-
instanceId?: string;
|
|
563
|
-
/** Guest list configuration. */
|
|
564
|
-
guestListConfig?: GuestListConfig;
|
|
565
|
-
/**
|
|
566
|
-
* Event creator user ID.
|
|
567
|
-
* @maxLength 36
|
|
568
|
-
*/
|
|
569
|
-
userId?: string;
|
|
570
|
-
/** Event discussion feed. For internal use. */
|
|
571
|
-
feed?: Feed;
|
|
572
|
-
/** Online conferencing details. */
|
|
573
|
-
onlineConferencing?: OnlineConferencing;
|
|
574
|
-
/** SEO settings. */
|
|
575
|
-
seoSettings?: SeoSettings;
|
|
576
|
-
/** Assigned contacts label key. */
|
|
577
|
-
assignedContactsLabel?: string | null;
|
|
578
|
-
/** Agenda details. */
|
|
579
|
-
agenda?: Agenda;
|
|
580
|
-
/** Categories this event is assigned to. */
|
|
581
|
-
categories?: Category[];
|
|
582
|
-
/** Visual settings for event. */
|
|
583
|
-
eventDisplaySettings?: EventDisplaySettings;
|
|
584
|
-
/** Rich content that are displayed in a site's "About Event" section. Successor to `about` field. */
|
|
585
|
-
longDescription?: RichContent;
|
|
586
|
-
/**
|
|
587
|
-
* Event publish timestamp.
|
|
588
|
-
* @readonly
|
|
589
|
-
*/
|
|
590
|
-
publishedDate?: Date | null;
|
|
591
|
-
}
|
|
592
|
-
export interface Scheduling {
|
|
593
|
-
/** Schedule configuration. */
|
|
594
|
-
config?: ScheduleConfig;
|
|
595
|
-
/** Formatted schedule representation. */
|
|
596
|
-
formatted?: string;
|
|
597
|
-
/** Formatted start date of the event (empty for TBD schedules). */
|
|
598
|
-
startDateFormatted?: string;
|
|
599
|
-
/** Formatted start time of the event (empty for TBD schedules). */
|
|
600
|
-
startTimeFormatted?: string;
|
|
601
|
-
/** Formatted end date of the event (empty for TBD schedules or when end date is hidden). */
|
|
602
|
-
endDateFormatted?: string;
|
|
603
|
-
/** Formatted end time of the event (empty for TBD schedules or when end date is hidden). */
|
|
604
|
-
endTimeFormatted?: string;
|
|
605
|
-
}
|
|
606
|
-
export interface Image {
|
|
607
|
-
/**
|
|
608
|
-
* WixMedia image ID.
|
|
609
|
-
* @minLength 1
|
|
610
|
-
* @maxLength 200
|
|
611
|
-
*/
|
|
612
|
-
id?: string | null;
|
|
613
|
-
/** Image URL. */
|
|
614
|
-
url?: string;
|
|
615
|
-
/** Original image height. */
|
|
616
|
-
height?: number | null;
|
|
617
|
-
/** Original image width. */
|
|
618
|
-
width?: number | null;
|
|
619
|
-
/** Image alt text. Optional. */
|
|
620
|
-
altText?: string | null;
|
|
621
|
-
}
|
|
622
|
-
export declare enum EventStatus {
|
|
623
|
-
/** Event is public and scheduled to start */
|
|
624
|
-
SCHEDULED = "SCHEDULED",
|
|
625
|
-
/** Event has started */
|
|
626
|
-
STARTED = "STARTED",
|
|
627
|
-
/** Event has ended */
|
|
628
|
-
ENDED = "ENDED",
|
|
629
|
-
/** Event was canceled */
|
|
630
|
-
CANCELED = "CANCELED"
|
|
631
|
-
}
|
|
632
|
-
/** @enumType */
|
|
633
|
-
export type EventStatusWithLiterals = EventStatus | 'SCHEDULED' | 'STARTED' | 'ENDED' | 'CANCELED';
|
|
634
|
-
export interface Registration {
|
|
635
|
-
/** Event type. */
|
|
636
|
-
type?: EventTypeWithLiterals;
|
|
637
|
-
/** Event registration status. */
|
|
638
|
-
status?: RegistrationStatusWithLiterals;
|
|
639
|
-
/** RSVP collection details. */
|
|
640
|
-
rsvpCollection?: RsvpCollection;
|
|
641
|
-
/** Ticketing details. */
|
|
642
|
-
ticketing?: Ticketing;
|
|
643
|
-
/** External registration details. */
|
|
644
|
-
external?: ExternalEvent;
|
|
645
|
-
/** Types of users allowed to register. */
|
|
646
|
-
restrictedTo?: VisitorTypeWithLiterals;
|
|
647
|
-
/** Initial event type which was set when creating an event. */
|
|
648
|
-
initialType?: EventTypeWithLiterals;
|
|
649
|
-
}
|
|
650
|
-
export declare enum EventType {
|
|
651
|
-
/** Type not available for this request fieldset */
|
|
652
|
-
NA_EVENT_TYPE = "NA_EVENT_TYPE",
|
|
653
|
-
/** Registration via RSVP */
|
|
654
|
-
RSVP = "RSVP",
|
|
655
|
-
/** Registration via ticket purchase */
|
|
656
|
-
TICKETS = "TICKETS",
|
|
657
|
-
/** External registration */
|
|
658
|
-
EXTERNAL = "EXTERNAL",
|
|
659
|
-
/** Registration not available */
|
|
660
|
-
NO_REGISTRATION = "NO_REGISTRATION"
|
|
661
|
-
}
|
|
662
|
-
/** @enumType */
|
|
663
|
-
export type EventTypeWithLiterals = EventType | 'NA_EVENT_TYPE' | 'RSVP' | 'TICKETS' | 'EXTERNAL' | 'NO_REGISTRATION';
|
|
664
|
-
export declare enum RegistrationStatus {
|
|
665
|
-
/** Registration status is not applicable */
|
|
666
|
-
NA_REGISTRATION_STATUS = "NA_REGISTRATION_STATUS",
|
|
667
|
-
/** Registration to event is closed */
|
|
668
|
-
CLOSED = "CLOSED",
|
|
669
|
-
/** Registration to event is closed manually */
|
|
670
|
-
CLOSED_MANUALLY = "CLOSED_MANUALLY",
|
|
671
|
-
/** Registration is open via RSVP */
|
|
672
|
-
OPEN_RSVP = "OPEN_RSVP",
|
|
673
|
-
/** Registration to event waitlist is open via RSVP */
|
|
674
|
-
OPEN_RSVP_WAITLIST = "OPEN_RSVP_WAITLIST",
|
|
675
|
-
/** Registration is open via ticket purchase */
|
|
676
|
-
OPEN_TICKETS = "OPEN_TICKETS",
|
|
677
|
-
/** Registration is open via external URL */
|
|
678
|
-
OPEN_EXTERNAL = "OPEN_EXTERNAL",
|
|
679
|
-
/** Registration will be open via RSVP */
|
|
680
|
-
SCHEDULED_RSVP = "SCHEDULED_RSVP"
|
|
681
|
-
}
|
|
682
|
-
/** @enumType */
|
|
683
|
-
export type RegistrationStatusWithLiterals = RegistrationStatus | 'NA_REGISTRATION_STATUS' | 'CLOSED' | 'CLOSED_MANUALLY' | 'OPEN_RSVP' | 'OPEN_RSVP_WAITLIST' | 'OPEN_TICKETS' | 'OPEN_EXTERNAL' | 'SCHEDULED_RSVP';
|
|
684
|
-
export interface RsvpCollection {
|
|
685
|
-
/** RSVP collection configuration. */
|
|
686
|
-
config?: RsvpCollectionConfig;
|
|
687
|
-
}
|
|
688
|
-
export interface RsvpCollectionConfig {
|
|
689
|
-
/** Defines the supported RSVP statuses. */
|
|
690
|
-
rsvpStatusOptions?: RsvpStatusOptionsWithLiterals;
|
|
691
|
-
/**
|
|
692
|
-
* Total guest limit available to register to the event.
|
|
693
|
-
* Additional guests per RSVP are counted towards total guests.
|
|
694
|
-
*/
|
|
695
|
-
limit?: number | null;
|
|
696
|
-
/** Whether a waitlist is opened when total guest limit is reached, allowing guests to create RSVP with WAITING RSVP status. */
|
|
697
|
-
waitlist?: boolean;
|
|
698
|
-
/** Registration start timestamp. */
|
|
699
|
-
startDate?: Date | null;
|
|
700
|
-
/** Registration end timestamp. */
|
|
701
|
-
endDate?: Date | null;
|
|
702
|
-
}
|
|
703
|
-
export declare enum RsvpStatusOptions {
|
|
704
|
-
/** Only YES RSVP status is available for RSVP registration */
|
|
705
|
-
YES_ONLY = "YES_ONLY",
|
|
706
|
-
/** YES and NO RSVP status options are available for the registration */
|
|
707
|
-
YES_AND_NO = "YES_AND_NO"
|
|
708
|
-
}
|
|
709
|
-
/** @enumType */
|
|
710
|
-
export type RsvpStatusOptionsWithLiterals = RsvpStatusOptions | 'YES_ONLY' | 'YES_AND_NO';
|
|
711
|
-
export interface Ticketing {
|
|
712
|
-
/**
|
|
713
|
-
* Deprecated.
|
|
714
|
-
* @deprecated
|
|
715
|
-
*/
|
|
716
|
-
lowestPrice?: string | null;
|
|
717
|
-
/**
|
|
718
|
-
* Deprecated.
|
|
719
|
-
* @deprecated
|
|
720
|
-
*/
|
|
721
|
-
highestPrice?: string | null;
|
|
722
|
-
/** Currency used in event transactions. */
|
|
723
|
-
currency?: string | null;
|
|
724
|
-
/** Ticketing configuration. */
|
|
725
|
-
config?: TicketingConfig;
|
|
726
|
-
/**
|
|
727
|
-
* Price of lowest priced ticket.
|
|
728
|
-
* @readonly
|
|
729
|
-
*/
|
|
730
|
-
lowestTicketPrice?: Money;
|
|
731
|
-
/**
|
|
732
|
-
* Price of highest priced ticket.
|
|
733
|
-
* @readonly
|
|
734
|
-
*/
|
|
735
|
-
highestTicketPrice?: Money;
|
|
736
|
-
/**
|
|
737
|
-
* Formatted price of lowest priced ticket.
|
|
738
|
-
* @readonly
|
|
739
|
-
*/
|
|
740
|
-
lowestTicketPriceFormatted?: string | null;
|
|
741
|
-
/**
|
|
742
|
-
* Formatted price of highest priced ticket.
|
|
743
|
-
* @readonly
|
|
744
|
-
*/
|
|
745
|
-
highestTicketPriceFormatted?: string | null;
|
|
746
|
-
/**
|
|
747
|
-
* Whether all tickets are sold for this event.
|
|
748
|
-
* @readonly
|
|
749
|
-
*/
|
|
750
|
-
soldOut?: boolean | null;
|
|
751
|
-
}
|
|
752
|
-
export interface TicketingConfig {
|
|
753
|
-
/** Whether the form must be filled out separately for each ticket. */
|
|
754
|
-
guestAssignedTickets?: boolean;
|
|
755
|
-
/** Tax configuration. */
|
|
756
|
-
taxConfig?: TaxConfig;
|
|
757
|
-
/**
|
|
758
|
-
* Limit of tickets that can be purchased per order, default 20.
|
|
759
|
-
* @max 50
|
|
760
|
-
*/
|
|
761
|
-
ticketLimitPerOrder?: number;
|
|
762
|
-
/**
|
|
763
|
-
* Duration for which the tickets being bought are reserved.
|
|
764
|
-
* @min 5
|
|
765
|
-
* @max 30
|
|
766
|
-
*/
|
|
767
|
-
reservationDurationInMinutes?: number | null;
|
|
768
|
-
}
|
|
769
|
-
export interface TaxConfig {
|
|
770
|
-
/** Tax application settings. */
|
|
771
|
-
type?: TaxTypeWithLiterals;
|
|
772
|
-
/**
|
|
773
|
-
* Tax name.
|
|
774
|
-
* @minLength 1
|
|
775
|
-
* @maxLength 10
|
|
776
|
-
*/
|
|
777
|
-
name?: string | null;
|
|
778
|
-
/**
|
|
779
|
-
* Tax rate (e.g.,`21.55`).
|
|
780
|
-
* @decimalValue options { gte:0.001, lte:100, maxScale:3 }
|
|
781
|
-
*/
|
|
782
|
-
rate?: string | null;
|
|
783
|
-
/** Applies taxes for donations, default true. */
|
|
784
|
-
appliesToDonations?: boolean | null;
|
|
785
|
-
}
|
|
786
|
-
export declare enum TaxType {
|
|
787
|
-
/** Tax is included in the ticket price. */
|
|
788
|
-
INCLUDED = "INCLUDED",
|
|
789
|
-
/** Tax is added to the order at the checkout. */
|
|
790
|
-
ADDED = "ADDED",
|
|
791
|
-
/** Tax is added to the final total at the checkout. */
|
|
792
|
-
ADDED_AT_CHECKOUT = "ADDED_AT_CHECKOUT"
|
|
793
|
-
}
|
|
794
|
-
/** @enumType */
|
|
795
|
-
export type TaxTypeWithLiterals = TaxType | 'INCLUDED' | 'ADDED' | 'ADDED_AT_CHECKOUT';
|
|
796
|
-
export interface Money {
|
|
797
|
-
/**
|
|
798
|
-
* *Deprecated:** Use `value` instead.
|
|
799
|
-
* @format DECIMAL_VALUE
|
|
800
|
-
* @deprecated
|
|
801
|
-
*/
|
|
802
|
-
amount?: string;
|
|
803
|
-
/**
|
|
804
|
-
* Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
805
|
-
* @format CURRENCY
|
|
806
|
-
*/
|
|
807
|
-
currency?: string;
|
|
808
|
-
/**
|
|
809
|
-
* 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.
|
|
810
|
-
* @format DECIMAL_VALUE
|
|
811
|
-
*/
|
|
812
|
-
value?: string | null;
|
|
813
|
-
}
|
|
814
|
-
export interface ExternalEvent {
|
|
815
|
-
/** External event registration URL. */
|
|
816
|
-
registration?: string;
|
|
817
|
-
}
|
|
818
|
-
export declare enum VisitorType {
|
|
819
|
-
/** Site visitor (including member) */
|
|
820
|
-
VISITOR = "VISITOR",
|
|
821
|
-
/** Site member */
|
|
822
|
-
MEMBER = "MEMBER",
|
|
823
|
-
/** Site visitor or member */
|
|
824
|
-
VISITOR_OR_MEMBER = "VISITOR_OR_MEMBER"
|
|
825
|
-
}
|
|
826
|
-
/** @enumType */
|
|
827
|
-
export type VisitorTypeWithLiterals = VisitorType | 'VISITOR' | 'MEMBER' | 'VISITOR_OR_MEMBER';
|
|
828
|
-
export interface CalendarLinks {
|
|
829
|
-
/** "Add to Google calendar" URL. */
|
|
830
|
-
google?: string;
|
|
831
|
-
/** "Download ICS calendar file" URL. */
|
|
832
|
-
ics?: string;
|
|
833
|
-
}
|
|
834
|
-
/** Site URL components */
|
|
835
|
-
export interface SiteUrl {
|
|
836
|
-
/**
|
|
837
|
-
* Base URL. For premium sites, this will be the domain.
|
|
838
|
-
* For free sites, this would be site URL (e.g `mysite.wixsite.com/mysite`)
|
|
839
|
-
*/
|
|
840
|
-
base?: string;
|
|
841
|
-
/** The path to that page - e.g `/my-events/weekly-meetup-2` */
|
|
842
|
-
path?: string;
|
|
843
|
-
}
|
|
844
|
-
/**
|
|
845
|
-
* The form defines which elements are displayed to a site visitor during the registration process (RSVP or checkout).
|
|
846
|
-
* It also contains customizable messages and labels.
|
|
847
|
-
*
|
|
848
|
-
*
|
|
849
|
-
* A form is an ordered list of controls (blocks), which accept guest information into a field input.
|
|
850
|
-
*
|
|
851
|
-
* Each control contains one or more nested inputs. For example, `Name` control has two inputs:
|
|
852
|
-
* - First Name
|
|
853
|
-
* - Last Name
|
|
854
|
-
*
|
|
855
|
-
* By default, name and email controls are always required and are pinned to the top of the form.
|
|
856
|
-
*/
|
|
857
|
-
export interface Form {
|
|
858
|
-
/** Nested fields as an ordered list. */
|
|
859
|
-
controls?: InputControl[];
|
|
860
|
-
/**
|
|
861
|
-
* Set of defined form messages displayed in the UI before, during, and after a registration flow.
|
|
862
|
-
* Includes the configuration of form titles, response labels, "thank you" messages, and call-to-action texts.
|
|
863
|
-
*/
|
|
864
|
-
messages?: FormMessages;
|
|
865
|
-
}
|
|
866
|
-
/**
|
|
867
|
-
* A block of nested fields.
|
|
868
|
-
* Used to aggregate similar inputs like First Name and Last Name.
|
|
869
|
-
*/
|
|
870
|
-
export interface InputControl {
|
|
871
|
-
/** Field control type. */
|
|
872
|
-
type?: InputControlTypeWithLiterals;
|
|
873
|
-
/** Whether the control is mandatory (such as `name` & `email`). When `true`, only the label can be changed. */
|
|
874
|
-
system?: boolean;
|
|
875
|
-
/**
|
|
876
|
-
* Deprecated: Use `id` or `_id`.
|
|
877
|
-
* @deprecated
|
|
878
|
-
*/
|
|
879
|
-
name?: string;
|
|
880
|
-
/** Child inputs. */
|
|
881
|
-
inputs?: Input[];
|
|
882
|
-
/**
|
|
883
|
-
* *Deprecated:** Use `controls.inputs.label`.
|
|
884
|
-
* @deprecated
|
|
885
|
-
*/
|
|
886
|
-
label?: string;
|
|
887
|
-
/** Field controls are sorted by this value in ascending order. */
|
|
888
|
-
orderIndex?: number;
|
|
889
|
-
/** Unique control ID. */
|
|
890
|
-
id?: string;
|
|
891
|
-
/**
|
|
892
|
-
* Whether the input control is deleted.
|
|
893
|
-
* @readonly
|
|
894
|
-
*/
|
|
895
|
-
deleted?: boolean | null;
|
|
896
|
-
}
|
|
897
|
-
export declare enum InputControlType {
|
|
898
|
-
/** Single text value field. */
|
|
899
|
-
INPUT = "INPUT",
|
|
900
|
-
/** Single text value field with multiple lines. */
|
|
901
|
-
TEXTAREA = "TEXTAREA",
|
|
902
|
-
/** Single-choice field with predefined values. */
|
|
903
|
-
DROPDOWN = "DROPDOWN",
|
|
904
|
-
/** Single-choice field with predefined values. */
|
|
905
|
-
RADIO = "RADIO",
|
|
906
|
-
/** Multiple-choice field with predefined values. */
|
|
907
|
-
CHECKBOX = "CHECKBOX",
|
|
908
|
-
/** Fields for entering first and last names. */
|
|
909
|
-
NAME = "NAME",
|
|
910
|
-
/** Fields for additional guests and their respective names. */
|
|
911
|
-
GUEST_CONTROL = "GUEST_CONTROL",
|
|
912
|
-
/** Single-line address field. */
|
|
913
|
-
ADDRESS_SHORT = "ADDRESS_SHORT",
|
|
914
|
-
/** Full address field with multiple lines. */
|
|
915
|
-
ADDRESS_FULL = "ADDRESS_FULL",
|
|
916
|
-
/** Fields for entering year, month, and day. */
|
|
917
|
-
DATE = "DATE"
|
|
918
|
-
}
|
|
919
|
-
/** @enumType */
|
|
920
|
-
export type InputControlTypeWithLiterals = InputControlType | 'INPUT' | 'TEXTAREA' | 'DROPDOWN' | 'RADIO' | 'CHECKBOX' | 'NAME' | 'GUEST_CONTROL' | 'ADDRESS_SHORT' | 'ADDRESS_FULL' | 'DATE';
|
|
921
|
-
/** Child inputs. */
|
|
922
|
-
export interface Input {
|
|
923
|
-
/** Field name. */
|
|
924
|
-
name?: string;
|
|
925
|
-
/**
|
|
926
|
-
* *Deprecated:** Use `controls.inputs.type.TEXT_ARRAY`.
|
|
927
|
-
* @deprecated
|
|
928
|
-
*/
|
|
929
|
-
array?: boolean;
|
|
930
|
-
/** Main field label. */
|
|
931
|
-
label?: string;
|
|
932
|
-
/** Additional labels for multi-valued fields such as address. */
|
|
933
|
-
additionalLabels?: Record<string, string>;
|
|
934
|
-
/** Predefined choice options for fields, such as dropdown. */
|
|
935
|
-
options?: string[];
|
|
936
|
-
/** Whether field is mandatory. */
|
|
937
|
-
mandatory?: boolean;
|
|
938
|
-
/** Maximum number of accepted characters (relevant for text fields). */
|
|
939
|
-
maxLength?: number;
|
|
940
|
-
/**
|
|
941
|
-
* Type which determines field format.
|
|
942
|
-
* Used to validate submitted response.
|
|
943
|
-
*/
|
|
944
|
-
type?: ValueTypeWithLiterals;
|
|
945
|
-
/**
|
|
946
|
-
* The maximum number of accepted values for array input.
|
|
947
|
-
*
|
|
948
|
-
* **Note:** Only applicable for `TEXT_ARRAY` input fields.
|
|
949
|
-
*/
|
|
950
|
-
maxSize?: number | null;
|
|
951
|
-
/**
|
|
952
|
-
* Default option initially selected when an input has multiple choices.
|
|
953
|
-
*
|
|
954
|
-
* Defaults to first (0th) option, if not configured.
|
|
955
|
-
* Currently only applicable for `type.dropdown`.
|
|
956
|
-
*/
|
|
957
|
-
defaultOptionSelection?: OptionSelection;
|
|
958
|
-
/**
|
|
959
|
-
* Additional labels for multi-valued fields, such as address.
|
|
960
|
-
* @readonly
|
|
961
|
-
*/
|
|
962
|
-
labels?: Label[];
|
|
963
|
-
}
|
|
964
|
-
export declare enum ValueType {
|
|
965
|
-
TEXT = "TEXT",
|
|
966
|
-
NUMBER = "NUMBER",
|
|
967
|
-
TEXT_ARRAY = "TEXT_ARRAY",
|
|
968
|
-
DATE_TIME = "DATE_TIME",
|
|
969
|
-
ADDRESS = "ADDRESS"
|
|
970
|
-
}
|
|
971
|
-
/** @enumType */
|
|
972
|
-
export type ValueTypeWithLiterals = ValueType | 'TEXT' | 'NUMBER' | 'TEXT_ARRAY' | 'DATE_TIME' | 'ADDRESS';
|
|
973
|
-
/**
|
|
974
|
-
* Describes initially selected option when an input has multiple choices.
|
|
975
|
-
* Defaults to first (0th) option if not configured.
|
|
976
|
-
*/
|
|
977
|
-
export interface OptionSelection extends OptionSelectionSelectedOptionOneOf {
|
|
978
|
-
/**
|
|
979
|
-
* 0-based index from predefined `controls.inputs.options` which is initial selection.
|
|
980
|
-
* @max 199
|
|
981
|
-
*/
|
|
982
|
-
optionIndex?: number;
|
|
983
|
-
/**
|
|
984
|
-
* Placeholder hint describing expected choices, such as "Please select".
|
|
985
|
-
* Considered an empty choice.
|
|
986
|
-
* @maxLength 200
|
|
987
|
-
*/
|
|
988
|
-
placeholderText?: string;
|
|
989
|
-
}
|
|
990
|
-
/** @oneof */
|
|
991
|
-
export interface OptionSelectionSelectedOptionOneOf {
|
|
992
|
-
/**
|
|
993
|
-
* 0-based index from predefined `controls.inputs.options` which is initial selection.
|
|
994
|
-
* @max 199
|
|
995
|
-
*/
|
|
996
|
-
optionIndex?: number;
|
|
997
|
-
/**
|
|
998
|
-
* Placeholder hint describing expected choices, such as "Please select".
|
|
999
|
-
* Considered an empty choice.
|
|
1000
|
-
* @maxLength 200
|
|
1001
|
-
*/
|
|
1002
|
-
placeholderText?: string;
|
|
1003
|
-
}
|
|
1004
|
-
export interface Label {
|
|
1005
|
-
/** Field name. */
|
|
1006
|
-
name?: string;
|
|
1007
|
-
/** Field label. */
|
|
1008
|
-
label?: string;
|
|
1009
|
-
}
|
|
1010
|
-
/**
|
|
1011
|
-
* Defines form messages shown in UI before, during, and after registration flow.
|
|
1012
|
-
* It enables configuration of form titles, response labels, "thank you" messages, and call-to-action texts.
|
|
1013
|
-
*/
|
|
1014
|
-
export interface FormMessages {
|
|
1015
|
-
/** RSVP form ([SDK](https://dev.wix.com/docs/sdk/backend-modules/events/rsvp-v2/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/events/rsvp-v2/introduction)) messages. */
|
|
1016
|
-
rsvp?: RsvpFormMessages;
|
|
1017
|
-
/** Checkout form messages. */
|
|
1018
|
-
checkout?: CheckoutFormMessages;
|
|
1019
|
-
/** Messages shown when event registration is closed. */
|
|
1020
|
-
registrationClosed?: RegistrationClosedMessages;
|
|
1021
|
-
/** Messages shown when event tickets are unavailable. */
|
|
1022
|
-
ticketsUnavailable?: TicketsUnavailableMessages;
|
|
1023
|
-
}
|
|
1024
|
-
export interface RsvpFormMessages {
|
|
1025
|
-
/** Label text indicating RSVP's `status` is `"YES"`. */
|
|
1026
|
-
rsvpYesOption?: string;
|
|
1027
|
-
/** Label text indicating RSVP's `status` is `"NO"`. */
|
|
1028
|
-
rsvpNoOption?: string;
|
|
1029
|
-
/** Messages displayed when an RSVP's `status` is set to `"YES"`. */
|
|
1030
|
-
positiveMessages?: Positive;
|
|
1031
|
-
/** Messages displayed when an RSVP's `status` is set to `"WAITLIST"`, for when the event is full and a waitlist is available). */
|
|
1032
|
-
waitlistMessages?: Positive;
|
|
1033
|
-
/** Messages displayed when an RSVP's `status` is set to `"NO"`. */
|
|
1034
|
-
negativeMessages?: Negative;
|
|
1035
|
-
/** "Submit form" call-to-action label text. */
|
|
1036
|
-
submitActionLabel?: string;
|
|
1037
|
-
}
|
|
1038
|
-
/** Confirmation messages shown after registration. */
|
|
1039
|
-
export interface PositiveResponseConfirmation {
|
|
1040
|
-
/** Confirmation message title. */
|
|
1041
|
-
title?: string;
|
|
1042
|
-
/** Confirmation message text. */
|
|
1043
|
-
message?: string;
|
|
1044
|
-
/** "Add to calendar" call-to-action label text. */
|
|
1045
|
-
addToCalendarActionLabel?: string;
|
|
1046
|
-
/** "Share event" call-to-action label text. */
|
|
1047
|
-
shareActionLabel?: string;
|
|
1048
|
-
}
|
|
1049
|
-
/** Confirmation messages shown after registration. */
|
|
1050
|
-
export interface NegativeResponseConfirmation {
|
|
1051
|
-
/** Confirmation message title. */
|
|
1052
|
-
title?: string;
|
|
1053
|
-
/** "Share event" call-to-action label text. */
|
|
1054
|
-
shareActionLabel?: string;
|
|
1055
|
-
}
|
|
1056
|
-
/** Set of messages shown during registration when RSVP response is positive. */
|
|
1057
|
-
export interface Positive {
|
|
1058
|
-
/** Main form title for positive response. */
|
|
1059
|
-
title?: string;
|
|
1060
|
-
/** Confirmation messages shown after registration. */
|
|
1061
|
-
confirmation?: PositiveResponseConfirmation;
|
|
1062
|
-
}
|
|
1063
|
-
/** A set of messages shown during registration with negative response */
|
|
1064
|
-
export interface Negative {
|
|
1065
|
-
/** Main form title for negative response. */
|
|
1066
|
-
title?: string;
|
|
1067
|
-
/** Confirmation messages shown after registration. */
|
|
1068
|
-
confirmation?: NegativeResponseConfirmation;
|
|
1069
|
-
}
|
|
1070
|
-
export interface CheckoutFormMessages {
|
|
1071
|
-
/** Main form title for response. */
|
|
1072
|
-
title?: string;
|
|
1073
|
-
/** Submit form call-to-action label text. */
|
|
1074
|
-
submitActionLabel?: string;
|
|
1075
|
-
/** Confirmation messages shown after checkout. */
|
|
1076
|
-
confirmation?: ResponseConfirmation;
|
|
1077
|
-
}
|
|
1078
|
-
/** Confirmation messages shown after checkout. */
|
|
1079
|
-
export interface ResponseConfirmation {
|
|
1080
|
-
/** Confirmation message title. */
|
|
1081
|
-
title?: string;
|
|
1082
|
-
/** Confirmation message text. */
|
|
1083
|
-
message?: string;
|
|
1084
|
-
/** "Download tickets" call-to-action label text. */
|
|
1085
|
-
downloadTicketsLabel?: string;
|
|
1086
|
-
/** "Add to calendar" call-to-action label text. */
|
|
1087
|
-
addToCalendarLabel?: string;
|
|
1088
|
-
/** "Share event" call-to-action label text. */
|
|
1089
|
-
shareEventLabel?: string;
|
|
1090
|
-
}
|
|
1091
|
-
export interface RegistrationClosedMessages {
|
|
1092
|
-
/** Message shown when event registration is closed. */
|
|
1093
|
-
message?: string;
|
|
1094
|
-
/** "Explore other events" call-to-action label text. */
|
|
1095
|
-
exploreEventsActionLabel?: string;
|
|
1096
|
-
}
|
|
1097
|
-
export interface TicketsUnavailableMessages {
|
|
1098
|
-
/** Message shown when event tickets are unavailable. */
|
|
1099
|
-
message?: string;
|
|
1100
|
-
/** "Explore other events" call-to-action label text. */
|
|
1101
|
-
exploreEventsActionLabel?: string;
|
|
1102
|
-
}
|
|
1103
|
-
export interface Dashboard {
|
|
1104
|
-
/** Guest RSVP summary. */
|
|
1105
|
-
rsvpSummary?: RsvpSummary;
|
|
1106
|
-
/**
|
|
1107
|
-
* Summary of revenue and tickets sold.
|
|
1108
|
-
* (Archived orders are not included).
|
|
1109
|
-
*/
|
|
1110
|
-
ticketingSummary?: TicketingSummary;
|
|
1111
|
-
}
|
|
1112
|
-
export interface RsvpSummary {
|
|
1113
|
-
/** Total number of RSVPs. */
|
|
1114
|
-
total?: number;
|
|
1115
|
-
/** Number of RSVPs with status `YES`. */
|
|
1116
|
-
yes?: number;
|
|
1117
|
-
/** Number of RSVPs with status `NO`. */
|
|
1118
|
-
no?: number;
|
|
1119
|
-
/** Number of RSVPs in waitlist. */
|
|
1120
|
-
waitlist?: number;
|
|
1121
|
-
}
|
|
1122
|
-
export interface TicketingSummary {
|
|
1123
|
-
/** Number of tickets sold. */
|
|
1124
|
-
tickets?: number;
|
|
1125
|
-
/**
|
|
1126
|
-
* Total revenue, excluding fees.
|
|
1127
|
-
* (taxes and payment provider fees are not deducted.)
|
|
1128
|
-
*/
|
|
1129
|
-
revenue?: Money;
|
|
1130
|
-
/** Whether currency is locked and cannot be changed (generally occurs after the first order in the specified currency has been created). */
|
|
1131
|
-
currencyLocked?: boolean;
|
|
1132
|
-
/** Number of orders placed. */
|
|
1133
|
-
orders?: number;
|
|
1134
|
-
/** Total balance of confirmed transactions. */
|
|
1135
|
-
totalSales?: Money;
|
|
1136
|
-
}
|
|
1137
|
-
export interface GuestListConfig {
|
|
1138
|
-
/** Whether members can see other members attending the event (defaults to true). */
|
|
1139
|
-
publicGuestList?: boolean;
|
|
1140
|
-
}
|
|
1141
|
-
export interface Feed {
|
|
1142
|
-
/** Event discussion feed token. */
|
|
1143
|
-
token?: string;
|
|
1144
|
-
}
|
|
1145
|
-
export interface OnlineConferencing {
|
|
1146
|
-
config?: OnlineConferencingConfig;
|
|
1147
|
-
session?: OnlineConferencingSession;
|
|
1148
|
-
}
|
|
1149
|
-
export interface OnlineConferencingConfig {
|
|
1150
|
-
/**
|
|
1151
|
-
* Whether online conferencing is enabled (not supported for TBD schedules).
|
|
1152
|
-
* When enabled, links to join conferencing are generated and provided to guests.
|
|
1153
|
-
*/
|
|
1154
|
-
enabled?: boolean;
|
|
1155
|
-
/**
|
|
1156
|
-
* Conferencing provider ID.
|
|
1157
|
-
* @format GUID
|
|
1158
|
-
*/
|
|
1159
|
-
providerId?: string | null;
|
|
1160
|
-
/** Conference type */
|
|
1161
|
-
conferenceType?: ConferenceTypeWithLiterals;
|
|
1162
|
-
}
|
|
1163
|
-
export declare enum ConferenceType {
|
|
1164
|
-
/** Everyone in the meeting can publish and subscribe video and audio. */
|
|
1165
|
-
MEETING = "MEETING",
|
|
1166
|
-
/** Guests can only subscribe to video and audio. */
|
|
1167
|
-
WEBINAR = "WEBINAR"
|
|
1168
|
-
}
|
|
1169
|
-
/** @enumType */
|
|
1170
|
-
export type ConferenceTypeWithLiterals = ConferenceType | 'MEETING' | 'WEBINAR';
|
|
1171
|
-
export interface OnlineConferencingSession {
|
|
1172
|
-
/**
|
|
1173
|
-
* Link for event host to start the online conference session.
|
|
1174
|
-
* @readonly
|
|
1175
|
-
*/
|
|
1176
|
-
hostLink?: string;
|
|
1177
|
-
/**
|
|
1178
|
-
* Link for guests to join the online conference session.
|
|
1179
|
-
* @readonly
|
|
1180
|
-
*/
|
|
1181
|
-
guestLink?: string;
|
|
1182
|
-
/**
|
|
1183
|
-
* The password required to join online conferencing session (when relevant).
|
|
1184
|
-
* @readonly
|
|
1185
|
-
*/
|
|
1186
|
-
password?: string | null;
|
|
1187
|
-
/**
|
|
1188
|
-
* Indicates that session was created successfully on providers side.
|
|
1189
|
-
* @readonly
|
|
1190
|
-
*/
|
|
1191
|
-
sessionCreated?: boolean | null;
|
|
1192
|
-
/**
|
|
1193
|
-
* Unique session id
|
|
1194
|
-
* @readonly
|
|
1195
|
-
*/
|
|
1196
|
-
sessionId?: string | null;
|
|
1197
|
-
}
|
|
1198
|
-
export interface SeoSettings {
|
|
1199
|
-
/**
|
|
1200
|
-
* URL slug
|
|
1201
|
-
* @maxLength 130
|
|
1202
|
-
*/
|
|
1203
|
-
slug?: string;
|
|
1204
|
-
/** Advanced SEO data */
|
|
1205
|
-
advancedSeoData?: SeoSchema;
|
|
1206
|
-
/**
|
|
1207
|
-
* Hidden from SEO Site Map
|
|
1208
|
-
* @readonly
|
|
1209
|
-
*/
|
|
1210
|
-
hidden?: boolean | null;
|
|
1211
|
-
}
|
|
1212
|
-
/**
|
|
1213
|
-
* The SEO schema object contains data about different types of meta tags. It makes sure that the information about your page is presented properly to search engines.
|
|
1214
|
-
* The search engines use this information for ranking purposes, or to display snippets in the search results.
|
|
1215
|
-
* This data will override other sources of tags (for example patterns) and will be included in the <head> section of the HTML document, while not being displayed on the page itself.
|
|
1216
|
-
*/
|
|
1217
|
-
export interface SeoSchema {
|
|
1218
|
-
/** SEO tag information. */
|
|
1219
|
-
tags?: Tag[];
|
|
1220
|
-
/** SEO general settings. */
|
|
1221
|
-
settings?: Settings;
|
|
1222
|
-
}
|
|
1223
|
-
export interface Keyword {
|
|
1224
|
-
/** Keyword value. */
|
|
1225
|
-
term?: string;
|
|
1226
|
-
/** Whether the keyword is the main focus keyword. */
|
|
1227
|
-
isMain?: boolean;
|
|
1228
|
-
/**
|
|
1229
|
-
* The source that added the keyword terms to the SEO settings.
|
|
1230
|
-
* @maxLength 1000
|
|
1231
|
-
*/
|
|
1232
|
-
origin?: string | null;
|
|
1233
|
-
}
|
|
1234
|
-
export interface Tag {
|
|
1235
|
-
/**
|
|
1236
|
-
* SEO tag type.
|
|
1237
|
-
*
|
|
1238
|
-
*
|
|
1239
|
-
* Supported values: `title`, `meta`, `script`, `link`.
|
|
1240
|
-
*/
|
|
1241
|
-
type?: string;
|
|
1242
|
-
/**
|
|
1243
|
-
* A `{"key": "value"}` pair object where each SEO tag property (`"name"`, `"content"`, `"rel"`, `"href"`) contains a value.
|
|
1244
|
-
* For example: `{"name": "description", "content": "the description itself"}`.
|
|
1245
|
-
*/
|
|
1246
|
-
props?: Record<string, any> | null;
|
|
1247
|
-
/** SEO tag meta data. For example, `{"height": 300, "width": 240}`. */
|
|
1248
|
-
meta?: Record<string, any> | null;
|
|
1249
|
-
/** SEO tag inner content. For example, `<title> inner content </title>`. */
|
|
1250
|
-
children?: string;
|
|
1251
|
-
/** Whether the tag is a custom tag. */
|
|
1252
|
-
custom?: boolean;
|
|
1253
|
-
/** Whether the tag is disabled. */
|
|
1254
|
-
disabled?: boolean;
|
|
1255
|
-
}
|
|
1256
|
-
export interface Settings {
|
|
1257
|
-
/**
|
|
1258
|
-
* Whether the Auto Redirect feature, which creates `301 redirects` on a slug change, is enabled.
|
|
1259
|
-
*
|
|
1260
|
-
*
|
|
1261
|
-
* Default: `false` (Auto Redirect is enabled.)
|
|
1262
|
-
*/
|
|
1263
|
-
preventAutoRedirect?: boolean;
|
|
1264
|
-
/**
|
|
1265
|
-
* User-selected keyword terms for a specific page.
|
|
1266
|
-
* @maxSize 5
|
|
1267
|
-
*/
|
|
1268
|
-
keywords?: Keyword[];
|
|
1269
|
-
}
|
|
1270
|
-
export interface Agenda {
|
|
1271
|
-
/** Whether the schedule is enabled for the event. */
|
|
1272
|
-
enabled?: boolean;
|
|
1273
|
-
/**
|
|
1274
|
-
* Agenda page URL.
|
|
1275
|
-
* @readonly
|
|
1276
|
-
*/
|
|
1277
|
-
pageUrl?: SiteUrl;
|
|
1278
|
-
}
|
|
1279
|
-
export interface Category {
|
|
1280
|
-
/**
|
|
1281
|
-
* Category ID.
|
|
1282
|
-
* @format GUID
|
|
1283
|
-
* @readonly
|
|
1284
|
-
*/
|
|
1285
|
-
id?: string;
|
|
1286
|
-
/**
|
|
1287
|
-
* Category name.
|
|
1288
|
-
* @minLength 1
|
|
1289
|
-
* @maxLength 30
|
|
1290
|
-
*/
|
|
1291
|
-
name?: string;
|
|
1292
|
-
/**
|
|
1293
|
-
* Date and time when category was created.
|
|
1294
|
-
* @readonly
|
|
1295
|
-
*/
|
|
1296
|
-
createdDate?: Date | null;
|
|
1297
|
-
/**
|
|
1298
|
-
* The total number of draft and published events assigned to the category.
|
|
1299
|
-
* @readonly
|
|
1300
|
-
*/
|
|
1301
|
-
counts?: CategoryCounts;
|
|
1302
|
-
/**
|
|
1303
|
-
* Category state. Possible values:
|
|
1304
|
-
*
|
|
1305
|
-
* `MANUAL`: Category is created manually by the user.
|
|
1306
|
-
* `AUTO`: Category is created automatically.
|
|
1307
|
-
* `RECURRING_EVENT`: Category is created automatically when publishing recurring events.
|
|
1308
|
-
* `HIDDEN`: Category can't be seen.
|
|
1309
|
-
*
|
|
1310
|
-
* Default: `MANUAL`.
|
|
1311
|
-
*
|
|
1312
|
-
* **Note:** The WIX_EVENTS.MANAGE_AUTO_CATEGORIES permission scope is required to use states other than `MANUAL`.
|
|
1313
|
-
* @maxSize 3
|
|
1314
|
-
*/
|
|
1315
|
-
states?: StateWithLiterals[];
|
|
1316
|
-
}
|
|
1317
|
-
export interface CategoryCounts {
|
|
1318
|
-
/** Total number of draft events assigned to the category. */
|
|
1319
|
-
assignedEventsCount?: number | null;
|
|
1320
|
-
/** Total number of published events assigned to the category. Deleted events are excluded. */
|
|
1321
|
-
assignedDraftEventsCount?: number | null;
|
|
1322
|
-
}
|
|
1323
|
-
export declare enum State {
|
|
1324
|
-
/** Created manually by the user. */
|
|
1325
|
-
MANUAL = "MANUAL",
|
|
1326
|
-
/** Created automatically. */
|
|
1327
|
-
AUTO = "AUTO",
|
|
1328
|
-
/** Created when publishing recurring events. */
|
|
1329
|
-
RECURRING_EVENT = "RECURRING_EVENT",
|
|
1330
|
-
/** Category is hidden. */
|
|
1331
|
-
HIDDEN = "HIDDEN"
|
|
1332
|
-
}
|
|
1333
|
-
/** @enumType */
|
|
1334
|
-
export type StateWithLiterals = State | 'MANUAL' | 'AUTO' | 'RECURRING_EVENT' | 'HIDDEN';
|
|
1335
|
-
export interface EventDisplaySettings {
|
|
1336
|
-
/** Whether event details button is hidden. Only available for events with no registration. */
|
|
1337
|
-
hideEventDetailsButton?: boolean | null;
|
|
1338
|
-
/** Disables event details page visibility. If event has an external registration configured visitors will be redirected from this page. */
|
|
1339
|
-
hideEventDetailsPage?: boolean | null;
|
|
1340
|
-
}
|
|
1341
|
-
export interface LabellingSettings {
|
|
1342
|
-
}
|
|
1343
|
-
export interface RichContent {
|
|
1344
|
-
/** Node objects representing a rich content document. */
|
|
1345
|
-
nodes?: Node[];
|
|
1346
|
-
/** Object metadata. */
|
|
1347
|
-
metadata?: Metadata;
|
|
1348
|
-
/** Global styling for header, paragraph, block quote, and code block nodes in the object. */
|
|
1349
|
-
documentStyle?: DocumentStyle;
|
|
1350
|
-
}
|
|
1351
|
-
export interface Node extends NodeDataOneOf {
|
|
1352
|
-
/** Data for a button node. */
|
|
1353
|
-
buttonData?: ButtonData;
|
|
1354
|
-
/** Data for a code block node. */
|
|
1355
|
-
codeBlockData?: CodeBlockData;
|
|
1356
|
-
/** Data for a divider node. */
|
|
1357
|
-
dividerData?: DividerData;
|
|
1358
|
-
/** Data for a file node. */
|
|
1359
|
-
fileData?: FileData;
|
|
1360
|
-
/** Data for a gallery node. */
|
|
1361
|
-
galleryData?: GalleryData;
|
|
1362
|
-
/** Data for a GIF node. */
|
|
1363
|
-
gifData?: GIFData;
|
|
1364
|
-
/** Data for a heading node. */
|
|
1365
|
-
headingData?: HeadingData;
|
|
1366
|
-
/** Data for an embedded HTML node. */
|
|
1367
|
-
htmlData?: HTMLData;
|
|
1368
|
-
/** Data for an image node. */
|
|
1369
|
-
imageData?: ImageData;
|
|
1370
|
-
/** Data for a link preview node. */
|
|
1371
|
-
linkPreviewData?: LinkPreviewData;
|
|
1372
|
-
/** @deprecated */
|
|
1373
|
-
mapData?: MapData;
|
|
1374
|
-
/** Data for a paragraph node. */
|
|
1375
|
-
paragraphData?: ParagraphData;
|
|
1376
|
-
/** Data for a poll node. */
|
|
1377
|
-
pollData?: PollData;
|
|
1378
|
-
/** Data for a text node. Used to apply decorations to text. */
|
|
1379
|
-
textData?: TextData;
|
|
1380
|
-
/** Data for an app embed node. */
|
|
1381
|
-
appEmbedData?: AppEmbedData;
|
|
1382
|
-
/** Data for a video node. */
|
|
1383
|
-
videoData?: VideoData;
|
|
1384
|
-
/** Data for an oEmbed node. */
|
|
1385
|
-
embedData?: EmbedData;
|
|
1386
|
-
/** Data for a collapsible list node. */
|
|
1387
|
-
collapsibleListData?: CollapsibleListData;
|
|
1388
|
-
/** Data for a table node. */
|
|
1389
|
-
tableData?: TableData;
|
|
1390
|
-
/** Data for a table cell node. */
|
|
1391
|
-
tableCellData?: TableCellData;
|
|
1392
|
-
/** Data for a custom external node. */
|
|
1393
|
-
externalData?: Record<string, any> | null;
|
|
1394
|
-
/** Data for an audio node. */
|
|
1395
|
-
audioData?: AudioData;
|
|
1396
|
-
/** Data for an ordered list node. */
|
|
1397
|
-
orderedListData?: OrderedListData;
|
|
1398
|
-
/** Data for a bulleted list node. */
|
|
1399
|
-
bulletedListData?: BulletedListData;
|
|
1400
|
-
/** Data for a block quote node. */
|
|
1401
|
-
blockquoteData?: BlockquoteData;
|
|
1402
|
-
/** Data for a caption node. */
|
|
1403
|
-
captionData?: CaptionData;
|
|
1404
|
-
/** LayoutData layout_data = 31; // Data for a layout node. Reserved for future use. */
|
|
1405
|
-
layoutCellData?: LayoutCellData;
|
|
1406
|
-
/** Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format. */
|
|
1407
|
-
type?: NodeTypeWithLiterals;
|
|
1408
|
-
/** Node ID. */
|
|
1409
|
-
id?: string;
|
|
1410
|
-
/** A list of child nodes. */
|
|
1411
|
-
nodes?: Node[];
|
|
1412
|
-
/** Padding and background color styling for the node. */
|
|
1413
|
-
style?: NodeStyle;
|
|
1414
|
-
}
|
|
1415
|
-
/** @oneof */
|
|
1416
|
-
export interface NodeDataOneOf {
|
|
1417
|
-
/** Data for a button node. */
|
|
1418
|
-
buttonData?: ButtonData;
|
|
1419
|
-
/** Data for a code block node. */
|
|
1420
|
-
codeBlockData?: CodeBlockData;
|
|
1421
|
-
/** Data for a divider node. */
|
|
1422
|
-
dividerData?: DividerData;
|
|
1423
|
-
/** Data for a file node. */
|
|
1424
|
-
fileData?: FileData;
|
|
1425
|
-
/** Data for a gallery node. */
|
|
1426
|
-
galleryData?: GalleryData;
|
|
1427
|
-
/** Data for a GIF node. */
|
|
1428
|
-
gifData?: GIFData;
|
|
1429
|
-
/** Data for a heading node. */
|
|
1430
|
-
headingData?: HeadingData;
|
|
1431
|
-
/** Data for an embedded HTML node. */
|
|
1432
|
-
htmlData?: HTMLData;
|
|
1433
|
-
/** Data for an image node. */
|
|
1434
|
-
imageData?: ImageData;
|
|
1435
|
-
/** Data for a link preview node. */
|
|
1436
|
-
linkPreviewData?: LinkPreviewData;
|
|
1437
|
-
/** @deprecated */
|
|
1438
|
-
mapData?: MapData;
|
|
1439
|
-
/** Data for a paragraph node. */
|
|
1440
|
-
paragraphData?: ParagraphData;
|
|
1441
|
-
/** Data for a poll node. */
|
|
1442
|
-
pollData?: PollData;
|
|
1443
|
-
/** Data for a text node. Used to apply decorations to text. */
|
|
1444
|
-
textData?: TextData;
|
|
1445
|
-
/** Data for an app embed node. */
|
|
1446
|
-
appEmbedData?: AppEmbedData;
|
|
1447
|
-
/** Data for a video node. */
|
|
1448
|
-
videoData?: VideoData;
|
|
1449
|
-
/** Data for an oEmbed node. */
|
|
1450
|
-
embedData?: EmbedData;
|
|
1451
|
-
/** Data for a collapsible list node. */
|
|
1452
|
-
collapsibleListData?: CollapsibleListData;
|
|
1453
|
-
/** Data for a table node. */
|
|
1454
|
-
tableData?: TableData;
|
|
1455
|
-
/** Data for a table cell node. */
|
|
1456
|
-
tableCellData?: TableCellData;
|
|
1457
|
-
/** Data for a custom external node. */
|
|
1458
|
-
externalData?: Record<string, any> | null;
|
|
1459
|
-
/** Data for an audio node. */
|
|
1460
|
-
audioData?: AudioData;
|
|
1461
|
-
/** Data for an ordered list node. */
|
|
1462
|
-
orderedListData?: OrderedListData;
|
|
1463
|
-
/** Data for a bulleted list node. */
|
|
1464
|
-
bulletedListData?: BulletedListData;
|
|
1465
|
-
/** Data for a block quote node. */
|
|
1466
|
-
blockquoteData?: BlockquoteData;
|
|
1467
|
-
/** Data for a caption node. */
|
|
1468
|
-
captionData?: CaptionData;
|
|
1469
|
-
/** LayoutData layout_data = 31; // Data for a layout node. Reserved for future use. */
|
|
1470
|
-
layoutCellData?: LayoutCellData;
|
|
1471
|
-
}
|
|
1472
|
-
export declare enum NodeType {
|
|
1473
|
-
PARAGRAPH = "PARAGRAPH",
|
|
1474
|
-
TEXT = "TEXT",
|
|
1475
|
-
HEADING = "HEADING",
|
|
1476
|
-
BULLETED_LIST = "BULLETED_LIST",
|
|
1477
|
-
ORDERED_LIST = "ORDERED_LIST",
|
|
1478
|
-
LIST_ITEM = "LIST_ITEM",
|
|
1479
|
-
BLOCKQUOTE = "BLOCKQUOTE",
|
|
1480
|
-
CODE_BLOCK = "CODE_BLOCK",
|
|
1481
|
-
VIDEO = "VIDEO",
|
|
1482
|
-
DIVIDER = "DIVIDER",
|
|
1483
|
-
FILE = "FILE",
|
|
1484
|
-
GALLERY = "GALLERY",
|
|
1485
|
-
GIF = "GIF",
|
|
1486
|
-
HTML = "HTML",
|
|
1487
|
-
IMAGE = "IMAGE",
|
|
1488
|
-
LINK_PREVIEW = "LINK_PREVIEW",
|
|
1489
|
-
/** @deprecated */
|
|
1490
|
-
MAP = "MAP",
|
|
1491
|
-
POLL = "POLL",
|
|
1492
|
-
APP_EMBED = "APP_EMBED",
|
|
1493
|
-
BUTTON = "BUTTON",
|
|
1494
|
-
COLLAPSIBLE_LIST = "COLLAPSIBLE_LIST",
|
|
1495
|
-
TABLE = "TABLE",
|
|
1496
|
-
EMBED = "EMBED",
|
|
1497
|
-
COLLAPSIBLE_ITEM = "COLLAPSIBLE_ITEM",
|
|
1498
|
-
COLLAPSIBLE_ITEM_TITLE = "COLLAPSIBLE_ITEM_TITLE",
|
|
1499
|
-
COLLAPSIBLE_ITEM_BODY = "COLLAPSIBLE_ITEM_BODY",
|
|
1500
|
-
TABLE_CELL = "TABLE_CELL",
|
|
1501
|
-
TABLE_ROW = "TABLE_ROW",
|
|
1502
|
-
EXTERNAL = "EXTERNAL",
|
|
1503
|
-
AUDIO = "AUDIO",
|
|
1504
|
-
CAPTION = "CAPTION",
|
|
1505
|
-
LAYOUT = "LAYOUT",
|
|
1506
|
-
LAYOUT_CELL = "LAYOUT_CELL"
|
|
1507
|
-
}
|
|
1508
|
-
/** @enumType */
|
|
1509
|
-
export type NodeTypeWithLiterals = NodeType | 'PARAGRAPH' | 'TEXT' | 'HEADING' | 'BULLETED_LIST' | 'ORDERED_LIST' | 'LIST_ITEM' | 'BLOCKQUOTE' | 'CODE_BLOCK' | 'VIDEO' | 'DIVIDER' | 'FILE' | 'GALLERY' | 'GIF' | 'HTML' | 'IMAGE' | 'LINK_PREVIEW' | 'MAP' | 'POLL' | 'APP_EMBED' | 'BUTTON' | 'COLLAPSIBLE_LIST' | 'TABLE' | 'EMBED' | 'COLLAPSIBLE_ITEM' | 'COLLAPSIBLE_ITEM_TITLE' | 'COLLAPSIBLE_ITEM_BODY' | 'TABLE_CELL' | 'TABLE_ROW' | 'EXTERNAL' | 'AUDIO' | 'CAPTION' | 'LAYOUT' | 'LAYOUT_CELL';
|
|
1510
|
-
export interface NodeStyle {
|
|
1511
|
-
/** The top padding value in pixels. */
|
|
1512
|
-
paddingTop?: string | null;
|
|
1513
|
-
/** The bottom padding value in pixels. */
|
|
1514
|
-
paddingBottom?: string | null;
|
|
1515
|
-
/** The background color as a hexadecimal value. */
|
|
1516
|
-
backgroundColor?: string | null;
|
|
1517
|
-
}
|
|
1518
|
-
export interface ButtonData {
|
|
1519
|
-
/** Styling for the button's container. */
|
|
1520
|
-
containerData?: PluginContainerData;
|
|
1521
|
-
/** The button type. */
|
|
1522
|
-
type?: ButtonDataTypeWithLiterals;
|
|
1523
|
-
/** Styling for the button. */
|
|
1524
|
-
styles?: Styles;
|
|
1525
|
-
/** The text to display on the button. */
|
|
1526
|
-
text?: string | null;
|
|
1527
|
-
/** Button link details. */
|
|
1528
|
-
link?: V1Link;
|
|
1529
|
-
}
|
|
1530
|
-
export interface Border {
|
|
1531
|
-
/**
|
|
1532
|
-
* Deprecated: Use `borderWidth` in `styles` instead.
|
|
1533
|
-
* @deprecated
|
|
1534
|
-
*/
|
|
1535
|
-
width?: number | null;
|
|
1536
|
-
/**
|
|
1537
|
-
* Deprecated: Use `borderRadius` in `styles` instead.
|
|
1538
|
-
* @deprecated
|
|
1539
|
-
*/
|
|
1540
|
-
radius?: number | null;
|
|
1541
|
-
}
|
|
1542
|
-
export interface Colors {
|
|
1543
|
-
/**
|
|
1544
|
-
* Deprecated: Use `textColor` in `styles` instead.
|
|
1545
|
-
* @deprecated
|
|
1546
|
-
*/
|
|
1547
|
-
text?: string | null;
|
|
1548
|
-
/**
|
|
1549
|
-
* Deprecated: Use `borderColor` in `styles` instead.
|
|
1550
|
-
* @deprecated
|
|
1551
|
-
*/
|
|
1552
|
-
border?: string | null;
|
|
1553
|
-
/**
|
|
1554
|
-
* Deprecated: Use `backgroundColor` in `styles` instead.
|
|
1555
|
-
* @deprecated
|
|
1556
|
-
*/
|
|
1557
|
-
background?: string | null;
|
|
1558
|
-
}
|
|
1559
|
-
export interface PluginContainerData {
|
|
1560
|
-
/** The width of the node when it's displayed. */
|
|
1561
|
-
width?: PluginContainerDataWidth;
|
|
1562
|
-
/** The node's alignment within its container. */
|
|
1563
|
-
alignment?: PluginContainerDataAlignmentWithLiterals;
|
|
1564
|
-
/** Spoiler cover settings for the node. */
|
|
1565
|
-
spoiler?: Spoiler;
|
|
1566
|
-
/** The height of the node when it's displayed. */
|
|
1567
|
-
height?: Height;
|
|
1568
|
-
/** Sets whether text should wrap around this node when it's displayed. If `textWrap` is `false`, the node takes up the width of its container. Defaults to `true` for all node types except 'DIVIVDER' where it defaults to `false`. */
|
|
1569
|
-
textWrap?: boolean | null;
|
|
1570
|
-
}
|
|
1571
|
-
export declare enum WidthType {
|
|
1572
|
-
/** Width matches the content width */
|
|
1573
|
-
CONTENT = "CONTENT",
|
|
1574
|
-
/** Small Width */
|
|
1575
|
-
SMALL = "SMALL",
|
|
1576
|
-
/** Width will match the original asset width */
|
|
1577
|
-
ORIGINAL = "ORIGINAL",
|
|
1578
|
-
/** coast-to-coast display */
|
|
1579
|
-
FULL_WIDTH = "FULL_WIDTH"
|
|
1580
|
-
}
|
|
1581
|
-
/** @enumType */
|
|
1582
|
-
export type WidthTypeWithLiterals = WidthType | 'CONTENT' | 'SMALL' | 'ORIGINAL' | 'FULL_WIDTH';
|
|
1583
|
-
export interface PluginContainerDataWidth extends PluginContainerDataWidthDataOneOf {
|
|
1584
|
-
/**
|
|
1585
|
-
* One of the following predefined width options:
|
|
1586
|
-
* `CONTENT`: The width of the container matches the content width.
|
|
1587
|
-
* `SMALL`: A small width.
|
|
1588
|
-
* `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.
|
|
1589
|
-
* `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.
|
|
1590
|
-
*/
|
|
1591
|
-
size?: WidthTypeWithLiterals;
|
|
1592
|
-
/** A custom width value in pixels. */
|
|
1593
|
-
custom?: string | null;
|
|
1594
|
-
}
|
|
1595
|
-
/** @oneof */
|
|
1596
|
-
export interface PluginContainerDataWidthDataOneOf {
|
|
1597
|
-
/**
|
|
1598
|
-
* One of the following predefined width options:
|
|
1599
|
-
* `CONTENT`: The width of the container matches the content width.
|
|
1600
|
-
* `SMALL`: A small width.
|
|
1601
|
-
* `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.
|
|
1602
|
-
* `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.
|
|
1603
|
-
*/
|
|
1604
|
-
size?: WidthTypeWithLiterals;
|
|
1605
|
-
/** A custom width value in pixels. */
|
|
1606
|
-
custom?: string | null;
|
|
1607
|
-
}
|
|
1608
|
-
export declare enum PluginContainerDataAlignment {
|
|
1609
|
-
/** Center Alignment */
|
|
1610
|
-
CENTER = "CENTER",
|
|
1611
|
-
/** Left Alignment */
|
|
1612
|
-
LEFT = "LEFT",
|
|
1613
|
-
/** Right Alignment */
|
|
1614
|
-
RIGHT = "RIGHT"
|
|
1615
|
-
}
|
|
1616
|
-
/** @enumType */
|
|
1617
|
-
export type PluginContainerDataAlignmentWithLiterals = PluginContainerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
|
|
1618
|
-
export interface Spoiler {
|
|
1619
|
-
/** Sets whether the spoiler cover is enabled for this node. Defaults to `false`. */
|
|
1620
|
-
enabled?: boolean | null;
|
|
1621
|
-
/** The description displayed on top of the spoiler cover. */
|
|
1622
|
-
description?: string | null;
|
|
1623
|
-
/** The text for the button used to remove the spoiler cover. */
|
|
1624
|
-
buttonText?: string | null;
|
|
1625
|
-
}
|
|
1626
|
-
export interface Height {
|
|
1627
|
-
/** A custom height value in pixels. */
|
|
1628
|
-
custom?: string | null;
|
|
1629
|
-
}
|
|
1630
|
-
export declare enum ButtonDataType {
|
|
1631
|
-
/** Regular link button */
|
|
1632
|
-
LINK = "LINK",
|
|
1633
|
-
/** Triggers custom action that is defined in plugin configuration by the consumer */
|
|
1634
|
-
ACTION = "ACTION"
|
|
1635
|
-
}
|
|
1636
|
-
/** @enumType */
|
|
1637
|
-
export type ButtonDataTypeWithLiterals = ButtonDataType | 'LINK' | 'ACTION';
|
|
1638
|
-
export interface Styles {
|
|
1639
|
-
/**
|
|
1640
|
-
* Deprecated: Use `borderWidth` and `borderRadius` instead.
|
|
1641
|
-
* @deprecated
|
|
1642
|
-
*/
|
|
1643
|
-
border?: Border;
|
|
1644
|
-
/**
|
|
1645
|
-
* Deprecated: Use `textColor`, `borderColor` and `backgroundColor` instead.
|
|
1646
|
-
* @deprecated
|
|
1647
|
-
*/
|
|
1648
|
-
colors?: Colors;
|
|
1649
|
-
/** Border width in pixels. */
|
|
1650
|
-
borderWidth?: number | null;
|
|
1651
|
-
/**
|
|
1652
|
-
* Deprecated: Use `borderWidth` for normal/hover states instead.
|
|
1653
|
-
* @deprecated
|
|
1654
|
-
*/
|
|
1655
|
-
borderWidthHover?: number | null;
|
|
1656
|
-
/** Border radius in pixels. */
|
|
1657
|
-
borderRadius?: number | null;
|
|
1658
|
-
/**
|
|
1659
|
-
* Border color as a hexadecimal value.
|
|
1660
|
-
* @format COLOR_HEX
|
|
1661
|
-
*/
|
|
1662
|
-
borderColor?: string | null;
|
|
1663
|
-
/**
|
|
1664
|
-
* Border color as a hexadecimal value (hover state).
|
|
1665
|
-
* @format COLOR_HEX
|
|
1666
|
-
*/
|
|
1667
|
-
borderColorHover?: string | null;
|
|
1668
|
-
/**
|
|
1669
|
-
* Text color as a hexadecimal value.
|
|
1670
|
-
* @format COLOR_HEX
|
|
1671
|
-
*/
|
|
1672
|
-
textColor?: string | null;
|
|
1673
|
-
/**
|
|
1674
|
-
* Text color as a hexadecimal value (hover state).
|
|
1675
|
-
* @format COLOR_HEX
|
|
1676
|
-
*/
|
|
1677
|
-
textColorHover?: string | null;
|
|
1678
|
-
/**
|
|
1679
|
-
* Background color as a hexadecimal value.
|
|
1680
|
-
* @format COLOR_HEX
|
|
1681
|
-
*/
|
|
1682
|
-
backgroundColor?: string | null;
|
|
1683
|
-
/**
|
|
1684
|
-
* Background color as a hexadecimal value (hover state).
|
|
1685
|
-
* @format COLOR_HEX
|
|
1686
|
-
*/
|
|
1687
|
-
backgroundColorHover?: string | null;
|
|
1688
|
-
/** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
|
|
1689
|
-
buttonSize?: string | null;
|
|
1690
|
-
}
|
|
1691
|
-
export interface V1Link extends V1LinkDataOneOf {
|
|
1692
|
-
/** The absolute URL for the linked document. */
|
|
1693
|
-
url?: string;
|
|
1694
|
-
/** The target node's ID. Used for linking to another node in this object. */
|
|
1695
|
-
anchor?: string;
|
|
1696
|
-
/**
|
|
1697
|
-
* he HTML `target` attribute value for the link. This property defines where the linked document opens as follows:
|
|
1698
|
-
* `SELF` - Default. Opens the linked document in the same frame as the link.
|
|
1699
|
-
* `BLANK` - Opens the linked document in a new browser tab or window.
|
|
1700
|
-
* `PARENT` - Opens the linked document in the link's parent frame.
|
|
1701
|
-
* `TOP` - Opens the linked document in the full body of the link's browser tab or window.
|
|
1702
|
-
*/
|
|
1703
|
-
target?: TargetWithLiterals;
|
|
1704
|
-
/** The HTML `rel` attribute value for the link. This object specifies the relationship between the current document and the linked document. */
|
|
1705
|
-
rel?: Rel;
|
|
1706
|
-
/** A serialized object used for a custom or external link panel. */
|
|
1707
|
-
customData?: string | null;
|
|
1708
|
-
}
|
|
1709
|
-
/** @oneof */
|
|
1710
|
-
export interface V1LinkDataOneOf {
|
|
1711
|
-
/** The absolute URL for the linked document. */
|
|
1712
|
-
url?: string;
|
|
1713
|
-
/** The target node's ID. Used for linking to another node in this object. */
|
|
1714
|
-
anchor?: string;
|
|
1715
|
-
}
|
|
1716
|
-
export declare enum Target {
|
|
1717
|
-
/** Opens the linked document in the same frame as it was clicked (this is default) */
|
|
1718
|
-
SELF = "SELF",
|
|
1719
|
-
/** Opens the linked document in a new window or tab */
|
|
1720
|
-
BLANK = "BLANK",
|
|
1721
|
-
/** Opens the linked document in the parent frame */
|
|
1722
|
-
PARENT = "PARENT",
|
|
1723
|
-
/** Opens the linked document in the full body of the window */
|
|
1724
|
-
TOP = "TOP"
|
|
1725
|
-
}
|
|
1726
|
-
/** @enumType */
|
|
1727
|
-
export type TargetWithLiterals = Target | 'SELF' | 'BLANK' | 'PARENT' | 'TOP';
|
|
1728
|
-
export interface Rel {
|
|
1729
|
-
/** Indicates to search engine crawlers not to follow the link. Defaults to `false`. */
|
|
1730
|
-
nofollow?: boolean | null;
|
|
1731
|
-
/** Indicates to search engine crawlers that the link is a paid placement such as sponsored content or an advertisement. Defaults to `false`. */
|
|
1732
|
-
sponsored?: boolean | null;
|
|
1733
|
-
/** Indicates that this link is user-generated content and isn't necessarily trusted or endorsed by the page’s author. For example, a link in a fourm post. Defaults to `false`. */
|
|
1734
|
-
ugc?: boolean | null;
|
|
1735
|
-
/** Indicates that this link protect referral information from being passed to the target website. */
|
|
1736
|
-
noreferrer?: boolean | null;
|
|
1737
|
-
}
|
|
1738
|
-
export interface CodeBlockData {
|
|
1739
|
-
/** Styling for the code block's text. */
|
|
1740
|
-
textStyle?: TextStyle;
|
|
1741
|
-
}
|
|
1742
|
-
export interface TextStyle {
|
|
1743
|
-
/** Text alignment. Defaults to `AUTO`. */
|
|
1744
|
-
textAlignment?: TextAlignmentWithLiterals;
|
|
1745
|
-
/** A CSS `line-height` value for the text expressed as a ratio relative to the font size. For example, if the font size is 20px, a `lineHeight` value of `'1.5'`` results in a line height of 30px. */
|
|
1746
|
-
lineHeight?: string | null;
|
|
1747
|
-
}
|
|
1748
|
-
export declare enum TextAlignment {
|
|
1749
|
-
/** browser default, eqivalent to `initial` */
|
|
1750
|
-
AUTO = "AUTO",
|
|
1751
|
-
/** Left align */
|
|
1752
|
-
LEFT = "LEFT",
|
|
1753
|
-
/** Right align */
|
|
1754
|
-
RIGHT = "RIGHT",
|
|
1755
|
-
/** Center align */
|
|
1756
|
-
CENTER = "CENTER",
|
|
1757
|
-
/** Text is spaced to line up its left and right edges to the left and right edges of the line box, except for the last line */
|
|
1758
|
-
JUSTIFY = "JUSTIFY"
|
|
1759
|
-
}
|
|
1760
|
-
/** @enumType */
|
|
1761
|
-
export type TextAlignmentWithLiterals = TextAlignment | 'AUTO' | 'LEFT' | 'RIGHT' | 'CENTER' | 'JUSTIFY';
|
|
1762
|
-
export interface DividerData {
|
|
1763
|
-
/** Styling for the divider's container. */
|
|
1764
|
-
containerData?: PluginContainerData;
|
|
1765
|
-
/** Divider line style. */
|
|
1766
|
-
lineStyle?: LineStyleWithLiterals;
|
|
1767
|
-
/** Divider width. */
|
|
1768
|
-
width?: WidthWithLiterals;
|
|
1769
|
-
/** Divider alignment. */
|
|
1770
|
-
alignment?: AlignmentWithLiterals;
|
|
1771
|
-
}
|
|
1772
|
-
export declare enum LineStyle {
|
|
1773
|
-
/** Single Line */
|
|
1774
|
-
SINGLE = "SINGLE",
|
|
1775
|
-
/** Double Line */
|
|
1776
|
-
DOUBLE = "DOUBLE",
|
|
1777
|
-
/** Dashed Line */
|
|
1778
|
-
DASHED = "DASHED",
|
|
1779
|
-
/** Dotted Line */
|
|
1780
|
-
DOTTED = "DOTTED"
|
|
1781
|
-
}
|
|
1782
|
-
/** @enumType */
|
|
1783
|
-
export type LineStyleWithLiterals = LineStyle | 'SINGLE' | 'DOUBLE' | 'DASHED' | 'DOTTED';
|
|
1784
|
-
export declare enum Width {
|
|
1785
|
-
/** Large line */
|
|
1786
|
-
LARGE = "LARGE",
|
|
1787
|
-
/** Medium line */
|
|
1788
|
-
MEDIUM = "MEDIUM",
|
|
1789
|
-
/** Small line */
|
|
1790
|
-
SMALL = "SMALL"
|
|
1791
|
-
}
|
|
1792
|
-
/** @enumType */
|
|
1793
|
-
export type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';
|
|
1794
|
-
export declare enum Alignment {
|
|
1795
|
-
/** Center alignment */
|
|
1796
|
-
CENTER = "CENTER",
|
|
1797
|
-
/** Left alignment */
|
|
1798
|
-
LEFT = "LEFT",
|
|
1799
|
-
/** Right alignment */
|
|
1800
|
-
RIGHT = "RIGHT"
|
|
1801
|
-
}
|
|
1802
|
-
/** @enumType */
|
|
1803
|
-
export type AlignmentWithLiterals = Alignment | 'CENTER' | 'LEFT' | 'RIGHT';
|
|
1804
|
-
export interface FileData {
|
|
1805
|
-
/** Styling for the file's container. */
|
|
1806
|
-
containerData?: PluginContainerData;
|
|
1807
|
-
/** The source for the file's data. */
|
|
1808
|
-
src?: FileSource;
|
|
1809
|
-
/** File name. */
|
|
1810
|
-
name?: string | null;
|
|
1811
|
-
/** File type. */
|
|
1812
|
-
type?: string | null;
|
|
1813
|
-
/**
|
|
1814
|
-
* Use `sizeInKb` instead.
|
|
1815
|
-
* @deprecated
|
|
1816
|
-
*/
|
|
1817
|
-
size?: number | null;
|
|
1818
|
-
/** Settings for PDF files. */
|
|
1819
|
-
pdfSettings?: PDFSettings;
|
|
1820
|
-
/** File MIME type. */
|
|
1821
|
-
mimeType?: string | null;
|
|
1822
|
-
/** File path. */
|
|
1823
|
-
path?: string | null;
|
|
1824
|
-
/** File size in KB. */
|
|
1825
|
-
sizeInKb?: string | null;
|
|
1826
|
-
}
|
|
1827
|
-
export declare enum ViewMode {
|
|
1828
|
-
/** No PDF view */
|
|
1829
|
-
NONE = "NONE",
|
|
1830
|
-
/** Full PDF view */
|
|
1831
|
-
FULL = "FULL",
|
|
1832
|
-
/** Mini PDF view */
|
|
1833
|
-
MINI = "MINI"
|
|
1834
|
-
}
|
|
1835
|
-
/** @enumType */
|
|
1836
|
-
export type ViewModeWithLiterals = ViewMode | 'NONE' | 'FULL' | 'MINI';
|
|
1837
|
-
export interface FileSource extends FileSourceDataOneOf {
|
|
1838
|
-
/** The absolute URL for the file's source. */
|
|
1839
|
-
url?: string | null;
|
|
1840
|
-
/**
|
|
1841
|
-
* Custom ID. Use `id` instead.
|
|
1842
|
-
* @deprecated
|
|
1843
|
-
*/
|
|
1844
|
-
custom?: string | null;
|
|
1845
|
-
/** An ID that's resolved to a URL by a resolver function. */
|
|
1846
|
-
id?: string | null;
|
|
1847
|
-
/** Indicates whether the file's source is private. Defaults to `false`. */
|
|
1848
|
-
private?: boolean | null;
|
|
1849
|
-
}
|
|
1850
|
-
/** @oneof */
|
|
1851
|
-
export interface FileSourceDataOneOf {
|
|
1852
|
-
/** The absolute URL for the file's source. */
|
|
1853
|
-
url?: string | null;
|
|
1854
|
-
/**
|
|
1855
|
-
* Custom ID. Use `id` instead.
|
|
1856
|
-
* @deprecated
|
|
1857
|
-
*/
|
|
1858
|
-
custom?: string | null;
|
|
1859
|
-
/** An ID that's resolved to a URL by a resolver function. */
|
|
1860
|
-
id?: string | null;
|
|
1861
|
-
}
|
|
1862
|
-
export interface PDFSettings {
|
|
1863
|
-
/**
|
|
1864
|
-
* PDF view mode. One of the following:
|
|
1865
|
-
* `NONE` : The PDF isn't displayed.
|
|
1866
|
-
* `FULL` : A full page view of the PDF is displayed.
|
|
1867
|
-
* `MINI` : A mini view of the PDF is displayed.
|
|
1868
|
-
*/
|
|
1869
|
-
viewMode?: ViewModeWithLiterals;
|
|
1870
|
-
/** Sets whether the PDF download button is disabled. Defaults to `false`. */
|
|
1871
|
-
disableDownload?: boolean | null;
|
|
1872
|
-
/** Sets whether the PDF print button is disabled. Defaults to `false`. */
|
|
1873
|
-
disablePrint?: boolean | null;
|
|
1874
|
-
}
|
|
1875
|
-
export interface GalleryData {
|
|
1876
|
-
/** Styling for the gallery's container. */
|
|
1877
|
-
containerData?: PluginContainerData;
|
|
1878
|
-
/** The items in the gallery. */
|
|
1879
|
-
items?: GalleryDataItem[];
|
|
1880
|
-
/** Options for defining the gallery's appearance. */
|
|
1881
|
-
options?: GalleryOptions;
|
|
1882
|
-
/** Sets whether the gallery's expand button is disabled. Defaults to `false`. */
|
|
1883
|
-
disableExpand?: boolean | null;
|
|
1884
|
-
/** Sets whether the gallery's download button is disabled. Defaults to `false`. */
|
|
1885
|
-
disableDownload?: boolean | null;
|
|
1886
|
-
}
|
|
1887
|
-
export interface Media {
|
|
1888
|
-
/** The source for the media's data. */
|
|
1889
|
-
src?: FileSource;
|
|
1890
|
-
/** Media width in pixels. */
|
|
1891
|
-
width?: number | null;
|
|
1892
|
-
/** Media height in pixels. */
|
|
1893
|
-
height?: number | null;
|
|
1894
|
-
/** Media duration in seconds. Only relevant for audio and video files. */
|
|
1895
|
-
duration?: number | null;
|
|
1896
|
-
}
|
|
1897
|
-
export interface ItemImage {
|
|
1898
|
-
/** Image file details. */
|
|
1899
|
-
media?: Media;
|
|
1900
|
-
/** Link details for images that are links. */
|
|
1901
|
-
link?: V1Link;
|
|
1902
|
-
}
|
|
1903
|
-
export interface Video {
|
|
1904
|
-
/** Video file details. */
|
|
1905
|
-
media?: Media;
|
|
1906
|
-
/** Video thumbnail file details. */
|
|
1907
|
-
thumbnail?: Media;
|
|
1908
|
-
}
|
|
1909
|
-
export interface GalleryDataItem extends GalleryDataItemDataOneOf {
|
|
1910
|
-
/** An image item. */
|
|
1911
|
-
image?: ItemImage;
|
|
1912
|
-
/** A video item. */
|
|
1913
|
-
video?: Video;
|
|
1914
|
-
/** Item title. */
|
|
1915
|
-
title?: string | null;
|
|
1916
|
-
/** Item's alternative text. */
|
|
1917
|
-
altText?: string | null;
|
|
1918
|
-
}
|
|
1919
|
-
/** @oneof */
|
|
1920
|
-
export interface GalleryDataItemDataOneOf {
|
|
1921
|
-
/** An image item. */
|
|
1922
|
-
image?: ItemImage;
|
|
1923
|
-
/** A video item. */
|
|
1924
|
-
video?: Video;
|
|
1925
|
-
}
|
|
1926
|
-
export interface GalleryOptions {
|
|
1927
|
-
/** Gallery layout. */
|
|
1928
|
-
layout?: Layout;
|
|
1929
|
-
/** Styling for gallery items. */
|
|
1930
|
-
item?: ItemStyle;
|
|
1931
|
-
/** Styling for gallery thumbnail images. */
|
|
1932
|
-
thumbnails?: Thumbnails;
|
|
1933
|
-
}
|
|
1934
|
-
export declare enum LayoutType {
|
|
1935
|
-
/** Collage type */
|
|
1936
|
-
COLLAGE = "COLLAGE",
|
|
1937
|
-
/** Masonry type */
|
|
1938
|
-
MASONRY = "MASONRY",
|
|
1939
|
-
/** Grid type */
|
|
1940
|
-
GRID = "GRID",
|
|
1941
|
-
/** Thumbnail type */
|
|
1942
|
-
THUMBNAIL = "THUMBNAIL",
|
|
1943
|
-
/** Slider type */
|
|
1944
|
-
SLIDER = "SLIDER",
|
|
1945
|
-
/** Slideshow type */
|
|
1946
|
-
SLIDESHOW = "SLIDESHOW",
|
|
1947
|
-
/** Panorama type */
|
|
1948
|
-
PANORAMA = "PANORAMA",
|
|
1949
|
-
/** Column type */
|
|
1950
|
-
COLUMN = "COLUMN",
|
|
1951
|
-
/** Magic type */
|
|
1952
|
-
MAGIC = "MAGIC",
|
|
1953
|
-
/** Fullsize images type */
|
|
1954
|
-
FULLSIZE = "FULLSIZE"
|
|
1955
|
-
}
|
|
1956
|
-
/** @enumType */
|
|
1957
|
-
export type LayoutTypeWithLiterals = LayoutType | 'COLLAGE' | 'MASONRY' | 'GRID' | 'THUMBNAIL' | 'SLIDER' | 'SLIDESHOW' | 'PANORAMA' | 'COLUMN' | 'MAGIC' | 'FULLSIZE';
|
|
1958
|
-
export declare enum Orientation {
|
|
1959
|
-
/** Rows Orientation */
|
|
1960
|
-
ROWS = "ROWS",
|
|
1961
|
-
/** Columns Orientation */
|
|
1962
|
-
COLUMNS = "COLUMNS"
|
|
1963
|
-
}
|
|
1964
|
-
/** @enumType */
|
|
1965
|
-
export type OrientationWithLiterals = Orientation | 'ROWS' | 'COLUMNS';
|
|
1966
|
-
export declare enum Crop {
|
|
1967
|
-
/** Crop to fill */
|
|
1968
|
-
FILL = "FILL",
|
|
1969
|
-
/** Crop to fit */
|
|
1970
|
-
FIT = "FIT"
|
|
1971
|
-
}
|
|
1972
|
-
/** @enumType */
|
|
1973
|
-
export type CropWithLiterals = Crop | 'FILL' | 'FIT';
|
|
1974
|
-
export declare enum ThumbnailsAlignment {
|
|
1975
|
-
/** Top alignment */
|
|
1976
|
-
TOP = "TOP",
|
|
1977
|
-
/** Right alignment */
|
|
1978
|
-
RIGHT = "RIGHT",
|
|
1979
|
-
/** Bottom alignment */
|
|
1980
|
-
BOTTOM = "BOTTOM",
|
|
1981
|
-
/** Left alignment */
|
|
1982
|
-
LEFT = "LEFT",
|
|
1983
|
-
/** No thumbnail */
|
|
1984
|
-
NONE = "NONE"
|
|
1985
|
-
}
|
|
1986
|
-
/** @enumType */
|
|
1987
|
-
export type ThumbnailsAlignmentWithLiterals = ThumbnailsAlignment | 'TOP' | 'RIGHT' | 'BOTTOM' | 'LEFT' | 'NONE';
|
|
1988
|
-
export interface Layout {
|
|
1989
|
-
/** Gallery layout type. */
|
|
1990
|
-
type?: LayoutTypeWithLiterals;
|
|
1991
|
-
/** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
|
|
1992
|
-
horizontalScroll?: boolean | null;
|
|
1993
|
-
/** Gallery orientation. */
|
|
1994
|
-
orientation?: OrientationWithLiterals;
|
|
1995
|
-
/** The number of columns to display on full size screens. */
|
|
1996
|
-
numberOfColumns?: number | null;
|
|
1997
|
-
/** The number of columns to display on mobile screens. */
|
|
1998
|
-
mobileNumberOfColumns?: number | null;
|
|
1999
|
-
}
|
|
2000
|
-
export interface ItemStyle {
|
|
2001
|
-
/** Desirable dimension for each item in pixels (behvaior changes according to gallery type) */
|
|
2002
|
-
targetSize?: number | null;
|
|
2003
|
-
/** Item ratio */
|
|
2004
|
-
ratio?: number | null;
|
|
2005
|
-
/** Sets how item images are cropped. */
|
|
2006
|
-
crop?: CropWithLiterals;
|
|
2007
|
-
/** The spacing between items in pixels. */
|
|
2008
|
-
spacing?: number | null;
|
|
2009
|
-
}
|
|
2010
|
-
export interface Thumbnails {
|
|
2011
|
-
/** Thumbnail alignment. */
|
|
2012
|
-
placement?: ThumbnailsAlignmentWithLiterals;
|
|
2013
|
-
/** Spacing between thumbnails in pixels. */
|
|
2014
|
-
spacing?: number | null;
|
|
2015
|
-
}
|
|
2016
|
-
export interface GIFData {
|
|
2017
|
-
/** Styling for the GIF's container. */
|
|
2018
|
-
containerData?: PluginContainerData;
|
|
2019
|
-
/** The source of the full size GIF. */
|
|
2020
|
-
original?: GIF;
|
|
2021
|
-
/** The source of the downsized GIF. */
|
|
2022
|
-
downsized?: GIF;
|
|
2023
|
-
/** Height in pixels. */
|
|
2024
|
-
height?: number;
|
|
2025
|
-
/** Width in pixels. */
|
|
2026
|
-
width?: number;
|
|
2027
|
-
/** Type of GIF (Sticker or NORMAL). Defaults to `NORMAL`. */
|
|
2028
|
-
gifType?: GIFTypeWithLiterals;
|
|
2029
|
-
}
|
|
2030
|
-
export interface GIF {
|
|
2031
|
-
/**
|
|
2032
|
-
* GIF format URL.
|
|
2033
|
-
* @format WEB_URL
|
|
2034
|
-
*/
|
|
2035
|
-
gif?: string | null;
|
|
2036
|
-
/**
|
|
2037
|
-
* MP4 format URL.
|
|
2038
|
-
* @format WEB_URL
|
|
2039
|
-
*/
|
|
2040
|
-
mp4?: string | null;
|
|
2041
|
-
/**
|
|
2042
|
-
* Thumbnail URL.
|
|
2043
|
-
* @format WEB_URL
|
|
2044
|
-
*/
|
|
2045
|
-
still?: string | null;
|
|
2046
|
-
}
|
|
2047
|
-
export declare enum GIFType {
|
|
2048
|
-
NORMAL = "NORMAL",
|
|
2049
|
-
STICKER = "STICKER"
|
|
2050
|
-
}
|
|
2051
|
-
/** @enumType */
|
|
2052
|
-
export type GIFTypeWithLiterals = GIFType | 'NORMAL' | 'STICKER';
|
|
2053
|
-
export interface HeadingData {
|
|
2054
|
-
/** Heading level from 1-6. */
|
|
2055
|
-
level?: number;
|
|
2056
|
-
/** Styling for the heading text. */
|
|
2057
|
-
textStyle?: TextStyle;
|
|
2058
|
-
/** Indentation level from 1-4. */
|
|
2059
|
-
indentation?: number | null;
|
|
2060
|
-
}
|
|
2061
|
-
export interface HTMLData extends HTMLDataDataOneOf {
|
|
2062
|
-
/** The URL for the HTML code for the node. */
|
|
2063
|
-
url?: string;
|
|
2064
|
-
/** The HTML code for the node. */
|
|
2065
|
-
html?: string;
|
|
2066
|
-
/**
|
|
2067
|
-
* Whether this is an AdSense element. Use `source` instead.
|
|
2068
|
-
* @deprecated
|
|
2069
|
-
*/
|
|
2070
|
-
isAdsense?: boolean | null;
|
|
2071
|
-
/** Styling for the HTML node's container. Height property is irrelevant for HTML embeds when autoHeight is set to `true`. */
|
|
2072
|
-
containerData?: PluginContainerData;
|
|
2073
|
-
/** The type of HTML code. */
|
|
2074
|
-
source?: SourceWithLiterals;
|
|
2075
|
-
/** If container height is aligned with its content height. Defaults to `true`. */
|
|
2076
|
-
autoHeight?: boolean | null;
|
|
2077
|
-
}
|
|
2078
|
-
/** @oneof */
|
|
2079
|
-
export interface HTMLDataDataOneOf {
|
|
2080
|
-
/** The URL for the HTML code for the node. */
|
|
2081
|
-
url?: string;
|
|
2082
|
-
/** The HTML code for the node. */
|
|
2083
|
-
html?: string;
|
|
2084
|
-
/**
|
|
2085
|
-
* Whether this is an AdSense element. Use `source` instead.
|
|
2086
|
-
* @deprecated
|
|
2087
|
-
*/
|
|
2088
|
-
isAdsense?: boolean | null;
|
|
2089
|
-
}
|
|
2090
|
-
export declare enum Source {
|
|
2091
|
-
HTML = "HTML",
|
|
2092
|
-
ADSENSE = "ADSENSE"
|
|
2093
|
-
}
|
|
2094
|
-
/** @enumType */
|
|
2095
|
-
export type SourceWithLiterals = Source | 'HTML' | 'ADSENSE';
|
|
2096
|
-
export interface ImageData {
|
|
2097
|
-
/** Styling for the image's container. */
|
|
2098
|
-
containerData?: PluginContainerData;
|
|
2099
|
-
/** Image file details. */
|
|
2100
|
-
image?: Media;
|
|
2101
|
-
/** Link details for images that are links. */
|
|
2102
|
-
link?: V1Link;
|
|
2103
|
-
/** Sets whether the image expands to full screen when clicked. Defaults to `false`. */
|
|
2104
|
-
disableExpand?: boolean | null;
|
|
2105
|
-
/** Image's alternative text. */
|
|
2106
|
-
altText?: string | null;
|
|
2107
|
-
/**
|
|
2108
|
-
* Deprecated: use Caption node instead.
|
|
2109
|
-
* @deprecated
|
|
2110
|
-
*/
|
|
2111
|
-
caption?: string | null;
|
|
2112
|
-
/** Sets whether the image's download button is disabled. Defaults to `false`. */
|
|
2113
|
-
disableDownload?: boolean | null;
|
|
2114
|
-
/** Sets whether the image is decorative and does not need an explanation. Defaults to `false`. */
|
|
2115
|
-
decorative?: boolean | null;
|
|
2116
|
-
/** Styling for the image. */
|
|
2117
|
-
styles?: ImageDataStyles;
|
|
2118
|
-
}
|
|
2119
|
-
export interface StylesBorder {
|
|
2120
|
-
/** Border width in pixels. */
|
|
2121
|
-
width?: number | null;
|
|
2122
|
-
/**
|
|
2123
|
-
* Border color as a hexadecimal value.
|
|
2124
|
-
* @format COLOR_HEX
|
|
2125
|
-
*/
|
|
2126
|
-
color?: string | null;
|
|
2127
|
-
/** Border radius in pixels. */
|
|
2128
|
-
radius?: number | null;
|
|
2129
|
-
}
|
|
2130
|
-
export interface ImageDataStyles {
|
|
2131
|
-
/** Border attributes. */
|
|
2132
|
-
border?: StylesBorder;
|
|
2133
|
-
}
|
|
2134
|
-
export interface LinkPreviewData {
|
|
2135
|
-
/** Styling for the link preview's container. */
|
|
2136
|
-
containerData?: PluginContainerData;
|
|
2137
|
-
/** Link details. */
|
|
2138
|
-
link?: V1Link;
|
|
2139
|
-
/** Preview title. */
|
|
2140
|
-
title?: string | null;
|
|
2141
|
-
/** Preview thumbnail URL. */
|
|
2142
|
-
thumbnailUrl?: string | null;
|
|
2143
|
-
/** Preview description. */
|
|
2144
|
-
description?: string | null;
|
|
2145
|
-
/** The preview content as HTML. */
|
|
2146
|
-
html?: string | null;
|
|
2147
|
-
/** Styling for the link preview. */
|
|
2148
|
-
styles?: LinkPreviewDataStyles;
|
|
2149
|
-
}
|
|
2150
|
-
export declare enum Position {
|
|
2151
|
-
/** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
|
|
2152
|
-
START = "START",
|
|
2153
|
-
/** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */
|
|
2154
|
-
END = "END",
|
|
2155
|
-
/** Thumbnail positioned at the top */
|
|
2156
|
-
TOP = "TOP",
|
|
2157
|
-
/** Thumbnail hidden and not displayed */
|
|
2158
|
-
HIDDEN = "HIDDEN"
|
|
2159
|
-
}
|
|
2160
|
-
/** @enumType */
|
|
2161
|
-
export type PositionWithLiterals = Position | 'START' | 'END' | 'TOP' | 'HIDDEN';
|
|
2162
|
-
export interface LinkPreviewDataStyles {
|
|
2163
|
-
/**
|
|
2164
|
-
* Background color as a hexadecimal value.
|
|
2165
|
-
* @format COLOR_HEX
|
|
2166
|
-
*/
|
|
2167
|
-
backgroundColor?: string | null;
|
|
2168
|
-
/**
|
|
2169
|
-
* Title color as a hexadecimal value.
|
|
2170
|
-
* @format COLOR_HEX
|
|
2171
|
-
*/
|
|
2172
|
-
titleColor?: string | null;
|
|
2173
|
-
/**
|
|
2174
|
-
* Subtitle color as a hexadecimal value.
|
|
2175
|
-
* @format COLOR_HEX
|
|
2176
|
-
*/
|
|
2177
|
-
subtitleColor?: string | null;
|
|
2178
|
-
/**
|
|
2179
|
-
* Link color as a hexadecimal value.
|
|
2180
|
-
* @format COLOR_HEX
|
|
2181
|
-
*/
|
|
2182
|
-
linkColor?: string | null;
|
|
2183
|
-
/** Border width in pixels. */
|
|
2184
|
-
borderWidth?: number | null;
|
|
2185
|
-
/** Border radius in pixels. */
|
|
2186
|
-
borderRadius?: number | null;
|
|
2187
|
-
/**
|
|
2188
|
-
* Border color as a hexadecimal value.
|
|
2189
|
-
* @format COLOR_HEX
|
|
2190
|
-
*/
|
|
2191
|
-
borderColor?: string | null;
|
|
2192
|
-
/** Position of thumbnail. Defaults to `START`. */
|
|
2193
|
-
thumbnailPosition?: PositionWithLiterals;
|
|
2194
|
-
}
|
|
2195
|
-
export interface MapData {
|
|
2196
|
-
/** Styling for the map's container. */
|
|
2197
|
-
containerData?: PluginContainerData;
|
|
2198
|
-
/** Map settings. */
|
|
2199
|
-
mapSettings?: MapSettings;
|
|
2200
|
-
}
|
|
2201
|
-
export interface MapSettings {
|
|
2202
|
-
/** The address to display on the map. */
|
|
2203
|
-
address?: string | null;
|
|
2204
|
-
/** Sets whether the map is draggable. */
|
|
2205
|
-
draggable?: boolean | null;
|
|
2206
|
-
/** Sets whether the location marker is visible. */
|
|
2207
|
-
marker?: boolean | null;
|
|
2208
|
-
/** Sets whether street view control is enabled. */
|
|
2209
|
-
streetViewControl?: boolean | null;
|
|
2210
|
-
/** Sets whether zoom control is enabled. */
|
|
2211
|
-
zoomControl?: boolean | null;
|
|
2212
|
-
/** Location latitude. */
|
|
2213
|
-
lat?: number | null;
|
|
2214
|
-
/** Location longitude. */
|
|
2215
|
-
lng?: number | null;
|
|
2216
|
-
/** Location name. */
|
|
2217
|
-
locationName?: string | null;
|
|
2218
|
-
/** Sets whether view mode control is enabled. */
|
|
2219
|
-
viewModeControl?: boolean | null;
|
|
2220
|
-
/** Initial zoom value. */
|
|
2221
|
-
initialZoom?: number | null;
|
|
2222
|
-
/** Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types. */
|
|
2223
|
-
mapType?: MapTypeWithLiterals;
|
|
2224
|
-
}
|
|
2225
|
-
export declare enum MapType {
|
|
2226
|
-
/** Roadmap map type */
|
|
2227
|
-
ROADMAP = "ROADMAP",
|
|
2228
|
-
/** Satellite map type */
|
|
2229
|
-
SATELITE = "SATELITE",
|
|
2230
|
-
/** Hybrid map type */
|
|
2231
|
-
HYBRID = "HYBRID",
|
|
2232
|
-
/** Terrain map type */
|
|
2233
|
-
TERRAIN = "TERRAIN"
|
|
2234
|
-
}
|
|
2235
|
-
/** @enumType */
|
|
2236
|
-
export type MapTypeWithLiterals = MapType | 'ROADMAP' | 'SATELITE' | 'HYBRID' | 'TERRAIN';
|
|
2237
|
-
export interface ParagraphData {
|
|
2238
|
-
/** Styling for the paragraph text. */
|
|
2239
|
-
textStyle?: TextStyle;
|
|
2240
|
-
/** Indentation level from 1-4. */
|
|
2241
|
-
indentation?: number | null;
|
|
2242
|
-
/** Paragraph level */
|
|
2243
|
-
level?: number | null;
|
|
2244
|
-
}
|
|
2245
|
-
export interface PollData {
|
|
2246
|
-
/** Styling for the poll's container. */
|
|
2247
|
-
containerData?: PluginContainerData;
|
|
2248
|
-
/** Poll data. */
|
|
2249
|
-
poll?: Poll;
|
|
2250
|
-
/** Layout settings for the poll and voting options. */
|
|
2251
|
-
layout?: PollDataLayout;
|
|
2252
|
-
/** Styling for the poll and voting options. */
|
|
2253
|
-
design?: Design;
|
|
2254
|
-
}
|
|
2255
|
-
export declare enum ViewRole {
|
|
2256
|
-
/** Only Poll creator can view the results */
|
|
2257
|
-
CREATOR = "CREATOR",
|
|
2258
|
-
/** Anyone who voted can see the results */
|
|
2259
|
-
VOTERS = "VOTERS",
|
|
2260
|
-
/** Anyone can see the results, even if one didn't vote */
|
|
2261
|
-
EVERYONE = "EVERYONE"
|
|
2262
|
-
}
|
|
2263
|
-
/** @enumType */
|
|
2264
|
-
export type ViewRoleWithLiterals = ViewRole | 'CREATOR' | 'VOTERS' | 'EVERYONE';
|
|
2265
|
-
export declare enum VoteRole {
|
|
2266
|
-
/** Logged in member */
|
|
2267
|
-
SITE_MEMBERS = "SITE_MEMBERS",
|
|
2268
|
-
/** Anyone */
|
|
2269
|
-
ALL = "ALL"
|
|
2270
|
-
}
|
|
2271
|
-
/** @enumType */
|
|
2272
|
-
export type VoteRoleWithLiterals = VoteRole | 'SITE_MEMBERS' | 'ALL';
|
|
2273
|
-
export interface Permissions {
|
|
2274
|
-
/** Sets who can view the poll results. */
|
|
2275
|
-
view?: ViewRoleWithLiterals;
|
|
2276
|
-
/** Sets who can vote. */
|
|
2277
|
-
vote?: VoteRoleWithLiterals;
|
|
2278
|
-
/** Sets whether one voter can vote multiple times. Defaults to `false`. */
|
|
2279
|
-
allowMultipleVotes?: boolean | null;
|
|
2280
|
-
}
|
|
2281
|
-
export interface Option {
|
|
2282
|
-
/** Option ID. */
|
|
2283
|
-
id?: string | null;
|
|
2284
|
-
/** Option title. */
|
|
2285
|
-
title?: string | null;
|
|
2286
|
-
/** The image displayed with the option. */
|
|
2287
|
-
image?: Media;
|
|
2288
|
-
}
|
|
2289
|
-
export interface PollSettings {
|
|
2290
|
-
/** Permissions settings for voting. */
|
|
2291
|
-
permissions?: Permissions;
|
|
2292
|
-
/** Sets whether voters are displayed in the vote results. Defaults to `true`. */
|
|
2293
|
-
showVoters?: boolean | null;
|
|
2294
|
-
/** Sets whether the vote count is displayed. Defaults to `true`. */
|
|
2295
|
-
showVotesCount?: boolean | null;
|
|
2296
|
-
}
|
|
2297
|
-
export declare enum PollLayoutType {
|
|
2298
|
-
/** List */
|
|
2299
|
-
LIST = "LIST",
|
|
2300
|
-
/** Grid */
|
|
2301
|
-
GRID = "GRID"
|
|
2302
|
-
}
|
|
2303
|
-
/** @enumType */
|
|
2304
|
-
export type PollLayoutTypeWithLiterals = PollLayoutType | 'LIST' | 'GRID';
|
|
2305
|
-
export declare enum PollLayoutDirection {
|
|
2306
|
-
/** Left-to-right */
|
|
2307
|
-
LTR = "LTR",
|
|
2308
|
-
/** Right-to-left */
|
|
2309
|
-
RTL = "RTL"
|
|
2310
|
-
}
|
|
2311
|
-
/** @enumType */
|
|
2312
|
-
export type PollLayoutDirectionWithLiterals = PollLayoutDirection | 'LTR' | 'RTL';
|
|
2313
|
-
export interface PollLayout {
|
|
2314
|
-
/** The layout for displaying the voting options. */
|
|
2315
|
-
type?: PollLayoutTypeWithLiterals;
|
|
2316
|
-
/** The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right. */
|
|
2317
|
-
direction?: PollLayoutDirectionWithLiterals;
|
|
2318
|
-
/** Sets whether to display the main poll image. Defaults to `false`. */
|
|
2319
|
-
enableImage?: boolean | null;
|
|
2320
|
-
}
|
|
2321
|
-
export interface OptionLayout {
|
|
2322
|
-
/** Sets whether to display option images. Defaults to `false`. */
|
|
2323
|
-
enableImage?: boolean | null;
|
|
2324
|
-
}
|
|
2325
|
-
export declare enum BackgroundType {
|
|
2326
|
-
/** Color background type */
|
|
2327
|
-
COLOR = "COLOR",
|
|
2328
|
-
/** Image background type */
|
|
2329
|
-
IMAGE = "IMAGE",
|
|
2330
|
-
/** Gradiant background type */
|
|
2331
|
-
GRADIENT = "GRADIENT"
|
|
2332
|
-
}
|
|
2333
|
-
/** @enumType */
|
|
2334
|
-
export type BackgroundTypeWithLiterals = BackgroundType | 'COLOR' | 'IMAGE' | 'GRADIENT';
|
|
2335
|
-
export interface Gradient {
|
|
2336
|
-
/** The gradient angle in degrees. */
|
|
2337
|
-
angle?: number | null;
|
|
2338
|
-
/**
|
|
2339
|
-
* The start color as a hexademical value.
|
|
2340
|
-
* @format COLOR_HEX
|
|
2341
|
-
*/
|
|
2342
|
-
startColor?: string | null;
|
|
2343
|
-
/**
|
|
2344
|
-
* The end color as a hexademical value.
|
|
2345
|
-
* @format COLOR_HEX
|
|
2346
|
-
*/
|
|
2347
|
-
lastColor?: string | null;
|
|
2348
|
-
}
|
|
2349
|
-
export interface Background extends BackgroundBackgroundOneOf {
|
|
2350
|
-
/**
|
|
2351
|
-
* The background color as a hexademical value.
|
|
2352
|
-
* @format COLOR_HEX
|
|
2353
|
-
*/
|
|
2354
|
-
color?: string | null;
|
|
2355
|
-
/** An image to use for the background. */
|
|
2356
|
-
image?: Media;
|
|
2357
|
-
/** Details for a gradient background. */
|
|
2358
|
-
gradient?: Gradient;
|
|
2359
|
-
/** Background type. For each option, include the relevant details. */
|
|
2360
|
-
type?: BackgroundTypeWithLiterals;
|
|
2361
|
-
}
|
|
2362
|
-
/** @oneof */
|
|
2363
|
-
export interface BackgroundBackgroundOneOf {
|
|
2364
|
-
/**
|
|
2365
|
-
* The background color as a hexademical value.
|
|
2366
|
-
* @format COLOR_HEX
|
|
2367
|
-
*/
|
|
2368
|
-
color?: string | null;
|
|
2369
|
-
/** An image to use for the background. */
|
|
2370
|
-
image?: Media;
|
|
2371
|
-
/** Details for a gradient background. */
|
|
2372
|
-
gradient?: Gradient;
|
|
2373
|
-
}
|
|
2374
|
-
export interface PollDesign {
|
|
2375
|
-
/** Background styling. */
|
|
2376
|
-
background?: Background;
|
|
2377
|
-
/** Border radius in pixels. */
|
|
2378
|
-
borderRadius?: number | null;
|
|
2379
|
-
}
|
|
2380
|
-
export interface OptionDesign {
|
|
2381
|
-
/** Border radius in pixels. */
|
|
2382
|
-
borderRadius?: number | null;
|
|
2383
|
-
}
|
|
2384
|
-
export interface Poll {
|
|
2385
|
-
/** Poll ID. */
|
|
2386
|
-
id?: string | null;
|
|
2387
|
-
/** Poll title. */
|
|
2388
|
-
title?: string | null;
|
|
2389
|
-
/** Poll creator ID. */
|
|
2390
|
-
creatorId?: string | null;
|
|
2391
|
-
/** Main poll image. */
|
|
2392
|
-
image?: Media;
|
|
2393
|
-
/** Voting options. */
|
|
2394
|
-
options?: Option[];
|
|
2395
|
-
/** The poll's permissions and display settings. */
|
|
2396
|
-
settings?: PollSettings;
|
|
2397
|
-
}
|
|
2398
|
-
export interface PollDataLayout {
|
|
2399
|
-
/** Poll layout settings. */
|
|
2400
|
-
poll?: PollLayout;
|
|
2401
|
-
/** Voting otpions layout settings. */
|
|
2402
|
-
options?: OptionLayout;
|
|
2403
|
-
}
|
|
2404
|
-
export interface Design {
|
|
2405
|
-
/** Styling for the poll. */
|
|
2406
|
-
poll?: PollDesign;
|
|
2407
|
-
/** Styling for voting options. */
|
|
2408
|
-
options?: OptionDesign;
|
|
2409
|
-
}
|
|
2410
|
-
export interface TextData {
|
|
2411
|
-
/** The text to apply decorations to. */
|
|
2412
|
-
text?: string;
|
|
2413
|
-
/** The decorations to apply. */
|
|
2414
|
-
decorations?: Decoration[];
|
|
2415
|
-
}
|
|
2416
|
-
/** Adds appearence changes to text */
|
|
2417
|
-
export interface Decoration extends DecorationDataOneOf {
|
|
2418
|
-
/** Data for an anchor link decoration. */
|
|
2419
|
-
anchorData?: AnchorData;
|
|
2420
|
-
/** Data for a color decoration. */
|
|
2421
|
-
colorData?: ColorData;
|
|
2422
|
-
/** Data for an external link decoration. */
|
|
2423
|
-
linkData?: LinkData;
|
|
2424
|
-
/** Data for a mention decoration. */
|
|
2425
|
-
mentionData?: MentionData;
|
|
2426
|
-
/** Data for a font size decoration. */
|
|
2427
|
-
fontSizeData?: FontSizeData;
|
|
2428
|
-
/** Font weight for a bold decoration. */
|
|
2429
|
-
fontWeightValue?: number | null;
|
|
2430
|
-
/** Data for an italic decoration. Defaults to `true`. */
|
|
2431
|
-
italicData?: boolean | null;
|
|
2432
|
-
/** Data for an underline decoration. Defaults to `true`. */
|
|
2433
|
-
underlineData?: boolean | null;
|
|
2434
|
-
/** Data for a spoiler decoration. */
|
|
2435
|
-
spoilerData?: SpoilerData;
|
|
2436
|
-
/** Data for a strikethrough decoration. Defaults to `true`. */
|
|
2437
|
-
strikethroughData?: boolean | null;
|
|
2438
|
-
/** The type of decoration to apply. */
|
|
2439
|
-
type?: DecorationTypeWithLiterals;
|
|
2440
|
-
}
|
|
2441
|
-
/** @oneof */
|
|
2442
|
-
export interface DecorationDataOneOf {
|
|
2443
|
-
/** Data for an anchor link decoration. */
|
|
2444
|
-
anchorData?: AnchorData;
|
|
2445
|
-
/** Data for a color decoration. */
|
|
2446
|
-
colorData?: ColorData;
|
|
2447
|
-
/** Data for an external link decoration. */
|
|
2448
|
-
linkData?: LinkData;
|
|
2449
|
-
/** Data for a mention decoration. */
|
|
2450
|
-
mentionData?: MentionData;
|
|
2451
|
-
/** Data for a font size decoration. */
|
|
2452
|
-
fontSizeData?: FontSizeData;
|
|
2453
|
-
/** Font weight for a bold decoration. */
|
|
2454
|
-
fontWeightValue?: number | null;
|
|
2455
|
-
/** Data for an italic decoration. Defaults to `true`. */
|
|
2456
|
-
italicData?: boolean | null;
|
|
2457
|
-
/** Data for an underline decoration. Defaults to `true`. */
|
|
2458
|
-
underlineData?: boolean | null;
|
|
2459
|
-
/** Data for a spoiler decoration. */
|
|
2460
|
-
spoilerData?: SpoilerData;
|
|
2461
|
-
/** Data for a strikethrough decoration. Defaults to `true`. */
|
|
2462
|
-
strikethroughData?: boolean | null;
|
|
2463
|
-
}
|
|
2464
|
-
export declare enum DecorationType {
|
|
2465
|
-
BOLD = "BOLD",
|
|
2466
|
-
ITALIC = "ITALIC",
|
|
2467
|
-
UNDERLINE = "UNDERLINE",
|
|
2468
|
-
SPOILER = "SPOILER",
|
|
2469
|
-
ANCHOR = "ANCHOR",
|
|
2470
|
-
MENTION = "MENTION",
|
|
2471
|
-
LINK = "LINK",
|
|
2472
|
-
COLOR = "COLOR",
|
|
2473
|
-
FONT_SIZE = "FONT_SIZE",
|
|
2474
|
-
EXTERNAL = "EXTERNAL",
|
|
2475
|
-
STRIKETHROUGH = "STRIKETHROUGH"
|
|
2476
|
-
}
|
|
2477
|
-
/** @enumType */
|
|
2478
|
-
export type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH';
|
|
2479
|
-
export interface AnchorData {
|
|
2480
|
-
/** The target node's ID. */
|
|
2481
|
-
anchor?: string;
|
|
2482
|
-
}
|
|
2483
|
-
export interface ColorData {
|
|
2484
|
-
/** The text's background color as a hexadecimal value. */
|
|
2485
|
-
background?: string | null;
|
|
2486
|
-
/** The text's foreground color as a hexadecimal value. */
|
|
2487
|
-
foreground?: string | null;
|
|
2488
|
-
}
|
|
2489
|
-
export interface LinkData {
|
|
2490
|
-
/** Link details. */
|
|
2491
|
-
link?: V1Link;
|
|
2492
|
-
}
|
|
2493
|
-
export interface MentionData {
|
|
2494
|
-
/** The mentioned user's name. */
|
|
2495
|
-
name?: string;
|
|
2496
|
-
/** The version of the user's name that appears after the `@` character in the mention. */
|
|
2497
|
-
slug?: string;
|
|
2498
|
-
/** Mentioned user's ID. */
|
|
2499
|
-
id?: string | null;
|
|
2500
|
-
}
|
|
2501
|
-
export interface FontSizeData {
|
|
2502
|
-
/** The units used for the font size. */
|
|
2503
|
-
unit?: FontTypeWithLiterals;
|
|
2504
|
-
/** Font size value. */
|
|
2505
|
-
value?: number | null;
|
|
2506
|
-
}
|
|
2507
|
-
export declare enum FontType {
|
|
2508
|
-
PX = "PX",
|
|
2509
|
-
EM = "EM"
|
|
2510
|
-
}
|
|
2511
|
-
/** @enumType */
|
|
2512
|
-
export type FontTypeWithLiterals = FontType | 'PX' | 'EM';
|
|
2513
|
-
export interface SpoilerData {
|
|
2514
|
-
/** Spoiler ID. */
|
|
2515
|
-
id?: string | null;
|
|
2516
|
-
}
|
|
2517
|
-
export interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
2518
|
-
/** Data for embedded Wix Bookings content. */
|
|
2519
|
-
bookingData?: BookingData;
|
|
2520
|
-
/** Data for embedded Wix Events content. */
|
|
2521
|
-
eventData?: EventData;
|
|
2522
|
-
/** The type of Wix App content being embedded. */
|
|
2523
|
-
type?: AppTypeWithLiterals;
|
|
2524
|
-
/** The ID of the embedded content. */
|
|
2525
|
-
itemId?: string | null;
|
|
2526
|
-
/** The name of the embedded content. */
|
|
2527
|
-
name?: string | null;
|
|
2528
|
-
/**
|
|
2529
|
-
* Deprecated: Use `image` instead.
|
|
2530
|
-
* @deprecated
|
|
2531
|
-
*/
|
|
2532
|
-
imageSrc?: string | null;
|
|
2533
|
-
/** The URL for the embedded content. */
|
|
2534
|
-
url?: string | null;
|
|
2535
|
-
/** An image for the embedded content. */
|
|
2536
|
-
image?: Media;
|
|
2537
|
-
}
|
|
2538
|
-
/** @oneof */
|
|
2539
|
-
export interface AppEmbedDataAppDataOneOf {
|
|
2540
|
-
/** Data for embedded Wix Bookings content. */
|
|
2541
|
-
bookingData?: BookingData;
|
|
2542
|
-
/** Data for embedded Wix Events content. */
|
|
2543
|
-
eventData?: EventData;
|
|
2544
|
-
}
|
|
2545
|
-
export declare enum AppType {
|
|
2546
|
-
PRODUCT = "PRODUCT",
|
|
2547
|
-
EVENT = "EVENT",
|
|
2548
|
-
BOOKING = "BOOKING"
|
|
2549
|
-
}
|
|
2550
|
-
/** @enumType */
|
|
2551
|
-
export type AppTypeWithLiterals = AppType | 'PRODUCT' | 'EVENT' | 'BOOKING';
|
|
2552
|
-
export interface BookingData {
|
|
2553
|
-
/** Booking duration in minutes. */
|
|
2554
|
-
durations?: string | null;
|
|
2555
|
-
}
|
|
2556
|
-
export interface EventData {
|
|
2557
|
-
/** Event schedule. */
|
|
2558
|
-
scheduling?: string | null;
|
|
2559
|
-
/** Event location. */
|
|
2560
|
-
location?: string | null;
|
|
2561
|
-
}
|
|
2562
|
-
export interface VideoData {
|
|
2563
|
-
/** Styling for the video's container. */
|
|
2564
|
-
containerData?: PluginContainerData;
|
|
2565
|
-
/** Video details. */
|
|
2566
|
-
video?: Media;
|
|
2567
|
-
/** Video thumbnail details. */
|
|
2568
|
-
thumbnail?: Media;
|
|
2569
|
-
/** Sets whether the video's download button is disabled. Defaults to `false`. */
|
|
2570
|
-
disableDownload?: boolean | null;
|
|
2571
|
-
/** Video title. */
|
|
2572
|
-
title?: string | null;
|
|
2573
|
-
/** Video options. */
|
|
2574
|
-
options?: PlaybackOptions;
|
|
2575
|
-
}
|
|
2576
|
-
export interface PlaybackOptions {
|
|
2577
|
-
/** Sets whether the media will automatically start playing. */
|
|
2578
|
-
autoPlay?: boolean | null;
|
|
2579
|
-
/** Sets whether media's will be looped. */
|
|
2580
|
-
playInLoop?: boolean | null;
|
|
2581
|
-
/** Sets whether media's controls will be shown. */
|
|
2582
|
-
showControls?: boolean | null;
|
|
2583
|
-
}
|
|
2584
|
-
export interface EmbedData {
|
|
2585
|
-
/** Styling for the oEmbed node's container. */
|
|
2586
|
-
containerData?: PluginContainerData;
|
|
2587
|
-
/** An [oEmbed](https://www.oembed.com) object. */
|
|
2588
|
-
oembed?: Oembed;
|
|
2589
|
-
/** Origin asset source. */
|
|
2590
|
-
src?: string | null;
|
|
2591
|
-
}
|
|
2592
|
-
export interface Oembed {
|
|
2593
|
-
/** The resource type. */
|
|
2594
|
-
type?: string | null;
|
|
2595
|
-
/** The width of the resource specified in the `url` property in pixels. */
|
|
2596
|
-
width?: number | null;
|
|
2597
|
-
/** The height of the resource specified in the `url` property in pixels. */
|
|
2598
|
-
height?: number | null;
|
|
2599
|
-
/** Resource title. */
|
|
2600
|
-
title?: string | null;
|
|
2601
|
-
/** The source URL for the resource. */
|
|
2602
|
-
url?: string | null;
|
|
2603
|
-
/** HTML for embedding a video player. The HTML should have no padding or margins. */
|
|
2604
|
-
html?: string | null;
|
|
2605
|
-
/** The name of the author or owner of the resource. */
|
|
2606
|
-
authorName?: string | null;
|
|
2607
|
-
/** The URL for the author or owner of the resource. */
|
|
2608
|
-
authorUrl?: string | null;
|
|
2609
|
-
/** The name of the resource provider. */
|
|
2610
|
-
providerName?: string | null;
|
|
2611
|
-
/** The URL for the resource provider. */
|
|
2612
|
-
providerUrl?: string | null;
|
|
2613
|
-
/** The URL for a thumbnail image for the resource. If this property is defined, `thumbnailWidth` and `thumbnailHeight` must also be defined. */
|
|
2614
|
-
thumbnailUrl?: string | null;
|
|
2615
|
-
/** The width of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailHeight` must also be defined. */
|
|
2616
|
-
thumbnailWidth?: string | null;
|
|
2617
|
-
/** The height of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailWidth`must also be defined. */
|
|
2618
|
-
thumbnailHeight?: string | null;
|
|
2619
|
-
/** The URL for an embedded viedo. */
|
|
2620
|
-
videoUrl?: string | null;
|
|
2621
|
-
/** The oEmbed version number. This value must be `1.0`. */
|
|
2622
|
-
version?: string | null;
|
|
2623
|
-
}
|
|
2624
|
-
export interface CollapsibleListData {
|
|
2625
|
-
/** Styling for the collapsible list's container. */
|
|
2626
|
-
containerData?: PluginContainerData;
|
|
2627
|
-
/** If `true`, only one item can be expanded at a time. Defaults to `false`. */
|
|
2628
|
-
expandOnlyOne?: boolean | null;
|
|
2629
|
-
/** Sets which items are expanded when the page loads. */
|
|
2630
|
-
initialExpandedItems?: InitialExpandedItemsWithLiterals;
|
|
2631
|
-
/** The direction of the text in the list. Either left-to-right or right-to-left. */
|
|
2632
|
-
direction?: DirectionWithLiterals;
|
|
2633
|
-
/** If `true`, The collapsible item will appear in search results as an FAQ. */
|
|
2634
|
-
isQapageData?: boolean | null;
|
|
2635
|
-
}
|
|
2636
|
-
export declare enum InitialExpandedItems {
|
|
2637
|
-
/** First item will be expended initally */
|
|
2638
|
-
FIRST = "FIRST",
|
|
2639
|
-
/** All items will expended initally */
|
|
2640
|
-
ALL = "ALL",
|
|
2641
|
-
/** All items collapsed initally */
|
|
2642
|
-
NONE = "NONE"
|
|
2643
|
-
}
|
|
2644
|
-
/** @enumType */
|
|
2645
|
-
export type InitialExpandedItemsWithLiterals = InitialExpandedItems | 'FIRST' | 'ALL' | 'NONE';
|
|
2646
|
-
export declare enum Direction {
|
|
2647
|
-
/** Left-to-right */
|
|
2648
|
-
LTR = "LTR",
|
|
2649
|
-
/** Right-to-left */
|
|
2650
|
-
RTL = "RTL"
|
|
2651
|
-
}
|
|
2652
|
-
/** @enumType */
|
|
2653
|
-
export type DirectionWithLiterals = Direction | 'LTR' | 'RTL';
|
|
2654
|
-
export interface TableData {
|
|
2655
|
-
/** Styling for the table's container. */
|
|
2656
|
-
containerData?: PluginContainerData;
|
|
2657
|
-
/** The table's dimensions. */
|
|
2658
|
-
dimensions?: Dimensions;
|
|
2659
|
-
/**
|
|
2660
|
-
* Deprecated: Use `rowHeader` and `columnHeader` instead.
|
|
2661
|
-
* @deprecated
|
|
2662
|
-
*/
|
|
2663
|
-
header?: boolean | null;
|
|
2664
|
-
/** Sets whether the table's first row is a header. Defaults to `false`. */
|
|
2665
|
-
rowHeader?: boolean | null;
|
|
2666
|
-
/** Sets whether the table's first column is a header. Defaults to `false`. */
|
|
2667
|
-
columnHeader?: boolean | null;
|
|
2668
|
-
}
|
|
2669
|
-
export interface Dimensions {
|
|
2670
|
-
/** An array representing relative width of each column in relation to the other columns. */
|
|
2671
|
-
colsWidthRatio?: number[];
|
|
2672
|
-
/** An array representing the height of each row in pixels. */
|
|
2673
|
-
rowsHeight?: number[];
|
|
2674
|
-
/** An array representing the minimum width of each column in pixels. */
|
|
2675
|
-
colsMinWidth?: number[];
|
|
2676
|
-
}
|
|
2677
|
-
export interface TableCellData {
|
|
2678
|
-
/** Styling for the cell's background color and text alignment. */
|
|
2679
|
-
cellStyle?: CellStyle;
|
|
2680
|
-
/** The cell's border colors. */
|
|
2681
|
-
borderColors?: BorderColors;
|
|
2682
|
-
}
|
|
2683
|
-
export declare enum VerticalAlignment {
|
|
2684
|
-
/** Top alignment */
|
|
2685
|
-
TOP = "TOP",
|
|
2686
|
-
/** Middle alignment */
|
|
2687
|
-
MIDDLE = "MIDDLE",
|
|
2688
|
-
/** Bottom alignment */
|
|
2689
|
-
BOTTOM = "BOTTOM"
|
|
2690
|
-
}
|
|
2691
|
-
/** @enumType */
|
|
2692
|
-
export type VerticalAlignmentWithLiterals = VerticalAlignment | 'TOP' | 'MIDDLE' | 'BOTTOM';
|
|
2693
|
-
export interface CellStyle {
|
|
2694
|
-
/** Vertical alignment for the cell's text. */
|
|
2695
|
-
verticalAlignment?: VerticalAlignmentWithLiterals;
|
|
2696
|
-
/**
|
|
2697
|
-
* Cell background color as a hexadecimal value.
|
|
2698
|
-
* @format COLOR_HEX
|
|
2699
|
-
*/
|
|
2700
|
-
backgroundColor?: string | null;
|
|
2701
|
-
}
|
|
2702
|
-
export interface BorderColors {
|
|
2703
|
-
/**
|
|
2704
|
-
* Left border color as a hexadecimal value.
|
|
2705
|
-
* @format COLOR_HEX
|
|
2706
|
-
*/
|
|
2707
|
-
left?: string | null;
|
|
2708
|
-
/**
|
|
2709
|
-
* Right border color as a hexadecimal value.
|
|
2710
|
-
* @format COLOR_HEX
|
|
2711
|
-
*/
|
|
2712
|
-
right?: string | null;
|
|
2713
|
-
/**
|
|
2714
|
-
* Top border color as a hexadecimal value.
|
|
2715
|
-
* @format COLOR_HEX
|
|
2716
|
-
*/
|
|
2717
|
-
top?: string | null;
|
|
2718
|
-
/**
|
|
2719
|
-
* Bottom border color as a hexadecimal value.
|
|
2720
|
-
* @format COLOR_HEX
|
|
2721
|
-
*/
|
|
2722
|
-
bottom?: string | null;
|
|
2723
|
-
}
|
|
2724
|
-
/**
|
|
2725
|
-
* `NullValue` is a singleton enumeration to represent the null value for the
|
|
2726
|
-
* `Value` type union.
|
|
2727
|
-
*
|
|
2728
|
-
* The JSON representation for `NullValue` is JSON `null`.
|
|
2729
|
-
*/
|
|
2730
|
-
export declare enum NullValue {
|
|
2731
|
-
/** Null value. */
|
|
2732
|
-
NULL_VALUE = "NULL_VALUE"
|
|
2733
|
-
}
|
|
2734
|
-
/** @enumType */
|
|
2735
|
-
export type NullValueWithLiterals = NullValue | 'NULL_VALUE';
|
|
2736
|
-
/**
|
|
2737
|
-
* `ListValue` is a wrapper around a repeated field of values.
|
|
2738
|
-
*
|
|
2739
|
-
* The JSON representation for `ListValue` is JSON array.
|
|
2740
|
-
*/
|
|
2741
|
-
export interface ListValue {
|
|
2742
|
-
/** Repeated field of dynamically typed values. */
|
|
2743
|
-
values?: any[];
|
|
2744
|
-
}
|
|
2745
|
-
export interface AudioData {
|
|
2746
|
-
/** Styling for the audio node's container. */
|
|
2747
|
-
containerData?: PluginContainerData;
|
|
2748
|
-
/** Audio file details. */
|
|
2749
|
-
audio?: Media;
|
|
2750
|
-
/** Sets whether the audio node's download button is disabled. Defaults to `false`. */
|
|
2751
|
-
disableDownload?: boolean | null;
|
|
2752
|
-
/** Cover image. */
|
|
2753
|
-
coverImage?: Media;
|
|
2754
|
-
/** Track name. */
|
|
2755
|
-
name?: string | null;
|
|
2756
|
-
/** Author name. */
|
|
2757
|
-
authorName?: string | null;
|
|
2758
|
-
/** An HTML version of the audio node. */
|
|
2759
|
-
html?: string | null;
|
|
2760
|
-
}
|
|
2761
|
-
export interface OrderedListData {
|
|
2762
|
-
/** Indentation level from 0-4. */
|
|
2763
|
-
indentation?: number;
|
|
2764
|
-
/** Offset level from 0-4. */
|
|
2765
|
-
offset?: number | null;
|
|
2766
|
-
/** List start number. */
|
|
2767
|
-
start?: number | null;
|
|
2768
|
-
}
|
|
2769
|
-
export interface BulletedListData {
|
|
2770
|
-
/** Indentation level from 0-4. */
|
|
2771
|
-
indentation?: number;
|
|
2772
|
-
/** Offset level from 0-4. */
|
|
2773
|
-
offset?: number | null;
|
|
2774
|
-
}
|
|
2775
|
-
export interface BlockquoteData {
|
|
2776
|
-
/** Indentation level from 1-4. */
|
|
2777
|
-
indentation?: number;
|
|
2778
|
-
}
|
|
2779
|
-
export interface CaptionData {
|
|
2780
|
-
textStyle?: TextStyle;
|
|
2781
|
-
}
|
|
2782
|
-
export interface LayoutCellData {
|
|
2783
|
-
/** Size of the cell in 12 columns grid. */
|
|
2784
|
-
colSpan?: number | null;
|
|
2785
|
-
}
|
|
2786
|
-
export interface Metadata {
|
|
2787
|
-
/** Schema version. */
|
|
2788
|
-
version?: number;
|
|
2789
|
-
/**
|
|
2790
|
-
* When the object was created.
|
|
2791
|
-
* @readonly
|
|
2792
|
-
* @deprecated
|
|
2793
|
-
*/
|
|
2794
|
-
createdTimestamp?: Date | null;
|
|
2795
|
-
/**
|
|
2796
|
-
* When the object was most recently updated.
|
|
2797
|
-
* @deprecated
|
|
2798
|
-
*/
|
|
2799
|
-
updatedTimestamp?: Date | null;
|
|
2800
|
-
/** Object ID. */
|
|
2801
|
-
id?: string | null;
|
|
2802
|
-
}
|
|
2803
|
-
export interface DocumentStyle {
|
|
2804
|
-
/** Styling for H1 nodes. */
|
|
2805
|
-
headerOne?: TextNodeStyle;
|
|
2806
|
-
/** Styling for H2 nodes. */
|
|
2807
|
-
headerTwo?: TextNodeStyle;
|
|
2808
|
-
/** Styling for H3 nodes. */
|
|
2809
|
-
headerThree?: TextNodeStyle;
|
|
2810
|
-
/** Styling for H4 nodes. */
|
|
2811
|
-
headerFour?: TextNodeStyle;
|
|
2812
|
-
/** Styling for H5 nodes. */
|
|
2813
|
-
headerFive?: TextNodeStyle;
|
|
2814
|
-
/** Styling for H6 nodes. */
|
|
2815
|
-
headerSix?: TextNodeStyle;
|
|
2816
|
-
/** Styling for paragraph nodes. */
|
|
2817
|
-
paragraph?: TextNodeStyle;
|
|
2818
|
-
/** Styling for block quote nodes. */
|
|
2819
|
-
blockquote?: TextNodeStyle;
|
|
2820
|
-
/** Styling for code block nodes. */
|
|
2821
|
-
codeBlock?: TextNodeStyle;
|
|
2822
|
-
}
|
|
2823
|
-
export interface TextNodeStyle {
|
|
2824
|
-
/** The decorations to apply to the node. */
|
|
2825
|
-
decorations?: Decoration[];
|
|
2826
|
-
/** Padding and background color for the node. */
|
|
2827
|
-
nodeStyle?: NodeStyle;
|
|
2828
|
-
/** Line height for text in the node. */
|
|
2829
|
-
lineHeight?: string | null;
|
|
2830
|
-
}
|
|
2831
|
-
export interface Badge {
|
|
2832
|
-
/** Badge type. */
|
|
2833
|
-
type?: TypeWithLiterals;
|
|
2834
|
-
/**
|
|
2835
|
-
* Badge text.
|
|
2836
|
-
* @maxLength 50
|
|
2837
|
-
*/
|
|
2838
|
-
text?: string | null;
|
|
2839
|
-
}
|
|
2840
|
-
export declare enum Type {
|
|
2841
|
-
/** Unknown badge type. */
|
|
2842
|
-
UNKNOWN_BADGE_TYPE = "UNKNOWN_BADGE_TYPE",
|
|
2843
|
-
/** 1st priority badge type. */
|
|
2844
|
-
FIRST_PRIORITY = "FIRST_PRIORITY",
|
|
2845
|
-
/** 2nd priority badge type. */
|
|
2846
|
-
SECOND_PRIORITY = "SECOND_PRIORITY",
|
|
2847
|
-
/** 3rd priority badge type. */
|
|
2848
|
-
THIRD_PRIORITY = "THIRD_PRIORITY"
|
|
2849
|
-
}
|
|
2850
|
-
/** @enumType */
|
|
2851
|
-
export type TypeWithLiterals = Type | 'UNKNOWN_BADGE_TYPE' | 'FIRST_PRIORITY' | 'SECOND_PRIORITY' | 'THIRD_PRIORITY';
|
|
2852
|
-
/** Triggered when an order is confirmed. */
|
|
2853
|
-
export interface OrderConfirmed {
|
|
2854
|
-
/** Date and time the order was confirmed. */
|
|
2855
|
-
timestamp?: Date | null;
|
|
2856
|
-
/**
|
|
2857
|
-
* Site language when the order was initiated.
|
|
2858
|
-
* @format LANGUAGE
|
|
2859
|
-
*/
|
|
2860
|
-
language?: string | null;
|
|
2861
|
-
/** Notifications silenced for this domain event. */
|
|
2862
|
-
silent?: boolean | null;
|
|
2863
|
-
/**
|
|
2864
|
-
* Locale in which the order was created.
|
|
2865
|
-
* @format LANGUAGE_TAG
|
|
2866
|
-
*/
|
|
2867
|
-
locale?: string | null;
|
|
2868
|
-
/**
|
|
2869
|
-
* Event ID to which the order belongs.
|
|
2870
|
-
* @format GUID
|
|
2871
|
-
*/
|
|
2872
|
-
eventId?: string;
|
|
2873
|
-
/** Unique order number. */
|
|
2874
|
-
orderNumber?: string;
|
|
2875
|
-
/** Contact ID associated with the order. */
|
|
2876
|
-
contactId?: string;
|
|
2877
|
-
/**
|
|
2878
|
-
* Member ID associated with the order.
|
|
2879
|
-
* @format GUID
|
|
2880
|
-
*/
|
|
2881
|
-
memberId?: string | null;
|
|
2882
|
-
/**
|
|
2883
|
-
* Date and time the order was created.
|
|
2884
|
-
* @readonly
|
|
2885
|
-
*/
|
|
2886
|
-
created?: Date | null;
|
|
2887
|
-
/** Buyer first name. */
|
|
2888
|
-
firstName?: string;
|
|
2889
|
-
/** Buyer last name. */
|
|
2890
|
-
lastName?: string;
|
|
2891
|
-
/** Buyer email address. */
|
|
2892
|
-
email?: string;
|
|
2893
|
-
/** Checkout form response. */
|
|
2894
|
-
checkoutForm?: FormResponse;
|
|
2895
|
-
/** Order status. */
|
|
2896
|
-
status?: OrderStatusWithLiterals;
|
|
2897
|
-
/** Payment method used for paid tickets purchase, i.e. "payPal", "creditCard", etc. */
|
|
2898
|
-
method?: string | null;
|
|
2899
|
-
/** Tickets (generated after payment). */
|
|
2900
|
-
tickets?: Ticket[];
|
|
2901
|
-
/** Invoice. */
|
|
2902
|
-
invoice?: Invoice;
|
|
2903
|
-
/** Reservation ID associated with the order. */
|
|
2904
|
-
reservationId?: string;
|
|
2905
|
-
}
|
|
2906
|
-
export interface FormResponse {
|
|
2907
|
-
/**
|
|
2908
|
-
* Input values entered when filling the form.
|
|
2909
|
-
* @maxSize 200
|
|
2910
|
-
*/
|
|
2911
|
-
inputValues?: InputValue[];
|
|
2912
|
-
}
|
|
2913
|
-
export interface InputValue {
|
|
2914
|
-
/**
|
|
2915
|
-
* Input field name.
|
|
2916
|
-
* @maxLength 100
|
|
2917
|
-
*/
|
|
2918
|
-
inputName?: string;
|
|
2919
|
-
/**
|
|
2920
|
-
* Text entered into the input field.
|
|
2921
|
-
* @maxLength 5000
|
|
2922
|
-
*/
|
|
2923
|
-
value?: string;
|
|
2924
|
-
/**
|
|
2925
|
-
* Multiple input values. For example, the array is filled if several checkboxes are ticked.
|
|
2926
|
-
* @maxSize 100
|
|
2927
|
-
* @maxLength 5000
|
|
2928
|
-
*/
|
|
2929
|
-
values?: string[];
|
|
2930
|
-
}
|
|
2931
|
-
export interface FormattedAddress {
|
|
2932
|
-
/**
|
|
2933
|
-
* One line address representation.
|
|
2934
|
-
* @maxLength 200
|
|
2935
|
-
*/
|
|
2936
|
-
formatted?: string;
|
|
2937
|
-
/** Address components (optional). */
|
|
2938
|
-
address?: CommonAddress;
|
|
2939
|
-
}
|
|
2940
|
-
/** Physical address */
|
|
2941
|
-
export interface CommonAddress extends CommonAddressStreetOneOf {
|
|
2942
|
-
/** Street name and number. */
|
|
2943
|
-
streetAddress?: CommonStreetAddress;
|
|
2944
|
-
/** Main address line, usually street and number as free text. */
|
|
2945
|
-
addressLine?: string | null;
|
|
2946
|
-
/**
|
|
2947
|
-
* Country code.
|
|
2948
|
-
* @format COUNTRY
|
|
2949
|
-
*/
|
|
2950
|
-
country?: string | null;
|
|
2951
|
-
/** Subdivision shorthand. Usually, a short code (2 or 3 letters) that represents a state, region, prefecture, or province. e.g. NY */
|
|
2952
|
-
subdivision?: string | null;
|
|
2953
|
-
/** City name. */
|
|
2954
|
-
city?: string | null;
|
|
2955
|
-
/** Zip/postal code. */
|
|
2956
|
-
postalCode?: string | null;
|
|
2957
|
-
/** Free text providing more detailed address info. Usually contains Apt, Suite, and Floor. */
|
|
2958
|
-
addressLine2?: string | null;
|
|
2959
|
-
}
|
|
2960
|
-
/** @oneof */
|
|
2961
|
-
export interface CommonAddressStreetOneOf {
|
|
2962
|
-
/** Street name and number. */
|
|
2963
|
-
streetAddress?: CommonStreetAddress;
|
|
2964
|
-
/** Main address line, usually street and number as free text. */
|
|
2965
|
-
addressLine?: string | null;
|
|
2966
|
-
}
|
|
2967
|
-
export interface CommonStreetAddress {
|
|
2968
|
-
/** Street number. */
|
|
2969
|
-
number?: string;
|
|
2970
|
-
/** Street name. */
|
|
2971
|
-
name?: string;
|
|
2972
|
-
}
|
|
2973
|
-
export interface CommonAddressLocation {
|
|
2974
|
-
/** Address latitude. */
|
|
2975
|
-
latitude?: number | null;
|
|
2976
|
-
/** Address longitude. */
|
|
2977
|
-
longitude?: number | null;
|
|
2978
|
-
}
|
|
2979
|
-
export interface CommonSubdivision {
|
|
2980
|
-
/** Short subdivision code. */
|
|
2981
|
-
code?: string;
|
|
2982
|
-
/** Subdivision full name. */
|
|
2983
|
-
name?: string;
|
|
2984
|
-
}
|
|
2985
|
-
/** Subdivision Concordance values */
|
|
2986
|
-
export interface StandardDetails {
|
|
2987
|
-
/**
|
|
2988
|
-
* 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
|
|
2989
|
-
* @maxLength 20
|
|
2990
|
-
*/
|
|
2991
|
-
iso31662?: string | null;
|
|
2992
|
-
}
|
|
2993
|
-
export declare enum OrderStatus {
|
|
2994
|
-
/** Order status is not available for this request fieldset. */
|
|
2995
|
-
NA_ORDER_STATUS = "NA_ORDER_STATUS",
|
|
2996
|
-
/** Order is confirmed, no payment is required. */
|
|
2997
|
-
FREE = "FREE",
|
|
2998
|
-
/** Order was paid, but the payment gateway suspended the payment. */
|
|
2999
|
-
PENDING = "PENDING",
|
|
3000
|
-
/** Order is paid. */
|
|
3001
|
-
PAID = "PAID",
|
|
3002
|
-
/** Order is confirmed but has be paid via offline payment. Status needs to be manually updated to `"PAID"`. */
|
|
3003
|
-
OFFLINE_PENDING = "OFFLINE_PENDING",
|
|
3004
|
-
/** Order is awaiting for payment at the cashier. */
|
|
3005
|
-
INITIATED = "INITIATED",
|
|
3006
|
-
/** Order is canceled. */
|
|
3007
|
-
CANCELED = "CANCELED",
|
|
3008
|
-
/** Order payment is declined. */
|
|
3009
|
-
DECLINED = "DECLINED",
|
|
3010
|
-
/** Order payment is authorized. */
|
|
3011
|
-
AUTHORIZED = "AUTHORIZED",
|
|
3012
|
-
/** Order payment is voided. */
|
|
3013
|
-
VOIDED = "VOIDED",
|
|
3014
|
-
/** Order is partially paid with less than the total amount. */
|
|
3015
|
-
PARTIALLY_PAID = "PARTIALLY_PAID"
|
|
3016
|
-
}
|
|
3017
|
-
/** @enumType */
|
|
3018
|
-
export type OrderStatusWithLiterals = OrderStatus | 'NA_ORDER_STATUS' | 'FREE' | 'PENDING' | 'PAID' | 'OFFLINE_PENDING' | 'INITIATED' | 'CANCELED' | 'DECLINED' | 'AUTHORIZED' | 'VOIDED' | 'PARTIALLY_PAID';
|
|
3019
|
-
export interface Ticket {
|
|
3020
|
-
/** Unique issued ticket number. */
|
|
3021
|
-
ticketNumber?: string;
|
|
3022
|
-
/**
|
|
3023
|
-
* Ticket definition ID.
|
|
3024
|
-
* @format GUID
|
|
3025
|
-
*/
|
|
3026
|
-
ticketDefinitionId?: string;
|
|
3027
|
-
/** Ticket check-in. */
|
|
3028
|
-
checkIn?: CheckIn;
|
|
3029
|
-
/** Ticket price. */
|
|
3030
|
-
price?: Money;
|
|
3031
|
-
/** Whether ticket is archived. */
|
|
3032
|
-
archived?: boolean;
|
|
3033
|
-
/** Guest first name. */
|
|
3034
|
-
firstName?: string | null;
|
|
3035
|
-
/** Guest last name. */
|
|
3036
|
-
lastName?: string | null;
|
|
3037
|
-
/** Guest email. */
|
|
3038
|
-
email?: string | null;
|
|
3039
|
-
/**
|
|
3040
|
-
* Contact ID associated with this ticket.
|
|
3041
|
-
* @format GUID
|
|
3042
|
-
*/
|
|
3043
|
-
contactId?: string | null;
|
|
3044
|
-
/** Whether ticket is confirmed */
|
|
3045
|
-
confirmed?: boolean;
|
|
3046
|
-
/**
|
|
3047
|
-
* Member ID associated with this ticket.
|
|
3048
|
-
* @format GUID
|
|
3049
|
-
*/
|
|
3050
|
-
memberId?: string | null;
|
|
3051
|
-
/** Ticket form response (only assigned tickets contain separate forms). */
|
|
3052
|
-
form?: FormResponse;
|
|
3053
|
-
/** Ticket name. */
|
|
3054
|
-
ticketName?: string;
|
|
3055
|
-
/** Anonymized tickets no longer contain personally identifiable information (PII). */
|
|
3056
|
-
anonymized?: boolean;
|
|
3057
|
-
/** URL and password to online conference */
|
|
3058
|
-
onlineConferencingLogin?: OnlineConferencingLogin;
|
|
3059
|
-
/**
|
|
3060
|
-
* Seat ID associated with this ticket.
|
|
3061
|
-
* @maxLength 36
|
|
3062
|
-
*/
|
|
3063
|
-
seatId?: string | null;
|
|
3064
|
-
/** Whether ticket is canceled. */
|
|
3065
|
-
canceled?: boolean | null;
|
|
3066
|
-
}
|
|
3067
|
-
export interface CheckIn {
|
|
3068
|
-
/** Time of check-in. */
|
|
3069
|
-
created?: Date | null;
|
|
3070
|
-
}
|
|
3071
|
-
export interface OnlineConferencingLogin {
|
|
3072
|
-
/**
|
|
3073
|
-
* Link URL to the online conference.
|
|
3074
|
-
* @format WEB_URL
|
|
3075
|
-
* @readonly
|
|
3076
|
-
*/
|
|
3077
|
-
link?: string;
|
|
3078
|
-
/**
|
|
3079
|
-
* Password for the online conference.
|
|
3080
|
-
* @readonly
|
|
3081
|
-
*/
|
|
3082
|
-
password?: string | null;
|
|
3083
|
-
}
|
|
3084
|
-
export interface Invoice {
|
|
3085
|
-
items?: Item[];
|
|
3086
|
-
/**
|
|
3087
|
-
* Total cart amount.
|
|
3088
|
-
* @deprecated
|
|
3089
|
-
*/
|
|
3090
|
-
total?: Money;
|
|
3091
|
-
/** Discount applied to a cart. */
|
|
3092
|
-
discount?: Discount;
|
|
3093
|
-
/** Tax applied to a cart. */
|
|
3094
|
-
tax?: Tax;
|
|
3095
|
-
/** Total cart amount before discount, tax, and fees. */
|
|
3096
|
-
subTotal?: Money;
|
|
3097
|
-
/**
|
|
3098
|
-
* Total amount of a cart after discount, tax, and fees.
|
|
3099
|
-
* Grand total is calculated in the following order:
|
|
3100
|
-
* 1. Total prices of all items in the cart are calculated.
|
|
3101
|
-
* 2. Discount is subtracted from the cart (if applicable).
|
|
3102
|
-
* 3. Tax is added (if applicable).
|
|
3103
|
-
* 4. Wix ticket service fee is added.
|
|
3104
|
-
*/
|
|
3105
|
-
grandTotal?: Money;
|
|
3106
|
-
/**
|
|
3107
|
-
* Fees applied to the cart.
|
|
3108
|
-
* @readonly
|
|
3109
|
-
*/
|
|
3110
|
-
fees?: Fee[];
|
|
3111
|
-
/** Total revenue, excluding fees. (Taxes and payment provider fees are not deducted). */
|
|
3112
|
-
revenue?: Money;
|
|
3113
|
-
/** Invoice preview URL. Only returned if the order is paid. */
|
|
3114
|
-
previewUrl?: string | null;
|
|
3115
|
-
}
|
|
3116
|
-
export interface Item {
|
|
3117
|
-
/**
|
|
3118
|
-
* Unique line item ID.
|
|
3119
|
-
* @format GUID
|
|
3120
|
-
*/
|
|
3121
|
-
id?: string;
|
|
3122
|
-
/**
|
|
3123
|
-
* Line item quantity.
|
|
3124
|
-
* @min 1
|
|
3125
|
-
* @max 50
|
|
3126
|
-
*/
|
|
3127
|
-
quantity?: number;
|
|
3128
|
-
/** Line item name. */
|
|
3129
|
-
name?: string;
|
|
3130
|
-
/** Line item price. */
|
|
3131
|
-
price?: Money;
|
|
3132
|
-
/** Total price for line items. Always equal to price * quantity. */
|
|
3133
|
-
total?: Money;
|
|
3134
|
-
/** Discount applied to the line item. */
|
|
3135
|
-
discount?: Discount;
|
|
3136
|
-
/** Tax applied to the item. */
|
|
3137
|
-
tax?: Tax;
|
|
3138
|
-
/**
|
|
3139
|
-
* Fees applied to the item.
|
|
3140
|
-
* @readonly
|
|
3141
|
-
*/
|
|
3142
|
-
fees?: Fee[];
|
|
3143
|
-
}
|
|
3144
|
-
export interface Discount {
|
|
3145
|
-
/** Total discount amount. */
|
|
3146
|
-
amount?: Money;
|
|
3147
|
-
/** Total sum after the discount. */
|
|
3148
|
-
afterDiscount?: Money;
|
|
3149
|
-
/**
|
|
3150
|
-
* Discount coupon code.
|
|
3151
|
-
* @deprecated
|
|
3152
|
-
*/
|
|
3153
|
-
code?: string;
|
|
3154
|
-
/**
|
|
3155
|
-
* Discount coupon name.
|
|
3156
|
-
* @deprecated
|
|
3157
|
-
*/
|
|
3158
|
-
name?: string;
|
|
3159
|
-
/**
|
|
3160
|
-
* Discount coupon ID.
|
|
3161
|
-
* @deprecated
|
|
3162
|
-
*/
|
|
3163
|
-
couponId?: string;
|
|
3164
|
-
/** Discount items. */
|
|
3165
|
-
discounts?: DiscountItem[];
|
|
3166
|
-
}
|
|
3167
|
-
export interface DiscountItem extends DiscountItemDiscountOneOf {
|
|
3168
|
-
/** Coupon discount. */
|
|
3169
|
-
coupon?: CouponDiscount;
|
|
3170
|
-
/** Pricing plan discount. */
|
|
3171
|
-
paidPlan?: PaidPlanDiscount;
|
|
3172
|
-
/** Total discount amount. */
|
|
3173
|
-
amount?: Money;
|
|
3174
|
-
}
|
|
3175
|
-
/** @oneof */
|
|
3176
|
-
export interface DiscountItemDiscountOneOf {
|
|
3177
|
-
/** Coupon discount. */
|
|
3178
|
-
coupon?: CouponDiscount;
|
|
3179
|
-
/** Pricing plan discount. */
|
|
3180
|
-
paidPlan?: PaidPlanDiscount;
|
|
3181
|
-
}
|
|
3182
|
-
export interface CouponDiscount {
|
|
3183
|
-
/** Discount coupon name. **Deprecated:** Use `invoice.discounts.coupon.name` instead. */
|
|
3184
|
-
name?: string;
|
|
3185
|
-
/** Discount coupon code. **Deprecated:** Use `invoice.discounts.coupon.code` instead. */
|
|
3186
|
-
code?: string;
|
|
3187
|
-
/** Discount coupon ID. **Deprecated:** Use `invoice.discounts.coupon.couponId` instead. */
|
|
3188
|
-
couponId?: string;
|
|
3189
|
-
}
|
|
3190
|
-
export interface PaidPlanDiscount extends PaidPlanDiscountDiscountOneOf {
|
|
3191
|
-
/** Discount by percentage applied to tickets. */
|
|
3192
|
-
percentDiscount?: PercentDiscount;
|
|
3193
|
-
/** Name of pricing plan. */
|
|
3194
|
-
name?: string;
|
|
3195
|
-
}
|
|
3196
|
-
/** @oneof */
|
|
3197
|
-
export interface PaidPlanDiscountDiscountOneOf {
|
|
3198
|
-
/** Discount by percentage applied to tickets. */
|
|
3199
|
-
percentDiscount?: PercentDiscount;
|
|
3200
|
-
}
|
|
3201
|
-
export interface PercentDiscount {
|
|
3202
|
-
/**
|
|
3203
|
-
* Percent rate.
|
|
3204
|
-
* @decimalValue options { gte:0.01, lte:100, maxScale:2 }
|
|
3205
|
-
*/
|
|
3206
|
-
rate?: string;
|
|
3207
|
-
/** Number of discounted tickets. */
|
|
3208
|
-
quantityDiscounted?: number;
|
|
3209
|
-
}
|
|
3210
|
-
export interface Tax {
|
|
3211
|
-
/** Tax type. */
|
|
3212
|
-
type?: TaxTypeWithLiterals;
|
|
3213
|
-
/**
|
|
3214
|
-
* Tax name.
|
|
3215
|
-
* @readonly
|
|
3216
|
-
*/
|
|
3217
|
-
name?: string;
|
|
3218
|
-
/**
|
|
3219
|
-
* Tax rate.
|
|
3220
|
-
* @format DECIMAL_VALUE
|
|
3221
|
-
*/
|
|
3222
|
-
rate?: string;
|
|
3223
|
-
/** Taxable amount. */
|
|
3224
|
-
taxable?: Money;
|
|
3225
|
-
/** Total tax amount. */
|
|
3226
|
-
amount?: Money;
|
|
3227
|
-
}
|
|
3228
|
-
export interface Fee {
|
|
3229
|
-
/** Fee identifier. */
|
|
3230
|
-
name?: FeeNameWithLiterals;
|
|
3231
|
-
/** How fee is calculated. */
|
|
3232
|
-
type?: FeeTypeWithLiterals;
|
|
3233
|
-
/**
|
|
3234
|
-
* Fee rate.
|
|
3235
|
-
* @format DECIMAL_VALUE
|
|
3236
|
-
* @readonly
|
|
3237
|
-
*/
|
|
3238
|
-
rate?: string;
|
|
3239
|
-
/** Total amount of fee charges. */
|
|
3240
|
-
amount?: Money;
|
|
3241
|
-
}
|
|
3242
|
-
export declare enum FeeName {
|
|
3243
|
-
/** Wix ticket service fee charges applied to the line item. */
|
|
3244
|
-
WIX_FEE = "WIX_FEE"
|
|
3245
|
-
}
|
|
3246
|
-
/** @enumType */
|
|
3247
|
-
export type FeeNameWithLiterals = FeeName | 'WIX_FEE';
|
|
3248
|
-
export declare enum FeeType {
|
|
3249
|
-
/** Fee is added to the ticket price at checkout. */
|
|
3250
|
-
FEE_ADDED = "FEE_ADDED",
|
|
3251
|
-
/** Seller absorbs the fee. It's deducted from the ticket price. */
|
|
3252
|
-
FEE_INCLUDED = "FEE_INCLUDED",
|
|
3253
|
-
/** Fee is added to the ticket price at checkout. */
|
|
3254
|
-
FEE_ADDED_AT_CHECKOUT = "FEE_ADDED_AT_CHECKOUT"
|
|
3255
|
-
}
|
|
3256
|
-
/** @enumType */
|
|
3257
|
-
export type FeeTypeWithLiterals = FeeType | 'FEE_ADDED' | 'FEE_INCLUDED' | 'FEE_ADDED_AT_CHECKOUT';
|
|
3258
|
-
/** Produced if a buyer email was added to the existing order */
|
|
3259
|
-
export interface OrderEmailAdded {
|
|
3260
|
-
/** Order updated timestamp in ISO UTC format. */
|
|
3261
|
-
timestamp?: Date | null;
|
|
3262
|
-
/**
|
|
3263
|
-
* Site language when Order initiated
|
|
3264
|
-
* @format LANGUAGE
|
|
3265
|
-
*/
|
|
3266
|
-
language?: string | null;
|
|
3267
|
-
/**
|
|
3268
|
-
* Locale in which Order was created.
|
|
3269
|
-
* @format LANGUAGE_TAG
|
|
3270
|
-
*/
|
|
3271
|
-
locale?: string | null;
|
|
3272
|
-
/** Notifications silenced for this domain event. */
|
|
3273
|
-
silent?: boolean | null;
|
|
3274
|
-
/**
|
|
3275
|
-
* Event ID.
|
|
3276
|
-
* @format GUID
|
|
3277
|
-
*/
|
|
3278
|
-
eventId?: string;
|
|
3279
|
-
/**
|
|
3280
|
-
* Unique order number.
|
|
3281
|
-
* @maxLength 36
|
|
3282
|
-
*/
|
|
3283
|
-
orderNumber?: string;
|
|
3284
|
-
/**
|
|
3285
|
-
* Contact ID associated with this order.
|
|
3286
|
-
* @format GUID
|
|
3287
|
-
*/
|
|
3288
|
-
contactId?: string | null;
|
|
3289
|
-
/**
|
|
3290
|
-
* Member ID associated with this order.
|
|
3291
|
-
* @format GUID
|
|
3292
|
-
*/
|
|
3293
|
-
memberId?: string | null;
|
|
3294
|
-
/**
|
|
3295
|
-
* Order created timestamp.
|
|
3296
|
-
* @readonly
|
|
3297
|
-
*/
|
|
3298
|
-
created?: Date | null;
|
|
3299
|
-
/**
|
|
3300
|
-
* Order updated timestamp.
|
|
3301
|
-
* @readonly
|
|
3302
|
-
*/
|
|
3303
|
-
updated?: Date | null;
|
|
3304
|
-
/**
|
|
3305
|
-
* Buyer first name.
|
|
3306
|
-
* @maxLength 255
|
|
3307
|
-
*/
|
|
3308
|
-
firstName?: string | null;
|
|
3309
|
-
/**
|
|
3310
|
-
* Buyer last name.
|
|
3311
|
-
* @maxLength 255
|
|
3312
|
-
*/
|
|
3313
|
-
lastName?: string | null;
|
|
3314
|
-
/**
|
|
3315
|
-
* Buyer email.
|
|
3316
|
-
* @format EMAIL
|
|
3317
|
-
*/
|
|
3318
|
-
email?: string | null;
|
|
3319
|
-
/** Checkout form response. */
|
|
3320
|
-
checkoutForm?: FormResponse;
|
|
3321
|
-
/** Whether order is confirmed - occurs once payment gateway processes the payment and funds reach merchant's account. */
|
|
3322
|
-
confirmed?: boolean;
|
|
3323
|
-
/** Order status. */
|
|
3324
|
-
status?: OrderStatusWithLiterals;
|
|
3325
|
-
/**
|
|
3326
|
-
* Payment method used for paid tickets purchase, i.e. "payPal", "creditCard", etc.
|
|
3327
|
-
* @maxLength 100
|
|
3328
|
-
*/
|
|
3329
|
-
method?: string | null;
|
|
3330
|
-
/**
|
|
3331
|
-
* Tickets generated after payment.
|
|
3332
|
-
* @maxSize 50
|
|
3333
|
-
*/
|
|
3334
|
-
tickets?: Ticket[];
|
|
3335
|
-
/** Whether order was archived and excluded from results. */
|
|
3336
|
-
archived?: boolean;
|
|
3337
|
-
/**
|
|
3338
|
-
* Reservation ID associated with this order.
|
|
3339
|
-
* @format GUID
|
|
3340
|
-
*/
|
|
3341
|
-
reservationId?: string;
|
|
3342
|
-
}
|
|
3343
|
-
export interface EventCanceled {
|
|
3344
|
-
/** Event canceled timestamp in ISO UTC format. */
|
|
3345
|
-
timestamp?: Date | null;
|
|
3346
|
-
/**
|
|
3347
|
-
* Event ID.
|
|
3348
|
-
* @format GUID
|
|
3349
|
-
*/
|
|
3350
|
-
eventId?: string;
|
|
3351
|
-
/** Event title */
|
|
3352
|
-
title?: string;
|
|
3353
|
-
/**
|
|
3354
|
-
* Event creator user ID.
|
|
3355
|
-
* @format GUID
|
|
3356
|
-
*/
|
|
3357
|
-
userId?: string | null;
|
|
3358
|
-
/** True if at least one guest is registered to the event with any attendance status. */
|
|
3359
|
-
hasGuests?: boolean | null;
|
|
3360
|
-
}
|
|
3361
|
-
export interface EventReminder {
|
|
3362
|
-
/** Reminder timestamp in ISO UTC format. */
|
|
3363
|
-
timestamp?: Date | null;
|
|
3364
|
-
/**
|
|
3365
|
-
* Event ID.
|
|
3366
|
-
* @format GUID
|
|
3367
|
-
*/
|
|
3368
|
-
eventId?: string;
|
|
3369
|
-
/** Event location. */
|
|
3370
|
-
location?: Location;
|
|
3371
|
-
/** Event schedule configuration. */
|
|
3372
|
-
scheduleConfig?: ScheduleConfig;
|
|
3373
|
-
/** Event title. */
|
|
3374
|
-
title?: string;
|
|
3375
|
-
/**
|
|
3376
|
-
* Event creator user ID.
|
|
3377
|
-
* @format GUID
|
|
3378
|
-
*/
|
|
3379
|
-
userId?: string | null;
|
|
3380
|
-
/** Time until the event starts (currently, reminder is triggered 1 day before event starts). */
|
|
3381
|
-
startsIn?: TimeDuration;
|
|
3382
|
-
/** True if at least one guest is registered to the event with any attendance status. */
|
|
3383
|
-
hasGuests?: boolean | null;
|
|
3384
|
-
}
|
|
3385
|
-
/**
|
|
3386
|
-
* A coarse-grained representation of time duration divided into whole constituting components of days, hours, and minutes.
|
|
3387
|
-
* For example, 25.5 hours duration is represented as `{ days: 1, hours: 1, minutes: 30 }`.
|
|
3388
|
-
*/
|
|
3389
|
-
export interface TimeDuration {
|
|
3390
|
-
/** Number of days. */
|
|
3391
|
-
days?: number;
|
|
3392
|
-
/**
|
|
3393
|
-
* Number of hours.
|
|
3394
|
-
* @max 24
|
|
3395
|
-
*/
|
|
3396
|
-
hours?: number;
|
|
3397
|
-
/**
|
|
3398
|
-
* Number of minutes.
|
|
3399
|
-
* @max 60
|
|
3400
|
-
*/
|
|
3401
|
-
minutes?: number;
|
|
3402
|
-
}
|
|
3403
|
-
/** Triggered when an order is paid. */
|
|
3404
|
-
export interface OrderPaid {
|
|
3405
|
-
/** Date and time the order was paid. */
|
|
3406
|
-
timestamp?: Date | null;
|
|
3407
|
-
/**
|
|
3408
|
-
* Site language when the order was initiated.
|
|
3409
|
-
* @format LANGUAGE
|
|
3410
|
-
*/
|
|
3411
|
-
language?: string | null;
|
|
3412
|
-
/** Notifications silenced for this domain event. */
|
|
3413
|
-
silent?: boolean | null;
|
|
3414
|
-
/**
|
|
3415
|
-
* Locale in which the order was created.
|
|
3416
|
-
* @format LANGUAGE_TAG
|
|
3417
|
-
*/
|
|
3418
|
-
locale?: string | null;
|
|
3419
|
-
/**
|
|
3420
|
-
* Event ID to which the order belongs.
|
|
3421
|
-
* @format GUID
|
|
3422
|
-
*/
|
|
3423
|
-
eventId?: string;
|
|
3424
|
-
/** Unique order number. */
|
|
3425
|
-
orderNumber?: string;
|
|
3426
|
-
/** Reservation ID associated with this order. */
|
|
3427
|
-
reservationId?: string;
|
|
3428
|
-
/**
|
|
3429
|
-
* Contact ID associated with this order.
|
|
3430
|
-
* @maxLength 36
|
|
3431
|
-
*/
|
|
3432
|
-
contactId?: string;
|
|
3433
|
-
/**
|
|
3434
|
-
* Member ID associated with this order.
|
|
3435
|
-
* @format GUID
|
|
3436
|
-
*/
|
|
3437
|
-
memberId?: string | null;
|
|
3438
|
-
/**
|
|
3439
|
-
* Date and time the order was created.
|
|
3440
|
-
* @readonly
|
|
3441
|
-
*/
|
|
3442
|
-
created?: Date | null;
|
|
3443
|
-
/**
|
|
3444
|
-
* Buyer first name.
|
|
3445
|
-
* @maxLength 255
|
|
3446
|
-
*/
|
|
3447
|
-
firstName?: string;
|
|
3448
|
-
/**
|
|
3449
|
-
* Buyer last name.
|
|
3450
|
-
* @maxLength 255
|
|
3451
|
-
*/
|
|
3452
|
-
lastName?: string;
|
|
3453
|
-
/**
|
|
3454
|
-
* Buyer email address.
|
|
3455
|
-
* @maxLength 255
|
|
3456
|
-
*/
|
|
3457
|
-
email?: string;
|
|
3458
|
-
/** Checkout form response. */
|
|
3459
|
-
checkoutForm?: FormResponse;
|
|
3460
|
-
/** Order status. */
|
|
3461
|
-
status?: OrderStatusWithLiterals;
|
|
3462
|
-
/**
|
|
3463
|
-
* Payment method used for paid tickets purchase, i.e. "payPal", "creditCard", etc.
|
|
3464
|
-
* @maxLength 255
|
|
3465
|
-
*/
|
|
3466
|
-
method?: string | null;
|
|
3467
|
-
/**
|
|
3468
|
-
* Tickets (generated after payment).
|
|
3469
|
-
* @maxSize 50
|
|
3470
|
-
*/
|
|
3471
|
-
tickets?: Ticket[];
|
|
3472
|
-
/** Invoice. */
|
|
3473
|
-
invoice?: Invoice;
|
|
3474
|
-
}
|
|
3475
|
-
export interface TicketPdfResolved {
|
|
3476
|
-
/**
|
|
3477
|
-
* Optional order number
|
|
3478
|
-
* @maxLength 36
|
|
3479
|
-
*/
|
|
3480
|
-
orderNumber?: string | null;
|
|
3481
|
-
/**
|
|
3482
|
-
* Optional ticket number
|
|
3483
|
-
* @maxLength 36
|
|
3484
|
-
*/
|
|
3485
|
-
ticketNumber?: string | null;
|
|
3486
|
-
/**
|
|
3487
|
-
* Resolved download url
|
|
3488
|
-
* @format WEB_URL
|
|
3489
|
-
*/
|
|
3490
|
-
downloadUrl?: string | null;
|
|
3491
|
-
/** Resolve status */
|
|
3492
|
-
resolveFailed?: boolean | null;
|
|
3493
|
-
/**
|
|
3494
|
-
* Papyrus document id
|
|
3495
|
-
* @format GUID
|
|
3496
|
-
*/
|
|
3497
|
-
documentId?: string | null;
|
|
3498
|
-
}
|
|
3499
|
-
export interface TicketPdfResolveDelayed {
|
|
3500
|
-
/**
|
|
3501
|
-
* Optional order number
|
|
3502
|
-
* @maxLength 36
|
|
3503
|
-
*/
|
|
3504
|
-
orderNumber?: string | null;
|
|
3505
|
-
/**
|
|
3506
|
-
* Optional ticket number
|
|
3507
|
-
* @maxLength 36
|
|
3508
|
-
*/
|
|
3509
|
-
ticketNumber?: string | null;
|
|
3510
|
-
/**
|
|
3511
|
-
* Papyrus document id
|
|
3512
|
-
* @format GUID
|
|
3513
|
-
*/
|
|
3514
|
-
documentId?: string | null;
|
|
3515
|
-
}
|
|
3516
|
-
/** Triggered when an order is canceled. */
|
|
3517
|
-
export interface OrderCanceled {
|
|
3518
|
-
/**
|
|
3519
|
-
* Event ID to which the order belongs.
|
|
3520
|
-
* @format GUID
|
|
3521
|
-
*/
|
|
3522
|
-
eventId?: string;
|
|
3523
|
-
/**
|
|
3524
|
-
* Unique order number.
|
|
3525
|
-
* @maxLength 36
|
|
3526
|
-
*/
|
|
3527
|
-
orderNumber?: string;
|
|
3528
|
-
/**
|
|
3529
|
-
* Reservation ID associated with the order.
|
|
3530
|
-
* @format GUID
|
|
3531
|
-
*/
|
|
3532
|
-
reservationId?: string;
|
|
3533
|
-
/**
|
|
3534
|
-
* Contact ID associated with the order.
|
|
3535
|
-
* @maxLength 36
|
|
3536
|
-
*/
|
|
3537
|
-
contactId?: string;
|
|
3538
|
-
/**
|
|
3539
|
-
* Buyer first name.
|
|
3540
|
-
* @maxLength 50
|
|
3541
|
-
*/
|
|
3542
|
-
firstName?: string | null;
|
|
3543
|
-
/**
|
|
3544
|
-
* Buyer last name.
|
|
3545
|
-
* @maxLength 50
|
|
3546
|
-
*/
|
|
3547
|
-
lastName?: string | null;
|
|
3548
|
-
/**
|
|
3549
|
-
* Buyer email address.
|
|
3550
|
-
* @maxLength 255
|
|
3551
|
-
*/
|
|
3552
|
-
email?: string | null;
|
|
3553
|
-
/** Checkout form response. */
|
|
3554
|
-
checkoutForm?: FormResponse;
|
|
3555
|
-
/** Invoice. */
|
|
3556
|
-
invoice?: Invoice;
|
|
3557
|
-
}
|
|
3558
|
-
export interface EventEnded {
|
|
3559
|
-
/** Event end timestamp in ISO UTC format. */
|
|
3560
|
-
timestamp?: Date | null;
|
|
3561
|
-
/**
|
|
3562
|
-
* Event ID.
|
|
3563
|
-
* @format GUID
|
|
3564
|
-
*/
|
|
3565
|
-
eventId?: string;
|
|
3566
|
-
/** True if at least one guest is registered to the event with any attendance status. */
|
|
3567
|
-
hasGuests?: boolean | null;
|
|
3568
|
-
}
|
|
3569
|
-
export interface EventStarted {
|
|
3570
|
-
/** Event start timestamp in ISO UTC format. */
|
|
3571
|
-
timestamp?: Date | null;
|
|
3572
|
-
/**
|
|
3573
|
-
* Event ID.
|
|
3574
|
-
* @format GUID
|
|
3575
|
-
*/
|
|
3576
|
-
eventId?: string;
|
|
3577
|
-
/** True if at least one guest is registered to the event with any attendance status. */
|
|
3578
|
-
hasGuests?: boolean | null;
|
|
3579
|
-
}
|
|
3580
|
-
export interface ResolveNotificationConfigRequest {
|
|
3581
|
-
/**
|
|
3582
|
-
* Id of the NotificationConfig to retrieve
|
|
3583
|
-
* @format GUID
|
|
3584
|
-
*/
|
|
3585
|
-
notificationConfigId: string;
|
|
3586
|
-
}
|
|
3587
|
-
export interface ResolveNotificationConfigResponse {
|
|
3588
|
-
/** The retrieved NotificationConfig */
|
|
3589
|
-
notificationConfig?: NotificationConfig;
|
|
3590
|
-
}
|
|
3591
|
-
export interface UpsertNotificationConfigRequest {
|
|
3592
|
-
/** NotificationConfig to be upserted */
|
|
3593
|
-
notificationConfig: NotificationConfig;
|
|
3594
|
-
}
|
|
3595
|
-
export interface UpsertNotificationConfigResponse {
|
|
3596
|
-
/** The upserted NotificationConfig */
|
|
3597
|
-
notificationConfig?: NotificationConfig;
|
|
3598
|
-
}
|
|
3599
|
-
export interface ResolveEmailNotificationConfigRequest {
|
|
3600
|
-
/**
|
|
3601
|
-
* Id of the NotificationConfig to retrieve
|
|
3602
|
-
* @format GUID
|
|
3603
|
-
*/
|
|
3604
|
-
notificationConfigId?: string;
|
|
3605
|
-
/** Notification type */
|
|
3606
|
-
notificationType?: EmailNotificationTypeWithLiterals;
|
|
3607
|
-
}
|
|
3608
|
-
export interface ResolveEmailNotificationConfigResponse {
|
|
3609
|
-
/** The retrieved EmailNotificationConfig */
|
|
3610
|
-
emailNotificationConfig?: EmailNotificationConfig;
|
|
3611
|
-
}
|
|
3612
|
-
export interface EventDeleted {
|
|
3613
|
-
/** Event deleted timestamp in ISO UTC format. */
|
|
3614
|
-
timestamp?: Date | null;
|
|
3615
|
-
/**
|
|
3616
|
-
* Event ID.
|
|
3617
|
-
* @format GUID
|
|
3618
|
-
*/
|
|
3619
|
-
eventId?: string;
|
|
3620
|
-
/** Event title. */
|
|
3621
|
-
title?: string;
|
|
3622
|
-
/**
|
|
3623
|
-
* Event creator user ID.
|
|
3624
|
-
* @format GUID
|
|
3625
|
-
*/
|
|
3626
|
-
userId?: string | null;
|
|
3627
|
-
}
|
|
3628
|
-
export interface EventCopied {
|
|
3629
|
-
/** Event created timestamp in ISO UTC format. */
|
|
3630
|
-
timestamp?: Date | null;
|
|
3631
|
-
/**
|
|
3632
|
-
* Event ID.
|
|
3633
|
-
* @format GUID
|
|
3634
|
-
*/
|
|
3635
|
-
eventId?: string;
|
|
3636
|
-
/** Event location. */
|
|
3637
|
-
location?: Location;
|
|
3638
|
-
/** Event schedule configuration. */
|
|
3639
|
-
scheduleConfig?: ScheduleConfig;
|
|
3640
|
-
/** Event title. */
|
|
3641
|
-
title?: string;
|
|
3642
|
-
/**
|
|
3643
|
-
* Event creator user ID.
|
|
3644
|
-
* @format GUID
|
|
3645
|
-
*/
|
|
3646
|
-
userId?: string | null;
|
|
3647
|
-
/** Event status. */
|
|
3648
|
-
status?: EventStatusWithLiterals;
|
|
3649
|
-
/**
|
|
3650
|
-
* Instance ID. Indicates the original app instance which current event was derived from.
|
|
3651
|
-
* @format GUID
|
|
3652
|
-
*/
|
|
3653
|
-
derivedFromInstanceId?: string | null;
|
|
3654
|
-
/**
|
|
3655
|
-
* Event ID. Indicates the original event which current event was derived from.
|
|
3656
|
-
* @format GUID
|
|
3657
|
-
*/
|
|
3658
|
-
derivedFromEventId?: string | null;
|
|
3659
|
-
/**
|
|
3660
|
-
* Map of copied ticket definitions from original event.
|
|
3661
|
-
* Key represents ticket def id in the original event.
|
|
3662
|
-
* Value represents ticket def id in the newly created event.
|
|
3663
|
-
*/
|
|
3664
|
-
ticketDefinitions?: Record<string, string>;
|
|
3665
|
-
}
|
|
3666
|
-
export interface MessageEnvelope {
|
|
3667
|
-
/**
|
|
3668
|
-
* App instance ID.
|
|
3669
|
-
* @format GUID
|
|
3670
|
-
*/
|
|
3671
|
-
instanceId?: string | null;
|
|
3672
|
-
/**
|
|
3673
|
-
* Event type.
|
|
3674
|
-
* @maxLength 150
|
|
3675
|
-
*/
|
|
3676
|
-
eventType?: string;
|
|
3677
|
-
/** The identification type and identity data. */
|
|
3678
|
-
identity?: IdentificationData;
|
|
3679
|
-
/** Stringify payload. */
|
|
3680
|
-
data?: string;
|
|
3681
|
-
}
|
|
3682
|
-
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
3683
|
-
/**
|
|
3684
|
-
* ID of a site visitor that has not logged in to the site.
|
|
3685
|
-
* @format GUID
|
|
3686
|
-
*/
|
|
3687
|
-
anonymousVisitorId?: string;
|
|
3688
|
-
/**
|
|
3689
|
-
* ID of a site visitor that has logged in to the site.
|
|
3690
|
-
* @format GUID
|
|
3691
|
-
*/
|
|
3692
|
-
memberId?: string;
|
|
3693
|
-
/**
|
|
3694
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
3695
|
-
* @format GUID
|
|
3696
|
-
*/
|
|
3697
|
-
wixUserId?: string;
|
|
3698
|
-
/**
|
|
3699
|
-
* ID of an app.
|
|
3700
|
-
* @format GUID
|
|
3701
|
-
*/
|
|
3702
|
-
appId?: string;
|
|
3703
|
-
/** @readonly */
|
|
3704
|
-
identityType?: WebhookIdentityTypeWithLiterals;
|
|
3705
|
-
}
|
|
3706
|
-
/** @oneof */
|
|
3707
|
-
export interface IdentificationDataIdOneOf {
|
|
3708
|
-
/**
|
|
3709
|
-
* ID of a site visitor that has not logged in to the site.
|
|
3710
|
-
* @format GUID
|
|
3711
|
-
*/
|
|
3712
|
-
anonymousVisitorId?: string;
|
|
3713
|
-
/**
|
|
3714
|
-
* ID of a site visitor that has logged in to the site.
|
|
3715
|
-
* @format GUID
|
|
3716
|
-
*/
|
|
3717
|
-
memberId?: string;
|
|
3718
|
-
/**
|
|
3719
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
3720
|
-
* @format GUID
|
|
3721
|
-
*/
|
|
3722
|
-
wixUserId?: string;
|
|
3723
|
-
/**
|
|
3724
|
-
* ID of an app.
|
|
3725
|
-
* @format GUID
|
|
3726
|
-
*/
|
|
3727
|
-
appId?: string;
|
|
3728
|
-
}
|
|
3729
|
-
export declare enum WebhookIdentityType {
|
|
3730
|
-
UNKNOWN = "UNKNOWN",
|
|
3731
|
-
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
3732
|
-
MEMBER = "MEMBER",
|
|
3733
|
-
WIX_USER = "WIX_USER",
|
|
3734
|
-
APP = "APP"
|
|
3735
|
-
}
|
|
3736
|
-
/** @enumType */
|
|
3737
|
-
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|