@compassdigital/sdk.typescript 4.913.0 → 4.915.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.
Files changed (42) hide show
  1. package/lib/interface/location.d.ts +1 -0
  2. package/lib/interface/location.d.ts.map +1 -1
  3. package/lib/interface/location.js +1 -0
  4. package/lib/interface/location.js.map +1 -1
  5. package/lib/messages/events/LocationBrandCreatedEvent.d.ts +6 -1
  6. package/lib/messages/events/LocationBrandCreatedEvent.d.ts.map +1 -1
  7. package/lib/messages/events/LocationBrandUpdatedEvent.d.ts +6 -1
  8. package/lib/messages/events/LocationBrandUpdatedEvent.d.ts.map +1 -1
  9. package/lib/messages/events/LocationCompanyCreatedEvent.d.ts +6 -1
  10. package/lib/messages/events/LocationCompanyCreatedEvent.d.ts.map +1 -1
  11. package/lib/messages/events/LocationCompanyUpdatedEvent.d.ts +6 -1
  12. package/lib/messages/events/LocationCompanyUpdatedEvent.d.ts.map +1 -1
  13. package/lib/messages/events/LocationCreatedEvent.d.ts +6 -1
  14. package/lib/messages/events/LocationCreatedEvent.d.ts.map +1 -1
  15. package/lib/messages/events/LocationGroupCreatedEvent.d.ts +10 -8
  16. package/lib/messages/events/LocationGroupCreatedEvent.d.ts.map +1 -1
  17. package/lib/messages/events/LocationGroupUpdatedEvent.d.ts +10 -8
  18. package/lib/messages/events/LocationGroupUpdatedEvent.d.ts.map +1 -1
  19. package/lib/messages/events/LocationMultigroupCreatedEvent.d.ts +11 -9
  20. package/lib/messages/events/LocationMultigroupCreatedEvent.d.ts.map +1 -1
  21. package/lib/messages/events/LocationMultigroupUpdatedEvent.d.ts +11 -9
  22. package/lib/messages/events/LocationMultigroupUpdatedEvent.d.ts.map +1 -1
  23. package/lib/messages/events/LocationSectorCreatedEvent.d.ts +6 -1
  24. package/lib/messages/events/LocationSectorCreatedEvent.d.ts.map +1 -1
  25. package/lib/messages/events/LocationSectorUpdatedEvent.d.ts +6 -1
  26. package/lib/messages/events/LocationSectorUpdatedEvent.d.ts.map +1 -1
  27. package/lib/messages/events/LocationUpdatedEvent.d.ts +6 -1
  28. package/lib/messages/events/LocationUpdatedEvent.d.ts.map +1 -1
  29. package/package.json +1 -1
  30. package/src/interface/location.ts +1 -0
  31. package/src/messages/events/LocationBrandCreatedEvent.ts +6 -1
  32. package/src/messages/events/LocationBrandUpdatedEvent.ts +6 -1
  33. package/src/messages/events/LocationCompanyCreatedEvent.ts +6 -1
  34. package/src/messages/events/LocationCompanyUpdatedEvent.ts +6 -1
  35. package/src/messages/events/LocationCreatedEvent.ts +6 -1
  36. package/src/messages/events/LocationGroupCreatedEvent.ts +10 -9
  37. package/src/messages/events/LocationGroupUpdatedEvent.ts +10 -9
  38. package/src/messages/events/LocationMultigroupCreatedEvent.ts +11 -10
  39. package/src/messages/events/LocationMultigroupUpdatedEvent.ts +11 -10
  40. package/src/messages/events/LocationSectorCreatedEvent.ts +6 -1
  41. package/src/messages/events/LocationSectorUpdatedEvent.ts +6 -1
  42. package/src/messages/events/LocationUpdatedEvent.ts +6 -1
@@ -30,7 +30,10 @@ export interface Group {
30
30
  // Group timezone
31
31
  timezone?: string;
32
32
  // Device mapping configuration
33
- device_mapping?: Record<string, DeviceMapping[]>;
33
+ device_mapping?: {
34
+ Nextep?: DeviceMapping[];
35
+ Volante?: DeviceMapping[];
36
+ };
34
37
  date?: DateInfo;
35
38
  [index: string]: any;
36
39
  }
