@compassdigital/sdk.typescript 4.58.0 → 4.60.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/lib/base.js +3 -3
- package/lib/index.d.ts +235 -7
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +263 -3
- package/lib/index.js.map +1 -1
- package/lib/interface/menu.d.ts +340 -22
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/shoppingcart.d.ts +2 -0
- package/lib/interface/shoppingcart.d.ts.map +1 -1
- package/lib/interface/user.d.ts +38 -35
- package/lib/interface/user.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +660 -10
- package/src/interface/menu.ts +574 -40
- package/src/interface/shoppingcart.ts +2 -0
- package/src/interface/user.ts +46 -41
package/src/index.ts
CHANGED
|
@@ -379,8 +379,8 @@ import {
|
|
|
379
379
|
PostUserAuthResponse,
|
|
380
380
|
PostUserOauthBody,
|
|
381
381
|
PostUserOauthResponse,
|
|
382
|
-
|
|
383
|
-
|
|
382
|
+
PostUserZendeskBody,
|
|
383
|
+
PostUserZendeskResponse,
|
|
384
384
|
PostUserQuery,
|
|
385
385
|
PostUserBody,
|
|
386
386
|
PostUserResponse,
|
|
@@ -533,6 +533,7 @@ import {
|
|
|
533
533
|
PostMenuV3LocalMenuGroupsResponse,
|
|
534
534
|
GetMenuV3LocalMenuGroupsCountQuery,
|
|
535
535
|
GetMenuV3LocalMenuGroupsCountResponse,
|
|
536
|
+
PostMenuV3LocalMenuGroupRecoverResponse,
|
|
536
537
|
GetMenuV3DraftLocalMenuGroupBrandsQuery,
|
|
537
538
|
GetMenuV3DraftLocalMenuGroupBrandsResponse,
|
|
538
539
|
GetMenuV3LocalMenuGroupBrandsQuery,
|
|
@@ -549,6 +550,8 @@ import {
|
|
|
549
550
|
PostMenuV3LocalMenuGroupsSiteGroupsResponse,
|
|
550
551
|
DeleteMenuV3LocalMenuGroupsSiteGroupsBody,
|
|
551
552
|
DeleteMenuV3LocalMenuGroupsSiteGroupsResponse,
|
|
553
|
+
GetMenuV3LocalMenuGroupExportSolutionsQuery,
|
|
554
|
+
GetMenuV3LocalMenuGroupExportSolutionsResponse,
|
|
552
555
|
PostMenuV3GlobalMenuGroupBody,
|
|
553
556
|
PostMenuV3GlobalMenuGroupResponse,
|
|
554
557
|
GetMenuV3GlobalMenuGroupQuery,
|
|
@@ -563,6 +566,7 @@ import {
|
|
|
563
566
|
PostMenuV3GlobalMenuGroupsResponse,
|
|
564
567
|
GetMenuV3GlobalMenuGroupsCountQuery,
|
|
565
568
|
GetMenuV3GlobalMenuGroupsCountResponse,
|
|
569
|
+
PostMenuV3GlobalMenuGroupRecoverResponse,
|
|
566
570
|
GetMenuV3DraftGlobalMenuGroupBrandsQuery,
|
|
567
571
|
GetMenuV3DraftGlobalMenuGroupBrandsResponse,
|
|
568
572
|
GetMenuV3GlobalMenuGroupBrandsQuery,
|
|
@@ -581,6 +585,7 @@ import {
|
|
|
581
585
|
PostMenuV3DraftBrandsResponse,
|
|
582
586
|
GetMenuV3DraftBrandsCountQuery,
|
|
583
587
|
GetMenuV3DraftBrandsCountResponse,
|
|
588
|
+
PostMenuV3DraftBrandRecoverResponse,
|
|
584
589
|
GetMenuV3DraftBrandAuditsQuery,
|
|
585
590
|
GetMenuV3DraftBrandAuditsResponse,
|
|
586
591
|
GetMenuV3DraftBrandMenusQuery,
|
|
@@ -624,6 +629,8 @@ import {
|
|
|
624
629
|
PostMenuV3BrandsResponse,
|
|
625
630
|
GetMenuV3BrandsCountQuery,
|
|
626
631
|
GetMenuV3BrandsCountResponse,
|
|
632
|
+
PostMenuV3BrandRecoverQuery,
|
|
633
|
+
PostMenuV3BrandRecoverResponse,
|
|
627
634
|
GetMenuV3BrandMenusQuery,
|
|
628
635
|
GetMenuV3BrandMenusResponse,
|
|
629
636
|
GetMenuV3BrandModifiersQuery,
|
|
@@ -646,6 +653,7 @@ import {
|
|
|
646
653
|
PostMenuV3DraftMenusResponse,
|
|
647
654
|
GetMenuV3DraftMenusCountQuery,
|
|
648
655
|
GetMenuV3DraftMenusCountResponse,
|
|
656
|
+
PostMenuV3DraftMenuRecoverResponse,
|
|
649
657
|
GetMenuV3DraftMenuCategoriesQuery,
|
|
650
658
|
GetMenuV3DraftMenuCategoriesResponse,
|
|
651
659
|
PostMenuV3DraftMenuPublishResponse,
|
|
@@ -655,6 +663,8 @@ import {
|
|
|
655
663
|
GetMenuV3MenusResponse,
|
|
656
664
|
GetMenuV3MenusCountQuery,
|
|
657
665
|
GetMenuV3MenusCountResponse,
|
|
666
|
+
PostMenuV3MenuRecoverQuery,
|
|
667
|
+
PostMenuV3MenuRecoverResponse,
|
|
658
668
|
GetMenuV3MenuCategoriesQuery,
|
|
659
669
|
GetMenuV3MenuCategoriesResponse,
|
|
660
670
|
PatchMenuV3StockBody,
|
|
@@ -671,12 +681,15 @@ import {
|
|
|
671
681
|
GetMenuV3DraftCategoriesCountResponse,
|
|
672
682
|
PostMenuV3DraftCategoriesBody,
|
|
673
683
|
PostMenuV3DraftCategoriesResponse,
|
|
684
|
+
PostMenuV3DraftCategoryRecoverResponse,
|
|
674
685
|
PostMenuV3DraftCategoryAttachmentQuery,
|
|
675
686
|
PostMenuV3DraftCategoryAttachmentResponse,
|
|
676
687
|
GetMenuV3CategoryQuery,
|
|
677
688
|
GetMenuV3CategoryResponse,
|
|
678
689
|
GetMenuV3CategorysCountQuery,
|
|
679
690
|
GetMenuV3CategorysCountResponse,
|
|
691
|
+
PostMenuV3CategoryRecoverQuery,
|
|
692
|
+
PostMenuV3CategoryRecoverResponse,
|
|
680
693
|
PostMenuV3DraftCategoryRelationshipsItemBody,
|
|
681
694
|
PostMenuV3DraftCategoryRelationshipsItemResponse,
|
|
682
695
|
GetMenuV3DraftCategoryRelationshipsItemQuery,
|
|
@@ -691,12 +704,15 @@ import {
|
|
|
691
704
|
PostMenuV3DraftCategoryRelationshipsItemsResponse,
|
|
692
705
|
GetMenuV3DraftCategoryRelationshipsItemsCountQuery,
|
|
693
706
|
GetMenuV3DraftCategoryRelationshipsItemsCountResponse,
|
|
707
|
+
PostMenuV3DraftCategoryRelationshipsItemRecoverResponse,
|
|
694
708
|
GetMenuV3CategoryRelationshipsItemQuery,
|
|
695
709
|
GetMenuV3CategoryRelationshipsItemResponse,
|
|
696
710
|
GetMenuV3CategoryRelationshipsItemsQuery,
|
|
697
711
|
GetMenuV3CategoryRelationshipsItemsResponse,
|
|
698
712
|
GetMenuV3CategoryRelationshipsItemsCountQuery,
|
|
699
713
|
GetMenuV3CategoryRelationshipsItemsCountResponse,
|
|
714
|
+
PostMenuV3CategoryRelationshipsItemRecoverQuery,
|
|
715
|
+
PostMenuV3CategoryRelationshipsItemRecoverResponse,
|
|
700
716
|
PostMenuV3DraftItemBody,
|
|
701
717
|
PostMenuV3DraftItemResponse,
|
|
702
718
|
GetMenuV3DraftItemQuery,
|
|
@@ -713,6 +729,7 @@ import {
|
|
|
713
729
|
PostMenuV3DraftItemsResponse,
|
|
714
730
|
GetMenuV3DraftItemsCountQuery,
|
|
715
731
|
GetMenuV3DraftItemsCountResponse,
|
|
732
|
+
PostMenuV3DraftItemRecoverResponse,
|
|
716
733
|
GetMenuV3DraftItemLineRoutesQuery,
|
|
717
734
|
GetMenuV3DraftItemLineRoutesResponse,
|
|
718
735
|
PatchMenuV3DraftItemsBulkUpdateBody,
|
|
@@ -731,6 +748,8 @@ import {
|
|
|
731
748
|
GetMenuV3ItemsResponse,
|
|
732
749
|
GetMenuV3ItemsCountQuery,
|
|
733
750
|
GetMenuV3ItemsCountResponse,
|
|
751
|
+
PostMenuV3ItemRecoverQuery,
|
|
752
|
+
PostMenuV3ItemRecoverResponse,
|
|
734
753
|
PostMenuV3DraftItemRelationshipsModifierGroupBody,
|
|
735
754
|
PostMenuV3DraftItemRelationshipsModifierGroupResponse,
|
|
736
755
|
GetMenuV3DraftItemRelationshipsModifierGroupQuery,
|
|
@@ -745,12 +764,15 @@ import {
|
|
|
745
764
|
PostMenuV3DraftItemRelationshipsModifierGroupsResponse,
|
|
746
765
|
GetMenuV3DraftItemRelationshipsModifierGroupsCountQuery,
|
|
747
766
|
GetMenuV3DraftItemRelationshipsModifierGroupsCountResponse,
|
|
767
|
+
PostMenuV3DraftItemRelationshipsModifierGroupRecoverResponse,
|
|
748
768
|
GetMenuV3ItemRelationshipsModifierGroupQuery,
|
|
749
769
|
GetMenuV3ItemRelationshipsModifierGroupResponse,
|
|
750
770
|
GetMenuV3ItemRelationshipsModifierGroupsQuery,
|
|
751
771
|
GetMenuV3ItemRelationshipsModifierGroupsResponse,
|
|
752
772
|
GetMenuV3ItemRelationshipsModifierGroupsCountQuery,
|
|
753
773
|
GetMenuV3ItemRelationshipsModifierGroupsCountResponse,
|
|
774
|
+
PostMenuV3ItemRelationshipsModifierGroupRecoverQuery,
|
|
775
|
+
PostMenuV3ItemRelationshipsModifierGroupRecoverResponse,
|
|
754
776
|
PostMenuV3DraftModifierGroupBody,
|
|
755
777
|
PostMenuV3DraftModifierGroupResponse,
|
|
756
778
|
GetMenuV3DraftModifierGroupQuery,
|
|
@@ -765,6 +787,8 @@ import {
|
|
|
765
787
|
PostMenuV3DraftModifierGroupsResponse,
|
|
766
788
|
GetMenuV3DraftModifierGroupsCountQuery,
|
|
767
789
|
GetMenuV3DraftModifierGroupsCountResponse,
|
|
790
|
+
PostMenuV3DraftModifierGroupRecoverResponse,
|
|
791
|
+
PostMenuV3DraftModifierGroupDuplicateQuery,
|
|
768
792
|
PostMenuV3DraftModifierGroupDuplicateResponse,
|
|
769
793
|
GetMenuV3ModifierGroupQuery,
|
|
770
794
|
GetMenuV3ModifierGroupResponse,
|
|
@@ -772,6 +796,8 @@ import {
|
|
|
772
796
|
GetMenuV3ModifierGroupsResponse,
|
|
773
797
|
GetMenuV3ModifierGroupsCountQuery,
|
|
774
798
|
GetMenuV3ModifierGroupsCountResponse,
|
|
799
|
+
PostMenuV3ModifierGroupRecoverQuery,
|
|
800
|
+
PostMenuV3ModifierGroupRecoverResponse,
|
|
775
801
|
PostMenuV3DraftModifierGroupRelationshipsModifierBody,
|
|
776
802
|
PostMenuV3DraftModifierGroupRelationshipsModifierResponse,
|
|
777
803
|
GetMenuV3DraftModifierGroupRelationshipsModifierQuery,
|
|
@@ -786,12 +812,15 @@ import {
|
|
|
786
812
|
PostMenuV3DraftModifierGroupRelationshipsModifiersResponse,
|
|
787
813
|
GetMenuV3DraftModifierGroupRelationshipsModifiersCountQuery,
|
|
788
814
|
GetMenuV3DraftModifierGroupRelationshipsModifiersCountResponse,
|
|
815
|
+
PostMenuV3DraftModifierGroupRelationshipsModifierRecoverResponse,
|
|
789
816
|
GetMenuV3ModifierGroupRelationshipsModifierQuery,
|
|
790
817
|
GetMenuV3ModifierGroupRelationshipsModifierResponse,
|
|
791
818
|
GetMenuV3ModifierGroupRelationshipsModifiersQuery,
|
|
792
819
|
GetMenuV3ModifierGroupRelationshipsModifiersResponse,
|
|
793
820
|
GetMenuV3ModifierGroupRelationshipsModifiersCountQuery,
|
|
794
821
|
GetMenuV3ModifierGroupRelationshipsModifiersCountResponse,
|
|
822
|
+
PostMenuV3ModifierGroupRelationshipsModifierRecoverQuery,
|
|
823
|
+
PostMenuV3ModifierGroupRelationshipsModifierRecoverResponse,
|
|
795
824
|
PostMenuV3DraftModifierBody,
|
|
796
825
|
PostMenuV3DraftModifierResponse,
|
|
797
826
|
GetMenuV3DraftModifierQuery,
|
|
@@ -808,6 +837,9 @@ import {
|
|
|
808
837
|
PostMenuV3DraftModifiersResponse,
|
|
809
838
|
GetMenuV3DraftModifiersCountQuery,
|
|
810
839
|
GetMenuV3DraftModifiersCountResponse,
|
|
840
|
+
PostMenuV3DraftModifierRecoverResponse,
|
|
841
|
+
GetMenuV3DraftModifierLineRoutesQuery,
|
|
842
|
+
GetMenuV3DraftModifierLineRoutesResponse,
|
|
811
843
|
PatchMenuV3DraftModifiersBulkUpdateBody,
|
|
812
844
|
PatchMenuV3DraftModifiersBulkUpdateResponse,
|
|
813
845
|
PostMenuV3DraftModifiersAttachmentQuery,
|
|
@@ -818,6 +850,8 @@ import {
|
|
|
818
850
|
GetMenuV3ModifiersResponse,
|
|
819
851
|
GetMenuV3ModifiersCountQuery,
|
|
820
852
|
GetMenuV3ModifiersCountResponse,
|
|
853
|
+
PostMenuV3ModifierRecoverQuery,
|
|
854
|
+
PostMenuV3ModifierRecoverResponse,
|
|
821
855
|
PostMenuV3IntegrationsTransltrImportQuery,
|
|
822
856
|
PostMenuV3IntegrationsTransltrImportResponse,
|
|
823
857
|
GetMenuV3GlobalDiffQuery,
|
|
@@ -826,8 +860,20 @@ import {
|
|
|
826
860
|
GetMenuV3GlobalDiffsResponse,
|
|
827
861
|
GetMenuV3GlobalDiffsCountQuery,
|
|
828
862
|
GetMenuV3GlobalDiffsCountResponse,
|
|
863
|
+
PostMenuV3GlobalDiffRecoverResponse,
|
|
829
864
|
GetMenuV3MenuworksQuery,
|
|
830
865
|
GetMenuV3MenuworksResponse,
|
|
866
|
+
GetMenuV3UniversalItemsQuery,
|
|
867
|
+
GetMenuV3UniversalItemsResponse,
|
|
868
|
+
PutMenuV3UniversalItemsBody,
|
|
869
|
+
PutMenuV3UniversalItemsResponse,
|
|
870
|
+
GetMenuV3UniversalItemQuery,
|
|
871
|
+
GetMenuV3UniversalItemResponse,
|
|
872
|
+
PatchMenuV3UniversalItemBody,
|
|
873
|
+
PatchMenuV3UniversalItemResponse,
|
|
874
|
+
PostMenuV3UniversalItemsVerifyBody,
|
|
875
|
+
PostMenuV3UniversalItemsVerifyResponse,
|
|
876
|
+
PostMenuV3TriggerUpdateResponse,
|
|
831
877
|
} from "./interface/menu";
|
|
832
878
|
|
|
833
879
|
import {
|
|
@@ -4333,16 +4379,16 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4333
4379
|
}
|
|
4334
4380
|
|
|
4335
4381
|
/**
|
|
4336
|
-
*
|
|
4382
|
+
* POST /user/zendesk - Get Zendesk JWT token to allow web widget to search restricted articles
|
|
4337
4383
|
*
|
|
4384
|
+
* @param body
|
|
4338
4385
|
* @param options - additional request options
|
|
4339
4386
|
*/
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
return this.request("user", "get_user_zendesk", "get", `/user/zendesk`, null, options);
|
|
4387
|
+
post_user_zendesk(
|
|
4388
|
+
body: PostUserZendeskBody,
|
|
4389
|
+
options?: RequestOptions,
|
|
4390
|
+
): ResponsePromise<PostUserZendeskResponse> {
|
|
4391
|
+
return this.request("user", "post_user_zendesk", "post", `/user/zendesk`, body, options);
|
|
4346
4392
|
}
|
|
4347
4393
|
|
|
4348
4394
|
/**
|
|
@@ -5640,6 +5686,26 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5640
5686
|
);
|
|
5641
5687
|
}
|
|
5642
5688
|
|
|
5689
|
+
/**
|
|
5690
|
+
* POST /menu/v3/local-menu-group/{id}/recover
|
|
5691
|
+
*
|
|
5692
|
+
* @param id
|
|
5693
|
+
* @param options - additional request options
|
|
5694
|
+
*/
|
|
5695
|
+
post_menu_v3_local_menu_group_recover(
|
|
5696
|
+
id: string,
|
|
5697
|
+
options?: RequestOptions,
|
|
5698
|
+
): ResponsePromise<PostMenuV3LocalMenuGroupRecoverResponse> {
|
|
5699
|
+
return this.request(
|
|
5700
|
+
"menu",
|
|
5701
|
+
"post_menu_v3_local_menu_group_recover",
|
|
5702
|
+
"post",
|
|
5703
|
+
`/menu/v3/local-menu-group/${id}/recover`,
|
|
5704
|
+
null,
|
|
5705
|
+
options,
|
|
5706
|
+
);
|
|
5707
|
+
}
|
|
5708
|
+
|
|
5643
5709
|
/**
|
|
5644
5710
|
* GET /menu/v3/draft/local-menu-group/{id}/brands
|
|
5645
5711
|
*
|
|
@@ -5812,6 +5878,26 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5812
5878
|
);
|
|
5813
5879
|
}
|
|
5814
5880
|
|
|
5881
|
+
/**
|
|
5882
|
+
* GET /menu/v3/local-menu-group/export/solutions
|
|
5883
|
+
*
|
|
5884
|
+
* @param options - additional request options
|
|
5885
|
+
*/
|
|
5886
|
+
get_menu_v3_local_menu_group_export_solutions(
|
|
5887
|
+
options?: {
|
|
5888
|
+
query?: GetMenuV3LocalMenuGroupExportSolutionsQuery;
|
|
5889
|
+
} & RequestOptions,
|
|
5890
|
+
): ResponsePromise<GetMenuV3LocalMenuGroupExportSolutionsResponse> {
|
|
5891
|
+
return this.request(
|
|
5892
|
+
"menu",
|
|
5893
|
+
"get_menu_v3_local_menu_group_export_solutions",
|
|
5894
|
+
"get",
|
|
5895
|
+
`/menu/v3/local-menu-group/export/solutions`,
|
|
5896
|
+
null,
|
|
5897
|
+
options,
|
|
5898
|
+
);
|
|
5899
|
+
}
|
|
5900
|
+
|
|
5815
5901
|
/**
|
|
5816
5902
|
* POST /menu/v3/global-menu-group
|
|
5817
5903
|
*
|
|
@@ -5958,6 +6044,26 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5958
6044
|
);
|
|
5959
6045
|
}
|
|
5960
6046
|
|
|
6047
|
+
/**
|
|
6048
|
+
* POST /menu/v3/global-menu-group/{id}/recover
|
|
6049
|
+
*
|
|
6050
|
+
* @param id
|
|
6051
|
+
* @param options - additional request options
|
|
6052
|
+
*/
|
|
6053
|
+
post_menu_v3_global_menu_group_recover(
|
|
6054
|
+
id: string,
|
|
6055
|
+
options?: RequestOptions,
|
|
6056
|
+
): ResponsePromise<PostMenuV3GlobalMenuGroupRecoverResponse> {
|
|
6057
|
+
return this.request(
|
|
6058
|
+
"menu",
|
|
6059
|
+
"post_menu_v3_global_menu_group_recover",
|
|
6060
|
+
"post",
|
|
6061
|
+
`/menu/v3/global-menu-group/${id}/recover`,
|
|
6062
|
+
null,
|
|
6063
|
+
options,
|
|
6064
|
+
);
|
|
6065
|
+
}
|
|
6066
|
+
|
|
5961
6067
|
/**
|
|
5962
6068
|
* GET /menu/v3/draft/global-menu-group/{id}/brands
|
|
5963
6069
|
*
|
|
@@ -6148,6 +6254,26 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6148
6254
|
);
|
|
6149
6255
|
}
|
|
6150
6256
|
|
|
6257
|
+
/**
|
|
6258
|
+
* POST /menu/v3/draft/brand/{id}/recover
|
|
6259
|
+
*
|
|
6260
|
+
* @param id
|
|
6261
|
+
* @param options - additional request options
|
|
6262
|
+
*/
|
|
6263
|
+
post_menu_v3_draft_brand_recover(
|
|
6264
|
+
id: string,
|
|
6265
|
+
options?: RequestOptions,
|
|
6266
|
+
): ResponsePromise<PostMenuV3DraftBrandRecoverResponse> {
|
|
6267
|
+
return this.request(
|
|
6268
|
+
"menu",
|
|
6269
|
+
"post_menu_v3_draft_brand_recover",
|
|
6270
|
+
"post",
|
|
6271
|
+
`/menu/v3/draft/brand/${id}/recover`,
|
|
6272
|
+
null,
|
|
6273
|
+
options,
|
|
6274
|
+
);
|
|
6275
|
+
}
|
|
6276
|
+
|
|
6151
6277
|
/**
|
|
6152
6278
|
* GET /menu/v3/draft/brand/{id}/audits
|
|
6153
6279
|
*
|
|
@@ -6578,6 +6704,28 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6578
6704
|
);
|
|
6579
6705
|
}
|
|
6580
6706
|
|
|
6707
|
+
/**
|
|
6708
|
+
* POST /menu/v3/brand/{id}/recover
|
|
6709
|
+
*
|
|
6710
|
+
* @param id
|
|
6711
|
+
* @param options - additional request options
|
|
6712
|
+
*/
|
|
6713
|
+
post_menu_v3_brand_recover(
|
|
6714
|
+
id: string,
|
|
6715
|
+
options?: {
|
|
6716
|
+
query?: PostMenuV3BrandRecoverQuery;
|
|
6717
|
+
} & RequestOptions,
|
|
6718
|
+
): ResponsePromise<PostMenuV3BrandRecoverResponse> {
|
|
6719
|
+
return this.request(
|
|
6720
|
+
"menu",
|
|
6721
|
+
"post_menu_v3_brand_recover",
|
|
6722
|
+
"post",
|
|
6723
|
+
`/menu/v3/brand/${id}/recover`,
|
|
6724
|
+
null,
|
|
6725
|
+
options,
|
|
6726
|
+
);
|
|
6727
|
+
}
|
|
6728
|
+
|
|
6581
6729
|
/**
|
|
6582
6730
|
* GET /menu/v3/brand/{id}/menus
|
|
6583
6731
|
*
|
|
@@ -6812,6 +6960,26 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6812
6960
|
);
|
|
6813
6961
|
}
|
|
6814
6962
|
|
|
6963
|
+
/**
|
|
6964
|
+
* POST /menu/v3/draft/menu/{id}/recover
|
|
6965
|
+
*
|
|
6966
|
+
* @param id
|
|
6967
|
+
* @param options - additional request options
|
|
6968
|
+
*/
|
|
6969
|
+
post_menu_v3_draft_menu_recover(
|
|
6970
|
+
id: string,
|
|
6971
|
+
options?: RequestOptions,
|
|
6972
|
+
): ResponsePromise<PostMenuV3DraftMenuRecoverResponse> {
|
|
6973
|
+
return this.request(
|
|
6974
|
+
"menu",
|
|
6975
|
+
"post_menu_v3_draft_menu_recover",
|
|
6976
|
+
"post",
|
|
6977
|
+
`/menu/v3/draft/menu/${id}/recover`,
|
|
6978
|
+
null,
|
|
6979
|
+
options,
|
|
6980
|
+
);
|
|
6981
|
+
}
|
|
6982
|
+
|
|
6815
6983
|
/**
|
|
6816
6984
|
* GET /menu/v3/draft/menu/{id}/categories
|
|
6817
6985
|
*
|
|
@@ -6902,6 +7070,28 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6902
7070
|
);
|
|
6903
7071
|
}
|
|
6904
7072
|
|
|
7073
|
+
/**
|
|
7074
|
+
* POST /menu/v3/menu/{id}/recover
|
|
7075
|
+
*
|
|
7076
|
+
* @param id
|
|
7077
|
+
* @param options - additional request options
|
|
7078
|
+
*/
|
|
7079
|
+
post_menu_v3_menu_recover(
|
|
7080
|
+
id: string,
|
|
7081
|
+
options?: {
|
|
7082
|
+
query?: PostMenuV3MenuRecoverQuery;
|
|
7083
|
+
} & RequestOptions,
|
|
7084
|
+
): ResponsePromise<PostMenuV3MenuRecoverResponse> {
|
|
7085
|
+
return this.request(
|
|
7086
|
+
"menu",
|
|
7087
|
+
"post_menu_v3_menu_recover",
|
|
7088
|
+
"post",
|
|
7089
|
+
`/menu/v3/menu/${id}/recover`,
|
|
7090
|
+
null,
|
|
7091
|
+
options,
|
|
7092
|
+
);
|
|
7093
|
+
}
|
|
7094
|
+
|
|
6905
7095
|
/**
|
|
6906
7096
|
* GET /menu/v3/menu/{id}/categories
|
|
6907
7097
|
*
|
|
@@ -7072,6 +7262,26 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7072
7262
|
);
|
|
7073
7263
|
}
|
|
7074
7264
|
|
|
7265
|
+
/**
|
|
7266
|
+
* POST /menu/v3/draft/category/{id}/recover
|
|
7267
|
+
*
|
|
7268
|
+
* @param id
|
|
7269
|
+
* @param options - additional request options
|
|
7270
|
+
*/
|
|
7271
|
+
post_menu_v3_draft_category_recover(
|
|
7272
|
+
id: string,
|
|
7273
|
+
options?: RequestOptions,
|
|
7274
|
+
): ResponsePromise<PostMenuV3DraftCategoryRecoverResponse> {
|
|
7275
|
+
return this.request(
|
|
7276
|
+
"menu",
|
|
7277
|
+
"post_menu_v3_draft_category_recover",
|
|
7278
|
+
"post",
|
|
7279
|
+
`/menu/v3/draft/category/${id}/recover`,
|
|
7280
|
+
null,
|
|
7281
|
+
options,
|
|
7282
|
+
);
|
|
7283
|
+
}
|
|
7284
|
+
|
|
7075
7285
|
/**
|
|
7076
7286
|
* POST /menu/v3/draft/category/{id}/attachment/{name}
|
|
7077
7287
|
*
|
|
@@ -7138,6 +7348,28 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7138
7348
|
);
|
|
7139
7349
|
}
|
|
7140
7350
|
|
|
7351
|
+
/**
|
|
7352
|
+
* POST /menu/v3/category/{id}/recover
|
|
7353
|
+
*
|
|
7354
|
+
* @param id
|
|
7355
|
+
* @param options - additional request options
|
|
7356
|
+
*/
|
|
7357
|
+
post_menu_v3_category_recover(
|
|
7358
|
+
id: string,
|
|
7359
|
+
options?: {
|
|
7360
|
+
query?: PostMenuV3CategoryRecoverQuery;
|
|
7361
|
+
} & RequestOptions,
|
|
7362
|
+
): ResponsePromise<PostMenuV3CategoryRecoverResponse> {
|
|
7363
|
+
return this.request(
|
|
7364
|
+
"menu",
|
|
7365
|
+
"post_menu_v3_category_recover",
|
|
7366
|
+
"post",
|
|
7367
|
+
`/menu/v3/category/${id}/recover`,
|
|
7368
|
+
null,
|
|
7369
|
+
options,
|
|
7370
|
+
);
|
|
7371
|
+
}
|
|
7372
|
+
|
|
7141
7373
|
/**
|
|
7142
7374
|
* POST /menu/v3/draft/category/relationships/item
|
|
7143
7375
|
*
|
|
@@ -7284,6 +7516,26 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7284
7516
|
);
|
|
7285
7517
|
}
|
|
7286
7518
|
|
|
7519
|
+
/**
|
|
7520
|
+
* POST /menu/v3/draft/category/relationships/item/{id}/recover
|
|
7521
|
+
*
|
|
7522
|
+
* @param id
|
|
7523
|
+
* @param options - additional request options
|
|
7524
|
+
*/
|
|
7525
|
+
post_menu_v3_draft_category_relationships_item_recover(
|
|
7526
|
+
id: string,
|
|
7527
|
+
options?: RequestOptions,
|
|
7528
|
+
): ResponsePromise<PostMenuV3DraftCategoryRelationshipsItemRecoverResponse> {
|
|
7529
|
+
return this.request(
|
|
7530
|
+
"menu",
|
|
7531
|
+
"post_menu_v3_draft_category_relationships_item_recover",
|
|
7532
|
+
"post",
|
|
7533
|
+
`/menu/v3/draft/category/relationships/item/${id}/recover`,
|
|
7534
|
+
null,
|
|
7535
|
+
options,
|
|
7536
|
+
);
|
|
7537
|
+
}
|
|
7538
|
+
|
|
7287
7539
|
/**
|
|
7288
7540
|
* GET /menu/v3/category/relationships/item/{id}
|
|
7289
7541
|
*
|
|
@@ -7346,6 +7598,28 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7346
7598
|
);
|
|
7347
7599
|
}
|
|
7348
7600
|
|
|
7601
|
+
/**
|
|
7602
|
+
* POST /menu/v3/category/relationships/item/{id}/recover
|
|
7603
|
+
*
|
|
7604
|
+
* @param id
|
|
7605
|
+
* @param options - additional request options
|
|
7606
|
+
*/
|
|
7607
|
+
post_menu_v3_category_relationships_item_recover(
|
|
7608
|
+
id: string,
|
|
7609
|
+
options?: {
|
|
7610
|
+
query?: PostMenuV3CategoryRelationshipsItemRecoverQuery;
|
|
7611
|
+
} & RequestOptions,
|
|
7612
|
+
): ResponsePromise<PostMenuV3CategoryRelationshipsItemRecoverResponse> {
|
|
7613
|
+
return this.request(
|
|
7614
|
+
"menu",
|
|
7615
|
+
"post_menu_v3_category_relationships_item_recover",
|
|
7616
|
+
"post",
|
|
7617
|
+
`/menu/v3/category/relationships/item/${id}/recover`,
|
|
7618
|
+
null,
|
|
7619
|
+
options,
|
|
7620
|
+
);
|
|
7621
|
+
}
|
|
7622
|
+
|
|
7349
7623
|
/**
|
|
7350
7624
|
* POST /menu/v3/draft/item
|
|
7351
7625
|
*
|
|
@@ -7512,6 +7786,26 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7512
7786
|
);
|
|
7513
7787
|
}
|
|
7514
7788
|
|
|
7789
|
+
/**
|
|
7790
|
+
* POST /menu/v3/draft/item/{id}/recover
|
|
7791
|
+
*
|
|
7792
|
+
* @param id
|
|
7793
|
+
* @param options - additional request options
|
|
7794
|
+
*/
|
|
7795
|
+
post_menu_v3_draft_item_recover(
|
|
7796
|
+
id: string,
|
|
7797
|
+
options?: RequestOptions,
|
|
7798
|
+
): ResponsePromise<PostMenuV3DraftItemRecoverResponse> {
|
|
7799
|
+
return this.request(
|
|
7800
|
+
"menu",
|
|
7801
|
+
"post_menu_v3_draft_item_recover",
|
|
7802
|
+
"post",
|
|
7803
|
+
`/menu/v3/draft/item/${id}/recover`,
|
|
7804
|
+
null,
|
|
7805
|
+
options,
|
|
7806
|
+
);
|
|
7807
|
+
}
|
|
7808
|
+
|
|
7515
7809
|
/**
|
|
7516
7810
|
* GET /menu/v3/draft/item/{id}/line-routes
|
|
7517
7811
|
*
|
|
@@ -7686,6 +7980,28 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7686
7980
|
);
|
|
7687
7981
|
}
|
|
7688
7982
|
|
|
7983
|
+
/**
|
|
7984
|
+
* POST /menu/v3/item/{id}/recover
|
|
7985
|
+
*
|
|
7986
|
+
* @param id
|
|
7987
|
+
* @param options - additional request options
|
|
7988
|
+
*/
|
|
7989
|
+
post_menu_v3_item_recover(
|
|
7990
|
+
id: string,
|
|
7991
|
+
options?: {
|
|
7992
|
+
query?: PostMenuV3ItemRecoverQuery;
|
|
7993
|
+
} & RequestOptions,
|
|
7994
|
+
): ResponsePromise<PostMenuV3ItemRecoverResponse> {
|
|
7995
|
+
return this.request(
|
|
7996
|
+
"menu",
|
|
7997
|
+
"post_menu_v3_item_recover",
|
|
7998
|
+
"post",
|
|
7999
|
+
`/menu/v3/item/${id}/recover`,
|
|
8000
|
+
null,
|
|
8001
|
+
options,
|
|
8002
|
+
);
|
|
8003
|
+
}
|
|
8004
|
+
|
|
7689
8005
|
/**
|
|
7690
8006
|
* POST /menu/v3/draft/item/relationships/modifier-group
|
|
7691
8007
|
*
|
|
@@ -7832,6 +8148,26 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7832
8148
|
);
|
|
7833
8149
|
}
|
|
7834
8150
|
|
|
8151
|
+
/**
|
|
8152
|
+
* POST /menu/v3/draft/item/relationships/modifier-group/{id}/recover
|
|
8153
|
+
*
|
|
8154
|
+
* @param id
|
|
8155
|
+
* @param options - additional request options
|
|
8156
|
+
*/
|
|
8157
|
+
post_menu_v3_draft_item_relationships_modifier_group_recover(
|
|
8158
|
+
id: string,
|
|
8159
|
+
options?: RequestOptions,
|
|
8160
|
+
): ResponsePromise<PostMenuV3DraftItemRelationshipsModifierGroupRecoverResponse> {
|
|
8161
|
+
return this.request(
|
|
8162
|
+
"menu",
|
|
8163
|
+
"post_menu_v3_draft_item_relationships_modifier_group_recover",
|
|
8164
|
+
"post",
|
|
8165
|
+
`/menu/v3/draft/item/relationships/modifier-group/${id}/recover`,
|
|
8166
|
+
null,
|
|
8167
|
+
options,
|
|
8168
|
+
);
|
|
8169
|
+
}
|
|
8170
|
+
|
|
7835
8171
|
/**
|
|
7836
8172
|
* GET /menu/v3/item/relationships/modifier-group/{id}
|
|
7837
8173
|
*
|
|
@@ -7894,6 +8230,28 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7894
8230
|
);
|
|
7895
8231
|
}
|
|
7896
8232
|
|
|
8233
|
+
/**
|
|
8234
|
+
* POST /menu/v3/item/relationships/modifier-group/{id}/recover
|
|
8235
|
+
*
|
|
8236
|
+
* @param id
|
|
8237
|
+
* @param options - additional request options
|
|
8238
|
+
*/
|
|
8239
|
+
post_menu_v3_item_relationships_modifier_group_recover(
|
|
8240
|
+
id: string,
|
|
8241
|
+
options?: {
|
|
8242
|
+
query?: PostMenuV3ItemRelationshipsModifierGroupRecoverQuery;
|
|
8243
|
+
} & RequestOptions,
|
|
8244
|
+
): ResponsePromise<PostMenuV3ItemRelationshipsModifierGroupRecoverResponse> {
|
|
8245
|
+
return this.request(
|
|
8246
|
+
"menu",
|
|
8247
|
+
"post_menu_v3_item_relationships_modifier_group_recover",
|
|
8248
|
+
"post",
|
|
8249
|
+
`/menu/v3/item/relationships/modifier-group/${id}/recover`,
|
|
8250
|
+
null,
|
|
8251
|
+
options,
|
|
8252
|
+
);
|
|
8253
|
+
}
|
|
8254
|
+
|
|
7897
8255
|
/**
|
|
7898
8256
|
* POST /menu/v3/draft/modifier-group
|
|
7899
8257
|
*
|
|
@@ -8040,6 +8398,26 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8040
8398
|
);
|
|
8041
8399
|
}
|
|
8042
8400
|
|
|
8401
|
+
/**
|
|
8402
|
+
* POST /menu/v3/draft/modifier-group/{id}/recover
|
|
8403
|
+
*
|
|
8404
|
+
* @param id
|
|
8405
|
+
* @param options - additional request options
|
|
8406
|
+
*/
|
|
8407
|
+
post_menu_v3_draft_modifier_group_recover(
|
|
8408
|
+
id: string,
|
|
8409
|
+
options?: RequestOptions,
|
|
8410
|
+
): ResponsePromise<PostMenuV3DraftModifierGroupRecoverResponse> {
|
|
8411
|
+
return this.request(
|
|
8412
|
+
"menu",
|
|
8413
|
+
"post_menu_v3_draft_modifier_group_recover",
|
|
8414
|
+
"post",
|
|
8415
|
+
`/menu/v3/draft/modifier-group/${id}/recover`,
|
|
8416
|
+
null,
|
|
8417
|
+
options,
|
|
8418
|
+
);
|
|
8419
|
+
}
|
|
8420
|
+
|
|
8043
8421
|
/**
|
|
8044
8422
|
* POST /menu/v3/draft/modifier-group/{id}/duplicate
|
|
8045
8423
|
*
|
|
@@ -8048,7 +8426,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8048
8426
|
*/
|
|
8049
8427
|
post_menu_v3_draft_modifier_group_duplicate(
|
|
8050
8428
|
id: string,
|
|
8051
|
-
options?:
|
|
8429
|
+
options?: {
|
|
8430
|
+
query?: PostMenuV3DraftModifierGroupDuplicateQuery;
|
|
8431
|
+
} & RequestOptions,
|
|
8052
8432
|
): ResponsePromise<PostMenuV3DraftModifierGroupDuplicateResponse> {
|
|
8053
8433
|
return this.request(
|
|
8054
8434
|
"menu",
|
|
@@ -8122,6 +8502,28 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8122
8502
|
);
|
|
8123
8503
|
}
|
|
8124
8504
|
|
|
8505
|
+
/**
|
|
8506
|
+
* POST /menu/v3/modifier-group/{id}/recover
|
|
8507
|
+
*
|
|
8508
|
+
* @param id
|
|
8509
|
+
* @param options - additional request options
|
|
8510
|
+
*/
|
|
8511
|
+
post_menu_v3_modifier_group_recover(
|
|
8512
|
+
id: string,
|
|
8513
|
+
options?: {
|
|
8514
|
+
query?: PostMenuV3ModifierGroupRecoverQuery;
|
|
8515
|
+
} & RequestOptions,
|
|
8516
|
+
): ResponsePromise<PostMenuV3ModifierGroupRecoverResponse> {
|
|
8517
|
+
return this.request(
|
|
8518
|
+
"menu",
|
|
8519
|
+
"post_menu_v3_modifier_group_recover",
|
|
8520
|
+
"post",
|
|
8521
|
+
`/menu/v3/modifier-group/${id}/recover`,
|
|
8522
|
+
null,
|
|
8523
|
+
options,
|
|
8524
|
+
);
|
|
8525
|
+
}
|
|
8526
|
+
|
|
8125
8527
|
/**
|
|
8126
8528
|
* POST /menu/v3/draft/modifier-group/relationships/modifier
|
|
8127
8529
|
*
|
|
@@ -8268,6 +8670,26 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8268
8670
|
);
|
|
8269
8671
|
}
|
|
8270
8672
|
|
|
8673
|
+
/**
|
|
8674
|
+
* POST /menu/v3/draft/modifier-group/relationships/modifier/{id}/recover
|
|
8675
|
+
*
|
|
8676
|
+
* @param id
|
|
8677
|
+
* @param options - additional request options
|
|
8678
|
+
*/
|
|
8679
|
+
post_menu_v3_draft_modifier_group_relationships_modifier_recover(
|
|
8680
|
+
id: string,
|
|
8681
|
+
options?: RequestOptions,
|
|
8682
|
+
): ResponsePromise<PostMenuV3DraftModifierGroupRelationshipsModifierRecoverResponse> {
|
|
8683
|
+
return this.request(
|
|
8684
|
+
"menu",
|
|
8685
|
+
"post_menu_v3_draft_modifier_group_relationships_modifier_recover",
|
|
8686
|
+
"post",
|
|
8687
|
+
`/menu/v3/draft/modifier-group/relationships/modifier/${id}/recover`,
|
|
8688
|
+
null,
|
|
8689
|
+
options,
|
|
8690
|
+
);
|
|
8691
|
+
}
|
|
8692
|
+
|
|
8271
8693
|
/**
|
|
8272
8694
|
* GET /menu/v3/modifier-group/relationships/modifier/{id}
|
|
8273
8695
|
*
|
|
@@ -8330,6 +8752,28 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8330
8752
|
);
|
|
8331
8753
|
}
|
|
8332
8754
|
|
|
8755
|
+
/**
|
|
8756
|
+
* POST /menu/v3/modifier-group/relationships/modifier/{id}/recover
|
|
8757
|
+
*
|
|
8758
|
+
* @param id
|
|
8759
|
+
* @param options - additional request options
|
|
8760
|
+
*/
|
|
8761
|
+
post_menu_v3_modifier_group_relationships_modifier_recover(
|
|
8762
|
+
id: string,
|
|
8763
|
+
options?: {
|
|
8764
|
+
query?: PostMenuV3ModifierGroupRelationshipsModifierRecoverQuery;
|
|
8765
|
+
} & RequestOptions,
|
|
8766
|
+
): ResponsePromise<PostMenuV3ModifierGroupRelationshipsModifierRecoverResponse> {
|
|
8767
|
+
return this.request(
|
|
8768
|
+
"menu",
|
|
8769
|
+
"post_menu_v3_modifier_group_relationships_modifier_recover",
|
|
8770
|
+
"post",
|
|
8771
|
+
`/menu/v3/modifier-group/relationships/modifier/${id}/recover`,
|
|
8772
|
+
null,
|
|
8773
|
+
options,
|
|
8774
|
+
);
|
|
8775
|
+
}
|
|
8776
|
+
|
|
8333
8777
|
/**
|
|
8334
8778
|
* POST /menu/v3/draft/modifier
|
|
8335
8779
|
*
|
|
@@ -8496,6 +8940,48 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8496
8940
|
);
|
|
8497
8941
|
}
|
|
8498
8942
|
|
|
8943
|
+
/**
|
|
8944
|
+
* POST /menu/v3/draft/modifier/{id}/recover
|
|
8945
|
+
*
|
|
8946
|
+
* @param id
|
|
8947
|
+
* @param options - additional request options
|
|
8948
|
+
*/
|
|
8949
|
+
post_menu_v3_draft_modifier_recover(
|
|
8950
|
+
id: string,
|
|
8951
|
+
options?: RequestOptions,
|
|
8952
|
+
): ResponsePromise<PostMenuV3DraftModifierRecoverResponse> {
|
|
8953
|
+
return this.request(
|
|
8954
|
+
"menu",
|
|
8955
|
+
"post_menu_v3_draft_modifier_recover",
|
|
8956
|
+
"post",
|
|
8957
|
+
`/menu/v3/draft/modifier/${id}/recover`,
|
|
8958
|
+
null,
|
|
8959
|
+
options,
|
|
8960
|
+
);
|
|
8961
|
+
}
|
|
8962
|
+
|
|
8963
|
+
/**
|
|
8964
|
+
* GET /menu/v3/draft/modifier/{id}/line-routes
|
|
8965
|
+
*
|
|
8966
|
+
* @param id
|
|
8967
|
+
* @param options - additional request options
|
|
8968
|
+
*/
|
|
8969
|
+
get_menu_v3_draft_modifier_line_routes(
|
|
8970
|
+
id: string,
|
|
8971
|
+
options?: {
|
|
8972
|
+
query?: GetMenuV3DraftModifierLineRoutesQuery;
|
|
8973
|
+
} & RequestOptions,
|
|
8974
|
+
): ResponsePromise<GetMenuV3DraftModifierLineRoutesResponse> {
|
|
8975
|
+
return this.request(
|
|
8976
|
+
"menu",
|
|
8977
|
+
"get_menu_v3_draft_modifier_line_routes",
|
|
8978
|
+
"get",
|
|
8979
|
+
`/menu/v3/draft/modifier/${id}/line-routes`,
|
|
8980
|
+
null,
|
|
8981
|
+
options,
|
|
8982
|
+
);
|
|
8983
|
+
}
|
|
8984
|
+
|
|
8499
8985
|
/**
|
|
8500
8986
|
* PATCH /menu/v3/draft/modifiers/bulk-update
|
|
8501
8987
|
*
|
|
@@ -8602,6 +9088,28 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8602
9088
|
);
|
|
8603
9089
|
}
|
|
8604
9090
|
|
|
9091
|
+
/**
|
|
9092
|
+
* POST /menu/v3/modifier/{id}/recover
|
|
9093
|
+
*
|
|
9094
|
+
* @param id
|
|
9095
|
+
* @param options - additional request options
|
|
9096
|
+
*/
|
|
9097
|
+
post_menu_v3_modifier_recover(
|
|
9098
|
+
id: string,
|
|
9099
|
+
options?: {
|
|
9100
|
+
query?: PostMenuV3ModifierRecoverQuery;
|
|
9101
|
+
} & RequestOptions,
|
|
9102
|
+
): ResponsePromise<PostMenuV3ModifierRecoverResponse> {
|
|
9103
|
+
return this.request(
|
|
9104
|
+
"menu",
|
|
9105
|
+
"post_menu_v3_modifier_recover",
|
|
9106
|
+
"post",
|
|
9107
|
+
`/menu/v3/modifier/${id}/recover`,
|
|
9108
|
+
null,
|
|
9109
|
+
options,
|
|
9110
|
+
);
|
|
9111
|
+
}
|
|
9112
|
+
|
|
8605
9113
|
/**
|
|
8606
9114
|
* POST /menu/v3/integrations/transltr/import
|
|
8607
9115
|
*
|
|
@@ -8684,6 +9192,26 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8684
9192
|
);
|
|
8685
9193
|
}
|
|
8686
9194
|
|
|
9195
|
+
/**
|
|
9196
|
+
* POST /menu/v3/global-diff/{id}/recover
|
|
9197
|
+
*
|
|
9198
|
+
* @param id
|
|
9199
|
+
* @param options - additional request options
|
|
9200
|
+
*/
|
|
9201
|
+
post_menu_v3_global_diff_recover(
|
|
9202
|
+
id: string,
|
|
9203
|
+
options?: RequestOptions,
|
|
9204
|
+
): ResponsePromise<PostMenuV3GlobalDiffRecoverResponse> {
|
|
9205
|
+
return this.request(
|
|
9206
|
+
"menu",
|
|
9207
|
+
"post_menu_v3_global_diff_recover",
|
|
9208
|
+
"post",
|
|
9209
|
+
`/menu/v3/global-diff/${id}/recover`,
|
|
9210
|
+
null,
|
|
9211
|
+
options,
|
|
9212
|
+
);
|
|
9213
|
+
}
|
|
9214
|
+
|
|
8687
9215
|
/**
|
|
8688
9216
|
* GET /menu/v3/menuworks
|
|
8689
9217
|
*
|
|
@@ -8704,6 +9232,128 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8704
9232
|
);
|
|
8705
9233
|
}
|
|
8706
9234
|
|
|
9235
|
+
/**
|
|
9236
|
+
* GET /menu/v3/universal-items
|
|
9237
|
+
*
|
|
9238
|
+
* @param options - additional request options
|
|
9239
|
+
*/
|
|
9240
|
+
get_menu_v3_universal_items(
|
|
9241
|
+
options?: {
|
|
9242
|
+
query?: GetMenuV3UniversalItemsQuery;
|
|
9243
|
+
} & RequestOptions,
|
|
9244
|
+
): ResponsePromise<GetMenuV3UniversalItemsResponse> {
|
|
9245
|
+
return this.request(
|
|
9246
|
+
"menu",
|
|
9247
|
+
"get_menu_v3_universal_items",
|
|
9248
|
+
"get",
|
|
9249
|
+
`/menu/v3/universal-items`,
|
|
9250
|
+
null,
|
|
9251
|
+
options,
|
|
9252
|
+
);
|
|
9253
|
+
}
|
|
9254
|
+
|
|
9255
|
+
/**
|
|
9256
|
+
* PUT /menu/v3/universal-items
|
|
9257
|
+
*
|
|
9258
|
+
* @param body
|
|
9259
|
+
* @param options - additional request options
|
|
9260
|
+
*/
|
|
9261
|
+
put_menu_v3_universal_items(
|
|
9262
|
+
body: PutMenuV3UniversalItemsBody,
|
|
9263
|
+
options?: RequestOptions,
|
|
9264
|
+
): ResponsePromise<PutMenuV3UniversalItemsResponse> {
|
|
9265
|
+
return this.request(
|
|
9266
|
+
"menu",
|
|
9267
|
+
"put_menu_v3_universal_items",
|
|
9268
|
+
"put",
|
|
9269
|
+
`/menu/v3/universal-items`,
|
|
9270
|
+
body,
|
|
9271
|
+
options,
|
|
9272
|
+
);
|
|
9273
|
+
}
|
|
9274
|
+
|
|
9275
|
+
/**
|
|
9276
|
+
* GET /menu/v3/universal-item/{barcode}
|
|
9277
|
+
*
|
|
9278
|
+
* @param barcode
|
|
9279
|
+
* @param options - additional request options
|
|
9280
|
+
*/
|
|
9281
|
+
get_menu_v3_universal_item(
|
|
9282
|
+
barcode: string,
|
|
9283
|
+
options?: {
|
|
9284
|
+
query?: GetMenuV3UniversalItemQuery;
|
|
9285
|
+
} & RequestOptions,
|
|
9286
|
+
): ResponsePromise<GetMenuV3UniversalItemResponse> {
|
|
9287
|
+
return this.request(
|
|
9288
|
+
"menu",
|
|
9289
|
+
"get_menu_v3_universal_item",
|
|
9290
|
+
"get",
|
|
9291
|
+
`/menu/v3/universal-item/${barcode}`,
|
|
9292
|
+
null,
|
|
9293
|
+
options,
|
|
9294
|
+
);
|
|
9295
|
+
}
|
|
9296
|
+
|
|
9297
|
+
/**
|
|
9298
|
+
* PATCH /menu/v3/universal-item/{barcode}
|
|
9299
|
+
*
|
|
9300
|
+
* @param barcode
|
|
9301
|
+
* @param body
|
|
9302
|
+
* @param options - additional request options
|
|
9303
|
+
*/
|
|
9304
|
+
patch_menu_v3_universal_item(
|
|
9305
|
+
barcode: string,
|
|
9306
|
+
body: PatchMenuV3UniversalItemBody,
|
|
9307
|
+
options?: RequestOptions,
|
|
9308
|
+
): ResponsePromise<PatchMenuV3UniversalItemResponse> {
|
|
9309
|
+
return this.request(
|
|
9310
|
+
"menu",
|
|
9311
|
+
"patch_menu_v3_universal_item",
|
|
9312
|
+
"patch",
|
|
9313
|
+
`/menu/v3/universal-item/${barcode}`,
|
|
9314
|
+
body,
|
|
9315
|
+
options,
|
|
9316
|
+
);
|
|
9317
|
+
}
|
|
9318
|
+
|
|
9319
|
+
/**
|
|
9320
|
+
* POST /menu/v3/universal-items/verify
|
|
9321
|
+
*
|
|
9322
|
+
* @param body
|
|
9323
|
+
* @param options - additional request options
|
|
9324
|
+
*/
|
|
9325
|
+
post_menu_v3_universal_items_verify(
|
|
9326
|
+
body: PostMenuV3UniversalItemsVerifyBody,
|
|
9327
|
+
options?: RequestOptions,
|
|
9328
|
+
): ResponsePromise<PostMenuV3UniversalItemsVerifyResponse> {
|
|
9329
|
+
return this.request(
|
|
9330
|
+
"menu",
|
|
9331
|
+
"post_menu_v3_universal_items_verify",
|
|
9332
|
+
"post",
|
|
9333
|
+
`/menu/v3/universal-items/verify`,
|
|
9334
|
+
body,
|
|
9335
|
+
options,
|
|
9336
|
+
);
|
|
9337
|
+
}
|
|
9338
|
+
|
|
9339
|
+
/**
|
|
9340
|
+
* POST /menu/v3/trigger-update
|
|
9341
|
+
*
|
|
9342
|
+
* @param options - additional request options
|
|
9343
|
+
*/
|
|
9344
|
+
post_menu_v3_trigger_update(
|
|
9345
|
+
options?: RequestOptions,
|
|
9346
|
+
): ResponsePromise<PostMenuV3TriggerUpdateResponse> {
|
|
9347
|
+
return this.request(
|
|
9348
|
+
"menu",
|
|
9349
|
+
"post_menu_v3_trigger_update",
|
|
9350
|
+
"post",
|
|
9351
|
+
`/menu/v3/trigger-update`,
|
|
9352
|
+
null,
|
|
9353
|
+
options,
|
|
9354
|
+
);
|
|
9355
|
+
}
|
|
9356
|
+
|
|
8707
9357
|
/**
|
|
8708
9358
|
* GET /notification - Get all notifications
|
|
8709
9359
|
*
|