@wix/auto_sdk_table-reservations_experiences 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/build/cjs/index.d.ts +85 -0
  2. package/build/cjs/index.js +1781 -0
  3. package/build/cjs/index.js.map +1 -0
  4. package/build/cjs/index.typings.d.ts +3183 -0
  5. package/build/cjs/index.typings.js +1442 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +2934 -0
  8. package/build/cjs/meta.js +1240 -0
  9. package/build/cjs/meta.js.map +1 -0
  10. package/build/es/index.d.mts +85 -0
  11. package/build/es/index.mjs +1699 -0
  12. package/build/es/index.mjs.map +1 -0
  13. package/build/es/index.typings.d.mts +3183 -0
  14. package/build/es/index.typings.mjs +1363 -0
  15. package/build/es/index.typings.mjs.map +1 -0
  16. package/build/es/meta.d.mts +2934 -0
  17. package/build/es/meta.mjs +1158 -0
  18. package/build/es/meta.mjs.map +1 -0
  19. package/build/es/package.json +3 -0
  20. package/build/internal/cjs/index.d.ts +85 -0
  21. package/build/internal/cjs/index.js +1781 -0
  22. package/build/internal/cjs/index.js.map +1 -0
  23. package/build/internal/cjs/index.typings.d.ts +3183 -0
  24. package/build/internal/cjs/index.typings.js +1442 -0
  25. package/build/internal/cjs/index.typings.js.map +1 -0
  26. package/build/internal/cjs/meta.d.ts +2934 -0
  27. package/build/internal/cjs/meta.js +1240 -0
  28. package/build/internal/cjs/meta.js.map +1 -0
  29. package/build/internal/es/index.d.mts +85 -0
  30. package/build/internal/es/index.mjs +1699 -0
  31. package/build/internal/es/index.mjs.map +1 -0
  32. package/build/internal/es/index.typings.d.mts +3183 -0
  33. package/build/internal/es/index.typings.mjs +1363 -0
  34. package/build/internal/es/index.typings.mjs.map +1 -0
  35. package/build/internal/es/meta.d.mts +2934 -0
  36. package/build/internal/es/meta.mjs +1158 -0
  37. package/build/internal/es/meta.mjs.map +1 -0
  38. package/meta/package.json +3 -0
  39. package/package.json +54 -0
