@compassdigital/sdk.typescript 4.617.0 → 4.618.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 +324 -35
- package/lib/interface/consumer.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +21 -0
- package/src/interface/consumer.ts +383 -91
package/lib/index.js
CHANGED
|
@@ -6221,6 +6221,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
6221
6221
|
get_consumer_location(id, options) {
|
|
6222
6222
|
return this.request('consumer', '/consumer/location/{id}', 'GET', `/consumer/location/${id}`, null, options);
|
|
6223
6223
|
}
|
|
6224
|
+
/**
|
|
6225
|
+
* GET /consumer/v2/menu/{id} - Get full Menu by ID (v2)
|
|
6226
|
+
*
|
|
6227
|
+
* @param id - Menu ID as Encoded CDL ID
|
|
6228
|
+
* @param options - additional request options
|
|
6229
|
+
*/
|
|
6230
|
+
get_consumer_menu_v2(id, options) {
|
|
6231
|
+
return this.request('consumer', '/consumer/v2/menu/{id}', 'GET', `/consumer/v2/menu/${id}`, null, options);
|
|
6232
|
+
}
|
|
6224
6233
|
/**
|
|
6225
6234
|
* POST /ai/language/generate - Generate text from a given prompt
|
|
6226
6235
|
*
|