@compassdigital/sdk.typescript 4.415.0 → 4.417.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.415.0",
3
+ "version": "4.417.0",
4
4
  "description": "Compass Digital Labs TypeScript SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./lib/index.js",
@@ -1176,11 +1176,17 @@ export interface ConsumerLocationMarketPlace {
1176
1176
  }
1177
1177
 
1178
1178
  export interface ConsumerAddress {
1179
+ // Suite number of the address, if applicable
1179
1180
  suite?: string;
1181
+ // First line of the address, should include street number
1180
1182
  address?: string;
1183
+ // City of the address
1181
1184
  city?: string;
1185
+ // State of the address, also province in Canada
1182
1186
  state?: string;
1187
+ // Country of the address
1183
1188
  country?: string;
1189
+ // Zip code or postal code of the address
1184
1190
  zip?: string;
1185
1191
  coordinates?: {
1186
1192
  latitude?: number;
@@ -1485,10 +1491,6 @@ export interface GetConsumerLocationGroupResponse {
1485
1491
  };
1486
1492
  // distance in meters from the group
1487
1493
  distance?: number;
1488
- // list of locations
1489
- locations?: Record<string, any>[];
1490
- // location address
1491
- address?: Record<string, any>;
1492
1494
  // meta data
1493
1495
  meta?: Record<string, any>;
1494
1496
  style?: {
@@ -1498,6 +1500,8 @@ export interface GetConsumerLocationGroupResponse {
1498
1500
  };
1499
1501
  // timezone
1500
1502
  timezone?: string;
1503
+ locations?: ConsumerLocation[];
1504
+ address?: ConsumerAddress;
1501
1505
  }
1502
1506
 
1503
1507
  export interface GetConsumerLocationMultiGroupResponse {
@@ -1019,6 +1019,7 @@ export interface MenuWorksDTO {
1019
1019
  ingredients?: string[];
1020
1020
  smart_tags?: string[];
1021
1021
  allergen_tags?: string[];
1022
+ allergens?: string[];
1022
1023
  [index: string]: any;
1023
1024
  }
1024
1025
 
@@ -1845,6 +1846,12 @@ export interface DraftModifierEntityDTO {
1845
1846
  [index: string]: any;
1846
1847
  }
1847
1848
 
1849
+ export interface AllergenDTO {
1850
+ name: string;
1851
+ contains: 'Yes' | 'AtRisk';
1852
+ [index: string]: any;
1853
+ }
1854
+
1848
1855
  export interface UniversalItemWithoutIdDTO {
1849
1856
  barcode: string;
1850
1857
  name: string;
@@ -7732,6 +7739,7 @@ export interface GetMenuV3MenuworksResponse {
7732
7739
  short_name?: string;
7733
7740
  description?: string;
7734
7741
  portion_size: string;
7742
+ allergens?: AllergenDTO[];
7735
7743
  MRN?: string;
7736
7744
  portion_quantity?: number;
7737
7745
  portion_unit_name?: string;