@wix/auto_sdk_events_wix-events-v-2 1.0.37 → 1.0.38

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.
@@ -0,0 +1,2057 @@
1
+ // src/events-v3-event-wix-events-v-2.universal.ts
2
+ import { transformError as sdkTransformError } from "@wix/sdk-runtime/transform-error";
3
+ import { queryBuilder } from "@wix/sdk-runtime/query-builder";
4
+ import {
5
+ renameKeysFromSDKRequestToRESTRequest,
6
+ renameKeysFromRESTResponseToSDKResponse
7
+ } from "@wix/sdk-runtime/rename-all-nested-keys";
8
+
9
+ // src/events-v3-event-wix-events-v-2.http.ts
10
+ import { toURLSearchParams } from "@wix/sdk-runtime/rest-modules";
11
+ import { transformSDKFloatToRESTFloat } from "@wix/sdk-runtime/transformations/float";
12
+ import { transformRESTFloatToSDKFloat } from "@wix/sdk-runtime/transformations/float";
13
+ import { transformSDKTimestampToRESTTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
14
+ import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
15
+ import { transformSDKFieldMaskToRESTFieldMask } from "@wix/sdk-runtime/transformations/field-mask";
16
+ import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
17
+ import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
18
+ function resolveWixEventsEventsV3EventManagementUrl(opts) {
19
+ const domainToMappings = {
20
+ "www.wixapis.com": [
21
+ {
22
+ srcPath: "/events/v3/events",
23
+ destPath: "/v3/events"
24
+ },
25
+ {
26
+ srcPath: "/events/v3/bulk/events",
27
+ destPath: "/v3/bulk/events"
28
+ }
29
+ ],
30
+ "api._api_base_domain_": [
31
+ {
32
+ srcPath: "/events-events-v3-adapter",
33
+ destPath: ""
34
+ }
35
+ ],
36
+ "manage._base_domain_": [
37
+ {
38
+ srcPath: "/_api/events-events-v3-adapter",
39
+ destPath: ""
40
+ }
41
+ ],
42
+ "editor.wixapps.net": [
43
+ {
44
+ srcPath: "/_api/events-events-v3-adapter",
45
+ destPath: ""
46
+ }
47
+ ],
48
+ "editor._base_domain_": [
49
+ {
50
+ srcPath: "/_api/events-events-v3-adapter",
51
+ destPath: ""
52
+ }
53
+ ],
54
+ "blocks._base_domain_": [
55
+ {
56
+ srcPath: "/_api/events-events-v3-adapter",
57
+ destPath: ""
58
+ }
59
+ ],
60
+ "create.editorx": [
61
+ {
62
+ srcPath: "/_api/events-events-v3-adapter",
63
+ destPath: ""
64
+ }
65
+ ],
66
+ "*.dev.wix-code.com": [
67
+ {
68
+ srcPath: "/_api/events-events-v3-adapter",
69
+ destPath: ""
70
+ }
71
+ ],
72
+ _: [
73
+ {
74
+ srcPath: "/_api/events-events-v3-adapter",
75
+ destPath: ""
76
+ }
77
+ ]
78
+ };
79
+ return resolveUrl(Object.assign(opts, { domainToMappings }));
80
+ }
81
+ var PACKAGE_NAME = "@wix/auto_sdk_events_wix-events-v-2";
82
+ function createEvent(payload) {
83
+ function __createEvent({ host }) {
84
+ const serializedData = transformPaths(payload, [
85
+ {
86
+ transformFn: transformSDKTimestampToRESTTimestamp,
87
+ paths: [
88
+ { path: "event.createdDate" },
89
+ { path: "event.updatedDate" },
90
+ { path: "event.publishedDate" },
91
+ { path: "event.dateAndTimeSettings.startDate" },
92
+ { path: "event.dateAndTimeSettings.endDate" },
93
+ {
94
+ path: "event.dateAndTimeSettings.recurringEvents.individualEventDates.startDate"
95
+ },
96
+ {
97
+ path: "event.dateAndTimeSettings.recurringEvents.individualEventDates.endDate"
98
+ },
99
+ { path: "event.mainImage.urlExpirationDate" },
100
+ { path: "event.registration.rsvp.startDate" },
101
+ { path: "event.registration.rsvp.endDate" },
102
+ { path: "event.categories.categories.createdDate" },
103
+ { path: "event.description.metadata.createdTimestamp" },
104
+ { path: "event.description.metadata.updatedTimestamp" },
105
+ { path: "event.badges.badges.functionUpdateDate" }
106
+ ]
107
+ },
108
+ {
109
+ transformFn: transformSDKFloatToRESTFloat,
110
+ paths: [
111
+ { path: "event.location.address.geocode.latitude" },
112
+ { path: "event.location.address.geocode.longitude" },
113
+ {
114
+ path: "event.description.nodes.galleryData.items.image.media.duration"
115
+ },
116
+ {
117
+ path: "event.description.nodes.galleryData.items.video.media.duration"
118
+ },
119
+ {
120
+ path: "event.description.nodes.galleryData.items.video.thumbnail.duration"
121
+ },
122
+ { path: "event.description.nodes.galleryData.options.item.ratio" },
123
+ { path: "event.description.nodes.imageData.image.duration" },
124
+ { path: "event.description.nodes.mapData.mapSettings.lat" },
125
+ { path: "event.description.nodes.mapData.mapSettings.lng" },
126
+ { path: "event.description.nodes.pollData.poll.image.duration" },
127
+ {
128
+ path: "event.description.nodes.pollData.poll.options.image.duration"
129
+ },
130
+ {
131
+ path: "event.description.nodes.pollData.design.poll.background.image.duration"
132
+ },
133
+ { path: "event.description.nodes.appEmbedData.image.duration" },
134
+ { path: "event.description.nodes.videoData.video.duration" },
135
+ { path: "event.description.nodes.videoData.thumbnail.duration" },
136
+ { path: "event.description.nodes.audioData.audio.duration" },
137
+ { path: "event.description.nodes.audioData.coverImage.duration" }
138
+ ]
139
+ }
140
+ ]);
141
+ const metadata = {
142
+ entityFqdn: "wix.events.v3.event",
143
+ method: "POST",
144
+ methodFqn: "wix.events.events.v3.EventManagement.CreateEvent",
145
+ packageName: PACKAGE_NAME,
146
+ url: resolveWixEventsEventsV3EventManagementUrl({
147
+ protoPath: "/v3/events",
148
+ data: serializedData,
149
+ host
150
+ }),
151
+ data: serializedData,
152
+ transformResponse: (payload2) => transformPaths(payload2, [
153
+ {
154
+ transformFn: transformRESTTimestampToSDKTimestamp,
155
+ paths: [
156
+ { path: "event.createdDate" },
157
+ { path: "event.updatedDate" },
158
+ { path: "event.publishedDate" },
159
+ { path: "event.dateAndTimeSettings.startDate" },
160
+ { path: "event.dateAndTimeSettings.endDate" },
161
+ {
162
+ path: "event.dateAndTimeSettings.recurringEvents.individualEventDates.startDate"
163
+ },
164
+ {
165
+ path: "event.dateAndTimeSettings.recurringEvents.individualEventDates.endDate"
166
+ },
167
+ { path: "event.mainImage.urlExpirationDate" },
168
+ { path: "event.registration.rsvp.startDate" },
169
+ { path: "event.registration.rsvp.endDate" },
170
+ { path: "event.categories.categories.createdDate" },
171
+ { path: "event.description.metadata.createdTimestamp" },
172
+ { path: "event.description.metadata.updatedTimestamp" },
173
+ { path: "event.badges.badges.functionUpdateDate" }
174
+ ]
175
+ },
176
+ {
177
+ transformFn: transformRESTFloatToSDKFloat,
178
+ paths: [
179
+ { path: "event.location.address.geocode.latitude" },
180
+ { path: "event.location.address.geocode.longitude" },
181
+ {
182
+ path: "event.description.nodes.galleryData.items.image.media.duration"
183
+ },
184
+ {
185
+ path: "event.description.nodes.galleryData.items.video.media.duration"
186
+ },
187
+ {
188
+ path: "event.description.nodes.galleryData.items.video.thumbnail.duration"
189
+ },
190
+ {
191
+ path: "event.description.nodes.galleryData.options.item.ratio"
192
+ },
193
+ { path: "event.description.nodes.imageData.image.duration" },
194
+ { path: "event.description.nodes.mapData.mapSettings.lat" },
195
+ { path: "event.description.nodes.mapData.mapSettings.lng" },
196
+ { path: "event.description.nodes.pollData.poll.image.duration" },
197
+ {
198
+ path: "event.description.nodes.pollData.poll.options.image.duration"
199
+ },
200
+ {
201
+ path: "event.description.nodes.pollData.design.poll.background.image.duration"
202
+ },
203
+ { path: "event.description.nodes.appEmbedData.image.duration" },
204
+ { path: "event.description.nodes.videoData.video.duration" },
205
+ { path: "event.description.nodes.videoData.thumbnail.duration" },
206
+ { path: "event.description.nodes.audioData.audio.duration" },
207
+ { path: "event.description.nodes.audioData.coverImage.duration" }
208
+ ]
209
+ }
210
+ ])
211
+ };
212
+ return metadata;
213
+ }
214
+ return __createEvent;
215
+ }
216
+ function cloneEvent(payload) {
217
+ function __cloneEvent({ host }) {
218
+ const serializedData = transformPaths(payload, [
219
+ {
220
+ transformFn: transformSDKFieldMaskToRESTFieldMask,
221
+ paths: [{ path: "fieldmask" }]
222
+ },
223
+ {
224
+ transformFn: transformSDKTimestampToRESTTimestamp,
225
+ paths: [
226
+ { path: "event.createdDate" },
227
+ { path: "event.updatedDate" },
228
+ { path: "event.publishedDate" },
229
+ { path: "event.dateAndTimeSettings.startDate" },
230
+ { path: "event.dateAndTimeSettings.endDate" },
231
+ {
232
+ path: "event.dateAndTimeSettings.recurringEvents.individualEventDates.startDate"
233
+ },
234
+ {
235
+ path: "event.dateAndTimeSettings.recurringEvents.individualEventDates.endDate"
236
+ },
237
+ { path: "event.mainImage.urlExpirationDate" },
238
+ { path: "event.registration.rsvp.startDate" },
239
+ { path: "event.registration.rsvp.endDate" },
240
+ { path: "event.categories.categories.createdDate" },
241
+ { path: "event.description.metadata.createdTimestamp" },
242
+ { path: "event.description.metadata.updatedTimestamp" },
243
+ { path: "event.badges.badges.functionUpdateDate" }
244
+ ]
245
+ },
246
+ {
247
+ transformFn: transformSDKFloatToRESTFloat,
248
+ paths: [
249
+ { path: "event.location.address.geocode.latitude" },
250
+ { path: "event.location.address.geocode.longitude" },
251
+ {
252
+ path: "event.description.nodes.galleryData.items.image.media.duration"
253
+ },
254
+ {
255
+ path: "event.description.nodes.galleryData.items.video.media.duration"
256
+ },
257
+ {
258
+ path: "event.description.nodes.galleryData.items.video.thumbnail.duration"
259
+ },
260
+ { path: "event.description.nodes.galleryData.options.item.ratio" },
261
+ { path: "event.description.nodes.imageData.image.duration" },
262
+ { path: "event.description.nodes.mapData.mapSettings.lat" },
263
+ { path: "event.description.nodes.mapData.mapSettings.lng" },
264
+ { path: "event.description.nodes.pollData.poll.image.duration" },
265
+ {
266
+ path: "event.description.nodes.pollData.poll.options.image.duration"
267
+ },
268
+ {
269
+ path: "event.description.nodes.pollData.design.poll.background.image.duration"
270
+ },
271
+ { path: "event.description.nodes.appEmbedData.image.duration" },
272
+ { path: "event.description.nodes.videoData.video.duration" },
273
+ { path: "event.description.nodes.videoData.thumbnail.duration" },
274
+ { path: "event.description.nodes.audioData.audio.duration" },
275
+ { path: "event.description.nodes.audioData.coverImage.duration" }
276
+ ]
277
+ }
278
+ ]);
279
+ const metadata = {
280
+ entityFqdn: "wix.events.v3.event",
281
+ method: "POST",
282
+ methodFqn: "wix.events.events.v3.EventManagement.CloneEvent",
283
+ packageName: PACKAGE_NAME,
284
+ url: resolveWixEventsEventsV3EventManagementUrl({
285
+ protoPath: "/v3/events/{eventId}/clone",
286
+ data: serializedData,
287
+ host
288
+ }),
289
+ data: serializedData,
290
+ transformResponse: (payload2) => transformPaths(payload2, [
291
+ {
292
+ transformFn: transformRESTTimestampToSDKTimestamp,
293
+ paths: [
294
+ { path: "event.createdDate" },
295
+ { path: "event.updatedDate" },
296
+ { path: "event.publishedDate" },
297
+ { path: "event.dateAndTimeSettings.startDate" },
298
+ { path: "event.dateAndTimeSettings.endDate" },
299
+ {
300
+ path: "event.dateAndTimeSettings.recurringEvents.individualEventDates.startDate"
301
+ },
302
+ {
303
+ path: "event.dateAndTimeSettings.recurringEvents.individualEventDates.endDate"
304
+ },
305
+ { path: "event.mainImage.urlExpirationDate" },
306
+ { path: "event.registration.rsvp.startDate" },
307
+ { path: "event.registration.rsvp.endDate" },
308
+ { path: "event.categories.categories.createdDate" },
309
+ { path: "event.description.metadata.createdTimestamp" },
310
+ { path: "event.description.metadata.updatedTimestamp" },
311
+ { path: "event.badges.badges.functionUpdateDate" }
312
+ ]
313
+ },
314
+ {
315
+ transformFn: transformRESTFloatToSDKFloat,
316
+ paths: [
317
+ { path: "event.location.address.geocode.latitude" },
318
+ { path: "event.location.address.geocode.longitude" },
319
+ {
320
+ path: "event.description.nodes.galleryData.items.image.media.duration"
321
+ },
322
+ {
323
+ path: "event.description.nodes.galleryData.items.video.media.duration"
324
+ },
325
+ {
326
+ path: "event.description.nodes.galleryData.items.video.thumbnail.duration"
327
+ },
328
+ {
329
+ path: "event.description.nodes.galleryData.options.item.ratio"
330
+ },
331
+ { path: "event.description.nodes.imageData.image.duration" },
332
+ { path: "event.description.nodes.mapData.mapSettings.lat" },
333
+ { path: "event.description.nodes.mapData.mapSettings.lng" },
334
+ { path: "event.description.nodes.pollData.poll.image.duration" },
335
+ {
336
+ path: "event.description.nodes.pollData.poll.options.image.duration"
337
+ },
338
+ {
339
+ path: "event.description.nodes.pollData.design.poll.background.image.duration"
340
+ },
341
+ { path: "event.description.nodes.appEmbedData.image.duration" },
342
+ { path: "event.description.nodes.videoData.video.duration" },
343
+ { path: "event.description.nodes.videoData.thumbnail.duration" },
344
+ { path: "event.description.nodes.audioData.audio.duration" },
345
+ { path: "event.description.nodes.audioData.coverImage.duration" }
346
+ ]
347
+ }
348
+ ])
349
+ };
350
+ return metadata;
351
+ }
352
+ return __cloneEvent;
353
+ }
354
+ function updateEvent(payload) {
355
+ function __updateEvent({ host }) {
356
+ const serializedData = transformPaths(payload, [
357
+ {
358
+ transformFn: transformSDKFieldMaskToRESTFieldMask,
359
+ paths: [{ path: "fieldmask" }]
360
+ },
361
+ {
362
+ transformFn: transformSDKTimestampToRESTTimestamp,
363
+ paths: [
364
+ { path: "event.createdDate" },
365
+ { path: "event.updatedDate" },
366
+ { path: "event.publishedDate" },
367
+ { path: "event.dateAndTimeSettings.startDate" },
368
+ { path: "event.dateAndTimeSettings.endDate" },
369
+ {
370
+ path: "event.dateAndTimeSettings.recurringEvents.individualEventDates.startDate"
371
+ },
372
+ {
373
+ path: "event.dateAndTimeSettings.recurringEvents.individualEventDates.endDate"
374
+ },
375
+ { path: "event.mainImage.urlExpirationDate" },
376
+ { path: "event.registration.rsvp.startDate" },
377
+ { path: "event.registration.rsvp.endDate" },
378
+ { path: "event.categories.categories.createdDate" },
379
+ { path: "event.description.metadata.createdTimestamp" },
380
+ { path: "event.description.metadata.updatedTimestamp" },
381
+ { path: "event.badges.badges.functionUpdateDate" }
382
+ ]
383
+ },
384
+ {
385
+ transformFn: transformSDKFloatToRESTFloat,
386
+ paths: [
387
+ { path: "event.location.address.geocode.latitude" },
388
+ { path: "event.location.address.geocode.longitude" },
389
+ {
390
+ path: "event.description.nodes.galleryData.items.image.media.duration"
391
+ },
392
+ {
393
+ path: "event.description.nodes.galleryData.items.video.media.duration"
394
+ },
395
+ {
396
+ path: "event.description.nodes.galleryData.items.video.thumbnail.duration"
397
+ },
398
+ { path: "event.description.nodes.galleryData.options.item.ratio" },
399
+ { path: "event.description.nodes.imageData.image.duration" },
400
+ { path: "event.description.nodes.mapData.mapSettings.lat" },
401
+ { path: "event.description.nodes.mapData.mapSettings.lng" },
402
+ { path: "event.description.nodes.pollData.poll.image.duration" },
403
+ {
404
+ path: "event.description.nodes.pollData.poll.options.image.duration"
405
+ },
406
+ {
407
+ path: "event.description.nodes.pollData.design.poll.background.image.duration"
408
+ },
409
+ { path: "event.description.nodes.appEmbedData.image.duration" },
410
+ { path: "event.description.nodes.videoData.video.duration" },
411
+ { path: "event.description.nodes.videoData.thumbnail.duration" },
412
+ { path: "event.description.nodes.audioData.audio.duration" },
413
+ { path: "event.description.nodes.audioData.coverImage.duration" }
414
+ ]
415
+ }
416
+ ]);
417
+ const metadata = {
418
+ entityFqdn: "wix.events.v3.event",
419
+ method: "PATCH",
420
+ methodFqn: "wix.events.events.v3.EventManagement.UpdateEvent",
421
+ packageName: PACKAGE_NAME,
422
+ url: resolveWixEventsEventsV3EventManagementUrl({
423
+ protoPath: "/v3/events/{event.id}",
424
+ data: serializedData,
425
+ host
426
+ }),
427
+ data: serializedData,
428
+ transformResponse: (payload2) => transformPaths(payload2, [
429
+ {
430
+ transformFn: transformRESTTimestampToSDKTimestamp,
431
+ paths: [
432
+ { path: "event.createdDate" },
433
+ { path: "event.updatedDate" },
434
+ { path: "event.publishedDate" },
435
+ { path: "event.dateAndTimeSettings.startDate" },
436
+ { path: "event.dateAndTimeSettings.endDate" },
437
+ {
438
+ path: "event.dateAndTimeSettings.recurringEvents.individualEventDates.startDate"
439
+ },
440
+ {
441
+ path: "event.dateAndTimeSettings.recurringEvents.individualEventDates.endDate"
442
+ },
443
+ { path: "event.mainImage.urlExpirationDate" },
444
+ { path: "event.registration.rsvp.startDate" },
445
+ { path: "event.registration.rsvp.endDate" },
446
+ { path: "event.categories.categories.createdDate" },
447
+ { path: "event.description.metadata.createdTimestamp" },
448
+ { path: "event.description.metadata.updatedTimestamp" },
449
+ { path: "event.badges.badges.functionUpdateDate" }
450
+ ]
451
+ },
452
+ {
453
+ transformFn: transformRESTFloatToSDKFloat,
454
+ paths: [
455
+ { path: "event.location.address.geocode.latitude" },
456
+ { path: "event.location.address.geocode.longitude" },
457
+ {
458
+ path: "event.description.nodes.galleryData.items.image.media.duration"
459
+ },
460
+ {
461
+ path: "event.description.nodes.galleryData.items.video.media.duration"
462
+ },
463
+ {
464
+ path: "event.description.nodes.galleryData.items.video.thumbnail.duration"
465
+ },
466
+ {
467
+ path: "event.description.nodes.galleryData.options.item.ratio"
468
+ },
469
+ { path: "event.description.nodes.imageData.image.duration" },
470
+ { path: "event.description.nodes.mapData.mapSettings.lat" },
471
+ { path: "event.description.nodes.mapData.mapSettings.lng" },
472
+ { path: "event.description.nodes.pollData.poll.image.duration" },
473
+ {
474
+ path: "event.description.nodes.pollData.poll.options.image.duration"
475
+ },
476
+ {
477
+ path: "event.description.nodes.pollData.design.poll.background.image.duration"
478
+ },
479
+ { path: "event.description.nodes.appEmbedData.image.duration" },
480
+ { path: "event.description.nodes.videoData.video.duration" },
481
+ { path: "event.description.nodes.videoData.thumbnail.duration" },
482
+ { path: "event.description.nodes.audioData.audio.duration" },
483
+ { path: "event.description.nodes.audioData.coverImage.duration" }
484
+ ]
485
+ }
486
+ ])
487
+ };
488
+ return metadata;
489
+ }
490
+ return __updateEvent;
491
+ }
492
+ function publishDraftEvent(payload) {
493
+ function __publishDraftEvent({ host }) {
494
+ const metadata = {
495
+ entityFqdn: "wix.events.v3.event",
496
+ method: "POST",
497
+ methodFqn: "wix.events.events.v3.EventManagement.PublishDraftEvent",
498
+ packageName: PACKAGE_NAME,
499
+ url: resolveWixEventsEventsV3EventManagementUrl({
500
+ protoPath: "/v3/events/{eventId}/publish",
501
+ data: payload,
502
+ host
503
+ }),
504
+ data: payload,
505
+ transformResponse: (payload2) => transformPaths(payload2, [
506
+ {
507
+ transformFn: transformRESTTimestampToSDKTimestamp,
508
+ paths: [
509
+ { path: "event.createdDate" },
510
+ { path: "event.updatedDate" },
511
+ { path: "event.publishedDate" },
512
+ { path: "event.dateAndTimeSettings.startDate" },
513
+ { path: "event.dateAndTimeSettings.endDate" },
514
+ {
515
+ path: "event.dateAndTimeSettings.recurringEvents.individualEventDates.startDate"
516
+ },
517
+ {
518
+ path: "event.dateAndTimeSettings.recurringEvents.individualEventDates.endDate"
519
+ },
520
+ { path: "event.mainImage.urlExpirationDate" },
521
+ { path: "event.registration.rsvp.startDate" },
522
+ { path: "event.registration.rsvp.endDate" },
523
+ { path: "event.categories.categories.createdDate" },
524
+ { path: "event.description.metadata.createdTimestamp" },
525
+ { path: "event.description.metadata.updatedTimestamp" },
526
+ { path: "event.badges.badges.functionUpdateDate" }
527
+ ]
528
+ },
529
+ {
530
+ transformFn: transformRESTFloatToSDKFloat,
531
+ paths: [
532
+ { path: "event.location.address.geocode.latitude" },
533
+ { path: "event.location.address.geocode.longitude" },
534
+ {
535
+ path: "event.description.nodes.galleryData.items.image.media.duration"
536
+ },
537
+ {
538
+ path: "event.description.nodes.galleryData.items.video.media.duration"
539
+ },
540
+ {
541
+ path: "event.description.nodes.galleryData.items.video.thumbnail.duration"
542
+ },
543
+ {
544
+ path: "event.description.nodes.galleryData.options.item.ratio"
545
+ },
546
+ { path: "event.description.nodes.imageData.image.duration" },
547
+ { path: "event.description.nodes.mapData.mapSettings.lat" },
548
+ { path: "event.description.nodes.mapData.mapSettings.lng" },
549
+ { path: "event.description.nodes.pollData.poll.image.duration" },
550
+ {
551
+ path: "event.description.nodes.pollData.poll.options.image.duration"
552
+ },
553
+ {
554
+ path: "event.description.nodes.pollData.design.poll.background.image.duration"
555
+ },
556
+ { path: "event.description.nodes.appEmbedData.image.duration" },
557
+ { path: "event.description.nodes.videoData.video.duration" },
558
+ { path: "event.description.nodes.videoData.thumbnail.duration" },
559
+ { path: "event.description.nodes.audioData.audio.duration" },
560
+ { path: "event.description.nodes.audioData.coverImage.duration" }
561
+ ]
562
+ }
563
+ ])
564
+ };
565
+ return metadata;
566
+ }
567
+ return __publishDraftEvent;
568
+ }
569
+ function cancelEvent(payload) {
570
+ function __cancelEvent({ host }) {
571
+ const metadata = {
572
+ entityFqdn: "wix.events.v3.event",
573
+ method: "POST",
574
+ methodFqn: "wix.events.events.v3.EventManagement.CancelEvent",
575
+ packageName: PACKAGE_NAME,
576
+ url: resolveWixEventsEventsV3EventManagementUrl({
577
+ protoPath: "/v3/events/{eventId}/cancel",
578
+ data: payload,
579
+ host
580
+ }),
581
+ data: payload,
582
+ transformResponse: (payload2) => transformPaths(payload2, [
583
+ {
584
+ transformFn: transformRESTTimestampToSDKTimestamp,
585
+ paths: [
586
+ { path: "event.createdDate" },
587
+ { path: "event.updatedDate" },
588
+ { path: "event.publishedDate" },
589
+ { path: "event.dateAndTimeSettings.startDate" },
590
+ { path: "event.dateAndTimeSettings.endDate" },
591
+ {
592
+ path: "event.dateAndTimeSettings.recurringEvents.individualEventDates.startDate"
593
+ },
594
+ {
595
+ path: "event.dateAndTimeSettings.recurringEvents.individualEventDates.endDate"
596
+ },
597
+ { path: "event.mainImage.urlExpirationDate" },
598
+ { path: "event.registration.rsvp.startDate" },
599
+ { path: "event.registration.rsvp.endDate" },
600
+ { path: "event.categories.categories.createdDate" },
601
+ { path: "event.description.metadata.createdTimestamp" },
602
+ { path: "event.description.metadata.updatedTimestamp" },
603
+ { path: "event.badges.badges.functionUpdateDate" }
604
+ ]
605
+ },
606
+ {
607
+ transformFn: transformRESTFloatToSDKFloat,
608
+ paths: [
609
+ { path: "event.location.address.geocode.latitude" },
610
+ { path: "event.location.address.geocode.longitude" },
611
+ {
612
+ path: "event.description.nodes.galleryData.items.image.media.duration"
613
+ },
614
+ {
615
+ path: "event.description.nodes.galleryData.items.video.media.duration"
616
+ },
617
+ {
618
+ path: "event.description.nodes.galleryData.items.video.thumbnail.duration"
619
+ },
620
+ {
621
+ path: "event.description.nodes.galleryData.options.item.ratio"
622
+ },
623
+ { path: "event.description.nodes.imageData.image.duration" },
624
+ { path: "event.description.nodes.mapData.mapSettings.lat" },
625
+ { path: "event.description.nodes.mapData.mapSettings.lng" },
626
+ { path: "event.description.nodes.pollData.poll.image.duration" },
627
+ {
628
+ path: "event.description.nodes.pollData.poll.options.image.duration"
629
+ },
630
+ {
631
+ path: "event.description.nodes.pollData.design.poll.background.image.duration"
632
+ },
633
+ { path: "event.description.nodes.appEmbedData.image.duration" },
634
+ { path: "event.description.nodes.videoData.video.duration" },
635
+ { path: "event.description.nodes.videoData.thumbnail.duration" },
636
+ { path: "event.description.nodes.audioData.audio.duration" },
637
+ { path: "event.description.nodes.audioData.coverImage.duration" }
638
+ ]
639
+ }
640
+ ])
641
+ };
642
+ return metadata;
643
+ }
644
+ return __cancelEvent;
645
+ }
646
+ function bulkCancelEventsByFilter(payload) {
647
+ function __bulkCancelEventsByFilter({ host }) {
648
+ const metadata = {
649
+ entityFqdn: "wix.events.v3.event",
650
+ method: "POST",
651
+ methodFqn: "wix.events.events.v3.EventManagement.BulkCancelEventsByFilter",
652
+ packageName: PACKAGE_NAME,
653
+ url: resolveWixEventsEventsV3EventManagementUrl({
654
+ protoPath: "/v3/bulk/events/cancel-by-filter",
655
+ data: payload,
656
+ host
657
+ }),
658
+ data: payload
659
+ };
660
+ return metadata;
661
+ }
662
+ return __bulkCancelEventsByFilter;
663
+ }
664
+ function deleteEvent(payload) {
665
+ function __deleteEvent({ host }) {
666
+ const metadata = {
667
+ entityFqdn: "wix.events.v3.event",
668
+ method: "DELETE",
669
+ methodFqn: "wix.events.events.v3.EventManagement.DeleteEvent",
670
+ packageName: PACKAGE_NAME,
671
+ url: resolveWixEventsEventsV3EventManagementUrl({
672
+ protoPath: "/v3/events/{eventId}",
673
+ data: payload,
674
+ host
675
+ }),
676
+ params: toURLSearchParams(payload)
677
+ };
678
+ return metadata;
679
+ }
680
+ return __deleteEvent;
681
+ }
682
+ function bulkDeleteEventsByFilter(payload) {
683
+ function __bulkDeleteEventsByFilter({ host }) {
684
+ const metadata = {
685
+ entityFqdn: "wix.events.v3.event",
686
+ method: "POST",
687
+ methodFqn: "wix.events.events.v3.EventManagement.BulkDeleteEventsByFilter",
688
+ packageName: PACKAGE_NAME,
689
+ url: resolveWixEventsEventsV3EventManagementUrl({
690
+ protoPath: "/v3/bulk/events/delete-by-filter",
691
+ data: payload,
692
+ host
693
+ }),
694
+ data: payload
695
+ };
696
+ return metadata;
697
+ }
698
+ return __bulkDeleteEventsByFilter;
699
+ }
700
+ function queryEvents(payload) {
701
+ function __queryEvents({ host }) {
702
+ const metadata = {
703
+ entityFqdn: "wix.events.v3.event",
704
+ method: "POST",
705
+ methodFqn: "wix.events.events.v3.EventManagement.QueryEvents",
706
+ packageName: PACKAGE_NAME,
707
+ url: resolveWixEventsEventsV3EventManagementUrl({
708
+ protoPath: "/v3/events/query",
709
+ data: payload,
710
+ host
711
+ }),
712
+ data: payload,
713
+ transformResponse: (payload2) => transformPaths(payload2, [
714
+ {
715
+ transformFn: transformRESTTimestampToSDKTimestamp,
716
+ paths: [
717
+ { path: "events.createdDate" },
718
+ { path: "events.updatedDate" },
719
+ { path: "events.publishedDate" },
720
+ { path: "events.dateAndTimeSettings.startDate" },
721
+ { path: "events.dateAndTimeSettings.endDate" },
722
+ {
723
+ path: "events.dateAndTimeSettings.recurringEvents.individualEventDates.startDate"
724
+ },
725
+ {
726
+ path: "events.dateAndTimeSettings.recurringEvents.individualEventDates.endDate"
727
+ },
728
+ { path: "events.mainImage.urlExpirationDate" },
729
+ { path: "events.registration.rsvp.startDate" },
730
+ { path: "events.registration.rsvp.endDate" },
731
+ { path: "events.categories.categories.createdDate" },
732
+ { path: "events.description.metadata.createdTimestamp" },
733
+ { path: "events.description.metadata.updatedTimestamp" },
734
+ { path: "events.badges.badges.functionUpdateDate" }
735
+ ]
736
+ },
737
+ {
738
+ transformFn: transformRESTFloatToSDKFloat,
739
+ paths: [
740
+ { path: "events.location.address.geocode.latitude" },
741
+ { path: "events.location.address.geocode.longitude" },
742
+ {
743
+ path: "events.description.nodes.galleryData.items.image.media.duration"
744
+ },
745
+ {
746
+ path: "events.description.nodes.galleryData.items.video.media.duration"
747
+ },
748
+ {
749
+ path: "events.description.nodes.galleryData.items.video.thumbnail.duration"
750
+ },
751
+ {
752
+ path: "events.description.nodes.galleryData.options.item.ratio"
753
+ },
754
+ { path: "events.description.nodes.imageData.image.duration" },
755
+ { path: "events.description.nodes.mapData.mapSettings.lat" },
756
+ { path: "events.description.nodes.mapData.mapSettings.lng" },
757
+ { path: "events.description.nodes.pollData.poll.image.duration" },
758
+ {
759
+ path: "events.description.nodes.pollData.poll.options.image.duration"
760
+ },
761
+ {
762
+ path: "events.description.nodes.pollData.design.poll.background.image.duration"
763
+ },
764
+ { path: "events.description.nodes.appEmbedData.image.duration" },
765
+ { path: "events.description.nodes.videoData.video.duration" },
766
+ { path: "events.description.nodes.videoData.thumbnail.duration" },
767
+ { path: "events.description.nodes.audioData.audio.duration" },
768
+ {
769
+ path: "events.description.nodes.audioData.coverImage.duration"
770
+ }
771
+ ]
772
+ }
773
+ ])
774
+ };
775
+ return metadata;
776
+ }
777
+ return __queryEvents;
778
+ }
779
+ function countEventsByStatus(payload) {
780
+ function __countEventsByStatus({ host }) {
781
+ const metadata = {
782
+ entityFqdn: "wix.events.v3.event",
783
+ method: "POST",
784
+ methodFqn: "wix.events.events.v3.EventManagement.CountEventsByStatus",
785
+ packageName: PACKAGE_NAME,
786
+ url: resolveWixEventsEventsV3EventManagementUrl({
787
+ protoPath: "/v3/events/count-by-status",
788
+ data: payload,
789
+ host
790
+ }),
791
+ data: payload
792
+ };
793
+ return metadata;
794
+ }
795
+ return __countEventsByStatus;
796
+ }
797
+ function getEvent(payload) {
798
+ function __getEvent({ host }) {
799
+ const metadata = {
800
+ entityFqdn: "wix.events.v3.event",
801
+ method: "GET",
802
+ methodFqn: "wix.events.events.v3.EventManagement.GetEvent",
803
+ packageName: PACKAGE_NAME,
804
+ url: resolveWixEventsEventsV3EventManagementUrl({
805
+ protoPath: "/v3/events/{eventId}",
806
+ data: payload,
807
+ host
808
+ }),
809
+ params: toURLSearchParams(payload),
810
+ transformResponse: (payload2) => transformPaths(payload2, [
811
+ {
812
+ transformFn: transformRESTTimestampToSDKTimestamp,
813
+ paths: [
814
+ { path: "event.createdDate" },
815
+ { path: "event.updatedDate" },
816
+ { path: "event.publishedDate" },
817
+ { path: "event.dateAndTimeSettings.startDate" },
818
+ { path: "event.dateAndTimeSettings.endDate" },
819
+ {
820
+ path: "event.dateAndTimeSettings.recurringEvents.individualEventDates.startDate"
821
+ },
822
+ {
823
+ path: "event.dateAndTimeSettings.recurringEvents.individualEventDates.endDate"
824
+ },
825
+ { path: "event.mainImage.urlExpirationDate" },
826
+ { path: "event.registration.rsvp.startDate" },
827
+ { path: "event.registration.rsvp.endDate" },
828
+ { path: "event.categories.categories.createdDate" },
829
+ { path: "event.description.metadata.createdTimestamp" },
830
+ { path: "event.description.metadata.updatedTimestamp" },
831
+ { path: "event.badges.badges.functionUpdateDate" }
832
+ ]
833
+ },
834
+ {
835
+ transformFn: transformRESTFloatToSDKFloat,
836
+ paths: [
837
+ { path: "event.location.address.geocode.latitude" },
838
+ { path: "event.location.address.geocode.longitude" },
839
+ {
840
+ path: "event.description.nodes.galleryData.items.image.media.duration"
841
+ },
842
+ {
843
+ path: "event.description.nodes.galleryData.items.video.media.duration"
844
+ },
845
+ {
846
+ path: "event.description.nodes.galleryData.items.video.thumbnail.duration"
847
+ },
848
+ {
849
+ path: "event.description.nodes.galleryData.options.item.ratio"
850
+ },
851
+ { path: "event.description.nodes.imageData.image.duration" },
852
+ { path: "event.description.nodes.mapData.mapSettings.lat" },
853
+ { path: "event.description.nodes.mapData.mapSettings.lng" },
854
+ { path: "event.description.nodes.pollData.poll.image.duration" },
855
+ {
856
+ path: "event.description.nodes.pollData.poll.options.image.duration"
857
+ },
858
+ {
859
+ path: "event.description.nodes.pollData.design.poll.background.image.duration"
860
+ },
861
+ { path: "event.description.nodes.appEmbedData.image.duration" },
862
+ { path: "event.description.nodes.videoData.video.duration" },
863
+ { path: "event.description.nodes.videoData.thumbnail.duration" },
864
+ { path: "event.description.nodes.audioData.audio.duration" },
865
+ { path: "event.description.nodes.audioData.coverImage.duration" }
866
+ ]
867
+ }
868
+ ])
869
+ };
870
+ return metadata;
871
+ }
872
+ return __getEvent;
873
+ }
874
+ function getEventBySlug(payload) {
875
+ function __getEventBySlug({ host }) {
876
+ const metadata = {
877
+ entityFqdn: "wix.events.v3.event",
878
+ method: "GET",
879
+ methodFqn: "wix.events.events.v3.EventManagement.GetEventBySlug",
880
+ packageName: PACKAGE_NAME,
881
+ url: resolveWixEventsEventsV3EventManagementUrl({
882
+ protoPath: "/v3/events/slug/{slug}",
883
+ data: payload,
884
+ host
885
+ }),
886
+ params: toURLSearchParams(payload),
887
+ transformResponse: (payload2) => transformPaths(payload2, [
888
+ {
889
+ transformFn: transformRESTTimestampToSDKTimestamp,
890
+ paths: [
891
+ { path: "event.createdDate" },
892
+ { path: "event.updatedDate" },
893
+ { path: "event.publishedDate" },
894
+ { path: "event.dateAndTimeSettings.startDate" },
895
+ { path: "event.dateAndTimeSettings.endDate" },
896
+ {
897
+ path: "event.dateAndTimeSettings.recurringEvents.individualEventDates.startDate"
898
+ },
899
+ {
900
+ path: "event.dateAndTimeSettings.recurringEvents.individualEventDates.endDate"
901
+ },
902
+ { path: "event.mainImage.urlExpirationDate" },
903
+ { path: "event.registration.rsvp.startDate" },
904
+ { path: "event.registration.rsvp.endDate" },
905
+ { path: "event.categories.categories.createdDate" },
906
+ { path: "event.description.metadata.createdTimestamp" },
907
+ { path: "event.description.metadata.updatedTimestamp" },
908
+ { path: "event.badges.badges.functionUpdateDate" }
909
+ ]
910
+ },
911
+ {
912
+ transformFn: transformRESTFloatToSDKFloat,
913
+ paths: [
914
+ { path: "event.location.address.geocode.latitude" },
915
+ { path: "event.location.address.geocode.longitude" },
916
+ {
917
+ path: "event.description.nodes.galleryData.items.image.media.duration"
918
+ },
919
+ {
920
+ path: "event.description.nodes.galleryData.items.video.media.duration"
921
+ },
922
+ {
923
+ path: "event.description.nodes.galleryData.items.video.thumbnail.duration"
924
+ },
925
+ {
926
+ path: "event.description.nodes.galleryData.options.item.ratio"
927
+ },
928
+ { path: "event.description.nodes.imageData.image.duration" },
929
+ { path: "event.description.nodes.mapData.mapSettings.lat" },
930
+ { path: "event.description.nodes.mapData.mapSettings.lng" },
931
+ { path: "event.description.nodes.pollData.poll.image.duration" },
932
+ {
933
+ path: "event.description.nodes.pollData.poll.options.image.duration"
934
+ },
935
+ {
936
+ path: "event.description.nodes.pollData.design.poll.background.image.duration"
937
+ },
938
+ { path: "event.description.nodes.appEmbedData.image.duration" },
939
+ { path: "event.description.nodes.videoData.video.duration" },
940
+ { path: "event.description.nodes.videoData.thumbnail.duration" },
941
+ { path: "event.description.nodes.audioData.audio.duration" },
942
+ { path: "event.description.nodes.audioData.coverImage.duration" }
943
+ ]
944
+ }
945
+ ])
946
+ };
947
+ return metadata;
948
+ }
949
+ return __getEventBySlug;
950
+ }
951
+
952
+ // src/events-v3-event-wix-events-v-2.universal.ts
953
+ import { transformSDKAddressToRESTAddress } from "@wix/sdk-runtime/transformations/address";
954
+ import { transformRESTAddressToSDKAddress } from "@wix/sdk-runtime/transformations/address";
955
+ import { transformSDKImageToRESTImage } from "@wix/sdk-runtime/transformations/image";
956
+ import { transformRESTImageToSDKImage } from "@wix/sdk-runtime/transformations/image";
957
+ import { transformSDKPageURLToRESTPageURL } from "@wix/sdk-runtime/transformations/page-url";
958
+ import { transformRESTPageURLToSDKPageURL } from "@wix/sdk-runtime/transformations/page-url";
959
+ import { transformPaths as transformPaths2 } from "@wix/sdk-runtime/transformations/transform-paths";
960
+ var LocationType = /* @__PURE__ */ ((LocationType2) => {
961
+ LocationType2["UNKNOWN_LOCATION"] = "UNKNOWN_LOCATION";
962
+ LocationType2["VENUE"] = "VENUE";
963
+ LocationType2["ONLINE"] = "ONLINE";
964
+ return LocationType2;
965
+ })(LocationType || {});
966
+ var SubdivisionSubdivisionType = /* @__PURE__ */ ((SubdivisionSubdivisionType2) => {
967
+ SubdivisionSubdivisionType2["UNKNOWN_SUBDIVISION_TYPE"] = "UNKNOWN_SUBDIVISION_TYPE";
968
+ SubdivisionSubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_1"] = "ADMINISTRATIVE_AREA_LEVEL_1";
969
+ SubdivisionSubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_2"] = "ADMINISTRATIVE_AREA_LEVEL_2";
970
+ SubdivisionSubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_3"] = "ADMINISTRATIVE_AREA_LEVEL_3";
971
+ SubdivisionSubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_4"] = "ADMINISTRATIVE_AREA_LEVEL_4";
972
+ SubdivisionSubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_5"] = "ADMINISTRATIVE_AREA_LEVEL_5";
973
+ SubdivisionSubdivisionType2["COUNTRY"] = "COUNTRY";
974
+ return SubdivisionSubdivisionType2;
975
+ })(SubdivisionSubdivisionType || {});
976
+ var RecurrenceStatusStatus = /* @__PURE__ */ ((RecurrenceStatusStatus2) => {
977
+ RecurrenceStatusStatus2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
978
+ RecurrenceStatusStatus2["ONE_TIME"] = "ONE_TIME";
979
+ RecurrenceStatusStatus2["RECURRING"] = "RECURRING";
980
+ RecurrenceStatusStatus2["RECURRING_UPCOMING"] = "RECURRING_UPCOMING";
981
+ RecurrenceStatusStatus2["RECURRING_RECENTLY_ENDED"] = "RECURRING_RECENTLY_ENDED";
982
+ RecurrenceStatusStatus2["RECURRING_RECENTLY_CANCELED"] = "RECURRING_RECENTLY_CANCELED";
983
+ return RecurrenceStatusStatus2;
984
+ })(RecurrenceStatusStatus || {});
985
+ var Status = /* @__PURE__ */ ((Status2) => {
986
+ Status2["UNKNOWN_EVENT_STATUS"] = "UNKNOWN_EVENT_STATUS";
987
+ Status2["UPCOMING"] = "UPCOMING";
988
+ Status2["STARTED"] = "STARTED";
989
+ Status2["ENDED"] = "ENDED";
990
+ Status2["CANCELED"] = "CANCELED";
991
+ Status2["DRAFT"] = "DRAFT";
992
+ return Status2;
993
+ })(Status || {});
994
+ var RegistrationTypeType = /* @__PURE__ */ ((RegistrationTypeType2) => {
995
+ RegistrationTypeType2["UNKNOWN_REGISTRATION_TYPE"] = "UNKNOWN_REGISTRATION_TYPE";
996
+ RegistrationTypeType2["RSVP"] = "RSVP";
997
+ RegistrationTypeType2["TICKETING"] = "TICKETING";
998
+ RegistrationTypeType2["EXTERNAL"] = "EXTERNAL";
999
+ RegistrationTypeType2["NONE"] = "NONE";
1000
+ return RegistrationTypeType2;
1001
+ })(RegistrationTypeType || {});
1002
+ var RegistrationStatusStatus = /* @__PURE__ */ ((RegistrationStatusStatus2) => {
1003
+ RegistrationStatusStatus2["UNKNOWN_REGISTRATION_STATUS"] = "UNKNOWN_REGISTRATION_STATUS";
1004
+ RegistrationStatusStatus2["CLOSED_AUTOMATICALLY"] = "CLOSED_AUTOMATICALLY";
1005
+ RegistrationStatusStatus2["CLOSED_MANUALLY"] = "CLOSED_MANUALLY";
1006
+ RegistrationStatusStatus2["OPEN_RSVP"] = "OPEN_RSVP";
1007
+ RegistrationStatusStatus2["OPEN_RSVP_WAITLIST_ONLY"] = "OPEN_RSVP_WAITLIST_ONLY";
1008
+ RegistrationStatusStatus2["OPEN_TICKETS"] = "OPEN_TICKETS";
1009
+ RegistrationStatusStatus2["OPEN_EXTERNAL"] = "OPEN_EXTERNAL";
1010
+ RegistrationStatusStatus2["SCHEDULED_RSVP"] = "SCHEDULED_RSVP";
1011
+ return RegistrationStatusStatus2;
1012
+ })(RegistrationStatusStatus || {});
1013
+ var ResponseType = /* @__PURE__ */ ((ResponseType2) => {
1014
+ ResponseType2["UNKNOWN_RESPONSE_TYPE"] = "UNKNOWN_RESPONSE_TYPE";
1015
+ ResponseType2["YES_ONLY"] = "YES_ONLY";
1016
+ ResponseType2["YES_AND_NO"] = "YES_AND_NO";
1017
+ return ResponseType2;
1018
+ })(ResponseType || {});
1019
+ var TaxType = /* @__PURE__ */ ((TaxType2) => {
1020
+ TaxType2["UNKNOWN_TAX_TYPE"] = "UNKNOWN_TAX_TYPE";
1021
+ TaxType2["INCLUDED_IN_PRICE"] = "INCLUDED_IN_PRICE";
1022
+ TaxType2["ADDED_AT_CHECKOUT"] = "ADDED_AT_CHECKOUT";
1023
+ return TaxType2;
1024
+ })(TaxType || {});
1025
+ var GuestTypeType = /* @__PURE__ */ ((GuestTypeType2) => {
1026
+ GuestTypeType2["UNKNOWN_GUEST_TYPE"] = "UNKNOWN_GUEST_TYPE";
1027
+ GuestTypeType2["VISITOR_OR_MEMBER"] = "VISITOR_OR_MEMBER";
1028
+ GuestTypeType2["MEMBER"] = "MEMBER";
1029
+ return GuestTypeType2;
1030
+ })(GuestTypeType || {});
1031
+ var InitialRegistrationTypeType = /* @__PURE__ */ ((InitialRegistrationTypeType2) => {
1032
+ InitialRegistrationTypeType2["UNKNOWN_INITIAL_REGISTRATION_TYPE"] = "UNKNOWN_INITIAL_REGISTRATION_TYPE";
1033
+ InitialRegistrationTypeType2["RSVP"] = "RSVP";
1034
+ InitialRegistrationTypeType2["TICKETING"] = "TICKETING";
1035
+ return InitialRegistrationTypeType2;
1036
+ })(InitialRegistrationTypeType || {});
1037
+ var InputControlType = /* @__PURE__ */ ((InputControlType2) => {
1038
+ InputControlType2["INPUT"] = "INPUT";
1039
+ InputControlType2["TEXTAREA"] = "TEXTAREA";
1040
+ InputControlType2["DROPDOWN"] = "DROPDOWN";
1041
+ InputControlType2["RADIO"] = "RADIO";
1042
+ InputControlType2["CHECKBOX"] = "CHECKBOX";
1043
+ InputControlType2["NAME"] = "NAME";
1044
+ InputControlType2["GUEST_CONTROL"] = "GUEST_CONTROL";
1045
+ InputControlType2["ADDRESS_SHORT"] = "ADDRESS_SHORT";
1046
+ InputControlType2["ADDRESS_FULL"] = "ADDRESS_FULL";
1047
+ InputControlType2["DATE"] = "DATE";
1048
+ return InputControlType2;
1049
+ })(InputControlType || {});
1050
+ var ValueType = /* @__PURE__ */ ((ValueType2) => {
1051
+ ValueType2["TEXT"] = "TEXT";
1052
+ ValueType2["NUMBER"] = "NUMBER";
1053
+ ValueType2["TEXT_ARRAY"] = "TEXT_ARRAY";
1054
+ ValueType2["DATE_TIME"] = "DATE_TIME";
1055
+ ValueType2["ADDRESS"] = "ADDRESS";
1056
+ return ValueType2;
1057
+ })(ValueType || {});
1058
+ var ConferenceTypeType = /* @__PURE__ */ ((ConferenceTypeType2) => {
1059
+ ConferenceTypeType2["UNKNOWN_CONFERENCE_TYPE"] = "UNKNOWN_CONFERENCE_TYPE";
1060
+ ConferenceTypeType2["MEETING"] = "MEETING";
1061
+ ConferenceTypeType2["WEBINAR"] = "WEBINAR";
1062
+ return ConferenceTypeType2;
1063
+ })(ConferenceTypeType || {});
1064
+ var CategoryTypeType = /* @__PURE__ */ ((CategoryTypeType2) => {
1065
+ CategoryTypeType2["MANUAL"] = "MANUAL";
1066
+ CategoryTypeType2["RECURRING_EVENT"] = "RECURRING_EVENT";
1067
+ return CategoryTypeType2;
1068
+ })(CategoryTypeType || {});
1069
+ var NodeType = /* @__PURE__ */ ((NodeType2) => {
1070
+ NodeType2["PARAGRAPH"] = "PARAGRAPH";
1071
+ NodeType2["TEXT"] = "TEXT";
1072
+ NodeType2["HEADING"] = "HEADING";
1073
+ NodeType2["BULLETED_LIST"] = "BULLETED_LIST";
1074
+ NodeType2["ORDERED_LIST"] = "ORDERED_LIST";
1075
+ NodeType2["LIST_ITEM"] = "LIST_ITEM";
1076
+ NodeType2["BLOCKQUOTE"] = "BLOCKQUOTE";
1077
+ NodeType2["CODE_BLOCK"] = "CODE_BLOCK";
1078
+ NodeType2["VIDEO"] = "VIDEO";
1079
+ NodeType2["DIVIDER"] = "DIVIDER";
1080
+ NodeType2["FILE"] = "FILE";
1081
+ NodeType2["GALLERY"] = "GALLERY";
1082
+ NodeType2["GIF"] = "GIF";
1083
+ NodeType2["HTML"] = "HTML";
1084
+ NodeType2["IMAGE"] = "IMAGE";
1085
+ NodeType2["LINK_PREVIEW"] = "LINK_PREVIEW";
1086
+ NodeType2["MAP"] = "MAP";
1087
+ NodeType2["POLL"] = "POLL";
1088
+ NodeType2["APP_EMBED"] = "APP_EMBED";
1089
+ NodeType2["BUTTON"] = "BUTTON";
1090
+ NodeType2["COLLAPSIBLE_LIST"] = "COLLAPSIBLE_LIST";
1091
+ NodeType2["TABLE"] = "TABLE";
1092
+ NodeType2["EMBED"] = "EMBED";
1093
+ NodeType2["COLLAPSIBLE_ITEM"] = "COLLAPSIBLE_ITEM";
1094
+ NodeType2["COLLAPSIBLE_ITEM_TITLE"] = "COLLAPSIBLE_ITEM_TITLE";
1095
+ NodeType2["COLLAPSIBLE_ITEM_BODY"] = "COLLAPSIBLE_ITEM_BODY";
1096
+ NodeType2["TABLE_CELL"] = "TABLE_CELL";
1097
+ NodeType2["TABLE_ROW"] = "TABLE_ROW";
1098
+ NodeType2["EXTERNAL"] = "EXTERNAL";
1099
+ NodeType2["AUDIO"] = "AUDIO";
1100
+ NodeType2["CAPTION"] = "CAPTION";
1101
+ NodeType2["LAYOUT"] = "LAYOUT";
1102
+ NodeType2["LAYOUT_CELL"] = "LAYOUT_CELL";
1103
+ return NodeType2;
1104
+ })(NodeType || {});
1105
+ var WidthType = /* @__PURE__ */ ((WidthType2) => {
1106
+ WidthType2["CONTENT"] = "CONTENT";
1107
+ WidthType2["SMALL"] = "SMALL";
1108
+ WidthType2["ORIGINAL"] = "ORIGINAL";
1109
+ WidthType2["FULL_WIDTH"] = "FULL_WIDTH";
1110
+ return WidthType2;
1111
+ })(WidthType || {});
1112
+ var PluginContainerDataAlignment = /* @__PURE__ */ ((PluginContainerDataAlignment2) => {
1113
+ PluginContainerDataAlignment2["CENTER"] = "CENTER";
1114
+ PluginContainerDataAlignment2["LEFT"] = "LEFT";
1115
+ PluginContainerDataAlignment2["RIGHT"] = "RIGHT";
1116
+ return PluginContainerDataAlignment2;
1117
+ })(PluginContainerDataAlignment || {});
1118
+ var ButtonDataType = /* @__PURE__ */ ((ButtonDataType2) => {
1119
+ ButtonDataType2["LINK"] = "LINK";
1120
+ ButtonDataType2["ACTION"] = "ACTION";
1121
+ return ButtonDataType2;
1122
+ })(ButtonDataType || {});
1123
+ var Target = /* @__PURE__ */ ((Target2) => {
1124
+ Target2["SELF"] = "SELF";
1125
+ Target2["BLANK"] = "BLANK";
1126
+ Target2["PARENT"] = "PARENT";
1127
+ Target2["TOP"] = "TOP";
1128
+ return Target2;
1129
+ })(Target || {});
1130
+ var TextAlignment = /* @__PURE__ */ ((TextAlignment2) => {
1131
+ TextAlignment2["AUTO"] = "AUTO";
1132
+ TextAlignment2["LEFT"] = "LEFT";
1133
+ TextAlignment2["RIGHT"] = "RIGHT";
1134
+ TextAlignment2["CENTER"] = "CENTER";
1135
+ TextAlignment2["JUSTIFY"] = "JUSTIFY";
1136
+ return TextAlignment2;
1137
+ })(TextAlignment || {});
1138
+ var LineStyle = /* @__PURE__ */ ((LineStyle2) => {
1139
+ LineStyle2["SINGLE"] = "SINGLE";
1140
+ LineStyle2["DOUBLE"] = "DOUBLE";
1141
+ LineStyle2["DASHED"] = "DASHED";
1142
+ LineStyle2["DOTTED"] = "DOTTED";
1143
+ return LineStyle2;
1144
+ })(LineStyle || {});
1145
+ var Width = /* @__PURE__ */ ((Width2) => {
1146
+ Width2["LARGE"] = "LARGE";
1147
+ Width2["MEDIUM"] = "MEDIUM";
1148
+ Width2["SMALL"] = "SMALL";
1149
+ return Width2;
1150
+ })(Width || {});
1151
+ var Alignment = /* @__PURE__ */ ((Alignment2) => {
1152
+ Alignment2["CENTER"] = "CENTER";
1153
+ Alignment2["LEFT"] = "LEFT";
1154
+ Alignment2["RIGHT"] = "RIGHT";
1155
+ return Alignment2;
1156
+ })(Alignment || {});
1157
+ var ViewMode = /* @__PURE__ */ ((ViewMode2) => {
1158
+ ViewMode2["NONE"] = "NONE";
1159
+ ViewMode2["FULL"] = "FULL";
1160
+ ViewMode2["MINI"] = "MINI";
1161
+ return ViewMode2;
1162
+ })(ViewMode || {});
1163
+ var LayoutType = /* @__PURE__ */ ((LayoutType2) => {
1164
+ LayoutType2["COLLAGE"] = "COLLAGE";
1165
+ LayoutType2["MASONRY"] = "MASONRY";
1166
+ LayoutType2["GRID"] = "GRID";
1167
+ LayoutType2["THUMBNAIL"] = "THUMBNAIL";
1168
+ LayoutType2["SLIDER"] = "SLIDER";
1169
+ LayoutType2["SLIDESHOW"] = "SLIDESHOW";
1170
+ LayoutType2["PANORAMA"] = "PANORAMA";
1171
+ LayoutType2["COLUMN"] = "COLUMN";
1172
+ LayoutType2["MAGIC"] = "MAGIC";
1173
+ LayoutType2["FULLSIZE"] = "FULLSIZE";
1174
+ return LayoutType2;
1175
+ })(LayoutType || {});
1176
+ var Orientation = /* @__PURE__ */ ((Orientation2) => {
1177
+ Orientation2["ROWS"] = "ROWS";
1178
+ Orientation2["COLUMNS"] = "COLUMNS";
1179
+ return Orientation2;
1180
+ })(Orientation || {});
1181
+ var Crop = /* @__PURE__ */ ((Crop2) => {
1182
+ Crop2["FILL"] = "FILL";
1183
+ Crop2["FIT"] = "FIT";
1184
+ return Crop2;
1185
+ })(Crop || {});
1186
+ var ThumbnailsAlignment = /* @__PURE__ */ ((ThumbnailsAlignment2) => {
1187
+ ThumbnailsAlignment2["TOP"] = "TOP";
1188
+ ThumbnailsAlignment2["RIGHT"] = "RIGHT";
1189
+ ThumbnailsAlignment2["BOTTOM"] = "BOTTOM";
1190
+ ThumbnailsAlignment2["LEFT"] = "LEFT";
1191
+ ThumbnailsAlignment2["NONE"] = "NONE";
1192
+ return ThumbnailsAlignment2;
1193
+ })(ThumbnailsAlignment || {});
1194
+ var GIFType = /* @__PURE__ */ ((GIFType2) => {
1195
+ GIFType2["NORMAL"] = "NORMAL";
1196
+ GIFType2["STICKER"] = "STICKER";
1197
+ return GIFType2;
1198
+ })(GIFType || {});
1199
+ var Source = /* @__PURE__ */ ((Source2) => {
1200
+ Source2["HTML"] = "HTML";
1201
+ Source2["ADSENSE"] = "ADSENSE";
1202
+ return Source2;
1203
+ })(Source || {});
1204
+ var Position = /* @__PURE__ */ ((Position2) => {
1205
+ Position2["START"] = "START";
1206
+ Position2["END"] = "END";
1207
+ Position2["TOP"] = "TOP";
1208
+ Position2["HIDDEN"] = "HIDDEN";
1209
+ return Position2;
1210
+ })(Position || {});
1211
+ var MapType = /* @__PURE__ */ ((MapType2) => {
1212
+ MapType2["ROADMAP"] = "ROADMAP";
1213
+ MapType2["SATELITE"] = "SATELITE";
1214
+ MapType2["HYBRID"] = "HYBRID";
1215
+ MapType2["TERRAIN"] = "TERRAIN";
1216
+ return MapType2;
1217
+ })(MapType || {});
1218
+ var ViewRole = /* @__PURE__ */ ((ViewRole2) => {
1219
+ ViewRole2["CREATOR"] = "CREATOR";
1220
+ ViewRole2["VOTERS"] = "VOTERS";
1221
+ ViewRole2["EVERYONE"] = "EVERYONE";
1222
+ return ViewRole2;
1223
+ })(ViewRole || {});
1224
+ var VoteRole = /* @__PURE__ */ ((VoteRole2) => {
1225
+ VoteRole2["SITE_MEMBERS"] = "SITE_MEMBERS";
1226
+ VoteRole2["ALL"] = "ALL";
1227
+ return VoteRole2;
1228
+ })(VoteRole || {});
1229
+ var PollLayoutType = /* @__PURE__ */ ((PollLayoutType2) => {
1230
+ PollLayoutType2["LIST"] = "LIST";
1231
+ PollLayoutType2["GRID"] = "GRID";
1232
+ return PollLayoutType2;
1233
+ })(PollLayoutType || {});
1234
+ var PollLayoutDirection = /* @__PURE__ */ ((PollLayoutDirection2) => {
1235
+ PollLayoutDirection2["LTR"] = "LTR";
1236
+ PollLayoutDirection2["RTL"] = "RTL";
1237
+ return PollLayoutDirection2;
1238
+ })(PollLayoutDirection || {});
1239
+ var BackgroundType = /* @__PURE__ */ ((BackgroundType2) => {
1240
+ BackgroundType2["COLOR"] = "COLOR";
1241
+ BackgroundType2["IMAGE"] = "IMAGE";
1242
+ BackgroundType2["GRADIENT"] = "GRADIENT";
1243
+ return BackgroundType2;
1244
+ })(BackgroundType || {});
1245
+ var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
1246
+ DecorationType2["BOLD"] = "BOLD";
1247
+ DecorationType2["ITALIC"] = "ITALIC";
1248
+ DecorationType2["UNDERLINE"] = "UNDERLINE";
1249
+ DecorationType2["SPOILER"] = "SPOILER";
1250
+ DecorationType2["ANCHOR"] = "ANCHOR";
1251
+ DecorationType2["MENTION"] = "MENTION";
1252
+ DecorationType2["LINK"] = "LINK";
1253
+ DecorationType2["COLOR"] = "COLOR";
1254
+ DecorationType2["FONT_SIZE"] = "FONT_SIZE";
1255
+ DecorationType2["EXTERNAL"] = "EXTERNAL";
1256
+ DecorationType2["STRIKETHROUGH"] = "STRIKETHROUGH";
1257
+ DecorationType2["SUPERSCRIPT"] = "SUPERSCRIPT";
1258
+ DecorationType2["SUBSCRIPT"] = "SUBSCRIPT";
1259
+ return DecorationType2;
1260
+ })(DecorationType || {});
1261
+ var FontType = /* @__PURE__ */ ((FontType2) => {
1262
+ FontType2["PX"] = "PX";
1263
+ FontType2["EM"] = "EM";
1264
+ return FontType2;
1265
+ })(FontType || {});
1266
+ var AppType = /* @__PURE__ */ ((AppType2) => {
1267
+ AppType2["PRODUCT"] = "PRODUCT";
1268
+ AppType2["EVENT"] = "EVENT";
1269
+ AppType2["BOOKING"] = "BOOKING";
1270
+ return AppType2;
1271
+ })(AppType || {});
1272
+ var InitialExpandedItems = /* @__PURE__ */ ((InitialExpandedItems2) => {
1273
+ InitialExpandedItems2["FIRST"] = "FIRST";
1274
+ InitialExpandedItems2["ALL"] = "ALL";
1275
+ InitialExpandedItems2["NONE"] = "NONE";
1276
+ return InitialExpandedItems2;
1277
+ })(InitialExpandedItems || {});
1278
+ var Direction = /* @__PURE__ */ ((Direction2) => {
1279
+ Direction2["LTR"] = "LTR";
1280
+ Direction2["RTL"] = "RTL";
1281
+ return Direction2;
1282
+ })(Direction || {});
1283
+ var VerticalAlignment = /* @__PURE__ */ ((VerticalAlignment2) => {
1284
+ VerticalAlignment2["TOP"] = "TOP";
1285
+ VerticalAlignment2["MIDDLE"] = "MIDDLE";
1286
+ VerticalAlignment2["BOTTOM"] = "BOTTOM";
1287
+ return VerticalAlignment2;
1288
+ })(VerticalAlignment || {});
1289
+ var NullValue = /* @__PURE__ */ ((NullValue2) => {
1290
+ NullValue2["NULL_VALUE"] = "NULL_VALUE";
1291
+ return NullValue2;
1292
+ })(NullValue || {});
1293
+ var BadgeTypeType = /* @__PURE__ */ ((BadgeTypeType2) => {
1294
+ BadgeTypeType2["UNKNOWN_BADGE_TYPE"] = "UNKNOWN_BADGE_TYPE";
1295
+ BadgeTypeType2["FIRST_PRIORITY"] = "FIRST_PRIORITY";
1296
+ BadgeTypeType2["SECOND_PRIORITY"] = "SECOND_PRIORITY";
1297
+ BadgeTypeType2["THIRD_PRIORITY"] = "THIRD_PRIORITY";
1298
+ return BadgeTypeType2;
1299
+ })(BadgeTypeType || {});
1300
+ var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
1301
+ RequestedFields2["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
1302
+ RequestedFields2["DETAILS"] = "DETAILS";
1303
+ RequestedFields2["TEXTS"] = "TEXTS";
1304
+ RequestedFields2["REGISTRATION"] = "REGISTRATION";
1305
+ RequestedFields2["URLS"] = "URLS";
1306
+ RequestedFields2["FORM"] = "FORM";
1307
+ RequestedFields2["DASHBOARD"] = "DASHBOARD";
1308
+ RequestedFields2["FEED"] = "FEED";
1309
+ RequestedFields2["ONLINE_CONFERENCING_SESSION"] = "ONLINE_CONFERENCING_SESSION";
1310
+ RequestedFields2["SEO_SETTINGS"] = "SEO_SETTINGS";
1311
+ RequestedFields2["AGENDA"] = "AGENDA";
1312
+ RequestedFields2["CATEGORIES"] = "CATEGORIES";
1313
+ return RequestedFields2;
1314
+ })(RequestedFields || {});
1315
+ var CommonSortOrder = /* @__PURE__ */ ((CommonSortOrder2) => {
1316
+ CommonSortOrder2["ASC"] = "ASC";
1317
+ CommonSortOrder2["DESC"] = "DESC";
1318
+ return CommonSortOrder2;
1319
+ })(CommonSortOrder || {});
1320
+ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
1321
+ SortOrder2["ASC"] = "ASC";
1322
+ SortOrder2["DESC"] = "DESC";
1323
+ return SortOrder2;
1324
+ })(SortOrder || {});
1325
+ var Relation = /* @__PURE__ */ ((Relation2) => {
1326
+ Relation2["ATTENDING"] = "ATTENDING";
1327
+ return Relation2;
1328
+ })(Relation || {});
1329
+ var LocationLocationType = /* @__PURE__ */ ((LocationLocationType2) => {
1330
+ LocationLocationType2["VENUE"] = "VENUE";
1331
+ LocationLocationType2["ONLINE"] = "ONLINE";
1332
+ return LocationLocationType2;
1333
+ })(LocationLocationType || {});
1334
+ var SubdivisionType = /* @__PURE__ */ ((SubdivisionType2) => {
1335
+ SubdivisionType2["UNKNOWN_SUBDIVISION_TYPE"] = "UNKNOWN_SUBDIVISION_TYPE";
1336
+ SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_1"] = "ADMINISTRATIVE_AREA_LEVEL_1";
1337
+ SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_2"] = "ADMINISTRATIVE_AREA_LEVEL_2";
1338
+ SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_3"] = "ADMINISTRATIVE_AREA_LEVEL_3";
1339
+ SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_4"] = "ADMINISTRATIVE_AREA_LEVEL_4";
1340
+ SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_5"] = "ADMINISTRATIVE_AREA_LEVEL_5";
1341
+ SubdivisionType2["COUNTRY"] = "COUNTRY";
1342
+ return SubdivisionType2;
1343
+ })(SubdivisionType || {});
1344
+ var EventsRecurrenceStatusStatus = /* @__PURE__ */ ((EventsRecurrenceStatusStatus2) => {
1345
+ EventsRecurrenceStatusStatus2["ONE_TIME"] = "ONE_TIME";
1346
+ EventsRecurrenceStatusStatus2["RECURRING"] = "RECURRING";
1347
+ EventsRecurrenceStatusStatus2["RECURRING_NEXT"] = "RECURRING_NEXT";
1348
+ EventsRecurrenceStatusStatus2["RECURRING_LAST_ENDED"] = "RECURRING_LAST_ENDED";
1349
+ EventsRecurrenceStatusStatus2["RECURRING_LAST_CANCELED"] = "RECURRING_LAST_CANCELED";
1350
+ return EventsRecurrenceStatusStatus2;
1351
+ })(EventsRecurrenceStatusStatus || {});
1352
+ var EventStatus = /* @__PURE__ */ ((EventStatus2) => {
1353
+ EventStatus2["SCHEDULED"] = "SCHEDULED";
1354
+ EventStatus2["STARTED"] = "STARTED";
1355
+ EventStatus2["ENDED"] = "ENDED";
1356
+ EventStatus2["CANCELED"] = "CANCELED";
1357
+ return EventStatus2;
1358
+ })(EventStatus || {});
1359
+ var EventType = /* @__PURE__ */ ((EventType2) => {
1360
+ EventType2["NA_EVENT_TYPE"] = "NA_EVENT_TYPE";
1361
+ EventType2["RSVP"] = "RSVP";
1362
+ EventType2["TICKETS"] = "TICKETS";
1363
+ EventType2["EXTERNAL"] = "EXTERNAL";
1364
+ EventType2["NO_REGISTRATION"] = "NO_REGISTRATION";
1365
+ return EventType2;
1366
+ })(EventType || {});
1367
+ var RegistrationStatus = /* @__PURE__ */ ((RegistrationStatus2) => {
1368
+ RegistrationStatus2["NA_REGISTRATION_STATUS"] = "NA_REGISTRATION_STATUS";
1369
+ RegistrationStatus2["CLOSED"] = "CLOSED";
1370
+ RegistrationStatus2["CLOSED_MANUALLY"] = "CLOSED_MANUALLY";
1371
+ RegistrationStatus2["OPEN_RSVP"] = "OPEN_RSVP";
1372
+ RegistrationStatus2["OPEN_RSVP_WAITLIST"] = "OPEN_RSVP_WAITLIST";
1373
+ RegistrationStatus2["OPEN_TICKETS"] = "OPEN_TICKETS";
1374
+ RegistrationStatus2["OPEN_EXTERNAL"] = "OPEN_EXTERNAL";
1375
+ RegistrationStatus2["SCHEDULED_RSVP"] = "SCHEDULED_RSVP";
1376
+ return RegistrationStatus2;
1377
+ })(RegistrationStatus || {});
1378
+ var RsvpStatusOptions = /* @__PURE__ */ ((RsvpStatusOptions2) => {
1379
+ RsvpStatusOptions2["YES_ONLY"] = "YES_ONLY";
1380
+ RsvpStatusOptions2["YES_AND_NO"] = "YES_AND_NO";
1381
+ return RsvpStatusOptions2;
1382
+ })(RsvpStatusOptions || {});
1383
+ var EventsTaxType = /* @__PURE__ */ ((EventsTaxType2) => {
1384
+ EventsTaxType2["INCLUDED"] = "INCLUDED";
1385
+ EventsTaxType2["ADDED"] = "ADDED";
1386
+ EventsTaxType2["ADDED_AT_CHECKOUT"] = "ADDED_AT_CHECKOUT";
1387
+ return EventsTaxType2;
1388
+ })(EventsTaxType || {});
1389
+ var VisitorType = /* @__PURE__ */ ((VisitorType2) => {
1390
+ VisitorType2["VISITOR"] = "VISITOR";
1391
+ VisitorType2["MEMBER"] = "MEMBER";
1392
+ VisitorType2["VISITOR_OR_MEMBER"] = "VISITOR_OR_MEMBER";
1393
+ return VisitorType2;
1394
+ })(VisitorType || {});
1395
+ var ConferenceType = /* @__PURE__ */ ((ConferenceType2) => {
1396
+ ConferenceType2["MEETING"] = "MEETING";
1397
+ ConferenceType2["WEBINAR"] = "WEBINAR";
1398
+ return ConferenceType2;
1399
+ })(ConferenceType || {});
1400
+ var State = /* @__PURE__ */ ((State2) => {
1401
+ State2["MANUAL"] = "MANUAL";
1402
+ State2["AUTO"] = "AUTO";
1403
+ State2["RECURRING_EVENT"] = "RECURRING_EVENT";
1404
+ State2["HIDDEN"] = "HIDDEN";
1405
+ return State2;
1406
+ })(State || {});
1407
+ var Type = /* @__PURE__ */ ((Type2) => {
1408
+ Type2["UNKNOWN_BADGE_TYPE"] = "UNKNOWN_BADGE_TYPE";
1409
+ Type2["FIRST_PRIORITY"] = "FIRST_PRIORITY";
1410
+ Type2["SECOND_PRIORITY"] = "SECOND_PRIORITY";
1411
+ Type2["THIRD_PRIORITY"] = "THIRD_PRIORITY";
1412
+ return Type2;
1413
+ })(Type || {});
1414
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
1415
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
1416
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
1417
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
1418
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
1419
+ WebhookIdentityType2["APP"] = "APP";
1420
+ return WebhookIdentityType2;
1421
+ })(WebhookIdentityType || {});
1422
+ async function createEvent2(event, options) {
1423
+ const { httpClient, sideEffects } = arguments[2];
1424
+ const payload = transformPaths2(
1425
+ renameKeysFromSDKRequestToRESTRequest(
1426
+ { event, draft: options?.draft, fields: options?.fields },
1427
+ ["event.description"]
1428
+ ),
1429
+ [
1430
+ {
1431
+ transformFn: transformSDKImageToRESTImage,
1432
+ paths: [{ path: "event.mainImage" }]
1433
+ },
1434
+ {
1435
+ transformFn: transformSDKPageURLToRESTPageURL,
1436
+ paths: [
1437
+ { path: "event.eventPageUrl" },
1438
+ { path: "event.agendaSettings.pageUrl" }
1439
+ ]
1440
+ },
1441
+ {
1442
+ transformFn: transformSDKAddressToRESTAddress,
1443
+ paths: [{ path: "event.location.address" }]
1444
+ }
1445
+ ]
1446
+ );
1447
+ const reqOpts = createEvent(payload);
1448
+ sideEffects?.onSiteCall?.();
1449
+ try {
1450
+ const result = await httpClient.request(reqOpts);
1451
+ sideEffects?.onSuccess?.(result);
1452
+ return renameKeysFromRESTResponseToSDKResponse(
1453
+ transformPaths2(result.data, [
1454
+ {
1455
+ transformFn: transformRESTImageToSDKImage,
1456
+ paths: [{ path: "event.mainImage" }]
1457
+ },
1458
+ {
1459
+ transformFn: transformRESTPageURLToSDKPageURL,
1460
+ paths: [
1461
+ { path: "event.eventPageUrl" },
1462
+ { path: "event.agendaSettings.pageUrl" }
1463
+ ]
1464
+ },
1465
+ {
1466
+ transformFn: transformRESTAddressToSDKAddress,
1467
+ paths: [{ path: "event.location.address" }]
1468
+ }
1469
+ ]),
1470
+ ["event.description"]
1471
+ )?.event;
1472
+ } catch (err) {
1473
+ const transformedError = sdkTransformError(
1474
+ err,
1475
+ {
1476
+ spreadPathsToArguments: {},
1477
+ explicitPathsToArguments: {
1478
+ event: "$[0]",
1479
+ draft: "$[1].draft",
1480
+ fields: "$[1].fields"
1481
+ },
1482
+ singleArgumentUnchanged: false
1483
+ },
1484
+ ["event", "options"]
1485
+ );
1486
+ sideEffects?.onError?.(err);
1487
+ throw transformedError;
1488
+ }
1489
+ }
1490
+ async function cloneEvent2(eventId, options) {
1491
+ const { httpClient, sideEffects } = arguments[2];
1492
+ const payload = transformPaths2(
1493
+ renameKeysFromSDKRequestToRESTRequest(
1494
+ {
1495
+ eventId,
1496
+ event: options?.event,
1497
+ draft: options?.draft,
1498
+ fields: options?.fields
1499
+ },
1500
+ ["event.description"]
1501
+ ),
1502
+ [
1503
+ {
1504
+ transformFn: transformSDKImageToRESTImage,
1505
+ paths: [{ path: "event.mainImage" }]
1506
+ },
1507
+ {
1508
+ transformFn: transformSDKPageURLToRESTPageURL,
1509
+ paths: [
1510
+ { path: "event.eventPageUrl" },
1511
+ { path: "event.agendaSettings.pageUrl" }
1512
+ ]
1513
+ },
1514
+ {
1515
+ transformFn: transformSDKAddressToRESTAddress,
1516
+ paths: [{ path: "event.location.address" }]
1517
+ }
1518
+ ]
1519
+ );
1520
+ const reqOpts = cloneEvent(payload);
1521
+ sideEffects?.onSiteCall?.();
1522
+ try {
1523
+ const result = await httpClient.request(reqOpts);
1524
+ sideEffects?.onSuccess?.(result);
1525
+ return renameKeysFromRESTResponseToSDKResponse(
1526
+ transformPaths2(result.data, [
1527
+ {
1528
+ transformFn: transformRESTImageToSDKImage,
1529
+ paths: [{ path: "event.mainImage" }]
1530
+ },
1531
+ {
1532
+ transformFn: transformRESTPageURLToSDKPageURL,
1533
+ paths: [
1534
+ { path: "event.eventPageUrl" },
1535
+ { path: "event.agendaSettings.pageUrl" }
1536
+ ]
1537
+ },
1538
+ {
1539
+ transformFn: transformRESTAddressToSDKAddress,
1540
+ paths: [{ path: "event.location.address" }]
1541
+ }
1542
+ ]),
1543
+ ["event.description"]
1544
+ );
1545
+ } catch (err) {
1546
+ const transformedError = sdkTransformError(
1547
+ err,
1548
+ {
1549
+ spreadPathsToArguments: {},
1550
+ explicitPathsToArguments: {
1551
+ eventId: "$[0]",
1552
+ event: "$[1].event",
1553
+ draft: "$[1].draft",
1554
+ fields: "$[1].fields"
1555
+ },
1556
+ singleArgumentUnchanged: false
1557
+ },
1558
+ ["eventId", "options"]
1559
+ );
1560
+ sideEffects?.onError?.(err);
1561
+ throw transformedError;
1562
+ }
1563
+ }
1564
+ async function updateEvent2(_id, options) {
1565
+ const { httpClient, sideEffects } = arguments[2];
1566
+ const payload = transformPaths2(
1567
+ renameKeysFromSDKRequestToRESTRequest(
1568
+ { event: { ...options?.event, id: _id }, fields: options?.fields },
1569
+ ["event.description"]
1570
+ ),
1571
+ [
1572
+ {
1573
+ transformFn: transformSDKImageToRESTImage,
1574
+ paths: [{ path: "event.mainImage" }]
1575
+ },
1576
+ {
1577
+ transformFn: transformSDKPageURLToRESTPageURL,
1578
+ paths: [
1579
+ { path: "event.eventPageUrl" },
1580
+ { path: "event.agendaSettings.pageUrl" }
1581
+ ]
1582
+ },
1583
+ {
1584
+ transformFn: transformSDKAddressToRESTAddress,
1585
+ paths: [{ path: "event.location.address" }]
1586
+ }
1587
+ ]
1588
+ );
1589
+ const reqOpts = updateEvent(payload);
1590
+ sideEffects?.onSiteCall?.();
1591
+ try {
1592
+ const result = await httpClient.request(reqOpts);
1593
+ sideEffects?.onSuccess?.(result);
1594
+ return renameKeysFromRESTResponseToSDKResponse(
1595
+ transformPaths2(result.data, [
1596
+ {
1597
+ transformFn: transformRESTImageToSDKImage,
1598
+ paths: [{ path: "event.mainImage" }]
1599
+ },
1600
+ {
1601
+ transformFn: transformRESTPageURLToSDKPageURL,
1602
+ paths: [
1603
+ { path: "event.eventPageUrl" },
1604
+ { path: "event.agendaSettings.pageUrl" }
1605
+ ]
1606
+ },
1607
+ {
1608
+ transformFn: transformRESTAddressToSDKAddress,
1609
+ paths: [{ path: "event.location.address" }]
1610
+ }
1611
+ ]),
1612
+ ["event.description"]
1613
+ )?.event;
1614
+ } catch (err) {
1615
+ const transformedError = sdkTransformError(
1616
+ err,
1617
+ {
1618
+ spreadPathsToArguments: { event: "$[1].event" },
1619
+ explicitPathsToArguments: { "event.id": "$[0]", fields: "$[1].fields" },
1620
+ singleArgumentUnchanged: false
1621
+ },
1622
+ ["_id", "options"]
1623
+ );
1624
+ sideEffects?.onError?.(err);
1625
+ throw transformedError;
1626
+ }
1627
+ }
1628
+ async function publishDraftEvent2(eventId, options) {
1629
+ const { httpClient, sideEffects } = arguments[2];
1630
+ const payload = renameKeysFromSDKRequestToRESTRequest(
1631
+ { eventId, fields: options?.fields },
1632
+ []
1633
+ );
1634
+ const reqOpts = publishDraftEvent(payload);
1635
+ sideEffects?.onSiteCall?.();
1636
+ try {
1637
+ const result = await httpClient.request(reqOpts);
1638
+ sideEffects?.onSuccess?.(result);
1639
+ return renameKeysFromRESTResponseToSDKResponse(
1640
+ transformPaths2(result.data, [
1641
+ {
1642
+ transformFn: transformRESTImageToSDKImage,
1643
+ paths: [{ path: "event.mainImage" }]
1644
+ },
1645
+ {
1646
+ transformFn: transformRESTPageURLToSDKPageURL,
1647
+ paths: [
1648
+ { path: "event.eventPageUrl" },
1649
+ { path: "event.agendaSettings.pageUrl" }
1650
+ ]
1651
+ },
1652
+ {
1653
+ transformFn: transformRESTAddressToSDKAddress,
1654
+ paths: [{ path: "event.location.address" }]
1655
+ }
1656
+ ]),
1657
+ ["event.description"]
1658
+ );
1659
+ } catch (err) {
1660
+ const transformedError = sdkTransformError(
1661
+ err,
1662
+ {
1663
+ spreadPathsToArguments: {},
1664
+ explicitPathsToArguments: { eventId: "$[0]", fields: "$[1].fields" },
1665
+ singleArgumentUnchanged: false
1666
+ },
1667
+ ["eventId", "options"]
1668
+ );
1669
+ sideEffects?.onError?.(err);
1670
+ throw transformedError;
1671
+ }
1672
+ }
1673
+ async function cancelEvent2(eventId, options) {
1674
+ const { httpClient, sideEffects } = arguments[2];
1675
+ const payload = renameKeysFromSDKRequestToRESTRequest(
1676
+ { eventId, fields: options?.fields },
1677
+ []
1678
+ );
1679
+ const reqOpts = cancelEvent(payload);
1680
+ sideEffects?.onSiteCall?.();
1681
+ try {
1682
+ const result = await httpClient.request(reqOpts);
1683
+ sideEffects?.onSuccess?.(result);
1684
+ return renameKeysFromRESTResponseToSDKResponse(
1685
+ transformPaths2(result.data, [
1686
+ {
1687
+ transformFn: transformRESTImageToSDKImage,
1688
+ paths: [{ path: "event.mainImage" }]
1689
+ },
1690
+ {
1691
+ transformFn: transformRESTPageURLToSDKPageURL,
1692
+ paths: [
1693
+ { path: "event.eventPageUrl" },
1694
+ { path: "event.agendaSettings.pageUrl" }
1695
+ ]
1696
+ },
1697
+ {
1698
+ transformFn: transformRESTAddressToSDKAddress,
1699
+ paths: [{ path: "event.location.address" }]
1700
+ }
1701
+ ]),
1702
+ ["event.description"]
1703
+ );
1704
+ } catch (err) {
1705
+ const transformedError = sdkTransformError(
1706
+ err,
1707
+ {
1708
+ spreadPathsToArguments: {},
1709
+ explicitPathsToArguments: { eventId: "$[0]", fields: "$[1].fields" },
1710
+ singleArgumentUnchanged: false
1711
+ },
1712
+ ["eventId", "options"]
1713
+ );
1714
+ sideEffects?.onError?.(err);
1715
+ throw transformedError;
1716
+ }
1717
+ }
1718
+ async function bulkCancelEventsByFilter2(options) {
1719
+ const { httpClient, sideEffects } = arguments[1];
1720
+ const payload = renameKeysFromSDKRequestToRESTRequest(
1721
+ { filter: options?.filter },
1722
+ []
1723
+ );
1724
+ const reqOpts = bulkCancelEventsByFilter(payload);
1725
+ sideEffects?.onSiteCall?.();
1726
+ try {
1727
+ const result = await httpClient.request(reqOpts);
1728
+ sideEffects?.onSuccess?.(result);
1729
+ } catch (err) {
1730
+ const transformedError = sdkTransformError(
1731
+ err,
1732
+ {
1733
+ spreadPathsToArguments: {},
1734
+ explicitPathsToArguments: { filter: "$[0].filter" },
1735
+ singleArgumentUnchanged: false
1736
+ },
1737
+ ["options"]
1738
+ );
1739
+ sideEffects?.onError?.(err);
1740
+ throw transformedError;
1741
+ }
1742
+ }
1743
+ async function deleteEvent2(eventId) {
1744
+ const { httpClient, sideEffects } = arguments[1];
1745
+ const payload = renameKeysFromSDKRequestToRESTRequest(
1746
+ { eventId },
1747
+ []
1748
+ );
1749
+ const reqOpts = deleteEvent(payload);
1750
+ sideEffects?.onSiteCall?.();
1751
+ try {
1752
+ const result = await httpClient.request(reqOpts);
1753
+ sideEffects?.onSuccess?.(result);
1754
+ return renameKeysFromRESTResponseToSDKResponse(result.data, []);
1755
+ } catch (err) {
1756
+ const transformedError = sdkTransformError(
1757
+ err,
1758
+ {
1759
+ spreadPathsToArguments: {},
1760
+ explicitPathsToArguments: { eventId: "$[0]" },
1761
+ singleArgumentUnchanged: false
1762
+ },
1763
+ ["eventId"]
1764
+ );
1765
+ sideEffects?.onError?.(err);
1766
+ throw transformedError;
1767
+ }
1768
+ }
1769
+ async function bulkDeleteEventsByFilter2(options) {
1770
+ const { httpClient, sideEffects } = arguments[1];
1771
+ const payload = renameKeysFromSDKRequestToRESTRequest(
1772
+ { filter: options?.filter },
1773
+ []
1774
+ );
1775
+ const reqOpts = bulkDeleteEventsByFilter(payload);
1776
+ sideEffects?.onSiteCall?.();
1777
+ try {
1778
+ const result = await httpClient.request(reqOpts);
1779
+ sideEffects?.onSuccess?.(result);
1780
+ } catch (err) {
1781
+ const transformedError = sdkTransformError(
1782
+ err,
1783
+ {
1784
+ spreadPathsToArguments: {},
1785
+ explicitPathsToArguments: { filter: "$[0].filter" },
1786
+ singleArgumentUnchanged: false
1787
+ },
1788
+ ["options"]
1789
+ );
1790
+ sideEffects?.onError?.(err);
1791
+ throw transformedError;
1792
+ }
1793
+ }
1794
+ function queryEvents2(options) {
1795
+ const { httpClient, sideEffects } = arguments[1];
1796
+ return queryBuilder({
1797
+ func: async (payload) => {
1798
+ const reqOpts = queryEvents({
1799
+ ...payload,
1800
+ ...options ?? {}
1801
+ });
1802
+ sideEffects?.onSiteCall?.();
1803
+ try {
1804
+ const result = await httpClient.request(reqOpts);
1805
+ sideEffects?.onSuccess?.(result);
1806
+ return result;
1807
+ } catch (err) {
1808
+ sideEffects?.onError?.(err);
1809
+ throw err;
1810
+ }
1811
+ },
1812
+ requestTransformer: (query) => {
1813
+ const args = [query, options];
1814
+ return renameKeysFromSDKRequestToRESTRequest(
1815
+ { ...args?.[1], query: args?.[0] },
1816
+ []
1817
+ );
1818
+ },
1819
+ responseTransformer: ({ data }) => {
1820
+ const transformedData = renameKeysFromRESTResponseToSDKResponse(
1821
+ transformPaths2(data, [
1822
+ {
1823
+ transformFn: transformRESTImageToSDKImage,
1824
+ paths: [{ path: "events.mainImage" }]
1825
+ },
1826
+ {
1827
+ transformFn: transformRESTPageURLToSDKPageURL,
1828
+ paths: [
1829
+ { path: "events.eventPageUrl" },
1830
+ { path: "events.agendaSettings.pageUrl" }
1831
+ ]
1832
+ },
1833
+ {
1834
+ transformFn: transformRESTAddressToSDKAddress,
1835
+ paths: [{ path: "events.location.address" }]
1836
+ }
1837
+ ]),
1838
+ ["events.description"]
1839
+ );
1840
+ return {
1841
+ items: transformedData?.events,
1842
+ pagingMetadata: transformedData?.pagingMetadata
1843
+ };
1844
+ },
1845
+ errorTransformer: (err) => {
1846
+ const transformedError = sdkTransformError(err, {
1847
+ spreadPathsToArguments: {},
1848
+ explicitPathsToArguments: { query: "$[0]" },
1849
+ singleArgumentUnchanged: false
1850
+ });
1851
+ throw transformedError;
1852
+ },
1853
+ pagingMethod: "OFFSET",
1854
+ transformationPaths: {}
1855
+ });
1856
+ }
1857
+ async function countEventsByStatus2(options) {
1858
+ const { httpClient, sideEffects } = arguments[1];
1859
+ const payload = renameKeysFromSDKRequestToRESTRequest(
1860
+ {
1861
+ filter: options?.filter,
1862
+ facet: options?.facet,
1863
+ includeDrafts: options?.includeDrafts
1864
+ },
1865
+ []
1866
+ );
1867
+ const reqOpts = countEventsByStatus(payload);
1868
+ sideEffects?.onSiteCall?.();
1869
+ try {
1870
+ const result = await httpClient.request(reqOpts);
1871
+ sideEffects?.onSuccess?.(result);
1872
+ return renameKeysFromRESTResponseToSDKResponse(result.data, []);
1873
+ } catch (err) {
1874
+ const transformedError = sdkTransformError(
1875
+ err,
1876
+ {
1877
+ spreadPathsToArguments: {},
1878
+ explicitPathsToArguments: {
1879
+ filter: "$[0].filter",
1880
+ facet: "$[0].facet",
1881
+ includeDrafts: "$[0].includeDrafts"
1882
+ },
1883
+ singleArgumentUnchanged: false
1884
+ },
1885
+ ["options"]
1886
+ );
1887
+ sideEffects?.onError?.(err);
1888
+ throw transformedError;
1889
+ }
1890
+ }
1891
+ async function getEvent2(eventId, options) {
1892
+ const { httpClient, sideEffects } = arguments[2];
1893
+ const payload = renameKeysFromSDKRequestToRESTRequest(
1894
+ { eventId, fields: options?.fields },
1895
+ []
1896
+ );
1897
+ const reqOpts = getEvent(payload);
1898
+ sideEffects?.onSiteCall?.();
1899
+ try {
1900
+ const result = await httpClient.request(reqOpts);
1901
+ sideEffects?.onSuccess?.(result);
1902
+ return renameKeysFromRESTResponseToSDKResponse(
1903
+ transformPaths2(result.data, [
1904
+ {
1905
+ transformFn: transformRESTImageToSDKImage,
1906
+ paths: [{ path: "event.mainImage" }]
1907
+ },
1908
+ {
1909
+ transformFn: transformRESTPageURLToSDKPageURL,
1910
+ paths: [
1911
+ { path: "event.eventPageUrl" },
1912
+ { path: "event.agendaSettings.pageUrl" }
1913
+ ]
1914
+ },
1915
+ {
1916
+ transformFn: transformRESTAddressToSDKAddress,
1917
+ paths: [{ path: "event.location.address" }]
1918
+ }
1919
+ ]),
1920
+ ["event.description"]
1921
+ )?.event;
1922
+ } catch (err) {
1923
+ const transformedError = sdkTransformError(
1924
+ err,
1925
+ {
1926
+ spreadPathsToArguments: {},
1927
+ explicitPathsToArguments: { eventId: "$[0]", fields: "$[1].fields" },
1928
+ singleArgumentUnchanged: false
1929
+ },
1930
+ ["eventId", "options"]
1931
+ );
1932
+ sideEffects?.onError?.(err);
1933
+ throw transformedError;
1934
+ }
1935
+ }
1936
+ async function getEventBySlug2(slug, options) {
1937
+ const { httpClient, sideEffects } = arguments[2];
1938
+ const payload = renameKeysFromSDKRequestToRESTRequest(
1939
+ { slug, fields: options?.fields },
1940
+ []
1941
+ );
1942
+ const reqOpts = getEventBySlug(payload);
1943
+ sideEffects?.onSiteCall?.();
1944
+ try {
1945
+ const result = await httpClient.request(reqOpts);
1946
+ sideEffects?.onSuccess?.(result);
1947
+ return renameKeysFromRESTResponseToSDKResponse(
1948
+ transformPaths2(result.data, [
1949
+ {
1950
+ transformFn: transformRESTImageToSDKImage,
1951
+ paths: [{ path: "event.mainImage" }]
1952
+ },
1953
+ {
1954
+ transformFn: transformRESTPageURLToSDKPageURL,
1955
+ paths: [
1956
+ { path: "event.eventPageUrl" },
1957
+ { path: "event.agendaSettings.pageUrl" }
1958
+ ]
1959
+ },
1960
+ {
1961
+ transformFn: transformRESTAddressToSDKAddress,
1962
+ paths: [{ path: "event.location.address" }]
1963
+ }
1964
+ ]),
1965
+ ["event.description"]
1966
+ );
1967
+ } catch (err) {
1968
+ const transformedError = sdkTransformError(
1969
+ err,
1970
+ {
1971
+ spreadPathsToArguments: {},
1972
+ explicitPathsToArguments: { slug: "$[0]", fields: "$[1].fields" },
1973
+ singleArgumentUnchanged: false
1974
+ },
1975
+ ["slug", "options"]
1976
+ );
1977
+ sideEffects?.onError?.(err);
1978
+ throw transformedError;
1979
+ }
1980
+ }
1981
+ export {
1982
+ Alignment,
1983
+ AppType,
1984
+ BackgroundType,
1985
+ BadgeTypeType,
1986
+ ButtonDataType,
1987
+ CategoryTypeType,
1988
+ CommonSortOrder,
1989
+ ConferenceType,
1990
+ ConferenceTypeType,
1991
+ Crop,
1992
+ DecorationType,
1993
+ Direction,
1994
+ EventStatus,
1995
+ EventType,
1996
+ EventsRecurrenceStatusStatus,
1997
+ EventsTaxType,
1998
+ FontType,
1999
+ GIFType,
2000
+ GuestTypeType,
2001
+ InitialExpandedItems,
2002
+ InitialRegistrationTypeType,
2003
+ InputControlType,
2004
+ LayoutType,
2005
+ LineStyle,
2006
+ LocationLocationType,
2007
+ LocationType,
2008
+ MapType,
2009
+ NodeType,
2010
+ NullValue,
2011
+ Orientation,
2012
+ PluginContainerDataAlignment,
2013
+ PollLayoutDirection,
2014
+ PollLayoutType,
2015
+ Position,
2016
+ RecurrenceStatusStatus,
2017
+ RegistrationStatus,
2018
+ RegistrationStatusStatus,
2019
+ RegistrationTypeType,
2020
+ Relation,
2021
+ RequestedFields,
2022
+ ResponseType,
2023
+ RsvpStatusOptions,
2024
+ SortOrder,
2025
+ Source,
2026
+ State,
2027
+ Status,
2028
+ SubdivisionSubdivisionType,
2029
+ SubdivisionType,
2030
+ Target,
2031
+ TaxType,
2032
+ TextAlignment,
2033
+ ThumbnailsAlignment,
2034
+ Type,
2035
+ ValueType,
2036
+ VerticalAlignment,
2037
+ ViewMode,
2038
+ ViewRole,
2039
+ VisitorType,
2040
+ VoteRole,
2041
+ WebhookIdentityType,
2042
+ Width,
2043
+ WidthType,
2044
+ bulkCancelEventsByFilter2 as bulkCancelEventsByFilter,
2045
+ bulkDeleteEventsByFilter2 as bulkDeleteEventsByFilter,
2046
+ cancelEvent2 as cancelEvent,
2047
+ cloneEvent2 as cloneEvent,
2048
+ countEventsByStatus2 as countEventsByStatus,
2049
+ createEvent2 as createEvent,
2050
+ deleteEvent2 as deleteEvent,
2051
+ getEvent2 as getEvent,
2052
+ getEventBySlug2 as getEventBySlug,
2053
+ publishDraftEvent2 as publishDraftEvent,
2054
+ queryEvents2 as queryEvents,
2055
+ updateEvent2 as updateEvent
2056
+ };
2057
+ //# sourceMappingURL=index.typings.mjs.map