@wix/auto_sdk_events_wix-events-v-2 1.0.26 → 1.0.27

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