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