@compassdigital/sdk.typescript 3.44.3 → 3.45.1
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 +283 -74
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +312 -71
- package/lib/index.js.map +1 -1
- package/lib/interface/menu.d.ts +316 -88
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/partner.d.ts +11 -12
- package/lib/interface/partner.d.ts.map +1 -1
- package/lib/interface/shoppingcart.d.ts +108 -54
- package/lib/interface/shoppingcart.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +754 -181
- package/src/interface/location.ts +1 -1
- package/src/interface/menu.ts +522 -129
- package/src/interface/partner.ts +18 -14
- package/src/interface/shoppingcart.ts +127 -54
package/lib/index.js
CHANGED
|
@@ -793,12 +793,12 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
793
793
|
return this.request("location", "delete_location_record", "delete", `/location/record/${id}`, null, options);
|
|
794
794
|
}
|
|
795
795
|
/**
|
|
796
|
-
* GET location/v2/groups - Get a list of groups
|
|
796
|
+
* GET /location/v2/groups - Get a list of groups
|
|
797
797
|
*
|
|
798
798
|
* @param options - additional request options
|
|
799
799
|
*/
|
|
800
800
|
get_location_v2_groups(options) {
|
|
801
|
-
return this.request("location", "get_location_v2_groups", "get",
|
|
801
|
+
return this.request("location", "get_location_v2_groups", "get", `/location/v2/groups`, null, options);
|
|
802
802
|
}
|
|
803
803
|
/**
|
|
804
804
|
* POST /shoppingcart/ - Create a new ShoppingCart
|
|
@@ -877,6 +877,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
877
877
|
put_shoppingcart_cart_payment(id, body, options) {
|
|
878
878
|
return this.request("shoppingcart", "put_shoppingcart_cart_payment", "put", `/shoppingcart/${id}/paymentmethod/`, body, options);
|
|
879
879
|
}
|
|
880
|
+
/**
|
|
881
|
+
* GET /shoppingcart/{id}/paymentmethods - Get a list of payment methods for cart
|
|
882
|
+
*
|
|
883
|
+
* @param id - Shopping cart ID
|
|
884
|
+
* @param options - additional request options
|
|
885
|
+
*/
|
|
886
|
+
get_shoppingcart_payment_methods(id, options) {
|
|
887
|
+
return this.request("shoppingcart", "get_shoppingcart_payment_methods", "get", `/shoppingcart/${id}/paymentmethods`, null, options);
|
|
888
|
+
}
|
|
880
889
|
/**
|
|
881
890
|
* PUT /shoppingcart/{id}/order/ - Store information about the order created with this shopping cart
|
|
882
891
|
*
|
|
@@ -949,6 +958,16 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
949
958
|
post_partner_standardcognition_menu(body, options) {
|
|
950
959
|
return this.request("partner", "post_partner_standardcognition_menu", "post", `/partner/standardcognition/menu`, body, options);
|
|
951
960
|
}
|
|
961
|
+
/**
|
|
962
|
+
* POST /partner/event/{id} - Send an event from 3rd party to our system
|
|
963
|
+
*
|
|
964
|
+
* @param id - provider
|
|
965
|
+
* @param body
|
|
966
|
+
* @param options - additional request options
|
|
967
|
+
*/
|
|
968
|
+
post_partner_event(id, body, options) {
|
|
969
|
+
return this.request("partner", "post_partner_event", "post", `/partner/event/${id}`, body, options);
|
|
970
|
+
}
|
|
952
971
|
/**
|
|
953
972
|
* GET /partner/swagger.json
|
|
954
973
|
*
|
|
@@ -1939,208 +1958,430 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1939
1958
|
return this.request("file", "delete_file", "delete", `/file`, body, options);
|
|
1940
1959
|
}
|
|
1941
1960
|
/**
|
|
1942
|
-
* GET /menu/
|
|
1961
|
+
* GET /menu/v3/modifiers
|
|
1943
1962
|
*
|
|
1944
1963
|
* @param options - additional request options
|
|
1945
1964
|
*/
|
|
1946
|
-
|
|
1947
|
-
return this.request("menu", "
|
|
1965
|
+
get_menu_v3_modifiers(options) {
|
|
1966
|
+
return this.request("menu", "get_menu_v3_modifiers", "get", `/menu/v3/modifiers`, null, options);
|
|
1948
1967
|
}
|
|
1949
1968
|
/**
|
|
1950
|
-
* GET /menu/
|
|
1969
|
+
* GET /menu/v3/modifier/{id}
|
|
1951
1970
|
*
|
|
1952
1971
|
* @param id
|
|
1953
1972
|
* @param options - additional request options
|
|
1954
1973
|
*/
|
|
1955
|
-
|
|
1956
|
-
return this.request("menu", "
|
|
1974
|
+
get_menu_v3_modifier(id, options) {
|
|
1975
|
+
return this.request("menu", "get_menu_v3_modifier", "get", `/menu/v3/modifier/${id}`, null, options);
|
|
1957
1976
|
}
|
|
1958
1977
|
/**
|
|
1959
|
-
* PATCH /menu/
|
|
1978
|
+
* PATCH /menu/v3/modifier/{id}
|
|
1960
1979
|
*
|
|
1961
1980
|
* @param id
|
|
1962
1981
|
* @param body
|
|
1963
1982
|
* @param options - additional request options
|
|
1964
1983
|
*/
|
|
1965
|
-
|
|
1966
|
-
return this.request("menu", "
|
|
1984
|
+
patch_menu_v3_modifier(id, body, options) {
|
|
1985
|
+
return this.request("menu", "patch_menu_v3_modifier", "patch", `/menu/v3/modifier/${id}`, body, options);
|
|
1967
1986
|
}
|
|
1968
1987
|
/**
|
|
1969
|
-
* POST /menu/
|
|
1988
|
+
* POST /menu/v3/modifier
|
|
1970
1989
|
*
|
|
1971
1990
|
* @param body
|
|
1972
1991
|
* @param options - additional request options
|
|
1973
1992
|
*/
|
|
1974
|
-
|
|
1975
|
-
return this.request("menu", "
|
|
1993
|
+
post_menu_v3_modifier(body, options) {
|
|
1994
|
+
return this.request("menu", "post_menu_v3_modifier", "post", `/menu/v3/modifier`, body, options);
|
|
1976
1995
|
}
|
|
1977
1996
|
/**
|
|
1978
|
-
* GET /menu/
|
|
1997
|
+
* GET /menu/v3/modifier/count
|
|
1979
1998
|
*
|
|
1980
1999
|
* @param options - additional request options
|
|
1981
2000
|
*/
|
|
1982
|
-
|
|
1983
|
-
return this.request("menu", "
|
|
2001
|
+
get_menu_v3_modifier_count(options) {
|
|
2002
|
+
return this.request("menu", "get_menu_v3_modifier_count", "get", `/menu/v3/modifier/count`, null, options);
|
|
1984
2003
|
}
|
|
1985
2004
|
/**
|
|
1986
|
-
* GET /menu/
|
|
2005
|
+
* GET /menu/v3/modifier-groups
|
|
1987
2006
|
*
|
|
1988
2007
|
* @param options - additional request options
|
|
1989
2008
|
*/
|
|
1990
|
-
|
|
1991
|
-
return this.request("menu", "
|
|
2009
|
+
get_menu_v3_modifier_groups(options) {
|
|
2010
|
+
return this.request("menu", "get_menu_v3_modifier_groups", "get", `/menu/v3/modifier-groups`, null, options);
|
|
1992
2011
|
}
|
|
1993
2012
|
/**
|
|
1994
|
-
* POST /menu/
|
|
2013
|
+
* POST /menu/v3/modifier-group
|
|
1995
2014
|
*
|
|
1996
2015
|
* @param body
|
|
1997
2016
|
* @param options - additional request options
|
|
1998
2017
|
*/
|
|
1999
|
-
|
|
2000
|
-
return this.request("menu", "
|
|
2018
|
+
post_menu_v3_modifier_group(body, options) {
|
|
2019
|
+
return this.request("menu", "post_menu_v3_modifier_group", "post", `/menu/v3/modifier-group`, body, options);
|
|
2001
2020
|
}
|
|
2002
2021
|
/**
|
|
2003
|
-
* GET /menu/
|
|
2022
|
+
* GET /menu/v3/modifier-group/{id}
|
|
2004
2023
|
*
|
|
2005
2024
|
* @param id
|
|
2006
2025
|
* @param options - additional request options
|
|
2007
2026
|
*/
|
|
2008
|
-
|
|
2009
|
-
return this.request("menu", "
|
|
2027
|
+
get_menu_v3_modifier_group(id, options) {
|
|
2028
|
+
return this.request("menu", "get_menu_v3_modifier_group", "get", `/menu/v3/modifier-group/${id}`, null, options);
|
|
2010
2029
|
}
|
|
2011
2030
|
/**
|
|
2012
|
-
* PATCH /menu/
|
|
2031
|
+
* PATCH /menu/v3/modifier-group/{id}
|
|
2013
2032
|
*
|
|
2014
2033
|
* @param id
|
|
2015
2034
|
* @param body
|
|
2016
2035
|
* @param options - additional request options
|
|
2017
2036
|
*/
|
|
2018
|
-
|
|
2019
|
-
return this.request("menu", "
|
|
2037
|
+
patch_menu_v3_modifier_group(id, body, options) {
|
|
2038
|
+
return this.request("menu", "patch_menu_v3_modifier_group", "patch", `/menu/v3/modifier-group/${id}`, body, options);
|
|
2039
|
+
}
|
|
2040
|
+
/**
|
|
2041
|
+
* GET /menu/v3/modifier-group/count
|
|
2042
|
+
*
|
|
2043
|
+
* @param options - additional request options
|
|
2044
|
+
*/
|
|
2045
|
+
get_menu_v3_modifier_group_count(options) {
|
|
2046
|
+
return this.request("menu", "get_menu_v3_modifier_group_count", "get", `/menu/v3/modifier-group/count`, null, options);
|
|
2020
2047
|
}
|
|
2021
2048
|
/**
|
|
2022
|
-
* GET /menu/
|
|
2049
|
+
* GET /menu/v3/modifier-group/relationships/modifiers
|
|
2023
2050
|
*
|
|
2024
2051
|
* @param options - additional request options
|
|
2025
2052
|
*/
|
|
2026
|
-
|
|
2027
|
-
return this.request("menu", "
|
|
2053
|
+
get_menu_v3_modifier_group_relationships_modifiers(options) {
|
|
2054
|
+
return this.request("menu", "get_menu_v3_modifier_group_relationships_modifiers", "get", `/menu/v3/modifier-group/relationships/modifiers`, null, options);
|
|
2028
2055
|
}
|
|
2029
2056
|
/**
|
|
2030
|
-
*
|
|
2057
|
+
* POST /menu/v3/modifier-group/relationships/modifiers
|
|
2031
2058
|
*
|
|
2059
|
+
* @param body
|
|
2032
2060
|
* @param options - additional request options
|
|
2033
2061
|
*/
|
|
2034
|
-
|
|
2035
|
-
return this.request("menu", "
|
|
2062
|
+
post_menu_v3_modifier_group_relationships_modifiers(body, options) {
|
|
2063
|
+
return this.request("menu", "post_menu_v3_modifier_group_relationships_modifiers", "post", `/menu/v3/modifier-group/relationships/modifiers`, body, options);
|
|
2036
2064
|
}
|
|
2037
2065
|
/**
|
|
2038
|
-
* POST /menu/
|
|
2066
|
+
* POST /menu/v3/modifier-group/relationships/modifier
|
|
2039
2067
|
*
|
|
2040
2068
|
* @param body
|
|
2041
2069
|
* @param options - additional request options
|
|
2042
2070
|
*/
|
|
2043
|
-
|
|
2044
|
-
return this.request("menu", "
|
|
2071
|
+
post_menu_v3_modifier_group_relationships_modifier(body, options) {
|
|
2072
|
+
return this.request("menu", "post_menu_v3_modifier_group_relationships_modifier", "post", `/menu/v3/modifier-group/relationships/modifier`, body, options);
|
|
2045
2073
|
}
|
|
2046
2074
|
/**
|
|
2047
|
-
* GET /menu/
|
|
2075
|
+
* GET /menu/v3/modifier-group/relationships/modifier/{id}
|
|
2048
2076
|
*
|
|
2049
2077
|
* @param id
|
|
2050
2078
|
* @param options - additional request options
|
|
2051
2079
|
*/
|
|
2052
|
-
|
|
2053
|
-
return this.request("menu", "
|
|
2080
|
+
get_menu_v3_modifier_group_relationships_modifier(id, options) {
|
|
2081
|
+
return this.request("menu", "get_menu_v3_modifier_group_relationships_modifier", "get", `/menu/v3/modifier-group/relationships/modifier/${id}`, null, options);
|
|
2054
2082
|
}
|
|
2055
2083
|
/**
|
|
2056
|
-
* PATCH /menu/
|
|
2084
|
+
* PATCH /menu/v3/modifier-group/relationships/modifier/{id}
|
|
2057
2085
|
*
|
|
2058
2086
|
* @param id
|
|
2059
2087
|
* @param body
|
|
2060
2088
|
* @param options - additional request options
|
|
2061
2089
|
*/
|
|
2062
|
-
|
|
2063
|
-
return this.request("menu", "
|
|
2090
|
+
patch_menu_v3_modifier_group_relationships_modifier(id, body, options) {
|
|
2091
|
+
return this.request("menu", "patch_menu_v3_modifier_group_relationships_modifier", "patch", `/menu/v3/modifier-group/relationships/modifier/${id}`, body, options);
|
|
2092
|
+
}
|
|
2093
|
+
/**
|
|
2094
|
+
* GET /menu/v3/items
|
|
2095
|
+
*
|
|
2096
|
+
* @param options - additional request options
|
|
2097
|
+
*/
|
|
2098
|
+
get_menu_v3_items(options) {
|
|
2099
|
+
return this.request("menu", "get_menu_v3_items", "get", `/menu/v3/items`, null, options);
|
|
2064
2100
|
}
|
|
2065
2101
|
/**
|
|
2066
|
-
* GET /menu/
|
|
2102
|
+
* GET /menu/v3/item/{id}
|
|
2067
2103
|
*
|
|
2104
|
+
* @param id
|
|
2068
2105
|
* @param options - additional request options
|
|
2069
2106
|
*/
|
|
2070
|
-
|
|
2071
|
-
return this.request("menu", "
|
|
2107
|
+
get_menu_v3_item(id, options) {
|
|
2108
|
+
return this.request("menu", "get_menu_v3_item", "get", `/menu/v3/item/${id}`, null, options);
|
|
2072
2109
|
}
|
|
2073
2110
|
/**
|
|
2074
|
-
*
|
|
2111
|
+
* PATCH /menu/v3/item/{id}
|
|
2075
2112
|
*
|
|
2076
2113
|
* @param id
|
|
2114
|
+
* @param body
|
|
2115
|
+
* @param options - additional request options
|
|
2116
|
+
*/
|
|
2117
|
+
patch_menu_v3_item(id, body, options) {
|
|
2118
|
+
return this.request("menu", "patch_menu_v3_item", "patch", `/menu/v3/item/${id}`, body, options);
|
|
2119
|
+
}
|
|
2120
|
+
/**
|
|
2121
|
+
* POST /menu/v3/item
|
|
2122
|
+
*
|
|
2123
|
+
* @param body
|
|
2124
|
+
* @param options - additional request options
|
|
2125
|
+
*/
|
|
2126
|
+
post_menu_v3_item(body, options) {
|
|
2127
|
+
return this.request("menu", "post_menu_v3_item", "post", `/menu/v3/item`, body, options);
|
|
2128
|
+
}
|
|
2129
|
+
/**
|
|
2130
|
+
* GET /menu/v3/items/count
|
|
2131
|
+
*
|
|
2132
|
+
* @param options - additional request options
|
|
2133
|
+
*/
|
|
2134
|
+
get_menu_v3_items_count(options) {
|
|
2135
|
+
return this.request("menu", "get_menu_v3_items_count", "get", `/menu/v3/items/count`, null, options);
|
|
2136
|
+
}
|
|
2137
|
+
/**
|
|
2138
|
+
* GET /menu/v3/item/relationships/modifier-groups
|
|
2139
|
+
*
|
|
2140
|
+
* @param options - additional request options
|
|
2141
|
+
*/
|
|
2142
|
+
get_menu_v3_item_relationships_modifier_groups(options) {
|
|
2143
|
+
return this.request("menu", "get_menu_v3_item_relationships_modifier_groups", "get", `/menu/v3/item/relationships/modifier-groups`, null, options);
|
|
2144
|
+
}
|
|
2145
|
+
/**
|
|
2146
|
+
* POST /menu/v3/item/relationships/modifier-groups
|
|
2147
|
+
*
|
|
2148
|
+
* @param body
|
|
2149
|
+
* @param options - additional request options
|
|
2150
|
+
*/
|
|
2151
|
+
post_menu_v3_item_relationships_modifier_groups(body, options) {
|
|
2152
|
+
return this.request("menu", "post_menu_v3_item_relationships_modifier_groups", "post", `/menu/v3/item/relationships/modifier-groups`, body, options);
|
|
2153
|
+
}
|
|
2154
|
+
/**
|
|
2155
|
+
* POST /menu/v3/item/relationships/modifier-group
|
|
2156
|
+
*
|
|
2157
|
+
* @param body
|
|
2077
2158
|
* @param options - additional request options
|
|
2078
2159
|
*/
|
|
2079
|
-
|
|
2080
|
-
return this.request("menu", "
|
|
2160
|
+
post_menu_v3_item_relationships_modifier_group(body, options) {
|
|
2161
|
+
return this.request("menu", "post_menu_v3_item_relationships_modifier_group", "post", `/menu/v3/item/relationships/modifier-group`, body, options);
|
|
2081
2162
|
}
|
|
2082
2163
|
/**
|
|
2083
|
-
* PATCH /menu/
|
|
2164
|
+
* PATCH /menu/v3/item/relationships/modifier-group/{id}
|
|
2084
2165
|
*
|
|
2085
2166
|
* @param id
|
|
2086
2167
|
* @param body
|
|
2087
2168
|
* @param options - additional request options
|
|
2088
2169
|
*/
|
|
2089
|
-
|
|
2090
|
-
return this.request("menu", "
|
|
2170
|
+
patch_menu_v3_item_relationships_modifier_group(id, body, options) {
|
|
2171
|
+
return this.request("menu", "patch_menu_v3_item_relationships_modifier_group", "patch", `/menu/v3/item/relationships/modifier-group/${id}`, body, options);
|
|
2172
|
+
}
|
|
2173
|
+
/**
|
|
2174
|
+
* DELETE /menu/v3/item/relationships/modifier-group/{id}
|
|
2175
|
+
*
|
|
2176
|
+
* @param id
|
|
2177
|
+
* @param options - additional request options
|
|
2178
|
+
*/
|
|
2179
|
+
delete_menu_v3_item_relationships_modifier_group(id, options) {
|
|
2180
|
+
return this.request("menu", "delete_menu_v3_item_relationships_modifier_group", "delete", `/menu/v3/item/relationships/modifier-group/${id}`, null, options);
|
|
2181
|
+
}
|
|
2182
|
+
/**
|
|
2183
|
+
* GET /menu/v3/menus
|
|
2184
|
+
*
|
|
2185
|
+
* @param options - additional request options
|
|
2186
|
+
*/
|
|
2187
|
+
get_menu_v3_menus(options) {
|
|
2188
|
+
return this.request("menu", "get_menu_v3_menus", "get", `/menu/v3/menus`, null, options);
|
|
2189
|
+
}
|
|
2190
|
+
/**
|
|
2191
|
+
* GET /menu/v3/menu/{id}
|
|
2192
|
+
*
|
|
2193
|
+
* @param id
|
|
2194
|
+
* @param options - additional request options
|
|
2195
|
+
*/
|
|
2196
|
+
get_menu_v3_menu(id, options) {
|
|
2197
|
+
return this.request("menu", "get_menu_v3_menu", "get", `/menu/v3/menu/${id}`, null, options);
|
|
2091
2198
|
}
|
|
2092
2199
|
/**
|
|
2093
|
-
*
|
|
2200
|
+
* PATCH /menu/v3/menu/{id}
|
|
2094
2201
|
*
|
|
2202
|
+
* @param id
|
|
2095
2203
|
* @param body
|
|
2096
2204
|
* @param options - additional request options
|
|
2097
2205
|
*/
|
|
2098
|
-
|
|
2099
|
-
return this.request("menu", "
|
|
2206
|
+
patch_menu_v3_menu(id, body, options) {
|
|
2207
|
+
return this.request("menu", "patch_menu_v3_menu", "patch", `/menu/v3/menu/${id}`, body, options);
|
|
2208
|
+
}
|
|
2209
|
+
/**
|
|
2210
|
+
* DELETE /menu/v3/menu/{id}
|
|
2211
|
+
*
|
|
2212
|
+
* @param id
|
|
2213
|
+
* @param options - additional request options
|
|
2214
|
+
*/
|
|
2215
|
+
delete_menu_v3_menu(id, options) {
|
|
2216
|
+
return this.request("menu", "delete_menu_v3_menu", "delete", `/menu/v3/menu/${id}`, null, options);
|
|
2100
2217
|
}
|
|
2101
2218
|
/**
|
|
2102
|
-
*
|
|
2219
|
+
* POST /menu/v3/menu
|
|
2103
2220
|
*
|
|
2221
|
+
* @param body
|
|
2104
2222
|
* @param options - additional request options
|
|
2105
2223
|
*/
|
|
2106
|
-
|
|
2107
|
-
return this.request("menu", "
|
|
2224
|
+
post_menu_v3_menu(body, options) {
|
|
2225
|
+
return this.request("menu", "post_menu_v3_menu", "post", `/menu/v3/menu`, body, options);
|
|
2108
2226
|
}
|
|
2109
2227
|
/**
|
|
2110
|
-
* GET /menu/
|
|
2228
|
+
* GET /menu/v3/menus/count
|
|
2111
2229
|
*
|
|
2112
2230
|
* @param options - additional request options
|
|
2113
2231
|
*/
|
|
2114
|
-
|
|
2115
|
-
return this.request("menu", "
|
|
2232
|
+
get_menu_v3_menus_count(options) {
|
|
2233
|
+
return this.request("menu", "get_menu_v3_menus_count", "get", `/menu/v3/menus/count`, null, options);
|
|
2234
|
+
}
|
|
2235
|
+
/**
|
|
2236
|
+
* GET /menu/v3/layouts
|
|
2237
|
+
*
|
|
2238
|
+
* @param options - additional request options
|
|
2239
|
+
*/
|
|
2240
|
+
get_menu_v3_layouts(options) {
|
|
2241
|
+
return this.request("menu", "get_menu_v3_layouts", "get", `/menu/v3/layouts`, null, options);
|
|
2242
|
+
}
|
|
2243
|
+
/**
|
|
2244
|
+
* GET /menu/v3/layout/{id}
|
|
2245
|
+
*
|
|
2246
|
+
* @param id
|
|
2247
|
+
* @param options - additional request options
|
|
2248
|
+
*/
|
|
2249
|
+
get_menu_v3_layout(id, options) {
|
|
2250
|
+
return this.request("menu", "get_menu_v3_layout", "get", `/menu/v3/layout/${id}`, null, options);
|
|
2251
|
+
}
|
|
2252
|
+
/**
|
|
2253
|
+
* PATCH /menu/v3/layout/{id}
|
|
2254
|
+
*
|
|
2255
|
+
* @param id
|
|
2256
|
+
* @param body
|
|
2257
|
+
* @param options - additional request options
|
|
2258
|
+
*/
|
|
2259
|
+
patch_menu_v3_layout(id, body, options) {
|
|
2260
|
+
return this.request("menu", "patch_menu_v3_layout", "patch", `/menu/v3/layout/${id}`, body, options);
|
|
2261
|
+
}
|
|
2262
|
+
/**
|
|
2263
|
+
* DELETE /menu/v3/layout/{id}
|
|
2264
|
+
*
|
|
2265
|
+
* @param id
|
|
2266
|
+
* @param options - additional request options
|
|
2267
|
+
*/
|
|
2268
|
+
delete_menu_v3_layout(id, options) {
|
|
2269
|
+
return this.request("menu", "delete_menu_v3_layout", "delete", `/menu/v3/layout/${id}`, null, options);
|
|
2270
|
+
}
|
|
2271
|
+
/**
|
|
2272
|
+
* POST /menu/v3/layout
|
|
2273
|
+
*
|
|
2274
|
+
* @param body
|
|
2275
|
+
* @param options - additional request options
|
|
2276
|
+
*/
|
|
2277
|
+
post_menu_v3_layout(body, options) {
|
|
2278
|
+
return this.request("menu", "post_menu_v3_layout", "post", `/menu/v3/layout`, body, options);
|
|
2279
|
+
}
|
|
2280
|
+
/**
|
|
2281
|
+
* GET /menu/v3/layouts/count
|
|
2282
|
+
*
|
|
2283
|
+
* @param options - additional request options
|
|
2284
|
+
*/
|
|
2285
|
+
get_menu_v3_layouts_count(options) {
|
|
2286
|
+
return this.request("menu", "get_menu_v3_layouts_count", "get", `/menu/v3/layouts/count`, null, options);
|
|
2287
|
+
}
|
|
2288
|
+
/**
|
|
2289
|
+
* GET /menu/v3/categories
|
|
2290
|
+
*
|
|
2291
|
+
* @param options - additional request options
|
|
2292
|
+
*/
|
|
2293
|
+
get_menu_v3_categories(options) {
|
|
2294
|
+
return this.request("menu", "get_menu_v3_categories", "get", `/menu/v3/categories`, null, options);
|
|
2295
|
+
}
|
|
2296
|
+
/**
|
|
2297
|
+
* GET /menu/v3/category/{id}
|
|
2298
|
+
*
|
|
2299
|
+
* @param id
|
|
2300
|
+
* @param options - additional request options
|
|
2301
|
+
*/
|
|
2302
|
+
get_menu_v3_category(id, options) {
|
|
2303
|
+
return this.request("menu", "get_menu_v3_category", "get", `/menu/v3/category/${id}`, null, options);
|
|
2304
|
+
}
|
|
2305
|
+
/**
|
|
2306
|
+
* PATCH /menu/v3/category/{id}
|
|
2307
|
+
*
|
|
2308
|
+
* @param id
|
|
2309
|
+
* @param body
|
|
2310
|
+
* @param options - additional request options
|
|
2311
|
+
*/
|
|
2312
|
+
patch_menu_v3_category(id, body, options) {
|
|
2313
|
+
return this.request("menu", "patch_menu_v3_category", "patch", `/menu/v3/category/${id}`, body, options);
|
|
2314
|
+
}
|
|
2315
|
+
/**
|
|
2316
|
+
* DELETE /menu/v3/category/{id}
|
|
2317
|
+
*
|
|
2318
|
+
* @param id
|
|
2319
|
+
* @param options - additional request options
|
|
2320
|
+
*/
|
|
2321
|
+
delete_menu_v3_category(id, options) {
|
|
2322
|
+
return this.request("menu", "delete_menu_v3_category", "delete", `/menu/v3/category/${id}`, null, options);
|
|
2323
|
+
}
|
|
2324
|
+
/**
|
|
2325
|
+
* POST /menu/v3/category
|
|
2326
|
+
*
|
|
2327
|
+
* @param body
|
|
2328
|
+
* @param options - additional request options
|
|
2329
|
+
*/
|
|
2330
|
+
post_menu_v3_category(body, options) {
|
|
2331
|
+
return this.request("menu", "post_menu_v3_category", "post", `/menu/v3/category`, body, options);
|
|
2332
|
+
}
|
|
2333
|
+
/**
|
|
2334
|
+
* GET /menu/v3/categories/count
|
|
2335
|
+
*
|
|
2336
|
+
* @param options - additional request options
|
|
2337
|
+
*/
|
|
2338
|
+
get_menu_v3_categories_count(options) {
|
|
2339
|
+
return this.request("menu", "get_menu_v3_categories_count", "get", `/menu/v3/categories/count`, null, options);
|
|
2340
|
+
}
|
|
2341
|
+
/**
|
|
2342
|
+
* GET /menu/v3/category/relationships/items
|
|
2343
|
+
*
|
|
2344
|
+
* @param options - additional request options
|
|
2345
|
+
*/
|
|
2346
|
+
get_menu_v3_category_relationships_items(options) {
|
|
2347
|
+
return this.request("menu", "get_menu_v3_category_relationships_items", "get", `/menu/v3/category/relationships/items`, null, options);
|
|
2348
|
+
}
|
|
2349
|
+
/**
|
|
2350
|
+
* POST /menu/v3/category/relationships/items
|
|
2351
|
+
*
|
|
2352
|
+
* @param body
|
|
2353
|
+
* @param options - additional request options
|
|
2354
|
+
*/
|
|
2355
|
+
post_menu_v3_category_relationships_items(body, options) {
|
|
2356
|
+
return this.request("menu", "post_menu_v3_category_relationships_items", "post", `/menu/v3/category/relationships/items`, body, options);
|
|
2116
2357
|
}
|
|
2117
2358
|
/**
|
|
2118
|
-
* POST /menu/
|
|
2359
|
+
* POST /menu/v3/category/relationships/item
|
|
2119
2360
|
*
|
|
2120
2361
|
* @param body
|
|
2121
2362
|
* @param options - additional request options
|
|
2122
2363
|
*/
|
|
2123
|
-
|
|
2124
|
-
return this.request("menu", "
|
|
2364
|
+
post_menu_v3_category_relationships_item(body, options) {
|
|
2365
|
+
return this.request("menu", "post_menu_v3_category_relationships_item", "post", `/menu/v3/category/relationships/item`, body, options);
|
|
2125
2366
|
}
|
|
2126
2367
|
/**
|
|
2127
|
-
* PATCH /menu/
|
|
2368
|
+
* PATCH /menu/v3/category/relationships/item/{id}
|
|
2128
2369
|
*
|
|
2129
2370
|
* @param id
|
|
2130
2371
|
* @param body
|
|
2131
2372
|
* @param options - additional request options
|
|
2132
2373
|
*/
|
|
2133
|
-
|
|
2134
|
-
return this.request("menu", "
|
|
2374
|
+
patch_menu_v3_category_relationships_item(id, body, options) {
|
|
2375
|
+
return this.request("menu", "patch_menu_v3_category_relationships_item", "patch", `/menu/v3/category/relationships/item/${id}`, body, options);
|
|
2135
2376
|
}
|
|
2136
2377
|
/**
|
|
2137
|
-
* DELETE /menu/
|
|
2378
|
+
* DELETE /menu/v3/category/relationships/item/{id}
|
|
2138
2379
|
*
|
|
2139
2380
|
* @param id
|
|
2140
2381
|
* @param options - additional request options
|
|
2141
2382
|
*/
|
|
2142
|
-
|
|
2143
|
-
return this.request("menu", "
|
|
2383
|
+
delete_menu_v3_category_relationships_item(id, options) {
|
|
2384
|
+
return this.request("menu", "delete_menu_v3_category_relationships_item", "delete", `/menu/v3/category/relationships/item/${id}`, null, options);
|
|
2144
2385
|
}
|
|
2145
2386
|
/**
|
|
2146
2387
|
* GET /menu/client/{client_id} - Get menu client
|