@compassdigital/sdk.typescript 4.911.0 → 4.912.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/centricos.d.ts +19 -0
- package/lib/interface/centricos.d.ts.map +1 -1
- package/lib/interface/centricos.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +21 -0
- package/src/interface/centricos.ts +36 -0
package/lib/index.js
CHANGED
|
@@ -6943,6 +6943,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
6943
6943
|
get_centricos_site_client_settings(siteId, options) {
|
|
6944
6944
|
return this.request('centricos', '/centricos/sites/{siteId}/client-settings', 'GET', `/centricos/sites/${siteId}/client-settings`, null, options);
|
|
6945
6945
|
}
|
|
6946
|
+
/**
|
|
6947
|
+
* GET /centricos/site/{siteId}/food-waste - Get a site's food waste for the last 7 days, compared with the 7 days before
|
|
6948
|
+
*
|
|
6949
|
+
* @param siteId - ID of the site to summarize Topanga food waste for
|
|
6950
|
+
* @param options - additional request options
|
|
6951
|
+
*/
|
|
6952
|
+
get_centricos_site_food_waste(siteId, options) {
|
|
6953
|
+
return this.request('centricos', '/centricos/site/{siteId}/food-waste', 'GET', `/centricos/site/${siteId}/food-waste`, null, options);
|
|
6954
|
+
}
|
|
6946
6955
|
/**
|
|
6947
6956
|
* GET /centricos/review/{orderId}/order-items - Get reviews for items in a given order in an array format
|
|
6948
6957
|
*
|