@compassdigital/sdk.typescript 3.44.3 → 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 +283 -74
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +312 -71
- package/lib/index.js.map +1 -1
- package/lib/interface/menu.d.ts +316 -88
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/partner.d.ts +11 -12
- package/lib/interface/partner.d.ts.map +1 -1
- package/lib/interface/shoppingcart.d.ts +108 -54
- package/lib/interface/shoppingcart.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +754 -181
- package/src/interface/location.ts +1 -1
- package/src/interface/menu.ts +522 -129
- package/src/interface/partner.ts +18 -14
- package/src/interface/shoppingcart.ts +127 -54
package/src/index.ts
CHANGED
|
@@ -192,6 +192,8 @@ import {
|
|
|
192
192
|
DeleteShoppingcartCartPromoResponse,
|
|
193
193
|
PutShoppingcartCartPaymentBody,
|
|
194
194
|
PutShoppingcartCartPaymentResponse,
|
|
195
|
+
GetShoppingcartPaymentMethodsQuery,
|
|
196
|
+
GetShoppingcartPaymentMethodsResponse,
|
|
195
197
|
PutShoppingcartCartOrderBody,
|
|
196
198
|
PutShoppingcartCartOrderResponse,
|
|
197
199
|
PostShoppingcartCloneCartQuery,
|
|
@@ -211,6 +213,8 @@ import {
|
|
|
211
213
|
GetPartnerStandardcognitionStoresResponse,
|
|
212
214
|
PostPartnerStandardcognitionMenuBody,
|
|
213
215
|
PostPartnerStandardcognitionMenuResponse,
|
|
216
|
+
PostPartnerEventBody,
|
|
217
|
+
PostPartnerEventResponse,
|
|
214
218
|
GetPartnerSwaggerQuery,
|
|
215
219
|
GetPartnerSwaggerResponse,
|
|
216
220
|
} from "./interface/partner";
|
|
@@ -454,51 +458,97 @@ import {
|
|
|
454
458
|
} from "./interface/file";
|
|
455
459
|
|
|
456
460
|
import {
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
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
|
-
|
|
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,
|
|
502
552
|
GetMenuClientQuery,
|
|
503
553
|
GetMenuClientResponse,
|
|
504
554
|
GetMenusQuery,
|
|
@@ -2343,7 +2393,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2343
2393
|
}
|
|
2344
2394
|
|
|
2345
2395
|
/**
|
|
2346
|
-
* GET location/v2/groups - Get a list of groups
|
|
2396
|
+
* GET /location/v2/groups - Get a list of groups
|
|
2347
2397
|
*
|
|
2348
2398
|
* @param options - additional request options
|
|
2349
2399
|
*/
|
|
@@ -2356,7 +2406,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2356
2406
|
"location",
|
|
2357
2407
|
"get_location_v2_groups",
|
|
2358
2408
|
"get",
|
|
2359
|
-
|
|
2409
|
+
`/location/v2/groups`,
|
|
2360
2410
|
null,
|
|
2361
2411
|
options
|
|
2362
2412
|
);
|
|
@@ -2534,6 +2584,28 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2534
2584
|
);
|
|
2535
2585
|
}
|
|
2536
2586
|
|
|
2587
|
+
/**
|
|
2588
|
+
* GET /shoppingcart/{id}/paymentmethods - Get a list of payment methods for cart
|
|
2589
|
+
*
|
|
2590
|
+
* @param id - Shopping cart ID
|
|
2591
|
+
* @param options - additional request options
|
|
2592
|
+
*/
|
|
2593
|
+
get_shoppingcart_payment_methods(
|
|
2594
|
+
id: string,
|
|
2595
|
+
options?: {
|
|
2596
|
+
query?: GetShoppingcartPaymentMethodsQuery;
|
|
2597
|
+
} & RequestOptions
|
|
2598
|
+
): ResponsePromise<GetShoppingcartPaymentMethodsResponse> {
|
|
2599
|
+
return this.request(
|
|
2600
|
+
"shoppingcart",
|
|
2601
|
+
"get_shoppingcart_payment_methods",
|
|
2602
|
+
"get",
|
|
2603
|
+
`/shoppingcart/${id}/paymentmethods`,
|
|
2604
|
+
null,
|
|
2605
|
+
options
|
|
2606
|
+
);
|
|
2607
|
+
}
|
|
2608
|
+
|
|
2537
2609
|
/**
|
|
2538
2610
|
* PUT /shoppingcart/{id}/order/ - Store information about the order created with this shopping cart
|
|
2539
2611
|
*
|
|
@@ -2700,6 +2772,28 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2700
2772
|
);
|
|
2701
2773
|
}
|
|
2702
2774
|
|
|
2775
|
+
/**
|
|
2776
|
+
* POST /partner/event/{id} - Send an event from 3rd party to our system
|
|
2777
|
+
*
|
|
2778
|
+
* @param id - provider
|
|
2779
|
+
* @param body
|
|
2780
|
+
* @param options - additional request options
|
|
2781
|
+
*/
|
|
2782
|
+
post_partner_event(
|
|
2783
|
+
id: string,
|
|
2784
|
+
body: PostPartnerEventBody,
|
|
2785
|
+
options?: RequestOptions
|
|
2786
|
+
): ResponsePromise<PostPartnerEventResponse> {
|
|
2787
|
+
return this.request(
|
|
2788
|
+
"partner",
|
|
2789
|
+
"post_partner_event",
|
|
2790
|
+
"post",
|
|
2791
|
+
`/partner/event/${id}`,
|
|
2792
|
+
body,
|
|
2793
|
+
options
|
|
2794
|
+
);
|
|
2795
|
+
}
|
|
2796
|
+
|
|
2703
2797
|
/**
|
|
2704
2798
|
* GET /partner/swagger.json
|
|
2705
2799
|
*
|
|
@@ -4638,457 +4732,936 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4638
4732
|
}
|
|
4639
4733
|
|
|
4640
4734
|
/**
|
|
4641
|
-
* GET /menu/
|
|
4735
|
+
* GET /menu/v3/modifiers
|
|
4642
4736
|
*
|
|
4643
4737
|
* @param options - additional request options
|
|
4644
4738
|
*/
|
|
4645
|
-
|
|
4739
|
+
get_menu_v3_modifiers(
|
|
4646
4740
|
options?: {
|
|
4647
|
-
query?:
|
|
4741
|
+
query?: GetMenuV3ModifiersQuery;
|
|
4648
4742
|
} & RequestOptions
|
|
4649
|
-
): ResponsePromise<
|
|
4743
|
+
): ResponsePromise<GetMenuV3ModifiersResponse> {
|
|
4650
4744
|
return this.request(
|
|
4651
4745
|
"menu",
|
|
4652
|
-
"
|
|
4746
|
+
"get_menu_v3_modifiers",
|
|
4653
4747
|
"get",
|
|
4654
|
-
`/menu/
|
|
4748
|
+
`/menu/v3/modifiers`,
|
|
4655
4749
|
null,
|
|
4656
4750
|
options
|
|
4657
4751
|
);
|
|
4658
4752
|
}
|
|
4659
4753
|
|
|
4660
4754
|
/**
|
|
4661
|
-
* GET /menu/
|
|
4755
|
+
* GET /menu/v3/modifier/{id}
|
|
4662
4756
|
*
|
|
4663
4757
|
* @param id
|
|
4664
4758
|
* @param options - additional request options
|
|
4665
4759
|
*/
|
|
4666
|
-
|
|
4760
|
+
get_menu_v3_modifier(
|
|
4667
4761
|
id: string,
|
|
4668
4762
|
options?: {
|
|
4669
|
-
query?:
|
|
4763
|
+
query?: GetMenuV3ModifierQuery;
|
|
4670
4764
|
} & RequestOptions
|
|
4671
|
-
): ResponsePromise<
|
|
4765
|
+
): ResponsePromise<GetMenuV3ModifierResponse> {
|
|
4672
4766
|
return this.request(
|
|
4673
4767
|
"menu",
|
|
4674
|
-
"
|
|
4768
|
+
"get_menu_v3_modifier",
|
|
4675
4769
|
"get",
|
|
4676
|
-
`/menu/
|
|
4770
|
+
`/menu/v3/modifier/${id}`,
|
|
4677
4771
|
null,
|
|
4678
4772
|
options
|
|
4679
4773
|
);
|
|
4680
4774
|
}
|
|
4681
4775
|
|
|
4682
4776
|
/**
|
|
4683
|
-
* PATCH /menu/
|
|
4777
|
+
* PATCH /menu/v3/modifier/{id}
|
|
4684
4778
|
*
|
|
4685
4779
|
* @param id
|
|
4686
4780
|
* @param body
|
|
4687
4781
|
* @param options - additional request options
|
|
4688
4782
|
*/
|
|
4689
|
-
|
|
4783
|
+
patch_menu_v3_modifier(
|
|
4690
4784
|
id: string,
|
|
4691
|
-
body:
|
|
4785
|
+
body: PatchMenuV3ModifierBody,
|
|
4692
4786
|
options?: RequestOptions
|
|
4693
|
-
): ResponsePromise<
|
|
4787
|
+
): ResponsePromise<PatchMenuV3ModifierResponse> {
|
|
4694
4788
|
return this.request(
|
|
4695
4789
|
"menu",
|
|
4696
|
-
"
|
|
4790
|
+
"patch_menu_v3_modifier",
|
|
4697
4791
|
"patch",
|
|
4698
|
-
`/menu/
|
|
4792
|
+
`/menu/v3/modifier/${id}`,
|
|
4699
4793
|
body,
|
|
4700
4794
|
options
|
|
4701
4795
|
);
|
|
4702
4796
|
}
|
|
4703
4797
|
|
|
4704
4798
|
/**
|
|
4705
|
-
* POST /menu/
|
|
4799
|
+
* POST /menu/v3/modifier
|
|
4706
4800
|
*
|
|
4707
4801
|
* @param body
|
|
4708
4802
|
* @param options - additional request options
|
|
4709
4803
|
*/
|
|
4710
|
-
|
|
4711
|
-
body:
|
|
4804
|
+
post_menu_v3_modifier(
|
|
4805
|
+
body: PostMenuV3ModifierBody,
|
|
4712
4806
|
options?: RequestOptions
|
|
4713
|
-
): ResponsePromise<
|
|
4807
|
+
): ResponsePromise<PostMenuV3ModifierResponse> {
|
|
4714
4808
|
return this.request(
|
|
4715
4809
|
"menu",
|
|
4716
|
-
"
|
|
4810
|
+
"post_menu_v3_modifier",
|
|
4717
4811
|
"post",
|
|
4718
|
-
`/menu/
|
|
4812
|
+
`/menu/v3/modifier`,
|
|
4719
4813
|
body,
|
|
4720
4814
|
options
|
|
4721
4815
|
);
|
|
4722
4816
|
}
|
|
4723
4817
|
|
|
4724
4818
|
/**
|
|
4725
|
-
* GET /menu/
|
|
4819
|
+
* GET /menu/v3/modifier/count
|
|
4726
4820
|
*
|
|
4727
4821
|
* @param options - additional request options
|
|
4728
4822
|
*/
|
|
4729
|
-
|
|
4823
|
+
get_menu_v3_modifier_count(
|
|
4730
4824
|
options?: {
|
|
4731
|
-
query?:
|
|
4825
|
+
query?: GetMenuV3ModifierCountQuery;
|
|
4732
4826
|
} & RequestOptions
|
|
4733
|
-
): ResponsePromise<
|
|
4827
|
+
): ResponsePromise<GetMenuV3ModifierCountResponse> {
|
|
4734
4828
|
return this.request(
|
|
4735
4829
|
"menu",
|
|
4736
|
-
"
|
|
4830
|
+
"get_menu_v3_modifier_count",
|
|
4737
4831
|
"get",
|
|
4738
|
-
`/menu/
|
|
4832
|
+
`/menu/v3/modifier/count`,
|
|
4739
4833
|
null,
|
|
4740
4834
|
options
|
|
4741
4835
|
);
|
|
4742
4836
|
}
|
|
4743
4837
|
|
|
4744
4838
|
/**
|
|
4745
|
-
* GET /menu/
|
|
4839
|
+
* GET /menu/v3/modifier-groups
|
|
4746
4840
|
*
|
|
4747
4841
|
* @param options - additional request options
|
|
4748
4842
|
*/
|
|
4749
|
-
|
|
4843
|
+
get_menu_v3_modifier_groups(
|
|
4750
4844
|
options?: {
|
|
4751
|
-
query?:
|
|
4845
|
+
query?: GetMenuV3ModifierGroupsQuery;
|
|
4752
4846
|
} & RequestOptions
|
|
4753
|
-
): ResponsePromise<
|
|
4847
|
+
): ResponsePromise<GetMenuV3ModifierGroupsResponse> {
|
|
4754
4848
|
return this.request(
|
|
4755
4849
|
"menu",
|
|
4756
|
-
"
|
|
4850
|
+
"get_menu_v3_modifier_groups",
|
|
4757
4851
|
"get",
|
|
4758
|
-
`/menu/
|
|
4852
|
+
`/menu/v3/modifier-groups`,
|
|
4759
4853
|
null,
|
|
4760
4854
|
options
|
|
4761
4855
|
);
|
|
4762
4856
|
}
|
|
4763
4857
|
|
|
4764
4858
|
/**
|
|
4765
|
-
* POST /menu/
|
|
4859
|
+
* POST /menu/v3/modifier-group
|
|
4766
4860
|
*
|
|
4767
4861
|
* @param body
|
|
4768
4862
|
* @param options - additional request options
|
|
4769
4863
|
*/
|
|
4770
|
-
|
|
4771
|
-
body:
|
|
4864
|
+
post_menu_v3_modifier_group(
|
|
4865
|
+
body: PostMenuV3ModifierGroupBody,
|
|
4772
4866
|
options?: RequestOptions
|
|
4773
|
-
): ResponsePromise<
|
|
4867
|
+
): ResponsePromise<PostMenuV3ModifierGroupResponse> {
|
|
4774
4868
|
return this.request(
|
|
4775
4869
|
"menu",
|
|
4776
|
-
"
|
|
4870
|
+
"post_menu_v3_modifier_group",
|
|
4777
4871
|
"post",
|
|
4778
|
-
`/menu/
|
|
4872
|
+
`/menu/v3/modifier-group`,
|
|
4779
4873
|
body,
|
|
4780
4874
|
options
|
|
4781
4875
|
);
|
|
4782
4876
|
}
|
|
4783
4877
|
|
|
4784
4878
|
/**
|
|
4785
|
-
* GET /menu/
|
|
4879
|
+
* GET /menu/v3/modifier-group/{id}
|
|
4786
4880
|
*
|
|
4787
4881
|
* @param id
|
|
4788
4882
|
* @param options - additional request options
|
|
4789
4883
|
*/
|
|
4790
|
-
|
|
4884
|
+
get_menu_v3_modifier_group(
|
|
4791
4885
|
id: string,
|
|
4792
4886
|
options?: {
|
|
4793
|
-
query?:
|
|
4887
|
+
query?: GetMenuV3ModifierGroupQuery;
|
|
4794
4888
|
} & RequestOptions
|
|
4795
|
-
): ResponsePromise<
|
|
4889
|
+
): ResponsePromise<GetMenuV3ModifierGroupResponse> {
|
|
4796
4890
|
return this.request(
|
|
4797
4891
|
"menu",
|
|
4798
|
-
"
|
|
4892
|
+
"get_menu_v3_modifier_group",
|
|
4799
4893
|
"get",
|
|
4800
|
-
`/menu/
|
|
4894
|
+
`/menu/v3/modifier-group/${id}`,
|
|
4801
4895
|
null,
|
|
4802
4896
|
options
|
|
4803
4897
|
);
|
|
4804
4898
|
}
|
|
4805
4899
|
|
|
4806
4900
|
/**
|
|
4807
|
-
* PATCH /menu/
|
|
4901
|
+
* PATCH /menu/v3/modifier-group/{id}
|
|
4808
4902
|
*
|
|
4809
4903
|
* @param id
|
|
4810
4904
|
* @param body
|
|
4811
4905
|
* @param options - additional request options
|
|
4812
4906
|
*/
|
|
4813
|
-
|
|
4907
|
+
patch_menu_v3_modifier_group(
|
|
4814
4908
|
id: string,
|
|
4815
|
-
body:
|
|
4909
|
+
body: PatchMenuV3ModifierGroupBody,
|
|
4816
4910
|
options?: RequestOptions
|
|
4817
|
-
): ResponsePromise<
|
|
4911
|
+
): ResponsePromise<PatchMenuV3ModifierGroupResponse> {
|
|
4818
4912
|
return this.request(
|
|
4819
4913
|
"menu",
|
|
4820
|
-
"
|
|
4914
|
+
"patch_menu_v3_modifier_group",
|
|
4821
4915
|
"patch",
|
|
4822
|
-
`/menu/
|
|
4916
|
+
`/menu/v3/modifier-group/${id}`,
|
|
4823
4917
|
body,
|
|
4824
4918
|
options
|
|
4825
4919
|
);
|
|
4826
4920
|
}
|
|
4827
4921
|
|
|
4828
4922
|
/**
|
|
4829
|
-
* GET /menu/
|
|
4923
|
+
* GET /menu/v3/modifier-group/count
|
|
4830
4924
|
*
|
|
4831
4925
|
* @param options - additional request options
|
|
4832
4926
|
*/
|
|
4833
|
-
|
|
4927
|
+
get_menu_v3_modifier_group_count(
|
|
4834
4928
|
options?: {
|
|
4835
|
-
query?:
|
|
4929
|
+
query?: GetMenuV3ModifierGroupCountQuery;
|
|
4836
4930
|
} & RequestOptions
|
|
4837
|
-
): ResponsePromise<
|
|
4931
|
+
): ResponsePromise<GetMenuV3ModifierGroupCountResponse> {
|
|
4838
4932
|
return this.request(
|
|
4839
4933
|
"menu",
|
|
4840
|
-
"
|
|
4934
|
+
"get_menu_v3_modifier_group_count",
|
|
4841
4935
|
"get",
|
|
4842
|
-
`/menu/
|
|
4936
|
+
`/menu/v3/modifier-group/count`,
|
|
4843
4937
|
null,
|
|
4844
4938
|
options
|
|
4845
4939
|
);
|
|
4846
4940
|
}
|
|
4847
4941
|
|
|
4848
4942
|
/**
|
|
4849
|
-
* GET /menu/
|
|
4943
|
+
* GET /menu/v3/modifier-group/relationships/modifiers
|
|
4850
4944
|
*
|
|
4851
4945
|
* @param options - additional request options
|
|
4852
4946
|
*/
|
|
4853
|
-
|
|
4947
|
+
get_menu_v3_modifier_group_relationships_modifiers(
|
|
4854
4948
|
options?: {
|
|
4855
|
-
query?:
|
|
4949
|
+
query?: GetMenuV3ModifierGroupRelationshipsModifiersQuery;
|
|
4856
4950
|
} & RequestOptions
|
|
4857
|
-
): ResponsePromise<
|
|
4951
|
+
): ResponsePromise<GetMenuV3ModifierGroupRelationshipsModifiersResponse> {
|
|
4858
4952
|
return this.request(
|
|
4859
4953
|
"menu",
|
|
4860
|
-
"
|
|
4954
|
+
"get_menu_v3_modifier_group_relationships_modifiers",
|
|
4861
4955
|
"get",
|
|
4862
|
-
`/menu/
|
|
4956
|
+
`/menu/v3/modifier-group/relationships/modifiers`,
|
|
4863
4957
|
null,
|
|
4864
4958
|
options
|
|
4865
4959
|
);
|
|
4866
4960
|
}
|
|
4867
4961
|
|
|
4868
4962
|
/**
|
|
4869
|
-
* POST /menu/
|
|
4963
|
+
* POST /menu/v3/modifier-group/relationships/modifiers
|
|
4870
4964
|
*
|
|
4871
4965
|
* @param body
|
|
4872
4966
|
* @param options - additional request options
|
|
4873
4967
|
*/
|
|
4874
|
-
|
|
4875
|
-
body:
|
|
4968
|
+
post_menu_v3_modifier_group_relationships_modifiers(
|
|
4969
|
+
body: PostMenuV3ModifierGroupRelationshipsModifiersBody,
|
|
4876
4970
|
options?: RequestOptions
|
|
4877
|
-
): ResponsePromise<
|
|
4971
|
+
): ResponsePromise<PostMenuV3ModifierGroupRelationshipsModifiersResponse> {
|
|
4878
4972
|
return this.request(
|
|
4879
4973
|
"menu",
|
|
4880
|
-
"
|
|
4974
|
+
"post_menu_v3_modifier_group_relationships_modifiers",
|
|
4881
4975
|
"post",
|
|
4882
|
-
`/menu/
|
|
4976
|
+
`/menu/v3/modifier-group/relationships/modifiers`,
|
|
4883
4977
|
body,
|
|
4884
4978
|
options
|
|
4885
4979
|
);
|
|
4886
4980
|
}
|
|
4887
4981
|
|
|
4888
4982
|
/**
|
|
4889
|
-
*
|
|
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}
|
|
4890
5004
|
*
|
|
4891
5005
|
* @param id
|
|
4892
5006
|
* @param options - additional request options
|
|
4893
5007
|
*/
|
|
4894
|
-
|
|
5008
|
+
get_menu_v3_modifier_group_relationships_modifier(
|
|
4895
5009
|
id: string,
|
|
4896
5010
|
options?: {
|
|
4897
|
-
query?:
|
|
5011
|
+
query?: GetMenuV3ModifierGroupRelationshipsModifierQuery;
|
|
4898
5012
|
} & RequestOptions
|
|
4899
|
-
): ResponsePromise<
|
|
5013
|
+
): ResponsePromise<GetMenuV3ModifierGroupRelationshipsModifierResponse> {
|
|
4900
5014
|
return this.request(
|
|
4901
5015
|
"menu",
|
|
4902
|
-
"
|
|
5016
|
+
"get_menu_v3_modifier_group_relationships_modifier",
|
|
4903
5017
|
"get",
|
|
4904
|
-
`/menu/
|
|
5018
|
+
`/menu/v3/modifier-group/relationships/modifier/${id}`,
|
|
4905
5019
|
null,
|
|
4906
5020
|
options
|
|
4907
5021
|
);
|
|
4908
5022
|
}
|
|
4909
5023
|
|
|
4910
5024
|
/**
|
|
4911
|
-
* PATCH /menu/
|
|
5025
|
+
* PATCH /menu/v3/modifier-group/relationships/modifier/{id}
|
|
4912
5026
|
*
|
|
4913
5027
|
* @param id
|
|
4914
5028
|
* @param body
|
|
4915
5029
|
* @param options - additional request options
|
|
4916
5030
|
*/
|
|
4917
|
-
|
|
5031
|
+
patch_menu_v3_modifier_group_relationships_modifier(
|
|
4918
5032
|
id: string,
|
|
4919
|
-
body:
|
|
5033
|
+
body: PatchMenuV3ModifierGroupRelationshipsModifierBody,
|
|
4920
5034
|
options?: RequestOptions
|
|
4921
|
-
): ResponsePromise<
|
|
5035
|
+
): ResponsePromise<PatchMenuV3ModifierGroupRelationshipsModifierResponse> {
|
|
4922
5036
|
return this.request(
|
|
4923
5037
|
"menu",
|
|
4924
|
-
"
|
|
5038
|
+
"patch_menu_v3_modifier_group_relationships_modifier",
|
|
4925
5039
|
"patch",
|
|
4926
|
-
`/menu/
|
|
5040
|
+
`/menu/v3/modifier-group/relationships/modifier/${id}`,
|
|
4927
5041
|
body,
|
|
4928
5042
|
options
|
|
4929
5043
|
);
|
|
4930
5044
|
}
|
|
4931
5045
|
|
|
4932
5046
|
/**
|
|
4933
|
-
* GET /menu/
|
|
5047
|
+
* GET /menu/v3/items
|
|
4934
5048
|
*
|
|
4935
5049
|
* @param options - additional request options
|
|
4936
5050
|
*/
|
|
4937
|
-
|
|
5051
|
+
get_menu_v3_items(
|
|
4938
5052
|
options?: {
|
|
4939
|
-
query?:
|
|
5053
|
+
query?: GetMenuV3ItemsQuery;
|
|
4940
5054
|
} & RequestOptions
|
|
4941
|
-
): ResponsePromise<
|
|
4942
|
-
return this.request("menu", "
|
|
5055
|
+
): ResponsePromise<GetMenuV3ItemsResponse> {
|
|
5056
|
+
return this.request("menu", "get_menu_v3_items", "get", `/menu/v3/items`, null, options);
|
|
4943
5057
|
}
|
|
4944
5058
|
|
|
4945
5059
|
/**
|
|
4946
|
-
* GET /menu/
|
|
5060
|
+
* GET /menu/v3/item/{id}
|
|
4947
5061
|
*
|
|
4948
5062
|
* @param id
|
|
4949
5063
|
* @param options - additional request options
|
|
4950
5064
|
*/
|
|
4951
|
-
|
|
5065
|
+
get_menu_v3_item(
|
|
4952
5066
|
id: string,
|
|
4953
5067
|
options?: {
|
|
4954
|
-
query?:
|
|
5068
|
+
query?: GetMenuV3ItemQuery;
|
|
4955
5069
|
} & RequestOptions
|
|
4956
|
-
): ResponsePromise<
|
|
4957
|
-
return this.request("menu", "
|
|
5070
|
+
): ResponsePromise<GetMenuV3ItemResponse> {
|
|
5071
|
+
return this.request("menu", "get_menu_v3_item", "get", `/menu/v3/item/${id}`, null, options);
|
|
4958
5072
|
}
|
|
4959
5073
|
|
|
4960
5074
|
/**
|
|
4961
|
-
* PATCH /menu/
|
|
5075
|
+
* PATCH /menu/v3/item/{id}
|
|
4962
5076
|
*
|
|
4963
5077
|
* @param id
|
|
4964
5078
|
* @param body
|
|
4965
5079
|
* @param options - additional request options
|
|
4966
5080
|
*/
|
|
4967
|
-
|
|
5081
|
+
patch_menu_v3_item(
|
|
4968
5082
|
id: string,
|
|
4969
|
-
body:
|
|
5083
|
+
body: PatchMenuV3ItemBody,
|
|
4970
5084
|
options?: RequestOptions
|
|
4971
|
-
): ResponsePromise<
|
|
5085
|
+
): ResponsePromise<PatchMenuV3ItemResponse> {
|
|
4972
5086
|
return this.request(
|
|
4973
5087
|
"menu",
|
|
4974
|
-
"
|
|
5088
|
+
"patch_menu_v3_item",
|
|
4975
5089
|
"patch",
|
|
4976
|
-
`/menu/
|
|
5090
|
+
`/menu/v3/item/${id}`,
|
|
4977
5091
|
body,
|
|
4978
5092
|
options
|
|
4979
5093
|
);
|
|
4980
5094
|
}
|
|
4981
5095
|
|
|
4982
5096
|
/**
|
|
4983
|
-
* POST /menu/
|
|
5097
|
+
* POST /menu/v3/item
|
|
4984
5098
|
*
|
|
4985
5099
|
* @param body
|
|
4986
5100
|
* @param options - additional request options
|
|
4987
5101
|
*/
|
|
4988
|
-
|
|
4989
|
-
body:
|
|
5102
|
+
post_menu_v3_item(
|
|
5103
|
+
body: PostMenuV3ItemBody,
|
|
4990
5104
|
options?: RequestOptions
|
|
4991
|
-
): ResponsePromise<
|
|
4992
|
-
return this.request("menu", "
|
|
5105
|
+
): ResponsePromise<PostMenuV3ItemResponse> {
|
|
5106
|
+
return this.request("menu", "post_menu_v3_item", "post", `/menu/v3/item`, body, options);
|
|
4993
5107
|
}
|
|
4994
5108
|
|
|
4995
5109
|
/**
|
|
4996
|
-
* GET /menu/
|
|
5110
|
+
* GET /menu/v3/items/count
|
|
4997
5111
|
*
|
|
4998
5112
|
* @param options - additional request options
|
|
4999
5113
|
*/
|
|
5000
|
-
|
|
5114
|
+
get_menu_v3_items_count(
|
|
5001
5115
|
options?: {
|
|
5002
|
-
query?:
|
|
5116
|
+
query?: GetMenuV3ItemsCountQuery;
|
|
5003
5117
|
} & RequestOptions
|
|
5004
|
-
): ResponsePromise<
|
|
5118
|
+
): ResponsePromise<GetMenuV3ItemsCountResponse> {
|
|
5005
5119
|
return this.request(
|
|
5006
5120
|
"menu",
|
|
5007
|
-
"
|
|
5121
|
+
"get_menu_v3_items_count",
|
|
5008
5122
|
"get",
|
|
5009
|
-
`/menu/
|
|
5123
|
+
`/menu/v3/items/count`,
|
|
5010
5124
|
null,
|
|
5011
5125
|
options
|
|
5012
5126
|
);
|
|
5013
5127
|
}
|
|
5014
5128
|
|
|
5015
5129
|
/**
|
|
5016
|
-
* GET /menu/
|
|
5130
|
+
* GET /menu/v3/item/relationships/modifier-groups
|
|
5017
5131
|
*
|
|
5018
5132
|
* @param options - additional request options
|
|
5019
5133
|
*/
|
|
5020
|
-
|
|
5134
|
+
get_menu_v3_item_relationships_modifier_groups(
|
|
5021
5135
|
options?: {
|
|
5022
|
-
query?:
|
|
5136
|
+
query?: GetMenuV3ItemRelationshipsModifierGroupsQuery;
|
|
5023
5137
|
} & RequestOptions
|
|
5024
|
-
): ResponsePromise<
|
|
5138
|
+
): ResponsePromise<GetMenuV3ItemRelationshipsModifierGroupsResponse> {
|
|
5025
5139
|
return this.request(
|
|
5026
5140
|
"menu",
|
|
5027
|
-
"
|
|
5141
|
+
"get_menu_v3_item_relationships_modifier_groups",
|
|
5028
5142
|
"get",
|
|
5029
|
-
`/menu/
|
|
5143
|
+
`/menu/v3/item/relationships/modifier-groups`,
|
|
5030
5144
|
null,
|
|
5031
5145
|
options
|
|
5032
5146
|
);
|
|
5033
5147
|
}
|
|
5034
5148
|
|
|
5035
5149
|
/**
|
|
5036
|
-
* 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
|
|
5171
|
+
*
|
|
5172
|
+
* @param body
|
|
5173
|
+
* @param options - additional request options
|
|
5174
|
+
*/
|
|
5175
|
+
post_menu_v3_item_relationships_modifier_group(
|
|
5176
|
+
body: PostMenuV3ItemRelationshipsModifierGroupBody,
|
|
5177
|
+
options?: RequestOptions
|
|
5178
|
+
): ResponsePromise<PostMenuV3ItemRelationshipsModifierGroupResponse> {
|
|
5179
|
+
return this.request(
|
|
5180
|
+
"menu",
|
|
5181
|
+
"post_menu_v3_item_relationships_modifier_group",
|
|
5182
|
+
"post",
|
|
5183
|
+
`/menu/v3/item/relationships/modifier-group`,
|
|
5184
|
+
body,
|
|
5185
|
+
options
|
|
5186
|
+
);
|
|
5187
|
+
}
|
|
5188
|
+
|
|
5189
|
+
/**
|
|
5190
|
+
* PATCH /menu/v3/item/relationships/modifier-group/{id}
|
|
5191
|
+
*
|
|
5192
|
+
* @param id
|
|
5193
|
+
* @param body
|
|
5194
|
+
* @param options - additional request options
|
|
5195
|
+
*/
|
|
5196
|
+
patch_menu_v3_item_relationships_modifier_group(
|
|
5197
|
+
id: string,
|
|
5198
|
+
body: PatchMenuV3ItemRelationshipsModifierGroupBody,
|
|
5199
|
+
options?: RequestOptions
|
|
5200
|
+
): ResponsePromise<PatchMenuV3ItemRelationshipsModifierGroupResponse> {
|
|
5201
|
+
return this.request(
|
|
5202
|
+
"menu",
|
|
5203
|
+
"patch_menu_v3_item_relationships_modifier_group",
|
|
5204
|
+
"patch",
|
|
5205
|
+
`/menu/v3/item/relationships/modifier-group/${id}`,
|
|
5206
|
+
body,
|
|
5207
|
+
options
|
|
5208
|
+
);
|
|
5209
|
+
}
|
|
5210
|
+
|
|
5211
|
+
/**
|
|
5212
|
+
* DELETE /menu/v3/item/relationships/modifier-group/{id}
|
|
5213
|
+
*
|
|
5214
|
+
* @param id
|
|
5215
|
+
* @param options - additional request options
|
|
5216
|
+
*/
|
|
5217
|
+
delete_menu_v3_item_relationships_modifier_group(
|
|
5218
|
+
id: string,
|
|
5219
|
+
options?: RequestOptions
|
|
5220
|
+
): ResponsePromise<DeleteMenuV3ItemRelationshipsModifierGroupResponse> {
|
|
5221
|
+
return this.request(
|
|
5222
|
+
"menu",
|
|
5223
|
+
"delete_menu_v3_item_relationships_modifier_group",
|
|
5224
|
+
"delete",
|
|
5225
|
+
`/menu/v3/item/relationships/modifier-group/${id}`,
|
|
5226
|
+
null,
|
|
5227
|
+
options
|
|
5228
|
+
);
|
|
5229
|
+
}
|
|
5230
|
+
|
|
5231
|
+
/**
|
|
5232
|
+
* GET /menu/v3/menus
|
|
5233
|
+
*
|
|
5234
|
+
* @param options - additional request options
|
|
5235
|
+
*/
|
|
5236
|
+
get_menu_v3_menus(
|
|
5237
|
+
options?: {
|
|
5238
|
+
query?: GetMenuV3MenusQuery;
|
|
5239
|
+
} & RequestOptions
|
|
5240
|
+
): ResponsePromise<GetMenuV3MenusResponse> {
|
|
5241
|
+
return this.request("menu", "get_menu_v3_menus", "get", `/menu/v3/menus`, null, options);
|
|
5242
|
+
}
|
|
5243
|
+
|
|
5244
|
+
/**
|
|
5245
|
+
* GET /menu/v3/menu/{id}
|
|
5246
|
+
*
|
|
5247
|
+
* @param id
|
|
5248
|
+
* @param options - additional request options
|
|
5249
|
+
*/
|
|
5250
|
+
get_menu_v3_menu(
|
|
5251
|
+
id: string,
|
|
5252
|
+
options?: {
|
|
5253
|
+
query?: GetMenuV3MenuQuery;
|
|
5254
|
+
} & RequestOptions
|
|
5255
|
+
): ResponsePromise<GetMenuV3MenuResponse> {
|
|
5256
|
+
return this.request("menu", "get_menu_v3_menu", "get", `/menu/v3/menu/${id}`, null, options);
|
|
5257
|
+
}
|
|
5258
|
+
|
|
5259
|
+
/**
|
|
5260
|
+
* PATCH /menu/v3/menu/{id}
|
|
5261
|
+
*
|
|
5262
|
+
* @param id
|
|
5263
|
+
* @param body
|
|
5264
|
+
* @param options - additional request options
|
|
5265
|
+
*/
|
|
5266
|
+
patch_menu_v3_menu(
|
|
5267
|
+
id: string,
|
|
5268
|
+
body: PatchMenuV3MenuBody,
|
|
5269
|
+
options?: RequestOptions
|
|
5270
|
+
): ResponsePromise<PatchMenuV3MenuResponse> {
|
|
5271
|
+
return this.request(
|
|
5272
|
+
"menu",
|
|
5273
|
+
"patch_menu_v3_menu",
|
|
5274
|
+
"patch",
|
|
5275
|
+
`/menu/v3/menu/${id}`,
|
|
5276
|
+
body,
|
|
5277
|
+
options
|
|
5278
|
+
);
|
|
5279
|
+
}
|
|
5280
|
+
|
|
5281
|
+
/**
|
|
5282
|
+
* DELETE /menu/v3/menu/{id}
|
|
5283
|
+
*
|
|
5284
|
+
* @param id
|
|
5285
|
+
* @param options - additional request options
|
|
5286
|
+
*/
|
|
5287
|
+
delete_menu_v3_menu(
|
|
5288
|
+
id: string,
|
|
5289
|
+
options?: RequestOptions
|
|
5290
|
+
): ResponsePromise<DeleteMenuV3MenuResponse> {
|
|
5291
|
+
return this.request(
|
|
5292
|
+
"menu",
|
|
5293
|
+
"delete_menu_v3_menu",
|
|
5294
|
+
"delete",
|
|
5295
|
+
`/menu/v3/menu/${id}`,
|
|
5296
|
+
null,
|
|
5297
|
+
options
|
|
5298
|
+
);
|
|
5299
|
+
}
|
|
5300
|
+
|
|
5301
|
+
/**
|
|
5302
|
+
* POST /menu/v3/menu
|
|
5303
|
+
*
|
|
5304
|
+
* @param body
|
|
5305
|
+
* @param options - additional request options
|
|
5306
|
+
*/
|
|
5307
|
+
post_menu_v3_menu(
|
|
5308
|
+
body: PostMenuV3MenuBody,
|
|
5309
|
+
options?: RequestOptions
|
|
5310
|
+
): ResponsePromise<PostMenuV3MenuResponse> {
|
|
5311
|
+
return this.request("menu", "post_menu_v3_menu", "post", `/menu/v3/menu`, body, options);
|
|
5312
|
+
}
|
|
5313
|
+
|
|
5314
|
+
/**
|
|
5315
|
+
* GET /menu/v3/menus/count
|
|
5316
|
+
*
|
|
5317
|
+
* @param options - additional request options
|
|
5318
|
+
*/
|
|
5319
|
+
get_menu_v3_menus_count(
|
|
5320
|
+
options?: {
|
|
5321
|
+
query?: GetMenuV3MenusCountQuery;
|
|
5322
|
+
} & RequestOptions
|
|
5323
|
+
): ResponsePromise<GetMenuV3MenusCountResponse> {
|
|
5324
|
+
return this.request(
|
|
5325
|
+
"menu",
|
|
5326
|
+
"get_menu_v3_menus_count",
|
|
5327
|
+
"get",
|
|
5328
|
+
`/menu/v3/menus/count`,
|
|
5329
|
+
null,
|
|
5330
|
+
options
|
|
5331
|
+
);
|
|
5332
|
+
}
|
|
5333
|
+
|
|
5334
|
+
/**
|
|
5335
|
+
* GET /menu/v3/layouts
|
|
5336
|
+
*
|
|
5337
|
+
* @param options - additional request options
|
|
5338
|
+
*/
|
|
5339
|
+
get_menu_v3_layouts(
|
|
5340
|
+
options?: {
|
|
5341
|
+
query?: GetMenuV3LayoutsQuery;
|
|
5342
|
+
} & RequestOptions
|
|
5343
|
+
): ResponsePromise<GetMenuV3LayoutsResponse> {
|
|
5344
|
+
return this.request("menu", "get_menu_v3_layouts", "get", `/menu/v3/layouts`, null, options);
|
|
5345
|
+
}
|
|
5346
|
+
|
|
5347
|
+
/**
|
|
5348
|
+
* GET /menu/v3/layout/{id}
|
|
5349
|
+
*
|
|
5350
|
+
* @param id
|
|
5351
|
+
* @param options - additional request options
|
|
5352
|
+
*/
|
|
5353
|
+
get_menu_v3_layout(
|
|
5354
|
+
id: string,
|
|
5355
|
+
options?: {
|
|
5356
|
+
query?: GetMenuV3LayoutQuery;
|
|
5357
|
+
} & RequestOptions
|
|
5358
|
+
): ResponsePromise<GetMenuV3LayoutResponse> {
|
|
5359
|
+
return this.request(
|
|
5360
|
+
"menu",
|
|
5361
|
+
"get_menu_v3_layout",
|
|
5362
|
+
"get",
|
|
5363
|
+
`/menu/v3/layout/${id}`,
|
|
5364
|
+
null,
|
|
5365
|
+
options
|
|
5366
|
+
);
|
|
5367
|
+
}
|
|
5368
|
+
|
|
5369
|
+
/**
|
|
5370
|
+
* PATCH /menu/v3/layout/{id}
|
|
5371
|
+
*
|
|
5372
|
+
* @param id
|
|
5373
|
+
* @param body
|
|
5374
|
+
* @param options - additional request options
|
|
5375
|
+
*/
|
|
5376
|
+
patch_menu_v3_layout(
|
|
5377
|
+
id: string,
|
|
5378
|
+
body: PatchMenuV3LayoutBody,
|
|
5379
|
+
options?: RequestOptions
|
|
5380
|
+
): ResponsePromise<PatchMenuV3LayoutResponse> {
|
|
5381
|
+
return this.request(
|
|
5382
|
+
"menu",
|
|
5383
|
+
"patch_menu_v3_layout",
|
|
5384
|
+
"patch",
|
|
5385
|
+
`/menu/v3/layout/${id}`,
|
|
5386
|
+
body,
|
|
5387
|
+
options
|
|
5388
|
+
);
|
|
5389
|
+
}
|
|
5390
|
+
|
|
5391
|
+
/**
|
|
5392
|
+
* DELETE /menu/v3/layout/{id}
|
|
5393
|
+
*
|
|
5394
|
+
* @param id
|
|
5395
|
+
* @param options - additional request options
|
|
5396
|
+
*/
|
|
5397
|
+
delete_menu_v3_layout(
|
|
5398
|
+
id: string,
|
|
5399
|
+
options?: RequestOptions
|
|
5400
|
+
): ResponsePromise<DeleteMenuV3LayoutResponse> {
|
|
5401
|
+
return this.request(
|
|
5402
|
+
"menu",
|
|
5403
|
+
"delete_menu_v3_layout",
|
|
5404
|
+
"delete",
|
|
5405
|
+
`/menu/v3/layout/${id}`,
|
|
5406
|
+
null,
|
|
5407
|
+
options
|
|
5408
|
+
);
|
|
5409
|
+
}
|
|
5410
|
+
|
|
5411
|
+
/**
|
|
5412
|
+
* POST /menu/v3/layout
|
|
5413
|
+
*
|
|
5414
|
+
* @param body
|
|
5415
|
+
* @param options - additional request options
|
|
5416
|
+
*/
|
|
5417
|
+
post_menu_v3_layout(
|
|
5418
|
+
body: PostMenuV3LayoutBody,
|
|
5419
|
+
options?: RequestOptions
|
|
5420
|
+
): ResponsePromise<PostMenuV3LayoutResponse> {
|
|
5421
|
+
return this.request("menu", "post_menu_v3_layout", "post", `/menu/v3/layout`, body, options);
|
|
5422
|
+
}
|
|
5423
|
+
|
|
5424
|
+
/**
|
|
5425
|
+
* GET /menu/v3/layouts/count
|
|
5426
|
+
*
|
|
5427
|
+
* @param options - additional request options
|
|
5428
|
+
*/
|
|
5429
|
+
get_menu_v3_layouts_count(
|
|
5430
|
+
options?: {
|
|
5431
|
+
query?: GetMenuV3LayoutsCountQuery;
|
|
5432
|
+
} & RequestOptions
|
|
5433
|
+
): ResponsePromise<GetMenuV3LayoutsCountResponse> {
|
|
5434
|
+
return this.request(
|
|
5435
|
+
"menu",
|
|
5436
|
+
"get_menu_v3_layouts_count",
|
|
5437
|
+
"get",
|
|
5438
|
+
`/menu/v3/layouts/count`,
|
|
5439
|
+
null,
|
|
5440
|
+
options
|
|
5441
|
+
);
|
|
5442
|
+
}
|
|
5443
|
+
|
|
5444
|
+
/**
|
|
5445
|
+
* GET /menu/v3/categories
|
|
5446
|
+
*
|
|
5447
|
+
* @param options - additional request options
|
|
5448
|
+
*/
|
|
5449
|
+
get_menu_v3_categories(
|
|
5450
|
+
options?: {
|
|
5451
|
+
query?: GetMenuV3CategoriesQuery;
|
|
5452
|
+
} & RequestOptions
|
|
5453
|
+
): ResponsePromise<GetMenuV3CategoriesResponse> {
|
|
5454
|
+
return this.request(
|
|
5455
|
+
"menu",
|
|
5456
|
+
"get_menu_v3_categories",
|
|
5457
|
+
"get",
|
|
5458
|
+
`/menu/v3/categories`,
|
|
5459
|
+
null,
|
|
5460
|
+
options
|
|
5461
|
+
);
|
|
5462
|
+
}
|
|
5463
|
+
|
|
5464
|
+
/**
|
|
5465
|
+
* GET /menu/v3/category/{id}
|
|
5466
|
+
*
|
|
5467
|
+
* @param id
|
|
5468
|
+
* @param options - additional request options
|
|
5469
|
+
*/
|
|
5470
|
+
get_menu_v3_category(
|
|
5471
|
+
id: string,
|
|
5472
|
+
options?: {
|
|
5473
|
+
query?: GetMenuV3CategoryQuery;
|
|
5474
|
+
} & RequestOptions
|
|
5475
|
+
): ResponsePromise<GetMenuV3CategoryResponse> {
|
|
5476
|
+
return this.request(
|
|
5477
|
+
"menu",
|
|
5478
|
+
"get_menu_v3_category",
|
|
5479
|
+
"get",
|
|
5480
|
+
`/menu/v3/category/${id}`,
|
|
5481
|
+
null,
|
|
5482
|
+
options
|
|
5483
|
+
);
|
|
5484
|
+
}
|
|
5485
|
+
|
|
5486
|
+
/**
|
|
5487
|
+
* PATCH /menu/v3/category/{id}
|
|
5488
|
+
*
|
|
5489
|
+
* @param id
|
|
5490
|
+
* @param body
|
|
5491
|
+
* @param options - additional request options
|
|
5492
|
+
*/
|
|
5493
|
+
patch_menu_v3_category(
|
|
5494
|
+
id: string,
|
|
5495
|
+
body: PatchMenuV3CategoryBody,
|
|
5496
|
+
options?: RequestOptions
|
|
5497
|
+
): ResponsePromise<PatchMenuV3CategoryResponse> {
|
|
5498
|
+
return this.request(
|
|
5499
|
+
"menu",
|
|
5500
|
+
"patch_menu_v3_category",
|
|
5501
|
+
"patch",
|
|
5502
|
+
`/menu/v3/category/${id}`,
|
|
5503
|
+
body,
|
|
5504
|
+
options
|
|
5505
|
+
);
|
|
5506
|
+
}
|
|
5507
|
+
|
|
5508
|
+
/**
|
|
5509
|
+
* DELETE /menu/v3/category/{id}
|
|
5510
|
+
*
|
|
5511
|
+
* @param id
|
|
5512
|
+
* @param options - additional request options
|
|
5513
|
+
*/
|
|
5514
|
+
delete_menu_v3_category(
|
|
5515
|
+
id: string,
|
|
5516
|
+
options?: RequestOptions
|
|
5517
|
+
): ResponsePromise<DeleteMenuV3CategoryResponse> {
|
|
5518
|
+
return this.request(
|
|
5519
|
+
"menu",
|
|
5520
|
+
"delete_menu_v3_category",
|
|
5521
|
+
"delete",
|
|
5522
|
+
`/menu/v3/category/${id}`,
|
|
5523
|
+
null,
|
|
5524
|
+
options
|
|
5525
|
+
);
|
|
5526
|
+
}
|
|
5527
|
+
|
|
5528
|
+
/**
|
|
5529
|
+
* POST /menu/v3/category
|
|
5530
|
+
*
|
|
5531
|
+
* @param body
|
|
5532
|
+
* @param options - additional request options
|
|
5533
|
+
*/
|
|
5534
|
+
post_menu_v3_category(
|
|
5535
|
+
body: PostMenuV3CategoryBody,
|
|
5536
|
+
options?: RequestOptions
|
|
5537
|
+
): ResponsePromise<PostMenuV3CategoryResponse> {
|
|
5538
|
+
return this.request(
|
|
5539
|
+
"menu",
|
|
5540
|
+
"post_menu_v3_category",
|
|
5541
|
+
"post",
|
|
5542
|
+
`/menu/v3/category`,
|
|
5543
|
+
body,
|
|
5544
|
+
options
|
|
5545
|
+
);
|
|
5546
|
+
}
|
|
5547
|
+
|
|
5548
|
+
/**
|
|
5549
|
+
* GET /menu/v3/categories/count
|
|
5550
|
+
*
|
|
5551
|
+
* @param options - additional request options
|
|
5552
|
+
*/
|
|
5553
|
+
get_menu_v3_categories_count(
|
|
5554
|
+
options?: {
|
|
5555
|
+
query?: GetMenuV3CategoriesCountQuery;
|
|
5556
|
+
} & RequestOptions
|
|
5557
|
+
): ResponsePromise<GetMenuV3CategoriesCountResponse> {
|
|
5558
|
+
return this.request(
|
|
5559
|
+
"menu",
|
|
5560
|
+
"get_menu_v3_categories_count",
|
|
5561
|
+
"get",
|
|
5562
|
+
`/menu/v3/categories/count`,
|
|
5563
|
+
null,
|
|
5564
|
+
options
|
|
5565
|
+
);
|
|
5566
|
+
}
|
|
5567
|
+
|
|
5568
|
+
/**
|
|
5569
|
+
* GET /menu/v3/category/relationships/items
|
|
5570
|
+
*
|
|
5571
|
+
* @param options - additional request options
|
|
5572
|
+
*/
|
|
5573
|
+
get_menu_v3_category_relationships_items(
|
|
5574
|
+
options?: {
|
|
5575
|
+
query?: GetMenuV3CategoryRelationshipsItemsQuery;
|
|
5576
|
+
} & RequestOptions
|
|
5577
|
+
): ResponsePromise<GetMenuV3CategoryRelationshipsItemsResponse> {
|
|
5578
|
+
return this.request(
|
|
5579
|
+
"menu",
|
|
5580
|
+
"get_menu_v3_category_relationships_items",
|
|
5581
|
+
"get",
|
|
5582
|
+
`/menu/v3/category/relationships/items`,
|
|
5583
|
+
null,
|
|
5584
|
+
options
|
|
5585
|
+
);
|
|
5586
|
+
}
|
|
5587
|
+
|
|
5588
|
+
/**
|
|
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
|
|
5037
5610
|
*
|
|
5038
5611
|
* @param body
|
|
5039
5612
|
* @param options - additional request options
|
|
5040
5613
|
*/
|
|
5041
|
-
|
|
5042
|
-
body:
|
|
5614
|
+
post_menu_v3_category_relationships_item(
|
|
5615
|
+
body: PostMenuV3CategoryRelationshipsItemBody,
|
|
5043
5616
|
options?: RequestOptions
|
|
5044
|
-
): ResponsePromise<
|
|
5617
|
+
): ResponsePromise<PostMenuV3CategoryRelationshipsItemResponse> {
|
|
5045
5618
|
return this.request(
|
|
5046
5619
|
"menu",
|
|
5047
|
-
"
|
|
5620
|
+
"post_menu_v3_category_relationships_item",
|
|
5048
5621
|
"post",
|
|
5049
|
-
`/menu/
|
|
5622
|
+
`/menu/v3/category/relationships/item`,
|
|
5050
5623
|
body,
|
|
5051
5624
|
options
|
|
5052
5625
|
);
|
|
5053
5626
|
}
|
|
5054
5627
|
|
|
5055
5628
|
/**
|
|
5056
|
-
* PATCH /menu/
|
|
5629
|
+
* PATCH /menu/v3/category/relationships/item/{id}
|
|
5057
5630
|
*
|
|
5058
5631
|
* @param id
|
|
5059
5632
|
* @param body
|
|
5060
5633
|
* @param options - additional request options
|
|
5061
5634
|
*/
|
|
5062
|
-
|
|
5635
|
+
patch_menu_v3_category_relationships_item(
|
|
5063
5636
|
id: string,
|
|
5064
|
-
body:
|
|
5637
|
+
body: PatchMenuV3CategoryRelationshipsItemBody,
|
|
5065
5638
|
options?: RequestOptions
|
|
5066
|
-
): ResponsePromise<
|
|
5639
|
+
): ResponsePromise<PatchMenuV3CategoryRelationshipsItemResponse> {
|
|
5067
5640
|
return this.request(
|
|
5068
5641
|
"menu",
|
|
5069
|
-
"
|
|
5642
|
+
"patch_menu_v3_category_relationships_item",
|
|
5070
5643
|
"patch",
|
|
5071
|
-
`/menu/
|
|
5644
|
+
`/menu/v3/category/relationships/item/${id}`,
|
|
5072
5645
|
body,
|
|
5073
5646
|
options
|
|
5074
5647
|
);
|
|
5075
5648
|
}
|
|
5076
5649
|
|
|
5077
5650
|
/**
|
|
5078
|
-
* DELETE /menu/
|
|
5651
|
+
* DELETE /menu/v3/category/relationships/item/{id}
|
|
5079
5652
|
*
|
|
5080
5653
|
* @param id
|
|
5081
5654
|
* @param options - additional request options
|
|
5082
5655
|
*/
|
|
5083
|
-
|
|
5656
|
+
delete_menu_v3_category_relationships_item(
|
|
5084
5657
|
id: string,
|
|
5085
5658
|
options?: RequestOptions
|
|
5086
|
-
): ResponsePromise<
|
|
5659
|
+
): ResponsePromise<DeleteMenuV3CategoryRelationshipsItemResponse> {
|
|
5087
5660
|
return this.request(
|
|
5088
5661
|
"menu",
|
|
5089
|
-
"
|
|
5662
|
+
"delete_menu_v3_category_relationships_item",
|
|
5090
5663
|
"delete",
|
|
5091
|
-
`/menu/
|
|
5664
|
+
`/menu/v3/category/relationships/item/${id}`,
|
|
5092
5665
|
null,
|
|
5093
5666
|
options
|
|
5094
5667
|
);
|