@compassdigital/sdk.typescript 4.787.0 → 4.789.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 +18 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +20 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/centricos.d.ts +22 -0
- package/lib/interface/centricos.d.ts.map +1 -1
- package/lib/interface/config.d.ts +8 -0
- package/lib/interface/config.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +48 -0
- package/src/interface/centricos.ts +41 -0
- package/src/interface/config.ts +15 -0
package/lib/index.js
CHANGED
|
@@ -1779,6 +1779,16 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1779
1779
|
delete_config_public(key, options) {
|
|
1780
1780
|
return this.request('config', '/config/public/{key}', 'DELETE', `/config/public/${key}`, null, options);
|
|
1781
1781
|
}
|
|
1782
|
+
/**
|
|
1783
|
+
* PUT /config/station/{id}/private - Update a station's private configuration
|
|
1784
|
+
*
|
|
1785
|
+
* @param id - station id (a location/brand id)
|
|
1786
|
+
* @param body
|
|
1787
|
+
* @param options - additional request options
|
|
1788
|
+
*/
|
|
1789
|
+
put_config_station_private(id, body, options) {
|
|
1790
|
+
return this.request('config', '/config/station/{id}/private', 'PUT', `/config/station/${id}/private`, body, options);
|
|
1791
|
+
}
|
|
1782
1792
|
/**
|
|
1783
1793
|
* GET /config/health - Config Service readiness and dependency health check
|
|
1784
1794
|
*
|
|
@@ -6817,6 +6827,16 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
6817
6827
|
delete_centricos_business_unit(bu_id, options) {
|
|
6818
6828
|
return this.request('centricos', '/centricos/business-unit/{bu_id}', 'DELETE', `/centricos/business-unit/${bu_id}`, null, options);
|
|
6819
6829
|
}
|
|
6830
|
+
/**
|
|
6831
|
+
* PUT /centricos/business-unit/{bu_id}/drop-off - Update shared drop-off settings for a business unit
|
|
6832
|
+
*
|
|
6833
|
+
* @param bu_id - TODO: cannot use CompassLongID as path parameter
|
|
6834
|
+
* @param body
|
|
6835
|
+
* @param options - additional request options
|
|
6836
|
+
*/
|
|
6837
|
+
put_centricos_business_unit_drop_off(bu_id, body, options) {
|
|
6838
|
+
return this.request('centricos', '/centricos/business-unit/{bu_id}/drop-off', 'PUT', `/centricos/business-unit/${bu_id}/drop-off`, body, options);
|
|
6839
|
+
}
|
|
6820
6840
|
/**
|
|
6821
6841
|
* GET /centricos/menu/global-menu-groups - Get a paginated list of global menu groups with filtering, sorting, and relationships
|
|
6822
6842
|
*
|