@compassdigital/sdk.typescript 3.50.0 → 3.52.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/.editorconfig +0 -1
- package/lib/index.d.ts +885 -295
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +958 -316
- package/lib/index.js.map +1 -1
- package/lib/interface/announcement.d.ts +1 -0
- package/lib/interface/announcement.d.ts.map +1 -1
- package/lib/interface/calendar.d.ts +1 -0
- package/lib/interface/calendar.d.ts.map +1 -1
- package/lib/interface/compassconnect.d.ts +1 -0
- package/lib/interface/compassconnect.d.ts.map +1 -1
- package/lib/interface/config.d.ts +1 -0
- package/lib/interface/config.d.ts.map +1 -1
- package/lib/interface/datalake.d.ts +1 -0
- package/lib/interface/datalake.d.ts.map +1 -1
- package/lib/interface/delivery.d.ts +19 -0
- package/lib/interface/delivery.d.ts.map +1 -1
- package/lib/interface/email.d.ts +1 -0
- package/lib/interface/email.d.ts.map +1 -1
- package/lib/interface/file.d.ts +1 -0
- package/lib/interface/file.d.ts.map +1 -1
- package/lib/interface/kds.d.ts +1 -0
- package/lib/interface/kds.d.ts.map +1 -1
- package/lib/interface/location.d.ts +1 -0
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/mealplan.d.ts +1 -0
- package/lib/interface/mealplan.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +3289 -802
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/notification.d.ts +1 -0
- package/lib/interface/notification.d.ts.map +1 -1
- package/lib/interface/order.d.ts +1 -0
- package/lib/interface/order.d.ts.map +1 -1
- package/lib/interface/partner.d.ts +20 -1
- package/lib/interface/partner.d.ts.map +1 -1
- package/lib/interface/payment.d.ts +21 -18
- package/lib/interface/payment.d.ts.map +1 -1
- package/lib/interface/permission.d.ts +1 -0
- package/lib/interface/permission.d.ts.map +1 -1
- package/lib/interface/promo.d.ts +1 -0
- package/lib/interface/promo.d.ts.map +1 -1
- package/lib/interface/report.d.ts +20 -0
- package/lib/interface/report.d.ts.map +1 -1
- package/lib/interface/shoppingcart.d.ts +13 -4
- package/lib/interface/shoppingcart.d.ts.map +1 -1
- package/lib/interface/task.d.ts +1 -0
- package/lib/interface/task.d.ts.map +1 -1
- package/lib/interface/user.d.ts +1 -0
- package/lib/interface/user.d.ts.map +1 -1
- package/lib/interface/vendor.d.ts +1 -0
- package/lib/interface/vendor.d.ts.map +1 -1
- package/manifest.json +39 -39
- package/package.json +3 -3
- package/src/index.ts +2291 -613
- 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 +28 -0
- 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/mealplan.ts +1 -0
- package/src/interface/menu.ts +4281 -1043
- package/src/interface/notification.ts +1 -0
- package/src/interface/order.ts +1 -0
- package/src/interface/partner.ts +35 -2
- package/src/interface/payment.ts +28 -23
- package/src/interface/permission.ts +1 -0
- package/src/interface/promo.ts +1 -0
- package/src/interface/report.ts +37 -0
- package/src/interface/shoppingcart.ts +14 -4
- package/src/interface/task.ts +1 -0
- package/src/interface/user.ts +1 -0
- package/src/interface/vendor.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) {
|
|
@@ -2924,210 +2728,1038 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2924
2728
|
return this.request("menu", "get_menu_v3_site_layouts", "get", `/menu/v3/site/${id}/layouts`, null, options);
|
|
2925
2729
|
}
|
|
2926
2730
|
/**
|
|
2927
|
-
*
|
|
2731
|
+
* POST /menu/v3/draft/layout
|
|
2928
2732
|
*
|
|
2733
|
+
* @param body
|
|
2929
2734
|
* @param options - additional request options
|
|
2930
2735
|
*/
|
|
2931
|
-
|
|
2932
|
-
return this.request("
|
|
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);
|
|
2933
2738
|
}
|
|
2934
2739
|
/**
|
|
2935
|
-
*
|
|
2740
|
+
* GET /menu/v3/draft/layout/{id}
|
|
2936
2741
|
*
|
|
2937
|
-
* @param
|
|
2742
|
+
* @param id
|
|
2938
2743
|
* @param options - additional request options
|
|
2939
2744
|
*/
|
|
2940
|
-
|
|
2941
|
-
return this.request("
|
|
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);
|
|
2942
2747
|
}
|
|
2943
2748
|
/**
|
|
2944
|
-
* PATCH /
|
|
2749
|
+
* PATCH /menu/v3/draft/layout/{id}
|
|
2945
2750
|
*
|
|
2946
|
-
* @param id
|
|
2947
|
-
* @param body
|
|
2751
|
+
* @param id
|
|
2752
|
+
* @param body - A partially populated DraftLayoutEntity
|
|
2948
2753
|
* @param options - additional request options
|
|
2949
2754
|
*/
|
|
2950
|
-
|
|
2951
|
-
return this.request("
|
|
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);
|
|
2952
2757
|
}
|
|
2953
2758
|
/**
|
|
2954
|
-
* DELETE /
|
|
2759
|
+
* DELETE /menu/v3/draft/layout/{id}
|
|
2955
2760
|
*
|
|
2956
|
-
* @param id
|
|
2761
|
+
* @param id
|
|
2957
2762
|
* @param options - additional request options
|
|
2958
2763
|
*/
|
|
2959
|
-
|
|
2960
|
-
return this.request("
|
|
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);
|
|
2961
2766
|
}
|
|
2962
2767
|
/**
|
|
2963
|
-
*
|
|
2768
|
+
* GET /menu/v3/draft/layouts
|
|
2964
2769
|
*
|
|
2965
|
-
* @param id - Id of a notification
|
|
2966
|
-
* @param body - Status to set
|
|
2967
2770
|
* @param options - additional request options
|
|
2968
2771
|
*/
|
|
2969
|
-
|
|
2970
|
-
return this.request("
|
|
2772
|
+
get_menu_v3_draft_layouts(options) {
|
|
2773
|
+
return this.request("menu", "get_menu_v3_draft_layouts", "get", `/menu/v3/draft/layouts`, null, options);
|
|
2971
2774
|
}
|
|
2972
2775
|
/**
|
|
2973
|
-
* POST /
|
|
2776
|
+
* POST /menu/v3/draft/layouts
|
|
2974
2777
|
*
|
|
2975
|
-
* @param body
|
|
2778
|
+
* @param body
|
|
2976
2779
|
* @param options - additional request options
|
|
2977
2780
|
*/
|
|
2978
|
-
|
|
2979
|
-
return this.request("
|
|
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);
|
|
2980
2783
|
}
|
|
2981
2784
|
/**
|
|
2982
|
-
* GET /
|
|
2785
|
+
* GET /menu/v3/draft/layouts/count
|
|
2983
2786
|
*
|
|
2984
2787
|
* @param options - additional request options
|
|
2985
2788
|
*/
|
|
2986
|
-
|
|
2987
|
-
return this.request("
|
|
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);
|
|
2988
2791
|
}
|
|
2989
2792
|
/**
|
|
2990
|
-
* GET /
|
|
2793
|
+
* GET /menu/v3/draft/layout/{id}/categories
|
|
2991
2794
|
*
|
|
2795
|
+
* @param id
|
|
2992
2796
|
* @param options - additional request options
|
|
2993
2797
|
*/
|
|
2994
|
-
|
|
2995
|
-
return this.request("
|
|
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);
|
|
2996
2800
|
}
|
|
2997
2801
|
/**
|
|
2998
|
-
* POST /
|
|
2802
|
+
* POST /menu/v3/draft/layout/{id}/publish
|
|
2999
2803
|
*
|
|
3000
|
-
* @param
|
|
2804
|
+
* @param id
|
|
3001
2805
|
* @param options - additional request options
|
|
3002
2806
|
*/
|
|
3003
|
-
|
|
3004
|
-
return this.request("
|
|
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);
|
|
3005
2809
|
}
|
|
3006
2810
|
/**
|
|
3007
|
-
*
|
|
2811
|
+
* POST /menu/v3/draft/category
|
|
3008
2812
|
*
|
|
2813
|
+
* @param body
|
|
3009
2814
|
* @param options - additional request options
|
|
3010
2815
|
*/
|
|
3011
|
-
|
|
3012
|
-
return this.request("
|
|
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);
|
|
3013
2818
|
}
|
|
3014
2819
|
/**
|
|
3015
|
-
*
|
|
2820
|
+
* GET /menu/v3/draft/category/{id}
|
|
3016
2821
|
*
|
|
3017
|
-
* @param id
|
|
3018
|
-
* @param body
|
|
2822
|
+
* @param id
|
|
3019
2823
|
* @param options - additional request options
|
|
3020
2824
|
*/
|
|
3021
|
-
|
|
3022
|
-
return this.request("
|
|
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);
|
|
3023
2827
|
}
|
|
3024
2828
|
/**
|
|
3025
|
-
*
|
|
2829
|
+
* PATCH /menu/v3/draft/category/{id}
|
|
3026
2830
|
*
|
|
3027
|
-
* @param
|
|
2831
|
+
* @param id
|
|
2832
|
+
* @param body - A partially populated DraftCategoryEntity
|
|
3028
2833
|
* @param options - additional request options
|
|
3029
2834
|
*/
|
|
3030
|
-
|
|
3031
|
-
return this.request("
|
|
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);
|
|
3032
2837
|
}
|
|
3033
2838
|
/**
|
|
3034
|
-
*
|
|
2839
|
+
* DELETE /menu/v3/draft/category/{id}
|
|
3035
2840
|
*
|
|
2841
|
+
* @param id
|
|
3036
2842
|
* @param options - additional request options
|
|
3037
2843
|
*/
|
|
3038
|
-
|
|
3039
|
-
return this.request("
|
|
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);
|
|
3040
2846
|
}
|
|
3041
2847
|
/**
|
|
3042
|
-
* GET /
|
|
2848
|
+
* GET /menu/v3/draft/categories/count
|
|
3043
2849
|
*
|
|
3044
|
-
* @param id - vendor
|
|
3045
2850
|
* @param options - additional request options
|
|
3046
2851
|
*/
|
|
3047
|
-
|
|
3048
|
-
return this.request("
|
|
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);
|
|
3049
2854
|
}
|
|
3050
2855
|
/**
|
|
3051
|
-
*
|
|
2856
|
+
* POST /menu/v3/draft/categorys
|
|
3052
2857
|
*
|
|
3053
|
-
* @param id - vendor
|
|
3054
2858
|
* @param body
|
|
3055
2859
|
* @param options - additional request options
|
|
3056
2860
|
*/
|
|
3057
|
-
|
|
3058
|
-
return this.request("
|
|
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);
|
|
3059
2863
|
}
|
|
3060
2864
|
/**
|
|
3061
|
-
*
|
|
2865
|
+
* POST /menu/v3/draft/category/relationships/item
|
|
3062
2866
|
*
|
|
2867
|
+
* @param body
|
|
3063
2868
|
* @param options - additional request options
|
|
3064
2869
|
*/
|
|
3065
|
-
|
|
3066
|
-
return this.request("
|
|
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);
|
|
3067
2872
|
}
|
|
3068
2873
|
/**
|
|
3069
|
-
*
|
|
2874
|
+
* GET /menu/v3/draft/category/relationships/item/{id}
|
|
3070
2875
|
*
|
|
3071
|
-
* @param
|
|
2876
|
+
* @param id
|
|
3072
2877
|
* @param options - additional request options
|
|
3073
2878
|
*/
|
|
3074
|
-
|
|
3075
|
-
return this.request("
|
|
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);
|
|
3076
2881
|
}
|
|
3077
2882
|
/**
|
|
3078
|
-
*
|
|
2883
|
+
* PATCH /menu/v3/draft/category/relationships/item/{id}
|
|
3079
2884
|
*
|
|
3080
|
-
* @param id
|
|
2885
|
+
* @param id
|
|
2886
|
+
* @param body - A partially populated DraftCategoryToItemRelationship
|
|
3081
2887
|
* @param options - additional request options
|
|
3082
2888
|
*/
|
|
3083
|
-
|
|
3084
|
-
return this.request("
|
|
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);
|
|
3085
2891
|
}
|
|
3086
2892
|
/**
|
|
3087
|
-
*
|
|
2893
|
+
* DELETE /menu/v3/draft/category/relationships/item/{id}
|
|
3088
2894
|
*
|
|
3089
|
-
* @param id
|
|
3090
|
-
* @param body
|
|
2895
|
+
* @param id
|
|
3091
2896
|
* @param options - additional request options
|
|
3092
2897
|
*/
|
|
3093
|
-
|
|
3094
|
-
return this.request("
|
|
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);
|
|
3095
2900
|
}
|
|
3096
2901
|
/**
|
|
3097
|
-
* GET /
|
|
2902
|
+
* GET /menu/v3/draft/category/relationships/items
|
|
3098
2903
|
*
|
|
3099
|
-
* @param id - vendor
|
|
3100
|
-
* @param key - key
|
|
3101
2904
|
* @param options - additional request options
|
|
3102
2905
|
*/
|
|
3103
|
-
|
|
3104
|
-
return this.request("
|
|
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);
|
|
3105
2908
|
}
|
|
3106
2909
|
/**
|
|
3107
|
-
*
|
|
2910
|
+
* POST /menu/v3/draft/category/relationships/items
|
|
3108
2911
|
*
|
|
3109
|
-
* @param id - vendor
|
|
3110
|
-
* @param key - key
|
|
3111
2912
|
* @param body
|
|
3112
2913
|
* @param options - additional request options
|
|
3113
2914
|
*/
|
|
3114
|
-
|
|
3115
|
-
return this.request("
|
|
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);
|
|
3116
2917
|
}
|
|
3117
2918
|
/**
|
|
3118
|
-
*
|
|
2919
|
+
* GET /menu/v3/draft/category/relationships/items/count
|
|
3119
2920
|
*
|
|
3120
|
-
* @param id - vendor
|
|
3121
|
-
* @param key - key
|
|
3122
2921
|
* @param options - additional request options
|
|
3123
2922
|
*/
|
|
3124
|
-
|
|
3125
|
-
return this.request("
|
|
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);
|
|
3126
2925
|
}
|
|
3127
2926
|
/**
|
|
3128
|
-
* POST /
|
|
2927
|
+
* POST /menu/v3/draft/item
|
|
3129
2928
|
*
|
|
3130
|
-
* @param
|
|
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
|
+
}
|
|
3449
|
+
/**
|
|
3450
|
+
* POST /menu/v3/item/{id}/attachment/{name}
|
|
3451
|
+
*
|
|
3452
|
+
* @param id
|
|
3453
|
+
* @param name
|
|
3454
|
+
* @param options - additional request options
|
|
3455
|
+
*/
|
|
3456
|
+
post_menu_v3_item_attachment(id, name, options) {
|
|
3457
|
+
return this.request("menu", "post_menu_v3_item_attachment", "post", `/menu/v3/item/${id}/attachment/${name}`, null, options);
|
|
3458
|
+
}
|
|
3459
|
+
/**
|
|
3460
|
+
* POST /menu/v3/brand/{id}/attachment/{name}
|
|
3461
|
+
*
|
|
3462
|
+
* @param id
|
|
3463
|
+
* @param name
|
|
3464
|
+
* @param options - additional request options
|
|
3465
|
+
*/
|
|
3466
|
+
post_menu_v3_brand_attachment(id, name, options) {
|
|
3467
|
+
return this.request("menu", "post_menu_v3_brand_attachment", "post", `/menu/v3/brand/${id}/attachment/${name}`, null, options);
|
|
3468
|
+
}
|
|
3469
|
+
/**
|
|
3470
|
+
* POST /menu/v3/brand-group
|
|
3471
|
+
*
|
|
3472
|
+
* @param body
|
|
3473
|
+
* @param options - additional request options
|
|
3474
|
+
*/
|
|
3475
|
+
post_menu_v3_brand_group(body, options) {
|
|
3476
|
+
return this.request("menu", "post_menu_v3_brand_group", "post", `/menu/v3/brand-group`, body, options);
|
|
3477
|
+
}
|
|
3478
|
+
/**
|
|
3479
|
+
* GET /menu/v3/brand-group/{id}
|
|
3480
|
+
*
|
|
3481
|
+
* @param id
|
|
3482
|
+
* @param options - additional request options
|
|
3483
|
+
*/
|
|
3484
|
+
get_menu_v3_brand_group(id, options) {
|
|
3485
|
+
return this.request("menu", "get_menu_v3_brand_group", "get", `/menu/v3/brand-group/${id}`, null, options);
|
|
3486
|
+
}
|
|
3487
|
+
/**
|
|
3488
|
+
* PATCH /menu/v3/brand-group/{id}
|
|
3489
|
+
*
|
|
3490
|
+
* @param id
|
|
3491
|
+
* @param body - A partially populated BrandGroupEntity
|
|
3492
|
+
* @param options - additional request options
|
|
3493
|
+
*/
|
|
3494
|
+
patch_menu_v3_brand_group(id, body, options) {
|
|
3495
|
+
return this.request("menu", "patch_menu_v3_brand_group", "patch", `/menu/v3/brand-group/${id}`, body, options);
|
|
3496
|
+
}
|
|
3497
|
+
/**
|
|
3498
|
+
* DELETE /menu/v3/brand-group/{id}
|
|
3499
|
+
*
|
|
3500
|
+
* @param id
|
|
3501
|
+
* @param options - additional request options
|
|
3502
|
+
*/
|
|
3503
|
+
delete_menu_v3_brand_group(id, options) {
|
|
3504
|
+
return this.request("menu", "delete_menu_v3_brand_group", "delete", `/menu/v3/brand-group/${id}`, null, options);
|
|
3505
|
+
}
|
|
3506
|
+
/**
|
|
3507
|
+
* GET /menu/v3/brand-groups
|
|
3508
|
+
*
|
|
3509
|
+
* @param options - additional request options
|
|
3510
|
+
*/
|
|
3511
|
+
get_menu_v3_brand_groups(options) {
|
|
3512
|
+
return this.request("menu", "get_menu_v3_brand_groups", "get", `/menu/v3/brand-groups`, null, options);
|
|
3513
|
+
}
|
|
3514
|
+
/**
|
|
3515
|
+
* POST /menu/v3/brand-groups
|
|
3516
|
+
*
|
|
3517
|
+
* @param body
|
|
3518
|
+
* @param options - additional request options
|
|
3519
|
+
*/
|
|
3520
|
+
post_menu_v3_brand_groups(body, options) {
|
|
3521
|
+
return this.request("menu", "post_menu_v3_brand_groups", "post", `/menu/v3/brand-groups`, body, options);
|
|
3522
|
+
}
|
|
3523
|
+
/**
|
|
3524
|
+
* GET /menu/v3/brand-groups/count
|
|
3525
|
+
*
|
|
3526
|
+
* @param options - additional request options
|
|
3527
|
+
*/
|
|
3528
|
+
get_menu_v3_brand_groups_count(options) {
|
|
3529
|
+
return this.request("menu", "get_menu_v3_brand_groups_count", "get", `/menu/v3/brand-groups/count`, null, options);
|
|
3530
|
+
}
|
|
3531
|
+
/**
|
|
3532
|
+
* GET /menu/v3/brand-group/{id}/draft/brands
|
|
3533
|
+
*
|
|
3534
|
+
* @param id
|
|
3535
|
+
* @param options - additional request options
|
|
3536
|
+
*/
|
|
3537
|
+
get_menu_v3_brand_group_draft_brands(id, options) {
|
|
3538
|
+
return this.request("menu", "get_menu_v3_brand_group_draft_brands", "get", `/menu/v3/brand-group/${id}/draft/brands`, null, options);
|
|
3539
|
+
}
|
|
3540
|
+
/**
|
|
3541
|
+
* GET /menu/v3/brand-group/{id}/brands
|
|
3542
|
+
*
|
|
3543
|
+
* @param id
|
|
3544
|
+
* @param options - additional request options
|
|
3545
|
+
*/
|
|
3546
|
+
get_menu_v3_brand_group_brands(id, options) {
|
|
3547
|
+
return this.request("menu", "get_menu_v3_brand_group_brands", "get", `/menu/v3/brand-group/${id}/brands`, null, options);
|
|
3548
|
+
}
|
|
3549
|
+
/**
|
|
3550
|
+
* GET /menu/v3/draft/brand-group/{id}/brands
|
|
3551
|
+
*
|
|
3552
|
+
* @param id
|
|
3553
|
+
* @param options - additional request options
|
|
3554
|
+
*/
|
|
3555
|
+
get_menu_v3_draft_brand_group_brands(id, options) {
|
|
3556
|
+
return this.request("menu", "get_menu_v3_draft_brand_group_brands", "get", `/menu/v3/draft/brand-group/${id}/brands`, null, options);
|
|
3557
|
+
}
|
|
3558
|
+
/**
|
|
3559
|
+
* GET /notification - Get all notifications
|
|
3560
|
+
*
|
|
3561
|
+
* @param options - additional request options
|
|
3562
|
+
*/
|
|
3563
|
+
get_notifications(options) {
|
|
3564
|
+
return this.request("notification", "get_notifications", "get", `/notification`, null, options);
|
|
3565
|
+
}
|
|
3566
|
+
/**
|
|
3567
|
+
* POST /notification - Create a notification
|
|
3568
|
+
*
|
|
3569
|
+
* @param body
|
|
3570
|
+
* @param options - additional request options
|
|
3571
|
+
*/
|
|
3572
|
+
post_notification(body, options) {
|
|
3573
|
+
return this.request("notification", "post_notification", "post", `/notification`, body, options);
|
|
3574
|
+
}
|
|
3575
|
+
/**
|
|
3576
|
+
* PATCH /notification/{id} - Update a notification
|
|
3577
|
+
*
|
|
3578
|
+
* @param id - Id of a notification
|
|
3579
|
+
* @param body
|
|
3580
|
+
* @param options - additional request options
|
|
3581
|
+
*/
|
|
3582
|
+
patch_notification(id, body, options) {
|
|
3583
|
+
return this.request("notification", "patch_notification", "patch", `/notification/${id}`, body, options);
|
|
3584
|
+
}
|
|
3585
|
+
/**
|
|
3586
|
+
* DELETE /notification/{id} - Delete a notification
|
|
3587
|
+
*
|
|
3588
|
+
* @param id - Id of a notification
|
|
3589
|
+
* @param options - additional request options
|
|
3590
|
+
*/
|
|
3591
|
+
delete_notification(id, options) {
|
|
3592
|
+
return this.request("notification", "delete_notification", "delete", `/notification/${id}`, null, options);
|
|
3593
|
+
}
|
|
3594
|
+
/**
|
|
3595
|
+
* POST /notification/{id}/status - Set a notification status for request user
|
|
3596
|
+
*
|
|
3597
|
+
* @param id - Id of a notification
|
|
3598
|
+
* @param body - Status to set
|
|
3599
|
+
* @param options - additional request options
|
|
3600
|
+
*/
|
|
3601
|
+
post_notification_status(id, body, options) {
|
|
3602
|
+
return this.request("notification", "post_notification_status", "post", `/notification/${id}/status`, body, options);
|
|
3603
|
+
}
|
|
3604
|
+
/**
|
|
3605
|
+
* POST /notification/device/push - Send a push notification to user's device
|
|
3606
|
+
*
|
|
3607
|
+
* @param body - Push notification to send
|
|
3608
|
+
* @param options - additional request options
|
|
3609
|
+
*/
|
|
3610
|
+
post_notification_device_push(body, options) {
|
|
3611
|
+
return this.request("notification", "post_notification_device_push", "post", `/notification/device/push`, body, options);
|
|
3612
|
+
}
|
|
3613
|
+
/**
|
|
3614
|
+
* GET /notification/swagger.json - Get a swagger for notification service
|
|
3615
|
+
*
|
|
3616
|
+
* @param options - additional request options
|
|
3617
|
+
*/
|
|
3618
|
+
get_notification_swagger(options) {
|
|
3619
|
+
return this.request("notification", "get_notification_swagger", "get", `/notification/swagger.json`, null, options);
|
|
3620
|
+
}
|
|
3621
|
+
/**
|
|
3622
|
+
* GET /compassconnect/get_oms_token - Gets an OMS token
|
|
3623
|
+
*
|
|
3624
|
+
* @param options - additional request options
|
|
3625
|
+
*/
|
|
3626
|
+
get_compassconnect_oms_token(options) {
|
|
3627
|
+
return this.request("compassconnect", "get_compassconnect_oms_token", "get", `/compassconnect/get_oms_token`, null, options);
|
|
3628
|
+
}
|
|
3629
|
+
/**
|
|
3630
|
+
* POST /vendor/application - Create a new application for review
|
|
3631
|
+
*
|
|
3632
|
+
* @param body
|
|
3633
|
+
* @param options - additional request options
|
|
3634
|
+
*/
|
|
3635
|
+
post_vendor_application(body, options) {
|
|
3636
|
+
return this.request("vendor", "post_vendor_application", "post", `/vendor/application`, body, options);
|
|
3637
|
+
}
|
|
3638
|
+
/**
|
|
3639
|
+
* GET /vendor/application - Get a list of all applications
|
|
3640
|
+
*
|
|
3641
|
+
* @param options - additional request options
|
|
3642
|
+
*/
|
|
3643
|
+
get_vendor_application(options) {
|
|
3644
|
+
return this.request("vendor", "get_vendor_application", "get", `/vendor/application`, null, options);
|
|
3645
|
+
}
|
|
3646
|
+
/**
|
|
3647
|
+
* PATCH /vendor/application/{id} - Update an application (or update status)
|
|
3648
|
+
*
|
|
3649
|
+
* @param id - TODO: add parameter to swagger.json
|
|
3650
|
+
* @param body
|
|
3651
|
+
* @param options - additional request options
|
|
3652
|
+
*/
|
|
3653
|
+
patch_vendor_application(id, body, options) {
|
|
3654
|
+
return this.request("vendor", "patch_vendor_application", "patch", `/vendor/application/${id}`, body, options);
|
|
3655
|
+
}
|
|
3656
|
+
/**
|
|
3657
|
+
* POST /vendor - Create new vendor
|
|
3658
|
+
*
|
|
3659
|
+
* @param body
|
|
3660
|
+
* @param options - additional request options
|
|
3661
|
+
*/
|
|
3662
|
+
post_vendor(body, options) {
|
|
3663
|
+
return this.request("vendor", "post_vendor", "post", `/vendor`, body, options);
|
|
3664
|
+
}
|
|
3665
|
+
/**
|
|
3666
|
+
* GET /vendor - Get all Vendors
|
|
3667
|
+
*
|
|
3668
|
+
* @param options - additional request options
|
|
3669
|
+
*/
|
|
3670
|
+
get_vendors(options) {
|
|
3671
|
+
return this.request("vendor", "get_vendors", "get", `/vendor`, null, options);
|
|
3672
|
+
}
|
|
3673
|
+
/**
|
|
3674
|
+
* GET /vendor/{id} - Get info about the Vendor
|
|
3675
|
+
*
|
|
3676
|
+
* @param id - vendor
|
|
3677
|
+
* @param options - additional request options
|
|
3678
|
+
*/
|
|
3679
|
+
get_vendor(id, options) {
|
|
3680
|
+
return this.request("vendor", "get_vendor", "get", `/vendor/${id}`, null, options);
|
|
3681
|
+
}
|
|
3682
|
+
/**
|
|
3683
|
+
* PATCH /vendor/{id} - Update info about the Vendor
|
|
3684
|
+
*
|
|
3685
|
+
* @param id - vendor
|
|
3686
|
+
* @param body
|
|
3687
|
+
* @param options - additional request options
|
|
3688
|
+
*/
|
|
3689
|
+
patch_vendor(id, body, options) {
|
|
3690
|
+
return this.request("vendor", "patch_vendor", "patch", `/vendor/${id}`, body, options);
|
|
3691
|
+
}
|
|
3692
|
+
/**
|
|
3693
|
+
* GET /vendor/auth - Get access/refresh tokens for accessing our APIs
|
|
3694
|
+
*
|
|
3695
|
+
* @param options - additional request options
|
|
3696
|
+
*/
|
|
3697
|
+
get_vendor_auth(options) {
|
|
3698
|
+
return this.request("vendor", "get_vendor_auth", "get", `/vendor/auth`, null, options);
|
|
3699
|
+
}
|
|
3700
|
+
/**
|
|
3701
|
+
* POST /vendor/auth - Get new access token using refresh token and previous token
|
|
3702
|
+
*
|
|
3703
|
+
* @param body
|
|
3704
|
+
* @param options - additional request options
|
|
3705
|
+
*/
|
|
3706
|
+
post_vendor_auth(body, options) {
|
|
3707
|
+
return this.request("vendor", "post_vendor_auth", "post", `/vendor/auth`, body, options);
|
|
3708
|
+
}
|
|
3709
|
+
/**
|
|
3710
|
+
* GET /vendor/{id}/key - Get list of Vendor keys
|
|
3711
|
+
*
|
|
3712
|
+
* @param id - vendor
|
|
3713
|
+
* @param options - additional request options
|
|
3714
|
+
*/
|
|
3715
|
+
get_vendor_keys(id, options) {
|
|
3716
|
+
return this.request("vendor", "get_vendor_keys", "get", `/vendor/${id}/key`, null, options);
|
|
3717
|
+
}
|
|
3718
|
+
/**
|
|
3719
|
+
* POST /vendor/{id}/key - Create new key for the vendor
|
|
3720
|
+
*
|
|
3721
|
+
* @param id - vendor
|
|
3722
|
+
* @param body
|
|
3723
|
+
* @param options - additional request options
|
|
3724
|
+
*/
|
|
3725
|
+
post_vendor_key(id, body, options) {
|
|
3726
|
+
return this.request("vendor", "post_vendor_key", "post", `/vendor/${id}/key`, body, options);
|
|
3727
|
+
}
|
|
3728
|
+
/**
|
|
3729
|
+
* GET /vendor/{id}/key/{key} - Get info about vendor key
|
|
3730
|
+
*
|
|
3731
|
+
* @param id - vendor
|
|
3732
|
+
* @param key - key
|
|
3733
|
+
* @param options - additional request options
|
|
3734
|
+
*/
|
|
3735
|
+
get_vendor_key(id, key, options) {
|
|
3736
|
+
return this.request("vendor", "get_vendor_key", "get", `/vendor/${id}/key/${key}`, null, options);
|
|
3737
|
+
}
|
|
3738
|
+
/**
|
|
3739
|
+
* PATCH /vendor/{id}/key/{key} - Update info for vendor key
|
|
3740
|
+
*
|
|
3741
|
+
* @param id - vendor
|
|
3742
|
+
* @param key - key
|
|
3743
|
+
* @param body
|
|
3744
|
+
* @param options - additional request options
|
|
3745
|
+
*/
|
|
3746
|
+
patch_vendor_key(id, key, body, options) {
|
|
3747
|
+
return this.request("vendor", "patch_vendor_key", "patch", `/vendor/${id}/key/${key}`, body, options);
|
|
3748
|
+
}
|
|
3749
|
+
/**
|
|
3750
|
+
* DELETE /vendor/{id}/key/{key} - Mark key as expired
|
|
3751
|
+
*
|
|
3752
|
+
* @param id - vendor
|
|
3753
|
+
* @param key - key
|
|
3754
|
+
* @param options - additional request options
|
|
3755
|
+
*/
|
|
3756
|
+
delete_vendor_key(id, key, options) {
|
|
3757
|
+
return this.request("vendor", "delete_vendor_key", "delete", `/vendor/${id}/key/${key}`, null, options);
|
|
3758
|
+
}
|
|
3759
|
+
/**
|
|
3760
|
+
* POST /vendor/{id}/key/{key}/rotate - Rotate vendor key
|
|
3761
|
+
*
|
|
3762
|
+
* @param id - vendor
|
|
3131
3763
|
* @param key - key
|
|
3132
3764
|
* @param options - additional request options
|
|
3133
3765
|
*/
|
|
@@ -3246,6 +3878,16 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3246
3878
|
get_delivery(id, options) {
|
|
3247
3879
|
return this.request("delivery", "get_delivery", "get", `/delivery/${id}`, null, options);
|
|
3248
3880
|
}
|
|
3881
|
+
/**
|
|
3882
|
+
* POST /delivery/{id}/availability - Get delivery availability for provided brand and coordinates
|
|
3883
|
+
*
|
|
3884
|
+
* @param id - delivery provider id
|
|
3885
|
+
* @param body - Order object that needs to be created
|
|
3886
|
+
* @param options - additional request options
|
|
3887
|
+
*/
|
|
3888
|
+
post_delivery_availability(id, body, options) {
|
|
3889
|
+
return this.request("delivery", "post_delivery_availability", "post", `/delivery/${id}/availability`, body, options);
|
|
3890
|
+
}
|
|
3249
3891
|
/**
|
|
3250
3892
|
* POST /loyalty/{id}/enroll/{user_id} - Enroll logged in user in Loyalty program
|
|
3251
3893
|
*
|