@compassdigital/sdk.typescript 4.818.0 → 4.820.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.js CHANGED
@@ -1488,6 +1488,34 @@ class ServiceClient extends base_1.BaseServiceClient {
1488
1488
  post_mealplan_internal_refund(id, body, options) {
1489
1489
  return this.request('mealplan', '/mealplan/{id}/internal/refund', 'POST', `/mealplan/${id}/internal/refund`, body, options);
1490
1490
  }
1491
+ /**
1492
+ * GET /mealplan/{id}/health - Meal plan health and findings for a site
1493
+ *
1494
+ * @param id - Meal plan id. The site it names is what the report is keyed by.
1495
+ * @param options - additional request options
1496
+ */
1497
+ get_mealplan_health(id, options) {
1498
+ return this.request('mealplan', '/mealplan/{id}/health', 'GET', `/mealplan/${id}/health`, null, options);
1499
+ }
1500
+ /**
1501
+ * GET /mealplan/{id}/health/guest - Guests affected by meal plan failures at a site
1502
+ *
1503
+ * @param id - Meal plan id. The site it names is what the report is keyed by.
1504
+ * @param options - additional request options
1505
+ */
1506
+ get_mealplan_health_guest_list(id, options) {
1507
+ return this.request('mealplan', '/mealplan/{id}/health/guest', 'GET', `/mealplan/${id}/health/guest`, null, options);
1508
+ }
1509
+ /**
1510
+ * GET /mealplan/{id}/health/guest/{user} - What happened to one guest at a site
1511
+ *
1512
+ * @param id - Meal plan id. The site it names is what the report is keyed by.
1513
+ * @param user - Guest user id
1514
+ * @param options - additional request options
1515
+ */
1516
+ get_mealplan_health_guest(id, user, options) {
1517
+ return this.request('mealplan', '/mealplan/{id}/health/guest/{user}', 'GET', `/mealplan/${id}/health/guest/${user}`, null, options);
1518
+ }
1491
1519
  /**
1492
1520
  * POST /datalake/sql - Query datalake for data
1493
1521
  *