@compassdigital/sdk.typescript 4.671.0 → 4.673.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/location.d.ts +8 -0
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/order.d.ts +1 -0
- package/lib/interface/order.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +21 -0
- package/src/interface/location.ts +13 -0
- package/src/interface/order.ts +2 -0
package/lib/index.js
CHANGED
|
@@ -831,6 +831,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
831
831
|
post_location_group_restore(id, options) {
|
|
832
832
|
return this.request('location', '/location/group/{id}/restore', 'POST', `/location/group/${id}/restore`, null, options);
|
|
833
833
|
}
|
|
834
|
+
/**
|
|
835
|
+
* POST /location/{id}/restore - Restore a deleted location
|
|
836
|
+
*
|
|
837
|
+
* @param id - location id
|
|
838
|
+
* @param options - additional request options
|
|
839
|
+
*/
|
|
840
|
+
post_location_restore(id, options) {
|
|
841
|
+
return this.request('location', '/location/{id}/restore', 'POST', `/location/${id}/restore`, null, options);
|
|
842
|
+
}
|
|
834
843
|
/**
|
|
835
844
|
* GET /location/menu_association/{id}/brand - Get menu association for a brand
|
|
836
845
|
*
|