@wix/auto_sdk_restaurants_menus 1.0.88 → 1.0.89
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 +215 -215
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +520 -520
- package/build/cjs/index.typings.js +173 -173
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +315 -315
- package/build/cjs/meta.js +146 -146
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +27 -27
- package/build/es/index.mjs +215 -215
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +520 -520
- package/build/es/index.typings.mjs +173 -173
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +315 -315
- package/build/es/meta.mjs +146 -146
- 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 +544 -544
- package/build/internal/cjs/meta.d.ts +483 -483
- package/build/internal/es/index.d.mts +27 -27
- package/build/internal/es/index.typings.d.mts +544 -544
- package/build/internal/es/meta.d.mts +483 -483
- package/package.json +2 -2
package/build/cjs/meta.js
CHANGED
|
@@ -46,24 +46,24 @@ 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
49
|
{ path: "menu.createdDate" },
|
|
54
50
|
{ path: "menu.updatedDate" },
|
|
55
51
|
{ path: "menu.externalReferenceInfo.lastSyncDate" }
|
|
56
52
|
];
|
|
57
|
-
var
|
|
53
|
+
var TRANSFORM_PATHS_1 = [
|
|
58
54
|
{ path: "menus.createdDate" },
|
|
59
55
|
{ path: "menus.updatedDate" },
|
|
60
56
|
{ path: "menus.externalReferenceInfo.lastSyncDate" }
|
|
61
57
|
];
|
|
62
|
-
var
|
|
58
|
+
var TRANSFORM_PATHS_2 = [
|
|
63
59
|
{ path: "results.menu.createdDate" },
|
|
64
60
|
{ path: "results.menu.updatedDate" },
|
|
65
61
|
{ path: "results.menu.externalReferenceInfo.lastSyncDate" }
|
|
66
62
|
];
|
|
63
|
+
var TRANSFORM_PATHS_3 = [
|
|
64
|
+
{ path: "query.sort.origin.latitude" },
|
|
65
|
+
{ path: "query.sort.origin.longitude" }
|
|
66
|
+
];
|
|
67
67
|
var TRANSFORM_PATHS_4 = [{ path: "mask" }];
|
|
68
68
|
var TRANSFORM_PATHS_5 = [{ path: "menus.mask" }];
|
|
69
69
|
var TRANSFORM_PATHS_6 = [
|
|
@@ -71,7 +71,7 @@ var TRANSFORM_PATHS_6 = [
|
|
|
71
71
|
{ path: "menus.menu.updatedDate" },
|
|
72
72
|
{ path: "menus.menu.externalReferenceInfo.lastSyncDate" }
|
|
73
73
|
];
|
|
74
|
-
function
|
|
74
|
+
function resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusSiteUrlRestaurantsMenusSiteUrlUrl(opts) {
|
|
75
75
|
const domainToMappings = {
|
|
76
76
|
"manage._base_domain_": [
|
|
77
77
|
{
|
|
@@ -166,7 +166,7 @@ function resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl(opts) {
|
|
|
166
166
|
};
|
|
167
167
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function resolveComWixpressRestaurantsMenusMenuV1RestaurantsDuplicateMenuRestaurantsDuplicateMenuUrl(opts) {
|
|
170
170
|
const domainToMappings = {
|
|
171
171
|
"manage._base_domain_": [
|
|
172
172
|
{
|
|
@@ -261,7 +261,7 @@ function resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusSiteUrlRestaura
|
|
|
261
261
|
};
|
|
262
262
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
263
263
|
}
|
|
264
|
-
function
|
|
264
|
+
function resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl(opts) {
|
|
265
265
|
const domainToMappings = {
|
|
266
266
|
"manage._base_domain_": [
|
|
267
267
|
{
|
|
@@ -357,79 +357,12 @@ function resolveComWixpressRestaurantsMenusMenuV1RestaurantsDuplicateMenuRestaur
|
|
|
357
357
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
358
358
|
}
|
|
359
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
|
-
}
|
|
427
360
|
function createMenu(payload) {
|
|
428
361
|
function __createMenu({ host }) {
|
|
429
362
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
430
363
|
{
|
|
431
364
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
432
|
-
paths:
|
|
365
|
+
paths: TRANSFORM_PATHS_0
|
|
433
366
|
}
|
|
434
367
|
]);
|
|
435
368
|
const metadata = {
|
|
@@ -449,7 +382,7 @@ function createMenu(payload) {
|
|
|
449
382
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
450
383
|
{
|
|
451
384
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
452
|
-
paths:
|
|
385
|
+
paths: TRANSFORM_PATHS_0
|
|
453
386
|
}
|
|
454
387
|
])
|
|
455
388
|
};
|
|
@@ -462,7 +395,7 @@ function bulkCreateMenus(payload) {
|
|
|
462
395
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
463
396
|
{
|
|
464
397
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
465
|
-
paths:
|
|
398
|
+
paths: TRANSFORM_PATHS_1
|
|
466
399
|
}
|
|
467
400
|
]);
|
|
468
401
|
const metadata = {
|
|
@@ -482,7 +415,7 @@ function bulkCreateMenus(payload) {
|
|
|
482
415
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
483
416
|
{
|
|
484
417
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
485
|
-
paths:
|
|
418
|
+
paths: TRANSFORM_PATHS_2
|
|
486
419
|
}
|
|
487
420
|
])
|
|
488
421
|
};
|
|
@@ -509,7 +442,7 @@ function getMenu(payload) {
|
|
|
509
442
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
510
443
|
{
|
|
511
444
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
512
|
-
paths:
|
|
445
|
+
paths: TRANSFORM_PATHS_0
|
|
513
446
|
}
|
|
514
447
|
])
|
|
515
448
|
};
|
|
@@ -536,7 +469,7 @@ function listMenus(payload) {
|
|
|
536
469
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
537
470
|
{
|
|
538
471
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
539
|
-
paths:
|
|
472
|
+
paths: TRANSFORM_PATHS_1
|
|
540
473
|
}
|
|
541
474
|
])
|
|
542
475
|
};
|
|
@@ -549,7 +482,7 @@ function queryMenus(payload) {
|
|
|
549
482
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
550
483
|
{
|
|
551
484
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
552
|
-
paths:
|
|
485
|
+
paths: TRANSFORM_PATHS_3
|
|
553
486
|
}
|
|
554
487
|
]);
|
|
555
488
|
const metadata = {
|
|
@@ -569,7 +502,7 @@ function queryMenus(payload) {
|
|
|
569
502
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
570
503
|
{
|
|
571
504
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
572
|
-
paths:
|
|
505
|
+
paths: TRANSFORM_PATHS_1
|
|
573
506
|
}
|
|
574
507
|
])
|
|
575
508
|
};
|
|
@@ -586,7 +519,7 @@ function updateMenu(payload) {
|
|
|
586
519
|
},
|
|
587
520
|
{
|
|
588
521
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
589
|
-
paths:
|
|
522
|
+
paths: TRANSFORM_PATHS_0
|
|
590
523
|
}
|
|
591
524
|
]);
|
|
592
525
|
const metadata = {
|
|
@@ -606,7 +539,7 @@ function updateMenu(payload) {
|
|
|
606
539
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
607
540
|
{
|
|
608
541
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
609
|
-
paths:
|
|
542
|
+
paths: TRANSFORM_PATHS_0
|
|
610
543
|
}
|
|
611
544
|
])
|
|
612
545
|
};
|
|
@@ -643,7 +576,7 @@ function bulkUpdateMenu(payload) {
|
|
|
643
576
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
644
577
|
{
|
|
645
578
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
646
|
-
paths:
|
|
579
|
+
paths: TRANSFORM_PATHS_2
|
|
647
580
|
}
|
|
648
581
|
])
|
|
649
582
|
};
|
|
@@ -693,8 +626,80 @@ function deleteMenu(payload) {
|
|
|
693
626
|
}
|
|
694
627
|
return __deleteMenu;
|
|
695
628
|
}
|
|
629
|
+
function duplicateMenu(payload) {
|
|
630
|
+
function __duplicateMenu({ host }) {
|
|
631
|
+
const metadata = {
|
|
632
|
+
entityFqdn: "wix.restaurants.menus.v1.menu",
|
|
633
|
+
method: "POST",
|
|
634
|
+
methodFqn: "com.wixpress.restaurants.menus_menu.v1.restaurants_duplicate_menu.RestaurantsDuplicateMenu.DuplicateMenu",
|
|
635
|
+
packageName: PACKAGE_NAME,
|
|
636
|
+
migrationOptions: {
|
|
637
|
+
optInTransformResponse: true
|
|
638
|
+
},
|
|
639
|
+
url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsDuplicateMenuRestaurantsDuplicateMenuUrl(
|
|
640
|
+
{ protoPath: "/v1/menus/{id}/duplicate", data: payload, host }
|
|
641
|
+
),
|
|
642
|
+
data: payload
|
|
643
|
+
};
|
|
644
|
+
return metadata;
|
|
645
|
+
}
|
|
646
|
+
return __duplicateMenu;
|
|
647
|
+
}
|
|
648
|
+
function getMenuSiteUrl(payload) {
|
|
649
|
+
function __getMenuSiteUrl({ host }) {
|
|
650
|
+
const metadata = {
|
|
651
|
+
entityFqdn: "wix.restaurants.menus.v1.menu",
|
|
652
|
+
method: "GET",
|
|
653
|
+
methodFqn: "com.wixpress.restaurants.menus_menu.v1.restaurants_menus_site_url.RestaurantsMenusSiteUrl.GetMenuSiteUrl",
|
|
654
|
+
packageName: PACKAGE_NAME,
|
|
655
|
+
migrationOptions: {
|
|
656
|
+
optInTransformResponse: true
|
|
657
|
+
},
|
|
658
|
+
url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusSiteUrlRestaurantsMenusSiteUrlUrl(
|
|
659
|
+
{ protoPath: "/v1/menus-site-url/menus/{id}", data: payload, host }
|
|
660
|
+
),
|
|
661
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload)
|
|
662
|
+
};
|
|
663
|
+
return metadata;
|
|
664
|
+
}
|
|
665
|
+
return __getMenuSiteUrl;
|
|
666
|
+
}
|
|
667
|
+
function queryMenusSiteUrl(payload) {
|
|
668
|
+
function __queryMenusSiteUrl({ host }) {
|
|
669
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
670
|
+
{
|
|
671
|
+
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
672
|
+
paths: TRANSFORM_PATHS_3
|
|
673
|
+
}
|
|
674
|
+
]);
|
|
675
|
+
const metadata = {
|
|
676
|
+
entityFqdn: "wix.restaurants.menus.v1.menu",
|
|
677
|
+
method: "POST",
|
|
678
|
+
methodFqn: "com.wixpress.restaurants.menus_menu.v1.restaurants_menus_site_url.RestaurantsMenusSiteUrl.QueryMenusSiteUrl",
|
|
679
|
+
packageName: PACKAGE_NAME,
|
|
680
|
+
migrationOptions: {
|
|
681
|
+
optInTransformResponse: true
|
|
682
|
+
},
|
|
683
|
+
url: resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusSiteUrlRestaurantsMenusSiteUrlUrl(
|
|
684
|
+
{
|
|
685
|
+
protoPath: "/v1/menus-site-url/menus/query",
|
|
686
|
+
data: serializedData,
|
|
687
|
+
host
|
|
688
|
+
}
|
|
689
|
+
),
|
|
690
|
+
data: serializedData
|
|
691
|
+
};
|
|
692
|
+
return metadata;
|
|
693
|
+
}
|
|
694
|
+
return __queryMenusSiteUrl;
|
|
695
|
+
}
|
|
696
696
|
|
|
697
697
|
// src/restaurants-menus-v1-menu-menus.types.ts
|
|
698
|
+
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
699
|
+
SortOrder2["ASC"] = "ASC";
|
|
700
|
+
SortOrder2["DESC"] = "DESC";
|
|
701
|
+
return SortOrder2;
|
|
702
|
+
})(SortOrder || {});
|
|
698
703
|
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
699
704
|
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
700
705
|
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
@@ -703,67 +708,8 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
703
708
|
WebhookIdentityType2["APP"] = "APP";
|
|
704
709
|
return WebhookIdentityType2;
|
|
705
710
|
})(WebhookIdentityType || {});
|
|
706
|
-
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
707
|
-
SortOrder2["ASC"] = "ASC";
|
|
708
|
-
SortOrder2["DESC"] = "DESC";
|
|
709
|
-
return SortOrder2;
|
|
710
|
-
})(SortOrder || {});
|
|
711
711
|
|
|
712
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
|
-
}
|
|
767
713
|
function createMenu2() {
|
|
768
714
|
const payload = {};
|
|
769
715
|
const getRequestOptions = createMenu(payload);
|
|
@@ -926,6 +872,60 @@ function deleteMenu2() {
|
|
|
926
872
|
__originalResponseType: null
|
|
927
873
|
};
|
|
928
874
|
}
|
|
875
|
+
function duplicateMenu2() {
|
|
876
|
+
const payload = { id: ":id" };
|
|
877
|
+
const getRequestOptions = duplicateMenu(payload);
|
|
878
|
+
const getUrl = (context) => {
|
|
879
|
+
const { url } = getRequestOptions(context);
|
|
880
|
+
return url;
|
|
881
|
+
};
|
|
882
|
+
return {
|
|
883
|
+
getUrl,
|
|
884
|
+
httpMethod: "POST",
|
|
885
|
+
path: "/v1/menus/{id}/duplicate",
|
|
886
|
+
pathParams: { id: "id" },
|
|
887
|
+
__requestType: null,
|
|
888
|
+
__originalRequestType: null,
|
|
889
|
+
__responseType: null,
|
|
890
|
+
__originalResponseType: null
|
|
891
|
+
};
|
|
892
|
+
}
|
|
893
|
+
function getMenuSiteUrl2() {
|
|
894
|
+
const payload = { id: ":id" };
|
|
895
|
+
const getRequestOptions = getMenuSiteUrl(payload);
|
|
896
|
+
const getUrl = (context) => {
|
|
897
|
+
const { url } = getRequestOptions(context);
|
|
898
|
+
return url;
|
|
899
|
+
};
|
|
900
|
+
return {
|
|
901
|
+
getUrl,
|
|
902
|
+
httpMethod: "GET",
|
|
903
|
+
path: "/v1/menus-site-url/menus/{id}",
|
|
904
|
+
pathParams: { id: "id" },
|
|
905
|
+
__requestType: null,
|
|
906
|
+
__originalRequestType: null,
|
|
907
|
+
__responseType: null,
|
|
908
|
+
__originalResponseType: null
|
|
909
|
+
};
|
|
910
|
+
}
|
|
911
|
+
function queryMenusSiteUrl2() {
|
|
912
|
+
const payload = {};
|
|
913
|
+
const getRequestOptions = queryMenusSiteUrl(payload);
|
|
914
|
+
const getUrl = (context) => {
|
|
915
|
+
const { url } = getRequestOptions(context);
|
|
916
|
+
return url;
|
|
917
|
+
};
|
|
918
|
+
return {
|
|
919
|
+
getUrl,
|
|
920
|
+
httpMethod: "POST",
|
|
921
|
+
path: "/v1/menus-site-url/menus/query",
|
|
922
|
+
pathParams: {},
|
|
923
|
+
__requestType: null,
|
|
924
|
+
__originalRequestType: null,
|
|
925
|
+
__responseType: null,
|
|
926
|
+
__originalResponseType: null
|
|
927
|
+
};
|
|
928
|
+
}
|
|
929
929
|
// Annotate the CommonJS export names for ESM import in node:
|
|
930
930
|
0 && (module.exports = {
|
|
931
931
|
SortOrderOriginal,
|