@wix/auto_sdk_restaurants_menus 1.0.89 → 1.0.90
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 +514 -514
- package/build/cjs/index.typings.js +173 -173
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +319 -319
- 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 +514 -514
- package/build/es/index.typings.mjs +173 -173
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +319 -319
- 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 +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
|
@@ -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 = [
|
|
49
53
|
{ path: "menu.createdDate" },
|
|
50
54
|
{ path: "menu.updatedDate" },
|
|
51
55
|
{ path: "menu.externalReferenceInfo.lastSyncDate" }
|
|
52
56
|
];
|
|
53
|
-
var
|
|
57
|
+
var TRANSFORM_PATHS_2 = [
|
|
54
58
|
{ path: "menus.createdDate" },
|
|
55
59
|
{ path: "menus.updatedDate" },
|
|
56
60
|
{ path: "menus.externalReferenceInfo.lastSyncDate" }
|
|
57
61
|
];
|
|
58
|
-
var
|
|
62
|
+
var TRANSFORM_PATHS_3 = [
|
|
59
63
|
{ path: "results.menu.createdDate" },
|
|
60
64
|
{ path: "results.menu.updatedDate" },
|
|
61
65
|
{ path: "results.menu.externalReferenceInfo.lastSyncDate" }
|
|
62
66
|
];
|
|
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 resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl(opts) {
|
|
75
75
|
const domainToMappings = {
|
|
76
76
|
"manage._base_domain_": [
|
|
77
77
|
{
|
|
@@ -166,7 +166,7 @@ function resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusSiteUrlRestaura
|
|
|
166
166
|
};
|
|
167
167
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusSiteUrlRestaurantsMenusSiteUrlUrl(opts) {
|
|
170
170
|
const domainToMappings = {
|
|
171
171
|
"manage._base_domain_": [
|
|
172
172
|
{
|
|
@@ -261,7 +261,7 @@ function resolveComWixpressRestaurantsMenusMenuV1RestaurantsDuplicateMenuRestaur
|
|
|
261
261
|
};
|
|
262
262
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
263
263
|
}
|
|
264
|
-
function
|
|
264
|
+
function resolveComWixpressRestaurantsMenusMenuV1RestaurantsDuplicateMenuRestaurantsDuplicateMenuUrl(opts) {
|
|
265
265
|
const domainToMappings = {
|
|
266
266
|
"manage._base_domain_": [
|
|
267
267
|
{
|
|
@@ -357,12 +357,79 @@ function resolveComWixpressRestaurantsMenusMenuV1RestaurantsMenusMenuUrl(opts) {
|
|
|
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
|
+
}
|
|
360
427
|
function createMenu(payload) {
|
|
361
428
|
function __createMenu({ host }) {
|
|
362
429
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
363
430
|
{
|
|
364
431
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
365
|
-
paths:
|
|
432
|
+
paths: TRANSFORM_PATHS_1
|
|
366
433
|
}
|
|
367
434
|
]);
|
|
368
435
|
const metadata = {
|
|
@@ -382,7 +449,7 @@ function createMenu(payload) {
|
|
|
382
449
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
383
450
|
{
|
|
384
451
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
385
|
-
paths:
|
|
452
|
+
paths: TRANSFORM_PATHS_1
|
|
386
453
|
}
|
|
387
454
|
])
|
|
388
455
|
};
|
|
@@ -395,7 +462,7 @@ function bulkCreateMenus(payload) {
|
|
|
395
462
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
396
463
|
{
|
|
397
464
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
398
|
-
paths:
|
|
465
|
+
paths: TRANSFORM_PATHS_2
|
|
399
466
|
}
|
|
400
467
|
]);
|
|
401
468
|
const metadata = {
|
|
@@ -415,7 +482,7 @@ function bulkCreateMenus(payload) {
|
|
|
415
482
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
416
483
|
{
|
|
417
484
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
418
|
-
paths:
|
|
485
|
+
paths: TRANSFORM_PATHS_3
|
|
419
486
|
}
|
|
420
487
|
])
|
|
421
488
|
};
|
|
@@ -442,7 +509,7 @@ function getMenu(payload) {
|
|
|
442
509
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
443
510
|
{
|
|
444
511
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
445
|
-
paths:
|
|
512
|
+
paths: TRANSFORM_PATHS_1
|
|
446
513
|
}
|
|
447
514
|
])
|
|
448
515
|
};
|
|
@@ -469,7 +536,7 @@ function listMenus(payload) {
|
|
|
469
536
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
470
537
|
{
|
|
471
538
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
472
|
-
paths:
|
|
539
|
+
paths: TRANSFORM_PATHS_2
|
|
473
540
|
}
|
|
474
541
|
])
|
|
475
542
|
};
|
|
@@ -482,7 +549,7 @@ function queryMenus(payload) {
|
|
|
482
549
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
483
550
|
{
|
|
484
551
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
485
|
-
paths:
|
|
552
|
+
paths: TRANSFORM_PATHS_0
|
|
486
553
|
}
|
|
487
554
|
]);
|
|
488
555
|
const metadata = {
|
|
@@ -502,7 +569,7 @@ function queryMenus(payload) {
|
|
|
502
569
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
503
570
|
{
|
|
504
571
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
505
|
-
paths:
|
|
572
|
+
paths: TRANSFORM_PATHS_2
|
|
506
573
|
}
|
|
507
574
|
])
|
|
508
575
|
};
|
|
@@ -519,7 +586,7 @@ function updateMenu(payload) {
|
|
|
519
586
|
},
|
|
520
587
|
{
|
|
521
588
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
522
|
-
paths:
|
|
589
|
+
paths: TRANSFORM_PATHS_1
|
|
523
590
|
}
|
|
524
591
|
]);
|
|
525
592
|
const metadata = {
|
|
@@ -539,7 +606,7 @@ function updateMenu(payload) {
|
|
|
539
606
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
540
607
|
{
|
|
541
608
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
542
|
-
paths:
|
|
609
|
+
paths: TRANSFORM_PATHS_1
|
|
543
610
|
}
|
|
544
611
|
])
|
|
545
612
|
};
|
|
@@ -576,7 +643,7 @@ function bulkUpdateMenu(payload) {
|
|
|
576
643
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
577
644
|
{
|
|
578
645
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
579
|
-
paths:
|
|
646
|
+
paths: TRANSFORM_PATHS_3
|
|
580
647
|
}
|
|
581
648
|
])
|
|
582
649
|
};
|
|
@@ -626,80 +693,8 @@ function deleteMenu(payload) {
|
|
|
626
693
|
}
|
|
627
694
|
return __deleteMenu;
|
|
628
695
|
}
|
|
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 || {});
|
|
703
698
|
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
704
699
|
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
705
700
|
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
@@ -708,8 +703,67 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
708
703
|
WebhookIdentityType2["APP"] = "APP";
|
|
709
704
|
return WebhookIdentityType2;
|
|
710
705
|
})(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
|
+
}
|
|
713
767
|
function createMenu2() {
|
|
714
768
|
const payload = {};
|
|
715
769
|
const getRequestOptions = createMenu(payload);
|
|
@@ -872,60 +926,6 @@ function deleteMenu2() {
|
|
|
872
926
|
__originalResponseType: null
|
|
873
927
|
};
|
|
874
928
|
}
|
|
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,
|