@compassdigital/sdk.typescript 4.800.0 → 4.802.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 +8 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +9 -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 +5 -0
- package/lib/interface/menu.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +21 -0
- package/src/interface/consumer.ts +193 -0
- package/src/interface/menu.ts +6 -0
package/lib/index.js
CHANGED
|
@@ -6081,6 +6081,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
6081
6081
|
get_consumer_menu_v2(id, options) {
|
|
6082
6082
|
return this.request('consumer', '/consumer/v2/menu/{id}', 'GET', `/consumer/v2/menu/${id}`, null, options);
|
|
6083
6083
|
}
|
|
6084
|
+
/**
|
|
6085
|
+
* GET /consumer/v3/menu/{id} - Get full Menu by ID (v3)
|
|
6086
|
+
*
|
|
6087
|
+
* @param id - Menu ID as Encoded CDL ID
|
|
6088
|
+
* @param options - additional request options
|
|
6089
|
+
*/
|
|
6090
|
+
get_consumer_menu_v3(id, options) {
|
|
6091
|
+
return this.request('consumer', '/consumer/v3/menu/{id}', 'GET', `/consumer/v3/menu/${id}`, null, options);
|
|
6092
|
+
}
|
|
6084
6093
|
/**
|
|
6085
6094
|
* GET /consumer/menu/{id}/items - Provide the front end with menu items
|
|
6086
6095
|
*
|