@compassdigital/sdk.typescript 3.45.1 → 3.46.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.
Files changed (111) hide show
  1. package/lib/index.d.ts +334 -59
  2. package/lib/index.d.ts.map +1 -1
  3. package/lib/index.js +362 -60
  4. package/lib/index.js.map +1 -1
  5. package/lib/interface/announcement.d.ts.map +1 -1
  6. package/lib/interface/announcement.js +1 -0
  7. package/lib/interface/announcement.js.map +1 -1
  8. package/lib/interface/calendar.d.ts.map +1 -1
  9. package/lib/interface/calendar.js +1 -0
  10. package/lib/interface/calendar.js.map +1 -1
  11. package/lib/interface/compassconnect.d.ts.map +1 -1
  12. package/lib/interface/compassconnect.js +1 -0
  13. package/lib/interface/compassconnect.js.map +1 -1
  14. package/lib/interface/config.d.ts.map +1 -1
  15. package/lib/interface/config.js +1 -0
  16. package/lib/interface/config.js.map +1 -1
  17. package/lib/interface/datalake.d.ts.map +1 -1
  18. package/lib/interface/datalake.js +1 -0
  19. package/lib/interface/datalake.js.map +1 -1
  20. package/lib/interface/delivery.d.ts +73 -0
  21. package/lib/interface/delivery.d.ts.map +1 -0
  22. package/lib/interface/delivery.js +5 -0
  23. package/lib/interface/delivery.js.map +1 -0
  24. package/lib/interface/email.d.ts.map +1 -1
  25. package/lib/interface/email.js +1 -0
  26. package/lib/interface/email.js.map +1 -1
  27. package/lib/interface/file.d.ts.map +1 -1
  28. package/lib/interface/file.js +1 -0
  29. package/lib/interface/file.js.map +1 -1
  30. package/lib/interface/kds.d.ts.map +1 -1
  31. package/lib/interface/kds.js +1 -0
  32. package/lib/interface/kds.js.map +1 -1
  33. package/lib/interface/location.d.ts.map +1 -1
  34. package/lib/interface/location.js +1 -0
  35. package/lib/interface/location.js.map +1 -1
  36. package/lib/interface/loyalty.d.ts.map +1 -1
  37. package/lib/interface/loyalty.js +1 -0
  38. package/lib/interface/loyalty.js.map +1 -1
  39. package/lib/interface/mealplan.d.ts.map +1 -1
  40. package/lib/interface/mealplan.js +1 -0
  41. package/lib/interface/mealplan.js.map +1 -1
  42. package/lib/interface/menu.d.ts +1180 -96
  43. package/lib/interface/menu.d.ts.map +1 -1
  44. package/lib/interface/menu.js +1 -0
  45. package/lib/interface/menu.js.map +1 -1
  46. package/lib/interface/notification.d.ts.map +1 -1
  47. package/lib/interface/notification.js +1 -0
  48. package/lib/interface/notification.js.map +1 -1
  49. package/lib/interface/order.d.ts +12 -0
  50. package/lib/interface/order.d.ts.map +1 -1
  51. package/lib/interface/order.js +1 -0
  52. package/lib/interface/order.js.map +1 -1
  53. package/lib/interface/partner.d.ts.map +1 -1
  54. package/lib/interface/partner.js +1 -0
  55. package/lib/interface/partner.js.map +1 -1
  56. package/lib/interface/payment.d.ts +7 -21
  57. package/lib/interface/payment.d.ts.map +1 -1
  58. package/lib/interface/payment.js +1 -0
  59. package/lib/interface/payment.js.map +1 -1
  60. package/lib/interface/permission.d.ts.map +1 -1
  61. package/lib/interface/permission.js +1 -0
  62. package/lib/interface/permission.js.map +1 -1
  63. package/lib/interface/promo.d.ts.map +1 -1
  64. package/lib/interface/promo.js +1 -0
  65. package/lib/interface/promo.js.map +1 -1
  66. package/lib/interface/report.d.ts.map +1 -1
  67. package/lib/interface/report.js +1 -0
  68. package/lib/interface/report.js.map +1 -1
  69. package/lib/interface/shoppingcart.d.ts.map +1 -1
  70. package/lib/interface/shoppingcart.js +1 -0
  71. package/lib/interface/shoppingcart.js.map +1 -1
  72. package/lib/interface/sms.js +1 -0
  73. package/lib/interface/sms.js.map +1 -1
  74. package/lib/interface/task.d.ts.map +1 -1
  75. package/lib/interface/task.js +1 -0
  76. package/lib/interface/task.js.map +1 -1
  77. package/lib/interface/user.d.ts.map +1 -1
  78. package/lib/interface/user.js +1 -0
  79. package/lib/interface/user.js.map +1 -1
  80. package/lib/interface/vendor.d.ts.map +1 -1
  81. package/lib/interface/vendor.js +1 -0
  82. package/lib/interface/vendor.js.map +1 -1
  83. package/manifest.json +4 -0
  84. package/package.json +2 -2
  85. package/quicktest.json +8 -0
  86. package/src/index.ts +898 -162
  87. package/src/interface/announcement.ts +1 -0
  88. package/src/interface/calendar.ts +1 -0
  89. package/src/interface/compassconnect.ts +1 -0
  90. package/src/interface/config.ts +1 -0
  91. package/src/interface/datalake.ts +1 -0
  92. package/src/interface/delivery.ts +102 -0
  93. package/src/interface/email.ts +1 -0
  94. package/src/interface/file.ts +1 -0
  95. package/src/interface/kds.ts +1 -0
  96. package/src/interface/location.ts +1 -0
  97. package/src/interface/loyalty.ts +1 -0
  98. package/src/interface/mealplan.ts +1 -0
  99. package/src/interface/menu.ts +1660 -171
  100. package/src/interface/notification.ts +1 -0
  101. package/src/interface/order.ts +25 -0
  102. package/src/interface/partner.ts +1 -0
  103. package/src/interface/payment.ts +15 -41
  104. package/src/interface/permission.ts +1 -0
  105. package/src/interface/promo.ts +1 -0
  106. package/src/interface/report.ts +1 -0
  107. package/src/interface/shoppingcart.ts +1 -0
  108. package/src/interface/sms.ts +1 -0
  109. package/src/interface/task.ts +1 -0
  110. package/src/interface/user.ts +1 -0
  111. package/src/interface/vendor.ts +1 -0
