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