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