package/lib/index.js CHANGED
@@ -139,14 +139,6 @@ class ServiceClient extends base_1.BaseServiceClient {
139
139
  get_payment_hpc(options) {
140
140
  return this.request("payment", "get_payment_hpc", "get", `/payment/hpc`, null, options);
141
141
  }
142
- /**
143
- * GET /payment/hcaptcha/verify
144
- *
145
- * @param options - additional request options
146
- */
147
- get_payment_hcaptcha_verify(options) {
148
- return this.request("payment", "get_payment_hcaptcha_verify", "get", `/payment/hcaptcha/verify`, null, options);
149
- }
150
142
  /**
151
143
  * GET /payment/{id}/badgepay
152
144
  *
@@ -1965,6 +1957,15 @@ class ServiceClient extends base_1.BaseServiceClient {
1965
1957
  get_menu_v3_modifiers(options) {
1966
1958
  return this.request("menu", "get_menu_v3_modifiers", "get", `/menu/v3/modifiers`, null, options);
1967
1959
  }
1960
+ /**
1961
+ * POST /menu/v3/modifiers
1962
+ *
1963
+ * @param body
1964
+ * @param options - additional request options
1965
+ */
1966
+ post_menu_v3_modifiers(body, options) {
1967
+ return this.request("menu", "post_menu_v3_modifiers", "post", `/menu/v3/modifiers`, body, options);
1968
+ }
1968
1969
  /**
1969
1970
  * GET /menu/v3/modifier/{id}
1970
1971
  *
@@ -1978,12 +1979,21 @@ class ServiceClient extends base_1.BaseServiceClient {
1978
1979
  * PATCH /menu/v3/modifier/{id}
1979
1980
  *
1980
1981
  * @param id
1981
- * @param body
1982
+ * @param body - A partially populated ModifierEntity
1982
1983
  * @param options - additional request options
1983
1984
  */
1984
1985
  patch_menu_v3_modifier(id, body, options) {
1985
1986
  return this.request("menu", "patch_menu_v3_modifier", "patch", `/menu/v3/modifier/${id}`, body, options);
1986
1987
  }
1988
+ /**
1989
+ * DELETE /menu/v3/modifier/{id}
1990
+ *
1991
+ * @param id
1992
+ * @param options - additional request options
1993
+ */
1994
+ delete_menu_v3_modifier(id, options) {
1995
+ return this.request("menu", "delete_menu_v3_modifier", "delete", `/menu/v3/modifier/${id}`, null, options);
1996
+ }
1987
1997
  /**
1988
1998
  * POST /menu/v3/modifier
1989
1999
  *
@@ -2009,6 +2019,15 @@ class ServiceClient extends base_1.BaseServiceClient {
2009
2019
  get_menu_v3_modifier_groups(options) {
2010
2020
  return this.request("menu", "get_menu_v3_modifier_groups", "get", `/menu/v3/modifier-groups`, null, options);
2011
2021
  }
2022
+ /**
2023
+ * POST /menu/v3/modifier-groups
2024
+ *
2025
+ * @param body
2026
+ * @param options - additional request options
2027
+ */
2028
+ post_menu_v3_modifier_groups(body, options) {
2029
+ return this.request("menu", "post_menu_v3_modifier_groups", "post", `/menu/v3/modifier-groups`, body, options);
2030
+ }
2012
2031
  /**
2013
2032
  * POST /menu/v3/modifier-group
2014
2033
  *
@@ -2031,12 +2050,21 @@ class ServiceClient extends base_1.BaseServiceClient {
2031
2050
  * PATCH /menu/v3/modifier-group/{id}
2032
2051
  *
2033
2052
  * @param id
2034
- * @param body
2053
+ * @param body - A partially populated ModifierGroupEntity
2035
2054
  * @param options - additional request options
2036
2055
  */
2037
2056
  patch_menu_v3_modifier_group(id, body, options) {
2038
2057
  return this.request("menu", "patch_menu_v3_modifier_group", "patch", `/menu/v3/modifier-group/${id}`, body, options);
2039
2058
  }
2059
+ /**
2060
+ * DELETE /menu/v3/modifier-group/{id}
2061
+ *
2062
+ * @param id
2063
+ * @param options - additional request options
2064
+ */
2065
+ delete_menu_v3_modifier_group(id, options) {
2066
+ return this.request("menu", "delete_menu_v3_modifier_group", "delete", `/menu/v3/modifier-group/${id}`, null, options);
2067
+ }
2040
2068
  /**
2041
2069
  * GET /menu/v3/modifier-group/count
2042
2070
  *
@@ -2084,12 +2112,21 @@ class ServiceClient extends base_1.BaseServiceClient {
2084
2112
  * PATCH /menu/v3/modifier-group/relationships/modifier/{id}
2085
2113
  *
2086
2114
  * @param id
2087
- * @param body
2115
+ * @param body - A partially populated ModifierGroupToModifierRelationship
2088
2116
  * @param options - additional request options
2089
2117
  */
2090
2118
  patch_menu_v3_modifier_group_relationships_modifier(id, body, options) {
2091
2119
  return this.request("menu", "patch_menu_v3_modifier_group_relationships_modifier", "patch", `/menu/v3/modifier-group/relationships/modifier/${id}`, body, options);
2092
2120
  }
2121
+ /**
2122
+ * DELETE /menu/v3/modifier-group/relationships/modifier/{id}
2123
+ *
2124
+ * @param id
2125
+ * @param options - additional request options
2126
+ */
2127
+ delete_menu_v3_modifier_group_relationships_modifier(id, options) {
2128
+ return this.request("menu", "delete_menu_v3_modifier_group_relationships_modifier", "delete", `/menu/v3/modifier-group/relationships/modifier/${id}`, null, options);
2129
+ }
2093
2130
  /**
2094
2131
  * GET /menu/v3/items
2095
2132
  *
@@ -2098,6 +2135,15 @@ class ServiceClient extends base_1.BaseServiceClient {
2098
2135
  get_menu_v3_items(options) {
2099
2136
  return this.request("menu", "get_menu_v3_items", "get", `/menu/v3/items`, null, options);
2100
2137
  }
2138
+ /**
2139
+ * POST /menu/v3/items
2140
+ *
2141
+ * @param body
2142
+ * @param options - additional request options
2143
+ */
2144
+ post_menu_v3_items(body, options) {
2145
+ return this.request("menu", "post_menu_v3_items", "post", `/menu/v3/items`, body, options);
2146
+ }
2101
2147
  /**
2102
2148
  * GET /menu/v3/item/{id}
2103
2149
  *
@@ -2111,12 +2157,21 @@ class ServiceClient extends base_1.BaseServiceClient {
2111
2157
  * PATCH /menu/v3/item/{id}
2112
2158
  *
2113
2159
  * @param id
2114
- * @param body
2160
+ * @param body - A partially populated ItemEntity
2115
2161
  * @param options - additional request options
2116
2162
  */
2117
2163
  patch_menu_v3_item(id, body, options) {
2118
2164
  return this.request("menu", "patch_menu_v3_item", "patch", `/menu/v3/item/${id}`, body, options);
2119
2165
  }
2166
+ /**
2167
+ * DELETE /menu/v3/item/{id}
2168
+ *
2169
+ * @param id
2170
+ * @param options - additional request options
2171
+ */
2172
+ delete_menu_v3_item(id, options) {
2173
+ return this.request("menu", "delete_menu_v3_item", "delete", `/menu/v3/item/${id}`, null, options);
2174
+ }
2120
2175
  /**
2121
2176
  * POST /menu/v3/item
2122
2177
  *
@@ -2160,11 +2215,20 @@ class ServiceClient extends base_1.BaseServiceClient {
2160
2215
  post_menu_v3_item_relationships_modifier_group(body, options) {
2161
2216
  return this.request("menu", "post_menu_v3_item_relationships_modifier_group", "post", `/menu/v3/item/relationships/modifier-group`, body, options);
2162
2217
  }
2218
+ /**
2219
+ * GET /menu/v3/item/relationships/modifier-group/{id}
2220
+ *
2221
+ * @param id
2222
+ * @param options - additional request options
2223
+ */
2224
+ get_menu_v3_item_relationships_modifier_group(id, options) {
2225
+ return this.request("menu", "get_menu_v3_item_relationships_modifier_group", "get", `/menu/v3/item/relationships/modifier-group/${id}`, null, options);
2226
+ }
2163
2227
  /**
2164
2228
  * PATCH /menu/v3/item/relationships/modifier-group/{id}
2165
2229
  *
2166
2230
  * @param id
2167
- * @param body
2231
+ * @param body - A partially populated ItemToModifierGroupRelationship
2168
2232
  * @param options - additional request options
2169
2233
  */
2170
2234
  patch_menu_v3_item_relationships_modifier_group(id, body, options) {
@@ -2180,65 +2244,30 @@ class ServiceClient extends base_1.BaseServiceClient {
2180
2244
  return this.request("menu", "delete_menu_v3_item_relationships_modifier_group", "delete", `/menu/v3/item/relationships/modifier-group/${id}`, null, options);
2181
2245
  }
2182
2246
  /**
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}
2247
+ * GET /menu/v3/layouts
2192
2248
  *
2193
- * @param id
2194
2249
  * @param options - additional request options
2195
2250
  */
2196
- get_menu_v3_menu(id, options) {
2197
- return this.request("menu", "get_menu_v3_menu", "get", `/menu/v3/menu/${id}`, null, options);
2251
+ get_menu_v3_layouts(options) {
2252
+ return this.request("menu", "get_menu_v3_layouts", "get", `/menu/v3/layouts`, null, options);
2198
2253
  }
2199
2254
  /**
2200
- * PATCH /menu/v3/menu/{id}
2255
+ * POST /menu/v3/layouts
2201
2256
  *
2202
- * @param id
2203
2257
  * @param body
2204
2258
  * @param options - additional request options
2205
2259
  */
2206
- patch_menu_v3_menu(id, body, options) {
2207
- return this.request("menu", "patch_menu_v3_menu", "patch", `/menu/v3/menu/${id}`, body, options);
2260
+ post_menu_v3_layouts(body, options) {
2261
+ return this.request("menu", "post_menu_v3_layouts", "post", `/menu/v3/layouts`, body, options);
2208
2262
  }
2209
2263
  /**
2210
- * DELETE /menu/v3/menu/{id}
2264
+ * GET /menu/v3/layout/{id}/categories
2211
2265
  *
2212
2266
  * @param id
2213
2267
  * @param options - additional request options
2214
2268
  */
2215
- delete_menu_v3_menu(id, options) {
2216
- return this.request("menu", "delete_menu_v3_menu", "delete", `/menu/v3/menu/${id}`, null, options);
2217
- }
2218
- /**
2219
- * POST /menu/v3/menu
2220
- *
2221
- * @param body
2222
- * @param options - additional request options
2223
- */
2224
- post_menu_v3_menu(body, options) {
2225
- return this.request("menu", "post_menu_v3_menu", "post", `/menu/v3/menu`, body, options);
2226
- }
2227
- /**
2228
- * GET /menu/v3/menus/count
2229
- *
2230
- * @param options - additional request options
2231
- */
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);
2269
+ get_menu_v3_layout_categories(id, options) {
2270
+ return this.request("menu", "get_menu_v3_layout_categories", "get", `/menu/v3/layout/${id}/categories`, null, options);
2242
2271
  }
2243
2272
  /**
2244
2273
  * GET /menu/v3/layout/{id}
@@ -2253,7 +2282,7 @@ class ServiceClient extends base_1.BaseServiceClient {
2253
2282
  * PATCH /menu/v3/layout/{id}
2254
2283
  *
2255
2284
  * @param id
2256
- * @param body
2285
+ * @param body - A partially populated LayoutEntity
2257
2286
  * @param options - additional request options
2258
2287
  */
2259
2288
  patch_menu_v3_layout(id, body, options) {
@@ -2306,7 +2335,7 @@ class ServiceClient extends base_1.BaseServiceClient {
2306
2335
  * PATCH /menu/v3/category/{id}
2307
2336
  *
2308
2337
  * @param id
2309
- * @param body
2338
+ * @param body - A partially populated CategoryEntity
2310
2339
  * @param options - additional request options
2311
2340
  */
2312
2341
  patch_menu_v3_category(id, body, options) {
@@ -2364,11 +2393,20 @@ class ServiceClient extends base_1.BaseServiceClient {
2364
2393
  post_menu_v3_category_relationships_item(body, options) {
2365
2394
  return this.request("menu", "post_menu_v3_category_relationships_item", "post", `/menu/v3/category/relationships/item`, body, options);
2366
2395
  }
2396
+ /**
2397
+ * GET /menu/v3/category/relationships/item/{id}
2398
+ *
2399
+ * @param id
2400
+ * @param options - additional request options
2401
+ */
2402
+ get_menu_v3_category_relationships_item(id, options) {
2403
+ return this.request("menu", "get_menu_v3_category_relationships_item", "get", `/menu/v3/category/relationships/item/${id}`, null, options);
2404
+ }
2367
2405
  /**
2368
2406
  * PATCH /menu/v3/category/relationships/item/{id}
2369
2407
  *
2370
2408
  * @param id
2371
- * @param body
2409
+ * @param body - A partially populated CategoryToItemRelationship
2372
2410
  * @param options - additional request options
2373
2411
  */
2374
2412
  patch_menu_v3_category_relationships_item(id, body, options) {
@@ -2383,6 +2421,157 @@ class ServiceClient extends base_1.BaseServiceClient {
2383
2421
  delete_menu_v3_category_relationships_item(id, options) {
2384
2422
  return this.request("menu", "delete_menu_v3_category_relationships_item", "delete", `/menu/v3/category/relationships/item/${id}`, null, options);
2385
2423
  }
2424
+ /**
2425
+ * GET /menu/v3/brands
2426
+ *
2427
+ * @param options - additional request options
2428
+ */
2429
+ get_menu_v3_brands(options) {
2430
+ return this.request("menu", "get_menu_v3_brands", "get", `/menu/v3/brands`, null, options);
2431
+ }
2432
+ /**
2433
+ * POST /menu/v3/brands
2434
+ *
2435
+ * @param body
2436
+ * @param options - additional request options
2437
+ */
2438
+ post_menu_v3_brands(body, options) {
2439
+ return this.request("menu", "post_menu_v3_brands", "post", `/menu/v3/brands`, body, options);
2440
+ }
2441
+ /**
2442
+ * GET /menu/v3/brand/{id}/modifiers
2443
+ *
2444
+ * @param id
2445
+ * @param options - additional request options
2446
+ */
2447
+ get_menu_v3_brand_modifiers(id, options) {
2448
+ return this.request("menu", "get_menu_v3_brand_modifiers", "get", `/menu/v3/brand/${id}/modifiers`, null, options);
2449
+ }
2450
+ /**
2451
+ * GET /menu/v3/brand/{id}/modifier_groups
2452
+ *
2453
+ * @param id
2454
+ * @param options - additional request options
2455
+ */
2456
+ get_menu_v3_brand_modifier_groups(id, options) {
2457
+ return this.request("menu", "get_menu_v3_brand_modifier_groups", "get", `/menu/v3/brand/${id}/modifier_groups`, null, options);
2458
+ }
2459
+ /**
2460
+ * GET /menu/v3/brand/{id}/items
2461
+ *
2462
+ * @param id
2463
+ * @param options - additional request options
2464
+ */
2465
+ get_menu_v3_brand_items(id, options) {
2466
+ return this.request("menu", "get_menu_v3_brand_items", "get", `/menu/v3/brand/${id}/items`, null, options);
2467
+ }
2468
+ /**
2469
+ * GET /menu/v3/brand/{id}
2470
+ *
2471
+ * @param id
2472
+ * @param options - additional request options
2473
+ */
2474
+ get_menu_v3_brand(id, options) {
2475
+ return this.request("menu", "get_menu_v3_brand", "get", `/menu/v3/brand/${id}`, null, options);
2476
+ }
2477
+ /**
2478
+ * PATCH /menu/v3/brand/{id}
2479
+ *
2480
+ * @param id
2481
+ * @param body - A partially populated BrandEntity
2482
+ * @param options - additional request options
2483
+ */
2484
+ patch_menu_v3_brand(id, body, options) {
2485
+ return this.request("menu", "patch_menu_v3_brand", "patch", `/menu/v3/brand/${id}`, body, options);
2486
+ }
2487
+ /**
2488
+ * DELETE /menu/v3/brand/{id}
2489
+ *
2490
+ * @param id
2491
+ * @param options - additional request options
2492
+ */
2493
+ delete_menu_v3_brand(id, options) {
2494
+ return this.request("menu", "delete_menu_v3_brand", "delete", `/menu/v3/brand/${id}`, null, options);
2495
+ }
2496
+ /**
2497
+ * POST /menu/v3/brand
2498
+ *
2499
+ * @param body
2500
+ * @param options - additional request options
2501
+ */
2502
+ post_menu_v3_brand(body, options) {
2503
+ return this.request("menu", "post_menu_v3_brand", "post", `/menu/v3/brand`, body, options);
2504
+ }
2505
+ /**
2506
+ * GET /menu/v3/brands/count
2507
+ *
2508
+ * @param options - additional request options
2509
+ */
2510
+ get_menu_v3_brands_count(options) {
2511
+ return this.request("menu", "get_menu_v3_brands_count", "get", `/menu/v3/brands/count`, null, options);
2512
+ }
2513
+ /**
2514
+ * GET /menu/v3/stations
2515
+ *
2516
+ * @param options - additional request options
2517
+ */
2518
+ get_menu_v3_stations(options) {
2519
+ return this.request("menu", "get_menu_v3_stations", "get", `/menu/v3/stations`, null, options);
2520
+ }
2521
+ /**
2522
+ * POST /menu/v3/stations
2523
+ *
2524
+ * @param body
2525
+ * @param options - additional request options
2526
+ */
2527
+ post_menu_v3_stations(body, options) {
2528
+ return this.request("menu", "post_menu_v3_stations", "post", `/menu/v3/stations`, body, options);
2529
+ }
2530
+ /**
2531
+ * GET /menu/v3/station/{id}
2532
+ *
2533
+ * @param id
2534
+ * @param options - additional request options
2535
+ */
2536
+ get_menu_v3_station(id, options) {
2537
+ return this.request("menu", "get_menu_v3_station", "get", `/menu/v3/station/${id}`, null, options);
2538
+ }
2539
+ /**
2540
+ * PATCH /menu/v3/station/{id}
2541
+ *
2542
+ * @param id
2543
+ * @param body - A partially populated StationEntity
2544
+ * @param options - additional request options
2545
+ */
2546
+ patch_menu_v3_station(id, body, options) {
2547
+ return this.request("menu", "patch_menu_v3_station", "patch", `/menu/v3/station/${id}`, body, options);
2548
+ }
2549
+ /**
2550
+ * DELETE /menu/v3/station/{id}
2551
+ *
2552
+ * @param id
2553
+ * @param options - additional request options
2554
+ */
2555
+ delete_menu_v3_station(id, options) {
2556
+ return this.request("menu", "delete_menu_v3_station", "delete", `/menu/v3/station/${id}`, null, options);
2557
+ }
2558
+ /**
2559
+ * POST /menu/v3/station
2560
+ *
2561
+ * @param body
2562
+ * @param options - additional request options
2563
+ */
2564
+ post_menu_v3_station(body, options) {
2565
+ return this.request("menu", "post_menu_v3_station", "post", `/menu/v3/station`, body, options);
2566
+ }
2567
+ /**
2568
+ * GET /menu/v3/stations/count
2569
+ *
2570
+ * @param options - additional request options
2571
+ */
2572
+ get_menu_v3_stations_count(options) {
2573
+ return this.request("menu", "get_menu_v3_stations_count", "get", `/menu/v3/stations/count`, null, options);
2574
+ }
2386
2575
  /**
2387
2576
  * GET /menu/client/{client_id} - Get menu client
2388
2577
  *
@@ -2648,6 +2837,100 @@ class ServiceClient extends base_1.BaseServiceClient {
2648
2837
  post_menu_partial_group_item_options(id, group_id, body, options) {
2649
2838
  return this.request("menu", "post_menu_partial_group_item_options", "post", `/menu/partial/${id}/group/${group_id}/item/options`, body, options);
2650
2839
  }
2840
+ /**
2841
+ * POST /menu/v3/layout/{id}/publish
2842
+ *
2843
+ * @param id
2844
+ * @param options - additional request options
2845
+ */
2846
+ post_menu_v3_layout_publish(id, options) {
2847
+ return this.request("menu", "post_menu_v3_layout_publish", "post", `/menu/v3/layout/${id}/publish`, null, options);
2848
+ }
2849
+ /**
2850
+ * POST /menu/v3/categorys
2851
+ *
2852
+ * @param body
2853
+ * @param options - additional request options
2854
+ */
2855
+ post_menu_v3_categorys(body, options) {
2856
+ return this.request("menu", "post_menu_v3_categorys", "post", `/menu/v3/categorys`, body, options);
2857
+ }
2858
+ /**
2859
+ * GET /menu/v3/category/relationships/items/count
2860
+ *
2861
+ * @param options - additional request options
2862
+ */
2863
+ get_menu_v3_category_relationships_items_count(options) {
2864
+ return this.request("menu", "get_menu_v3_category_relationships_items_count", "get", `/menu/v3/category/relationships/items/count`, null, options);
2865
+ }
2866
+ /**
2867
+ * GET /menu/v3/item/relationships/modifier-groups/count
2868
+ *
2869
+ * @param options - additional request options
2870
+ */
2871
+ get_menu_v3_item_relationships_modifier_groups_count(options) {
2872
+ return this.request("menu", "get_menu_v3_item_relationships_modifier_groups_count", "get", `/menu/v3/item/relationships/modifier-groups/count`, null, options);
2873
+ }
2874
+ /**
2875
+ * GET /menu/v3/modifier-groups/count
2876
+ *
2877
+ * @param options - additional request options
2878
+ */
2879
+ get_menu_v3_modifier_groups_count(options) {
2880
+ return this.request("menu", "get_menu_v3_modifier_groups_count", "get", `/menu/v3/modifier-groups/count`, null, options);
2881
+ }
2882
+ /**
2883
+ * GET /menu/v3/modifier-group/relationships/modifiers/count
2884
+ *
2885
+ * @param options - additional request options
2886
+ */
2887
+ get_menu_v3_modifier_group_relationships_modifiers_count(options) {
2888
+ return this.request("menu", "get_menu_v3_modifier_group_relationships_modifiers_count", "get", `/menu/v3/modifier-group/relationships/modifiers/count`, null, options);
2889
+ }
2890
+ /**
2891
+ * GET /menu/v3/modifiers/count
2892
+ *
2893
+ * @param options - additional request options
2894
+ */
2895
+ get_menu_v3_modifiers_count(options) {
2896
+ return this.request("menu", "get_menu_v3_modifiers_count", "get", `/menu/v3/modifiers/count`, null, options);
2897
+ }
2898
+ /**
2899
+ * GET /menu/v3/station/{id}/modifiers
2900
+ *
2901
+ * @param id
2902
+ * @param options - additional request options
2903
+ */
2904
+ get_menu_v3_station_modifiers(id, options) {
2905
+ return this.request("menu", "get_menu_v3_station_modifiers", "get", `/menu/v3/station/${id}/modifiers`, null, options);
2906
+ }
2907
+ /**
2908
+ * GET /menu/v3/station/{id}/modifier_groups
2909
+ *
2910
+ * @param id
2911
+ * @param options - additional request options
2912
+ */
2913
+ get_menu_v3_station_modifier_groups(id, options) {
2914
+ return this.request("menu", "get_menu_v3_station_modifier_groups", "get", `/menu/v3/station/${id}/modifier_groups`, null, options);
2915
+ }
2916
+ /**
2917
+ * GET /menu/v3/station/{id}/items
2918
+ *
2919
+ * @param id
2920
+ * @param options - additional request options
2921
+ */
2922
+ get_menu_v3_station_items(id, options) {
2923
+ return this.request("menu", "get_menu_v3_station_items", "get", `/menu/v3/station/${id}/items`, null, options);
2924
+ }
2925
+ /**
2926
+ * GET /menu/v3/site/{id}/layouts
2927
+ *
2928
+ * @param id
2929
+ * @param options - additional request options
2930
+ */
2931
+ get_menu_v3_site_layouts(id, options) {
2932
+ return this.request("menu", "get_menu_v3_site_layouts", "get", `/menu/v3/site/${id}/layouts`, null, options);
2933
+ }
2651
2934
  /**
2652
2935
  * GET /notification - Get all notifications
2653
2936
  *
@@ -2943,6 +3226,25 @@ class ServiceClient extends base_1.BaseServiceClient {
2943
3226
  delete_permission_role_user(user_id, body, options) {
2944
3227
  return this.request("permission", "delete_permission_role_user", "delete", `/permission/role/user/${user_id}`, body, options);
2945
3228
  }
3229
+ /**
3230
+ * GET /delivery/{id}/order/{order_id} - get delivery for order
3231
+ *
3232
+ * @param id - delivery provider id
3233
+ * @param order_id - order id
3234
+ * @param options - additional request options
3235
+ */
3236
+ get_delivery_order(id, order_id, options) {
3237
+ return this.request("delivery", "get_delivery_order", "get", `/delivery/${id}/order/${order_id}`, null, options);
3238
+ }
3239
+ /**
3240
+ * GET /delivery/{id} - Get all Deliveries for delivery provider
3241
+ *
3242
+ * @param id - delivery provider id
3243
+ * @param options - additional request options
3244
+ */
3245
+ get_delivery(id, options) {
3246
+ return this.request("delivery", "get_delivery", "get", `/delivery/${id}`, null, options);
3247
+ }
2946
3248
  /**
2947
3249
  * POST /loyalty/{id}/enroll/{user_id} - Enroll logged in user in Loyalty program
2948
3250
  *