@wix/auto_sdk_events_notifications 1.0.58 → 1.0.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +9 -9
  2. package/build/cjs/index.js +99 -99
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +956 -956
  5. package/build/cjs/index.typings.js +91 -91
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +610 -610
  8. package/build/cjs/meta.js +77 -77
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +9 -9
  11. package/build/es/index.mjs +99 -99
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +956 -956
  14. package/build/es/index.typings.mjs +91 -91
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +610 -610
  17. package/build/es/meta.mjs +77 -77
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +9 -9
  20. package/build/internal/cjs/index.js +99 -99
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +956 -956
  23. package/build/internal/cjs/index.typings.js +91 -91
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +610 -610
  26. package/build/internal/cjs/meta.js +77 -77
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +9 -9
  29. package/build/internal/es/index.mjs +99 -99
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +956 -956
  32. package/build/internal/es/index.typings.mjs +91 -91
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +610 -610
  35. package/build/internal/es/meta.mjs +77 -77
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { TriggerNotificationRequest as TriggerNotificationRequest$1, TriggerNotificationResponse as TriggerNotificationResponse$1, ResolveNotificationConfigRequest as ResolveNotificationConfigRequest$1, ResolveNotificationConfigResponse as ResolveNotificationConfigResponse$1, UpsertNotificationConfigRequest as UpsertNotificationConfigRequest$1, UpsertNotificationConfigResponse as UpsertNotificationConfigResponse$1 } from './index.typings.js';
1
+ import { ResolveNotificationConfigRequest as ResolveNotificationConfigRequest$1, ResolveNotificationConfigResponse as ResolveNotificationConfigResponse$1, UpsertNotificationConfigRequest as UpsertNotificationConfigRequest$1, UpsertNotificationConfigResponse as UpsertNotificationConfigResponse$1, TriggerNotificationRequest as TriggerNotificationRequest$1, TriggerNotificationResponse as TriggerNotificationResponse$1 } from './index.typings.js';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  interface NotificationConfig {
@@ -125,6 +125,467 @@ declare enum EmailNotificationReminderTime {
125
125
  }
126
126
  /** @enumType */
127
127
  type EmailNotificationReminderTimeWithLiterals = EmailNotificationReminderTime | 'UNKNOWN_REMINDER_TIME' | 'INSTANT' | 'BEFORE_1_DAY' | 'BEFORE_3_DAYS' | 'BEFORE_1_WEEK' | 'BEFORE_1_HOUR' | 'BEFORE_30_MINUTES';
128
+ interface ResolveNotificationConfigRequest {
129
+ /**
130
+ * Id of the NotificationConfig to retrieve
131
+ * @format GUID
132
+ */
133
+ notificationConfigId: string;
134
+ }
135
+ interface ResolveNotificationConfigResponse {
136
+ /** The retrieved NotificationConfig */
137
+ notificationConfig?: NotificationConfig;
138
+ }
139
+ interface UpsertNotificationConfigRequest {
140
+ /** NotificationConfig to be upserted */
141
+ notificationConfig: NotificationConfig;
142
+ }
143
+ interface UpsertNotificationConfigResponse {
144
+ /** The upserted NotificationConfig */
145
+ notificationConfig?: NotificationConfig;
146
+ }
147
+ interface ResolveEmailNotificationConfigRequest {
148
+ /**
149
+ * Id of the NotificationConfig to retrieve
150
+ * @format GUID
151
+ */
152
+ notificationConfigId?: string;
153
+ /** Notification type */
154
+ notificationType?: EmailNotificationTypeWithLiterals;
155
+ }
156
+ interface ResolveEmailNotificationConfigResponse {
157
+ /** The retrieved EmailNotificationConfig */
158
+ emailNotificationConfig?: EmailNotificationConfig;
159
+ }
160
+ interface EventCanceled {
161
+ /** Event canceled timestamp in ISO UTC format. */
162
+ timestamp?: Date | null;
163
+ /**
164
+ * Event ID.
165
+ * @format GUID
166
+ */
167
+ eventId?: string;
168
+ /** Event title */
169
+ title?: string;
170
+ /**
171
+ * Event creator user ID.
172
+ * @format GUID
173
+ */
174
+ userId?: string | null;
175
+ /** True if at least one guest is registered to the event with any attendance status. */
176
+ hasGuests?: boolean | null;
177
+ }
178
+ interface Empty {
179
+ }
180
+ interface EventDeleted {
181
+ /** Event deleted timestamp in ISO UTC format. */
182
+ timestamp?: Date | null;
183
+ /**
184
+ * Event ID.
185
+ * @format GUID
186
+ */
187
+ eventId?: string;
188
+ /** Event title. */
189
+ title?: string;
190
+ /**
191
+ * Event creator user ID.
192
+ * @format GUID
193
+ */
194
+ userId?: string | null;
195
+ }
196
+ interface EventCopied {
197
+ /** Event created timestamp in ISO UTC format. */
198
+ timestamp?: Date | null;
199
+ /**
200
+ * Event ID.
201
+ * @format GUID
202
+ */
203
+ eventId?: string;
204
+ /** Event location. */
205
+ location?: Location;
206
+ /** Event schedule configuration. */
207
+ scheduleConfig?: ScheduleConfig;
208
+ /** Event title. */
209
+ title?: string;
210
+ /**
211
+ * Event creator user ID.
212
+ * @format GUID
213
+ */
214
+ userId?: string | null;
215
+ /** Event status. */
216
+ status?: EventStatusWithLiterals;
217
+ /**
218
+ * Instance ID. Indicates the original app instance which current event was derived from.
219
+ * @format GUID
220
+ */
221
+ derivedFromInstanceId?: string | null;
222
+ /**
223
+ * Event ID. Indicates the original event which current event was derived from.
224
+ * @format GUID
225
+ */
226
+ derivedFromEventId?: string | null;
227
+ /**
228
+ * Map of copied ticket definitions from original event.
229
+ * Key represents ticket def id in the original event.
230
+ * Value represents ticket def id in the newly created event.
231
+ */
232
+ ticketDefinitions?: Record<string, string>;
233
+ }
234
+ interface Location {
235
+ /**
236
+ * Location name.
237
+ * @maxLength 50
238
+ */
239
+ name?: string | null;
240
+ /** Location map coordinates. */
241
+ coordinates?: MapCoordinates;
242
+ /**
243
+ * Single line address representation.
244
+ * @maxLength 300
245
+ */
246
+ address?: string | null;
247
+ /** Location type. */
248
+ type?: LocationTypeWithLiterals;
249
+ /**
250
+ * Full address derived from formatted single line `address`.
251
+ * When `full_address` is used to create or update the event, deprecated `address` and `coordinates` are ignored.
252
+ * If provided `full_address` has empty `formatted_address` or `coordinates`, it will be auto-completed using Atlas service.
253
+ *
254
+ * Migration notes:
255
+ * - `full_address.formatted_address` is equivalent to `address`.
256
+ * - `full_address.geocode` is equivalent to `coordinates`.
257
+ */
258
+ fullAddress?: Address;
259
+ /**
260
+ * Defines event location as TBD (To Be Determined).
261
+ * When event location is not yet defined, `name` is displayed instead of location address.
262
+ * `coordinates`, `address`, `type` and `full_address` are not required when location is TBD.
263
+ */
264
+ tbd?: boolean | null;
265
+ }
266
+ interface MapCoordinates {
267
+ /**
268
+ * Latitude.
269
+ * @min -90
270
+ * @max 90
271
+ */
272
+ lat?: number;
273
+ /**
274
+ * Longitude.
275
+ * @min -180
276
+ * @max 180
277
+ */
278
+ lng?: number;
279
+ }
280
+ declare enum LocationType {
281
+ VENUE = "VENUE",
282
+ ONLINE = "ONLINE"
283
+ }
284
+ /** @enumType */
285
+ type LocationTypeWithLiterals = LocationType | 'VENUE' | 'ONLINE';
286
+ /** Physical address */
287
+ interface Address extends AddressStreetOneOf {
288
+ /** a break down of the street to number and street name */
289
+ streetAddress?: StreetAddress;
290
+ /** Main address line (usually street and number) as free text */
291
+ addressLine?: string | null;
292
+ /**
293
+ * country code
294
+ * @format COUNTRY
295
+ */
296
+ country?: string | null;
297
+ /** subdivision (usually state or region) code according to ISO 3166-2 */
298
+ subdivision?: string | null;
299
+ /** city name */
300
+ city?: string | null;
301
+ /** zip/postal code */
302
+ postalCode?: string | null;
303
+ /** Free text providing more detailed address info. Usually contains Apt, Suite, Floor */
304
+ addressLine2?: string | null;
305
+ /** A string containing the human-readable address of this location */
306
+ formattedAddress?: string | null;
307
+ /** Free text for human-to-human textual orientation aid purposes */
308
+ hint?: string | null;
309
+ /** coordinates of the physical address */
310
+ geocode?: AddressLocation;
311
+ /** country full-name */
312
+ countryFullname?: string | null;
313
+ /**
314
+ * multi-level subdivisions from top to bottom
315
+ * @maxSize 6
316
+ */
317
+ subdivisions?: Subdivision[];
318
+ }
319
+ /** @oneof */
320
+ interface AddressStreetOneOf {
321
+ /** a break down of the street to number and street name */
322
+ streetAddress?: StreetAddress;
323
+ /** Main address line (usually street and number) as free text */
324
+ addressLine?: string | null;
325
+ }
326
+ interface StreetAddress {
327
+ /** street number */
328
+ number?: string;
329
+ /** street name */
330
+ name?: string;
331
+ }
332
+ interface AddressLocation {
333
+ /**
334
+ * address latitude coordinates
335
+ * @min -90
336
+ * @max 90
337
+ */
338
+ latitude?: number | null;
339
+ /**
340
+ * address longitude coordinates
341
+ * @min -180
342
+ * @max 180
343
+ */
344
+ longitude?: number | null;
345
+ }
346
+ interface Subdivision {
347
+ /** subdivision short code */
348
+ code?: string;
349
+ /** subdivision full-name */
350
+ name?: string;
351
+ }
352
+ declare enum SubdivisionType {
353
+ UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
354
+ /** State */
355
+ ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
356
+ /** County */
357
+ ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
358
+ /** City/town */
359
+ ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
360
+ /** Neighborhood/quarter */
361
+ ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
362
+ /** Street/block */
363
+ ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
364
+ /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
365
+ COUNTRY = "COUNTRY"
366
+ }
367
+ /** @enumType */
368
+ 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';
369
+ interface ScheduleConfig {
370
+ /**
371
+ * Defines event as TBD (To Be Determined) schedule.
372
+ * When event time is not yet defined, TBD message is displayed instead of event start and end times.
373
+ * `startDate`, `endDate` and `timeZoneId` are not required when schedule is TBD.
374
+ */
375
+ scheduleTbd?: boolean;
376
+ /**
377
+ * TBD message.
378
+ * @maxLength 100
379
+ */
380
+ scheduleTbdMessage?: string | null;
381
+ /** Event start timestamp. */
382
+ startDate?: Date | null;
383
+ /** Event end timestamp. */
384
+ endDate?: Date | null;
385
+ /**
386
+ * Event time zone ID in TZ database format, e.g., `EST`, `America/Los_Angeles`.
387
+ * @maxLength 100
388
+ */
389
+ timeZoneId?: string | null;
390
+ /** Whether end date is hidden in the formatted schedule. */
391
+ endDateHidden?: boolean;
392
+ /** Whether time zone is displayed in formatted schedule. */
393
+ showTimeZone?: boolean;
394
+ /** Event recurrences. */
395
+ recurrences?: Recurrences;
396
+ }
397
+ interface Recurrences {
398
+ /**
399
+ * Event occurrences.
400
+ * @maxSize 1000
401
+ */
402
+ occurrences?: Occurrence[];
403
+ /**
404
+ * Recurring event category ID.
405
+ * @readonly
406
+ */
407
+ categoryId?: string | null;
408
+ /**
409
+ * Recurrence status.
410
+ * @readonly
411
+ */
412
+ status?: StatusWithLiterals;
413
+ }
414
+ interface Occurrence {
415
+ /** Event start timestamp. */
416
+ startDate?: Date | null;
417
+ /** Event end timestamp. */
418
+ endDate?: Date | null;
419
+ /**
420
+ * Event time zone ID in TZ database format, e.g., `EST`, `America/Los_Angeles`.
421
+ * @maxLength 100
422
+ */
423
+ timeZoneId?: string | null;
424
+ /** Whether time zone is displayed in formatted schedule. */
425
+ showTimeZone?: boolean;
426
+ }
427
+ declare enum Status {
428
+ /** Event occurs only once. */
429
+ ONE_TIME = "ONE_TIME",
430
+ /** Event is recurring. */
431
+ RECURRING = "RECURRING",
432
+ /** Marks the next upcoming occurrence of the recurring event. */
433
+ RECURRING_NEXT = "RECURRING_NEXT",
434
+ /** Marks the most recent ended occurrence of the recurring event. */
435
+ RECURRING_LAST_ENDED = "RECURRING_LAST_ENDED",
436
+ /** Marks the most recent canceled occurrence of the recurring event. */
437
+ RECURRING_LAST_CANCELED = "RECURRING_LAST_CANCELED"
438
+ }
439
+ /** @enumType */
440
+ type StatusWithLiterals = Status | 'ONE_TIME' | 'RECURRING' | 'RECURRING_NEXT' | 'RECURRING_LAST_ENDED' | 'RECURRING_LAST_CANCELED';
441
+ declare enum EventStatus {
442
+ /** Event is public and scheduled to start */
443
+ SCHEDULED = "SCHEDULED",
444
+ /** Event has started */
445
+ STARTED = "STARTED",
446
+ /** Event has ended */
447
+ ENDED = "ENDED",
448
+ /** Event was canceled */
449
+ CANCELED = "CANCELED"
450
+ }
451
+ /** @enumType */
452
+ type EventStatusWithLiterals = EventStatus | 'SCHEDULED' | 'STARTED' | 'ENDED' | 'CANCELED';
453
+ interface DomainEvent extends DomainEventBodyOneOf {
454
+ createdEvent?: EntityCreatedEvent;
455
+ updatedEvent?: EntityUpdatedEvent;
456
+ deletedEvent?: EntityDeletedEvent;
457
+ actionEvent?: ActionEvent;
458
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
459
+ id?: string;
460
+ /**
461
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
462
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
463
+ */
464
+ entityFqdn?: string;
465
+ /**
466
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
467
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
468
+ */
469
+ slug?: string;
470
+ /** ID of the entity associated with the event. */
471
+ entityId?: string;
472
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
473
+ eventTime?: Date | null;
474
+ /**
475
+ * Whether the event was triggered as a result of a privacy regulation application
476
+ * (for example, GDPR).
477
+ */
478
+ triggeredByAnonymizeRequest?: boolean | null;
479
+ /** If present, indicates the action that triggered the event. */
480
+ originatedFrom?: string | null;
481
+ /**
482
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
483
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
484
+ */
485
+ entityEventSequence?: string | null;
486
+ }
487
+ /** @oneof */
488
+ interface DomainEventBodyOneOf {
489
+ createdEvent?: EntityCreatedEvent;
490
+ updatedEvent?: EntityUpdatedEvent;
491
+ deletedEvent?: EntityDeletedEvent;
492
+ actionEvent?: ActionEvent;
493
+ }
494
+ interface EntityCreatedEvent {
495
+ entityAsJson?: string;
496
+ /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
497
+ restoreInfo?: RestoreInfo;
498
+ }
499
+ interface RestoreInfo {
500
+ deletedDate?: Date | null;
501
+ }
502
+ interface EntityUpdatedEvent {
503
+ /**
504
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
505
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
506
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
507
+ */
508
+ currentEntityAsJson?: string;
509
+ }
510
+ interface EntityDeletedEvent {
511
+ /** Entity that was deleted. */
512
+ deletedEntityAsJson?: string | null;
513
+ }
514
+ interface ActionEvent {
515
+ bodyAsJson?: string;
516
+ }
517
+ interface MessageEnvelope {
518
+ /**
519
+ * App instance ID.
520
+ * @format GUID
521
+ */
522
+ instanceId?: string | null;
523
+ /**
524
+ * Event type.
525
+ * @maxLength 150
526
+ */
527
+ eventType?: string;
528
+ /** The identification type and identity data. */
529
+ identity?: IdentificationData;
530
+ /** Stringify payload. */
531
+ data?: string;
532
+ }
533
+ interface IdentificationData extends IdentificationDataIdOneOf {
534
+ /**
535
+ * ID of a site visitor that has not logged in to the site.
536
+ * @format GUID
537
+ */
538
+ anonymousVisitorId?: string;
539
+ /**
540
+ * ID of a site visitor that has logged in to the site.
541
+ * @format GUID
542
+ */
543
+ memberId?: string;
544
+ /**
545
+ * ID of a Wix user (site owner, contributor, etc.).
546
+ * @format GUID
547
+ */
548
+ wixUserId?: string;
549
+ /**
550
+ * ID of an app.
551
+ * @format GUID
552
+ */
553
+ appId?: string;
554
+ /** @readonly */
555
+ identityType?: WebhookIdentityTypeWithLiterals;
556
+ }
557
+ /** @oneof */
558
+ interface IdentificationDataIdOneOf {
559
+ /**
560
+ * ID of a site visitor that has not logged in to the site.
561
+ * @format GUID
562
+ */
563
+ anonymousVisitorId?: string;
564
+ /**
565
+ * ID of a site visitor that has logged in to the site.
566
+ * @format GUID
567
+ */
568
+ memberId?: string;
569
+ /**
570
+ * ID of a Wix user (site owner, contributor, etc.).
571
+ * @format GUID
572
+ */
573
+ wixUserId?: string;
574
+ /**
575
+ * ID of an app.
576
+ * @format GUID
577
+ */
578
+ appId?: string;
579
+ }
580
+ declare enum WebhookIdentityType {
581
+ UNKNOWN = "UNKNOWN",
582
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
583
+ MEMBER = "MEMBER",
584
+ WIX_USER = "WIX_USER",
585
+ APP = "APP"
586
+ }
587
+ /** @enumType */
588
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
128
589
  interface TriggerNotificationRequest extends TriggerNotificationRequestNotificationOneOf, TriggerNotificationRequestGuestsOneOf {
129
590
  /** Email notification type */
130
591
  emailNotificationType?: EmailNotificationTypeWithLiterals;
@@ -227,72 +688,6 @@ interface TicketGuest {
227
688
  }
228
689
  interface TriggerNotificationResponse {
229
690
  }
230
- interface DomainEvent extends DomainEventBodyOneOf {
231
- createdEvent?: EntityCreatedEvent;
232
- updatedEvent?: EntityUpdatedEvent;
233
- deletedEvent?: EntityDeletedEvent;
234
- actionEvent?: ActionEvent;
235
- /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
236
- id?: string;
237
- /**
238
- * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
239
- * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
240
- */
241
- entityFqdn?: string;
242
- /**
243
- * Event action name, placed at the top level to make it easier for users to dispatch messages.
244
- * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
245
- */
246
- slug?: string;
247
- /** ID of the entity associated with the event. */
248
- entityId?: string;
249
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
250
- eventTime?: Date | null;
251
- /**
252
- * Whether the event was triggered as a result of a privacy regulation application
253
- * (for example, GDPR).
254
- */
255
- triggeredByAnonymizeRequest?: boolean | null;
256
- /** If present, indicates the action that triggered the event. */
257
- originatedFrom?: string | null;
258
- /**
259
- * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
260
- * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
261
- */
262
- entityEventSequence?: string | null;
263
- }
264
- /** @oneof */
265
- interface DomainEventBodyOneOf {
266
- createdEvent?: EntityCreatedEvent;
267
- updatedEvent?: EntityUpdatedEvent;
268
- deletedEvent?: EntityDeletedEvent;
269
- actionEvent?: ActionEvent;
270
- }
271
- interface EntityCreatedEvent {
272
- entityAsJson?: string;
273
- /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
274
- restoreInfo?: RestoreInfo;
275
- }
276
- interface RestoreInfo {
277
- deletedDate?: Date | null;
278
- }
279
- interface EntityUpdatedEvent {
280
- /**
281
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
282
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
283
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
284
- */
285
- currentEntityAsJson?: string;
286
- }
287
- interface EntityDeletedEvent {
288
- /** Entity that was deleted. */
289
- deletedEntityAsJson?: string | null;
290
- }
291
- interface ActionEvent {
292
- bodyAsJson?: string;
293
- }
294
- interface Empty {
295
- }
296
691
  /** Triggered when an order is confirmed. */
297
692
  interface OrderConfirmed {
298
693
  /** Date and time the order was confirmed. */
@@ -426,23 +821,6 @@ interface CommonSubdivision {
426
821
  /** Subdivision full name. */
427
822
  name?: string;
428
823
  }
429
- declare enum SubdivisionType {
430
- UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
431
- /** State */
432
- ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
433
- /** County */
434
- ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
435
- /** City/town */
436
- ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
437
- /** Neighborhood/quarter */
438
- ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
439
- /** Street/block */
440
- ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
441
- /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
442
- COUNTRY = "COUNTRY"
443
- }
444
- /** @enumType */
445
- 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';
446
824
  /** Subdivision Concordance values */
447
825
  interface StandardDetails {
448
826
  /**
@@ -740,630 +1118,252 @@ declare enum FeeType {
740
1118
  /** Seller absorbs the fee. It's deducted from the ticket price. */
741
1119
  FEE_INCLUDED = "FEE_INCLUDED",
742
1120
  /** Fee is added to the ticket price at checkout. */
743
- FEE_ADDED_AT_CHECKOUT = "FEE_ADDED_AT_CHECKOUT"
744
- }
745
- /** @enumType */
746
- type FeeTypeWithLiterals = FeeType | 'FEE_ADDED' | 'FEE_INCLUDED' | 'FEE_ADDED_AT_CHECKOUT';
747
- /** Produced if a buyer email was added to the existing order */
748
- interface OrderEmailAdded {
749
- /** Order updated timestamp in ISO UTC format. */
750
- timestamp?: Date | null;
751
- /**
752
- * Site language when Order initiated
753
- * @format LANGUAGE
754
- */
755
- language?: string | null;
756
- /**
757
- * Locale in which Order was created.
758
- * @format LANGUAGE_TAG
759
- */
760
- locale?: string | null;
761
- /** Notifications silenced for this domain event. */
762
- silent?: boolean | null;
763
- /**
764
- * Event ID.
765
- * @format GUID
766
- */
767
- eventId?: string;
768
- /**
769
- * Unique order number.
770
- * @maxLength 36
771
- */
772
- orderNumber?: string;
773
- /**
774
- * Contact ID associated with this order.
775
- * @format GUID
776
- */
777
- contactId?: string | null;
778
- /**
779
- * Member ID associated with this order.
780
- * @format GUID
781
- */
782
- memberId?: string | null;
783
- /**
784
- * Order created timestamp.
785
- * @readonly
786
- */
787
- created?: Date | null;
788
- /**
789
- * Order updated timestamp.
790
- * @readonly
791
- */
792
- updated?: Date | null;
793
- /**
794
- * Buyer first name.
795
- * @maxLength 255
796
- */
797
- firstName?: string | null;
798
- /**
799
- * Buyer last name.
800
- * @maxLength 255
801
- */
802
- lastName?: string | null;
803
- /**
804
- * Buyer email.
805
- * @format EMAIL
806
- */
807
- email?: string | null;
808
- /** Checkout form response. */
809
- checkoutForm?: FormResponse;
810
- /** Whether order is confirmed - occurs once payment gateway processes the payment and funds reach merchant's account. */
811
- confirmed?: boolean;
812
- /** Order status. */
813
- status?: OrderStatusWithLiterals;
814
- /**
815
- * Payment method used for paid tickets purchase, i.e. "payPal", "creditCard", etc.
816
- * @maxLength 100
817
- */
818
- method?: string | null;
819
- /**
820
- * Tickets generated after payment.
821
- * @maxSize 50
822
- */
823
- tickets?: Ticket[];
824
- /** Whether order was archived and excluded from results. */
825
- archived?: boolean;
826
- /**
827
- * Reservation ID associated with this order.
828
- * @format GUID
829
- */
830
- reservationId?: string;
831
- /** Whether marketing consent was given. */
832
- marketingConsent?: boolean | null;
833
- }
834
- /** Triggered when an order is paid. */
835
- interface OrderPaid {
836
- /** Date and time the order was paid. */
837
- timestamp?: Date | null;
838
- /**
839
- * Site language when the order was initiated.
840
- * @format LANGUAGE
841
- */
842
- language?: string | null;
843
- /** Notifications silenced for this domain event. */
844
- silent?: boolean | null;
845
- /**
846
- * Locale in which the order was created.
847
- * @format LANGUAGE_TAG
848
- */
849
- locale?: string | null;
850
- /**
851
- * Event ID to which the order belongs.
852
- * @format GUID
853
- */
854
- eventId?: string;
855
- /** Unique order number. */
856
- orderNumber?: string;
857
- /** Reservation ID associated with this order. */
858
- reservationId?: string;
859
- /**
860
- * Contact ID associated with this order.
861
- * @maxLength 36
862
- */
863
- contactId?: string;
864
- /**
865
- * Member ID associated with this order.
866
- * @format GUID
867
- */
868
- memberId?: string | null;
869
- /**
870
- * Date and time the order was created.
871
- * @readonly
872
- */
873
- created?: Date | null;
874
- /**
875
- * Buyer first name.
876
- * @maxLength 255
877
- */
878
- firstName?: string;
879
- /**
880
- * Buyer last name.
881
- * @maxLength 255
882
- */
883
- lastName?: string;
884
- /**
885
- * Buyer email address.
886
- * @maxLength 255
887
- */
888
- email?: string;
889
- /** Checkout form response. */
890
- checkoutForm?: FormResponse;
891
- /** Order status. */
892
- status?: OrderStatusWithLiterals;
893
- /**
894
- * Payment method used for paid tickets purchase, i.e. "payPal", "creditCard", etc.
895
- * @maxLength 255
896
- */
897
- method?: string | null;
898
- /**
899
- * Tickets (generated after payment).
900
- * @maxSize 50
901
- */
902
- tickets?: Ticket[];
903
- /** Invoice. */
904
- invoice?: Invoice;
1121
+ FEE_ADDED_AT_CHECKOUT = "FEE_ADDED_AT_CHECKOUT"
905
1122
  }
906
- interface TicketPdfResolved {
907
- /**
908
- * Optional order number
909
- * @maxLength 36
910
- */
911
- orderNumber?: string | null;
1123
+ /** @enumType */
1124
+ type FeeTypeWithLiterals = FeeType | 'FEE_ADDED' | 'FEE_INCLUDED' | 'FEE_ADDED_AT_CHECKOUT';
1125
+ /** Produced if a buyer email was added to the existing order */
1126
+ interface OrderEmailAdded {
1127
+ /** Order updated timestamp in ISO UTC format. */
1128
+ timestamp?: Date | null;
912
1129
  /**
913
- * Optional ticket number
914
- * @maxLength 36
1130
+ * Site language when Order initiated
1131
+ * @format LANGUAGE
915
1132
  */
916
- ticketNumber?: string | null;
1133
+ language?: string | null;
917
1134
  /**
918
- * Resolved download url
919
- * @format WEB_URL
1135
+ * Locale in which Order was created.
1136
+ * @format LANGUAGE_TAG
920
1137
  */
921
- downloadUrl?: string | null;
922
- /** Resolve status */
923
- resolveFailed?: boolean | null;
1138
+ locale?: string | null;
1139
+ /** Notifications silenced for this domain event. */
1140
+ silent?: boolean | null;
924
1141
  /**
925
- * Papyrus document id
1142
+ * Event ID.
926
1143
  * @format GUID
927
1144
  */
928
- documentId?: string | null;
929
- }
930
- interface TicketPdfResolveDelayed {
931
- /**
932
- * Optional order number
933
- * @maxLength 36
934
- */
935
- orderNumber?: string | null;
1145
+ eventId?: string;
936
1146
  /**
937
- * Optional ticket number
1147
+ * Unique order number.
938
1148
  * @maxLength 36
939
1149
  */
940
- ticketNumber?: string | null;
1150
+ orderNumber?: string;
941
1151
  /**
942
- * Papyrus document id
1152
+ * Contact ID associated with this order.
943
1153
  * @format GUID
944
1154
  */
945
- documentId?: string | null;
946
- }
947
- /** Triggered when an order is canceled. */
948
- interface OrderCanceled {
1155
+ contactId?: string | null;
949
1156
  /**
950
- * Event ID to which the order belongs.
1157
+ * Member ID associated with this order.
951
1158
  * @format GUID
952
1159
  */
953
- eventId?: string;
954
- /**
955
- * Unique order number.
956
- * @maxLength 36
957
- */
958
- orderNumber?: string;
1160
+ memberId?: string | null;
959
1161
  /**
960
- * Reservation ID associated with the order.
961
- * @format GUID
1162
+ * Order created timestamp.
1163
+ * @readonly
962
1164
  */
963
- reservationId?: string;
1165
+ created?: Date | null;
964
1166
  /**
965
- * Contact ID associated with the order.
966
- * @maxLength 36
1167
+ * Order updated timestamp.
1168
+ * @readonly
967
1169
  */
968
- contactId?: string;
1170
+ updated?: Date | null;
969
1171
  /**
970
1172
  * Buyer first name.
971
- * @maxLength 50
1173
+ * @maxLength 255
972
1174
  */
973
1175
  firstName?: string | null;
974
1176
  /**
975
1177
  * Buyer last name.
976
- * @maxLength 50
1178
+ * @maxLength 255
977
1179
  */
978
1180
  lastName?: string | null;
979
1181
  /**
980
- * Buyer email address.
981
- * @maxLength 255
1182
+ * Buyer email.
1183
+ * @format EMAIL
982
1184
  */
983
1185
  email?: string | null;
984
1186
  /** Checkout form response. */
985
1187
  checkoutForm?: FormResponse;
986
- /** Invoice. */
987
- invoice?: Invoice;
988
- }
989
- interface ResolveNotificationConfigRequest {
990
- /**
991
- * Id of the NotificationConfig to retrieve
992
- * @format GUID
993
- */
994
- notificationConfigId: string;
995
- }
996
- interface ResolveNotificationConfigResponse {
997
- /** The retrieved NotificationConfig */
998
- notificationConfig?: NotificationConfig;
999
- }
1000
- interface UpsertNotificationConfigRequest {
1001
- /** NotificationConfig to be upserted */
1002
- notificationConfig: NotificationConfig;
1003
- }
1004
- interface UpsertNotificationConfigResponse {
1005
- /** The upserted NotificationConfig */
1006
- notificationConfig?: NotificationConfig;
1007
- }
1008
- interface ResolveEmailNotificationConfigRequest {
1188
+ /** Whether order is confirmed - occurs once payment gateway processes the payment and funds reach merchant's account. */
1189
+ confirmed?: boolean;
1190
+ /** Order status. */
1191
+ status?: OrderStatusWithLiterals;
1009
1192
  /**
1010
- * Id of the NotificationConfig to retrieve
1011
- * @format GUID
1193
+ * Payment method used for paid tickets purchase, i.e. "payPal", "creditCard", etc.
1194
+ * @maxLength 100
1012
1195
  */
1013
- notificationConfigId?: string;
1014
- /** Notification type */
1015
- notificationType?: EmailNotificationTypeWithLiterals;
1016
- }
1017
- interface ResolveEmailNotificationConfigResponse {
1018
- /** The retrieved EmailNotificationConfig */
1019
- emailNotificationConfig?: EmailNotificationConfig;
1020
- }
1021
- interface EventCanceled {
1022
- /** Event canceled timestamp in ISO UTC format. */
1023
- timestamp?: Date | null;
1196
+ method?: string | null;
1024
1197
  /**
1025
- * Event ID.
1026
- * @format GUID
1198
+ * Tickets generated after payment.
1199
+ * @maxSize 50
1027
1200
  */
1028
- eventId?: string;
1029
- /** Event title */
1030
- title?: string;
1201
+ tickets?: Ticket[];
1202
+ /** Whether order was archived and excluded from results. */
1203
+ archived?: boolean;
1031
1204
  /**
1032
- * Event creator user ID.
1205
+ * Reservation ID associated with this order.
1033
1206
  * @format GUID
1034
1207
  */
1035
- userId?: string | null;
1036
- /** True if at least one guest is registered to the event with any attendance status. */
1037
- hasGuests?: boolean | null;
1208
+ reservationId?: string;
1209
+ /** Whether marketing consent was given. */
1210
+ marketingConsent?: boolean | null;
1038
1211
  }
1039
- interface EventDeleted {
1040
- /** Event deleted timestamp in ISO UTC format. */
1212
+ /** Triggered when an order is paid. */
1213
+ interface OrderPaid {
1214
+ /** Date and time the order was paid. */
1041
1215
  timestamp?: Date | null;
1042
1216
  /**
1043
- * Event ID.
1044
- * @format GUID
1217
+ * Site language when the order was initiated.
1218
+ * @format LANGUAGE
1045
1219
  */
1046
- eventId?: string;
1047
- /** Event title. */
1048
- title?: string;
1220
+ language?: string | null;
1221
+ /** Notifications silenced for this domain event. */
1222
+ silent?: boolean | null;
1049
1223
  /**
1050
- * Event creator user ID.
1051
- * @format GUID
1224
+ * Locale in which the order was created.
1225
+ * @format LANGUAGE_TAG
1052
1226
  */
1053
- userId?: string | null;
1054
- }
1055
- interface EventCopied {
1056
- /** Event created timestamp in ISO UTC format. */
1057
- timestamp?: Date | null;
1227
+ locale?: string | null;
1058
1228
  /**
1059
- * Event ID.
1229
+ * Event ID to which the order belongs.
1060
1230
  * @format GUID
1061
1231
  */
1062
1232
  eventId?: string;
1063
- /** Event location. */
1064
- location?: Location;
1065
- /** Event schedule configuration. */
1066
- scheduleConfig?: ScheduleConfig;
1067
- /** Event title. */
1068
- title?: string;
1069
- /**
1070
- * Event creator user ID.
1071
- * @format GUID
1072
- */
1073
- userId?: string | null;
1074
- /** Event status. */
1075
- status?: EventStatusWithLiterals;
1076
- /**
1077
- * Instance ID. Indicates the original app instance which current event was derived from.
1078
- * @format GUID
1079
- */
1080
- derivedFromInstanceId?: string | null;
1081
- /**
1082
- * Event ID. Indicates the original event which current event was derived from.
1083
- * @format GUID
1084
- */
1085
- derivedFromEventId?: string | null;
1086
- /**
1087
- * Map of copied ticket definitions from original event.
1088
- * Key represents ticket def id in the original event.
1089
- * Value represents ticket def id in the newly created event.
1090
- */
1091
- ticketDefinitions?: Record<string, string>;
1092
- }
1093
- interface Location {
1094
- /**
1095
- * Location name.
1096
- * @maxLength 50
1097
- */
1098
- name?: string | null;
1099
- /** Location map coordinates. */
1100
- coordinates?: MapCoordinates;
1101
- /**
1102
- * Single line address representation.
1103
- * @maxLength 300
1104
- */
1105
- address?: string | null;
1106
- /** Location type. */
1107
- type?: LocationTypeWithLiterals;
1108
- /**
1109
- * Full address derived from formatted single line `address`.
1110
- * When `full_address` is used to create or update the event, deprecated `address` and `coordinates` are ignored.
1111
- * If provided `full_address` has empty `formatted_address` or `coordinates`, it will be auto-completed using Atlas service.
1112
- *
1113
- * Migration notes:
1114
- * - `full_address.formatted_address` is equivalent to `address`.
1115
- * - `full_address.geocode` is equivalent to `coordinates`.
1116
- */
1117
- fullAddress?: Address;
1118
- /**
1119
- * Defines event location as TBD (To Be Determined).
1120
- * When event location is not yet defined, `name` is displayed instead of location address.
1121
- * `coordinates`, `address`, `type` and `full_address` are not required when location is TBD.
1122
- */
1123
- tbd?: boolean | null;
1124
- }
1125
- interface MapCoordinates {
1126
- /**
1127
- * Latitude.
1128
- * @min -90
1129
- * @max 90
1130
- */
1131
- lat?: number;
1132
- /**
1133
- * Longitude.
1134
- * @min -180
1135
- * @max 180
1136
- */
1137
- lng?: number;
1138
- }
1139
- declare enum LocationType {
1140
- VENUE = "VENUE",
1141
- ONLINE = "ONLINE"
1142
- }
1143
- /** @enumType */
1144
- type LocationTypeWithLiterals = LocationType | 'VENUE' | 'ONLINE';
1145
- /** Physical address */
1146
- interface Address extends AddressStreetOneOf {
1147
- /** a break down of the street to number and street name */
1148
- streetAddress?: StreetAddress;
1149
- /** Main address line (usually street and number) as free text */
1150
- addressLine?: string | null;
1233
+ /** Unique order number. */
1234
+ orderNumber?: string;
1235
+ /** Reservation ID associated with this order. */
1236
+ reservationId?: string;
1151
1237
  /**
1152
- * country code
1153
- * @format COUNTRY
1238
+ * Contact ID associated with this order.
1239
+ * @maxLength 36
1154
1240
  */
1155
- country?: string | null;
1156
- /** subdivision (usually state or region) code according to ISO 3166-2 */
1157
- subdivision?: string | null;
1158
- /** city name */
1159
- city?: string | null;
1160
- /** zip/postal code */
1161
- postalCode?: string | null;
1162
- /** Free text providing more detailed address info. Usually contains Apt, Suite, Floor */
1163
- addressLine2?: string | null;
1164
- /** A string containing the human-readable address of this location */
1165
- formattedAddress?: string | null;
1166
- /** Free text for human-to-human textual orientation aid purposes */
1167
- hint?: string | null;
1168
- /** coordinates of the physical address */
1169
- geocode?: AddressLocation;
1170
- /** country full-name */
1171
- countryFullname?: string | null;
1241
+ contactId?: string;
1172
1242
  /**
1173
- * multi-level subdivisions from top to bottom
1174
- * @maxSize 6
1243
+ * Member ID associated with this order.
1244
+ * @format GUID
1175
1245
  */
1176
- subdivisions?: Subdivision[];
1177
- }
1178
- /** @oneof */
1179
- interface AddressStreetOneOf {
1180
- /** a break down of the street to number and street name */
1181
- streetAddress?: StreetAddress;
1182
- /** Main address line (usually street and number) as free text */
1183
- addressLine?: string | null;
1184
- }
1185
- interface StreetAddress {
1186
- /** street number */
1187
- number?: string;
1188
- /** street name */
1189
- name?: string;
1190
- }
1191
- interface AddressLocation {
1246
+ memberId?: string | null;
1192
1247
  /**
1193
- * address latitude coordinates
1194
- * @min -90
1195
- * @max 90
1248
+ * Date and time the order was created.
1249
+ * @readonly
1196
1250
  */
1197
- latitude?: number | null;
1251
+ created?: Date | null;
1198
1252
  /**
1199
- * address longitude coordinates
1200
- * @min -180
1201
- * @max 180
1253
+ * Buyer first name.
1254
+ * @maxLength 255
1202
1255
  */
1203
- longitude?: number | null;
1204
- }
1205
- interface Subdivision {
1206
- /** subdivision short code */
1207
- code?: string;
1208
- /** subdivision full-name */
1209
- name?: string;
1210
- }
1211
- interface ScheduleConfig {
1256
+ firstName?: string;
1212
1257
  /**
1213
- * Defines event as TBD (To Be Determined) schedule.
1214
- * When event time is not yet defined, TBD message is displayed instead of event start and end times.
1215
- * `startDate`, `endDate` and `timeZoneId` are not required when schedule is TBD.
1258
+ * Buyer last name.
1259
+ * @maxLength 255
1216
1260
  */
1217
- scheduleTbd?: boolean;
1261
+ lastName?: string;
1218
1262
  /**
1219
- * TBD message.
1220
- * @maxLength 100
1263
+ * Buyer email address.
1264
+ * @maxLength 255
1221
1265
  */
1222
- scheduleTbdMessage?: string | null;
1223
- /** Event start timestamp. */
1224
- startDate?: Date | null;
1225
- /** Event end timestamp. */
1226
- endDate?: Date | null;
1266
+ email?: string;
1267
+ /** Checkout form response. */
1268
+ checkoutForm?: FormResponse;
1269
+ /** Order status. */
1270
+ status?: OrderStatusWithLiterals;
1227
1271
  /**
1228
- * Event time zone ID in TZ database format, e.g., `EST`, `America/Los_Angeles`.
1229
- * @maxLength 100
1272
+ * Payment method used for paid tickets purchase, i.e. "payPal", "creditCard", etc.
1273
+ * @maxLength 255
1230
1274
  */
1231
- timeZoneId?: string | null;
1232
- /** Whether end date is hidden in the formatted schedule. */
1233
- endDateHidden?: boolean;
1234
- /** Whether time zone is displayed in formatted schedule. */
1235
- showTimeZone?: boolean;
1236
- /** Event recurrences. */
1237
- recurrences?: Recurrences;
1275
+ method?: string | null;
1276
+ /**
1277
+ * Tickets (generated after payment).
1278
+ * @maxSize 50
1279
+ */
1280
+ tickets?: Ticket[];
1281
+ /** Invoice. */
1282
+ invoice?: Invoice;
1238
1283
  }
1239
- interface Recurrences {
1284
+ interface TicketPdfResolved {
1240
1285
  /**
1241
- * Event occurrences.
1242
- * @maxSize 1000
1286
+ * Optional order number
1287
+ * @maxLength 36
1243
1288
  */
1244
- occurrences?: Occurrence[];
1289
+ orderNumber?: string | null;
1245
1290
  /**
1246
- * Recurring event category ID.
1247
- * @readonly
1291
+ * Optional ticket number
1292
+ * @maxLength 36
1248
1293
  */
1249
- categoryId?: string | null;
1294
+ ticketNumber?: string | null;
1250
1295
  /**
1251
- * Recurrence status.
1252
- * @readonly
1296
+ * Resolved download url
1297
+ * @format WEB_URL
1253
1298
  */
1254
- status?: StatusWithLiterals;
1255
- }
1256
- interface Occurrence {
1257
- /** Event start timestamp. */
1258
- startDate?: Date | null;
1259
- /** Event end timestamp. */
1260
- endDate?: Date | null;
1299
+ downloadUrl?: string | null;
1300
+ /** Resolve status */
1301
+ resolveFailed?: boolean | null;
1261
1302
  /**
1262
- * Event time zone ID in TZ database format, e.g., `EST`, `America/Los_Angeles`.
1263
- * @maxLength 100
1303
+ * Papyrus document id
1304
+ * @format GUID
1264
1305
  */
1265
- timeZoneId?: string | null;
1266
- /** Whether time zone is displayed in formatted schedule. */
1267
- showTimeZone?: boolean;
1268
- }
1269
- declare enum Status {
1270
- /** Event occurs only once. */
1271
- ONE_TIME = "ONE_TIME",
1272
- /** Event is recurring. */
1273
- RECURRING = "RECURRING",
1274
- /** Marks the next upcoming occurrence of the recurring event. */
1275
- RECURRING_NEXT = "RECURRING_NEXT",
1276
- /** Marks the most recent ended occurrence of the recurring event. */
1277
- RECURRING_LAST_ENDED = "RECURRING_LAST_ENDED",
1278
- /** Marks the most recent canceled occurrence of the recurring event. */
1279
- RECURRING_LAST_CANCELED = "RECURRING_LAST_CANCELED"
1280
- }
1281
- /** @enumType */
1282
- type StatusWithLiterals = Status | 'ONE_TIME' | 'RECURRING' | 'RECURRING_NEXT' | 'RECURRING_LAST_ENDED' | 'RECURRING_LAST_CANCELED';
1283
- declare enum EventStatus {
1284
- /** Event is public and scheduled to start */
1285
- SCHEDULED = "SCHEDULED",
1286
- /** Event has started */
1287
- STARTED = "STARTED",
1288
- /** Event has ended */
1289
- ENDED = "ENDED",
1290
- /** Event was canceled */
1291
- CANCELED = "CANCELED"
1306
+ documentId?: string | null;
1292
1307
  }
1293
- /** @enumType */
1294
- type EventStatusWithLiterals = EventStatus | 'SCHEDULED' | 'STARTED' | 'ENDED' | 'CANCELED';
1295
- interface MessageEnvelope {
1308
+ interface TicketPdfResolveDelayed {
1296
1309
  /**
1297
- * App instance ID.
1298
- * @format GUID
1310
+ * Optional order number
1311
+ * @maxLength 36
1299
1312
  */
1300
- instanceId?: string | null;
1313
+ orderNumber?: string | null;
1301
1314
  /**
1302
- * Event type.
1303
- * @maxLength 150
1315
+ * Optional ticket number
1316
+ * @maxLength 36
1304
1317
  */
1305
- eventType?: string;
1306
- /** The identification type and identity data. */
1307
- identity?: IdentificationData;
1308
- /** Stringify payload. */
1309
- data?: string;
1310
- }
1311
- interface IdentificationData extends IdentificationDataIdOneOf {
1318
+ ticketNumber?: string | null;
1312
1319
  /**
1313
- * ID of a site visitor that has not logged in to the site.
1320
+ * Papyrus document id
1314
1321
  * @format GUID
1315
1322
  */
1316
- anonymousVisitorId?: string;
1323
+ documentId?: string | null;
1324
+ }
1325
+ /** Triggered when an order is canceled. */
1326
+ interface OrderCanceled {
1317
1327
  /**
1318
- * ID of a site visitor that has logged in to the site.
1328
+ * Event ID to which the order belongs.
1319
1329
  * @format GUID
1320
1330
  */
1321
- memberId?: string;
1331
+ eventId?: string;
1322
1332
  /**
1323
- * ID of a Wix user (site owner, contributor, etc.).
1324
- * @format GUID
1333
+ * Unique order number.
1334
+ * @maxLength 36
1325
1335
  */
1326
- wixUserId?: string;
1336
+ orderNumber?: string;
1327
1337
  /**
1328
- * ID of an app.
1338
+ * Reservation ID associated with the order.
1329
1339
  * @format GUID
1330
1340
  */
1331
- appId?: string;
1332
- /** @readonly */
1333
- identityType?: WebhookIdentityTypeWithLiterals;
1334
- }
1335
- /** @oneof */
1336
- interface IdentificationDataIdOneOf {
1341
+ reservationId?: string;
1337
1342
  /**
1338
- * ID of a site visitor that has not logged in to the site.
1339
- * @format GUID
1343
+ * Contact ID associated with the order.
1344
+ * @maxLength 36
1340
1345
  */
1341
- anonymousVisitorId?: string;
1346
+ contactId?: string;
1342
1347
  /**
1343
- * ID of a site visitor that has logged in to the site.
1344
- * @format GUID
1348
+ * Buyer first name.
1349
+ * @maxLength 50
1345
1350
  */
1346
- memberId?: string;
1351
+ firstName?: string | null;
1347
1352
  /**
1348
- * ID of a Wix user (site owner, contributor, etc.).
1349
- * @format GUID
1353
+ * Buyer last name.
1354
+ * @maxLength 50
1350
1355
  */
1351
- wixUserId?: string;
1356
+ lastName?: string | null;
1352
1357
  /**
1353
- * ID of an app.
1354
- * @format GUID
1358
+ * Buyer email address.
1359
+ * @maxLength 255
1355
1360
  */
1356
- appId?: string;
1357
- }
1358
- declare enum WebhookIdentityType {
1359
- UNKNOWN = "UNKNOWN",
1360
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
1361
- MEMBER = "MEMBER",
1362
- WIX_USER = "WIX_USER",
1363
- APP = "APP"
1361
+ email?: string | null;
1362
+ /** Checkout form response. */
1363
+ checkoutForm?: FormResponse;
1364
+ /** Invoice. */
1365
+ invoice?: Invoice;
1364
1366
  }
1365
- /** @enumType */
1366
- type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
1367
1367
 
1368
1368
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
1369
1369
  getUrl: (context: any) => string;
@@ -1375,12 +1375,12 @@ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q
1375
1375
  __responseType: Q;
1376
1376
  __originalResponseType: R;
1377
1377
  };
1378
- declare function triggerNotification(): __PublicMethodMetaInfo<'POST', {}, TriggerNotificationRequest$1, TriggerNotificationRequest, TriggerNotificationResponse$1, TriggerNotificationResponse>;
1379
1378
  declare function resolveNotificationConfig(): __PublicMethodMetaInfo<'GET', {
1380
1379
  notificationConfigId: string;
1381
1380
  }, ResolveNotificationConfigRequest$1, ResolveNotificationConfigRequest, ResolveNotificationConfigResponse$1, ResolveNotificationConfigResponse>;
1382
1381
  declare function upsertNotificationConfig(): __PublicMethodMetaInfo<'POST', {
1383
1382
  notificationConfigId: string;
1384
1383
  }, UpsertNotificationConfigRequest$1, UpsertNotificationConfigRequest, UpsertNotificationConfigResponse$1, UpsertNotificationConfigResponse>;
1384
+ declare function triggerNotification(): __PublicMethodMetaInfo<'POST', {}, TriggerNotificationRequest$1, TriggerNotificationRequest, TriggerNotificationResponse$1, TriggerNotificationResponse>;
1385
1385
 
1386
1386
  export { type ActionEvent as ActionEventOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressStreetOneOf as AddressStreetOneOfOriginal, type CheckIn as CheckInOriginal, type CommonAddressLocation as CommonAddressLocationOriginal, type CommonAddress as CommonAddressOriginal, type CommonAddressStreetOneOf as CommonAddressStreetOneOfOriginal, type CommonStreetAddress as CommonStreetAddressOriginal, type CommonSubdivision as CommonSubdivisionOriginal, type CouponDiscount as CouponDiscountOriginal, type DiscountItemDiscountOneOf as DiscountItemDiscountOneOfOriginal, type DiscountItem as DiscountItemOriginal, type Discount as DiscountOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EmailNotificationConfig as EmailNotificationConfigOriginal, EmailNotificationReminderTime as EmailNotificationReminderTimeOriginal, type EmailNotificationReminderTimeWithLiterals as EmailNotificationReminderTimeWithLiteralsOriginal, EmailNotificationType as EmailNotificationTypeOriginal, type EmailNotificationTypeWithLiterals as EmailNotificationTypeWithLiteralsOriginal, type EmailTemplate as EmailTemplateOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type EventCanceled as EventCanceledOriginal, type EventCopied as EventCopiedOriginal, type EventDeleted as EventDeletedOriginal, type EventGuests as EventGuestsOriginal, EventStatus as EventStatusOriginal, type EventStatusWithLiterals as EventStatusWithLiteralsOriginal, FeeName as FeeNameOriginal, type FeeNameWithLiterals as FeeNameWithLiteralsOriginal, type Fee as FeeOriginal, FeeType as FeeTypeOriginal, type FeeTypeWithLiterals as FeeTypeWithLiteralsOriginal, type FormResponse as FormResponseOriginal, type FormattedAddress as FormattedAddressOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type InputValue as InputValueOriginal, type Invoice as InvoiceOriginal, type Item as ItemOriginal, type Link as LinkOriginal, type Location as LocationOriginal, LocationType as LocationTypeOriginal, type LocationTypeWithLiterals as LocationTypeWithLiteralsOriginal, type MapCoordinates as MapCoordinatesOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type Money as MoneyOriginal, type NotificationConfig as NotificationConfigOriginal, type Occurrence as OccurrenceOriginal, type OnlineConferencingLogin as OnlineConferencingLoginOriginal, type OrderCanceled as OrderCanceledOriginal, type OrderConfirmed as OrderConfirmedOriginal, type OrderEmailAdded as OrderEmailAddedOriginal, type OrderGuest as OrderGuestOriginal, type OrderPaid as OrderPaidOriginal, OrderStatus as OrderStatusOriginal, type OrderStatusWithLiterals as OrderStatusWithLiteralsOriginal, type PaidPlanDiscountDiscountOneOf as PaidPlanDiscountDiscountOneOfOriginal, type PaidPlanDiscount as PaidPlanDiscountOriginal, type PercentDiscount as PercentDiscountOriginal, PushNotificationType as PushNotificationTypeOriginal, type PushNotificationTypeWithLiterals as PushNotificationTypeWithLiteralsOriginal, type Recurrences as RecurrencesOriginal, type ResolveEmailNotificationConfigRequest as ResolveEmailNotificationConfigRequestOriginal, type ResolveEmailNotificationConfigResponse as ResolveEmailNotificationConfigResponseOriginal, type ResolveNotificationConfigRequest as ResolveNotificationConfigRequestOriginal, type ResolveNotificationConfigResponse as ResolveNotificationConfigResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type RsvpGuest as RsvpGuestOriginal, type ScheduleConfig as ScheduleConfigOriginal, type StandardDetails as StandardDetailsOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type StreetAddress as StreetAddressOriginal, type Subdivision as SubdivisionOriginal, SubdivisionType as SubdivisionTypeOriginal, type SubdivisionTypeWithLiterals as SubdivisionTypeWithLiteralsOriginal, type Tax as TaxOriginal, TaxType as TaxTypeOriginal, type TaxTypeWithLiterals as TaxTypeWithLiteralsOriginal, type TicketGuest as TicketGuestOriginal, type Ticket as TicketOriginal, type TicketPdfResolveDelayed as TicketPdfResolveDelayedOriginal, type TicketPdfResolved as TicketPdfResolvedOriginal, type TriggerNotificationRequestGuestsOneOf as TriggerNotificationRequestGuestsOneOfOriginal, type TriggerNotificationRequestNotificationOneOf as TriggerNotificationRequestNotificationOneOfOriginal, type TriggerNotificationRequest as TriggerNotificationRequestOriginal, type TriggerNotificationResponse as TriggerNotificationResponseOriginal, type UpsertNotificationConfigRequest as UpsertNotificationConfigRequestOriginal, type UpsertNotificationConfigResponse as UpsertNotificationConfigResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, resolveNotificationConfig, triggerNotification, upsertNotificationConfig };