@compassdigital/sdk.typescript 4.936.0 → 4.937.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 +48 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +59 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/centricos.d.ts +105 -0
- package/lib/interface/centricos.d.ts.map +1 -1
- package/lib/interface/centricos.js.map +1 -1
- package/lib/interface/consumer.d.ts +19 -1
- package/lib/interface/consumer.d.ts.map +1 -1
- package/lib/interface/consumer.js +18 -1
- package/lib/interface/consumer.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +162 -0
- package/src/interface/centricos.ts +219 -0
- package/src/interface/consumer.ts +23 -3
package/lib/index.js
CHANGED
|
@@ -6897,6 +6897,65 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
6897
6897
|
get_centricos_site_food_waste(siteId, options) {
|
|
6898
6898
|
return this.request('centricos', '/centricos/site/{siteId}/food-waste', 'GET', `/centricos/site/${siteId}/food-waste`, null, options);
|
|
6899
6899
|
}
|
|
6900
|
+
/**
|
|
6901
|
+
* GET /centricos/sites/{siteId}/integrations - Get the integrations Edge supports and whether each is connected to the site
|
|
6902
|
+
*
|
|
6903
|
+
* @param siteId - ID of the site
|
|
6904
|
+
* @param options - additional request options
|
|
6905
|
+
*/
|
|
6906
|
+
get_centricos_site_integrations(siteId, options) {
|
|
6907
|
+
return this.request('centricos', '/centricos/sites/{siteId}/integrations', 'GET', `/centricos/sites/${siteId}/integrations`, null, options);
|
|
6908
|
+
}
|
|
6909
|
+
/**
|
|
6910
|
+
* PUT /centricos/sites/{siteId}/integration/thrive - Connect Thrive to the site and save its settings
|
|
6911
|
+
*
|
|
6912
|
+
* @param siteId - ID of the site
|
|
6913
|
+
* @param body
|
|
6914
|
+
* @param options - additional request options
|
|
6915
|
+
*/
|
|
6916
|
+
put_centricos_site_thrive_integration(siteId, body, options) {
|
|
6917
|
+
return this.request('centricos', '/centricos/sites/{siteId}/integration/thrive', 'PUT', `/centricos/sites/${siteId}/integration/thrive`, body, options);
|
|
6918
|
+
}
|
|
6919
|
+
/**
|
|
6920
|
+
* PUT /centricos/sites/{siteId}/integration/boost - Connect Boost to the site and save its settings
|
|
6921
|
+
*
|
|
6922
|
+
* @param siteId - ID of the site
|
|
6923
|
+
* @param body
|
|
6924
|
+
* @param options - additional request options
|
|
6925
|
+
*/
|
|
6926
|
+
put_centricos_site_boost_integration(siteId, body, options) {
|
|
6927
|
+
return this.request('centricos', '/centricos/sites/{siteId}/integration/boost', 'PUT', `/centricos/sites/${siteId}/integration/boost`, body, options);
|
|
6928
|
+
}
|
|
6929
|
+
/**
|
|
6930
|
+
* PUT /centricos/sites/{siteId}/integration/agilysys - Connect Agilysys to the site and save its settings
|
|
6931
|
+
*
|
|
6932
|
+
* @param siteId - ID of the site
|
|
6933
|
+
* @param body
|
|
6934
|
+
* @param options - additional request options
|
|
6935
|
+
*/
|
|
6936
|
+
put_centricos_site_agilysys_integration(siteId, body, options) {
|
|
6937
|
+
return this.request('centricos', '/centricos/sites/{siteId}/integration/agilysys', 'PUT', `/centricos/sites/${siteId}/integration/agilysys`, body, options);
|
|
6938
|
+
}
|
|
6939
|
+
/**
|
|
6940
|
+
* PUT /centricos/sites/{siteId}/integration/{integration_type} - Connect an integration that has no site settings to the site
|
|
6941
|
+
*
|
|
6942
|
+
* @param siteId - ID of the site
|
|
6943
|
+
* @param integration_type - Integration to connect. Thrive, Boost and Agilysys have their own routes, because they take site settings.
|
|
6944
|
+
* @param options - additional request options
|
|
6945
|
+
*/
|
|
6946
|
+
put_centricos_site_integration(siteId, integration_type, options) {
|
|
6947
|
+
return this.request('centricos', '/centricos/sites/{siteId}/integration/{integration_type}', 'PUT', `/centricos/sites/${siteId}/integration/${integration_type}`, null, options);
|
|
6948
|
+
}
|
|
6949
|
+
/**
|
|
6950
|
+
* DELETE /centricos/sites/{siteId}/integration/{integration_type} - Disconnect an integration from the site
|
|
6951
|
+
*
|
|
6952
|
+
* @param siteId - ID of the site
|
|
6953
|
+
* @param integration_type - Integration to disconnect
|
|
6954
|
+
* @param options - additional request options
|
|
6955
|
+
*/
|
|
6956
|
+
delete_centricos_site_integration(siteId, integration_type, options) {
|
|
6957
|
+
return this.request('centricos', '/centricos/sites/{siteId}/integration/{integration_type}', 'DELETE', `/centricos/sites/${siteId}/integration/${integration_type}`, null, options);
|
|
6958
|
+
}
|
|
6900
6959
|
/**
|
|
6901
6960
|
* GET /centricos/review/{orderId}/order-items - Get reviews for items in a given order in an array format
|
|
6902
6961
|
*
|