@compassdigital/sdk.typescript 3.45.0 → 3.45.1
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 +156 -135
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +162 -135
- package/lib/index.js.map +1 -1
- package/lib/interface/menu.d.ts +191 -169
- package/lib/interface/menu.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +408 -342
- package/src/interface/menu.ts +288 -245
- package/quicktest.json +0 -8
package/src/index.ts
CHANGED
|
@@ -458,91 +458,97 @@ 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
|
+
GetMenuV3MenusQuery,
|
|
511
|
+
GetMenuV3MenusResponse,
|
|
512
|
+
GetMenuV3MenuQuery,
|
|
513
|
+
GetMenuV3MenuResponse,
|
|
514
|
+
PatchMenuV3MenuBody,
|
|
515
|
+
PatchMenuV3MenuResponse,
|
|
516
|
+
DeleteMenuV3MenuResponse,
|
|
517
|
+
PostMenuV3MenuBody,
|
|
518
|
+
PostMenuV3MenuResponse,
|
|
519
|
+
GetMenuV3MenusCountQuery,
|
|
520
|
+
GetMenuV3MenusCountResponse,
|
|
521
|
+
GetMenuV3LayoutsQuery,
|
|
522
|
+
GetMenuV3LayoutsResponse,
|
|
523
|
+
GetMenuV3LayoutQuery,
|
|
524
|
+
GetMenuV3LayoutResponse,
|
|
525
|
+
PatchMenuV3LayoutBody,
|
|
526
|
+
PatchMenuV3LayoutResponse,
|
|
527
|
+
DeleteMenuV3LayoutResponse,
|
|
528
|
+
PostMenuV3LayoutBody,
|
|
529
|
+
PostMenuV3LayoutResponse,
|
|
530
|
+
GetMenuV3LayoutsCountQuery,
|
|
531
|
+
GetMenuV3LayoutsCountResponse,
|
|
532
|
+
GetMenuV3CategoriesQuery,
|
|
533
|
+
GetMenuV3CategoriesResponse,
|
|
534
|
+
GetMenuV3CategoryQuery,
|
|
535
|
+
GetMenuV3CategoryResponse,
|
|
536
|
+
PatchMenuV3CategoryBody,
|
|
537
|
+
PatchMenuV3CategoryResponse,
|
|
538
|
+
DeleteMenuV3CategoryResponse,
|
|
539
|
+
PostMenuV3CategoryBody,
|
|
540
|
+
PostMenuV3CategoryResponse,
|
|
541
|
+
GetMenuV3CategoriesCountQuery,
|
|
542
|
+
GetMenuV3CategoriesCountResponse,
|
|
543
|
+
GetMenuV3CategoryRelationshipsItemsQuery,
|
|
544
|
+
GetMenuV3CategoryRelationshipsItemsResponse,
|
|
545
|
+
PostMenuV3CategoryRelationshipsItemsBody,
|
|
546
|
+
PostMenuV3CategoryRelationshipsItemsResponse,
|
|
547
|
+
PostMenuV3CategoryRelationshipsItemBody,
|
|
548
|
+
PostMenuV3CategoryRelationshipsItemResponse,
|
|
549
|
+
PatchMenuV3CategoryRelationshipsItemBody,
|
|
550
|
+
PatchMenuV3CategoryRelationshipsItemResponse,
|
|
551
|
+
DeleteMenuV3CategoryRelationshipsItemResponse,
|
|
546
552
|
GetMenuClientQuery,
|
|
547
553
|
GetMenuClientResponse,
|
|
548
554
|
GetMenusQuery,
|
|
@@ -4726,876 +4732,936 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4726
4732
|
}
|
|
4727
4733
|
|
|
4728
4734
|
/**
|
|
4729
|
-
* GET /menu/
|
|
4735
|
+
* GET /menu/v3/modifiers
|
|
4730
4736
|
*
|
|
4731
4737
|
* @param options - additional request options
|
|
4732
4738
|
*/
|
|
4733
|
-
|
|
4739
|
+
get_menu_v3_modifiers(
|
|
4734
4740
|
options?: {
|
|
4735
|
-
query?:
|
|
4741
|
+
query?: GetMenuV3ModifiersQuery;
|
|
4736
4742
|
} & RequestOptions
|
|
4737
|
-
): ResponsePromise<
|
|
4743
|
+
): ResponsePromise<GetMenuV3ModifiersResponse> {
|
|
4738
4744
|
return this.request(
|
|
4739
4745
|
"menu",
|
|
4740
|
-
"
|
|
4746
|
+
"get_menu_v3_modifiers",
|
|
4741
4747
|
"get",
|
|
4742
|
-
`/menu/
|
|
4748
|
+
`/menu/v3/modifiers`,
|
|
4743
4749
|
null,
|
|
4744
4750
|
options
|
|
4745
4751
|
);
|
|
4746
4752
|
}
|
|
4747
4753
|
|
|
4748
4754
|
/**
|
|
4749
|
-
* GET /menu/
|
|
4755
|
+
* GET /menu/v3/modifier/{id}
|
|
4750
4756
|
*
|
|
4751
4757
|
* @param id
|
|
4752
4758
|
* @param options - additional request options
|
|
4753
4759
|
*/
|
|
4754
|
-
|
|
4760
|
+
get_menu_v3_modifier(
|
|
4755
4761
|
id: string,
|
|
4756
4762
|
options?: {
|
|
4757
|
-
query?:
|
|
4763
|
+
query?: GetMenuV3ModifierQuery;
|
|
4758
4764
|
} & RequestOptions
|
|
4759
|
-
): ResponsePromise<
|
|
4765
|
+
): ResponsePromise<GetMenuV3ModifierResponse> {
|
|
4760
4766
|
return this.request(
|
|
4761
4767
|
"menu",
|
|
4762
|
-
"
|
|
4768
|
+
"get_menu_v3_modifier",
|
|
4763
4769
|
"get",
|
|
4764
|
-
`/menu/
|
|
4770
|
+
`/menu/v3/modifier/${id}`,
|
|
4765
4771
|
null,
|
|
4766
4772
|
options
|
|
4767
4773
|
);
|
|
4768
4774
|
}
|
|
4769
4775
|
|
|
4770
4776
|
/**
|
|
4771
|
-
* PATCH /menu/
|
|
4777
|
+
* PATCH /menu/v3/modifier/{id}
|
|
4772
4778
|
*
|
|
4773
4779
|
* @param id
|
|
4774
4780
|
* @param body
|
|
4775
4781
|
* @param options - additional request options
|
|
4776
4782
|
*/
|
|
4777
|
-
|
|
4783
|
+
patch_menu_v3_modifier(
|
|
4778
4784
|
id: string,
|
|
4779
|
-
body:
|
|
4785
|
+
body: PatchMenuV3ModifierBody,
|
|
4780
4786
|
options?: RequestOptions
|
|
4781
|
-
): ResponsePromise<
|
|
4787
|
+
): ResponsePromise<PatchMenuV3ModifierResponse> {
|
|
4782
4788
|
return this.request(
|
|
4783
4789
|
"menu",
|
|
4784
|
-
"
|
|
4790
|
+
"patch_menu_v3_modifier",
|
|
4785
4791
|
"patch",
|
|
4786
|
-
`/menu/
|
|
4792
|
+
`/menu/v3/modifier/${id}`,
|
|
4787
4793
|
body,
|
|
4788
4794
|
options
|
|
4789
4795
|
);
|
|
4790
4796
|
}
|
|
4791
4797
|
|
|
4792
4798
|
/**
|
|
4793
|
-
* POST /menu/
|
|
4799
|
+
* POST /menu/v3/modifier
|
|
4794
4800
|
*
|
|
4795
4801
|
* @param body
|
|
4796
4802
|
* @param options - additional request options
|
|
4797
4803
|
*/
|
|
4798
|
-
|
|
4799
|
-
body:
|
|
4804
|
+
post_menu_v3_modifier(
|
|
4805
|
+
body: PostMenuV3ModifierBody,
|
|
4800
4806
|
options?: RequestOptions
|
|
4801
|
-
): ResponsePromise<
|
|
4807
|
+
): ResponsePromise<PostMenuV3ModifierResponse> {
|
|
4802
4808
|
return this.request(
|
|
4803
4809
|
"menu",
|
|
4804
|
-
"
|
|
4810
|
+
"post_menu_v3_modifier",
|
|
4805
4811
|
"post",
|
|
4806
|
-
`/menu/
|
|
4812
|
+
`/menu/v3/modifier`,
|
|
4807
4813
|
body,
|
|
4808
4814
|
options
|
|
4809
4815
|
);
|
|
4810
4816
|
}
|
|
4811
4817
|
|
|
4812
4818
|
/**
|
|
4813
|
-
* GET /menu/
|
|
4819
|
+
* GET /menu/v3/modifier/count
|
|
4814
4820
|
*
|
|
4815
4821
|
* @param options - additional request options
|
|
4816
4822
|
*/
|
|
4817
|
-
|
|
4823
|
+
get_menu_v3_modifier_count(
|
|
4818
4824
|
options?: {
|
|
4819
|
-
query?:
|
|
4825
|
+
query?: GetMenuV3ModifierCountQuery;
|
|
4820
4826
|
} & RequestOptions
|
|
4821
|
-
): ResponsePromise<
|
|
4827
|
+
): ResponsePromise<GetMenuV3ModifierCountResponse> {
|
|
4822
4828
|
return this.request(
|
|
4823
4829
|
"menu",
|
|
4824
|
-
"
|
|
4830
|
+
"get_menu_v3_modifier_count",
|
|
4825
4831
|
"get",
|
|
4826
|
-
`/menu/
|
|
4832
|
+
`/menu/v3/modifier/count`,
|
|
4827
4833
|
null,
|
|
4828
4834
|
options
|
|
4829
4835
|
);
|
|
4830
4836
|
}
|
|
4831
4837
|
|
|
4832
4838
|
/**
|
|
4833
|
-
* GET /menu/
|
|
4839
|
+
* GET /menu/v3/modifier-groups
|
|
4834
4840
|
*
|
|
4835
4841
|
* @param options - additional request options
|
|
4836
4842
|
*/
|
|
4837
|
-
|
|
4843
|
+
get_menu_v3_modifier_groups(
|
|
4838
4844
|
options?: {
|
|
4839
|
-
query?:
|
|
4845
|
+
query?: GetMenuV3ModifierGroupsQuery;
|
|
4840
4846
|
} & RequestOptions
|
|
4841
|
-
): ResponsePromise<
|
|
4847
|
+
): ResponsePromise<GetMenuV3ModifierGroupsResponse> {
|
|
4842
4848
|
return this.request(
|
|
4843
4849
|
"menu",
|
|
4844
|
-
"
|
|
4850
|
+
"get_menu_v3_modifier_groups",
|
|
4845
4851
|
"get",
|
|
4846
|
-
`/menu/
|
|
4852
|
+
`/menu/v3/modifier-groups`,
|
|
4847
4853
|
null,
|
|
4848
4854
|
options
|
|
4849
4855
|
);
|
|
4850
4856
|
}
|
|
4851
4857
|
|
|
4852
4858
|
/**
|
|
4853
|
-
* POST /menu/
|
|
4859
|
+
* POST /menu/v3/modifier-group
|
|
4854
4860
|
*
|
|
4855
4861
|
* @param body
|
|
4856
4862
|
* @param options - additional request options
|
|
4857
4863
|
*/
|
|
4858
|
-
|
|
4859
|
-
body:
|
|
4864
|
+
post_menu_v3_modifier_group(
|
|
4865
|
+
body: PostMenuV3ModifierGroupBody,
|
|
4860
4866
|
options?: RequestOptions
|
|
4861
|
-
): ResponsePromise<
|
|
4867
|
+
): ResponsePromise<PostMenuV3ModifierGroupResponse> {
|
|
4862
4868
|
return this.request(
|
|
4863
4869
|
"menu",
|
|
4864
|
-
"
|
|
4870
|
+
"post_menu_v3_modifier_group",
|
|
4865
4871
|
"post",
|
|
4866
|
-
`/menu/
|
|
4872
|
+
`/menu/v3/modifier-group`,
|
|
4867
4873
|
body,
|
|
4868
4874
|
options
|
|
4869
4875
|
);
|
|
4870
4876
|
}
|
|
4871
4877
|
|
|
4872
4878
|
/**
|
|
4873
|
-
* GET /menu/
|
|
4879
|
+
* GET /menu/v3/modifier-group/{id}
|
|
4874
4880
|
*
|
|
4875
4881
|
* @param id
|
|
4876
4882
|
* @param options - additional request options
|
|
4877
4883
|
*/
|
|
4878
|
-
|
|
4884
|
+
get_menu_v3_modifier_group(
|
|
4879
4885
|
id: string,
|
|
4880
4886
|
options?: {
|
|
4881
|
-
query?:
|
|
4887
|
+
query?: GetMenuV3ModifierGroupQuery;
|
|
4882
4888
|
} & RequestOptions
|
|
4883
|
-
): ResponsePromise<
|
|
4889
|
+
): ResponsePromise<GetMenuV3ModifierGroupResponse> {
|
|
4884
4890
|
return this.request(
|
|
4885
4891
|
"menu",
|
|
4886
|
-
"
|
|
4892
|
+
"get_menu_v3_modifier_group",
|
|
4887
4893
|
"get",
|
|
4888
|
-
`/menu/
|
|
4894
|
+
`/menu/v3/modifier-group/${id}`,
|
|
4889
4895
|
null,
|
|
4890
4896
|
options
|
|
4891
4897
|
);
|
|
4892
4898
|
}
|
|
4893
4899
|
|
|
4894
4900
|
/**
|
|
4895
|
-
* PATCH /menu/
|
|
4901
|
+
* PATCH /menu/v3/modifier-group/{id}
|
|
4896
4902
|
*
|
|
4897
4903
|
* @param id
|
|
4898
4904
|
* @param body
|
|
4899
4905
|
* @param options - additional request options
|
|
4900
4906
|
*/
|
|
4901
|
-
|
|
4907
|
+
patch_menu_v3_modifier_group(
|
|
4902
4908
|
id: string,
|
|
4903
|
-
body:
|
|
4909
|
+
body: PatchMenuV3ModifierGroupBody,
|
|
4904
4910
|
options?: RequestOptions
|
|
4905
|
-
): ResponsePromise<
|
|
4911
|
+
): ResponsePromise<PatchMenuV3ModifierGroupResponse> {
|
|
4906
4912
|
return this.request(
|
|
4907
4913
|
"menu",
|
|
4908
|
-
"
|
|
4914
|
+
"patch_menu_v3_modifier_group",
|
|
4909
4915
|
"patch",
|
|
4910
|
-
`/menu/
|
|
4916
|
+
`/menu/v3/modifier-group/${id}`,
|
|
4911
4917
|
body,
|
|
4912
4918
|
options
|
|
4913
4919
|
);
|
|
4914
4920
|
}
|
|
4915
4921
|
|
|
4916
4922
|
/**
|
|
4917
|
-
* GET /menu/
|
|
4923
|
+
* GET /menu/v3/modifier-group/count
|
|
4918
4924
|
*
|
|
4919
4925
|
* @param options - additional request options
|
|
4920
4926
|
*/
|
|
4921
|
-
|
|
4927
|
+
get_menu_v3_modifier_group_count(
|
|
4922
4928
|
options?: {
|
|
4923
|
-
query?:
|
|
4929
|
+
query?: GetMenuV3ModifierGroupCountQuery;
|
|
4924
4930
|
} & RequestOptions
|
|
4925
|
-
): ResponsePromise<
|
|
4931
|
+
): ResponsePromise<GetMenuV3ModifierGroupCountResponse> {
|
|
4926
4932
|
return this.request(
|
|
4927
4933
|
"menu",
|
|
4928
|
-
"
|
|
4934
|
+
"get_menu_v3_modifier_group_count",
|
|
4929
4935
|
"get",
|
|
4930
|
-
`/menu/
|
|
4936
|
+
`/menu/v3/modifier-group/count`,
|
|
4931
4937
|
null,
|
|
4932
4938
|
options
|
|
4933
4939
|
);
|
|
4934
4940
|
}
|
|
4935
4941
|
|
|
4936
4942
|
/**
|
|
4937
|
-
* GET /menu/
|
|
4943
|
+
* GET /menu/v3/modifier-group/relationships/modifiers
|
|
4938
4944
|
*
|
|
4939
4945
|
* @param options - additional request options
|
|
4940
4946
|
*/
|
|
4941
|
-
|
|
4947
|
+
get_menu_v3_modifier_group_relationships_modifiers(
|
|
4942
4948
|
options?: {
|
|
4943
|
-
query?:
|
|
4949
|
+
query?: GetMenuV3ModifierGroupRelationshipsModifiersQuery;
|
|
4944
4950
|
} & RequestOptions
|
|
4945
|
-
): ResponsePromise<
|
|
4951
|
+
): ResponsePromise<GetMenuV3ModifierGroupRelationshipsModifiersResponse> {
|
|
4946
4952
|
return this.request(
|
|
4947
4953
|
"menu",
|
|
4948
|
-
"
|
|
4954
|
+
"get_menu_v3_modifier_group_relationships_modifiers",
|
|
4949
4955
|
"get",
|
|
4950
|
-
`/menu/
|
|
4956
|
+
`/menu/v3/modifier-group/relationships/modifiers`,
|
|
4951
4957
|
null,
|
|
4952
4958
|
options
|
|
4953
4959
|
);
|
|
4954
4960
|
}
|
|
4955
4961
|
|
|
4956
4962
|
/**
|
|
4957
|
-
* POST /menu/
|
|
4963
|
+
* POST /menu/v3/modifier-group/relationships/modifiers
|
|
4958
4964
|
*
|
|
4959
4965
|
* @param body
|
|
4960
4966
|
* @param options - additional request options
|
|
4961
4967
|
*/
|
|
4962
|
-
|
|
4963
|
-
body:
|
|
4968
|
+
post_menu_v3_modifier_group_relationships_modifiers(
|
|
4969
|
+
body: PostMenuV3ModifierGroupRelationshipsModifiersBody,
|
|
4964
4970
|
options?: RequestOptions
|
|
4965
|
-
): ResponsePromise<
|
|
4971
|
+
): ResponsePromise<PostMenuV3ModifierGroupRelationshipsModifiersResponse> {
|
|
4966
4972
|
return this.request(
|
|
4967
4973
|
"menu",
|
|
4968
|
-
"
|
|
4974
|
+
"post_menu_v3_modifier_group_relationships_modifiers",
|
|
4969
4975
|
"post",
|
|
4970
|
-
`/menu/
|
|
4976
|
+
`/menu/v3/modifier-group/relationships/modifiers`,
|
|
4971
4977
|
body,
|
|
4972
4978
|
options
|
|
4973
4979
|
);
|
|
4974
4980
|
}
|
|
4975
4981
|
|
|
4976
4982
|
/**
|
|
4977
|
-
*
|
|
4983
|
+
* POST /menu/v3/modifier-group/relationships/modifier
|
|
4984
|
+
*
|
|
4985
|
+
* @param body
|
|
4986
|
+
* @param options - additional request options
|
|
4987
|
+
*/
|
|
4988
|
+
post_menu_v3_modifier_group_relationships_modifier(
|
|
4989
|
+
body: PostMenuV3ModifierGroupRelationshipsModifierBody,
|
|
4990
|
+
options?: RequestOptions
|
|
4991
|
+
): ResponsePromise<PostMenuV3ModifierGroupRelationshipsModifierResponse> {
|
|
4992
|
+
return this.request(
|
|
4993
|
+
"menu",
|
|
4994
|
+
"post_menu_v3_modifier_group_relationships_modifier",
|
|
4995
|
+
"post",
|
|
4996
|
+
`/menu/v3/modifier-group/relationships/modifier`,
|
|
4997
|
+
body,
|
|
4998
|
+
options
|
|
4999
|
+
);
|
|
5000
|
+
}
|
|
5001
|
+
|
|
5002
|
+
/**
|
|
5003
|
+
* GET /menu/v3/modifier-group/relationships/modifier/{id}
|
|
4978
5004
|
*
|
|
4979
5005
|
* @param id
|
|
4980
5006
|
* @param options - additional request options
|
|
4981
5007
|
*/
|
|
4982
|
-
|
|
5008
|
+
get_menu_v3_modifier_group_relationships_modifier(
|
|
4983
5009
|
id: string,
|
|
4984
5010
|
options?: {
|
|
4985
|
-
query?:
|
|
5011
|
+
query?: GetMenuV3ModifierGroupRelationshipsModifierQuery;
|
|
4986
5012
|
} & RequestOptions
|
|
4987
|
-
): ResponsePromise<
|
|
5013
|
+
): ResponsePromise<GetMenuV3ModifierGroupRelationshipsModifierResponse> {
|
|
4988
5014
|
return this.request(
|
|
4989
5015
|
"menu",
|
|
4990
|
-
"
|
|
5016
|
+
"get_menu_v3_modifier_group_relationships_modifier",
|
|
4991
5017
|
"get",
|
|
4992
|
-
`/menu/
|
|
5018
|
+
`/menu/v3/modifier-group/relationships/modifier/${id}`,
|
|
4993
5019
|
null,
|
|
4994
5020
|
options
|
|
4995
5021
|
);
|
|
4996
5022
|
}
|
|
4997
5023
|
|
|
4998
5024
|
/**
|
|
4999
|
-
* PATCH /menu/
|
|
5025
|
+
* PATCH /menu/v3/modifier-group/relationships/modifier/{id}
|
|
5000
5026
|
*
|
|
5001
5027
|
* @param id
|
|
5002
5028
|
* @param body
|
|
5003
5029
|
* @param options - additional request options
|
|
5004
5030
|
*/
|
|
5005
|
-
|
|
5031
|
+
patch_menu_v3_modifier_group_relationships_modifier(
|
|
5006
5032
|
id: string,
|
|
5007
|
-
body:
|
|
5033
|
+
body: PatchMenuV3ModifierGroupRelationshipsModifierBody,
|
|
5008
5034
|
options?: RequestOptions
|
|
5009
|
-
): ResponsePromise<
|
|
5035
|
+
): ResponsePromise<PatchMenuV3ModifierGroupRelationshipsModifierResponse> {
|
|
5010
5036
|
return this.request(
|
|
5011
5037
|
"menu",
|
|
5012
|
-
"
|
|
5038
|
+
"patch_menu_v3_modifier_group_relationships_modifier",
|
|
5013
5039
|
"patch",
|
|
5014
|
-
`/menu/
|
|
5040
|
+
`/menu/v3/modifier-group/relationships/modifier/${id}`,
|
|
5015
5041
|
body,
|
|
5016
5042
|
options
|
|
5017
5043
|
);
|
|
5018
5044
|
}
|
|
5019
5045
|
|
|
5020
5046
|
/**
|
|
5021
|
-
* GET /menu/
|
|
5047
|
+
* GET /menu/v3/items
|
|
5022
5048
|
*
|
|
5023
5049
|
* @param options - additional request options
|
|
5024
5050
|
*/
|
|
5025
|
-
|
|
5051
|
+
get_menu_v3_items(
|
|
5026
5052
|
options?: {
|
|
5027
|
-
query?:
|
|
5053
|
+
query?: GetMenuV3ItemsQuery;
|
|
5028
5054
|
} & RequestOptions
|
|
5029
|
-
): ResponsePromise<
|
|
5030
|
-
return this.request("menu", "
|
|
5055
|
+
): ResponsePromise<GetMenuV3ItemsResponse> {
|
|
5056
|
+
return this.request("menu", "get_menu_v3_items", "get", `/menu/v3/items`, null, options);
|
|
5031
5057
|
}
|
|
5032
5058
|
|
|
5033
5059
|
/**
|
|
5034
|
-
* GET /menu/
|
|
5060
|
+
* GET /menu/v3/item/{id}
|
|
5035
5061
|
*
|
|
5036
5062
|
* @param id
|
|
5037
5063
|
* @param options - additional request options
|
|
5038
5064
|
*/
|
|
5039
|
-
|
|
5065
|
+
get_menu_v3_item(
|
|
5040
5066
|
id: string,
|
|
5041
5067
|
options?: {
|
|
5042
|
-
query?:
|
|
5068
|
+
query?: GetMenuV3ItemQuery;
|
|
5043
5069
|
} & RequestOptions
|
|
5044
|
-
): ResponsePromise<
|
|
5045
|
-
return this.request("menu", "
|
|
5070
|
+
): ResponsePromise<GetMenuV3ItemResponse> {
|
|
5071
|
+
return this.request("menu", "get_menu_v3_item", "get", `/menu/v3/item/${id}`, null, options);
|
|
5046
5072
|
}
|
|
5047
5073
|
|
|
5048
5074
|
/**
|
|
5049
|
-
* PATCH /menu/
|
|
5075
|
+
* PATCH /menu/v3/item/{id}
|
|
5050
5076
|
*
|
|
5051
5077
|
* @param id
|
|
5052
5078
|
* @param body
|
|
5053
5079
|
* @param options - additional request options
|
|
5054
5080
|
*/
|
|
5055
|
-
|
|
5081
|
+
patch_menu_v3_item(
|
|
5056
5082
|
id: string,
|
|
5057
|
-
body:
|
|
5083
|
+
body: PatchMenuV3ItemBody,
|
|
5058
5084
|
options?: RequestOptions
|
|
5059
|
-
): ResponsePromise<
|
|
5085
|
+
): ResponsePromise<PatchMenuV3ItemResponse> {
|
|
5060
5086
|
return this.request(
|
|
5061
5087
|
"menu",
|
|
5062
|
-
"
|
|
5088
|
+
"patch_menu_v3_item",
|
|
5063
5089
|
"patch",
|
|
5064
|
-
`/menu/
|
|
5090
|
+
`/menu/v3/item/${id}`,
|
|
5065
5091
|
body,
|
|
5066
5092
|
options
|
|
5067
5093
|
);
|
|
5068
5094
|
}
|
|
5069
5095
|
|
|
5070
5096
|
/**
|
|
5071
|
-
* POST /menu/
|
|
5097
|
+
* POST /menu/v3/item
|
|
5072
5098
|
*
|
|
5073
5099
|
* @param body
|
|
5074
5100
|
* @param options - additional request options
|
|
5075
5101
|
*/
|
|
5076
|
-
|
|
5077
|
-
body:
|
|
5102
|
+
post_menu_v3_item(
|
|
5103
|
+
body: PostMenuV3ItemBody,
|
|
5078
5104
|
options?: RequestOptions
|
|
5079
|
-
): ResponsePromise<
|
|
5080
|
-
return this.request("menu", "
|
|
5105
|
+
): ResponsePromise<PostMenuV3ItemResponse> {
|
|
5106
|
+
return this.request("menu", "post_menu_v3_item", "post", `/menu/v3/item`, body, options);
|
|
5081
5107
|
}
|
|
5082
5108
|
|
|
5083
5109
|
/**
|
|
5084
|
-
* GET /menu/
|
|
5110
|
+
* GET /menu/v3/items/count
|
|
5085
5111
|
*
|
|
5086
5112
|
* @param options - additional request options
|
|
5087
5113
|
*/
|
|
5088
|
-
|
|
5114
|
+
get_menu_v3_items_count(
|
|
5089
5115
|
options?: {
|
|
5090
|
-
query?:
|
|
5116
|
+
query?: GetMenuV3ItemsCountQuery;
|
|
5091
5117
|
} & RequestOptions
|
|
5092
|
-
): ResponsePromise<
|
|
5118
|
+
): ResponsePromise<GetMenuV3ItemsCountResponse> {
|
|
5093
5119
|
return this.request(
|
|
5094
5120
|
"menu",
|
|
5095
|
-
"
|
|
5121
|
+
"get_menu_v3_items_count",
|
|
5096
5122
|
"get",
|
|
5097
|
-
`/menu/
|
|
5123
|
+
`/menu/v3/items/count`,
|
|
5098
5124
|
null,
|
|
5099
5125
|
options
|
|
5100
5126
|
);
|
|
5101
5127
|
}
|
|
5102
5128
|
|
|
5103
5129
|
/**
|
|
5104
|
-
* GET /menu/
|
|
5130
|
+
* GET /menu/v3/item/relationships/modifier-groups
|
|
5105
5131
|
*
|
|
5106
5132
|
* @param options - additional request options
|
|
5107
5133
|
*/
|
|
5108
|
-
|
|
5134
|
+
get_menu_v3_item_relationships_modifier_groups(
|
|
5109
5135
|
options?: {
|
|
5110
|
-
query?:
|
|
5136
|
+
query?: GetMenuV3ItemRelationshipsModifierGroupsQuery;
|
|
5111
5137
|
} & RequestOptions
|
|
5112
|
-
): ResponsePromise<
|
|
5138
|
+
): ResponsePromise<GetMenuV3ItemRelationshipsModifierGroupsResponse> {
|
|
5113
5139
|
return this.request(
|
|
5114
5140
|
"menu",
|
|
5115
|
-
"
|
|
5141
|
+
"get_menu_v3_item_relationships_modifier_groups",
|
|
5116
5142
|
"get",
|
|
5117
|
-
`/menu/
|
|
5143
|
+
`/menu/v3/item/relationships/modifier-groups`,
|
|
5118
5144
|
null,
|
|
5119
5145
|
options
|
|
5120
5146
|
);
|
|
5121
5147
|
}
|
|
5122
5148
|
|
|
5123
5149
|
/**
|
|
5124
|
-
* POST /menu/
|
|
5150
|
+
* POST /menu/v3/item/relationships/modifier-groups
|
|
5151
|
+
*
|
|
5152
|
+
* @param body
|
|
5153
|
+
* @param options - additional request options
|
|
5154
|
+
*/
|
|
5155
|
+
post_menu_v3_item_relationships_modifier_groups(
|
|
5156
|
+
body: PostMenuV3ItemRelationshipsModifierGroupsBody,
|
|
5157
|
+
options?: RequestOptions
|
|
5158
|
+
): ResponsePromise<PostMenuV3ItemRelationshipsModifierGroupsResponse> {
|
|
5159
|
+
return this.request(
|
|
5160
|
+
"menu",
|
|
5161
|
+
"post_menu_v3_item_relationships_modifier_groups",
|
|
5162
|
+
"post",
|
|
5163
|
+
`/menu/v3/item/relationships/modifier-groups`,
|
|
5164
|
+
body,
|
|
5165
|
+
options
|
|
5166
|
+
);
|
|
5167
|
+
}
|
|
5168
|
+
|
|
5169
|
+
/**
|
|
5170
|
+
* POST /menu/v3/item/relationships/modifier-group
|
|
5125
5171
|
*
|
|
5126
5172
|
* @param body
|
|
5127
5173
|
* @param options - additional request options
|
|
5128
5174
|
*/
|
|
5129
|
-
|
|
5130
|
-
body:
|
|
5175
|
+
post_menu_v3_item_relationships_modifier_group(
|
|
5176
|
+
body: PostMenuV3ItemRelationshipsModifierGroupBody,
|
|
5131
5177
|
options?: RequestOptions
|
|
5132
|
-
): ResponsePromise<
|
|
5178
|
+
): ResponsePromise<PostMenuV3ItemRelationshipsModifierGroupResponse> {
|
|
5133
5179
|
return this.request(
|
|
5134
5180
|
"menu",
|
|
5135
|
-
"
|
|
5181
|
+
"post_menu_v3_item_relationships_modifier_group",
|
|
5136
5182
|
"post",
|
|
5137
|
-
`/menu/
|
|
5183
|
+
`/menu/v3/item/relationships/modifier-group`,
|
|
5138
5184
|
body,
|
|
5139
5185
|
options
|
|
5140
5186
|
);
|
|
5141
5187
|
}
|
|
5142
5188
|
|
|
5143
5189
|
/**
|
|
5144
|
-
* PATCH /menu/
|
|
5190
|
+
* PATCH /menu/v3/item/relationships/modifier-group/{id}
|
|
5145
5191
|
*
|
|
5146
5192
|
* @param id
|
|
5147
5193
|
* @param body
|
|
5148
5194
|
* @param options - additional request options
|
|
5149
5195
|
*/
|
|
5150
|
-
|
|
5196
|
+
patch_menu_v3_item_relationships_modifier_group(
|
|
5151
5197
|
id: string,
|
|
5152
|
-
body:
|
|
5198
|
+
body: PatchMenuV3ItemRelationshipsModifierGroupBody,
|
|
5153
5199
|
options?: RequestOptions
|
|
5154
|
-
): ResponsePromise<
|
|
5200
|
+
): ResponsePromise<PatchMenuV3ItemRelationshipsModifierGroupResponse> {
|
|
5155
5201
|
return this.request(
|
|
5156
5202
|
"menu",
|
|
5157
|
-
"
|
|
5203
|
+
"patch_menu_v3_item_relationships_modifier_group",
|
|
5158
5204
|
"patch",
|
|
5159
|
-
`/menu/
|
|
5205
|
+
`/menu/v3/item/relationships/modifier-group/${id}`,
|
|
5160
5206
|
body,
|
|
5161
5207
|
options
|
|
5162
5208
|
);
|
|
5163
5209
|
}
|
|
5164
5210
|
|
|
5165
5211
|
/**
|
|
5166
|
-
* DELETE /menu/
|
|
5212
|
+
* DELETE /menu/v3/item/relationships/modifier-group/{id}
|
|
5167
5213
|
*
|
|
5168
5214
|
* @param id
|
|
5169
5215
|
* @param options - additional request options
|
|
5170
5216
|
*/
|
|
5171
|
-
|
|
5217
|
+
delete_menu_v3_item_relationships_modifier_group(
|
|
5172
5218
|
id: string,
|
|
5173
5219
|
options?: RequestOptions
|
|
5174
|
-
): ResponsePromise<
|
|
5220
|
+
): ResponsePromise<DeleteMenuV3ItemRelationshipsModifierGroupResponse> {
|
|
5175
5221
|
return this.request(
|
|
5176
5222
|
"menu",
|
|
5177
|
-
"
|
|
5223
|
+
"delete_menu_v3_item_relationships_modifier_group",
|
|
5178
5224
|
"delete",
|
|
5179
|
-
`/menu/
|
|
5225
|
+
`/menu/v3/item/relationships/modifier-group/${id}`,
|
|
5180
5226
|
null,
|
|
5181
5227
|
options
|
|
5182
5228
|
);
|
|
5183
5229
|
}
|
|
5184
5230
|
|
|
5185
5231
|
/**
|
|
5186
|
-
* GET /menu/
|
|
5232
|
+
* GET /menu/v3/menus
|
|
5187
5233
|
*
|
|
5188
5234
|
* @param options - additional request options
|
|
5189
5235
|
*/
|
|
5190
|
-
|
|
5236
|
+
get_menu_v3_menus(
|
|
5191
5237
|
options?: {
|
|
5192
|
-
query?:
|
|
5238
|
+
query?: GetMenuV3MenusQuery;
|
|
5193
5239
|
} & RequestOptions
|
|
5194
|
-
): ResponsePromise<
|
|
5195
|
-
return this.request("menu", "
|
|
5240
|
+
): ResponsePromise<GetMenuV3MenusResponse> {
|
|
5241
|
+
return this.request("menu", "get_menu_v3_menus", "get", `/menu/v3/menus`, null, options);
|
|
5196
5242
|
}
|
|
5197
5243
|
|
|
5198
5244
|
/**
|
|
5199
|
-
* GET /menu/
|
|
5245
|
+
* GET /menu/v3/menu/{id}
|
|
5200
5246
|
*
|
|
5201
5247
|
* @param id
|
|
5202
5248
|
* @param options - additional request options
|
|
5203
5249
|
*/
|
|
5204
|
-
|
|
5250
|
+
get_menu_v3_menu(
|
|
5205
5251
|
id: string,
|
|
5206
5252
|
options?: {
|
|
5207
|
-
query?:
|
|
5253
|
+
query?: GetMenuV3MenuQuery;
|
|
5208
5254
|
} & RequestOptions
|
|
5209
|
-
): ResponsePromise<
|
|
5210
|
-
return this.request("menu", "
|
|
5255
|
+
): ResponsePromise<GetMenuV3MenuResponse> {
|
|
5256
|
+
return this.request("menu", "get_menu_v3_menu", "get", `/menu/v3/menu/${id}`, null, options);
|
|
5211
5257
|
}
|
|
5212
5258
|
|
|
5213
5259
|
/**
|
|
5214
|
-
* PATCH /menu/
|
|
5260
|
+
* PATCH /menu/v3/menu/{id}
|
|
5215
5261
|
*
|
|
5216
5262
|
* @param id
|
|
5217
5263
|
* @param body
|
|
5218
5264
|
* @param options - additional request options
|
|
5219
5265
|
*/
|
|
5220
|
-
|
|
5266
|
+
patch_menu_v3_menu(
|
|
5221
5267
|
id: string,
|
|
5222
|
-
body:
|
|
5268
|
+
body: PatchMenuV3MenuBody,
|
|
5223
5269
|
options?: RequestOptions
|
|
5224
|
-
): ResponsePromise<
|
|
5270
|
+
): ResponsePromise<PatchMenuV3MenuResponse> {
|
|
5225
5271
|
return this.request(
|
|
5226
5272
|
"menu",
|
|
5227
|
-
"
|
|
5273
|
+
"patch_menu_v3_menu",
|
|
5228
5274
|
"patch",
|
|
5229
|
-
`/menu/
|
|
5275
|
+
`/menu/v3/menu/${id}`,
|
|
5230
5276
|
body,
|
|
5231
5277
|
options
|
|
5232
5278
|
);
|
|
5233
5279
|
}
|
|
5234
5280
|
|
|
5235
5281
|
/**
|
|
5236
|
-
* DELETE /menu/
|
|
5282
|
+
* DELETE /menu/v3/menu/{id}
|
|
5237
5283
|
*
|
|
5238
5284
|
* @param id
|
|
5239
5285
|
* @param options - additional request options
|
|
5240
5286
|
*/
|
|
5241
|
-
|
|
5287
|
+
delete_menu_v3_menu(
|
|
5242
5288
|
id: string,
|
|
5243
5289
|
options?: RequestOptions
|
|
5244
|
-
): ResponsePromise<
|
|
5290
|
+
): ResponsePromise<DeleteMenuV3MenuResponse> {
|
|
5245
5291
|
return this.request(
|
|
5246
5292
|
"menu",
|
|
5247
|
-
"
|
|
5293
|
+
"delete_menu_v3_menu",
|
|
5248
5294
|
"delete",
|
|
5249
|
-
`/menu/
|
|
5295
|
+
`/menu/v3/menu/${id}`,
|
|
5250
5296
|
null,
|
|
5251
5297
|
options
|
|
5252
5298
|
);
|
|
5253
5299
|
}
|
|
5254
5300
|
|
|
5255
5301
|
/**
|
|
5256
|
-
* POST /menu/
|
|
5302
|
+
* POST /menu/v3/menu
|
|
5257
5303
|
*
|
|
5258
5304
|
* @param body
|
|
5259
5305
|
* @param options - additional request options
|
|
5260
5306
|
*/
|
|
5261
|
-
|
|
5262
|
-
body:
|
|
5307
|
+
post_menu_v3_menu(
|
|
5308
|
+
body: PostMenuV3MenuBody,
|
|
5263
5309
|
options?: RequestOptions
|
|
5264
|
-
): ResponsePromise<
|
|
5265
|
-
return this.request("menu", "
|
|
5310
|
+
): ResponsePromise<PostMenuV3MenuResponse> {
|
|
5311
|
+
return this.request("menu", "post_menu_v3_menu", "post", `/menu/v3/menu`, body, options);
|
|
5266
5312
|
}
|
|
5267
5313
|
|
|
5268
5314
|
/**
|
|
5269
|
-
* GET /menu/
|
|
5315
|
+
* GET /menu/v3/menus/count
|
|
5270
5316
|
*
|
|
5271
5317
|
* @param options - additional request options
|
|
5272
5318
|
*/
|
|
5273
|
-
|
|
5319
|
+
get_menu_v3_menus_count(
|
|
5274
5320
|
options?: {
|
|
5275
|
-
query?:
|
|
5321
|
+
query?: GetMenuV3MenusCountQuery;
|
|
5276
5322
|
} & RequestOptions
|
|
5277
|
-
): ResponsePromise<
|
|
5323
|
+
): ResponsePromise<GetMenuV3MenusCountResponse> {
|
|
5278
5324
|
return this.request(
|
|
5279
5325
|
"menu",
|
|
5280
|
-
"
|
|
5326
|
+
"get_menu_v3_menus_count",
|
|
5281
5327
|
"get",
|
|
5282
|
-
`/menu/
|
|
5328
|
+
`/menu/v3/menus/count`,
|
|
5283
5329
|
null,
|
|
5284
5330
|
options
|
|
5285
5331
|
);
|
|
5286
5332
|
}
|
|
5287
5333
|
|
|
5288
5334
|
/**
|
|
5289
|
-
* GET /menu/
|
|
5335
|
+
* GET /menu/v3/layouts
|
|
5290
5336
|
*
|
|
5291
5337
|
* @param options - additional request options
|
|
5292
5338
|
*/
|
|
5293
|
-
|
|
5339
|
+
get_menu_v3_layouts(
|
|
5294
5340
|
options?: {
|
|
5295
|
-
query?:
|
|
5341
|
+
query?: GetMenuV3LayoutsQuery;
|
|
5296
5342
|
} & RequestOptions
|
|
5297
|
-
): ResponsePromise<
|
|
5298
|
-
return this.request("menu", "
|
|
5343
|
+
): ResponsePromise<GetMenuV3LayoutsResponse> {
|
|
5344
|
+
return this.request("menu", "get_menu_v3_layouts", "get", `/menu/v3/layouts`, null, options);
|
|
5299
5345
|
}
|
|
5300
5346
|
|
|
5301
5347
|
/**
|
|
5302
|
-
* GET /menu/
|
|
5348
|
+
* GET /menu/v3/layout/{id}
|
|
5303
5349
|
*
|
|
5304
5350
|
* @param id
|
|
5305
5351
|
* @param options - additional request options
|
|
5306
5352
|
*/
|
|
5307
|
-
|
|
5353
|
+
get_menu_v3_layout(
|
|
5308
5354
|
id: string,
|
|
5309
5355
|
options?: {
|
|
5310
|
-
query?:
|
|
5356
|
+
query?: GetMenuV3LayoutQuery;
|
|
5311
5357
|
} & RequestOptions
|
|
5312
|
-
): ResponsePromise<
|
|
5358
|
+
): ResponsePromise<GetMenuV3LayoutResponse> {
|
|
5313
5359
|
return this.request(
|
|
5314
5360
|
"menu",
|
|
5315
|
-
"
|
|
5361
|
+
"get_menu_v3_layout",
|
|
5316
5362
|
"get",
|
|
5317
|
-
`/menu/
|
|
5363
|
+
`/menu/v3/layout/${id}`,
|
|
5318
5364
|
null,
|
|
5319
5365
|
options
|
|
5320
5366
|
);
|
|
5321
5367
|
}
|
|
5322
5368
|
|
|
5323
5369
|
/**
|
|
5324
|
-
* PATCH /menu/
|
|
5370
|
+
* PATCH /menu/v3/layout/{id}
|
|
5325
5371
|
*
|
|
5326
5372
|
* @param id
|
|
5327
5373
|
* @param body
|
|
5328
5374
|
* @param options - additional request options
|
|
5329
5375
|
*/
|
|
5330
|
-
|
|
5376
|
+
patch_menu_v3_layout(
|
|
5331
5377
|
id: string,
|
|
5332
|
-
body:
|
|
5378
|
+
body: PatchMenuV3LayoutBody,
|
|
5333
5379
|
options?: RequestOptions
|
|
5334
|
-
): ResponsePromise<
|
|
5380
|
+
): ResponsePromise<PatchMenuV3LayoutResponse> {
|
|
5335
5381
|
return this.request(
|
|
5336
5382
|
"menu",
|
|
5337
|
-
"
|
|
5383
|
+
"patch_menu_v3_layout",
|
|
5338
5384
|
"patch",
|
|
5339
|
-
`/menu/
|
|
5385
|
+
`/menu/v3/layout/${id}`,
|
|
5340
5386
|
body,
|
|
5341
5387
|
options
|
|
5342
5388
|
);
|
|
5343
5389
|
}
|
|
5344
5390
|
|
|
5345
5391
|
/**
|
|
5346
|
-
* DELETE /menu/
|
|
5392
|
+
* DELETE /menu/v3/layout/{id}
|
|
5347
5393
|
*
|
|
5348
5394
|
* @param id
|
|
5349
5395
|
* @param options - additional request options
|
|
5350
5396
|
*/
|
|
5351
|
-
|
|
5397
|
+
delete_menu_v3_layout(
|
|
5352
5398
|
id: string,
|
|
5353
5399
|
options?: RequestOptions
|
|
5354
|
-
): ResponsePromise<
|
|
5400
|
+
): ResponsePromise<DeleteMenuV3LayoutResponse> {
|
|
5355
5401
|
return this.request(
|
|
5356
5402
|
"menu",
|
|
5357
|
-
"
|
|
5403
|
+
"delete_menu_v3_layout",
|
|
5358
5404
|
"delete",
|
|
5359
|
-
`/menu/
|
|
5405
|
+
`/menu/v3/layout/${id}`,
|
|
5360
5406
|
null,
|
|
5361
5407
|
options
|
|
5362
5408
|
);
|
|
5363
5409
|
}
|
|
5364
5410
|
|
|
5365
5411
|
/**
|
|
5366
|
-
* POST /menu/
|
|
5412
|
+
* POST /menu/v3/layout
|
|
5367
5413
|
*
|
|
5368
5414
|
* @param body
|
|
5369
5415
|
* @param options - additional request options
|
|
5370
5416
|
*/
|
|
5371
|
-
|
|
5372
|
-
body:
|
|
5417
|
+
post_menu_v3_layout(
|
|
5418
|
+
body: PostMenuV3LayoutBody,
|
|
5373
5419
|
options?: RequestOptions
|
|
5374
|
-
): ResponsePromise<
|
|
5375
|
-
return this.request("menu", "
|
|
5420
|
+
): ResponsePromise<PostMenuV3LayoutResponse> {
|
|
5421
|
+
return this.request("menu", "post_menu_v3_layout", "post", `/menu/v3/layout`, body, options);
|
|
5376
5422
|
}
|
|
5377
5423
|
|
|
5378
5424
|
/**
|
|
5379
|
-
* GET /menu/
|
|
5425
|
+
* GET /menu/v3/layouts/count
|
|
5380
5426
|
*
|
|
5381
5427
|
* @param options - additional request options
|
|
5382
5428
|
*/
|
|
5383
|
-
|
|
5429
|
+
get_menu_v3_layouts_count(
|
|
5384
5430
|
options?: {
|
|
5385
|
-
query?:
|
|
5431
|
+
query?: GetMenuV3LayoutsCountQuery;
|
|
5386
5432
|
} & RequestOptions
|
|
5387
|
-
): ResponsePromise<
|
|
5433
|
+
): ResponsePromise<GetMenuV3LayoutsCountResponse> {
|
|
5388
5434
|
return this.request(
|
|
5389
5435
|
"menu",
|
|
5390
|
-
"
|
|
5436
|
+
"get_menu_v3_layouts_count",
|
|
5391
5437
|
"get",
|
|
5392
|
-
`/menu/
|
|
5438
|
+
`/menu/v3/layouts/count`,
|
|
5393
5439
|
null,
|
|
5394
5440
|
options
|
|
5395
5441
|
);
|
|
5396
5442
|
}
|
|
5397
5443
|
|
|
5398
5444
|
/**
|
|
5399
|
-
* GET /menu/
|
|
5445
|
+
* GET /menu/v3/categories
|
|
5400
5446
|
*
|
|
5401
5447
|
* @param options - additional request options
|
|
5402
5448
|
*/
|
|
5403
|
-
|
|
5449
|
+
get_menu_v3_categories(
|
|
5404
5450
|
options?: {
|
|
5405
|
-
query?:
|
|
5451
|
+
query?: GetMenuV3CategoriesQuery;
|
|
5406
5452
|
} & RequestOptions
|
|
5407
|
-
): ResponsePromise<
|
|
5453
|
+
): ResponsePromise<GetMenuV3CategoriesResponse> {
|
|
5408
5454
|
return this.request(
|
|
5409
5455
|
"menu",
|
|
5410
|
-
"
|
|
5456
|
+
"get_menu_v3_categories",
|
|
5411
5457
|
"get",
|
|
5412
|
-
`/menu/
|
|
5458
|
+
`/menu/v3/categories`,
|
|
5413
5459
|
null,
|
|
5414
5460
|
options
|
|
5415
5461
|
);
|
|
5416
5462
|
}
|
|
5417
5463
|
|
|
5418
5464
|
/**
|
|
5419
|
-
* GET /menu/
|
|
5465
|
+
* GET /menu/v3/category/{id}
|
|
5420
5466
|
*
|
|
5421
5467
|
* @param id
|
|
5422
5468
|
* @param options - additional request options
|
|
5423
5469
|
*/
|
|
5424
|
-
|
|
5470
|
+
get_menu_v3_category(
|
|
5425
5471
|
id: string,
|
|
5426
5472
|
options?: {
|
|
5427
|
-
query?:
|
|
5473
|
+
query?: GetMenuV3CategoryQuery;
|
|
5428
5474
|
} & RequestOptions
|
|
5429
|
-
): ResponsePromise<
|
|
5475
|
+
): ResponsePromise<GetMenuV3CategoryResponse> {
|
|
5430
5476
|
return this.request(
|
|
5431
5477
|
"menu",
|
|
5432
|
-
"
|
|
5478
|
+
"get_menu_v3_category",
|
|
5433
5479
|
"get",
|
|
5434
|
-
`/menu/
|
|
5480
|
+
`/menu/v3/category/${id}`,
|
|
5435
5481
|
null,
|
|
5436
5482
|
options
|
|
5437
5483
|
);
|
|
5438
5484
|
}
|
|
5439
5485
|
|
|
5440
5486
|
/**
|
|
5441
|
-
* PATCH /menu/
|
|
5487
|
+
* PATCH /menu/v3/category/{id}
|
|
5442
5488
|
*
|
|
5443
5489
|
* @param id
|
|
5444
5490
|
* @param body
|
|
5445
5491
|
* @param options - additional request options
|
|
5446
5492
|
*/
|
|
5447
|
-
|
|
5493
|
+
patch_menu_v3_category(
|
|
5448
5494
|
id: string,
|
|
5449
|
-
body:
|
|
5495
|
+
body: PatchMenuV3CategoryBody,
|
|
5450
5496
|
options?: RequestOptions
|
|
5451
|
-
): ResponsePromise<
|
|
5497
|
+
): ResponsePromise<PatchMenuV3CategoryResponse> {
|
|
5452
5498
|
return this.request(
|
|
5453
5499
|
"menu",
|
|
5454
|
-
"
|
|
5500
|
+
"patch_menu_v3_category",
|
|
5455
5501
|
"patch",
|
|
5456
|
-
`/menu/
|
|
5502
|
+
`/menu/v3/category/${id}`,
|
|
5457
5503
|
body,
|
|
5458
5504
|
options
|
|
5459
5505
|
);
|
|
5460
5506
|
}
|
|
5461
5507
|
|
|
5462
5508
|
/**
|
|
5463
|
-
* DELETE /menu/
|
|
5509
|
+
* DELETE /menu/v3/category/{id}
|
|
5464
5510
|
*
|
|
5465
5511
|
* @param id
|
|
5466
5512
|
* @param options - additional request options
|
|
5467
5513
|
*/
|
|
5468
|
-
|
|
5514
|
+
delete_menu_v3_category(
|
|
5469
5515
|
id: string,
|
|
5470
5516
|
options?: RequestOptions
|
|
5471
|
-
): ResponsePromise<
|
|
5517
|
+
): ResponsePromise<DeleteMenuV3CategoryResponse> {
|
|
5472
5518
|
return this.request(
|
|
5473
5519
|
"menu",
|
|
5474
|
-
"
|
|
5520
|
+
"delete_menu_v3_category",
|
|
5475
5521
|
"delete",
|
|
5476
|
-
`/menu/
|
|
5522
|
+
`/menu/v3/category/${id}`,
|
|
5477
5523
|
null,
|
|
5478
5524
|
options
|
|
5479
5525
|
);
|
|
5480
5526
|
}
|
|
5481
5527
|
|
|
5482
5528
|
/**
|
|
5483
|
-
* POST /menu/
|
|
5529
|
+
* POST /menu/v3/category
|
|
5484
5530
|
*
|
|
5485
5531
|
* @param body
|
|
5486
5532
|
* @param options - additional request options
|
|
5487
5533
|
*/
|
|
5488
|
-
|
|
5489
|
-
body:
|
|
5534
|
+
post_menu_v3_category(
|
|
5535
|
+
body: PostMenuV3CategoryBody,
|
|
5490
5536
|
options?: RequestOptions
|
|
5491
|
-
): ResponsePromise<
|
|
5537
|
+
): ResponsePromise<PostMenuV3CategoryResponse> {
|
|
5492
5538
|
return this.request(
|
|
5493
5539
|
"menu",
|
|
5494
|
-
"
|
|
5540
|
+
"post_menu_v3_category",
|
|
5495
5541
|
"post",
|
|
5496
|
-
`/menu/
|
|
5542
|
+
`/menu/v3/category`,
|
|
5497
5543
|
body,
|
|
5498
5544
|
options
|
|
5499
5545
|
);
|
|
5500
5546
|
}
|
|
5501
5547
|
|
|
5502
5548
|
/**
|
|
5503
|
-
* GET /menu/
|
|
5549
|
+
* GET /menu/v3/categories/count
|
|
5504
5550
|
*
|
|
5505
5551
|
* @param options - additional request options
|
|
5506
5552
|
*/
|
|
5507
|
-
|
|
5553
|
+
get_menu_v3_categories_count(
|
|
5508
5554
|
options?: {
|
|
5509
|
-
query?:
|
|
5555
|
+
query?: GetMenuV3CategoriesCountQuery;
|
|
5510
5556
|
} & RequestOptions
|
|
5511
|
-
): ResponsePromise<
|
|
5557
|
+
): ResponsePromise<GetMenuV3CategoriesCountResponse> {
|
|
5512
5558
|
return this.request(
|
|
5513
5559
|
"menu",
|
|
5514
|
-
"
|
|
5560
|
+
"get_menu_v3_categories_count",
|
|
5515
5561
|
"get",
|
|
5516
|
-
`/menu/
|
|
5562
|
+
`/menu/v3/categories/count`,
|
|
5517
5563
|
null,
|
|
5518
5564
|
options
|
|
5519
5565
|
);
|
|
5520
5566
|
}
|
|
5521
5567
|
|
|
5522
5568
|
/**
|
|
5523
|
-
* GET /menu/
|
|
5569
|
+
* GET /menu/v3/category/relationships/items
|
|
5524
5570
|
*
|
|
5525
5571
|
* @param options - additional request options
|
|
5526
5572
|
*/
|
|
5527
|
-
|
|
5573
|
+
get_menu_v3_category_relationships_items(
|
|
5528
5574
|
options?: {
|
|
5529
|
-
query?:
|
|
5575
|
+
query?: GetMenuV3CategoryRelationshipsItemsQuery;
|
|
5530
5576
|
} & RequestOptions
|
|
5531
|
-
): ResponsePromise<
|
|
5577
|
+
): ResponsePromise<GetMenuV3CategoryRelationshipsItemsResponse> {
|
|
5532
5578
|
return this.request(
|
|
5533
5579
|
"menu",
|
|
5534
|
-
"
|
|
5580
|
+
"get_menu_v3_category_relationships_items",
|
|
5535
5581
|
"get",
|
|
5536
|
-
`/menu/
|
|
5582
|
+
`/menu/v3/category/relationships/items`,
|
|
5537
5583
|
null,
|
|
5538
5584
|
options
|
|
5539
5585
|
);
|
|
5540
5586
|
}
|
|
5541
5587
|
|
|
5542
5588
|
/**
|
|
5543
|
-
* POST /menu/
|
|
5589
|
+
* POST /menu/v3/category/relationships/items
|
|
5590
|
+
*
|
|
5591
|
+
* @param body
|
|
5592
|
+
* @param options - additional request options
|
|
5593
|
+
*/
|
|
5594
|
+
post_menu_v3_category_relationships_items(
|
|
5595
|
+
body: PostMenuV3CategoryRelationshipsItemsBody,
|
|
5596
|
+
options?: RequestOptions
|
|
5597
|
+
): ResponsePromise<PostMenuV3CategoryRelationshipsItemsResponse> {
|
|
5598
|
+
return this.request(
|
|
5599
|
+
"menu",
|
|
5600
|
+
"post_menu_v3_category_relationships_items",
|
|
5601
|
+
"post",
|
|
5602
|
+
`/menu/v3/category/relationships/items`,
|
|
5603
|
+
body,
|
|
5604
|
+
options
|
|
5605
|
+
);
|
|
5606
|
+
}
|
|
5607
|
+
|
|
5608
|
+
/**
|
|
5609
|
+
* POST /menu/v3/category/relationships/item
|
|
5544
5610
|
*
|
|
5545
5611
|
* @param body
|
|
5546
5612
|
* @param options - additional request options
|
|
5547
5613
|
*/
|
|
5548
|
-
|
|
5549
|
-
body:
|
|
5614
|
+
post_menu_v3_category_relationships_item(
|
|
5615
|
+
body: PostMenuV3CategoryRelationshipsItemBody,
|
|
5550
5616
|
options?: RequestOptions
|
|
5551
|
-
): ResponsePromise<
|
|
5617
|
+
): ResponsePromise<PostMenuV3CategoryRelationshipsItemResponse> {
|
|
5552
5618
|
return this.request(
|
|
5553
5619
|
"menu",
|
|
5554
|
-
"
|
|
5620
|
+
"post_menu_v3_category_relationships_item",
|
|
5555
5621
|
"post",
|
|
5556
|
-
`/menu/
|
|
5622
|
+
`/menu/v3/category/relationships/item`,
|
|
5557
5623
|
body,
|
|
5558
5624
|
options
|
|
5559
5625
|
);
|
|
5560
5626
|
}
|
|
5561
5627
|
|
|
5562
5628
|
/**
|
|
5563
|
-
* PATCH /menu/
|
|
5629
|
+
* PATCH /menu/v3/category/relationships/item/{id}
|
|
5564
5630
|
*
|
|
5565
5631
|
* @param id
|
|
5566
5632
|
* @param body
|
|
5567
5633
|
* @param options - additional request options
|
|
5568
5634
|
*/
|
|
5569
|
-
|
|
5635
|
+
patch_menu_v3_category_relationships_item(
|
|
5570
5636
|
id: string,
|
|
5571
|
-
body:
|
|
5637
|
+
body: PatchMenuV3CategoryRelationshipsItemBody,
|
|
5572
5638
|
options?: RequestOptions
|
|
5573
|
-
): ResponsePromise<
|
|
5639
|
+
): ResponsePromise<PatchMenuV3CategoryRelationshipsItemResponse> {
|
|
5574
5640
|
return this.request(
|
|
5575
5641
|
"menu",
|
|
5576
|
-
"
|
|
5642
|
+
"patch_menu_v3_category_relationships_item",
|
|
5577
5643
|
"patch",
|
|
5578
|
-
`/menu/
|
|
5644
|
+
`/menu/v3/category/relationships/item/${id}`,
|
|
5579
5645
|
body,
|
|
5580
5646
|
options
|
|
5581
5647
|
);
|
|
5582
5648
|
}
|
|
5583
5649
|
|
|
5584
5650
|
/**
|
|
5585
|
-
* DELETE /menu/
|
|
5651
|
+
* DELETE /menu/v3/category/relationships/item/{id}
|
|
5586
5652
|
*
|
|
5587
5653
|
* @param id
|
|
5588
5654
|
* @param options - additional request options
|
|
5589
5655
|
*/
|
|
5590
|
-
|
|
5656
|
+
delete_menu_v3_category_relationships_item(
|
|
5591
5657
|
id: string,
|
|
5592
5658
|
options?: RequestOptions
|
|
5593
|
-
): ResponsePromise<
|
|
5659
|
+
): ResponsePromise<DeleteMenuV3CategoryRelationshipsItemResponse> {
|
|
5594
5660
|
return this.request(
|
|
5595
5661
|
"menu",
|
|
5596
|
-
"
|
|
5662
|
+
"delete_menu_v3_category_relationships_item",
|
|
5597
5663
|
"delete",
|
|
5598
|
-
`/menu/
|
|
5664
|
+
`/menu/v3/category/relationships/item/${id}`,
|
|
5599
5665
|
null,
|
|
5600
5666
|
options
|
|
5601
5667
|
);
|