@wix/auto_sdk_table-reservations_experiences 1.0.55 → 1.0.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/build/cjs/index.d.ts +2 -2
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/cjs/index.typings.d.ts +2 -2
  4. package/build/cjs/index.typings.js.map +1 -1
  5. package/build/cjs/meta.d.ts +14 -1
  6. package/build/cjs/meta.js.map +1 -1
  7. package/build/cjs/schemas.js +1776 -1618
  8. package/build/cjs/schemas.js.map +1 -1
  9. package/build/cjs/{table-reservations-v1-experience-experiences.universal-IWOANhQE.d.ts → table-reservations-v1-experience-experiences.universal-DVZqonps.d.ts} +13 -0
  10. package/build/es/index.d.mts +2 -2
  11. package/build/es/index.mjs.map +1 -1
  12. package/build/es/index.typings.d.mts +2 -2
  13. package/build/es/index.typings.mjs.map +1 -1
  14. package/build/es/meta.d.mts +14 -1
  15. package/build/es/meta.mjs.map +1 -1
  16. package/build/es/schemas.mjs +1776 -1618
  17. package/build/es/schemas.mjs.map +1 -1
  18. package/build/es/{table-reservations-v1-experience-experiences.universal-IWOANhQE.d.mts → table-reservations-v1-experience-experiences.universal-DVZqonps.d.mts} +13 -0
  19. package/build/internal/cjs/index.d.ts +2 -2
  20. package/build/internal/cjs/index.typings.d.ts +2 -2
  21. package/build/internal/cjs/meta.d.ts +14 -1
  22. package/build/internal/{es/table-reservations-v1-experience-experiences.universal-DTD8OqnY.d.mts → cjs/table-reservations-v1-experience-experiences.universal-BWzrXsg-.d.ts} +13 -0
  23. package/build/internal/es/index.d.mts +2 -2
  24. package/build/internal/es/index.typings.d.mts +2 -2
  25. package/build/internal/es/meta.d.mts +14 -1
  26. package/build/internal/{cjs/table-reservations-v1-experience-experiences.universal-DTD8OqnY.d.ts → es/table-reservations-v1-experience-experiences.universal-BWzrXsg-.d.mts} +13 -0
  27. package/package.json +2 -2
  28. package/build/internal/cjs/index.js +0 -4438
  29. package/build/internal/cjs/index.js.map +0 -1
  30. package/build/internal/cjs/index.typings.js +0 -3555
  31. package/build/internal/cjs/index.typings.js.map +0 -1
  32. package/build/internal/cjs/meta.js +0 -3171
  33. package/build/internal/cjs/meta.js.map +0 -1
  34. package/build/internal/cjs/schemas.js +0 -3576
  35. package/build/internal/cjs/schemas.js.map +0 -1
  36. package/build/internal/es/index.mjs +0 -4316
  37. package/build/internal/es/index.mjs.map +0 -1
  38. package/build/internal/es/index.typings.mjs +0 -3435
  39. package/build/internal/es/index.typings.mjs.map +0 -1
  40. package/build/internal/es/meta.mjs +0 -3050
  41. package/build/internal/es/meta.mjs.map +0 -1
  42. package/build/internal/es/schemas.mjs +0 -3518
  43. package/build/internal/es/schemas.mjs.map +0 -1
