@compassdigital/sdk.typescript 4.801.0 → 4.803.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +17 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +19 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/consumer.d.ts +107 -0
- package/lib/interface/consumer.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +16 -0
- package/lib/interface/menu.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +45 -0
- package/src/interface/consumer.ts +193 -0
- package/src/interface/menu.ts +24 -0
package/lib/index.js
CHANGED
|
@@ -5326,6 +5326,16 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
5326
5326
|
get_menu_v4_menu_graph(menu_id, options) {
|
|
5327
5327
|
return this.request('menu', '/menu/v4/menu-graph/{menu_id}', 'GET', `/menu/v4/menu-graph/${menu_id}`, null, options);
|
|
5328
5328
|
}
|
|
5329
|
+
/**
|
|
5330
|
+
* POST /menu/v4/global-menu-group/{id}/clone
|
|
5331
|
+
*
|
|
5332
|
+
* @param id
|
|
5333
|
+
* @param body
|
|
5334
|
+
* @param options - additional request options
|
|
5335
|
+
*/
|
|
5336
|
+
post_menu_v4_global_menu_group_clone(id, body, options) {
|
|
5337
|
+
return this.request('menu', '/menu/v4/global-menu-group/{id}/clone', 'POST', `/menu/v4/global-menu-group/${id}/clone`, body, options);
|
|
5338
|
+
}
|
|
5329
5339
|
/**
|
|
5330
5340
|
* GET /menu/v3/ping
|
|
5331
5341
|
*
|
|
@@ -6081,6 +6091,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
6081
6091
|
get_consumer_menu_v2(id, options) {
|
|
6082
6092
|
return this.request('consumer', '/consumer/v2/menu/{id}', 'GET', `/consumer/v2/menu/${id}`, null, options);
|
|
6083
6093
|
}
|
|
6094
|
+
/**
|
|
6095
|
+
* GET /consumer/v3/menu/{id} - Get full Menu by ID (v3)
|
|
6096
|
+
*
|
|
6097
|
+
* @param id - Menu ID as Encoded CDL ID
|
|
6098
|
+
* @param options - additional request options
|
|
6099
|
+
*/
|
|
6100
|
+
get_consumer_menu_v3(id, options) {
|
|
6101
|
+
return this.request('consumer', '/consumer/v3/menu/{id}', 'GET', `/consumer/v3/menu/${id}`, null, options);
|
|
6102
|
+
}
|
|
6084
6103
|
/**
|
|
6085
6104
|
* GET /consumer/menu/{id}/items - Provide the front end with menu items
|
|
6086
6105
|
*
|