@compassdigital/sdk.typescript 4.538.0 → 4.540.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compassdigital/sdk.typescript",
3
- "version": "4.538.0",
3
+ "version": "4.540.0",
4
4
  "description": "Compass Digital Labs TypeScript SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./lib/index.js",
@@ -30,6 +30,10 @@ export interface Units {
30
30
 
31
31
  export interface AuthPostBody {
32
32
  serial_number?: string;
33
+ // Optional. business unit id
34
+ unit_id?: string;
35
+ // Optional. location group id
36
+ location_group?: string;
33
37
  }
34
38
 
35
39
  export interface AuthDevice {
@@ -1054,6 +1054,7 @@ export interface MenuWorksDTO {
1054
1054
  allergen_tags?: string[];
1055
1055
  allergens?: AllergenDTO[];
1056
1056
  nutrition?: NutritionDTO;
1057
+ icons?: MenuWorksIconDTO[];
1057
1058
  updated_at?: string;
1058
1059
  [index: string]: any;
1059
1060
  }
@@ -1085,6 +1086,14 @@ export interface NutritionValueDTO {
1085
1086
  [index: string]: any;
1086
1087
  }
1087
1088
 
1089
+ export interface MenuWorksIconDTO {
1090
+ id: number;
1091
+ name: string;
1092
+ url: string;
1093
+ rank?: number;
1094
+ [index: string]: any;
1095
+ }
1096
+
1088
1097
  export interface ModifierGroupToModifierRelationshipChangeDTO {
1089
1098
  id?: string;
1090
1099
  created_at?: string;
@@ -7798,6 +7807,7 @@ export interface GetMenuV3MenuworksResponse {
7798
7807
  portion_size: string;
7799
7808
  allergens?: AllergenDTO[];
7800
7809
  nutrition?: NutritionDTO;
7810
+ icons?: MenuWorksIconDTO[];
7801
7811
  MRN?: string;
7802
7812
  portion_quantity?: number;
7803
7813
  portion_unit_name?: string;