@@ -0,0 +1,1240 @@
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
+ // meta.ts
21
+ var meta_exports = {};
22
+ __export(meta_exports, {
23
+ AlignmentOriginal: () => Alignment,
24
+ AppTypeOriginal: () => AppType,
25
+ AspectRatioOriginal: () => AspectRatio,
26
+ BackgroundTypeOriginal: () => BackgroundType,
27
+ ButtonDataTypeOriginal: () => ButtonDataType,
28
+ CropOriginal: () => Crop,
29
+ DayOfWeekOriginal: () => DayOfWeek,
30
+ DecorationTypeOriginal: () => DecorationType,
31
+ DirectionOriginal: () => Direction,
32
+ DividerDataAlignmentOriginal: () => DividerDataAlignment,
33
+ FontTypeOriginal: () => FontType,
34
+ GIFTypeOriginal: () => GIFType,
35
+ InitialExpandedItemsOriginal: () => InitialExpandedItems,
36
+ LayoutOriginal: () => Layout,
37
+ LayoutTypeOriginal: () => LayoutType,
38
+ LineStyleOriginal: () => LineStyle,
39
+ MapTypeOriginal: () => MapType,
40
+ ModeOriginal: () => Mode,
41
+ NodeTypeOriginal: () => NodeType,
42
+ NullValueOriginal: () => NullValue,
43
+ OrientationOriginal: () => Orientation,
44
+ PaymentPolicyTypeOriginal: () => PaymentPolicyType,
45
+ PlacementOriginal: () => Placement,
46
+ PlacementTypeOriginal: () => PlacementType,
47
+ PluginContainerDataAlignmentOriginal: () => PluginContainerDataAlignment,
48
+ PollLayoutDirectionOriginal: () => PollLayoutDirection,
49
+ PollLayoutTypeOriginal: () => PollLayoutType,
50
+ PositionOriginal: () => Position,
51
+ RecurrenceOriginal: () => Recurrence,
52
+ ResizingOriginal: () => Resizing,
53
+ ResolutionMethodOriginal: () => ResolutionMethod,
54
+ SortOrderOriginal: () => SortOrder,
55
+ SourceOriginal: () => Source,
56
+ StartDaysAndTimesDayOfWeekOriginal: () => StartDaysAndTimesDayOfWeek,
57
+ StylesPositionOriginal: () => StylesPosition,
58
+ TableAssignmentTypeOriginal: () => TableAssignmentType,
59
+ TableAvailabilityTypeOriginal: () => TableAvailabilityType,
60
+ TableManagementModeOriginal: () => TableManagementMode,
61
+ TargetOriginal: () => Target,
62
+ TextAlignmentOriginal: () => TextAlignment,
63
+ ThumbnailsAlignmentOriginal: () => ThumbnailsAlignment,
64
+ TypeOriginal: () => Type,
65
+ UnitOriginal: () => Unit,
66
+ VerticalAlignmentOriginal: () => VerticalAlignment,
67
+ ViewModeOriginal: () => ViewMode,
68
+ ViewRoleOriginal: () => ViewRole,
69
+ VoteRoleOriginal: () => VoteRole,
70
+ WebhookIdentityTypeOriginal: () => WebhookIdentityType,
71
+ WidthOriginal: () => Width,
72
+ WidthTypeOriginal: () => WidthType,
73
+ bulkUpdateExperienceTags: () => bulkUpdateExperienceTags2,
74
+ bulkUpdateExperienceTagsByFilter: () => bulkUpdateExperienceTagsByFilter2,
75
+ createExperience: () => createExperience2,
76
+ getExperience: () => getExperience2,
77
+ queryExperiences: () => queryExperiences2,
78
+ updateExperience: () => updateExperience2
79
+ });
80
+ module.exports = __toCommonJS(meta_exports);
81
+
82
+ // src/table-reservations-v1-experience-experiences.http.ts
83
+ var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
84
+ var import_float = require("@wix/sdk-runtime/transformations/float");
85
+ var import_float2 = require("@wix/sdk-runtime/transformations/float");
86
+ var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
87
+ var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
88
+ var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
89
+ var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
90
+ var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
91
+ function resolveWixTableReservationsExperienceV1ExperiencesServiceUrl(opts) {
92
+ const domainToMappings = {
93
+ "manage._base_domain_": [
94
+ {
95
+ srcPath: "/_api/experiences",
96
+ destPath: ""
97
+ },
98
+ {
99
+ srcPath: "/_api/table-reservations/experiences",
100
+ destPath: ""
101
+ }
102
+ ],
103
+ "bo._base_domain_": [
104
+ {
105
+ srcPath: "/_api/table-reservations/experiences",
106
+ destPath: ""
107
+ }
108
+ ],
109
+ "wixbo.ai": [
110
+ {
111
+ srcPath: "/_api/table-reservations/experiences",
112
+ destPath: ""
113
+ }
114
+ ],
115
+ "wix-bo.com": [
116
+ {
117
+ srcPath: "/_api/table-reservations/experiences",
118
+ destPath: ""
119
+ }
120
+ ],
121
+ "editor._base_domain_": [
122
+ {
123
+ srcPath: "/_api/table-reservations/experiences",
124
+ destPath: ""
125
+ }
126
+ ],
127
+ "blocks._base_domain_": [
128
+ {
129
+ srcPath: "/_api/table-reservations/experiences",
130
+ destPath: ""
131
+ }
132
+ ],
133
+ "create.editorx": [
134
+ {
135
+ srcPath: "/_api/table-reservations/experiences",
136
+ destPath: ""
137
+ }
138
+ ],
139
+ "dev._base_domain_": [
140
+ {
141
+ srcPath: "/_api/table-reservations/experiences",
142
+ destPath: ""
143
+ }
144
+ ],
145
+ "apps._base_domain_": [
146
+ {
147
+ srcPath: "/_api/table-reservations/experiences",
148
+ destPath: ""
149
+ }
150
+ ],
151
+ "www.wixapis.com": [
152
+ {
153
+ srcPath: "/table-reservations/experiences",
154
+ destPath: ""
155
+ }
156
+ ],
157
+ "*.dev.wix-code.com": [
158
+ {
159
+ srcPath: "/_api/table-reservations/experiences",
160
+ destPath: ""
161
+ }
162
+ ],
163
+ "www._base_domain_": [
164
+ {
165
+ srcPath: "/_api/table-reservations/experiences",
166
+ destPath: ""
167
+ }
168
+ ],
169
+ "editor.wixapps.net": [
170
+ {
171
+ srcPath: "/_api/table-reservations/experiences",
172
+ destPath: ""
173
+ }
174
+ ],
175
+ _: [
176
+ {
177
+ srcPath: "/_api/table-reservations/experiences",
178
+ destPath: ""
179
+ }
180
+ ]
181
+ };
182
+ return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
183
+ }
184
+ var PACKAGE_NAME = "@wix/auto_sdk_table-reservations_experiences";
185
+ function createExperience(payload) {
186
+ function __createExperience({ host }) {
187
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
188
+ {
189
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
190
+ paths: [
191
+ { path: "experience.createdDate" },
192
+ { path: "experience.updatedDate" },
193
+ {
194
+ path: "experience.configuration.displayInfo.richContent.metadata.createdTimestamp"
195
+ },
196
+ {
197
+ path: "experience.configuration.displayInfo.richContent.metadata.updatedTimestamp"
198
+ }
199
+ ]
200
+ },
201
+ {
202
+ transformFn: import_float.transformSDKFloatToRESTFloat,
203
+ paths: [
204
+ {
205
+ path: "experience.configuration.displayInfo.richContent.nodes.galleryData.items.image.media.duration"
206
+ },
207
+ {
208
+ path: "experience.configuration.displayInfo.richContent.nodes.galleryData.items.video.media.duration"
209
+ },
210
+ {
211
+ path: "experience.configuration.displayInfo.richContent.nodes.galleryData.items.video.thumbnail.duration"
212
+ },
213
+ {
214
+ path: "experience.configuration.displayInfo.richContent.nodes.galleryData.options.item.ratio"
215
+ },
216
+ {
217
+ path: "experience.configuration.displayInfo.richContent.nodes.imageData.image.duration"
218
+ },
219
+ {
220
+ path: "experience.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lat"
221
+ },
222
+ {
223
+ path: "experience.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lng"
224
+ },
225
+ {
226
+ path: "experience.configuration.displayInfo.richContent.nodes.pollData.poll.image.duration"
227
+ },
228
+ {
229
+ path: "experience.configuration.displayInfo.richContent.nodes.pollData.poll.options.image.duration"
230
+ },
231
+ {
232
+ path: "experience.configuration.displayInfo.richContent.nodes.pollData.design.poll.background.image.duration"
233
+ },
234
+ {
235
+ path: "experience.configuration.displayInfo.richContent.nodes.appEmbedData.image.duration"
236
+ },
237
+ {
238
+ path: "experience.configuration.displayInfo.richContent.nodes.videoData.video.duration"
239
+ },
240
+ {
241
+ path: "experience.configuration.displayInfo.richContent.nodes.videoData.thumbnail.duration"
242
+ },
243
+ {
244
+ path: "experience.configuration.displayInfo.richContent.nodes.audioData.audio.duration"
245
+ },
246
+ {
247
+ path: "experience.configuration.displayInfo.richContent.nodes.audioData.coverImage.duration"
248
+ }
249
+ ]
250
+ }
251
+ ]);
252
+ const metadata = {
253
+ entityFqdn: "wix.table_reservations.v1.experience",
254
+ method: "POST",
255
+ methodFqn: "wix.table_reservations.experience.v1.ExperiencesService.CreateExperience",
256
+ packageName: PACKAGE_NAME,
257
+ migrationOptions: {
258
+ optInTransformResponse: true
259
+ },
260
+ url: resolveWixTableReservationsExperienceV1ExperiencesServiceUrl({
261
+ protoPath: "/v1/experiences",
262
+ data: serializedData,
263
+ host
264
+ }),
265
+ data: serializedData,
266
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
267
+ {
268
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
269
+ paths: [
270
+ { path: "experience.createdDate" },
271
+ { path: "experience.updatedDate" },
272
+ {
273
+ path: "experience.configuration.displayInfo.richContent.metadata.createdTimestamp"
274
+ },
275
+ {
276
+ path: "experience.configuration.displayInfo.richContent.metadata.updatedTimestamp"
277
+ }
278
+ ]
279
+ },
280
+ {
281
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
282
+ paths: [
283
+ {
284
+ path: "experience.configuration.displayInfo.richContent.nodes.galleryData.items.image.media.duration"
285
+ },
286
+ {
287
+ path: "experience.configuration.displayInfo.richContent.nodes.galleryData.items.video.media.duration"
288
+ },
289
+ {
290
+ path: "experience.configuration.displayInfo.richContent.nodes.galleryData.items.video.thumbnail.duration"
291
+ },
292
+ {
293
+ path: "experience.configuration.displayInfo.richContent.nodes.galleryData.options.item.ratio"
294
+ },
295
+ {
296
+ path: "experience.configuration.displayInfo.richContent.nodes.imageData.image.duration"
297
+ },
298
+ {
299
+ path: "experience.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lat"
300
+ },
301
+ {
302
+ path: "experience.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lng"
303
+ },
304
+ {
305
+ path: "experience.configuration.displayInfo.richContent.nodes.pollData.poll.image.duration"
306
+ },
307
+ {
308
+ path: "experience.configuration.displayInfo.richContent.nodes.pollData.poll.options.image.duration"
309
+ },
310
+ {
311
+ path: "experience.configuration.displayInfo.richContent.nodes.pollData.design.poll.background.image.duration"
312
+ },
313
+ {
314
+ path: "experience.configuration.displayInfo.richContent.nodes.appEmbedData.image.duration"
315
+ },
316
+ {
317
+ path: "experience.configuration.displayInfo.richContent.nodes.videoData.video.duration"
318
+ },
319
+ {
320
+ path: "experience.configuration.displayInfo.richContent.nodes.videoData.thumbnail.duration"
321
+ },
322
+ {
323
+ path: "experience.configuration.displayInfo.richContent.nodes.audioData.audio.duration"
324
+ },
325
+ {
326
+ path: "experience.configuration.displayInfo.richContent.nodes.audioData.coverImage.duration"
327
+ }
328
+ ]
329
+ }
330
+ ])
331
+ };
332
+ return metadata;
333
+ }
334
+ return __createExperience;
335
+ }
336
+ function getExperience(payload) {
337
+ function __getExperience({ host }) {
338
+ const metadata = {
339
+ entityFqdn: "wix.table_reservations.v1.experience",
340
+ method: "GET",
341
+ methodFqn: "wix.table_reservations.experience.v1.ExperiencesService.GetExperience",
342
+ packageName: PACKAGE_NAME,
343
+ migrationOptions: {
344
+ optInTransformResponse: true
345
+ },
346
+ url: resolveWixTableReservationsExperienceV1ExperiencesServiceUrl({
347
+ protoPath: "/v1/experiences/{experienceId}",
348
+ data: payload,
349
+ host
350
+ }),
351
+ params: (0, import_rest_modules.toURLSearchParams)(payload),
352
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
353
+ {
354
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
355
+ paths: [
356
+ { path: "experience.createdDate" },
357
+ { path: "experience.updatedDate" },
358
+ {
359
+ path: "experience.configuration.displayInfo.richContent.metadata.createdTimestamp"
360
+ },
361
+ {
362
+ path: "experience.configuration.displayInfo.richContent.metadata.updatedTimestamp"
363
+ }
364
+ ]
365
+ },
366
+ {
367
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
368
+ paths: [
369
+ {
370
+ path: "experience.configuration.displayInfo.richContent.nodes.galleryData.items.image.media.duration"
371
+ },
372
+ {
373
+ path: "experience.configuration.displayInfo.richContent.nodes.galleryData.items.video.media.duration"
374
+ },
375
+ {
376
+ path: "experience.configuration.displayInfo.richContent.nodes.galleryData.items.video.thumbnail.duration"
377
+ },
378
+ {
379
+ path: "experience.configuration.displayInfo.richContent.nodes.galleryData.options.item.ratio"
380
+ },
381
+ {
382
+ path: "experience.configuration.displayInfo.richContent.nodes.imageData.image.duration"
383
+ },
384
+ {
385
+ path: "experience.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lat"
386
+ },
387
+ {
388
+ path: "experience.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lng"
389
+ },
390
+ {
391
+ path: "experience.configuration.displayInfo.richContent.nodes.pollData.poll.image.duration"
392
+ },
393
+ {
394
+ path: "experience.configuration.displayInfo.richContent.nodes.pollData.poll.options.image.duration"
395
+ },
396
+ {
397
+ path: "experience.configuration.displayInfo.richContent.nodes.pollData.design.poll.background.image.duration"
398
+ },
399
+ {
400
+ path: "experience.configuration.displayInfo.richContent.nodes.appEmbedData.image.duration"
401
+ },
402
+ {
403
+ path: "experience.configuration.displayInfo.richContent.nodes.videoData.video.duration"
404
+ },
405
+ {
406
+ path: "experience.configuration.displayInfo.richContent.nodes.videoData.thumbnail.duration"
407
+ },
408
+ {
409
+ path: "experience.configuration.displayInfo.richContent.nodes.audioData.audio.duration"
410
+ },
411
+ {
412
+ path: "experience.configuration.displayInfo.richContent.nodes.audioData.coverImage.duration"
413
+ }
414
+ ]
415
+ }
416
+ ])
417
+ };
418
+ return metadata;
419
+ }
420
+ return __getExperience;
421
+ }
422
+ function updateExperience(payload) {
423
+ function __updateExperience({ host }) {
424
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
425
+ {
426
+ transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
427
+ paths: [{ path: "fieldMask" }]
428
+ },
429
+ {
430
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
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_float.transformSDKFloatToRESTFloat,
444
+ paths: [
445
+ {
446
+ path: "experience.configuration.displayInfo.richContent.nodes.galleryData.items.image.media.duration"
447
+ },
448
+ {
449
+ path: "experience.configuration.displayInfo.richContent.nodes.galleryData.items.video.media.duration"
450
+ },
451
+ {
452
+ path: "experience.configuration.displayInfo.richContent.nodes.galleryData.items.video.thumbnail.duration"
453
+ },
454
+ {
455
+ path: "experience.configuration.displayInfo.richContent.nodes.galleryData.options.item.ratio"
456
+ },
457
+ {
458
+ path: "experience.configuration.displayInfo.richContent.nodes.imageData.image.duration"
459
+ },
460
+ {
461
+ path: "experience.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lat"
462
+ },
463
+ {
464
+ path: "experience.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lng"
465
+ },
466
+ {
467
+ path: "experience.configuration.displayInfo.richContent.nodes.pollData.poll.image.duration"
468
+ },
469
+ {
470
+ path: "experience.configuration.displayInfo.richContent.nodes.pollData.poll.options.image.duration"
471
+ },
472
+ {
473
+ path: "experience.configuration.displayInfo.richContent.nodes.pollData.design.poll.background.image.duration"
474
+ },
475
+ {
476
+ path: "experience.configuration.displayInfo.richContent.nodes.appEmbedData.image.duration"
477
+ },
478
+ {
479
+ path: "experience.configuration.displayInfo.richContent.nodes.videoData.video.duration"
480
+ },
481
+ {
482
+ path: "experience.configuration.displayInfo.richContent.nodes.videoData.thumbnail.duration"
483
+ },
484
+ {
485
+ path: "experience.configuration.displayInfo.richContent.nodes.audioData.audio.duration"
486
+ },
487
+ {
488
+ path: "experience.configuration.displayInfo.richContent.nodes.audioData.coverImage.duration"
489
+ }
490
+ ]
491
+ }
492
+ ]);
493
+ const metadata = {
494
+ entityFqdn: "wix.table_reservations.v1.experience",
495
+ method: "PATCH",
496
+ methodFqn: "wix.table_reservations.experience.v1.ExperiencesService.UpdateExperience",
497
+ packageName: PACKAGE_NAME,
498
+ migrationOptions: {
499
+ optInTransformResponse: true
500
+ },
501
+ url: resolveWixTableReservationsExperienceV1ExperiencesServiceUrl({
502
+ protoPath: "/v1/experiences/{experience.id}",
503
+ data: serializedData,
504
+ host
505
+ }),
506
+ data: serializedData,
507
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
508
+ {
509
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
510
+ paths: [
511
+ { path: "experience.createdDate" },
512
+ { path: "experience.updatedDate" },
513
+ {
514
+ path: "experience.configuration.displayInfo.richContent.metadata.createdTimestamp"
515
+ },
516
+ {
517
+ path: "experience.configuration.displayInfo.richContent.metadata.updatedTimestamp"
518
+ }
519
+ ]
520
+ },
521
+ {
522
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
523
+ paths: [
524
+ {
525
+ path: "experience.configuration.displayInfo.richContent.nodes.galleryData.items.image.media.duration"
526
+ },
527
+ {
528
+ path: "experience.configuration.displayInfo.richContent.nodes.galleryData.items.video.media.duration"
529
+ },
530
+ {
531
+ path: "experience.configuration.displayInfo.richContent.nodes.galleryData.items.video.thumbnail.duration"
532
+ },
533
+ {
534
+ path: "experience.configuration.displayInfo.richContent.nodes.galleryData.options.item.ratio"
535
+ },
536
+ {
537
+ path: "experience.configuration.displayInfo.richContent.nodes.imageData.image.duration"
538
+ },
539
+ {
540
+ path: "experience.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lat"
541
+ },
542
+ {
543
+ path: "experience.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lng"
544
+ },
545
+ {
546
+ path: "experience.configuration.displayInfo.richContent.nodes.pollData.poll.image.duration"
547
+ },
548
+ {
549
+ path: "experience.configuration.displayInfo.richContent.nodes.pollData.poll.options.image.duration"
550
+ },
551
+ {
552
+ path: "experience.configuration.displayInfo.richContent.nodes.pollData.design.poll.background.image.duration"
553
+ },
554
+ {
555
+ path: "experience.configuration.displayInfo.richContent.nodes.appEmbedData.image.duration"
556
+ },
557
+ {
558
+ path: "experience.configuration.displayInfo.richContent.nodes.videoData.video.duration"
559
+ },
560
+ {
561
+ path: "experience.configuration.displayInfo.richContent.nodes.videoData.thumbnail.duration"
562
+ },
563
+ {
564
+ path: "experience.configuration.displayInfo.richContent.nodes.audioData.audio.duration"
565
+ },
566
+ {
567
+ path: "experience.configuration.displayInfo.richContent.nodes.audioData.coverImage.duration"
568
+ }
569
+ ]
570
+ }
571
+ ])
572
+ };
573
+ return metadata;
574
+ }
575
+ return __updateExperience;
576
+ }
577
+ function queryExperiences(payload) {
578
+ function __queryExperiences({ host }) {
579
+ const metadata = {
580
+ entityFqdn: "wix.table_reservations.v1.experience",
581
+ method: "GET",
582
+ methodFqn: "wix.table_reservations.experience.v1.ExperiencesService.QueryExperiences",
583
+ packageName: PACKAGE_NAME,
584
+ migrationOptions: {
585
+ optInTransformResponse: true
586
+ },
587
+ url: resolveWixTableReservationsExperienceV1ExperiencesServiceUrl({
588
+ protoPath: "/v1/experiences/query",
589
+ data: payload,
590
+ host
591
+ }),
592
+ params: (0, import_rest_modules.toURLSearchParams)(payload, true),
593
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
594
+ {
595
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
596
+ paths: [
597
+ { path: "experiences.createdDate" },
598
+ { path: "experiences.updatedDate" },
599
+ {
600
+ path: "experiences.configuration.displayInfo.richContent.metadata.createdTimestamp"
601
+ },
602
+ {
603
+ path: "experiences.configuration.displayInfo.richContent.metadata.updatedTimestamp"
604
+ }
605
+ ]
606
+ },
607
+ {
608
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
609
+ paths: [
610
+ {
611
+ path: "experiences.configuration.displayInfo.richContent.nodes.galleryData.items.image.media.duration"
612
+ },
613
+ {
614
+ path: "experiences.configuration.displayInfo.richContent.nodes.galleryData.items.video.media.duration"
615
+ },
616
+ {
617
+ path: "experiences.configuration.displayInfo.richContent.nodes.galleryData.items.video.thumbnail.duration"
618
+ },
619
+ {
620
+ path: "experiences.configuration.displayInfo.richContent.nodes.galleryData.options.item.ratio"
621
+ },
622
+ {
623
+ path: "experiences.configuration.displayInfo.richContent.nodes.imageData.image.duration"
624
+ },
625
+ {
626
+ path: "experiences.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lat"
627
+ },
628
+ {
629
+ path: "experiences.configuration.displayInfo.richContent.nodes.mapData.mapSettings.lng"
630
+ },
631
+ {
632
+ path: "experiences.configuration.displayInfo.richContent.nodes.pollData.poll.image.duration"
633
+ },
634
+ {
635
+ path: "experiences.configuration.displayInfo.richContent.nodes.pollData.poll.options.image.duration"
636
+ },
637
+ {
638
+ path: "experiences.configuration.displayInfo.richContent.nodes.pollData.design.poll.background.image.duration"
639
+ },
640
+ {
641
+ path: "experiences.configuration.displayInfo.richContent.nodes.appEmbedData.image.duration"
642
+ },
643
+ {
644
+ path: "experiences.configuration.displayInfo.richContent.nodes.videoData.video.duration"
645
+ },
646
+ {
647
+ path: "experiences.configuration.displayInfo.richContent.nodes.videoData.thumbnail.duration"
648
+ },
649
+ {
650
+ path: "experiences.configuration.displayInfo.richContent.nodes.audioData.audio.duration"
651
+ },
652
+ {
653
+ path: "experiences.configuration.displayInfo.richContent.nodes.audioData.coverImage.duration"
654
+ }
655
+ ]
656
+ }
657
+ ]),
658
+ fallback: [
659
+ {
660
+ method: "POST",
661
+ url: resolveWixTableReservationsExperienceV1ExperiencesServiceUrl({
662
+ protoPath: "/v1/experiences/query",
663
+ data: payload,
664
+ host
665
+ }),
666
+ data: payload
667
+ }
668
+ ]
669
+ };
670
+ return metadata;
671
+ }
672
+ return __queryExperiences;
673
+ }
674
+ function bulkUpdateExperienceTags(payload) {
675
+ function __bulkUpdateExperienceTags({ host }) {
676
+ const metadata = {
677
+ entityFqdn: "wix.table_reservations.v1.experience",
678
+ method: "POST",
679
+ methodFqn: "wix.table_reservations.experience.v1.ExperiencesService.BulkUpdateExperienceTags",
680
+ packageName: PACKAGE_NAME,
681
+ migrationOptions: {
682
+ optInTransformResponse: true
683
+ },
684
+ url: resolveWixTableReservationsExperienceV1ExperiencesServiceUrl({
685
+ protoPath: "/v1/bulk/experiences/update-tags",
686
+ data: payload,
687
+ host
688
+ }),
689
+ data: payload
690
+ };
691
+ return metadata;
692
+ }
693
+ return __bulkUpdateExperienceTags;
694
+ }
695
+ function bulkUpdateExperienceTagsByFilter(payload) {
696
+ function __bulkUpdateExperienceTagsByFilter({ host }) {
697
+ const metadata = {
698
+ entityFqdn: "wix.table_reservations.v1.experience",
699
+ method: "POST",
700
+ methodFqn: "wix.table_reservations.experience.v1.ExperiencesService.BulkUpdateExperienceTagsByFilter",
701
+ packageName: PACKAGE_NAME,
702
+ migrationOptions: {
703
+ optInTransformResponse: true
704
+ },
705
+ url: resolveWixTableReservationsExperienceV1ExperiencesServiceUrl({
706
+ protoPath: "/v1/bulk/experiences/update-tags-by-filter",
707
+ data: payload,
708
+ host
709
+ }),
710
+ data: payload
711
+ };
712
+ return metadata;
713
+ }
714
+ return __bulkUpdateExperienceTagsByFilter;
715
+ }
716
+
717
+ // src/table-reservations-v1-experience-experiences.types.ts
718
+ var TableAvailabilityType = /* @__PURE__ */ ((TableAvailabilityType2) => {
719
+ TableAvailabilityType2["UNKNOWN_TABLE_AVAILABILITY_TYPE"] = "UNKNOWN_TABLE_AVAILABILITY_TYPE";
720
+ TableAvailabilityType2["ANY_ONLINE_TABLE"] = "ANY_ONLINE_TABLE";
721
+ TableAvailabilityType2["SPECIFIC_TABLES"] = "SPECIFIC_TABLES";
722
+ return TableAvailabilityType2;
723
+ })(TableAvailabilityType || {});
724
+ var TableAssignmentType = /* @__PURE__ */ ((TableAssignmentType2) => {
725
+ TableAssignmentType2["UNKNOWN_ASSIGMENT_TYPE"] = "UNKNOWN_ASSIGMENT_TYPE";
726
+ TableAssignmentType2["AUTOMATIC"] = "AUTOMATIC";
727
+ TableAssignmentType2["MANUAL"] = "MANUAL";
728
+ return TableAssignmentType2;
729
+ })(TableAssignmentType || {});
730
+ var TableManagementMode = /* @__PURE__ */ ((TableManagementMode2) => {
731
+ TableManagementMode2["UNKNOWN_MODE"] = "UNKNOWN_MODE";
732
+ TableManagementMode2["ON"] = "ON";
733
+ TableManagementMode2["OFF"] = "OFF";
734
+ return TableManagementMode2;
735
+ })(TableManagementMode || {});
736
+ var Unit = /* @__PURE__ */ ((Unit2) => {
737
+ Unit2["UNKNOWN_UNIT"] = "UNKNOWN_UNIT";
738
+ Unit2["MINUTES"] = "MINUTES";
739
+ Unit2["HOURS"] = "HOURS";
740
+ Unit2["DAYS"] = "DAYS";
741
+ return Unit2;
742
+ })(Unit || {});
743
+ var Mode = /* @__PURE__ */ ((Mode2) => {
744
+ Mode2["UNKNOWN_MODE"] = "UNKNOWN_MODE";
745
+ Mode2["AUTOMATIC"] = "AUTOMATIC";
746
+ Mode2["MANUAL"] = "MANUAL";
747
+ return Mode2;
748
+ })(Mode || {});
749
+ var StartDaysAndTimesDayOfWeek = /* @__PURE__ */ ((StartDaysAndTimesDayOfWeek2) => {
750
+ StartDaysAndTimesDayOfWeek2["MONDAY"] = "MONDAY";
751
+ StartDaysAndTimesDayOfWeek2["TUESDAY"] = "TUESDAY";
752
+ StartDaysAndTimesDayOfWeek2["WEDNESDAY"] = "WEDNESDAY";
753
+ StartDaysAndTimesDayOfWeek2["THURSDAY"] = "THURSDAY";
754
+ StartDaysAndTimesDayOfWeek2["FRIDAY"] = "FRIDAY";
755
+ StartDaysAndTimesDayOfWeek2["SATURDAY"] = "SATURDAY";
756
+ StartDaysAndTimesDayOfWeek2["SUNDAY"] = "SUNDAY";
757
+ return StartDaysAndTimesDayOfWeek2;
758
+ })(StartDaysAndTimesDayOfWeek || {});
759
+ var Recurrence = /* @__PURE__ */ ((Recurrence2) => {
760
+ Recurrence2["UNKNOWN_RECURRENCE"] = "UNKNOWN_RECURRENCE";
761
+ Recurrence2["WEEKLY"] = "WEEKLY";
762
+ Recurrence2["ONE_TIME"] = "ONE_TIME";
763
+ return Recurrence2;
764
+ })(Recurrence || {});
765
+ var NodeType = /* @__PURE__ */ ((NodeType2) => {
766
+ NodeType2["PARAGRAPH"] = "PARAGRAPH";
767
+ NodeType2["TEXT"] = "TEXT";
768
+ NodeType2["HEADING"] = "HEADING";
769
+ NodeType2["BULLETED_LIST"] = "BULLETED_LIST";
770
+ NodeType2["ORDERED_LIST"] = "ORDERED_LIST";
771
+ NodeType2["LIST_ITEM"] = "LIST_ITEM";
772
+ NodeType2["BLOCKQUOTE"] = "BLOCKQUOTE";
773
+ NodeType2["CODE_BLOCK"] = "CODE_BLOCK";
774
+ NodeType2["VIDEO"] = "VIDEO";
775
+ NodeType2["DIVIDER"] = "DIVIDER";
776
+ NodeType2["FILE"] = "FILE";
777
+ NodeType2["GALLERY"] = "GALLERY";
778
+ NodeType2["GIF"] = "GIF";
779
+ NodeType2["HTML"] = "HTML";
780
+ NodeType2["IMAGE"] = "IMAGE";
781
+ NodeType2["LINK_PREVIEW"] = "LINK_PREVIEW";
782
+ NodeType2["MAP"] = "MAP";
783
+ NodeType2["POLL"] = "POLL";
784
+ NodeType2["APP_EMBED"] = "APP_EMBED";
785
+ NodeType2["BUTTON"] = "BUTTON";
786
+ NodeType2["COLLAPSIBLE_LIST"] = "COLLAPSIBLE_LIST";
787
+ NodeType2["TABLE"] = "TABLE";
788
+ NodeType2["EMBED"] = "EMBED";
789
+ NodeType2["COLLAPSIBLE_ITEM"] = "COLLAPSIBLE_ITEM";
790
+ NodeType2["COLLAPSIBLE_ITEM_TITLE"] = "COLLAPSIBLE_ITEM_TITLE";
791
+ NodeType2["COLLAPSIBLE_ITEM_BODY"] = "COLLAPSIBLE_ITEM_BODY";
792
+ NodeType2["TABLE_CELL"] = "TABLE_CELL";
793
+ NodeType2["TABLE_ROW"] = "TABLE_ROW";
794
+ NodeType2["EXTERNAL"] = "EXTERNAL";
795
+ NodeType2["AUDIO"] = "AUDIO";
796
+ NodeType2["CAPTION"] = "CAPTION";
797
+ NodeType2["LAYOUT"] = "LAYOUT";
798
+ NodeType2["LAYOUT_CELL"] = "LAYOUT_CELL";
799
+ return NodeType2;
800
+ })(NodeType || {});
801
+ var WidthType = /* @__PURE__ */ ((WidthType2) => {
802
+ WidthType2["CONTENT"] = "CONTENT";
803
+ WidthType2["SMALL"] = "SMALL";
804
+ WidthType2["ORIGINAL"] = "ORIGINAL";
805
+ WidthType2["FULL_WIDTH"] = "FULL_WIDTH";
806
+ return WidthType2;
807
+ })(WidthType || {});
808
+ var PluginContainerDataAlignment = /* @__PURE__ */ ((PluginContainerDataAlignment2) => {
809
+ PluginContainerDataAlignment2["CENTER"] = "CENTER";
810
+ PluginContainerDataAlignment2["LEFT"] = "LEFT";
811
+ PluginContainerDataAlignment2["RIGHT"] = "RIGHT";
812
+ return PluginContainerDataAlignment2;
813
+ })(PluginContainerDataAlignment || {});
814
+ var ButtonDataType = /* @__PURE__ */ ((ButtonDataType2) => {
815
+ ButtonDataType2["LINK"] = "LINK";
816
+ ButtonDataType2["ACTION"] = "ACTION";
817
+ return ButtonDataType2;
818
+ })(ButtonDataType || {});
819
+ var Target = /* @__PURE__ */ ((Target2) => {
820
+ Target2["SELF"] = "SELF";
821
+ Target2["BLANK"] = "BLANK";
822
+ Target2["PARENT"] = "PARENT";
823
+ Target2["TOP"] = "TOP";
824
+ return Target2;
825
+ })(Target || {});
826
+ var TextAlignment = /* @__PURE__ */ ((TextAlignment2) => {
827
+ TextAlignment2["AUTO"] = "AUTO";
828
+ TextAlignment2["LEFT"] = "LEFT";
829
+ TextAlignment2["RIGHT"] = "RIGHT";
830
+ TextAlignment2["CENTER"] = "CENTER";
831
+ TextAlignment2["JUSTIFY"] = "JUSTIFY";
832
+ return TextAlignment2;
833
+ })(TextAlignment || {});
834
+ var LineStyle = /* @__PURE__ */ ((LineStyle2) => {
835
+ LineStyle2["SINGLE"] = "SINGLE";
836
+ LineStyle2["DOUBLE"] = "DOUBLE";
837
+ LineStyle2["DASHED"] = "DASHED";
838
+ LineStyle2["DOTTED"] = "DOTTED";
839
+ return LineStyle2;
840
+ })(LineStyle || {});
841
+ var Width = /* @__PURE__ */ ((Width2) => {
842
+ Width2["LARGE"] = "LARGE";
843
+ Width2["MEDIUM"] = "MEDIUM";
844
+ Width2["SMALL"] = "SMALL";
845
+ return Width2;
846
+ })(Width || {});
847
+ var DividerDataAlignment = /* @__PURE__ */ ((DividerDataAlignment2) => {
848
+ DividerDataAlignment2["CENTER"] = "CENTER";
849
+ DividerDataAlignment2["LEFT"] = "LEFT";
850
+ DividerDataAlignment2["RIGHT"] = "RIGHT";
851
+ return DividerDataAlignment2;
852
+ })(DividerDataAlignment || {});
853
+ var ViewMode = /* @__PURE__ */ ((ViewMode2) => {
854
+ ViewMode2["NONE"] = "NONE";
855
+ ViewMode2["FULL"] = "FULL";
856
+ ViewMode2["MINI"] = "MINI";
857
+ return ViewMode2;
858
+ })(ViewMode || {});
859
+ var LayoutType = /* @__PURE__ */ ((LayoutType2) => {
860
+ LayoutType2["COLLAGE"] = "COLLAGE";
861
+ LayoutType2["MASONRY"] = "MASONRY";
862
+ LayoutType2["GRID"] = "GRID";
863
+ LayoutType2["THUMBNAIL"] = "THUMBNAIL";
864
+ LayoutType2["SLIDER"] = "SLIDER";
865
+ LayoutType2["SLIDESHOW"] = "SLIDESHOW";
866
+ LayoutType2["PANORAMA"] = "PANORAMA";
867
+ LayoutType2["COLUMN"] = "COLUMN";
868
+ LayoutType2["MAGIC"] = "MAGIC";
869
+ LayoutType2["FULLSIZE"] = "FULLSIZE";
870
+ return LayoutType2;
871
+ })(LayoutType || {});
872
+ var Orientation = /* @__PURE__ */ ((Orientation2) => {
873
+ Orientation2["ROWS"] = "ROWS";
874
+ Orientation2["COLUMNS"] = "COLUMNS";
875
+ return Orientation2;
876
+ })(Orientation || {});
877
+ var Crop = /* @__PURE__ */ ((Crop2) => {
878
+ Crop2["FILL"] = "FILL";
879
+ Crop2["FIT"] = "FIT";
880
+ return Crop2;
881
+ })(Crop || {});
882
+ var ThumbnailsAlignment = /* @__PURE__ */ ((ThumbnailsAlignment2) => {
883
+ ThumbnailsAlignment2["TOP"] = "TOP";
884
+ ThumbnailsAlignment2["RIGHT"] = "RIGHT";
885
+ ThumbnailsAlignment2["BOTTOM"] = "BOTTOM";
886
+ ThumbnailsAlignment2["LEFT"] = "LEFT";
887
+ ThumbnailsAlignment2["NONE"] = "NONE";
888
+ return ThumbnailsAlignment2;
889
+ })(ThumbnailsAlignment || {});
890
+ var GIFType = /* @__PURE__ */ ((GIFType2) => {
891
+ GIFType2["NORMAL"] = "NORMAL";
892
+ GIFType2["STICKER"] = "STICKER";
893
+ return GIFType2;
894
+ })(GIFType || {});
895
+ var Source = /* @__PURE__ */ ((Source2) => {
896
+ Source2["HTML"] = "HTML";
897
+ Source2["ADSENSE"] = "ADSENSE";
898
+ return Source2;
899
+ })(Source || {});
900
+ var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
901
+ StylesPosition2["START"] = "START";
902
+ StylesPosition2["END"] = "END";
903
+ StylesPosition2["TOP"] = "TOP";
904
+ StylesPosition2["HIDDEN"] = "HIDDEN";
905
+ return StylesPosition2;
906
+ })(StylesPosition || {});
907
+ var MapType = /* @__PURE__ */ ((MapType2) => {
908
+ MapType2["ROADMAP"] = "ROADMAP";
909
+ MapType2["SATELITE"] = "SATELITE";
910
+ MapType2["HYBRID"] = "HYBRID";
911
+ MapType2["TERRAIN"] = "TERRAIN";
912
+ return MapType2;
913
+ })(MapType || {});
914
+ var ViewRole = /* @__PURE__ */ ((ViewRole2) => {
915
+ ViewRole2["CREATOR"] = "CREATOR";
916
+ ViewRole2["VOTERS"] = "VOTERS";
917
+ ViewRole2["EVERYONE"] = "EVERYONE";
918
+ return ViewRole2;
919
+ })(ViewRole || {});
920
+ var VoteRole = /* @__PURE__ */ ((VoteRole2) => {
921
+ VoteRole2["SITE_MEMBERS"] = "SITE_MEMBERS";
922
+ VoteRole2["ALL"] = "ALL";
923
+ return VoteRole2;
924
+ })(VoteRole || {});
925
+ var PollLayoutType = /* @__PURE__ */ ((PollLayoutType2) => {
926
+ PollLayoutType2["LIST"] = "LIST";
927
+ PollLayoutType2["GRID"] = "GRID";
928
+ return PollLayoutType2;
929
+ })(PollLayoutType || {});
930
+ var PollLayoutDirection = /* @__PURE__ */ ((PollLayoutDirection2) => {
931
+ PollLayoutDirection2["LTR"] = "LTR";
932
+ PollLayoutDirection2["RTL"] = "RTL";
933
+ return PollLayoutDirection2;
934
+ })(PollLayoutDirection || {});
935
+ var BackgroundType = /* @__PURE__ */ ((BackgroundType2) => {
936
+ BackgroundType2["COLOR"] = "COLOR";
937
+ BackgroundType2["IMAGE"] = "IMAGE";
938
+ BackgroundType2["GRADIENT"] = "GRADIENT";
939
+ return BackgroundType2;
940
+ })(BackgroundType || {});
941
+ var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
942
+ DecorationType2["BOLD"] = "BOLD";
943
+ DecorationType2["ITALIC"] = "ITALIC";
944
+ DecorationType2["UNDERLINE"] = "UNDERLINE";
945
+ DecorationType2["SPOILER"] = "SPOILER";
946
+ DecorationType2["ANCHOR"] = "ANCHOR";
947
+ DecorationType2["MENTION"] = "MENTION";
948
+ DecorationType2["LINK"] = "LINK";
949
+ DecorationType2["COLOR"] = "COLOR";
950
+ DecorationType2["FONT_SIZE"] = "FONT_SIZE";
951
+ DecorationType2["EXTERNAL"] = "EXTERNAL";
952
+ DecorationType2["STRIKETHROUGH"] = "STRIKETHROUGH";
953
+ DecorationType2["SUPERSCRIPT"] = "SUPERSCRIPT";
954
+ DecorationType2["SUBSCRIPT"] = "SUBSCRIPT";
955
+ return DecorationType2;
956
+ })(DecorationType || {});
957
+ var FontType = /* @__PURE__ */ ((FontType2) => {
958
+ FontType2["PX"] = "PX";
959
+ FontType2["EM"] = "EM";
960
+ return FontType2;
961
+ })(FontType || {});
962
+ var Position = /* @__PURE__ */ ((Position2) => {
963
+ Position2["START"] = "START";
964
+ Position2["END"] = "END";
965
+ Position2["TOP"] = "TOP";
966
+ return Position2;
967
+ })(Position || {});
968
+ var AspectRatio = /* @__PURE__ */ ((AspectRatio2) => {
969
+ AspectRatio2["SQUARE"] = "SQUARE";
970
+ AspectRatio2["RECTANGLE"] = "RECTANGLE";
971
+ return AspectRatio2;
972
+ })(AspectRatio || {});
973
+ var Resizing = /* @__PURE__ */ ((Resizing2) => {
974
+ Resizing2["FILL"] = "FILL";
975
+ Resizing2["FIT"] = "FIT";
976
+ return Resizing2;
977
+ })(Resizing || {});
978
+ var Placement = /* @__PURE__ */ ((Placement2) => {
979
+ Placement2["IMAGE"] = "IMAGE";
980
+ Placement2["PRODUCT_INFO"] = "PRODUCT_INFO";
981
+ return Placement2;
982
+ })(Placement || {});
983
+ var Type = /* @__PURE__ */ ((Type2) => {
984
+ Type2["CONTAINED"] = "CONTAINED";
985
+ Type2["FRAMELESS"] = "FRAMELESS";
986
+ return Type2;
987
+ })(Type || {});
988
+ var Alignment = /* @__PURE__ */ ((Alignment2) => {
989
+ Alignment2["START"] = "START";
990
+ Alignment2["CENTER"] = "CENTER";
991
+ Alignment2["END"] = "END";
992
+ return Alignment2;
993
+ })(Alignment || {});
994
+ var Layout = /* @__PURE__ */ ((Layout2) => {
995
+ Layout2["STACKED"] = "STACKED";
996
+ Layout2["SIDE_BY_SIDE"] = "SIDE_BY_SIDE";
997
+ return Layout2;
998
+ })(Layout || {});
999
+ var AppType = /* @__PURE__ */ ((AppType2) => {
1000
+ AppType2["PRODUCT"] = "PRODUCT";
1001
+ AppType2["EVENT"] = "EVENT";
1002
+ AppType2["BOOKING"] = "BOOKING";
1003
+ return AppType2;
1004
+ })(AppType || {});
1005
+ var InitialExpandedItems = /* @__PURE__ */ ((InitialExpandedItems2) => {
1006
+ InitialExpandedItems2["FIRST"] = "FIRST";
1007
+ InitialExpandedItems2["ALL"] = "ALL";
1008
+ InitialExpandedItems2["NONE"] = "NONE";
1009
+ return InitialExpandedItems2;
1010
+ })(InitialExpandedItems || {});
1011
+ var Direction = /* @__PURE__ */ ((Direction2) => {
1012
+ Direction2["LTR"] = "LTR";
1013
+ Direction2["RTL"] = "RTL";
1014
+ return Direction2;
1015
+ })(Direction || {});
1016
+ var VerticalAlignment = /* @__PURE__ */ ((VerticalAlignment2) => {
1017
+ VerticalAlignment2["TOP"] = "TOP";
1018
+ VerticalAlignment2["MIDDLE"] = "MIDDLE";
1019
+ VerticalAlignment2["BOTTOM"] = "BOTTOM";
1020
+ return VerticalAlignment2;
1021
+ })(VerticalAlignment || {});
1022
+ var NullValue = /* @__PURE__ */ ((NullValue2) => {
1023
+ NullValue2["NULL_VALUE"] = "NULL_VALUE";
1024
+ return NullValue2;
1025
+ })(NullValue || {});
1026
+ var PaymentPolicyType = /* @__PURE__ */ ((PaymentPolicyType2) => {
1027
+ PaymentPolicyType2["UNKNOWN_PAYMENT_POLICY_TYPE"] = "UNKNOWN_PAYMENT_POLICY_TYPE";
1028
+ PaymentPolicyType2["PER_GUEST"] = "PER_GUEST";
1029
+ PaymentPolicyType2["FREE"] = "FREE";
1030
+ return PaymentPolicyType2;
1031
+ })(PaymentPolicyType || {});
1032
+ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
1033
+ SortOrder2["ASC"] = "ASC";
1034
+ SortOrder2["DESC"] = "DESC";
1035
+ return SortOrder2;
1036
+ })(SortOrder || {});
1037
+ var PlacementType = /* @__PURE__ */ ((PlacementType2) => {
1038
+ PlacementType2["BEFORE"] = "BEFORE";
1039
+ PlacementType2["AFTER"] = "AFTER";
1040
+ PlacementType2["REPLACE"] = "REPLACE";
1041
+ return PlacementType2;
1042
+ })(PlacementType || {});
1043
+ var DayOfWeek = /* @__PURE__ */ ((DayOfWeek2) => {
1044
+ DayOfWeek2["MONDAY"] = "MONDAY";
1045
+ DayOfWeek2["TUESDAY"] = "TUESDAY";
1046
+ DayOfWeek2["WEDNESDAY"] = "WEDNESDAY";
1047
+ DayOfWeek2["THURSDAY"] = "THURSDAY";
1048
+ DayOfWeek2["FRIDAY"] = "FRIDAY";
1049
+ DayOfWeek2["SATURDAY"] = "SATURDAY";
1050
+ DayOfWeek2["SUNDAY"] = "SUNDAY";
1051
+ return DayOfWeek2;
1052
+ })(DayOfWeek || {});
1053
+ var ResolutionMethod = /* @__PURE__ */ ((ResolutionMethod2) => {
1054
+ ResolutionMethod2["QUERY_PARAM"] = "QUERY_PARAM";
1055
+ ResolutionMethod2["SUBDOMAIN"] = "SUBDOMAIN";
1056
+ ResolutionMethod2["SUBDIRECTORY"] = "SUBDIRECTORY";
1057
+ return ResolutionMethod2;
1058
+ })(ResolutionMethod || {});
1059
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
1060
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
1061
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
1062
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
1063
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
1064
+ WebhookIdentityType2["APP"] = "APP";
1065
+ return WebhookIdentityType2;
1066
+ })(WebhookIdentityType || {});
1067
+
1068
+ // src/table-reservations-v1-experience-experiences.meta.ts
1069
+ function createExperience2() {
1070
+ const payload = {};
1071
+ const getRequestOptions = createExperience(payload);
1072
+ const getUrl = (context) => {
1073
+ const { url } = getRequestOptions(context);
1074
+ return url;
1075
+ };
1076
+ return {
1077
+ getUrl,
1078
+ httpMethod: "POST",
1079
+ path: "/v1/experiences",
1080
+ pathParams: {},
1081
+ __requestType: null,
1082
+ __originalRequestType: null,
1083
+ __responseType: null,
1084
+ __originalResponseType: null
1085
+ };
1086
+ }
1087
+ function getExperience2() {
1088
+ const payload = { experienceId: ":experienceId" };
1089
+ const getRequestOptions = getExperience(payload);
1090
+ const getUrl = (context) => {
1091
+ const { url } = getRequestOptions(context);
1092
+ return url;
1093
+ };
1094
+ return {
1095
+ getUrl,
1096
+ httpMethod: "GET",
1097
+ path: "/v1/experiences/{experienceId}",
1098
+ pathParams: { experienceId: "experienceId" },
1099
+ __requestType: null,
1100
+ __originalRequestType: null,
1101
+ __responseType: null,
1102
+ __originalResponseType: null
1103
+ };
1104
+ }
1105
+ function updateExperience2() {
1106
+ const payload = { experience: { id: ":experienceId" } };
1107
+ const getRequestOptions = updateExperience(payload);
1108
+ const getUrl = (context) => {
1109
+ const { url } = getRequestOptions(context);
1110
+ return url;
1111
+ };
1112
+ return {
1113
+ getUrl,
1114
+ httpMethod: "PATCH",
1115
+ path: "/v1/experiences/{experience.id}",
1116
+ pathParams: { experienceId: "experienceId" },
1117
+ __requestType: null,
1118
+ __originalRequestType: null,
1119
+ __responseType: null,
1120
+ __originalResponseType: null
1121
+ };
1122
+ }
1123
+ function queryExperiences2() {
1124
+ const payload = {};
1125
+ const getRequestOptions = queryExperiences(payload);
1126
+ const getUrl = (context) => {
1127
+ const { url } = getRequestOptions(context);
1128
+ return url;
1129
+ };
1130
+ return {
1131
+ getUrl,
1132
+ httpMethod: "GET",
1133
+ path: "/v1/experiences/query",
1134
+ pathParams: {},
1135
+ __requestType: null,
1136
+ __originalRequestType: null,
1137
+ __responseType: null,
1138
+ __originalResponseType: null
1139
+ };
1140
+ }
1141
+ function bulkUpdateExperienceTags2() {
1142
+ const payload = {};
1143
+ const getRequestOptions = bulkUpdateExperienceTags(
1144
+ payload
1145
+ );
1146
+ const getUrl = (context) => {
1147
+ const { url } = getRequestOptions(context);
1148
+ return url;
1149
+ };
1150
+ return {
1151
+ getUrl,
1152
+ httpMethod: "POST",
1153
+ path: "/v1/bulk/experiences/update-tags",
1154
+ pathParams: {},
1155
+ __requestType: null,
1156
+ __originalRequestType: null,
1157
+ __responseType: null,
1158
+ __originalResponseType: null
1159
+ };
1160
+ }
1161
+ function bulkUpdateExperienceTagsByFilter2() {
1162
+ const payload = {};
1163
+ const getRequestOptions = bulkUpdateExperienceTagsByFilter(
1164
+ payload
1165
+ );
1166
+ const getUrl = (context) => {
1167
+ const { url } = getRequestOptions(context);
1168
+ return url;
1169
+ };
1170
+ return {
1171
+ getUrl,
1172
+ httpMethod: "POST",
1173
+ path: "/v1/bulk/experiences/update-tags-by-filter",
1174
+ pathParams: {},
1175
+ __requestType: null,
1176
+ __originalRequestType: null,
1177
+ __responseType: null,
1178
+ __originalResponseType: null
1179
+ };
1180
+ }
1181
+ // Annotate the CommonJS export names for ESM import in node:
1182
+ 0 && (module.exports = {
1183
+ AlignmentOriginal,
1184
+ AppTypeOriginal,
1185
+ AspectRatioOriginal,
1186
+ BackgroundTypeOriginal,
1187
+ ButtonDataTypeOriginal,
1188
+ CropOriginal,
1189
+ DayOfWeekOriginal,
1190
+ DecorationTypeOriginal,
1191
+ DirectionOriginal,
1192
+ DividerDataAlignmentOriginal,
1193
+ FontTypeOriginal,
1194
+ GIFTypeOriginal,
1195
+ InitialExpandedItemsOriginal,
1196
+ LayoutOriginal,
1197
+ LayoutTypeOriginal,
1198
+ LineStyleOriginal,
1199
+ MapTypeOriginal,
1200
+ ModeOriginal,
1201
+ NodeTypeOriginal,
1202
+ NullValueOriginal,
1203
+ OrientationOriginal,
1204
+ PaymentPolicyTypeOriginal,
1205
+ PlacementOriginal,
1206
+ PlacementTypeOriginal,
1207
+ PluginContainerDataAlignmentOriginal,
1208
+ PollLayoutDirectionOriginal,
1209
+ PollLayoutTypeOriginal,
1210
+ PositionOriginal,
1211
+ RecurrenceOriginal,
1212
+ ResizingOriginal,
1213
+ ResolutionMethodOriginal,
1214
+ SortOrderOriginal,
1215
+ SourceOriginal,
1216
+ StartDaysAndTimesDayOfWeekOriginal,
1217
+ StylesPositionOriginal,
1218
+ TableAssignmentTypeOriginal,
1219
+ TableAvailabilityTypeOriginal,
1220
+ TableManagementModeOriginal,
1221
+ TargetOriginal,
1222
+ TextAlignmentOriginal,
1223
+ ThumbnailsAlignmentOriginal,
1224
+ TypeOriginal,
1225
+ UnitOriginal,
1226
+ VerticalAlignmentOriginal,
1227
+ ViewModeOriginal,
1228
+ ViewRoleOriginal,
1229
+ VoteRoleOriginal,
1230
+ WebhookIdentityTypeOriginal,
1231
+ WidthOriginal,
1232
+ WidthTypeOriginal,
1233
+ bulkUpdateExperienceTags,
1234
+ bulkUpdateExperienceTagsByFilter,
1235
+ createExperience,
1236
+ getExperience,
1237
+ queryExperiences,
1238
+ updateExperience
1239
+ });
1240
+ //# sourceMappingURL=meta.js.map