@compassdigital/sdk.typescript 4.776.0 → 4.778.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/discount.d.ts +18 -1
- package/lib/interface/discount.d.ts.map +1 -1
- package/lib/interface/discount.js +5 -0
- package/lib/interface/discount.js.map +1 -1
- package/lib/interface/location.d.ts +25 -0
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/location.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +21 -0
- package/src/interface/discount.ts +30 -1
- package/src/interface/location.ts +33 -0
package/lib/index.js
CHANGED
|
@@ -544,6 +544,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
544
544
|
get_location_group_app_theme(id, options) {
|
|
545
545
|
return this.request('location', '/location/group/{id}/app-theme', 'GET', `/location/group/${id}/app-theme`, null, options);
|
|
546
546
|
}
|
|
547
|
+
/**
|
|
548
|
+
* GET /location/group/{id}/info - Get site-level info for a location group (no descendants, no external calls)
|
|
549
|
+
*
|
|
550
|
+
* @param id - group id
|
|
551
|
+
* @param options - additional request options
|
|
552
|
+
*/
|
|
553
|
+
get_location_group_info(id, options) {
|
|
554
|
+
return this.request('location', '/location/group/{id}/info', 'GET', `/location/group/${id}/info`, null, options);
|
|
555
|
+
}
|
|
547
556
|
/**
|
|
548
557
|
* POST /location/group/batch-get - Get multiple location groups by their IDs
|
|
549
558
|
*
|