@compassdigital/sdk.typescript 4.567.0 → 4.569.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 +16 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +18 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/consumer.d.ts +2 -1
- package/lib/interface/consumer.d.ts.map +1 -1
- package/lib/interface/location.d.ts +8 -0
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/mealplan.d.ts +10 -0
- package/lib/interface/mealplan.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +42 -0
- package/src/interface/consumer.ts +4 -2
- package/src/interface/location.ts +15 -0
- package/src/interface/mealplan.ts +18 -0
package/lib/index.js
CHANGED
|
@@ -792,6 +792,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
792
792
|
delete_location_v2_group(id, options) {
|
|
793
793
|
return this.request('location', '/location/v2/group/{id}', 'DELETE', `/location/v2/group/${id}`, null, options);
|
|
794
794
|
}
|
|
795
|
+
/**
|
|
796
|
+
* POST /location/group/{id}/restore - Restore an archived group
|
|
797
|
+
*
|
|
798
|
+
* @param id - group id
|
|
799
|
+
* @param options - additional request options
|
|
800
|
+
*/
|
|
801
|
+
post_location_group_restore(id, options) {
|
|
802
|
+
return this.request('location', '/location/group/{id}/restore', 'POST', `/location/group/${id}/restore`, null, options);
|
|
803
|
+
}
|
|
795
804
|
/**
|
|
796
805
|
* GET /location/menu_association/{id}/brand - Get menu association for a brand
|
|
797
806
|
*
|
|
@@ -1251,6 +1260,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1251
1260
|
post_mealplan_callback(id, body, options) {
|
|
1252
1261
|
return this.request('mealplan', '/mealplan/{id}/callback', 'POST', `/mealplan/${id}/callback`, body, options);
|
|
1253
1262
|
}
|
|
1263
|
+
/**
|
|
1264
|
+
* GET /mealplan/{id}/barcode - Retrieve dynamic Atrium barcode ID for kiosk scan-and-pay
|
|
1265
|
+
*
|
|
1266
|
+
* @param id - Meal plan ID
|
|
1267
|
+
* @param options - additional request options
|
|
1268
|
+
*/
|
|
1269
|
+
get_mealplan_barcode(id, options) {
|
|
1270
|
+
return this.request('mealplan', '/mealplan/{id}/barcode', 'GET', `/mealplan/${id}/barcode`, null, options);
|
|
1271
|
+
}
|
|
1254
1272
|
/**
|
|
1255
1273
|
* GET /mealplan/{id}/tender/{tender} - Check the user's tender balance
|
|
1256
1274
|
*
|