@compassdigital/sdk.typescript 3.45.2 → 3.47.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 +206 -27
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +221 -18
- package/lib/index.js.map +1 -1
- package/lib/interface/announcement.d.ts.map +1 -1
- package/lib/interface/announcement.js +1 -0
- package/lib/interface/announcement.js.map +1 -1
- package/lib/interface/calendar.d.ts.map +1 -1
- package/lib/interface/calendar.js +1 -0
- package/lib/interface/calendar.js.map +1 -1
- package/lib/interface/compassconnect.d.ts.map +1 -1
- package/lib/interface/compassconnect.js +1 -0
- package/lib/interface/compassconnect.js.map +1 -1
- package/lib/interface/config.d.ts.map +1 -1
- package/lib/interface/config.js +1 -0
- package/lib/interface/config.js.map +1 -1
- package/lib/interface/datalake.d.ts.map +1 -1
- package/lib/interface/datalake.js +1 -0
- package/lib/interface/datalake.js.map +1 -1
- package/lib/interface/delivery.d.ts +13 -13
- package/lib/interface/delivery.d.ts.map +1 -1
- package/lib/interface/delivery.js +1 -0
- package/lib/interface/delivery.js.map +1 -1
- package/lib/interface/email.d.ts.map +1 -1
- package/lib/interface/email.js +1 -0
- package/lib/interface/email.js.map +1 -1
- package/lib/interface/file.d.ts.map +1 -1
- package/lib/interface/file.js +1 -0
- package/lib/interface/file.js.map +1 -1
- package/lib/interface/kds.d.ts.map +1 -1
- package/lib/interface/kds.js +1 -0
- package/lib/interface/kds.js.map +1 -1
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/location.js +1 -0
- package/lib/interface/location.js.map +1 -1
- package/lib/interface/loyalty.d.ts.map +1 -1
- package/lib/interface/loyalty.js +1 -0
- package/lib/interface/loyalty.js.map +1 -1
- package/lib/interface/mealplan.d.ts.map +1 -1
- package/lib/interface/mealplan.js +1 -0
- package/lib/interface/mealplan.js.map +1 -1
- package/lib/interface/menu.d.ts +1058 -82
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/menu.js +1 -0
- package/lib/interface/menu.js.map +1 -1
- package/lib/interface/notification.d.ts +11 -0
- package/lib/interface/notification.d.ts.map +1 -1
- package/lib/interface/notification.js +1 -0
- package/lib/interface/notification.js.map +1 -1
- package/lib/interface/order.d.ts +2 -0
- package/lib/interface/order.d.ts.map +1 -1
- package/lib/interface/order.js +1 -0
- package/lib/interface/order.js.map +1 -1
- package/lib/interface/partner.d.ts.map +1 -1
- package/lib/interface/partner.js +1 -0
- package/lib/interface/partner.js.map +1 -1
- package/lib/interface/payment.d.ts +7 -21
- package/lib/interface/payment.d.ts.map +1 -1
- package/lib/interface/payment.js +1 -0
- package/lib/interface/payment.js.map +1 -1
- package/lib/interface/permission.d.ts.map +1 -1
- package/lib/interface/permission.js +1 -0
- package/lib/interface/permission.js.map +1 -1
- package/lib/interface/promo.d.ts.map +1 -1
- package/lib/interface/promo.js +1 -0
- package/lib/interface/promo.js.map +1 -1
- package/lib/interface/report.d.ts.map +1 -1
- package/lib/interface/report.js +1 -0
- package/lib/interface/report.js.map +1 -1
- package/lib/interface/shoppingcart.d.ts +1 -0
- package/lib/interface/shoppingcart.d.ts.map +1 -1
- package/lib/interface/shoppingcart.js +1 -0
- package/lib/interface/shoppingcart.js.map +1 -1
- package/lib/interface/sms.js +1 -0
- package/lib/interface/sms.js.map +1 -1
- package/lib/interface/task.d.ts.map +1 -1
- package/lib/interface/task.js +1 -0
- package/lib/interface/task.js.map +1 -1
- package/lib/interface/user.d.ts +2 -0
- package/lib/interface/user.d.ts.map +1 -1
- package/lib/interface/user.js +1 -0
- package/lib/interface/user.js.map +1 -1
- package/lib/interface/vendor.d.ts.map +1 -1
- package/lib/interface/vendor.js +1 -0
- package/lib/interface/vendor.js.map +1 -1
- package/manifest.json +24 -24
- package/package.json +3 -3
- package/pipeline.yml +1 -0
- package/src/index.ts +535 -40
- package/src/interface/announcement.ts +1 -0
- package/src/interface/calendar.ts +1 -0
- package/src/interface/compassconnect.ts +1 -0
- package/src/interface/config.ts +1 -0
- package/src/interface/datalake.ts +1 -0
- package/src/interface/delivery.ts +14 -13
- package/src/interface/email.ts +1 -0
- package/src/interface/file.ts +1 -0
- package/src/interface/kds.ts +1 -0
- package/src/interface/location.ts +1 -0
- package/src/interface/loyalty.ts +1 -0
- package/src/interface/mealplan.ts +1 -0
- package/src/interface/menu.ts +1392 -89
- package/src/interface/notification.ts +19 -0
- package/src/interface/order.ts +4 -0
- package/src/interface/partner.ts +1 -0
- package/src/interface/payment.ts +15 -41
- package/src/interface/permission.ts +1 -0
- package/src/interface/promo.ts +1 -0
- package/src/interface/report.ts +1 -0
- package/src/interface/shoppingcart.ts +3 -1
- package/src/interface/sms.ts +1 -0
- package/src/interface/task.ts +1 -0
- package/src/interface/user.ts +5 -0
- package/src/interface/vendor.ts +1 -0
- package/quicktest.json +0 -8
package/lib/index.js
CHANGED
|
@@ -139,14 +139,6 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
139
139
|
get_payment_hpc(options) {
|
|
140
140
|
return this.request("payment", "get_payment_hpc", "get", `/payment/hpc`, null, options);
|
|
141
141
|
}
|
|
142
|
-
/**
|
|
143
|
-
* GET /payment/hcaptcha/verify
|
|
144
|
-
*
|
|
145
|
-
* @param options - additional request options
|
|
146
|
-
*/
|
|
147
|
-
get_payment_hcaptcha_verify(options) {
|
|
148
|
-
return this.request("payment", "get_payment_hcaptcha_verify", "get", `/payment/hcaptcha/verify`, null, options);
|
|
149
|
-
}
|
|
150
142
|
/**
|
|
151
143
|
* GET /payment/{id}/badgepay
|
|
152
144
|
*
|
|
@@ -1965,6 +1957,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1965
1957
|
get_menu_v3_modifiers(options) {
|
|
1966
1958
|
return this.request("menu", "get_menu_v3_modifiers", "get", `/menu/v3/modifiers`, null, options);
|
|
1967
1959
|
}
|
|
1960
|
+
/**
|
|
1961
|
+
* POST /menu/v3/modifiers
|
|
1962
|
+
*
|
|
1963
|
+
* @param body
|
|
1964
|
+
* @param options - additional request options
|
|
1965
|
+
*/
|
|
1966
|
+
post_menu_v3_modifiers(body, options) {
|
|
1967
|
+
return this.request("menu", "post_menu_v3_modifiers", "post", `/menu/v3/modifiers`, body, options);
|
|
1968
|
+
}
|
|
1968
1969
|
/**
|
|
1969
1970
|
* GET /menu/v3/modifier/{id}
|
|
1970
1971
|
*
|
|
@@ -1978,12 +1979,21 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1978
1979
|
* PATCH /menu/v3/modifier/{id}
|
|
1979
1980
|
*
|
|
1980
1981
|
* @param id
|
|
1981
|
-
* @param body
|
|
1982
|
+
* @param body - A partially populated ModifierEntity
|
|
1982
1983
|
* @param options - additional request options
|
|
1983
1984
|
*/
|
|
1984
1985
|
patch_menu_v3_modifier(id, body, options) {
|
|
1985
1986
|
return this.request("menu", "patch_menu_v3_modifier", "patch", `/menu/v3/modifier/${id}`, body, options);
|
|
1986
1987
|
}
|
|
1988
|
+
/**
|
|
1989
|
+
* DELETE /menu/v3/modifier/{id}
|
|
1990
|
+
*
|
|
1991
|
+
* @param id
|
|
1992
|
+
* @param options - additional request options
|
|
1993
|
+
*/
|
|
1994
|
+
delete_menu_v3_modifier(id, options) {
|
|
1995
|
+
return this.request("menu", "delete_menu_v3_modifier", "delete", `/menu/v3/modifier/${id}`, null, options);
|
|
1996
|
+
}
|
|
1987
1997
|
/**
|
|
1988
1998
|
* POST /menu/v3/modifier
|
|
1989
1999
|
*
|
|
@@ -2009,6 +2019,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2009
2019
|
get_menu_v3_modifier_groups(options) {
|
|
2010
2020
|
return this.request("menu", "get_menu_v3_modifier_groups", "get", `/menu/v3/modifier-groups`, null, options);
|
|
2011
2021
|
}
|
|
2022
|
+
/**
|
|
2023
|
+
* POST /menu/v3/modifier-groups
|
|
2024
|
+
*
|
|
2025
|
+
* @param body
|
|
2026
|
+
* @param options - additional request options
|
|
2027
|
+
*/
|
|
2028
|
+
post_menu_v3_modifier_groups(body, options) {
|
|
2029
|
+
return this.request("menu", "post_menu_v3_modifier_groups", "post", `/menu/v3/modifier-groups`, body, options);
|
|
2030
|
+
}
|
|
2012
2031
|
/**
|
|
2013
2032
|
* POST /menu/v3/modifier-group
|
|
2014
2033
|
*
|
|
@@ -2031,12 +2050,21 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2031
2050
|
* PATCH /menu/v3/modifier-group/{id}
|
|
2032
2051
|
*
|
|
2033
2052
|
* @param id
|
|
2034
|
-
* @param body
|
|
2053
|
+
* @param body - A partially populated ModifierGroupEntity
|
|
2035
2054
|
* @param options - additional request options
|
|
2036
2055
|
*/
|
|
2037
2056
|
patch_menu_v3_modifier_group(id, body, options) {
|
|
2038
2057
|
return this.request("menu", "patch_menu_v3_modifier_group", "patch", `/menu/v3/modifier-group/${id}`, body, options);
|
|
2039
2058
|
}
|
|
2059
|
+
/**
|
|
2060
|
+
* DELETE /menu/v3/modifier-group/{id}
|
|
2061
|
+
*
|
|
2062
|
+
* @param id
|
|
2063
|
+
* @param options - additional request options
|
|
2064
|
+
*/
|
|
2065
|
+
delete_menu_v3_modifier_group(id, options) {
|
|
2066
|
+
return this.request("menu", "delete_menu_v3_modifier_group", "delete", `/menu/v3/modifier-group/${id}`, null, options);
|
|
2067
|
+
}
|
|
2040
2068
|
/**
|
|
2041
2069
|
* GET /menu/v3/modifier-group/count
|
|
2042
2070
|
*
|
|
@@ -2084,12 +2112,21 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2084
2112
|
* PATCH /menu/v3/modifier-group/relationships/modifier/{id}
|
|
2085
2113
|
*
|
|
2086
2114
|
* @param id
|
|
2087
|
-
* @param body
|
|
2115
|
+
* @param body - A partially populated ModifierGroupToModifierRelationship
|
|
2088
2116
|
* @param options - additional request options
|
|
2089
2117
|
*/
|
|
2090
2118
|
patch_menu_v3_modifier_group_relationships_modifier(id, body, options) {
|
|
2091
2119
|
return this.request("menu", "patch_menu_v3_modifier_group_relationships_modifier", "patch", `/menu/v3/modifier-group/relationships/modifier/${id}`, body, options);
|
|
2092
2120
|
}
|
|
2121
|
+
/**
|
|
2122
|
+
* DELETE /menu/v3/modifier-group/relationships/modifier/{id}
|
|
2123
|
+
*
|
|
2124
|
+
* @param id
|
|
2125
|
+
* @param options - additional request options
|
|
2126
|
+
*/
|
|
2127
|
+
delete_menu_v3_modifier_group_relationships_modifier(id, options) {
|
|
2128
|
+
return this.request("menu", "delete_menu_v3_modifier_group_relationships_modifier", "delete", `/menu/v3/modifier-group/relationships/modifier/${id}`, null, options);
|
|
2129
|
+
}
|
|
2093
2130
|
/**
|
|
2094
2131
|
* GET /menu/v3/items
|
|
2095
2132
|
*
|
|
@@ -2098,6 +2135,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2098
2135
|
get_menu_v3_items(options) {
|
|
2099
2136
|
return this.request("menu", "get_menu_v3_items", "get", `/menu/v3/items`, null, options);
|
|
2100
2137
|
}
|
|
2138
|
+
/**
|
|
2139
|
+
* POST /menu/v3/items
|
|
2140
|
+
*
|
|
2141
|
+
* @param body
|
|
2142
|
+
* @param options - additional request options
|
|
2143
|
+
*/
|
|
2144
|
+
post_menu_v3_items(body, options) {
|
|
2145
|
+
return this.request("menu", "post_menu_v3_items", "post", `/menu/v3/items`, body, options);
|
|
2146
|
+
}
|
|
2101
2147
|
/**
|
|
2102
2148
|
* GET /menu/v3/item/{id}
|
|
2103
2149
|
*
|
|
@@ -2111,12 +2157,21 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2111
2157
|
* PATCH /menu/v3/item/{id}
|
|
2112
2158
|
*
|
|
2113
2159
|
* @param id
|
|
2114
|
-
* @param body
|
|
2160
|
+
* @param body - A partially populated ItemEntity
|
|
2115
2161
|
* @param options - additional request options
|
|
2116
2162
|
*/
|
|
2117
2163
|
patch_menu_v3_item(id, body, options) {
|
|
2118
2164
|
return this.request("menu", "patch_menu_v3_item", "patch", `/menu/v3/item/${id}`, body, options);
|
|
2119
2165
|
}
|
|
2166
|
+
/**
|
|
2167
|
+
* DELETE /menu/v3/item/{id}
|
|
2168
|
+
*
|
|
2169
|
+
* @param id
|
|
2170
|
+
* @param options - additional request options
|
|
2171
|
+
*/
|
|
2172
|
+
delete_menu_v3_item(id, options) {
|
|
2173
|
+
return this.request("menu", "delete_menu_v3_item", "delete", `/menu/v3/item/${id}`, null, options);
|
|
2174
|
+
}
|
|
2120
2175
|
/**
|
|
2121
2176
|
* POST /menu/v3/item
|
|
2122
2177
|
*
|
|
@@ -2160,11 +2215,20 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2160
2215
|
post_menu_v3_item_relationships_modifier_group(body, options) {
|
|
2161
2216
|
return this.request("menu", "post_menu_v3_item_relationships_modifier_group", "post", `/menu/v3/item/relationships/modifier-group`, body, options);
|
|
2162
2217
|
}
|
|
2218
|
+
/**
|
|
2219
|
+
* GET /menu/v3/item/relationships/modifier-group/{id}
|
|
2220
|
+
*
|
|
2221
|
+
* @param id
|
|
2222
|
+
* @param options - additional request options
|
|
2223
|
+
*/
|
|
2224
|
+
get_menu_v3_item_relationships_modifier_group(id, options) {
|
|
2225
|
+
return this.request("menu", "get_menu_v3_item_relationships_modifier_group", "get", `/menu/v3/item/relationships/modifier-group/${id}`, null, options);
|
|
2226
|
+
}
|
|
2163
2227
|
/**
|
|
2164
2228
|
* PATCH /menu/v3/item/relationships/modifier-group/{id}
|
|
2165
2229
|
*
|
|
2166
2230
|
* @param id
|
|
2167
|
-
* @param body
|
|
2231
|
+
* @param body - A partially populated ItemToModifierGroupRelationship
|
|
2168
2232
|
* @param options - additional request options
|
|
2169
2233
|
*/
|
|
2170
2234
|
patch_menu_v3_item_relationships_modifier_group(id, body, options) {
|
|
@@ -2187,6 +2251,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2187
2251
|
get_menu_v3_layouts(options) {
|
|
2188
2252
|
return this.request("menu", "get_menu_v3_layouts", "get", `/menu/v3/layouts`, null, options);
|
|
2189
2253
|
}
|
|
2254
|
+
/**
|
|
2255
|
+
* POST /menu/v3/layouts
|
|
2256
|
+
*
|
|
2257
|
+
* @param body
|
|
2258
|
+
* @param options - additional request options
|
|
2259
|
+
*/
|
|
2260
|
+
post_menu_v3_layouts(body, options) {
|
|
2261
|
+
return this.request("menu", "post_menu_v3_layouts", "post", `/menu/v3/layouts`, body, options);
|
|
2262
|
+
}
|
|
2190
2263
|
/**
|
|
2191
2264
|
* GET /menu/v3/layout/{id}/categories
|
|
2192
2265
|
*
|
|
@@ -2209,7 +2282,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2209
2282
|
* PATCH /menu/v3/layout/{id}
|
|
2210
2283
|
*
|
|
2211
2284
|
* @param id
|
|
2212
|
-
* @param body
|
|
2285
|
+
* @param body - A partially populated LayoutEntity
|
|
2213
2286
|
* @param options - additional request options
|
|
2214
2287
|
*/
|
|
2215
2288
|
patch_menu_v3_layout(id, body, options) {
|
|
@@ -2262,7 +2335,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2262
2335
|
* PATCH /menu/v3/category/{id}
|
|
2263
2336
|
*
|
|
2264
2337
|
* @param id
|
|
2265
|
-
* @param body
|
|
2338
|
+
* @param body - A partially populated CategoryEntity
|
|
2266
2339
|
* @param options - additional request options
|
|
2267
2340
|
*/
|
|
2268
2341
|
patch_menu_v3_category(id, body, options) {
|
|
@@ -2320,11 +2393,20 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2320
2393
|
post_menu_v3_category_relationships_item(body, options) {
|
|
2321
2394
|
return this.request("menu", "post_menu_v3_category_relationships_item", "post", `/menu/v3/category/relationships/item`, body, options);
|
|
2322
2395
|
}
|
|
2396
|
+
/**
|
|
2397
|
+
* GET /menu/v3/category/relationships/item/{id}
|
|
2398
|
+
*
|
|
2399
|
+
* @param id
|
|
2400
|
+
* @param options - additional request options
|
|
2401
|
+
*/
|
|
2402
|
+
get_menu_v3_category_relationships_item(id, options) {
|
|
2403
|
+
return this.request("menu", "get_menu_v3_category_relationships_item", "get", `/menu/v3/category/relationships/item/${id}`, null, options);
|
|
2404
|
+
}
|
|
2323
2405
|
/**
|
|
2324
2406
|
* PATCH /menu/v3/category/relationships/item/{id}
|
|
2325
2407
|
*
|
|
2326
2408
|
* @param id
|
|
2327
|
-
* @param body
|
|
2409
|
+
* @param body - A partially populated CategoryToItemRelationship
|
|
2328
2410
|
* @param options - additional request options
|
|
2329
2411
|
*/
|
|
2330
2412
|
patch_menu_v3_category_relationships_item(id, body, options) {
|
|
@@ -2347,6 +2429,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2347
2429
|
get_menu_v3_brands(options) {
|
|
2348
2430
|
return this.request("menu", "get_menu_v3_brands", "get", `/menu/v3/brands`, null, options);
|
|
2349
2431
|
}
|
|
2432
|
+
/**
|
|
2433
|
+
* POST /menu/v3/brands
|
|
2434
|
+
*
|
|
2435
|
+
* @param body
|
|
2436
|
+
* @param options - additional request options
|
|
2437
|
+
*/
|
|
2438
|
+
post_menu_v3_brands(body, options) {
|
|
2439
|
+
return this.request("menu", "post_menu_v3_brands", "post", `/menu/v3/brands`, body, options);
|
|
2440
|
+
}
|
|
2350
2441
|
/**
|
|
2351
2442
|
* GET /menu/v3/brand/{id}/modifiers
|
|
2352
2443
|
*
|
|
@@ -2387,7 +2478,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2387
2478
|
* PATCH /menu/v3/brand/{id}
|
|
2388
2479
|
*
|
|
2389
2480
|
* @param id
|
|
2390
|
-
* @param body
|
|
2481
|
+
* @param body - A partially populated BrandEntity
|
|
2391
2482
|
* @param options - additional request options
|
|
2392
2483
|
*/
|
|
2393
2484
|
patch_menu_v3_brand(id, body, options) {
|
|
@@ -2427,6 +2518,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2427
2518
|
get_menu_v3_stations(options) {
|
|
2428
2519
|
return this.request("menu", "get_menu_v3_stations", "get", `/menu/v3/stations`, null, options);
|
|
2429
2520
|
}
|
|
2521
|
+
/**
|
|
2522
|
+
* POST /menu/v3/stations
|
|
2523
|
+
*
|
|
2524
|
+
* @param body
|
|
2525
|
+
* @param options - additional request options
|
|
2526
|
+
*/
|
|
2527
|
+
post_menu_v3_stations(body, options) {
|
|
2528
|
+
return this.request("menu", "post_menu_v3_stations", "post", `/menu/v3/stations`, body, options);
|
|
2529
|
+
}
|
|
2430
2530
|
/**
|
|
2431
2531
|
* GET /menu/v3/station/{id}
|
|
2432
2532
|
*
|
|
@@ -2440,7 +2540,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2440
2540
|
* PATCH /menu/v3/station/{id}
|
|
2441
2541
|
*
|
|
2442
2542
|
* @param id
|
|
2443
|
-
* @param body
|
|
2543
|
+
* @param body - A partially populated StationEntity
|
|
2444
2544
|
* @param options - additional request options
|
|
2445
2545
|
*/
|
|
2446
2546
|
patch_menu_v3_station(id, body, options) {
|
|
@@ -2737,6 +2837,100 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2737
2837
|
post_menu_partial_group_item_options(id, group_id, body, options) {
|
|
2738
2838
|
return this.request("menu", "post_menu_partial_group_item_options", "post", `/menu/partial/${id}/group/${group_id}/item/options`, body, options);
|
|
2739
2839
|
}
|
|
2840
|
+
/**
|
|
2841
|
+
* POST /menu/v3/layout/{id}/publish
|
|
2842
|
+
*
|
|
2843
|
+
* @param id
|
|
2844
|
+
* @param options - additional request options
|
|
2845
|
+
*/
|
|
2846
|
+
post_menu_v3_layout_publish(id, options) {
|
|
2847
|
+
return this.request("menu", "post_menu_v3_layout_publish", "post", `/menu/v3/layout/${id}/publish`, null, options);
|
|
2848
|
+
}
|
|
2849
|
+
/**
|
|
2850
|
+
* POST /menu/v3/categorys
|
|
2851
|
+
*
|
|
2852
|
+
* @param body
|
|
2853
|
+
* @param options - additional request options
|
|
2854
|
+
*/
|
|
2855
|
+
post_menu_v3_categorys(body, options) {
|
|
2856
|
+
return this.request("menu", "post_menu_v3_categorys", "post", `/menu/v3/categorys`, body, options);
|
|
2857
|
+
}
|
|
2858
|
+
/**
|
|
2859
|
+
* GET /menu/v3/category/relationships/items/count
|
|
2860
|
+
*
|
|
2861
|
+
* @param options - additional request options
|
|
2862
|
+
*/
|
|
2863
|
+
get_menu_v3_category_relationships_items_count(options) {
|
|
2864
|
+
return this.request("menu", "get_menu_v3_category_relationships_items_count", "get", `/menu/v3/category/relationships/items/count`, null, options);
|
|
2865
|
+
}
|
|
2866
|
+
/**
|
|
2867
|
+
* GET /menu/v3/item/relationships/modifier-groups/count
|
|
2868
|
+
*
|
|
2869
|
+
* @param options - additional request options
|
|
2870
|
+
*/
|
|
2871
|
+
get_menu_v3_item_relationships_modifier_groups_count(options) {
|
|
2872
|
+
return this.request("menu", "get_menu_v3_item_relationships_modifier_groups_count", "get", `/menu/v3/item/relationships/modifier-groups/count`, null, options);
|
|
2873
|
+
}
|
|
2874
|
+
/**
|
|
2875
|
+
* GET /menu/v3/modifier-groups/count
|
|
2876
|
+
*
|
|
2877
|
+
* @param options - additional request options
|
|
2878
|
+
*/
|
|
2879
|
+
get_menu_v3_modifier_groups_count(options) {
|
|
2880
|
+
return this.request("menu", "get_menu_v3_modifier_groups_count", "get", `/menu/v3/modifier-groups/count`, null, options);
|
|
2881
|
+
}
|
|
2882
|
+
/**
|
|
2883
|
+
* GET /menu/v3/modifier-group/relationships/modifiers/count
|
|
2884
|
+
*
|
|
2885
|
+
* @param options - additional request options
|
|
2886
|
+
*/
|
|
2887
|
+
get_menu_v3_modifier_group_relationships_modifiers_count(options) {
|
|
2888
|
+
return this.request("menu", "get_menu_v3_modifier_group_relationships_modifiers_count", "get", `/menu/v3/modifier-group/relationships/modifiers/count`, null, options);
|
|
2889
|
+
}
|
|
2890
|
+
/**
|
|
2891
|
+
* GET /menu/v3/modifiers/count
|
|
2892
|
+
*
|
|
2893
|
+
* @param options - additional request options
|
|
2894
|
+
*/
|
|
2895
|
+
get_menu_v3_modifiers_count(options) {
|
|
2896
|
+
return this.request("menu", "get_menu_v3_modifiers_count", "get", `/menu/v3/modifiers/count`, null, options);
|
|
2897
|
+
}
|
|
2898
|
+
/**
|
|
2899
|
+
* GET /menu/v3/station/{id}/modifiers
|
|
2900
|
+
*
|
|
2901
|
+
* @param id
|
|
2902
|
+
* @param options - additional request options
|
|
2903
|
+
*/
|
|
2904
|
+
get_menu_v3_station_modifiers(id, options) {
|
|
2905
|
+
return this.request("menu", "get_menu_v3_station_modifiers", "get", `/menu/v3/station/${id}/modifiers`, null, options);
|
|
2906
|
+
}
|
|
2907
|
+
/**
|
|
2908
|
+
* GET /menu/v3/station/{id}/modifier_groups
|
|
2909
|
+
*
|
|
2910
|
+
* @param id
|
|
2911
|
+
* @param options - additional request options
|
|
2912
|
+
*/
|
|
2913
|
+
get_menu_v3_station_modifier_groups(id, options) {
|
|
2914
|
+
return this.request("menu", "get_menu_v3_station_modifier_groups", "get", `/menu/v3/station/${id}/modifier_groups`, null, options);
|
|
2915
|
+
}
|
|
2916
|
+
/**
|
|
2917
|
+
* GET /menu/v3/station/{id}/items
|
|
2918
|
+
*
|
|
2919
|
+
* @param id
|
|
2920
|
+
* @param options - additional request options
|
|
2921
|
+
*/
|
|
2922
|
+
get_menu_v3_station_items(id, options) {
|
|
2923
|
+
return this.request("menu", "get_menu_v3_station_items", "get", `/menu/v3/station/${id}/items`, null, options);
|
|
2924
|
+
}
|
|
2925
|
+
/**
|
|
2926
|
+
* GET /menu/v3/site/{id}/layouts
|
|
2927
|
+
*
|
|
2928
|
+
* @param id
|
|
2929
|
+
* @param options - additional request options
|
|
2930
|
+
*/
|
|
2931
|
+
get_menu_v3_site_layouts(id, options) {
|
|
2932
|
+
return this.request("menu", "get_menu_v3_site_layouts", "get", `/menu/v3/site/${id}/layouts`, null, options);
|
|
2933
|
+
}
|
|
2740
2934
|
/**
|
|
2741
2935
|
* GET /notification - Get all notifications
|
|
2742
2936
|
*
|
|
@@ -2783,6 +2977,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2783
2977
|
post_notification_status(id, body, options) {
|
|
2784
2978
|
return this.request("notification", "post_notification_status", "post", `/notification/${id}/status`, body, options);
|
|
2785
2979
|
}
|
|
2980
|
+
/**
|
|
2981
|
+
* POST /notification/device/push - Send a push notification to user's device
|
|
2982
|
+
*
|
|
2983
|
+
* @param body - Push notification to send
|
|
2984
|
+
* @param options - additional request options
|
|
2985
|
+
*/
|
|
2986
|
+
post_notification_device_push(body, options) {
|
|
2987
|
+
return this.request("notification", "post_notification_device_push", "post", `/notification/device/push`, body, options);
|
|
2988
|
+
}
|
|
2786
2989
|
/**
|
|
2787
2990
|
* GET /notification/swagger.json - Get a swagger for notification service
|
|
2788
2991
|
*
|