@compassdigital/sdk.typescript 4.59.0 → 4.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +231 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +259 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/mealplan.d.ts +1 -0
- package/lib/interface/mealplan.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +340 -22
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/shoppingcart.d.ts +2 -0
- package/lib/interface/shoppingcart.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +651 -1
- package/src/interface/mealplan.ts +2 -0
- package/src/interface/menu.ts +574 -40
- package/src/interface/shoppingcart.ts +2 -0
package/lib/index.js
CHANGED
|
@@ -2285,6 +2285,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2285
2285
|
get_menu_v3_local_menu_groups_count(options) {
|
|
2286
2286
|
return this.request("menu", "get_menu_v3_local_menu_groups_count", "get", `/menu/v3/local-menu-groups/count`, null, options);
|
|
2287
2287
|
}
|
|
2288
|
+
/**
|
|
2289
|
+
* POST /menu/v3/local-menu-group/{id}/recover
|
|
2290
|
+
*
|
|
2291
|
+
* @param id
|
|
2292
|
+
* @param options - additional request options
|
|
2293
|
+
*/
|
|
2294
|
+
post_menu_v3_local_menu_group_recover(id, options) {
|
|
2295
|
+
return this.request("menu", "post_menu_v3_local_menu_group_recover", "post", `/menu/v3/local-menu-group/${id}/recover`, null, options);
|
|
2296
|
+
}
|
|
2288
2297
|
/**
|
|
2289
2298
|
* GET /menu/v3/draft/local-menu-group/{id}/brands
|
|
2290
2299
|
*
|
|
@@ -2357,6 +2366,14 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2357
2366
|
delete_menu_v3_local_menu_groups_site_groups(body, options) {
|
|
2358
2367
|
return this.request("menu", "delete_menu_v3_local_menu_groups_site_groups", "delete", `/menu/v3/local-menu-groups/site-groups`, body, options);
|
|
2359
2368
|
}
|
|
2369
|
+
/**
|
|
2370
|
+
* GET /menu/v3/local-menu-group/export/solutions
|
|
2371
|
+
*
|
|
2372
|
+
* @param options - additional request options
|
|
2373
|
+
*/
|
|
2374
|
+
get_menu_v3_local_menu_group_export_solutions(options) {
|
|
2375
|
+
return this.request("menu", "get_menu_v3_local_menu_group_export_solutions", "get", `/menu/v3/local-menu-group/export/solutions`, null, options);
|
|
2376
|
+
}
|
|
2360
2377
|
/**
|
|
2361
2378
|
* POST /menu/v3/global-menu-group
|
|
2362
2379
|
*
|
|
@@ -2419,6 +2436,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2419
2436
|
get_menu_v3_global_menu_groups_count(options) {
|
|
2420
2437
|
return this.request("menu", "get_menu_v3_global_menu_groups_count", "get", `/menu/v3/global-menu-groups/count`, null, options);
|
|
2421
2438
|
}
|
|
2439
|
+
/**
|
|
2440
|
+
* POST /menu/v3/global-menu-group/{id}/recover
|
|
2441
|
+
*
|
|
2442
|
+
* @param id
|
|
2443
|
+
* @param options - additional request options
|
|
2444
|
+
*/
|
|
2445
|
+
post_menu_v3_global_menu_group_recover(id, options) {
|
|
2446
|
+
return this.request("menu", "post_menu_v3_global_menu_group_recover", "post", `/menu/v3/global-menu-group/${id}/recover`, null, options);
|
|
2447
|
+
}
|
|
2422
2448
|
/**
|
|
2423
2449
|
* GET /menu/v3/draft/global-menu-group/{id}/brands
|
|
2424
2450
|
*
|
|
@@ -2499,6 +2525,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2499
2525
|
get_menu_v3_draft_brands_count(options) {
|
|
2500
2526
|
return this.request("menu", "get_menu_v3_draft_brands_count", "get", `/menu/v3/draft/brands/count`, null, options);
|
|
2501
2527
|
}
|
|
2528
|
+
/**
|
|
2529
|
+
* POST /menu/v3/draft/brand/{id}/recover
|
|
2530
|
+
*
|
|
2531
|
+
* @param id
|
|
2532
|
+
* @param options - additional request options
|
|
2533
|
+
*/
|
|
2534
|
+
post_menu_v3_draft_brand_recover(id, options) {
|
|
2535
|
+
return this.request("menu", "post_menu_v3_draft_brand_recover", "post", `/menu/v3/draft/brand/${id}/recover`, null, options);
|
|
2536
|
+
}
|
|
2502
2537
|
/**
|
|
2503
2538
|
* GET /menu/v3/draft/brand/{id}/audits
|
|
2504
2539
|
*
|
|
@@ -2689,6 +2724,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2689
2724
|
get_menu_v3_brands_count(options) {
|
|
2690
2725
|
return this.request("menu", "get_menu_v3_brands_count", "get", `/menu/v3/brands/count`, null, options);
|
|
2691
2726
|
}
|
|
2727
|
+
/**
|
|
2728
|
+
* POST /menu/v3/brand/{id}/recover
|
|
2729
|
+
*
|
|
2730
|
+
* @param id
|
|
2731
|
+
* @param options - additional request options
|
|
2732
|
+
*/
|
|
2733
|
+
post_menu_v3_brand_recover(id, options) {
|
|
2734
|
+
return this.request("menu", "post_menu_v3_brand_recover", "post", `/menu/v3/brand/${id}/recover`, null, options);
|
|
2735
|
+
}
|
|
2692
2736
|
/**
|
|
2693
2737
|
* GET /menu/v3/brand/{id}/menus
|
|
2694
2738
|
*
|
|
@@ -2787,6 +2831,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2787
2831
|
get_menu_v3_draft_menus_count(options) {
|
|
2788
2832
|
return this.request("menu", "get_menu_v3_draft_menus_count", "get", `/menu/v3/draft/menus/count`, null, options);
|
|
2789
2833
|
}
|
|
2834
|
+
/**
|
|
2835
|
+
* POST /menu/v3/draft/menu/{id}/recover
|
|
2836
|
+
*
|
|
2837
|
+
* @param id
|
|
2838
|
+
* @param options - additional request options
|
|
2839
|
+
*/
|
|
2840
|
+
post_menu_v3_draft_menu_recover(id, options) {
|
|
2841
|
+
return this.request("menu", "post_menu_v3_draft_menu_recover", "post", `/menu/v3/draft/menu/${id}/recover`, null, options);
|
|
2842
|
+
}
|
|
2790
2843
|
/**
|
|
2791
2844
|
* GET /menu/v3/draft/menu/{id}/categories
|
|
2792
2845
|
*
|
|
@@ -2830,6 +2883,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2830
2883
|
get_menu_v3_menus_count(options) {
|
|
2831
2884
|
return this.request("menu", "get_menu_v3_menus_count", "get", `/menu/v3/menus/count`, null, options);
|
|
2832
2885
|
}
|
|
2886
|
+
/**
|
|
2887
|
+
* POST /menu/v3/menu/{id}/recover
|
|
2888
|
+
*
|
|
2889
|
+
* @param id
|
|
2890
|
+
* @param options - additional request options
|
|
2891
|
+
*/
|
|
2892
|
+
post_menu_v3_menu_recover(id, options) {
|
|
2893
|
+
return this.request("menu", "post_menu_v3_menu_recover", "post", `/menu/v3/menu/${id}/recover`, null, options);
|
|
2894
|
+
}
|
|
2833
2895
|
/**
|
|
2834
2896
|
* GET /menu/v3/menu/{id}/categories
|
|
2835
2897
|
*
|
|
@@ -2903,6 +2965,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2903
2965
|
post_menu_v3_draft_categories(body, options) {
|
|
2904
2966
|
return this.request("menu", "post_menu_v3_draft_categories", "post", `/menu/v3/draft/categories`, body, options);
|
|
2905
2967
|
}
|
|
2968
|
+
/**
|
|
2969
|
+
* POST /menu/v3/draft/category/{id}/recover
|
|
2970
|
+
*
|
|
2971
|
+
* @param id
|
|
2972
|
+
* @param options - additional request options
|
|
2973
|
+
*/
|
|
2974
|
+
post_menu_v3_draft_category_recover(id, options) {
|
|
2975
|
+
return this.request("menu", "post_menu_v3_draft_category_recover", "post", `/menu/v3/draft/category/${id}/recover`, null, options);
|
|
2976
|
+
}
|
|
2906
2977
|
/**
|
|
2907
2978
|
* POST /menu/v3/draft/category/{id}/attachment/{name}
|
|
2908
2979
|
*
|
|
@@ -2930,6 +3001,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2930
3001
|
get_menu_v3_categorys_count(options) {
|
|
2931
3002
|
return this.request("menu", "get_menu_v3_categorys_count", "get", `/menu/v3/categorys/count`, null, options);
|
|
2932
3003
|
}
|
|
3004
|
+
/**
|
|
3005
|
+
* POST /menu/v3/category/{id}/recover
|
|
3006
|
+
*
|
|
3007
|
+
* @param id
|
|
3008
|
+
* @param options - additional request options
|
|
3009
|
+
*/
|
|
3010
|
+
post_menu_v3_category_recover(id, options) {
|
|
3011
|
+
return this.request("menu", "post_menu_v3_category_recover", "post", `/menu/v3/category/${id}/recover`, null, options);
|
|
3012
|
+
}
|
|
2933
3013
|
/**
|
|
2934
3014
|
* POST /menu/v3/draft/category/relationships/item
|
|
2935
3015
|
*
|
|
@@ -2992,6 +3072,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2992
3072
|
get_menu_v3_draft_category_relationships_items_count(options) {
|
|
2993
3073
|
return this.request("menu", "get_menu_v3_draft_category_relationships_items_count", "get", `/menu/v3/draft/category/relationships/items/count`, null, options);
|
|
2994
3074
|
}
|
|
3075
|
+
/**
|
|
3076
|
+
* POST /menu/v3/draft/category/relationships/item/{id}/recover
|
|
3077
|
+
*
|
|
3078
|
+
* @param id
|
|
3079
|
+
* @param options - additional request options
|
|
3080
|
+
*/
|
|
3081
|
+
post_menu_v3_draft_category_relationships_item_recover(id, options) {
|
|
3082
|
+
return this.request("menu", "post_menu_v3_draft_category_relationships_item_recover", "post", `/menu/v3/draft/category/relationships/item/${id}/recover`, null, options);
|
|
3083
|
+
}
|
|
2995
3084
|
/**
|
|
2996
3085
|
* GET /menu/v3/category/relationships/item/{id}
|
|
2997
3086
|
*
|
|
@@ -3017,6 +3106,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3017
3106
|
get_menu_v3_category_relationships_items_count(options) {
|
|
3018
3107
|
return this.request("menu", "get_menu_v3_category_relationships_items_count", "get", `/menu/v3/category/relationships/items/count`, null, options);
|
|
3019
3108
|
}
|
|
3109
|
+
/**
|
|
3110
|
+
* POST /menu/v3/category/relationships/item/{id}/recover
|
|
3111
|
+
*
|
|
3112
|
+
* @param id
|
|
3113
|
+
* @param options - additional request options
|
|
3114
|
+
*/
|
|
3115
|
+
post_menu_v3_category_relationships_item_recover(id, options) {
|
|
3116
|
+
return this.request("menu", "post_menu_v3_category_relationships_item_recover", "post", `/menu/v3/category/relationships/item/${id}/recover`, null, options);
|
|
3117
|
+
}
|
|
3020
3118
|
/**
|
|
3021
3119
|
* POST /menu/v3/draft/item
|
|
3022
3120
|
*
|
|
@@ -3088,6 +3186,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3088
3186
|
get_menu_v3_draft_items_count(options) {
|
|
3089
3187
|
return this.request("menu", "get_menu_v3_draft_items_count", "get", `/menu/v3/draft/items/count`, null, options);
|
|
3090
3188
|
}
|
|
3189
|
+
/**
|
|
3190
|
+
* POST /menu/v3/draft/item/{id}/recover
|
|
3191
|
+
*
|
|
3192
|
+
* @param id
|
|
3193
|
+
* @param options - additional request options
|
|
3194
|
+
*/
|
|
3195
|
+
post_menu_v3_draft_item_recover(id, options) {
|
|
3196
|
+
return this.request("menu", "post_menu_v3_draft_item_recover", "post", `/menu/v3/draft/item/${id}/recover`, null, options);
|
|
3197
|
+
}
|
|
3091
3198
|
/**
|
|
3092
3199
|
* GET /menu/v3/draft/item/{id}/line-routes
|
|
3093
3200
|
*
|
|
@@ -3168,6 +3275,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3168
3275
|
get_menu_v3_items_count(options) {
|
|
3169
3276
|
return this.request("menu", "get_menu_v3_items_count", "get", `/menu/v3/items/count`, null, options);
|
|
3170
3277
|
}
|
|
3278
|
+
/**
|
|
3279
|
+
* POST /menu/v3/item/{id}/recover
|
|
3280
|
+
*
|
|
3281
|
+
* @param id
|
|
3282
|
+
* @param options - additional request options
|
|
3283
|
+
*/
|
|
3284
|
+
post_menu_v3_item_recover(id, options) {
|
|
3285
|
+
return this.request("menu", "post_menu_v3_item_recover", "post", `/menu/v3/item/${id}/recover`, null, options);
|
|
3286
|
+
}
|
|
3171
3287
|
/**
|
|
3172
3288
|
* POST /menu/v3/draft/item/relationships/modifier-group
|
|
3173
3289
|
*
|
|
@@ -3230,6 +3346,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3230
3346
|
get_menu_v3_draft_item_relationships_modifier_groups_count(options) {
|
|
3231
3347
|
return this.request("menu", "get_menu_v3_draft_item_relationships_modifier_groups_count", "get", `/menu/v3/draft/item/relationships/modifier-groups/count`, null, options);
|
|
3232
3348
|
}
|
|
3349
|
+
/**
|
|
3350
|
+
* POST /menu/v3/draft/item/relationships/modifier-group/{id}/recover
|
|
3351
|
+
*
|
|
3352
|
+
* @param id
|
|
3353
|
+
* @param options - additional request options
|
|
3354
|
+
*/
|
|
3355
|
+
post_menu_v3_draft_item_relationships_modifier_group_recover(id, options) {
|
|
3356
|
+
return this.request("menu", "post_menu_v3_draft_item_relationships_modifier_group_recover", "post", `/menu/v3/draft/item/relationships/modifier-group/${id}/recover`, null, options);
|
|
3357
|
+
}
|
|
3233
3358
|
/**
|
|
3234
3359
|
* GET /menu/v3/item/relationships/modifier-group/{id}
|
|
3235
3360
|
*
|
|
@@ -3255,6 +3380,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3255
3380
|
get_menu_v3_item_relationships_modifier_groups_count(options) {
|
|
3256
3381
|
return this.request("menu", "get_menu_v3_item_relationships_modifier_groups_count", "get", `/menu/v3/item/relationships/modifier-groups/count`, null, options);
|
|
3257
3382
|
}
|
|
3383
|
+
/**
|
|
3384
|
+
* POST /menu/v3/item/relationships/modifier-group/{id}/recover
|
|
3385
|
+
*
|
|
3386
|
+
* @param id
|
|
3387
|
+
* @param options - additional request options
|
|
3388
|
+
*/
|
|
3389
|
+
post_menu_v3_item_relationships_modifier_group_recover(id, options) {
|
|
3390
|
+
return this.request("menu", "post_menu_v3_item_relationships_modifier_group_recover", "post", `/menu/v3/item/relationships/modifier-group/${id}/recover`, null, options);
|
|
3391
|
+
}
|
|
3258
3392
|
/**
|
|
3259
3393
|
* POST /menu/v3/draft/modifier-group
|
|
3260
3394
|
*
|
|
@@ -3317,6 +3451,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3317
3451
|
get_menu_v3_draft_modifier_groups_count(options) {
|
|
3318
3452
|
return this.request("menu", "get_menu_v3_draft_modifier_groups_count", "get", `/menu/v3/draft/modifier-groups/count`, null, options);
|
|
3319
3453
|
}
|
|
3454
|
+
/**
|
|
3455
|
+
* POST /menu/v3/draft/modifier-group/{id}/recover
|
|
3456
|
+
*
|
|
3457
|
+
* @param id
|
|
3458
|
+
* @param options - additional request options
|
|
3459
|
+
*/
|
|
3460
|
+
post_menu_v3_draft_modifier_group_recover(id, options) {
|
|
3461
|
+
return this.request("menu", "post_menu_v3_draft_modifier_group_recover", "post", `/menu/v3/draft/modifier-group/${id}/recover`, null, options);
|
|
3462
|
+
}
|
|
3320
3463
|
/**
|
|
3321
3464
|
* POST /menu/v3/draft/modifier-group/{id}/duplicate
|
|
3322
3465
|
*
|
|
@@ -3351,6 +3494,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3351
3494
|
get_menu_v3_modifier_groups_count(options) {
|
|
3352
3495
|
return this.request("menu", "get_menu_v3_modifier_groups_count", "get", `/menu/v3/modifier-groups/count`, null, options);
|
|
3353
3496
|
}
|
|
3497
|
+
/**
|
|
3498
|
+
* POST /menu/v3/modifier-group/{id}/recover
|
|
3499
|
+
*
|
|
3500
|
+
* @param id
|
|
3501
|
+
* @param options - additional request options
|
|
3502
|
+
*/
|
|
3503
|
+
post_menu_v3_modifier_group_recover(id, options) {
|
|
3504
|
+
return this.request("menu", "post_menu_v3_modifier_group_recover", "post", `/menu/v3/modifier-group/${id}/recover`, null, options);
|
|
3505
|
+
}
|
|
3354
3506
|
/**
|
|
3355
3507
|
* POST /menu/v3/draft/modifier-group/relationships/modifier
|
|
3356
3508
|
*
|
|
@@ -3413,6 +3565,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3413
3565
|
get_menu_v3_draft_modifier_group_relationships_modifiers_count(options) {
|
|
3414
3566
|
return this.request("menu", "get_menu_v3_draft_modifier_group_relationships_modifiers_count", "get", `/menu/v3/draft/modifier-group/relationships/modifiers/count`, null, options);
|
|
3415
3567
|
}
|
|
3568
|
+
/**
|
|
3569
|
+
* POST /menu/v3/draft/modifier-group/relationships/modifier/{id}/recover
|
|
3570
|
+
*
|
|
3571
|
+
* @param id
|
|
3572
|
+
* @param options - additional request options
|
|
3573
|
+
*/
|
|
3574
|
+
post_menu_v3_draft_modifier_group_relationships_modifier_recover(id, options) {
|
|
3575
|
+
return this.request("menu", "post_menu_v3_draft_modifier_group_relationships_modifier_recover", "post", `/menu/v3/draft/modifier-group/relationships/modifier/${id}/recover`, null, options);
|
|
3576
|
+
}
|
|
3416
3577
|
/**
|
|
3417
3578
|
* GET /menu/v3/modifier-group/relationships/modifier/{id}
|
|
3418
3579
|
*
|
|
@@ -3438,6 +3599,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3438
3599
|
get_menu_v3_modifier_group_relationships_modifiers_count(options) {
|
|
3439
3600
|
return this.request("menu", "get_menu_v3_modifier_group_relationships_modifiers_count", "get", `/menu/v3/modifier-group/relationships/modifiers/count`, null, options);
|
|
3440
3601
|
}
|
|
3602
|
+
/**
|
|
3603
|
+
* POST /menu/v3/modifier-group/relationships/modifier/{id}/recover
|
|
3604
|
+
*
|
|
3605
|
+
* @param id
|
|
3606
|
+
* @param options - additional request options
|
|
3607
|
+
*/
|
|
3608
|
+
post_menu_v3_modifier_group_relationships_modifier_recover(id, options) {
|
|
3609
|
+
return this.request("menu", "post_menu_v3_modifier_group_relationships_modifier_recover", "post", `/menu/v3/modifier-group/relationships/modifier/${id}/recover`, null, options);
|
|
3610
|
+
}
|
|
3441
3611
|
/**
|
|
3442
3612
|
* POST /menu/v3/draft/modifier
|
|
3443
3613
|
*
|
|
@@ -3509,6 +3679,24 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3509
3679
|
get_menu_v3_draft_modifiers_count(options) {
|
|
3510
3680
|
return this.request("menu", "get_menu_v3_draft_modifiers_count", "get", `/menu/v3/draft/modifiers/count`, null, options);
|
|
3511
3681
|
}
|
|
3682
|
+
/**
|
|
3683
|
+
* POST /menu/v3/draft/modifier/{id}/recover
|
|
3684
|
+
*
|
|
3685
|
+
* @param id
|
|
3686
|
+
* @param options - additional request options
|
|
3687
|
+
*/
|
|
3688
|
+
post_menu_v3_draft_modifier_recover(id, options) {
|
|
3689
|
+
return this.request("menu", "post_menu_v3_draft_modifier_recover", "post", `/menu/v3/draft/modifier/${id}/recover`, null, options);
|
|
3690
|
+
}
|
|
3691
|
+
/**
|
|
3692
|
+
* GET /menu/v3/draft/modifier/{id}/line-routes
|
|
3693
|
+
*
|
|
3694
|
+
* @param id
|
|
3695
|
+
* @param options - additional request options
|
|
3696
|
+
*/
|
|
3697
|
+
get_menu_v3_draft_modifier_line_routes(id, options) {
|
|
3698
|
+
return this.request("menu", "get_menu_v3_draft_modifier_line_routes", "get", `/menu/v3/draft/modifier/${id}/line-routes`, null, options);
|
|
3699
|
+
}
|
|
3512
3700
|
/**
|
|
3513
3701
|
* PATCH /menu/v3/draft/modifiers/bulk-update
|
|
3514
3702
|
*
|
|
@@ -3553,6 +3741,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3553
3741
|
get_menu_v3_modifiers_count(options) {
|
|
3554
3742
|
return this.request("menu", "get_menu_v3_modifiers_count", "get", `/menu/v3/modifiers/count`, null, options);
|
|
3555
3743
|
}
|
|
3744
|
+
/**
|
|
3745
|
+
* POST /menu/v3/modifier/{id}/recover
|
|
3746
|
+
*
|
|
3747
|
+
* @param id
|
|
3748
|
+
* @param options - additional request options
|
|
3749
|
+
*/
|
|
3750
|
+
post_menu_v3_modifier_recover(id, options) {
|
|
3751
|
+
return this.request("menu", "post_menu_v3_modifier_recover", "post", `/menu/v3/modifier/${id}/recover`, null, options);
|
|
3752
|
+
}
|
|
3556
3753
|
/**
|
|
3557
3754
|
* POST /menu/v3/integrations/transltr/import
|
|
3558
3755
|
*
|
|
@@ -3586,6 +3783,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3586
3783
|
get_menu_v3_global_diffs_count(options) {
|
|
3587
3784
|
return this.request("menu", "get_menu_v3_global_diffs_count", "get", `/menu/v3/global-diffs/count`, null, options);
|
|
3588
3785
|
}
|
|
3786
|
+
/**
|
|
3787
|
+
* POST /menu/v3/global-diff/{id}/recover
|
|
3788
|
+
*
|
|
3789
|
+
* @param id
|
|
3790
|
+
* @param options - additional request options
|
|
3791
|
+
*/
|
|
3792
|
+
post_menu_v3_global_diff_recover(id, options) {
|
|
3793
|
+
return this.request("menu", "post_menu_v3_global_diff_recover", "post", `/menu/v3/global-diff/${id}/recover`, null, options);
|
|
3794
|
+
}
|
|
3589
3795
|
/**
|
|
3590
3796
|
* GET /menu/v3/menuworks
|
|
3591
3797
|
*
|
|
@@ -3594,6 +3800,59 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3594
3800
|
get_menu_v3_menuworks(options) {
|
|
3595
3801
|
return this.request("menu", "get_menu_v3_menuworks", "get", `/menu/v3/menuworks`, null, options);
|
|
3596
3802
|
}
|
|
3803
|
+
/**
|
|
3804
|
+
* GET /menu/v3/universal-items
|
|
3805
|
+
*
|
|
3806
|
+
* @param options - additional request options
|
|
3807
|
+
*/
|
|
3808
|
+
get_menu_v3_universal_items(options) {
|
|
3809
|
+
return this.request("menu", "get_menu_v3_universal_items", "get", `/menu/v3/universal-items`, null, options);
|
|
3810
|
+
}
|
|
3811
|
+
/**
|
|
3812
|
+
* PUT /menu/v3/universal-items
|
|
3813
|
+
*
|
|
3814
|
+
* @param body
|
|
3815
|
+
* @param options - additional request options
|
|
3816
|
+
*/
|
|
3817
|
+
put_menu_v3_universal_items(body, options) {
|
|
3818
|
+
return this.request("menu", "put_menu_v3_universal_items", "put", `/menu/v3/universal-items`, body, options);
|
|
3819
|
+
}
|
|
3820
|
+
/**
|
|
3821
|
+
* GET /menu/v3/universal-item/{barcode}
|
|
3822
|
+
*
|
|
3823
|
+
* @param barcode
|
|
3824
|
+
* @param options - additional request options
|
|
3825
|
+
*/
|
|
3826
|
+
get_menu_v3_universal_item(barcode, options) {
|
|
3827
|
+
return this.request("menu", "get_menu_v3_universal_item", "get", `/menu/v3/universal-item/${barcode}`, null, options);
|
|
3828
|
+
}
|
|
3829
|
+
/**
|
|
3830
|
+
* PATCH /menu/v3/universal-item/{barcode}
|
|
3831
|
+
*
|
|
3832
|
+
* @param barcode
|
|
3833
|
+
* @param body
|
|
3834
|
+
* @param options - additional request options
|
|
3835
|
+
*/
|
|
3836
|
+
patch_menu_v3_universal_item(barcode, body, options) {
|
|
3837
|
+
return this.request("menu", "patch_menu_v3_universal_item", "patch", `/menu/v3/universal-item/${barcode}`, body, options);
|
|
3838
|
+
}
|
|
3839
|
+
/**
|
|
3840
|
+
* POST /menu/v3/universal-items/verify
|
|
3841
|
+
*
|
|
3842
|
+
* @param body
|
|
3843
|
+
* @param options - additional request options
|
|
3844
|
+
*/
|
|
3845
|
+
post_menu_v3_universal_items_verify(body, options) {
|
|
3846
|
+
return this.request("menu", "post_menu_v3_universal_items_verify", "post", `/menu/v3/universal-items/verify`, body, options);
|
|
3847
|
+
}
|
|
3848
|
+
/**
|
|
3849
|
+
* POST /menu/v3/trigger-update
|
|
3850
|
+
*
|
|
3851
|
+
* @param options - additional request options
|
|
3852
|
+
*/
|
|
3853
|
+
post_menu_v3_trigger_update(options) {
|
|
3854
|
+
return this.request("menu", "post_menu_v3_trigger_update", "post", `/menu/v3/trigger-update`, null, options);
|
|
3855
|
+
}
|
|
3597
3856
|
/**
|
|
3598
3857
|
* GET /notification - Get all notifications
|
|
3599
3858
|
*
|