@compassdigital/sdk.typescript 3.45.0 → 3.45.2
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/index.d.ts +260 -136
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +271 -136
- package/lib/index.js.map +1 -1
- package/lib/interface/delivery.d.ts +73 -0
- package/lib/interface/delivery.d.ts.map +1 -0
- package/lib/interface/delivery.js +4 -0
- package/lib/interface/delivery.js.map +1 -0
- package/lib/interface/menu.d.ts +299 -169
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/order.d.ts +10 -0
- package/lib/interface/order.d.ts.map +1 -1
- package/manifest.json +4 -0
- package/package.json +1 -1
- package/src/index.ts +682 -353
- package/src/interface/delivery.ts +101 -0
- package/src/interface/menu.ts +476 -247
- package/src/interface/order.ts +21 -0
package/src/index.ts
CHANGED
|
@@ -458,91 +458,116 @@ import {
|
|
|
458
458
|
} from "./interface/file";
|
|
459
459
|
|
|
460
460
|
import {
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
461
|
+
GetMenuV3ModifiersQuery,
|
|
462
|
+
GetMenuV3ModifiersResponse,
|
|
463
|
+
GetMenuV3ModifierQuery,
|
|
464
|
+
GetMenuV3ModifierResponse,
|
|
465
|
+
PatchMenuV3ModifierBody,
|
|
466
|
+
PatchMenuV3ModifierResponse,
|
|
467
|
+
PostMenuV3ModifierBody,
|
|
468
|
+
PostMenuV3ModifierResponse,
|
|
469
|
+
GetMenuV3ModifierCountQuery,
|
|
470
|
+
GetMenuV3ModifierCountResponse,
|
|
471
|
+
GetMenuV3ModifierGroupsQuery,
|
|
472
|
+
GetMenuV3ModifierGroupsResponse,
|
|
473
|
+
PostMenuV3ModifierGroupBody,
|
|
474
|
+
PostMenuV3ModifierGroupResponse,
|
|
475
|
+
GetMenuV3ModifierGroupQuery,
|
|
476
|
+
GetMenuV3ModifierGroupResponse,
|
|
477
|
+
PatchMenuV3ModifierGroupBody,
|
|
478
|
+
PatchMenuV3ModifierGroupResponse,
|
|
479
|
+
GetMenuV3ModifierGroupCountQuery,
|
|
480
|
+
GetMenuV3ModifierGroupCountResponse,
|
|
481
|
+
GetMenuV3ModifierGroupRelationshipsModifiersQuery,
|
|
482
|
+
GetMenuV3ModifierGroupRelationshipsModifiersResponse,
|
|
483
|
+
PostMenuV3ModifierGroupRelationshipsModifiersBody,
|
|
484
|
+
PostMenuV3ModifierGroupRelationshipsModifiersResponse,
|
|
485
|
+
PostMenuV3ModifierGroupRelationshipsModifierBody,
|
|
486
|
+
PostMenuV3ModifierGroupRelationshipsModifierResponse,
|
|
487
|
+
GetMenuV3ModifierGroupRelationshipsModifierQuery,
|
|
488
|
+
GetMenuV3ModifierGroupRelationshipsModifierResponse,
|
|
489
|
+
PatchMenuV3ModifierGroupRelationshipsModifierBody,
|
|
490
|
+
PatchMenuV3ModifierGroupRelationshipsModifierResponse,
|
|
491
|
+
GetMenuV3ItemsQuery,
|
|
492
|
+
GetMenuV3ItemsResponse,
|
|
493
|
+
GetMenuV3ItemQuery,
|
|
494
|
+
GetMenuV3ItemResponse,
|
|
495
|
+
PatchMenuV3ItemBody,
|
|
496
|
+
PatchMenuV3ItemResponse,
|
|
497
|
+
PostMenuV3ItemBody,
|
|
498
|
+
PostMenuV3ItemResponse,
|
|
499
|
+
GetMenuV3ItemsCountQuery,
|
|
500
|
+
GetMenuV3ItemsCountResponse,
|
|
501
|
+
GetMenuV3ItemRelationshipsModifierGroupsQuery,
|
|
502
|
+
GetMenuV3ItemRelationshipsModifierGroupsResponse,
|
|
503
|
+
PostMenuV3ItemRelationshipsModifierGroupsBody,
|
|
504
|
+
PostMenuV3ItemRelationshipsModifierGroupsResponse,
|
|
505
|
+
PostMenuV3ItemRelationshipsModifierGroupBody,
|
|
506
|
+
PostMenuV3ItemRelationshipsModifierGroupResponse,
|
|
507
|
+
PatchMenuV3ItemRelationshipsModifierGroupBody,
|
|
508
|
+
PatchMenuV3ItemRelationshipsModifierGroupResponse,
|
|
509
|
+
DeleteMenuV3ItemRelationshipsModifierGroupResponse,
|
|
510
|
+
GetMenuV3LayoutsQuery,
|
|
511
|
+
GetMenuV3LayoutsResponse,
|
|
512
|
+
GetMenuV3LayoutCategoriesQuery,
|
|
513
|
+
GetMenuV3LayoutCategoriesResponse,
|
|
514
|
+
GetMenuV3LayoutQuery,
|
|
515
|
+
GetMenuV3LayoutResponse,
|
|
516
|
+
PatchMenuV3LayoutBody,
|
|
517
|
+
PatchMenuV3LayoutResponse,
|
|
518
|
+
DeleteMenuV3LayoutResponse,
|
|
519
|
+
PostMenuV3LayoutBody,
|
|
520
|
+
PostMenuV3LayoutResponse,
|
|
521
|
+
GetMenuV3LayoutsCountQuery,
|
|
522
|
+
GetMenuV3LayoutsCountResponse,
|
|
523
|
+
GetMenuV3CategoriesQuery,
|
|
524
|
+
GetMenuV3CategoriesResponse,
|
|
525
|
+
GetMenuV3CategoryQuery,
|
|
526
|
+
GetMenuV3CategoryResponse,
|
|
527
|
+
PatchMenuV3CategoryBody,
|
|
528
|
+
PatchMenuV3CategoryResponse,
|
|
529
|
+
DeleteMenuV3CategoryResponse,
|
|
530
|
+
PostMenuV3CategoryBody,
|
|
531
|
+
PostMenuV3CategoryResponse,
|
|
532
|
+
GetMenuV3CategoriesCountQuery,
|
|
533
|
+
GetMenuV3CategoriesCountResponse,
|
|
534
|
+
GetMenuV3CategoryRelationshipsItemsQuery,
|
|
535
|
+
GetMenuV3CategoryRelationshipsItemsResponse,
|
|
536
|
+
PostMenuV3CategoryRelationshipsItemsBody,
|
|
537
|
+
PostMenuV3CategoryRelationshipsItemsResponse,
|
|
538
|
+
PostMenuV3CategoryRelationshipsItemBody,
|
|
539
|
+
PostMenuV3CategoryRelationshipsItemResponse,
|
|
540
|
+
PatchMenuV3CategoryRelationshipsItemBody,
|
|
541
|
+
PatchMenuV3CategoryRelationshipsItemResponse,
|
|
542
|
+
DeleteMenuV3CategoryRelationshipsItemResponse,
|
|
543
|
+
GetMenuV3BrandsQuery,
|
|
544
|
+
GetMenuV3BrandsResponse,
|
|
545
|
+
GetMenuV3BrandModifiersQuery,
|
|
546
|
+
GetMenuV3BrandModifiersResponse,
|
|
547
|
+
GetMenuV3BrandModifier_groupsQuery,
|
|
548
|
+
GetMenuV3BrandModifier_groupsResponse,
|
|
549
|
+
GetMenuV3BrandItemsQuery,
|
|
550
|
+
GetMenuV3BrandItemsResponse,
|
|
551
|
+
GetMenuV3BrandQuery,
|
|
552
|
+
GetMenuV3BrandResponse,
|
|
553
|
+
PatchMenuV3BrandBody,
|
|
554
|
+
PatchMenuV3BrandResponse,
|
|
555
|
+
DeleteMenuV3BrandResponse,
|
|
556
|
+
PostMenuV3BrandBody,
|
|
557
|
+
PostMenuV3BrandResponse,
|
|
558
|
+
GetMenuV3BrandsCountQuery,
|
|
559
|
+
GetMenuV3BrandsCountResponse,
|
|
560
|
+
GetMenuV3StationsQuery,
|
|
561
|
+
GetMenuV3StationsResponse,
|
|
562
|
+
GetMenuV3StationQuery,
|
|
563
|
+
GetMenuV3StationResponse,
|
|
564
|
+
PatchMenuV3StationBody,
|
|
565
|
+
PatchMenuV3StationResponse,
|
|
566
|
+
DeleteMenuV3StationResponse,
|
|
567
|
+
PostMenuV3StationBody,
|
|
568
|
+
PostMenuV3StationResponse,
|
|
569
|
+
GetMenuV3StationsCountQuery,
|
|
570
|
+
GetMenuV3StationsCountResponse,
|
|
546
571
|
GetMenuClientQuery,
|
|
547
572
|
GetMenuClientResponse,
|
|
548
573
|
GetMenusQuery,
|
|
@@ -676,6 +701,13 @@ import {
|
|
|
676
701
|
DeletePermissionRoleUserResponse,
|
|
677
702
|
} from "./interface/permission";
|
|
678
703
|
|
|
704
|
+
import {
|
|
705
|
+
GetDeliveryOrderQuery,
|
|
706
|
+
GetDeliveryOrderResponse,
|
|
707
|
+
GetDeliveryQuery,
|
|
708
|
+
GetDeliveryResponse,
|
|
709
|
+
} from "./interface/delivery";
|
|
710
|
+
|
|
679
711
|
import {
|
|
680
712
|
PostLoyaltyEnrollQuery,
|
|
681
713
|
PostLoyaltyEnrollResponse,
|
|
@@ -4726,876 +4758,1134 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4726
4758
|
}
|
|
4727
4759
|
|
|
4728
4760
|
/**
|
|
4729
|
-
* GET /menu/
|
|
4761
|
+
* GET /menu/v3/modifiers
|
|
4730
4762
|
*
|
|
4731
4763
|
* @param options - additional request options
|
|
4732
4764
|
*/
|
|
4733
|
-
|
|
4765
|
+
get_menu_v3_modifiers(
|
|
4734
4766
|
options?: {
|
|
4735
|
-
query?:
|
|
4767
|
+
query?: GetMenuV3ModifiersQuery;
|
|
4736
4768
|
} & RequestOptions
|
|
4737
|
-
): ResponsePromise<
|
|
4769
|
+
): ResponsePromise<GetMenuV3ModifiersResponse> {
|
|
4738
4770
|
return this.request(
|
|
4739
4771
|
"menu",
|
|
4740
|
-
"
|
|
4772
|
+
"get_menu_v3_modifiers",
|
|
4741
4773
|
"get",
|
|
4742
|
-
`/menu/
|
|
4774
|
+
`/menu/v3/modifiers`,
|
|
4743
4775
|
null,
|
|
4744
4776
|
options
|
|
4745
4777
|
);
|
|
4746
4778
|
}
|
|
4747
4779
|
|
|
4748
4780
|
/**
|
|
4749
|
-
* GET /menu/
|
|
4781
|
+
* GET /menu/v3/modifier/{id}
|
|
4750
4782
|
*
|
|
4751
4783
|
* @param id
|
|
4752
4784
|
* @param options - additional request options
|
|
4753
4785
|
*/
|
|
4754
|
-
|
|
4786
|
+
get_menu_v3_modifier(
|
|
4755
4787
|
id: string,
|
|
4756
4788
|
options?: {
|
|
4757
|
-
query?:
|
|
4789
|
+
query?: GetMenuV3ModifierQuery;
|
|
4758
4790
|
} & RequestOptions
|
|
4759
|
-
): ResponsePromise<
|
|
4791
|
+
): ResponsePromise<GetMenuV3ModifierResponse> {
|
|
4760
4792
|
return this.request(
|
|
4761
4793
|
"menu",
|
|
4762
|
-
"
|
|
4794
|
+
"get_menu_v3_modifier",
|
|
4763
4795
|
"get",
|
|
4764
|
-
`/menu/
|
|
4796
|
+
`/menu/v3/modifier/${id}`,
|
|
4765
4797
|
null,
|
|
4766
4798
|
options
|
|
4767
4799
|
);
|
|
4768
4800
|
}
|
|
4769
4801
|
|
|
4770
4802
|
/**
|
|
4771
|
-
* PATCH /menu/
|
|
4803
|
+
* PATCH /menu/v3/modifier/{id}
|
|
4772
4804
|
*
|
|
4773
4805
|
* @param id
|
|
4774
4806
|
* @param body
|
|
4775
4807
|
* @param options - additional request options
|
|
4776
4808
|
*/
|
|
4777
|
-
|
|
4809
|
+
patch_menu_v3_modifier(
|
|
4778
4810
|
id: string,
|
|
4779
|
-
body:
|
|
4811
|
+
body: PatchMenuV3ModifierBody,
|
|
4780
4812
|
options?: RequestOptions
|
|
4781
|
-
): ResponsePromise<
|
|
4813
|
+
): ResponsePromise<PatchMenuV3ModifierResponse> {
|
|
4782
4814
|
return this.request(
|
|
4783
4815
|
"menu",
|
|
4784
|
-
"
|
|
4816
|
+
"patch_menu_v3_modifier",
|
|
4785
4817
|
"patch",
|
|
4786
|
-
`/menu/
|
|
4818
|
+
`/menu/v3/modifier/${id}`,
|
|
4787
4819
|
body,
|
|
4788
4820
|
options
|
|
4789
4821
|
);
|
|
4790
4822
|
}
|
|
4791
4823
|
|
|
4792
4824
|
/**
|
|
4793
|
-
* POST /menu/
|
|
4825
|
+
* POST /menu/v3/modifier
|
|
4794
4826
|
*
|
|
4795
4827
|
* @param body
|
|
4796
4828
|
* @param options - additional request options
|
|
4797
4829
|
*/
|
|
4798
|
-
|
|
4799
|
-
body:
|
|
4830
|
+
post_menu_v3_modifier(
|
|
4831
|
+
body: PostMenuV3ModifierBody,
|
|
4800
4832
|
options?: RequestOptions
|
|
4801
|
-
): ResponsePromise<
|
|
4833
|
+
): ResponsePromise<PostMenuV3ModifierResponse> {
|
|
4802
4834
|
return this.request(
|
|
4803
4835
|
"menu",
|
|
4804
|
-
"
|
|
4836
|
+
"post_menu_v3_modifier",
|
|
4805
4837
|
"post",
|
|
4806
|
-
`/menu/
|
|
4838
|
+
`/menu/v3/modifier`,
|
|
4807
4839
|
body,
|
|
4808
4840
|
options
|
|
4809
4841
|
);
|
|
4810
4842
|
}
|
|
4811
4843
|
|
|
4812
4844
|
/**
|
|
4813
|
-
* GET /menu/
|
|
4845
|
+
* GET /menu/v3/modifier/count
|
|
4814
4846
|
*
|
|
4815
4847
|
* @param options - additional request options
|
|
4816
4848
|
*/
|
|
4817
|
-
|
|
4849
|
+
get_menu_v3_modifier_count(
|
|
4818
4850
|
options?: {
|
|
4819
|
-
query?:
|
|
4851
|
+
query?: GetMenuV3ModifierCountQuery;
|
|
4820
4852
|
} & RequestOptions
|
|
4821
|
-
): ResponsePromise<
|
|
4853
|
+
): ResponsePromise<GetMenuV3ModifierCountResponse> {
|
|
4822
4854
|
return this.request(
|
|
4823
4855
|
"menu",
|
|
4824
|
-
"
|
|
4856
|
+
"get_menu_v3_modifier_count",
|
|
4825
4857
|
"get",
|
|
4826
|
-
`/menu/
|
|
4858
|
+
`/menu/v3/modifier/count`,
|
|
4827
4859
|
null,
|
|
4828
4860
|
options
|
|
4829
4861
|
);
|
|
4830
4862
|
}
|
|
4831
4863
|
|
|
4832
4864
|
/**
|
|
4833
|
-
* GET /menu/
|
|
4865
|
+
* GET /menu/v3/modifier-groups
|
|
4834
4866
|
*
|
|
4835
4867
|
* @param options - additional request options
|
|
4836
4868
|
*/
|
|
4837
|
-
|
|
4869
|
+
get_menu_v3_modifier_groups(
|
|
4838
4870
|
options?: {
|
|
4839
|
-
query?:
|
|
4871
|
+
query?: GetMenuV3ModifierGroupsQuery;
|
|
4840
4872
|
} & RequestOptions
|
|
4841
|
-
): ResponsePromise<
|
|
4873
|
+
): ResponsePromise<GetMenuV3ModifierGroupsResponse> {
|
|
4842
4874
|
return this.request(
|
|
4843
4875
|
"menu",
|
|
4844
|
-
"
|
|
4876
|
+
"get_menu_v3_modifier_groups",
|
|
4845
4877
|
"get",
|
|
4846
|
-
`/menu/
|
|
4878
|
+
`/menu/v3/modifier-groups`,
|
|
4847
4879
|
null,
|
|
4848
4880
|
options
|
|
4849
4881
|
);
|
|
4850
4882
|
}
|
|
4851
4883
|
|
|
4852
4884
|
/**
|
|
4853
|
-
* POST /menu/
|
|
4885
|
+
* POST /menu/v3/modifier-group
|
|
4854
4886
|
*
|
|
4855
4887
|
* @param body
|
|
4856
4888
|
* @param options - additional request options
|
|
4857
4889
|
*/
|
|
4858
|
-
|
|
4859
|
-
body:
|
|
4890
|
+
post_menu_v3_modifier_group(
|
|
4891
|
+
body: PostMenuV3ModifierGroupBody,
|
|
4860
4892
|
options?: RequestOptions
|
|
4861
|
-
): ResponsePromise<
|
|
4893
|
+
): ResponsePromise<PostMenuV3ModifierGroupResponse> {
|
|
4862
4894
|
return this.request(
|
|
4863
4895
|
"menu",
|
|
4864
|
-
"
|
|
4896
|
+
"post_menu_v3_modifier_group",
|
|
4865
4897
|
"post",
|
|
4866
|
-
`/menu/
|
|
4898
|
+
`/menu/v3/modifier-group`,
|
|
4867
4899
|
body,
|
|
4868
4900
|
options
|
|
4869
4901
|
);
|
|
4870
4902
|
}
|
|
4871
4903
|
|
|
4872
4904
|
/**
|
|
4873
|
-
* GET /menu/
|
|
4905
|
+
* GET /menu/v3/modifier-group/{id}
|
|
4874
4906
|
*
|
|
4875
4907
|
* @param id
|
|
4876
4908
|
* @param options - additional request options
|
|
4877
4909
|
*/
|
|
4878
|
-
|
|
4910
|
+
get_menu_v3_modifier_group(
|
|
4879
4911
|
id: string,
|
|
4880
4912
|
options?: {
|
|
4881
|
-
query?:
|
|
4913
|
+
query?: GetMenuV3ModifierGroupQuery;
|
|
4882
4914
|
} & RequestOptions
|
|
4883
|
-
): ResponsePromise<
|
|
4915
|
+
): ResponsePromise<GetMenuV3ModifierGroupResponse> {
|
|
4884
4916
|
return this.request(
|
|
4885
4917
|
"menu",
|
|
4886
|
-
"
|
|
4918
|
+
"get_menu_v3_modifier_group",
|
|
4887
4919
|
"get",
|
|
4888
|
-
`/menu/
|
|
4920
|
+
`/menu/v3/modifier-group/${id}`,
|
|
4889
4921
|
null,
|
|
4890
4922
|
options
|
|
4891
4923
|
);
|
|
4892
4924
|
}
|
|
4893
4925
|
|
|
4894
4926
|
/**
|
|
4895
|
-
* PATCH /menu/
|
|
4927
|
+
* PATCH /menu/v3/modifier-group/{id}
|
|
4896
4928
|
*
|
|
4897
4929
|
* @param id
|
|
4898
4930
|
* @param body
|
|
4899
4931
|
* @param options - additional request options
|
|
4900
4932
|
*/
|
|
4901
|
-
|
|
4933
|
+
patch_menu_v3_modifier_group(
|
|
4902
4934
|
id: string,
|
|
4903
|
-
body:
|
|
4935
|
+
body: PatchMenuV3ModifierGroupBody,
|
|
4904
4936
|
options?: RequestOptions
|
|
4905
|
-
): ResponsePromise<
|
|
4937
|
+
): ResponsePromise<PatchMenuV3ModifierGroupResponse> {
|
|
4906
4938
|
return this.request(
|
|
4907
4939
|
"menu",
|
|
4908
|
-
"
|
|
4940
|
+
"patch_menu_v3_modifier_group",
|
|
4909
4941
|
"patch",
|
|
4910
|
-
`/menu/
|
|
4942
|
+
`/menu/v3/modifier-group/${id}`,
|
|
4911
4943
|
body,
|
|
4912
4944
|
options
|
|
4913
4945
|
);
|
|
4914
4946
|
}
|
|
4915
4947
|
|
|
4916
4948
|
/**
|
|
4917
|
-
* GET /menu/
|
|
4949
|
+
* GET /menu/v3/modifier-group/count
|
|
4918
4950
|
*
|
|
4919
4951
|
* @param options - additional request options
|
|
4920
4952
|
*/
|
|
4921
|
-
|
|
4953
|
+
get_menu_v3_modifier_group_count(
|
|
4922
4954
|
options?: {
|
|
4923
|
-
query?:
|
|
4955
|
+
query?: GetMenuV3ModifierGroupCountQuery;
|
|
4924
4956
|
} & RequestOptions
|
|
4925
|
-
): ResponsePromise<
|
|
4957
|
+
): ResponsePromise<GetMenuV3ModifierGroupCountResponse> {
|
|
4926
4958
|
return this.request(
|
|
4927
4959
|
"menu",
|
|
4928
|
-
"
|
|
4960
|
+
"get_menu_v3_modifier_group_count",
|
|
4929
4961
|
"get",
|
|
4930
|
-
`/menu/
|
|
4962
|
+
`/menu/v3/modifier-group/count`,
|
|
4931
4963
|
null,
|
|
4932
4964
|
options
|
|
4933
4965
|
);
|
|
4934
4966
|
}
|
|
4935
4967
|
|
|
4936
4968
|
/**
|
|
4937
|
-
* GET /menu/
|
|
4969
|
+
* GET /menu/v3/modifier-group/relationships/modifiers
|
|
4938
4970
|
*
|
|
4939
4971
|
* @param options - additional request options
|
|
4940
4972
|
*/
|
|
4941
|
-
|
|
4973
|
+
get_menu_v3_modifier_group_relationships_modifiers(
|
|
4942
4974
|
options?: {
|
|
4943
|
-
query?:
|
|
4975
|
+
query?: GetMenuV3ModifierGroupRelationshipsModifiersQuery;
|
|
4944
4976
|
} & RequestOptions
|
|
4945
|
-
): ResponsePromise<
|
|
4977
|
+
): ResponsePromise<GetMenuV3ModifierGroupRelationshipsModifiersResponse> {
|
|
4946
4978
|
return this.request(
|
|
4947
4979
|
"menu",
|
|
4948
|
-
"
|
|
4980
|
+
"get_menu_v3_modifier_group_relationships_modifiers",
|
|
4949
4981
|
"get",
|
|
4950
|
-
`/menu/
|
|
4982
|
+
`/menu/v3/modifier-group/relationships/modifiers`,
|
|
4951
4983
|
null,
|
|
4952
4984
|
options
|
|
4953
4985
|
);
|
|
4954
4986
|
}
|
|
4955
4987
|
|
|
4956
4988
|
/**
|
|
4957
|
-
* POST /menu/
|
|
4989
|
+
* POST /menu/v3/modifier-group/relationships/modifiers
|
|
4958
4990
|
*
|
|
4959
4991
|
* @param body
|
|
4960
4992
|
* @param options - additional request options
|
|
4961
4993
|
*/
|
|
4962
|
-
|
|
4963
|
-
body:
|
|
4994
|
+
post_menu_v3_modifier_group_relationships_modifiers(
|
|
4995
|
+
body: PostMenuV3ModifierGroupRelationshipsModifiersBody,
|
|
4964
4996
|
options?: RequestOptions
|
|
4965
|
-
): ResponsePromise<
|
|
4997
|
+
): ResponsePromise<PostMenuV3ModifierGroupRelationshipsModifiersResponse> {
|
|
4966
4998
|
return this.request(
|
|
4967
4999
|
"menu",
|
|
4968
|
-
"
|
|
5000
|
+
"post_menu_v3_modifier_group_relationships_modifiers",
|
|
4969
5001
|
"post",
|
|
4970
|
-
`/menu/
|
|
5002
|
+
`/menu/v3/modifier-group/relationships/modifiers`,
|
|
4971
5003
|
body,
|
|
4972
5004
|
options
|
|
4973
5005
|
);
|
|
4974
5006
|
}
|
|
4975
5007
|
|
|
4976
5008
|
/**
|
|
4977
|
-
*
|
|
5009
|
+
* POST /menu/v3/modifier-group/relationships/modifier
|
|
5010
|
+
*
|
|
5011
|
+
* @param body
|
|
5012
|
+
* @param options - additional request options
|
|
5013
|
+
*/
|
|
5014
|
+
post_menu_v3_modifier_group_relationships_modifier(
|
|
5015
|
+
body: PostMenuV3ModifierGroupRelationshipsModifierBody,
|
|
5016
|
+
options?: RequestOptions
|
|
5017
|
+
): ResponsePromise<PostMenuV3ModifierGroupRelationshipsModifierResponse> {
|
|
5018
|
+
return this.request(
|
|
5019
|
+
"menu",
|
|
5020
|
+
"post_menu_v3_modifier_group_relationships_modifier",
|
|
5021
|
+
"post",
|
|
5022
|
+
`/menu/v3/modifier-group/relationships/modifier`,
|
|
5023
|
+
body,
|
|
5024
|
+
options
|
|
5025
|
+
);
|
|
5026
|
+
}
|
|
5027
|
+
|
|
5028
|
+
/**
|
|
5029
|
+
* GET /menu/v3/modifier-group/relationships/modifier/{id}
|
|
4978
5030
|
*
|
|
4979
5031
|
* @param id
|
|
4980
5032
|
* @param options - additional request options
|
|
4981
5033
|
*/
|
|
4982
|
-
|
|
5034
|
+
get_menu_v3_modifier_group_relationships_modifier(
|
|
4983
5035
|
id: string,
|
|
4984
5036
|
options?: {
|
|
4985
|
-
query?:
|
|
5037
|
+
query?: GetMenuV3ModifierGroupRelationshipsModifierQuery;
|
|
4986
5038
|
} & RequestOptions
|
|
4987
|
-
): ResponsePromise<
|
|
5039
|
+
): ResponsePromise<GetMenuV3ModifierGroupRelationshipsModifierResponse> {
|
|
4988
5040
|
return this.request(
|
|
4989
5041
|
"menu",
|
|
4990
|
-
"
|
|
5042
|
+
"get_menu_v3_modifier_group_relationships_modifier",
|
|
4991
5043
|
"get",
|
|
4992
|
-
`/menu/
|
|
5044
|
+
`/menu/v3/modifier-group/relationships/modifier/${id}`,
|
|
4993
5045
|
null,
|
|
4994
5046
|
options
|
|
4995
5047
|
);
|
|
4996
5048
|
}
|
|
4997
5049
|
|
|
4998
5050
|
/**
|
|
4999
|
-
* PATCH /menu/
|
|
5051
|
+
* PATCH /menu/v3/modifier-group/relationships/modifier/{id}
|
|
5000
5052
|
*
|
|
5001
5053
|
* @param id
|
|
5002
5054
|
* @param body
|
|
5003
5055
|
* @param options - additional request options
|
|
5004
5056
|
*/
|
|
5005
|
-
|
|
5057
|
+
patch_menu_v3_modifier_group_relationships_modifier(
|
|
5006
5058
|
id: string,
|
|
5007
|
-
body:
|
|
5059
|
+
body: PatchMenuV3ModifierGroupRelationshipsModifierBody,
|
|
5008
5060
|
options?: RequestOptions
|
|
5009
|
-
): ResponsePromise<
|
|
5061
|
+
): ResponsePromise<PatchMenuV3ModifierGroupRelationshipsModifierResponse> {
|
|
5010
5062
|
return this.request(
|
|
5011
5063
|
"menu",
|
|
5012
|
-
"
|
|
5064
|
+
"patch_menu_v3_modifier_group_relationships_modifier",
|
|
5013
5065
|
"patch",
|
|
5014
|
-
`/menu/
|
|
5066
|
+
`/menu/v3/modifier-group/relationships/modifier/${id}`,
|
|
5015
5067
|
body,
|
|
5016
5068
|
options
|
|
5017
5069
|
);
|
|
5018
5070
|
}
|
|
5019
5071
|
|
|
5020
5072
|
/**
|
|
5021
|
-
* GET /menu/
|
|
5073
|
+
* GET /menu/v3/items
|
|
5022
5074
|
*
|
|
5023
5075
|
* @param options - additional request options
|
|
5024
5076
|
*/
|
|
5025
|
-
|
|
5077
|
+
get_menu_v3_items(
|
|
5026
5078
|
options?: {
|
|
5027
|
-
query?:
|
|
5079
|
+
query?: GetMenuV3ItemsQuery;
|
|
5028
5080
|
} & RequestOptions
|
|
5029
|
-
): ResponsePromise<
|
|
5030
|
-
return this.request("menu", "
|
|
5081
|
+
): ResponsePromise<GetMenuV3ItemsResponse> {
|
|
5082
|
+
return this.request("menu", "get_menu_v3_items", "get", `/menu/v3/items`, null, options);
|
|
5031
5083
|
}
|
|
5032
5084
|
|
|
5033
5085
|
/**
|
|
5034
|
-
* GET /menu/
|
|
5086
|
+
* GET /menu/v3/item/{id}
|
|
5035
5087
|
*
|
|
5036
5088
|
* @param id
|
|
5037
5089
|
* @param options - additional request options
|
|
5038
5090
|
*/
|
|
5039
|
-
|
|
5091
|
+
get_menu_v3_item(
|
|
5040
5092
|
id: string,
|
|
5041
5093
|
options?: {
|
|
5042
|
-
query?:
|
|
5094
|
+
query?: GetMenuV3ItemQuery;
|
|
5043
5095
|
} & RequestOptions
|
|
5044
|
-
): ResponsePromise<
|
|
5045
|
-
return this.request("menu", "
|
|
5096
|
+
): ResponsePromise<GetMenuV3ItemResponse> {
|
|
5097
|
+
return this.request("menu", "get_menu_v3_item", "get", `/menu/v3/item/${id}`, null, options);
|
|
5046
5098
|
}
|
|
5047
5099
|
|
|
5048
5100
|
/**
|
|
5049
|
-
* PATCH /menu/
|
|
5101
|
+
* PATCH /menu/v3/item/{id}
|
|
5050
5102
|
*
|
|
5051
5103
|
* @param id
|
|
5052
5104
|
* @param body
|
|
5053
5105
|
* @param options - additional request options
|
|
5054
5106
|
*/
|
|
5055
|
-
|
|
5107
|
+
patch_menu_v3_item(
|
|
5056
5108
|
id: string,
|
|
5057
|
-
body:
|
|
5109
|
+
body: PatchMenuV3ItemBody,
|
|
5058
5110
|
options?: RequestOptions
|
|
5059
|
-
): ResponsePromise<
|
|
5111
|
+
): ResponsePromise<PatchMenuV3ItemResponse> {
|
|
5060
5112
|
return this.request(
|
|
5061
5113
|
"menu",
|
|
5062
|
-
"
|
|
5114
|
+
"patch_menu_v3_item",
|
|
5063
5115
|
"patch",
|
|
5064
|
-
`/menu/
|
|
5116
|
+
`/menu/v3/item/${id}`,
|
|
5065
5117
|
body,
|
|
5066
5118
|
options
|
|
5067
5119
|
);
|
|
5068
5120
|
}
|
|
5069
5121
|
|
|
5070
5122
|
/**
|
|
5071
|
-
* POST /menu/
|
|
5123
|
+
* POST /menu/v3/item
|
|
5072
5124
|
*
|
|
5073
5125
|
* @param body
|
|
5074
5126
|
* @param options - additional request options
|
|
5075
5127
|
*/
|
|
5076
|
-
|
|
5077
|
-
body:
|
|
5128
|
+
post_menu_v3_item(
|
|
5129
|
+
body: PostMenuV3ItemBody,
|
|
5078
5130
|
options?: RequestOptions
|
|
5079
|
-
): ResponsePromise<
|
|
5080
|
-
return this.request("menu", "
|
|
5131
|
+
): ResponsePromise<PostMenuV3ItemResponse> {
|
|
5132
|
+
return this.request("menu", "post_menu_v3_item", "post", `/menu/v3/item`, body, options);
|
|
5081
5133
|
}
|
|
5082
5134
|
|
|
5083
5135
|
/**
|
|
5084
|
-
* GET /menu/
|
|
5136
|
+
* GET /menu/v3/items/count
|
|
5085
5137
|
*
|
|
5086
5138
|
* @param options - additional request options
|
|
5087
5139
|
*/
|
|
5088
|
-
|
|
5140
|
+
get_menu_v3_items_count(
|
|
5089
5141
|
options?: {
|
|
5090
|
-
query?:
|
|
5142
|
+
query?: GetMenuV3ItemsCountQuery;
|
|
5091
5143
|
} & RequestOptions
|
|
5092
|
-
): ResponsePromise<
|
|
5144
|
+
): ResponsePromise<GetMenuV3ItemsCountResponse> {
|
|
5093
5145
|
return this.request(
|
|
5094
5146
|
"menu",
|
|
5095
|
-
"
|
|
5147
|
+
"get_menu_v3_items_count",
|
|
5096
5148
|
"get",
|
|
5097
|
-
`/menu/
|
|
5149
|
+
`/menu/v3/items/count`,
|
|
5098
5150
|
null,
|
|
5099
5151
|
options
|
|
5100
5152
|
);
|
|
5101
5153
|
}
|
|
5102
5154
|
|
|
5103
5155
|
/**
|
|
5104
|
-
* GET /menu/
|
|
5156
|
+
* GET /menu/v3/item/relationships/modifier-groups
|
|
5105
5157
|
*
|
|
5106
5158
|
* @param options - additional request options
|
|
5107
5159
|
*/
|
|
5108
|
-
|
|
5160
|
+
get_menu_v3_item_relationships_modifier_groups(
|
|
5109
5161
|
options?: {
|
|
5110
|
-
query?:
|
|
5162
|
+
query?: GetMenuV3ItemRelationshipsModifierGroupsQuery;
|
|
5111
5163
|
} & RequestOptions
|
|
5112
|
-
): ResponsePromise<
|
|
5164
|
+
): ResponsePromise<GetMenuV3ItemRelationshipsModifierGroupsResponse> {
|
|
5113
5165
|
return this.request(
|
|
5114
5166
|
"menu",
|
|
5115
|
-
"
|
|
5167
|
+
"get_menu_v3_item_relationships_modifier_groups",
|
|
5116
5168
|
"get",
|
|
5117
|
-
`/menu/
|
|
5169
|
+
`/menu/v3/item/relationships/modifier-groups`,
|
|
5118
5170
|
null,
|
|
5119
5171
|
options
|
|
5120
5172
|
);
|
|
5121
5173
|
}
|
|
5122
5174
|
|
|
5123
5175
|
/**
|
|
5124
|
-
* POST /menu/
|
|
5176
|
+
* POST /menu/v3/item/relationships/modifier-groups
|
|
5177
|
+
*
|
|
5178
|
+
* @param body
|
|
5179
|
+
* @param options - additional request options
|
|
5180
|
+
*/
|
|
5181
|
+
post_menu_v3_item_relationships_modifier_groups(
|
|
5182
|
+
body: PostMenuV3ItemRelationshipsModifierGroupsBody,
|
|
5183
|
+
options?: RequestOptions
|
|
5184
|
+
): ResponsePromise<PostMenuV3ItemRelationshipsModifierGroupsResponse> {
|
|
5185
|
+
return this.request(
|
|
5186
|
+
"menu",
|
|
5187
|
+
"post_menu_v3_item_relationships_modifier_groups",
|
|
5188
|
+
"post",
|
|
5189
|
+
`/menu/v3/item/relationships/modifier-groups`,
|
|
5190
|
+
body,
|
|
5191
|
+
options
|
|
5192
|
+
);
|
|
5193
|
+
}
|
|
5194
|
+
|
|
5195
|
+
/**
|
|
5196
|
+
* POST /menu/v3/item/relationships/modifier-group
|
|
5125
5197
|
*
|
|
5126
5198
|
* @param body
|
|
5127
5199
|
* @param options - additional request options
|
|
5128
5200
|
*/
|
|
5129
|
-
|
|
5130
|
-
body:
|
|
5201
|
+
post_menu_v3_item_relationships_modifier_group(
|
|
5202
|
+
body: PostMenuV3ItemRelationshipsModifierGroupBody,
|
|
5131
5203
|
options?: RequestOptions
|
|
5132
|
-
): ResponsePromise<
|
|
5204
|
+
): ResponsePromise<PostMenuV3ItemRelationshipsModifierGroupResponse> {
|
|
5133
5205
|
return this.request(
|
|
5134
5206
|
"menu",
|
|
5135
|
-
"
|
|
5207
|
+
"post_menu_v3_item_relationships_modifier_group",
|
|
5136
5208
|
"post",
|
|
5137
|
-
`/menu/
|
|
5209
|
+
`/menu/v3/item/relationships/modifier-group`,
|
|
5138
5210
|
body,
|
|
5139
5211
|
options
|
|
5140
5212
|
);
|
|
5141
5213
|
}
|
|
5142
5214
|
|
|
5143
5215
|
/**
|
|
5144
|
-
* PATCH /menu/
|
|
5216
|
+
* PATCH /menu/v3/item/relationships/modifier-group/{id}
|
|
5145
5217
|
*
|
|
5146
5218
|
* @param id
|
|
5147
5219
|
* @param body
|
|
5148
5220
|
* @param options - additional request options
|
|
5149
5221
|
*/
|
|
5150
|
-
|
|
5222
|
+
patch_menu_v3_item_relationships_modifier_group(
|
|
5151
5223
|
id: string,
|
|
5152
|
-
body:
|
|
5224
|
+
body: PatchMenuV3ItemRelationshipsModifierGroupBody,
|
|
5153
5225
|
options?: RequestOptions
|
|
5154
|
-
): ResponsePromise<
|
|
5226
|
+
): ResponsePromise<PatchMenuV3ItemRelationshipsModifierGroupResponse> {
|
|
5155
5227
|
return this.request(
|
|
5156
5228
|
"menu",
|
|
5157
|
-
"
|
|
5229
|
+
"patch_menu_v3_item_relationships_modifier_group",
|
|
5158
5230
|
"patch",
|
|
5159
|
-
`/menu/
|
|
5231
|
+
`/menu/v3/item/relationships/modifier-group/${id}`,
|
|
5160
5232
|
body,
|
|
5161
5233
|
options
|
|
5162
5234
|
);
|
|
5163
5235
|
}
|
|
5164
5236
|
|
|
5165
5237
|
/**
|
|
5166
|
-
* DELETE /menu/
|
|
5238
|
+
* DELETE /menu/v3/item/relationships/modifier-group/{id}
|
|
5167
5239
|
*
|
|
5168
5240
|
* @param id
|
|
5169
5241
|
* @param options - additional request options
|
|
5170
5242
|
*/
|
|
5171
|
-
|
|
5243
|
+
delete_menu_v3_item_relationships_modifier_group(
|
|
5172
5244
|
id: string,
|
|
5173
5245
|
options?: RequestOptions
|
|
5174
|
-
): ResponsePromise<
|
|
5246
|
+
): ResponsePromise<DeleteMenuV3ItemRelationshipsModifierGroupResponse> {
|
|
5175
5247
|
return this.request(
|
|
5176
5248
|
"menu",
|
|
5177
|
-
"
|
|
5249
|
+
"delete_menu_v3_item_relationships_modifier_group",
|
|
5178
5250
|
"delete",
|
|
5179
|
-
`/menu/
|
|
5251
|
+
`/menu/v3/item/relationships/modifier-group/${id}`,
|
|
5180
5252
|
null,
|
|
5181
5253
|
options
|
|
5182
5254
|
);
|
|
5183
5255
|
}
|
|
5184
5256
|
|
|
5185
5257
|
/**
|
|
5186
|
-
* GET /menu/
|
|
5258
|
+
* GET /menu/v3/layouts
|
|
5187
5259
|
*
|
|
5188
5260
|
* @param options - additional request options
|
|
5189
5261
|
*/
|
|
5190
|
-
|
|
5262
|
+
get_menu_v3_layouts(
|
|
5191
5263
|
options?: {
|
|
5192
|
-
query?:
|
|
5264
|
+
query?: GetMenuV3LayoutsQuery;
|
|
5193
5265
|
} & RequestOptions
|
|
5194
|
-
): ResponsePromise<
|
|
5195
|
-
return this.request("menu", "
|
|
5266
|
+
): ResponsePromise<GetMenuV3LayoutsResponse> {
|
|
5267
|
+
return this.request("menu", "get_menu_v3_layouts", "get", `/menu/v3/layouts`, null, options);
|
|
5196
5268
|
}
|
|
5197
5269
|
|
|
5198
5270
|
/**
|
|
5199
|
-
* GET /menu/
|
|
5271
|
+
* GET /menu/v3/layout/{id}/categories
|
|
5200
5272
|
*
|
|
5201
5273
|
* @param id
|
|
5202
5274
|
* @param options - additional request options
|
|
5203
5275
|
*/
|
|
5204
|
-
|
|
5276
|
+
get_menu_v3_layout_categories(
|
|
5205
5277
|
id: string,
|
|
5206
5278
|
options?: {
|
|
5207
|
-
query?:
|
|
5279
|
+
query?: GetMenuV3LayoutCategoriesQuery;
|
|
5208
5280
|
} & RequestOptions
|
|
5209
|
-
): ResponsePromise<
|
|
5210
|
-
return this.request(
|
|
5281
|
+
): ResponsePromise<GetMenuV3LayoutCategoriesResponse> {
|
|
5282
|
+
return this.request(
|
|
5283
|
+
"menu",
|
|
5284
|
+
"get_menu_v3_layout_categories",
|
|
5285
|
+
"get",
|
|
5286
|
+
`/menu/v3/layout/${id}/categories`,
|
|
5287
|
+
null,
|
|
5288
|
+
options
|
|
5289
|
+
);
|
|
5211
5290
|
}
|
|
5212
5291
|
|
|
5213
5292
|
/**
|
|
5214
|
-
*
|
|
5293
|
+
* GET /menu/v3/layout/{id}
|
|
5294
|
+
*
|
|
5295
|
+
* @param id
|
|
5296
|
+
* @param options - additional request options
|
|
5297
|
+
*/
|
|
5298
|
+
get_menu_v3_layout(
|
|
5299
|
+
id: string,
|
|
5300
|
+
options?: {
|
|
5301
|
+
query?: GetMenuV3LayoutQuery;
|
|
5302
|
+
} & RequestOptions
|
|
5303
|
+
): ResponsePromise<GetMenuV3LayoutResponse> {
|
|
5304
|
+
return this.request(
|
|
5305
|
+
"menu",
|
|
5306
|
+
"get_menu_v3_layout",
|
|
5307
|
+
"get",
|
|
5308
|
+
`/menu/v3/layout/${id}`,
|
|
5309
|
+
null,
|
|
5310
|
+
options
|
|
5311
|
+
);
|
|
5312
|
+
}
|
|
5313
|
+
|
|
5314
|
+
/**
|
|
5315
|
+
* PATCH /menu/v3/layout/{id}
|
|
5215
5316
|
*
|
|
5216
5317
|
* @param id
|
|
5217
5318
|
* @param body
|
|
5218
5319
|
* @param options - additional request options
|
|
5219
5320
|
*/
|
|
5220
|
-
|
|
5321
|
+
patch_menu_v3_layout(
|
|
5221
5322
|
id: string,
|
|
5222
|
-
body:
|
|
5323
|
+
body: PatchMenuV3LayoutBody,
|
|
5223
5324
|
options?: RequestOptions
|
|
5224
|
-
): ResponsePromise<
|
|
5325
|
+
): ResponsePromise<PatchMenuV3LayoutResponse> {
|
|
5225
5326
|
return this.request(
|
|
5226
5327
|
"menu",
|
|
5227
|
-
"
|
|
5328
|
+
"patch_menu_v3_layout",
|
|
5228
5329
|
"patch",
|
|
5229
|
-
`/menu/
|
|
5330
|
+
`/menu/v3/layout/${id}`,
|
|
5230
5331
|
body,
|
|
5231
5332
|
options
|
|
5232
5333
|
);
|
|
5233
5334
|
}
|
|
5234
5335
|
|
|
5235
5336
|
/**
|
|
5236
|
-
* DELETE /menu/
|
|
5337
|
+
* DELETE /menu/v3/layout/{id}
|
|
5237
5338
|
*
|
|
5238
5339
|
* @param id
|
|
5239
5340
|
* @param options - additional request options
|
|
5240
5341
|
*/
|
|
5241
|
-
|
|
5342
|
+
delete_menu_v3_layout(
|
|
5242
5343
|
id: string,
|
|
5243
5344
|
options?: RequestOptions
|
|
5244
|
-
): ResponsePromise<
|
|
5345
|
+
): ResponsePromise<DeleteMenuV3LayoutResponse> {
|
|
5245
5346
|
return this.request(
|
|
5246
5347
|
"menu",
|
|
5247
|
-
"
|
|
5348
|
+
"delete_menu_v3_layout",
|
|
5248
5349
|
"delete",
|
|
5249
|
-
`/menu/
|
|
5350
|
+
`/menu/v3/layout/${id}`,
|
|
5250
5351
|
null,
|
|
5251
5352
|
options
|
|
5252
5353
|
);
|
|
5253
5354
|
}
|
|
5254
5355
|
|
|
5255
5356
|
/**
|
|
5256
|
-
* POST /menu/
|
|
5357
|
+
* POST /menu/v3/layout
|
|
5257
5358
|
*
|
|
5258
5359
|
* @param body
|
|
5259
5360
|
* @param options - additional request options
|
|
5260
5361
|
*/
|
|
5261
|
-
|
|
5262
|
-
body:
|
|
5362
|
+
post_menu_v3_layout(
|
|
5363
|
+
body: PostMenuV3LayoutBody,
|
|
5263
5364
|
options?: RequestOptions
|
|
5264
|
-
): ResponsePromise<
|
|
5265
|
-
return this.request("menu", "
|
|
5365
|
+
): ResponsePromise<PostMenuV3LayoutResponse> {
|
|
5366
|
+
return this.request("menu", "post_menu_v3_layout", "post", `/menu/v3/layout`, body, options);
|
|
5266
5367
|
}
|
|
5267
5368
|
|
|
5268
5369
|
/**
|
|
5269
|
-
* GET /menu/
|
|
5370
|
+
* GET /menu/v3/layouts/count
|
|
5270
5371
|
*
|
|
5271
5372
|
* @param options - additional request options
|
|
5272
5373
|
*/
|
|
5273
|
-
|
|
5374
|
+
get_menu_v3_layouts_count(
|
|
5274
5375
|
options?: {
|
|
5275
|
-
query?:
|
|
5376
|
+
query?: GetMenuV3LayoutsCountQuery;
|
|
5276
5377
|
} & RequestOptions
|
|
5277
|
-
): ResponsePromise<
|
|
5378
|
+
): ResponsePromise<GetMenuV3LayoutsCountResponse> {
|
|
5278
5379
|
return this.request(
|
|
5279
5380
|
"menu",
|
|
5280
|
-
"
|
|
5381
|
+
"get_menu_v3_layouts_count",
|
|
5281
5382
|
"get",
|
|
5282
|
-
`/menu/
|
|
5383
|
+
`/menu/v3/layouts/count`,
|
|
5283
5384
|
null,
|
|
5284
5385
|
options
|
|
5285
5386
|
);
|
|
5286
5387
|
}
|
|
5287
5388
|
|
|
5288
5389
|
/**
|
|
5289
|
-
* GET /menu/
|
|
5390
|
+
* GET /menu/v3/categories
|
|
5290
5391
|
*
|
|
5291
5392
|
* @param options - additional request options
|
|
5292
5393
|
*/
|
|
5293
|
-
|
|
5394
|
+
get_menu_v3_categories(
|
|
5294
5395
|
options?: {
|
|
5295
|
-
query?:
|
|
5396
|
+
query?: GetMenuV3CategoriesQuery;
|
|
5296
5397
|
} & RequestOptions
|
|
5297
|
-
): ResponsePromise<
|
|
5298
|
-
return this.request(
|
|
5398
|
+
): ResponsePromise<GetMenuV3CategoriesResponse> {
|
|
5399
|
+
return this.request(
|
|
5400
|
+
"menu",
|
|
5401
|
+
"get_menu_v3_categories",
|
|
5402
|
+
"get",
|
|
5403
|
+
`/menu/v3/categories`,
|
|
5404
|
+
null,
|
|
5405
|
+
options
|
|
5406
|
+
);
|
|
5299
5407
|
}
|
|
5300
5408
|
|
|
5301
5409
|
/**
|
|
5302
|
-
* GET /menu/
|
|
5410
|
+
* GET /menu/v3/category/{id}
|
|
5303
5411
|
*
|
|
5304
5412
|
* @param id
|
|
5305
5413
|
* @param options - additional request options
|
|
5306
5414
|
*/
|
|
5307
|
-
|
|
5415
|
+
get_menu_v3_category(
|
|
5308
5416
|
id: string,
|
|
5309
5417
|
options?: {
|
|
5310
|
-
query?:
|
|
5418
|
+
query?: GetMenuV3CategoryQuery;
|
|
5311
5419
|
} & RequestOptions
|
|
5312
|
-
): ResponsePromise<
|
|
5420
|
+
): ResponsePromise<GetMenuV3CategoryResponse> {
|
|
5313
5421
|
return this.request(
|
|
5314
5422
|
"menu",
|
|
5315
|
-
"
|
|
5423
|
+
"get_menu_v3_category",
|
|
5316
5424
|
"get",
|
|
5317
|
-
`/menu/
|
|
5425
|
+
`/menu/v3/category/${id}`,
|
|
5318
5426
|
null,
|
|
5319
5427
|
options
|
|
5320
5428
|
);
|
|
5321
5429
|
}
|
|
5322
5430
|
|
|
5323
5431
|
/**
|
|
5324
|
-
* PATCH /menu/
|
|
5432
|
+
* PATCH /menu/v3/category/{id}
|
|
5325
5433
|
*
|
|
5326
5434
|
* @param id
|
|
5327
5435
|
* @param body
|
|
5328
5436
|
* @param options - additional request options
|
|
5329
5437
|
*/
|
|
5330
|
-
|
|
5438
|
+
patch_menu_v3_category(
|
|
5331
5439
|
id: string,
|
|
5332
|
-
body:
|
|
5440
|
+
body: PatchMenuV3CategoryBody,
|
|
5333
5441
|
options?: RequestOptions
|
|
5334
|
-
): ResponsePromise<
|
|
5442
|
+
): ResponsePromise<PatchMenuV3CategoryResponse> {
|
|
5335
5443
|
return this.request(
|
|
5336
5444
|
"menu",
|
|
5337
|
-
"
|
|
5445
|
+
"patch_menu_v3_category",
|
|
5338
5446
|
"patch",
|
|
5339
|
-
`/menu/
|
|
5447
|
+
`/menu/v3/category/${id}`,
|
|
5340
5448
|
body,
|
|
5341
5449
|
options
|
|
5342
5450
|
);
|
|
5343
5451
|
}
|
|
5344
5452
|
|
|
5345
5453
|
/**
|
|
5346
|
-
* DELETE /menu/
|
|
5454
|
+
* DELETE /menu/v3/category/{id}
|
|
5347
5455
|
*
|
|
5348
5456
|
* @param id
|
|
5349
5457
|
* @param options - additional request options
|
|
5350
5458
|
*/
|
|
5351
|
-
|
|
5459
|
+
delete_menu_v3_category(
|
|
5352
5460
|
id: string,
|
|
5353
5461
|
options?: RequestOptions
|
|
5354
|
-
): ResponsePromise<
|
|
5462
|
+
): ResponsePromise<DeleteMenuV3CategoryResponse> {
|
|
5355
5463
|
return this.request(
|
|
5356
5464
|
"menu",
|
|
5357
|
-
"
|
|
5465
|
+
"delete_menu_v3_category",
|
|
5358
5466
|
"delete",
|
|
5359
|
-
`/menu/
|
|
5467
|
+
`/menu/v3/category/${id}`,
|
|
5360
5468
|
null,
|
|
5361
5469
|
options
|
|
5362
5470
|
);
|
|
5363
5471
|
}
|
|
5364
5472
|
|
|
5365
5473
|
/**
|
|
5366
|
-
* POST /menu/
|
|
5474
|
+
* POST /menu/v3/category
|
|
5367
5475
|
*
|
|
5368
5476
|
* @param body
|
|
5369
5477
|
* @param options - additional request options
|
|
5370
5478
|
*/
|
|
5371
|
-
|
|
5372
|
-
body:
|
|
5479
|
+
post_menu_v3_category(
|
|
5480
|
+
body: PostMenuV3CategoryBody,
|
|
5373
5481
|
options?: RequestOptions
|
|
5374
|
-
): ResponsePromise<
|
|
5375
|
-
return this.request(
|
|
5482
|
+
): ResponsePromise<PostMenuV3CategoryResponse> {
|
|
5483
|
+
return this.request(
|
|
5484
|
+
"menu",
|
|
5485
|
+
"post_menu_v3_category",
|
|
5486
|
+
"post",
|
|
5487
|
+
`/menu/v3/category`,
|
|
5488
|
+
body,
|
|
5489
|
+
options
|
|
5490
|
+
);
|
|
5376
5491
|
}
|
|
5377
5492
|
|
|
5378
5493
|
/**
|
|
5379
|
-
* GET /menu/
|
|
5494
|
+
* GET /menu/v3/categories/count
|
|
5380
5495
|
*
|
|
5381
5496
|
* @param options - additional request options
|
|
5382
5497
|
*/
|
|
5383
|
-
|
|
5498
|
+
get_menu_v3_categories_count(
|
|
5384
5499
|
options?: {
|
|
5385
|
-
query?:
|
|
5500
|
+
query?: GetMenuV3CategoriesCountQuery;
|
|
5386
5501
|
} & RequestOptions
|
|
5387
|
-
): ResponsePromise<
|
|
5502
|
+
): ResponsePromise<GetMenuV3CategoriesCountResponse> {
|
|
5388
5503
|
return this.request(
|
|
5389
5504
|
"menu",
|
|
5390
|
-
"
|
|
5505
|
+
"get_menu_v3_categories_count",
|
|
5391
5506
|
"get",
|
|
5392
|
-
`/menu/
|
|
5507
|
+
`/menu/v3/categories/count`,
|
|
5393
5508
|
null,
|
|
5394
5509
|
options
|
|
5395
5510
|
);
|
|
5396
5511
|
}
|
|
5397
5512
|
|
|
5398
5513
|
/**
|
|
5399
|
-
* GET /menu/
|
|
5514
|
+
* GET /menu/v3/category/relationships/items
|
|
5400
5515
|
*
|
|
5401
5516
|
* @param options - additional request options
|
|
5402
5517
|
*/
|
|
5403
|
-
|
|
5518
|
+
get_menu_v3_category_relationships_items(
|
|
5404
5519
|
options?: {
|
|
5405
|
-
query?:
|
|
5520
|
+
query?: GetMenuV3CategoryRelationshipsItemsQuery;
|
|
5406
5521
|
} & RequestOptions
|
|
5407
|
-
): ResponsePromise<
|
|
5522
|
+
): ResponsePromise<GetMenuV3CategoryRelationshipsItemsResponse> {
|
|
5408
5523
|
return this.request(
|
|
5409
5524
|
"menu",
|
|
5410
|
-
"
|
|
5525
|
+
"get_menu_v3_category_relationships_items",
|
|
5411
5526
|
"get",
|
|
5412
|
-
`/menu/
|
|
5527
|
+
`/menu/v3/category/relationships/items`,
|
|
5413
5528
|
null,
|
|
5414
5529
|
options
|
|
5415
5530
|
);
|
|
5416
5531
|
}
|
|
5417
5532
|
|
|
5418
5533
|
/**
|
|
5419
|
-
*
|
|
5534
|
+
* POST /menu/v3/category/relationships/items
|
|
5420
5535
|
*
|
|
5421
|
-
* @param
|
|
5536
|
+
* @param body
|
|
5422
5537
|
* @param options - additional request options
|
|
5423
5538
|
*/
|
|
5424
|
-
|
|
5425
|
-
|
|
5426
|
-
options?:
|
|
5427
|
-
|
|
5428
|
-
} & RequestOptions
|
|
5429
|
-
): ResponsePromise<GetMenuV2CategoryResponse> {
|
|
5539
|
+
post_menu_v3_category_relationships_items(
|
|
5540
|
+
body: PostMenuV3CategoryRelationshipsItemsBody,
|
|
5541
|
+
options?: RequestOptions
|
|
5542
|
+
): ResponsePromise<PostMenuV3CategoryRelationshipsItemsResponse> {
|
|
5430
5543
|
return this.request(
|
|
5431
5544
|
"menu",
|
|
5432
|
-
"
|
|
5433
|
-
"
|
|
5434
|
-
`/menu/
|
|
5435
|
-
|
|
5545
|
+
"post_menu_v3_category_relationships_items",
|
|
5546
|
+
"post",
|
|
5547
|
+
`/menu/v3/category/relationships/items`,
|
|
5548
|
+
body,
|
|
5436
5549
|
options
|
|
5437
5550
|
);
|
|
5438
5551
|
}
|
|
5439
5552
|
|
|
5440
5553
|
/**
|
|
5441
|
-
*
|
|
5554
|
+
* POST /menu/v3/category/relationships/item
|
|
5555
|
+
*
|
|
5556
|
+
* @param body
|
|
5557
|
+
* @param options - additional request options
|
|
5558
|
+
*/
|
|
5559
|
+
post_menu_v3_category_relationships_item(
|
|
5560
|
+
body: PostMenuV3CategoryRelationshipsItemBody,
|
|
5561
|
+
options?: RequestOptions
|
|
5562
|
+
): ResponsePromise<PostMenuV3CategoryRelationshipsItemResponse> {
|
|
5563
|
+
return this.request(
|
|
5564
|
+
"menu",
|
|
5565
|
+
"post_menu_v3_category_relationships_item",
|
|
5566
|
+
"post",
|
|
5567
|
+
`/menu/v3/category/relationships/item`,
|
|
5568
|
+
body,
|
|
5569
|
+
options
|
|
5570
|
+
);
|
|
5571
|
+
}
|
|
5572
|
+
|
|
5573
|
+
/**
|
|
5574
|
+
* PATCH /menu/v3/category/relationships/item/{id}
|
|
5442
5575
|
*
|
|
5443
5576
|
* @param id
|
|
5444
5577
|
* @param body
|
|
5445
5578
|
* @param options - additional request options
|
|
5446
5579
|
*/
|
|
5447
|
-
|
|
5580
|
+
patch_menu_v3_category_relationships_item(
|
|
5448
5581
|
id: string,
|
|
5449
|
-
body:
|
|
5582
|
+
body: PatchMenuV3CategoryRelationshipsItemBody,
|
|
5450
5583
|
options?: RequestOptions
|
|
5451
|
-
): ResponsePromise<
|
|
5584
|
+
): ResponsePromise<PatchMenuV3CategoryRelationshipsItemResponse> {
|
|
5452
5585
|
return this.request(
|
|
5453
5586
|
"menu",
|
|
5454
|
-
"
|
|
5587
|
+
"patch_menu_v3_category_relationships_item",
|
|
5455
5588
|
"patch",
|
|
5456
|
-
`/menu/
|
|
5589
|
+
`/menu/v3/category/relationships/item/${id}`,
|
|
5457
5590
|
body,
|
|
5458
5591
|
options
|
|
5459
5592
|
);
|
|
5460
5593
|
}
|
|
5461
5594
|
|
|
5462
5595
|
/**
|
|
5463
|
-
* DELETE /menu/
|
|
5596
|
+
* DELETE /menu/v3/category/relationships/item/{id}
|
|
5464
5597
|
*
|
|
5465
5598
|
* @param id
|
|
5466
5599
|
* @param options - additional request options
|
|
5467
5600
|
*/
|
|
5468
|
-
|
|
5601
|
+
delete_menu_v3_category_relationships_item(
|
|
5469
5602
|
id: string,
|
|
5470
5603
|
options?: RequestOptions
|
|
5471
|
-
): ResponsePromise<
|
|
5604
|
+
): ResponsePromise<DeleteMenuV3CategoryRelationshipsItemResponse> {
|
|
5472
5605
|
return this.request(
|
|
5473
5606
|
"menu",
|
|
5474
|
-
"
|
|
5607
|
+
"delete_menu_v3_category_relationships_item",
|
|
5475
5608
|
"delete",
|
|
5476
|
-
`/menu/
|
|
5609
|
+
`/menu/v3/category/relationships/item/${id}`,
|
|
5477
5610
|
null,
|
|
5478
5611
|
options
|
|
5479
5612
|
);
|
|
5480
5613
|
}
|
|
5481
5614
|
|
|
5482
5615
|
/**
|
|
5483
|
-
*
|
|
5616
|
+
* GET /menu/v3/brands
|
|
5484
5617
|
*
|
|
5485
|
-
* @param body
|
|
5486
5618
|
* @param options - additional request options
|
|
5487
5619
|
*/
|
|
5488
|
-
|
|
5489
|
-
|
|
5490
|
-
|
|
5491
|
-
|
|
5620
|
+
get_menu_v3_brands(
|
|
5621
|
+
options?: {
|
|
5622
|
+
query?: GetMenuV3BrandsQuery;
|
|
5623
|
+
} & RequestOptions
|
|
5624
|
+
): ResponsePromise<GetMenuV3BrandsResponse> {
|
|
5625
|
+
return this.request("menu", "get_menu_v3_brands", "get", `/menu/v3/brands`, null, options);
|
|
5626
|
+
}
|
|
5627
|
+
|
|
5628
|
+
/**
|
|
5629
|
+
* GET /menu/v3/brand/{id}/modifiers
|
|
5630
|
+
*
|
|
5631
|
+
* @param id
|
|
5632
|
+
* @param options - additional request options
|
|
5633
|
+
*/
|
|
5634
|
+
get_menu_v3_brand_modifiers(
|
|
5635
|
+
id: string,
|
|
5636
|
+
options?: {
|
|
5637
|
+
query?: GetMenuV3BrandModifiersQuery;
|
|
5638
|
+
} & RequestOptions
|
|
5639
|
+
): ResponsePromise<GetMenuV3BrandModifiersResponse> {
|
|
5492
5640
|
return this.request(
|
|
5493
5641
|
"menu",
|
|
5494
|
-
"
|
|
5495
|
-
"
|
|
5496
|
-
`/menu/
|
|
5497
|
-
|
|
5642
|
+
"get_menu_v3_brand_modifiers",
|
|
5643
|
+
"get",
|
|
5644
|
+
`/menu/v3/brand/${id}/modifiers`,
|
|
5645
|
+
null,
|
|
5498
5646
|
options
|
|
5499
5647
|
);
|
|
5500
5648
|
}
|
|
5501
5649
|
|
|
5502
5650
|
/**
|
|
5503
|
-
* GET /menu/
|
|
5651
|
+
* GET /menu/v3/brand/{id}/modifier_groups
|
|
5504
5652
|
*
|
|
5653
|
+
* @param id
|
|
5505
5654
|
* @param options - additional request options
|
|
5506
5655
|
*/
|
|
5507
|
-
|
|
5656
|
+
get_menu_v3_brand_modifier_groups(
|
|
5657
|
+
id: string,
|
|
5508
5658
|
options?: {
|
|
5509
|
-
query?:
|
|
5659
|
+
query?: GetMenuV3BrandModifier_groupsQuery;
|
|
5510
5660
|
} & RequestOptions
|
|
5511
|
-
): ResponsePromise<
|
|
5661
|
+
): ResponsePromise<GetMenuV3BrandModifier_groupsResponse> {
|
|
5512
5662
|
return this.request(
|
|
5513
5663
|
"menu",
|
|
5514
|
-
"
|
|
5664
|
+
"get_menu_v3_brand_modifier_groups",
|
|
5515
5665
|
"get",
|
|
5516
|
-
`/menu/
|
|
5666
|
+
`/menu/v3/brand/${id}/modifier_groups`,
|
|
5517
5667
|
null,
|
|
5518
5668
|
options
|
|
5519
5669
|
);
|
|
5520
5670
|
}
|
|
5521
5671
|
|
|
5522
5672
|
/**
|
|
5523
|
-
* GET /menu/
|
|
5673
|
+
* GET /menu/v3/brand/{id}/items
|
|
5524
5674
|
*
|
|
5675
|
+
* @param id
|
|
5525
5676
|
* @param options - additional request options
|
|
5526
5677
|
*/
|
|
5527
|
-
|
|
5678
|
+
get_menu_v3_brand_items(
|
|
5679
|
+
id: string,
|
|
5528
5680
|
options?: {
|
|
5529
|
-
query?:
|
|
5681
|
+
query?: GetMenuV3BrandItemsQuery;
|
|
5530
5682
|
} & RequestOptions
|
|
5531
|
-
): ResponsePromise<
|
|
5683
|
+
): ResponsePromise<GetMenuV3BrandItemsResponse> {
|
|
5532
5684
|
return this.request(
|
|
5533
5685
|
"menu",
|
|
5534
|
-
"
|
|
5686
|
+
"get_menu_v3_brand_items",
|
|
5535
5687
|
"get",
|
|
5536
|
-
`/menu/
|
|
5688
|
+
`/menu/v3/brand/${id}/items`,
|
|
5537
5689
|
null,
|
|
5538
5690
|
options
|
|
5539
5691
|
);
|
|
5540
5692
|
}
|
|
5541
5693
|
|
|
5542
5694
|
/**
|
|
5543
|
-
*
|
|
5695
|
+
* GET /menu/v3/brand/{id}
|
|
5696
|
+
*
|
|
5697
|
+
* @param id
|
|
5698
|
+
* @param options - additional request options
|
|
5699
|
+
*/
|
|
5700
|
+
get_menu_v3_brand(
|
|
5701
|
+
id: string,
|
|
5702
|
+
options?: {
|
|
5703
|
+
query?: GetMenuV3BrandQuery;
|
|
5704
|
+
} & RequestOptions
|
|
5705
|
+
): ResponsePromise<GetMenuV3BrandResponse> {
|
|
5706
|
+
return this.request("menu", "get_menu_v3_brand", "get", `/menu/v3/brand/${id}`, null, options);
|
|
5707
|
+
}
|
|
5708
|
+
|
|
5709
|
+
/**
|
|
5710
|
+
* PATCH /menu/v3/brand/{id}
|
|
5544
5711
|
*
|
|
5712
|
+
* @param id
|
|
5545
5713
|
* @param body
|
|
5546
5714
|
* @param options - additional request options
|
|
5547
5715
|
*/
|
|
5548
|
-
|
|
5549
|
-
|
|
5716
|
+
patch_menu_v3_brand(
|
|
5717
|
+
id: string,
|
|
5718
|
+
body: PatchMenuV3BrandBody,
|
|
5550
5719
|
options?: RequestOptions
|
|
5551
|
-
): ResponsePromise<
|
|
5720
|
+
): ResponsePromise<PatchMenuV3BrandResponse> {
|
|
5552
5721
|
return this.request(
|
|
5553
5722
|
"menu",
|
|
5554
|
-
"
|
|
5555
|
-
"
|
|
5556
|
-
`/menu/
|
|
5723
|
+
"patch_menu_v3_brand",
|
|
5724
|
+
"patch",
|
|
5725
|
+
`/menu/v3/brand/${id}`,
|
|
5557
5726
|
body,
|
|
5558
5727
|
options
|
|
5559
5728
|
);
|
|
5560
5729
|
}
|
|
5561
5730
|
|
|
5562
5731
|
/**
|
|
5563
|
-
*
|
|
5732
|
+
* DELETE /menu/v3/brand/{id}
|
|
5564
5733
|
*
|
|
5565
5734
|
* @param id
|
|
5735
|
+
* @param options - additional request options
|
|
5736
|
+
*/
|
|
5737
|
+
delete_menu_v3_brand(
|
|
5738
|
+
id: string,
|
|
5739
|
+
options?: RequestOptions
|
|
5740
|
+
): ResponsePromise<DeleteMenuV3BrandResponse> {
|
|
5741
|
+
return this.request(
|
|
5742
|
+
"menu",
|
|
5743
|
+
"delete_menu_v3_brand",
|
|
5744
|
+
"delete",
|
|
5745
|
+
`/menu/v3/brand/${id}`,
|
|
5746
|
+
null,
|
|
5747
|
+
options
|
|
5748
|
+
);
|
|
5749
|
+
}
|
|
5750
|
+
|
|
5751
|
+
/**
|
|
5752
|
+
* POST /menu/v3/brand
|
|
5753
|
+
*
|
|
5566
5754
|
* @param body
|
|
5567
5755
|
* @param options - additional request options
|
|
5568
5756
|
*/
|
|
5569
|
-
|
|
5757
|
+
post_menu_v3_brand(
|
|
5758
|
+
body: PostMenuV3BrandBody,
|
|
5759
|
+
options?: RequestOptions
|
|
5760
|
+
): ResponsePromise<PostMenuV3BrandResponse> {
|
|
5761
|
+
return this.request("menu", "post_menu_v3_brand", "post", `/menu/v3/brand`, body, options);
|
|
5762
|
+
}
|
|
5763
|
+
|
|
5764
|
+
/**
|
|
5765
|
+
* GET /menu/v3/brands/count
|
|
5766
|
+
*
|
|
5767
|
+
* @param options - additional request options
|
|
5768
|
+
*/
|
|
5769
|
+
get_menu_v3_brands_count(
|
|
5770
|
+
options?: {
|
|
5771
|
+
query?: GetMenuV3BrandsCountQuery;
|
|
5772
|
+
} & RequestOptions
|
|
5773
|
+
): ResponsePromise<GetMenuV3BrandsCountResponse> {
|
|
5774
|
+
return this.request(
|
|
5775
|
+
"menu",
|
|
5776
|
+
"get_menu_v3_brands_count",
|
|
5777
|
+
"get",
|
|
5778
|
+
`/menu/v3/brands/count`,
|
|
5779
|
+
null,
|
|
5780
|
+
options
|
|
5781
|
+
);
|
|
5782
|
+
}
|
|
5783
|
+
|
|
5784
|
+
/**
|
|
5785
|
+
* GET /menu/v3/stations
|
|
5786
|
+
*
|
|
5787
|
+
* @param options - additional request options
|
|
5788
|
+
*/
|
|
5789
|
+
get_menu_v3_stations(
|
|
5790
|
+
options?: {
|
|
5791
|
+
query?: GetMenuV3StationsQuery;
|
|
5792
|
+
} & RequestOptions
|
|
5793
|
+
): ResponsePromise<GetMenuV3StationsResponse> {
|
|
5794
|
+
return this.request("menu", "get_menu_v3_stations", "get", `/menu/v3/stations`, null, options);
|
|
5795
|
+
}
|
|
5796
|
+
|
|
5797
|
+
/**
|
|
5798
|
+
* GET /menu/v3/station/{id}
|
|
5799
|
+
*
|
|
5800
|
+
* @param id
|
|
5801
|
+
* @param options - additional request options
|
|
5802
|
+
*/
|
|
5803
|
+
get_menu_v3_station(
|
|
5570
5804
|
id: string,
|
|
5571
|
-
|
|
5805
|
+
options?: {
|
|
5806
|
+
query?: GetMenuV3StationQuery;
|
|
5807
|
+
} & RequestOptions
|
|
5808
|
+
): ResponsePromise<GetMenuV3StationResponse> {
|
|
5809
|
+
return this.request(
|
|
5810
|
+
"menu",
|
|
5811
|
+
"get_menu_v3_station",
|
|
5812
|
+
"get",
|
|
5813
|
+
`/menu/v3/station/${id}`,
|
|
5814
|
+
null,
|
|
5815
|
+
options
|
|
5816
|
+
);
|
|
5817
|
+
}
|
|
5818
|
+
|
|
5819
|
+
/**
|
|
5820
|
+
* PATCH /menu/v3/station/{id}
|
|
5821
|
+
*
|
|
5822
|
+
* @param id
|
|
5823
|
+
* @param body
|
|
5824
|
+
* @param options - additional request options
|
|
5825
|
+
*/
|
|
5826
|
+
patch_menu_v3_station(
|
|
5827
|
+
id: string,
|
|
5828
|
+
body: PatchMenuV3StationBody,
|
|
5572
5829
|
options?: RequestOptions
|
|
5573
|
-
): ResponsePromise<
|
|
5830
|
+
): ResponsePromise<PatchMenuV3StationResponse> {
|
|
5574
5831
|
return this.request(
|
|
5575
5832
|
"menu",
|
|
5576
|
-
"
|
|
5833
|
+
"patch_menu_v3_station",
|
|
5577
5834
|
"patch",
|
|
5578
|
-
`/menu/
|
|
5835
|
+
`/menu/v3/station/${id}`,
|
|
5579
5836
|
body,
|
|
5580
5837
|
options
|
|
5581
5838
|
);
|
|
5582
5839
|
}
|
|
5583
5840
|
|
|
5584
5841
|
/**
|
|
5585
|
-
* DELETE /menu/
|
|
5842
|
+
* DELETE /menu/v3/station/{id}
|
|
5586
5843
|
*
|
|
5587
5844
|
* @param id
|
|
5588
5845
|
* @param options - additional request options
|
|
5589
5846
|
*/
|
|
5590
|
-
|
|
5847
|
+
delete_menu_v3_station(
|
|
5591
5848
|
id: string,
|
|
5592
5849
|
options?: RequestOptions
|
|
5593
|
-
): ResponsePromise<
|
|
5850
|
+
): ResponsePromise<DeleteMenuV3StationResponse> {
|
|
5594
5851
|
return this.request(
|
|
5595
5852
|
"menu",
|
|
5596
|
-
"
|
|
5853
|
+
"delete_menu_v3_station",
|
|
5597
5854
|
"delete",
|
|
5598
|
-
`/menu/
|
|
5855
|
+
`/menu/v3/station/${id}`,
|
|
5856
|
+
null,
|
|
5857
|
+
options
|
|
5858
|
+
);
|
|
5859
|
+
}
|
|
5860
|
+
|
|
5861
|
+
/**
|
|
5862
|
+
* POST /menu/v3/station
|
|
5863
|
+
*
|
|
5864
|
+
* @param body
|
|
5865
|
+
* @param options - additional request options
|
|
5866
|
+
*/
|
|
5867
|
+
post_menu_v3_station(
|
|
5868
|
+
body: PostMenuV3StationBody,
|
|
5869
|
+
options?: RequestOptions
|
|
5870
|
+
): ResponsePromise<PostMenuV3StationResponse> {
|
|
5871
|
+
return this.request("menu", "post_menu_v3_station", "post", `/menu/v3/station`, body, options);
|
|
5872
|
+
}
|
|
5873
|
+
|
|
5874
|
+
/**
|
|
5875
|
+
* GET /menu/v3/stations/count
|
|
5876
|
+
*
|
|
5877
|
+
* @param options - additional request options
|
|
5878
|
+
*/
|
|
5879
|
+
get_menu_v3_stations_count(
|
|
5880
|
+
options?: {
|
|
5881
|
+
query?: GetMenuV3StationsCountQuery;
|
|
5882
|
+
} & RequestOptions
|
|
5883
|
+
): ResponsePromise<GetMenuV3StationsCountResponse> {
|
|
5884
|
+
return this.request(
|
|
5885
|
+
"menu",
|
|
5886
|
+
"get_menu_v3_stations_count",
|
|
5887
|
+
"get",
|
|
5888
|
+
`/menu/v3/stations/count`,
|
|
5599
5889
|
null,
|
|
5600
5890
|
options
|
|
5601
5891
|
);
|
|
@@ -6741,6 +7031,45 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6741
7031
|
);
|
|
6742
7032
|
}
|
|
6743
7033
|
|
|
7034
|
+
/**
|
|
7035
|
+
* GET /delivery/{id}/order/{order_id} - get delivery for order
|
|
7036
|
+
*
|
|
7037
|
+
* @param id - delivery provider id
|
|
7038
|
+
* @param order_id - order id
|
|
7039
|
+
* @param options - additional request options
|
|
7040
|
+
*/
|
|
7041
|
+
get_delivery_order(
|
|
7042
|
+
id: string,
|
|
7043
|
+
order_id: string,
|
|
7044
|
+
options?: {
|
|
7045
|
+
query?: GetDeliveryOrderQuery;
|
|
7046
|
+
} & RequestOptions
|
|
7047
|
+
): ResponsePromise<GetDeliveryOrderResponse> {
|
|
7048
|
+
return this.request(
|
|
7049
|
+
"delivery",
|
|
7050
|
+
"get_delivery_order",
|
|
7051
|
+
"get",
|
|
7052
|
+
`/delivery/${id}/order/${order_id}`,
|
|
7053
|
+
null,
|
|
7054
|
+
options
|
|
7055
|
+
);
|
|
7056
|
+
}
|
|
7057
|
+
|
|
7058
|
+
/**
|
|
7059
|
+
* GET /delivery/{id} - Get all Deliveries for delivery provider
|
|
7060
|
+
*
|
|
7061
|
+
* @param id - delivery provider id
|
|
7062
|
+
* @param options - additional request options
|
|
7063
|
+
*/
|
|
7064
|
+
get_delivery(
|
|
7065
|
+
id: string,
|
|
7066
|
+
options?: {
|
|
7067
|
+
query?: GetDeliveryQuery;
|
|
7068
|
+
} & RequestOptions
|
|
7069
|
+
): ResponsePromise<GetDeliveryResponse> {
|
|
7070
|
+
return this.request("delivery", "get_delivery", "get", `/delivery/${id}`, null, options);
|
|
7071
|
+
}
|
|
7072
|
+
|
|
6744
7073
|
/**
|
|
6745
7074
|
* POST /loyalty/{id}/enroll/{user_id} - Enroll logged in user in Loyalty program
|
|
6746
7075
|
*
|