@wix/auto_sdk_restaurants_menus 1.0.82 → 1.0.84
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 +27 -27
- package/build/cjs/index.js +251 -272
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +514 -514
- package/build/cjs/index.typings.js +196 -220
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +319 -319
- package/build/cjs/meta.js +169 -193
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +27 -27
- package/build/es/index.mjs +251 -272
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +514 -514
- package/build/es/index.typings.mjs +196 -220
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +319 -319
- package/build/es/meta.mjs +169 -193
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +27 -27
- package/build/internal/cjs/index.typings.d.ts +518 -518
- package/build/internal/cjs/meta.d.ts +484 -484
- package/build/internal/es/index.d.mts +27 -27
- package/build/internal/es/index.typings.d.mts +518 -518
- package/build/internal/es/meta.d.mts +484 -484
- package/package.json +2 -2
package/build/cjs/meta.js
CHANGED
|
@@ -45,7 +45,33 @@ var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
|
45
45
|
var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
|
|
46
46
|
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
47
47
|
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
48
|
-
|
|
48
|
+
var TRANSFORM_PATHS_0 = [
|
|
49
|
+
{ path: "query.sort.origin.latitude" },
|
|
50
|
+
{ path: "query.sort.origin.longitude" }
|
|
51
|
+
];
|
|
52
|
+
var TRANSFORM_PATHS_1 = [
|
|
53
|
+
{ path: "menu.createdDate" },
|
|
54
|
+
{ path: "menu.updatedDate" },
|
|
55
|
+
{ path: "menu.externalReferenceInfo.lastSyncDate" }
|
|
56
|
+
];
|
|
57
|
+
var TRANSFORM_PATHS_2 = [
|
|
58
|
+
{ path: "menus.createdDate" },
|
|
59
|
+
{ path: "menus.updatedDate" },
|
|
60
|
+
{ path: "menus.externalReferenceInfo.lastSyncDate" }
|
|
61
|
+
];
|
|
62
|
+
var TRANSFORM_PATHS_3 = [
|
|
63
|
+
{ path: "results.menu.createdDate" },
|
|
64
|
+
{ path: "results.menu.updatedDate" },
|
|
65
|
+
{ path: "results.menu.externalReferenceInfo.lastSyncDate" }
|
|
66
|
+
];
|
|
67
|
+
var TRANSFORM_PATHS_4 = [{ path: "mask" }];
|
|
68
|
+
var TRANSFORM_PATHS_5 = [{ path: "menus.mask" }];
|
|
69
|
+
var TRANSFORM_PATHS_6 = [
|
|
70
|
+
{ path: "menus.menu.createdDate" },
|
|
71
|
+
{ path: "menus.menu.updatedDate" },
|
|
72
|
+
{ path: "menus.menu.externalReferenceInfo.lastSyncDate" }
|
|
73
|
+
];
|
|
74
|
+
function resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl(opts) {
|
|
49
75
|
const domainToMappings = {
|
|
50
76
|
"manage._base_domain_": [
|
|
51
77
|
{
|
|
@@ -140,7 +166,7 @@ function resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusSiteUrlRestaura
|
|
|
140
166
|
};
|
|
141
167
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
142
168
|
}
|
|
143
|
-
function
|
|
169
|
+
function resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusSiteUrlRestaurantsMenusSiteUrlUrl(opts) {
|
|
144
170
|
const domainToMappings = {
|
|
145
171
|
"manage._base_domain_": [
|
|
146
172
|
{
|
|
@@ -235,7 +261,7 @@ function resolveComWixpressRestaurantsMenusMenuV1RestaurantsDuplicateMenuRestaur
|
|
|
235
261
|
};
|
|
236
262
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
237
263
|
}
|
|
238
|
-
function
|
|
264
|
+
function resolveComWixpressRestaurantsMenusMenuV1RestaurantsDuplicateMenuRestaurantsDuplicateMenuUrl(opts) {
|
|
239
265
|
const domainToMappings = {
|
|
240
266
|
"manage._base_domain_": [
|
|
241
267
|
{
|
|
@@ -331,16 +357,79 @@ function resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl(opts) {
|
|
|
331
357
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
332
358
|
}
|
|
333
359
|
var PACKAGE_NAME = "@wix/auto_sdk_restaurants_menus";
|
|
360
|
+
function duplicateMenu(payload) {
|
|
361
|
+
function __duplicateMenu({ host }) {
|
|
362
|
+
const metadata = {
|
|
363
|
+
entityFqdn: "wix.restaurants.menus.v1.menu",
|
|
364
|
+
method: "POST",
|
|
365
|
+
methodFqn: "com.wixpress.restaurants.menus_menu.v1.restaurants_duplicate_menu.RestaurantsDuplicateMenu.DuplicateMenu",
|
|
366
|
+
packageName: PACKAGE_NAME,
|
|
367
|
+
migrationOptions: {
|
|
368
|
+
optInTransformResponse: true
|
|
369
|
+
},
|
|
370
|
+
url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsDuplicateMenuRestaurantsDuplicateMenuUrl(
|
|
371
|
+
{ protoPath: "/v1/menus/{id}/duplicate", data: payload, host }
|
|
372
|
+
),
|
|
373
|
+
data: payload
|
|
374
|
+
};
|
|
375
|
+
return metadata;
|
|
376
|
+
}
|
|
377
|
+
return __duplicateMenu;
|
|
378
|
+
}
|
|
379
|
+
function getMenuSiteUrl(payload) {
|
|
380
|
+
function __getMenuSiteUrl({ host }) {
|
|
381
|
+
const metadata = {
|
|
382
|
+
entityFqdn: "wix.restaurants.menus.v1.menu",
|
|
383
|
+
method: "GET",
|
|
384
|
+
methodFqn: "com.wixpress.restaurants.menus_menu.v1.restaurants_menus_site_url.RestaurantsMenusSiteUrl.GetMenuSiteUrl",
|
|
385
|
+
packageName: PACKAGE_NAME,
|
|
386
|
+
migrationOptions: {
|
|
387
|
+
optInTransformResponse: true
|
|
388
|
+
},
|
|
389
|
+
url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusSiteUrlRestaurantsMenusSiteUrlUrl(
|
|
390
|
+
{ protoPath: "/v1/menus-site-url/menus/{id}", data: payload, host }
|
|
391
|
+
),
|
|
392
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload)
|
|
393
|
+
};
|
|
394
|
+
return metadata;
|
|
395
|
+
}
|
|
396
|
+
return __getMenuSiteUrl;
|
|
397
|
+
}
|
|
398
|
+
function queryMenusSiteUrl(payload) {
|
|
399
|
+
function __queryMenusSiteUrl({ host }) {
|
|
400
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
401
|
+
{
|
|
402
|
+
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
403
|
+
paths: TRANSFORM_PATHS_0
|
|
404
|
+
}
|
|
405
|
+
]);
|
|
406
|
+
const metadata = {
|
|
407
|
+
entityFqdn: "wix.restaurants.menus.v1.menu",
|
|
408
|
+
method: "POST",
|
|
409
|
+
methodFqn: "com.wixpress.restaurants.menus_menu.v1.restaurants_menus_site_url.RestaurantsMenusSiteUrl.QueryMenusSiteUrl",
|
|
410
|
+
packageName: PACKAGE_NAME,
|
|
411
|
+
migrationOptions: {
|
|
412
|
+
optInTransformResponse: true
|
|
413
|
+
},
|
|
414
|
+
url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusSiteUrlRestaurantsMenusSiteUrlUrl(
|
|
415
|
+
{
|
|
416
|
+
protoPath: "/v1/menus-site-url/menus/query",
|
|
417
|
+
data: serializedData,
|
|
418
|
+
host
|
|
419
|
+
}
|
|
420
|
+
),
|
|
421
|
+
data: serializedData
|
|
422
|
+
};
|
|
423
|
+
return metadata;
|
|
424
|
+
}
|
|
425
|
+
return __queryMenusSiteUrl;
|
|
426
|
+
}
|
|
334
427
|
function createMenu(payload) {
|
|
335
428
|
function __createMenu({ host }) {
|
|
336
429
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
337
430
|
{
|
|
338
431
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
339
|
-
paths:
|
|
340
|
-
{ path: "menu.createdDate" },
|
|
341
|
-
{ path: "menu.updatedDate" },
|
|
342
|
-
{ path: "menu.externalReferenceInfo.lastSyncDate" }
|
|
343
|
-
]
|
|
432
|
+
paths: TRANSFORM_PATHS_1
|
|
344
433
|
}
|
|
345
434
|
]);
|
|
346
435
|
const metadata = {
|
|
@@ -360,11 +449,7 @@ function createMenu(payload) {
|
|
|
360
449
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
361
450
|
{
|
|
362
451
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
363
|
-
paths:
|
|
364
|
-
{ path: "menu.createdDate" },
|
|
365
|
-
{ path: "menu.updatedDate" },
|
|
366
|
-
{ path: "menu.externalReferenceInfo.lastSyncDate" }
|
|
367
|
-
]
|
|
452
|
+
paths: TRANSFORM_PATHS_1
|
|
368
453
|
}
|
|
369
454
|
])
|
|
370
455
|
};
|
|
@@ -377,11 +462,7 @@ function bulkCreateMenus(payload) {
|
|
|
377
462
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
378
463
|
{
|
|
379
464
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
380
|
-
paths:
|
|
381
|
-
{ path: "menus.createdDate" },
|
|
382
|
-
{ path: "menus.updatedDate" },
|
|
383
|
-
{ path: "menus.externalReferenceInfo.lastSyncDate" }
|
|
384
|
-
]
|
|
465
|
+
paths: TRANSFORM_PATHS_2
|
|
385
466
|
}
|
|
386
467
|
]);
|
|
387
468
|
const metadata = {
|
|
@@ -401,11 +482,7 @@ function bulkCreateMenus(payload) {
|
|
|
401
482
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
402
483
|
{
|
|
403
484
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
404
|
-
paths:
|
|
405
|
-
{ path: "results.menu.createdDate" },
|
|
406
|
-
{ path: "results.menu.updatedDate" },
|
|
407
|
-
{ path: "results.menu.externalReferenceInfo.lastSyncDate" }
|
|
408
|
-
]
|
|
485
|
+
paths: TRANSFORM_PATHS_3
|
|
409
486
|
}
|
|
410
487
|
])
|
|
411
488
|
};
|
|
@@ -432,11 +509,7 @@ function getMenu(payload) {
|
|
|
432
509
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
433
510
|
{
|
|
434
511
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
435
|
-
paths:
|
|
436
|
-
{ path: "menu.createdDate" },
|
|
437
|
-
{ path: "menu.updatedDate" },
|
|
438
|
-
{ path: "menu.externalReferenceInfo.lastSyncDate" }
|
|
439
|
-
]
|
|
512
|
+
paths: TRANSFORM_PATHS_1
|
|
440
513
|
}
|
|
441
514
|
])
|
|
442
515
|
};
|
|
@@ -463,11 +536,7 @@ function listMenus(payload) {
|
|
|
463
536
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
464
537
|
{
|
|
465
538
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
466
|
-
paths:
|
|
467
|
-
{ path: "menus.createdDate" },
|
|
468
|
-
{ path: "menus.updatedDate" },
|
|
469
|
-
{ path: "menus.externalReferenceInfo.lastSyncDate" }
|
|
470
|
-
]
|
|
539
|
+
paths: TRANSFORM_PATHS_2
|
|
471
540
|
}
|
|
472
541
|
])
|
|
473
542
|
};
|
|
@@ -480,10 +549,7 @@ function queryMenus(payload) {
|
|
|
480
549
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
481
550
|
{
|
|
482
551
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
483
|
-
paths:
|
|
484
|
-
{ path: "query.sort.origin.latitude" },
|
|
485
|
-
{ path: "query.sort.origin.longitude" }
|
|
486
|
-
]
|
|
552
|
+
paths: TRANSFORM_PATHS_0
|
|
487
553
|
}
|
|
488
554
|
]);
|
|
489
555
|
const metadata = {
|
|
@@ -503,11 +569,7 @@ function queryMenus(payload) {
|
|
|
503
569
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
504
570
|
{
|
|
505
571
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
506
|
-
paths:
|
|
507
|
-
{ path: "menus.createdDate" },
|
|
508
|
-
{ path: "menus.updatedDate" },
|
|
509
|
-
{ path: "menus.externalReferenceInfo.lastSyncDate" }
|
|
510
|
-
]
|
|
572
|
+
paths: TRANSFORM_PATHS_2
|
|
511
573
|
}
|
|
512
574
|
])
|
|
513
575
|
};
|
|
@@ -520,15 +582,11 @@ function updateMenu(payload) {
|
|
|
520
582
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
521
583
|
{
|
|
522
584
|
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
523
|
-
paths:
|
|
585
|
+
paths: TRANSFORM_PATHS_4
|
|
524
586
|
},
|
|
525
587
|
{
|
|
526
588
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
527
|
-
paths:
|
|
528
|
-
{ path: "menu.createdDate" },
|
|
529
|
-
{ path: "menu.updatedDate" },
|
|
530
|
-
{ path: "menu.externalReferenceInfo.lastSyncDate" }
|
|
531
|
-
]
|
|
589
|
+
paths: TRANSFORM_PATHS_1
|
|
532
590
|
}
|
|
533
591
|
]);
|
|
534
592
|
const metadata = {
|
|
@@ -548,11 +606,7 @@ function updateMenu(payload) {
|
|
|
548
606
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
549
607
|
{
|
|
550
608
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
551
|
-
paths:
|
|
552
|
-
{ path: "menu.createdDate" },
|
|
553
|
-
{ path: "menu.updatedDate" },
|
|
554
|
-
{ path: "menu.externalReferenceInfo.lastSyncDate" }
|
|
555
|
-
]
|
|
609
|
+
paths: TRANSFORM_PATHS_1
|
|
556
610
|
}
|
|
557
611
|
])
|
|
558
612
|
};
|
|
@@ -565,15 +619,11 @@ function bulkUpdateMenu(payload) {
|
|
|
565
619
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
566
620
|
{
|
|
567
621
|
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
568
|
-
paths:
|
|
622
|
+
paths: TRANSFORM_PATHS_5
|
|
569
623
|
},
|
|
570
624
|
{
|
|
571
625
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
572
|
-
paths:
|
|
573
|
-
{ path: "menus.menu.createdDate" },
|
|
574
|
-
{ path: "menus.menu.updatedDate" },
|
|
575
|
-
{ path: "menus.menu.externalReferenceInfo.lastSyncDate" }
|
|
576
|
-
]
|
|
626
|
+
paths: TRANSFORM_PATHS_6
|
|
577
627
|
}
|
|
578
628
|
]);
|
|
579
629
|
const metadata = {
|
|
@@ -593,11 +643,7 @@ function bulkUpdateMenu(payload) {
|
|
|
593
643
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
594
644
|
{
|
|
595
645
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
596
|
-
paths:
|
|
597
|
-
{ path: "results.menu.createdDate" },
|
|
598
|
-
{ path: "results.menu.updatedDate" },
|
|
599
|
-
{ path: "results.menu.externalReferenceInfo.lastSyncDate" }
|
|
600
|
-
]
|
|
646
|
+
paths: TRANSFORM_PATHS_3
|
|
601
647
|
}
|
|
602
648
|
])
|
|
603
649
|
};
|
|
@@ -647,83 +693,8 @@ function deleteMenu(payload) {
|
|
|
647
693
|
}
|
|
648
694
|
return __deleteMenu;
|
|
649
695
|
}
|
|
650
|
-
function duplicateMenu(payload) {
|
|
651
|
-
function __duplicateMenu({ host }) {
|
|
652
|
-
const metadata = {
|
|
653
|
-
entityFqdn: "wix.restaurants.menus.v1.menu",
|
|
654
|
-
method: "POST",
|
|
655
|
-
methodFqn: "com.wixpress.restaurants.menus_menu.v1.restaurants_duplicate_menu.RestaurantsDuplicateMenu.DuplicateMenu",
|
|
656
|
-
packageName: PACKAGE_NAME,
|
|
657
|
-
migrationOptions: {
|
|
658
|
-
optInTransformResponse: true
|
|
659
|
-
},
|
|
660
|
-
url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsDuplicateMenuRestaurantsDuplicateMenuUrl(
|
|
661
|
-
{ protoPath: "/v1/menus/{id}/duplicate", data: payload, host }
|
|
662
|
-
),
|
|
663
|
-
data: payload
|
|
664
|
-
};
|
|
665
|
-
return metadata;
|
|
666
|
-
}
|
|
667
|
-
return __duplicateMenu;
|
|
668
|
-
}
|
|
669
|
-
function getMenuSiteUrl(payload) {
|
|
670
|
-
function __getMenuSiteUrl({ host }) {
|
|
671
|
-
const metadata = {
|
|
672
|
-
entityFqdn: "wix.restaurants.menus.v1.menu",
|
|
673
|
-
method: "GET",
|
|
674
|
-
methodFqn: "com.wixpress.restaurants.menus_menu.v1.restaurants_menus_site_url.RestaurantsMenusSiteUrl.GetMenuSiteUrl",
|
|
675
|
-
packageName: PACKAGE_NAME,
|
|
676
|
-
migrationOptions: {
|
|
677
|
-
optInTransformResponse: true
|
|
678
|
-
},
|
|
679
|
-
url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusSiteUrlRestaurantsMenusSiteUrlUrl(
|
|
680
|
-
{ protoPath: "/v1/menus-site-url/menus/{id}", data: payload, host }
|
|
681
|
-
),
|
|
682
|
-
params: (0, import_rest_modules.toURLSearchParams)(payload)
|
|
683
|
-
};
|
|
684
|
-
return metadata;
|
|
685
|
-
}
|
|
686
|
-
return __getMenuSiteUrl;
|
|
687
|
-
}
|
|
688
|
-
function queryMenusSiteUrl(payload) {
|
|
689
|
-
function __queryMenusSiteUrl({ host }) {
|
|
690
|
-
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
691
|
-
{
|
|
692
|
-
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
693
|
-
paths: [
|
|
694
|
-
{ path: "query.sort.origin.latitude" },
|
|
695
|
-
{ path: "query.sort.origin.longitude" }
|
|
696
|
-
]
|
|
697
|
-
}
|
|
698
|
-
]);
|
|
699
|
-
const metadata = {
|
|
700
|
-
entityFqdn: "wix.restaurants.menus.v1.menu",
|
|
701
|
-
method: "POST",
|
|
702
|
-
methodFqn: "com.wixpress.restaurants.menus_menu.v1.restaurants_menus_site_url.RestaurantsMenusSiteUrl.QueryMenusSiteUrl",
|
|
703
|
-
packageName: PACKAGE_NAME,
|
|
704
|
-
migrationOptions: {
|
|
705
|
-
optInTransformResponse: true
|
|
706
|
-
},
|
|
707
|
-
url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusSiteUrlRestaurantsMenusSiteUrlUrl(
|
|
708
|
-
{
|
|
709
|
-
protoPath: "/v1/menus-site-url/menus/query",
|
|
710
|
-
data: serializedData,
|
|
711
|
-
host
|
|
712
|
-
}
|
|
713
|
-
),
|
|
714
|
-
data: serializedData
|
|
715
|
-
};
|
|
716
|
-
return metadata;
|
|
717
|
-
}
|
|
718
|
-
return __queryMenusSiteUrl;
|
|
719
|
-
}
|
|
720
696
|
|
|
721
697
|
// src/restaurants-menus-v1-menu-menus.types.ts
|
|
722
|
-
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
723
|
-
SortOrder2["ASC"] = "ASC";
|
|
724
|
-
SortOrder2["DESC"] = "DESC";
|
|
725
|
-
return SortOrder2;
|
|
726
|
-
})(SortOrder || {});
|
|
727
698
|
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
728
699
|
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
729
700
|
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
@@ -732,8 +703,67 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
732
703
|
WebhookIdentityType2["APP"] = "APP";
|
|
733
704
|
return WebhookIdentityType2;
|
|
734
705
|
})(WebhookIdentityType || {});
|
|
706
|
+
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
707
|
+
SortOrder2["ASC"] = "ASC";
|
|
708
|
+
SortOrder2["DESC"] = "DESC";
|
|
709
|
+
return SortOrder2;
|
|
710
|
+
})(SortOrder || {});
|
|
735
711
|
|
|
736
712
|
// src/restaurants-menus-v1-menu-menus.meta.ts
|
|
713
|
+
function duplicateMenu2() {
|
|
714
|
+
const payload = { id: ":id" };
|
|
715
|
+
const getRequestOptions = duplicateMenu(payload);
|
|
716
|
+
const getUrl = (context) => {
|
|
717
|
+
const { url } = getRequestOptions(context);
|
|
718
|
+
return url;
|
|
719
|
+
};
|
|
720
|
+
return {
|
|
721
|
+
getUrl,
|
|
722
|
+
httpMethod: "POST",
|
|
723
|
+
path: "/v1/menus/{id}/duplicate",
|
|
724
|
+
pathParams: { id: "id" },
|
|
725
|
+
__requestType: null,
|
|
726
|
+
__originalRequestType: null,
|
|
727
|
+
__responseType: null,
|
|
728
|
+
__originalResponseType: null
|
|
729
|
+
};
|
|
730
|
+
}
|
|
731
|
+
function getMenuSiteUrl2() {
|
|
732
|
+
const payload = { id: ":id" };
|
|
733
|
+
const getRequestOptions = getMenuSiteUrl(payload);
|
|
734
|
+
const getUrl = (context) => {
|
|
735
|
+
const { url } = getRequestOptions(context);
|
|
736
|
+
return url;
|
|
737
|
+
};
|
|
738
|
+
return {
|
|
739
|
+
getUrl,
|
|
740
|
+
httpMethod: "GET",
|
|
741
|
+
path: "/v1/menus-site-url/menus/{id}",
|
|
742
|
+
pathParams: { id: "id" },
|
|
743
|
+
__requestType: null,
|
|
744
|
+
__originalRequestType: null,
|
|
745
|
+
__responseType: null,
|
|
746
|
+
__originalResponseType: null
|
|
747
|
+
};
|
|
748
|
+
}
|
|
749
|
+
function queryMenusSiteUrl2() {
|
|
750
|
+
const payload = {};
|
|
751
|
+
const getRequestOptions = queryMenusSiteUrl(payload);
|
|
752
|
+
const getUrl = (context) => {
|
|
753
|
+
const { url } = getRequestOptions(context);
|
|
754
|
+
return url;
|
|
755
|
+
};
|
|
756
|
+
return {
|
|
757
|
+
getUrl,
|
|
758
|
+
httpMethod: "POST",
|
|
759
|
+
path: "/v1/menus-site-url/menus/query",
|
|
760
|
+
pathParams: {},
|
|
761
|
+
__requestType: null,
|
|
762
|
+
__originalRequestType: null,
|
|
763
|
+
__responseType: null,
|
|
764
|
+
__originalResponseType: null
|
|
765
|
+
};
|
|
766
|
+
}
|
|
737
767
|
function createMenu2() {
|
|
738
768
|
const payload = {};
|
|
739
769
|
const getRequestOptions = createMenu(payload);
|
|
@@ -896,60 +926,6 @@ function deleteMenu2() {
|
|
|
896
926
|
__originalResponseType: null
|
|
897
927
|
};
|
|
898
928
|
}
|
|
899
|
-
function duplicateMenu2() {
|
|
900
|
-
const payload = { id: ":id" };
|
|
901
|
-
const getRequestOptions = duplicateMenu(payload);
|
|
902
|
-
const getUrl = (context) => {
|
|
903
|
-
const { url } = getRequestOptions(context);
|
|
904
|
-
return url;
|
|
905
|
-
};
|
|
906
|
-
return {
|
|
907
|
-
getUrl,
|
|
908
|
-
httpMethod: "POST",
|
|
909
|
-
path: "/v1/menus/{id}/duplicate",
|
|
910
|
-
pathParams: { id: "id" },
|
|
911
|
-
__requestType: null,
|
|
912
|
-
__originalRequestType: null,
|
|
913
|
-
__responseType: null,
|
|
914
|
-
__originalResponseType: null
|
|
915
|
-
};
|
|
916
|
-
}
|
|
917
|
-
function getMenuSiteUrl2() {
|
|
918
|
-
const payload = { id: ":id" };
|
|
919
|
-
const getRequestOptions = getMenuSiteUrl(payload);
|
|
920
|
-
const getUrl = (context) => {
|
|
921
|
-
const { url } = getRequestOptions(context);
|
|
922
|
-
return url;
|
|
923
|
-
};
|
|
924
|
-
return {
|
|
925
|
-
getUrl,
|
|
926
|
-
httpMethod: "GET",
|
|
927
|
-
path: "/v1/menus-site-url/menus/{id}",
|
|
928
|
-
pathParams: { id: "id" },
|
|
929
|
-
__requestType: null,
|
|
930
|
-
__originalRequestType: null,
|
|
931
|
-
__responseType: null,
|
|
932
|
-
__originalResponseType: null
|
|
933
|
-
};
|
|
934
|
-
}
|
|
935
|
-
function queryMenusSiteUrl2() {
|
|
936
|
-
const payload = {};
|
|
937
|
-
const getRequestOptions = queryMenusSiteUrl(payload);
|
|
938
|
-
const getUrl = (context) => {
|
|
939
|
-
const { url } = getRequestOptions(context);
|
|
940
|
-
return url;
|
|
941
|
-
};
|
|
942
|
-
return {
|
|
943
|
-
getUrl,
|
|
944
|
-
httpMethod: "POST",
|
|
945
|
-
path: "/v1/menus-site-url/menus/query",
|
|
946
|
-
pathParams: {},
|
|
947
|
-
__requestType: null,
|
|
948
|
-
__originalRequestType: null,
|
|
949
|
-
__responseType: null,
|
|
950
|
-
__originalResponseType: null
|
|
951
|
-
};
|
|
952
|
-
}
|
|
953
929
|
// Annotate the CommonJS export names for ESM import in node:
|
|
954
930
|
0 && (module.exports = {
|
|
955
931
|
SortOrderOriginal,
|