@wix/auto_sdk_events_notifications 1.0.57 → 1.0.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +10 -10
- package/build/cjs/index.js +85 -555
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +397 -3222
- package/build/cjs/index.typings.js +77 -547
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +268 -3110
- package/build/cjs/meta.js +63 -533
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +10 -10
- package/build/es/index.mjs +85 -504
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +397 -3222
- package/build/es/index.typings.mjs +77 -496
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +268 -3110
- package/build/es/meta.mjs +63 -482
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +10 -10
- package/build/internal/cjs/index.js +85 -555
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +397 -3222
- package/build/internal/cjs/index.typings.js +77 -547
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +268 -3110
- package/build/internal/cjs/meta.js +63 -533
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +10 -10
- package/build/internal/es/index.mjs +85 -504
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +397 -3222
- package/build/internal/es/index.typings.mjs +77 -496
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +268 -3110
- package/build/internal/es/meta.mjs +63 -482
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ResolveNotificationConfigRequest as ResolveNotificationConfigRequest$1, ResolveNotificationConfigResponse as ResolveNotificationConfigResponse$1, UpsertNotificationConfigRequest as UpsertNotificationConfigRequest$1, UpsertNotificationConfigResponse as UpsertNotificationConfigResponse$1, TriggerNotificationRequest as TriggerNotificationRequest$1, TriggerNotificationResponse as TriggerNotificationResponse$1 } from './index.typings.js';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
interface NotificationConfig {
|
|
@@ -125,176 +125,76 @@ declare enum EmailNotificationReminderTime {
|
|
|
125
125
|
}
|
|
126
126
|
/** @enumType */
|
|
127
127
|
type EmailNotificationReminderTimeWithLiterals = EmailNotificationReminderTime | 'UNKNOWN_REMINDER_TIME' | 'INSTANT' | 'BEFORE_1_DAY' | 'BEFORE_3_DAYS' | 'BEFORE_1_WEEK' | 'BEFORE_1_HOUR' | 'BEFORE_30_MINUTES';
|
|
128
|
-
interface
|
|
129
|
-
/**
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
rsvpGuest?: RsvpGuest;
|
|
135
|
-
/** Order guest info */
|
|
136
|
-
orderGuest?: OrderGuest;
|
|
137
|
-
/** Event guests info */
|
|
138
|
-
eventGuests?: EventGuests;
|
|
139
|
-
/** Ticket guests info */
|
|
140
|
-
ticketGuest?: TicketGuest;
|
|
128
|
+
interface ResolveNotificationConfigRequest {
|
|
129
|
+
/**
|
|
130
|
+
* Id of the NotificationConfig to retrieve
|
|
131
|
+
* @format GUID
|
|
132
|
+
*/
|
|
133
|
+
notificationConfigId: string;
|
|
141
134
|
}
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
emailNotificationType?: EmailNotificationTypeWithLiterals;
|
|
146
|
-
/** Push notification type */
|
|
147
|
-
pushNotificationType?: PushNotificationTypeWithLiterals;
|
|
135
|
+
interface ResolveNotificationConfigResponse {
|
|
136
|
+
/** The retrieved NotificationConfig */
|
|
137
|
+
notificationConfig?: NotificationConfig;
|
|
148
138
|
}
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
rsvpGuest?: RsvpGuest;
|
|
153
|
-
/** Order guest info */
|
|
154
|
-
orderGuest?: OrderGuest;
|
|
155
|
-
/** Event guests info */
|
|
156
|
-
eventGuests?: EventGuests;
|
|
157
|
-
/** Ticket guests info */
|
|
158
|
-
ticketGuest?: TicketGuest;
|
|
139
|
+
interface UpsertNotificationConfigRequest {
|
|
140
|
+
/** NotificationConfig to be upserted */
|
|
141
|
+
notificationConfig: NotificationConfig;
|
|
159
142
|
}
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
|
|
163
|
-
/** Triggered when event is updated. */
|
|
164
|
-
PUSH_EVENT_UPDATED = "PUSH_EVENT_UPDATED",
|
|
165
|
-
/** Triggered when event is canceled. */
|
|
166
|
-
PUSH_EVENT_CANCELATION = "PUSH_EVENT_CANCELATION",
|
|
167
|
-
/** Triggered before the event start time. */
|
|
168
|
-
PUSH_UPCOMING_EVENT_REMINDER = "PUSH_UPCOMING_EVENT_REMINDER",
|
|
169
|
-
/** Triggered when event is created. */
|
|
170
|
-
PUSH_EVENT_CREATED = "PUSH_EVENT_CREATED"
|
|
143
|
+
interface UpsertNotificationConfigResponse {
|
|
144
|
+
/** The upserted NotificationConfig */
|
|
145
|
+
notificationConfig?: NotificationConfig;
|
|
171
146
|
}
|
|
172
|
-
|
|
173
|
-
type PushNotificationTypeWithLiterals = PushNotificationType | 'UNKNOWN_PUSH_TYPE' | 'PUSH_EVENT_UPDATED' | 'PUSH_EVENT_CANCELATION' | 'PUSH_UPCOMING_EVENT_REMINDER' | 'PUSH_EVENT_CREATED';
|
|
174
|
-
/** Single guest associated to the RSVP */
|
|
175
|
-
interface RsvpGuest {
|
|
176
|
-
/**
|
|
177
|
-
* Event id
|
|
178
|
-
* @format GUID
|
|
179
|
-
*/
|
|
180
|
-
eventId?: string;
|
|
147
|
+
interface ResolveEmailNotificationConfigRequest {
|
|
181
148
|
/**
|
|
182
|
-
*
|
|
149
|
+
* Id of the NotificationConfig to retrieve
|
|
183
150
|
* @format GUID
|
|
184
151
|
*/
|
|
185
|
-
|
|
152
|
+
notificationConfigId?: string;
|
|
153
|
+
/** Notification type */
|
|
154
|
+
notificationType?: EmailNotificationTypeWithLiterals;
|
|
186
155
|
}
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
* Event id
|
|
191
|
-
* @format GUID
|
|
192
|
-
*/
|
|
193
|
-
eventId?: string;
|
|
194
|
-
/**
|
|
195
|
-
* Order number
|
|
196
|
-
* @maxLength 36
|
|
197
|
-
*/
|
|
198
|
-
orderNumber?: string;
|
|
156
|
+
interface ResolveEmailNotificationConfigResponse {
|
|
157
|
+
/** The retrieved EmailNotificationConfig */
|
|
158
|
+
emailNotificationConfig?: EmailNotificationConfig;
|
|
199
159
|
}
|
|
200
|
-
|
|
201
|
-
|
|
160
|
+
interface EventCanceled {
|
|
161
|
+
/** Event canceled timestamp in ISO UTC format. */
|
|
162
|
+
timestamp?: Date | null;
|
|
202
163
|
/**
|
|
203
|
-
* Event
|
|
164
|
+
* Event ID.
|
|
204
165
|
* @format GUID
|
|
205
166
|
*/
|
|
206
167
|
eventId?: string;
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
interface TicketGuest {
|
|
168
|
+
/** Event title */
|
|
169
|
+
title?: string;
|
|
210
170
|
/**
|
|
211
|
-
* Event
|
|
171
|
+
* Event creator user ID.
|
|
212
172
|
* @format GUID
|
|
213
173
|
*/
|
|
214
|
-
|
|
215
|
-
/**
|
|
216
|
-
|
|
217
|
-
* @maxLength 36
|
|
218
|
-
*/
|
|
219
|
-
orderNumber?: string | null;
|
|
220
|
-
/**
|
|
221
|
-
* Ticket numbers must be from the same order only.
|
|
222
|
-
* @minSize 1
|
|
223
|
-
* @maxSize 100
|
|
224
|
-
* @maxLength 36
|
|
225
|
-
*/
|
|
226
|
-
ticketNumber?: string[];
|
|
174
|
+
userId?: string | null;
|
|
175
|
+
/** True if at least one guest is registered to the event with any attendance status. */
|
|
176
|
+
hasGuests?: boolean | null;
|
|
227
177
|
}
|
|
228
|
-
interface
|
|
178
|
+
interface Empty {
|
|
229
179
|
}
|
|
230
|
-
interface
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
deletedEvent?: EntityDeletedEvent;
|
|
234
|
-
actionEvent?: ActionEvent;
|
|
235
|
-
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
236
|
-
id?: string;
|
|
237
|
-
/**
|
|
238
|
-
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
239
|
-
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
240
|
-
*/
|
|
241
|
-
entityFqdn?: string;
|
|
242
|
-
/**
|
|
243
|
-
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
244
|
-
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
245
|
-
*/
|
|
246
|
-
slug?: string;
|
|
247
|
-
/** ID of the entity associated with the event. */
|
|
248
|
-
entityId?: string;
|
|
249
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
250
|
-
eventTime?: Date | null;
|
|
251
|
-
/**
|
|
252
|
-
* Whether the event was triggered as a result of a privacy regulation application
|
|
253
|
-
* (for example, GDPR).
|
|
254
|
-
*/
|
|
255
|
-
triggeredByAnonymizeRequest?: boolean | null;
|
|
256
|
-
/** If present, indicates the action that triggered the event. */
|
|
257
|
-
originatedFrom?: string | null;
|
|
180
|
+
interface EventDeleted {
|
|
181
|
+
/** Event deleted timestamp in ISO UTC format. */
|
|
182
|
+
timestamp?: Date | null;
|
|
258
183
|
/**
|
|
259
|
-
*
|
|
260
|
-
*
|
|
184
|
+
* Event ID.
|
|
185
|
+
* @format GUID
|
|
261
186
|
*/
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
interface DomainEventBodyOneOf {
|
|
266
|
-
createdEvent?: EntityCreatedEvent;
|
|
267
|
-
updatedEvent?: EntityUpdatedEvent;
|
|
268
|
-
deletedEvent?: EntityDeletedEvent;
|
|
269
|
-
actionEvent?: ActionEvent;
|
|
270
|
-
}
|
|
271
|
-
interface EntityCreatedEvent {
|
|
272
|
-
entityAsJson?: string;
|
|
273
|
-
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
274
|
-
restoreInfo?: RestoreInfo;
|
|
275
|
-
}
|
|
276
|
-
interface RestoreInfo {
|
|
277
|
-
deletedDate?: Date | null;
|
|
278
|
-
}
|
|
279
|
-
interface EntityUpdatedEvent {
|
|
187
|
+
eventId?: string;
|
|
188
|
+
/** Event title. */
|
|
189
|
+
title?: string;
|
|
280
190
|
/**
|
|
281
|
-
*
|
|
282
|
-
*
|
|
283
|
-
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
191
|
+
* Event creator user ID.
|
|
192
|
+
* @format GUID
|
|
284
193
|
*/
|
|
285
|
-
|
|
286
|
-
}
|
|
287
|
-
interface EntityDeletedEvent {
|
|
288
|
-
/** Entity that was deleted. */
|
|
289
|
-
deletedEntityAsJson?: string | null;
|
|
290
|
-
}
|
|
291
|
-
interface ActionEvent {
|
|
292
|
-
bodyAsJson?: string;
|
|
293
|
-
}
|
|
294
|
-
interface Empty {
|
|
194
|
+
userId?: string | null;
|
|
295
195
|
}
|
|
296
|
-
interface
|
|
297
|
-
/** Event
|
|
196
|
+
interface EventCopied {
|
|
197
|
+
/** Event created timestamp in ISO UTC format. */
|
|
298
198
|
timestamp?: Date | null;
|
|
299
199
|
/**
|
|
300
200
|
* Event ID.
|
|
@@ -308,12 +208,28 @@ interface EventUpdated {
|
|
|
308
208
|
/** Event title. */
|
|
309
209
|
title?: string;
|
|
310
210
|
/**
|
|
311
|
-
*
|
|
312
|
-
* @
|
|
211
|
+
* Event creator user ID.
|
|
212
|
+
* @format GUID
|
|
213
|
+
*/
|
|
214
|
+
userId?: string | null;
|
|
215
|
+
/** Event status. */
|
|
216
|
+
status?: EventStatusWithLiterals;
|
|
217
|
+
/**
|
|
218
|
+
* Instance ID. Indicates the original app instance which current event was derived from.
|
|
219
|
+
* @format GUID
|
|
220
|
+
*/
|
|
221
|
+
derivedFromInstanceId?: string | null;
|
|
222
|
+
/**
|
|
223
|
+
* Event ID. Indicates the original event which current event was derived from.
|
|
224
|
+
* @format GUID
|
|
225
|
+
*/
|
|
226
|
+
derivedFromEventId?: string | null;
|
|
227
|
+
/**
|
|
228
|
+
* Map of copied ticket definitions from original event.
|
|
229
|
+
* Key represents ticket def id in the original event.
|
|
230
|
+
* Value represents ticket def id in the newly created event.
|
|
313
231
|
*/
|
|
314
|
-
|
|
315
|
-
/** Updated event */
|
|
316
|
-
event?: Event;
|
|
232
|
+
ticketDefinitions?: Record<string, string>;
|
|
317
233
|
}
|
|
318
234
|
interface Location {
|
|
319
235
|
/**
|
|
@@ -522,106 +438,6 @@ declare enum Status {
|
|
|
522
438
|
}
|
|
523
439
|
/** @enumType */
|
|
524
440
|
type StatusWithLiterals = Status | 'ONE_TIME' | 'RECURRING' | 'RECURRING_NEXT' | 'RECURRING_LAST_ENDED' | 'RECURRING_LAST_CANCELED';
|
|
525
|
-
interface Event {
|
|
526
|
-
/**
|
|
527
|
-
* Event ID.
|
|
528
|
-
* @format GUID
|
|
529
|
-
* @readonly
|
|
530
|
-
*/
|
|
531
|
-
id?: string;
|
|
532
|
-
/** Event location. */
|
|
533
|
-
location?: Location;
|
|
534
|
-
/** Event scheduling. */
|
|
535
|
-
scheduling?: Scheduling;
|
|
536
|
-
/** Event title. */
|
|
537
|
-
title?: string;
|
|
538
|
-
/** Event description. */
|
|
539
|
-
description?: string;
|
|
540
|
-
/** Rich-text content that are displayed in a site's "About Event" section (HTML). */
|
|
541
|
-
about?: string;
|
|
542
|
-
/** Main event image. */
|
|
543
|
-
mainImage?: Image;
|
|
544
|
-
/** Event slug URL (generated from event title). */
|
|
545
|
-
slug?: string;
|
|
546
|
-
/** ISO 639-1 language code of the event (used in content translations). */
|
|
547
|
-
language?: string;
|
|
548
|
-
/** Event creation timestamp. */
|
|
549
|
-
created?: Date | null;
|
|
550
|
-
/** Event modified timestamp. */
|
|
551
|
-
modified?: Date | null;
|
|
552
|
-
/** Event status. */
|
|
553
|
-
status?: EventStatusWithLiterals;
|
|
554
|
-
/** RSVP or ticketing registration details. */
|
|
555
|
-
registration?: Registration;
|
|
556
|
-
/** "Add to calendar" URLs. */
|
|
557
|
-
calendarLinks?: CalendarLinks;
|
|
558
|
-
/** Event page URL components. */
|
|
559
|
-
eventPageUrl?: SiteUrl;
|
|
560
|
-
/** Event registration form. */
|
|
561
|
-
form?: Form;
|
|
562
|
-
/** Event dashboard summary of RSVP / ticket sales. */
|
|
563
|
-
dashboard?: Dashboard;
|
|
564
|
-
/** Instance ID of the site where event is hosted. */
|
|
565
|
-
instanceId?: string;
|
|
566
|
-
/** Guest list configuration. */
|
|
567
|
-
guestListConfig?: GuestListConfig;
|
|
568
|
-
/**
|
|
569
|
-
* Event creator user ID.
|
|
570
|
-
* @maxLength 36
|
|
571
|
-
*/
|
|
572
|
-
userId?: string;
|
|
573
|
-
/** Event discussion feed. For internal use. */
|
|
574
|
-
feed?: Feed;
|
|
575
|
-
/** Online conferencing details. */
|
|
576
|
-
onlineConferencing?: OnlineConferencing;
|
|
577
|
-
/** SEO settings. */
|
|
578
|
-
seoSettings?: SeoSettings;
|
|
579
|
-
/** Assigned contacts label key. */
|
|
580
|
-
assignedContactsLabel?: string | null;
|
|
581
|
-
/** Agenda details. */
|
|
582
|
-
agenda?: Agenda;
|
|
583
|
-
/** Categories this event is assigned to. */
|
|
584
|
-
categories?: Category[];
|
|
585
|
-
/** Visual settings for event. */
|
|
586
|
-
eventDisplaySettings?: EventDisplaySettings;
|
|
587
|
-
/** Rich content that are displayed in a site's "About Event" section. Successor to `about` field. */
|
|
588
|
-
longDescription?: RichContent;
|
|
589
|
-
/**
|
|
590
|
-
* Event publish timestamp.
|
|
591
|
-
* @readonly
|
|
592
|
-
*/
|
|
593
|
-
publishedDate?: Date | null;
|
|
594
|
-
}
|
|
595
|
-
interface Scheduling {
|
|
596
|
-
/** Schedule configuration. */
|
|
597
|
-
config?: ScheduleConfig;
|
|
598
|
-
/** Formatted schedule representation. */
|
|
599
|
-
formatted?: string;
|
|
600
|
-
/** Formatted start date of the event (empty for TBD schedules). */
|
|
601
|
-
startDateFormatted?: string;
|
|
602
|
-
/** Formatted start time of the event (empty for TBD schedules). */
|
|
603
|
-
startTimeFormatted?: string;
|
|
604
|
-
/** Formatted end date of the event (empty for TBD schedules or when end date is hidden). */
|
|
605
|
-
endDateFormatted?: string;
|
|
606
|
-
/** Formatted end time of the event (empty for TBD schedules or when end date is hidden). */
|
|
607
|
-
endTimeFormatted?: string;
|
|
608
|
-
}
|
|
609
|
-
interface Image {
|
|
610
|
-
/**
|
|
611
|
-
* WixMedia image ID.
|
|
612
|
-
* @minLength 1
|
|
613
|
-
* @maxLength 200
|
|
614
|
-
*/
|
|
615
|
-
id?: string | null;
|
|
616
|
-
/** Image URL. */
|
|
617
|
-
url?: string;
|
|
618
|
-
/** Original image height. */
|
|
619
|
-
height?: number | null;
|
|
620
|
-
/** Original image width. */
|
|
621
|
-
width?: number | null;
|
|
622
|
-
/** Image alt text. Optional. */
|
|
623
|
-
altText?: string | null;
|
|
624
|
-
}
|
|
625
441
|
declare enum EventStatus {
|
|
626
442
|
/** Event is public and scheduled to start */
|
|
627
443
|
SCHEDULED = "SCHEDULED",
|
|
@@ -634,2690 +450,244 @@ declare enum EventStatus {
|
|
|
634
450
|
}
|
|
635
451
|
/** @enumType */
|
|
636
452
|
type EventStatusWithLiterals = EventStatus | 'SCHEDULED' | 'STARTED' | 'ENDED' | 'CANCELED';
|
|
637
|
-
interface
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
/**
|
|
643
|
-
|
|
644
|
-
/** Ticketing details. */
|
|
645
|
-
ticketing?: Ticketing;
|
|
646
|
-
/** External registration details. */
|
|
647
|
-
external?: ExternalEvent;
|
|
648
|
-
/** Types of users allowed to register. */
|
|
649
|
-
restrictedTo?: VisitorTypeWithLiterals;
|
|
650
|
-
/** Initial event type which was set when creating an event. */
|
|
651
|
-
initialType?: EventTypeWithLiterals;
|
|
652
|
-
}
|
|
653
|
-
declare enum EventType {
|
|
654
|
-
/** Type not available for this request fieldset */
|
|
655
|
-
NA_EVENT_TYPE = "NA_EVENT_TYPE",
|
|
656
|
-
/** Registration via RSVP */
|
|
657
|
-
RSVP = "RSVP",
|
|
658
|
-
/** Registration via ticket purchase */
|
|
659
|
-
TICKETS = "TICKETS",
|
|
660
|
-
/** External registration */
|
|
661
|
-
EXTERNAL = "EXTERNAL",
|
|
662
|
-
/** Registration not available */
|
|
663
|
-
NO_REGISTRATION = "NO_REGISTRATION"
|
|
664
|
-
}
|
|
665
|
-
/** @enumType */
|
|
666
|
-
type EventTypeWithLiterals = EventType | 'NA_EVENT_TYPE' | 'RSVP' | 'TICKETS' | 'EXTERNAL' | 'NO_REGISTRATION';
|
|
667
|
-
declare enum RegistrationStatus {
|
|
668
|
-
/** Registration status is not applicable */
|
|
669
|
-
NA_REGISTRATION_STATUS = "NA_REGISTRATION_STATUS",
|
|
670
|
-
/** Registration to event is closed */
|
|
671
|
-
CLOSED = "CLOSED",
|
|
672
|
-
/** Registration to event is closed manually */
|
|
673
|
-
CLOSED_MANUALLY = "CLOSED_MANUALLY",
|
|
674
|
-
/** Registration is open via RSVP */
|
|
675
|
-
OPEN_RSVP = "OPEN_RSVP",
|
|
676
|
-
/** Registration to event waitlist is open via RSVP */
|
|
677
|
-
OPEN_RSVP_WAITLIST = "OPEN_RSVP_WAITLIST",
|
|
678
|
-
/** Registration is open via ticket purchase */
|
|
679
|
-
OPEN_TICKETS = "OPEN_TICKETS",
|
|
680
|
-
/** Registration is open via external URL */
|
|
681
|
-
OPEN_EXTERNAL = "OPEN_EXTERNAL",
|
|
682
|
-
/** Registration will be open via RSVP */
|
|
683
|
-
SCHEDULED_RSVP = "SCHEDULED_RSVP"
|
|
684
|
-
}
|
|
685
|
-
/** @enumType */
|
|
686
|
-
type RegistrationStatusWithLiterals = RegistrationStatus | 'NA_REGISTRATION_STATUS' | 'CLOSED' | 'CLOSED_MANUALLY' | 'OPEN_RSVP' | 'OPEN_RSVP_WAITLIST' | 'OPEN_TICKETS' | 'OPEN_EXTERNAL' | 'SCHEDULED_RSVP';
|
|
687
|
-
interface RsvpCollection {
|
|
688
|
-
/** RSVP collection configuration. */
|
|
689
|
-
config?: RsvpCollectionConfig;
|
|
690
|
-
}
|
|
691
|
-
interface RsvpCollectionConfig {
|
|
692
|
-
/** Defines the supported RSVP statuses. */
|
|
693
|
-
rsvpStatusOptions?: RsvpStatusOptionsWithLiterals;
|
|
453
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
454
|
+
createdEvent?: EntityCreatedEvent;
|
|
455
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
456
|
+
deletedEvent?: EntityDeletedEvent;
|
|
457
|
+
actionEvent?: ActionEvent;
|
|
458
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
459
|
+
id?: string;
|
|
694
460
|
/**
|
|
695
|
-
*
|
|
696
|
-
*
|
|
697
|
-
*/
|
|
698
|
-
limit?: number | null;
|
|
699
|
-
/** Whether a waitlist is opened when total guest limit is reached, allowing guests to create RSVP with WAITING RSVP status. */
|
|
700
|
-
waitlist?: boolean;
|
|
701
|
-
/** Registration start timestamp. */
|
|
702
|
-
startDate?: Date | null;
|
|
703
|
-
/** Registration end timestamp. */
|
|
704
|
-
endDate?: Date | null;
|
|
705
|
-
}
|
|
706
|
-
declare enum RsvpStatusOptions {
|
|
707
|
-
/** Only YES RSVP status is available for RSVP registration */
|
|
708
|
-
YES_ONLY = "YES_ONLY",
|
|
709
|
-
/** YES and NO RSVP status options are available for the registration */
|
|
710
|
-
YES_AND_NO = "YES_AND_NO"
|
|
711
|
-
}
|
|
712
|
-
/** @enumType */
|
|
713
|
-
type RsvpStatusOptionsWithLiterals = RsvpStatusOptions | 'YES_ONLY' | 'YES_AND_NO';
|
|
714
|
-
interface RsvpConfirmationMessages {
|
|
715
|
-
/** Messages displayed when an RSVP's `status` is set to `"YES"`. */
|
|
716
|
-
positiveConfirmation?: RsvpConfirmationMessagesPositiveResponseConfirmation;
|
|
717
|
-
/** Messages displayed when an RSVP's `status` is set to `"WAITLIST"`, for when the event is full and a waitlist is available). */
|
|
718
|
-
waitlistMessages?: RsvpConfirmationMessagesPositiveResponseConfirmation;
|
|
719
|
-
/** Messages displayed when an RSVP's `status` is set to `"NO"`. */
|
|
720
|
-
negativeMessages?: RsvpConfirmationMessagesNegativeResponseConfirmation;
|
|
721
|
-
}
|
|
722
|
-
/** Confirmation shown after then registration when RSVP response is positive. */
|
|
723
|
-
interface RsvpConfirmationMessagesPositiveResponseConfirmation {
|
|
724
|
-
/**
|
|
725
|
-
* Confirmation message title.
|
|
726
|
-
* @maxLength 150
|
|
727
|
-
*/
|
|
728
|
-
title?: string | null;
|
|
729
|
-
/**
|
|
730
|
-
* Confirmation message text.
|
|
731
|
-
* @maxLength 350
|
|
732
|
-
*/
|
|
733
|
-
message?: string | null;
|
|
734
|
-
/**
|
|
735
|
-
* "Add to calendar" call-to-action label text.
|
|
736
|
-
* @maxLength 50
|
|
737
|
-
*/
|
|
738
|
-
addToCalendarActionLabel?: string | null;
|
|
739
|
-
/**
|
|
740
|
-
* "Share event" call-to-action label text.
|
|
741
|
-
* @maxLength 50
|
|
742
|
-
*/
|
|
743
|
-
shareActionLabel?: string | null;
|
|
744
|
-
}
|
|
745
|
-
/** Confirmation shown after then registration when RSVP response is negative. */
|
|
746
|
-
interface RsvpConfirmationMessagesNegativeResponseConfirmation {
|
|
747
|
-
/**
|
|
748
|
-
* Confirmation message title.
|
|
749
|
-
* @maxLength 150
|
|
750
|
-
*/
|
|
751
|
-
title?: string | null;
|
|
752
|
-
/**
|
|
753
|
-
* "Share event" call-to-action label text.
|
|
754
|
-
* @maxLength 50
|
|
755
|
-
*/
|
|
756
|
-
shareActionLabel?: string | null;
|
|
757
|
-
}
|
|
758
|
-
interface Ticketing {
|
|
759
|
-
/**
|
|
760
|
-
* Deprecated.
|
|
761
|
-
* @deprecated
|
|
762
|
-
*/
|
|
763
|
-
lowestPrice?: string | null;
|
|
764
|
-
/**
|
|
765
|
-
* Deprecated.
|
|
766
|
-
* @deprecated
|
|
767
|
-
*/
|
|
768
|
-
highestPrice?: string | null;
|
|
769
|
-
/** Currency used in event transactions. */
|
|
770
|
-
currency?: string | null;
|
|
771
|
-
/** Ticketing configuration. */
|
|
772
|
-
config?: TicketingConfig;
|
|
773
|
-
/**
|
|
774
|
-
* Price of lowest priced ticket.
|
|
775
|
-
* @readonly
|
|
776
|
-
*/
|
|
777
|
-
lowestTicketPrice?: Money;
|
|
778
|
-
/**
|
|
779
|
-
* Price of highest priced ticket.
|
|
780
|
-
* @readonly
|
|
781
|
-
*/
|
|
782
|
-
highestTicketPrice?: Money;
|
|
783
|
-
/**
|
|
784
|
-
* Formatted price of lowest priced ticket.
|
|
785
|
-
* @readonly
|
|
786
|
-
*/
|
|
787
|
-
lowestTicketPriceFormatted?: string | null;
|
|
788
|
-
/**
|
|
789
|
-
* Formatted price of highest priced ticket.
|
|
790
|
-
* @readonly
|
|
791
|
-
*/
|
|
792
|
-
highestTicketPriceFormatted?: string | null;
|
|
793
|
-
/**
|
|
794
|
-
* Whether all tickets are sold for this event.
|
|
795
|
-
* @readonly
|
|
796
|
-
*/
|
|
797
|
-
soldOut?: boolean | null;
|
|
798
|
-
}
|
|
799
|
-
interface TicketingConfig {
|
|
800
|
-
/** Whether the form must be filled out separately for each ticket. */
|
|
801
|
-
guestAssignedTickets?: boolean;
|
|
802
|
-
/** Tax configuration. */
|
|
803
|
-
taxConfig?: TaxConfig;
|
|
804
|
-
/**
|
|
805
|
-
* Limit of tickets that can be purchased per order, default 20.
|
|
806
|
-
* @max 50
|
|
807
|
-
*/
|
|
808
|
-
ticketLimitPerOrder?: number;
|
|
809
|
-
/**
|
|
810
|
-
* Duration for which the tickets being bought are reserved.
|
|
811
|
-
* @min 5
|
|
812
|
-
* @max 30
|
|
813
|
-
*/
|
|
814
|
-
reservationDurationInMinutes?: number | null;
|
|
815
|
-
}
|
|
816
|
-
interface TaxConfig {
|
|
817
|
-
/** Tax application settings. */
|
|
818
|
-
type?: TaxTypeWithLiterals;
|
|
819
|
-
/**
|
|
820
|
-
* Tax name.
|
|
821
|
-
* @minLength 1
|
|
822
|
-
* @maxLength 10
|
|
823
|
-
*/
|
|
824
|
-
name?: string | null;
|
|
825
|
-
/**
|
|
826
|
-
* Tax rate (e.g.,`21.55`).
|
|
827
|
-
* @decimalValue options { gte:0.001, lte:100, maxScale:3 }
|
|
828
|
-
*/
|
|
829
|
-
rate?: string | null;
|
|
830
|
-
/** Applies taxes for donations, default true. */
|
|
831
|
-
appliesToDonations?: boolean | null;
|
|
832
|
-
}
|
|
833
|
-
declare enum TaxType {
|
|
834
|
-
/** Tax is included in the ticket price. */
|
|
835
|
-
INCLUDED = "INCLUDED",
|
|
836
|
-
/** Tax is added to the order at the checkout. */
|
|
837
|
-
ADDED = "ADDED",
|
|
838
|
-
/** Tax is added to the final total at the checkout. */
|
|
839
|
-
ADDED_AT_CHECKOUT = "ADDED_AT_CHECKOUT"
|
|
840
|
-
}
|
|
841
|
-
/** @enumType */
|
|
842
|
-
type TaxTypeWithLiterals = TaxType | 'INCLUDED' | 'ADDED' | 'ADDED_AT_CHECKOUT';
|
|
843
|
-
interface TicketsConfirmationMessages {
|
|
844
|
-
/**
|
|
845
|
-
* Confirmation message title.
|
|
846
|
-
* @maxLength 150
|
|
847
|
-
*/
|
|
848
|
-
title?: string | null;
|
|
849
|
-
/**
|
|
850
|
-
* Confirmation message text.
|
|
851
|
-
* @maxLength 350
|
|
852
|
-
*/
|
|
853
|
-
message?: string | null;
|
|
854
|
-
/**
|
|
855
|
-
* "Download tickets" call-to-action label text.
|
|
856
|
-
* @maxLength 50
|
|
857
|
-
*/
|
|
858
|
-
downloadTicketsLabel?: string | null;
|
|
859
|
-
/**
|
|
860
|
-
* "Add to calendar" call-to-action label text.
|
|
861
|
-
* @maxLength 50
|
|
862
|
-
*/
|
|
863
|
-
addToCalendarActionLabel?: string | null;
|
|
864
|
-
/**
|
|
865
|
-
* "Share event" call-to-action label text.
|
|
866
|
-
* @maxLength 50
|
|
867
|
-
*/
|
|
868
|
-
shareActionLabel?: string | null;
|
|
869
|
-
}
|
|
870
|
-
declare enum CheckoutType {
|
|
871
|
-
UNKNOWN_CHECKOUT_TYPE = "UNKNOWN_CHECKOUT_TYPE",
|
|
872
|
-
/** Checkout using Events App. */
|
|
873
|
-
EVENTS_APP = "EVENTS_APP",
|
|
874
|
-
/** Checkout using Ecomm Platform. */
|
|
875
|
-
ECOMM_PLATFORM = "ECOMM_PLATFORM"
|
|
876
|
-
}
|
|
877
|
-
/** @enumType */
|
|
878
|
-
type CheckoutTypeWithLiterals = CheckoutType | 'UNKNOWN_CHECKOUT_TYPE' | 'EVENTS_APP' | 'ECOMM_PLATFORM';
|
|
879
|
-
interface Money {
|
|
880
|
-
/**
|
|
881
|
-
* *Deprecated:** Use `value` instead.
|
|
882
|
-
* @format DECIMAL_VALUE
|
|
883
|
-
* @deprecated
|
|
884
|
-
*/
|
|
885
|
-
amount?: string;
|
|
886
|
-
/**
|
|
887
|
-
* 3-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. For example, `USD`.
|
|
888
|
-
* @format CURRENCY
|
|
889
|
-
*/
|
|
890
|
-
currency?: string;
|
|
891
|
-
/**
|
|
892
|
-
* 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.
|
|
893
|
-
* @format DECIMAL_VALUE
|
|
894
|
-
*/
|
|
895
|
-
value?: string | null;
|
|
896
|
-
}
|
|
897
|
-
interface ExternalEvent {
|
|
898
|
-
/** External event registration URL. */
|
|
899
|
-
registration?: string;
|
|
900
|
-
}
|
|
901
|
-
declare enum VisitorType {
|
|
902
|
-
/** Site visitor (including member) */
|
|
903
|
-
VISITOR = "VISITOR",
|
|
904
|
-
/** Site member */
|
|
905
|
-
MEMBER = "MEMBER",
|
|
906
|
-
/** Site visitor or member */
|
|
907
|
-
VISITOR_OR_MEMBER = "VISITOR_OR_MEMBER"
|
|
908
|
-
}
|
|
909
|
-
/** @enumType */
|
|
910
|
-
type VisitorTypeWithLiterals = VisitorType | 'VISITOR' | 'MEMBER' | 'VISITOR_OR_MEMBER';
|
|
911
|
-
interface CalendarLinks {
|
|
912
|
-
/** "Add to Google calendar" URL. */
|
|
913
|
-
google?: string;
|
|
914
|
-
/** "Download ICS calendar file" URL. */
|
|
915
|
-
ics?: string;
|
|
916
|
-
}
|
|
917
|
-
/** Site URL components */
|
|
918
|
-
interface SiteUrl {
|
|
919
|
-
/**
|
|
920
|
-
* Base URL. For premium sites, this will be the domain.
|
|
921
|
-
* For free sites, this would be site URL (e.g `mysite.wixsite.com/mysite`)
|
|
922
|
-
*/
|
|
923
|
-
base?: string;
|
|
924
|
-
/** The path to that page - e.g `/my-events/weekly-meetup-2` */
|
|
925
|
-
path?: string;
|
|
926
|
-
}
|
|
927
|
-
/**
|
|
928
|
-
* The form defines which elements are displayed to a site visitor during the registration process (RSVP or checkout).
|
|
929
|
-
* It also contains customizable messages and labels.
|
|
930
|
-
*
|
|
931
|
-
*
|
|
932
|
-
* A form is an ordered list of controls (blocks), which accept guest information into a field input.
|
|
933
|
-
*
|
|
934
|
-
* Each control contains one or more nested inputs. For example, `Name` control has two inputs:
|
|
935
|
-
* - First Name
|
|
936
|
-
* - Last Name
|
|
937
|
-
*
|
|
938
|
-
* By default, name and email controls are always required and are pinned to the top of the form.
|
|
939
|
-
*/
|
|
940
|
-
interface Form {
|
|
941
|
-
/** Nested fields as an ordered list. */
|
|
942
|
-
controls?: InputControl[];
|
|
943
|
-
/**
|
|
944
|
-
* Set of defined form messages displayed in the UI before, during, and after a registration flow.
|
|
945
|
-
* Includes the configuration of form titles, response labels, "thank you" messages, and call-to-action texts.
|
|
946
|
-
*/
|
|
947
|
-
messages?: FormMessages;
|
|
948
|
-
}
|
|
949
|
-
/**
|
|
950
|
-
* A block of nested fields.
|
|
951
|
-
* Used to aggregate similar inputs like First Name and Last Name.
|
|
952
|
-
*/
|
|
953
|
-
interface InputControl {
|
|
954
|
-
/** Field control type. */
|
|
955
|
-
type?: InputControlTypeWithLiterals;
|
|
956
|
-
/** Whether the control is mandatory (such as `name` & `email`). When `true`, only the label can be changed. */
|
|
957
|
-
system?: boolean;
|
|
958
|
-
/**
|
|
959
|
-
* Deprecated: Use `id` or `_id`.
|
|
960
|
-
* @deprecated
|
|
961
|
-
*/
|
|
962
|
-
name?: string;
|
|
963
|
-
/** Child inputs. */
|
|
964
|
-
inputs?: Input[];
|
|
965
|
-
/**
|
|
966
|
-
* *Deprecated:** Use `controls.inputs.label`.
|
|
967
|
-
* @deprecated
|
|
968
|
-
*/
|
|
969
|
-
label?: string;
|
|
970
|
-
/** Field controls are sorted by this value in ascending order. */
|
|
971
|
-
orderIndex?: number;
|
|
972
|
-
/** Unique control ID. */
|
|
973
|
-
id?: string;
|
|
974
|
-
/**
|
|
975
|
-
* Whether the input control is deleted.
|
|
976
|
-
* @readonly
|
|
977
|
-
*/
|
|
978
|
-
deleted?: boolean | null;
|
|
979
|
-
}
|
|
980
|
-
declare enum InputControlType {
|
|
981
|
-
/** Single text value field. */
|
|
982
|
-
INPUT = "INPUT",
|
|
983
|
-
/** Single text value field with multiple lines. */
|
|
984
|
-
TEXTAREA = "TEXTAREA",
|
|
985
|
-
/** Single-choice field with predefined values. */
|
|
986
|
-
DROPDOWN = "DROPDOWN",
|
|
987
|
-
/** Single-choice field with predefined values. */
|
|
988
|
-
RADIO = "RADIO",
|
|
989
|
-
/** Multiple-choice field with predefined values. */
|
|
990
|
-
CHECKBOX = "CHECKBOX",
|
|
991
|
-
/** Fields for entering first and last names. */
|
|
992
|
-
NAME = "NAME",
|
|
993
|
-
/** Fields for additional guests and their respective names. */
|
|
994
|
-
GUEST_CONTROL = "GUEST_CONTROL",
|
|
995
|
-
/** Single-line address field. */
|
|
996
|
-
ADDRESS_SHORT = "ADDRESS_SHORT",
|
|
997
|
-
/** Full address field with multiple lines. */
|
|
998
|
-
ADDRESS_FULL = "ADDRESS_FULL",
|
|
999
|
-
/** Fields for entering year, month, and day. */
|
|
1000
|
-
DATE = "DATE"
|
|
1001
|
-
}
|
|
1002
|
-
/** @enumType */
|
|
1003
|
-
type InputControlTypeWithLiterals = InputControlType | 'INPUT' | 'TEXTAREA' | 'DROPDOWN' | 'RADIO' | 'CHECKBOX' | 'NAME' | 'GUEST_CONTROL' | 'ADDRESS_SHORT' | 'ADDRESS_FULL' | 'DATE';
|
|
1004
|
-
/** Child inputs. */
|
|
1005
|
-
interface Input {
|
|
1006
|
-
/** Field name. */
|
|
1007
|
-
name?: string;
|
|
1008
|
-
/**
|
|
1009
|
-
* *Deprecated:** Use `controls.inputs.type.TEXT_ARRAY`.
|
|
1010
|
-
* @deprecated
|
|
1011
|
-
*/
|
|
1012
|
-
array?: boolean;
|
|
1013
|
-
/** Main field label. */
|
|
1014
|
-
label?: string;
|
|
1015
|
-
/** Additional labels for multi-valued fields such as address. */
|
|
1016
|
-
additionalLabels?: Record<string, string>;
|
|
1017
|
-
/** Predefined choice options for fields, such as dropdown. */
|
|
1018
|
-
options?: string[];
|
|
1019
|
-
/** Whether field is mandatory. */
|
|
1020
|
-
mandatory?: boolean;
|
|
1021
|
-
/** Maximum number of accepted characters (relevant for text fields). */
|
|
1022
|
-
maxLength?: number;
|
|
1023
|
-
/**
|
|
1024
|
-
* Type which determines field format.
|
|
1025
|
-
* Used to validate submitted response.
|
|
1026
|
-
*/
|
|
1027
|
-
type?: ValueTypeWithLiterals;
|
|
1028
|
-
/**
|
|
1029
|
-
* The maximum number of accepted values for array input.
|
|
1030
|
-
*
|
|
1031
|
-
* **Note:** Only applicable for `TEXT_ARRAY` input fields.
|
|
1032
|
-
*/
|
|
1033
|
-
maxSize?: number | null;
|
|
1034
|
-
/**
|
|
1035
|
-
* Default option initially selected when an input has multiple choices.
|
|
1036
|
-
*
|
|
1037
|
-
* Defaults to first (0th) option, if not configured.
|
|
1038
|
-
* Currently only applicable for `type.dropdown`.
|
|
1039
|
-
*/
|
|
1040
|
-
defaultOptionSelection?: OptionSelection;
|
|
1041
|
-
/**
|
|
1042
|
-
* Additional labels for multi-valued fields, such as address.
|
|
1043
|
-
* @readonly
|
|
1044
|
-
*/
|
|
1045
|
-
labels?: Label[];
|
|
1046
|
-
}
|
|
1047
|
-
declare enum ValueType {
|
|
1048
|
-
TEXT = "TEXT",
|
|
1049
|
-
NUMBER = "NUMBER",
|
|
1050
|
-
TEXT_ARRAY = "TEXT_ARRAY",
|
|
1051
|
-
DATE_TIME = "DATE_TIME",
|
|
1052
|
-
ADDRESS = "ADDRESS"
|
|
1053
|
-
}
|
|
1054
|
-
/** @enumType */
|
|
1055
|
-
type ValueTypeWithLiterals = ValueType | 'TEXT' | 'NUMBER' | 'TEXT_ARRAY' | 'DATE_TIME' | 'ADDRESS';
|
|
1056
|
-
/**
|
|
1057
|
-
* Describes initially selected option when an input has multiple choices.
|
|
1058
|
-
* Defaults to first (0th) option if not configured.
|
|
1059
|
-
*/
|
|
1060
|
-
interface OptionSelection extends OptionSelectionSelectedOptionOneOf {
|
|
1061
|
-
/**
|
|
1062
|
-
* 0-based index from predefined `controls.inputs.options` which is initial selection.
|
|
1063
|
-
* @max 199
|
|
1064
|
-
*/
|
|
1065
|
-
optionIndex?: number;
|
|
1066
|
-
/**
|
|
1067
|
-
* Placeholder hint describing expected choices, such as "Please select".
|
|
1068
|
-
* Considered an empty choice.
|
|
1069
|
-
* @maxLength 200
|
|
1070
|
-
*/
|
|
1071
|
-
placeholderText?: string;
|
|
1072
|
-
}
|
|
1073
|
-
/** @oneof */
|
|
1074
|
-
interface OptionSelectionSelectedOptionOneOf {
|
|
1075
|
-
/**
|
|
1076
|
-
* 0-based index from predefined `controls.inputs.options` which is initial selection.
|
|
1077
|
-
* @max 199
|
|
1078
|
-
*/
|
|
1079
|
-
optionIndex?: number;
|
|
1080
|
-
/**
|
|
1081
|
-
* Placeholder hint describing expected choices, such as "Please select".
|
|
1082
|
-
* Considered an empty choice.
|
|
1083
|
-
* @maxLength 200
|
|
1084
|
-
*/
|
|
1085
|
-
placeholderText?: string;
|
|
1086
|
-
}
|
|
1087
|
-
interface Label {
|
|
1088
|
-
/** Field name. */
|
|
1089
|
-
name?: string;
|
|
1090
|
-
/** Field label. */
|
|
1091
|
-
label?: string;
|
|
1092
|
-
}
|
|
1093
|
-
/**
|
|
1094
|
-
* Defines form messages shown in UI before, during, and after registration flow.
|
|
1095
|
-
* It enables configuration of form titles, response labels, "thank you" messages, and call-to-action texts.
|
|
1096
|
-
*/
|
|
1097
|
-
interface FormMessages {
|
|
1098
|
-
/** [RSVP form](https://dev.wix.com/docs/rest/business-solutions/events/rsvp-v2/introduction) messages. */
|
|
1099
|
-
rsvp?: RsvpFormMessages;
|
|
1100
|
-
/** Checkout form messages. */
|
|
1101
|
-
checkout?: CheckoutFormMessages;
|
|
1102
|
-
/** Messages shown when event registration is closed. */
|
|
1103
|
-
registrationClosed?: RegistrationClosedMessages;
|
|
1104
|
-
/** Messages shown when event tickets are unavailable. */
|
|
1105
|
-
ticketsUnavailable?: TicketsUnavailableMessages;
|
|
1106
|
-
}
|
|
1107
|
-
interface RsvpFormMessages {
|
|
1108
|
-
/** Label text indicating RSVP's `status` is `"YES"`. */
|
|
1109
|
-
rsvpYesOption?: string;
|
|
1110
|
-
/** Label text indicating RSVP's `status` is `"NO"`. */
|
|
1111
|
-
rsvpNoOption?: string;
|
|
1112
|
-
/** Messages displayed when an RSVP's `status` is set to `"YES"`. */
|
|
1113
|
-
positiveMessages?: Positive;
|
|
1114
|
-
/** Messages displayed when an RSVP's `status` is set to `"WAITLIST"`, for when the event is full and a waitlist is available). */
|
|
1115
|
-
waitlistMessages?: Positive;
|
|
1116
|
-
/** Messages displayed when an RSVP's `status` is set to `"NO"`. */
|
|
1117
|
-
negativeMessages?: Negative;
|
|
1118
|
-
/** "Submit form" call-to-action label text. */
|
|
1119
|
-
submitActionLabel?: string;
|
|
1120
|
-
}
|
|
1121
|
-
/** Confirmation messages shown after registration. */
|
|
1122
|
-
interface PositiveResponseConfirmation {
|
|
1123
|
-
/** Confirmation message title. */
|
|
1124
|
-
title?: string;
|
|
1125
|
-
/** Confirmation message text. */
|
|
1126
|
-
message?: string;
|
|
1127
|
-
/** "Add to calendar" call-to-action label text. */
|
|
1128
|
-
addToCalendarActionLabel?: string;
|
|
1129
|
-
/** "Share event" call-to-action label text. */
|
|
1130
|
-
shareActionLabel?: string;
|
|
1131
|
-
}
|
|
1132
|
-
/** Confirmation messages shown after registration. */
|
|
1133
|
-
interface NegativeResponseConfirmation {
|
|
1134
|
-
/** Confirmation message title. */
|
|
1135
|
-
title?: string;
|
|
1136
|
-
/** "Share event" call-to-action label text. */
|
|
1137
|
-
shareActionLabel?: string;
|
|
1138
|
-
}
|
|
1139
|
-
/** Set of messages shown during registration when RSVP response is positive. */
|
|
1140
|
-
interface Positive {
|
|
1141
|
-
/** Main form title for positive response. */
|
|
1142
|
-
title?: string;
|
|
1143
|
-
/** Confirmation messages shown after registration. */
|
|
1144
|
-
confirmation?: PositiveResponseConfirmation;
|
|
1145
|
-
}
|
|
1146
|
-
/** A set of messages shown during registration with negative response */
|
|
1147
|
-
interface Negative {
|
|
1148
|
-
/** Main form title for negative response. */
|
|
1149
|
-
title?: string;
|
|
1150
|
-
/** Confirmation messages shown after registration. */
|
|
1151
|
-
confirmation?: NegativeResponseConfirmation;
|
|
1152
|
-
}
|
|
1153
|
-
interface CheckoutFormMessages {
|
|
1154
|
-
/** Main form title for response. */
|
|
1155
|
-
title?: string;
|
|
1156
|
-
/** Submit form call-to-action label text. */
|
|
1157
|
-
submitActionLabel?: string;
|
|
1158
|
-
/** Confirmation messages shown after checkout. */
|
|
1159
|
-
confirmation?: ResponseConfirmation;
|
|
1160
|
-
}
|
|
1161
|
-
/** Confirmation messages shown after checkout. */
|
|
1162
|
-
interface ResponseConfirmation {
|
|
1163
|
-
/** Confirmation message title. */
|
|
1164
|
-
title?: string;
|
|
1165
|
-
/** Confirmation message text. */
|
|
1166
|
-
message?: string;
|
|
1167
|
-
/** "Download tickets" call-to-action label text. */
|
|
1168
|
-
downloadTicketsLabel?: string;
|
|
1169
|
-
/** "Add to calendar" call-to-action label text. */
|
|
1170
|
-
addToCalendarLabel?: string;
|
|
1171
|
-
/** "Share event" call-to-action label text. */
|
|
1172
|
-
shareEventLabel?: string;
|
|
1173
|
-
}
|
|
1174
|
-
interface RegistrationClosedMessages {
|
|
1175
|
-
/** Message shown when event registration is closed. */
|
|
1176
|
-
message?: string;
|
|
1177
|
-
/** "Explore other events" call-to-action label text. */
|
|
1178
|
-
exploreEventsActionLabel?: string;
|
|
1179
|
-
}
|
|
1180
|
-
interface TicketsUnavailableMessages {
|
|
1181
|
-
/** Message shown when event tickets are unavailable. */
|
|
1182
|
-
message?: string;
|
|
1183
|
-
/** "Explore other events" call-to-action label text. */
|
|
1184
|
-
exploreEventsActionLabel?: string;
|
|
1185
|
-
}
|
|
1186
|
-
interface Dashboard {
|
|
1187
|
-
/** Guest RSVP summary. */
|
|
1188
|
-
rsvpSummary?: RsvpSummary;
|
|
1189
|
-
/**
|
|
1190
|
-
* Summary of revenue and tickets sold.
|
|
1191
|
-
* (Archived orders are not included).
|
|
1192
|
-
*/
|
|
1193
|
-
ticketingSummary?: TicketingSummary;
|
|
1194
|
-
}
|
|
1195
|
-
interface RsvpSummary {
|
|
1196
|
-
/** Total number of RSVPs. */
|
|
1197
|
-
total?: number;
|
|
1198
|
-
/** Number of RSVPs with status `YES`. */
|
|
1199
|
-
yes?: number;
|
|
1200
|
-
/** Number of RSVPs with status `NO`. */
|
|
1201
|
-
no?: number;
|
|
1202
|
-
/** Number of RSVPs in waitlist. */
|
|
1203
|
-
waitlist?: number;
|
|
1204
|
-
}
|
|
1205
|
-
interface TicketingSummary {
|
|
1206
|
-
/** Number of tickets sold. */
|
|
1207
|
-
tickets?: number;
|
|
1208
|
-
/**
|
|
1209
|
-
* Total revenue, excluding fees.
|
|
1210
|
-
* (taxes and payment provider fees are not deducted.)
|
|
1211
|
-
*/
|
|
1212
|
-
revenue?: Money;
|
|
1213
|
-
/** Whether currency is locked and cannot be changed (generally occurs after the first order in the specified currency has been created). */
|
|
1214
|
-
currencyLocked?: boolean;
|
|
1215
|
-
/** Number of orders placed. */
|
|
1216
|
-
orders?: number;
|
|
1217
|
-
/** Total balance of confirmed transactions. */
|
|
1218
|
-
totalSales?: Money;
|
|
1219
|
-
}
|
|
1220
|
-
interface GuestListConfig {
|
|
1221
|
-
/** Whether members can see other members attending the event (defaults to true). */
|
|
1222
|
-
publicGuestList?: boolean;
|
|
1223
|
-
}
|
|
1224
|
-
interface Feed {
|
|
1225
|
-
/** Event discussion feed token. */
|
|
1226
|
-
token?: string;
|
|
1227
|
-
}
|
|
1228
|
-
interface OnlineConferencing {
|
|
1229
|
-
config?: OnlineConferencingConfig;
|
|
1230
|
-
session?: OnlineConferencingSession;
|
|
1231
|
-
}
|
|
1232
|
-
interface OnlineConferencingConfig {
|
|
1233
|
-
/**
|
|
1234
|
-
* Whether online conferencing is enabled (not supported for TBD schedules).
|
|
1235
|
-
* When enabled, links to join conferencing are generated and provided to guests.
|
|
1236
|
-
*/
|
|
1237
|
-
enabled?: boolean;
|
|
1238
|
-
/**
|
|
1239
|
-
* Conferencing provider ID.
|
|
1240
|
-
* @format GUID
|
|
1241
|
-
*/
|
|
1242
|
-
providerId?: string | null;
|
|
1243
|
-
/** Conference type */
|
|
1244
|
-
conferenceType?: ConferenceTypeWithLiterals;
|
|
1245
|
-
}
|
|
1246
|
-
declare enum ConferenceType {
|
|
1247
|
-
/** Everyone in the meeting can publish and subscribe video and audio. */
|
|
1248
|
-
MEETING = "MEETING",
|
|
1249
|
-
/** Guests can only subscribe to video and audio. */
|
|
1250
|
-
WEBINAR = "WEBINAR"
|
|
1251
|
-
}
|
|
1252
|
-
/** @enumType */
|
|
1253
|
-
type ConferenceTypeWithLiterals = ConferenceType | 'MEETING' | 'WEBINAR';
|
|
1254
|
-
interface OnlineConferencingSession {
|
|
1255
|
-
/**
|
|
1256
|
-
* Link for event host to start the online conference session.
|
|
1257
|
-
* @readonly
|
|
1258
|
-
*/
|
|
1259
|
-
hostLink?: string;
|
|
1260
|
-
/**
|
|
1261
|
-
* Link for guests to join the online conference session.
|
|
1262
|
-
* @readonly
|
|
1263
|
-
*/
|
|
1264
|
-
guestLink?: string;
|
|
1265
|
-
/**
|
|
1266
|
-
* The password required to join online conferencing session (when relevant).
|
|
1267
|
-
* @readonly
|
|
1268
|
-
*/
|
|
1269
|
-
password?: string | null;
|
|
1270
|
-
/**
|
|
1271
|
-
* Indicates that session was created successfully on providers side.
|
|
1272
|
-
* @readonly
|
|
1273
|
-
*/
|
|
1274
|
-
sessionCreated?: boolean | null;
|
|
1275
|
-
/**
|
|
1276
|
-
* Unique session id
|
|
1277
|
-
* @readonly
|
|
461
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
462
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
1278
463
|
*/
|
|
1279
|
-
|
|
1280
|
-
}
|
|
1281
|
-
interface SeoSettings {
|
|
464
|
+
entityFqdn?: string;
|
|
1282
465
|
/**
|
|
1283
|
-
*
|
|
1284
|
-
*
|
|
466
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
467
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
1285
468
|
*/
|
|
1286
469
|
slug?: string;
|
|
1287
|
-
/**
|
|
1288
|
-
|
|
1289
|
-
/**
|
|
1290
|
-
|
|
1291
|
-
* @readonly
|
|
1292
|
-
*/
|
|
1293
|
-
hidden?: boolean | null;
|
|
1294
|
-
}
|
|
1295
|
-
/**
|
|
1296
|
-
* 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.
|
|
1297
|
-
* The search engines use this information for ranking purposes, or to display snippets in the search results.
|
|
1298
|
-
* 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.
|
|
1299
|
-
*/
|
|
1300
|
-
interface SeoSchema {
|
|
1301
|
-
/** SEO tag information. */
|
|
1302
|
-
tags?: Tag[];
|
|
1303
|
-
/** SEO general settings. */
|
|
1304
|
-
settings?: Settings;
|
|
1305
|
-
}
|
|
1306
|
-
interface Keyword {
|
|
1307
|
-
/** Keyword value. */
|
|
1308
|
-
term?: string;
|
|
1309
|
-
/** Whether the keyword is the main focus keyword. */
|
|
1310
|
-
isMain?: boolean;
|
|
1311
|
-
/**
|
|
1312
|
-
* The source that added the keyword terms to the SEO settings.
|
|
1313
|
-
* @maxLength 1000
|
|
1314
|
-
*/
|
|
1315
|
-
origin?: string | null;
|
|
1316
|
-
}
|
|
1317
|
-
interface Tag {
|
|
1318
|
-
/**
|
|
1319
|
-
* SEO tag type.
|
|
1320
|
-
*
|
|
1321
|
-
*
|
|
1322
|
-
* Supported values: `title`, `meta`, `script`, `link`.
|
|
1323
|
-
*/
|
|
1324
|
-
type?: string;
|
|
1325
|
-
/**
|
|
1326
|
-
* A `{"key": "value"}` pair object where each SEO tag property (`"name"`, `"content"`, `"rel"`, `"href"`) contains a value.
|
|
1327
|
-
* For example: `{"name": "description", "content": "the description itself"}`.
|
|
1328
|
-
*/
|
|
1329
|
-
props?: Record<string, any> | null;
|
|
1330
|
-
/** SEO tag metadata. For example, `{"height": 300, "width": 240}`. */
|
|
1331
|
-
meta?: Record<string, any> | null;
|
|
1332
|
-
/** SEO tag inner content. For example, `<title> inner content </title>`. */
|
|
1333
|
-
children?: string;
|
|
1334
|
-
/** Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages). */
|
|
1335
|
-
custom?: boolean;
|
|
1336
|
-
/** Whether the tag is disabled. If the tag is disabled, people can't find your page when searching for this phrase in search engines. */
|
|
1337
|
-
disabled?: boolean;
|
|
1338
|
-
}
|
|
1339
|
-
interface Settings {
|
|
1340
|
-
/**
|
|
1341
|
-
* Whether the [automatical redirect visits](https://support.wix.com/en/article/customizing-your-pages-seo-settings-in-the-seo-panel) from the old URL to the new one is enabled.
|
|
1342
|
-
*
|
|
1343
|
-
*
|
|
1344
|
-
* Default: `false` (automatical redirect is enabled).
|
|
1345
|
-
*/
|
|
1346
|
-
preventAutoRedirect?: boolean;
|
|
1347
|
-
/**
|
|
1348
|
-
* User-selected keyword terms for a specific page.
|
|
1349
|
-
* @maxSize 5
|
|
1350
|
-
*/
|
|
1351
|
-
keywords?: Keyword[];
|
|
1352
|
-
}
|
|
1353
|
-
interface Agenda {
|
|
1354
|
-
/** Whether the schedule is enabled for the event. */
|
|
1355
|
-
enabled?: boolean;
|
|
1356
|
-
/**
|
|
1357
|
-
* Agenda page URL.
|
|
1358
|
-
* @readonly
|
|
1359
|
-
*/
|
|
1360
|
-
pageUrl?: SiteUrl;
|
|
1361
|
-
}
|
|
1362
|
-
/**
|
|
1363
|
-
* A Category is a classification object that groups related events on a site so you can organize and display them by themes, venues, or other facets.
|
|
1364
|
-
*
|
|
1365
|
-
* You can manage Categories, assign events to them, and use them to control the selection and order of events across different pages and widgets.
|
|
1366
|
-
*
|
|
1367
|
-
* Read more about [Categories](https://support.wix.com/en/article/creating-and-displaying-event-categories).
|
|
1368
|
-
*/
|
|
1369
|
-
interface Category {
|
|
1370
|
-
/**
|
|
1371
|
-
* Category ID.
|
|
1372
|
-
* @format GUID
|
|
1373
|
-
* @readonly
|
|
1374
|
-
*/
|
|
1375
|
-
id?: string;
|
|
1376
|
-
/**
|
|
1377
|
-
* Category name.
|
|
1378
|
-
* @minLength 1
|
|
1379
|
-
* @maxLength 30
|
|
1380
|
-
*/
|
|
1381
|
-
name?: string;
|
|
1382
|
-
/**
|
|
1383
|
-
* Date and time when category was created.
|
|
1384
|
-
* @readonly
|
|
1385
|
-
*/
|
|
1386
|
-
createdDate?: Date | null;
|
|
1387
|
-
/**
|
|
1388
|
-
* The total number of draft and published events assigned to the category.
|
|
1389
|
-
* @readonly
|
|
1390
|
-
*/
|
|
1391
|
-
counts?: CategoryCounts;
|
|
1392
|
-
/**
|
|
1393
|
-
* Category state.
|
|
1394
|
-
*
|
|
1395
|
-
* Default: `MANUAL`.
|
|
1396
|
-
*
|
|
1397
|
-
* **Note:** The WIX_EVENTS.MANAGE_AUTO_CATEGORIES permission scope is required to use states other than `MANUAL`.
|
|
1398
|
-
* @maxSize 3
|
|
1399
|
-
*/
|
|
1400
|
-
states?: StateWithLiterals[];
|
|
1401
|
-
}
|
|
1402
|
-
interface CategoryCounts {
|
|
1403
|
-
/** Total number of draft events assigned to the category. */
|
|
1404
|
-
assignedEventsCount?: number | null;
|
|
1405
|
-
/** Total number of published events assigned to the category. Deleted events are excluded. */
|
|
1406
|
-
assignedDraftEventsCount?: number | null;
|
|
1407
|
-
}
|
|
1408
|
-
declare enum State {
|
|
1409
|
-
/** Categoty is created manually by the user. */
|
|
1410
|
-
MANUAL = "MANUAL",
|
|
1411
|
-
/** Category is created automatically. */
|
|
1412
|
-
AUTO = "AUTO",
|
|
1413
|
-
/** Category is created automatically when publishing recurring events. */
|
|
1414
|
-
RECURRING_EVENT = "RECURRING_EVENT",
|
|
1415
|
-
/** Category is hidden. */
|
|
1416
|
-
HIDDEN = "HIDDEN"
|
|
1417
|
-
}
|
|
1418
|
-
/** @enumType */
|
|
1419
|
-
type StateWithLiterals = State | 'MANUAL' | 'AUTO' | 'RECURRING_EVENT' | 'HIDDEN';
|
|
1420
|
-
interface EventDisplaySettings {
|
|
1421
|
-
/** Whether event details button is hidden. Only available for events with no registration. */
|
|
1422
|
-
hideEventDetailsButton?: boolean | null;
|
|
1423
|
-
/** Disables event details page visibility. If event has an external registration configured visitors will be redirected from this page. */
|
|
1424
|
-
hideEventDetailsPage?: boolean | null;
|
|
1425
|
-
}
|
|
1426
|
-
interface LabellingSettings {
|
|
1427
|
-
}
|
|
1428
|
-
interface RichContent {
|
|
1429
|
-
/** Node objects representing a rich content document. */
|
|
1430
|
-
nodes?: Node[];
|
|
1431
|
-
/** Object metadata. */
|
|
1432
|
-
metadata?: Metadata;
|
|
1433
|
-
/** Global styling for header, paragraph, block quote, and code block nodes in the object. */
|
|
1434
|
-
documentStyle?: DocumentStyle;
|
|
1435
|
-
}
|
|
1436
|
-
interface Node extends NodeDataOneOf {
|
|
1437
|
-
/** Data for a button node. */
|
|
1438
|
-
buttonData?: ButtonData;
|
|
1439
|
-
/** Data for a code block node. */
|
|
1440
|
-
codeBlockData?: CodeBlockData;
|
|
1441
|
-
/** Data for a divider node. */
|
|
1442
|
-
dividerData?: DividerData;
|
|
1443
|
-
/** Data for a file node. */
|
|
1444
|
-
fileData?: FileData;
|
|
1445
|
-
/** Data for a gallery node. */
|
|
1446
|
-
galleryData?: GalleryData;
|
|
1447
|
-
/** Data for a GIF node. */
|
|
1448
|
-
gifData?: GIFData;
|
|
1449
|
-
/** Data for a heading node. */
|
|
1450
|
-
headingData?: HeadingData;
|
|
1451
|
-
/** Data for an embedded HTML node. */
|
|
1452
|
-
htmlData?: HTMLData;
|
|
1453
|
-
/** Data for an image node. */
|
|
1454
|
-
imageData?: ImageData;
|
|
1455
|
-
/** Data for a link preview node. */
|
|
1456
|
-
linkPreviewData?: LinkPreviewData;
|
|
1457
|
-
/** @deprecated */
|
|
1458
|
-
mapData?: MapData;
|
|
1459
|
-
/** Data for a paragraph node. */
|
|
1460
|
-
paragraphData?: ParagraphData;
|
|
1461
|
-
/** Data for a poll node. */
|
|
1462
|
-
pollData?: PollData;
|
|
1463
|
-
/** Data for a text node. Used to apply decorations to text. */
|
|
1464
|
-
textData?: TextData;
|
|
1465
|
-
/** Data for an app embed node. */
|
|
1466
|
-
appEmbedData?: AppEmbedData;
|
|
1467
|
-
/** Data for a video node. */
|
|
1468
|
-
videoData?: VideoData;
|
|
1469
|
-
/** Data for an oEmbed node. */
|
|
1470
|
-
embedData?: EmbedData;
|
|
1471
|
-
/** Data for a collapsible list node. */
|
|
1472
|
-
collapsibleListData?: CollapsibleListData;
|
|
1473
|
-
/** Data for a table node. */
|
|
1474
|
-
tableData?: TableData;
|
|
1475
|
-
/** Data for a table cell node. */
|
|
1476
|
-
tableCellData?: TableCellData;
|
|
1477
|
-
/** Data for a custom external node. */
|
|
1478
|
-
externalData?: Record<string, any> | null;
|
|
1479
|
-
/** Data for an audio node. */
|
|
1480
|
-
audioData?: AudioData;
|
|
1481
|
-
/** Data for an ordered list node. */
|
|
1482
|
-
orderedListData?: OrderedListData;
|
|
1483
|
-
/** Data for a bulleted list node. */
|
|
1484
|
-
bulletedListData?: BulletedListData;
|
|
1485
|
-
/** Data for a block quote node. */
|
|
1486
|
-
blockquoteData?: BlockquoteData;
|
|
1487
|
-
/** Data for a caption node. */
|
|
1488
|
-
captionData?: CaptionData;
|
|
1489
|
-
/** Data for a layout node. Reserved for future use. */
|
|
1490
|
-
layoutData?: LayoutData;
|
|
1491
|
-
/** Data for a cell node. */
|
|
1492
|
-
layoutCellData?: LayoutCellData;
|
|
1493
|
-
/** 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. */
|
|
1494
|
-
type?: NodeTypeWithLiterals;
|
|
1495
|
-
/** Node ID. */
|
|
1496
|
-
id?: string;
|
|
1497
|
-
/** A list of child nodes. */
|
|
1498
|
-
nodes?: Node[];
|
|
1499
|
-
/** Padding and background color styling for the node. */
|
|
1500
|
-
style?: NodeStyle;
|
|
1501
|
-
}
|
|
1502
|
-
/** @oneof */
|
|
1503
|
-
interface NodeDataOneOf {
|
|
1504
|
-
/** Data for a button node. */
|
|
1505
|
-
buttonData?: ButtonData;
|
|
1506
|
-
/** Data for a code block node. */
|
|
1507
|
-
codeBlockData?: CodeBlockData;
|
|
1508
|
-
/** Data for a divider node. */
|
|
1509
|
-
dividerData?: DividerData;
|
|
1510
|
-
/** Data for a file node. */
|
|
1511
|
-
fileData?: FileData;
|
|
1512
|
-
/** Data for a gallery node. */
|
|
1513
|
-
galleryData?: GalleryData;
|
|
1514
|
-
/** Data for a GIF node. */
|
|
1515
|
-
gifData?: GIFData;
|
|
1516
|
-
/** Data for a heading node. */
|
|
1517
|
-
headingData?: HeadingData;
|
|
1518
|
-
/** Data for an embedded HTML node. */
|
|
1519
|
-
htmlData?: HTMLData;
|
|
1520
|
-
/** Data for an image node. */
|
|
1521
|
-
imageData?: ImageData;
|
|
1522
|
-
/** Data for a link preview node. */
|
|
1523
|
-
linkPreviewData?: LinkPreviewData;
|
|
1524
|
-
/** @deprecated */
|
|
1525
|
-
mapData?: MapData;
|
|
1526
|
-
/** Data for a paragraph node. */
|
|
1527
|
-
paragraphData?: ParagraphData;
|
|
1528
|
-
/** Data for a poll node. */
|
|
1529
|
-
pollData?: PollData;
|
|
1530
|
-
/** Data for a text node. Used to apply decorations to text. */
|
|
1531
|
-
textData?: TextData;
|
|
1532
|
-
/** Data for an app embed node. */
|
|
1533
|
-
appEmbedData?: AppEmbedData;
|
|
1534
|
-
/** Data for a video node. */
|
|
1535
|
-
videoData?: VideoData;
|
|
1536
|
-
/** Data for an oEmbed node. */
|
|
1537
|
-
embedData?: EmbedData;
|
|
1538
|
-
/** Data for a collapsible list node. */
|
|
1539
|
-
collapsibleListData?: CollapsibleListData;
|
|
1540
|
-
/** Data for a table node. */
|
|
1541
|
-
tableData?: TableData;
|
|
1542
|
-
/** Data for a table cell node. */
|
|
1543
|
-
tableCellData?: TableCellData;
|
|
1544
|
-
/** Data for a custom external node. */
|
|
1545
|
-
externalData?: Record<string, any> | null;
|
|
1546
|
-
/** Data for an audio node. */
|
|
1547
|
-
audioData?: AudioData;
|
|
1548
|
-
/** Data for an ordered list node. */
|
|
1549
|
-
orderedListData?: OrderedListData;
|
|
1550
|
-
/** Data for a bulleted list node. */
|
|
1551
|
-
bulletedListData?: BulletedListData;
|
|
1552
|
-
/** Data for a block quote node. */
|
|
1553
|
-
blockquoteData?: BlockquoteData;
|
|
1554
|
-
/** Data for a caption node. */
|
|
1555
|
-
captionData?: CaptionData;
|
|
1556
|
-
/** Data for a layout node. Reserved for future use. */
|
|
1557
|
-
layoutData?: LayoutData;
|
|
1558
|
-
/** Data for a cell node. */
|
|
1559
|
-
layoutCellData?: LayoutCellData;
|
|
1560
|
-
}
|
|
1561
|
-
declare enum NodeType {
|
|
1562
|
-
PARAGRAPH = "PARAGRAPH",
|
|
1563
|
-
TEXT = "TEXT",
|
|
1564
|
-
HEADING = "HEADING",
|
|
1565
|
-
BULLETED_LIST = "BULLETED_LIST",
|
|
1566
|
-
ORDERED_LIST = "ORDERED_LIST",
|
|
1567
|
-
LIST_ITEM = "LIST_ITEM",
|
|
1568
|
-
BLOCKQUOTE = "BLOCKQUOTE",
|
|
1569
|
-
CODE_BLOCK = "CODE_BLOCK",
|
|
1570
|
-
VIDEO = "VIDEO",
|
|
1571
|
-
DIVIDER = "DIVIDER",
|
|
1572
|
-
FILE = "FILE",
|
|
1573
|
-
GALLERY = "GALLERY",
|
|
1574
|
-
GIF = "GIF",
|
|
1575
|
-
HTML = "HTML",
|
|
1576
|
-
IMAGE = "IMAGE",
|
|
1577
|
-
LINK_PREVIEW = "LINK_PREVIEW",
|
|
1578
|
-
/** @deprecated */
|
|
1579
|
-
MAP = "MAP",
|
|
1580
|
-
POLL = "POLL",
|
|
1581
|
-
APP_EMBED = "APP_EMBED",
|
|
1582
|
-
BUTTON = "BUTTON",
|
|
1583
|
-
COLLAPSIBLE_LIST = "COLLAPSIBLE_LIST",
|
|
1584
|
-
TABLE = "TABLE",
|
|
1585
|
-
EMBED = "EMBED",
|
|
1586
|
-
COLLAPSIBLE_ITEM = "COLLAPSIBLE_ITEM",
|
|
1587
|
-
COLLAPSIBLE_ITEM_TITLE = "COLLAPSIBLE_ITEM_TITLE",
|
|
1588
|
-
COLLAPSIBLE_ITEM_BODY = "COLLAPSIBLE_ITEM_BODY",
|
|
1589
|
-
TABLE_CELL = "TABLE_CELL",
|
|
1590
|
-
TABLE_ROW = "TABLE_ROW",
|
|
1591
|
-
EXTERNAL = "EXTERNAL",
|
|
1592
|
-
AUDIO = "AUDIO",
|
|
1593
|
-
CAPTION = "CAPTION",
|
|
1594
|
-
LAYOUT = "LAYOUT",
|
|
1595
|
-
LAYOUT_CELL = "LAYOUT_CELL"
|
|
1596
|
-
}
|
|
1597
|
-
/** @enumType */
|
|
1598
|
-
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';
|
|
1599
|
-
interface NodeStyle {
|
|
1600
|
-
/** The top padding value in pixels. */
|
|
1601
|
-
paddingTop?: string | null;
|
|
1602
|
-
/** The bottom padding value in pixels. */
|
|
1603
|
-
paddingBottom?: string | null;
|
|
1604
|
-
/** The background color as a hexadecimal value. */
|
|
1605
|
-
backgroundColor?: string | null;
|
|
1606
|
-
}
|
|
1607
|
-
interface ButtonData {
|
|
1608
|
-
/** Styling for the button's container. */
|
|
1609
|
-
containerData?: PluginContainerData;
|
|
1610
|
-
/** The button type. */
|
|
1611
|
-
type?: ButtonDataTypeWithLiterals;
|
|
1612
|
-
/** Styling for the button. */
|
|
1613
|
-
styles?: Styles;
|
|
1614
|
-
/** The text to display on the button. */
|
|
1615
|
-
text?: string | null;
|
|
1616
|
-
/** Button link details. */
|
|
1617
|
-
link?: V1Link;
|
|
1618
|
-
}
|
|
1619
|
-
interface Border {
|
|
1620
|
-
/**
|
|
1621
|
-
* Deprecated: Use `borderWidth` in `styles` instead.
|
|
1622
|
-
* @deprecated
|
|
1623
|
-
*/
|
|
1624
|
-
width?: number | null;
|
|
1625
|
-
/**
|
|
1626
|
-
* Deprecated: Use `borderRadius` in `styles` instead.
|
|
1627
|
-
* @deprecated
|
|
1628
|
-
*/
|
|
1629
|
-
radius?: number | null;
|
|
1630
|
-
}
|
|
1631
|
-
interface Colors {
|
|
1632
|
-
/**
|
|
1633
|
-
* Deprecated: Use `textColor` in `styles` instead.
|
|
1634
|
-
* @deprecated
|
|
1635
|
-
*/
|
|
1636
|
-
text?: string | null;
|
|
1637
|
-
/**
|
|
1638
|
-
* Deprecated: Use `borderColor` in `styles` instead.
|
|
1639
|
-
* @deprecated
|
|
1640
|
-
*/
|
|
1641
|
-
border?: string | null;
|
|
1642
|
-
/**
|
|
1643
|
-
* Deprecated: Use `backgroundColor` in `styles` instead.
|
|
1644
|
-
* @deprecated
|
|
1645
|
-
*/
|
|
1646
|
-
background?: string | null;
|
|
1647
|
-
}
|
|
1648
|
-
interface PluginContainerData {
|
|
1649
|
-
/** The width of the node when it's displayed. */
|
|
1650
|
-
width?: PluginContainerDataWidth;
|
|
1651
|
-
/** The node's alignment within its container. */
|
|
1652
|
-
alignment?: PluginContainerDataAlignmentWithLiterals;
|
|
1653
|
-
/** Spoiler cover settings for the node. */
|
|
1654
|
-
spoiler?: Spoiler;
|
|
1655
|
-
/** The height of the node when it's displayed. */
|
|
1656
|
-
height?: Height;
|
|
1657
|
-
/** 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`. */
|
|
1658
|
-
textWrap?: boolean | null;
|
|
1659
|
-
}
|
|
1660
|
-
declare enum WidthType {
|
|
1661
|
-
/** Width matches the content width */
|
|
1662
|
-
CONTENT = "CONTENT",
|
|
1663
|
-
/** Small Width */
|
|
1664
|
-
SMALL = "SMALL",
|
|
1665
|
-
/** Width will match the original asset width */
|
|
1666
|
-
ORIGINAL = "ORIGINAL",
|
|
1667
|
-
/** coast-to-coast display */
|
|
1668
|
-
FULL_WIDTH = "FULL_WIDTH"
|
|
1669
|
-
}
|
|
1670
|
-
/** @enumType */
|
|
1671
|
-
type WidthTypeWithLiterals = WidthType | 'CONTENT' | 'SMALL' | 'ORIGINAL' | 'FULL_WIDTH';
|
|
1672
|
-
interface PluginContainerDataWidth extends PluginContainerDataWidthDataOneOf {
|
|
1673
|
-
/**
|
|
1674
|
-
* One of the following predefined width options:
|
|
1675
|
-
* `CONTENT`: The width of the container matches the content width.
|
|
1676
|
-
* `SMALL`: A small width.
|
|
1677
|
-
* `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.
|
|
1678
|
-
* `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.
|
|
1679
|
-
*/
|
|
1680
|
-
size?: WidthTypeWithLiterals;
|
|
1681
|
-
/** A custom width value in pixels. */
|
|
1682
|
-
custom?: string | null;
|
|
1683
|
-
}
|
|
1684
|
-
/** @oneof */
|
|
1685
|
-
interface PluginContainerDataWidthDataOneOf {
|
|
1686
|
-
/**
|
|
1687
|
-
* One of the following predefined width options:
|
|
1688
|
-
* `CONTENT`: The width of the container matches the content width.
|
|
1689
|
-
* `SMALL`: A small width.
|
|
1690
|
-
* `ORIGINAL`: For `imageData` containers only. The width of the container matches the original image width.
|
|
1691
|
-
* `FULL_WIDTH`: For `imageData` containers only. The image container takes up the full width of the screen.
|
|
1692
|
-
*/
|
|
1693
|
-
size?: WidthTypeWithLiterals;
|
|
1694
|
-
/** A custom width value in pixels. */
|
|
1695
|
-
custom?: string | null;
|
|
1696
|
-
}
|
|
1697
|
-
declare enum PluginContainerDataAlignment {
|
|
1698
|
-
/** Center Alignment */
|
|
1699
|
-
CENTER = "CENTER",
|
|
1700
|
-
/** Left Alignment */
|
|
1701
|
-
LEFT = "LEFT",
|
|
1702
|
-
/** Right Alignment */
|
|
1703
|
-
RIGHT = "RIGHT"
|
|
1704
|
-
}
|
|
1705
|
-
/** @enumType */
|
|
1706
|
-
type PluginContainerDataAlignmentWithLiterals = PluginContainerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
|
|
1707
|
-
interface Spoiler {
|
|
1708
|
-
/** Sets whether the spoiler cover is enabled for this node. Defaults to `false`. */
|
|
1709
|
-
enabled?: boolean | null;
|
|
1710
|
-
/** The description displayed on top of the spoiler cover. */
|
|
1711
|
-
description?: string | null;
|
|
1712
|
-
/** The text for the button used to remove the spoiler cover. */
|
|
1713
|
-
buttonText?: string | null;
|
|
1714
|
-
}
|
|
1715
|
-
interface Height {
|
|
1716
|
-
/** A custom height value in pixels. */
|
|
1717
|
-
custom?: string | null;
|
|
1718
|
-
}
|
|
1719
|
-
declare enum ButtonDataType {
|
|
1720
|
-
/** Regular link button */
|
|
1721
|
-
LINK = "LINK",
|
|
1722
|
-
/** Triggers custom action that is defined in plugin configuration by the consumer */
|
|
1723
|
-
ACTION = "ACTION"
|
|
1724
|
-
}
|
|
1725
|
-
/** @enumType */
|
|
1726
|
-
type ButtonDataTypeWithLiterals = ButtonDataType | 'LINK' | 'ACTION';
|
|
1727
|
-
interface Styles {
|
|
1728
|
-
/**
|
|
1729
|
-
* Deprecated: Use `borderWidth` and `borderRadius` instead.
|
|
1730
|
-
* @deprecated
|
|
1731
|
-
*/
|
|
1732
|
-
border?: Border;
|
|
1733
|
-
/**
|
|
1734
|
-
* Deprecated: Use `textColor`, `borderColor` and `backgroundColor` instead.
|
|
1735
|
-
* @deprecated
|
|
1736
|
-
*/
|
|
1737
|
-
colors?: Colors;
|
|
1738
|
-
/** Border width in pixels. */
|
|
1739
|
-
borderWidth?: number | null;
|
|
1740
|
-
/**
|
|
1741
|
-
* Deprecated: Use `borderWidth` for normal/hover states instead.
|
|
1742
|
-
* @deprecated
|
|
1743
|
-
*/
|
|
1744
|
-
borderWidthHover?: number | null;
|
|
1745
|
-
/** Border radius in pixels. */
|
|
1746
|
-
borderRadius?: number | null;
|
|
1747
|
-
/**
|
|
1748
|
-
* Border color as a hexadecimal value.
|
|
1749
|
-
* @format COLOR_HEX
|
|
1750
|
-
*/
|
|
1751
|
-
borderColor?: string | null;
|
|
1752
|
-
/**
|
|
1753
|
-
* Border color as a hexadecimal value (hover state).
|
|
1754
|
-
* @format COLOR_HEX
|
|
1755
|
-
*/
|
|
1756
|
-
borderColorHover?: string | null;
|
|
1757
|
-
/**
|
|
1758
|
-
* Text color as a hexadecimal value.
|
|
1759
|
-
* @format COLOR_HEX
|
|
1760
|
-
*/
|
|
1761
|
-
textColor?: string | null;
|
|
1762
|
-
/**
|
|
1763
|
-
* Text color as a hexadecimal value (hover state).
|
|
1764
|
-
* @format COLOR_HEX
|
|
1765
|
-
*/
|
|
1766
|
-
textColorHover?: string | null;
|
|
1767
|
-
/**
|
|
1768
|
-
* Background color as a hexadecimal value.
|
|
1769
|
-
* @format COLOR_HEX
|
|
1770
|
-
*/
|
|
1771
|
-
backgroundColor?: string | null;
|
|
1772
|
-
/**
|
|
1773
|
-
* Background color as a hexadecimal value (hover state).
|
|
1774
|
-
* @format COLOR_HEX
|
|
1775
|
-
*/
|
|
1776
|
-
backgroundColorHover?: string | null;
|
|
1777
|
-
/** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
|
|
1778
|
-
buttonSize?: string | null;
|
|
1779
|
-
}
|
|
1780
|
-
interface V1Link extends V1LinkDataOneOf {
|
|
1781
|
-
/** The absolute URL for the linked document. */
|
|
1782
|
-
url?: string;
|
|
1783
|
-
/** The target node's ID. Used for linking to another node in this object. */
|
|
1784
|
-
anchor?: string;
|
|
1785
|
-
/**
|
|
1786
|
-
* he HTML `target` attribute value for the link. This property defines where the linked document opens as follows:
|
|
1787
|
-
* `SELF` - Default. Opens the linked document in the same frame as the link.
|
|
1788
|
-
* `BLANK` - Opens the linked document in a new browser tab or window.
|
|
1789
|
-
* `PARENT` - Opens the linked document in the link's parent frame.
|
|
1790
|
-
* `TOP` - Opens the linked document in the full body of the link's browser tab or window.
|
|
1791
|
-
*/
|
|
1792
|
-
target?: TargetWithLiterals;
|
|
1793
|
-
/** The HTML `rel` attribute value for the link. This object specifies the relationship between the current document and the linked document. */
|
|
1794
|
-
rel?: Rel;
|
|
1795
|
-
/** A serialized object used for a custom or external link panel. */
|
|
1796
|
-
customData?: string | null;
|
|
1797
|
-
}
|
|
1798
|
-
/** @oneof */
|
|
1799
|
-
interface V1LinkDataOneOf {
|
|
1800
|
-
/** The absolute URL for the linked document. */
|
|
1801
|
-
url?: string;
|
|
1802
|
-
/** The target node's ID. Used for linking to another node in this object. */
|
|
1803
|
-
anchor?: string;
|
|
1804
|
-
}
|
|
1805
|
-
declare enum Target {
|
|
1806
|
-
/** Opens the linked document in the same frame as it was clicked (this is default) */
|
|
1807
|
-
SELF = "SELF",
|
|
1808
|
-
/** Opens the linked document in a new window or tab */
|
|
1809
|
-
BLANK = "BLANK",
|
|
1810
|
-
/** Opens the linked document in the parent frame */
|
|
1811
|
-
PARENT = "PARENT",
|
|
1812
|
-
/** Opens the linked document in the full body of the window */
|
|
1813
|
-
TOP = "TOP"
|
|
1814
|
-
}
|
|
1815
|
-
/** @enumType */
|
|
1816
|
-
type TargetWithLiterals = Target | 'SELF' | 'BLANK' | 'PARENT' | 'TOP';
|
|
1817
|
-
interface Rel {
|
|
1818
|
-
/** Indicates to search engine crawlers not to follow the link. Defaults to `false`. */
|
|
1819
|
-
nofollow?: boolean | null;
|
|
1820
|
-
/** Indicates to search engine crawlers that the link is a paid placement such as sponsored content or an advertisement. Defaults to `false`. */
|
|
1821
|
-
sponsored?: boolean | null;
|
|
1822
|
-
/** 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`. */
|
|
1823
|
-
ugc?: boolean | null;
|
|
1824
|
-
/** Indicates that this link protect referral information from being passed to the target website. */
|
|
1825
|
-
noreferrer?: boolean | null;
|
|
1826
|
-
}
|
|
1827
|
-
interface CodeBlockData {
|
|
1828
|
-
/** Styling for the code block's text. */
|
|
1829
|
-
textStyle?: TextStyle;
|
|
1830
|
-
}
|
|
1831
|
-
interface TextStyle {
|
|
1832
|
-
/** Text alignment. Defaults to `AUTO`. */
|
|
1833
|
-
textAlignment?: TextAlignmentWithLiterals;
|
|
1834
|
-
/** 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. */
|
|
1835
|
-
lineHeight?: string | null;
|
|
1836
|
-
}
|
|
1837
|
-
declare enum TextAlignment {
|
|
1838
|
-
/** browser default, eqivalent to `initial` */
|
|
1839
|
-
AUTO = "AUTO",
|
|
1840
|
-
/** Left align */
|
|
1841
|
-
LEFT = "LEFT",
|
|
1842
|
-
/** Right align */
|
|
1843
|
-
RIGHT = "RIGHT",
|
|
1844
|
-
/** Center align */
|
|
1845
|
-
CENTER = "CENTER",
|
|
1846
|
-
/** 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 */
|
|
1847
|
-
JUSTIFY = "JUSTIFY"
|
|
1848
|
-
}
|
|
1849
|
-
/** @enumType */
|
|
1850
|
-
type TextAlignmentWithLiterals = TextAlignment | 'AUTO' | 'LEFT' | 'RIGHT' | 'CENTER' | 'JUSTIFY';
|
|
1851
|
-
interface DividerData {
|
|
1852
|
-
/** Styling for the divider's container. */
|
|
1853
|
-
containerData?: PluginContainerData;
|
|
1854
|
-
/** Divider line style. */
|
|
1855
|
-
lineStyle?: LineStyleWithLiterals;
|
|
1856
|
-
/** Divider width. */
|
|
1857
|
-
width?: WidthWithLiterals;
|
|
1858
|
-
/** Divider alignment. */
|
|
1859
|
-
alignment?: DividerDataAlignmentWithLiterals;
|
|
1860
|
-
}
|
|
1861
|
-
declare enum LineStyle {
|
|
1862
|
-
/** Single Line */
|
|
1863
|
-
SINGLE = "SINGLE",
|
|
1864
|
-
/** Double Line */
|
|
1865
|
-
DOUBLE = "DOUBLE",
|
|
1866
|
-
/** Dashed Line */
|
|
1867
|
-
DASHED = "DASHED",
|
|
1868
|
-
/** Dotted Line */
|
|
1869
|
-
DOTTED = "DOTTED"
|
|
1870
|
-
}
|
|
1871
|
-
/** @enumType */
|
|
1872
|
-
type LineStyleWithLiterals = LineStyle | 'SINGLE' | 'DOUBLE' | 'DASHED' | 'DOTTED';
|
|
1873
|
-
declare enum Width {
|
|
1874
|
-
/** Large line */
|
|
1875
|
-
LARGE = "LARGE",
|
|
1876
|
-
/** Medium line */
|
|
1877
|
-
MEDIUM = "MEDIUM",
|
|
1878
|
-
/** Small line */
|
|
1879
|
-
SMALL = "SMALL"
|
|
1880
|
-
}
|
|
1881
|
-
/** @enumType */
|
|
1882
|
-
type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';
|
|
1883
|
-
declare enum DividerDataAlignment {
|
|
1884
|
-
/** Center alignment */
|
|
1885
|
-
CENTER = "CENTER",
|
|
1886
|
-
/** Left alignment */
|
|
1887
|
-
LEFT = "LEFT",
|
|
1888
|
-
/** Right alignment */
|
|
1889
|
-
RIGHT = "RIGHT"
|
|
1890
|
-
}
|
|
1891
|
-
/** @enumType */
|
|
1892
|
-
type DividerDataAlignmentWithLiterals = DividerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
|
|
1893
|
-
interface FileData {
|
|
1894
|
-
/** Styling for the file's container. */
|
|
1895
|
-
containerData?: PluginContainerData;
|
|
1896
|
-
/** The source for the file's data. */
|
|
1897
|
-
src?: FileSource;
|
|
1898
|
-
/** File name. */
|
|
1899
|
-
name?: string | null;
|
|
1900
|
-
/** File type. */
|
|
1901
|
-
type?: string | null;
|
|
1902
|
-
/**
|
|
1903
|
-
* Use `sizeInKb` instead.
|
|
1904
|
-
* @deprecated
|
|
1905
|
-
*/
|
|
1906
|
-
size?: number | null;
|
|
1907
|
-
/** Settings for PDF files. */
|
|
1908
|
-
pdfSettings?: PDFSettings;
|
|
1909
|
-
/** File MIME type. */
|
|
1910
|
-
mimeType?: string | null;
|
|
1911
|
-
/** File path. */
|
|
1912
|
-
path?: string | null;
|
|
1913
|
-
/** File size in KB. */
|
|
1914
|
-
sizeInKb?: string | null;
|
|
1915
|
-
}
|
|
1916
|
-
declare enum ViewMode {
|
|
1917
|
-
/** No PDF view */
|
|
1918
|
-
NONE = "NONE",
|
|
1919
|
-
/** Full PDF view */
|
|
1920
|
-
FULL = "FULL",
|
|
1921
|
-
/** Mini PDF view */
|
|
1922
|
-
MINI = "MINI"
|
|
1923
|
-
}
|
|
1924
|
-
/** @enumType */
|
|
1925
|
-
type ViewModeWithLiterals = ViewMode | 'NONE' | 'FULL' | 'MINI';
|
|
1926
|
-
interface FileSource extends FileSourceDataOneOf {
|
|
1927
|
-
/** The absolute URL for the file's source. */
|
|
1928
|
-
url?: string | null;
|
|
1929
|
-
/**
|
|
1930
|
-
* Custom ID. Use `id` instead.
|
|
1931
|
-
* @deprecated
|
|
1932
|
-
*/
|
|
1933
|
-
custom?: string | null;
|
|
1934
|
-
/** An ID that's resolved to a URL by a resolver function. */
|
|
1935
|
-
id?: string | null;
|
|
1936
|
-
/** Indicates whether the file's source is private. Defaults to `false`. */
|
|
1937
|
-
private?: boolean | null;
|
|
1938
|
-
}
|
|
1939
|
-
/** @oneof */
|
|
1940
|
-
interface FileSourceDataOneOf {
|
|
1941
|
-
/** The absolute URL for the file's source. */
|
|
1942
|
-
url?: string | null;
|
|
1943
|
-
/**
|
|
1944
|
-
* Custom ID. Use `id` instead.
|
|
1945
|
-
* @deprecated
|
|
1946
|
-
*/
|
|
1947
|
-
custom?: string | null;
|
|
1948
|
-
/** An ID that's resolved to a URL by a resolver function. */
|
|
1949
|
-
id?: string | null;
|
|
1950
|
-
}
|
|
1951
|
-
interface PDFSettings {
|
|
1952
|
-
/**
|
|
1953
|
-
* PDF view mode. One of the following:
|
|
1954
|
-
* `NONE` : The PDF isn't displayed.
|
|
1955
|
-
* `FULL` : A full page view of the PDF is displayed.
|
|
1956
|
-
* `MINI` : A mini view of the PDF is displayed.
|
|
1957
|
-
*/
|
|
1958
|
-
viewMode?: ViewModeWithLiterals;
|
|
1959
|
-
/** Sets whether the PDF download button is disabled. Defaults to `false`. */
|
|
1960
|
-
disableDownload?: boolean | null;
|
|
1961
|
-
/** Sets whether the PDF print button is disabled. Defaults to `false`. */
|
|
1962
|
-
disablePrint?: boolean | null;
|
|
1963
|
-
}
|
|
1964
|
-
interface GalleryData {
|
|
1965
|
-
/** Styling for the gallery's container. */
|
|
1966
|
-
containerData?: PluginContainerData;
|
|
1967
|
-
/** The items in the gallery. */
|
|
1968
|
-
items?: GalleryDataItem[];
|
|
1969
|
-
/** Options for defining the gallery's appearance. */
|
|
1970
|
-
options?: GalleryOptions;
|
|
1971
|
-
/** Sets whether the gallery's expand button is disabled. Defaults to `false`. */
|
|
1972
|
-
disableExpand?: boolean | null;
|
|
1973
|
-
/** Sets whether the gallery's download button is disabled. Defaults to `false`. */
|
|
1974
|
-
disableDownload?: boolean | null;
|
|
1975
|
-
}
|
|
1976
|
-
interface Media {
|
|
1977
|
-
/** The source for the media's data. */
|
|
1978
|
-
src?: FileSource;
|
|
1979
|
-
/** Media width in pixels. */
|
|
1980
|
-
width?: number | null;
|
|
1981
|
-
/** Media height in pixels. */
|
|
1982
|
-
height?: number | null;
|
|
1983
|
-
/** Media duration in seconds. Only relevant for audio and video files. */
|
|
1984
|
-
duration?: number | null;
|
|
1985
|
-
}
|
|
1986
|
-
interface ItemImage {
|
|
1987
|
-
/** Image file details. */
|
|
1988
|
-
media?: Media;
|
|
1989
|
-
/** Link details for images that are links. */
|
|
1990
|
-
link?: V1Link;
|
|
1991
|
-
}
|
|
1992
|
-
interface Video {
|
|
1993
|
-
/** Video file details. */
|
|
1994
|
-
media?: Media;
|
|
1995
|
-
/** Video thumbnail file details. */
|
|
1996
|
-
thumbnail?: Media;
|
|
1997
|
-
}
|
|
1998
|
-
interface GalleryDataItem extends GalleryDataItemDataOneOf {
|
|
1999
|
-
/** An image item. */
|
|
2000
|
-
image?: ItemImage;
|
|
2001
|
-
/** A video item. */
|
|
2002
|
-
video?: Video;
|
|
2003
|
-
/** Item title. */
|
|
2004
|
-
title?: string | null;
|
|
2005
|
-
/** Item's alternative text. */
|
|
2006
|
-
altText?: string | null;
|
|
2007
|
-
}
|
|
2008
|
-
/** @oneof */
|
|
2009
|
-
interface GalleryDataItemDataOneOf {
|
|
2010
|
-
/** An image item. */
|
|
2011
|
-
image?: ItemImage;
|
|
2012
|
-
/** A video item. */
|
|
2013
|
-
video?: Video;
|
|
2014
|
-
}
|
|
2015
|
-
interface GalleryOptions {
|
|
2016
|
-
/** Gallery layout. */
|
|
2017
|
-
layout?: GalleryOptionsLayout;
|
|
2018
|
-
/** Styling for gallery items. */
|
|
2019
|
-
item?: ItemStyle;
|
|
2020
|
-
/** Styling for gallery thumbnail images. */
|
|
2021
|
-
thumbnails?: Thumbnails;
|
|
2022
|
-
}
|
|
2023
|
-
declare enum LayoutType {
|
|
2024
|
-
/** Collage type */
|
|
2025
|
-
COLLAGE = "COLLAGE",
|
|
2026
|
-
/** Masonry type */
|
|
2027
|
-
MASONRY = "MASONRY",
|
|
2028
|
-
/** Grid type */
|
|
2029
|
-
GRID = "GRID",
|
|
2030
|
-
/** Thumbnail type */
|
|
2031
|
-
THUMBNAIL = "THUMBNAIL",
|
|
2032
|
-
/** Slider type */
|
|
2033
|
-
SLIDER = "SLIDER",
|
|
2034
|
-
/** Slideshow type */
|
|
2035
|
-
SLIDESHOW = "SLIDESHOW",
|
|
2036
|
-
/** Panorama type */
|
|
2037
|
-
PANORAMA = "PANORAMA",
|
|
2038
|
-
/** Column type */
|
|
2039
|
-
COLUMN = "COLUMN",
|
|
2040
|
-
/** Magic type */
|
|
2041
|
-
MAGIC = "MAGIC",
|
|
2042
|
-
/** Fullsize images type */
|
|
2043
|
-
FULLSIZE = "FULLSIZE"
|
|
2044
|
-
}
|
|
2045
|
-
/** @enumType */
|
|
2046
|
-
type LayoutTypeWithLiterals = LayoutType | 'COLLAGE' | 'MASONRY' | 'GRID' | 'THUMBNAIL' | 'SLIDER' | 'SLIDESHOW' | 'PANORAMA' | 'COLUMN' | 'MAGIC' | 'FULLSIZE';
|
|
2047
|
-
declare enum Orientation {
|
|
2048
|
-
/** Rows Orientation */
|
|
2049
|
-
ROWS = "ROWS",
|
|
2050
|
-
/** Columns Orientation */
|
|
2051
|
-
COLUMNS = "COLUMNS"
|
|
2052
|
-
}
|
|
2053
|
-
/** @enumType */
|
|
2054
|
-
type OrientationWithLiterals = Orientation | 'ROWS' | 'COLUMNS';
|
|
2055
|
-
declare enum Crop {
|
|
2056
|
-
/** Crop to fill */
|
|
2057
|
-
FILL = "FILL",
|
|
2058
|
-
/** Crop to fit */
|
|
2059
|
-
FIT = "FIT"
|
|
2060
|
-
}
|
|
2061
|
-
/** @enumType */
|
|
2062
|
-
type CropWithLiterals = Crop | 'FILL' | 'FIT';
|
|
2063
|
-
declare enum ThumbnailsAlignment {
|
|
2064
|
-
/** Top alignment */
|
|
2065
|
-
TOP = "TOP",
|
|
2066
|
-
/** Right alignment */
|
|
2067
|
-
RIGHT = "RIGHT",
|
|
2068
|
-
/** Bottom alignment */
|
|
2069
|
-
BOTTOM = "BOTTOM",
|
|
2070
|
-
/** Left alignment */
|
|
2071
|
-
LEFT = "LEFT",
|
|
2072
|
-
/** No thumbnail */
|
|
2073
|
-
NONE = "NONE"
|
|
2074
|
-
}
|
|
2075
|
-
/** @enumType */
|
|
2076
|
-
type ThumbnailsAlignmentWithLiterals = ThumbnailsAlignment | 'TOP' | 'RIGHT' | 'BOTTOM' | 'LEFT' | 'NONE';
|
|
2077
|
-
interface GalleryOptionsLayout {
|
|
2078
|
-
/** Gallery layout type. */
|
|
2079
|
-
type?: LayoutTypeWithLiterals;
|
|
2080
|
-
/** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
|
|
2081
|
-
horizontalScroll?: boolean | null;
|
|
2082
|
-
/** Gallery orientation. */
|
|
2083
|
-
orientation?: OrientationWithLiterals;
|
|
2084
|
-
/** The number of columns to display on full size screens. */
|
|
2085
|
-
numberOfColumns?: number | null;
|
|
2086
|
-
/** The number of columns to display on mobile screens. */
|
|
2087
|
-
mobileNumberOfColumns?: number | null;
|
|
2088
|
-
}
|
|
2089
|
-
interface ItemStyle {
|
|
2090
|
-
/** Desirable dimension for each item in pixels (behvaior changes according to gallery type) */
|
|
2091
|
-
targetSize?: number | null;
|
|
2092
|
-
/** Item ratio */
|
|
2093
|
-
ratio?: number | null;
|
|
2094
|
-
/** Sets how item images are cropped. */
|
|
2095
|
-
crop?: CropWithLiterals;
|
|
2096
|
-
/** The spacing between items in pixels. */
|
|
2097
|
-
spacing?: number | null;
|
|
2098
|
-
}
|
|
2099
|
-
interface Thumbnails {
|
|
2100
|
-
/** Thumbnail alignment. */
|
|
2101
|
-
placement?: ThumbnailsAlignmentWithLiterals;
|
|
2102
|
-
/** Spacing between thumbnails in pixels. */
|
|
2103
|
-
spacing?: number | null;
|
|
2104
|
-
}
|
|
2105
|
-
interface GIFData {
|
|
2106
|
-
/** Styling for the GIF's container. */
|
|
2107
|
-
containerData?: PluginContainerData;
|
|
2108
|
-
/** The source of the full size GIF. */
|
|
2109
|
-
original?: GIF;
|
|
2110
|
-
/** The source of the downsized GIF. */
|
|
2111
|
-
downsized?: GIF;
|
|
2112
|
-
/** Height in pixels. */
|
|
2113
|
-
height?: number;
|
|
2114
|
-
/** Width in pixels. */
|
|
2115
|
-
width?: number;
|
|
2116
|
-
/** Type of GIF (Sticker or NORMAL). Defaults to `NORMAL`. */
|
|
2117
|
-
gifType?: GIFTypeWithLiterals;
|
|
2118
|
-
}
|
|
2119
|
-
interface GIF {
|
|
2120
|
-
/**
|
|
2121
|
-
* GIF format URL.
|
|
2122
|
-
* @format WEB_URL
|
|
2123
|
-
*/
|
|
2124
|
-
gif?: string | null;
|
|
2125
|
-
/**
|
|
2126
|
-
* MP4 format URL.
|
|
2127
|
-
* @format WEB_URL
|
|
2128
|
-
*/
|
|
2129
|
-
mp4?: string | null;
|
|
2130
|
-
/**
|
|
2131
|
-
* Thumbnail URL.
|
|
2132
|
-
* @format WEB_URL
|
|
2133
|
-
*/
|
|
2134
|
-
still?: string | null;
|
|
2135
|
-
}
|
|
2136
|
-
declare enum GIFType {
|
|
2137
|
-
NORMAL = "NORMAL",
|
|
2138
|
-
STICKER = "STICKER"
|
|
2139
|
-
}
|
|
2140
|
-
/** @enumType */
|
|
2141
|
-
type GIFTypeWithLiterals = GIFType | 'NORMAL' | 'STICKER';
|
|
2142
|
-
interface HeadingData {
|
|
2143
|
-
/** Heading level from 1-6. */
|
|
2144
|
-
level?: number;
|
|
2145
|
-
/** Styling for the heading text. */
|
|
2146
|
-
textStyle?: TextStyle;
|
|
2147
|
-
/** Indentation level from 1-4. */
|
|
2148
|
-
indentation?: number | null;
|
|
2149
|
-
}
|
|
2150
|
-
interface HTMLData extends HTMLDataDataOneOf {
|
|
2151
|
-
/** The URL for the HTML code for the node. */
|
|
2152
|
-
url?: string;
|
|
2153
|
-
/** The HTML code for the node. */
|
|
2154
|
-
html?: string;
|
|
2155
|
-
/**
|
|
2156
|
-
* Whether this is an AdSense element. Use `source` instead.
|
|
2157
|
-
* @deprecated
|
|
2158
|
-
*/
|
|
2159
|
-
isAdsense?: boolean | null;
|
|
2160
|
-
/** Styling for the HTML node's container. Height property is irrelevant for HTML embeds when autoHeight is set to `true`. */
|
|
2161
|
-
containerData?: PluginContainerData;
|
|
2162
|
-
/** The type of HTML code. */
|
|
2163
|
-
source?: SourceWithLiterals;
|
|
2164
|
-
/** If container height is aligned with its content height. Defaults to `true`. */
|
|
2165
|
-
autoHeight?: boolean | null;
|
|
2166
|
-
}
|
|
2167
|
-
/** @oneof */
|
|
2168
|
-
interface HTMLDataDataOneOf {
|
|
2169
|
-
/** The URL for the HTML code for the node. */
|
|
2170
|
-
url?: string;
|
|
2171
|
-
/** The HTML code for the node. */
|
|
2172
|
-
html?: string;
|
|
2173
|
-
/**
|
|
2174
|
-
* Whether this is an AdSense element. Use `source` instead.
|
|
2175
|
-
* @deprecated
|
|
2176
|
-
*/
|
|
2177
|
-
isAdsense?: boolean | null;
|
|
2178
|
-
}
|
|
2179
|
-
declare enum Source {
|
|
2180
|
-
HTML = "HTML",
|
|
2181
|
-
ADSENSE = "ADSENSE",
|
|
2182
|
-
AI = "AI"
|
|
2183
|
-
}
|
|
2184
|
-
/** @enumType */
|
|
2185
|
-
type SourceWithLiterals = Source | 'HTML' | 'ADSENSE' | 'AI';
|
|
2186
|
-
interface ImageData {
|
|
2187
|
-
/** Styling for the image's container. */
|
|
2188
|
-
containerData?: PluginContainerData;
|
|
2189
|
-
/** Image file details. */
|
|
2190
|
-
image?: Media;
|
|
2191
|
-
/** Link details for images that are links. */
|
|
2192
|
-
link?: V1Link;
|
|
2193
|
-
/** Sets whether the image expands to full screen when clicked. Defaults to `false`. */
|
|
2194
|
-
disableExpand?: boolean | null;
|
|
2195
|
-
/** Image's alternative text. */
|
|
2196
|
-
altText?: string | null;
|
|
2197
|
-
/**
|
|
2198
|
-
* Deprecated: use Caption node instead.
|
|
2199
|
-
* @deprecated
|
|
2200
|
-
*/
|
|
2201
|
-
caption?: string | null;
|
|
2202
|
-
/** Sets whether the image's download button is disabled. Defaults to `false`. */
|
|
2203
|
-
disableDownload?: boolean | null;
|
|
2204
|
-
/** Sets whether the image is decorative and does not need an explanation. Defaults to `false`. */
|
|
2205
|
-
decorative?: boolean | null;
|
|
2206
|
-
/** Styling for the image. */
|
|
2207
|
-
styles?: ImageDataStyles;
|
|
2208
|
-
}
|
|
2209
|
-
interface StylesBorder {
|
|
2210
|
-
/** Border width in pixels. */
|
|
2211
|
-
width?: number | null;
|
|
2212
|
-
/**
|
|
2213
|
-
* Border color as a hexadecimal value.
|
|
2214
|
-
* @format COLOR_HEX
|
|
2215
|
-
*/
|
|
2216
|
-
color?: string | null;
|
|
2217
|
-
/** Border radius in pixels. */
|
|
2218
|
-
radius?: number | null;
|
|
2219
|
-
}
|
|
2220
|
-
interface ImageDataStyles {
|
|
2221
|
-
/** Border attributes. */
|
|
2222
|
-
border?: StylesBorder;
|
|
2223
|
-
}
|
|
2224
|
-
interface LinkPreviewData {
|
|
2225
|
-
/** Styling for the link preview's container. */
|
|
2226
|
-
containerData?: PluginContainerData;
|
|
2227
|
-
/** Link details. */
|
|
2228
|
-
link?: V1Link;
|
|
2229
|
-
/** Preview title. */
|
|
2230
|
-
title?: string | null;
|
|
2231
|
-
/** Preview thumbnail URL. */
|
|
2232
|
-
thumbnailUrl?: string | null;
|
|
2233
|
-
/** Preview description. */
|
|
2234
|
-
description?: string | null;
|
|
2235
|
-
/** The preview content as HTML. */
|
|
2236
|
-
html?: string | null;
|
|
2237
|
-
/** Styling for the link preview. */
|
|
2238
|
-
styles?: LinkPreviewDataStyles;
|
|
2239
|
-
}
|
|
2240
|
-
declare enum StylesPosition {
|
|
2241
|
-
/** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
|
|
2242
|
-
START = "START",
|
|
2243
|
-
/** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */
|
|
2244
|
-
END = "END",
|
|
2245
|
-
/** Thumbnail positioned at the top */
|
|
2246
|
-
TOP = "TOP",
|
|
2247
|
-
/** Thumbnail hidden and not displayed */
|
|
2248
|
-
HIDDEN = "HIDDEN"
|
|
2249
|
-
}
|
|
2250
|
-
/** @enumType */
|
|
2251
|
-
type StylesPositionWithLiterals = StylesPosition | 'START' | 'END' | 'TOP' | 'HIDDEN';
|
|
2252
|
-
interface LinkPreviewDataStyles {
|
|
2253
|
-
/**
|
|
2254
|
-
* Background color as a hexadecimal value.
|
|
2255
|
-
* @format COLOR_HEX
|
|
2256
|
-
*/
|
|
2257
|
-
backgroundColor?: string | null;
|
|
2258
|
-
/**
|
|
2259
|
-
* Title color as a hexadecimal value.
|
|
2260
|
-
* @format COLOR_HEX
|
|
2261
|
-
*/
|
|
2262
|
-
titleColor?: string | null;
|
|
2263
|
-
/**
|
|
2264
|
-
* Subtitle color as a hexadecimal value.
|
|
2265
|
-
* @format COLOR_HEX
|
|
2266
|
-
*/
|
|
2267
|
-
subtitleColor?: string | null;
|
|
2268
|
-
/**
|
|
2269
|
-
* Link color as a hexadecimal value.
|
|
2270
|
-
* @format COLOR_HEX
|
|
2271
|
-
*/
|
|
2272
|
-
linkColor?: string | null;
|
|
2273
|
-
/** Border width in pixels. */
|
|
2274
|
-
borderWidth?: number | null;
|
|
2275
|
-
/** Border radius in pixels. */
|
|
2276
|
-
borderRadius?: number | null;
|
|
2277
|
-
/**
|
|
2278
|
-
* Border color as a hexadecimal value.
|
|
2279
|
-
* @format COLOR_HEX
|
|
2280
|
-
*/
|
|
2281
|
-
borderColor?: string | null;
|
|
2282
|
-
/** Position of thumbnail. Defaults to `START`. */
|
|
2283
|
-
thumbnailPosition?: StylesPositionWithLiterals;
|
|
2284
|
-
}
|
|
2285
|
-
interface MapData {
|
|
2286
|
-
/** Styling for the map's container. */
|
|
2287
|
-
containerData?: PluginContainerData;
|
|
2288
|
-
/** Map settings. */
|
|
2289
|
-
mapSettings?: MapSettings;
|
|
2290
|
-
}
|
|
2291
|
-
interface MapSettings {
|
|
2292
|
-
/** The address to display on the map. */
|
|
2293
|
-
address?: string | null;
|
|
2294
|
-
/** Sets whether the map is draggable. */
|
|
2295
|
-
draggable?: boolean | null;
|
|
2296
|
-
/** Sets whether the location marker is visible. */
|
|
2297
|
-
marker?: boolean | null;
|
|
2298
|
-
/** Sets whether street view control is enabled. */
|
|
2299
|
-
streetViewControl?: boolean | null;
|
|
2300
|
-
/** Sets whether zoom control is enabled. */
|
|
2301
|
-
zoomControl?: boolean | null;
|
|
2302
|
-
/** Location latitude. */
|
|
2303
|
-
lat?: number | null;
|
|
2304
|
-
/** Location longitude. */
|
|
2305
|
-
lng?: number | null;
|
|
2306
|
-
/** Location name. */
|
|
2307
|
-
locationName?: string | null;
|
|
2308
|
-
/** Sets whether view mode control is enabled. */
|
|
2309
|
-
viewModeControl?: boolean | null;
|
|
2310
|
-
/** Initial zoom value. */
|
|
2311
|
-
initialZoom?: number | null;
|
|
2312
|
-
/** Map type. `HYBRID` is a combination of the `ROADMAP` and `SATELLITE` map types. */
|
|
2313
|
-
mapType?: MapTypeWithLiterals;
|
|
2314
|
-
}
|
|
2315
|
-
declare enum MapType {
|
|
2316
|
-
/** Roadmap map type */
|
|
2317
|
-
ROADMAP = "ROADMAP",
|
|
2318
|
-
/** Satellite map type */
|
|
2319
|
-
SATELITE = "SATELITE",
|
|
2320
|
-
/** Hybrid map type */
|
|
2321
|
-
HYBRID = "HYBRID",
|
|
2322
|
-
/** Terrain map type */
|
|
2323
|
-
TERRAIN = "TERRAIN"
|
|
2324
|
-
}
|
|
2325
|
-
/** @enumType */
|
|
2326
|
-
type MapTypeWithLiterals = MapType | 'ROADMAP' | 'SATELITE' | 'HYBRID' | 'TERRAIN';
|
|
2327
|
-
interface ParagraphData {
|
|
2328
|
-
/** Styling for the paragraph text. */
|
|
2329
|
-
textStyle?: TextStyle;
|
|
2330
|
-
/** Indentation level from 1-4. */
|
|
2331
|
-
indentation?: number | null;
|
|
2332
|
-
/** Paragraph level */
|
|
2333
|
-
level?: number | null;
|
|
2334
|
-
}
|
|
2335
|
-
interface PollData {
|
|
2336
|
-
/** Styling for the poll's container. */
|
|
2337
|
-
containerData?: PluginContainerData;
|
|
2338
|
-
/** Poll data. */
|
|
2339
|
-
poll?: Poll;
|
|
2340
|
-
/** Layout settings for the poll and voting options. */
|
|
2341
|
-
layout?: PollDataLayout;
|
|
2342
|
-
/** Styling for the poll and voting options. */
|
|
2343
|
-
design?: Design;
|
|
2344
|
-
}
|
|
2345
|
-
declare enum ViewRole {
|
|
2346
|
-
/** Only Poll creator can view the results */
|
|
2347
|
-
CREATOR = "CREATOR",
|
|
2348
|
-
/** Anyone who voted can see the results */
|
|
2349
|
-
VOTERS = "VOTERS",
|
|
2350
|
-
/** Anyone can see the results, even if one didn't vote */
|
|
2351
|
-
EVERYONE = "EVERYONE"
|
|
2352
|
-
}
|
|
2353
|
-
/** @enumType */
|
|
2354
|
-
type ViewRoleWithLiterals = ViewRole | 'CREATOR' | 'VOTERS' | 'EVERYONE';
|
|
2355
|
-
declare enum VoteRole {
|
|
2356
|
-
/** Logged in member */
|
|
2357
|
-
SITE_MEMBERS = "SITE_MEMBERS",
|
|
2358
|
-
/** Anyone */
|
|
2359
|
-
ALL = "ALL"
|
|
2360
|
-
}
|
|
2361
|
-
/** @enumType */
|
|
2362
|
-
type VoteRoleWithLiterals = VoteRole | 'SITE_MEMBERS' | 'ALL';
|
|
2363
|
-
interface Permissions {
|
|
2364
|
-
/** Sets who can view the poll results. */
|
|
2365
|
-
view?: ViewRoleWithLiterals;
|
|
2366
|
-
/** Sets who can vote. */
|
|
2367
|
-
vote?: VoteRoleWithLiterals;
|
|
2368
|
-
/** Sets whether one voter can vote multiple times. Defaults to `false`. */
|
|
2369
|
-
allowMultipleVotes?: boolean | null;
|
|
2370
|
-
}
|
|
2371
|
-
interface Option {
|
|
2372
|
-
/** Option ID. */
|
|
2373
|
-
id?: string | null;
|
|
2374
|
-
/** Option title. */
|
|
2375
|
-
title?: string | null;
|
|
2376
|
-
/** The image displayed with the option. */
|
|
2377
|
-
image?: Media;
|
|
2378
|
-
}
|
|
2379
|
-
interface PollSettings {
|
|
2380
|
-
/** Permissions settings for voting. */
|
|
2381
|
-
permissions?: Permissions;
|
|
2382
|
-
/** Sets whether voters are displayed in the vote results. Defaults to `true`. */
|
|
2383
|
-
showVoters?: boolean | null;
|
|
2384
|
-
/** Sets whether the vote count is displayed. Defaults to `true`. */
|
|
2385
|
-
showVotesCount?: boolean | null;
|
|
2386
|
-
}
|
|
2387
|
-
declare enum PollLayoutType {
|
|
2388
|
-
/** List */
|
|
2389
|
-
LIST = "LIST",
|
|
2390
|
-
/** Grid */
|
|
2391
|
-
GRID = "GRID"
|
|
2392
|
-
}
|
|
2393
|
-
/** @enumType */
|
|
2394
|
-
type PollLayoutTypeWithLiterals = PollLayoutType | 'LIST' | 'GRID';
|
|
2395
|
-
declare enum PollLayoutDirection {
|
|
2396
|
-
/** Left-to-right */
|
|
2397
|
-
LTR = "LTR",
|
|
2398
|
-
/** Right-to-left */
|
|
2399
|
-
RTL = "RTL"
|
|
2400
|
-
}
|
|
2401
|
-
/** @enumType */
|
|
2402
|
-
type PollLayoutDirectionWithLiterals = PollLayoutDirection | 'LTR' | 'RTL';
|
|
2403
|
-
interface PollLayout {
|
|
2404
|
-
/** The layout for displaying the voting options. */
|
|
2405
|
-
type?: PollLayoutTypeWithLiterals;
|
|
2406
|
-
/** The direction of the text displayed in the voting options. Text can be displayed either right-to-left or left-to-right. */
|
|
2407
|
-
direction?: PollLayoutDirectionWithLiterals;
|
|
2408
|
-
/** Sets whether to display the main poll image. Defaults to `false`. */
|
|
2409
|
-
enableImage?: boolean | null;
|
|
2410
|
-
}
|
|
2411
|
-
interface OptionLayout {
|
|
2412
|
-
/** Sets whether to display option images. Defaults to `false`. */
|
|
2413
|
-
enableImage?: boolean | null;
|
|
2414
|
-
}
|
|
2415
|
-
declare enum BackgroundType {
|
|
2416
|
-
/** Color background type */
|
|
2417
|
-
COLOR = "COLOR",
|
|
2418
|
-
/** Image background type */
|
|
2419
|
-
IMAGE = "IMAGE",
|
|
2420
|
-
/** Gradiant background type */
|
|
2421
|
-
GRADIENT = "GRADIENT"
|
|
2422
|
-
}
|
|
2423
|
-
/** @enumType */
|
|
2424
|
-
type BackgroundTypeWithLiterals = BackgroundType | 'COLOR' | 'IMAGE' | 'GRADIENT';
|
|
2425
|
-
interface Gradient {
|
|
2426
|
-
/** The gradient angle in degrees. */
|
|
2427
|
-
angle?: number | null;
|
|
2428
|
-
/**
|
|
2429
|
-
* The start color as a hexademical value.
|
|
2430
|
-
* @format COLOR_HEX
|
|
2431
|
-
*/
|
|
2432
|
-
startColor?: string | null;
|
|
470
|
+
/** ID of the entity associated with the event. */
|
|
471
|
+
entityId?: string;
|
|
472
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
473
|
+
eventTime?: Date | null;
|
|
2433
474
|
/**
|
|
2434
|
-
*
|
|
2435
|
-
*
|
|
475
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
476
|
+
* (for example, GDPR).
|
|
2436
477
|
*/
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
/**
|
|
2441
|
-
* The background color as a hexademical value.
|
|
2442
|
-
* @format COLOR_HEX
|
|
2443
|
-
*/
|
|
2444
|
-
color?: string | null;
|
|
2445
|
-
/** An image to use for the background. */
|
|
2446
|
-
image?: Media;
|
|
2447
|
-
/** Details for a gradient background. */
|
|
2448
|
-
gradient?: Gradient;
|
|
2449
|
-
/** Background type. For each option, include the relevant details. */
|
|
2450
|
-
type?: BackgroundTypeWithLiterals;
|
|
2451
|
-
}
|
|
2452
|
-
/** @oneof */
|
|
2453
|
-
interface BackgroundBackgroundOneOf {
|
|
478
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
479
|
+
/** If present, indicates the action that triggered the event. */
|
|
480
|
+
originatedFrom?: string | null;
|
|
2454
481
|
/**
|
|
2455
|
-
*
|
|
2456
|
-
*
|
|
482
|
+
* 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.
|
|
483
|
+
* 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.
|
|
2457
484
|
*/
|
|
2458
|
-
|
|
2459
|
-
/** An image to use for the background. */
|
|
2460
|
-
image?: Media;
|
|
2461
|
-
/** Details for a gradient background. */
|
|
2462
|
-
gradient?: Gradient;
|
|
2463
|
-
}
|
|
2464
|
-
interface PollDesign {
|
|
2465
|
-
/** Background styling. */
|
|
2466
|
-
background?: Background;
|
|
2467
|
-
/** Border radius in pixels. */
|
|
2468
|
-
borderRadius?: number | null;
|
|
2469
|
-
}
|
|
2470
|
-
interface OptionDesign {
|
|
2471
|
-
/** Border radius in pixels. */
|
|
2472
|
-
borderRadius?: number | null;
|
|
2473
|
-
}
|
|
2474
|
-
interface Poll {
|
|
2475
|
-
/** Poll ID. */
|
|
2476
|
-
id?: string | null;
|
|
2477
|
-
/** Poll title. */
|
|
2478
|
-
title?: string | null;
|
|
2479
|
-
/** Poll creator ID. */
|
|
2480
|
-
creatorId?: string | null;
|
|
2481
|
-
/** Main poll image. */
|
|
2482
|
-
image?: Media;
|
|
2483
|
-
/** Voting options. */
|
|
2484
|
-
options?: Option[];
|
|
2485
|
-
/** The poll's permissions and display settings. */
|
|
2486
|
-
settings?: PollSettings;
|
|
2487
|
-
}
|
|
2488
|
-
interface PollDataLayout {
|
|
2489
|
-
/** Poll layout settings. */
|
|
2490
|
-
poll?: PollLayout;
|
|
2491
|
-
/** Voting otpions layout settings. */
|
|
2492
|
-
options?: OptionLayout;
|
|
2493
|
-
}
|
|
2494
|
-
interface Design {
|
|
2495
|
-
/** Styling for the poll. */
|
|
2496
|
-
poll?: PollDesign;
|
|
2497
|
-
/** Styling for voting options. */
|
|
2498
|
-
options?: OptionDesign;
|
|
2499
|
-
}
|
|
2500
|
-
interface TextData {
|
|
2501
|
-
/** The text to apply decorations to. */
|
|
2502
|
-
text?: string;
|
|
2503
|
-
/** The decorations to apply. */
|
|
2504
|
-
decorations?: Decoration[];
|
|
2505
|
-
}
|
|
2506
|
-
/** Adds appearence changes to text */
|
|
2507
|
-
interface Decoration extends DecorationDataOneOf {
|
|
2508
|
-
/** Data for an anchor link decoration. */
|
|
2509
|
-
anchorData?: AnchorData;
|
|
2510
|
-
/** Data for a color decoration. */
|
|
2511
|
-
colorData?: ColorData;
|
|
2512
|
-
/** Data for an external link decoration. */
|
|
2513
|
-
linkData?: LinkData;
|
|
2514
|
-
/** Data for a mention decoration. */
|
|
2515
|
-
mentionData?: MentionData;
|
|
2516
|
-
/** Data for a font size decoration. */
|
|
2517
|
-
fontSizeData?: FontSizeData;
|
|
2518
|
-
/** Font weight for a bold decoration. */
|
|
2519
|
-
fontWeightValue?: number | null;
|
|
2520
|
-
/** Data for an italic decoration. Defaults to `true`. */
|
|
2521
|
-
italicData?: boolean | null;
|
|
2522
|
-
/** Data for an underline decoration. Defaults to `true`. */
|
|
2523
|
-
underlineData?: boolean | null;
|
|
2524
|
-
/** Data for a spoiler decoration. */
|
|
2525
|
-
spoilerData?: SpoilerData;
|
|
2526
|
-
/** Data for a strikethrough decoration. Defaults to `true`. */
|
|
2527
|
-
strikethroughData?: boolean | null;
|
|
2528
|
-
/** Data for a superscript decoration. Defaults to `true`. */
|
|
2529
|
-
superscriptData?: boolean | null;
|
|
2530
|
-
/** Data for a subscript decoration. Defaults to `true`. */
|
|
2531
|
-
subscriptData?: boolean | null;
|
|
2532
|
-
/** Data for a font family decoration. */
|
|
2533
|
-
fontFamilyData?: FontFamilyData;
|
|
2534
|
-
/** The type of decoration to apply. */
|
|
2535
|
-
type?: DecorationTypeWithLiterals;
|
|
485
|
+
entityEventSequence?: string | null;
|
|
2536
486
|
}
|
|
2537
487
|
/** @oneof */
|
|
2538
|
-
interface
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
/** Data for an external link decoration. */
|
|
2544
|
-
linkData?: LinkData;
|
|
2545
|
-
/** Data for a mention decoration. */
|
|
2546
|
-
mentionData?: MentionData;
|
|
2547
|
-
/** Data for a font size decoration. */
|
|
2548
|
-
fontSizeData?: FontSizeData;
|
|
2549
|
-
/** Font weight for a bold decoration. */
|
|
2550
|
-
fontWeightValue?: number | null;
|
|
2551
|
-
/** Data for an italic decoration. Defaults to `true`. */
|
|
2552
|
-
italicData?: boolean | null;
|
|
2553
|
-
/** Data for an underline decoration. Defaults to `true`. */
|
|
2554
|
-
underlineData?: boolean | null;
|
|
2555
|
-
/** Data for a spoiler decoration. */
|
|
2556
|
-
spoilerData?: SpoilerData;
|
|
2557
|
-
/** Data for a strikethrough decoration. Defaults to `true`. */
|
|
2558
|
-
strikethroughData?: boolean | null;
|
|
2559
|
-
/** Data for a superscript decoration. Defaults to `true`. */
|
|
2560
|
-
superscriptData?: boolean | null;
|
|
2561
|
-
/** Data for a subscript decoration. Defaults to `true`. */
|
|
2562
|
-
subscriptData?: boolean | null;
|
|
2563
|
-
/** Data for a font family decoration. */
|
|
2564
|
-
fontFamilyData?: FontFamilyData;
|
|
2565
|
-
}
|
|
2566
|
-
declare enum DecorationType {
|
|
2567
|
-
BOLD = "BOLD",
|
|
2568
|
-
ITALIC = "ITALIC",
|
|
2569
|
-
UNDERLINE = "UNDERLINE",
|
|
2570
|
-
SPOILER = "SPOILER",
|
|
2571
|
-
ANCHOR = "ANCHOR",
|
|
2572
|
-
MENTION = "MENTION",
|
|
2573
|
-
LINK = "LINK",
|
|
2574
|
-
COLOR = "COLOR",
|
|
2575
|
-
FONT_SIZE = "FONT_SIZE",
|
|
2576
|
-
EXTERNAL = "EXTERNAL",
|
|
2577
|
-
STRIKETHROUGH = "STRIKETHROUGH",
|
|
2578
|
-
SUPERSCRIPT = "SUPERSCRIPT",
|
|
2579
|
-
SUBSCRIPT = "SUBSCRIPT",
|
|
2580
|
-
FONT_FAMILY = "FONT_FAMILY"
|
|
2581
|
-
}
|
|
2582
|
-
/** @enumType */
|
|
2583
|
-
type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH' | 'SUPERSCRIPT' | 'SUBSCRIPT' | 'FONT_FAMILY';
|
|
2584
|
-
interface AnchorData {
|
|
2585
|
-
/** The target node's ID. */
|
|
2586
|
-
anchor?: string;
|
|
2587
|
-
}
|
|
2588
|
-
interface ColorData {
|
|
2589
|
-
/** The text's background color as a hexadecimal value. */
|
|
2590
|
-
background?: string | null;
|
|
2591
|
-
/** The text's foreground color as a hexadecimal value. */
|
|
2592
|
-
foreground?: string | null;
|
|
2593
|
-
}
|
|
2594
|
-
interface LinkData {
|
|
2595
|
-
/** Link details. */
|
|
2596
|
-
link?: V1Link;
|
|
2597
|
-
}
|
|
2598
|
-
interface MentionData {
|
|
2599
|
-
/** The mentioned user's name. */
|
|
2600
|
-
name?: string;
|
|
2601
|
-
/** The version of the user's name that appears after the `@` character in the mention. */
|
|
2602
|
-
slug?: string;
|
|
2603
|
-
/** Mentioned user's ID. */
|
|
2604
|
-
id?: string | null;
|
|
2605
|
-
}
|
|
2606
|
-
interface FontSizeData {
|
|
2607
|
-
/** The units used for the font size. */
|
|
2608
|
-
unit?: FontTypeWithLiterals;
|
|
2609
|
-
/** Font size value. */
|
|
2610
|
-
value?: number | null;
|
|
2611
|
-
}
|
|
2612
|
-
declare enum FontType {
|
|
2613
|
-
PX = "PX",
|
|
2614
|
-
EM = "EM"
|
|
488
|
+
interface DomainEventBodyOneOf {
|
|
489
|
+
createdEvent?: EntityCreatedEvent;
|
|
490
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
491
|
+
deletedEvent?: EntityDeletedEvent;
|
|
492
|
+
actionEvent?: ActionEvent;
|
|
2615
493
|
}
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
id?: string | null;
|
|
494
|
+
interface EntityCreatedEvent {
|
|
495
|
+
entityAsJson?: string;
|
|
496
|
+
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
497
|
+
restoreInfo?: RestoreInfo;
|
|
2621
498
|
}
|
|
2622
|
-
interface
|
|
2623
|
-
|
|
2624
|
-
value?: string | null;
|
|
499
|
+
interface RestoreInfo {
|
|
500
|
+
deletedDate?: Date | null;
|
|
2625
501
|
}
|
|
2626
|
-
interface
|
|
2627
|
-
/** Data for embedded Wix Bookings content. */
|
|
2628
|
-
bookingData?: BookingData;
|
|
2629
|
-
/** Data for embedded Wix Events content. */
|
|
2630
|
-
eventData?: EventData;
|
|
2631
|
-
/** The type of Wix App content being embedded. */
|
|
2632
|
-
type?: AppTypeWithLiterals;
|
|
2633
|
-
/** The ID of the embedded content. */
|
|
2634
|
-
itemId?: string | null;
|
|
2635
|
-
/** The name of the embedded content. */
|
|
2636
|
-
name?: string | null;
|
|
502
|
+
interface EntityUpdatedEvent {
|
|
2637
503
|
/**
|
|
2638
|
-
*
|
|
2639
|
-
*
|
|
504
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
505
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
506
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
2640
507
|
*/
|
|
2641
|
-
|
|
2642
|
-
/** The URL for the embedded content. */
|
|
2643
|
-
url?: string | null;
|
|
2644
|
-
/** An image for the embedded content. */
|
|
2645
|
-
image?: Media;
|
|
2646
|
-
/** Whether to hide the image. */
|
|
2647
|
-
hideImage?: boolean | null;
|
|
2648
|
-
/** Whether to hide the title. */
|
|
2649
|
-
hideTitle?: boolean | null;
|
|
2650
|
-
/** Whether to hide the price. */
|
|
2651
|
-
hidePrice?: boolean | null;
|
|
2652
|
-
/** Whether to hide the description (Event and Booking). */
|
|
2653
|
-
hideDescription?: boolean | null;
|
|
2654
|
-
/** Whether to hide the date and time (Event). */
|
|
2655
|
-
hideDateTime?: boolean | null;
|
|
2656
|
-
/** Whether to hide the location (Event). */
|
|
2657
|
-
hideLocation?: boolean | null;
|
|
2658
|
-
/** Whether to hide the duration (Booking). */
|
|
2659
|
-
hideDuration?: boolean | null;
|
|
2660
|
-
/** Whether to hide the button. */
|
|
2661
|
-
hideButton?: boolean | null;
|
|
2662
|
-
/** Whether to hide the ribbon. */
|
|
2663
|
-
hideRibbon?: boolean | null;
|
|
2664
|
-
/** Button styling options. */
|
|
2665
|
-
buttonStyles?: ButtonStyles;
|
|
2666
|
-
/** Image styling options. */
|
|
2667
|
-
imageStyles?: ImageStyles;
|
|
2668
|
-
/** Ribbon styling options. */
|
|
2669
|
-
ribbonStyles?: RibbonStyles;
|
|
2670
|
-
/** Card styling options. */
|
|
2671
|
-
cardStyles?: CardStyles;
|
|
2672
|
-
/** Styling for the app embed's container. */
|
|
2673
|
-
containerData?: PluginContainerData;
|
|
2674
|
-
/** Pricing data for embedded Wix App content. */
|
|
2675
|
-
pricingData?: PricingData;
|
|
2676
|
-
}
|
|
2677
|
-
/** @oneof */
|
|
2678
|
-
interface AppEmbedDataAppDataOneOf {
|
|
2679
|
-
/** Data for embedded Wix Bookings content. */
|
|
2680
|
-
bookingData?: BookingData;
|
|
2681
|
-
/** Data for embedded Wix Events content. */
|
|
2682
|
-
eventData?: EventData;
|
|
2683
|
-
}
|
|
2684
|
-
declare enum Position {
|
|
2685
|
-
/** Image positioned at the start (left in LTR layouts, right in RTL layouts) */
|
|
2686
|
-
START = "START",
|
|
2687
|
-
/** Image positioned at the end (right in LTR layouts, left in RTL layouts) */
|
|
2688
|
-
END = "END",
|
|
2689
|
-
/** Image positioned at the top */
|
|
2690
|
-
TOP = "TOP"
|
|
2691
|
-
}
|
|
2692
|
-
/** @enumType */
|
|
2693
|
-
type PositionWithLiterals = Position | 'START' | 'END' | 'TOP';
|
|
2694
|
-
declare enum AspectRatio {
|
|
2695
|
-
/** 1:1 aspect ratio */
|
|
2696
|
-
SQUARE = "SQUARE",
|
|
2697
|
-
/** 16:9 aspect ratio */
|
|
2698
|
-
RECTANGLE = "RECTANGLE"
|
|
2699
|
-
}
|
|
2700
|
-
/** @enumType */
|
|
2701
|
-
type AspectRatioWithLiterals = AspectRatio | 'SQUARE' | 'RECTANGLE';
|
|
2702
|
-
declare enum Resizing {
|
|
2703
|
-
/** Fill the container, may crop the image */
|
|
2704
|
-
FILL = "FILL",
|
|
2705
|
-
/** Fit the image within the container */
|
|
2706
|
-
FIT = "FIT"
|
|
2707
|
-
}
|
|
2708
|
-
/** @enumType */
|
|
2709
|
-
type ResizingWithLiterals = Resizing | 'FILL' | 'FIT';
|
|
2710
|
-
declare enum Placement {
|
|
2711
|
-
/** Ribbon placed on the image */
|
|
2712
|
-
IMAGE = "IMAGE",
|
|
2713
|
-
/** Ribbon placed on the product information */
|
|
2714
|
-
PRODUCT_INFO = "PRODUCT_INFO"
|
|
2715
|
-
}
|
|
2716
|
-
/** @enumType */
|
|
2717
|
-
type PlacementWithLiterals = Placement | 'IMAGE' | 'PRODUCT_INFO';
|
|
2718
|
-
declare enum CardStylesType {
|
|
2719
|
-
/** Card with visible border and background */
|
|
2720
|
-
CONTAINED = "CONTAINED",
|
|
2721
|
-
/** Card without visible border */
|
|
2722
|
-
FRAMELESS = "FRAMELESS"
|
|
2723
|
-
}
|
|
2724
|
-
/** @enumType */
|
|
2725
|
-
type CardStylesTypeWithLiterals = CardStylesType | 'CONTAINED' | 'FRAMELESS';
|
|
2726
|
-
declare enum Alignment {
|
|
2727
|
-
/** Content aligned to start (left in LTR layouts, right in RTL layouts) */
|
|
2728
|
-
START = "START",
|
|
2729
|
-
/** Content centered */
|
|
2730
|
-
CENTER = "CENTER",
|
|
2731
|
-
/** Content aligned to end (right in LTR layouts, left in RTL layouts) */
|
|
2732
|
-
END = "END"
|
|
2733
|
-
}
|
|
2734
|
-
/** @enumType */
|
|
2735
|
-
type AlignmentWithLiterals = Alignment | 'START' | 'CENTER' | 'END';
|
|
2736
|
-
declare enum Layout {
|
|
2737
|
-
/** Elements stacked vertically */
|
|
2738
|
-
STACKED = "STACKED",
|
|
2739
|
-
/** Elements arranged horizontally */
|
|
2740
|
-
SIDE_BY_SIDE = "SIDE_BY_SIDE"
|
|
2741
|
-
}
|
|
2742
|
-
/** @enumType */
|
|
2743
|
-
type LayoutWithLiterals = Layout | 'STACKED' | 'SIDE_BY_SIDE';
|
|
2744
|
-
declare enum AppType {
|
|
2745
|
-
PRODUCT = "PRODUCT",
|
|
2746
|
-
EVENT = "EVENT",
|
|
2747
|
-
BOOKING = "BOOKING"
|
|
2748
|
-
}
|
|
2749
|
-
/** @enumType */
|
|
2750
|
-
type AppTypeWithLiterals = AppType | 'PRODUCT' | 'EVENT' | 'BOOKING';
|
|
2751
|
-
interface BookingData {
|
|
2752
|
-
/** Booking duration in minutes. */
|
|
2753
|
-
durations?: string | null;
|
|
2754
|
-
}
|
|
2755
|
-
interface EventData {
|
|
2756
|
-
/** Event schedule. */
|
|
2757
|
-
scheduling?: string | null;
|
|
2758
|
-
/** Event location. */
|
|
2759
|
-
location?: string | null;
|
|
508
|
+
currentEntityAsJson?: string;
|
|
2760
509
|
}
|
|
2761
|
-
interface
|
|
2762
|
-
/**
|
|
2763
|
-
|
|
2764
|
-
/** Border width in pixels. */
|
|
2765
|
-
borderWidth?: number | null;
|
|
2766
|
-
/** Border radius in pixels. */
|
|
2767
|
-
borderRadius?: number | null;
|
|
2768
|
-
/**
|
|
2769
|
-
* Border color as a hexadecimal value.
|
|
2770
|
-
* @format COLOR_HEX
|
|
2771
|
-
*/
|
|
2772
|
-
borderColor?: string | null;
|
|
2773
|
-
/**
|
|
2774
|
-
* Text color as a hexadecimal value.
|
|
2775
|
-
* @format COLOR_HEX
|
|
2776
|
-
*/
|
|
2777
|
-
textColor?: string | null;
|
|
2778
|
-
/**
|
|
2779
|
-
* Background color as a hexadecimal value.
|
|
2780
|
-
* @format COLOR_HEX
|
|
2781
|
-
*/
|
|
2782
|
-
backgroundColor?: string | null;
|
|
2783
|
-
/**
|
|
2784
|
-
* Border color as a hexadecimal value (hover state).
|
|
2785
|
-
* @format COLOR_HEX
|
|
2786
|
-
*/
|
|
2787
|
-
borderColorHover?: string | null;
|
|
2788
|
-
/**
|
|
2789
|
-
* Text color as a hexadecimal value (hover state).
|
|
2790
|
-
* @format COLOR_HEX
|
|
2791
|
-
*/
|
|
2792
|
-
textColorHover?: string | null;
|
|
2793
|
-
/**
|
|
2794
|
-
* Background color as a hexadecimal value (hover state).
|
|
2795
|
-
* @format COLOR_HEX
|
|
2796
|
-
*/
|
|
2797
|
-
backgroundColorHover?: string | null;
|
|
2798
|
-
/** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
|
|
2799
|
-
buttonSize?: string | null;
|
|
510
|
+
interface EntityDeletedEvent {
|
|
511
|
+
/** Entity that was deleted. */
|
|
512
|
+
deletedEntityAsJson?: string | null;
|
|
2800
513
|
}
|
|
2801
|
-
interface
|
|
2802
|
-
|
|
2803
|
-
hideImage?: boolean | null;
|
|
2804
|
-
/** Position of image. Defaults to `START`. */
|
|
2805
|
-
imagePosition?: PositionWithLiterals;
|
|
2806
|
-
/** Aspect ratio for the image. Defaults to `SQUARE`. */
|
|
2807
|
-
aspectRatio?: AspectRatioWithLiterals;
|
|
2808
|
-
/** How the image should be resized. Defaults to `FILL`. */
|
|
2809
|
-
resizing?: ResizingWithLiterals;
|
|
2810
|
-
/**
|
|
2811
|
-
* Image border color as a hexadecimal value.
|
|
2812
|
-
* @format COLOR_HEX
|
|
2813
|
-
*/
|
|
2814
|
-
borderColor?: string | null;
|
|
2815
|
-
/** Image border width in pixels. */
|
|
2816
|
-
borderWidth?: number | null;
|
|
2817
|
-
/** Image border radius in pixels. */
|
|
2818
|
-
borderRadius?: number | null;
|
|
514
|
+
interface ActionEvent {
|
|
515
|
+
bodyAsJson?: string;
|
|
2819
516
|
}
|
|
2820
|
-
interface
|
|
2821
|
-
/** Text to display on the ribbon. */
|
|
2822
|
-
ribbonText?: string | null;
|
|
2823
|
-
/**
|
|
2824
|
-
* Ribbon background color as a hexadecimal value.
|
|
2825
|
-
* @format COLOR_HEX
|
|
2826
|
-
*/
|
|
2827
|
-
backgroundColor?: string | null;
|
|
517
|
+
interface MessageEnvelope {
|
|
2828
518
|
/**
|
|
2829
|
-
*
|
|
2830
|
-
* @format
|
|
519
|
+
* App instance ID.
|
|
520
|
+
* @format GUID
|
|
2831
521
|
*/
|
|
2832
|
-
|
|
522
|
+
instanceId?: string | null;
|
|
2833
523
|
/**
|
|
2834
|
-
*
|
|
2835
|
-
* @
|
|
524
|
+
* Event type.
|
|
525
|
+
* @maxLength 150
|
|
2836
526
|
*/
|
|
2837
|
-
|
|
2838
|
-
/**
|
|
2839
|
-
|
|
2840
|
-
/**
|
|
2841
|
-
|
|
2842
|
-
/** Placement of the ribbon. Defaults to `IMAGE`. */
|
|
2843
|
-
ribbonPlacement?: PlacementWithLiterals;
|
|
527
|
+
eventType?: string;
|
|
528
|
+
/** The identification type and identity data. */
|
|
529
|
+
identity?: IdentificationData;
|
|
530
|
+
/** Stringify payload. */
|
|
531
|
+
data?: string;
|
|
2844
532
|
}
|
|
2845
|
-
interface
|
|
533
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
2846
534
|
/**
|
|
2847
|
-
*
|
|
2848
|
-
* @format
|
|
535
|
+
* ID of a site visitor that has not logged in to the site.
|
|
536
|
+
* @format GUID
|
|
2849
537
|
*/
|
|
2850
|
-
|
|
538
|
+
anonymousVisitorId?: string;
|
|
2851
539
|
/**
|
|
2852
|
-
*
|
|
2853
|
-
* @format
|
|
540
|
+
* ID of a site visitor that has logged in to the site.
|
|
541
|
+
* @format GUID
|
|
2854
542
|
*/
|
|
2855
|
-
|
|
2856
|
-
/** Card border width in pixels. */
|
|
2857
|
-
borderWidth?: number | null;
|
|
2858
|
-
/** Card border radius in pixels. */
|
|
2859
|
-
borderRadius?: number | null;
|
|
2860
|
-
/** Card type. Defaults to `CONTAINED`. */
|
|
2861
|
-
type?: CardStylesTypeWithLiterals;
|
|
2862
|
-
/** Content alignment. Defaults to `START`. */
|
|
2863
|
-
alignment?: AlignmentWithLiterals;
|
|
2864
|
-
/** Layout for title and price. Defaults to `STACKED`. */
|
|
2865
|
-
titlePriceLayout?: LayoutWithLiterals;
|
|
543
|
+
memberId?: string;
|
|
2866
544
|
/**
|
|
2867
|
-
*
|
|
2868
|
-
* @format
|
|
545
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
546
|
+
* @format GUID
|
|
2869
547
|
*/
|
|
2870
|
-
|
|
548
|
+
wixUserId?: string;
|
|
2871
549
|
/**
|
|
2872
|
-
*
|
|
2873
|
-
* @format
|
|
550
|
+
* ID of an app.
|
|
551
|
+
* @format GUID
|
|
2874
552
|
*/
|
|
2875
|
-
|
|
553
|
+
appId?: string;
|
|
554
|
+
/** @readonly */
|
|
555
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
2876
556
|
}
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
* Minimum numeric price value as string (e.g., "10.99").
|
|
2880
|
-
* @decimalValue options { maxScale:2 }
|
|
2881
|
-
*/
|
|
2882
|
-
valueFrom?: string | null;
|
|
557
|
+
/** @oneof */
|
|
558
|
+
interface IdentificationDataIdOneOf {
|
|
2883
559
|
/**
|
|
2884
|
-
*
|
|
2885
|
-
* @
|
|
560
|
+
* ID of a site visitor that has not logged in to the site.
|
|
561
|
+
* @format GUID
|
|
2886
562
|
*/
|
|
2887
|
-
|
|
563
|
+
anonymousVisitorId?: string;
|
|
2888
564
|
/**
|
|
2889
|
-
*
|
|
2890
|
-
* @
|
|
565
|
+
* ID of a site visitor that has logged in to the site.
|
|
566
|
+
* @format GUID
|
|
2891
567
|
*/
|
|
2892
|
-
|
|
568
|
+
memberId?: string;
|
|
2893
569
|
/**
|
|
2894
|
-
*
|
|
2895
|
-
* @format
|
|
570
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
571
|
+
* @format GUID
|
|
2896
572
|
*/
|
|
2897
|
-
|
|
573
|
+
wixUserId?: string;
|
|
2898
574
|
/**
|
|
2899
|
-
*
|
|
575
|
+
* ID of an app.
|
|
2900
576
|
* @format GUID
|
|
2901
577
|
*/
|
|
2902
|
-
|
|
2903
|
-
}
|
|
2904
|
-
interface VideoData {
|
|
2905
|
-
/** Styling for the video's container. */
|
|
2906
|
-
containerData?: PluginContainerData;
|
|
2907
|
-
/** Video details. */
|
|
2908
|
-
video?: Media;
|
|
2909
|
-
/** Video thumbnail details. */
|
|
2910
|
-
thumbnail?: Media;
|
|
2911
|
-
/** Sets whether the video's download button is disabled. Defaults to `false`. */
|
|
2912
|
-
disableDownload?: boolean | null;
|
|
2913
|
-
/** Video title. */
|
|
2914
|
-
title?: string | null;
|
|
2915
|
-
/** Video options. */
|
|
2916
|
-
options?: PlaybackOptions;
|
|
2917
|
-
}
|
|
2918
|
-
interface PlaybackOptions {
|
|
2919
|
-
/** Sets whether the media will automatically start playing. */
|
|
2920
|
-
autoPlay?: boolean | null;
|
|
2921
|
-
/** Sets whether media's will be looped. */
|
|
2922
|
-
playInLoop?: boolean | null;
|
|
2923
|
-
/** Sets whether media's controls will be shown. */
|
|
2924
|
-
showControls?: boolean | null;
|
|
2925
|
-
}
|
|
2926
|
-
interface EmbedData {
|
|
2927
|
-
/** Styling for the oEmbed node's container. */
|
|
2928
|
-
containerData?: PluginContainerData;
|
|
2929
|
-
/** An [oEmbed](https://www.oembed.com) object. */
|
|
2930
|
-
oembed?: Oembed;
|
|
2931
|
-
/** Origin asset source. */
|
|
2932
|
-
src?: string | null;
|
|
2933
|
-
}
|
|
2934
|
-
interface Oembed {
|
|
2935
|
-
/** The resource type. */
|
|
2936
|
-
type?: string | null;
|
|
2937
|
-
/** The width of the resource specified in the `url` property in pixels. */
|
|
2938
|
-
width?: number | null;
|
|
2939
|
-
/** The height of the resource specified in the `url` property in pixels. */
|
|
2940
|
-
height?: number | null;
|
|
2941
|
-
/** Resource title. */
|
|
2942
|
-
title?: string | null;
|
|
2943
|
-
/** The source URL for the resource. */
|
|
2944
|
-
url?: string | null;
|
|
2945
|
-
/** HTML for embedding a video player. The HTML should have no padding or margins. */
|
|
2946
|
-
html?: string | null;
|
|
2947
|
-
/** The name of the author or owner of the resource. */
|
|
2948
|
-
authorName?: string | null;
|
|
2949
|
-
/** The URL for the author or owner of the resource. */
|
|
2950
|
-
authorUrl?: string | null;
|
|
2951
|
-
/** The name of the resource provider. */
|
|
2952
|
-
providerName?: string | null;
|
|
2953
|
-
/** The URL for the resource provider. */
|
|
2954
|
-
providerUrl?: string | null;
|
|
2955
|
-
/** The URL for a thumbnail image for the resource. If this property is defined, `thumbnailWidth` and `thumbnailHeight` must also be defined. */
|
|
2956
|
-
thumbnailUrl?: string | null;
|
|
2957
|
-
/** The width of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailHeight` must also be defined. */
|
|
2958
|
-
thumbnailWidth?: string | null;
|
|
2959
|
-
/** The height of the resource's thumbnail image. If this property is defined, `thumbnailUrl` and `thumbnailWidth`must also be defined. */
|
|
2960
|
-
thumbnailHeight?: string | null;
|
|
2961
|
-
/** The URL for an embedded viedo. */
|
|
2962
|
-
videoUrl?: string | null;
|
|
2963
|
-
/** The oEmbed version number. This value must be `1.0`. */
|
|
2964
|
-
version?: string | null;
|
|
2965
|
-
}
|
|
2966
|
-
interface CollapsibleListData {
|
|
2967
|
-
/** Styling for the collapsible list's container. */
|
|
2968
|
-
containerData?: PluginContainerData;
|
|
2969
|
-
/** If `true`, only one item can be expanded at a time. Defaults to `false`. */
|
|
2970
|
-
expandOnlyOne?: boolean | null;
|
|
2971
|
-
/** Sets which items are expanded when the page loads. */
|
|
2972
|
-
initialExpandedItems?: InitialExpandedItemsWithLiterals;
|
|
2973
|
-
/** The direction of the text in the list. Either left-to-right or right-to-left. */
|
|
2974
|
-
direction?: DirectionWithLiterals;
|
|
2975
|
-
/** If `true`, The collapsible item will appear in search results as an FAQ. */
|
|
2976
|
-
isQapageData?: boolean | null;
|
|
2977
|
-
}
|
|
2978
|
-
declare enum InitialExpandedItems {
|
|
2979
|
-
/** First item will be expended initally */
|
|
2980
|
-
FIRST = "FIRST",
|
|
2981
|
-
/** All items will expended initally */
|
|
2982
|
-
ALL = "ALL",
|
|
2983
|
-
/** All items collapsed initally */
|
|
2984
|
-
NONE = "NONE"
|
|
578
|
+
appId?: string;
|
|
2985
579
|
}
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
RTL = "RTL"
|
|
580
|
+
declare enum WebhookIdentityType {
|
|
581
|
+
UNKNOWN = "UNKNOWN",
|
|
582
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
583
|
+
MEMBER = "MEMBER",
|
|
584
|
+
WIX_USER = "WIX_USER",
|
|
585
|
+
APP = "APP"
|
|
2993
586
|
}
|
|
2994
587
|
/** @enumType */
|
|
2995
|
-
type
|
|
2996
|
-
interface
|
|
2997
|
-
/**
|
|
2998
|
-
|
|
2999
|
-
/**
|
|
3000
|
-
|
|
3001
|
-
/**
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
columnHeader?: boolean | null;
|
|
3010
|
-
/** The spacing between cells in pixels. Defaults to `0`. */
|
|
3011
|
-
cellSpacing?: number | null;
|
|
3012
|
-
/**
|
|
3013
|
-
* Padding in pixels for cells. Follows CSS order: top, right, bottom, left.
|
|
3014
|
-
* @maxSize 4
|
|
3015
|
-
*/
|
|
3016
|
-
cellPadding?: number[];
|
|
588
|
+
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
589
|
+
interface TriggerNotificationRequest extends TriggerNotificationRequestNotificationOneOf, TriggerNotificationRequestGuestsOneOf {
|
|
590
|
+
/** Email notification type */
|
|
591
|
+
emailNotificationType?: EmailNotificationTypeWithLiterals;
|
|
592
|
+
/** Push notification type */
|
|
593
|
+
pushNotificationType?: PushNotificationTypeWithLiterals;
|
|
594
|
+
/** Rsvp guest info */
|
|
595
|
+
rsvpGuest?: RsvpGuest;
|
|
596
|
+
/** Order guest info */
|
|
597
|
+
orderGuest?: OrderGuest;
|
|
598
|
+
/** Event guests info */
|
|
599
|
+
eventGuests?: EventGuests;
|
|
600
|
+
/** Ticket guests info */
|
|
601
|
+
ticketGuest?: TicketGuest;
|
|
3017
602
|
}
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
colsMinWidth?: number[];
|
|
603
|
+
/** @oneof */
|
|
604
|
+
interface TriggerNotificationRequestNotificationOneOf {
|
|
605
|
+
/** Email notification type */
|
|
606
|
+
emailNotificationType?: EmailNotificationTypeWithLiterals;
|
|
607
|
+
/** Push notification type */
|
|
608
|
+
pushNotificationType?: PushNotificationTypeWithLiterals;
|
|
3025
609
|
}
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
borderWidths?: BorderWidths;
|
|
610
|
+
/** @oneof */
|
|
611
|
+
interface TriggerNotificationRequestGuestsOneOf {
|
|
612
|
+
/** Rsvp guest info */
|
|
613
|
+
rsvpGuest?: RsvpGuest;
|
|
614
|
+
/** Order guest info */
|
|
615
|
+
orderGuest?: OrderGuest;
|
|
616
|
+
/** Event guests info */
|
|
617
|
+
eventGuests?: EventGuests;
|
|
618
|
+
/** Ticket guests info */
|
|
619
|
+
ticketGuest?: TicketGuest;
|
|
3037
620
|
}
|
|
3038
|
-
declare enum
|
|
3039
|
-
/**
|
|
3040
|
-
|
|
3041
|
-
/**
|
|
3042
|
-
|
|
3043
|
-
/**
|
|
3044
|
-
|
|
621
|
+
declare enum PushNotificationType {
|
|
622
|
+
/** This is default value. This value is unused. */
|
|
623
|
+
UNKNOWN_PUSH_TYPE = "UNKNOWN_PUSH_TYPE",
|
|
624
|
+
/** Triggered when event is updated. */
|
|
625
|
+
PUSH_EVENT_UPDATED = "PUSH_EVENT_UPDATED",
|
|
626
|
+
/** Triggered when event is canceled. */
|
|
627
|
+
PUSH_EVENT_CANCELATION = "PUSH_EVENT_CANCELATION",
|
|
628
|
+
/** Triggered before the event start time. */
|
|
629
|
+
PUSH_UPCOMING_EVENT_REMINDER = "PUSH_UPCOMING_EVENT_REMINDER",
|
|
630
|
+
/** Triggered when event is created. */
|
|
631
|
+
PUSH_EVENT_CREATED = "PUSH_EVENT_CREATED"
|
|
3045
632
|
}
|
|
3046
633
|
/** @enumType */
|
|
3047
|
-
type
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
verticalAlignment?: VerticalAlignmentWithLiterals;
|
|
634
|
+
type PushNotificationTypeWithLiterals = PushNotificationType | 'UNKNOWN_PUSH_TYPE' | 'PUSH_EVENT_UPDATED' | 'PUSH_EVENT_CANCELATION' | 'PUSH_UPCOMING_EVENT_REMINDER' | 'PUSH_EVENT_CREATED';
|
|
635
|
+
/** Single guest associated to the RSVP */
|
|
636
|
+
interface RsvpGuest {
|
|
3051
637
|
/**
|
|
3052
|
-
*
|
|
3053
|
-
* @format
|
|
638
|
+
* Event id
|
|
639
|
+
* @format GUID
|
|
3054
640
|
*/
|
|
3055
|
-
|
|
3056
|
-
}
|
|
3057
|
-
interface BorderColors {
|
|
641
|
+
eventId?: string;
|
|
3058
642
|
/**
|
|
3059
|
-
*
|
|
3060
|
-
* @format
|
|
643
|
+
* Rsvp id
|
|
644
|
+
* @format GUID
|
|
3061
645
|
*/
|
|
3062
|
-
|
|
646
|
+
rsvpId?: string;
|
|
647
|
+
}
|
|
648
|
+
/** Single guest associated to the Order */
|
|
649
|
+
interface OrderGuest {
|
|
3063
650
|
/**
|
|
3064
|
-
*
|
|
3065
|
-
* @format
|
|
651
|
+
* Event id
|
|
652
|
+
* @format GUID
|
|
3066
653
|
*/
|
|
3067
|
-
|
|
654
|
+
eventId?: string;
|
|
3068
655
|
/**
|
|
3069
|
-
*
|
|
3070
|
-
* @
|
|
656
|
+
* Order number
|
|
657
|
+
* @maxLength 36
|
|
3071
658
|
*/
|
|
3072
|
-
|
|
659
|
+
orderNumber?: string;
|
|
660
|
+
}
|
|
661
|
+
/** All event guest from RSVPs and Orders */
|
|
662
|
+
interface EventGuests {
|
|
3073
663
|
/**
|
|
3074
|
-
*
|
|
3075
|
-
* @format
|
|
664
|
+
* Event id
|
|
665
|
+
* @format GUID
|
|
3076
666
|
*/
|
|
3077
|
-
|
|
3078
|
-
}
|
|
3079
|
-
interface BorderWidths {
|
|
3080
|
-
/** Left border width in pixels. */
|
|
3081
|
-
left?: number | null;
|
|
3082
|
-
/** Right border width in pixels. */
|
|
3083
|
-
right?: number | null;
|
|
3084
|
-
/** Top border width in pixels. */
|
|
3085
|
-
top?: number | null;
|
|
3086
|
-
/** Bottom border width in pixels. */
|
|
3087
|
-
bottom?: number | null;
|
|
3088
|
-
}
|
|
3089
|
-
/**
|
|
3090
|
-
* `NullValue` is a singleton enumeration to represent the null value for the
|
|
3091
|
-
* `Value` type union.
|
|
3092
|
-
*
|
|
3093
|
-
* The JSON representation for `NullValue` is JSON `null`.
|
|
3094
|
-
*/
|
|
3095
|
-
declare enum NullValue {
|
|
3096
|
-
/** Null value. */
|
|
3097
|
-
NULL_VALUE = "NULL_VALUE"
|
|
3098
|
-
}
|
|
3099
|
-
/** @enumType */
|
|
3100
|
-
type NullValueWithLiterals = NullValue | 'NULL_VALUE';
|
|
3101
|
-
/**
|
|
3102
|
-
* `ListValue` is a wrapper around a repeated field of values.
|
|
3103
|
-
*
|
|
3104
|
-
* The JSON representation for `ListValue` is JSON array.
|
|
3105
|
-
*/
|
|
3106
|
-
interface ListValue {
|
|
3107
|
-
/** Repeated field of dynamically typed values. */
|
|
3108
|
-
values?: any[];
|
|
3109
|
-
}
|
|
3110
|
-
interface AudioData {
|
|
3111
|
-
/** Styling for the audio node's container. */
|
|
3112
|
-
containerData?: PluginContainerData;
|
|
3113
|
-
/** Audio file details. */
|
|
3114
|
-
audio?: Media;
|
|
3115
|
-
/** Sets whether the audio node's download button is disabled. Defaults to `false`. */
|
|
3116
|
-
disableDownload?: boolean | null;
|
|
3117
|
-
/** Cover image. */
|
|
3118
|
-
coverImage?: Media;
|
|
3119
|
-
/** Track name. */
|
|
3120
|
-
name?: string | null;
|
|
3121
|
-
/** Author name. */
|
|
3122
|
-
authorName?: string | null;
|
|
3123
|
-
/** An HTML version of the audio node. */
|
|
3124
|
-
html?: string | null;
|
|
3125
|
-
}
|
|
3126
|
-
interface OrderedListData {
|
|
3127
|
-
/** Indentation level from 0-4. */
|
|
3128
|
-
indentation?: number;
|
|
3129
|
-
/** Offset level from 0-4. */
|
|
3130
|
-
offset?: number | null;
|
|
3131
|
-
/** List start number. */
|
|
3132
|
-
start?: number | null;
|
|
3133
|
-
}
|
|
3134
|
-
interface BulletedListData {
|
|
3135
|
-
/** Indentation level from 0-4. */
|
|
3136
|
-
indentation?: number;
|
|
3137
|
-
/** Offset level from 0-4. */
|
|
3138
|
-
offset?: number | null;
|
|
3139
|
-
}
|
|
3140
|
-
interface BlockquoteData {
|
|
3141
|
-
/** Indentation level from 1-4. */
|
|
3142
|
-
indentation?: number;
|
|
3143
|
-
}
|
|
3144
|
-
interface CaptionData {
|
|
3145
|
-
textStyle?: TextStyle;
|
|
3146
|
-
}
|
|
3147
|
-
interface LayoutData {
|
|
3148
|
-
/**
|
|
3149
|
-
* Background color as a hexadecimal value.
|
|
3150
|
-
* @format COLOR_HEX
|
|
3151
|
-
*/
|
|
3152
|
-
backgroundColor?: string | null;
|
|
3153
|
-
/** Background image. */
|
|
3154
|
-
backgroundImage?: BackgroundImage;
|
|
3155
|
-
/**
|
|
3156
|
-
* Border color as a hexadecimal value.
|
|
3157
|
-
* @format COLOR_HEX
|
|
3158
|
-
*/
|
|
3159
|
-
borderColor?: string | null;
|
|
3160
|
-
/** Border width in pixels. */
|
|
3161
|
-
borderWidth?: number | null;
|
|
3162
|
-
/** Border */
|
|
3163
|
-
borderRadius?: number | null;
|
|
3164
|
-
/**
|
|
3165
|
-
* Backdrop color as a hexadecimal value.
|
|
3166
|
-
* @format COLOR_HEX
|
|
3167
|
-
*/
|
|
3168
|
-
backdropColor?: string | null;
|
|
3169
|
-
/** Backdrop image.radius in pixels. */
|
|
3170
|
-
backdropImage?: BackgroundImage;
|
|
3171
|
-
/** Backdrop top padding. */
|
|
3172
|
-
backdropPaddingTop?: number | null;
|
|
3173
|
-
/** Backdrop bottom padding */
|
|
3174
|
-
backdropPaddingBottom?: number | null;
|
|
3175
|
-
/** Horizontal and vertical gap between columns */
|
|
3176
|
-
gap?: number | null;
|
|
3177
|
-
/**
|
|
3178
|
-
* Padding in pixels for cells. Follows CSS order: top, right, bottom, left
|
|
3179
|
-
* @maxSize 4
|
|
3180
|
-
*/
|
|
3181
|
-
cellPadding?: number[];
|
|
3182
|
-
/** Vertical alignment for the cell's items. */
|
|
3183
|
-
cellVerticalAlignment?: VerticalAlignmentAlignmentWithLiterals;
|
|
3184
|
-
/** Responsiveness behaviour of columns when responsiveness applies. Either stacks or wrappers. */
|
|
3185
|
-
responsivenessBehaviour?: ResponsivenessBehaviourWithLiterals;
|
|
3186
|
-
/** Size in pixels when responsiveness_behaviour applies */
|
|
3187
|
-
responsivenessBreakpoint?: number | null;
|
|
3188
|
-
/** Styling for the layout's container. */
|
|
3189
|
-
containerData?: PluginContainerData;
|
|
3190
|
-
}
|
|
3191
|
-
declare enum Scaling {
|
|
3192
|
-
/** Auto image scaling */
|
|
3193
|
-
AUTO = "AUTO",
|
|
3194
|
-
/** Contain image scaling */
|
|
3195
|
-
CONTAIN = "CONTAIN",
|
|
3196
|
-
/** Cover image scaling */
|
|
3197
|
-
COVER = "COVER"
|
|
3198
|
-
}
|
|
3199
|
-
/** @enumType */
|
|
3200
|
-
type ScalingWithLiterals = Scaling | 'AUTO' | 'CONTAIN' | 'COVER';
|
|
3201
|
-
declare enum ImagePosition {
|
|
3202
|
-
/** Image positioned at the center */
|
|
3203
|
-
CENTER = "CENTER",
|
|
3204
|
-
/** Image positioned on the left */
|
|
3205
|
-
CENTER_LEFT = "CENTER_LEFT",
|
|
3206
|
-
/** Image positioned on the right */
|
|
3207
|
-
CENTER_RIGHT = "CENTER_RIGHT",
|
|
3208
|
-
/** Image positioned at the center top */
|
|
3209
|
-
TOP = "TOP",
|
|
3210
|
-
/** Image positioned at the top left */
|
|
3211
|
-
TOP_LEFT = "TOP_LEFT",
|
|
3212
|
-
/** Image positioned at the top right */
|
|
3213
|
-
TOP_RIGHT = "TOP_RIGHT",
|
|
3214
|
-
/** Image positioned at the center bottom */
|
|
3215
|
-
BOTTOM = "BOTTOM",
|
|
3216
|
-
/** Image positioned at the bottom left */
|
|
3217
|
-
BOTTOM_LEFT = "BOTTOM_LEFT",
|
|
3218
|
-
/** Image positioned at the bottom right */
|
|
3219
|
-
BOTTOM_RIGHT = "BOTTOM_RIGHT"
|
|
3220
|
-
}
|
|
3221
|
-
/** @enumType */
|
|
3222
|
-
type ImagePositionWithLiterals = ImagePosition | 'CENTER' | 'CENTER_LEFT' | 'CENTER_RIGHT' | 'TOP' | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT';
|
|
3223
|
-
interface BackgroundImage {
|
|
3224
|
-
/** Background image. */
|
|
3225
|
-
media?: Media;
|
|
3226
|
-
/** Background image opacity. */
|
|
3227
|
-
opacity?: number | null;
|
|
3228
|
-
/** Background image scaling. */
|
|
3229
|
-
scaling?: ScalingWithLiterals;
|
|
3230
|
-
/** Position of background. Defaults to `CENTER`. */
|
|
3231
|
-
position?: ImagePositionWithLiterals;
|
|
3232
|
-
}
|
|
3233
|
-
declare enum VerticalAlignmentAlignment {
|
|
3234
|
-
/** Top alignment */
|
|
3235
|
-
TOP = "TOP",
|
|
3236
|
-
/** Middle alignment */
|
|
3237
|
-
MIDDLE = "MIDDLE",
|
|
3238
|
-
/** Bottom alignment */
|
|
3239
|
-
BOTTOM = "BOTTOM"
|
|
3240
|
-
}
|
|
3241
|
-
/** @enumType */
|
|
3242
|
-
type VerticalAlignmentAlignmentWithLiterals = VerticalAlignmentAlignment | 'TOP' | 'MIDDLE' | 'BOTTOM';
|
|
3243
|
-
declare enum ResponsivenessBehaviour {
|
|
3244
|
-
/** Stacking of columns */
|
|
3245
|
-
STACK = "STACK",
|
|
3246
|
-
/** Wrapping of columns */
|
|
3247
|
-
WRAP = "WRAP"
|
|
3248
|
-
}
|
|
3249
|
-
/** @enumType */
|
|
3250
|
-
type ResponsivenessBehaviourWithLiterals = ResponsivenessBehaviour | 'STACK' | 'WRAP';
|
|
3251
|
-
interface LayoutCellData {
|
|
3252
|
-
/** Size of the cell in 12 columns grid. */
|
|
3253
|
-
colSpan?: number | null;
|
|
667
|
+
eventId?: string;
|
|
3254
668
|
}
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
version?: number;
|
|
669
|
+
/** Multiple guests associated to Tickets */
|
|
670
|
+
interface TicketGuest {
|
|
3258
671
|
/**
|
|
3259
|
-
*
|
|
3260
|
-
* @
|
|
3261
|
-
* @deprecated
|
|
672
|
+
* Event id
|
|
673
|
+
* @format GUID
|
|
3262
674
|
*/
|
|
3263
|
-
|
|
675
|
+
eventId?: string;
|
|
3264
676
|
/**
|
|
3265
|
-
*
|
|
3266
|
-
* @
|
|
677
|
+
* Order number
|
|
678
|
+
* @maxLength 36
|
|
3267
679
|
*/
|
|
3268
|
-
|
|
3269
|
-
/** Object ID. */
|
|
3270
|
-
id?: string | null;
|
|
3271
|
-
}
|
|
3272
|
-
interface DocumentStyle {
|
|
3273
|
-
/** Styling for H1 nodes. */
|
|
3274
|
-
headerOne?: TextNodeStyle;
|
|
3275
|
-
/** Styling for H2 nodes. */
|
|
3276
|
-
headerTwo?: TextNodeStyle;
|
|
3277
|
-
/** Styling for H3 nodes. */
|
|
3278
|
-
headerThree?: TextNodeStyle;
|
|
3279
|
-
/** Styling for H4 nodes. */
|
|
3280
|
-
headerFour?: TextNodeStyle;
|
|
3281
|
-
/** Styling for H5 nodes. */
|
|
3282
|
-
headerFive?: TextNodeStyle;
|
|
3283
|
-
/** Styling for H6 nodes. */
|
|
3284
|
-
headerSix?: TextNodeStyle;
|
|
3285
|
-
/** Styling for paragraph nodes. */
|
|
3286
|
-
paragraph?: TextNodeStyle;
|
|
3287
|
-
/** Styling for block quote nodes. */
|
|
3288
|
-
blockquote?: TextNodeStyle;
|
|
3289
|
-
/** Styling for code block nodes. */
|
|
3290
|
-
codeBlock?: TextNodeStyle;
|
|
3291
|
-
}
|
|
3292
|
-
interface TextNodeStyle {
|
|
3293
|
-
/** The decorations to apply to the node. */
|
|
3294
|
-
decorations?: Decoration[];
|
|
3295
|
-
/** Padding and background color for the node. */
|
|
3296
|
-
nodeStyle?: NodeStyle;
|
|
3297
|
-
/** Line height for text in the node. */
|
|
3298
|
-
lineHeight?: string | null;
|
|
3299
|
-
}
|
|
3300
|
-
interface Badge {
|
|
3301
|
-
/** Badge type. */
|
|
3302
|
-
type?: TypeWithLiterals;
|
|
680
|
+
orderNumber?: string | null;
|
|
3303
681
|
/**
|
|
3304
|
-
*
|
|
3305
|
-
* @
|
|
682
|
+
* Ticket numbers must be from the same order only.
|
|
683
|
+
* @minSize 1
|
|
684
|
+
* @maxSize 100
|
|
685
|
+
* @maxLength 36
|
|
3306
686
|
*/
|
|
3307
|
-
|
|
687
|
+
ticketNumber?: string[];
|
|
3308
688
|
}
|
|
3309
|
-
|
|
3310
|
-
/** Unknown badge type. */
|
|
3311
|
-
UNKNOWN_BADGE_TYPE = "UNKNOWN_BADGE_TYPE",
|
|
3312
|
-
/** 1st priority badge type. */
|
|
3313
|
-
FIRST_PRIORITY = "FIRST_PRIORITY",
|
|
3314
|
-
/** 2nd priority badge type. */
|
|
3315
|
-
SECOND_PRIORITY = "SECOND_PRIORITY",
|
|
3316
|
-
/** 3rd priority badge type. */
|
|
3317
|
-
THIRD_PRIORITY = "THIRD_PRIORITY"
|
|
689
|
+
interface TriggerNotificationResponse {
|
|
3318
690
|
}
|
|
3319
|
-
/** @enumType */
|
|
3320
|
-
type TypeWithLiterals = Type | 'UNKNOWN_BADGE_TYPE' | 'FIRST_PRIORITY' | 'SECOND_PRIORITY' | 'THIRD_PRIORITY';
|
|
3321
691
|
/** Triggered when an order is confirmed. */
|
|
3322
692
|
interface OrderConfirmed {
|
|
3323
693
|
/** Date and time the order was confirmed. */
|
|
@@ -3537,6 +907,24 @@ interface CheckIn {
|
|
|
3537
907
|
/** Time of a ticket's check-in. */
|
|
3538
908
|
created?: Date | null;
|
|
3539
909
|
}
|
|
910
|
+
interface Money {
|
|
911
|
+
/**
|
|
912
|
+
* *Deprecated:** Use `value` instead.
|
|
913
|
+
* @format DECIMAL_VALUE
|
|
914
|
+
* @deprecated
|
|
915
|
+
*/
|
|
916
|
+
amount?: string;
|
|
917
|
+
/**
|
|
918
|
+
* 3-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. For example, `USD`.
|
|
919
|
+
* @format CURRENCY
|
|
920
|
+
*/
|
|
921
|
+
currency?: string;
|
|
922
|
+
/**
|
|
923
|
+
* 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.
|
|
924
|
+
* @format DECIMAL_VALUE
|
|
925
|
+
*/
|
|
926
|
+
value?: string | null;
|
|
927
|
+
}
|
|
3540
928
|
interface OnlineConferencingLogin {
|
|
3541
929
|
/**
|
|
3542
930
|
* Link URL to the online conference.
|
|
@@ -3694,6 +1082,16 @@ interface Tax {
|
|
|
3694
1082
|
/** Total tax amount. */
|
|
3695
1083
|
amount?: Money;
|
|
3696
1084
|
}
|
|
1085
|
+
declare enum TaxType {
|
|
1086
|
+
/** Tax is included in the ticket price. */
|
|
1087
|
+
INCLUDED = "INCLUDED",
|
|
1088
|
+
/** Tax is added to the order at the checkout. */
|
|
1089
|
+
ADDED = "ADDED",
|
|
1090
|
+
/** Tax is added to the final total at the checkout. */
|
|
1091
|
+
ADDED_AT_CHECKOUT = "ADDED_AT_CHECKOUT"
|
|
1092
|
+
}
|
|
1093
|
+
/** @enumType */
|
|
1094
|
+
type TaxTypeWithLiterals = TaxType | 'INCLUDED' | 'ADDED' | 'ADDED_AT_CHECKOUT';
|
|
3697
1095
|
interface Fee {
|
|
3698
1096
|
/** Fee identifier. */
|
|
3699
1097
|
name?: FeeNameWithLiterals;
|
|
@@ -3811,66 +1209,6 @@ interface OrderEmailAdded {
|
|
|
3811
1209
|
/** Whether marketing consent was given. */
|
|
3812
1210
|
marketingConsent?: boolean | null;
|
|
3813
1211
|
}
|
|
3814
|
-
interface EventCanceled {
|
|
3815
|
-
/** Event canceled timestamp in ISO UTC format. */
|
|
3816
|
-
timestamp?: Date | null;
|
|
3817
|
-
/**
|
|
3818
|
-
* Event ID.
|
|
3819
|
-
* @format GUID
|
|
3820
|
-
*/
|
|
3821
|
-
eventId?: string;
|
|
3822
|
-
/** Event title */
|
|
3823
|
-
title?: string;
|
|
3824
|
-
/**
|
|
3825
|
-
* Event creator user ID.
|
|
3826
|
-
* @format GUID
|
|
3827
|
-
*/
|
|
3828
|
-
userId?: string | null;
|
|
3829
|
-
/** True if at least one guest is registered to the event with any attendance status. */
|
|
3830
|
-
hasGuests?: boolean | null;
|
|
3831
|
-
}
|
|
3832
|
-
interface EventReminder {
|
|
3833
|
-
/** Reminder timestamp in ISO UTC format. */
|
|
3834
|
-
timestamp?: Date | null;
|
|
3835
|
-
/**
|
|
3836
|
-
* Event ID.
|
|
3837
|
-
* @format GUID
|
|
3838
|
-
*/
|
|
3839
|
-
eventId?: string;
|
|
3840
|
-
/** Event location. */
|
|
3841
|
-
location?: Location;
|
|
3842
|
-
/** Event schedule configuration. */
|
|
3843
|
-
scheduleConfig?: ScheduleConfig;
|
|
3844
|
-
/** Event title. */
|
|
3845
|
-
title?: string;
|
|
3846
|
-
/**
|
|
3847
|
-
* Event creator user ID.
|
|
3848
|
-
* @format GUID
|
|
3849
|
-
*/
|
|
3850
|
-
userId?: string | null;
|
|
3851
|
-
/** Time until the event starts (currently, reminder is triggered 1 day before event starts). */
|
|
3852
|
-
startsIn?: TimeDuration;
|
|
3853
|
-
/** True if at least one guest is registered to the event with any attendance status. */
|
|
3854
|
-
hasGuests?: boolean | null;
|
|
3855
|
-
}
|
|
3856
|
-
/**
|
|
3857
|
-
* A coarse-grained representation of time duration divided into whole constituting components of days, hours, and minutes.
|
|
3858
|
-
* For example, 25.5 hours duration is represented as `{ days: 1, hours: 1, minutes: 30 }`.
|
|
3859
|
-
*/
|
|
3860
|
-
interface TimeDuration {
|
|
3861
|
-
/** Number of days. */
|
|
3862
|
-
days?: number;
|
|
3863
|
-
/**
|
|
3864
|
-
* Number of hours.
|
|
3865
|
-
* @max 24
|
|
3866
|
-
*/
|
|
3867
|
-
hours?: number;
|
|
3868
|
-
/**
|
|
3869
|
-
* Number of minutes.
|
|
3870
|
-
* @max 60
|
|
3871
|
-
*/
|
|
3872
|
-
minutes?: number;
|
|
3873
|
-
}
|
|
3874
1212
|
/** Triggered when an order is paid. */
|
|
3875
1213
|
interface OrderPaid {
|
|
3876
1214
|
/** Date and time the order was paid. */
|
|
@@ -4026,186 +1364,6 @@ interface OrderCanceled {
|
|
|
4026
1364
|
/** Invoice. */
|
|
4027
1365
|
invoice?: Invoice;
|
|
4028
1366
|
}
|
|
4029
|
-
interface EventEnded {
|
|
4030
|
-
/** Event end timestamp in ISO UTC format. */
|
|
4031
|
-
timestamp?: Date | null;
|
|
4032
|
-
/**
|
|
4033
|
-
* Event ID.
|
|
4034
|
-
* @format GUID
|
|
4035
|
-
*/
|
|
4036
|
-
eventId?: string;
|
|
4037
|
-
/** True if at least one guest is registered to the event with any attendance status. */
|
|
4038
|
-
hasGuests?: boolean | null;
|
|
4039
|
-
}
|
|
4040
|
-
interface EventStarted {
|
|
4041
|
-
/** Event start timestamp in ISO UTC format. */
|
|
4042
|
-
timestamp?: Date | null;
|
|
4043
|
-
/**
|
|
4044
|
-
* Event ID.
|
|
4045
|
-
* @format GUID
|
|
4046
|
-
*/
|
|
4047
|
-
eventId?: string;
|
|
4048
|
-
/** True if at least one guest is registered to the event with any attendance status. */
|
|
4049
|
-
hasGuests?: boolean | null;
|
|
4050
|
-
}
|
|
4051
|
-
interface ResolveNotificationConfigRequest {
|
|
4052
|
-
/**
|
|
4053
|
-
* Id of the NotificationConfig to retrieve
|
|
4054
|
-
* @format GUID
|
|
4055
|
-
*/
|
|
4056
|
-
notificationConfigId: string;
|
|
4057
|
-
}
|
|
4058
|
-
interface ResolveNotificationConfigResponse {
|
|
4059
|
-
/** The retrieved NotificationConfig */
|
|
4060
|
-
notificationConfig?: NotificationConfig;
|
|
4061
|
-
}
|
|
4062
|
-
interface UpsertNotificationConfigRequest {
|
|
4063
|
-
/** NotificationConfig to be upserted */
|
|
4064
|
-
notificationConfig: NotificationConfig;
|
|
4065
|
-
}
|
|
4066
|
-
interface UpsertNotificationConfigResponse {
|
|
4067
|
-
/** The upserted NotificationConfig */
|
|
4068
|
-
notificationConfig?: NotificationConfig;
|
|
4069
|
-
}
|
|
4070
|
-
interface ResolveEmailNotificationConfigRequest {
|
|
4071
|
-
/**
|
|
4072
|
-
* Id of the NotificationConfig to retrieve
|
|
4073
|
-
* @format GUID
|
|
4074
|
-
*/
|
|
4075
|
-
notificationConfigId?: string;
|
|
4076
|
-
/** Notification type */
|
|
4077
|
-
notificationType?: EmailNotificationTypeWithLiterals;
|
|
4078
|
-
}
|
|
4079
|
-
interface ResolveEmailNotificationConfigResponse {
|
|
4080
|
-
/** The retrieved EmailNotificationConfig */
|
|
4081
|
-
emailNotificationConfig?: EmailNotificationConfig;
|
|
4082
|
-
}
|
|
4083
|
-
interface EventDeleted {
|
|
4084
|
-
/** Event deleted timestamp in ISO UTC format. */
|
|
4085
|
-
timestamp?: Date | null;
|
|
4086
|
-
/**
|
|
4087
|
-
* Event ID.
|
|
4088
|
-
* @format GUID
|
|
4089
|
-
*/
|
|
4090
|
-
eventId?: string;
|
|
4091
|
-
/** Event title. */
|
|
4092
|
-
title?: string;
|
|
4093
|
-
/**
|
|
4094
|
-
* Event creator user ID.
|
|
4095
|
-
* @format GUID
|
|
4096
|
-
*/
|
|
4097
|
-
userId?: string | null;
|
|
4098
|
-
}
|
|
4099
|
-
interface EventCopied {
|
|
4100
|
-
/** Event created timestamp in ISO UTC format. */
|
|
4101
|
-
timestamp?: Date | null;
|
|
4102
|
-
/**
|
|
4103
|
-
* Event ID.
|
|
4104
|
-
* @format GUID
|
|
4105
|
-
*/
|
|
4106
|
-
eventId?: string;
|
|
4107
|
-
/** Event location. */
|
|
4108
|
-
location?: Location;
|
|
4109
|
-
/** Event schedule configuration. */
|
|
4110
|
-
scheduleConfig?: ScheduleConfig;
|
|
4111
|
-
/** Event title. */
|
|
4112
|
-
title?: string;
|
|
4113
|
-
/**
|
|
4114
|
-
* Event creator user ID.
|
|
4115
|
-
* @format GUID
|
|
4116
|
-
*/
|
|
4117
|
-
userId?: string | null;
|
|
4118
|
-
/** Event status. */
|
|
4119
|
-
status?: EventStatusWithLiterals;
|
|
4120
|
-
/**
|
|
4121
|
-
* Instance ID. Indicates the original app instance which current event was derived from.
|
|
4122
|
-
* @format GUID
|
|
4123
|
-
*/
|
|
4124
|
-
derivedFromInstanceId?: string | null;
|
|
4125
|
-
/**
|
|
4126
|
-
* Event ID. Indicates the original event which current event was derived from.
|
|
4127
|
-
* @format GUID
|
|
4128
|
-
*/
|
|
4129
|
-
derivedFromEventId?: string | null;
|
|
4130
|
-
/**
|
|
4131
|
-
* Map of copied ticket definitions from original event.
|
|
4132
|
-
* Key represents ticket def id in the original event.
|
|
4133
|
-
* Value represents ticket def id in the newly created event.
|
|
4134
|
-
*/
|
|
4135
|
-
ticketDefinitions?: Record<string, string>;
|
|
4136
|
-
}
|
|
4137
|
-
interface MessageEnvelope {
|
|
4138
|
-
/**
|
|
4139
|
-
* App instance ID.
|
|
4140
|
-
* @format GUID
|
|
4141
|
-
*/
|
|
4142
|
-
instanceId?: string | null;
|
|
4143
|
-
/**
|
|
4144
|
-
* Event type.
|
|
4145
|
-
* @maxLength 150
|
|
4146
|
-
*/
|
|
4147
|
-
eventType?: string;
|
|
4148
|
-
/** The identification type and identity data. */
|
|
4149
|
-
identity?: IdentificationData;
|
|
4150
|
-
/** Stringify payload. */
|
|
4151
|
-
data?: string;
|
|
4152
|
-
}
|
|
4153
|
-
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
4154
|
-
/**
|
|
4155
|
-
* ID of a site visitor that has not logged in to the site.
|
|
4156
|
-
* @format GUID
|
|
4157
|
-
*/
|
|
4158
|
-
anonymousVisitorId?: string;
|
|
4159
|
-
/**
|
|
4160
|
-
* ID of a site visitor that has logged in to the site.
|
|
4161
|
-
* @format GUID
|
|
4162
|
-
*/
|
|
4163
|
-
memberId?: string;
|
|
4164
|
-
/**
|
|
4165
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
4166
|
-
* @format GUID
|
|
4167
|
-
*/
|
|
4168
|
-
wixUserId?: string;
|
|
4169
|
-
/**
|
|
4170
|
-
* ID of an app.
|
|
4171
|
-
* @format GUID
|
|
4172
|
-
*/
|
|
4173
|
-
appId?: string;
|
|
4174
|
-
/** @readonly */
|
|
4175
|
-
identityType?: WebhookIdentityTypeWithLiterals;
|
|
4176
|
-
}
|
|
4177
|
-
/** @oneof */
|
|
4178
|
-
interface IdentificationDataIdOneOf {
|
|
4179
|
-
/**
|
|
4180
|
-
* ID of a site visitor that has not logged in to the site.
|
|
4181
|
-
* @format GUID
|
|
4182
|
-
*/
|
|
4183
|
-
anonymousVisitorId?: string;
|
|
4184
|
-
/**
|
|
4185
|
-
* ID of a site visitor that has logged in to the site.
|
|
4186
|
-
* @format GUID
|
|
4187
|
-
*/
|
|
4188
|
-
memberId?: string;
|
|
4189
|
-
/**
|
|
4190
|
-
* ID of a Wix user (site owner, contributor, etc.).
|
|
4191
|
-
* @format GUID
|
|
4192
|
-
*/
|
|
4193
|
-
wixUserId?: string;
|
|
4194
|
-
/**
|
|
4195
|
-
* ID of an app.
|
|
4196
|
-
* @format GUID
|
|
4197
|
-
*/
|
|
4198
|
-
appId?: string;
|
|
4199
|
-
}
|
|
4200
|
-
declare enum WebhookIdentityType {
|
|
4201
|
-
UNKNOWN = "UNKNOWN",
|
|
4202
|
-
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
4203
|
-
MEMBER = "MEMBER",
|
|
4204
|
-
WIX_USER = "WIX_USER",
|
|
4205
|
-
APP = "APP"
|
|
4206
|
-
}
|
|
4207
|
-
/** @enumType */
|
|
4208
|
-
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
4209
1367
|
|
|
4210
1368
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
4211
1369
|
getUrl: (context: any) => string;
|
|
@@ -4217,12 +1375,12 @@ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q
|
|
|
4217
1375
|
__responseType: Q;
|
|
4218
1376
|
__originalResponseType: R;
|
|
4219
1377
|
};
|
|
4220
|
-
declare function triggerNotification(): __PublicMethodMetaInfo<'POST', {}, TriggerNotificationRequest$1, TriggerNotificationRequest, TriggerNotificationResponse$1, TriggerNotificationResponse>;
|
|
4221
1378
|
declare function resolveNotificationConfig(): __PublicMethodMetaInfo<'GET', {
|
|
4222
1379
|
notificationConfigId: string;
|
|
4223
1380
|
}, ResolveNotificationConfigRequest$1, ResolveNotificationConfigRequest, ResolveNotificationConfigResponse$1, ResolveNotificationConfigResponse>;
|
|
4224
1381
|
declare function upsertNotificationConfig(): __PublicMethodMetaInfo<'POST', {
|
|
4225
1382
|
notificationConfigId: string;
|
|
4226
1383
|
}, UpsertNotificationConfigRequest$1, UpsertNotificationConfigRequest, UpsertNotificationConfigResponse$1, UpsertNotificationConfigResponse>;
|
|
1384
|
+
declare function triggerNotification(): __PublicMethodMetaInfo<'POST', {}, TriggerNotificationRequest$1, TriggerNotificationRequest, TriggerNotificationResponse$1, TriggerNotificationResponse>;
|
|
4227
1385
|
|
|
4228
|
-
export { type ActionEvent as ActionEventOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressStreetOneOf as AddressStreetOneOfOriginal, type Agenda as AgendaOriginal, Alignment as AlignmentOriginal, type AlignmentWithLiterals as AlignmentWithLiteralsOriginal, type AnchorData as AnchorDataOriginal, type AppEmbedDataAppDataOneOf as AppEmbedDataAppDataOneOfOriginal, type AppEmbedData as AppEmbedDataOriginal, AppType as AppTypeOriginal, type AppTypeWithLiterals as AppTypeWithLiteralsOriginal, AspectRatio as AspectRatioOriginal, type AspectRatioWithLiterals as AspectRatioWithLiteralsOriginal, type AudioData as AudioDataOriginal, type BackgroundBackgroundOneOf as BackgroundBackgroundOneOfOriginal, type BackgroundImage as BackgroundImageOriginal, type Background as BackgroundOriginal, BackgroundType as BackgroundTypeOriginal, type BackgroundTypeWithLiterals as BackgroundTypeWithLiteralsOriginal, type Badge as BadgeOriginal, type BlockquoteData as BlockquoteDataOriginal, type BookingData as BookingDataOriginal, type BorderColors as BorderColorsOriginal, type Border as BorderOriginal, type BorderWidths as BorderWidthsOriginal, type BulletedListData as BulletedListDataOriginal, type ButtonData as ButtonDataOriginal, ButtonDataType as ButtonDataTypeOriginal, type ButtonDataTypeWithLiterals as ButtonDataTypeWithLiteralsOriginal, type ButtonStyles as ButtonStylesOriginal, type CalendarLinks as CalendarLinksOriginal, type CaptionData as CaptionDataOriginal, type CardStyles as CardStylesOriginal, CardStylesType as CardStylesTypeOriginal, type CardStylesTypeWithLiterals as CardStylesTypeWithLiteralsOriginal, type CategoryCounts as CategoryCountsOriginal, type Category as CategoryOriginal, type CellStyle as CellStyleOriginal, type CheckIn as CheckInOriginal, type CheckoutFormMessages as CheckoutFormMessagesOriginal, CheckoutType as CheckoutTypeOriginal, type CheckoutTypeWithLiterals as CheckoutTypeWithLiteralsOriginal, type CodeBlockData as CodeBlockDataOriginal, type CollapsibleListData as CollapsibleListDataOriginal, type ColorData as ColorDataOriginal, type Colors as ColorsOriginal, type CommonAddressLocation as CommonAddressLocationOriginal, type CommonAddress as CommonAddressOriginal, type CommonAddressStreetOneOf as CommonAddressStreetOneOfOriginal, type CommonStreetAddress as CommonStreetAddressOriginal, type CommonSubdivision as CommonSubdivisionOriginal, ConferenceType as ConferenceTypeOriginal, type ConferenceTypeWithLiterals as ConferenceTypeWithLiteralsOriginal, type CouponDiscount as CouponDiscountOriginal, Crop as CropOriginal, type CropWithLiterals as CropWithLiteralsOriginal, type Dashboard as DashboardOriginal, type DecorationDataOneOf as DecorationDataOneOfOriginal, type Decoration as DecorationOriginal, DecorationType as DecorationTypeOriginal, type DecorationTypeWithLiterals as DecorationTypeWithLiteralsOriginal, type Design as DesignOriginal, type Dimensions as DimensionsOriginal, Direction as DirectionOriginal, type DirectionWithLiterals as DirectionWithLiteralsOriginal, type DiscountItemDiscountOneOf as DiscountItemDiscountOneOfOriginal, type DiscountItem as DiscountItemOriginal, type Discount as DiscountOriginal, DividerDataAlignment as DividerDataAlignmentOriginal, type DividerDataAlignmentWithLiterals as DividerDataAlignmentWithLiteralsOriginal, type DividerData as DividerDataOriginal, type DocumentStyle as DocumentStyleOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EmailNotificationConfig as EmailNotificationConfigOriginal, EmailNotificationReminderTime as EmailNotificationReminderTimeOriginal, type EmailNotificationReminderTimeWithLiterals as EmailNotificationReminderTimeWithLiteralsOriginal, EmailNotificationType as EmailNotificationTypeOriginal, type EmailNotificationTypeWithLiterals as EmailNotificationTypeWithLiteralsOriginal, type EmailTemplate as EmailTemplateOriginal, type EmbedData as EmbedDataOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type EventCanceled as EventCanceledOriginal, type EventCopied as EventCopiedOriginal, type EventData as EventDataOriginal, type EventDeleted as EventDeletedOriginal, type EventDisplaySettings as EventDisplaySettingsOriginal, type EventEnded as EventEndedOriginal, type EventGuests as EventGuestsOriginal, type Event as EventOriginal, type EventReminder as EventReminderOriginal, type EventStarted as EventStartedOriginal, EventStatus as EventStatusOriginal, type EventStatusWithLiterals as EventStatusWithLiteralsOriginal, EventType as EventTypeOriginal, type EventTypeWithLiterals as EventTypeWithLiteralsOriginal, type EventUpdated as EventUpdatedOriginal, type ExternalEvent as ExternalEventOriginal, FeeName as FeeNameOriginal, type FeeNameWithLiterals as FeeNameWithLiteralsOriginal, type Fee as FeeOriginal, FeeType as FeeTypeOriginal, type FeeTypeWithLiterals as FeeTypeWithLiteralsOriginal, type Feed as FeedOriginal, type FileData as FileDataOriginal, type FileSourceDataOneOf as FileSourceDataOneOfOriginal, type FileSource as FileSourceOriginal, type FontFamilyData as FontFamilyDataOriginal, type FontSizeData as FontSizeDataOriginal, FontType as FontTypeOriginal, type FontTypeWithLiterals as FontTypeWithLiteralsOriginal, type FormMessages as FormMessagesOriginal, type Form as FormOriginal, type FormResponse as FormResponseOriginal, type FormattedAddress as FormattedAddressOriginal, type GIFData as GIFDataOriginal, type GIF as GIFOriginal, GIFType as GIFTypeOriginal, type GIFTypeWithLiterals as GIFTypeWithLiteralsOriginal, type GalleryDataItemDataOneOf as GalleryDataItemDataOneOfOriginal, type GalleryDataItem as GalleryDataItemOriginal, type GalleryData as GalleryDataOriginal, type GalleryOptionsLayout as GalleryOptionsLayoutOriginal, type GalleryOptions as GalleryOptionsOriginal, type Gradient as GradientOriginal, type GuestListConfig as GuestListConfigOriginal, type HTMLDataDataOneOf as HTMLDataDataOneOfOriginal, type HTMLData as HTMLDataOriginal, type HeadingData as HeadingDataOriginal, type Height as HeightOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ImageData as ImageDataOriginal, type ImageDataStyles as ImageDataStylesOriginal, type Image as ImageOriginal, ImagePosition as ImagePositionOriginal, type ImagePositionWithLiterals as ImagePositionWithLiteralsOriginal, type ImageStyles as ImageStylesOriginal, InitialExpandedItems as InitialExpandedItemsOriginal, type InitialExpandedItemsWithLiterals as InitialExpandedItemsWithLiteralsOriginal, type InputControl as InputControlOriginal, InputControlType as InputControlTypeOriginal, type InputControlTypeWithLiterals as InputControlTypeWithLiteralsOriginal, type Input as InputOriginal, type InputValue as InputValueOriginal, type Invoice as InvoiceOriginal, type ItemImage as ItemImageOriginal, type Item as ItemOriginal, type ItemStyle as ItemStyleOriginal, type Keyword as KeywordOriginal, type Label as LabelOriginal, type LabellingSettings as LabellingSettingsOriginal, type LayoutCellData as LayoutCellDataOriginal, type LayoutData as LayoutDataOriginal, Layout as LayoutOriginal, LayoutType as LayoutTypeOriginal, type LayoutTypeWithLiterals as LayoutTypeWithLiteralsOriginal, type LayoutWithLiterals as LayoutWithLiteralsOriginal, LineStyle as LineStyleOriginal, type LineStyleWithLiterals as LineStyleWithLiteralsOriginal, type LinkData as LinkDataOriginal, type Link as LinkOriginal, type LinkPreviewData as LinkPreviewDataOriginal, type LinkPreviewDataStyles as LinkPreviewDataStylesOriginal, type ListValue as ListValueOriginal, type Location as LocationOriginal, LocationType as LocationTypeOriginal, type LocationTypeWithLiterals as LocationTypeWithLiteralsOriginal, type MapCoordinates as MapCoordinatesOriginal, type MapData as MapDataOriginal, type MapSettings as MapSettingsOriginal, MapType as MapTypeOriginal, type MapTypeWithLiterals as MapTypeWithLiteralsOriginal, type Media as MediaOriginal, type MentionData as MentionDataOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type Metadata as MetadataOriginal, type Money as MoneyOriginal, type Negative as NegativeOriginal, type NegativeResponseConfirmation as NegativeResponseConfirmationOriginal, type NodeDataOneOf as NodeDataOneOfOriginal, type Node as NodeOriginal, type NodeStyle as NodeStyleOriginal, NodeType as NodeTypeOriginal, type NodeTypeWithLiterals as NodeTypeWithLiteralsOriginal, type NotificationConfig as NotificationConfigOriginal, NullValue as NullValueOriginal, type NullValueWithLiterals as NullValueWithLiteralsOriginal, type Occurrence as OccurrenceOriginal, type Oembed as OembedOriginal, type OnlineConferencingConfig as OnlineConferencingConfigOriginal, type OnlineConferencingLogin as OnlineConferencingLoginOriginal, type OnlineConferencing as OnlineConferencingOriginal, type OnlineConferencingSession as OnlineConferencingSessionOriginal, type OptionDesign as OptionDesignOriginal, type OptionLayout as OptionLayoutOriginal, type Option as OptionOriginal, type OptionSelection as OptionSelectionOriginal, type OptionSelectionSelectedOptionOneOf as OptionSelectionSelectedOptionOneOfOriginal, type OrderCanceled as OrderCanceledOriginal, type OrderConfirmed as OrderConfirmedOriginal, type OrderEmailAdded as OrderEmailAddedOriginal, type OrderGuest as OrderGuestOriginal, type OrderPaid as OrderPaidOriginal, OrderStatus as OrderStatusOriginal, type OrderStatusWithLiterals as OrderStatusWithLiteralsOriginal, type OrderedListData as OrderedListDataOriginal, Orientation as OrientationOriginal, type OrientationWithLiterals as OrientationWithLiteralsOriginal, type PDFSettings as PDFSettingsOriginal, type PaidPlanDiscountDiscountOneOf as PaidPlanDiscountDiscountOneOfOriginal, type PaidPlanDiscount as PaidPlanDiscountOriginal, type ParagraphData as ParagraphDataOriginal, type PercentDiscount as PercentDiscountOriginal, type Permissions as PermissionsOriginal, Placement as PlacementOriginal, type PlacementWithLiterals as PlacementWithLiteralsOriginal, type PlaybackOptions as PlaybackOptionsOriginal, PluginContainerDataAlignment as PluginContainerDataAlignmentOriginal, type PluginContainerDataAlignmentWithLiterals as PluginContainerDataAlignmentWithLiteralsOriginal, type PluginContainerData as PluginContainerDataOriginal, type PluginContainerDataWidthDataOneOf as PluginContainerDataWidthDataOneOfOriginal, type PluginContainerDataWidth as PluginContainerDataWidthOriginal, type PollDataLayout as PollDataLayoutOriginal, type PollData as PollDataOriginal, type PollDesign as PollDesignOriginal, PollLayoutDirection as PollLayoutDirectionOriginal, type PollLayoutDirectionWithLiterals as PollLayoutDirectionWithLiteralsOriginal, type PollLayout as PollLayoutOriginal, PollLayoutType as PollLayoutTypeOriginal, type PollLayoutTypeWithLiterals as PollLayoutTypeWithLiteralsOriginal, type Poll as PollOriginal, type PollSettings as PollSettingsOriginal, Position as PositionOriginal, type PositionWithLiterals as PositionWithLiteralsOriginal, type Positive as PositiveOriginal, type PositiveResponseConfirmation as PositiveResponseConfirmationOriginal, type PricingData as PricingDataOriginal, PushNotificationType as PushNotificationTypeOriginal, type PushNotificationTypeWithLiterals as PushNotificationTypeWithLiteralsOriginal, type Recurrences as RecurrencesOriginal, type RegistrationClosedMessages as RegistrationClosedMessagesOriginal, type Registration as RegistrationOriginal, RegistrationStatus as RegistrationStatusOriginal, type RegistrationStatusWithLiterals as RegistrationStatusWithLiteralsOriginal, type Rel as RelOriginal, Resizing as ResizingOriginal, type ResizingWithLiterals as ResizingWithLiteralsOriginal, type ResolveEmailNotificationConfigRequest as ResolveEmailNotificationConfigRequestOriginal, type ResolveEmailNotificationConfigResponse as ResolveEmailNotificationConfigResponseOriginal, type ResolveNotificationConfigRequest as ResolveNotificationConfigRequestOriginal, type ResolveNotificationConfigResponse as ResolveNotificationConfigResponseOriginal, type ResponseConfirmation as ResponseConfirmationOriginal, ResponsivenessBehaviour as ResponsivenessBehaviourOriginal, type ResponsivenessBehaviourWithLiterals as ResponsivenessBehaviourWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, type RibbonStyles as RibbonStylesOriginal, type RichContent as RichContentOriginal, type RsvpCollectionConfig as RsvpCollectionConfigOriginal, type RsvpCollection as RsvpCollectionOriginal, type RsvpConfirmationMessagesNegativeResponseConfirmation as RsvpConfirmationMessagesNegativeResponseConfirmationOriginal, type RsvpConfirmationMessages as RsvpConfirmationMessagesOriginal, type RsvpConfirmationMessagesPositiveResponseConfirmation as RsvpConfirmationMessagesPositiveResponseConfirmationOriginal, type RsvpFormMessages as RsvpFormMessagesOriginal, type RsvpGuest as RsvpGuestOriginal, RsvpStatusOptions as RsvpStatusOptionsOriginal, type RsvpStatusOptionsWithLiterals as RsvpStatusOptionsWithLiteralsOriginal, type RsvpSummary as RsvpSummaryOriginal, Scaling as ScalingOriginal, type ScalingWithLiterals as ScalingWithLiteralsOriginal, type ScheduleConfig as ScheduleConfigOriginal, type Scheduling as SchedulingOriginal, type SeoSchema as SeoSchemaOriginal, type SeoSettings as SeoSettingsOriginal, type Settings as SettingsOriginal, type SiteUrl as SiteUrlOriginal, Source as SourceOriginal, type SourceWithLiterals as SourceWithLiteralsOriginal, type SpoilerData as SpoilerDataOriginal, type Spoiler as SpoilerOriginal, type StandardDetails as StandardDetailsOriginal, State as StateOriginal, type StateWithLiterals as StateWithLiteralsOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type StreetAddress as StreetAddressOriginal, type StylesBorder as StylesBorderOriginal, type Styles as StylesOriginal, StylesPosition as StylesPositionOriginal, type StylesPositionWithLiterals as StylesPositionWithLiteralsOriginal, type Subdivision as SubdivisionOriginal, SubdivisionType as SubdivisionTypeOriginal, type SubdivisionTypeWithLiterals as SubdivisionTypeWithLiteralsOriginal, type TableCellData as TableCellDataOriginal, type TableData as TableDataOriginal, type Tag as TagOriginal, Target as TargetOriginal, type TargetWithLiterals as TargetWithLiteralsOriginal, type TaxConfig as TaxConfigOriginal, type Tax as TaxOriginal, TaxType as TaxTypeOriginal, type TaxTypeWithLiterals as TaxTypeWithLiteralsOriginal, TextAlignment as TextAlignmentOriginal, type TextAlignmentWithLiterals as TextAlignmentWithLiteralsOriginal, type TextData as TextDataOriginal, type TextNodeStyle as TextNodeStyleOriginal, type TextStyle as TextStyleOriginal, ThumbnailsAlignment as ThumbnailsAlignmentOriginal, type ThumbnailsAlignmentWithLiterals as ThumbnailsAlignmentWithLiteralsOriginal, type Thumbnails as ThumbnailsOriginal, type TicketGuest as TicketGuestOriginal, type Ticket as TicketOriginal, type TicketPdfResolveDelayed as TicketPdfResolveDelayedOriginal, type TicketPdfResolved as TicketPdfResolvedOriginal, type TicketingConfig as TicketingConfigOriginal, type Ticketing as TicketingOriginal, type TicketingSummary as TicketingSummaryOriginal, type TicketsConfirmationMessages as TicketsConfirmationMessagesOriginal, type TicketsUnavailableMessages as TicketsUnavailableMessagesOriginal, type TimeDuration as TimeDurationOriginal, type TriggerNotificationRequestGuestsOneOf as TriggerNotificationRequestGuestsOneOfOriginal, type TriggerNotificationRequestNotificationOneOf as TriggerNotificationRequestNotificationOneOfOriginal, type TriggerNotificationRequest as TriggerNotificationRequestOriginal, type TriggerNotificationResponse as TriggerNotificationResponseOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type UpsertNotificationConfigRequest as UpsertNotificationConfigRequestOriginal, type UpsertNotificationConfigResponse as UpsertNotificationConfigResponseOriginal, type V1LinkDataOneOf as V1LinkDataOneOfOriginal, type V1Link as V1LinkOriginal, ValueType as ValueTypeOriginal, type ValueTypeWithLiterals as ValueTypeWithLiteralsOriginal, VerticalAlignmentAlignment as VerticalAlignmentAlignmentOriginal, type VerticalAlignmentAlignmentWithLiterals as VerticalAlignmentAlignmentWithLiteralsOriginal, VerticalAlignment as VerticalAlignmentOriginal, type VerticalAlignmentWithLiterals as VerticalAlignmentWithLiteralsOriginal, type VideoData as VideoDataOriginal, type Video as VideoOriginal, ViewMode as ViewModeOriginal, type ViewModeWithLiterals as ViewModeWithLiteralsOriginal, ViewRole as ViewRoleOriginal, type ViewRoleWithLiterals as ViewRoleWithLiteralsOriginal, VisitorType as VisitorTypeOriginal, type VisitorTypeWithLiterals as VisitorTypeWithLiteralsOriginal, VoteRole as VoteRoleOriginal, type VoteRoleWithLiterals as VoteRoleWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, Width as WidthOriginal, WidthType as WidthTypeOriginal, type WidthTypeWithLiterals as WidthTypeWithLiteralsOriginal, type WidthWithLiterals as WidthWithLiteralsOriginal, type __PublicMethodMetaInfo, resolveNotificationConfig, triggerNotification, upsertNotificationConfig };
|
|
1386
|
+
export { type ActionEvent as ActionEventOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressStreetOneOf as AddressStreetOneOfOriginal, type CheckIn as CheckInOriginal, type CommonAddressLocation as CommonAddressLocationOriginal, type CommonAddress as CommonAddressOriginal, type CommonAddressStreetOneOf as CommonAddressStreetOneOfOriginal, type CommonStreetAddress as CommonStreetAddressOriginal, type CommonSubdivision as CommonSubdivisionOriginal, type CouponDiscount as CouponDiscountOriginal, type DiscountItemDiscountOneOf as DiscountItemDiscountOneOfOriginal, type DiscountItem as DiscountItemOriginal, type Discount as DiscountOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EmailNotificationConfig as EmailNotificationConfigOriginal, EmailNotificationReminderTime as EmailNotificationReminderTimeOriginal, type EmailNotificationReminderTimeWithLiterals as EmailNotificationReminderTimeWithLiteralsOriginal, EmailNotificationType as EmailNotificationTypeOriginal, type EmailNotificationTypeWithLiterals as EmailNotificationTypeWithLiteralsOriginal, type EmailTemplate as EmailTemplateOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type EventCanceled as EventCanceledOriginal, type EventCopied as EventCopiedOriginal, type EventDeleted as EventDeletedOriginal, type EventGuests as EventGuestsOriginal, EventStatus as EventStatusOriginal, type EventStatusWithLiterals as EventStatusWithLiteralsOriginal, FeeName as FeeNameOriginal, type FeeNameWithLiterals as FeeNameWithLiteralsOriginal, type Fee as FeeOriginal, FeeType as FeeTypeOriginal, type FeeTypeWithLiterals as FeeTypeWithLiteralsOriginal, type FormResponse as FormResponseOriginal, type FormattedAddress as FormattedAddressOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type InputValue as InputValueOriginal, type Invoice as InvoiceOriginal, type Item as ItemOriginal, type Link as LinkOriginal, type Location as LocationOriginal, LocationType as LocationTypeOriginal, type LocationTypeWithLiterals as LocationTypeWithLiteralsOriginal, type MapCoordinates as MapCoordinatesOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type Money as MoneyOriginal, type NotificationConfig as NotificationConfigOriginal, type Occurrence as OccurrenceOriginal, type OnlineConferencingLogin as OnlineConferencingLoginOriginal, type OrderCanceled as OrderCanceledOriginal, type OrderConfirmed as OrderConfirmedOriginal, type OrderEmailAdded as OrderEmailAddedOriginal, type OrderGuest as OrderGuestOriginal, type OrderPaid as OrderPaidOriginal, OrderStatus as OrderStatusOriginal, type OrderStatusWithLiterals as OrderStatusWithLiteralsOriginal, type PaidPlanDiscountDiscountOneOf as PaidPlanDiscountDiscountOneOfOriginal, type PaidPlanDiscount as PaidPlanDiscountOriginal, type PercentDiscount as PercentDiscountOriginal, PushNotificationType as PushNotificationTypeOriginal, type PushNotificationTypeWithLiterals as PushNotificationTypeWithLiteralsOriginal, type Recurrences as RecurrencesOriginal, type ResolveEmailNotificationConfigRequest as ResolveEmailNotificationConfigRequestOriginal, type ResolveEmailNotificationConfigResponse as ResolveEmailNotificationConfigResponseOriginal, type ResolveNotificationConfigRequest as ResolveNotificationConfigRequestOriginal, type ResolveNotificationConfigResponse as ResolveNotificationConfigResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type RsvpGuest as RsvpGuestOriginal, type ScheduleConfig as ScheduleConfigOriginal, type StandardDetails as StandardDetailsOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type StreetAddress as StreetAddressOriginal, type Subdivision as SubdivisionOriginal, SubdivisionType as SubdivisionTypeOriginal, type SubdivisionTypeWithLiterals as SubdivisionTypeWithLiteralsOriginal, type Tax as TaxOriginal, TaxType as TaxTypeOriginal, type TaxTypeWithLiterals as TaxTypeWithLiteralsOriginal, type TicketGuest as TicketGuestOriginal, type Ticket as TicketOriginal, type TicketPdfResolveDelayed as TicketPdfResolveDelayedOriginal, type TicketPdfResolved as TicketPdfResolvedOriginal, type TriggerNotificationRequestGuestsOneOf as TriggerNotificationRequestGuestsOneOfOriginal, type TriggerNotificationRequestNotificationOneOf as TriggerNotificationRequestNotificationOneOfOriginal, type TriggerNotificationRequest as TriggerNotificationRequestOriginal, type TriggerNotificationResponse as TriggerNotificationResponseOriginal, type UpsertNotificationConfigRequest as UpsertNotificationConfigRequestOriginal, type UpsertNotificationConfigResponse as UpsertNotificationConfigResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, resolveNotificationConfig, triggerNotification, upsertNotificationConfig };
|