@compassdigital/sdk.typescript 3.50.0 → 3.51.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 +663 -182
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +748 -225
- package/lib/index.js.map +1 -1
- package/lib/interface/menu.d.ts +2514 -669
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/partner.d.ts +19 -1
- package/lib/interface/partner.d.ts.map +1 -1
- package/lib/interface/payment.d.ts +20 -18
- package/lib/interface/payment.d.ts.map +1 -1
- package/lib/interface/report.d.ts +19 -0
- package/lib/interface/report.d.ts.map +1 -1
- package/lib/interface/shoppingcart.d.ts +1 -0
- package/lib/interface/shoppingcart.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +1915 -542
- package/src/interface/menu.ts +3839 -1378
- package/src/interface/partner.ts +34 -2
- package/src/interface/payment.ts +27 -23
- package/src/interface/report.ts +36 -0
- package/src/interface/shoppingcart.ts +1 -0
package/lib/index.js
CHANGED
|
@@ -140,33 +140,33 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
140
140
|
return this.request("payment", "get_payment_hpc", "get", `/payment/hpc`, null, options);
|
|
141
141
|
}
|
|
142
142
|
/**
|
|
143
|
-
* GET /payment/{id}/
|
|
143
|
+
* GET /payment/{id}/cashless
|
|
144
144
|
*
|
|
145
145
|
* @param id - TODO: add parameter to swagger.json
|
|
146
146
|
* @param options - additional request options
|
|
147
147
|
*/
|
|
148
|
-
|
|
149
|
-
return this.request("payment", "
|
|
148
|
+
get_payment_cashless(id, options) {
|
|
149
|
+
return this.request("payment", "get_payment_cashless", "get", `/payment/${id}/cashless`, null, options);
|
|
150
150
|
}
|
|
151
151
|
/**
|
|
152
|
-
* POST /payment/{id}/
|
|
152
|
+
* POST /payment/{id}/cashless
|
|
153
153
|
*
|
|
154
154
|
* @param id - TODO: add parameter to swagger.json
|
|
155
155
|
* @param body
|
|
156
156
|
* @param options - additional request options
|
|
157
157
|
*/
|
|
158
|
-
|
|
159
|
-
return this.request("payment", "
|
|
158
|
+
post_payment_cashless(id, body, options) {
|
|
159
|
+
return this.request("payment", "post_payment_cashless", "post", `/payment/${id}/cashless`, body, options);
|
|
160
160
|
}
|
|
161
161
|
/**
|
|
162
|
-
* DELETE /payment/{id}/
|
|
162
|
+
* DELETE /payment/{id}/cashless
|
|
163
163
|
*
|
|
164
164
|
* @param id - TODO: add parameter to swagger.json
|
|
165
165
|
* @param body
|
|
166
166
|
* @param options - additional request options
|
|
167
167
|
*/
|
|
168
|
-
|
|
169
|
-
return this.request("payment", "
|
|
168
|
+
delete_payment_cashless(id, body, options) {
|
|
169
|
+
return this.request("payment", "delete_payment_cashless", "delete", `/payment/${id}/cashless`, body, options);
|
|
170
170
|
}
|
|
171
171
|
/**
|
|
172
172
|
* POST /order - Create an Order
|
|
@@ -968,6 +968,16 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
968
968
|
get_partner_swagger(options) {
|
|
969
969
|
return this.request("partner", "get_partner_swagger", "get", `/partner/swagger.json`, null, options);
|
|
970
970
|
}
|
|
971
|
+
/**
|
|
972
|
+
* POST /partner/{id}/menu - Create a Partner menu from files(only xls for now)
|
|
973
|
+
*
|
|
974
|
+
* @param id - partner
|
|
975
|
+
* @param body
|
|
976
|
+
* @param options - additional request options
|
|
977
|
+
*/
|
|
978
|
+
post_partner_menu(id, body, options) {
|
|
979
|
+
return this.request("partner", "post_partner_menu", "post", `/partner/${id}/menu`, body, options);
|
|
980
|
+
}
|
|
971
981
|
/**
|
|
972
982
|
* POST /email - Send an email
|
|
973
983
|
*
|
|
@@ -1598,6 +1608,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1598
1608
|
put_report_eod_group_subscribers(id, body, options) {
|
|
1599
1609
|
return this.request("report", "put_report_eod_group_subscribers", "put", `/report/eod/group/${id}/subscribers`, body, options);
|
|
1600
1610
|
}
|
|
1611
|
+
/**
|
|
1612
|
+
* GET /report/eod/group/{id}/items - Get items sales report for selected location group
|
|
1613
|
+
*
|
|
1614
|
+
* @param id
|
|
1615
|
+
* @param options - additional request options
|
|
1616
|
+
*/
|
|
1617
|
+
get_report_eod_group_items(id, options) {
|
|
1618
|
+
return this.request("report", "get_report_eod_group_items", "get", `/report/eod/group/${id}/items`, null, options);
|
|
1619
|
+
}
|
|
1601
1620
|
/**
|
|
1602
1621
|
* GET /user/auth - Gets the JWT token for a user
|
|
1603
1622
|
*
|
|
@@ -1957,15 +1976,6 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1957
1976
|
get_menu_v3_modifiers(options) {
|
|
1958
1977
|
return this.request("menu", "get_menu_v3_modifiers", "get", `/menu/v3/modifiers`, null, options);
|
|
1959
1978
|
}
|
|
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
|
-
}
|
|
1969
1979
|
/**
|
|
1970
1980
|
* GET /menu/v3/modifier/{id}
|
|
1971
1981
|
*
|
|
@@ -1975,25 +1985,6 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1975
1985
|
get_menu_v3_modifier(id, options) {
|
|
1976
1986
|
return this.request("menu", "get_menu_v3_modifier", "get", `/menu/v3/modifier/${id}`, null, options);
|
|
1977
1987
|
}
|
|
1978
|
-
/**
|
|
1979
|
-
* PATCH /menu/v3/modifier/{id}
|
|
1980
|
-
*
|
|
1981
|
-
* @param id
|
|
1982
|
-
* @param body - A partially populated ModifierEntity
|
|
1983
|
-
* @param options - additional request options
|
|
1984
|
-
*/
|
|
1985
|
-
patch_menu_v3_modifier(id, body, options) {
|
|
1986
|
-
return this.request("menu", "patch_menu_v3_modifier", "patch", `/menu/v3/modifier/${id}`, body, options);
|
|
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
|
-
}
|
|
1997
1988
|
/**
|
|
1998
1989
|
* POST /menu/v3/modifier
|
|
1999
1990
|
*
|
|
@@ -2019,15 +2010,6 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2019
2010
|
get_menu_v3_modifier_groups(options) {
|
|
2020
2011
|
return this.request("menu", "get_menu_v3_modifier_groups", "get", `/menu/v3/modifier-groups`, null, options);
|
|
2021
2012
|
}
|
|
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
|
-
}
|
|
2031
2013
|
/**
|
|
2032
2014
|
* POST /menu/v3/modifier-group
|
|
2033
2015
|
*
|
|
@@ -2046,25 +2028,6 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2046
2028
|
get_menu_v3_modifier_group(id, options) {
|
|
2047
2029
|
return this.request("menu", "get_menu_v3_modifier_group", "get", `/menu/v3/modifier-group/${id}`, null, options);
|
|
2048
2030
|
}
|
|
2049
|
-
/**
|
|
2050
|
-
* PATCH /menu/v3/modifier-group/{id}
|
|
2051
|
-
*
|
|
2052
|
-
* @param id
|
|
2053
|
-
* @param body - A partially populated ModifierGroupEntity
|
|
2054
|
-
* @param options - additional request options
|
|
2055
|
-
*/
|
|
2056
|
-
patch_menu_v3_modifier_group(id, body, options) {
|
|
2057
|
-
return this.request("menu", "patch_menu_v3_modifier_group", "patch", `/menu/v3/modifier-group/${id}`, body, options);
|
|
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
|
-
}
|
|
2068
2031
|
/**
|
|
2069
2032
|
* GET /menu/v3/modifier-group/count
|
|
2070
2033
|
*
|
|
@@ -2081,15 +2044,6 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2081
2044
|
get_menu_v3_modifier_group_relationships_modifiers(options) {
|
|
2082
2045
|
return this.request("menu", "get_menu_v3_modifier_group_relationships_modifiers", "get", `/menu/v3/modifier-group/relationships/modifiers`, null, options);
|
|
2083
2046
|
}
|
|
2084
|
-
/**
|
|
2085
|
-
* POST /menu/v3/modifier-group/relationships/modifiers
|
|
2086
|
-
*
|
|
2087
|
-
* @param body
|
|
2088
|
-
* @param options - additional request options
|
|
2089
|
-
*/
|
|
2090
|
-
post_menu_v3_modifier_group_relationships_modifiers(body, options) {
|
|
2091
|
-
return this.request("menu", "post_menu_v3_modifier_group_relationships_modifiers", "post", `/menu/v3/modifier-group/relationships/modifiers`, body, options);
|
|
2092
|
-
}
|
|
2093
2047
|
/**
|
|
2094
2048
|
* POST /menu/v3/modifier-group/relationships/modifier
|
|
2095
2049
|
*
|
|
@@ -2108,25 +2062,6 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2108
2062
|
get_menu_v3_modifier_group_relationships_modifier(id, options) {
|
|
2109
2063
|
return this.request("menu", "get_menu_v3_modifier_group_relationships_modifier", "get", `/menu/v3/modifier-group/relationships/modifier/${id}`, null, options);
|
|
2110
2064
|
}
|
|
2111
|
-
/**
|
|
2112
|
-
* PATCH /menu/v3/modifier-group/relationships/modifier/{id}
|
|
2113
|
-
*
|
|
2114
|
-
* @param id
|
|
2115
|
-
* @param body - A partially populated ModifierGroupToModifierRelationship
|
|
2116
|
-
* @param options - additional request options
|
|
2117
|
-
*/
|
|
2118
|
-
patch_menu_v3_modifier_group_relationships_modifier(id, body, options) {
|
|
2119
|
-
return this.request("menu", "patch_menu_v3_modifier_group_relationships_modifier", "patch", `/menu/v3/modifier-group/relationships/modifier/${id}`, body, options);
|
|
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
|
-
}
|
|
2130
2065
|
/**
|
|
2131
2066
|
* GET /menu/v3/items
|
|
2132
2067
|
*
|
|
@@ -2135,15 +2070,6 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2135
2070
|
get_menu_v3_items(options) {
|
|
2136
2071
|
return this.request("menu", "get_menu_v3_items", "get", `/menu/v3/items`, null, options);
|
|
2137
2072
|
}
|
|
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
|
-
}
|
|
2147
2073
|
/**
|
|
2148
2074
|
* GET /menu/v3/item/{id}
|
|
2149
2075
|
*
|
|
@@ -2153,25 +2079,6 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2153
2079
|
get_menu_v3_item(id, options) {
|
|
2154
2080
|
return this.request("menu", "get_menu_v3_item", "get", `/menu/v3/item/${id}`, null, options);
|
|
2155
2081
|
}
|
|
2156
|
-
/**
|
|
2157
|
-
* PATCH /menu/v3/item/{id}
|
|
2158
|
-
*
|
|
2159
|
-
* @param id
|
|
2160
|
-
* @param body - A partially populated ItemEntity
|
|
2161
|
-
* @param options - additional request options
|
|
2162
|
-
*/
|
|
2163
|
-
patch_menu_v3_item(id, body, options) {
|
|
2164
|
-
return this.request("menu", "patch_menu_v3_item", "patch", `/menu/v3/item/${id}`, body, options);
|
|
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
|
-
}
|
|
2175
2082
|
/**
|
|
2176
2083
|
* POST /menu/v3/item
|
|
2177
2084
|
*
|
|
@@ -2197,15 +2104,6 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2197
2104
|
get_menu_v3_item_relationships_modifier_groups(options) {
|
|
2198
2105
|
return this.request("menu", "get_menu_v3_item_relationships_modifier_groups", "get", `/menu/v3/item/relationships/modifier-groups`, null, options);
|
|
2199
2106
|
}
|
|
2200
|
-
/**
|
|
2201
|
-
* POST /menu/v3/item/relationships/modifier-groups
|
|
2202
|
-
*
|
|
2203
|
-
* @param body
|
|
2204
|
-
* @param options - additional request options
|
|
2205
|
-
*/
|
|
2206
|
-
post_menu_v3_item_relationships_modifier_groups(body, options) {
|
|
2207
|
-
return this.request("menu", "post_menu_v3_item_relationships_modifier_groups", "post", `/menu/v3/item/relationships/modifier-groups`, body, options);
|
|
2208
|
-
}
|
|
2209
2107
|
/**
|
|
2210
2108
|
* POST /menu/v3/item/relationships/modifier-group
|
|
2211
2109
|
*
|
|
@@ -2224,25 +2122,6 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2224
2122
|
get_menu_v3_item_relationships_modifier_group(id, options) {
|
|
2225
2123
|
return this.request("menu", "get_menu_v3_item_relationships_modifier_group", "get", `/menu/v3/item/relationships/modifier-group/${id}`, null, options);
|
|
2226
2124
|
}
|
|
2227
|
-
/**
|
|
2228
|
-
* PATCH /menu/v3/item/relationships/modifier-group/{id}
|
|
2229
|
-
*
|
|
2230
|
-
* @param id
|
|
2231
|
-
* @param body - A partially populated ItemToModifierGroupRelationship
|
|
2232
|
-
* @param options - additional request options
|
|
2233
|
-
*/
|
|
2234
|
-
patch_menu_v3_item_relationships_modifier_group(id, body, options) {
|
|
2235
|
-
return this.request("menu", "patch_menu_v3_item_relationships_modifier_group", "patch", `/menu/v3/item/relationships/modifier-group/${id}`, body, options);
|
|
2236
|
-
}
|
|
2237
|
-
/**
|
|
2238
|
-
* DELETE /menu/v3/item/relationships/modifier-group/{id}
|
|
2239
|
-
*
|
|
2240
|
-
* @param id
|
|
2241
|
-
* @param options - additional request options
|
|
2242
|
-
*/
|
|
2243
|
-
delete_menu_v3_item_relationships_modifier_group(id, options) {
|
|
2244
|
-
return this.request("menu", "delete_menu_v3_item_relationships_modifier_group", "delete", `/menu/v3/item/relationships/modifier-group/${id}`, null, options);
|
|
2245
|
-
}
|
|
2246
2125
|
/**
|
|
2247
2126
|
* GET /menu/v3/layouts
|
|
2248
2127
|
*
|
|
@@ -2251,15 +2130,6 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2251
2130
|
get_menu_v3_layouts(options) {
|
|
2252
2131
|
return this.request("menu", "get_menu_v3_layouts", "get", `/menu/v3/layouts`, null, options);
|
|
2253
2132
|
}
|
|
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
|
-
}
|
|
2263
2133
|
/**
|
|
2264
2134
|
* GET /menu/v3/layout/{id}/categories
|
|
2265
2135
|
*
|
|
@@ -2278,25 +2148,6 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2278
2148
|
get_menu_v3_layout(id, options) {
|
|
2279
2149
|
return this.request("menu", "get_menu_v3_layout", "get", `/menu/v3/layout/${id}`, null, options);
|
|
2280
2150
|
}
|
|
2281
|
-
/**
|
|
2282
|
-
* PATCH /menu/v3/layout/{id}
|
|
2283
|
-
*
|
|
2284
|
-
* @param id
|
|
2285
|
-
* @param body - A partially populated LayoutEntity
|
|
2286
|
-
* @param options - additional request options
|
|
2287
|
-
*/
|
|
2288
|
-
patch_menu_v3_layout(id, body, options) {
|
|
2289
|
-
return this.request("menu", "patch_menu_v3_layout", "patch", `/menu/v3/layout/${id}`, body, options);
|
|
2290
|
-
}
|
|
2291
|
-
/**
|
|
2292
|
-
* DELETE /menu/v3/layout/{id}
|
|
2293
|
-
*
|
|
2294
|
-
* @param id
|
|
2295
|
-
* @param options - additional request options
|
|
2296
|
-
*/
|
|
2297
|
-
delete_menu_v3_layout(id, options) {
|
|
2298
|
-
return this.request("menu", "delete_menu_v3_layout", "delete", `/menu/v3/layout/${id}`, null, options);
|
|
2299
|
-
}
|
|
2300
2151
|
/**
|
|
2301
2152
|
* POST /menu/v3/layout
|
|
2302
2153
|
*
|
|
@@ -2323,25 +2174,6 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2323
2174
|
get_menu_v3_category(id, options) {
|
|
2324
2175
|
return this.request("menu", "get_menu_v3_category", "get", `/menu/v3/category/${id}`, null, options);
|
|
2325
2176
|
}
|
|
2326
|
-
/**
|
|
2327
|
-
* PATCH /menu/v3/category/{id}
|
|
2328
|
-
*
|
|
2329
|
-
* @param id
|
|
2330
|
-
* @param body - A partially populated CategoryEntity
|
|
2331
|
-
* @param options - additional request options
|
|
2332
|
-
*/
|
|
2333
|
-
patch_menu_v3_category(id, body, options) {
|
|
2334
|
-
return this.request("menu", "patch_menu_v3_category", "patch", `/menu/v3/category/${id}`, body, options);
|
|
2335
|
-
}
|
|
2336
|
-
/**
|
|
2337
|
-
* DELETE /menu/v3/category/{id}
|
|
2338
|
-
*
|
|
2339
|
-
* @param id
|
|
2340
|
-
* @param options - additional request options
|
|
2341
|
-
*/
|
|
2342
|
-
delete_menu_v3_category(id, options) {
|
|
2343
|
-
return this.request("menu", "delete_menu_v3_category", "delete", `/menu/v3/category/${id}`, null, options);
|
|
2344
|
-
}
|
|
2345
2177
|
/**
|
|
2346
2178
|
* POST /menu/v3/category
|
|
2347
2179
|
*
|
|
@@ -2367,15 +2199,6 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2367
2199
|
get_menu_v3_category_relationships_items(options) {
|
|
2368
2200
|
return this.request("menu", "get_menu_v3_category_relationships_items", "get", `/menu/v3/category/relationships/items`, null, options);
|
|
2369
2201
|
}
|
|
2370
|
-
/**
|
|
2371
|
-
* POST /menu/v3/category/relationships/items
|
|
2372
|
-
*
|
|
2373
|
-
* @param body
|
|
2374
|
-
* @param options - additional request options
|
|
2375
|
-
*/
|
|
2376
|
-
post_menu_v3_category_relationships_items(body, options) {
|
|
2377
|
-
return this.request("menu", "post_menu_v3_category_relationships_items", "post", `/menu/v3/category/relationships/items`, body, options);
|
|
2378
|
-
}
|
|
2379
2202
|
/**
|
|
2380
2203
|
* POST /menu/v3/category/relationships/item
|
|
2381
2204
|
*
|
|
@@ -2394,25 +2217,6 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2394
2217
|
get_menu_v3_category_relationships_item(id, options) {
|
|
2395
2218
|
return this.request("menu", "get_menu_v3_category_relationships_item", "get", `/menu/v3/category/relationships/item/${id}`, null, options);
|
|
2396
2219
|
}
|
|
2397
|
-
/**
|
|
2398
|
-
* PATCH /menu/v3/category/relationships/item/{id}
|
|
2399
|
-
*
|
|
2400
|
-
* @param id
|
|
2401
|
-
* @param body - A partially populated CategoryToItemRelationship
|
|
2402
|
-
* @param options - additional request options
|
|
2403
|
-
*/
|
|
2404
|
-
patch_menu_v3_category_relationships_item(id, body, options) {
|
|
2405
|
-
return this.request("menu", "patch_menu_v3_category_relationships_item", "patch", `/menu/v3/category/relationships/item/${id}`, body, options);
|
|
2406
|
-
}
|
|
2407
|
-
/**
|
|
2408
|
-
* DELETE /menu/v3/category/relationships/item/{id}
|
|
2409
|
-
*
|
|
2410
|
-
* @param id
|
|
2411
|
-
* @param options - additional request options
|
|
2412
|
-
*/
|
|
2413
|
-
delete_menu_v3_category_relationships_item(id, options) {
|
|
2414
|
-
return this.request("menu", "delete_menu_v3_category_relationships_item", "delete", `/menu/v3/category/relationships/item/${id}`, null, options);
|
|
2415
|
-
}
|
|
2416
2220
|
/**
|
|
2417
2221
|
* GET /menu/v3/brands
|
|
2418
2222
|
*
|
|
@@ -2470,7 +2274,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2470
2274
|
* PATCH /menu/v3/brand/{id}
|
|
2471
2275
|
*
|
|
2472
2276
|
* @param id
|
|
2473
|
-
* @param body - A partially populated
|
|
2277
|
+
* @param body - A partially populated PublishedBrandEntity
|
|
2474
2278
|
* @param options - additional request options
|
|
2475
2279
|
*/
|
|
2476
2280
|
patch_menu_v3_brand(id, body, options) {
|
|
@@ -2923,6 +2727,725 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2923
2727
|
get_menu_v3_site_layouts(id, options) {
|
|
2924
2728
|
return this.request("menu", "get_menu_v3_site_layouts", "get", `/menu/v3/site/${id}/layouts`, null, options);
|
|
2925
2729
|
}
|
|
2730
|
+
/**
|
|
2731
|
+
* POST /menu/v3/draft/layout
|
|
2732
|
+
*
|
|
2733
|
+
* @param body
|
|
2734
|
+
* @param options - additional request options
|
|
2735
|
+
*/
|
|
2736
|
+
post_menu_v3_draft_layout(body, options) {
|
|
2737
|
+
return this.request("menu", "post_menu_v3_draft_layout", "post", `/menu/v3/draft/layout`, body, options);
|
|
2738
|
+
}
|
|
2739
|
+
/**
|
|
2740
|
+
* GET /menu/v3/draft/layout/{id}
|
|
2741
|
+
*
|
|
2742
|
+
* @param id
|
|
2743
|
+
* @param options - additional request options
|
|
2744
|
+
*/
|
|
2745
|
+
get_menu_v3_draft_layout(id, options) {
|
|
2746
|
+
return this.request("menu", "get_menu_v3_draft_layout", "get", `/menu/v3/draft/layout/${id}`, null, options);
|
|
2747
|
+
}
|
|
2748
|
+
/**
|
|
2749
|
+
* PATCH /menu/v3/draft/layout/{id}
|
|
2750
|
+
*
|
|
2751
|
+
* @param id
|
|
2752
|
+
* @param body - A partially populated DraftLayoutEntity
|
|
2753
|
+
* @param options - additional request options
|
|
2754
|
+
*/
|
|
2755
|
+
patch_menu_v3_draft_layout(id, body, options) {
|
|
2756
|
+
return this.request("menu", "patch_menu_v3_draft_layout", "patch", `/menu/v3/draft/layout/${id}`, body, options);
|
|
2757
|
+
}
|
|
2758
|
+
/**
|
|
2759
|
+
* DELETE /menu/v3/draft/layout/{id}
|
|
2760
|
+
*
|
|
2761
|
+
* @param id
|
|
2762
|
+
* @param options - additional request options
|
|
2763
|
+
*/
|
|
2764
|
+
delete_menu_v3_draft_layout(id, options) {
|
|
2765
|
+
return this.request("menu", "delete_menu_v3_draft_layout", "delete", `/menu/v3/draft/layout/${id}`, null, options);
|
|
2766
|
+
}
|
|
2767
|
+
/**
|
|
2768
|
+
* GET /menu/v3/draft/layouts
|
|
2769
|
+
*
|
|
2770
|
+
* @param options - additional request options
|
|
2771
|
+
*/
|
|
2772
|
+
get_menu_v3_draft_layouts(options) {
|
|
2773
|
+
return this.request("menu", "get_menu_v3_draft_layouts", "get", `/menu/v3/draft/layouts`, null, options);
|
|
2774
|
+
}
|
|
2775
|
+
/**
|
|
2776
|
+
* POST /menu/v3/draft/layouts
|
|
2777
|
+
*
|
|
2778
|
+
* @param body
|
|
2779
|
+
* @param options - additional request options
|
|
2780
|
+
*/
|
|
2781
|
+
post_menu_v3_draft_layouts(body, options) {
|
|
2782
|
+
return this.request("menu", "post_menu_v3_draft_layouts", "post", `/menu/v3/draft/layouts`, body, options);
|
|
2783
|
+
}
|
|
2784
|
+
/**
|
|
2785
|
+
* GET /menu/v3/draft/layouts/count
|
|
2786
|
+
*
|
|
2787
|
+
* @param options - additional request options
|
|
2788
|
+
*/
|
|
2789
|
+
get_menu_v3_draft_layouts_count(options) {
|
|
2790
|
+
return this.request("menu", "get_menu_v3_draft_layouts_count", "get", `/menu/v3/draft/layouts/count`, null, options);
|
|
2791
|
+
}
|
|
2792
|
+
/**
|
|
2793
|
+
* GET /menu/v3/draft/layout/{id}/categories
|
|
2794
|
+
*
|
|
2795
|
+
* @param id
|
|
2796
|
+
* @param options - additional request options
|
|
2797
|
+
*/
|
|
2798
|
+
get_menu_v3_draft_layout_categories(id, options) {
|
|
2799
|
+
return this.request("menu", "get_menu_v3_draft_layout_categories", "get", `/menu/v3/draft/layout/${id}/categories`, null, options);
|
|
2800
|
+
}
|
|
2801
|
+
/**
|
|
2802
|
+
* POST /menu/v3/draft/layout/{id}/publish
|
|
2803
|
+
*
|
|
2804
|
+
* @param id
|
|
2805
|
+
* @param options - additional request options
|
|
2806
|
+
*/
|
|
2807
|
+
post_menu_v3_draft_layout_publish(id, options) {
|
|
2808
|
+
return this.request("menu", "post_menu_v3_draft_layout_publish", "post", `/menu/v3/draft/layout/${id}/publish`, null, options);
|
|
2809
|
+
}
|
|
2810
|
+
/**
|
|
2811
|
+
* POST /menu/v3/draft/category
|
|
2812
|
+
*
|
|
2813
|
+
* @param body
|
|
2814
|
+
* @param options - additional request options
|
|
2815
|
+
*/
|
|
2816
|
+
post_menu_v3_draft_category(body, options) {
|
|
2817
|
+
return this.request("menu", "post_menu_v3_draft_category", "post", `/menu/v3/draft/category`, body, options);
|
|
2818
|
+
}
|
|
2819
|
+
/**
|
|
2820
|
+
* GET /menu/v3/draft/category/{id}
|
|
2821
|
+
*
|
|
2822
|
+
* @param id
|
|
2823
|
+
* @param options - additional request options
|
|
2824
|
+
*/
|
|
2825
|
+
get_menu_v3_draft_category(id, options) {
|
|
2826
|
+
return this.request("menu", "get_menu_v3_draft_category", "get", `/menu/v3/draft/category/${id}`, null, options);
|
|
2827
|
+
}
|
|
2828
|
+
/**
|
|
2829
|
+
* PATCH /menu/v3/draft/category/{id}
|
|
2830
|
+
*
|
|
2831
|
+
* @param id
|
|
2832
|
+
* @param body - A partially populated DraftCategoryEntity
|
|
2833
|
+
* @param options - additional request options
|
|
2834
|
+
*/
|
|
2835
|
+
patch_menu_v3_draft_category(id, body, options) {
|
|
2836
|
+
return this.request("menu", "patch_menu_v3_draft_category", "patch", `/menu/v3/draft/category/${id}`, body, options);
|
|
2837
|
+
}
|
|
2838
|
+
/**
|
|
2839
|
+
* DELETE /menu/v3/draft/category/{id}
|
|
2840
|
+
*
|
|
2841
|
+
* @param id
|
|
2842
|
+
* @param options - additional request options
|
|
2843
|
+
*/
|
|
2844
|
+
delete_menu_v3_draft_category(id, options) {
|
|
2845
|
+
return this.request("menu", "delete_menu_v3_draft_category", "delete", `/menu/v3/draft/category/${id}`, null, options);
|
|
2846
|
+
}
|
|
2847
|
+
/**
|
|
2848
|
+
* GET /menu/v3/draft/categories/count
|
|
2849
|
+
*
|
|
2850
|
+
* @param options - additional request options
|
|
2851
|
+
*/
|
|
2852
|
+
get_menu_v3_draft_categories_count(options) {
|
|
2853
|
+
return this.request("menu", "get_menu_v3_draft_categories_count", "get", `/menu/v3/draft/categories/count`, null, options);
|
|
2854
|
+
}
|
|
2855
|
+
/**
|
|
2856
|
+
* POST /menu/v3/draft/categorys
|
|
2857
|
+
*
|
|
2858
|
+
* @param body
|
|
2859
|
+
* @param options - additional request options
|
|
2860
|
+
*/
|
|
2861
|
+
post_menu_v3_draft_categorys(body, options) {
|
|
2862
|
+
return this.request("menu", "post_menu_v3_draft_categorys", "post", `/menu/v3/draft/categorys`, body, options);
|
|
2863
|
+
}
|
|
2864
|
+
/**
|
|
2865
|
+
* POST /menu/v3/draft/category/relationships/item
|
|
2866
|
+
*
|
|
2867
|
+
* @param body
|
|
2868
|
+
* @param options - additional request options
|
|
2869
|
+
*/
|
|
2870
|
+
post_menu_v3_draft_category_relationships_item(body, options) {
|
|
2871
|
+
return this.request("menu", "post_menu_v3_draft_category_relationships_item", "post", `/menu/v3/draft/category/relationships/item`, body, options);
|
|
2872
|
+
}
|
|
2873
|
+
/**
|
|
2874
|
+
* GET /menu/v3/draft/category/relationships/item/{id}
|
|
2875
|
+
*
|
|
2876
|
+
* @param id
|
|
2877
|
+
* @param options - additional request options
|
|
2878
|
+
*/
|
|
2879
|
+
get_menu_v3_draft_category_relationships_item(id, options) {
|
|
2880
|
+
return this.request("menu", "get_menu_v3_draft_category_relationships_item", "get", `/menu/v3/draft/category/relationships/item/${id}`, null, options);
|
|
2881
|
+
}
|
|
2882
|
+
/**
|
|
2883
|
+
* PATCH /menu/v3/draft/category/relationships/item/{id}
|
|
2884
|
+
*
|
|
2885
|
+
* @param id
|
|
2886
|
+
* @param body - A partially populated DraftCategoryToItemRelationship
|
|
2887
|
+
* @param options - additional request options
|
|
2888
|
+
*/
|
|
2889
|
+
patch_menu_v3_draft_category_relationships_item(id, body, options) {
|
|
2890
|
+
return this.request("menu", "patch_menu_v3_draft_category_relationships_item", "patch", `/menu/v3/draft/category/relationships/item/${id}`, body, options);
|
|
2891
|
+
}
|
|
2892
|
+
/**
|
|
2893
|
+
* DELETE /menu/v3/draft/category/relationships/item/{id}
|
|
2894
|
+
*
|
|
2895
|
+
* @param id
|
|
2896
|
+
* @param options - additional request options
|
|
2897
|
+
*/
|
|
2898
|
+
delete_menu_v3_draft_category_relationships_item(id, options) {
|
|
2899
|
+
return this.request("menu", "delete_menu_v3_draft_category_relationships_item", "delete", `/menu/v3/draft/category/relationships/item/${id}`, null, options);
|
|
2900
|
+
}
|
|
2901
|
+
/**
|
|
2902
|
+
* GET /menu/v3/draft/category/relationships/items
|
|
2903
|
+
*
|
|
2904
|
+
* @param options - additional request options
|
|
2905
|
+
*/
|
|
2906
|
+
get_menu_v3_draft_category_relationships_items(options) {
|
|
2907
|
+
return this.request("menu", "get_menu_v3_draft_category_relationships_items", "get", `/menu/v3/draft/category/relationships/items`, null, options);
|
|
2908
|
+
}
|
|
2909
|
+
/**
|
|
2910
|
+
* POST /menu/v3/draft/category/relationships/items
|
|
2911
|
+
*
|
|
2912
|
+
* @param body
|
|
2913
|
+
* @param options - additional request options
|
|
2914
|
+
*/
|
|
2915
|
+
post_menu_v3_draft_category_relationships_items(body, options) {
|
|
2916
|
+
return this.request("menu", "post_menu_v3_draft_category_relationships_items", "post", `/menu/v3/draft/category/relationships/items`, body, options);
|
|
2917
|
+
}
|
|
2918
|
+
/**
|
|
2919
|
+
* GET /menu/v3/draft/category/relationships/items/count
|
|
2920
|
+
*
|
|
2921
|
+
* @param options - additional request options
|
|
2922
|
+
*/
|
|
2923
|
+
get_menu_v3_draft_category_relationships_items_count(options) {
|
|
2924
|
+
return this.request("menu", "get_menu_v3_draft_category_relationships_items_count", "get", `/menu/v3/draft/category/relationships/items/count`, null, options);
|
|
2925
|
+
}
|
|
2926
|
+
/**
|
|
2927
|
+
* POST /menu/v3/draft/item
|
|
2928
|
+
*
|
|
2929
|
+
* @param body
|
|
2930
|
+
* @param options - additional request options
|
|
2931
|
+
*/
|
|
2932
|
+
post_menu_v3_draft_item(body, options) {
|
|
2933
|
+
return this.request("menu", "post_menu_v3_draft_item", "post", `/menu/v3/draft/item`, body, options);
|
|
2934
|
+
}
|
|
2935
|
+
/**
|
|
2936
|
+
* GET /menu/v3/draft/item/{id}
|
|
2937
|
+
*
|
|
2938
|
+
* @param id
|
|
2939
|
+
* @param options - additional request options
|
|
2940
|
+
*/
|
|
2941
|
+
get_menu_v3_draft_item(id, options) {
|
|
2942
|
+
return this.request("menu", "get_menu_v3_draft_item", "get", `/menu/v3/draft/item/${id}`, null, options);
|
|
2943
|
+
}
|
|
2944
|
+
/**
|
|
2945
|
+
* PATCH /menu/v3/draft/item/{id}
|
|
2946
|
+
*
|
|
2947
|
+
* @param id
|
|
2948
|
+
* @param body - A partially populated DraftItemEntity
|
|
2949
|
+
* @param options - additional request options
|
|
2950
|
+
*/
|
|
2951
|
+
patch_menu_v3_draft_item(id, body, options) {
|
|
2952
|
+
return this.request("menu", "patch_menu_v3_draft_item", "patch", `/menu/v3/draft/item/${id}`, body, options);
|
|
2953
|
+
}
|
|
2954
|
+
/**
|
|
2955
|
+
* DELETE /menu/v3/draft/item/{id}
|
|
2956
|
+
*
|
|
2957
|
+
* @param id
|
|
2958
|
+
* @param options - additional request options
|
|
2959
|
+
*/
|
|
2960
|
+
delete_menu_v3_draft_item(id, options) {
|
|
2961
|
+
return this.request("menu", "delete_menu_v3_draft_item", "delete", `/menu/v3/draft/item/${id}`, null, options);
|
|
2962
|
+
}
|
|
2963
|
+
/**
|
|
2964
|
+
* GET /menu/v3/draft/items
|
|
2965
|
+
*
|
|
2966
|
+
* @param options - additional request options
|
|
2967
|
+
*/
|
|
2968
|
+
get_menu_v3_draft_items(options) {
|
|
2969
|
+
return this.request("menu", "get_menu_v3_draft_items", "get", `/menu/v3/draft/items`, null, options);
|
|
2970
|
+
}
|
|
2971
|
+
/**
|
|
2972
|
+
* POST /menu/v3/draft/items
|
|
2973
|
+
*
|
|
2974
|
+
* @param body
|
|
2975
|
+
* @param options - additional request options
|
|
2976
|
+
*/
|
|
2977
|
+
post_menu_v3_draft_items(body, options) {
|
|
2978
|
+
return this.request("menu", "post_menu_v3_draft_items", "post", `/menu/v3/draft/items`, body, options);
|
|
2979
|
+
}
|
|
2980
|
+
/**
|
|
2981
|
+
* GET /menu/v3/draft/items/count
|
|
2982
|
+
*
|
|
2983
|
+
* @param options - additional request options
|
|
2984
|
+
*/
|
|
2985
|
+
get_menu_v3_draft_items_count(options) {
|
|
2986
|
+
return this.request("menu", "get_menu_v3_draft_items_count", "get", `/menu/v3/draft/items/count`, null, options);
|
|
2987
|
+
}
|
|
2988
|
+
/**
|
|
2989
|
+
* POST /menu/v3/draft/item/relationships/modifier-group
|
|
2990
|
+
*
|
|
2991
|
+
* @param body
|
|
2992
|
+
* @param options - additional request options
|
|
2993
|
+
*/
|
|
2994
|
+
post_menu_v3_draft_item_relationships_modifier_group(body, options) {
|
|
2995
|
+
return this.request("menu", "post_menu_v3_draft_item_relationships_modifier_group", "post", `/menu/v3/draft/item/relationships/modifier-group`, body, options);
|
|
2996
|
+
}
|
|
2997
|
+
/**
|
|
2998
|
+
* GET /menu/v3/draft/item/relationships/modifier-group/{id}
|
|
2999
|
+
*
|
|
3000
|
+
* @param id
|
|
3001
|
+
* @param options - additional request options
|
|
3002
|
+
*/
|
|
3003
|
+
get_menu_v3_draft_item_relationships_modifier_group(id, options) {
|
|
3004
|
+
return this.request("menu", "get_menu_v3_draft_item_relationships_modifier_group", "get", `/menu/v3/draft/item/relationships/modifier-group/${id}`, null, options);
|
|
3005
|
+
}
|
|
3006
|
+
/**
|
|
3007
|
+
* PATCH /menu/v3/draft/item/relationships/modifier-group/{id}
|
|
3008
|
+
*
|
|
3009
|
+
* @param id
|
|
3010
|
+
* @param body - A partially populated DraftItemToModifierGroupRelationship
|
|
3011
|
+
* @param options - additional request options
|
|
3012
|
+
*/
|
|
3013
|
+
patch_menu_v3_draft_item_relationships_modifier_group(id, body, options) {
|
|
3014
|
+
return this.request("menu", "patch_menu_v3_draft_item_relationships_modifier_group", "patch", `/menu/v3/draft/item/relationships/modifier-group/${id}`, body, options);
|
|
3015
|
+
}
|
|
3016
|
+
/**
|
|
3017
|
+
* DELETE /menu/v3/draft/item/relationships/modifier-group/{id}
|
|
3018
|
+
*
|
|
3019
|
+
* @param id
|
|
3020
|
+
* @param options - additional request options
|
|
3021
|
+
*/
|
|
3022
|
+
delete_menu_v3_draft_item_relationships_modifier_group(id, options) {
|
|
3023
|
+
return this.request("menu", "delete_menu_v3_draft_item_relationships_modifier_group", "delete", `/menu/v3/draft/item/relationships/modifier-group/${id}`, null, options);
|
|
3024
|
+
}
|
|
3025
|
+
/**
|
|
3026
|
+
* GET /menu/v3/draft/item/relationships/modifier-groups
|
|
3027
|
+
*
|
|
3028
|
+
* @param options - additional request options
|
|
3029
|
+
*/
|
|
3030
|
+
get_menu_v3_draft_item_relationships_modifier_groups(options) {
|
|
3031
|
+
return this.request("menu", "get_menu_v3_draft_item_relationships_modifier_groups", "get", `/menu/v3/draft/item/relationships/modifier-groups`, null, options);
|
|
3032
|
+
}
|
|
3033
|
+
/**
|
|
3034
|
+
* POST /menu/v3/draft/item/relationships/modifier-groups
|
|
3035
|
+
*
|
|
3036
|
+
* @param body
|
|
3037
|
+
* @param options - additional request options
|
|
3038
|
+
*/
|
|
3039
|
+
post_menu_v3_draft_item_relationships_modifier_groups(body, options) {
|
|
3040
|
+
return this.request("menu", "post_menu_v3_draft_item_relationships_modifier_groups", "post", `/menu/v3/draft/item/relationships/modifier-groups`, body, options);
|
|
3041
|
+
}
|
|
3042
|
+
/**
|
|
3043
|
+
* GET /menu/v3/draft/item/relationships/modifier-groups/count
|
|
3044
|
+
*
|
|
3045
|
+
* @param options - additional request options
|
|
3046
|
+
*/
|
|
3047
|
+
get_menu_v3_draft_item_relationships_modifier_groups_count(options) {
|
|
3048
|
+
return this.request("menu", "get_menu_v3_draft_item_relationships_modifier_groups_count", "get", `/menu/v3/draft/item/relationships/modifier-groups/count`, null, options);
|
|
3049
|
+
}
|
|
3050
|
+
/**
|
|
3051
|
+
* POST /menu/v3/draft/modifier-group
|
|
3052
|
+
*
|
|
3053
|
+
* @param body
|
|
3054
|
+
* @param options - additional request options
|
|
3055
|
+
*/
|
|
3056
|
+
post_menu_v3_draft_modifier_group(body, options) {
|
|
3057
|
+
return this.request("menu", "post_menu_v3_draft_modifier_group", "post", `/menu/v3/draft/modifier-group`, body, options);
|
|
3058
|
+
}
|
|
3059
|
+
/**
|
|
3060
|
+
* GET /menu/v3/draft/modifier-group/{id}
|
|
3061
|
+
*
|
|
3062
|
+
* @param id
|
|
3063
|
+
* @param options - additional request options
|
|
3064
|
+
*/
|
|
3065
|
+
get_menu_v3_draft_modifier_group(id, options) {
|
|
3066
|
+
return this.request("menu", "get_menu_v3_draft_modifier_group", "get", `/menu/v3/draft/modifier-group/${id}`, null, options);
|
|
3067
|
+
}
|
|
3068
|
+
/**
|
|
3069
|
+
* PATCH /menu/v3/draft/modifier-group/{id}
|
|
3070
|
+
*
|
|
3071
|
+
* @param id
|
|
3072
|
+
* @param body - A partially populated DraftModifierGroupEntity
|
|
3073
|
+
* @param options - additional request options
|
|
3074
|
+
*/
|
|
3075
|
+
patch_menu_v3_draft_modifier_group(id, body, options) {
|
|
3076
|
+
return this.request("menu", "patch_menu_v3_draft_modifier_group", "patch", `/menu/v3/draft/modifier-group/${id}`, body, options);
|
|
3077
|
+
}
|
|
3078
|
+
/**
|
|
3079
|
+
* DELETE /menu/v3/draft/modifier-group/{id}
|
|
3080
|
+
*
|
|
3081
|
+
* @param id
|
|
3082
|
+
* @param options - additional request options
|
|
3083
|
+
*/
|
|
3084
|
+
delete_menu_v3_draft_modifier_group(id, options) {
|
|
3085
|
+
return this.request("menu", "delete_menu_v3_draft_modifier_group", "delete", `/menu/v3/draft/modifier-group/${id}`, null, options);
|
|
3086
|
+
}
|
|
3087
|
+
/**
|
|
3088
|
+
* GET /menu/v3/draft/modifier-groups
|
|
3089
|
+
*
|
|
3090
|
+
* @param options - additional request options
|
|
3091
|
+
*/
|
|
3092
|
+
get_menu_v3_draft_modifier_groups(options) {
|
|
3093
|
+
return this.request("menu", "get_menu_v3_draft_modifier_groups", "get", `/menu/v3/draft/modifier-groups`, null, options);
|
|
3094
|
+
}
|
|
3095
|
+
/**
|
|
3096
|
+
* POST /menu/v3/draft/modifier-groups
|
|
3097
|
+
*
|
|
3098
|
+
* @param body
|
|
3099
|
+
* @param options - additional request options
|
|
3100
|
+
*/
|
|
3101
|
+
post_menu_v3_draft_modifier_groups(body, options) {
|
|
3102
|
+
return this.request("menu", "post_menu_v3_draft_modifier_groups", "post", `/menu/v3/draft/modifier-groups`, body, options);
|
|
3103
|
+
}
|
|
3104
|
+
/**
|
|
3105
|
+
* GET /menu/v3/draft/modifier-groups/count
|
|
3106
|
+
*
|
|
3107
|
+
* @param options - additional request options
|
|
3108
|
+
*/
|
|
3109
|
+
get_menu_v3_draft_modifier_groups_count(options) {
|
|
3110
|
+
return this.request("menu", "get_menu_v3_draft_modifier_groups_count", "get", `/menu/v3/draft/modifier-groups/count`, null, options);
|
|
3111
|
+
}
|
|
3112
|
+
/**
|
|
3113
|
+
* POST /menu/v3/draft/modifier-group/relationships/modifier
|
|
3114
|
+
*
|
|
3115
|
+
* @param body
|
|
3116
|
+
* @param options - additional request options
|
|
3117
|
+
*/
|
|
3118
|
+
post_menu_v3_draft_modifier_group_relationships_modifier(body, options) {
|
|
3119
|
+
return this.request("menu", "post_menu_v3_draft_modifier_group_relationships_modifier", "post", `/menu/v3/draft/modifier-group/relationships/modifier`, body, options);
|
|
3120
|
+
}
|
|
3121
|
+
/**
|
|
3122
|
+
* GET /menu/v3/draft/modifier-group/relationships/modifier/{id}
|
|
3123
|
+
*
|
|
3124
|
+
* @param id
|
|
3125
|
+
* @param options - additional request options
|
|
3126
|
+
*/
|
|
3127
|
+
get_menu_v3_draft_modifier_group_relationships_modifier(id, options) {
|
|
3128
|
+
return this.request("menu", "get_menu_v3_draft_modifier_group_relationships_modifier", "get", `/menu/v3/draft/modifier-group/relationships/modifier/${id}`, null, options);
|
|
3129
|
+
}
|
|
3130
|
+
/**
|
|
3131
|
+
* PATCH /menu/v3/draft/modifier-group/relationships/modifier/{id}
|
|
3132
|
+
*
|
|
3133
|
+
* @param id
|
|
3134
|
+
* @param body - A partially populated DraftModifierGroupToModifierRelationship
|
|
3135
|
+
* @param options - additional request options
|
|
3136
|
+
*/
|
|
3137
|
+
patch_menu_v3_draft_modifier_group_relationships_modifier(id, body, options) {
|
|
3138
|
+
return this.request("menu", "patch_menu_v3_draft_modifier_group_relationships_modifier", "patch", `/menu/v3/draft/modifier-group/relationships/modifier/${id}`, body, options);
|
|
3139
|
+
}
|
|
3140
|
+
/**
|
|
3141
|
+
* DELETE /menu/v3/draft/modifier-group/relationships/modifier/{id}
|
|
3142
|
+
*
|
|
3143
|
+
* @param id
|
|
3144
|
+
* @param options - additional request options
|
|
3145
|
+
*/
|
|
3146
|
+
delete_menu_v3_draft_modifier_group_relationships_modifier(id, options) {
|
|
3147
|
+
return this.request("menu", "delete_menu_v3_draft_modifier_group_relationships_modifier", "delete", `/menu/v3/draft/modifier-group/relationships/modifier/${id}`, null, options);
|
|
3148
|
+
}
|
|
3149
|
+
/**
|
|
3150
|
+
* GET /menu/v3/draft/modifier-group/relationships/modifiers
|
|
3151
|
+
*
|
|
3152
|
+
* @param options - additional request options
|
|
3153
|
+
*/
|
|
3154
|
+
get_menu_v3_draft_modifier_group_relationships_modifiers(options) {
|
|
3155
|
+
return this.request("menu", "get_menu_v3_draft_modifier_group_relationships_modifiers", "get", `/menu/v3/draft/modifier-group/relationships/modifiers`, null, options);
|
|
3156
|
+
}
|
|
3157
|
+
/**
|
|
3158
|
+
* POST /menu/v3/draft/modifier-group/relationships/modifiers
|
|
3159
|
+
*
|
|
3160
|
+
* @param body
|
|
3161
|
+
* @param options - additional request options
|
|
3162
|
+
*/
|
|
3163
|
+
post_menu_v3_draft_modifier_group_relationships_modifiers(body, options) {
|
|
3164
|
+
return this.request("menu", "post_menu_v3_draft_modifier_group_relationships_modifiers", "post", `/menu/v3/draft/modifier-group/relationships/modifiers`, body, options);
|
|
3165
|
+
}
|
|
3166
|
+
/**
|
|
3167
|
+
* GET /menu/v3/draft/modifier-group/relationships/modifiers/count
|
|
3168
|
+
*
|
|
3169
|
+
* @param options - additional request options
|
|
3170
|
+
*/
|
|
3171
|
+
get_menu_v3_draft_modifier_group_relationships_modifiers_count(options) {
|
|
3172
|
+
return this.request("menu", "get_menu_v3_draft_modifier_group_relationships_modifiers_count", "get", `/menu/v3/draft/modifier-group/relationships/modifiers/count`, null, options);
|
|
3173
|
+
}
|
|
3174
|
+
/**
|
|
3175
|
+
* POST /menu/v3/draft/modifier
|
|
3176
|
+
*
|
|
3177
|
+
* @param body
|
|
3178
|
+
* @param options - additional request options
|
|
3179
|
+
*/
|
|
3180
|
+
post_menu_v3_draft_modifier(body, options) {
|
|
3181
|
+
return this.request("menu", "post_menu_v3_draft_modifier", "post", `/menu/v3/draft/modifier`, body, options);
|
|
3182
|
+
}
|
|
3183
|
+
/**
|
|
3184
|
+
* GET /menu/v3/draft/modifier/{id}
|
|
3185
|
+
*
|
|
3186
|
+
* @param id
|
|
3187
|
+
* @param options - additional request options
|
|
3188
|
+
*/
|
|
3189
|
+
get_menu_v3_draft_modifier(id, options) {
|
|
3190
|
+
return this.request("menu", "get_menu_v3_draft_modifier", "get", `/menu/v3/draft/modifier/${id}`, null, options);
|
|
3191
|
+
}
|
|
3192
|
+
/**
|
|
3193
|
+
* PATCH /menu/v3/draft/modifier/{id}
|
|
3194
|
+
*
|
|
3195
|
+
* @param id
|
|
3196
|
+
* @param body - A partially populated DraftModifierEntity
|
|
3197
|
+
* @param options - additional request options
|
|
3198
|
+
*/
|
|
3199
|
+
patch_menu_v3_draft_modifier(id, body, options) {
|
|
3200
|
+
return this.request("menu", "patch_menu_v3_draft_modifier", "patch", `/menu/v3/draft/modifier/${id}`, body, options);
|
|
3201
|
+
}
|
|
3202
|
+
/**
|
|
3203
|
+
* DELETE /menu/v3/draft/modifier/{id}
|
|
3204
|
+
*
|
|
3205
|
+
* @param id
|
|
3206
|
+
* @param options - additional request options
|
|
3207
|
+
*/
|
|
3208
|
+
delete_menu_v3_draft_modifier(id, options) {
|
|
3209
|
+
return this.request("menu", "delete_menu_v3_draft_modifier", "delete", `/menu/v3/draft/modifier/${id}`, null, options);
|
|
3210
|
+
}
|
|
3211
|
+
/**
|
|
3212
|
+
* GET /menu/v3/draft/modifiers
|
|
3213
|
+
*
|
|
3214
|
+
* @param options - additional request options
|
|
3215
|
+
*/
|
|
3216
|
+
get_menu_v3_draft_modifiers(options) {
|
|
3217
|
+
return this.request("menu", "get_menu_v3_draft_modifiers", "get", `/menu/v3/draft/modifiers`, null, options);
|
|
3218
|
+
}
|
|
3219
|
+
/**
|
|
3220
|
+
* POST /menu/v3/draft/modifiers
|
|
3221
|
+
*
|
|
3222
|
+
* @param body
|
|
3223
|
+
* @param options - additional request options
|
|
3224
|
+
*/
|
|
3225
|
+
post_menu_v3_draft_modifiers(body, options) {
|
|
3226
|
+
return this.request("menu", "post_menu_v3_draft_modifiers", "post", `/menu/v3/draft/modifiers`, body, options);
|
|
3227
|
+
}
|
|
3228
|
+
/**
|
|
3229
|
+
* GET /menu/v3/draft/modifiers/count
|
|
3230
|
+
*
|
|
3231
|
+
* @param options - additional request options
|
|
3232
|
+
*/
|
|
3233
|
+
get_menu_v3_draft_modifiers_count(options) {
|
|
3234
|
+
return this.request("menu", "get_menu_v3_draft_modifiers_count", "get", `/menu/v3/draft/modifiers/count`, null, options);
|
|
3235
|
+
}
|
|
3236
|
+
/**
|
|
3237
|
+
* POST /menu/v3/draft/brand
|
|
3238
|
+
*
|
|
3239
|
+
* @param body
|
|
3240
|
+
* @param options - additional request options
|
|
3241
|
+
*/
|
|
3242
|
+
post_menu_v3_draft_brand(body, options) {
|
|
3243
|
+
return this.request("menu", "post_menu_v3_draft_brand", "post", `/menu/v3/draft/brand`, body, options);
|
|
3244
|
+
}
|
|
3245
|
+
/**
|
|
3246
|
+
* GET /menu/v3/draft/brand/{id}
|
|
3247
|
+
*
|
|
3248
|
+
* @param id
|
|
3249
|
+
* @param options - additional request options
|
|
3250
|
+
*/
|
|
3251
|
+
get_menu_v3_draft_brand(id, options) {
|
|
3252
|
+
return this.request("menu", "get_menu_v3_draft_brand", "get", `/menu/v3/draft/brand/${id}`, null, options);
|
|
3253
|
+
}
|
|
3254
|
+
/**
|
|
3255
|
+
* PATCH /menu/v3/draft/brand/{id}
|
|
3256
|
+
*
|
|
3257
|
+
* @param id
|
|
3258
|
+
* @param body - A partially populated DraftBrandEntity
|
|
3259
|
+
* @param options - additional request options
|
|
3260
|
+
*/
|
|
3261
|
+
patch_menu_v3_draft_brand(id, body, options) {
|
|
3262
|
+
return this.request("menu", "patch_menu_v3_draft_brand", "patch", `/menu/v3/draft/brand/${id}`, body, options);
|
|
3263
|
+
}
|
|
3264
|
+
/**
|
|
3265
|
+
* DELETE /menu/v3/draft/brand/{id}
|
|
3266
|
+
*
|
|
3267
|
+
* @param id
|
|
3268
|
+
* @param options - additional request options
|
|
3269
|
+
*/
|
|
3270
|
+
delete_menu_v3_draft_brand(id, options) {
|
|
3271
|
+
return this.request("menu", "delete_menu_v3_draft_brand", "delete", `/menu/v3/draft/brand/${id}`, null, options);
|
|
3272
|
+
}
|
|
3273
|
+
/**
|
|
3274
|
+
* GET /menu/v3/draft/brands
|
|
3275
|
+
*
|
|
3276
|
+
* @param options - additional request options
|
|
3277
|
+
*/
|
|
3278
|
+
get_menu_v3_draft_brands(options) {
|
|
3279
|
+
return this.request("menu", "get_menu_v3_draft_brands", "get", `/menu/v3/draft/brands`, null, options);
|
|
3280
|
+
}
|
|
3281
|
+
/**
|
|
3282
|
+
* POST /menu/v3/draft/brands
|
|
3283
|
+
*
|
|
3284
|
+
* @param body
|
|
3285
|
+
* @param options - additional request options
|
|
3286
|
+
*/
|
|
3287
|
+
post_menu_v3_draft_brands(body, options) {
|
|
3288
|
+
return this.request("menu", "post_menu_v3_draft_brands", "post", `/menu/v3/draft/brands`, body, options);
|
|
3289
|
+
}
|
|
3290
|
+
/**
|
|
3291
|
+
* GET /menu/v3/draft/brands/count
|
|
3292
|
+
*
|
|
3293
|
+
* @param options - additional request options
|
|
3294
|
+
*/
|
|
3295
|
+
get_menu_v3_draft_brands_count(options) {
|
|
3296
|
+
return this.request("menu", "get_menu_v3_draft_brands_count", "get", `/menu/v3/draft/brands/count`, null, options);
|
|
3297
|
+
}
|
|
3298
|
+
/**
|
|
3299
|
+
* GET /menu/v3/draft/brand/{id}/modifiers
|
|
3300
|
+
*
|
|
3301
|
+
* @param id
|
|
3302
|
+
* @param options - additional request options
|
|
3303
|
+
*/
|
|
3304
|
+
get_menu_v3_draft_brand_modifiers(id, options) {
|
|
3305
|
+
return this.request("menu", "get_menu_v3_draft_brand_modifiers", "get", `/menu/v3/draft/brand/${id}/modifiers`, null, options);
|
|
3306
|
+
}
|
|
3307
|
+
/**
|
|
3308
|
+
* GET /menu/v3/draft/brand/{id}/modifier_groups
|
|
3309
|
+
*
|
|
3310
|
+
* @param id
|
|
3311
|
+
* @param options - additional request options
|
|
3312
|
+
*/
|
|
3313
|
+
get_menu_v3_draft_brand_modifier_groups(id, options) {
|
|
3314
|
+
return this.request("menu", "get_menu_v3_draft_brand_modifier_groups", "get", `/menu/v3/draft/brand/${id}/modifier_groups`, null, options);
|
|
3315
|
+
}
|
|
3316
|
+
/**
|
|
3317
|
+
* GET /menu/v3/draft/brand/{id}/items
|
|
3318
|
+
*
|
|
3319
|
+
* @param id
|
|
3320
|
+
* @param options - additional request options
|
|
3321
|
+
*/
|
|
3322
|
+
get_menu_v3_draft_brand_items(id, options) {
|
|
3323
|
+
return this.request("menu", "get_menu_v3_draft_brand_items", "get", `/menu/v3/draft/brand/${id}/items`, null, options);
|
|
3324
|
+
}
|
|
3325
|
+
/**
|
|
3326
|
+
* POST /menu/v3/draft/brand/{id}/publish
|
|
3327
|
+
*
|
|
3328
|
+
* @param id
|
|
3329
|
+
* @param options - additional request options
|
|
3330
|
+
*/
|
|
3331
|
+
post_menu_v3_draft_brand_publish(id, options) {
|
|
3332
|
+
return this.request("menu", "post_menu_v3_draft_brand_publish", "post", `/menu/v3/draft/brand/${id}/publish`, null, options);
|
|
3333
|
+
}
|
|
3334
|
+
/**
|
|
3335
|
+
* POST /menu/v3/draft/station
|
|
3336
|
+
*
|
|
3337
|
+
* @param body
|
|
3338
|
+
* @param options - additional request options
|
|
3339
|
+
*/
|
|
3340
|
+
post_menu_v3_draft_station(body, options) {
|
|
3341
|
+
return this.request("menu", "post_menu_v3_draft_station", "post", `/menu/v3/draft/station`, body, options);
|
|
3342
|
+
}
|
|
3343
|
+
/**
|
|
3344
|
+
* GET /menu/v3/draft/station/{id}
|
|
3345
|
+
*
|
|
3346
|
+
* @param id
|
|
3347
|
+
* @param options - additional request options
|
|
3348
|
+
*/
|
|
3349
|
+
get_menu_v3_draft_station(id, options) {
|
|
3350
|
+
return this.request("menu", "get_menu_v3_draft_station", "get", `/menu/v3/draft/station/${id}`, null, options);
|
|
3351
|
+
}
|
|
3352
|
+
/**
|
|
3353
|
+
* PATCH /menu/v3/draft/station/{id}
|
|
3354
|
+
*
|
|
3355
|
+
* @param id
|
|
3356
|
+
* @param body - A partially populated StationEntity
|
|
3357
|
+
* @param options - additional request options
|
|
3358
|
+
*/
|
|
3359
|
+
patch_menu_v3_draft_station(id, body, options) {
|
|
3360
|
+
return this.request("menu", "patch_menu_v3_draft_station", "patch", `/menu/v3/draft/station/${id}`, body, options);
|
|
3361
|
+
}
|
|
3362
|
+
/**
|
|
3363
|
+
* DELETE /menu/v3/draft/station/{id}
|
|
3364
|
+
*
|
|
3365
|
+
* @param id
|
|
3366
|
+
* @param options - additional request options
|
|
3367
|
+
*/
|
|
3368
|
+
delete_menu_v3_draft_station(id, options) {
|
|
3369
|
+
return this.request("menu", "delete_menu_v3_draft_station", "delete", `/menu/v3/draft/station/${id}`, null, options);
|
|
3370
|
+
}
|
|
3371
|
+
/**
|
|
3372
|
+
* GET /menu/v3/draft/stations
|
|
3373
|
+
*
|
|
3374
|
+
* @param options - additional request options
|
|
3375
|
+
*/
|
|
3376
|
+
get_menu_v3_draft_stations(options) {
|
|
3377
|
+
return this.request("menu", "get_menu_v3_draft_stations", "get", `/menu/v3/draft/stations`, null, options);
|
|
3378
|
+
}
|
|
3379
|
+
/**
|
|
3380
|
+
* POST /menu/v3/draft/stations
|
|
3381
|
+
*
|
|
3382
|
+
* @param body
|
|
3383
|
+
* @param options - additional request options
|
|
3384
|
+
*/
|
|
3385
|
+
post_menu_v3_draft_stations(body, options) {
|
|
3386
|
+
return this.request("menu", "post_menu_v3_draft_stations", "post", `/menu/v3/draft/stations`, body, options);
|
|
3387
|
+
}
|
|
3388
|
+
/**
|
|
3389
|
+
* GET /menu/v3/draft/stations/count
|
|
3390
|
+
*
|
|
3391
|
+
* @param options - additional request options
|
|
3392
|
+
*/
|
|
3393
|
+
get_menu_v3_draft_stations_count(options) {
|
|
3394
|
+
return this.request("menu", "get_menu_v3_draft_stations_count", "get", `/menu/v3/draft/stations/count`, null, options);
|
|
3395
|
+
}
|
|
3396
|
+
/**
|
|
3397
|
+
* GET /menu/v3/draft/station/{id}/modifiers
|
|
3398
|
+
*
|
|
3399
|
+
* @param id
|
|
3400
|
+
* @param options - additional request options
|
|
3401
|
+
*/
|
|
3402
|
+
get_menu_v3_draft_station_modifiers(id, options) {
|
|
3403
|
+
return this.request("menu", "get_menu_v3_draft_station_modifiers", "get", `/menu/v3/draft/station/${id}/modifiers`, null, options);
|
|
3404
|
+
}
|
|
3405
|
+
/**
|
|
3406
|
+
* GET /menu/v3/draft/station/{id}/modifier_groups
|
|
3407
|
+
*
|
|
3408
|
+
* @param id
|
|
3409
|
+
* @param options - additional request options
|
|
3410
|
+
*/
|
|
3411
|
+
get_menu_v3_draft_station_modifier_groups(id, options) {
|
|
3412
|
+
return this.request("menu", "get_menu_v3_draft_station_modifier_groups", "get", `/menu/v3/draft/station/${id}/modifier_groups`, null, options);
|
|
3413
|
+
}
|
|
3414
|
+
/**
|
|
3415
|
+
* GET /menu/v3/draft/station/{id}/items
|
|
3416
|
+
*
|
|
3417
|
+
* @param id
|
|
3418
|
+
* @param options - additional request options
|
|
3419
|
+
*/
|
|
3420
|
+
get_menu_v3_draft_station_items(id, options) {
|
|
3421
|
+
return this.request("menu", "get_menu_v3_draft_station_items", "get", `/menu/v3/draft/station/${id}/items`, null, options);
|
|
3422
|
+
}
|
|
3423
|
+
/**
|
|
3424
|
+
* GET /menu/v3/draft/site/{id}/layouts
|
|
3425
|
+
*
|
|
3426
|
+
* @param id
|
|
3427
|
+
* @param options - additional request options
|
|
3428
|
+
*/
|
|
3429
|
+
get_menu_v3_draft_site_layouts(id, options) {
|
|
3430
|
+
return this.request("menu", "get_menu_v3_draft_site_layouts", "get", `/menu/v3/draft/site/${id}/layouts`, null, options);
|
|
3431
|
+
}
|
|
3432
|
+
/**
|
|
3433
|
+
* GET /menu/v3/categorys/count
|
|
3434
|
+
*
|
|
3435
|
+
* @param options - additional request options
|
|
3436
|
+
*/
|
|
3437
|
+
get_menu_v3_categorys_count(options) {
|
|
3438
|
+
return this.request("menu", "get_menu_v3_categorys_count", "get", `/menu/v3/categorys/count`, null, options);
|
|
3439
|
+
}
|
|
3440
|
+
/**
|
|
3441
|
+
* POST /menu/v3/brand/{id}/local
|
|
3442
|
+
*
|
|
3443
|
+
* @param id
|
|
3444
|
+
* @param options - additional request options
|
|
3445
|
+
*/
|
|
3446
|
+
post_menu_v3_brand_local(id, options) {
|
|
3447
|
+
return this.request("menu", "post_menu_v3_brand_local", "post", `/menu/v3/brand/${id}/local`, null, options);
|
|
3448
|
+
}
|
|
2926
3449
|
/**
|
|
2927
3450
|
* GET /notification - Get all notifications
|
|
2928
3451
|
*
|