@wix/auto_sdk_restaurants_operations 1.0.106 → 1.0.107
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 +81 -74
- package/build/cjs/index.js +63 -190
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +334 -331
- package/build/cjs/index.typings.js +63 -181
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +216 -221
- package/build/cjs/meta.js +63 -168
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +81 -74
- package/build/es/index.mjs +63 -189
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +334 -331
- package/build/es/index.typings.mjs +63 -180
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +216 -221
- package/build/es/meta.mjs +63 -167
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +81 -74
- package/build/internal/cjs/index.typings.d.ts +353 -349
- package/build/internal/cjs/meta.d.ts +232 -235
- package/build/internal/es/index.d.mts +81 -74
- package/build/internal/es/index.typings.d.mts +353 -349
- package/build/internal/es/meta.d.mts +232 -235
- package/package.json +2 -2
package/build/es/meta.mjs
CHANGED
|
@@ -7,59 +7,54 @@ import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transform
|
|
|
7
7
|
import { transformSDKFieldMaskToRESTFieldMask } from "@wix/sdk-runtime/transformations/field-mask";
|
|
8
8
|
import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
|
|
9
9
|
import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
|
|
10
|
-
var TRANSFORM_PATHS_0 = [
|
|
11
|
-
var TRANSFORM_PATHS_1 = [
|
|
12
|
-
{ path: "blockPeriods.from" },
|
|
13
|
-
{ path: "blockPeriods.until" }
|
|
14
|
-
];
|
|
15
|
-
var TRANSFORM_PATHS_2 = [
|
|
10
|
+
var TRANSFORM_PATHS_0 = [
|
|
16
11
|
{ path: "operation.createdDate" },
|
|
17
12
|
{ path: "operation.updatedDate" },
|
|
18
13
|
{ path: "operation.pausedUntilOptions.time" }
|
|
19
14
|
];
|
|
20
|
-
var
|
|
15
|
+
var TRANSFORM_PATHS_1 = [
|
|
21
16
|
{ path: "operation.businessLocationDetails.address.geocode.latitude" },
|
|
22
17
|
{ path: "operation.businessLocationDetails.address.geocode.longitude" }
|
|
23
18
|
];
|
|
24
|
-
var
|
|
25
|
-
var
|
|
19
|
+
var TRANSFORM_PATHS_2 = [{ path: "mask" }];
|
|
20
|
+
var TRANSFORM_PATHS_3 = [
|
|
26
21
|
{ path: "operations.createdDate" },
|
|
27
22
|
{ path: "operations.updatedDate" },
|
|
28
23
|
{ path: "operations.pausedUntilOptions.time" }
|
|
29
24
|
];
|
|
30
|
-
var
|
|
25
|
+
var TRANSFORM_PATHS_4 = [
|
|
31
26
|
{ path: "operations.businessLocationDetails.address.geocode.latitude" },
|
|
32
27
|
{ path: "operations.businessLocationDetails.address.geocode.longitude" }
|
|
33
28
|
];
|
|
34
|
-
var
|
|
29
|
+
var TRANSFORM_PATHS_5 = [
|
|
35
30
|
{ path: "deliveryAddress.geocode.latitude" },
|
|
36
31
|
{ path: "deliveryAddress.geocode.longitude" }
|
|
37
32
|
];
|
|
38
|
-
var
|
|
33
|
+
var TRANSFORM_PATHS_6 = [
|
|
39
34
|
{ path: "fulfillmentOptions.pickupOptions.address.geocode.latitude" },
|
|
40
35
|
{ path: "fulfillmentOptions.pickupOptions.address.geocode.longitude" },
|
|
41
36
|
{ path: "fulfillmentOptions.dineInOptions.address.geocode.latitude" },
|
|
42
37
|
{ path: "fulfillmentOptions.dineInOptions.address.geocode.longitude" }
|
|
43
38
|
];
|
|
44
|
-
var
|
|
39
|
+
var TRANSFORM_PATHS_7 = [
|
|
45
40
|
{ path: "fulfillmentOptions.availability.startTime" },
|
|
46
41
|
{ path: "fulfillmentOptions.availability.endTime" },
|
|
47
42
|
{ path: "fulfillmentOptions.availability.exceptions.startTime" },
|
|
48
43
|
{ path: "fulfillmentOptions.availability.exceptions.endTime" }
|
|
49
44
|
];
|
|
50
|
-
var
|
|
45
|
+
var TRANSFORM_PATHS_8 = [
|
|
51
46
|
{ path: "timeSlots.startTime" },
|
|
52
47
|
{ path: "timeSlots.endTime" }
|
|
53
48
|
];
|
|
54
|
-
var
|
|
49
|
+
var TRANSFORM_PATHS_9 = [
|
|
55
50
|
{ path: "timeSlots.fulfillmentAddress.address.geocode.latitude" },
|
|
56
51
|
{ path: "timeSlots.fulfillmentAddress.address.geocode.longitude" }
|
|
57
52
|
];
|
|
58
|
-
var
|
|
53
|
+
var TRANSFORM_PATHS_10 = [
|
|
59
54
|
{ path: "timeslotsPerFulfillmentType.timeSlot.startTime" },
|
|
60
55
|
{ path: "timeslotsPerFulfillmentType.timeSlot.endTime" }
|
|
61
56
|
];
|
|
62
|
-
var
|
|
57
|
+
var TRANSFORM_PATHS_11 = [
|
|
63
58
|
{
|
|
64
59
|
path: "timeslotsPerFulfillmentType.fulfillmentInfo.address.geocode.latitude"
|
|
65
60
|
},
|
|
@@ -67,15 +62,15 @@ var TRANSFORM_PATHS_13 = [
|
|
|
67
62
|
path: "timeslotsPerFulfillmentType.fulfillmentInfo.address.geocode.longitude"
|
|
68
63
|
}
|
|
69
64
|
];
|
|
70
|
-
var
|
|
65
|
+
var TRANSFORM_PATHS_12 = [
|
|
71
66
|
{ path: "timeSlots.timeSlots.startTime" },
|
|
72
67
|
{ path: "timeSlots.timeSlots.endTime" }
|
|
73
68
|
];
|
|
74
|
-
var
|
|
69
|
+
var TRANSFORM_PATHS_13 = [
|
|
75
70
|
{ path: "timeSlots.timeSlots.fulfillmentAddress.address.geocode.latitude" },
|
|
76
71
|
{ path: "timeSlots.timeSlots.fulfillmentAddress.address.geocode.longitude" }
|
|
77
72
|
];
|
|
78
|
-
var
|
|
73
|
+
var TRANSFORM_PATHS_14 = [
|
|
79
74
|
{
|
|
80
75
|
path: "timeSlotsPerOperation.timeslotsPerFulfillmentType.timeSlot.startTime"
|
|
81
76
|
},
|
|
@@ -83,7 +78,7 @@ var TRANSFORM_PATHS_16 = [
|
|
|
83
78
|
path: "timeSlotsPerOperation.timeslotsPerFulfillmentType.timeSlot.endTime"
|
|
84
79
|
}
|
|
85
80
|
];
|
|
86
|
-
var
|
|
81
|
+
var TRANSFORM_PATHS_15 = [
|
|
87
82
|
{
|
|
88
83
|
path: "timeSlotsPerOperation.timeslotsPerFulfillmentType.fulfillmentInfo.address.geocode.latitude"
|
|
89
84
|
},
|
|
@@ -91,11 +86,11 @@ var TRANSFORM_PATHS_17 = [
|
|
|
91
86
|
path: "timeSlotsPerOperation.timeslotsPerFulfillmentType.fulfillmentInfo.address.geocode.longitude"
|
|
92
87
|
}
|
|
93
88
|
];
|
|
94
|
-
var
|
|
89
|
+
var TRANSFORM_PATHS_16 = [
|
|
95
90
|
{ path: "timeSlotsPerMenu.timeslotsPerFulfillmentType.startTime" },
|
|
96
91
|
{ path: "timeSlotsPerMenu.timeslotsPerFulfillmentType.endTime" }
|
|
97
92
|
];
|
|
98
|
-
var
|
|
93
|
+
var TRANSFORM_PATHS_17 = [
|
|
99
94
|
{
|
|
100
95
|
path: "timeSlotsPerMenu.timeslotsPerFulfillmentType.fulfillmentAddress.address.geocode.latitude"
|
|
101
96
|
},
|
|
@@ -103,11 +98,11 @@ var TRANSFORM_PATHS_19 = [
|
|
|
103
98
|
path: "timeSlotsPerMenu.timeslotsPerFulfillmentType.fulfillmentAddress.address.geocode.longitude"
|
|
104
99
|
}
|
|
105
100
|
];
|
|
106
|
-
var
|
|
101
|
+
var TRANSFORM_PATHS_18 = [
|
|
107
102
|
{ path: "timeSlotsPerMenu.timeslotsPerFulfillmentType.timeSlot.startTime" },
|
|
108
103
|
{ path: "timeSlotsPerMenu.timeslotsPerFulfillmentType.timeSlot.endTime" }
|
|
109
104
|
];
|
|
110
|
-
var
|
|
105
|
+
var TRANSFORM_PATHS_19 = [
|
|
111
106
|
{
|
|
112
107
|
path: "timeSlotsPerMenu.timeslotsPerFulfillmentType.fulfillmentInfo.address.geocode.latitude"
|
|
113
108
|
},
|
|
@@ -202,87 +197,7 @@ function resolveWixRestaurantsOperationsV1OperationsServiceUrl(opts) {
|
|
|
202
197
|
};
|
|
203
198
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
204
199
|
}
|
|
205
|
-
function resolveWixRestaurantsOperationPacingV1OperationPacingServiceUrl(opts) {
|
|
206
|
-
const domainToMappings = {
|
|
207
|
-
_: [
|
|
208
|
-
{
|
|
209
|
-
srcPath: "/_api/rest-operation-pacing",
|
|
210
|
-
destPath: ""
|
|
211
|
-
}
|
|
212
|
-
],
|
|
213
|
-
"manage._base_domain_": [
|
|
214
|
-
{
|
|
215
|
-
srcPath: "/_api/rest-operation-pacing",
|
|
216
|
-
destPath: ""
|
|
217
|
-
}
|
|
218
|
-
],
|
|
219
|
-
"editor._base_domain_": [
|
|
220
|
-
{
|
|
221
|
-
srcPath: "/_api/rest-operation-pacing",
|
|
222
|
-
destPath: ""
|
|
223
|
-
}
|
|
224
|
-
],
|
|
225
|
-
"blocks._base_domain_": [
|
|
226
|
-
{
|
|
227
|
-
srcPath: "/_api/rest-operation-pacing",
|
|
228
|
-
destPath: ""
|
|
229
|
-
}
|
|
230
|
-
],
|
|
231
|
-
"create.editorx": [
|
|
232
|
-
{
|
|
233
|
-
srcPath: "/_api/rest-operation-pacing",
|
|
234
|
-
destPath: ""
|
|
235
|
-
}
|
|
236
|
-
],
|
|
237
|
-
"www.wixapis.com": [
|
|
238
|
-
{
|
|
239
|
-
srcPath: "/_api/rest-operation-pacing",
|
|
240
|
-
destPath: ""
|
|
241
|
-
}
|
|
242
|
-
],
|
|
243
|
-
"*.dev.wix-code.com": [
|
|
244
|
-
{
|
|
245
|
-
srcPath: "/_api/rest-operation-pacing",
|
|
246
|
-
destPath: ""
|
|
247
|
-
}
|
|
248
|
-
]
|
|
249
|
-
};
|
|
250
|
-
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
251
|
-
}
|
|
252
200
|
var PACKAGE_NAME = "@wix/auto_sdk_restaurants_operations";
|
|
253
|
-
function listBlockedPeriods(payload) {
|
|
254
|
-
function __listBlockedPeriods({ host }) {
|
|
255
|
-
const serializedData = transformPaths(payload, [
|
|
256
|
-
{
|
|
257
|
-
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
258
|
-
paths: TRANSFORM_PATHS_0
|
|
259
|
-
}
|
|
260
|
-
]);
|
|
261
|
-
const metadata = {
|
|
262
|
-
entityFqdn: "wix.restaurants.operations.v1.operation",
|
|
263
|
-
method: "GET",
|
|
264
|
-
methodFqn: "wix.restaurants.operation.pacing.v1.OperationPacingService.ListBlockedPeriods",
|
|
265
|
-
packageName: PACKAGE_NAME,
|
|
266
|
-
migrationOptions: {
|
|
267
|
-
optInTransformResponse: true
|
|
268
|
-
},
|
|
269
|
-
url: resolveWixRestaurantsOperationPacingV1OperationPacingServiceUrl({
|
|
270
|
-
protoPath: "/v1/operation-pacing/blocked-periods",
|
|
271
|
-
data: serializedData,
|
|
272
|
-
host
|
|
273
|
-
}),
|
|
274
|
-
params: toURLSearchParams(serializedData),
|
|
275
|
-
transformResponse: (payload2) => transformPaths(payload2, [
|
|
276
|
-
{
|
|
277
|
-
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
278
|
-
paths: TRANSFORM_PATHS_1
|
|
279
|
-
}
|
|
280
|
-
])
|
|
281
|
-
};
|
|
282
|
-
return metadata;
|
|
283
|
-
}
|
|
284
|
-
return __listBlockedPeriods;
|
|
285
|
-
}
|
|
286
201
|
function getOperation(payload) {
|
|
287
202
|
function __getOperation({ host }) {
|
|
288
203
|
const metadata = {
|
|
@@ -302,11 +217,11 @@ function getOperation(payload) {
|
|
|
302
217
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
303
218
|
{
|
|
304
219
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
305
|
-
paths:
|
|
220
|
+
paths: TRANSFORM_PATHS_0
|
|
306
221
|
},
|
|
307
222
|
{
|
|
308
223
|
transformFn: transformRESTFloatToSDKFloat,
|
|
309
|
-
paths:
|
|
224
|
+
paths: TRANSFORM_PATHS_1
|
|
310
225
|
}
|
|
311
226
|
])
|
|
312
227
|
};
|
|
@@ -319,15 +234,15 @@ function updateOperation(payload) {
|
|
|
319
234
|
const serializedData = transformPaths(payload, [
|
|
320
235
|
{
|
|
321
236
|
transformFn: transformSDKFieldMaskToRESTFieldMask,
|
|
322
|
-
paths:
|
|
237
|
+
paths: TRANSFORM_PATHS_2
|
|
323
238
|
},
|
|
324
239
|
{
|
|
325
240
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
326
|
-
paths:
|
|
241
|
+
paths: TRANSFORM_PATHS_0
|
|
327
242
|
},
|
|
328
243
|
{
|
|
329
244
|
transformFn: transformSDKFloatToRESTFloat,
|
|
330
|
-
paths:
|
|
245
|
+
paths: TRANSFORM_PATHS_1
|
|
331
246
|
}
|
|
332
247
|
]);
|
|
333
248
|
const metadata = {
|
|
@@ -347,11 +262,11 @@ function updateOperation(payload) {
|
|
|
347
262
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
348
263
|
{
|
|
349
264
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
350
|
-
paths:
|
|
265
|
+
paths: TRANSFORM_PATHS_0
|
|
351
266
|
},
|
|
352
267
|
{
|
|
353
268
|
transformFn: transformRESTFloatToSDKFloat,
|
|
354
|
-
paths:
|
|
269
|
+
paths: TRANSFORM_PATHS_1
|
|
355
270
|
}
|
|
356
271
|
])
|
|
357
272
|
};
|
|
@@ -399,11 +314,11 @@ function queryOperation(payload) {
|
|
|
399
314
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
400
315
|
{
|
|
401
316
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
402
|
-
paths:
|
|
317
|
+
paths: TRANSFORM_PATHS_3
|
|
403
318
|
},
|
|
404
319
|
{
|
|
405
320
|
transformFn: transformRESTFloatToSDKFloat,
|
|
406
|
-
paths:
|
|
321
|
+
paths: TRANSFORM_PATHS_4
|
|
407
322
|
}
|
|
408
323
|
])
|
|
409
324
|
};
|
|
@@ -430,11 +345,11 @@ function listOperations(payload) {
|
|
|
430
345
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
431
346
|
{
|
|
432
347
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
433
|
-
paths:
|
|
348
|
+
paths: TRANSFORM_PATHS_3
|
|
434
349
|
},
|
|
435
350
|
{
|
|
436
351
|
transformFn: transformRESTFloatToSDKFloat,
|
|
437
|
-
paths:
|
|
352
|
+
paths: TRANSFORM_PATHS_4
|
|
438
353
|
}
|
|
439
354
|
])
|
|
440
355
|
};
|
|
@@ -447,7 +362,7 @@ function listAvailableFulfillmentOptions(payload) {
|
|
|
447
362
|
const serializedData = transformPaths(payload, [
|
|
448
363
|
{
|
|
449
364
|
transformFn: transformSDKFloatToRESTFloat,
|
|
450
|
-
paths:
|
|
365
|
+
paths: TRANSFORM_PATHS_5
|
|
451
366
|
}
|
|
452
367
|
]);
|
|
453
368
|
const metadata = {
|
|
@@ -467,11 +382,11 @@ function listAvailableFulfillmentOptions(payload) {
|
|
|
467
382
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
468
383
|
{
|
|
469
384
|
transformFn: transformRESTFloatToSDKFloat,
|
|
470
|
-
paths:
|
|
385
|
+
paths: TRANSFORM_PATHS_6
|
|
471
386
|
},
|
|
472
387
|
{
|
|
473
388
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
474
|
-
paths:
|
|
389
|
+
paths: TRANSFORM_PATHS_7
|
|
475
390
|
}
|
|
476
391
|
])
|
|
477
392
|
};
|
|
@@ -484,7 +399,7 @@ function listFirstAvailableTimeSlotForFulfillmentTypes(payload) {
|
|
|
484
399
|
const serializedData = transformPaths(payload, [
|
|
485
400
|
{
|
|
486
401
|
transformFn: transformSDKFloatToRESTFloat,
|
|
487
|
-
paths:
|
|
402
|
+
paths: TRANSFORM_PATHS_5
|
|
488
403
|
}
|
|
489
404
|
]);
|
|
490
405
|
const metadata = {
|
|
@@ -504,11 +419,11 @@ function listFirstAvailableTimeSlotForFulfillmentTypes(payload) {
|
|
|
504
419
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
505
420
|
{
|
|
506
421
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
507
|
-
paths:
|
|
422
|
+
paths: TRANSFORM_PATHS_8
|
|
508
423
|
},
|
|
509
424
|
{
|
|
510
425
|
transformFn: transformRESTFloatToSDKFloat,
|
|
511
|
-
paths:
|
|
426
|
+
paths: TRANSFORM_PATHS_9
|
|
512
427
|
}
|
|
513
428
|
])
|
|
514
429
|
};
|
|
@@ -521,7 +436,7 @@ function calculateFirstAvailableTimeSlotPerFulfillmentType(payload) {
|
|
|
521
436
|
const serializedData = transformPaths(payload, [
|
|
522
437
|
{
|
|
523
438
|
transformFn: transformSDKFloatToRESTFloat,
|
|
524
|
-
paths:
|
|
439
|
+
paths: TRANSFORM_PATHS_5
|
|
525
440
|
}
|
|
526
441
|
]);
|
|
527
442
|
const metadata = {
|
|
@@ -541,11 +456,11 @@ function calculateFirstAvailableTimeSlotPerFulfillmentType(payload) {
|
|
|
541
456
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
542
457
|
{
|
|
543
458
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
544
|
-
paths:
|
|
459
|
+
paths: TRANSFORM_PATHS_10
|
|
545
460
|
},
|
|
546
461
|
{
|
|
547
462
|
transformFn: transformRESTFloatToSDKFloat,
|
|
548
|
-
paths:
|
|
463
|
+
paths: TRANSFORM_PATHS_11
|
|
549
464
|
}
|
|
550
465
|
])
|
|
551
466
|
};
|
|
@@ -558,7 +473,7 @@ function listFirstAvailableTimeSlotsForOperations(payload) {
|
|
|
558
473
|
const serializedData = transformPaths(payload, [
|
|
559
474
|
{
|
|
560
475
|
transformFn: transformSDKFloatToRESTFloat,
|
|
561
|
-
paths:
|
|
476
|
+
paths: TRANSFORM_PATHS_5
|
|
562
477
|
}
|
|
563
478
|
]);
|
|
564
479
|
const metadata = {
|
|
@@ -578,11 +493,11 @@ function listFirstAvailableTimeSlotsForOperations(payload) {
|
|
|
578
493
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
579
494
|
{
|
|
580
495
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
581
|
-
paths:
|
|
496
|
+
paths: TRANSFORM_PATHS_12
|
|
582
497
|
},
|
|
583
498
|
{
|
|
584
499
|
transformFn: transformRESTFloatToSDKFloat,
|
|
585
|
-
paths:
|
|
500
|
+
paths: TRANSFORM_PATHS_13
|
|
586
501
|
}
|
|
587
502
|
])
|
|
588
503
|
};
|
|
@@ -595,7 +510,7 @@ function calculateFirstAvailableTimeSlotsPerOperation(payload) {
|
|
|
595
510
|
const serializedData = transformPaths(payload, [
|
|
596
511
|
{
|
|
597
512
|
transformFn: transformSDKFloatToRESTFloat,
|
|
598
|
-
paths:
|
|
513
|
+
paths: TRANSFORM_PATHS_5
|
|
599
514
|
}
|
|
600
515
|
]);
|
|
601
516
|
const metadata = {
|
|
@@ -615,11 +530,11 @@ function calculateFirstAvailableTimeSlotsPerOperation(payload) {
|
|
|
615
530
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
616
531
|
{
|
|
617
532
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
618
|
-
paths:
|
|
533
|
+
paths: TRANSFORM_PATHS_14
|
|
619
534
|
},
|
|
620
535
|
{
|
|
621
536
|
transformFn: transformRESTFloatToSDKFloat,
|
|
622
|
-
paths:
|
|
537
|
+
paths: TRANSFORM_PATHS_15
|
|
623
538
|
}
|
|
624
539
|
])
|
|
625
540
|
};
|
|
@@ -632,7 +547,7 @@ function listFirstAvailableTimeSlotsForMenus(payload) {
|
|
|
632
547
|
const serializedData = transformPaths(payload, [
|
|
633
548
|
{
|
|
634
549
|
transformFn: transformSDKFloatToRESTFloat,
|
|
635
|
-
paths:
|
|
550
|
+
paths: TRANSFORM_PATHS_5
|
|
636
551
|
}
|
|
637
552
|
]);
|
|
638
553
|
const metadata = {
|
|
@@ -652,11 +567,11 @@ function listFirstAvailableTimeSlotsForMenus(payload) {
|
|
|
652
567
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
653
568
|
{
|
|
654
569
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
655
|
-
paths:
|
|
570
|
+
paths: TRANSFORM_PATHS_16
|
|
656
571
|
},
|
|
657
572
|
{
|
|
658
573
|
transformFn: transformRESTFloatToSDKFloat,
|
|
659
|
-
paths:
|
|
574
|
+
paths: TRANSFORM_PATHS_17
|
|
660
575
|
}
|
|
661
576
|
])
|
|
662
577
|
};
|
|
@@ -669,7 +584,7 @@ function calculateFirstAvailableTimeSlotsPerMenu(payload) {
|
|
|
669
584
|
const serializedData = transformPaths(payload, [
|
|
670
585
|
{
|
|
671
586
|
transformFn: transformSDKFloatToRESTFloat,
|
|
672
|
-
paths:
|
|
587
|
+
paths: TRANSFORM_PATHS_5
|
|
673
588
|
}
|
|
674
589
|
]);
|
|
675
590
|
const metadata = {
|
|
@@ -689,11 +604,11 @@ function calculateFirstAvailableTimeSlotsPerMenu(payload) {
|
|
|
689
604
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
690
605
|
{
|
|
691
606
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
692
|
-
paths:
|
|
607
|
+
paths: TRANSFORM_PATHS_18
|
|
693
608
|
},
|
|
694
609
|
{
|
|
695
610
|
transformFn: transformRESTFloatToSDKFloat,
|
|
696
|
-
paths:
|
|
611
|
+
paths: TRANSFORM_PATHS_19
|
|
697
612
|
}
|
|
698
613
|
])
|
|
699
614
|
};
|
|
@@ -706,7 +621,7 @@ function calculateFirstAvailableTimeSlotsForItem(payload) {
|
|
|
706
621
|
const serializedData = transformPaths(payload, [
|
|
707
622
|
{
|
|
708
623
|
transformFn: transformSDKFloatToRESTFloat,
|
|
709
|
-
paths:
|
|
624
|
+
paths: TRANSFORM_PATHS_5
|
|
710
625
|
}
|
|
711
626
|
]);
|
|
712
627
|
const metadata = {
|
|
@@ -726,11 +641,11 @@ function calculateFirstAvailableTimeSlotsForItem(payload) {
|
|
|
726
641
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
727
642
|
{
|
|
728
643
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
729
|
-
paths:
|
|
644
|
+
paths: TRANSFORM_PATHS_10
|
|
730
645
|
},
|
|
731
646
|
{
|
|
732
647
|
transformFn: transformRESTFloatToSDKFloat,
|
|
733
|
-
paths:
|
|
648
|
+
paths: TRANSFORM_PATHS_11
|
|
734
649
|
}
|
|
735
650
|
])
|
|
736
651
|
};
|
|
@@ -743,7 +658,7 @@ function listAvailableTimeSlotsForDate(payload) {
|
|
|
743
658
|
const serializedData = transformPaths(payload, [
|
|
744
659
|
{
|
|
745
660
|
transformFn: transformSDKFloatToRESTFloat,
|
|
746
|
-
paths:
|
|
661
|
+
paths: TRANSFORM_PATHS_5
|
|
747
662
|
}
|
|
748
663
|
]);
|
|
749
664
|
const metadata = {
|
|
@@ -763,11 +678,11 @@ function listAvailableTimeSlotsForDate(payload) {
|
|
|
763
678
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
764
679
|
{
|
|
765
680
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
766
|
-
paths:
|
|
681
|
+
paths: TRANSFORM_PATHS_8
|
|
767
682
|
},
|
|
768
683
|
{
|
|
769
684
|
transformFn: transformRESTFloatToSDKFloat,
|
|
770
|
-
paths:
|
|
685
|
+
paths: TRANSFORM_PATHS_9
|
|
771
686
|
}
|
|
772
687
|
])
|
|
773
688
|
};
|
|
@@ -780,7 +695,7 @@ function calculateAvailableTimeSlotsForDate(payload) {
|
|
|
780
695
|
const serializedData = transformPaths(payload, [
|
|
781
696
|
{
|
|
782
697
|
transformFn: transformSDKFloatToRESTFloat,
|
|
783
|
-
paths:
|
|
698
|
+
paths: TRANSFORM_PATHS_5
|
|
784
699
|
}
|
|
785
700
|
]);
|
|
786
701
|
const metadata = {
|
|
@@ -800,11 +715,11 @@ function calculateAvailableTimeSlotsForDate(payload) {
|
|
|
800
715
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
801
716
|
{
|
|
802
717
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
803
|
-
paths:
|
|
718
|
+
paths: TRANSFORM_PATHS_10
|
|
804
719
|
},
|
|
805
720
|
{
|
|
806
721
|
transformFn: transformRESTFloatToSDKFloat,
|
|
807
|
-
paths:
|
|
722
|
+
paths: TRANSFORM_PATHS_11
|
|
808
723
|
}
|
|
809
724
|
])
|
|
810
725
|
};
|
|
@@ -817,7 +732,7 @@ function listAvailableDatesInRange(payload) {
|
|
|
817
732
|
const serializedData = transformPaths(payload, [
|
|
818
733
|
{
|
|
819
734
|
transformFn: transformSDKFloatToRESTFloat,
|
|
820
|
-
paths:
|
|
735
|
+
paths: TRANSFORM_PATHS_5
|
|
821
736
|
}
|
|
822
737
|
]);
|
|
823
738
|
const metadata = {
|
|
@@ -844,7 +759,7 @@ function calculateAvailableDatesInRange(payload) {
|
|
|
844
759
|
const serializedData = transformPaths(payload, [
|
|
845
760
|
{
|
|
846
761
|
transformFn: transformSDKFloatToRESTFloat,
|
|
847
|
-
paths:
|
|
762
|
+
paths: TRANSFORM_PATHS_5
|
|
848
763
|
}
|
|
849
764
|
]);
|
|
850
765
|
const metadata = {
|
|
@@ -1158,24 +1073,6 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
1158
1073
|
})(WebhookIdentityType || {});
|
|
1159
1074
|
|
|
1160
1075
|
// src/restaurants-operations-v1-operation-operations.meta.ts
|
|
1161
|
-
function listBlockedPeriods2() {
|
|
1162
|
-
const payload = {};
|
|
1163
|
-
const getRequestOptions = listBlockedPeriods(payload);
|
|
1164
|
-
const getUrl = (context) => {
|
|
1165
|
-
const { url } = getRequestOptions(context);
|
|
1166
|
-
return url;
|
|
1167
|
-
};
|
|
1168
|
-
return {
|
|
1169
|
-
getUrl,
|
|
1170
|
-
httpMethod: "GET",
|
|
1171
|
-
path: "/v1/operation-pacing/blocked-periods",
|
|
1172
|
-
pathParams: {},
|
|
1173
|
-
__requestType: null,
|
|
1174
|
-
__originalRequestType: null,
|
|
1175
|
-
__responseType: null,
|
|
1176
|
-
__originalResponseType: null
|
|
1177
|
-
};
|
|
1178
|
-
}
|
|
1179
1076
|
function getOperation2() {
|
|
1180
1077
|
const payload = { operationId: ":operationId" };
|
|
1181
1078
|
const getRequestOptions = getOperation(payload);
|
|
@@ -1610,7 +1507,6 @@ export {
|
|
|
1610
1507
|
listAvailableDatesInRange2 as listAvailableDatesInRange,
|
|
1611
1508
|
listAvailableFulfillmentOptions2 as listAvailableFulfillmentOptions,
|
|
1612
1509
|
listAvailableTimeSlotsForDate2 as listAvailableTimeSlotsForDate,
|
|
1613
|
-
listBlockedPeriods2 as listBlockedPeriods,
|
|
1614
1510
|
listFirstAvailableTimeSlotForFulfillmentTypes2 as listFirstAvailableTimeSlotForFulfillmentTypes,
|
|
1615
1511
|
listFirstAvailableTimeSlotsForMenus2 as listFirstAvailableTimeSlotsForMenus,
|
|
1616
1512
|
listFirstAvailableTimeSlotsForOperations2 as listFirstAvailableTimeSlotsForOperations,
|