@wix/events 1.0.145 → 1.0.147
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +1 -6
- package/build/cjs/index.js +7 -8
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -6
- package/build/cjs/index.typings.js +7 -8
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -6
- package/build/cjs/meta.js +7 -8
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/src/events-guests-v1-guest.http.js +28 -37
- package/build/cjs/src/events-guests-v1-guest.http.js.map +1 -1
- package/build/cjs/src/events-guests-v1-guest.meta.d.ts +1 -1
- package/build/cjs/src/events-guests-v1-guest.meta.js +5 -1
- package/build/cjs/src/events-guests-v1-guest.meta.js.map +1 -1
- package/build/cjs/src/events-guests-v1-guest.types.js +11 -11
- package/build/cjs/src/events-guests-v1-guest.types.js.map +1 -1
- package/build/cjs/src/events-guests-v1-guest.universal.js +16 -12
- package/build/cjs/src/events-guests-v1-guest.universal.js.map +1 -1
- package/build/cjs/src/events-v1-order-checkout.http.js +342 -269
- package/build/cjs/src/events-v1-order-checkout.http.js.map +1 -1
- package/build/cjs/src/events-v1-order-checkout.meta.d.ts +1 -1
- package/build/cjs/src/events-v1-order-checkout.meta.js +5 -1
- package/build/cjs/src/events-v1-order-checkout.meta.js.map +1 -1
- package/build/cjs/src/events-v1-order-checkout.public.d.ts +7 -7
- package/build/cjs/src/events-v1-order-checkout.types.d.ts +16 -0
- package/build/cjs/src/events-v1-order-checkout.types.js +14 -14
- package/build/cjs/src/events-v1-order-checkout.types.js.map +1 -1
- package/build/cjs/src/events-v1-order-checkout.universal.d.ts +16 -0
- package/build/cjs/src/events-v1-order-checkout.universal.js +99 -44
- package/build/cjs/src/events-v1-order-checkout.universal.js.map +1 -1
- package/build/cjs/src/events-v1-order-orders.http.js +342 -269
- package/build/cjs/src/events-v1-order-orders.http.js.map +1 -1
- package/build/cjs/src/events-v1-order-orders.meta.d.ts +1 -1
- package/build/cjs/src/events-v1-order-orders.meta.js +5 -1
- package/build/cjs/src/events-v1-order-orders.meta.js.map +1 -1
- package/build/cjs/src/events-v1-order-orders.public.d.ts +7 -7
- package/build/cjs/src/events-v1-order-orders.types.d.ts +16 -0
- package/build/cjs/src/events-v1-order-orders.types.js +14 -14
- package/build/cjs/src/events-v1-order-orders.types.js.map +1 -1
- package/build/cjs/src/events-v1-order-orders.universal.d.ts +16 -0
- package/build/cjs/src/events-v1-order-orders.universal.js +79 -37
- package/build/cjs/src/events-v1-order-orders.universal.js.map +1 -1
- package/build/cjs/src/events-v1-ticket-definition.http.js +81 -84
- package/build/cjs/src/events-v1-ticket-definition.http.js.map +1 -1
- package/build/cjs/src/events-v1-ticket-definition.meta.d.ts +1 -1
- package/build/cjs/src/events-v1-ticket-definition.meta.js +5 -1
- package/build/cjs/src/events-v1-ticket-definition.meta.js.map +1 -1
- package/build/cjs/src/events-v1-ticket-definition.public.d.ts +6 -6
- package/build/cjs/src/events-v1-ticket-definition.types.js +8 -8
- package/build/cjs/src/events-v1-ticket-definition.types.js.map +1 -1
- package/build/cjs/src/events-v1-ticket-definition.universal.js +83 -35
- package/build/cjs/src/events-v1-ticket-definition.universal.js.map +1 -1
- package/build/cjs/src/events-v1-ticket.http.js +174 -136
- package/build/cjs/src/events-v1-ticket.http.js.map +1 -1
- package/build/cjs/src/events-v1-ticket.meta.d.ts +1 -1
- package/build/cjs/src/events-v1-ticket.meta.js +5 -1
- package/build/cjs/src/events-v1-ticket.meta.js.map +1 -1
- package/build/cjs/src/events-v1-ticket.public.d.ts +6 -6
- package/build/cjs/src/events-v1-ticket.types.js +5 -5
- package/build/cjs/src/events-v1-ticket.types.js.map +1 -1
- package/build/cjs/src/events-v1-ticket.universal.js +75 -30
- package/build/cjs/src/events-v1-ticket.universal.js.map +1 -1
- package/build/cjs/src/events-v2-policy.http.d.ts +1 -1
- package/build/cjs/src/events-v2-policy.http.js +73 -60
- package/build/cjs/src/events-v2-policy.http.js.map +1 -1
- package/build/cjs/src/events-v2-policy.meta.d.ts +1 -1
- package/build/cjs/src/events-v2-policy.meta.js +5 -1
- package/build/cjs/src/events-v2-policy.meta.js.map +1 -1
- package/build/cjs/src/events-v2-policy.public.d.ts +2 -2
- package/build/cjs/src/events-v2-policy.types.d.ts +15 -15
- package/build/cjs/src/events-v2-policy.types.js +5 -5
- package/build/cjs/src/events-v2-policy.types.js.map +1 -1
- package/build/cjs/src/events-v2-policy.universal.d.ts +16 -16
- package/build/cjs/src/events-v2-policy.universal.js +41 -24
- package/build/cjs/src/events-v2-policy.universal.js.map +1 -1
- package/build/cjs/src/events-v3-event.http.d.ts +69 -0
- package/build/cjs/src/events-v3-event.http.js +661 -0
- package/build/cjs/src/events-v3-event.http.js.map +1 -0
- package/build/cjs/src/events-v3-event.meta.d.ts +39 -0
- package/build/cjs/src/{events-v1-event.meta.js → events-v3-event.meta.js} +85 -119
- package/build/cjs/src/events-v3-event.meta.js.map +1 -0
- package/build/cjs/src/events-v3-event.public.d.ts +566 -0
- package/build/cjs/src/events-v3-event.public.js +106 -0
- package/build/cjs/src/events-v3-event.public.js.map +1 -0
- package/build/{es/src/events-v1-event.types.d.ts → cjs/src/events-v3-event.types.d.ts} +1395 -2168
- package/build/cjs/src/{events-events-v3-event.types.js → events-v3-event.types.js} +126 -111
- package/build/cjs/src/events-v3-event.types.js.map +1 -0
- package/build/cjs/src/{events-v1-event.universal.d.ts → events-v3-event.universal.d.ts} +1613 -2522
- package/build/cjs/src/{events-events-v3-event.universal.js → events-v3-event.universal.js} +401 -223
- package/build/cjs/src/events-v3-event.universal.js.map +1 -0
- package/build/es/index.d.ts +1 -6
- package/build/es/index.js +1 -6
- package/build/es/index.js.map +1 -1
- package/build/es/index.typings.d.ts +1 -6
- package/build/es/index.typings.js +1 -6
- package/build/es/index.typings.js.map +1 -1
- package/build/es/meta.d.ts +1 -6
- package/build/es/meta.js +1 -6
- package/build/es/meta.js.map +1 -1
- package/build/es/src/events-guests-v1-guest.http.js +28 -37
- package/build/es/src/events-guests-v1-guest.http.js.map +1 -1
- package/build/es/src/events-guests-v1-guest.meta.d.ts +1 -1
- package/build/es/src/events-guests-v1-guest.universal.js.map +1 -1
- package/build/es/src/events-v1-order-checkout.http.js +342 -269
- package/build/es/src/events-v1-order-checkout.http.js.map +1 -1
- package/build/es/src/events-v1-order-checkout.meta.d.ts +1 -1
- package/build/es/src/events-v1-order-checkout.public.d.ts +7 -7
- package/build/es/src/events-v1-order-checkout.types.d.ts +16 -0
- package/build/es/src/events-v1-order-checkout.types.js.map +1 -1
- package/build/es/src/events-v1-order-checkout.universal.d.ts +16 -0
- package/build/es/src/events-v1-order-checkout.universal.js +81 -30
- package/build/es/src/events-v1-order-checkout.universal.js.map +1 -1
- package/build/es/src/events-v1-order-orders.http.js +342 -269
- package/build/es/src/events-v1-order-orders.http.js.map +1 -1
- package/build/es/src/events-v1-order-orders.meta.d.ts +1 -1
- package/build/es/src/events-v1-order-orders.public.d.ts +7 -7
- package/build/es/src/events-v1-order-orders.types.d.ts +16 -0
- package/build/es/src/events-v1-order-orders.types.js.map +1 -1
- package/build/es/src/events-v1-order-orders.universal.d.ts +16 -0
- package/build/es/src/events-v1-order-orders.universal.js +61 -23
- package/build/es/src/events-v1-order-orders.universal.js.map +1 -1
- package/build/es/src/events-v1-ticket-definition.http.js +81 -84
- package/build/es/src/events-v1-ticket-definition.http.js.map +1 -1
- package/build/es/src/events-v1-ticket-definition.meta.d.ts +1 -1
- package/build/es/src/events-v1-ticket-definition.public.d.ts +6 -6
- package/build/es/src/events-v1-ticket-definition.universal.js +71 -27
- package/build/es/src/events-v1-ticket-definition.universal.js.map +1 -1
- package/build/es/src/events-v1-ticket.http.js +174 -136
- package/build/es/src/events-v1-ticket.http.js.map +1 -1
- package/build/es/src/events-v1-ticket.meta.d.ts +1 -1
- package/build/es/src/events-v1-ticket.public.d.ts +6 -6
- package/build/es/src/events-v1-ticket.universal.js +66 -25
- package/build/es/src/events-v1-ticket.universal.js.map +1 -1
- package/build/es/src/events-v2-policy.http.d.ts +1 -1
- package/build/es/src/events-v2-policy.http.js +73 -60
- package/build/es/src/events-v2-policy.http.js.map +1 -1
- package/build/es/src/events-v2-policy.meta.d.ts +1 -1
- package/build/es/src/events-v2-policy.public.d.ts +2 -2
- package/build/es/src/events-v2-policy.types.d.ts +15 -15
- package/build/es/src/events-v2-policy.universal.d.ts +16 -16
- package/build/es/src/events-v2-policy.universal.js +31 -18
- package/build/es/src/events-v2-policy.universal.js.map +1 -1
- package/build/es/src/events-v3-event.http.d.ts +69 -0
- package/build/es/src/events-v3-event.http.js +645 -0
- package/build/es/src/events-v3-event.http.js.map +1 -0
- package/build/es/src/events-v3-event.meta.d.ts +39 -0
- package/build/es/src/{events-v1-category.meta.js → events-v3-event.meta.js} +67 -67
- package/build/es/src/events-v3-event.meta.js.map +1 -0
- package/build/es/src/events-v3-event.public.d.ts +566 -0
- package/build/es/src/{events-events-v3-event.public.js → events-v3-event.public.js} +12 -7
- package/build/es/src/events-v3-event.public.js.map +1 -0
- package/build/{cjs/src/events-v1-event.types.d.ts → es/src/events-v3-event.types.d.ts} +1395 -2168
- package/build/es/src/{events-events-v3-event.types.js → events-v3-event.types.js} +116 -101
- package/build/es/src/events-v3-event.types.js.map +1 -0
- package/build/es/src/{events-v1-event.universal.d.ts → events-v3-event.universal.d.ts} +1613 -2522
- package/build/es/src/{events-events-v3-event.universal.js → events-v3-event.universal.js} +384 -211
- package/build/es/src/events-v3-event.universal.js.map +1 -0
- package/package.json +7 -3
- package/build/cjs/src/events-events-v3-event.http.d.ts +0 -56
- package/build/cjs/src/events-events-v3-event.http.js +0 -555
- package/build/cjs/src/events-events-v3-event.http.js.map +0 -1
- package/build/cjs/src/events-events-v3-event.public.d.ts +0 -19
- package/build/cjs/src/events-events-v3-event.public.js +0 -99
- package/build/cjs/src/events-events-v3-event.public.js.map +0 -1
- package/build/cjs/src/events-events-v3-event.types.d.ts +0 -1512
- package/build/cjs/src/events-events-v3-event.types.js.map +0 -1
- package/build/cjs/src/events-events-v3-event.universal.d.ts +0 -1808
- package/build/cjs/src/events-events-v3-event.universal.js.map +0 -1
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.http.d.ts +0 -49
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.http.js +0 -521
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.http.js.map +0 -1
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.meta.d.ts +0 -19
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.meta.js +0 -81
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.meta.js.map +0 -1
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.public.d.ts +0 -9
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.public.js +0 -28
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.public.js.map +0 -1
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.types.d.ts +0 -415
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.types.js +0 -27
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.types.js.map +0 -1
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.universal.d.ts +0 -453
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.universal.js +0 -239
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule-bookmarks.universal.js.map +0 -1
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule.http.d.ts +0 -49
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule.http.js +0 -521
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule.http.js.map +0 -1
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule.meta.d.ts +0 -25
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule.meta.js +0 -195
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule.meta.js.map +0 -1
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule.public.d.ts +0 -26
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule.public.js +0 -64
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule.public.js.map +0 -1
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule.types.d.ts +0 -415
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule.types.js +0 -27
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule.types.js.map +0 -1
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule.universal.d.ts +0 -654
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule.universal.js +0 -613
- package/build/cjs/src/events-schedule-v1-schedule-item-schedule.universal.js.map +0 -1
- package/build/cjs/src/events-schedule-v1-schedule-item.http.d.ts +0 -49
- package/build/cjs/src/events-schedule-v1-schedule-item.http.js +0 -485
- package/build/cjs/src/events-schedule-v1-schedule-item.http.js.map +0 -1
- package/build/cjs/src/events-schedule-v1-schedule-item.types.d.ts +0 -318
- package/build/cjs/src/events-schedule-v1-schedule-item.types.js +0 -27
- package/build/cjs/src/events-schedule-v1-schedule-item.types.js.map +0 -1
- package/build/cjs/src/events-v1-category.http.d.ts +0 -35
- package/build/cjs/src/events-v1-category.http.js +0 -618
- package/build/cjs/src/events-v1-category.http.js.map +0 -1
- package/build/cjs/src/events-v1-category.meta.d.ts +0 -37
- package/build/cjs/src/events-v1-category.meta.js +0 -271
- package/build/cjs/src/events-v1-category.meta.js.map +0 -1
- package/build/cjs/src/events-v1-category.public.d.ts +0 -28
- package/build/cjs/src/events-v1-category.public.js +0 -88
- package/build/cjs/src/events-v1-category.public.js.map +0 -1
- package/build/cjs/src/events-v1-category.types.d.ts +0 -364
- package/build/cjs/src/events-v1-category.types.js +0 -27
- package/build/cjs/src/events-v1-category.types.js.map +0 -1
- package/build/cjs/src/events-v1-category.universal.d.ts +0 -586
- package/build/cjs/src/events-v1-category.universal.js +0 -798
- package/build/cjs/src/events-v1-category.universal.js.map +0 -1
- package/build/cjs/src/events-v1-event.http.d.ts +0 -90
- package/build/cjs/src/events-v1-event.http.js +0 -973
- package/build/cjs/src/events-v1-event.http.js.map +0 -1
- package/build/cjs/src/events-v1-event.meta.d.ts +0 -41
- package/build/cjs/src/events-v1-event.meta.js.map +0 -1
- package/build/cjs/src/events-v1-event.public.d.ts +0 -694
- package/build/cjs/src/events-v1-event.public.js +0 -113
- package/build/cjs/src/events-v1-event.public.js.map +0 -1
- package/build/cjs/src/events-v1-event.types.js +0 -199
- package/build/cjs/src/events-v1-event.types.js.map +0 -1
- package/build/cjs/src/events-v1-event.universal.js +0 -1214
- package/build/cjs/src/events-v1-event.universal.js.map +0 -1
- package/build/cjs/src/events-v1-form.http.d.ts +0 -25
- package/build/cjs/src/events-v1-form.http.js +0 -445
- package/build/cjs/src/events-v1-form.http.js.map +0 -1
- package/build/cjs/src/events-v1-form.meta.d.ts +0 -35
- package/build/cjs/src/events-v1-form.meta.js +0 -157
- package/build/cjs/src/events-v1-form.meta.js.map +0 -1
- package/build/cjs/src/events-v1-form.public.d.ts +0 -14
- package/build/cjs/src/events-v1-form.public.js +0 -54
- package/build/cjs/src/events-v1-form.public.js.map +0 -1
- package/build/cjs/src/events-v1-form.types.d.ts +0 -1231
- package/build/cjs/src/events-v1-form.types.js +0 -69
- package/build/cjs/src/events-v1-form.types.js.map +0 -1
- package/build/cjs/src/events-v1-form.universal.d.ts +0 -1381
- package/build/cjs/src/events-v1-form.universal.js +0 -552
- package/build/cjs/src/events-v1-form.universal.js.map +0 -1
- package/build/cjs/src/events-v1-rsvp.http.d.ts +0 -20
- package/build/cjs/src/events-v1-rsvp.http.js +0 -376
- package/build/cjs/src/events-v1-rsvp.http.js.map +0 -1
- package/build/cjs/src/events-v1-rsvp.meta.d.ts +0 -25
- package/build/cjs/src/events-v1-rsvp.meta.js +0 -195
- package/build/cjs/src/events-v1-rsvp.meta.js.map +0 -1
- package/build/cjs/src/events-v1-rsvp.public.d.ts +0 -39
- package/build/cjs/src/events-v1-rsvp.public.js +0 -65
- package/build/cjs/src/events-v1-rsvp.public.js.map +0 -1
- package/build/cjs/src/events-v1-rsvp.types.d.ts +0 -808
- package/build/cjs/src/events-v1-rsvp.types.js +0 -44
- package/build/cjs/src/events-v1-rsvp.types.js.map +0 -1
- package/build/cjs/src/events-v1-rsvp.universal.d.ts +0 -914
- package/build/cjs/src/events-v1-rsvp.universal.js +0 -658
- package/build/cjs/src/events-v1-rsvp.universal.js.map +0 -1
- package/build/es/src/events-events-v3-event.http.d.ts +0 -56
- package/build/es/src/events-events-v3-event.http.js +0 -540
- package/build/es/src/events-events-v3-event.http.js.map +0 -1
- package/build/es/src/events-events-v3-event.public.d.ts +0 -19
- package/build/es/src/events-events-v3-event.public.js.map +0 -1
- package/build/es/src/events-events-v3-event.types.d.ts +0 -1512
- package/build/es/src/events-events-v3-event.types.js.map +0 -1
- package/build/es/src/events-events-v3-event.universal.d.ts +0 -1808
- package/build/es/src/events-events-v3-event.universal.js.map +0 -1
- package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.http.d.ts +0 -49
- package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.http.js +0 -506
- package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.http.js.map +0 -1
- package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.meta.d.ts +0 -19
- package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.meta.js +0 -56
- package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.meta.js.map +0 -1
- package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.public.d.ts +0 -9
- package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.public.js +0 -19
- package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.public.js.map +0 -1
- package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.types.d.ts +0 -415
- package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.types.js +0 -24
- package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.types.js.map +0 -1
- package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.universal.d.ts +0 -453
- package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.universal.js +0 -214
- package/build/es/src/events-schedule-v1-schedule-item-schedule-bookmarks.universal.js.map +0 -1
- package/build/es/src/events-schedule-v1-schedule-item-schedule.http.d.ts +0 -49
- package/build/es/src/events-schedule-v1-schedule-item-schedule.http.js +0 -506
- package/build/es/src/events-schedule-v1-schedule-item-schedule.http.js.map +0 -1
- package/build/es/src/events-schedule-v1-schedule-item-schedule.meta.d.ts +0 -25
- package/build/es/src/events-schedule-v1-schedule-item-schedule.meta.js +0 -164
- package/build/es/src/events-schedule-v1-schedule-item-schedule.meta.js.map +0 -1
- package/build/es/src/events-schedule-v1-schedule-item-schedule.public.d.ts +0 -26
- package/build/es/src/events-schedule-v1-schedule-item-schedule.public.js +0 -49
- package/build/es/src/events-schedule-v1-schedule-item-schedule.public.js.map +0 -1
- package/build/es/src/events-schedule-v1-schedule-item-schedule.types.d.ts +0 -415
- package/build/es/src/events-schedule-v1-schedule-item-schedule.types.js +0 -24
- package/build/es/src/events-schedule-v1-schedule-item-schedule.types.js.map +0 -1
- package/build/es/src/events-schedule-v1-schedule-item-schedule.universal.d.ts +0 -654
- package/build/es/src/events-schedule-v1-schedule-item-schedule.universal.js +0 -582
- package/build/es/src/events-schedule-v1-schedule-item-schedule.universal.js.map +0 -1
- package/build/es/src/events-schedule-v1-schedule-item.http.d.ts +0 -49
- package/build/es/src/events-schedule-v1-schedule-item.http.js +0 -470
- package/build/es/src/events-schedule-v1-schedule-item.http.js.map +0 -1
- package/build/es/src/events-schedule-v1-schedule-item.types.d.ts +0 -318
- package/build/es/src/events-schedule-v1-schedule-item.types.js +0 -24
- package/build/es/src/events-schedule-v1-schedule-item.types.js.map +0 -1
- package/build/es/src/events-v1-category.http.d.ts +0 -35
- package/build/es/src/events-v1-category.http.js +0 -602
- package/build/es/src/events-v1-category.http.js.map +0 -1
- package/build/es/src/events-v1-category.meta.d.ts +0 -37
- package/build/es/src/events-v1-category.meta.js.map +0 -1
- package/build/es/src/events-v1-category.public.d.ts +0 -28
- package/build/es/src/events-v1-category.public.js +0 -69
- package/build/es/src/events-v1-category.public.js.map +0 -1
- package/build/es/src/events-v1-category.types.d.ts +0 -364
- package/build/es/src/events-v1-category.types.js +0 -24
- package/build/es/src/events-v1-category.types.js.map +0 -1
- package/build/es/src/events-v1-category.universal.d.ts +0 -586
- package/build/es/src/events-v1-category.universal.js +0 -763
- package/build/es/src/events-v1-category.universal.js.map +0 -1
- package/build/es/src/events-v1-event.http.d.ts +0 -90
- package/build/es/src/events-v1-event.http.js +0 -955
- package/build/es/src/events-v1-event.http.js.map +0 -1
- package/build/es/src/events-v1-event.meta.d.ts +0 -41
- package/build/es/src/events-v1-event.meta.js +0 -272
- package/build/es/src/events-v1-event.meta.js.map +0 -1
- package/build/es/src/events-v1-event.public.d.ts +0 -694
- package/build/es/src/events-v1-event.public.js +0 -79
- package/build/es/src/events-v1-event.public.js.map +0 -1
- package/build/es/src/events-v1-event.types.js +0 -196
- package/build/es/src/events-v1-event.types.js.map +0 -1
- package/build/es/src/events-v1-event.universal.js +0 -1177
- package/build/es/src/events-v1-event.universal.js.map +0 -1
- package/build/es/src/events-v1-form.http.d.ts +0 -25
- package/build/es/src/events-v1-form.http.js +0 -435
- package/build/es/src/events-v1-form.http.js.map +0 -1
- package/build/es/src/events-v1-form.meta.d.ts +0 -35
- package/build/es/src/events-v1-form.meta.js +0 -128
- package/build/es/src/events-v1-form.meta.js.map +0 -1
- package/build/es/src/events-v1-form.public.d.ts +0 -14
- package/build/es/src/events-v1-form.public.js +0 -39
- package/build/es/src/events-v1-form.public.js.map +0 -1
- package/build/es/src/events-v1-form.types.d.ts +0 -1231
- package/build/es/src/events-v1-form.types.js +0 -66
- package/build/es/src/events-v1-form.types.js.map +0 -1
- package/build/es/src/events-v1-form.universal.d.ts +0 -1381
- package/build/es/src/events-v1-form.universal.js +0 -523
- package/build/es/src/events-v1-form.universal.js.map +0 -1
- package/build/es/src/events-v1-rsvp.http.d.ts +0 -20
- package/build/es/src/events-v1-rsvp.http.js +0 -364
- package/build/es/src/events-v1-rsvp.http.js.map +0 -1
- package/build/es/src/events-v1-rsvp.meta.d.ts +0 -25
- package/build/es/src/events-v1-rsvp.meta.js +0 -164
- package/build/es/src/events-v1-rsvp.meta.js.map +0 -1
- package/build/es/src/events-v1-rsvp.public.d.ts +0 -39
- package/build/es/src/events-v1-rsvp.public.js +0 -49
- package/build/es/src/events-v1-rsvp.public.js.map +0 -1
- package/build/es/src/events-v1-rsvp.types.d.ts +0 -808
- package/build/es/src/events-v1-rsvp.types.js +0 -41
- package/build/es/src/events-v1-rsvp.types.js.map +0 -1
- package/build/es/src/events-v1-rsvp.universal.d.ts +0 -914
- package/build/es/src/events-v1-rsvp.universal.js +0 -627
- package/build/es/src/events-v1-rsvp.universal.js.map +0 -1
|
@@ -8,7 +8,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
import { serializer, transformError, resolveQueryFieldsTransformationPaths, } from '@wix/metro-runtime/velo';
|
|
11
|
-
import
|
|
11
|
+
import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';
|
|
12
|
+
import * as ambassadorWixEventsV3Event from './events-v3-event.http';
|
|
12
13
|
// @ts-ignore
|
|
13
14
|
import { wrapWithQueryBuilder } from '@wix/motion-edm-autogen-query-wrapper';
|
|
14
15
|
let __verbose = false;
|
|
@@ -28,6 +29,8 @@ const _toVeloEntity = '$';
|
|
|
28
29
|
const _fromVeloEntity = '$';
|
|
29
30
|
export var LocationType;
|
|
30
31
|
(function (LocationType) {
|
|
32
|
+
/** Default value. This value is unused. */
|
|
33
|
+
LocationType["UNKNOWN_LOCATION"] = "UNKNOWN_LOCATION";
|
|
31
34
|
LocationType["VENUE"] = "VENUE";
|
|
32
35
|
LocationType["ONLINE"] = "ONLINE";
|
|
33
36
|
})(LocationType || (LocationType = {}));
|
|
@@ -47,91 +50,104 @@ export var SubdivisionSubdivisionType;
|
|
|
47
50
|
/** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
|
|
48
51
|
SubdivisionSubdivisionType["COUNTRY"] = "COUNTRY";
|
|
49
52
|
})(SubdivisionSubdivisionType || (SubdivisionSubdivisionType = {}));
|
|
50
|
-
export var
|
|
51
|
-
(function (
|
|
53
|
+
export var RecurrenceStatusStatus;
|
|
54
|
+
(function (RecurrenceStatusStatus) {
|
|
52
55
|
/** Default value. This value is unused. */
|
|
53
|
-
|
|
54
|
-
/** Event
|
|
55
|
-
|
|
56
|
+
RecurrenceStatusStatus["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
57
|
+
/** Event happens only once. */
|
|
58
|
+
RecurrenceStatusStatus["ONE_TIME"] = "ONE_TIME";
|
|
56
59
|
/** Event is repeating and has a list of scheduled repetitions. */
|
|
57
|
-
|
|
60
|
+
RecurrenceStatusStatus["RECURRING"] = "RECURRING";
|
|
58
61
|
/** An upcoming event from the list of repetitions. */
|
|
59
|
-
|
|
62
|
+
RecurrenceStatusStatus["RECURRING_UPCOMING"] = "RECURRING_UPCOMING";
|
|
60
63
|
/** Latest ended event from the list of repetitions. */
|
|
61
|
-
|
|
64
|
+
RecurrenceStatusStatus["RECURRING_RECENTLY_ENDED"] = "RECURRING_RECENTLY_ENDED";
|
|
62
65
|
/** Latest cancelled event from the list of repetitions. */
|
|
63
|
-
|
|
64
|
-
})(
|
|
65
|
-
export var
|
|
66
|
-
(function (
|
|
66
|
+
RecurrenceStatusStatus["RECURRING_RECENTLY_CANCELED"] = "RECURRING_RECENTLY_CANCELED";
|
|
67
|
+
})(RecurrenceStatusStatus || (RecurrenceStatusStatus = {}));
|
|
68
|
+
export var Status;
|
|
69
|
+
(function (Status) {
|
|
67
70
|
/** Default value. This value is unused */
|
|
68
|
-
|
|
71
|
+
Status["UNKNOWN_EVENT_STATUS"] = "UNKNOWN_EVENT_STATUS";
|
|
69
72
|
/** Event is public and scheduled to start */
|
|
70
|
-
|
|
73
|
+
Status["UPCOMING"] = "UPCOMING";
|
|
71
74
|
/** Event has started */
|
|
72
|
-
|
|
75
|
+
Status["STARTED"] = "STARTED";
|
|
73
76
|
/** Event has ended */
|
|
74
|
-
|
|
77
|
+
Status["ENDED"] = "ENDED";
|
|
75
78
|
/** Event is canceled */
|
|
76
|
-
|
|
79
|
+
Status["CANCELED"] = "CANCELED";
|
|
77
80
|
/** Event is not public */
|
|
78
|
-
|
|
79
|
-
})(
|
|
80
|
-
export var
|
|
81
|
-
(function (
|
|
82
|
-
/**
|
|
83
|
-
|
|
81
|
+
Status["DRAFT"] = "DRAFT";
|
|
82
|
+
})(Status || (Status = {}));
|
|
83
|
+
export var RegistrationTypeType;
|
|
84
|
+
(function (RegistrationTypeType) {
|
|
85
|
+
/** Default value. This value is unused */
|
|
86
|
+
RegistrationTypeType["UNKNOWN_REGISTRATION_TYPE"] = "UNKNOWN_REGISTRATION_TYPE";
|
|
84
87
|
/** Registration via RSVP */
|
|
85
|
-
|
|
88
|
+
RegistrationTypeType["RSVP"] = "RSVP";
|
|
86
89
|
/** Registration via ticket purchase */
|
|
87
|
-
|
|
90
|
+
RegistrationTypeType["TICKETING"] = "TICKETING";
|
|
88
91
|
/** External registration */
|
|
89
|
-
|
|
92
|
+
RegistrationTypeType["EXTERNAL"] = "EXTERNAL";
|
|
90
93
|
/** Registration not available */
|
|
91
|
-
|
|
92
|
-
})(
|
|
93
|
-
export var
|
|
94
|
-
(function (
|
|
94
|
+
RegistrationTypeType["NONE"] = "NONE";
|
|
95
|
+
})(RegistrationTypeType || (RegistrationTypeType = {}));
|
|
96
|
+
export var RegistrationStatusStatus;
|
|
97
|
+
(function (RegistrationStatusStatus) {
|
|
95
98
|
/** Registration status is not applicable */
|
|
96
|
-
|
|
99
|
+
RegistrationStatusStatus["UNKNOWN_REGISTRATION_STATUS"] = "UNKNOWN_REGISTRATION_STATUS";
|
|
97
100
|
/** Registration to event is closed */
|
|
98
|
-
|
|
101
|
+
RegistrationStatusStatus["CLOSED_AUTOMATICALLY"] = "CLOSED_AUTOMATICALLY";
|
|
99
102
|
/** Registration to event is closed manually */
|
|
100
|
-
|
|
103
|
+
RegistrationStatusStatus["CLOSED_MANUALLY"] = "CLOSED_MANUALLY";
|
|
101
104
|
/** Registration is open via RSVP */
|
|
102
|
-
|
|
105
|
+
RegistrationStatusStatus["OPEN_RSVP"] = "OPEN_RSVP";
|
|
103
106
|
/** Registration to event waitlist is open via RSVP */
|
|
104
|
-
|
|
107
|
+
RegistrationStatusStatus["OPEN_RSVP_WAITLIST_ONLY"] = "OPEN_RSVP_WAITLIST_ONLY";
|
|
105
108
|
/** Registration is open via ticket purchase */
|
|
106
|
-
|
|
109
|
+
RegistrationStatusStatus["OPEN_TICKETS"] = "OPEN_TICKETS";
|
|
107
110
|
/** Registration is open via external URL */
|
|
108
|
-
|
|
111
|
+
RegistrationStatusStatus["OPEN_EXTERNAL"] = "OPEN_EXTERNAL";
|
|
109
112
|
/** Registration will be open via RSVP */
|
|
110
|
-
|
|
111
|
-
})(
|
|
113
|
+
RegistrationStatusStatus["SCHEDULED_RSVP"] = "SCHEDULED_RSVP";
|
|
114
|
+
})(RegistrationStatusStatus || (RegistrationStatusStatus = {}));
|
|
112
115
|
export var ResponseType;
|
|
113
116
|
(function (ResponseType) {
|
|
114
|
-
/**
|
|
117
|
+
/** Default value. This value is unused. */
|
|
118
|
+
ResponseType["UNKNOWN_RESPONSE_TYPE"] = "UNKNOWN_RESPONSE_TYPE";
|
|
119
|
+
/** Only a **Yes** answer is available for the registration. */
|
|
115
120
|
ResponseType["YES_ONLY"] = "YES_ONLY";
|
|
116
121
|
/** *Yes** and **No** answers are available for the registration. */
|
|
117
122
|
ResponseType["YES_AND_NO"] = "YES_AND_NO";
|
|
118
123
|
})(ResponseType || (ResponseType = {}));
|
|
119
124
|
export var TaxType;
|
|
120
125
|
(function (TaxType) {
|
|
126
|
+
/** Default value. This value is unused. */
|
|
127
|
+
TaxType["UNKNOWN_TAX_TYPE"] = "UNKNOWN_TAX_TYPE";
|
|
121
128
|
/** Tax is included in the ticket price */
|
|
122
|
-
TaxType["
|
|
123
|
-
/** Tax is added to the order at the checkout */
|
|
124
|
-
TaxType["ADDED"] = "ADDED";
|
|
129
|
+
TaxType["INCLUDED_IN_PRICE"] = "INCLUDED_IN_PRICE";
|
|
125
130
|
/** Tax is added to the final total at the checkout */
|
|
126
131
|
TaxType["ADDED_AT_CHECKOUT"] = "ADDED_AT_CHECKOUT";
|
|
127
132
|
})(TaxType || (TaxType = {}));
|
|
128
|
-
export var
|
|
129
|
-
(function (
|
|
133
|
+
export var GuestTypeType;
|
|
134
|
+
(function (GuestTypeType) {
|
|
135
|
+
/** Default value. This value is unused */
|
|
136
|
+
GuestTypeType["UNKNOWN_GUEST_TYPE"] = "UNKNOWN_GUEST_TYPE";
|
|
130
137
|
/** Site visitor or member */
|
|
131
|
-
|
|
138
|
+
GuestTypeType["VISITOR_OR_MEMBER"] = "VISITOR_OR_MEMBER";
|
|
132
139
|
/** Site member */
|
|
133
|
-
|
|
134
|
-
})(
|
|
140
|
+
GuestTypeType["MEMBER"] = "MEMBER";
|
|
141
|
+
})(GuestTypeType || (GuestTypeType = {}));
|
|
142
|
+
export var InitialRegistrationTypeType;
|
|
143
|
+
(function (InitialRegistrationTypeType) {
|
|
144
|
+
/** Default value. This value is unused */
|
|
145
|
+
InitialRegistrationTypeType["UNKNOWN_INITIAL_REGISTRATION_TYPE"] = "UNKNOWN_INITIAL_REGISTRATION_TYPE";
|
|
146
|
+
/** Registration via RSVP */
|
|
147
|
+
InitialRegistrationTypeType["RSVP"] = "RSVP";
|
|
148
|
+
/** Registration via ticket purchase */
|
|
149
|
+
InitialRegistrationTypeType["TICKETING"] = "TICKETING";
|
|
150
|
+
})(InitialRegistrationTypeType || (InitialRegistrationTypeType = {}));
|
|
135
151
|
export var InputControlType;
|
|
136
152
|
(function (InputControlType) {
|
|
137
153
|
/** Single text value field. */
|
|
@@ -163,56 +179,56 @@ export var ValueType;
|
|
|
163
179
|
ValueType["DATE_TIME"] = "DATE_TIME";
|
|
164
180
|
ValueType["ADDRESS"] = "ADDRESS";
|
|
165
181
|
})(ValueType || (ValueType = {}));
|
|
166
|
-
export var
|
|
167
|
-
(function (
|
|
182
|
+
export var ConferenceTypeType;
|
|
183
|
+
(function (ConferenceTypeType) {
|
|
184
|
+
/** Default value. This value is unused */
|
|
185
|
+
ConferenceTypeType["UNKNOWN_CONFERENCE_TYPE"] = "UNKNOWN_CONFERENCE_TYPE";
|
|
168
186
|
/** Guests can publish and subscribe to video and audio. */
|
|
169
|
-
|
|
187
|
+
ConferenceTypeType["MEETING"] = "MEETING";
|
|
170
188
|
/** Guests can only subscribe to video and audio. */
|
|
171
|
-
|
|
172
|
-
})(
|
|
173
|
-
export var
|
|
174
|
-
(function (
|
|
189
|
+
ConferenceTypeType["WEBINAR"] = "WEBINAR";
|
|
190
|
+
})(ConferenceTypeType || (ConferenceTypeType = {}));
|
|
191
|
+
export var Type;
|
|
192
|
+
(function (Type) {
|
|
175
193
|
/** Created manually by the user. */
|
|
176
|
-
|
|
177
|
-
/** Created automatically. */
|
|
178
|
-
|
|
179
|
-
/** Created
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
})(State || (State = {}));
|
|
186
|
-
export var SortOrder;
|
|
187
|
-
(function (SortOrder) {
|
|
188
|
-
SortOrder["ASC"] = "ASC";
|
|
189
|
-
SortOrder["DESC"] = "DESC";
|
|
190
|
-
})(SortOrder || (SortOrder = {}));
|
|
191
|
-
export var EventFieldset;
|
|
192
|
-
(function (EventFieldset) {
|
|
194
|
+
Type["MANUAL"] = "MANUAL";
|
|
195
|
+
/** Created automatically when publishing recurring events. */
|
|
196
|
+
Type["RECURRING_EVENT"] = "RECURRING_EVENT";
|
|
197
|
+
/** Created automatically and used to store component events. */
|
|
198
|
+
Type["COMPONENT"] = "COMPONENT";
|
|
199
|
+
})(Type || (Type = {}));
|
|
200
|
+
export var RequestedFields;
|
|
201
|
+
(function (RequestedFields) {
|
|
202
|
+
RequestedFields["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
|
|
193
203
|
/** Include `description`, `mainImage` and `calendarLinks` in the response. */
|
|
194
|
-
|
|
204
|
+
RequestedFields["DETAILS"] = "DETAILS";
|
|
195
205
|
/** Include `about` event rich text in the response. */
|
|
196
|
-
|
|
206
|
+
RequestedFields["TEXTS"] = "TEXTS";
|
|
197
207
|
/** Include `registration` in the response. */
|
|
198
|
-
|
|
208
|
+
RequestedFields["REGISTRATION"] = "REGISTRATION";
|
|
199
209
|
/** Include `eventPageUrl` in the response. */
|
|
200
|
-
|
|
210
|
+
RequestedFields["URLS"] = "URLS";
|
|
201
211
|
/** Include `form` in the response. */
|
|
202
|
-
|
|
212
|
+
RequestedFields["FORM"] = "FORM";
|
|
203
213
|
/** Include `dashboard` in the response. */
|
|
204
|
-
|
|
214
|
+
RequestedFields["DASHBOARD"] = "DASHBOARD";
|
|
205
215
|
/** Include `feed` in the response. */
|
|
206
|
-
|
|
216
|
+
RequestedFields["FEED"] = "FEED";
|
|
207
217
|
/** Include `onlineConferencing` in the response. */
|
|
208
|
-
|
|
218
|
+
RequestedFields["ONLINE_CONFERENCING_SESSION"] = "ONLINE_CONFERENCING_SESSION";
|
|
209
219
|
/** Include `seoSettings` in the response. */
|
|
210
|
-
|
|
220
|
+
RequestedFields["SEO_SETTINGS"] = "SEO_SETTINGS";
|
|
211
221
|
/** Include `agendaSettings` in the response. */
|
|
212
|
-
|
|
222
|
+
RequestedFields["AGENDA"] = "AGENDA";
|
|
213
223
|
/** Include `categories` in the response. */
|
|
214
|
-
|
|
215
|
-
|
|
224
|
+
RequestedFields["CATEGORIES"] = "CATEGORIES";
|
|
225
|
+
RequestedFields["CUSTOMIZABLE_TICKETS"] = "CUSTOMIZABLE_TICKETS";
|
|
226
|
+
})(RequestedFields || (RequestedFields = {}));
|
|
227
|
+
export var SortOrder;
|
|
228
|
+
(function (SortOrder) {
|
|
229
|
+
SortOrder["ASC"] = "ASC";
|
|
230
|
+
SortOrder["DESC"] = "DESC";
|
|
231
|
+
})(SortOrder || (SortOrder = {}));
|
|
216
232
|
export var Relation;
|
|
217
233
|
(function (Relation) {
|
|
218
234
|
/**
|
|
@@ -242,33 +258,33 @@ export var SubdivisionType;
|
|
|
242
258
|
/** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
|
|
243
259
|
SubdivisionType["COUNTRY"] = "COUNTRY";
|
|
244
260
|
})(SubdivisionType || (SubdivisionType = {}));
|
|
245
|
-
export var
|
|
246
|
-
(function (
|
|
261
|
+
export var EventsRecurrenceStatusStatus;
|
|
262
|
+
(function (EventsRecurrenceStatusStatus) {
|
|
247
263
|
/** Event occurs only once. */
|
|
248
|
-
|
|
264
|
+
EventsRecurrenceStatusStatus["ONE_TIME"] = "ONE_TIME";
|
|
249
265
|
/** Event is recurring. */
|
|
250
|
-
|
|
266
|
+
EventsRecurrenceStatusStatus["RECURRING"] = "RECURRING";
|
|
251
267
|
/** Marks the next upcoming occurrence of the recurring event. */
|
|
252
|
-
|
|
268
|
+
EventsRecurrenceStatusStatus["RECURRING_NEXT"] = "RECURRING_NEXT";
|
|
253
269
|
/** Marks the most recent ended occurrence of the recurring event. */
|
|
254
|
-
|
|
270
|
+
EventsRecurrenceStatusStatus["RECURRING_LAST_ENDED"] = "RECURRING_LAST_ENDED";
|
|
255
271
|
/** Marks the most recent canceled occurrence of the recurring event. */
|
|
256
|
-
|
|
257
|
-
})(
|
|
258
|
-
export var
|
|
259
|
-
(function (
|
|
272
|
+
EventsRecurrenceStatusStatus["RECURRING_LAST_CANCELED"] = "RECURRING_LAST_CANCELED";
|
|
273
|
+
})(EventsRecurrenceStatusStatus || (EventsRecurrenceStatusStatus = {}));
|
|
274
|
+
export var EventStatus;
|
|
275
|
+
(function (EventStatus) {
|
|
260
276
|
/** Event is public and scheduled to start */
|
|
261
|
-
|
|
277
|
+
EventStatus["SCHEDULED"] = "SCHEDULED";
|
|
262
278
|
/** Event has started */
|
|
263
|
-
|
|
279
|
+
EventStatus["STARTED"] = "STARTED";
|
|
264
280
|
/** Event has ended */
|
|
265
|
-
|
|
281
|
+
EventStatus["ENDED"] = "ENDED";
|
|
266
282
|
/** Event was canceled */
|
|
267
|
-
|
|
283
|
+
EventStatus["CANCELED"] = "CANCELED";
|
|
268
284
|
/** Event is not public and needs to be published */
|
|
269
|
-
|
|
270
|
-
})(
|
|
271
|
-
const
|
|
285
|
+
EventStatus["DRAFT"] = "DRAFT";
|
|
286
|
+
})(EventStatus || (EventStatus = {}));
|
|
287
|
+
const _agendaSettings = { pageUrl: 'wix.common.PageUrl' };
|
|
272
288
|
const _bulkCancelEventsByFilterRequest = {};
|
|
273
289
|
const _bulkCancelEventsByFilterResponse = {};
|
|
274
290
|
const _bulkDeleteEventsByFilterRequest = {};
|
|
@@ -277,6 +293,8 @@ const _cancelEventRequest = {};
|
|
|
277
293
|
const _cancelEventResponse = { event: '_event' };
|
|
278
294
|
const _cloneEventRequest = { event: '_event' };
|
|
279
295
|
const _cloneEventResponse = { event: '_event' };
|
|
296
|
+
const _countEventsByStatusRequest = {};
|
|
297
|
+
const _countEventsByStatusResponse = {};
|
|
280
298
|
const _createEventRequest = { event: '_event' };
|
|
281
299
|
const _createEventResponse = { event: '_event' };
|
|
282
300
|
const _deleteEventRequest = {};
|
|
@@ -285,14 +303,14 @@ const _event = {
|
|
|
285
303
|
mainImage: 'wix.common.Image',
|
|
286
304
|
eventPageUrl: 'wix.common.PageUrl',
|
|
287
305
|
location: '_location',
|
|
288
|
-
|
|
306
|
+
agendaSettings: '_agendaSettings',
|
|
289
307
|
};
|
|
308
|
+
const _findEventRequest = {};
|
|
309
|
+
const _findEventResponse = { event: '_event' };
|
|
290
310
|
const _getEventBySlugRequest = {};
|
|
291
311
|
const _getEventBySlugResponse = { event: '_event' };
|
|
292
312
|
const _getEventRequest = {};
|
|
293
313
|
const _getEventResponse = { event: '_event' };
|
|
294
|
-
const _listEventsByCategoryRequest = {};
|
|
295
|
-
const _listEventsByCategoryResponse = { events: '_event' };
|
|
296
314
|
const _location = { address: 'wix.common.Address' };
|
|
297
315
|
const _publishDraftEventRequest = {};
|
|
298
316
|
const _publishDraftEventResponse = { event: '_event' };
|
|
@@ -301,28 +319,36 @@ const _queryEventsResponse = { events: '_event' };
|
|
|
301
319
|
const _updateEventRequest = { event: '_event' };
|
|
302
320
|
const _updateEventResponse = { event: '_event' };
|
|
303
321
|
/**
|
|
304
|
-
* Creates
|
|
322
|
+
* Creates an event. <br> <br>
|
|
323
|
+
* The event includes a default registration form in the selected language, which consists of input fields for first name, last name, and email. See [Registration Form](https://dev.wix.com/api/rest/wix-events/wix-events/registration-form/about-the-registration-form-api) for more information. <br> <br>
|
|
324
|
+
* You can create the event as a draft by setting the `draft` value to `true`. Otherwise, the event is published right away. <br> <br>
|
|
305
325
|
* The event is automatically set up to send daily summary reports of new guests to your business email.
|
|
306
326
|
* @param event - Event data.
|
|
307
327
|
* @public
|
|
308
328
|
* @documentationMaturity preview
|
|
309
329
|
* @requiredField event
|
|
330
|
+
* @requiredField event.dateAndTimeSettings
|
|
310
331
|
* @requiredField event.location
|
|
311
|
-
* @requiredField event.scheduling.config
|
|
312
332
|
* @requiredField event.title
|
|
333
|
+
* @permissionScope Manage Events - all permissions
|
|
313
334
|
* @permissionScope Manage Events
|
|
335
|
+
* @applicableIdentity APP
|
|
314
336
|
* @returns Created event.
|
|
315
337
|
*/
|
|
316
338
|
export function createEvent(event, options) {
|
|
317
339
|
var _a, _b, _c;
|
|
318
340
|
return __awaiter(this, arguments, void 0, function* () {
|
|
319
|
-
const requestTransformation = {
|
|
341
|
+
const requestTransformation = {
|
|
342
|
+
event: '$[0]',
|
|
343
|
+
draft: '$[1].draft',
|
|
344
|
+
fields: '$[1].fields',
|
|
345
|
+
};
|
|
320
346
|
const responseTransformation = '$.event';
|
|
321
347
|
// @ts-ignore
|
|
322
348
|
const { httpClient, sideEffects } = arguments[2];
|
|
323
349
|
const { toAmbassadorRequest } = serializer({
|
|
324
350
|
rootSchema: _createEventRequest,
|
|
325
|
-
depSchemas: {
|
|
351
|
+
depSchemas: { _agendaSettings, _event, _location },
|
|
326
352
|
fqdnTransformation: {
|
|
327
353
|
paths: [...['event']],
|
|
328
354
|
transformation: _fromVeloEntity,
|
|
@@ -331,7 +357,7 @@ export function createEvent(event, options) {
|
|
|
331
357
|
});
|
|
332
358
|
const { fromJSON } = serializer({
|
|
333
359
|
rootSchema: _createEventResponse,
|
|
334
|
-
depSchemas: {
|
|
360
|
+
depSchemas: { _agendaSettings, _event, _location },
|
|
335
361
|
fqdnTransformation: {
|
|
336
362
|
paths: [...['event']],
|
|
337
363
|
transformation: _toVeloEntity,
|
|
@@ -339,7 +365,7 @@ export function createEvent(event, options) {
|
|
|
339
365
|
customTransformation: responseTransformation,
|
|
340
366
|
});
|
|
341
367
|
const payload = toAmbassadorRequest([event, options]);
|
|
342
|
-
const reqOpts =
|
|
368
|
+
const reqOpts = ambassadorWixEventsV3Event.createEvent(payload);
|
|
343
369
|
__log(`"CreateEvent" sending request with: ${__inspect(reqOpts)}`);
|
|
344
370
|
(_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
|
|
345
371
|
try {
|
|
@@ -348,24 +374,32 @@ export function createEvent(event, options) {
|
|
|
348
374
|
return fromJSON(result.data);
|
|
349
375
|
}
|
|
350
376
|
catch (err) {
|
|
351
|
-
const transformedError =
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
377
|
+
const transformedError = sdkTransformError(err, {
|
|
378
|
+
spreadPathsToArguments: {},
|
|
379
|
+
explicitPathsToArguments: {
|
|
380
|
+
event: '$[0]',
|
|
381
|
+
draft: '$[1].draft',
|
|
382
|
+
fields: '$[1].fields',
|
|
383
|
+
},
|
|
384
|
+
singleArgumentUnchanged: false,
|
|
385
|
+
}, ['event', 'options']);
|
|
355
386
|
(_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
|
|
356
387
|
throw transformedError;
|
|
357
388
|
}
|
|
358
389
|
});
|
|
359
390
|
}
|
|
360
391
|
/**
|
|
361
|
-
*
|
|
362
|
-
*
|
|
363
|
-
*
|
|
392
|
+
* Clones an event, including the registration form, notifications, multilingual translations and ticket configuration from the original event. <br> <br>
|
|
393
|
+
* The new event's date is automatically set to 14 days from the original event date. <br> <br>
|
|
394
|
+
* If an event with the same title already exists, the new event's title gets a sequence number. For example, if you clone an event named "Leather Crafting 101", the new event's title is "Leather Crafting 101 (1)". <br> <br>
|
|
395
|
+
* You can change the required entity field values while cloning an event. See [Partial Updates](https://dev.wix.com/api/rest/wix-events/wix-events/partial-updates) for more information.
|
|
364
396
|
* @param eventId - Event ID.
|
|
365
397
|
* @public
|
|
366
398
|
* @documentationMaturity preview
|
|
367
399
|
* @requiredField eventId
|
|
400
|
+
* @permissionScope Manage Events - all permissions
|
|
368
401
|
* @permissionScope Manage Events
|
|
402
|
+
* @applicableIdentity APP
|
|
369
403
|
*/
|
|
370
404
|
export function cloneEvent(eventId, options) {
|
|
371
405
|
var _a, _b, _c;
|
|
@@ -374,13 +408,14 @@ export function cloneEvent(eventId, options) {
|
|
|
374
408
|
eventId: '$[0]',
|
|
375
409
|
event: '$[1].event',
|
|
376
410
|
draft: '$[1].draft',
|
|
411
|
+
fields: '$[1].fields',
|
|
377
412
|
};
|
|
378
413
|
const responseTransformation = '$';
|
|
379
414
|
// @ts-ignore
|
|
380
415
|
const { httpClient, sideEffects } = arguments[2];
|
|
381
416
|
const { toAmbassadorRequest } = serializer({
|
|
382
417
|
rootSchema: _cloneEventRequest,
|
|
383
|
-
depSchemas: {
|
|
418
|
+
depSchemas: { _agendaSettings, _event, _location },
|
|
384
419
|
fqdnTransformation: {
|
|
385
420
|
paths: [...['event']],
|
|
386
421
|
transformation: _fromVeloEntity,
|
|
@@ -389,7 +424,7 @@ export function cloneEvent(eventId, options) {
|
|
|
389
424
|
});
|
|
390
425
|
const { fromJSON } = serializer({
|
|
391
426
|
rootSchema: _cloneEventResponse,
|
|
392
|
-
depSchemas: {
|
|
427
|
+
depSchemas: { _agendaSettings, _event, _location },
|
|
393
428
|
fqdnTransformation: {
|
|
394
429
|
paths: [...['event']],
|
|
395
430
|
transformation: _toVeloEntity,
|
|
@@ -397,7 +432,7 @@ export function cloneEvent(eventId, options) {
|
|
|
397
432
|
customTransformation: responseTransformation,
|
|
398
433
|
});
|
|
399
434
|
const payload = toAmbassadorRequest([eventId, options]);
|
|
400
|
-
const reqOpts =
|
|
435
|
+
const reqOpts = ambassadorWixEventsV3Event.cloneEvent(payload);
|
|
401
436
|
__log(`"CloneEvent" sending request with: ${__inspect(reqOpts)}`);
|
|
402
437
|
(_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
|
|
403
438
|
try {
|
|
@@ -406,10 +441,16 @@ export function cloneEvent(eventId, options) {
|
|
|
406
441
|
return fromJSON(result.data);
|
|
407
442
|
}
|
|
408
443
|
catch (err) {
|
|
409
|
-
const transformedError =
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
444
|
+
const transformedError = sdkTransformError(err, {
|
|
445
|
+
spreadPathsToArguments: {},
|
|
446
|
+
explicitPathsToArguments: {
|
|
447
|
+
eventId: '$[0]',
|
|
448
|
+
event: '$[1].event',
|
|
449
|
+
draft: '$[1].draft',
|
|
450
|
+
fields: '$[1].fields',
|
|
451
|
+
},
|
|
452
|
+
singleArgumentUnchanged: false,
|
|
453
|
+
}, ['eventId', 'options']);
|
|
413
454
|
(_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
|
|
414
455
|
throw transformedError;
|
|
415
456
|
}
|
|
@@ -417,24 +458,28 @@ export function cloneEvent(eventId, options) {
|
|
|
417
458
|
}
|
|
418
459
|
/**
|
|
419
460
|
* Updates an event.
|
|
420
|
-
* Each time the event is updated, `revision` increments by 1. The existing `revision` must be included when updating the event. This ensures you're working with the latest event and prevents unintended overwrites.
|
|
421
461
|
* @param _id - Event ID.
|
|
422
462
|
* @public
|
|
423
463
|
* @documentationMaturity preview
|
|
424
464
|
* @requiredField _id
|
|
465
|
+
* @permissionScope Manage Events - all permissions
|
|
425
466
|
* @permissionScope Manage Events
|
|
467
|
+
* @applicableIdentity APP
|
|
426
468
|
* @returns Updated event.
|
|
427
469
|
*/
|
|
428
470
|
export function updateEvent(_id, options) {
|
|
429
471
|
var _a, _b, _c;
|
|
430
472
|
return __awaiter(this, arguments, void 0, function* () {
|
|
431
|
-
const requestTransformation = {
|
|
473
|
+
const requestTransformation = {
|
|
474
|
+
event: { '*': '$[1].event', id: '$[0]' },
|
|
475
|
+
fields: '$[1].fields',
|
|
476
|
+
};
|
|
432
477
|
const responseTransformation = '$.event';
|
|
433
478
|
// @ts-ignore
|
|
434
479
|
const { httpClient, sideEffects } = arguments[2];
|
|
435
480
|
const { toAmbassadorRequest } = serializer({
|
|
436
481
|
rootSchema: _updateEventRequest,
|
|
437
|
-
depSchemas: {
|
|
482
|
+
depSchemas: { _agendaSettings, _event, _location },
|
|
438
483
|
fqdnTransformation: {
|
|
439
484
|
paths: [...['event']],
|
|
440
485
|
transformation: _fromVeloEntity,
|
|
@@ -443,7 +488,7 @@ export function updateEvent(_id, options) {
|
|
|
443
488
|
});
|
|
444
489
|
const { fromJSON } = serializer({
|
|
445
490
|
rootSchema: _updateEventResponse,
|
|
446
|
-
depSchemas: {
|
|
491
|
+
depSchemas: { _agendaSettings, _event, _location },
|
|
447
492
|
fqdnTransformation: {
|
|
448
493
|
paths: [...['event']],
|
|
449
494
|
transformation: _toVeloEntity,
|
|
@@ -451,7 +496,7 @@ export function updateEvent(_id, options) {
|
|
|
451
496
|
customTransformation: responseTransformation,
|
|
452
497
|
});
|
|
453
498
|
const payload = toAmbassadorRequest([_id, options]);
|
|
454
|
-
const reqOpts =
|
|
499
|
+
const reqOpts = ambassadorWixEventsV3Event.updateEvent(payload);
|
|
455
500
|
__log(`"UpdateEvent" sending request with: ${__inspect(reqOpts)}`);
|
|
456
501
|
(_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
|
|
457
502
|
try {
|
|
@@ -460,30 +505,34 @@ export function updateEvent(_id, options) {
|
|
|
460
505
|
return fromJSON(result.data);
|
|
461
506
|
}
|
|
462
507
|
catch (err) {
|
|
463
|
-
const transformedError =
|
|
464
|
-
'
|
|
465
|
-
'
|
|
466
|
-
|
|
508
|
+
const transformedError = sdkTransformError(err, {
|
|
509
|
+
spreadPathsToArguments: { event: '$[1].event' },
|
|
510
|
+
explicitPathsToArguments: { 'event.id': '$[0]', fields: '$[1].fields' },
|
|
511
|
+
singleArgumentUnchanged: false,
|
|
512
|
+
}, ['_id', 'options']);
|
|
467
513
|
(_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
|
|
468
514
|
throw transformedError;
|
|
469
515
|
}
|
|
470
516
|
});
|
|
471
517
|
}
|
|
472
518
|
/**
|
|
473
|
-
* Publishes a draft event to your live site.
|
|
519
|
+
* Publishes a draft event to your live site. Once published, the event's status changes from `DRAFT` to `UPCOMING`. <br> <br>
|
|
520
|
+
* It's impossible to revert the `DRAFT` status after publishing. The only option is to clone the event, then delete the original one.
|
|
474
521
|
* @param eventId - Event ID.
|
|
475
522
|
* @public
|
|
476
523
|
* @documentationMaturity preview
|
|
477
524
|
* @requiredField eventId
|
|
525
|
+
* @permissionScope Manage Events - all permissions
|
|
478
526
|
* @permissionScope Manage Events
|
|
527
|
+
* @applicableIdentity APP
|
|
479
528
|
*/
|
|
480
|
-
export function publishDraftEvent(eventId) {
|
|
529
|
+
export function publishDraftEvent(eventId, options) {
|
|
481
530
|
var _a, _b, _c;
|
|
482
531
|
return __awaiter(this, arguments, void 0, function* () {
|
|
483
|
-
const requestTransformation = { eventId: '$[0]' };
|
|
532
|
+
const requestTransformation = { eventId: '$[0]', fields: '$[1].fields' };
|
|
484
533
|
const responseTransformation = '$';
|
|
485
534
|
// @ts-ignore
|
|
486
|
-
const { httpClient, sideEffects } = arguments[
|
|
535
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
487
536
|
const { toAmbassadorRequest } = serializer({
|
|
488
537
|
rootSchema: _publishDraftEventRequest,
|
|
489
538
|
depSchemas: {},
|
|
@@ -495,15 +544,15 @@ export function publishDraftEvent(eventId) {
|
|
|
495
544
|
});
|
|
496
545
|
const { fromJSON } = serializer({
|
|
497
546
|
rootSchema: _publishDraftEventResponse,
|
|
498
|
-
depSchemas: {
|
|
547
|
+
depSchemas: { _agendaSettings, _event, _location },
|
|
499
548
|
fqdnTransformation: {
|
|
500
549
|
paths: [...['event']],
|
|
501
550
|
transformation: _toVeloEntity,
|
|
502
551
|
},
|
|
503
552
|
customTransformation: responseTransformation,
|
|
504
553
|
});
|
|
505
|
-
const payload = toAmbassadorRequest([eventId]);
|
|
506
|
-
const reqOpts =
|
|
554
|
+
const payload = toAmbassadorRequest([eventId, options]);
|
|
555
|
+
const reqOpts = ambassadorWixEventsV3Event.publishDraftEvent(payload);
|
|
507
556
|
__log(`"PublishDraftEvent" sending request with: ${__inspect(reqOpts)}`);
|
|
508
557
|
(_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
|
|
509
558
|
try {
|
|
@@ -512,30 +561,35 @@ export function publishDraftEvent(eventId) {
|
|
|
512
561
|
return fromJSON(result.data);
|
|
513
562
|
}
|
|
514
563
|
catch (err) {
|
|
515
|
-
const transformedError =
|
|
516
|
-
|
|
517
|
-
|
|
564
|
+
const transformedError = sdkTransformError(err, {
|
|
565
|
+
spreadPathsToArguments: {},
|
|
566
|
+
explicitPathsToArguments: { eventId: '$[0]', fields: '$[1].fields' },
|
|
567
|
+
singleArgumentUnchanged: false,
|
|
568
|
+
}, ['eventId', 'options']);
|
|
518
569
|
(_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
|
|
519
570
|
throw transformedError;
|
|
520
571
|
}
|
|
521
572
|
});
|
|
522
573
|
}
|
|
523
574
|
/**
|
|
524
|
-
* Cancels an event.
|
|
575
|
+
* Cancels an event. <br> <br>
|
|
576
|
+
* After cancellation, registration for an event is closed. To reuse the event, [copy]() and [publish]() it again. <br> <br>
|
|
525
577
|
* If event cancellation notifications are enabled, canceling an event automatically triggers the sending of cancellation emails and/or push notifications to registered guests.
|
|
526
578
|
* @param eventId - Event ID.
|
|
527
579
|
* @public
|
|
528
580
|
* @documentationMaturity preview
|
|
529
581
|
* @requiredField eventId
|
|
582
|
+
* @permissionScope Manage Events - all permissions
|
|
530
583
|
* @permissionScope Manage Events
|
|
584
|
+
* @applicableIdentity APP
|
|
531
585
|
*/
|
|
532
|
-
export function cancelEvent(eventId) {
|
|
586
|
+
export function cancelEvent(eventId, options) {
|
|
533
587
|
var _a, _b, _c;
|
|
534
588
|
return __awaiter(this, arguments, void 0, function* () {
|
|
535
|
-
const requestTransformation = { eventId: '$[0]' };
|
|
589
|
+
const requestTransformation = { eventId: '$[0]', fields: '$[1].fields' };
|
|
536
590
|
const responseTransformation = '$';
|
|
537
591
|
// @ts-ignore
|
|
538
|
-
const { httpClient, sideEffects } = arguments[
|
|
592
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
539
593
|
const { toAmbassadorRequest } = serializer({
|
|
540
594
|
rootSchema: _cancelEventRequest,
|
|
541
595
|
depSchemas: {},
|
|
@@ -547,15 +601,15 @@ export function cancelEvent(eventId) {
|
|
|
547
601
|
});
|
|
548
602
|
const { fromJSON } = serializer({
|
|
549
603
|
rootSchema: _cancelEventResponse,
|
|
550
|
-
depSchemas: {
|
|
604
|
+
depSchemas: { _agendaSettings, _event, _location },
|
|
551
605
|
fqdnTransformation: {
|
|
552
606
|
paths: [...['event']],
|
|
553
607
|
transformation: _toVeloEntity,
|
|
554
608
|
},
|
|
555
609
|
customTransformation: responseTransformation,
|
|
556
610
|
});
|
|
557
|
-
const payload = toAmbassadorRequest([eventId]);
|
|
558
|
-
const reqOpts =
|
|
611
|
+
const payload = toAmbassadorRequest([eventId, options]);
|
|
612
|
+
const reqOpts = ambassadorWixEventsV3Event.cancelEvent(payload);
|
|
559
613
|
__log(`"CancelEvent" sending request with: ${__inspect(reqOpts)}`);
|
|
560
614
|
(_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
|
|
561
615
|
try {
|
|
@@ -564,21 +618,26 @@ export function cancelEvent(eventId) {
|
|
|
564
618
|
return fromJSON(result.data);
|
|
565
619
|
}
|
|
566
620
|
catch (err) {
|
|
567
|
-
const transformedError =
|
|
568
|
-
|
|
569
|
-
|
|
621
|
+
const transformedError = sdkTransformError(err, {
|
|
622
|
+
spreadPathsToArguments: {},
|
|
623
|
+
explicitPathsToArguments: { eventId: '$[0]', fields: '$[1].fields' },
|
|
624
|
+
singleArgumentUnchanged: false,
|
|
625
|
+
}, ['eventId', 'options']);
|
|
570
626
|
(_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
|
|
571
627
|
throw transformedError;
|
|
572
628
|
}
|
|
573
629
|
});
|
|
574
630
|
}
|
|
575
631
|
/**
|
|
576
|
-
* Cancels multiple events that meet the
|
|
632
|
+
* Cancels multiple events that meet the given criteria. <br> <br>
|
|
633
|
+
* After cancellation, registration for an event is closed. To reuse the event, [clone]() and [publish]() it again. <br> <br>
|
|
577
634
|
* If event cancellation notifications are enabled, canceling an event automatically triggers the sending of cancellation emails and/or push notifications to registered guests.
|
|
578
635
|
* @public
|
|
579
636
|
* @documentationMaturity preview
|
|
580
637
|
* @requiredField options.filter.filter
|
|
638
|
+
* @permissionScope Manage Events - all permissions
|
|
581
639
|
* @permissionScope Manage Events
|
|
640
|
+
* @applicableIdentity APP
|
|
582
641
|
*/
|
|
583
642
|
export function bulkCancelEventsByFilter(options) {
|
|
584
643
|
var _a, _b, _c;
|
|
@@ -606,31 +665,34 @@ export function bulkCancelEventsByFilter(options) {
|
|
|
606
665
|
customTransformation: responseTransformation,
|
|
607
666
|
});
|
|
608
667
|
const payload = toAmbassadorRequest([options]);
|
|
609
|
-
const reqOpts =
|
|
668
|
+
const reqOpts = ambassadorWixEventsV3Event.bulkCancelEventsByFilter(payload);
|
|
610
669
|
__log(`"BulkCancelEventsByFilter" sending request with: ${__inspect(reqOpts)}`);
|
|
611
670
|
(_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
|
|
612
671
|
try {
|
|
613
672
|
const result = yield httpClient.request(reqOpts);
|
|
614
673
|
(_b = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSuccess) === null || _b === void 0 ? void 0 : _b.call(sideEffects, result);
|
|
615
|
-
return fromJSON(result.data);
|
|
616
674
|
}
|
|
617
675
|
catch (err) {
|
|
618
|
-
const transformedError =
|
|
619
|
-
|
|
620
|
-
|
|
676
|
+
const transformedError = sdkTransformError(err, {
|
|
677
|
+
spreadPathsToArguments: {},
|
|
678
|
+
explicitPathsToArguments: { filter: '$[0].filter' },
|
|
679
|
+
singleArgumentUnchanged: false,
|
|
680
|
+
}, ['options']);
|
|
621
681
|
(_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
|
|
622
682
|
throw transformedError;
|
|
623
683
|
}
|
|
624
684
|
});
|
|
625
685
|
}
|
|
626
686
|
/**
|
|
627
|
-
* Permanently deletes an event.
|
|
687
|
+
* Permanently deletes an event. <br> <br>
|
|
628
688
|
* You can retrieve the deleted event through a GDPR access request.
|
|
629
689
|
* @param eventId - Event ID.
|
|
630
690
|
* @public
|
|
631
691
|
* @documentationMaturity preview
|
|
632
692
|
* @requiredField eventId
|
|
693
|
+
* @permissionScope Manage Events - all permissions
|
|
633
694
|
* @permissionScope Manage Events
|
|
695
|
+
* @applicableIdentity APP
|
|
634
696
|
*/
|
|
635
697
|
export function deleteEvent(eventId) {
|
|
636
698
|
var _a, _b, _c;
|
|
@@ -658,7 +720,7 @@ export function deleteEvent(eventId) {
|
|
|
658
720
|
customTransformation: responseTransformation,
|
|
659
721
|
});
|
|
660
722
|
const payload = toAmbassadorRequest([eventId]);
|
|
661
|
-
const reqOpts =
|
|
723
|
+
const reqOpts = ambassadorWixEventsV3Event.deleteEvent(payload);
|
|
662
724
|
__log(`"DeleteEvent" sending request with: ${__inspect(reqOpts)}`);
|
|
663
725
|
(_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
|
|
664
726
|
try {
|
|
@@ -667,21 +729,25 @@ export function deleteEvent(eventId) {
|
|
|
667
729
|
return fromJSON(result.data);
|
|
668
730
|
}
|
|
669
731
|
catch (err) {
|
|
670
|
-
const transformedError =
|
|
671
|
-
|
|
672
|
-
|
|
732
|
+
const transformedError = sdkTransformError(err, {
|
|
733
|
+
spreadPathsToArguments: {},
|
|
734
|
+
explicitPathsToArguments: { eventId: '$[0]' },
|
|
735
|
+
singleArgumentUnchanged: false,
|
|
736
|
+
}, ['eventId']);
|
|
673
737
|
(_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
|
|
674
738
|
throw transformedError;
|
|
675
739
|
}
|
|
676
740
|
});
|
|
677
741
|
}
|
|
678
742
|
/**
|
|
679
|
-
* Permanently deletes multiple events that meet the
|
|
743
|
+
* Permanently deletes multiple events that meet the given criteria. <br> <br>
|
|
680
744
|
* You can retrieve the deleted events through a GDPR access request.
|
|
681
745
|
* @public
|
|
682
746
|
* @documentationMaturity preview
|
|
683
747
|
* @requiredField options.filter.filter
|
|
748
|
+
* @permissionScope Manage Events - all permissions
|
|
684
749
|
* @permissionScope Manage Events
|
|
750
|
+
* @applicableIdentity APP
|
|
685
751
|
*/
|
|
686
752
|
export function bulkDeleteEventsByFilter(options) {
|
|
687
753
|
var _a, _b, _c;
|
|
@@ -709,40 +775,49 @@ export function bulkDeleteEventsByFilter(options) {
|
|
|
709
775
|
customTransformation: responseTransformation,
|
|
710
776
|
});
|
|
711
777
|
const payload = toAmbassadorRequest([options]);
|
|
712
|
-
const reqOpts =
|
|
778
|
+
const reqOpts = ambassadorWixEventsV3Event.bulkDeleteEventsByFilter(payload);
|
|
713
779
|
__log(`"BulkDeleteEventsByFilter" sending request with: ${__inspect(reqOpts)}`);
|
|
714
780
|
(_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
|
|
715
781
|
try {
|
|
716
782
|
const result = yield httpClient.request(reqOpts);
|
|
717
783
|
(_b = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSuccess) === null || _b === void 0 ? void 0 : _b.call(sideEffects, result);
|
|
718
|
-
return fromJSON(result.data);
|
|
719
784
|
}
|
|
720
785
|
catch (err) {
|
|
721
|
-
const transformedError =
|
|
722
|
-
|
|
723
|
-
|
|
786
|
+
const transformedError = sdkTransformError(err, {
|
|
787
|
+
spreadPathsToArguments: {},
|
|
788
|
+
explicitPathsToArguments: { filter: '$[0].filter' },
|
|
789
|
+
singleArgumentUnchanged: false,
|
|
790
|
+
}, ['options']);
|
|
724
791
|
(_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
|
|
725
792
|
throw transformedError;
|
|
726
793
|
}
|
|
727
794
|
});
|
|
728
795
|
}
|
|
729
796
|
/**
|
|
730
|
-
* Retrieves a list of
|
|
797
|
+
* Retrieves a list of events, given the provided paging, filtering, and sorting.
|
|
731
798
|
* Query Events runs with these defaults, which you can override:
|
|
732
799
|
* - `createdDate` is sorted in `ASC` order
|
|
733
800
|
* - `paging.limit` is `100`
|
|
734
801
|
* - `paging.offset` is `0`
|
|
735
|
-
* For field support for filters and sorting, see [Events v3: Supported Filters and Sorting](https://dev.wix.com/api/rest/wix-events/
|
|
802
|
+
* For field support for filters and sorting, see [Events v3: Supported Filters and Sorting](https://dev.wix.com/api/rest/wix-events/events-v3/filter-and-sort).
|
|
736
803
|
* To learn about working with _Query_ endpoints, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language), [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/pagination), and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
|
|
737
804
|
* @public
|
|
738
805
|
* @documentationMaturity preview
|
|
806
|
+
* @permissionScope Read Events - all read permissions
|
|
807
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
808
|
+
* @permissionScope Manage Events - all permissions
|
|
739
809
|
* @permissionScope Read Events
|
|
810
|
+
* @permissionScope Manage Guest List
|
|
811
|
+
* @permissionScope Manage Events
|
|
812
|
+
* @applicableIdentity APP
|
|
813
|
+
* @applicableIdentity MEMBER
|
|
814
|
+
* @applicableIdentity VISITOR
|
|
740
815
|
*/
|
|
741
816
|
export function queryEvents(options) {
|
|
742
817
|
const requestTransformation = { '*': '$[1]', query: '$[0]' };
|
|
743
818
|
const responseTransformation = {
|
|
744
819
|
items: '$.events',
|
|
745
|
-
pagingMetadata: '$.
|
|
820
|
+
pagingMetadata: '$.pagingMetadata',
|
|
746
821
|
};
|
|
747
822
|
// @ts-ignore
|
|
748
823
|
const { httpClient, sideEffects } = arguments[1];
|
|
@@ -757,7 +832,7 @@ export function queryEvents(options) {
|
|
|
757
832
|
});
|
|
758
833
|
const { fromJSON } = serializer({
|
|
759
834
|
rootSchema: _queryEventsResponse,
|
|
760
|
-
depSchemas: {
|
|
835
|
+
depSchemas: { _agendaSettings, _event, _location },
|
|
761
836
|
fqdnTransformation: {
|
|
762
837
|
paths: [...['Array#events']],
|
|
763
838
|
transformation: _toVeloEntity,
|
|
@@ -767,7 +842,7 @@ export function queryEvents(options) {
|
|
|
767
842
|
return wrapWithQueryBuilder({
|
|
768
843
|
func: (payload) => __awaiter(this, void 0, void 0, function* () {
|
|
769
844
|
var _a, _b, _c;
|
|
770
|
-
const reqOpts =
|
|
845
|
+
const reqOpts = ambassadorWixEventsV3Event.queryEvents(Object.assign(Object.assign({}, payload), (options !== null && options !== void 0 ? options : {})));
|
|
771
846
|
(_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
|
|
772
847
|
try {
|
|
773
848
|
const result = yield httpClient.request(reqOpts);
|
|
@@ -790,26 +865,33 @@ export function queryEvents(options) {
|
|
|
790
865
|
})({ cursorWithEmptyFilterAndSort: true });
|
|
791
866
|
}
|
|
792
867
|
/**
|
|
793
|
-
*
|
|
794
|
-
*
|
|
868
|
+
* Counts events by status.
|
|
869
|
+
* To learn about working with _query_ endpoints, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language), [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/pagination), and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
|
|
795
870
|
* @public
|
|
796
871
|
* @documentationMaturity preview
|
|
797
|
-
* @
|
|
872
|
+
* @permissionScope Read Events - all read permissions
|
|
873
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
874
|
+
* @permissionScope Manage Events - all permissions
|
|
798
875
|
* @permissionScope Read Events
|
|
876
|
+
* @permissionScope Manage Guest List
|
|
877
|
+
* @permissionScope Manage Events
|
|
878
|
+
* @applicableIdentity APP
|
|
879
|
+
* @applicableIdentity MEMBER
|
|
880
|
+
* @applicableIdentity VISITOR
|
|
799
881
|
*/
|
|
800
|
-
export function
|
|
882
|
+
export function countEventsByStatus(options) {
|
|
801
883
|
var _a, _b, _c;
|
|
802
884
|
return __awaiter(this, arguments, void 0, function* () {
|
|
803
885
|
const requestTransformation = {
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
886
|
+
filter: '$[0].filter',
|
|
887
|
+
facet: '$[0].facet',
|
|
888
|
+
includeDrafts: '$[0].includeDrafts',
|
|
807
889
|
};
|
|
808
890
|
const responseTransformation = '$';
|
|
809
891
|
// @ts-ignore
|
|
810
|
-
const { httpClient, sideEffects } = arguments[
|
|
892
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
811
893
|
const { toAmbassadorRequest } = serializer({
|
|
812
|
-
rootSchema:
|
|
894
|
+
rootSchema: _countEventsByStatusRequest,
|
|
813
895
|
depSchemas: {},
|
|
814
896
|
fqdnTransformation: {
|
|
815
897
|
paths: [],
|
|
@@ -818,17 +900,17 @@ export function listEventsByCategory(categoryId, options) {
|
|
|
818
900
|
customTransformation: requestTransformation,
|
|
819
901
|
});
|
|
820
902
|
const { fromJSON } = serializer({
|
|
821
|
-
rootSchema:
|
|
822
|
-
depSchemas: {
|
|
903
|
+
rootSchema: _countEventsByStatusResponse,
|
|
904
|
+
depSchemas: {},
|
|
823
905
|
fqdnTransformation: {
|
|
824
|
-
paths: [
|
|
906
|
+
paths: [],
|
|
825
907
|
transformation: _toVeloEntity,
|
|
826
908
|
},
|
|
827
909
|
customTransformation: responseTransformation,
|
|
828
910
|
});
|
|
829
|
-
const payload = toAmbassadorRequest([
|
|
830
|
-
const reqOpts =
|
|
831
|
-
__log(`"
|
|
911
|
+
const payload = toAmbassadorRequest([options]);
|
|
912
|
+
const reqOpts = ambassadorWixEventsV3Event.countEventsByStatus(payload);
|
|
913
|
+
__log(`"CountEventsByStatus" sending request with: ${__inspect(reqOpts)}`);
|
|
832
914
|
(_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
|
|
833
915
|
try {
|
|
834
916
|
const result = yield httpClient.request(reqOpts);
|
|
@@ -836,28 +918,41 @@ export function listEventsByCategory(categoryId, options) {
|
|
|
836
918
|
return fromJSON(result.data);
|
|
837
919
|
}
|
|
838
920
|
catch (err) {
|
|
839
|
-
const transformedError =
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
921
|
+
const transformedError = sdkTransformError(err, {
|
|
922
|
+
spreadPathsToArguments: {},
|
|
923
|
+
explicitPathsToArguments: {
|
|
924
|
+
filter: '$[0].filter',
|
|
925
|
+
facet: '$[0].facet',
|
|
926
|
+
includeDrafts: '$[0].includeDrafts',
|
|
927
|
+
},
|
|
928
|
+
singleArgumentUnchanged: false,
|
|
929
|
+
}, ['options']);
|
|
843
930
|
(_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
|
|
844
931
|
throw transformedError;
|
|
845
932
|
}
|
|
846
933
|
});
|
|
847
934
|
}
|
|
848
935
|
/**
|
|
849
|
-
* Retrieves an event by
|
|
936
|
+
* Retrieves an event by ID.
|
|
850
937
|
* @param eventId - Event ID.
|
|
851
938
|
* @public
|
|
852
939
|
* @documentationMaturity preview
|
|
853
940
|
* @requiredField eventId
|
|
941
|
+
* @permissionScope Read Events - all read permissions
|
|
942
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
943
|
+
* @permissionScope Manage Events - all permissions
|
|
854
944
|
* @permissionScope Read Events
|
|
945
|
+
* @permissionScope Manage Guest List
|
|
946
|
+
* @permissionScope Manage Events
|
|
947
|
+
* @applicableIdentity APP
|
|
948
|
+
* @applicableIdentity MEMBER
|
|
949
|
+
* @applicableIdentity VISITOR
|
|
855
950
|
* @returns Event.
|
|
856
951
|
*/
|
|
857
952
|
export function getEvent(eventId, options) {
|
|
858
953
|
var _a, _b, _c;
|
|
859
954
|
return __awaiter(this, arguments, void 0, function* () {
|
|
860
|
-
const requestTransformation = { eventId: '$[0]',
|
|
955
|
+
const requestTransformation = { eventId: '$[0]', fields: '$[1].fields' };
|
|
861
956
|
const responseTransformation = '$.event';
|
|
862
957
|
// @ts-ignore
|
|
863
958
|
const { httpClient, sideEffects } = arguments[2];
|
|
@@ -872,7 +967,7 @@ export function getEvent(eventId, options) {
|
|
|
872
967
|
});
|
|
873
968
|
const { fromJSON } = serializer({
|
|
874
969
|
rootSchema: _getEventResponse,
|
|
875
|
-
depSchemas: {
|
|
970
|
+
depSchemas: { _agendaSettings, _event, _location },
|
|
876
971
|
fqdnTransformation: {
|
|
877
972
|
paths: [...['event']],
|
|
878
973
|
transformation: _toVeloEntity,
|
|
@@ -880,7 +975,7 @@ export function getEvent(eventId, options) {
|
|
|
880
975
|
customTransformation: responseTransformation,
|
|
881
976
|
});
|
|
882
977
|
const payload = toAmbassadorRequest([eventId, options]);
|
|
883
|
-
const reqOpts =
|
|
978
|
+
const reqOpts = ambassadorWixEventsV3Event.getEvent(payload);
|
|
884
979
|
__log(`"GetEvent" sending request with: ${__inspect(reqOpts)}`);
|
|
885
980
|
(_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
|
|
886
981
|
try {
|
|
@@ -889,10 +984,11 @@ export function getEvent(eventId, options) {
|
|
|
889
984
|
return fromJSON(result.data);
|
|
890
985
|
}
|
|
891
986
|
catch (err) {
|
|
892
|
-
const transformedError =
|
|
893
|
-
|
|
894
|
-
'
|
|
895
|
-
|
|
987
|
+
const transformedError = sdkTransformError(err, {
|
|
988
|
+
spreadPathsToArguments: {},
|
|
989
|
+
explicitPathsToArguments: { eventId: '$[0]', fields: '$[1].fields' },
|
|
990
|
+
singleArgumentUnchanged: false,
|
|
991
|
+
}, ['eventId', 'options']);
|
|
896
992
|
(_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
|
|
897
993
|
throw transformedError;
|
|
898
994
|
}
|
|
@@ -904,12 +1000,20 @@ export function getEvent(eventId, options) {
|
|
|
904
1000
|
* @public
|
|
905
1001
|
* @documentationMaturity preview
|
|
906
1002
|
* @requiredField slug
|
|
1003
|
+
* @permissionScope Read Events - all read permissions
|
|
1004
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
1005
|
+
* @permissionScope Manage Events - all permissions
|
|
907
1006
|
* @permissionScope Read Events
|
|
1007
|
+
* @permissionScope Manage Guest List
|
|
1008
|
+
* @permissionScope Manage Events
|
|
1009
|
+
* @applicableIdentity APP
|
|
1010
|
+
* @applicableIdentity MEMBER
|
|
1011
|
+
* @applicableIdentity VISITOR
|
|
908
1012
|
*/
|
|
909
1013
|
export function getEventBySlug(slug, options) {
|
|
910
1014
|
var _a, _b, _c;
|
|
911
1015
|
return __awaiter(this, arguments, void 0, function* () {
|
|
912
|
-
const requestTransformation = { slug: '$[0]',
|
|
1016
|
+
const requestTransformation = { slug: '$[0]', fields: '$[1].fields' };
|
|
913
1017
|
const responseTransformation = '$';
|
|
914
1018
|
// @ts-ignore
|
|
915
1019
|
const { httpClient, sideEffects } = arguments[2];
|
|
@@ -924,7 +1028,7 @@ export function getEventBySlug(slug, options) {
|
|
|
924
1028
|
});
|
|
925
1029
|
const { fromJSON } = serializer({
|
|
926
1030
|
rootSchema: _getEventBySlugResponse,
|
|
927
|
-
depSchemas: {
|
|
1031
|
+
depSchemas: { _agendaSettings, _event, _location },
|
|
928
1032
|
fqdnTransformation: {
|
|
929
1033
|
paths: [...['event']],
|
|
930
1034
|
transformation: _toVeloEntity,
|
|
@@ -932,7 +1036,7 @@ export function getEventBySlug(slug, options) {
|
|
|
932
1036
|
customTransformation: responseTransformation,
|
|
933
1037
|
});
|
|
934
1038
|
const payload = toAmbassadorRequest([slug, options]);
|
|
935
|
-
const reqOpts =
|
|
1039
|
+
const reqOpts = ambassadorWixEventsV3Event.getEventBySlug(payload);
|
|
936
1040
|
__log(`"GetEventBySlug" sending request with: ${__inspect(reqOpts)}`);
|
|
937
1041
|
(_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
|
|
938
1042
|
try {
|
|
@@ -941,13 +1045,82 @@ export function getEventBySlug(slug, options) {
|
|
|
941
1045
|
return fromJSON(result.data);
|
|
942
1046
|
}
|
|
943
1047
|
catch (err) {
|
|
944
|
-
const transformedError =
|
|
945
|
-
|
|
946
|
-
'
|
|
947
|
-
|
|
1048
|
+
const transformedError = sdkTransformError(err, {
|
|
1049
|
+
spreadPathsToArguments: {},
|
|
1050
|
+
explicitPathsToArguments: { slug: '$[0]', fields: '$[1].fields' },
|
|
1051
|
+
singleArgumentUnchanged: false,
|
|
1052
|
+
}, ['slug', 'options']);
|
|
1053
|
+
(_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
|
|
1054
|
+
throw transformedError;
|
|
1055
|
+
}
|
|
1056
|
+
});
|
|
1057
|
+
}
|
|
1058
|
+
/**
|
|
1059
|
+
* Finds an event by ID or URL slug. In contrast to Get Event endpoint which returns not found error,
|
|
1060
|
+
* Find Event returns empty response when an event is not found.
|
|
1061
|
+
* @public
|
|
1062
|
+
* @documentationMaturity preview
|
|
1063
|
+
* @permissionScope Read Events - all read permissions
|
|
1064
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
1065
|
+
* @permissionScope Manage Events - all permissions
|
|
1066
|
+
* @permissionScope Read Events
|
|
1067
|
+
* @permissionScope Manage Guest List
|
|
1068
|
+
* @permissionScope Manage Events
|
|
1069
|
+
* @applicableIdentity APP
|
|
1070
|
+
* @applicableIdentity MEMBER
|
|
1071
|
+
* @applicableIdentity VISITOR
|
|
1072
|
+
*/
|
|
1073
|
+
export function findEvent(options) {
|
|
1074
|
+
var _a, _b, _c;
|
|
1075
|
+
return __awaiter(this, arguments, void 0, function* () {
|
|
1076
|
+
const requestTransformation = {
|
|
1077
|
+
eventId: '$[0].eventId',
|
|
1078
|
+
slug: '$[0].slug',
|
|
1079
|
+
fields: '$[0].fields',
|
|
1080
|
+
};
|
|
1081
|
+
const responseTransformation = '$';
|
|
1082
|
+
// @ts-ignore
|
|
1083
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
1084
|
+
const { toAmbassadorRequest } = serializer({
|
|
1085
|
+
rootSchema: _findEventRequest,
|
|
1086
|
+
depSchemas: {},
|
|
1087
|
+
fqdnTransformation: {
|
|
1088
|
+
paths: [],
|
|
1089
|
+
transformation: _fromVeloEntity,
|
|
1090
|
+
},
|
|
1091
|
+
customTransformation: requestTransformation,
|
|
1092
|
+
});
|
|
1093
|
+
const { fromJSON } = serializer({
|
|
1094
|
+
rootSchema: _findEventResponse,
|
|
1095
|
+
depSchemas: { _agendaSettings, _event, _location },
|
|
1096
|
+
fqdnTransformation: {
|
|
1097
|
+
paths: [...['event']],
|
|
1098
|
+
transformation: _toVeloEntity,
|
|
1099
|
+
},
|
|
1100
|
+
customTransformation: responseTransformation,
|
|
1101
|
+
});
|
|
1102
|
+
const payload = toAmbassadorRequest([options]);
|
|
1103
|
+
const reqOpts = ambassadorWixEventsV3Event.findEvent(payload);
|
|
1104
|
+
__log(`"FindEvent" sending request with: ${__inspect(reqOpts)}`);
|
|
1105
|
+
(_a = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSiteCall) === null || _a === void 0 ? void 0 : _a.call(sideEffects);
|
|
1106
|
+
try {
|
|
1107
|
+
const result = yield httpClient.request(reqOpts);
|
|
1108
|
+
(_b = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onSuccess) === null || _b === void 0 ? void 0 : _b.call(sideEffects, result);
|
|
1109
|
+
return fromJSON(result.data);
|
|
1110
|
+
}
|
|
1111
|
+
catch (err) {
|
|
1112
|
+
const transformedError = sdkTransformError(err, {
|
|
1113
|
+
spreadPathsToArguments: {},
|
|
1114
|
+
explicitPathsToArguments: {
|
|
1115
|
+
eventId: '$[0].eventId',
|
|
1116
|
+
slug: '$[0].slug',
|
|
1117
|
+
fields: '$[0].fields',
|
|
1118
|
+
},
|
|
1119
|
+
singleArgumentUnchanged: false,
|
|
1120
|
+
}, ['options']);
|
|
948
1121
|
(_c = sideEffects === null || sideEffects === void 0 ? void 0 : sideEffects.onError) === null || _c === void 0 ? void 0 : _c.call(sideEffects, err);
|
|
949
1122
|
throw transformedError;
|
|
950
1123
|
}
|
|
951
1124
|
});
|
|
952
1125
|
}
|
|
953
|
-
//# sourceMappingURL=events-
|
|
1126
|
+
//# sourceMappingURL=events-v3-event.universal.js.map
|