@wix/auto_sdk_events_notifications 1.0.20 → 1.0.22

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