@@ -1,4316 +0,0 @@
1
- // src/table-reservations-v1-experience-experiences.public.ts
2
- import { renameKeysFromRESTResponseToSDKResponse as renameKeysFromRESTResponseToSDKResponse2 } from "@wix/sdk-runtime/rename-all-nested-keys";
3
- import { transformRESTFloatToSDKFloat as transformRESTFloatToSDKFloat2 } from "@wix/sdk-runtime/transformations/float";
4
- import { transformRESTImageToSDKImage as transformRESTImageToSDKImage2 } from "@wix/sdk-runtime/transformations/image";
5
- import { transformRESTPageURLV2ToSDKPageURLV2 as transformRESTPageURLV2ToSDKPageURLV22 } from "@wix/sdk-runtime/transformations/page-url-v2";
6
- import { transformRESTTimestampToSDKTimestamp as transformRESTTimestampToSDKTimestamp2 } from "@wix/sdk-runtime/transformations/timestamp";
7
- import { transformPaths as transformPaths3 } from "@wix/sdk-runtime/transformations/transform-paths";
8
- import { EventDefinition } from "@wix/sdk-types";
9
-
10
- // src/table-reservations-v1-experience-experiences.universal.ts
11
- import { transformError as sdkTransformError } from "@wix/sdk-runtime/transform-error";
12
- import { queryBuilder } from "@wix/sdk-runtime/query-builder";
13
- import {
14
- renameKeysFromSDKRequestToRESTRequest,
15
- renameKeysFromRESTResponseToSDKResponse
16
- } from "@wix/sdk-runtime/rename-all-nested-keys";
17
-
18
- // src/table-reservations-v1-experience-experiences.http.ts
19
- import { toURLSearchParams } from "@wix/sdk-runtime/rest-modules";
20
- import { transformSDKFloatToRESTFloat } from "@wix/sdk-runtime/transformations/float";
21
- import { transformRESTFloatToSDKFloat } from "@wix/sdk-runtime/transformations/float";
22
- import { transformSDKTimestampToRESTTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
23
- import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
24
- import { transformSDKFieldMaskToRESTFieldMask } from "@wix/sdk-runtime/transformations/field-mask";
25
- import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
26
- import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
27
- function resolveWixTableReservationsExperienceV1ExperiencesServiceUrl(opts) {
28
- const domainToMappings = {
29
- "manage._base_domain_": [
30
- {
31
- srcPath: "/_api/experiences",
32
- destPath: ""
33
- },
34
- {
35
- srcPath: "/_api/table-reservations/experiences",
36
- destPath: ""
37
- }
38
- ],
39
- "bo._base_domain_": [
40
- {
41
- srcPath: "/_api/table-reservations/experiences",
42
- destPath: ""
43
- }
44
- ],
45
- "wixbo.ai": [
46
- {
47
- srcPath: "/_api/table-reservations/experiences",
48
- destPath: ""
49
- }
50
- ],
51
- "wix-bo.com": [
52
- {
53
- srcPath: "/_api/table-reservations/experiences",
54
- destPath: ""
55
- }
56
- ],
57
- "editor._base_domain_": [
58
- {
59
- srcPath: "/_api/table-reservations/experiences",
60
- destPath: ""
61
- }
62
- ],
63
- "blocks._base_domain_": [
64
- {
65
- srcPath: "/_api/table-reservations/experiences",
66
- destPath: ""
67
- }
68
- ],
69
- "create.editorx": [
70
- {
71
- srcPath: "/_api/table-reservations/experiences",
72
- destPath: ""
73
- }
74
- ],
75
- "dev._base_domain_": [
76
- {
77
- srcPath: "/_api/table-reservations/experiences",
78
- destPath: ""
79
- }
80
- ],
81
- "apps._base_domain_": [
82
- {
83
- srcPath: "/_api/table-reservations/experiences",
84
- destPath: ""
85
- }
86
- ],
87
- "www.wixapis.com": [
88
- {
89
- srcPath: "/table-reservations/experiences",
90
- destPath: ""
91
- }
92
- ],
93
- "*.dev.wix-code.com": [
94
- {
95
- srcPath: "/_api/table-reservations/experiences",
96
- destPath: ""
97
- }
98
- ],
99
- "www._base_domain_": [
100
- {
101
- srcPath: "/_api/table-reservations/experiences",
102
- destPath: ""
103
- }
104
- ],
105
- "editor.wixapps.net": [
106
- {
107
- srcPath: "/_api/table-reservations/experiences",
108
- destPath: ""
109
- }
110
- ],
111
- _: [
112
- {
113
- srcPath: "/_api/table-reservations/experiences",
114
- destPath: ""
115
- }
116
- ]
117
- };
118
- return resolveUrl(Object.assign(opts, { domainToMappings }));
119
- }
120
- var PACKAGE_NAME = "@wix/auto_sdk_table-reservations_experiences";
121
- function createExperience(payload) {
122
- function __createExperience({ host }) {
123
- const serializedData = transformPaths(payload, [
124
- {
125
- transformFn: transformSDKTimestampToRESTTimestamp,
126
- paths: [
127
- { path: "experience.createdDate" },
128
- { path: "experience.updatedDate" },
129
- {
130
- path: "experience.configuration.displayInfo.richContent.metadata.createdTimestamp"
131
- },
132
- {
133
- path: "experience.configuration.displayInfo.richContent.metadata.updatedTimestamp"
134
- }
135
- ]
136
- },
137
- {
138
- transformFn: transformSDKFloatToRESTFloat,
139
- paths: [
140
- {
141
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerX"
142
- },
143
- {
144
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerY"
145
- },
146
- {
147
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.stops.position"
148
- },
149
- {
150
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
151
- },
152
- {
153
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
154
- },
155
- {
156
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
157
- },
158
- {
159
- path: "experience.configuration.displayInfo.richContent.nodes.galleryData.items.image.media.duration"
160
- },
161
- {
162
- path: "experience.configuration.displayInfo.richContent.nodes.galleryData.items.video.media.duration"
163
- },
164
- {
165
- path: "experience.configuration.displayInfo.richContent.nodes.galleryData.items.video.thumbnail.duration"
166
- },
167
- {
168
- path: "experience.configuration.displayInfo.richContent.nodes.galleryData.options.item.ratio"
169
- },
170
- {
171
- path: "experience.configuration.displayInfo.richContent.nodes.imageData.image.duration"
172
- },
173
- {
174
- path: "experience.configuration.displayInfo.richContent.nodes.imageData.crop.x"
175
- },
176
- {
177
- path: "experience.configuration.displayInfo.richContent.nodes.imageData.crop.y"
178
- },
179
- {
180
- path: "experience.configuration.displayInfo.richContent.nodes.imageData.crop.width"
181
- },
182
- {
183
- path: "experience.configuration.displayInfo.richContent.nodes.imageData.crop.height"
184
- },
185
- {
186
- path: "experience.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lat"
187
- },
188
- {
189
- path: "experience.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lng"
190
- },
191
- {
192
- path: "experience.configuration.displayInfo.richContent.nodes.pollData.poll.image.duration"
193
- },
194
- {
195
- path: "experience.configuration.displayInfo.richContent.nodes.pollData.poll.options.image.duration"
196
- },
197
- {
198
- path: "experience.configuration.displayInfo.richContent.nodes.pollData.design.poll.background.image.duration"
199
- },
200
- {
201
- path: "experience.configuration.displayInfo.richContent.nodes.appEmbedData.image.duration"
202
- },
203
- {
204
- path: "experience.configuration.displayInfo.richContent.nodes.videoData.video.duration"
205
- },
206
- {
207
- path: "experience.configuration.displayInfo.richContent.nodes.videoData.thumbnail.duration"
208
- },
209
- {
210
- path: "experience.configuration.displayInfo.richContent.nodes.audioData.audio.duration"
211
- },
212
- {
213
- path: "experience.configuration.displayInfo.richContent.nodes.audioData.coverImage.duration"
214
- },
215
- {
216
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.media.duration"
217
- },
218
- {
219
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
220
- },
221
- {
222
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
223
- },
224
- {
225
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
226
- },
227
- {
228
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.media.duration"
229
- },
230
- {
231
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
232
- },
233
- {
234
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
235
- },
236
- {
237
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
238
- },
239
- {
240
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerX"
241
- },
242
- {
243
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerY"
244
- },
245
- {
246
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.stops.position"
247
- },
248
- {
249
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerX"
250
- },
251
- {
252
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerY"
253
- },
254
- {
255
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.stops.position"
256
- },
257
- {
258
- path: "experience.configuration.displayInfo.richContent.nodes.shapeData.shape.duration"
259
- },
260
- {
261
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerX"
262
- },
263
- {
264
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerY"
265
- },
266
- {
267
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.background.gradient.stops.position"
268
- },
269
- {
270
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.media.duration"
271
- },
272
- {
273
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
274
- },
275
- {
276
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
277
- },
278
- {
279
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
280
- },
281
- {
282
- path: "experience.configuration.displayInfo.richContent.nodes.tocData.fontSize"
283
- },
284
- {
285
- path: "experience.configuration.displayInfo.richContent.nodes.tocData.itemSpacing"
286
- },
287
- {
288
- path: "experience.configuration.displayInfo.richContent.nodes.smartBlockCellData.shape.duration"
289
- }
290
- ]
291
- }
292
- ]);
293
- const metadata = {
294
- entityFqdn: "wix.table_reservations.v1.experience",
295
- method: "POST",
296
- methodFqn: "wix.table_reservations.experience.v1.ExperiencesService.CreateExperience",
297
- packageName: PACKAGE_NAME,
298
- migrationOptions: {
299
- optInTransformResponse: true
300
- },
301
- url: resolveWixTableReservationsExperienceV1ExperiencesServiceUrl({
302
- protoPath: "/v1/experiences",
303
- data: serializedData,
304
- host
305
- }),
306
- data: serializedData,
307
- transformResponse: (payload2) => transformPaths(payload2, [
308
- {
309
- transformFn: transformRESTTimestampToSDKTimestamp,
310
- paths: [
311
- { path: "experience.createdDate" },
312
- { path: "experience.updatedDate" },
313
- {
314
- path: "experience.configuration.displayInfo.richContent.metadata.createdTimestamp"
315
- },
316
- {
317
- path: "experience.configuration.displayInfo.richContent.metadata.updatedTimestamp"
318
- }
319
- ]
320
- },
321
- {
322
- transformFn: transformRESTFloatToSDKFloat,
323
- paths: [
324
- {
325
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerX"
326
- },
327
- {
328
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerY"
329
- },
330
- {
331
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.stops.position"
332
- },
333
- {
334
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
335
- },
336
- {
337
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
338
- },
339
- {
340
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
341
- },
342
- {
343
- path: "experience.configuration.displayInfo.richContent.nodes.galleryData.items.image.media.duration"
344
- },
345
- {
346
- path: "experience.configuration.displayInfo.richContent.nodes.galleryData.items.video.media.duration"
347
- },
348
- {
349
- path: "experience.configuration.displayInfo.richContent.nodes.galleryData.items.video.thumbnail.duration"
350
- },
351
- {
352
- path: "experience.configuration.displayInfo.richContent.nodes.galleryData.options.item.ratio"
353
- },
354
- {
355
- path: "experience.configuration.displayInfo.richContent.nodes.imageData.image.duration"
356
- },
357
- {
358
- path: "experience.configuration.displayInfo.richContent.nodes.imageData.crop.x"
359
- },
360
- {
361
- path: "experience.configuration.displayInfo.richContent.nodes.imageData.crop.y"
362
- },
363
- {
364
- path: "experience.configuration.displayInfo.richContent.nodes.imageData.crop.width"
365
- },
366
- {
367
- path: "experience.configuration.displayInfo.richContent.nodes.imageData.crop.height"
368
- },
369
- {
370
- path: "experience.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lat"
371
- },
372
- {
373
- path: "experience.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lng"
374
- },
375
- {
376
- path: "experience.configuration.displayInfo.richContent.nodes.pollData.poll.image.duration"
377
- },
378
- {
379
- path: "experience.configuration.displayInfo.richContent.nodes.pollData.poll.options.image.duration"
380
- },
381
- {
382
- path: "experience.configuration.displayInfo.richContent.nodes.pollData.design.poll.background.image.duration"
383
- },
384
- {
385
- path: "experience.configuration.displayInfo.richContent.nodes.appEmbedData.image.duration"
386
- },
387
- {
388
- path: "experience.configuration.displayInfo.richContent.nodes.videoData.video.duration"
389
- },
390
- {
391
- path: "experience.configuration.displayInfo.richContent.nodes.videoData.thumbnail.duration"
392
- },
393
- {
394
- path: "experience.configuration.displayInfo.richContent.nodes.audioData.audio.duration"
395
- },
396
- {
397
- path: "experience.configuration.displayInfo.richContent.nodes.audioData.coverImage.duration"
398
- },
399
- {
400
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.media.duration"
401
- },
402
- {
403
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
404
- },
405
- {
406
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
407
- },
408
- {
409
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
410
- },
411
- {
412
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.media.duration"
413
- },
414
- {
415
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
416
- },
417
- {
418
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
419
- },
420
- {
421
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
422
- },
423
- {
424
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerX"
425
- },
426
- {
427
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerY"
428
- },
429
- {
430
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.stops.position"
431
- },
432
- {
433
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerX"
434
- },
435
- {
436
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerY"
437
- },
438
- {
439
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.stops.position"
440
- },
441
- {
442
- path: "experience.configuration.displayInfo.richContent.nodes.shapeData.shape.duration"
443
- },
444
- {
445
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerX"
446
- },
447
- {
448
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerY"
449
- },
450
- {
451
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.background.gradient.stops.position"
452
- },
453
- {
454
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.media.duration"
455
- },
456
- {
457
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
458
- },
459
- {
460
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
461
- },
462
- {
463
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
464
- },
465
- {
466
- path: "experience.configuration.displayInfo.richContent.nodes.tocData.fontSize"
467
- },
468
- {
469
- path: "experience.configuration.displayInfo.richContent.nodes.tocData.itemSpacing"
470
- },
471
- {
472
- path: "experience.configuration.displayInfo.richContent.nodes.smartBlockCellData.shape.duration"
473
- }
474
- ]
475
- }
476
- ])
477
- };
478
- return metadata;
479
- }
480
- return __createExperience;
481
- }
482
- function getExperience(payload) {
483
- function __getExperience({ host }) {
484
- const metadata = {
485
- entityFqdn: "wix.table_reservations.v1.experience",
486
- method: "GET",
487
- methodFqn: "wix.table_reservations.experience.v1.ExperiencesService.GetExperience",
488
- packageName: PACKAGE_NAME,
489
- migrationOptions: {
490
- optInTransformResponse: true
491
- },
492
- url: resolveWixTableReservationsExperienceV1ExperiencesServiceUrl({
493
- protoPath: "/v1/experiences/{experienceId}",
494
- data: payload,
495
- host
496
- }),
497
- params: toURLSearchParams(payload),
498
- transformResponse: (payload2) => transformPaths(payload2, [
499
- {
500
- transformFn: transformRESTTimestampToSDKTimestamp,
501
- paths: [
502
- { path: "experience.createdDate" },
503
- { path: "experience.updatedDate" },
504
- {
505
- path: "experience.configuration.displayInfo.richContent.metadata.createdTimestamp"
506
- },
507
- {
508
- path: "experience.configuration.displayInfo.richContent.metadata.updatedTimestamp"
509
- }
510
- ]
511
- },
512
- {
513
- transformFn: transformRESTFloatToSDKFloat,
514
- paths: [
515
- {
516
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerX"
517
- },
518
- {
519
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerY"
520
- },
521
- {
522
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.stops.position"
523
- },
524
- {
525
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
526
- },
527
- {
528
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
529
- },
530
- {
531
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
532
- },
533
- {
534
- path: "experience.configuration.displayInfo.richContent.nodes.galleryData.items.image.media.duration"
535
- },
536
- {
537
- path: "experience.configuration.displayInfo.richContent.nodes.galleryData.items.video.media.duration"
538
- },
539
- {
540
- path: "experience.configuration.displayInfo.richContent.nodes.galleryData.items.video.thumbnail.duration"
541
- },
542
- {
543
- path: "experience.configuration.displayInfo.richContent.nodes.galleryData.options.item.ratio"
544
- },
545
- {
546
- path: "experience.configuration.displayInfo.richContent.nodes.imageData.image.duration"
547
- },
548
- {
549
- path: "experience.configuration.displayInfo.richContent.nodes.imageData.crop.x"
550
- },
551
- {
552
- path: "experience.configuration.displayInfo.richContent.nodes.imageData.crop.y"
553
- },
554
- {
555
- path: "experience.configuration.displayInfo.richContent.nodes.imageData.crop.width"
556
- },
557
- {
558
- path: "experience.configuration.displayInfo.richContent.nodes.imageData.crop.height"
559
- },
560
- {
561
- path: "experience.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lat"
562
- },
563
- {
564
- path: "experience.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lng"
565
- },
566
- {
567
- path: "experience.configuration.displayInfo.richContent.nodes.pollData.poll.image.duration"
568
- },
569
- {
570
- path: "experience.configuration.displayInfo.richContent.nodes.pollData.poll.options.image.duration"
571
- },
572
- {
573
- path: "experience.configuration.displayInfo.richContent.nodes.pollData.design.poll.background.image.duration"
574
- },
575
- {
576
- path: "experience.configuration.displayInfo.richContent.nodes.appEmbedData.image.duration"
577
- },
578
- {
579
- path: "experience.configuration.displayInfo.richContent.nodes.videoData.video.duration"
580
- },
581
- {
582
- path: "experience.configuration.displayInfo.richContent.nodes.videoData.thumbnail.duration"
583
- },
584
- {
585
- path: "experience.configuration.displayInfo.richContent.nodes.audioData.audio.duration"
586
- },
587
- {
588
- path: "experience.configuration.displayInfo.richContent.nodes.audioData.coverImage.duration"
589
- },
590
- {
591
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.media.duration"
592
- },
593
- {
594
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
595
- },
596
- {
597
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
598
- },
599
- {
600
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
601
- },
602
- {
603
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.media.duration"
604
- },
605
- {
606
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
607
- },
608
- {
609
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
610
- },
611
- {
612
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
613
- },
614
- {
615
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerX"
616
- },
617
- {
618
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerY"
619
- },
620
- {
621
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.stops.position"
622
- },
623
- {
624
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerX"
625
- },
626
- {
627
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerY"
628
- },
629
- {
630
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.stops.position"
631
- },
632
- {
633
- path: "experience.configuration.displayInfo.richContent.nodes.shapeData.shape.duration"
634
- },
635
- {
636
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerX"
637
- },
638
- {
639
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerY"
640
- },
641
- {
642
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.background.gradient.stops.position"
643
- },
644
- {
645
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.media.duration"
646
- },
647
- {
648
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
649
- },
650
- {
651
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
652
- },
653
- {
654
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
655
- },
656
- {
657
- path: "experience.configuration.displayInfo.richContent.nodes.tocData.fontSize"
658
- },
659
- {
660
- path: "experience.configuration.displayInfo.richContent.nodes.tocData.itemSpacing"
661
- },
662
- {
663
- path: "experience.configuration.displayInfo.richContent.nodes.smartBlockCellData.shape.duration"
664
- }
665
- ]
666
- }
667
- ])
668
- };
669
- return metadata;
670
- }
671
- return __getExperience;
672
- }
673
- function getExperienceBySlug(payload) {
674
- function __getExperienceBySlug({ host }) {
675
- const metadata = {
676
- entityFqdn: "wix.table_reservations.v1.experience",
677
- method: "GET",
678
- methodFqn: "wix.table_reservations.experience.v1.ExperiencesService.GetExperienceBySlug",
679
- packageName: PACKAGE_NAME,
680
- migrationOptions: {
681
- optInTransformResponse: true
682
- },
683
- url: resolveWixTableReservationsExperienceV1ExperiencesServiceUrl({
684
- protoPath: "/v1/experiences/slug/{slug}",
685
- data: payload,
686
- host
687
- }),
688
- params: toURLSearchParams(payload),
689
- transformResponse: (payload2) => transformPaths(payload2, [
690
- {
691
- transformFn: transformRESTTimestampToSDKTimestamp,
692
- paths: [
693
- { path: "experience.createdDate" },
694
- { path: "experience.updatedDate" },
695
- {
696
- path: "experience.configuration.displayInfo.richContent.metadata.createdTimestamp"
697
- },
698
- {
699
- path: "experience.configuration.displayInfo.richContent.metadata.updatedTimestamp"
700
- }
701
- ]
702
- },
703
- {
704
- transformFn: transformRESTFloatToSDKFloat,
705
- paths: [
706
- {
707
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerX"
708
- },
709
- {
710
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerY"
711
- },
712
- {
713
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.stops.position"
714
- },
715
- {
716
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
717
- },
718
- {
719
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
720
- },
721
- {
722
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
723
- },
724
- {
725
- path: "experience.configuration.displayInfo.richContent.nodes.galleryData.items.image.media.duration"
726
- },
727
- {
728
- path: "experience.configuration.displayInfo.richContent.nodes.galleryData.items.video.media.duration"
729
- },
730
- {
731
- path: "experience.configuration.displayInfo.richContent.nodes.galleryData.items.video.thumbnail.duration"
732
- },
733
- {
734
- path: "experience.configuration.displayInfo.richContent.nodes.galleryData.options.item.ratio"
735
- },
736
- {
737
- path: "experience.configuration.displayInfo.richContent.nodes.imageData.image.duration"
738
- },
739
- {
740
- path: "experience.configuration.displayInfo.richContent.nodes.imageData.crop.x"
741
- },
742
- {
743
- path: "experience.configuration.displayInfo.richContent.nodes.imageData.crop.y"
744
- },
745
- {
746
- path: "experience.configuration.displayInfo.richContent.nodes.imageData.crop.width"
747
- },
748
- {
749
- path: "experience.configuration.displayInfo.richContent.nodes.imageData.crop.height"
750
- },
751
- {
752
- path: "experience.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lat"
753
- },
754
- {
755
- path: "experience.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lng"
756
- },
757
- {
758
- path: "experience.configuration.displayInfo.richContent.nodes.pollData.poll.image.duration"
759
- },
760
- {
761
- path: "experience.configuration.displayInfo.richContent.nodes.pollData.poll.options.image.duration"
762
- },
763
- {
764
- path: "experience.configuration.displayInfo.richContent.nodes.pollData.design.poll.background.image.duration"
765
- },
766
- {
767
- path: "experience.configuration.displayInfo.richContent.nodes.appEmbedData.image.duration"
768
- },
769
- {
770
- path: "experience.configuration.displayInfo.richContent.nodes.videoData.video.duration"
771
- },
772
- {
773
- path: "experience.configuration.displayInfo.richContent.nodes.videoData.thumbnail.duration"
774
- },
775
- {
776
- path: "experience.configuration.displayInfo.richContent.nodes.audioData.audio.duration"
777
- },
778
- {
779
- path: "experience.configuration.displayInfo.richContent.nodes.audioData.coverImage.duration"
780
- },
781
- {
782
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.media.duration"
783
- },
784
- {
785
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
786
- },
787
- {
788
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
789
- },
790
- {
791
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
792
- },
793
- {
794
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.media.duration"
795
- },
796
- {
797
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
798
- },
799
- {
800
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
801
- },
802
- {
803
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
804
- },
805
- {
806
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerX"
807
- },
808
- {
809
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerY"
810
- },
811
- {
812
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.stops.position"
813
- },
814
- {
815
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerX"
816
- },
817
- {
818
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerY"
819
- },
820
- {
821
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.stops.position"
822
- },
823
- {
824
- path: "experience.configuration.displayInfo.richContent.nodes.shapeData.shape.duration"
825
- },
826
- {
827
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerX"
828
- },
829
- {
830
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerY"
831
- },
832
- {
833
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.background.gradient.stops.position"
834
- },
835
- {
836
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.media.duration"
837
- },
838
- {
839
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
840
- },
841
- {
842
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
843
- },
844
- {
845
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
846
- },
847
- {
848
- path: "experience.configuration.displayInfo.richContent.nodes.tocData.fontSize"
849
- },
850
- {
851
- path: "experience.configuration.displayInfo.richContent.nodes.tocData.itemSpacing"
852
- },
853
- {
854
- path: "experience.configuration.displayInfo.richContent.nodes.smartBlockCellData.shape.duration"
855
- }
856
- ]
857
- }
858
- ])
859
- };
860
- return metadata;
861
- }
862
- return __getExperienceBySlug;
863
- }
864
- function updateExperience(payload) {
865
- function __updateExperience({ host }) {
866
- const serializedData = transformPaths(payload, [
867
- {
868
- transformFn: transformSDKFieldMaskToRESTFieldMask,
869
- paths: [{ path: "fieldMask" }]
870
- },
871
- {
872
- transformFn: transformSDKTimestampToRESTTimestamp,
873
- paths: [
874
- { path: "experience.createdDate" },
875
- { path: "experience.updatedDate" },
876
- {
877
- path: "experience.configuration.displayInfo.richContent.metadata.createdTimestamp"
878
- },
879
- {
880
- path: "experience.configuration.displayInfo.richContent.metadata.updatedTimestamp"
881
- }
882
- ]
883
- },
884
- {
885
- transformFn: transformSDKFloatToRESTFloat,
886
- paths: [
887
- {
888
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerX"
889
- },
890
- {
891
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerY"
892
- },
893
- {
894
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.stops.position"
895
- },
896
- {
897
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
898
- },
899
- {
900
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
901
- },
902
- {
903
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
904
- },
905
- {
906
- path: "experience.configuration.displayInfo.richContent.nodes.galleryData.items.image.media.duration"
907
- },
908
- {
909
- path: "experience.configuration.displayInfo.richContent.nodes.galleryData.items.video.media.duration"
910
- },
911
- {
912
- path: "experience.configuration.displayInfo.richContent.nodes.galleryData.items.video.thumbnail.duration"
913
- },
914
- {
915
- path: "experience.configuration.displayInfo.richContent.nodes.galleryData.options.item.ratio"
916
- },
917
- {
918
- path: "experience.configuration.displayInfo.richContent.nodes.imageData.image.duration"
919
- },
920
- {
921
- path: "experience.configuration.displayInfo.richContent.nodes.imageData.crop.x"
922
- },
923
- {
924
- path: "experience.configuration.displayInfo.richContent.nodes.imageData.crop.y"
925
- },
926
- {
927
- path: "experience.configuration.displayInfo.richContent.nodes.imageData.crop.width"
928
- },
929
- {
930
- path: "experience.configuration.displayInfo.richContent.nodes.imageData.crop.height"
931
- },
932
- {
933
- path: "experience.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lat"
934
- },
935
- {
936
- path: "experience.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lng"
937
- },
938
- {
939
- path: "experience.configuration.displayInfo.richContent.nodes.pollData.poll.image.duration"
940
- },
941
- {
942
- path: "experience.configuration.displayInfo.richContent.nodes.pollData.poll.options.image.duration"
943
- },
944
- {
945
- path: "experience.configuration.displayInfo.richContent.nodes.pollData.design.poll.background.image.duration"
946
- },
947
- {
948
- path: "experience.configuration.displayInfo.richContent.nodes.appEmbedData.image.duration"
949
- },
950
- {
951
- path: "experience.configuration.displayInfo.richContent.nodes.videoData.video.duration"
952
- },
953
- {
954
- path: "experience.configuration.displayInfo.richContent.nodes.videoData.thumbnail.duration"
955
- },
956
- {
957
- path: "experience.configuration.displayInfo.richContent.nodes.audioData.audio.duration"
958
- },
959
- {
960
- path: "experience.configuration.displayInfo.richContent.nodes.audioData.coverImage.duration"
961
- },
962
- {
963
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.media.duration"
964
- },
965
- {
966
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
967
- },
968
- {
969
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
970
- },
971
- {
972
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
973
- },
974
- {
975
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.media.duration"
976
- },
977
- {
978
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
979
- },
980
- {
981
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
982
- },
983
- {
984
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
985
- },
986
- {
987
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerX"
988
- },
989
- {
990
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerY"
991
- },
992
- {
993
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.stops.position"
994
- },
995
- {
996
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerX"
997
- },
998
- {
999
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerY"
1000
- },
1001
- {
1002
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.stops.position"
1003
- },
1004
- {
1005
- path: "experience.configuration.displayInfo.richContent.nodes.shapeData.shape.duration"
1006
- },
1007
- {
1008
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerX"
1009
- },
1010
- {
1011
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerY"
1012
- },
1013
- {
1014
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.background.gradient.stops.position"
1015
- },
1016
- {
1017
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.media.duration"
1018
- },
1019
- {
1020
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
1021
- },
1022
- {
1023
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
1024
- },
1025
- {
1026
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
1027
- },
1028
- {
1029
- path: "experience.configuration.displayInfo.richContent.nodes.tocData.fontSize"
1030
- },
1031
- {
1032
- path: "experience.configuration.displayInfo.richContent.nodes.tocData.itemSpacing"
1033
- },
1034
- {
1035
- path: "experience.configuration.displayInfo.richContent.nodes.smartBlockCellData.shape.duration"
1036
- }
1037
- ]
1038
- }
1039
- ]);
1040
- const metadata = {
1041
- entityFqdn: "wix.table_reservations.v1.experience",
1042
- method: "PATCH",
1043
- methodFqn: "wix.table_reservations.experience.v1.ExperiencesService.UpdateExperience",
1044
- packageName: PACKAGE_NAME,
1045
- migrationOptions: {
1046
- optInTransformResponse: true
1047
- },
1048
- url: resolveWixTableReservationsExperienceV1ExperiencesServiceUrl({
1049
- protoPath: "/v1/experiences/{experience.id}",
1050
- data: serializedData,
1051
- host
1052
- }),
1053
- data: serializedData,
1054
- transformResponse: (payload2) => transformPaths(payload2, [
1055
- {
1056
- transformFn: transformRESTTimestampToSDKTimestamp,
1057
- paths: [
1058
- { path: "experience.createdDate" },
1059
- { path: "experience.updatedDate" },
1060
- {
1061
- path: "experience.configuration.displayInfo.richContent.metadata.createdTimestamp"
1062
- },
1063
- {
1064
- path: "experience.configuration.displayInfo.richContent.metadata.updatedTimestamp"
1065
- }
1066
- ]
1067
- },
1068
- {
1069
- transformFn: transformRESTFloatToSDKFloat,
1070
- paths: [
1071
- {
1072
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerX"
1073
- },
1074
- {
1075
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerY"
1076
- },
1077
- {
1078
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.stops.position"
1079
- },
1080
- {
1081
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
1082
- },
1083
- {
1084
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
1085
- },
1086
- {
1087
- path: "experience.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
1088
- },
1089
- {
1090
- path: "experience.configuration.displayInfo.richContent.nodes.galleryData.items.image.media.duration"
1091
- },
1092
- {
1093
- path: "experience.configuration.displayInfo.richContent.nodes.galleryData.items.video.media.duration"
1094
- },
1095
- {
1096
- path: "experience.configuration.displayInfo.richContent.nodes.galleryData.items.video.thumbnail.duration"
1097
- },
1098
- {
1099
- path: "experience.configuration.displayInfo.richContent.nodes.galleryData.options.item.ratio"
1100
- },
1101
- {
1102
- path: "experience.configuration.displayInfo.richContent.nodes.imageData.image.duration"
1103
- },
1104
- {
1105
- path: "experience.configuration.displayInfo.richContent.nodes.imageData.crop.x"
1106
- },
1107
- {
1108
- path: "experience.configuration.displayInfo.richContent.nodes.imageData.crop.y"
1109
- },
1110
- {
1111
- path: "experience.configuration.displayInfo.richContent.nodes.imageData.crop.width"
1112
- },
1113
- {
1114
- path: "experience.configuration.displayInfo.richContent.nodes.imageData.crop.height"
1115
- },
1116
- {
1117
- path: "experience.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lat"
1118
- },
1119
- {
1120
- path: "experience.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lng"
1121
- },
1122
- {
1123
- path: "experience.configuration.displayInfo.richContent.nodes.pollData.poll.image.duration"
1124
- },
1125
- {
1126
- path: "experience.configuration.displayInfo.richContent.nodes.pollData.poll.options.image.duration"
1127
- },
1128
- {
1129
- path: "experience.configuration.displayInfo.richContent.nodes.pollData.design.poll.background.image.duration"
1130
- },
1131
- {
1132
- path: "experience.configuration.displayInfo.richContent.nodes.appEmbedData.image.duration"
1133
- },
1134
- {
1135
- path: "experience.configuration.displayInfo.richContent.nodes.videoData.video.duration"
1136
- },
1137
- {
1138
- path: "experience.configuration.displayInfo.richContent.nodes.videoData.thumbnail.duration"
1139
- },
1140
- {
1141
- path: "experience.configuration.displayInfo.richContent.nodes.audioData.audio.duration"
1142
- },
1143
- {
1144
- path: "experience.configuration.displayInfo.richContent.nodes.audioData.coverImage.duration"
1145
- },
1146
- {
1147
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.media.duration"
1148
- },
1149
- {
1150
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
1151
- },
1152
- {
1153
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
1154
- },
1155
- {
1156
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
1157
- },
1158
- {
1159
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.media.duration"
1160
- },
1161
- {
1162
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
1163
- },
1164
- {
1165
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
1166
- },
1167
- {
1168
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
1169
- },
1170
- {
1171
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerX"
1172
- },
1173
- {
1174
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerY"
1175
- },
1176
- {
1177
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.stops.position"
1178
- },
1179
- {
1180
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerX"
1181
- },
1182
- {
1183
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerY"
1184
- },
1185
- {
1186
- path: "experience.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.stops.position"
1187
- },
1188
- {
1189
- path: "experience.configuration.displayInfo.richContent.nodes.shapeData.shape.duration"
1190
- },
1191
- {
1192
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerX"
1193
- },
1194
- {
1195
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerY"
1196
- },
1197
- {
1198
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.background.gradient.stops.position"
1199
- },
1200
- {
1201
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.media.duration"
1202
- },
1203
- {
1204
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
1205
- },
1206
- {
1207
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
1208
- },
1209
- {
1210
- path: "experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
1211
- },
1212
- {
1213
- path: "experience.configuration.displayInfo.richContent.nodes.tocData.fontSize"
1214
- },
1215
- {
1216
- path: "experience.configuration.displayInfo.richContent.nodes.tocData.itemSpacing"
1217
- },
1218
- {
1219
- path: "experience.configuration.displayInfo.richContent.nodes.smartBlockCellData.shape.duration"
1220
- }
1221
- ]
1222
- }
1223
- ])
1224
- };
1225
- return metadata;
1226
- }
1227
- return __updateExperience;
1228
- }
1229
- function queryExperiences(payload) {
1230
- function __queryExperiences({ host }) {
1231
- const metadata = {
1232
- entityFqdn: "wix.table_reservations.v1.experience",
1233
- method: "GET",
1234
- methodFqn: "wix.table_reservations.experience.v1.ExperiencesService.QueryExperiences",
1235
- packageName: PACKAGE_NAME,
1236
- migrationOptions: {
1237
- optInTransformResponse: true
1238
- },
1239
- url: resolveWixTableReservationsExperienceV1ExperiencesServiceUrl({
1240
- protoPath: "/v1/experiences/query",
1241
- data: payload,
1242
- host
1243
- }),
1244
- params: toURLSearchParams(payload, true),
1245
- transformResponse: (payload2) => transformPaths(payload2, [
1246
- {
1247
- transformFn: transformRESTTimestampToSDKTimestamp,
1248
- paths: [
1249
- { path: "experiences.createdDate" },
1250
- { path: "experiences.updatedDate" },
1251
- {
1252
- path: "experiences.configuration.displayInfo.richContent.metadata.createdTimestamp"
1253
- },
1254
- {
1255
- path: "experiences.configuration.displayInfo.richContent.metadata.updatedTimestamp"
1256
- }
1257
- ]
1258
- },
1259
- {
1260
- transformFn: transformRESTFloatToSDKFloat,
1261
- paths: [
1262
- {
1263
- path: "experiences.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerX"
1264
- },
1265
- {
1266
- path: "experiences.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerY"
1267
- },
1268
- {
1269
- path: "experiences.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.stops.position"
1270
- },
1271
- {
1272
- path: "experiences.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
1273
- },
1274
- {
1275
- path: "experiences.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
1276
- },
1277
- {
1278
- path: "experiences.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
1279
- },
1280
- {
1281
- path: "experiences.configuration.displayInfo.richContent.nodes.galleryData.items.image.media.duration"
1282
- },
1283
- {
1284
- path: "experiences.configuration.displayInfo.richContent.nodes.galleryData.items.video.media.duration"
1285
- },
1286
- {
1287
- path: "experiences.configuration.displayInfo.richContent.nodes.galleryData.items.video.thumbnail.duration"
1288
- },
1289
- {
1290
- path: "experiences.configuration.displayInfo.richContent.nodes.galleryData.options.item.ratio"
1291
- },
1292
- {
1293
- path: "experiences.configuration.displayInfo.richContent.nodes.imageData.image.duration"
1294
- },
1295
- {
1296
- path: "experiences.configuration.displayInfo.richContent.nodes.imageData.crop.x"
1297
- },
1298
- {
1299
- path: "experiences.configuration.displayInfo.richContent.nodes.imageData.crop.y"
1300
- },
1301
- {
1302
- path: "experiences.configuration.displayInfo.richContent.nodes.imageData.crop.width"
1303
- },
1304
- {
1305
- path: "experiences.configuration.displayInfo.richContent.nodes.imageData.crop.height"
1306
- },
1307
- {
1308
- path: "experiences.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lat"
1309
- },
1310
- {
1311
- path: "experiences.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lng"
1312
- },
1313
- {
1314
- path: "experiences.configuration.displayInfo.richContent.nodes.pollData.poll.image.duration"
1315
- },
1316
- {
1317
- path: "experiences.configuration.displayInfo.richContent.nodes.pollData.poll.options.image.duration"
1318
- },
1319
- {
1320
- path: "experiences.configuration.displayInfo.richContent.nodes.pollData.design.poll.background.image.duration"
1321
- },
1322
- {
1323
- path: "experiences.configuration.displayInfo.richContent.nodes.appEmbedData.image.duration"
1324
- },
1325
- {
1326
- path: "experiences.configuration.displayInfo.richContent.nodes.videoData.video.duration"
1327
- },
1328
- {
1329
- path: "experiences.configuration.displayInfo.richContent.nodes.videoData.thumbnail.duration"
1330
- },
1331
- {
1332
- path: "experiences.configuration.displayInfo.richContent.nodes.audioData.audio.duration"
1333
- },
1334
- {
1335
- path: "experiences.configuration.displayInfo.richContent.nodes.audioData.coverImage.duration"
1336
- },
1337
- {
1338
- path: "experiences.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.media.duration"
1339
- },
1340
- {
1341
- path: "experiences.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
1342
- },
1343
- {
1344
- path: "experiences.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
1345
- },
1346
- {
1347
- path: "experiences.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
1348
- },
1349
- {
1350
- path: "experiences.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.media.duration"
1351
- },
1352
- {
1353
- path: "experiences.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
1354
- },
1355
- {
1356
- path: "experiences.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
1357
- },
1358
- {
1359
- path: "experiences.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
1360
- },
1361
- {
1362
- path: "experiences.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerX"
1363
- },
1364
- {
1365
- path: "experiences.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerY"
1366
- },
1367
- {
1368
- path: "experiences.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.stops.position"
1369
- },
1370
- {
1371
- path: "experiences.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerX"
1372
- },
1373
- {
1374
- path: "experiences.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerY"
1375
- },
1376
- {
1377
- path: "experiences.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.stops.position"
1378
- },
1379
- {
1380
- path: "experiences.configuration.displayInfo.richContent.nodes.shapeData.shape.duration"
1381
- },
1382
- {
1383
- path: "experiences.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerX"
1384
- },
1385
- {
1386
- path: "experiences.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerY"
1387
- },
1388
- {
1389
- path: "experiences.configuration.displayInfo.richContent.nodes.cardData.background.gradient.stops.position"
1390
- },
1391
- {
1392
- path: "experiences.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.media.duration"
1393
- },
1394
- {
1395
- path: "experiences.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
1396
- },
1397
- {
1398
- path: "experiences.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
1399
- },
1400
- {
1401
- path: "experiences.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
1402
- },
1403
- {
1404
- path: "experiences.configuration.displayInfo.richContent.nodes.tocData.fontSize"
1405
- },
1406
- {
1407
- path: "experiences.configuration.displayInfo.richContent.nodes.tocData.itemSpacing"
1408
- },
1409
- {
1410
- path: "experiences.configuration.displayInfo.richContent.nodes.smartBlockCellData.shape.duration"
1411
- }
1412
- ]
1413
- }
1414
- ]),
1415
- fallback: [
1416
- {
1417
- method: "POST",
1418
- url: resolveWixTableReservationsExperienceV1ExperiencesServiceUrl({
1419
- protoPath: "/v1/experiences/query",
1420
- data: payload,
1421
- host
1422
- }),
1423
- data: payload
1424
- }
1425
- ]
1426
- };
1427
- return metadata;
1428
- }
1429
- return __queryExperiences;
1430
- }
1431
- function searchExperiences(payload) {
1432
- function __searchExperiences({ host }) {
1433
- const serializedData = transformPaths(payload, [
1434
- {
1435
- transformFn: transformSDKFloatToRESTFloat,
1436
- paths: [
1437
- { path: "search.aggregations.range.buckets.from" },
1438
- { path: "search.aggregations.range.buckets.to" },
1439
- {
1440
- path: "search.aggregations.nested.nestedAggregations.range.buckets.from"
1441
- },
1442
- {
1443
- path: "search.aggregations.nested.nestedAggregations.range.buckets.to"
1444
- }
1445
- ]
1446
- }
1447
- ]);
1448
- const metadata = {
1449
- entityFqdn: "wix.table_reservations.v1.experience",
1450
- method: "GET",
1451
- methodFqn: "wix.table_reservations.experience.v1.ExperiencesService.SearchExperiences",
1452
- packageName: PACKAGE_NAME,
1453
- migrationOptions: {
1454
- optInTransformResponse: true
1455
- },
1456
- url: resolveWixTableReservationsExperienceV1ExperiencesServiceUrl({
1457
- protoPath: "/v1/experiences/search",
1458
- data: serializedData,
1459
- host
1460
- }),
1461
- params: toURLSearchParams(serializedData, true),
1462
- transformResponse: (payload2) => transformPaths(payload2, [
1463
- {
1464
- transformFn: transformRESTTimestampToSDKTimestamp,
1465
- paths: [
1466
- { path: "experiences.createdDate" },
1467
- { path: "experiences.updatedDate" },
1468
- {
1469
- path: "experiences.configuration.displayInfo.richContent.metadata.createdTimestamp"
1470
- },
1471
- {
1472
- path: "experiences.configuration.displayInfo.richContent.metadata.updatedTimestamp"
1473
- }
1474
- ]
1475
- },
1476
- {
1477
- transformFn: transformRESTFloatToSDKFloat,
1478
- paths: [
1479
- {
1480
- path: "experiences.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerX"
1481
- },
1482
- {
1483
- path: "experiences.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerY"
1484
- },
1485
- {
1486
- path: "experiences.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.stops.position"
1487
- },
1488
- {
1489
- path: "experiences.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
1490
- },
1491
- {
1492
- path: "experiences.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
1493
- },
1494
- {
1495
- path: "experiences.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
1496
- },
1497
- {
1498
- path: "experiences.configuration.displayInfo.richContent.nodes.galleryData.items.image.media.duration"
1499
- },
1500
- {
1501
- path: "experiences.configuration.displayInfo.richContent.nodes.galleryData.items.video.media.duration"
1502
- },
1503
- {
1504
- path: "experiences.configuration.displayInfo.richContent.nodes.galleryData.items.video.thumbnail.duration"
1505
- },
1506
- {
1507
- path: "experiences.configuration.displayInfo.richContent.nodes.galleryData.options.item.ratio"
1508
- },
1509
- {
1510
- path: "experiences.configuration.displayInfo.richContent.nodes.imageData.image.duration"
1511
- },
1512
- {
1513
- path: "experiences.configuration.displayInfo.richContent.nodes.imageData.crop.x"
1514
- },
1515
- {
1516
- path: "experiences.configuration.displayInfo.richContent.nodes.imageData.crop.y"
1517
- },
1518
- {
1519
- path: "experiences.configuration.displayInfo.richContent.nodes.imageData.crop.width"
1520
- },
1521
- {
1522
- path: "experiences.configuration.displayInfo.richContent.nodes.imageData.crop.height"
1523
- },
1524
- {
1525
- path: "experiences.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lat"
1526
- },
1527
- {
1528
- path: "experiences.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lng"
1529
- },
1530
- {
1531
- path: "experiences.configuration.displayInfo.richContent.nodes.pollData.poll.image.duration"
1532
- },
1533
- {
1534
- path: "experiences.configuration.displayInfo.richContent.nodes.pollData.poll.options.image.duration"
1535
- },
1536
- {
1537
- path: "experiences.configuration.displayInfo.richContent.nodes.pollData.design.poll.background.image.duration"
1538
- },
1539
- {
1540
- path: "experiences.configuration.displayInfo.richContent.nodes.appEmbedData.image.duration"
1541
- },
1542
- {
1543
- path: "experiences.configuration.displayInfo.richContent.nodes.videoData.video.duration"
1544
- },
1545
- {
1546
- path: "experiences.configuration.displayInfo.richContent.nodes.videoData.thumbnail.duration"
1547
- },
1548
- {
1549
- path: "experiences.configuration.displayInfo.richContent.nodes.audioData.audio.duration"
1550
- },
1551
- {
1552
- path: "experiences.configuration.displayInfo.richContent.nodes.audioData.coverImage.duration"
1553
- },
1554
- {
1555
- path: "experiences.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.media.duration"
1556
- },
1557
- {
1558
- path: "experiences.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
1559
- },
1560
- {
1561
- path: "experiences.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
1562
- },
1563
- {
1564
- path: "experiences.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
1565
- },
1566
- {
1567
- path: "experiences.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.media.duration"
1568
- },
1569
- {
1570
- path: "experiences.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
1571
- },
1572
- {
1573
- path: "experiences.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
1574
- },
1575
- {
1576
- path: "experiences.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
1577
- },
1578
- {
1579
- path: "experiences.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerX"
1580
- },
1581
- {
1582
- path: "experiences.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerY"
1583
- },
1584
- {
1585
- path: "experiences.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.stops.position"
1586
- },
1587
- {
1588
- path: "experiences.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerX"
1589
- },
1590
- {
1591
- path: "experiences.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerY"
1592
- },
1593
- {
1594
- path: "experiences.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.stops.position"
1595
- },
1596
- {
1597
- path: "experiences.configuration.displayInfo.richContent.nodes.shapeData.shape.duration"
1598
- },
1599
- {
1600
- path: "experiences.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerX"
1601
- },
1602
- {
1603
- path: "experiences.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerY"
1604
- },
1605
- {
1606
- path: "experiences.configuration.displayInfo.richContent.nodes.cardData.background.gradient.stops.position"
1607
- },
1608
- {
1609
- path: "experiences.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.media.duration"
1610
- },
1611
- {
1612
- path: "experiences.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
1613
- },
1614
- {
1615
- path: "experiences.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
1616
- },
1617
- {
1618
- path: "experiences.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
1619
- },
1620
- {
1621
- path: "experiences.configuration.displayInfo.richContent.nodes.tocData.fontSize"
1622
- },
1623
- {
1624
- path: "experiences.configuration.displayInfo.richContent.nodes.tocData.itemSpacing"
1625
- },
1626
- {
1627
- path: "experiences.configuration.displayInfo.richContent.nodes.smartBlockCellData.shape.duration"
1628
- },
1629
- { path: "aggregationData.results.ranges.results.from" },
1630
- { path: "aggregationData.results.ranges.results.to" },
1631
- {
1632
- path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.from"
1633
- },
1634
- {
1635
- path: "aggregationData.results.groupedByValue.results.nestedResults.ranges.results.to"
1636
- },
1637
- {
1638
- path: "aggregationData.results.nested.results.results.*.range.from"
1639
- },
1640
- {
1641
- path: "aggregationData.results.nested.results.results.*.range.to"
1642
- },
1643
- { path: "aggregationData.results.scalar.value" },
1644
- {
1645
- path: "aggregationData.results.groupedByValue.results.nestedResults.scalar.value"
1646
- },
1647
- {
1648
- path: "aggregationData.results.nested.results.results.*.scalar.value"
1649
- }
1650
- ]
1651
- }
1652
- ]),
1653
- fallback: [
1654
- {
1655
- method: "POST",
1656
- url: resolveWixTableReservationsExperienceV1ExperiencesServiceUrl({
1657
- protoPath: "/v1/experiences/search",
1658
- data: serializedData,
1659
- host
1660
- }),
1661
- data: serializedData
1662
- }
1663
- ]
1664
- };
1665
- return metadata;
1666
- }
1667
- return __searchExperiences;
1668
- }
1669
- function bulkUpdateExperiences(payload) {
1670
- function __bulkUpdateExperiences({ host }) {
1671
- const serializedData = transformPaths(payload, [
1672
- {
1673
- transformFn: transformSDKFieldMaskToRESTFieldMask,
1674
- paths: [{ path: "experiences.fieldMask" }]
1675
- },
1676
- {
1677
- transformFn: transformSDKTimestampToRESTTimestamp,
1678
- paths: [
1679
- { path: "experiences.experience.createdDate" },
1680
- { path: "experiences.experience.updatedDate" },
1681
- {
1682
- path: "experiences.experience.configuration.displayInfo.richContent.metadata.createdTimestamp"
1683
- },
1684
- {
1685
- path: "experiences.experience.configuration.displayInfo.richContent.metadata.updatedTimestamp"
1686
- }
1687
- ]
1688
- },
1689
- {
1690
- transformFn: transformSDKFloatToRESTFloat,
1691
- paths: [
1692
- {
1693
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerX"
1694
- },
1695
- {
1696
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerY"
1697
- },
1698
- {
1699
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.stops.position"
1700
- },
1701
- {
1702
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
1703
- },
1704
- {
1705
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
1706
- },
1707
- {
1708
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
1709
- },
1710
- {
1711
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.galleryData.items.image.media.duration"
1712
- },
1713
- {
1714
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.galleryData.items.video.media.duration"
1715
- },
1716
- {
1717
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.galleryData.items.video.thumbnail.duration"
1718
- },
1719
- {
1720
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.galleryData.options.item.ratio"
1721
- },
1722
- {
1723
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.imageData.image.duration"
1724
- },
1725
- {
1726
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.imageData.crop.x"
1727
- },
1728
- {
1729
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.imageData.crop.y"
1730
- },
1731
- {
1732
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.imageData.crop.width"
1733
- },
1734
- {
1735
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.imageData.crop.height"
1736
- },
1737
- {
1738
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lat"
1739
- },
1740
- {
1741
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lng"
1742
- },
1743
- {
1744
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.pollData.poll.image.duration"
1745
- },
1746
- {
1747
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.pollData.poll.options.image.duration"
1748
- },
1749
- {
1750
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.pollData.design.poll.background.image.duration"
1751
- },
1752
- {
1753
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.appEmbedData.image.duration"
1754
- },
1755
- {
1756
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.videoData.video.duration"
1757
- },
1758
- {
1759
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.videoData.thumbnail.duration"
1760
- },
1761
- {
1762
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.audioData.audio.duration"
1763
- },
1764
- {
1765
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.audioData.coverImage.duration"
1766
- },
1767
- {
1768
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.media.duration"
1769
- },
1770
- {
1771
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
1772
- },
1773
- {
1774
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
1775
- },
1776
- {
1777
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
1778
- },
1779
- {
1780
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.media.duration"
1781
- },
1782
- {
1783
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
1784
- },
1785
- {
1786
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
1787
- },
1788
- {
1789
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
1790
- },
1791
- {
1792
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerX"
1793
- },
1794
- {
1795
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerY"
1796
- },
1797
- {
1798
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.stops.position"
1799
- },
1800
- {
1801
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerX"
1802
- },
1803
- {
1804
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerY"
1805
- },
1806
- {
1807
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.stops.position"
1808
- },
1809
- {
1810
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.shapeData.shape.duration"
1811
- },
1812
- {
1813
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerX"
1814
- },
1815
- {
1816
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerY"
1817
- },
1818
- {
1819
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.cardData.background.gradient.stops.position"
1820
- },
1821
- {
1822
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.media.duration"
1823
- },
1824
- {
1825
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
1826
- },
1827
- {
1828
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
1829
- },
1830
- {
1831
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
1832
- },
1833
- {
1834
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.tocData.fontSize"
1835
- },
1836
- {
1837
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.tocData.itemSpacing"
1838
- },
1839
- {
1840
- path: "experiences.experience.configuration.displayInfo.richContent.nodes.smartBlockCellData.shape.duration"
1841
- }
1842
- ]
1843
- }
1844
- ]);
1845
- const metadata = {
1846
- entityFqdn: "wix.table_reservations.v1.experience",
1847
- method: "POST",
1848
- methodFqn: "wix.table_reservations.experience.v1.ExperiencesService.BulkUpdateExperiences",
1849
- packageName: PACKAGE_NAME,
1850
- migrationOptions: {
1851
- optInTransformResponse: true
1852
- },
1853
- url: resolveWixTableReservationsExperienceV1ExperiencesServiceUrl({
1854
- protoPath: "/v1/bulk/experiences/update",
1855
- data: serializedData,
1856
- host
1857
- }),
1858
- data: serializedData,
1859
- transformResponse: (payload2) => transformPaths(payload2, [
1860
- {
1861
- transformFn: transformRESTTimestampToSDKTimestamp,
1862
- paths: [
1863
- { path: "results.item.createdDate" },
1864
- { path: "results.item.updatedDate" },
1865
- {
1866
- path: "results.item.configuration.displayInfo.richContent.metadata.createdTimestamp"
1867
- },
1868
- {
1869
- path: "results.item.configuration.displayInfo.richContent.metadata.updatedTimestamp"
1870
- }
1871
- ]
1872
- },
1873
- {
1874
- transformFn: transformRESTFloatToSDKFloat,
1875
- paths: [
1876
- {
1877
- path: "results.item.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerX"
1878
- },
1879
- {
1880
- path: "results.item.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerY"
1881
- },
1882
- {
1883
- path: "results.item.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.stops.position"
1884
- },
1885
- {
1886
- path: "results.item.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
1887
- },
1888
- {
1889
- path: "results.item.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
1890
- },
1891
- {
1892
- path: "results.item.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
1893
- },
1894
- {
1895
- path: "results.item.configuration.displayInfo.richContent.nodes.galleryData.items.image.media.duration"
1896
- },
1897
- {
1898
- path: "results.item.configuration.displayInfo.richContent.nodes.galleryData.items.video.media.duration"
1899
- },
1900
- {
1901
- path: "results.item.configuration.displayInfo.richContent.nodes.galleryData.items.video.thumbnail.duration"
1902
- },
1903
- {
1904
- path: "results.item.configuration.displayInfo.richContent.nodes.galleryData.options.item.ratio"
1905
- },
1906
- {
1907
- path: "results.item.configuration.displayInfo.richContent.nodes.imageData.image.duration"
1908
- },
1909
- {
1910
- path: "results.item.configuration.displayInfo.richContent.nodes.imageData.crop.x"
1911
- },
1912
- {
1913
- path: "results.item.configuration.displayInfo.richContent.nodes.imageData.crop.y"
1914
- },
1915
- {
1916
- path: "results.item.configuration.displayInfo.richContent.nodes.imageData.crop.width"
1917
- },
1918
- {
1919
- path: "results.item.configuration.displayInfo.richContent.nodes.imageData.crop.height"
1920
- },
1921
- {
1922
- path: "results.item.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lat"
1923
- },
1924
- {
1925
- path: "results.item.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lng"
1926
- },
1927
- {
1928
- path: "results.item.configuration.displayInfo.richContent.nodes.pollData.poll.image.duration"
1929
- },
1930
- {
1931
- path: "results.item.configuration.displayInfo.richContent.nodes.pollData.poll.options.image.duration"
1932
- },
1933
- {
1934
- path: "results.item.configuration.displayInfo.richContent.nodes.pollData.design.poll.background.image.duration"
1935
- },
1936
- {
1937
- path: "results.item.configuration.displayInfo.richContent.nodes.appEmbedData.image.duration"
1938
- },
1939
- {
1940
- path: "results.item.configuration.displayInfo.richContent.nodes.videoData.video.duration"
1941
- },
1942
- {
1943
- path: "results.item.configuration.displayInfo.richContent.nodes.videoData.thumbnail.duration"
1944
- },
1945
- {
1946
- path: "results.item.configuration.displayInfo.richContent.nodes.audioData.audio.duration"
1947
- },
1948
- {
1949
- path: "results.item.configuration.displayInfo.richContent.nodes.audioData.coverImage.duration"
1950
- },
1951
- {
1952
- path: "results.item.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.media.duration"
1953
- },
1954
- {
1955
- path: "results.item.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
1956
- },
1957
- {
1958
- path: "results.item.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
1959
- },
1960
- {
1961
- path: "results.item.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
1962
- },
1963
- {
1964
- path: "results.item.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.media.duration"
1965
- },
1966
- {
1967
- path: "results.item.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
1968
- },
1969
- {
1970
- path: "results.item.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
1971
- },
1972
- {
1973
- path: "results.item.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
1974
- },
1975
- {
1976
- path: "results.item.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerX"
1977
- },
1978
- {
1979
- path: "results.item.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerY"
1980
- },
1981
- {
1982
- path: "results.item.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.stops.position"
1983
- },
1984
- {
1985
- path: "results.item.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerX"
1986
- },
1987
- {
1988
- path: "results.item.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerY"
1989
- },
1990
- {
1991
- path: "results.item.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.stops.position"
1992
- },
1993
- {
1994
- path: "results.item.configuration.displayInfo.richContent.nodes.shapeData.shape.duration"
1995
- },
1996
- {
1997
- path: "results.item.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerX"
1998
- },
1999
- {
2000
- path: "results.item.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerY"
2001
- },
2002
- {
2003
- path: "results.item.configuration.displayInfo.richContent.nodes.cardData.background.gradient.stops.position"
2004
- },
2005
- {
2006
- path: "results.item.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.media.duration"
2007
- },
2008
- {
2009
- path: "results.item.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
2010
- },
2011
- {
2012
- path: "results.item.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
2013
- },
2014
- {
2015
- path: "results.item.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
2016
- },
2017
- {
2018
- path: "results.item.configuration.displayInfo.richContent.nodes.tocData.fontSize"
2019
- },
2020
- {
2021
- path: "results.item.configuration.displayInfo.richContent.nodes.tocData.itemSpacing"
2022
- },
2023
- {
2024
- path: "results.item.configuration.displayInfo.richContent.nodes.smartBlockCellData.shape.duration"
2025
- }
2026
- ]
2027
- }
2028
- ])
2029
- };
2030
- return metadata;
2031
- }
2032
- return __bulkUpdateExperiences;
2033
- }
2034
- function bulkUpdateExperienceTags(payload) {
2035
- function __bulkUpdateExperienceTags({ host }) {
2036
- const metadata = {
2037
- entityFqdn: "wix.table_reservations.v1.experience",
2038
- method: "POST",
2039
- methodFqn: "wix.table_reservations.experience.v1.ExperiencesService.BulkUpdateExperienceTags",
2040
- packageName: PACKAGE_NAME,
2041
- migrationOptions: {
2042
- optInTransformResponse: true
2043
- },
2044
- url: resolveWixTableReservationsExperienceV1ExperiencesServiceUrl({
2045
- protoPath: "/v1/bulk/experiences/update-tags",
2046
- data: payload,
2047
- host
2048
- }),
2049
- data: payload
2050
- };
2051
- return metadata;
2052
- }
2053
- return __bulkUpdateExperienceTags;
2054
- }
2055
- function bulkUpdateExperienceTagsByFilter(payload) {
2056
- function __bulkUpdateExperienceTagsByFilter({ host }) {
2057
- const metadata = {
2058
- entityFqdn: "wix.table_reservations.v1.experience",
2059
- method: "POST",
2060
- methodFqn: "wix.table_reservations.experience.v1.ExperiencesService.BulkUpdateExperienceTagsByFilter",
2061
- packageName: PACKAGE_NAME,
2062
- migrationOptions: {
2063
- optInTransformResponse: true
2064
- },
2065
- url: resolveWixTableReservationsExperienceV1ExperiencesServiceUrl({
2066
- protoPath: "/v1/bulk/experiences/update-tags-by-filter",
2067
- data: payload,
2068
- host
2069
- }),
2070
- data: payload
2071
- };
2072
- return metadata;
2073
- }
2074
- return __bulkUpdateExperienceTagsByFilter;
2075
- }
2076
- function bulkArchiveExperiences(payload) {
2077
- function __bulkArchiveExperiences({ host }) {
2078
- const metadata = {
2079
- entityFqdn: "wix.table_reservations.v1.experience",
2080
- method: "POST",
2081
- methodFqn: "wix.table_reservations.experience.v1.ExperiencesService.BulkArchiveExperiences",
2082
- packageName: PACKAGE_NAME,
2083
- migrationOptions: {
2084
- optInTransformResponse: true
2085
- },
2086
- url: resolveWixTableReservationsExperienceV1ExperiencesServiceUrl({
2087
- protoPath: "/v1/bulk/experiences/archive",
2088
- data: payload,
2089
- host
2090
- }),
2091
- data: payload
2092
- };
2093
- return metadata;
2094
- }
2095
- return __bulkArchiveExperiences;
2096
- }
2097
- function bulkUnarchiveExperiences(payload) {
2098
- function __bulkUnarchiveExperiences({ host }) {
2099
- const metadata = {
2100
- entityFqdn: "wix.table_reservations.v1.experience",
2101
- method: "POST",
2102
- methodFqn: "wix.table_reservations.experience.v1.ExperiencesService.BulkUnarchiveExperiences",
2103
- packageName: PACKAGE_NAME,
2104
- migrationOptions: {
2105
- optInTransformResponse: true
2106
- },
2107
- url: resolveWixTableReservationsExperienceV1ExperiencesServiceUrl({
2108
- protoPath: "/v1/bulk/experiences/unarchive",
2109
- data: payload,
2110
- host
2111
- }),
2112
- data: payload
2113
- };
2114
- return metadata;
2115
- }
2116
- return __bulkUnarchiveExperiences;
2117
- }
2118
-
2119
- // src/table-reservations-v1-experience-experiences.universal.ts
2120
- import { transformSDKImageToRESTImage } from "@wix/sdk-runtime/transformations/image";
2121
- import { transformRESTImageToSDKImage } from "@wix/sdk-runtime/transformations/image";
2122
- import { transformSDKPageURLV2ToRESTPageURLV2 } from "@wix/sdk-runtime/transformations/page-url-v2";
2123
- import { transformRESTPageURLV2ToSDKPageURLV2 } from "@wix/sdk-runtime/transformations/page-url-v2";
2124
- import { transformPaths as transformPaths2 } from "@wix/sdk-runtime/transformations/transform-paths";
2125
- import { createQueryUtils } from "@wix/sdk-runtime/query-builder-utils";
2126
- import { createSearchUtils } from "@wix/sdk-runtime/search-builder-utils";
2127
- var TableAvailabilityType = /* @__PURE__ */ ((TableAvailabilityType2) => {
2128
- TableAvailabilityType2["ANY_ONLINE_TABLE"] = "ANY_ONLINE_TABLE";
2129
- TableAvailabilityType2["SPECIFIC_TABLES"] = "SPECIFIC_TABLES";
2130
- return TableAvailabilityType2;
2131
- })(TableAvailabilityType || {});
2132
- var TableAssignmentType = /* @__PURE__ */ ((TableAssignmentType2) => {
2133
- TableAssignmentType2["AUTOMATIC"] = "AUTOMATIC";
2134
- TableAssignmentType2["MANUAL"] = "MANUAL";
2135
- return TableAssignmentType2;
2136
- })(TableAssignmentType || {});
2137
- var TableManagementMode = /* @__PURE__ */ ((TableManagementMode2) => {
2138
- TableManagementMode2["ON"] = "ON";
2139
- TableManagementMode2["OFF"] = "OFF";
2140
- return TableManagementMode2;
2141
- })(TableManagementMode || {});
2142
- var Unit = /* @__PURE__ */ ((Unit2) => {
2143
- Unit2["MINUTES"] = "MINUTES";
2144
- Unit2["HOURS"] = "HOURS";
2145
- Unit2["DAYS"] = "DAYS";
2146
- return Unit2;
2147
- })(Unit || {});
2148
- var Mode = /* @__PURE__ */ ((Mode2) => {
2149
- Mode2["AUTOMATIC"] = "AUTOMATIC";
2150
- Mode2["MANUAL"] = "MANUAL";
2151
- return Mode2;
2152
- })(Mode || {});
2153
- var StartDaysAndTimesDayOfWeek = /* @__PURE__ */ ((StartDaysAndTimesDayOfWeek2) => {
2154
- StartDaysAndTimesDayOfWeek2["MONDAY"] = "MONDAY";
2155
- StartDaysAndTimesDayOfWeek2["TUESDAY"] = "TUESDAY";
2156
- StartDaysAndTimesDayOfWeek2["WEDNESDAY"] = "WEDNESDAY";
2157
- StartDaysAndTimesDayOfWeek2["THURSDAY"] = "THURSDAY";
2158
- StartDaysAndTimesDayOfWeek2["FRIDAY"] = "FRIDAY";
2159
- StartDaysAndTimesDayOfWeek2["SATURDAY"] = "SATURDAY";
2160
- StartDaysAndTimesDayOfWeek2["SUNDAY"] = "SUNDAY";
2161
- return StartDaysAndTimesDayOfWeek2;
2162
- })(StartDaysAndTimesDayOfWeek || {});
2163
- var Recurrence = /* @__PURE__ */ ((Recurrence2) => {
2164
- Recurrence2["WEEKLY"] = "WEEKLY";
2165
- Recurrence2["ONE_TIME"] = "ONE_TIME";
2166
- return Recurrence2;
2167
- })(Recurrence || {});
2168
- var NodeType = /* @__PURE__ */ ((NodeType2) => {
2169
- NodeType2["PARAGRAPH"] = "PARAGRAPH";
2170
- NodeType2["TEXT"] = "TEXT";
2171
- NodeType2["HEADING"] = "HEADING";
2172
- NodeType2["BULLETED_LIST"] = "BULLETED_LIST";
2173
- NodeType2["ORDERED_LIST"] = "ORDERED_LIST";
2174
- NodeType2["LIST_ITEM"] = "LIST_ITEM";
2175
- NodeType2["BLOCKQUOTE"] = "BLOCKQUOTE";
2176
- NodeType2["CODE_BLOCK"] = "CODE_BLOCK";
2177
- NodeType2["VIDEO"] = "VIDEO";
2178
- NodeType2["DIVIDER"] = "DIVIDER";
2179
- NodeType2["FILE"] = "FILE";
2180
- NodeType2["GALLERY"] = "GALLERY";
2181
- NodeType2["GIF"] = "GIF";
2182
- NodeType2["HTML"] = "HTML";
2183
- NodeType2["IMAGE"] = "IMAGE";
2184
- NodeType2["LINK_PREVIEW"] = "LINK_PREVIEW";
2185
- NodeType2["MAP"] = "MAP";
2186
- NodeType2["POLL"] = "POLL";
2187
- NodeType2["APP_EMBED"] = "APP_EMBED";
2188
- NodeType2["BUTTON"] = "BUTTON";
2189
- NodeType2["COLLAPSIBLE_LIST"] = "COLLAPSIBLE_LIST";
2190
- NodeType2["TABLE"] = "TABLE";
2191
- NodeType2["EMBED"] = "EMBED";
2192
- NodeType2["COLLAPSIBLE_ITEM"] = "COLLAPSIBLE_ITEM";
2193
- NodeType2["COLLAPSIBLE_ITEM_TITLE"] = "COLLAPSIBLE_ITEM_TITLE";
2194
- NodeType2["COLLAPSIBLE_ITEM_BODY"] = "COLLAPSIBLE_ITEM_BODY";
2195
- NodeType2["TABLE_CELL"] = "TABLE_CELL";
2196
- NodeType2["TABLE_ROW"] = "TABLE_ROW";
2197
- NodeType2["EXTERNAL"] = "EXTERNAL";
2198
- NodeType2["AUDIO"] = "AUDIO";
2199
- NodeType2["CAPTION"] = "CAPTION";
2200
- NodeType2["LAYOUT"] = "LAYOUT";
2201
- NodeType2["LAYOUT_CELL"] = "LAYOUT_CELL";
2202
- NodeType2["SHAPE"] = "SHAPE";
2203
- NodeType2["CARD"] = "CARD";
2204
- NodeType2["TOC"] = "TOC";
2205
- NodeType2["SMART_BLOCK"] = "SMART_BLOCK";
2206
- NodeType2["SMART_BLOCK_CELL"] = "SMART_BLOCK_CELL";
2207
- NodeType2["CHECKBOX_LIST"] = "CHECKBOX_LIST";
2208
- return NodeType2;
2209
- })(NodeType || {});
2210
- var BackgroundType = /* @__PURE__ */ ((BackgroundType2) => {
2211
- BackgroundType2["COLOR"] = "COLOR";
2212
- BackgroundType2["GRADIENT"] = "GRADIENT";
2213
- return BackgroundType2;
2214
- })(BackgroundType || {});
2215
- var GradientType = /* @__PURE__ */ ((GradientType2) => {
2216
- GradientType2["LINEAR"] = "LINEAR";
2217
- GradientType2["RADIAL"] = "RADIAL";
2218
- return GradientType2;
2219
- })(GradientType || {});
2220
- var WidthType = /* @__PURE__ */ ((WidthType2) => {
2221
- WidthType2["CONTENT"] = "CONTENT";
2222
- WidthType2["SMALL"] = "SMALL";
2223
- WidthType2["ORIGINAL"] = "ORIGINAL";
2224
- WidthType2["FULL_WIDTH"] = "FULL_WIDTH";
2225
- return WidthType2;
2226
- })(WidthType || {});
2227
- var PluginContainerDataAlignment = /* @__PURE__ */ ((PluginContainerDataAlignment2) => {
2228
- PluginContainerDataAlignment2["CENTER"] = "CENTER";
2229
- PluginContainerDataAlignment2["LEFT"] = "LEFT";
2230
- PluginContainerDataAlignment2["RIGHT"] = "RIGHT";
2231
- return PluginContainerDataAlignment2;
2232
- })(PluginContainerDataAlignment || {});
2233
- var ButtonDataType = /* @__PURE__ */ ((ButtonDataType2) => {
2234
- ButtonDataType2["LINK"] = "LINK";
2235
- ButtonDataType2["ACTION"] = "ACTION";
2236
- return ButtonDataType2;
2237
- })(ButtonDataType || {});
2238
- var Target = /* @__PURE__ */ ((Target2) => {
2239
- Target2["SELF"] = "SELF";
2240
- Target2["BLANK"] = "BLANK";
2241
- Target2["PARENT"] = "PARENT";
2242
- Target2["TOP"] = "TOP";
2243
- return Target2;
2244
- })(Target || {});
2245
- var Type = /* @__PURE__ */ ((Type2) => {
2246
- Type2["VIEW"] = "VIEW";
2247
- Type2["POINTER"] = "POINTER";
2248
- return Type2;
2249
- })(Type || {});
2250
- var EntranceEffectType = /* @__PURE__ */ ((EntranceEffectType2) => {
2251
- EntranceEffectType2["FADE"] = "FADE";
2252
- EntranceEffectType2["ARC"] = "ARC";
2253
- EntranceEffectType2["BLUR"] = "BLUR";
2254
- EntranceEffectType2["BOUNCE"] = "BOUNCE";
2255
- EntranceEffectType2["DROP"] = "DROP";
2256
- EntranceEffectType2["EXPAND"] = "EXPAND";
2257
- EntranceEffectType2["FLIP"] = "FLIP";
2258
- EntranceEffectType2["FLOAT"] = "FLOAT";
2259
- EntranceEffectType2["FOLD"] = "FOLD";
2260
- EntranceEffectType2["GLIDE"] = "GLIDE";
2261
- EntranceEffectType2["REVEAL"] = "REVEAL";
2262
- EntranceEffectType2["SHAPE"] = "SHAPE";
2263
- EntranceEffectType2["SHUTTERS"] = "SHUTTERS";
2264
- EntranceEffectType2["SLIDE"] = "SLIDE";
2265
- EntranceEffectType2["SPIN"] = "SPIN";
2266
- EntranceEffectType2["TILT"] = "TILT";
2267
- EntranceEffectType2["TURN"] = "TURN";
2268
- EntranceEffectType2["WINK"] = "WINK";
2269
- return EntranceEffectType2;
2270
- })(EntranceEffectType || {});
2271
- var LoopEffectType = /* @__PURE__ */ ((LoopEffectType2) => {
2272
- LoopEffectType2["BOUNCE"] = "BOUNCE";
2273
- LoopEffectType2["BREATHE"] = "BREATHE";
2274
- LoopEffectType2["CROSS"] = "CROSS";
2275
- LoopEffectType2["FLASH"] = "FLASH";
2276
- LoopEffectType2["FLIP"] = "FLIP";
2277
- LoopEffectType2["FOLD"] = "FOLD";
2278
- LoopEffectType2["JELLO"] = "JELLO";
2279
- LoopEffectType2["POKE"] = "POKE";
2280
- LoopEffectType2["PULSE"] = "PULSE";
2281
- LoopEffectType2["RUBBER"] = "RUBBER";
2282
- LoopEffectType2["SPIN"] = "SPIN";
2283
- LoopEffectType2["SWING"] = "SWING";
2284
- LoopEffectType2["WIGGLE"] = "WIGGLE";
2285
- return LoopEffectType2;
2286
- })(LoopEffectType || {});
2287
- var PointerEffectType = /* @__PURE__ */ ((PointerEffectType2) => {
2288
- PointerEffectType2["AIRY"] = "AIRY";
2289
- PointerEffectType2["BLOB"] = "BLOB";
2290
- PointerEffectType2["BLUR"] = "BLUR";
2291
- PointerEffectType2["SCALE"] = "SCALE";
2292
- PointerEffectType2["SKEW"] = "SKEW";
2293
- PointerEffectType2["SWIVEL"] = "SWIVEL";
2294
- PointerEffectType2["TILT_3D"] = "TILT_3D";
2295
- PointerEffectType2["TRACK"] = "TRACK";
2296
- PointerEffectType2["TRACK_3D"] = "TRACK_3D";
2297
- return PointerEffectType2;
2298
- })(PointerEffectType || {});
2299
- var TextAlignment = /* @__PURE__ */ ((TextAlignment2) => {
2300
- TextAlignment2["AUTO"] = "AUTO";
2301
- TextAlignment2["LEFT"] = "LEFT";
2302
- TextAlignment2["RIGHT"] = "RIGHT";
2303
- TextAlignment2["CENTER"] = "CENTER";
2304
- TextAlignment2["JUSTIFY"] = "JUSTIFY";
2305
- return TextAlignment2;
2306
- })(TextAlignment || {});
2307
- var LineCap = /* @__PURE__ */ ((LineCap2) => {
2308
- LineCap2["SQUARE"] = "SQUARE";
2309
- LineCap2["ROUND"] = "ROUND";
2310
- return LineCap2;
2311
- })(LineCap || {});
2312
- var LineStyle = /* @__PURE__ */ ((LineStyle2) => {
2313
- LineStyle2["SINGLE"] = "SINGLE";
2314
- LineStyle2["DOUBLE"] = "DOUBLE";
2315
- LineStyle2["DASHED"] = "DASHED";
2316
- LineStyle2["DOTTED"] = "DOTTED";
2317
- return LineStyle2;
2318
- })(LineStyle || {});
2319
- var Width = /* @__PURE__ */ ((Width2) => {
2320
- Width2["LARGE"] = "LARGE";
2321
- Width2["MEDIUM"] = "MEDIUM";
2322
- Width2["SMALL"] = "SMALL";
2323
- return Width2;
2324
- })(Width || {});
2325
- var DividerDataAlignment = /* @__PURE__ */ ((DividerDataAlignment2) => {
2326
- DividerDataAlignment2["CENTER"] = "CENTER";
2327
- DividerDataAlignment2["LEFT"] = "LEFT";
2328
- DividerDataAlignment2["RIGHT"] = "RIGHT";
2329
- return DividerDataAlignment2;
2330
- })(DividerDataAlignment || {});
2331
- var ViewMode = /* @__PURE__ */ ((ViewMode2) => {
2332
- ViewMode2["NONE"] = "NONE";
2333
- ViewMode2["FULL"] = "FULL";
2334
- ViewMode2["MINI"] = "MINI";
2335
- return ViewMode2;
2336
- })(ViewMode || {});
2337
- var LayoutType = /* @__PURE__ */ ((LayoutType2) => {
2338
- LayoutType2["COLLAGE"] = "COLLAGE";
2339
- LayoutType2["MASONRY"] = "MASONRY";
2340
- LayoutType2["GRID"] = "GRID";
2341
- LayoutType2["THUMBNAIL"] = "THUMBNAIL";
2342
- LayoutType2["SLIDER"] = "SLIDER";
2343
- LayoutType2["SLIDESHOW"] = "SLIDESHOW";
2344
- LayoutType2["PANORAMA"] = "PANORAMA";
2345
- LayoutType2["COLUMN"] = "COLUMN";
2346
- LayoutType2["MAGIC"] = "MAGIC";
2347
- LayoutType2["FULLSIZE"] = "FULLSIZE";
2348
- return LayoutType2;
2349
- })(LayoutType || {});
2350
- var Orientation = /* @__PURE__ */ ((Orientation2) => {
2351
- Orientation2["ROWS"] = "ROWS";
2352
- Orientation2["COLUMNS"] = "COLUMNS";
2353
- return Orientation2;
2354
- })(Orientation || {});
2355
- var Crop = /* @__PURE__ */ ((Crop2) => {
2356
- Crop2["FILL"] = "FILL";
2357
- Crop2["FIT"] = "FIT";
2358
- return Crop2;
2359
- })(Crop || {});
2360
- var ThumbnailsAlignment = /* @__PURE__ */ ((ThumbnailsAlignment2) => {
2361
- ThumbnailsAlignment2["TOP"] = "TOP";
2362
- ThumbnailsAlignment2["RIGHT"] = "RIGHT";
2363
- ThumbnailsAlignment2["BOTTOM"] = "BOTTOM";
2364
- ThumbnailsAlignment2["LEFT"] = "LEFT";
2365
- ThumbnailsAlignment2["NONE"] = "NONE";
2366
- return ThumbnailsAlignment2;
2367
- })(ThumbnailsAlignment || {});
2368
- var GIFType = /* @__PURE__ */ ((GIFType2) => {
2369
- GIFType2["NORMAL"] = "NORMAL";
2370
- GIFType2["STICKER"] = "STICKER";
2371
- return GIFType2;
2372
- })(GIFType || {});
2373
- var Source = /* @__PURE__ */ ((Source2) => {
2374
- Source2["HTML"] = "HTML";
2375
- Source2["ADSENSE"] = "ADSENSE";
2376
- Source2["AI"] = "AI";
2377
- Source2["AI_WIDGET"] = "AI_WIDGET";
2378
- return Source2;
2379
- })(Source || {});
2380
- var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
2381
- StylesPosition2["START"] = "START";
2382
- StylesPosition2["END"] = "END";
2383
- StylesPosition2["TOP"] = "TOP";
2384
- StylesPosition2["HIDDEN"] = "HIDDEN";
2385
- return StylesPosition2;
2386
- })(StylesPosition || {});
2387
- var MapType = /* @__PURE__ */ ((MapType2) => {
2388
- MapType2["ROADMAP"] = "ROADMAP";
2389
- MapType2["SATELITE"] = "SATELITE";
2390
- MapType2["HYBRID"] = "HYBRID";
2391
- MapType2["TERRAIN"] = "TERRAIN";
2392
- return MapType2;
2393
- })(MapType || {});
2394
- var ViewRole = /* @__PURE__ */ ((ViewRole2) => {
2395
- ViewRole2["CREATOR"] = "CREATOR";
2396
- ViewRole2["VOTERS"] = "VOTERS";
2397
- ViewRole2["EVERYONE"] = "EVERYONE";
2398
- return ViewRole2;
2399
- })(ViewRole || {});
2400
- var VoteRole = /* @__PURE__ */ ((VoteRole2) => {
2401
- VoteRole2["SITE_MEMBERS"] = "SITE_MEMBERS";
2402
- VoteRole2["ALL"] = "ALL";
2403
- return VoteRole2;
2404
- })(VoteRole || {});
2405
- var PollLayoutType = /* @__PURE__ */ ((PollLayoutType2) => {
2406
- PollLayoutType2["LIST"] = "LIST";
2407
- PollLayoutType2["GRID"] = "GRID";
2408
- return PollLayoutType2;
2409
- })(PollLayoutType || {});
2410
- var PollLayoutDirection = /* @__PURE__ */ ((PollLayoutDirection2) => {
2411
- PollLayoutDirection2["LTR"] = "LTR";
2412
- PollLayoutDirection2["RTL"] = "RTL";
2413
- return PollLayoutDirection2;
2414
- })(PollLayoutDirection || {});
2415
- var PollDesignBackgroundType = /* @__PURE__ */ ((PollDesignBackgroundType2) => {
2416
- PollDesignBackgroundType2["COLOR"] = "COLOR";
2417
- PollDesignBackgroundType2["IMAGE"] = "IMAGE";
2418
- PollDesignBackgroundType2["GRADIENT"] = "GRADIENT";
2419
- return PollDesignBackgroundType2;
2420
- })(PollDesignBackgroundType || {});
2421
- var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
2422
- DecorationType2["BOLD"] = "BOLD";
2423
- DecorationType2["ITALIC"] = "ITALIC";
2424
- DecorationType2["UNDERLINE"] = "UNDERLINE";
2425
- DecorationType2["SPOILER"] = "SPOILER";
2426
- DecorationType2["ANCHOR"] = "ANCHOR";
2427
- DecorationType2["MENTION"] = "MENTION";
2428
- DecorationType2["LINK"] = "LINK";
2429
- DecorationType2["COLOR"] = "COLOR";
2430
- DecorationType2["FONT_SIZE"] = "FONT_SIZE";
2431
- DecorationType2["EXTERNAL"] = "EXTERNAL";
2432
- DecorationType2["STRIKETHROUGH"] = "STRIKETHROUGH";
2433
- DecorationType2["SUPERSCRIPT"] = "SUPERSCRIPT";
2434
- DecorationType2["SUBSCRIPT"] = "SUBSCRIPT";
2435
- DecorationType2["FONT_FAMILY"] = "FONT_FAMILY";
2436
- DecorationType2["SKETCH"] = "SKETCH";
2437
- return DecorationType2;
2438
- })(DecorationType || {});
2439
- var FontType = /* @__PURE__ */ ((FontType2) => {
2440
- FontType2["PX"] = "PX";
2441
- FontType2["EM"] = "EM";
2442
- return FontType2;
2443
- })(FontType || {});
2444
- var Variant = /* @__PURE__ */ ((Variant2) => {
2445
- Variant2["UNDERLINE"] = "UNDERLINE";
2446
- Variant2["BOX"] = "BOX";
2447
- Variant2["CIRCLE"] = "CIRCLE";
2448
- Variant2["HIGHLIGHT"] = "HIGHLIGHT";
2449
- Variant2["STRIKETHROUGH"] = "STRIKETHROUGH";
2450
- Variant2["CROSSED_OFF"] = "CROSSED_OFF";
2451
- return Variant2;
2452
- })(Variant || {});
2453
- var Position = /* @__PURE__ */ ((Position2) => {
2454
- Position2["START"] = "START";
2455
- Position2["END"] = "END";
2456
- Position2["TOP"] = "TOP";
2457
- return Position2;
2458
- })(Position || {});
2459
- var AspectRatio = /* @__PURE__ */ ((AspectRatio2) => {
2460
- AspectRatio2["SQUARE"] = "SQUARE";
2461
- AspectRatio2["RECTANGLE"] = "RECTANGLE";
2462
- return AspectRatio2;
2463
- })(AspectRatio || {});
2464
- var Resizing = /* @__PURE__ */ ((Resizing2) => {
2465
- Resizing2["FILL"] = "FILL";
2466
- Resizing2["FIT"] = "FIT";
2467
- return Resizing2;
2468
- })(Resizing || {});
2469
- var Placement = /* @__PURE__ */ ((Placement2) => {
2470
- Placement2["IMAGE"] = "IMAGE";
2471
- Placement2["PRODUCT_INFO"] = "PRODUCT_INFO";
2472
- return Placement2;
2473
- })(Placement || {});
2474
- var CardStylesType = /* @__PURE__ */ ((CardStylesType2) => {
2475
- CardStylesType2["CONTAINED"] = "CONTAINED";
2476
- CardStylesType2["FRAMELESS"] = "FRAMELESS";
2477
- return CardStylesType2;
2478
- })(CardStylesType || {});
2479
- var Alignment = /* @__PURE__ */ ((Alignment2) => {
2480
- Alignment2["START"] = "START";
2481
- Alignment2["CENTER"] = "CENTER";
2482
- Alignment2["END"] = "END";
2483
- return Alignment2;
2484
- })(Alignment || {});
2485
- var Layout = /* @__PURE__ */ ((Layout2) => {
2486
- Layout2["STACKED"] = "STACKED";
2487
- Layout2["SIDE_BY_SIDE"] = "SIDE_BY_SIDE";
2488
- return Layout2;
2489
- })(Layout || {});
2490
- var AppType = /* @__PURE__ */ ((AppType2) => {
2491
- AppType2["PRODUCT"] = "PRODUCT";
2492
- AppType2["EVENT"] = "EVENT";
2493
- AppType2["BOOKING"] = "BOOKING";
2494
- return AppType2;
2495
- })(AppType || {});
2496
- var InitialExpandedItems = /* @__PURE__ */ ((InitialExpandedItems2) => {
2497
- InitialExpandedItems2["FIRST"] = "FIRST";
2498
- InitialExpandedItems2["ALL"] = "ALL";
2499
- InitialExpandedItems2["NONE"] = "NONE";
2500
- return InitialExpandedItems2;
2501
- })(InitialExpandedItems || {});
2502
- var Direction = /* @__PURE__ */ ((Direction2) => {
2503
- Direction2["LTR"] = "LTR";
2504
- Direction2["RTL"] = "RTL";
2505
- return Direction2;
2506
- })(Direction || {});
2507
- var VerticalAlignment = /* @__PURE__ */ ((VerticalAlignment2) => {
2508
- VerticalAlignment2["TOP"] = "TOP";
2509
- VerticalAlignment2["MIDDLE"] = "MIDDLE";
2510
- VerticalAlignment2["BOTTOM"] = "BOTTOM";
2511
- return VerticalAlignment2;
2512
- })(VerticalAlignment || {});
2513
- var NullValue = /* @__PURE__ */ ((NullValue2) => {
2514
- NullValue2["NULL_VALUE"] = "NULL_VALUE";
2515
- return NullValue2;
2516
- })(NullValue || {});
2517
- var ImageScalingScaling = /* @__PURE__ */ ((ImageScalingScaling2) => {
2518
- ImageScalingScaling2["AUTO"] = "AUTO";
2519
- ImageScalingScaling2["CONTAIN"] = "CONTAIN";
2520
- ImageScalingScaling2["COVER"] = "COVER";
2521
- return ImageScalingScaling2;
2522
- })(ImageScalingScaling || {});
2523
- var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
2524
- ImagePosition2["CENTER"] = "CENTER";
2525
- ImagePosition2["CENTER_LEFT"] = "CENTER_LEFT";
2526
- ImagePosition2["CENTER_RIGHT"] = "CENTER_RIGHT";
2527
- ImagePosition2["TOP"] = "TOP";
2528
- ImagePosition2["TOP_LEFT"] = "TOP_LEFT";
2529
- ImagePosition2["TOP_RIGHT"] = "TOP_RIGHT";
2530
- ImagePosition2["BOTTOM"] = "BOTTOM";
2531
- ImagePosition2["BOTTOM_LEFT"] = "BOTTOM_LEFT";
2532
- ImagePosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
2533
- return ImagePosition2;
2534
- })(ImagePosition || {});
2535
- var LayoutDataBackgroundType = /* @__PURE__ */ ((LayoutDataBackgroundType2) => {
2536
- LayoutDataBackgroundType2["COLOR"] = "COLOR";
2537
- LayoutDataBackgroundType2["GRADIENT"] = "GRADIENT";
2538
- return LayoutDataBackgroundType2;
2539
- })(LayoutDataBackgroundType || {});
2540
- var Origin = /* @__PURE__ */ ((Origin2) => {
2541
- Origin2["IMAGE"] = "IMAGE";
2542
- Origin2["LAYOUT"] = "LAYOUT";
2543
- return Origin2;
2544
- })(Origin || {});
2545
- var BannerPosition = /* @__PURE__ */ ((BannerPosition2) => {
2546
- BannerPosition2["TOP"] = "TOP";
2547
- BannerPosition2["BOTTOM"] = "BOTTOM";
2548
- return BannerPosition2;
2549
- })(BannerPosition || {});
2550
- var LayerEffect = /* @__PURE__ */ ((LayerEffect2) => {
2551
- LayerEffect2["CENTER"] = "CENTER";
2552
- LayerEffect2["FADE_TO_TOP"] = "FADE_TO_TOP";
2553
- LayerEffect2["FADE_TO_BOTTOM"] = "FADE_TO_BOTTOM";
2554
- return LayerEffect2;
2555
- })(LayerEffect || {});
2556
- var Shape = /* @__PURE__ */ ((Shape2) => {
2557
- Shape2["ELLIPSE"] = "ELLIPSE";
2558
- Shape2["TILT"] = "TILT";
2559
- Shape2["LIQUID"] = "LIQUID";
2560
- Shape2["LEFT_WAVE"] = "LEFT_WAVE";
2561
- Shape2["PAINT_SCRIBBLE"] = "PAINT_SCRIBBLE";
2562
- Shape2["INVERTED_ELLIPSE"] = "INVERTED_ELLIPSE";
2563
- Shape2["RIGHT_WAVE"] = "RIGHT_WAVE";
2564
- Shape2["DUNES"] = "DUNES";
2565
- Shape2["WAVES"] = "WAVES";
2566
- Shape2["TRIANGLE"] = "TRIANGLE";
2567
- Shape2["SEMI_ELLIPSE"] = "SEMI_ELLIPSE";
2568
- Shape2["PLANTS"] = "PLANTS";
2569
- Shape2["LAYERED_ELLIPSE"] = "LAYERED_ELLIPSE";
2570
- Shape2["PIXELS"] = "PIXELS";
2571
- Shape2["PAINT"] = "PAINT";
2572
- Shape2["CLOUDS"] = "CLOUDS";
2573
- Shape2["OPTICAL_ILLUSION"] = "OPTICAL_ILLUSION";
2574
- Shape2["STRIPES"] = "STRIPES";
2575
- Shape2["BLOBS"] = "BLOBS";
2576
- Shape2["SEMI_CIRCLES"] = "SEMI_CIRCLES";
2577
- Shape2["HILL"] = "HILL";
2578
- Shape2["BRUSH"] = "BRUSH";
2579
- Shape2["PEAKS"] = "PEAKS";
2580
- Shape2["ANGLED_TRIANGLE"] = "ANGLED_TRIANGLE";
2581
- return Shape2;
2582
- })(Shape || {});
2583
- var BackdropType = /* @__PURE__ */ ((BackdropType2) => {
2584
- BackdropType2["COLOR"] = "COLOR";
2585
- BackdropType2["GRADIENT"] = "GRADIENT";
2586
- return BackdropType2;
2587
- })(BackdropType || {});
2588
- var VerticalAlignmentAlignment = /* @__PURE__ */ ((VerticalAlignmentAlignment2) => {
2589
- VerticalAlignmentAlignment2["TOP"] = "TOP";
2590
- VerticalAlignmentAlignment2["MIDDLE"] = "MIDDLE";
2591
- VerticalAlignmentAlignment2["BOTTOM"] = "BOTTOM";
2592
- return VerticalAlignmentAlignment2;
2593
- })(VerticalAlignmentAlignment || {});
2594
- var ResponsivenessBehaviour = /* @__PURE__ */ ((ResponsivenessBehaviour2) => {
2595
- ResponsivenessBehaviour2["STACK"] = "STACK";
2596
- ResponsivenessBehaviour2["WRAP"] = "WRAP";
2597
- return ResponsivenessBehaviour2;
2598
- })(ResponsivenessBehaviour || {});
2599
- var DesignTarget = /* @__PURE__ */ ((DesignTarget2) => {
2600
- DesignTarget2["LAYOUT"] = "LAYOUT";
2601
- DesignTarget2["CELL"] = "CELL";
2602
- return DesignTarget2;
2603
- })(DesignTarget || {});
2604
- var Scaling = /* @__PURE__ */ ((Scaling2) => {
2605
- Scaling2["AUTO"] = "AUTO";
2606
- Scaling2["CONTAIN"] = "CONTAIN";
2607
- Scaling2["COVER"] = "COVER";
2608
- return Scaling2;
2609
- })(Scaling || {});
2610
- var ImagePositionPosition = /* @__PURE__ */ ((ImagePositionPosition2) => {
2611
- ImagePositionPosition2["CENTER"] = "CENTER";
2612
- ImagePositionPosition2["CENTER_LEFT"] = "CENTER_LEFT";
2613
- ImagePositionPosition2["CENTER_RIGHT"] = "CENTER_RIGHT";
2614
- ImagePositionPosition2["TOP"] = "TOP";
2615
- ImagePositionPosition2["TOP_LEFT"] = "TOP_LEFT";
2616
- ImagePositionPosition2["TOP_RIGHT"] = "TOP_RIGHT";
2617
- ImagePositionPosition2["BOTTOM"] = "BOTTOM";
2618
- ImagePositionPosition2["BOTTOM_LEFT"] = "BOTTOM_LEFT";
2619
- ImagePositionPosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
2620
- return ImagePositionPosition2;
2621
- })(ImagePositionPosition || {});
2622
- var CardDataBackgroundType = /* @__PURE__ */ ((CardDataBackgroundType2) => {
2623
- CardDataBackgroundType2["COLOR"] = "COLOR";
2624
- CardDataBackgroundType2["GRADIENT"] = "GRADIENT";
2625
- return CardDataBackgroundType2;
2626
- })(CardDataBackgroundType || {});
2627
- var ListStyle = /* @__PURE__ */ ((ListStyle2) => {
2628
- ListStyle2["PLAIN"] = "PLAIN";
2629
- ListStyle2["NUMBERED"] = "NUMBERED";
2630
- ListStyle2["LETTERS"] = "LETTERS";
2631
- ListStyle2["ROMAN"] = "ROMAN";
2632
- ListStyle2["BULLETED"] = "BULLETED";
2633
- ListStyle2["ALPHABETICAL_INDEX"] = "ALPHABETICAL_INDEX";
2634
- ListStyle2["ALPHABETICAL_INDEX_COMPACT"] = "ALPHABETICAL_INDEX_COMPACT";
2635
- return ListStyle2;
2636
- })(ListStyle || {});
2637
- var Indentation = /* @__PURE__ */ ((Indentation2) => {
2638
- Indentation2["NESTED"] = "NESTED";
2639
- Indentation2["FLAT"] = "FLAT";
2640
- return Indentation2;
2641
- })(Indentation || {});
2642
- var SmartBlockDataType = /* @__PURE__ */ ((SmartBlockDataType2) => {
2643
- SmartBlockDataType2["SOLID_BOXES"] = "SOLID_BOXES";
2644
- SmartBlockDataType2["NUMBERED_BOXES"] = "NUMBERED_BOXES";
2645
- SmartBlockDataType2["STATS"] = "STATS";
2646
- SmartBlockDataType2["CIRCLE_STATS"] = "CIRCLE_STATS";
2647
- SmartBlockDataType2["SOLID_BOXES_ALTERNATING"] = "SOLID_BOXES_ALTERNATING";
2648
- SmartBlockDataType2["SOLID_JOINED_BOXES"] = "SOLID_JOINED_BOXES";
2649
- SmartBlockDataType2["SIDE_LINE_TEXT"] = "SIDE_LINE_TEXT";
2650
- SmartBlockDataType2["TOP_LINE_TEXT"] = "TOP_LINE_TEXT";
2651
- SmartBlockDataType2["OUTLINE_BOXES_WITH_TOP_CIRCLE"] = "OUTLINE_BOXES_WITH_TOP_CIRCLE";
2652
- SmartBlockDataType2["BIG_BULLETS"] = "BIG_BULLETS";
2653
- SmartBlockDataType2["SMALL_BULLETS"] = "SMALL_BULLETS";
2654
- SmartBlockDataType2["ARROW_BULLETS"] = "ARROW_BULLETS";
2655
- SmartBlockDataType2["PROCESS_STEPS"] = "PROCESS_STEPS";
2656
- SmartBlockDataType2["BAR_STATS"] = "BAR_STATS";
2657
- SmartBlockDataType2["TIMELINE"] = "TIMELINE";
2658
- SmartBlockDataType2["MINIMAL_TIMELINE"] = "MINIMAL_TIMELINE";
2659
- SmartBlockDataType2["PILLS"] = "PILLS";
2660
- SmartBlockDataType2["STAR_RATING"] = "STAR_RATING";
2661
- SmartBlockDataType2["QUOTE_BOXES"] = "QUOTE_BOXES";
2662
- SmartBlockDataType2["CIRCLE"] = "CIRCLE";
2663
- SmartBlockDataType2["PYRAMID"] = "PYRAMID";
2664
- SmartBlockDataType2["STAIRCASE"] = "STAIRCASE";
2665
- SmartBlockDataType2["VERTICAL_FUNNEL"] = "VERTICAL_FUNNEL";
2666
- return SmartBlockDataType2;
2667
- })(SmartBlockDataType || {});
2668
- var ColumnSize = /* @__PURE__ */ ((ColumnSize2) => {
2669
- ColumnSize2["SMALL"] = "SMALL";
2670
- ColumnSize2["MEDIUM"] = "MEDIUM";
2671
- ColumnSize2["LARGE"] = "LARGE";
2672
- ColumnSize2["EXTRA_LARGE"] = "EXTRA_LARGE";
2673
- return ColumnSize2;
2674
- })(ColumnSize || {});
2675
- var PaymentPolicyType = /* @__PURE__ */ ((PaymentPolicyType2) => {
2676
- PaymentPolicyType2["PER_GUEST"] = "PER_GUEST";
2677
- PaymentPolicyType2["FREE"] = "FREE";
2678
- return PaymentPolicyType2;
2679
- })(PaymentPolicyType || {});
2680
- var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
2681
- SortOrder2["ASC"] = "ASC";
2682
- SortOrder2["DESC"] = "DESC";
2683
- return SortOrder2;
2684
- })(SortOrder || {});
2685
- var SortType = /* @__PURE__ */ ((SortType2) => {
2686
- SortType2["COUNT"] = "COUNT";
2687
- SortType2["VALUE"] = "VALUE";
2688
- return SortType2;
2689
- })(SortType || {});
2690
- var SortDirection = /* @__PURE__ */ ((SortDirection2) => {
2691
- SortDirection2["DESC"] = "DESC";
2692
- SortDirection2["ASC"] = "ASC";
2693
- return SortDirection2;
2694
- })(SortDirection || {});
2695
- var MissingValues = /* @__PURE__ */ ((MissingValues2) => {
2696
- MissingValues2["EXCLUDE"] = "EXCLUDE";
2697
- MissingValues2["INCLUDE"] = "INCLUDE";
2698
- return MissingValues2;
2699
- })(MissingValues || {});
2700
- var ScalarType = /* @__PURE__ */ ((ScalarType2) => {
2701
- ScalarType2["UNKNOWN_SCALAR_TYPE"] = "UNKNOWN_SCALAR_TYPE";
2702
- ScalarType2["COUNT_DISTINCT"] = "COUNT_DISTINCT";
2703
- ScalarType2["MIN"] = "MIN";
2704
- ScalarType2["MAX"] = "MAX";
2705
- ScalarType2["SUM"] = "SUM";
2706
- ScalarType2["AVG"] = "AVG";
2707
- return ScalarType2;
2708
- })(ScalarType || {});
2709
- var NestedAggregationType = /* @__PURE__ */ ((NestedAggregationType2) => {
2710
- NestedAggregationType2["UNKNOWN_AGGREGATION_TYPE"] = "UNKNOWN_AGGREGATION_TYPE";
2711
- NestedAggregationType2["VALUE"] = "VALUE";
2712
- NestedAggregationType2["RANGE"] = "RANGE";
2713
- NestedAggregationType2["SCALAR"] = "SCALAR";
2714
- NestedAggregationType2["DATE_HISTOGRAM"] = "DATE_HISTOGRAM";
2715
- return NestedAggregationType2;
2716
- })(NestedAggregationType || {});
2717
- var Interval = /* @__PURE__ */ ((Interval2) => {
2718
- Interval2["YEAR"] = "YEAR";
2719
- Interval2["MONTH"] = "MONTH";
2720
- Interval2["WEEK"] = "WEEK";
2721
- Interval2["DAY"] = "DAY";
2722
- Interval2["HOUR"] = "HOUR";
2723
- Interval2["MINUTE"] = "MINUTE";
2724
- Interval2["SECOND"] = "SECOND";
2725
- return Interval2;
2726
- })(Interval || {});
2727
- var AggregationType = /* @__PURE__ */ ((AggregationType2) => {
2728
- AggregationType2["UNKNOWN_AGGREGATION_TYPE"] = "UNKNOWN_AGGREGATION_TYPE";
2729
- AggregationType2["VALUE"] = "VALUE";
2730
- AggregationType2["RANGE"] = "RANGE";
2731
- AggregationType2["SCALAR"] = "SCALAR";
2732
- AggregationType2["DATE_HISTOGRAM"] = "DATE_HISTOGRAM";
2733
- AggregationType2["NESTED"] = "NESTED";
2734
- return AggregationType2;
2735
- })(AggregationType || {});
2736
- var SearchDetailsMode = /* @__PURE__ */ ((SearchDetailsMode2) => {
2737
- SearchDetailsMode2["OR"] = "OR";
2738
- SearchDetailsMode2["AND"] = "AND";
2739
- return SearchDetailsMode2;
2740
- })(SearchDetailsMode || {});
2741
- var PlacementType = /* @__PURE__ */ ((PlacementType2) => {
2742
- PlacementType2["BEFORE"] = "BEFORE";
2743
- PlacementType2["AFTER"] = "AFTER";
2744
- PlacementType2["REPLACE"] = "REPLACE";
2745
- return PlacementType2;
2746
- })(PlacementType || {});
2747
- var DayOfWeek = /* @__PURE__ */ ((DayOfWeek2) => {
2748
- DayOfWeek2["MONDAY"] = "MONDAY";
2749
- DayOfWeek2["TUESDAY"] = "TUESDAY";
2750
- DayOfWeek2["WEDNESDAY"] = "WEDNESDAY";
2751
- DayOfWeek2["THURSDAY"] = "THURSDAY";
2752
- DayOfWeek2["FRIDAY"] = "FRIDAY";
2753
- DayOfWeek2["SATURDAY"] = "SATURDAY";
2754
- DayOfWeek2["SUNDAY"] = "SUNDAY";
2755
- return DayOfWeek2;
2756
- })(DayOfWeek || {});
2757
- var ResolutionMethod = /* @__PURE__ */ ((ResolutionMethod2) => {
2758
- ResolutionMethod2["QUERY_PARAM"] = "QUERY_PARAM";
2759
- ResolutionMethod2["SUBDOMAIN"] = "SUBDOMAIN";
2760
- ResolutionMethod2["SUBDIRECTORY"] = "SUBDIRECTORY";
2761
- return ResolutionMethod2;
2762
- })(ResolutionMethod || {});
2763
- var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
2764
- WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
2765
- WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
2766
- WebhookIdentityType2["MEMBER"] = "MEMBER";
2767
- WebhookIdentityType2["WIX_USER"] = "WIX_USER";
2768
- WebhookIdentityType2["APP"] = "APP";
2769
- return WebhookIdentityType2;
2770
- })(WebhookIdentityType || {});
2771
- async function createExperience2(experience) {
2772
- const { httpClient, sideEffects } = arguments[1];
2773
- const payload = transformPaths2(
2774
- renameKeysFromSDKRequestToRESTRequest({ experience }, [
2775
- "experience.configuration.displayInfo.richContent"
2776
- ]),
2777
- [
2778
- {
2779
- transformFn: transformSDKPageURLV2ToRESTPageURLV2,
2780
- paths: [
2781
- { path: "experience.experiencePageUrl" },
2782
- {
2783
- path: "experience.configuration.reservationForm.privacyPolicy.url"
2784
- },
2785
- {
2786
- path: "experience.configuration.reservationForm.termsAndConditions.url"
2787
- }
2788
- ]
2789
- },
2790
- {
2791
- transformFn: transformSDKImageToRESTImage,
2792
- paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
2793
- }
2794
- ]
2795
- );
2796
- const reqOpts = createExperience(payload);
2797
- sideEffects?.onSiteCall?.();
2798
- try {
2799
- const result = await httpClient.request(reqOpts);
2800
- sideEffects?.onSuccess?.(result);
2801
- return renameKeysFromRESTResponseToSDKResponse(
2802
- transformPaths2(result.data, [
2803
- {
2804
- transformFn: transformRESTPageURLV2ToSDKPageURLV2,
2805
- paths: [
2806
- { path: "experience.experiencePageUrl" },
2807
- {
2808
- path: "experience.configuration.reservationForm.privacyPolicy.url"
2809
- },
2810
- {
2811
- path: "experience.configuration.reservationForm.termsAndConditions.url"
2812
- }
2813
- ]
2814
- },
2815
- {
2816
- transformFn: transformRESTImageToSDKImage,
2817
- paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
2818
- }
2819
- ]),
2820
- ["experience.configuration.displayInfo.richContent"]
2821
- )?.experience;
2822
- } catch (err) {
2823
- const transformedError = sdkTransformError(
2824
- err,
2825
- {
2826
- spreadPathsToArguments: {},
2827
- explicitPathsToArguments: { experience: "$[0]" },
2828
- singleArgumentUnchanged: false
2829
- },
2830
- ["experience"]
2831
- );
2832
- sideEffects?.onError?.(err);
2833
- throw transformedError;
2834
- }
2835
- }
2836
- async function getExperience2(experienceId) {
2837
- const { httpClient, sideEffects } = arguments[1];
2838
- const payload = renameKeysFromSDKRequestToRESTRequest(
2839
- { experienceId },
2840
- []
2841
- );
2842
- const reqOpts = getExperience(payload);
2843
- sideEffects?.onSiteCall?.();
2844
- try {
2845
- const result = await httpClient.request(reqOpts);
2846
- sideEffects?.onSuccess?.(result);
2847
- return renameKeysFromRESTResponseToSDKResponse(
2848
- transformPaths2(result.data, [
2849
- {
2850
- transformFn: transformRESTPageURLV2ToSDKPageURLV2,
2851
- paths: [
2852
- { path: "experience.experiencePageUrl" },
2853
- {
2854
- path: "experience.configuration.reservationForm.privacyPolicy.url"
2855
- },
2856
- {
2857
- path: "experience.configuration.reservationForm.termsAndConditions.url"
2858
- }
2859
- ]
2860
- },
2861
- {
2862
- transformFn: transformRESTImageToSDKImage,
2863
- paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
2864
- }
2865
- ]),
2866
- ["experience.configuration.displayInfo.richContent"]
2867
- )?.experience;
2868
- } catch (err) {
2869
- const transformedError = sdkTransformError(
2870
- err,
2871
- {
2872
- spreadPathsToArguments: {},
2873
- explicitPathsToArguments: { experienceId: "$[0]" },
2874
- singleArgumentUnchanged: false
2875
- },
2876
- ["experienceId"]
2877
- );
2878
- sideEffects?.onError?.(err);
2879
- throw transformedError;
2880
- }
2881
- }
2882
- async function getExperienceBySlug2(slug) {
2883
- const { httpClient, sideEffects } = arguments[1];
2884
- const payload = renameKeysFromSDKRequestToRESTRequest({ slug }, []);
2885
- const reqOpts = getExperienceBySlug(payload);
2886
- sideEffects?.onSiteCall?.();
2887
- try {
2888
- const result = await httpClient.request(reqOpts);
2889
- sideEffects?.onSuccess?.(result);
2890
- return renameKeysFromRESTResponseToSDKResponse(
2891
- transformPaths2(result.data, [
2892
- {
2893
- transformFn: transformRESTPageURLV2ToSDKPageURLV2,
2894
- paths: [
2895
- { path: "experience.experiencePageUrl" },
2896
- {
2897
- path: "experience.configuration.reservationForm.privacyPolicy.url"
2898
- },
2899
- {
2900
- path: "experience.configuration.reservationForm.termsAndConditions.url"
2901
- }
2902
- ]
2903
- },
2904
- {
2905
- transformFn: transformRESTImageToSDKImage,
2906
- paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
2907
- }
2908
- ]),
2909
- ["experience.configuration.displayInfo.richContent"]
2910
- );
2911
- } catch (err) {
2912
- const transformedError = sdkTransformError(
2913
- err,
2914
- {
2915
- spreadPathsToArguments: {},
2916
- explicitPathsToArguments: { slug: "$[0]" },
2917
- singleArgumentUnchanged: false
2918
- },
2919
- ["slug"]
2920
- );
2921
- sideEffects?.onError?.(err);
2922
- throw transformedError;
2923
- }
2924
- }
2925
- async function updateExperience2(_id, experience) {
2926
- const { httpClient, sideEffects } = arguments[2];
2927
- const payload = transformPaths2(
2928
- renameKeysFromSDKRequestToRESTRequest(
2929
- { experience: { ...experience, id: _id } },
2930
- ["experience.configuration.displayInfo.richContent"]
2931
- ),
2932
- [
2933
- {
2934
- transformFn: transformSDKPageURLV2ToRESTPageURLV2,
2935
- paths: [
2936
- { path: "experience.experiencePageUrl" },
2937
- {
2938
- path: "experience.configuration.reservationForm.privacyPolicy.url"
2939
- },
2940
- {
2941
- path: "experience.configuration.reservationForm.termsAndConditions.url"
2942
- }
2943
- ]
2944
- },
2945
- {
2946
- transformFn: transformSDKImageToRESTImage,
2947
- paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
2948
- }
2949
- ]
2950
- );
2951
- const reqOpts = updateExperience(payload);
2952
- sideEffects?.onSiteCall?.();
2953
- try {
2954
- const result = await httpClient.request(reqOpts);
2955
- sideEffects?.onSuccess?.(result);
2956
- return renameKeysFromRESTResponseToSDKResponse(
2957
- transformPaths2(result.data, [
2958
- {
2959
- transformFn: transformRESTPageURLV2ToSDKPageURLV2,
2960
- paths: [
2961
- { path: "experience.experiencePageUrl" },
2962
- {
2963
- path: "experience.configuration.reservationForm.privacyPolicy.url"
2964
- },
2965
- {
2966
- path: "experience.configuration.reservationForm.termsAndConditions.url"
2967
- }
2968
- ]
2969
- },
2970
- {
2971
- transformFn: transformRESTImageToSDKImage,
2972
- paths: [{ path: "experience.configuration.displayInfo.coverImage" }]
2973
- }
2974
- ]),
2975
- ["experience.configuration.displayInfo.richContent"]
2976
- )?.experience;
2977
- } catch (err) {
2978
- const transformedError = sdkTransformError(
2979
- err,
2980
- {
2981
- spreadPathsToArguments: { experience: "$[1]" },
2982
- explicitPathsToArguments: { "experience.id": "$[0]" },
2983
- singleArgumentUnchanged: false
2984
- },
2985
- ["_id", "experience"]
2986
- );
2987
- sideEffects?.onError?.(err);
2988
- throw transformedError;
2989
- }
2990
- }
2991
- function queryExperiences2() {
2992
- const { httpClient, sideEffects } = arguments[0];
2993
- return queryBuilder({
2994
- func: async (payload) => {
2995
- const reqOpts = queryExperiences(payload);
2996
- sideEffects?.onSiteCall?.();
2997
- try {
2998
- const result = await httpClient.request(reqOpts);
2999
- sideEffects?.onSuccess?.(result);
3000
- return result;
3001
- } catch (err) {
3002
- sideEffects?.onError?.(err);
3003
- throw err;
3004
- }
3005
- },
3006
- requestTransformer: (query) => {
3007
- const args = [query, {}];
3008
- return renameKeysFromSDKRequestToRESTRequest(
3009
- { ...args?.[1], query: args?.[0] },
3010
- []
3011
- );
3012
- },
3013
- responseTransformer: ({ data }) => {
3014
- const transformedData = renameKeysFromRESTResponseToSDKResponse(
3015
- transformPaths2(data, [
3016
- {
3017
- transformFn: transformRESTPageURLV2ToSDKPageURLV2,
3018
- paths: [
3019
- { path: "experiences.experiencePageUrl" },
3020
- {
3021
- path: "experiences.configuration.reservationForm.privacyPolicy.url"
3022
- },
3023
- {
3024
- path: "experiences.configuration.reservationForm.termsAndConditions.url"
3025
- }
3026
- ]
3027
- },
3028
- {
3029
- transformFn: transformRESTImageToSDKImage,
3030
- paths: [
3031
- { path: "experiences.configuration.displayInfo.coverImage" }
3032
- ]
3033
- }
3034
- ]),
3035
- ["experiences.configuration.displayInfo.richContent"]
3036
- );
3037
- return {
3038
- items: transformedData?.experiences,
3039
- pagingMetadata: transformedData?.pagingMetadata
3040
- };
3041
- },
3042
- errorTransformer: (err) => {
3043
- const transformedError = sdkTransformError(err, {
3044
- spreadPathsToArguments: {},
3045
- explicitPathsToArguments: { query: "$[0]" },
3046
- singleArgumentUnchanged: false
3047
- });
3048
- throw transformedError;
3049
- },
3050
- pagingMethod: "CURSOR",
3051
- transformationPaths: {}
3052
- });
3053
- }
3054
- async function typedQueryExperiences(query) {
3055
- const { httpClient, sideEffects } = arguments[1];
3056
- const payload = renameKeysFromSDKRequestToRESTRequest({ query }, []);
3057
- const reqOpts = queryExperiences(payload);
3058
- sideEffects?.onSiteCall?.();
3059
- try {
3060
- const result = await httpClient.request(reqOpts);
3061
- sideEffects?.onSuccess?.(result);
3062
- return renameKeysFromRESTResponseToSDKResponse(
3063
- transformPaths2(result.data, [
3064
- {
3065
- transformFn: transformRESTPageURLV2ToSDKPageURLV2,
3066
- paths: [
3067
- { path: "experiences.experiencePageUrl" },
3068
- {
3069
- path: "experiences.configuration.reservationForm.privacyPolicy.url"
3070
- },
3071
- {
3072
- path: "experiences.configuration.reservationForm.termsAndConditions.url"
3073
- }
3074
- ]
3075
- },
3076
- {
3077
- transformFn: transformRESTImageToSDKImage,
3078
- paths: [{ path: "experiences.configuration.displayInfo.coverImage" }]
3079
- }
3080
- ]),
3081
- ["experiences.configuration.displayInfo.richContent"]
3082
- );
3083
- } catch (err) {
3084
- const transformedError = sdkTransformError(
3085
- err,
3086
- {
3087
- spreadPathsToArguments: {},
3088
- explicitPathsToArguments: { query: "$[0]" },
3089
- singleArgumentUnchanged: false
3090
- },
3091
- ["query"]
3092
- );
3093
- sideEffects?.onError?.(err);
3094
- throw transformedError;
3095
- }
3096
- }
3097
- var utils = {
3098
- query: /* @__PURE__ */ createQueryUtils(),
3099
- search: /* @__PURE__ */ createSearchUtils()
3100
- };
3101
- async function searchExperiences2(search) {
3102
- const { httpClient, sideEffects } = arguments[1];
3103
- const payload = renameKeysFromSDKRequestToRESTRequest({ search }, []);
3104
- const reqOpts = searchExperiences(payload);
3105
- sideEffects?.onSiteCall?.();
3106
- try {
3107
- const result = await httpClient.request(reqOpts);
3108
- sideEffects?.onSuccess?.(result);
3109
- return renameKeysFromRESTResponseToSDKResponse(
3110
- transformPaths2(result.data, [
3111
- {
3112
- transformFn: transformRESTPageURLV2ToSDKPageURLV2,
3113
- paths: [
3114
- { path: "experiences.experiencePageUrl" },
3115
- {
3116
- path: "experiences.configuration.reservationForm.privacyPolicy.url"
3117
- },
3118
- {
3119
- path: "experiences.configuration.reservationForm.termsAndConditions.url"
3120
- }
3121
- ]
3122
- },
3123
- {
3124
- transformFn: transformRESTImageToSDKImage,
3125
- paths: [{ path: "experiences.configuration.displayInfo.coverImage" }]
3126
- }
3127
- ]),
3128
- ["experiences.configuration.displayInfo.richContent"]
3129
- );
3130
- } catch (err) {
3131
- const transformedError = sdkTransformError(
3132
- err,
3133
- {
3134
- spreadPathsToArguments: {},
3135
- explicitPathsToArguments: { search: "$[0]" },
3136
- singleArgumentUnchanged: false
3137
- },
3138
- ["search"]
3139
- );
3140
- sideEffects?.onError?.(err);
3141
- throw transformedError;
3142
- }
3143
- }
3144
- async function bulkUpdateExperiences2(experiences, options) {
3145
- const { httpClient, sideEffects } = arguments[2];
3146
- const payload = transformPaths2(
3147
- renameKeysFromSDKRequestToRESTRequest(
3148
- { experiences, returnEntity: options?.returnEntity },
3149
- ["experiences.experience.configuration.displayInfo.richContent"]
3150
- ),
3151
- [
3152
- {
3153
- transformFn: transformSDKPageURLV2ToRESTPageURLV2,
3154
- paths: [
3155
- { path: "experiences.experience.experiencePageUrl" },
3156
- {
3157
- path: "experiences.experience.configuration.reservationForm.privacyPolicy.url"
3158
- },
3159
- {
3160
- path: "experiences.experience.configuration.reservationForm.termsAndConditions.url"
3161
- }
3162
- ]
3163
- },
3164
- {
3165
- transformFn: transformSDKImageToRESTImage,
3166
- paths: [
3167
- {
3168
- path: "experiences.experience.configuration.displayInfo.coverImage"
3169
- }
3170
- ]
3171
- }
3172
- ]
3173
- );
3174
- const reqOpts = bulkUpdateExperiences(payload);
3175
- sideEffects?.onSiteCall?.();
3176
- try {
3177
- const result = await httpClient.request(reqOpts);
3178
- sideEffects?.onSuccess?.(result);
3179
- return renameKeysFromRESTResponseToSDKResponse(
3180
- transformPaths2(result.data, [
3181
- {
3182
- transformFn: transformRESTPageURLV2ToSDKPageURLV2,
3183
- paths: [
3184
- { path: "results.item.experiencePageUrl" },
3185
- {
3186
- path: "results.item.configuration.reservationForm.privacyPolicy.url"
3187
- },
3188
- {
3189
- path: "results.item.configuration.reservationForm.termsAndConditions.url"
3190
- }
3191
- ]
3192
- },
3193
- {
3194
- transformFn: transformRESTImageToSDKImage,
3195
- paths: [
3196
- { path: "results.item.configuration.displayInfo.coverImage" }
3197
- ]
3198
- }
3199
- ]),
3200
- ["results.item.configuration.displayInfo.richContent"]
3201
- );
3202
- } catch (err) {
3203
- const transformedError = sdkTransformError(
3204
- err,
3205
- {
3206
- spreadPathsToArguments: {},
3207
- explicitPathsToArguments: {
3208
- experiences: "$[0]",
3209
- returnEntity: "$[1].returnEntity"
3210
- },
3211
- singleArgumentUnchanged: false
3212
- },
3213
- ["experiences", "options"]
3214
- );
3215
- sideEffects?.onError?.(err);
3216
- throw transformedError;
3217
- }
3218
- }
3219
- async function bulkUpdateExperienceTags2(experienceIds, options) {
3220
- const { httpClient, sideEffects } = arguments[2];
3221
- const payload = renameKeysFromSDKRequestToRESTRequest(
3222
- {
3223
- experienceIds,
3224
- assignTags: options?.assignTags,
3225
- unassignTags: options?.unassignTags
3226
- },
3227
- []
3228
- );
3229
- const reqOpts = bulkUpdateExperienceTags(
3230
- payload
3231
- );
3232
- sideEffects?.onSiteCall?.();
3233
- try {
3234
- const result = await httpClient.request(reqOpts);
3235
- sideEffects?.onSuccess?.(result);
3236
- return renameKeysFromRESTResponseToSDKResponse(result.data, []);
3237
- } catch (err) {
3238
- const transformedError = sdkTransformError(
3239
- err,
3240
- {
3241
- spreadPathsToArguments: {},
3242
- explicitPathsToArguments: {
3243
- experienceIds: "$[0]",
3244
- assignTags: "$[1].assignTags",
3245
- unassignTags: "$[1].unassignTags"
3246
- },
3247
- singleArgumentUnchanged: false
3248
- },
3249
- ["experienceIds", "options"]
3250
- );
3251
- sideEffects?.onError?.(err);
3252
- throw transformedError;
3253
- }
3254
- }
3255
- async function bulkUpdateExperienceTagsByFilter2(filter, options) {
3256
- const { httpClient, sideEffects } = arguments[2];
3257
- const payload = renameKeysFromSDKRequestToRESTRequest(
3258
- {
3259
- filter,
3260
- assignTags: options?.assignTags,
3261
- unassignTags: options?.unassignTags
3262
- },
3263
- []
3264
- );
3265
- const reqOpts = bulkUpdateExperienceTagsByFilter(
3266
- payload
3267
- );
3268
- sideEffects?.onSiteCall?.();
3269
- try {
3270
- const result = await httpClient.request(reqOpts);
3271
- sideEffects?.onSuccess?.(result);
3272
- return renameKeysFromRESTResponseToSDKResponse(result.data, []);
3273
- } catch (err) {
3274
- const transformedError = sdkTransformError(
3275
- err,
3276
- {
3277
- spreadPathsToArguments: {},
3278
- explicitPathsToArguments: {
3279
- filter: "$[0]",
3280
- assignTags: "$[1].assignTags",
3281
- unassignTags: "$[1].unassignTags"
3282
- },
3283
- singleArgumentUnchanged: false
3284
- },
3285
- ["filter", "options"]
3286
- );
3287
- sideEffects?.onError?.(err);
3288
- throw transformedError;
3289
- }
3290
- }
3291
- async function bulkArchiveExperiences2(experienceIds) {
3292
- const { httpClient, sideEffects } = arguments[1];
3293
- const payload = renameKeysFromSDKRequestToRESTRequest(
3294
- { experienceIds },
3295
- []
3296
- );
3297
- const reqOpts = bulkArchiveExperiences(payload);
3298
- sideEffects?.onSiteCall?.();
3299
- try {
3300
- const result = await httpClient.request(reqOpts);
3301
- sideEffects?.onSuccess?.(result);
3302
- return renameKeysFromRESTResponseToSDKResponse(result.data, []);
3303
- } catch (err) {
3304
- const transformedError = sdkTransformError(
3305
- err,
3306
- {
3307
- spreadPathsToArguments: {},
3308
- explicitPathsToArguments: { experienceIds: "$[0]" },
3309
- singleArgumentUnchanged: false
3310
- },
3311
- ["experienceIds"]
3312
- );
3313
- sideEffects?.onError?.(err);
3314
- throw transformedError;
3315
- }
3316
- }
3317
- async function bulkUnarchiveExperiences2(experienceIds) {
3318
- const { httpClient, sideEffects } = arguments[1];
3319
- const payload = renameKeysFromSDKRequestToRESTRequest(
3320
- { experienceIds },
3321
- []
3322
- );
3323
- const reqOpts = bulkUnarchiveExperiences(
3324
- payload
3325
- );
3326
- sideEffects?.onSiteCall?.();
3327
- try {
3328
- const result = await httpClient.request(reqOpts);
3329
- sideEffects?.onSuccess?.(result);
3330
- return renameKeysFromRESTResponseToSDKResponse(result.data, []);
3331
- } catch (err) {
3332
- const transformedError = sdkTransformError(
3333
- err,
3334
- {
3335
- spreadPathsToArguments: {},
3336
- explicitPathsToArguments: { experienceIds: "$[0]" },
3337
- singleArgumentUnchanged: false
3338
- },
3339
- ["experienceIds"]
3340
- );
3341
- sideEffects?.onError?.(err);
3342
- throw transformedError;
3343
- }
3344
- }
3345
-
3346
- // src/table-reservations-v1-experience-experiences.public.ts
3347
- function createExperience3(httpClient) {
3348
- return (experience) => createExperience2(
3349
- experience,
3350
- // @ts-ignore
3351
- { httpClient }
3352
- );
3353
- }
3354
- function getExperience3(httpClient) {
3355
- return (experienceId) => getExperience2(
3356
- experienceId,
3357
- // @ts-ignore
3358
- { httpClient }
3359
- );
3360
- }
3361
- function getExperienceBySlug3(httpClient) {
3362
- return (slug) => getExperienceBySlug2(
3363
- slug,
3364
- // @ts-ignore
3365
- { httpClient }
3366
- );
3367
- }
3368
- function updateExperience3(httpClient) {
3369
- return (_id, experience) => updateExperience2(
3370
- _id,
3371
- experience,
3372
- // @ts-ignore
3373
- { httpClient }
3374
- );
3375
- }
3376
- function queryExperiences3(httpClient) {
3377
- return () => queryExperiences2(
3378
- // @ts-ignore
3379
- { httpClient }
3380
- );
3381
- }
3382
- function typedQueryExperiences2(httpClient) {
3383
- return (query) => typedQueryExperiences(
3384
- query,
3385
- // @ts-ignore
3386
- { httpClient }
3387
- );
3388
- }
3389
- function searchExperiences3(httpClient) {
3390
- return (search) => searchExperiences2(
3391
- search,
3392
- // @ts-ignore
3393
- { httpClient }
3394
- );
3395
- }
3396
- function bulkUpdateExperiences3(httpClient) {
3397
- return (experiences, options) => bulkUpdateExperiences2(
3398
- experiences,
3399
- options,
3400
- // @ts-ignore
3401
- { httpClient }
3402
- );
3403
- }
3404
- function bulkUpdateExperienceTags3(httpClient) {
3405
- return (experienceIds, options) => bulkUpdateExperienceTags2(
3406
- experienceIds,
3407
- options,
3408
- // @ts-ignore
3409
- { httpClient }
3410
- );
3411
- }
3412
- function bulkUpdateExperienceTagsByFilter3(httpClient) {
3413
- return (filter, options) => bulkUpdateExperienceTagsByFilter2(
3414
- filter,
3415
- options,
3416
- // @ts-ignore
3417
- { httpClient }
3418
- );
3419
- }
3420
- function bulkArchiveExperiences3(httpClient) {
3421
- return (experienceIds) => bulkArchiveExperiences2(
3422
- experienceIds,
3423
- // @ts-ignore
3424
- { httpClient }
3425
- );
3426
- }
3427
- function bulkUnarchiveExperiences3(httpClient) {
3428
- return (experienceIds) => bulkUnarchiveExperiences2(
3429
- experienceIds,
3430
- // @ts-ignore
3431
- { httpClient }
3432
- );
3433
- }
3434
- var onExperienceCreated = /* @__PURE__ */ EventDefinition(
3435
- "wix.table_reservations.v1.experience_created",
3436
- true,
3437
- (event) => renameKeysFromRESTResponseToSDKResponse2(
3438
- transformPaths3(event, [
3439
- {
3440
- transformFn: transformRESTTimestampToSDKTimestamp2,
3441
- paths: [
3442
- { path: "entity.createdDate" },
3443
- { path: "entity.updatedDate" },
3444
- {
3445
- path: "entity.configuration.displayInfo.richContent.metadata.createdTimestamp"
3446
- },
3447
- {
3448
- path: "entity.configuration.displayInfo.richContent.metadata.updatedTimestamp"
3449
- },
3450
- { path: "metadata.eventTime" }
3451
- ]
3452
- },
3453
- {
3454
- transformFn: transformRESTPageURLV2ToSDKPageURLV22,
3455
- paths: [
3456
- { path: "entity.experiencePageUrl" },
3457
- { path: "entity.configuration.reservationForm.privacyPolicy.url" },
3458
- {
3459
- path: "entity.configuration.reservationForm.termsAndConditions.url"
3460
- }
3461
- ]
3462
- },
3463
- {
3464
- transformFn: transformRESTImageToSDKImage2,
3465
- paths: [{ path: "entity.configuration.displayInfo.coverImage" }]
3466
- },
3467
- {
3468
- transformFn: transformRESTFloatToSDKFloat2,
3469
- paths: [
3470
- {
3471
- path: "entity.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerX"
3472
- },
3473
- {
3474
- path: "entity.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerY"
3475
- },
3476
- {
3477
- path: "entity.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.stops.position"
3478
- },
3479
- {
3480
- path: "entity.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
3481
- },
3482
- {
3483
- path: "entity.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
3484
- },
3485
- {
3486
- path: "entity.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
3487
- },
3488
- {
3489
- path: "entity.configuration.displayInfo.richContent.nodes.galleryData.items.image.media.duration"
3490
- },
3491
- {
3492
- path: "entity.configuration.displayInfo.richContent.nodes.galleryData.items.video.media.duration"
3493
- },
3494
- {
3495
- path: "entity.configuration.displayInfo.richContent.nodes.galleryData.items.video.thumbnail.duration"
3496
- },
3497
- {
3498
- path: "entity.configuration.displayInfo.richContent.nodes.galleryData.options.item.ratio"
3499
- },
3500
- {
3501
- path: "entity.configuration.displayInfo.richContent.nodes.imageData.image.duration"
3502
- },
3503
- {
3504
- path: "entity.configuration.displayInfo.richContent.nodes.imageData.crop.x"
3505
- },
3506
- {
3507
- path: "entity.configuration.displayInfo.richContent.nodes.imageData.crop.y"
3508
- },
3509
- {
3510
- path: "entity.configuration.displayInfo.richContent.nodes.imageData.crop.width"
3511
- },
3512
- {
3513
- path: "entity.configuration.displayInfo.richContent.nodes.imageData.crop.height"
3514
- },
3515
- {
3516
- path: "entity.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lat"
3517
- },
3518
- {
3519
- path: "entity.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lng"
3520
- },
3521
- {
3522
- path: "entity.configuration.displayInfo.richContent.nodes.pollData.poll.image.duration"
3523
- },
3524
- {
3525
- path: "entity.configuration.displayInfo.richContent.nodes.pollData.poll.options.image.duration"
3526
- },
3527
- {
3528
- path: "entity.configuration.displayInfo.richContent.nodes.pollData.design.poll.background.image.duration"
3529
- },
3530
- {
3531
- path: "entity.configuration.displayInfo.richContent.nodes.appEmbedData.image.duration"
3532
- },
3533
- {
3534
- path: "entity.configuration.displayInfo.richContent.nodes.videoData.video.duration"
3535
- },
3536
- {
3537
- path: "entity.configuration.displayInfo.richContent.nodes.videoData.thumbnail.duration"
3538
- },
3539
- {
3540
- path: "entity.configuration.displayInfo.richContent.nodes.audioData.audio.duration"
3541
- },
3542
- {
3543
- path: "entity.configuration.displayInfo.richContent.nodes.audioData.coverImage.duration"
3544
- },
3545
- {
3546
- path: "entity.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.media.duration"
3547
- },
3548
- {
3549
- path: "entity.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
3550
- },
3551
- {
3552
- path: "entity.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
3553
- },
3554
- {
3555
- path: "entity.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
3556
- },
3557
- {
3558
- path: "entity.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.media.duration"
3559
- },
3560
- {
3561
- path: "entity.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
3562
- },
3563
- {
3564
- path: "entity.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
3565
- },
3566
- {
3567
- path: "entity.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
3568
- },
3569
- {
3570
- path: "entity.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerX"
3571
- },
3572
- {
3573
- path: "entity.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerY"
3574
- },
3575
- {
3576
- path: "entity.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.stops.position"
3577
- },
3578
- {
3579
- path: "entity.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerX"
3580
- },
3581
- {
3582
- path: "entity.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerY"
3583
- },
3584
- {
3585
- path: "entity.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.stops.position"
3586
- },
3587
- {
3588
- path: "entity.configuration.displayInfo.richContent.nodes.shapeData.shape.duration"
3589
- },
3590
- {
3591
- path: "entity.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerX"
3592
- },
3593
- {
3594
- path: "entity.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerY"
3595
- },
3596
- {
3597
- path: "entity.configuration.displayInfo.richContent.nodes.cardData.background.gradient.stops.position"
3598
- },
3599
- {
3600
- path: "entity.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.media.duration"
3601
- },
3602
- {
3603
- path: "entity.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
3604
- },
3605
- {
3606
- path: "entity.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
3607
- },
3608
- {
3609
- path: "entity.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
3610
- },
3611
- {
3612
- path: "entity.configuration.displayInfo.richContent.nodes.tocData.fontSize"
3613
- },
3614
- {
3615
- path: "entity.configuration.displayInfo.richContent.nodes.tocData.itemSpacing"
3616
- },
3617
- {
3618
- path: "entity.configuration.displayInfo.richContent.nodes.smartBlockCellData.shape.duration"
3619
- }
3620
- ]
3621
- }
3622
- ])
3623
- )
3624
- )();
3625
- var onExperienceTagsModified = /* @__PURE__ */ EventDefinition(
3626
- "wix.table_reservations.v1.experience_tags_modified",
3627
- true,
3628
- (event) => renameKeysFromRESTResponseToSDKResponse2(
3629
- transformPaths3(event, [
3630
- {
3631
- transformFn: transformRESTTimestampToSDKTimestamp2,
3632
- paths: [
3633
- { path: "data.experience.createdDate" },
3634
- { path: "data.experience.updatedDate" },
3635
- {
3636
- path: "data.experience.configuration.displayInfo.richContent.metadata.createdTimestamp"
3637
- },
3638
- {
3639
- path: "data.experience.configuration.displayInfo.richContent.metadata.updatedTimestamp"
3640
- },
3641
- { path: "metadata.eventTime" }
3642
- ]
3643
- },
3644
- {
3645
- transformFn: transformRESTPageURLV2ToSDKPageURLV22,
3646
- paths: [
3647
- { path: "data.experience.experiencePageUrl" },
3648
- {
3649
- path: "data.experience.configuration.reservationForm.privacyPolicy.url"
3650
- },
3651
- {
3652
- path: "data.experience.configuration.reservationForm.termsAndConditions.url"
3653
- }
3654
- ]
3655
- },
3656
- {
3657
- transformFn: transformRESTImageToSDKImage2,
3658
- paths: [
3659
- { path: "data.experience.configuration.displayInfo.coverImage" }
3660
- ]
3661
- },
3662
- {
3663
- transformFn: transformRESTFloatToSDKFloat2,
3664
- paths: [
3665
- {
3666
- path: "data.experience.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerX"
3667
- },
3668
- {
3669
- path: "data.experience.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerY"
3670
- },
3671
- {
3672
- path: "data.experience.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.stops.position"
3673
- },
3674
- {
3675
- path: "data.experience.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
3676
- },
3677
- {
3678
- path: "data.experience.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
3679
- },
3680
- {
3681
- path: "data.experience.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
3682
- },
3683
- {
3684
- path: "data.experience.configuration.displayInfo.richContent.nodes.galleryData.items.image.media.duration"
3685
- },
3686
- {
3687
- path: "data.experience.configuration.displayInfo.richContent.nodes.galleryData.items.video.media.duration"
3688
- },
3689
- {
3690
- path: "data.experience.configuration.displayInfo.richContent.nodes.galleryData.items.video.thumbnail.duration"
3691
- },
3692
- {
3693
- path: "data.experience.configuration.displayInfo.richContent.nodes.galleryData.options.item.ratio"
3694
- },
3695
- {
3696
- path: "data.experience.configuration.displayInfo.richContent.nodes.imageData.image.duration"
3697
- },
3698
- {
3699
- path: "data.experience.configuration.displayInfo.richContent.nodes.imageData.crop.x"
3700
- },
3701
- {
3702
- path: "data.experience.configuration.displayInfo.richContent.nodes.imageData.crop.y"
3703
- },
3704
- {
3705
- path: "data.experience.configuration.displayInfo.richContent.nodes.imageData.crop.width"
3706
- },
3707
- {
3708
- path: "data.experience.configuration.displayInfo.richContent.nodes.imageData.crop.height"
3709
- },
3710
- {
3711
- path: "data.experience.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lat"
3712
- },
3713
- {
3714
- path: "data.experience.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lng"
3715
- },
3716
- {
3717
- path: "data.experience.configuration.displayInfo.richContent.nodes.pollData.poll.image.duration"
3718
- },
3719
- {
3720
- path: "data.experience.configuration.displayInfo.richContent.nodes.pollData.poll.options.image.duration"
3721
- },
3722
- {
3723
- path: "data.experience.configuration.displayInfo.richContent.nodes.pollData.design.poll.background.image.duration"
3724
- },
3725
- {
3726
- path: "data.experience.configuration.displayInfo.richContent.nodes.appEmbedData.image.duration"
3727
- },
3728
- {
3729
- path: "data.experience.configuration.displayInfo.richContent.nodes.videoData.video.duration"
3730
- },
3731
- {
3732
- path: "data.experience.configuration.displayInfo.richContent.nodes.videoData.thumbnail.duration"
3733
- },
3734
- {
3735
- path: "data.experience.configuration.displayInfo.richContent.nodes.audioData.audio.duration"
3736
- },
3737
- {
3738
- path: "data.experience.configuration.displayInfo.richContent.nodes.audioData.coverImage.duration"
3739
- },
3740
- {
3741
- path: "data.experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.media.duration"
3742
- },
3743
- {
3744
- path: "data.experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
3745
- },
3746
- {
3747
- path: "data.experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
3748
- },
3749
- {
3750
- path: "data.experience.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
3751
- },
3752
- {
3753
- path: "data.experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.media.duration"
3754
- },
3755
- {
3756
- path: "data.experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
3757
- },
3758
- {
3759
- path: "data.experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
3760
- },
3761
- {
3762
- path: "data.experience.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
3763
- },
3764
- {
3765
- path: "data.experience.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerX"
3766
- },
3767
- {
3768
- path: "data.experience.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerY"
3769
- },
3770
- {
3771
- path: "data.experience.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.stops.position"
3772
- },
3773
- {
3774
- path: "data.experience.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerX"
3775
- },
3776
- {
3777
- path: "data.experience.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerY"
3778
- },
3779
- {
3780
- path: "data.experience.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.stops.position"
3781
- },
3782
- {
3783
- path: "data.experience.configuration.displayInfo.richContent.nodes.shapeData.shape.duration"
3784
- },
3785
- {
3786
- path: "data.experience.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerX"
3787
- },
3788
- {
3789
- path: "data.experience.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerY"
3790
- },
3791
- {
3792
- path: "data.experience.configuration.displayInfo.richContent.nodes.cardData.background.gradient.stops.position"
3793
- },
3794
- {
3795
- path: "data.experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.media.duration"
3796
- },
3797
- {
3798
- path: "data.experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
3799
- },
3800
- {
3801
- path: "data.experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
3802
- },
3803
- {
3804
- path: "data.experience.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
3805
- },
3806
- {
3807
- path: "data.experience.configuration.displayInfo.richContent.nodes.tocData.fontSize"
3808
- },
3809
- {
3810
- path: "data.experience.configuration.displayInfo.richContent.nodes.tocData.itemSpacing"
3811
- },
3812
- {
3813
- path: "data.experience.configuration.displayInfo.richContent.nodes.smartBlockCellData.shape.duration"
3814
- }
3815
- ]
3816
- }
3817
- ])
3818
- )
3819
- )();
3820
- var onExperienceUpdated = /* @__PURE__ */ EventDefinition(
3821
- "wix.table_reservations.v1.experience_updated",
3822
- true,
3823
- (event) => renameKeysFromRESTResponseToSDKResponse2(
3824
- transformPaths3(event, [
3825
- {
3826
- transformFn: transformRESTTimestampToSDKTimestamp2,
3827
- paths: [
3828
- { path: "entity.createdDate" },
3829
- { path: "entity.updatedDate" },
3830
- {
3831
- path: "entity.configuration.displayInfo.richContent.metadata.createdTimestamp"
3832
- },
3833
- {
3834
- path: "entity.configuration.displayInfo.richContent.metadata.updatedTimestamp"
3835
- },
3836
- { path: "metadata.eventTime" },
3837
- { path: "modifiedFields.createdDate" },
3838
- { path: "modifiedFields.updatedDate" },
3839
- {
3840
- path: "modifiedFields.configuration.displayInfo.richContent.metadata.createdTimestamp"
3841
- },
3842
- {
3843
- path: "modifiedFields.configuration.displayInfo.richContent.metadata.updatedTimestamp"
3844
- }
3845
- ]
3846
- },
3847
- {
3848
- transformFn: transformRESTPageURLV2ToSDKPageURLV22,
3849
- paths: [
3850
- { path: "entity.experiencePageUrl" },
3851
- { path: "entity.configuration.reservationForm.privacyPolicy.url" },
3852
- {
3853
- path: "entity.configuration.reservationForm.termsAndConditions.url"
3854
- },
3855
- { path: "modifiedFields.experiencePageUrl" },
3856
- {
3857
- path: "modifiedFields.configuration.reservationForm.privacyPolicy.url"
3858
- },
3859
- {
3860
- path: "modifiedFields.configuration.reservationForm.termsAndConditions.url"
3861
- }
3862
- ]
3863
- },
3864
- {
3865
- transformFn: transformRESTImageToSDKImage2,
3866
- paths: [
3867
- { path: "entity.configuration.displayInfo.coverImage" },
3868
- { path: "modifiedFields.configuration.displayInfo.coverImage" }
3869
- ]
3870
- },
3871
- {
3872
- transformFn: transformRESTFloatToSDKFloat2,
3873
- paths: [
3874
- {
3875
- path: "entity.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerX"
3876
- },
3877
- {
3878
- path: "entity.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerY"
3879
- },
3880
- {
3881
- path: "entity.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.stops.position"
3882
- },
3883
- {
3884
- path: "entity.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
3885
- },
3886
- {
3887
- path: "entity.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
3888
- },
3889
- {
3890
- path: "entity.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
3891
- },
3892
- {
3893
- path: "entity.configuration.displayInfo.richContent.nodes.galleryData.items.image.media.duration"
3894
- },
3895
- {
3896
- path: "entity.configuration.displayInfo.richContent.nodes.galleryData.items.video.media.duration"
3897
- },
3898
- {
3899
- path: "entity.configuration.displayInfo.richContent.nodes.galleryData.items.video.thumbnail.duration"
3900
- },
3901
- {
3902
- path: "entity.configuration.displayInfo.richContent.nodes.galleryData.options.item.ratio"
3903
- },
3904
- {
3905
- path: "entity.configuration.displayInfo.richContent.nodes.imageData.image.duration"
3906
- },
3907
- {
3908
- path: "entity.configuration.displayInfo.richContent.nodes.imageData.crop.x"
3909
- },
3910
- {
3911
- path: "entity.configuration.displayInfo.richContent.nodes.imageData.crop.y"
3912
- },
3913
- {
3914
- path: "entity.configuration.displayInfo.richContent.nodes.imageData.crop.width"
3915
- },
3916
- {
3917
- path: "entity.configuration.displayInfo.richContent.nodes.imageData.crop.height"
3918
- },
3919
- {
3920
- path: "entity.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lat"
3921
- },
3922
- {
3923
- path: "entity.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lng"
3924
- },
3925
- {
3926
- path: "entity.configuration.displayInfo.richContent.nodes.pollData.poll.image.duration"
3927
- },
3928
- {
3929
- path: "entity.configuration.displayInfo.richContent.nodes.pollData.poll.options.image.duration"
3930
- },
3931
- {
3932
- path: "entity.configuration.displayInfo.richContent.nodes.pollData.design.poll.background.image.duration"
3933
- },
3934
- {
3935
- path: "entity.configuration.displayInfo.richContent.nodes.appEmbedData.image.duration"
3936
- },
3937
- {
3938
- path: "entity.configuration.displayInfo.richContent.nodes.videoData.video.duration"
3939
- },
3940
- {
3941
- path: "entity.configuration.displayInfo.richContent.nodes.videoData.thumbnail.duration"
3942
- },
3943
- {
3944
- path: "entity.configuration.displayInfo.richContent.nodes.audioData.audio.duration"
3945
- },
3946
- {
3947
- path: "entity.configuration.displayInfo.richContent.nodes.audioData.coverImage.duration"
3948
- },
3949
- {
3950
- path: "entity.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.media.duration"
3951
- },
3952
- {
3953
- path: "entity.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
3954
- },
3955
- {
3956
- path: "entity.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
3957
- },
3958
- {
3959
- path: "entity.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
3960
- },
3961
- {
3962
- path: "entity.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.media.duration"
3963
- },
3964
- {
3965
- path: "entity.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
3966
- },
3967
- {
3968
- path: "entity.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
3969
- },
3970
- {
3971
- path: "entity.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
3972
- },
3973
- {
3974
- path: "entity.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerX"
3975
- },
3976
- {
3977
- path: "entity.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerY"
3978
- },
3979
- {
3980
- path: "entity.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.stops.position"
3981
- },
3982
- {
3983
- path: "entity.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerX"
3984
- },
3985
- {
3986
- path: "entity.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerY"
3987
- },
3988
- {
3989
- path: "entity.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.stops.position"
3990
- },
3991
- {
3992
- path: "entity.configuration.displayInfo.richContent.nodes.shapeData.shape.duration"
3993
- },
3994
- {
3995
- path: "entity.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerX"
3996
- },
3997
- {
3998
- path: "entity.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerY"
3999
- },
4000
- {
4001
- path: "entity.configuration.displayInfo.richContent.nodes.cardData.background.gradient.stops.position"
4002
- },
4003
- {
4004
- path: "entity.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.media.duration"
4005
- },
4006
- {
4007
- path: "entity.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
4008
- },
4009
- {
4010
- path: "entity.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
4011
- },
4012
- {
4013
- path: "entity.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
4014
- },
4015
- {
4016
- path: "entity.configuration.displayInfo.richContent.nodes.tocData.fontSize"
4017
- },
4018
- {
4019
- path: "entity.configuration.displayInfo.richContent.nodes.tocData.itemSpacing"
4020
- },
4021
- {
4022
- path: "entity.configuration.displayInfo.richContent.nodes.smartBlockCellData.shape.duration"
4023
- },
4024
- {
4025
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerX"
4026
- },
4027
- {
4028
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.centerY"
4029
- },
4030
- {
4031
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.buttonData.styles.background.gradient.stops.position"
4032
- },
4033
- {
4034
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
4035
- },
4036
- {
4037
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
4038
- },
4039
- {
4040
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
4041
- },
4042
- {
4043
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.galleryData.items.image.media.duration"
4044
- },
4045
- {
4046
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.galleryData.items.video.media.duration"
4047
- },
4048
- {
4049
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.galleryData.items.video.thumbnail.duration"
4050
- },
4051
- {
4052
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.galleryData.options.item.ratio"
4053
- },
4054
- {
4055
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.imageData.image.duration"
4056
- },
4057
- {
4058
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.imageData.crop.x"
4059
- },
4060
- {
4061
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.imageData.crop.y"
4062
- },
4063
- {
4064
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.imageData.crop.width"
4065
- },
4066
- {
4067
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.imageData.crop.height"
4068
- },
4069
- {
4070
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lat"
4071
- },
4072
- {
4073
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lng"
4074
- },
4075
- {
4076
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.pollData.poll.image.duration"
4077
- },
4078
- {
4079
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.pollData.poll.options.image.duration"
4080
- },
4081
- {
4082
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.pollData.design.poll.background.image.duration"
4083
- },
4084
- {
4085
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.appEmbedData.image.duration"
4086
- },
4087
- {
4088
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.videoData.video.duration"
4089
- },
4090
- {
4091
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.videoData.thumbnail.duration"
4092
- },
4093
- {
4094
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.audioData.audio.duration"
4095
- },
4096
- {
4097
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.audioData.coverImage.duration"
4098
- },
4099
- {
4100
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.media.duration"
4101
- },
4102
- {
4103
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
4104
- },
4105
- {
4106
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
4107
- },
4108
- {
4109
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
4110
- },
4111
- {
4112
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.media.duration"
4113
- },
4114
- {
4115
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
4116
- },
4117
- {
4118
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
4119
- },
4120
- {
4121
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
4122
- },
4123
- {
4124
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerX"
4125
- },
4126
- {
4127
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.centerY"
4128
- },
4129
- {
4130
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.layoutData.background.gradient.stops.position"
4131
- },
4132
- {
4133
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerX"
4134
- },
4135
- {
4136
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.centerY"
4137
- },
4138
- {
4139
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.layoutData.backdrop.gradient.stops.position"
4140
- },
4141
- {
4142
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.shapeData.shape.duration"
4143
- },
4144
- {
4145
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerX"
4146
- },
4147
- {
4148
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.cardData.background.gradient.centerY"
4149
- },
4150
- {
4151
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.cardData.background.gradient.stops.position"
4152
- },
4153
- {
4154
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.media.duration"
4155
- },
4156
- {
4157
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
4158
- },
4159
- {
4160
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
4161
- },
4162
- {
4163
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
4164
- },
4165
- {
4166
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.tocData.fontSize"
4167
- },
4168
- {
4169
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.tocData.itemSpacing"
4170
- },
4171
- {
4172
- path: "modifiedFields.configuration.displayInfo.richContent.nodes.smartBlockCellData.shape.duration"
4173
- }
4174
- ]
4175
- }
4176
- ])
4177
- )
4178
- )();
4179
-
4180
- // src/table-reservations-v1-experience-experiences.context.ts
4181
- import { createRESTModule } from "@wix/sdk-runtime/rest-modules";
4182
- import { createEventModule } from "@wix/sdk-runtime/event-definition-modules";
4183
- import { createQueryOverloadRouter } from "@wix/sdk-runtime/query-method-router";
4184
- function customQueryExperiences(httpClient) {
4185
- const router = /* @__PURE__ */ createQueryOverloadRouter({
4186
- builderQueryFunction: () => queryExperiences3(httpClient)(),
4187
- typedQueryFunction: (query) => typedQueryExperiences2(httpClient)(query),
4188
- hasOptionsParameter: false
4189
- });
4190
- function overloadedQuery(query) {
4191
- return router(...arguments);
4192
- }
4193
- return overloadedQuery;
4194
- }
4195
- var createExperience4 = /* @__PURE__ */ createRESTModule(createExperience3);
4196
- var getExperience4 = /* @__PURE__ */ createRESTModule(getExperience3);
4197
- var getExperienceBySlug4 = /* @__PURE__ */ createRESTModule(getExperienceBySlug3);
4198
- var updateExperience4 = /* @__PURE__ */ createRESTModule(updateExperience3);
4199
- var searchExperiences4 = /* @__PURE__ */ createRESTModule(searchExperiences3);
4200
- var bulkUpdateExperiences4 = /* @__PURE__ */ createRESTModule(bulkUpdateExperiences3);
4201
- var bulkUpdateExperienceTags4 = /* @__PURE__ */ createRESTModule(bulkUpdateExperienceTags3);
4202
- var bulkUpdateExperienceTagsByFilter4 = /* @__PURE__ */ createRESTModule(bulkUpdateExperienceTagsByFilter3);
4203
- var bulkArchiveExperiences4 = /* @__PURE__ */ createRESTModule(bulkArchiveExperiences3);
4204
- var bulkUnarchiveExperiences4 = /* @__PURE__ */ createRESTModule(bulkUnarchiveExperiences3);
4205
- var queryExperiences4 = /* @__PURE__ */ createRESTModule(customQueryExperiences);
4206
- var onExperienceCreated2 = /* @__PURE__ */ createEventModule(
4207
- onExperienceCreated
4208
- );
4209
- var onExperienceTagsModified2 = /* @__PURE__ */ createEventModule(
4210
- onExperienceTagsModified
4211
- );
4212
- var onExperienceUpdated2 = /* @__PURE__ */ createEventModule(
4213
- onExperienceUpdated
4214
- );
4215
- export {
4216
- AggregationType,
4217
- Alignment,
4218
- AppType,
4219
- AspectRatio,
4220
- BackdropType,
4221
- BackgroundType,
4222
- BannerPosition,
4223
- ButtonDataType,
4224
- CardDataBackgroundType,
4225
- CardStylesType,
4226
- ColumnSize,
4227
- Crop,
4228
- DayOfWeek,
4229
- DecorationType,
4230
- DesignTarget,
4231
- Direction,
4232
- DividerDataAlignment,
4233
- EntranceEffectType,
4234
- FontType,
4235
- GIFType,
4236
- GradientType,
4237
- ImagePosition,
4238
- ImagePositionPosition,
4239
- ImageScalingScaling,
4240
- Indentation,
4241
- InitialExpandedItems,
4242
- Interval,
4243
- LayerEffect,
4244
- Layout,
4245
- LayoutDataBackgroundType,
4246
- LayoutType,
4247
- LineCap,
4248
- LineStyle,
4249
- ListStyle,
4250
- LoopEffectType,
4251
- MapType,
4252
- MissingValues,
4253
- Mode,
4254
- NestedAggregationType,
4255
- NodeType,
4256
- NullValue,
4257
- Orientation,
4258
- Origin,
4259
- PaymentPolicyType,
4260
- Placement,
4261
- PlacementType,
4262
- PluginContainerDataAlignment,
4263
- PointerEffectType,
4264
- PollDesignBackgroundType,
4265
- PollLayoutDirection,
4266
- PollLayoutType,
4267
- Position,
4268
- Recurrence,
4269
- Resizing,
4270
- ResolutionMethod,
4271
- ResponsivenessBehaviour,
4272
- ScalarType,
4273
- Scaling,
4274
- SearchDetailsMode,
4275
- Shape,
4276
- SmartBlockDataType,
4277
- SortDirection,
4278
- SortOrder,
4279
- SortType,
4280
- Source,
4281
- StartDaysAndTimesDayOfWeek,
4282
- StylesPosition,
4283
- TableAssignmentType,
4284
- TableAvailabilityType,
4285
- TableManagementMode,
4286
- Target,
4287
- TextAlignment,
4288
- ThumbnailsAlignment,
4289
- Type,
4290
- Unit,
4291
- Variant,
4292
- VerticalAlignment,
4293
- VerticalAlignmentAlignment,
4294
- ViewMode,
4295
- ViewRole,
4296
- VoteRole,
4297
- WebhookIdentityType,
4298
- Width,
4299
- WidthType,
4300
- bulkArchiveExperiences4 as bulkArchiveExperiences,
4301
- bulkUnarchiveExperiences4 as bulkUnarchiveExperiences,
4302
- bulkUpdateExperienceTags4 as bulkUpdateExperienceTags,
4303
- bulkUpdateExperienceTagsByFilter4 as bulkUpdateExperienceTagsByFilter,
4304
- bulkUpdateExperiences4 as bulkUpdateExperiences,
4305
- createExperience4 as createExperience,
4306
- getExperience4 as getExperience,
4307
- getExperienceBySlug4 as getExperienceBySlug,
4308
- onExperienceCreated2 as onExperienceCreated,
4309
- onExperienceTagsModified2 as onExperienceTagsModified,
4310
- onExperienceUpdated2 as onExperienceUpdated,
4311
- queryExperiences4 as queryExperiences,
4312
- searchExperiences4 as searchExperiences,
4313
- updateExperience4 as updateExperience,
4314
- utils
4315
- };
4316
- //# sourceMappingURL=index.mjs.map