@wix/auto_sdk_events_wix-events-v-2 1.0.56 → 1.0.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/meta.d.ts +820 -1
- package/build/cjs/meta.js +538 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/meta.d.mts +820 -1
- package/build/es/meta.mjs +480 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/meta.d.ts +820 -1
- package/build/internal/cjs/meta.js +538 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/meta.d.mts +820 -1
- package/build/internal/es/meta.mjs +480 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
package/build/cjs/meta.d.ts
CHANGED
|
@@ -215,6 +215,49 @@ interface StreetAddress {
|
|
|
215
215
|
*/
|
|
216
216
|
name?: string;
|
|
217
217
|
}
|
|
218
|
+
interface AddressLocation {
|
|
219
|
+
/**
|
|
220
|
+
* Address latitude coordinates.
|
|
221
|
+
* @min -90
|
|
222
|
+
* @max 90
|
|
223
|
+
*/
|
|
224
|
+
latitude?: number | null;
|
|
225
|
+
/**
|
|
226
|
+
* Address longitude coordinates.
|
|
227
|
+
* @min -180
|
|
228
|
+
* @max 180
|
|
229
|
+
*/
|
|
230
|
+
longitude?: number | null;
|
|
231
|
+
}
|
|
232
|
+
interface Subdivision {
|
|
233
|
+
/**
|
|
234
|
+
* Short subdivision code.
|
|
235
|
+
* @maxLength 100
|
|
236
|
+
*/
|
|
237
|
+
code?: string;
|
|
238
|
+
/**
|
|
239
|
+
* Subdivision full name.
|
|
240
|
+
* @maxLength 250
|
|
241
|
+
*/
|
|
242
|
+
name?: string;
|
|
243
|
+
}
|
|
244
|
+
declare enum SubdivisionType {
|
|
245
|
+
UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
|
|
246
|
+
/** State */
|
|
247
|
+
ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
|
|
248
|
+
/** County */
|
|
249
|
+
ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
|
|
250
|
+
/** City/town */
|
|
251
|
+
ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
|
|
252
|
+
/** Neighborhood/quarter */
|
|
253
|
+
ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
|
|
254
|
+
/** Street/block */
|
|
255
|
+
ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
|
|
256
|
+
/** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
|
|
257
|
+
COUNTRY = "COUNTRY"
|
|
258
|
+
}
|
|
259
|
+
/** @enumType */
|
|
260
|
+
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';
|
|
218
261
|
interface DateAndTimeSettings {
|
|
219
262
|
/** Whether the event date and time are TBD. */
|
|
220
263
|
dateAndTimeTbd?: boolean | null;
|
|
@@ -334,6 +377,24 @@ interface Formatted {
|
|
|
334
377
|
*/
|
|
335
378
|
endTime?: string | null;
|
|
336
379
|
}
|
|
380
|
+
/**
|
|
381
|
+
* A coarse-grained representation of time duration divided into whole constituting components of days, hours, and minutes.
|
|
382
|
+
* For example, 25.5 hours duration is represented as `{ days: 1, hours: 1, minutes: 30 }`.
|
|
383
|
+
*/
|
|
384
|
+
interface TimeDuration {
|
|
385
|
+
/** Number of days. */
|
|
386
|
+
days?: number;
|
|
387
|
+
/**
|
|
388
|
+
* Number of hours.
|
|
389
|
+
* @max 24
|
|
390
|
+
*/
|
|
391
|
+
hours?: number;
|
|
392
|
+
/**
|
|
393
|
+
* Number of minutes.
|
|
394
|
+
* @max 60
|
|
395
|
+
*/
|
|
396
|
+
minutes?: number;
|
|
397
|
+
}
|
|
337
398
|
declare enum Status {
|
|
338
399
|
/** Unknown event status. */
|
|
339
400
|
UNKNOWN_EVENT_STATUS = "UNKNOWN_EVENT_STATUS",
|
|
@@ -447,6 +508,50 @@ declare enum ResponseType {
|
|
|
447
508
|
}
|
|
448
509
|
/** @enumType */
|
|
449
510
|
type ResponseTypeWithLiterals = ResponseType | 'UNKNOWN_RESPONSE_TYPE' | 'YES_ONLY' | 'YES_AND_NO';
|
|
511
|
+
interface RsvpConfirmationMessages {
|
|
512
|
+
/** Messages displayed when an RSVP's `status` is set to `"YES"`. */
|
|
513
|
+
positiveConfirmation?: PositiveResponseConfirmation;
|
|
514
|
+
/** Messages displayed when an RSVP's `status` is set to `"WAITLIST"`, for when the event is full and a waitlist is available). */
|
|
515
|
+
waitlistMessages?: PositiveResponseConfirmation;
|
|
516
|
+
/** Messages displayed when an RSVP's `status` is set to `"NO"`. */
|
|
517
|
+
negativeMessages?: NegativeResponseConfirmation;
|
|
518
|
+
}
|
|
519
|
+
/** Confirmation shown after then registration when RSVP response is positive. */
|
|
520
|
+
interface PositiveResponseConfirmation {
|
|
521
|
+
/**
|
|
522
|
+
* Confirmation message title.
|
|
523
|
+
* @maxLength 150
|
|
524
|
+
*/
|
|
525
|
+
title?: string | null;
|
|
526
|
+
/**
|
|
527
|
+
* Confirmation message text.
|
|
528
|
+
* @maxLength 350
|
|
529
|
+
*/
|
|
530
|
+
message?: string | null;
|
|
531
|
+
/**
|
|
532
|
+
* "Add to calendar" call-to-action label text.
|
|
533
|
+
* @maxLength 50
|
|
534
|
+
*/
|
|
535
|
+
addToCalendarActionLabel?: string | null;
|
|
536
|
+
/**
|
|
537
|
+
* "Share event" call-to-action label text.
|
|
538
|
+
* @maxLength 50
|
|
539
|
+
*/
|
|
540
|
+
shareActionLabel?: string | null;
|
|
541
|
+
}
|
|
542
|
+
/** Confirmation shown after then registration when RSVP response is negative. */
|
|
543
|
+
interface NegativeResponseConfirmation {
|
|
544
|
+
/**
|
|
545
|
+
* Confirmation message title.
|
|
546
|
+
* @maxLength 150
|
|
547
|
+
*/
|
|
548
|
+
title?: string | null;
|
|
549
|
+
/**
|
|
550
|
+
* "Share event" call-to-action label text.
|
|
551
|
+
* @maxLength 50
|
|
552
|
+
*/
|
|
553
|
+
shareActionLabel?: string | null;
|
|
554
|
+
}
|
|
450
555
|
interface TicketsRegistration {
|
|
451
556
|
/** Whether the registration form must be filled out separately for each ticket. */
|
|
452
557
|
guestsAssignedSeparately?: boolean;
|
|
@@ -531,6 +636,42 @@ declare enum TaxType {
|
|
|
531
636
|
}
|
|
532
637
|
/** @enumType */
|
|
533
638
|
type TaxTypeWithLiterals = TaxType | 'UNKNOWN_TAX_TYPE' | 'INCLUDED_IN_PRICE' | 'ADDED_AT_CHECKOUT';
|
|
639
|
+
interface TicketsConfirmationMessages {
|
|
640
|
+
/**
|
|
641
|
+
* Confirmation message title.
|
|
642
|
+
* @maxLength 150
|
|
643
|
+
*/
|
|
644
|
+
title?: string | null;
|
|
645
|
+
/**
|
|
646
|
+
* Confirmation message text.
|
|
647
|
+
* @maxLength 350
|
|
648
|
+
*/
|
|
649
|
+
message?: string | null;
|
|
650
|
+
/**
|
|
651
|
+
* "Download tickets" call-to-action label text.
|
|
652
|
+
* @maxLength 50
|
|
653
|
+
*/
|
|
654
|
+
downloadTicketsLabel?: string | null;
|
|
655
|
+
/**
|
|
656
|
+
* "Add to calendar" call-to-action label text.
|
|
657
|
+
* @maxLength 50
|
|
658
|
+
*/
|
|
659
|
+
addToCalendarActionLabel?: string | null;
|
|
660
|
+
/**
|
|
661
|
+
* "Share event" call-to-action label text.
|
|
662
|
+
* @maxLength 50
|
|
663
|
+
*/
|
|
664
|
+
shareActionLabel?: string | null;
|
|
665
|
+
}
|
|
666
|
+
declare enum CheckoutType {
|
|
667
|
+
UNKNOWN_CHECKOUT_TYPE = "UNKNOWN_CHECKOUT_TYPE",
|
|
668
|
+
/** Checkout using Events App. */
|
|
669
|
+
EVENTS_APP = "EVENTS_APP",
|
|
670
|
+
/** Checkout using Ecomm Platform. */
|
|
671
|
+
ECOMM_PLATFORM = "ECOMM_PLATFORM"
|
|
672
|
+
}
|
|
673
|
+
/** @enumType */
|
|
674
|
+
type CheckoutTypeWithLiterals = CheckoutType | 'UNKNOWN_CHECKOUT_TYPE' | 'EVENTS_APP' | 'ECOMM_PLATFORM';
|
|
534
675
|
interface ExternalRegistration {
|
|
535
676
|
/**
|
|
536
677
|
* External event registration URL.
|
|
@@ -930,6 +1071,10 @@ interface GuestListSettings {
|
|
|
930
1071
|
/** Whether the guest list is displayed publicly to all guests. */
|
|
931
1072
|
displayedPublicly?: boolean;
|
|
932
1073
|
}
|
|
1074
|
+
interface Feed {
|
|
1075
|
+
/** Event discussion feed token. */
|
|
1076
|
+
token?: string;
|
|
1077
|
+
}
|
|
933
1078
|
interface OnlineConferencing {
|
|
934
1079
|
/** Whether online conferencing is enabled. Not applicable for events where date and time are TBD. When enabled, links to join the conference are generated and provided to guests. */
|
|
935
1080
|
enabled?: boolean;
|
|
@@ -1061,12 +1206,58 @@ interface AgendaSettings {
|
|
|
1061
1206
|
*/
|
|
1062
1207
|
pageUrl?: PageUrl;
|
|
1063
1208
|
}
|
|
1209
|
+
interface EventCategories {
|
|
1210
|
+
/**
|
|
1211
|
+
* Event categories.
|
|
1212
|
+
* @maxSize 10
|
|
1213
|
+
*/
|
|
1214
|
+
categories?: EventCategory[];
|
|
1215
|
+
}
|
|
1216
|
+
interface EventCategory {
|
|
1217
|
+
/**
|
|
1218
|
+
* Category ID.
|
|
1219
|
+
* @format GUID
|
|
1220
|
+
* @readonly
|
|
1221
|
+
*/
|
|
1222
|
+
id?: string;
|
|
1223
|
+
/**
|
|
1224
|
+
* Category name.
|
|
1225
|
+
* @minLength 1
|
|
1226
|
+
* @maxLength 30
|
|
1227
|
+
*/
|
|
1228
|
+
name?: string;
|
|
1229
|
+
/**
|
|
1230
|
+
* Category creation timestamp.
|
|
1231
|
+
* @readonly
|
|
1232
|
+
*/
|
|
1233
|
+
createdDate?: Date | null;
|
|
1234
|
+
/**
|
|
1235
|
+
* Category is hidden.
|
|
1236
|
+
* @readonly
|
|
1237
|
+
*/
|
|
1238
|
+
hidden?: boolean;
|
|
1239
|
+
/**
|
|
1240
|
+
* Category type.
|
|
1241
|
+
* @readonly
|
|
1242
|
+
*/
|
|
1243
|
+
type?: TypeWithLiterals;
|
|
1244
|
+
}
|
|
1245
|
+
declare enum Type {
|
|
1246
|
+
/** Created manually by the user. */
|
|
1247
|
+
MANUAL = "MANUAL",
|
|
1248
|
+
/** Created automatically when publishing recurring events. */
|
|
1249
|
+
RECURRING_EVENT = "RECURRING_EVENT"
|
|
1250
|
+
}
|
|
1251
|
+
/** @enumType */
|
|
1252
|
+
type TypeWithLiterals = Type | 'MANUAL' | 'RECURRING_EVENT';
|
|
1064
1253
|
interface EventDisplaySettings {
|
|
1065
1254
|
/** Whether event details button is hidden. Only available for events with no registration. */
|
|
1066
1255
|
hideEventDetailsButton?: boolean | null;
|
|
1067
1256
|
/** Disables event details page visibility. If event has an external registration configured visitors will be redirected from this page. */
|
|
1068
1257
|
hideEventDetailsPage?: boolean | null;
|
|
1069
1258
|
}
|
|
1259
|
+
interface LabellingSettings {
|
|
1260
|
+
}
|
|
1070
1261
|
interface RichContent {
|
|
1071
1262
|
/** Node objects representing a rich content document. */
|
|
1072
1263
|
nodes?: Node[];
|
|
@@ -2691,6 +2882,27 @@ interface BorderColors {
|
|
|
2691
2882
|
*/
|
|
2692
2883
|
bottom?: string | null;
|
|
2693
2884
|
}
|
|
2885
|
+
/**
|
|
2886
|
+
* `NullValue` is a singleton enumeration to represent the null value for the
|
|
2887
|
+
* `Value` type union.
|
|
2888
|
+
*
|
|
2889
|
+
* The JSON representation for `NullValue` is JSON `null`.
|
|
2890
|
+
*/
|
|
2891
|
+
declare enum NullValue {
|
|
2892
|
+
/** Null value. */
|
|
2893
|
+
NULL_VALUE = "NULL_VALUE"
|
|
2894
|
+
}
|
|
2895
|
+
/** @enumType */
|
|
2896
|
+
type NullValueWithLiterals = NullValue | 'NULL_VALUE';
|
|
2897
|
+
/**
|
|
2898
|
+
* `ListValue` is a wrapper around a repeated field of values.
|
|
2899
|
+
*
|
|
2900
|
+
* The JSON representation for `ListValue` is JSON array.
|
|
2901
|
+
*/
|
|
2902
|
+
interface ListValue {
|
|
2903
|
+
/** Repeated field of dynamically typed values. */
|
|
2904
|
+
values?: any[];
|
|
2905
|
+
}
|
|
2694
2906
|
interface AudioData {
|
|
2695
2907
|
/** Styling for the audio node's container. */
|
|
2696
2908
|
containerData?: PluginContainerData;
|
|
@@ -2777,6 +2989,184 @@ interface TextNodeStyle {
|
|
|
2777
2989
|
/** Line height for text in the node. */
|
|
2778
2990
|
lineHeight?: string | null;
|
|
2779
2991
|
}
|
|
2992
|
+
interface BadgeList {
|
|
2993
|
+
/**
|
|
2994
|
+
* Events badges.
|
|
2995
|
+
* @maxSize 10
|
|
2996
|
+
*/
|
|
2997
|
+
badges?: Badge[];
|
|
2998
|
+
}
|
|
2999
|
+
interface Badge {
|
|
3000
|
+
/** Badge type. */
|
|
3001
|
+
type?: BadgeTypeTypeWithLiterals;
|
|
3002
|
+
/**
|
|
3003
|
+
* Badge text.
|
|
3004
|
+
* @maxLength 50
|
|
3005
|
+
*/
|
|
3006
|
+
text?: string | null;
|
|
3007
|
+
}
|
|
3008
|
+
declare enum BadgeTypeType {
|
|
3009
|
+
/** Unknown badge type. */
|
|
3010
|
+
UNKNOWN_BADGE_TYPE = "UNKNOWN_BADGE_TYPE",
|
|
3011
|
+
/** 1st priority badge type. */
|
|
3012
|
+
FIRST_PRIORITY = "FIRST_PRIORITY",
|
|
3013
|
+
/** 2nd priority badge type. */
|
|
3014
|
+
SECOND_PRIORITY = "SECOND_PRIORITY",
|
|
3015
|
+
/** 3rd priority badge type. */
|
|
3016
|
+
THIRD_PRIORITY = "THIRD_PRIORITY"
|
|
3017
|
+
}
|
|
3018
|
+
/** @enumType */
|
|
3019
|
+
type BadgeTypeTypeWithLiterals = BadgeTypeType | 'UNKNOWN_BADGE_TYPE' | 'FIRST_PRIORITY' | 'SECOND_PRIORITY' | 'THIRD_PRIORITY';
|
|
3020
|
+
interface EventStarted {
|
|
3021
|
+
/** Event schedule configuration. */
|
|
3022
|
+
timestamp?: Date | null;
|
|
3023
|
+
/**
|
|
3024
|
+
* Event ID.
|
|
3025
|
+
* @format GUID
|
|
3026
|
+
*/
|
|
3027
|
+
eventId?: string;
|
|
3028
|
+
/** Whether at least 1 guest is registered to the event with any attendance status. */
|
|
3029
|
+
hasGuests?: boolean | null;
|
|
3030
|
+
}
|
|
3031
|
+
interface EventEnded {
|
|
3032
|
+
/** Event end timestamp in ISO UTC format. */
|
|
3033
|
+
timestamp?: Date | null;
|
|
3034
|
+
/**
|
|
3035
|
+
* Event ID.
|
|
3036
|
+
* @format GUID
|
|
3037
|
+
*/
|
|
3038
|
+
eventId?: string;
|
|
3039
|
+
/** Whether at least 1 guest is registered to the event with any attendance status. */
|
|
3040
|
+
hasGuests?: boolean | null;
|
|
3041
|
+
}
|
|
3042
|
+
interface EventReminder {
|
|
3043
|
+
/** Reminder timestamp in ISO UTC format. */
|
|
3044
|
+
timestamp?: Date | null;
|
|
3045
|
+
/**
|
|
3046
|
+
* Event ID.
|
|
3047
|
+
* @format GUID
|
|
3048
|
+
*/
|
|
3049
|
+
eventId?: string;
|
|
3050
|
+
/** Event location. */
|
|
3051
|
+
location?: Location;
|
|
3052
|
+
/** Event schedule configuration. */
|
|
3053
|
+
dateAndTimeSettings?: DateAndTimeSettings;
|
|
3054
|
+
/**
|
|
3055
|
+
* Event title.
|
|
3056
|
+
* @minLength 1
|
|
3057
|
+
* @maxLength 120
|
|
3058
|
+
*/
|
|
3059
|
+
title?: string;
|
|
3060
|
+
/**
|
|
3061
|
+
* ID of the user who created the event.
|
|
3062
|
+
* @format GUID
|
|
3063
|
+
*/
|
|
3064
|
+
userId?: string | null;
|
|
3065
|
+
/** Time until the start of event. By default, the reminder letter is triggered 1 day before the start of event. */
|
|
3066
|
+
startsIn?: TimeDuration;
|
|
3067
|
+
/** Whether at least 1 guest is registered to the event with any attendance status. */
|
|
3068
|
+
hasGuests?: boolean | null;
|
|
3069
|
+
}
|
|
3070
|
+
interface EventPublished {
|
|
3071
|
+
/** Event publishing timestamp in ISO UTC format. */
|
|
3072
|
+
timestamp?: Date | null;
|
|
3073
|
+
/**
|
|
3074
|
+
* Event ID.
|
|
3075
|
+
* @format GUID
|
|
3076
|
+
*/
|
|
3077
|
+
eventId?: string;
|
|
3078
|
+
/** Event status. */
|
|
3079
|
+
status?: StatusWithLiterals;
|
|
3080
|
+
/**
|
|
3081
|
+
* Event ID. Indicates the original event from which the current event was derived from.
|
|
3082
|
+
* Can be used to track the original event and add missing information.
|
|
3083
|
+
* @format GUID
|
|
3084
|
+
*/
|
|
3085
|
+
derivedFromEventId?: string | null;
|
|
3086
|
+
/**
|
|
3087
|
+
* Event title.
|
|
3088
|
+
* @minLength 1
|
|
3089
|
+
* @maxLength 120
|
|
3090
|
+
*/
|
|
3091
|
+
title?: string | null;
|
|
3092
|
+
/**
|
|
3093
|
+
* Short description that appears under the event title.
|
|
3094
|
+
* @maxLength 500
|
|
3095
|
+
*/
|
|
3096
|
+
shortDescription?: string | null;
|
|
3097
|
+
/** Event location. */
|
|
3098
|
+
location?: Location;
|
|
3099
|
+
/** Event date and time settings. */
|
|
3100
|
+
dateAndTimeSettings?: DateAndTimeSettings;
|
|
3101
|
+
/** Event page URL components. */
|
|
3102
|
+
eventPageUrl?: PageUrl;
|
|
3103
|
+
/** RSVP or ticketing registration details. */
|
|
3104
|
+
registration?: Registration;
|
|
3105
|
+
}
|
|
3106
|
+
interface EventCloned {
|
|
3107
|
+
/** Event creation timestamp in ISO UTC format. */
|
|
3108
|
+
timestamp?: Date | null;
|
|
3109
|
+
/**
|
|
3110
|
+
* Event ID.
|
|
3111
|
+
* @format GUID
|
|
3112
|
+
*/
|
|
3113
|
+
eventId?: string;
|
|
3114
|
+
/** Event location. */
|
|
3115
|
+
location?: Location;
|
|
3116
|
+
/** Event date and time settings. */
|
|
3117
|
+
dateAndTimeSettings?: DateAndTimeSettings;
|
|
3118
|
+
/**
|
|
3119
|
+
* Event title.
|
|
3120
|
+
* @minLength 1
|
|
3121
|
+
* @maxLength 120
|
|
3122
|
+
*/
|
|
3123
|
+
title?: string;
|
|
3124
|
+
/**
|
|
3125
|
+
* ID of the user who created the event.
|
|
3126
|
+
* @format GUID
|
|
3127
|
+
*/
|
|
3128
|
+
userId?: string | null;
|
|
3129
|
+
/** Event status. */
|
|
3130
|
+
status?: StatusWithLiterals;
|
|
3131
|
+
/**
|
|
3132
|
+
* Instance ID. Indicates the original app instance from which current event was derived from.
|
|
3133
|
+
* @format GUID
|
|
3134
|
+
*/
|
|
3135
|
+
derivedFromInstanceId?: string | null;
|
|
3136
|
+
/**
|
|
3137
|
+
* Event ID. Indicates the original event from which current event was derived from.
|
|
3138
|
+
* @format GUID
|
|
3139
|
+
*/
|
|
3140
|
+
derivedFromEventId?: string | null;
|
|
3141
|
+
/**
|
|
3142
|
+
* Map of copied ticket definitions from the original event. <br>
|
|
3143
|
+
* Key represents ticket definition ID in the original event. <br>
|
|
3144
|
+
* Value represents ticket definition ID in the newly event.
|
|
3145
|
+
*/
|
|
3146
|
+
ticketDefinitions?: Record<string, string>;
|
|
3147
|
+
}
|
|
3148
|
+
interface EventCanceled {
|
|
3149
|
+
/** Event cancellation timestamp in ISO UTC format. */
|
|
3150
|
+
timestamp?: Date | null;
|
|
3151
|
+
/**
|
|
3152
|
+
* Event ID.
|
|
3153
|
+
* @format GUID
|
|
3154
|
+
*/
|
|
3155
|
+
eventId?: string;
|
|
3156
|
+
/**
|
|
3157
|
+
* Event title.
|
|
3158
|
+
* @minLength 1
|
|
3159
|
+
* @maxLength 120
|
|
3160
|
+
*/
|
|
3161
|
+
title?: string;
|
|
3162
|
+
/**
|
|
3163
|
+
* ID of the user who created the event.
|
|
3164
|
+
* @format GUID
|
|
3165
|
+
*/
|
|
3166
|
+
userId?: string | null;
|
|
3167
|
+
/** Whether at least 1 guest is registered to the event with any attendance status. */
|
|
3168
|
+
hasGuests?: boolean | null;
|
|
3169
|
+
}
|
|
2780
3170
|
interface CreateEventRequest {
|
|
2781
3171
|
/** Event data. */
|
|
2782
3172
|
event: Event;
|
|
@@ -2840,6 +3230,27 @@ interface CloneEventResponse {
|
|
|
2840
3230
|
/** Cloned event. */
|
|
2841
3231
|
event?: Event;
|
|
2842
3232
|
}
|
|
3233
|
+
interface CloneEventFromOtherSiteRequest {
|
|
3234
|
+
/**
|
|
3235
|
+
* Event ID.
|
|
3236
|
+
* @format GUID
|
|
3237
|
+
*/
|
|
3238
|
+
eventId?: string | null;
|
|
3239
|
+
/**
|
|
3240
|
+
* Origin instance ID.
|
|
3241
|
+
* @format GUID
|
|
3242
|
+
*/
|
|
3243
|
+
instanceId?: string | null;
|
|
3244
|
+
/**
|
|
3245
|
+
* Predefined sets of fields to return.
|
|
3246
|
+
* @maxSize 20
|
|
3247
|
+
*/
|
|
3248
|
+
fields?: RequestedFieldsWithLiterals[];
|
|
3249
|
+
}
|
|
3250
|
+
interface CloneEventFromOtherSiteResponse {
|
|
3251
|
+
/** Cloned event. */
|
|
3252
|
+
event?: Event;
|
|
3253
|
+
}
|
|
2843
3254
|
interface UpdateEventRequest {
|
|
2844
3255
|
/** Event info to update. */
|
|
2845
3256
|
event?: Event;
|
|
@@ -3001,6 +3412,105 @@ interface CommonCursors {
|
|
|
3001
3412
|
/** Cursor pointing to the previous page in the list of results. */
|
|
3002
3413
|
prev?: string | null;
|
|
3003
3414
|
}
|
|
3415
|
+
interface ExportEventsRequest {
|
|
3416
|
+
/** Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language) for more details. */
|
|
3417
|
+
query?: QueryV2;
|
|
3418
|
+
}
|
|
3419
|
+
interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
3420
|
+
/** Paging options to limit and offset the number of items. */
|
|
3421
|
+
paging?: Paging;
|
|
3422
|
+
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
3423
|
+
cursorPaging?: CursorPaging;
|
|
3424
|
+
/**
|
|
3425
|
+
* Filter object.
|
|
3426
|
+
*
|
|
3427
|
+
* Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).
|
|
3428
|
+
*/
|
|
3429
|
+
filter?: Record<string, any> | null;
|
|
3430
|
+
/**
|
|
3431
|
+
* Sort object.
|
|
3432
|
+
*
|
|
3433
|
+
* Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).
|
|
3434
|
+
*/
|
|
3435
|
+
sort?: Sorting[];
|
|
3436
|
+
/** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */
|
|
3437
|
+
fields?: string[];
|
|
3438
|
+
/** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */
|
|
3439
|
+
fieldsets?: string[];
|
|
3440
|
+
}
|
|
3441
|
+
/** @oneof */
|
|
3442
|
+
interface QueryV2PagingMethodOneOf {
|
|
3443
|
+
/** Paging options to limit and offset the number of items. */
|
|
3444
|
+
paging?: Paging;
|
|
3445
|
+
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
3446
|
+
cursorPaging?: CursorPaging;
|
|
3447
|
+
}
|
|
3448
|
+
interface Sorting {
|
|
3449
|
+
/**
|
|
3450
|
+
* Name of the field to sort by.
|
|
3451
|
+
* @maxLength 512
|
|
3452
|
+
*/
|
|
3453
|
+
fieldName?: string;
|
|
3454
|
+
/** Sort order. */
|
|
3455
|
+
order?: SortOrderWithLiterals;
|
|
3456
|
+
}
|
|
3457
|
+
declare enum SortOrder {
|
|
3458
|
+
ASC = "ASC",
|
|
3459
|
+
DESC = "DESC"
|
|
3460
|
+
}
|
|
3461
|
+
/** @enumType */
|
|
3462
|
+
type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
3463
|
+
interface Paging {
|
|
3464
|
+
/** Number of items to load. */
|
|
3465
|
+
limit?: number | null;
|
|
3466
|
+
/** Number of items to skip in the current sort order. */
|
|
3467
|
+
offset?: number | null;
|
|
3468
|
+
}
|
|
3469
|
+
interface CursorPaging {
|
|
3470
|
+
/**
|
|
3471
|
+
* Maximum number of items to return in the results.
|
|
3472
|
+
* @max 100
|
|
3473
|
+
*/
|
|
3474
|
+
limit?: number | null;
|
|
3475
|
+
/**
|
|
3476
|
+
* Pointer to the next or previous page in the list of results.
|
|
3477
|
+
*
|
|
3478
|
+
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
3479
|
+
* Not relevant for the first request.
|
|
3480
|
+
* @maxLength 16000
|
|
3481
|
+
*/
|
|
3482
|
+
cursor?: string | null;
|
|
3483
|
+
}
|
|
3484
|
+
interface ExportEventsResponse {
|
|
3485
|
+
/** Metadata for the paginated results. */
|
|
3486
|
+
pagingMetadata?: PagingMetadataV2;
|
|
3487
|
+
/** List of events. */
|
|
3488
|
+
events?: Event[];
|
|
3489
|
+
}
|
|
3490
|
+
interface PagingMetadataV2 {
|
|
3491
|
+
/** Number of items returned in the response. */
|
|
3492
|
+
count?: number | null;
|
|
3493
|
+
/** Offset that was requested. */
|
|
3494
|
+
offset?: number | null;
|
|
3495
|
+
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
3496
|
+
total?: number | null;
|
|
3497
|
+
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
3498
|
+
tooManyToCount?: boolean | null;
|
|
3499
|
+
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
3500
|
+
cursors?: Cursors;
|
|
3501
|
+
}
|
|
3502
|
+
interface Cursors {
|
|
3503
|
+
/**
|
|
3504
|
+
* Cursor string pointing to the next page in the list of results.
|
|
3505
|
+
* @maxLength 16000
|
|
3506
|
+
*/
|
|
3507
|
+
next?: string | null;
|
|
3508
|
+
/**
|
|
3509
|
+
* Cursor pointing to the previous page in the list of results.
|
|
3510
|
+
* @maxLength 16000
|
|
3511
|
+
*/
|
|
3512
|
+
prev?: string | null;
|
|
3513
|
+
}
|
|
3004
3514
|
interface CountEventsByStatusRequest {
|
|
3005
3515
|
/** Filter object in the following format: <br/> `"filter" : { "fieldName1": "value1" }`. */
|
|
3006
3516
|
filter?: Record<string, any> | null;
|
|
@@ -3026,6 +3536,77 @@ interface FacetCounts {
|
|
|
3026
3536
|
/** Facet counts aggregated per value */
|
|
3027
3537
|
counts?: Record<string, number>;
|
|
3028
3538
|
}
|
|
3539
|
+
interface ListUserEventsRequest {
|
|
3540
|
+
/** Paging options to limit and skip the number of items. */
|
|
3541
|
+
paging?: CommonPaging;
|
|
3542
|
+
/**
|
|
3543
|
+
* Sort order, defaults to `"created:asc"`.
|
|
3544
|
+
* See [supported fields](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort#wix-events_wix-events_filter-and-sort_list-query-events).
|
|
3545
|
+
* @maxSize 20
|
|
3546
|
+
*/
|
|
3547
|
+
sort?: CommonSorting[];
|
|
3548
|
+
/**
|
|
3549
|
+
* Event status.
|
|
3550
|
+
* @maxSize 20
|
|
3551
|
+
*/
|
|
3552
|
+
status?: StatusWithLiterals[];
|
|
3553
|
+
/** Allows to filter events by user relation to the event among all wix sites. */
|
|
3554
|
+
userFilter?: UserFilter;
|
|
3555
|
+
/**
|
|
3556
|
+
* Filter facets to include in the response.
|
|
3557
|
+
* See [supported facets](https://dev.wix.com/api/rest/wix-events/wix-events/filter-and-sort#wix-events_wix-events_filter-and-sort_list-query-events).
|
|
3558
|
+
* @maxLength 100
|
|
3559
|
+
* @maxSize 20
|
|
3560
|
+
*/
|
|
3561
|
+
facet?: string[];
|
|
3562
|
+
}
|
|
3563
|
+
interface UserFilter {
|
|
3564
|
+
/**
|
|
3565
|
+
* User who is related to the event.
|
|
3566
|
+
* @format GUID
|
|
3567
|
+
*/
|
|
3568
|
+
userId?: string;
|
|
3569
|
+
/**
|
|
3570
|
+
* Relation of user to the event.
|
|
3571
|
+
* @minSize 1
|
|
3572
|
+
* @maxSize 20
|
|
3573
|
+
*/
|
|
3574
|
+
relation?: RelationWithLiterals[];
|
|
3575
|
+
}
|
|
3576
|
+
declare enum Relation {
|
|
3577
|
+
/** User is attending the event. The user RSVP'd with status of `YES` or has ordered tickets. */
|
|
3578
|
+
ATTENDING = "ATTENDING"
|
|
3579
|
+
}
|
|
3580
|
+
/** @enumType */
|
|
3581
|
+
type RelationWithLiterals = Relation | 'ATTENDING';
|
|
3582
|
+
interface ListUserEventsResponse {
|
|
3583
|
+
/** Metadata for the paginated results. */
|
|
3584
|
+
pagingMetadata?: CommonPagingMetadataV2;
|
|
3585
|
+
/** List of events. */
|
|
3586
|
+
events?: Event[];
|
|
3587
|
+
/** Filter facets. */
|
|
3588
|
+
facets?: Record<string, FacetCounts>;
|
|
3589
|
+
}
|
|
3590
|
+
interface ListEventsByCategoryRequest {
|
|
3591
|
+
/**
|
|
3592
|
+
* Category ID.
|
|
3593
|
+
* @format GUID
|
|
3594
|
+
*/
|
|
3595
|
+
categoryId?: string;
|
|
3596
|
+
/** Paging options to limit and skip the number of items. */
|
|
3597
|
+
paging?: CommonPaging;
|
|
3598
|
+
/**
|
|
3599
|
+
* Predefined sets of fields to return. If both `fields` and `fieldsets` are sent in the request, the union of both lists is returned.
|
|
3600
|
+
* @maxSize 20
|
|
3601
|
+
*/
|
|
3602
|
+
fields?: RequestedFieldsWithLiterals[];
|
|
3603
|
+
}
|
|
3604
|
+
interface ListEventsByCategoryResponse {
|
|
3605
|
+
/** Metadata for the paginated results. */
|
|
3606
|
+
pagingMetadata?: CommonPagingMetadataV2;
|
|
3607
|
+
/** List of events. */
|
|
3608
|
+
events?: Event[];
|
|
3609
|
+
}
|
|
3029
3610
|
interface GetEventRequest {
|
|
3030
3611
|
/**
|
|
3031
3612
|
* Event ID.
|
|
@@ -3056,6 +3637,244 @@ interface GetEventBySlugResponse {
|
|
|
3056
3637
|
/** Event. */
|
|
3057
3638
|
event?: Event;
|
|
3058
3639
|
}
|
|
3640
|
+
interface FindEventRequest extends FindEventRequestFindByOneOf {
|
|
3641
|
+
/**
|
|
3642
|
+
* Event ID.
|
|
3643
|
+
* @format GUID
|
|
3644
|
+
*/
|
|
3645
|
+
eventId?: string | null;
|
|
3646
|
+
/**
|
|
3647
|
+
* URL slug.
|
|
3648
|
+
* @minLength 1
|
|
3649
|
+
* @maxLength 130
|
|
3650
|
+
*/
|
|
3651
|
+
slug?: string | null;
|
|
3652
|
+
/**
|
|
3653
|
+
* Predefined sets of fields to return.
|
|
3654
|
+
* @maxSize 20
|
|
3655
|
+
*/
|
|
3656
|
+
fields?: RequestedFieldsWithLiterals[];
|
|
3657
|
+
}
|
|
3658
|
+
/** @oneof */
|
|
3659
|
+
interface FindEventRequestFindByOneOf {
|
|
3660
|
+
/**
|
|
3661
|
+
* Event ID.
|
|
3662
|
+
* @format GUID
|
|
3663
|
+
*/
|
|
3664
|
+
eventId?: string | null;
|
|
3665
|
+
/**
|
|
3666
|
+
* URL slug.
|
|
3667
|
+
* @minLength 1
|
|
3668
|
+
* @maxLength 130
|
|
3669
|
+
*/
|
|
3670
|
+
slug?: string | null;
|
|
3671
|
+
}
|
|
3672
|
+
interface FindEventResponse {
|
|
3673
|
+
/** Event. */
|
|
3674
|
+
event?: Event;
|
|
3675
|
+
}
|
|
3676
|
+
interface Empty {
|
|
3677
|
+
}
|
|
3678
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
3679
|
+
createdEvent?: EntityCreatedEvent;
|
|
3680
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
3681
|
+
deletedEvent?: EntityDeletedEvent;
|
|
3682
|
+
actionEvent?: ActionEvent;
|
|
3683
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
3684
|
+
id?: string;
|
|
3685
|
+
/**
|
|
3686
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
3687
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
3688
|
+
*/
|
|
3689
|
+
entityFqdn?: string;
|
|
3690
|
+
/**
|
|
3691
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
3692
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
3693
|
+
*/
|
|
3694
|
+
slug?: string;
|
|
3695
|
+
/** ID of the entity associated with the event. */
|
|
3696
|
+
entityId?: string;
|
|
3697
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
3698
|
+
eventTime?: Date | null;
|
|
3699
|
+
/**
|
|
3700
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
3701
|
+
* (for example, GDPR).
|
|
3702
|
+
*/
|
|
3703
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
3704
|
+
/** If present, indicates the action that triggered the event. */
|
|
3705
|
+
originatedFrom?: string | null;
|
|
3706
|
+
/**
|
|
3707
|
+
* 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.
|
|
3708
|
+
* 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.
|
|
3709
|
+
*/
|
|
3710
|
+
entityEventSequence?: string | null;
|
|
3711
|
+
}
|
|
3712
|
+
/** @oneof */
|
|
3713
|
+
interface DomainEventBodyOneOf {
|
|
3714
|
+
createdEvent?: EntityCreatedEvent;
|
|
3715
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
3716
|
+
deletedEvent?: EntityDeletedEvent;
|
|
3717
|
+
actionEvent?: ActionEvent;
|
|
3718
|
+
}
|
|
3719
|
+
interface EntityCreatedEvent {
|
|
3720
|
+
entityAsJson?: string;
|
|
3721
|
+
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
3722
|
+
restoreInfo?: RestoreInfo;
|
|
3723
|
+
}
|
|
3724
|
+
interface RestoreInfo {
|
|
3725
|
+
deletedDate?: Date | null;
|
|
3726
|
+
}
|
|
3727
|
+
interface EntityUpdatedEvent {
|
|
3728
|
+
/**
|
|
3729
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
3730
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
3731
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
3732
|
+
*/
|
|
3733
|
+
currentEntityAsJson?: string;
|
|
3734
|
+
}
|
|
3735
|
+
interface EntityDeletedEvent {
|
|
3736
|
+
/** Entity that was deleted. */
|
|
3737
|
+
deletedEntityAsJson?: string | null;
|
|
3738
|
+
}
|
|
3739
|
+
interface ActionEvent {
|
|
3740
|
+
bodyAsJson?: string;
|
|
3741
|
+
}
|
|
3742
|
+
interface MessageEnvelope {
|
|
3743
|
+
/**
|
|
3744
|
+
* App instance ID.
|
|
3745
|
+
* @format GUID
|
|
3746
|
+
*/
|
|
3747
|
+
instanceId?: string | null;
|
|
3748
|
+
/**
|
|
3749
|
+
* Event type.
|
|
3750
|
+
* @maxLength 150
|
|
3751
|
+
*/
|
|
3752
|
+
eventType?: string;
|
|
3753
|
+
/** The identification type and identity data. */
|
|
3754
|
+
identity?: IdentificationData;
|
|
3755
|
+
/** Stringify payload. */
|
|
3756
|
+
data?: string;
|
|
3757
|
+
}
|
|
3758
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
3759
|
+
/**
|
|
3760
|
+
* ID of a site visitor that has not logged in to the site.
|
|
3761
|
+
* @format GUID
|
|
3762
|
+
*/
|
|
3763
|
+
anonymousVisitorId?: string;
|
|
3764
|
+
/**
|
|
3765
|
+
* ID of a site visitor that has logged in to the site.
|
|
3766
|
+
* @format GUID
|
|
3767
|
+
*/
|
|
3768
|
+
memberId?: string;
|
|
3769
|
+
/**
|
|
3770
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
3771
|
+
* @format GUID
|
|
3772
|
+
*/
|
|
3773
|
+
wixUserId?: string;
|
|
3774
|
+
/**
|
|
3775
|
+
* ID of an app.
|
|
3776
|
+
* @format GUID
|
|
3777
|
+
*/
|
|
3778
|
+
appId?: string;
|
|
3779
|
+
/** @readonly */
|
|
3780
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
3781
|
+
}
|
|
3782
|
+
/** @oneof */
|
|
3783
|
+
interface IdentificationDataIdOneOf {
|
|
3784
|
+
/**
|
|
3785
|
+
* ID of a site visitor that has not logged in to the site.
|
|
3786
|
+
* @format GUID
|
|
3787
|
+
*/
|
|
3788
|
+
anonymousVisitorId?: string;
|
|
3789
|
+
/**
|
|
3790
|
+
* ID of a site visitor that has logged in to the site.
|
|
3791
|
+
* @format GUID
|
|
3792
|
+
*/
|
|
3793
|
+
memberId?: string;
|
|
3794
|
+
/**
|
|
3795
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
3796
|
+
* @format GUID
|
|
3797
|
+
*/
|
|
3798
|
+
wixUserId?: string;
|
|
3799
|
+
/**
|
|
3800
|
+
* ID of an app.
|
|
3801
|
+
* @format GUID
|
|
3802
|
+
*/
|
|
3803
|
+
appId?: string;
|
|
3804
|
+
}
|
|
3805
|
+
declare enum WebhookIdentityType {
|
|
3806
|
+
UNKNOWN = "UNKNOWN",
|
|
3807
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
3808
|
+
MEMBER = "MEMBER",
|
|
3809
|
+
WIX_USER = "WIX_USER",
|
|
3810
|
+
APP = "APP"
|
|
3811
|
+
}
|
|
3812
|
+
/** @enumType */
|
|
3813
|
+
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
3814
|
+
/** @docsIgnore */
|
|
3815
|
+
type CreateEventApplicationErrors = {
|
|
3816
|
+
code?: 'INVALID_SLUG_FORMAT';
|
|
3817
|
+
description?: string;
|
|
3818
|
+
data?: Record<string, any>;
|
|
3819
|
+
} | {
|
|
3820
|
+
code?: 'EVENT_LIMIT_REACHED';
|
|
3821
|
+
description?: string;
|
|
3822
|
+
data?: Record<string, any>;
|
|
3823
|
+
} | {
|
|
3824
|
+
code?: 'SLUG_ALREADY_IN_USE';
|
|
3825
|
+
description?: string;
|
|
3826
|
+
data?: Record<string, any>;
|
|
3827
|
+
};
|
|
3828
|
+
/** @docsIgnore */
|
|
3829
|
+
type CreateEventValidationErrors = {
|
|
3830
|
+
ruleName?: 'INVALID_EVENT_CONFIGURATION';
|
|
3831
|
+
};
|
|
3832
|
+
/** @docsIgnore */
|
|
3833
|
+
type UpdateEventApplicationErrors = {
|
|
3834
|
+
code?: 'INVALID_EVENT_STATUS_TRANSITION';
|
|
3835
|
+
description?: string;
|
|
3836
|
+
data?: Record<string, any>;
|
|
3837
|
+
} | {
|
|
3838
|
+
code?: 'INVALID_SLUG_FORMAT';
|
|
3839
|
+
description?: string;
|
|
3840
|
+
data?: Record<string, any>;
|
|
3841
|
+
} | {
|
|
3842
|
+
code?: 'SLUG_ALREADY_IN_USE';
|
|
3843
|
+
description?: string;
|
|
3844
|
+
data?: Record<string, any>;
|
|
3845
|
+
};
|
|
3846
|
+
/** @docsIgnore */
|
|
3847
|
+
type UpdateEventValidationErrors = {
|
|
3848
|
+
ruleName?: 'INVALID_EVENT_CONFIGURATION';
|
|
3849
|
+
};
|
|
3850
|
+
/** @docsIgnore */
|
|
3851
|
+
type PublishDraftEventApplicationErrors = {
|
|
3852
|
+
code?: 'INVALID_EVENT_STATUS_TRANSITION';
|
|
3853
|
+
description?: string;
|
|
3854
|
+
data?: Record<string, any>;
|
|
3855
|
+
} | {
|
|
3856
|
+
code?: 'EVENT_ALREADY_PUBLISHED';
|
|
3857
|
+
description?: string;
|
|
3858
|
+
data?: Record<string, any>;
|
|
3859
|
+
};
|
|
3860
|
+
/** @docsIgnore */
|
|
3861
|
+
type CancelEventApplicationErrors = {
|
|
3862
|
+
code?: 'INVALID_EVENT_STATUS_TRANSITION';
|
|
3863
|
+
description?: string;
|
|
3864
|
+
data?: Record<string, any>;
|
|
3865
|
+
};
|
|
3866
|
+
/** @docsIgnore */
|
|
3867
|
+
type QueryEventsApplicationErrors = {
|
|
3868
|
+
code?: 'FILTER_PARSER_ERROR';
|
|
3869
|
+
description?: string;
|
|
3870
|
+
data?: Record<string, any>;
|
|
3871
|
+
};
|
|
3872
|
+
/** @docsIgnore */
|
|
3873
|
+
type CountEventsByStatusApplicationErrors = {
|
|
3874
|
+
code?: 'FILTER_PARSER_ERROR';
|
|
3875
|
+
description?: string;
|
|
3876
|
+
data?: Record<string, any>;
|
|
3877
|
+
};
|
|
3059
3878
|
|
|
3060
3879
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
3061
3880
|
getUrl: (context: any) => string;
|
|
@@ -3094,4 +3913,4 @@ declare function getEventBySlug(): __PublicMethodMetaInfo<'GET', {
|
|
|
3094
3913
|
slug: string;
|
|
3095
3914
|
}, GetEventBySlugRequest$1, GetEventBySlugRequest, GetEventBySlugResponse$1, GetEventBySlugResponse>;
|
|
3096
3915
|
|
|
3097
|
-
export { type __PublicMethodMetaInfo, bulkCancelEventsByFilter, bulkDeleteEventsByFilter, cancelEvent, cloneEvent, countEventsByStatus, createEvent, deleteEvent, getEvent, getEventBySlug, publishDraftEvent, queryEvents, updateEvent };
|
|
3916
|
+
export { type ActionEvent as ActionEventOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressStreetOneOf as AddressStreetOneOfOriginal, type AgendaSettings as AgendaSettingsOriginal, Alignment as AlignmentOriginal, type AlignmentWithLiterals as AlignmentWithLiteralsOriginal, type AnchorData as AnchorDataOriginal, type AppEmbedDataAppDataOneOf as AppEmbedDataAppDataOneOfOriginal, type AppEmbedData as AppEmbedDataOriginal, AppType as AppTypeOriginal, type AppTypeWithLiterals as AppTypeWithLiteralsOriginal, AspectRatio as AspectRatioOriginal, type AspectRatioWithLiterals as AspectRatioWithLiteralsOriginal, type AudioData as AudioDataOriginal, type BackgroundBackgroundOneOf as BackgroundBackgroundOneOfOriginal, type Background as BackgroundOriginal, BackgroundType as BackgroundTypeOriginal, type BackgroundTypeWithLiterals as BackgroundTypeWithLiteralsOriginal, type BadgeList as BadgeListOriginal, type Badge as BadgeOriginal, BadgeTypeType as BadgeTypeTypeOriginal, type BadgeTypeTypeWithLiterals as BadgeTypeTypeWithLiteralsOriginal, type BlockquoteData as BlockquoteDataOriginal, type BookingData as BookingDataOriginal, type BorderColors as BorderColorsOriginal, type Border as BorderOriginal, type BulkCancelEventsByFilterRequest as BulkCancelEventsByFilterRequestOriginal, type BulkCancelEventsByFilterResponse as BulkCancelEventsByFilterResponseOriginal, type BulkDeleteEventsByFilterRequest as BulkDeleteEventsByFilterRequestOriginal, type BulkDeleteEventsByFilterResponse as BulkDeleteEventsByFilterResponseOriginal, type BulletedListData as BulletedListDataOriginal, type ButtonData as ButtonDataOriginal, ButtonDataType as ButtonDataTypeOriginal, type ButtonDataTypeWithLiterals as ButtonDataTypeWithLiteralsOriginal, type ButtonStyles as ButtonStylesOriginal, type CalendarUrls as CalendarUrlsOriginal, type CancelEventApplicationErrors as CancelEventApplicationErrorsOriginal, type CancelEventRequest as CancelEventRequestOriginal, type CancelEventResponse as CancelEventResponseOriginal, type CaptionData as CaptionDataOriginal, type CardStyles as CardStylesOriginal, CardStylesType as CardStylesTypeOriginal, type CardStylesTypeWithLiterals as CardStylesTypeWithLiteralsOriginal, type CellStyle as CellStyleOriginal, type CheckoutFormMessages as CheckoutFormMessagesOriginal, CheckoutType as CheckoutTypeOriginal, type CheckoutTypeWithLiterals as CheckoutTypeWithLiteralsOriginal, type CloneEventFromOtherSiteRequest as CloneEventFromOtherSiteRequestOriginal, type CloneEventFromOtherSiteResponse as CloneEventFromOtherSiteResponseOriginal, type CloneEventRequest as CloneEventRequestOriginal, type CloneEventResponse as CloneEventResponseOriginal, type CodeBlockData as CodeBlockDataOriginal, type CollapsibleListData as CollapsibleListDataOriginal, type ColorData as ColorDataOriginal, type Colors as ColorsOriginal, type CommonCursors as CommonCursorsOriginal, type CommonPagingMetadataV2 as CommonPagingMetadataV2Original, type CommonPaging as CommonPagingOriginal, type CommonQueryV2 as CommonQueryV2Original, type CommonQueryV2PagingMethodOneOf as CommonQueryV2PagingMethodOneOfOriginal, CommonSortOrder as CommonSortOrderOriginal, type CommonSortOrderWithLiterals as CommonSortOrderWithLiteralsOriginal, type CommonSorting as CommonSortingOriginal, ConferenceTypeType as ConferenceTypeTypeOriginal, type ConferenceTypeTypeWithLiterals as ConferenceTypeTypeWithLiteralsOriginal, type CountEventsByStatusApplicationErrors as CountEventsByStatusApplicationErrorsOriginal, type CountEventsByStatusRequest as CountEventsByStatusRequestOriginal, type CountEventsByStatusResponse as CountEventsByStatusResponseOriginal, type CreateEventApplicationErrors as CreateEventApplicationErrorsOriginal, type CreateEventRequest as CreateEventRequestOriginal, type CreateEventResponse as CreateEventResponseOriginal, type CreateEventValidationErrors as CreateEventValidationErrorsOriginal, Crop as CropOriginal, type CropWithLiterals as CropWithLiteralsOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type DateAndTimeSettings as DateAndTimeSettingsOriginal, type DecorationDataOneOf as DecorationDataOneOfOriginal, type Decoration as DecorationOriginal, DecorationType as DecorationTypeOriginal, type DecorationTypeWithLiterals as DecorationTypeWithLiteralsOriginal, type DeleteEventRequest as DeleteEventRequestOriginal, type DeleteEventResponse as DeleteEventResponseOriginal, type Design as DesignOriginal, type Dimensions as DimensionsOriginal, Direction as DirectionOriginal, type DirectionWithLiterals as DirectionWithLiteralsOriginal, DividerDataAlignment as DividerDataAlignmentOriginal, type DividerDataAlignmentWithLiterals as DividerDataAlignmentWithLiteralsOriginal, type DividerData as DividerDataOriginal, type DocumentStyle as DocumentStyleOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EmbedData as EmbedDataOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type EventCanceled as EventCanceledOriginal, type EventCategories as EventCategoriesOriginal, type EventCategory as EventCategoryOriginal, type EventCloned as EventClonedOriginal, type EventData as EventDataOriginal, type EventDisplaySettings as EventDisplaySettingsOriginal, type EventEnded as EventEndedOriginal, type Event as EventOriginal, type EventPublished as EventPublishedOriginal, type EventReminder as EventReminderOriginal, type EventStarted as EventStartedOriginal, type EventsMoney as EventsMoneyOriginal, type ExportEventsRequest as ExportEventsRequestOriginal, type ExportEventsResponse as ExportEventsResponseOriginal, type ExternalRegistration as ExternalRegistrationOriginal, type FacetCounts as FacetCountsOriginal, type Feed as FeedOriginal, type FileData as FileDataOriginal, type FileSourceDataOneOf as FileSourceDataOneOfOriginal, type FileSource as FileSourceOriginal, type FindEventRequestFindByOneOf as FindEventRequestFindByOneOfOriginal, type FindEventRequest as FindEventRequestOriginal, type FindEventResponse as FindEventResponseOriginal, type FontSizeData as FontSizeDataOriginal, FontType as FontTypeOriginal, type FontTypeWithLiterals as FontTypeWithLiteralsOriginal, type FormMessages as FormMessagesOriginal, type Form as FormOriginal, type Formatted as FormattedOriginal, type GIFData as GIFDataOriginal, type GIF as GIFOriginal, GIFType as GIFTypeOriginal, type GIFTypeWithLiterals as GIFTypeWithLiteralsOriginal, type GalleryData as GalleryDataOriginal, type GalleryOptionsLayout as GalleryOptionsLayoutOriginal, type GalleryOptions as GalleryOptionsOriginal, type GetEventBySlugRequest as GetEventBySlugRequestOriginal, type GetEventBySlugResponse as GetEventBySlugResponseOriginal, type GetEventRequest as GetEventRequestOriginal, type GetEventResponse as GetEventResponseOriginal, type Gradient as GradientOriginal, type GuestListSettings as GuestListSettingsOriginal, GuestTypeType as GuestTypeTypeOriginal, type GuestTypeTypeWithLiterals as GuestTypeTypeWithLiteralsOriginal, type HTMLDataDataOneOf as HTMLDataDataOneOfOriginal, type HTMLData as HTMLDataOriginal, type HeadingData as HeadingDataOriginal, type Height as HeightOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ImageData as ImageDataOriginal, type ImageDataStyles as ImageDataStylesOriginal, type Image as ImageOriginal, type ImageStyles as ImageStylesOriginal, InitialExpandedItems as InitialExpandedItemsOriginal, type InitialExpandedItemsWithLiterals as InitialExpandedItemsWithLiteralsOriginal, InitialRegistrationTypeType as InitialRegistrationTypeTypeOriginal, type InitialRegistrationTypeTypeWithLiterals as InitialRegistrationTypeTypeWithLiteralsOriginal, type InputControl as InputControlOriginal, InputControlType as InputControlTypeOriginal, type InputControlTypeWithLiterals as InputControlTypeWithLiteralsOriginal, type Input as InputOriginal, type ItemDataOneOf as ItemDataOneOfOriginal, type ItemImage as ItemImageOriginal, type Item as ItemOriginal, type ItemStyle as ItemStyleOriginal, type Keyword as KeywordOriginal, type Label as LabelOriginal, type LabellingSettings as LabellingSettingsOriginal, type LayoutCellData as LayoutCellDataOriginal, Layout as LayoutOriginal, LayoutType as LayoutTypeOriginal, type LayoutTypeWithLiterals as LayoutTypeWithLiteralsOriginal, type LayoutWithLiterals as LayoutWithLiteralsOriginal, LineStyle as LineStyleOriginal, type LineStyleWithLiterals as LineStyleWithLiteralsOriginal, type LinkDataOneOf as LinkDataOneOfOriginal, type LinkData as LinkDataOriginal, type Link as LinkOriginal, type LinkPreviewData as LinkPreviewDataOriginal, type LinkPreviewDataStyles as LinkPreviewDataStylesOriginal, type ListEventsByCategoryRequest as ListEventsByCategoryRequestOriginal, type ListEventsByCategoryResponse as ListEventsByCategoryResponseOriginal, type ListUserEventsRequest as ListUserEventsRequestOriginal, type ListUserEventsResponse as ListUserEventsResponseOriginal, type ListValue as ListValueOriginal, type Location as LocationOriginal, LocationType as LocationTypeOriginal, type LocationTypeWithLiterals as LocationTypeWithLiteralsOriginal, type MapData as MapDataOriginal, type MapSettings as MapSettingsOriginal, MapType as MapTypeOriginal, type MapTypeWithLiterals as MapTypeWithLiteralsOriginal, type Media as MediaOriginal, type MentionData as MentionDataOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type Metadata as MetadataOriginal, type Money as MoneyOriginal, type Negative as NegativeOriginal, type NegativeResponseConfirmation as NegativeResponseConfirmationOriginal, type NodeDataOneOf as NodeDataOneOfOriginal, type Node as NodeOriginal, type NodeStyle as NodeStyleOriginal, NodeType as NodeTypeOriginal, type NodeTypeWithLiterals as NodeTypeWithLiteralsOriginal, NullValue as NullValueOriginal, type NullValueWithLiterals as NullValueWithLiteralsOriginal, type Occurrence as OccurrenceOriginal, type Oembed as OembedOriginal, type OnlineConferencing as OnlineConferencingOriginal, type OnlineConferencingSession as OnlineConferencingSessionOriginal, type OptionDesign as OptionDesignOriginal, type OptionLayout as OptionLayoutOriginal, type Option as OptionOriginal, type OptionSelection as OptionSelectionOriginal, type OptionSelectionSelectedOptionOneOf as OptionSelectionSelectedOptionOneOfOriginal, type OrderedListData as OrderedListDataOriginal, Orientation as OrientationOriginal, type OrientationWithLiterals as OrientationWithLiteralsOriginal, type PDFSettings as PDFSettingsOriginal, type PageUrl as PageUrlOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type ParagraphData as ParagraphDataOriginal, type Permissions as PermissionsOriginal, Placement as PlacementOriginal, type PlacementWithLiterals as PlacementWithLiteralsOriginal, type PlaybackOptions as PlaybackOptionsOriginal, PluginContainerDataAlignment as PluginContainerDataAlignmentOriginal, type PluginContainerDataAlignmentWithLiterals as PluginContainerDataAlignmentWithLiteralsOriginal, type PluginContainerData as PluginContainerDataOriginal, type PluginContainerDataWidthDataOneOf as PluginContainerDataWidthDataOneOfOriginal, type PluginContainerDataWidth as PluginContainerDataWidthOriginal, type PollDataLayout as PollDataLayoutOriginal, type PollData as PollDataOriginal, type PollDesign as PollDesignOriginal, PollLayoutDirection as PollLayoutDirectionOriginal, type PollLayoutDirectionWithLiterals as PollLayoutDirectionWithLiteralsOriginal, type PollLayout as PollLayoutOriginal, PollLayoutType as PollLayoutTypeOriginal, type PollLayoutTypeWithLiterals as PollLayoutTypeWithLiteralsOriginal, type Poll as PollOriginal, type PollSettings as PollSettingsOriginal, Position as PositionOriginal, type PositionWithLiterals as PositionWithLiteralsOriginal, type Positive as PositiveOriginal, type PositiveResponseConfirmation as PositiveResponseConfirmationOriginal, type PricingData as PricingDataOriginal, type PublishDraftEventApplicationErrors as PublishDraftEventApplicationErrorsOriginal, type PublishDraftEventRequest as PublishDraftEventRequestOriginal, type PublishDraftEventResponse as PublishDraftEventResponseOriginal, type QueryEventsApplicationErrors as QueryEventsApplicationErrorsOriginal, type QueryEventsRequest as QueryEventsRequestOriginal, type QueryEventsResponse as QueryEventsResponseOriginal, type QueryV2 as QueryV2Original, type QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal, RecurrenceStatusStatus as RecurrenceStatusStatusOriginal, type RecurrenceStatusStatusWithLiterals as RecurrenceStatusStatusWithLiteralsOriginal, type Recurrences as RecurrencesOriginal, type RegistrationClosedMessages as RegistrationClosedMessagesOriginal, type Registration as RegistrationOriginal, RegistrationStatusStatus as RegistrationStatusStatusOriginal, type RegistrationStatusStatusWithLiterals as RegistrationStatusStatusWithLiteralsOriginal, RegistrationTypeType as RegistrationTypeTypeOriginal, type RegistrationTypeTypeWithLiterals as RegistrationTypeTypeWithLiteralsOriginal, type Rel as RelOriginal, Relation as RelationOriginal, type RelationWithLiterals as RelationWithLiteralsOriginal, RequestedFields as RequestedFieldsOriginal, type RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal, Resizing as ResizingOriginal, type ResizingWithLiterals as ResizingWithLiteralsOriginal, type ResponseConfirmation as ResponseConfirmationOriginal, ResponseType as ResponseTypeOriginal, type ResponseTypeWithLiterals as ResponseTypeWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, type RibbonStyles as RibbonStylesOriginal, type RichContent as RichContentOriginal, type RsvpConfirmationMessages as RsvpConfirmationMessagesOriginal, type RsvpFormMessagesNegativeResponseConfirmation as RsvpFormMessagesNegativeResponseConfirmationOriginal, type RsvpFormMessages as RsvpFormMessagesOriginal, type RsvpFormMessagesPositiveResponseConfirmation as RsvpFormMessagesPositiveResponseConfirmationOriginal, type RsvpRegistration as RsvpRegistrationOriginal, type Rsvps as RsvpsOriginal, type SeoSchema as SeoSchemaOriginal, type SeoSettings as SeoSettingsOriginal, type Settings as SettingsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, Source as SourceOriginal, type SourceWithLiterals as SourceWithLiteralsOriginal, type SpoilerData as SpoilerDataOriginal, type Spoiler as SpoilerOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type StreetAddress as StreetAddressOriginal, type StylesBorder as StylesBorderOriginal, type Styles as StylesOriginal, StylesPosition as StylesPositionOriginal, type StylesPositionWithLiterals as StylesPositionWithLiteralsOriginal, type Subdivision as SubdivisionOriginal, SubdivisionType as SubdivisionTypeOriginal, type SubdivisionTypeWithLiterals as SubdivisionTypeWithLiteralsOriginal, type Summaries as SummariesOriginal, type TableCellData as TableCellDataOriginal, type TableData as TableDataOriginal, type Tag as TagOriginal, Target as TargetOriginal, type TargetWithLiterals as TargetWithLiteralsOriginal, type TaxSettings as TaxSettingsOriginal, TaxType as TaxTypeOriginal, type TaxTypeWithLiterals as TaxTypeWithLiteralsOriginal, TextAlignment as TextAlignmentOriginal, type TextAlignmentWithLiterals as TextAlignmentWithLiteralsOriginal, type TextData as TextDataOriginal, type TextNodeStyle as TextNodeStyleOriginal, type TextStyle as TextStyleOriginal, ThumbnailsAlignment as ThumbnailsAlignmentOriginal, type ThumbnailsAlignmentWithLiterals as ThumbnailsAlignmentWithLiteralsOriginal, type Thumbnails as ThumbnailsOriginal, type TicketsConfirmationMessages as TicketsConfirmationMessagesOriginal, type Tickets as TicketsOriginal, type TicketsRegistration as TicketsRegistrationOriginal, type TicketsUnavailableMessages as TicketsUnavailableMessagesOriginal, type TimeDuration as TimeDurationOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type UpdateEventApplicationErrors as UpdateEventApplicationErrorsOriginal, type UpdateEventRequest as UpdateEventRequestOriginal, type UpdateEventResponse as UpdateEventResponseOriginal, type UpdateEventValidationErrors as UpdateEventValidationErrorsOriginal, type UserFilter as UserFilterOriginal, ValueType as ValueTypeOriginal, type ValueTypeWithLiterals as ValueTypeWithLiteralsOriginal, VerticalAlignment as VerticalAlignmentOriginal, type VerticalAlignmentWithLiterals as VerticalAlignmentWithLiteralsOriginal, type VideoData as VideoDataOriginal, type Video as VideoOriginal, ViewMode as ViewModeOriginal, type ViewModeWithLiterals as ViewModeWithLiteralsOriginal, ViewRole as ViewRoleOriginal, type ViewRoleWithLiterals as ViewRoleWithLiteralsOriginal, VoteRole as VoteRoleOriginal, type VoteRoleWithLiterals as VoteRoleWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, Width as WidthOriginal, WidthType as WidthTypeOriginal, type WidthTypeWithLiterals as WidthTypeWithLiteralsOriginal, type WidthWithLiterals as WidthWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkCancelEventsByFilter, bulkDeleteEventsByFilter, cancelEvent, cloneEvent, countEventsByStatus, createEvent, deleteEvent, getEvent, getEventBySlug, publishDraftEvent, queryEvents, updateEvent };
|