@compassdigital/sdk.typescript 4.553.0 → 4.555.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 +15 -10
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +17 -10
- package/lib/index.js.map +1 -1
- package/lib/interface/location.d.ts +8 -10
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/review.d.ts +18 -0
- package/lib/interface/review.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +31 -24
- package/src/interface/location.ts +13 -18
- package/src/interface/review.ts +24 -0
package/lib/index.js
CHANGED
|
@@ -447,16 +447,6 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
447
447
|
get_location_multigroup(id, options) {
|
|
448
448
|
return this.request('location', '/location/multigroup/{id}', 'GET', `/location/multigroup/${id}`, null, options);
|
|
449
449
|
}
|
|
450
|
-
/**
|
|
451
|
-
* DELETE /location/multigroup/{id} - Delete groups from a multigroup
|
|
452
|
-
*
|
|
453
|
-
* @param id - multigroup id
|
|
454
|
-
* @param body
|
|
455
|
-
* @param options - additional request options
|
|
456
|
-
*/
|
|
457
|
-
delete_location_multigroup(id, body, options) {
|
|
458
|
-
return this.request('location', '/location/multigroup/{id}', 'DELETE', `/location/multigroup/${id}`, body, options);
|
|
459
|
-
}
|
|
460
450
|
/**
|
|
461
451
|
* PATCH /location/multigroup/{id} - Update a multigroup
|
|
462
452
|
*
|
|
@@ -793,6 +783,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
793
783
|
get_location_v2_groups(options) {
|
|
794
784
|
return this.request('location', '/location/v2/groups', 'GET', `/location/v2/groups`, null, options);
|
|
795
785
|
}
|
|
786
|
+
/**
|
|
787
|
+
* DELETE /location/v2/group/{id} - Archive a group (soft-delete)
|
|
788
|
+
*
|
|
789
|
+
* @param id - group id
|
|
790
|
+
* @param options - additional request options
|
|
791
|
+
*/
|
|
792
|
+
delete_location_v2_group(id, options) {
|
|
793
|
+
return this.request('location', '/location/v2/group/{id}', 'DELETE', `/location/v2/group/${id}`, null, options);
|
|
794
|
+
}
|
|
796
795
|
/**
|
|
797
796
|
* GET /location/menu_association/{id}/brand - Get menu association for a brand
|
|
798
797
|
*
|
|
@@ -6610,6 +6609,14 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
6610
6609
|
get_review_ping(options) {
|
|
6611
6610
|
return this.request('review', '/review/ping', 'GET', `/review/ping`, null, options);
|
|
6612
6611
|
}
|
|
6612
|
+
/**
|
|
6613
|
+
* GET /review/health - Review service readiness check
|
|
6614
|
+
*
|
|
6615
|
+
* @param options - additional request options
|
|
6616
|
+
*/
|
|
6617
|
+
get_review_health(options) {
|
|
6618
|
+
return this.request('review', '/review/health', 'GET', `/review/health`, null, options);
|
|
6619
|
+
}
|
|
6613
6620
|
/**
|
|
6614
6621
|
* GET /review/{id} - Get a review
|
|
6615
6622
|
*
|