@@ -168,7 +171,10 @@ export interface Brand {
168
171
  // Terminal configurations
169
172
  terminals?: Record<string, any>[];
170
173
  // Device mapping configuration
171
- device_mapping?: Record<string, BrandDeviceMapping[]>;
174
+ device_mapping?: {
175
+ Nextep?: DeviceMapping[];
176
+ Volante?: DeviceMapping[];
177
+ };
172
178
  timeslots?: {
173
179
  time?: string;
174
180
  averagePrepTime?: string;
@@ -370,17 +376,12 @@ export interface Timeslot {
370
376
  }
371
377
 
372
378
  export interface DeviceMapping {
373
- device_type?: string;
374
- site_device_id?: string;
375
- name?: string;
376
- business_units?: string[];
377
- [index: string]: any;
378
- }
379
-
380
- export interface BrandDeviceMapping {
381
379
  device_type: string;
382
380
  site_device_id: string;
381
+ name?: string;
383
382
  business_units?: string[];
383
+ vendor?: string;
384
+ [index: string]: any;
384
385
  }
385
386
 
386
387
  export interface Station {
@@ -30,7 +30,10 @@ export interface Group {
30
30
  // Group timezone
31
31
  timezone?: string;
32
32
  // Device mapping configuration
33
- device_mapping?: Record<string, DeviceMapping[]>;
33
+ device_mapping?: {
34
+ Nextep?: DeviceMapping[];
35
+ Volante?: DeviceMapping[];
36
+ };
34
37
  date?: DateInfo;
35
38
  [index: string]: any;
36
39
  }
@@ -168,7 +171,10 @@ export interface Brand {
168
171
  // Terminal configurations
169
172
  terminals?: Record<string, any>[];
170
173
  // Device mapping configuration
171
- device_mapping?: Record<string, BrandDeviceMapping[]>;
174
+ device_mapping?: {
175
+ Nextep?: DeviceMapping[];
176
+ Volante?: DeviceMapping[];
177
+ };
172
178
  timeslots?: {
173
179
  time?: string;
174
180
  averagePrepTime?: string;
@@ -370,17 +376,12 @@ export interface Timeslot {
370
376
  }
371
377
 
372
378
  export interface DeviceMapping {
373
- device_type?: string;
374
- site_device_id?: string;
375
- name?: string;
376
- business_units?: string[];
377
- [index: string]: any;
378
- }
379
-
380
- export interface BrandDeviceMapping {
381
379
  device_type: string;
382
380
  site_device_id: string;
381
+ name?: string;
383
382
  business_units?: string[];
383
+ vendor?: string;
384
+ [index: string]: any;
384
385
  }
385
386
 
386
387
  export interface Station {
@@ -154,7 +154,10 @@ export interface Brand {
154
154
  // Terminal configurations
155
155
  terminals?: Record<string, any>[];
156
156
  // Device mapping configuration
157
- device_mapping?: Record<string, DeviceMapping[]>;
157
+ device_mapping?: {
158
+ Nextep?: DeviceMapping[];
159
+ Volante?: DeviceMapping[];
160
+ };
158
161
  timeslots?: {
159
162
  time?: string;
160
163
  averagePrepTime?: string;
@@ -302,7 +305,9 @@ export interface Brand {
302
305
  export interface DeviceMapping {
303
306
  device_type: string;
304
307
  site_device_id: string;
308
+ name?: string;
305
309
  business_units?: string[];
310
+ vendor?: string;
306
311
  }
307
312
 
308
313
  export interface MenuHours {
@@ -154,7 +154,10 @@ export interface Brand {
154
154
  // Terminal configurations
155
155
  terminals?: Record<string, any>[];
156
156
  // Device mapping configuration
157
- device_mapping?: Record<string, DeviceMapping[]>;
157
+ device_mapping?: {
158
+ Nextep?: DeviceMapping[];
159
+ Volante?: DeviceMapping[];
160
+ };
158
161
  timeslots?: {
159
162
  time?: string;
160
163
  averagePrepTime?: string;
@@ -302,7 +305,9 @@ export interface Brand {
302
305
  export interface DeviceMapping {
303
306
  device_type: string;
304
307
  site_device_id: string;
308
+ name?: string;
305
309
  business_units?: string[];
310
+ vendor?: string;
306
311
  }
307
312
 
308
313
  export interface MenuHours {
@@ -61,7 +61,10 @@ export interface Brand {
61
61
  // The CDL id representing the PoS for this brand
62
62
  pos?: string;
63
63
  terminals?: Record<string, any>[];
64
- device_mapping?: Record<string, DeviceMapping[]>;
64
+ device_mapping?: {
65
+ Nextep?: DeviceMapping[];
66
+ Volante?: DeviceMapping[];
67
+ };
65
68
  timeslots?: {
66
69
  time?: string;
67
70
  averagePrepTime?: string;
@@ -213,7 +216,9 @@ export interface Timeslot {
213
216
  export interface DeviceMapping {
214
217
  device_type: string;
215
218
  site_device_id: string;
219
+ name?: string;
216
220
  business_units?: string[];
221
+ vendor?: string;
217
222
  }
218
223
 
219
224
  export interface Station {