@compassdigital/sdk.typescript 4.58.0 → 4.60.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/base.js +3 -3
- package/lib/index.d.ts +235 -7
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +263 -3
- package/lib/index.js.map +1 -1
- package/lib/interface/menu.d.ts +340 -22
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/shoppingcart.d.ts +2 -0
- package/lib/interface/shoppingcart.d.ts.map +1 -1
- package/lib/interface/user.d.ts +38 -35
- package/lib/interface/user.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +660 -10
- package/src/interface/menu.ts +574 -40
- package/src/interface/shoppingcart.ts +2 -0
- package/src/interface/user.ts +46 -41
package/lib/index.js
CHANGED
|
@@ -1626,12 +1626,13 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1626
1626
|
return this.request("user", "post_user_oauth", "post", `/user/oauth`, body, options);
|
|
1627
1627
|
}
|
|
1628
1628
|
/**
|
|
1629
|
-
*
|
|
1629
|
+
* POST /user/zendesk - Get Zendesk JWT token to allow web widget to search restricted articles
|
|
1630
1630
|
*
|
|
1631
|
+
* @param body
|
|
1631
1632
|
* @param options - additional request options
|
|
1632
1633
|
*/
|
|
1633
|
-
|
|
1634
|
-
return this.request("user", "
|
|
1634
|
+
post_user_zendesk(body, options) {
|
|
1635
|
+
return this.request("user", "post_user_zendesk", "post", `/user/zendesk`, body, options);
|
|
1635
1636
|
}
|
|
1636
1637
|
/**
|
|
1637
1638
|
* POST /user - Create an User
|
|
@@ -2284,6 +2285,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2284
2285
|
get_menu_v3_local_menu_groups_count(options) {
|
|
2285
2286
|
return this.request("menu", "get_menu_v3_local_menu_groups_count", "get", `/menu/v3/local-menu-groups/count`, null, options);
|
|
2286
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
|
+
}
|
|
2287
2297
|
/**
|
|
2288
2298
|
* GET /menu/v3/draft/local-menu-group/{id}/brands
|
|
2289
2299
|
*
|
|
@@ -2356,6 +2366,14 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2356
2366
|
delete_menu_v3_local_menu_groups_site_groups(body, options) {
|
|
2357
2367
|
return this.request("menu", "delete_menu_v3_local_menu_groups_site_groups", "delete", `/menu/v3/local-menu-groups/site-groups`, body, options);
|
|
2358
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
|
+
}
|
|
2359
2377
|
/**
|
|
2360
2378
|
* POST /menu/v3/global-menu-group
|
|
2361
2379
|
*
|
|
@@ -2418,6 +2436,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2418
2436
|
get_menu_v3_global_menu_groups_count(options) {
|
|
2419
2437
|
return this.request("menu", "get_menu_v3_global_menu_groups_count", "get", `/menu/v3/global-menu-groups/count`, null, options);
|
|
2420
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
|
+
}
|
|
2421
2448
|
/**
|
|
2422
2449
|
* GET /menu/v3/draft/global-menu-group/{id}/brands
|
|
2423
2450
|
*
|
|
@@ -2498,6 +2525,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2498
2525
|
get_menu_v3_draft_brands_count(options) {
|
|
2499
2526
|
return this.request("menu", "get_menu_v3_draft_brands_count", "get", `/menu/v3/draft/brands/count`, null, options);
|
|
2500
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
|
+
}
|
|
2501
2537
|
/**
|
|
2502
2538
|
* GET /menu/v3/draft/brand/{id}/audits
|
|
2503
2539
|
*
|
|
@@ -2688,6 +2724,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2688
2724
|
get_menu_v3_brands_count(options) {
|
|
2689
2725
|
return this.request("menu", "get_menu_v3_brands_count", "get", `/menu/v3/brands/count`, null, options);
|
|
2690
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
|
+
}
|
|
2691
2736
|
/**
|
|
2692
2737
|
* GET /menu/v3/brand/{id}/menus
|
|
2693
2738
|
*
|
|
@@ -2786,6 +2831,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2786
2831
|
get_menu_v3_draft_menus_count(options) {
|
|
2787
2832
|
return this.request("menu", "get_menu_v3_draft_menus_count", "get", `/menu/v3/draft/menus/count`, null, options);
|
|
2788
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
|
+
}
|
|
2789
2843
|
/**
|
|
2790
2844
|
* GET /menu/v3/draft/menu/{id}/categories
|
|
2791
2845
|
*
|
|
@@ -2829,6 +2883,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2829
2883
|
get_menu_v3_menus_count(options) {
|
|
2830
2884
|
return this.request("menu", "get_menu_v3_menus_count", "get", `/menu/v3/menus/count`, null, options);
|
|
2831
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
|
+
}
|
|
2832
2895
|
/**
|
|
2833
2896
|
* GET /menu/v3/menu/{id}/categories
|
|
2834
2897
|
*
|
|
@@ -2902,6 +2965,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2902
2965
|
post_menu_v3_draft_categories(body, options) {
|
|
2903
2966
|
return this.request("menu", "post_menu_v3_draft_categories", "post", `/menu/v3/draft/categories`, body, options);
|
|
2904
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
|
+
}
|
|
2905
2977
|
/**
|
|
2906
2978
|
* POST /menu/v3/draft/category/{id}/attachment/{name}
|
|
2907
2979
|
*
|
|
@@ -2929,6 +3001,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2929
3001
|
get_menu_v3_categorys_count(options) {
|
|
2930
3002
|
return this.request("menu", "get_menu_v3_categorys_count", "get", `/menu/v3/categorys/count`, null, options);
|
|
2931
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
|
+
}
|
|
2932
3013
|
/**
|
|
2933
3014
|
* POST /menu/v3/draft/category/relationships/item
|
|
2934
3015
|
*
|
|
@@ -2991,6 +3072,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2991
3072
|
get_menu_v3_draft_category_relationships_items_count(options) {
|
|
2992
3073
|
return this.request("menu", "get_menu_v3_draft_category_relationships_items_count", "get", `/menu/v3/draft/category/relationships/items/count`, null, options);
|
|
2993
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
|
+
}
|
|
2994
3084
|
/**
|
|
2995
3085
|
* GET /menu/v3/category/relationships/item/{id}
|
|
2996
3086
|
*
|
|
@@ -3016,6 +3106,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3016
3106
|
get_menu_v3_category_relationships_items_count(options) {
|
|
3017
3107
|
return this.request("menu", "get_menu_v3_category_relationships_items_count", "get", `/menu/v3/category/relationships/items/count`, null, options);
|
|
3018
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
|
+
}
|
|
3019
3118
|
/**
|
|
3020
3119
|
* POST /menu/v3/draft/item
|
|
3021
3120
|
*
|
|
@@ -3087,6 +3186,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3087
3186
|
get_menu_v3_draft_items_count(options) {
|
|
3088
3187
|
return this.request("menu", "get_menu_v3_draft_items_count", "get", `/menu/v3/draft/items/count`, null, options);
|
|
3089
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
|
+
}
|
|
3090
3198
|
/**
|
|
3091
3199
|
* GET /menu/v3/draft/item/{id}/line-routes
|
|
3092
3200
|
*
|
|
@@ -3167,6 +3275,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3167
3275
|
get_menu_v3_items_count(options) {
|
|
3168
3276
|
return this.request("menu", "get_menu_v3_items_count", "get", `/menu/v3/items/count`, null, options);
|
|
3169
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
|
+
}
|
|
3170
3287
|
/**
|
|
3171
3288
|
* POST /menu/v3/draft/item/relationships/modifier-group
|
|
3172
3289
|
*
|
|
@@ -3229,6 +3346,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3229
3346
|
get_menu_v3_draft_item_relationships_modifier_groups_count(options) {
|
|
3230
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);
|
|
3231
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
|
+
}
|
|
3232
3358
|
/**
|
|
3233
3359
|
* GET /menu/v3/item/relationships/modifier-group/{id}
|
|
3234
3360
|
*
|
|
@@ -3254,6 +3380,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3254
3380
|
get_menu_v3_item_relationships_modifier_groups_count(options) {
|
|
3255
3381
|
return this.request("menu", "get_menu_v3_item_relationships_modifier_groups_count", "get", `/menu/v3/item/relationships/modifier-groups/count`, null, options);
|
|
3256
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
|
+
}
|
|
3257
3392
|
/**
|
|
3258
3393
|
* POST /menu/v3/draft/modifier-group
|
|
3259
3394
|
*
|
|
@@ -3316,6 +3451,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3316
3451
|
get_menu_v3_draft_modifier_groups_count(options) {
|
|
3317
3452
|
return this.request("menu", "get_menu_v3_draft_modifier_groups_count", "get", `/menu/v3/draft/modifier-groups/count`, null, options);
|
|
3318
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
|
+
}
|
|
3319
3463
|
/**
|
|
3320
3464
|
* POST /menu/v3/draft/modifier-group/{id}/duplicate
|
|
3321
3465
|
*
|
|
@@ -3350,6 +3494,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3350
3494
|
get_menu_v3_modifier_groups_count(options) {
|
|
3351
3495
|
return this.request("menu", "get_menu_v3_modifier_groups_count", "get", `/menu/v3/modifier-groups/count`, null, options);
|
|
3352
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
|
+
}
|
|
3353
3506
|
/**
|
|
3354
3507
|
* POST /menu/v3/draft/modifier-group/relationships/modifier
|
|
3355
3508
|
*
|
|
@@ -3412,6 +3565,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3412
3565
|
get_menu_v3_draft_modifier_group_relationships_modifiers_count(options) {
|
|
3413
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);
|
|
3414
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
|
+
}
|
|
3415
3577
|
/**
|
|
3416
3578
|
* GET /menu/v3/modifier-group/relationships/modifier/{id}
|
|
3417
3579
|
*
|
|
@@ -3437,6 +3599,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3437
3599
|
get_menu_v3_modifier_group_relationships_modifiers_count(options) {
|
|
3438
3600
|
return this.request("menu", "get_menu_v3_modifier_group_relationships_modifiers_count", "get", `/menu/v3/modifier-group/relationships/modifiers/count`, null, options);
|
|
3439
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
|
+
}
|
|
3440
3611
|
/**
|
|
3441
3612
|
* POST /menu/v3/draft/modifier
|
|
3442
3613
|
*
|
|
@@ -3508,6 +3679,24 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3508
3679
|
get_menu_v3_draft_modifiers_count(options) {
|
|
3509
3680
|
return this.request("menu", "get_menu_v3_draft_modifiers_count", "get", `/menu/v3/draft/modifiers/count`, null, options);
|
|
3510
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
|
+
}
|
|
3511
3700
|
/**
|
|
3512
3701
|
* PATCH /menu/v3/draft/modifiers/bulk-update
|
|
3513
3702
|
*
|
|
@@ -3552,6 +3741,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3552
3741
|
get_menu_v3_modifiers_count(options) {
|
|
3553
3742
|
return this.request("menu", "get_menu_v3_modifiers_count", "get", `/menu/v3/modifiers/count`, null, options);
|
|
3554
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
|
+
}
|
|
3555
3753
|
/**
|
|
3556
3754
|
* POST /menu/v3/integrations/transltr/import
|
|
3557
3755
|
*
|
|
@@ -3585,6 +3783,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3585
3783
|
get_menu_v3_global_diffs_count(options) {
|
|
3586
3784
|
return this.request("menu", "get_menu_v3_global_diffs_count", "get", `/menu/v3/global-diffs/count`, null, options);
|
|
3587
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
|
+
}
|
|
3588
3795
|
/**
|
|
3589
3796
|
* GET /menu/v3/menuworks
|
|
3590
3797
|
*
|
|
@@ -3593,6 +3800,59 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3593
3800
|
get_menu_v3_menuworks(options) {
|
|
3594
3801
|
return this.request("menu", "get_menu_v3_menuworks", "get", `/menu/v3/menuworks`, null, options);
|
|
3595
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
|
+
}
|
|
3596
3856
|
/**
|
|
3597
3857
|
* GET /notification - Get all notifications
|
|
3598
3858
|
*
|