@compassdigital/sdk.typescript 3.38.0 → 3.40.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 (77) hide show
  1. package/lib/base.d.ts +3 -3
  2. package/lib/base.d.ts.map +1 -1
  3. package/lib/index.d.ts +185 -74
  4. package/lib/index.d.ts.map +1 -1
  5. package/lib/index.js +10 -3
  6. package/lib/index.js.map +1 -1
  7. package/lib/interface/announcement.d.ts +14 -9
  8. package/lib/interface/announcement.d.ts.map +1 -1
  9. package/lib/interface/calendar.d.ts +12 -7
  10. package/lib/interface/calendar.d.ts.map +1 -1
  11. package/lib/interface/compassconnect.d.ts +2 -1
  12. package/lib/interface/compassconnect.d.ts.map +1 -1
  13. package/lib/interface/config.d.ts +27 -18
  14. package/lib/interface/config.d.ts.map +1 -1
  15. package/lib/interface/datalake.d.ts +7 -4
  16. package/lib/interface/datalake.d.ts.map +1 -1
  17. package/lib/interface/email.d.ts +2 -2
  18. package/lib/interface/email.d.ts.map +1 -1
  19. package/lib/interface/file.d.ts +1 -1
  20. package/lib/interface/file.d.ts.map +1 -1
  21. package/lib/interface/kds.d.ts +12 -8
  22. package/lib/interface/kds.d.ts.map +1 -1
  23. package/lib/interface/location.d.ts +112 -76
  24. package/lib/interface/location.d.ts.map +1 -1
  25. package/lib/interface/loyalty.d.ts +42 -17
  26. package/lib/interface/loyalty.d.ts.map +1 -1
  27. package/lib/interface/mealplan.d.ts +16 -10
  28. package/lib/interface/mealplan.d.ts.map +1 -1
  29. package/lib/interface/menu.d.ts +83 -44
  30. package/lib/interface/menu.d.ts.map +1 -1
  31. package/lib/interface/notification.d.ts +12 -8
  32. package/lib/interface/notification.d.ts.map +1 -1
  33. package/lib/interface/order.d.ts +32 -18
  34. package/lib/interface/order.d.ts.map +1 -1
  35. package/lib/interface/partner.d.ts +473 -426
  36. package/lib/interface/partner.d.ts.map +1 -1
  37. package/lib/interface/payment.d.ts +25 -15
  38. package/lib/interface/payment.d.ts.map +1 -1
  39. package/lib/interface/permission.d.ts +20 -15
  40. package/lib/interface/permission.d.ts.map +1 -1
  41. package/lib/interface/promo.d.ts +32 -26
  42. package/lib/interface/promo.d.ts.map +1 -1
  43. package/lib/interface/report.d.ts +16 -10
  44. package/lib/interface/report.d.ts.map +1 -1
  45. package/lib/interface/shoppingcart.d.ts +25 -22
  46. package/lib/interface/shoppingcart.d.ts.map +1 -1
  47. package/lib/interface/task.d.ts +28 -16
  48. package/lib/interface/task.d.ts.map +1 -1
  49. package/lib/interface/user.d.ts +72 -46
  50. package/lib/interface/user.d.ts.map +1 -1
  51. package/lib/interface/util.d.ts +1 -1
  52. package/lib/interface/util.d.ts.map +1 -1
  53. package/lib/interface/vendor.d.ts +42 -28
  54. package/lib/interface/vendor.d.ts.map +1 -1
  55. package/package.json +2 -2
  56. package/src/index.ts +281 -56
  57. package/src/interface/announcement.ts +13 -1
  58. package/src/interface/calendar.ts +12 -1
  59. package/src/interface/compassconnect.ts +2 -0
  60. package/src/interface/config.ts +26 -3
  61. package/src/interface/datalake.ts +6 -1
  62. package/src/interface/kds.ts +8 -1
  63. package/src/interface/location.ts +81 -9
  64. package/src/interface/loyalty.ts +65 -5
  65. package/src/interface/mealplan.ts +18 -2
  66. package/src/interface/menu.ts +96 -7
  67. package/src/interface/notification.ts +10 -1
  68. package/src/interface/order.ts +26 -1
  69. package/src/interface/partner.ts +550 -474
  70. package/src/interface/payment.ts +30 -6
  71. package/src/interface/permission.ts +13 -1
  72. package/src/interface/promo.ts +14 -1
  73. package/src/interface/report.ts +12 -0
  74. package/src/interface/shoppingcart.ts +9 -1
  75. package/src/interface/task.ts +30 -3
  76. package/src/interface/user.ts +42 -2
  77. package/src/interface/vendor.ts +34 -4
@@ -1,4 +1,4 @@
1
- import { BaseRequest } from "./util";
1
+ import { RequestQuery, BaseRequest } from "./util";
2
2
  export interface Error {
3
3
  message?: string;
4
4
  code?: number;
@@ -9,52 +9,7 @@ export interface ShoppingCart {
9
9
  menu?: string;
10
10
  brand?: string;
11
11
  date?: any;
12
- items?: {
13
- id: string;
14
- _index?: string;
15
- quantity: number;
16
- unit?: number;
17
- price?: {
18
- amount?: number;
19
- };
20
- sale_price?: {
21
- active?: boolean;
22
- amount?: number;
23
- };
24
- _subtotal?: {
25
- amount?: number;
26
- };
27
- _promo?: {
28
- amount?: number;
29
- };
30
- meta?: {
31
- menu?: string;
32
- brand?: string;
33
- [index: string]: any;
34
- };
35
- options?: {
36
- id?: string;
37
- label?: {
38
- en?: string;
39
- };
40
- meta?: any;
41
- items?: {
42
- id?: string;
43
- label?: {
44
- en?: string;
45
- };
46
- _index?: string;
47
- meta?: any;
48
- quantity?: number;
49
- amount_off_exclusions?: string[];
50
- }[];
51
- }[];
52
- item_discount?: any;
53
- special_instructions?: string;
54
- amount_off_exclusions?: string[];
55
- added_on?: string;
56
- [index: string]: any;
57
- }[];
12
+ items?: Item[];
58
13
  sub_total?: {
59
14
  amount?: number;
60
15
  };
@@ -65,6 +20,15 @@ export interface ShoppingCart {
65
20
  amount?: number;
66
21
  app?: string;
67
22
  };
23
+ loyalty?: {
24
+ coupon?: {
25
+ code?: string;
26
+ amount_off?: number;
27
+ amount?: number;
28
+ name?: string;
29
+ };
30
+ order_loyalty_points?: boolean;
31
+ };
68
32
  discount?: {
69
33
  code?: string;
70
34
  amount_off?: number;
@@ -100,19 +64,9 @@ export interface ShoppingCart {
100
64
  id?: string;
101
65
  tender?: string;
102
66
  };
67
+ badge_pay?: BadgePay;
103
68
  };
104
- taxes?: {
105
- amount?: number;
106
- rate?: number;
107
- breakdown?: {
108
- taxable_amount?: number;
109
- tax_collectable?: number;
110
- combined_tax_rate?: number;
111
- gst?: number;
112
- pst?: number;
113
- [index: string]: any;
114
- };
115
- };
69
+ taxes?: taxes;
116
70
  total?: {
117
71
  amount?: number;
118
72
  meals?: number;
@@ -132,15 +86,78 @@ export interface ShoppingCart {
132
86
  is?: {
133
87
  type?: string;
134
88
  mx_cart?: boolean;
135
- domain_tax_exempt?: boolean;
89
+ email_tax_exempt?: boolean;
90
+ tax_calculation_required?: boolean;
136
91
  };
137
92
  meta?: {
138
93
  vendor?: any;
139
94
  [index: string]: any;
140
95
  };
141
96
  }
142
- export declare type Item = any;
143
- export declare type taxes = ShoppingCart["taxes"];
97
+ export interface Item {
98
+ id: string;
99
+ _index?: string;
100
+ quantity: number;
101
+ unit?: number;
102
+ price?: {
103
+ amount?: number;
104
+ };
105
+ sale_price?: {
106
+ active?: boolean;
107
+ amount?: number;
108
+ };
109
+ _subtotal?: {
110
+ amount?: number;
111
+ };
112
+ _promo?: {
113
+ amount?: number;
114
+ };
115
+ meta?: {
116
+ menu?: string;
117
+ brand?: string;
118
+ [index: string]: any;
119
+ };
120
+ options?: {
121
+ id?: string;
122
+ label?: {
123
+ en?: string;
124
+ };
125
+ meta?: any;
126
+ items?: {
127
+ id?: string;
128
+ label?: {
129
+ en?: string;
130
+ };
131
+ _index?: string;
132
+ meta?: any;
133
+ quantity?: number;
134
+ amount_off_exclusions?: string[];
135
+ }[];
136
+ }[];
137
+ item_discount?: any;
138
+ special_instructions?: string;
139
+ amount_off_exclusions?: string[];
140
+ added_on?: string;
141
+ [index: string]: any;
142
+ }
143
+ export interface BadgePay {
144
+ id?: string;
145
+ total?: number;
146
+ tender?: string;
147
+ name?: string;
148
+ }
149
+ export interface taxes {
150
+ amount?: number;
151
+ rate?: number;
152
+ breakdown?: {
153
+ taxable_amount?: number;
154
+ tax_collectable?: number;
155
+ combined_tax_rate?: number;
156
+ gst?: number;
157
+ pst?: number;
158
+ [index: string]: any;
159
+ };
160
+ }
144
161
  export interface LocationGroup {
145
162
  id?: string;
146
163
  name?: string;
@@ -149,215 +166,230 @@ export interface LocationGroup {
149
166
  fr?: string;
150
167
  };
151
168
  distance?: number;
152
- locations?: {
153
- id?: string;
154
- operation_id?: number;
155
- name?: string;
169
+ locations?: Location[];
170
+ address?: Address;
171
+ meta?: {
172
+ [index: string]: any;
173
+ };
174
+ style?: any;
175
+ [index: string]: any;
176
+ }
177
+ export interface Location {
178
+ id?: string;
179
+ operation_id?: number;
180
+ name?: string;
181
+ label?: {
182
+ en?: string;
183
+ fr?: string;
184
+ };
185
+ search?: string[];
186
+ app?: string;
187
+ address?: Address;
188
+ latitude?: number;
189
+ longitude?: number;
190
+ brands?: Brand[];
191
+ meta?: {
192
+ [index: string]: any;
193
+ };
194
+ phone?: string;
195
+ location_group?: string;
196
+ location_multigroup?: string;
197
+ sector?: string;
198
+ date?: {
199
+ deleted?: string;
200
+ created?: string;
201
+ modified?: string;
202
+ };
203
+ market_place?: {
156
204
  label?: {
157
205
  en?: string;
158
206
  fr?: string;
159
207
  };
160
- search?: string[];
161
- app?: string;
162
- address?: Brand["address"];
163
- latitude?: number;
164
- longitude?: number;
165
- brands?: {
166
- id?: string;
167
- sector?: string;
168
- name?: string;
169
- label?: {
170
- en?: string;
171
- fr?: string;
172
- };
173
- timezone?: string;
174
- description?: string;
175
- latitude?: number;
176
- longitude?: number;
177
- address?: {
178
- suite?: string;
179
- address?: string;
180
- city?: string;
181
- state?: string;
182
- country?: string;
183
- zip?: string;
184
- coordinates?: {
185
- latitude?: number;
186
- longitude?: number;
187
- };
188
- };
189
- menus?: {
190
- id?: string;
191
- label?: {
192
- en?: string;
193
- };
194
- hours?: any[];
195
- is_pickup?: boolean;
196
- is_delivery?: boolean;
197
- is_frictionless?: boolean;
198
- }[];
199
- date?: {
200
- created?: string;
201
- };
202
- hours?: {
203
- id?: string;
204
- date?: {
205
- start?: string;
206
- end?: string;
207
- };
208
- day?: {
209
- start?: number;
210
- end?: number;
211
- };
212
- hours?: string;
213
- }[];
214
- deliveryHours?: {
215
- id?: string;
216
- day?: {
217
- start?: number;
218
- end?: number;
219
- };
220
- hours?: string;
221
- }[];
222
- style?: any;
223
- pos?: string;
224
- terminals?: any[];
225
- timeslots?: {
226
- time?: string;
227
- averagePrepTime?: string;
228
- duration_minutes?: number;
229
- customers_per_slot?: number;
230
- menu_items_per_slot?: number;
231
- delivery_time?: string;
232
- delivery_customers_per_slot?: number;
233
- delivery_menu_items_per_slot?: number;
234
- delivery_prep_time?: string;
235
- delivery_is_user_defined?: boolean;
236
- delivery_user_defined?: {
237
- start_time: string;
238
- end_time: string;
239
- delivery_destinations?: string[];
240
- }[];
241
- };
242
- is?: {
243
- pickup_supported?: boolean;
244
- delivery_supported?: boolean;
245
- plu_enabled?: boolean;
246
- promo_exemptions_enabled?: boolean;
247
- local_images_enabled?: boolean;
248
- hidden?: boolean;
249
- item_desc_edit_enabled?: boolean;
250
- scan_and_go_supported?: boolean;
251
- calories_edit_enabled?: boolean;
252
- special_instructions?: boolean;
253
- [index: string]: any;
254
- };
255
- brand?: string;
256
- location?: string;
257
- group?: string;
258
- payment_provider?: string;
259
- location_description?: string;
260
- company?: string;
261
- config?: {
262
- private?: any;
263
- public?: any;
264
- };
265
- tax_rate?: number;
266
- meta?: {
267
- scout?: {
268
- user_id?: string;
269
- name?: {
270
- first?: string;
271
- last?: string;
272
- };
273
- };
274
- partner?: {
275
- user_id?: string;
276
- name?: {
277
- first?: string;
278
- last?: string;
279
- };
280
- };
281
- contact?: {
282
- name?: string;
283
- role?: string;
284
- email?: string;
285
- phone?: string;
286
- };
287
- market_id?: string;
288
- partner_type?: string;
289
- business_number?: number;
290
- website?: string;
291
- cuisine_types?: string[];
292
- status?: string;
293
- active?: boolean;
294
- max_showcase_items?: number;
295
- jde_category?: string;
296
- };
297
- descriptions?: {
298
- location?: {
299
- en?: string;
300
- fr?: string;
301
- };
302
- };
303
- [index: string]: any;
304
- }[];
305
- meta?: any;
306
- phone?: string;
307
- location_group?: string;
308
- location_multigroup?: string;
309
- sector?: string;
310
- date?: {
311
- created?: string;
312
- modified?: string;
208
+ location_description?: {
209
+ en?: string;
210
+ fr?: string;
313
211
  };
314
- market_place?: {
315
- label?: {
316
- en?: string;
317
- fr?: string;
318
- };
319
- location_description?: {
320
- en?: string;
321
- fr?: string;
322
- };
323
- logo?: string;
324
- is?: {
325
- pickup_supported?: boolean;
326
- delivery_supported?: boolean;
327
- };
328
- delivery_details?: {
329
- show_single_timeslot?: boolean;
330
- show_instructions?: boolean;
331
- runner_app_enabled?: boolean;
332
- };
212
+ logo?: string;
213
+ is?: {
214
+ pickup_supported?: boolean;
215
+ delivery_supported?: boolean;
216
+ };
217
+ delivery_details?: {
218
+ show_single_timeslot?: boolean;
219
+ show_instructions?: boolean;
220
+ runner_app_enabled?: boolean;
221
+ };
222
+ delivery_destinations?: string[];
223
+ pickup_instruction?: {
224
+ en?: string;
225
+ fr?: string;
226
+ };
227
+ hours?: any;
228
+ deliveryHours?: any;
229
+ service_fee?: {
230
+ type?: string;
231
+ value?: number;
232
+ };
233
+ [index: string]: any;
234
+ };
235
+ [index: string]: any;
236
+ }
237
+ export interface Brand {
238
+ id?: string;
239
+ sector?: string;
240
+ name?: string;
241
+ label?: {
242
+ en?: string;
243
+ fr?: string;
244
+ };
245
+ timezone?: string;
246
+ description?: string;
247
+ latitude?: number;
248
+ longitude?: number;
249
+ address?: Address;
250
+ menus?: MenuHours[];
251
+ date?: {
252
+ deleted?: string;
253
+ created?: string;
254
+ };
255
+ hours?: Hours[];
256
+ deliveryHours?: DeliveryHours[];
257
+ style?: any;
258
+ pos?: string;
259
+ terminals?: any[];
260
+ timeslots?: {
261
+ time?: string;
262
+ averagePrepTime?: string;
263
+ duration_minutes?: number;
264
+ customers_per_slot?: number;
265
+ menu_items_per_slot?: number;
266
+ delivery_time?: string;
267
+ delivery_customers_per_slot?: number;
268
+ delivery_menu_items_per_slot?: number;
269
+ delivery_prep_time?: string;
270
+ delivery_is_user_defined?: boolean;
271
+ delivery_user_defined?: {
272
+ start_time: string;
273
+ end_time: string;
333
274
  delivery_destinations?: string[];
334
- pickup_instruction?: {
335
- en?: string;
336
- fr?: string;
275
+ }[];
276
+ };
277
+ is?: {
278
+ pickup_supported?: boolean;
279
+ delivery_supported?: boolean;
280
+ plu_enabled?: boolean;
281
+ promo_exemptions_enabled?: boolean;
282
+ local_images_enabled?: boolean;
283
+ hidden?: boolean;
284
+ item_desc_edit_enabled?: boolean;
285
+ scan_and_go_supported?: boolean;
286
+ calories_edit_enabled?: boolean;
287
+ special_instructions?: boolean;
288
+ [index: string]: any;
289
+ };
290
+ brand?: string;
291
+ location?: string;
292
+ group?: string;
293
+ payment_provider?: string;
294
+ location_description?: string;
295
+ company?: string;
296
+ config?: {
297
+ private?: any;
298
+ public?: any;
299
+ };
300
+ tax_rate?: number;
301
+ meta?: {
302
+ scout?: {
303
+ user_id?: string;
304
+ name?: {
305
+ first?: string;
306
+ last?: string;
337
307
  };
338
- hours?: any;
339
- deliveryHours?: any;
340
- service_fee?: {
341
- type?: string;
342
- value?: number;
308
+ };
309
+ partner?: {
310
+ user_id?: string;
311
+ name?: {
312
+ first?: string;
313
+ last?: string;
343
314
  };
344
- [index: string]: any;
345
315
  };
346
- [index: string]: any;
347
- }[];
348
- address?: Brand["address"];
349
- meta?: {
316
+ contact?: {
317
+ name?: string;
318
+ role?: string;
319
+ email?: string;
320
+ phone?: string;
321
+ };
322
+ market_id?: string;
323
+ partner_type?: string;
324
+ business_number?: number;
325
+ website?: string;
326
+ cuisine_types?: string[];
327
+ status?: string;
328
+ active?: boolean;
329
+ max_showcase_items?: number;
330
+ jde_category?: string;
350
331
  [index: string]: any;
351
332
  };
352
- style?: any;
333
+ descriptions?: {
334
+ location?: {
335
+ en?: string;
336
+ fr?: string;
337
+ };
338
+ };
339
+ estimated_wait_time?: {
340
+ delivery?: WaitTime;
341
+ pickup?: WaitTime;
342
+ };
353
343
  [index: string]: any;
354
344
  }
355
- export declare type Location = any;
356
- export declare type Brand = any;
357
- export declare type Address = Brand["address"];
358
- export declare type MenuHours = any;
359
- export declare type Hours = any;
360
- export declare type DeliveryHours = any;
345
+ export interface Address {
346
+ suite?: string;
347
+ address?: string;
348
+ city?: string;
349
+ state?: string;
350
+ country?: string;
351
+ zip?: string;
352
+ coordinates?: {
353
+ latitude?: number;
354
+ longitude?: number;
355
+ };
356
+ }
357
+ export interface MenuHours {
358
+ id?: string;
359
+ label?: {
360
+ en?: string;
361
+ };
362
+ hours?: Hours[];
363
+ is_pickup?: boolean;
364
+ is_delivery?: boolean;
365
+ is_frictionless?: boolean;
366
+ }
367
+ export interface Hours {
368
+ id?: string;
369
+ date?: {
370
+ deleted?: string;
371
+ start?: string;
372
+ end?: string;
373
+ };
374
+ day?: {
375
+ start?: number;
376
+ end?: number;
377
+ };
378
+ hours?: string;
379
+ }
380
+ export interface DeliveryHours {
381
+ id?: string;
382
+ day?: {
383
+ start?: number;
384
+ end?: number;
385
+ };
386
+ hours?: string;
387
+ }
388
+ export interface WaitTime {
389
+ max: number;
390
+ min: number;
391
+ ready_time: number;
392
+ }
361
393
  export interface Menu {
362
394
  id?: string;
363
395
  date?: {
@@ -368,202 +400,202 @@ export interface Menu {
368
400
  label?: {
369
401
  en?: string;
370
402
  };
371
- groups?: {
403
+ groups?: Group[];
404
+ parent_id?: string;
405
+ location_brand?: string;
406
+ company?: string;
407
+ sector?: string;
408
+ is?: {
409
+ disabled?: boolean;
410
+ hidden?: boolean;
411
+ linked?: boolean;
412
+ promo_exemptions_enabled?: boolean;
413
+ plu_enabled?: boolean;
414
+ item_images_enabled?: boolean;
415
+ item_showcase_enabled?: boolean;
416
+ item_desc_edit_enabled?: boolean;
417
+ calories_edit_enabled?: boolean;
418
+ item_label_edit_enabled?: boolean;
419
+ };
420
+ meta?: {
421
+ locked_by_user?: string;
422
+ last_modified_user?: string;
423
+ [index: string]: any;
424
+ };
425
+ }
426
+ export interface Group {
427
+ id?: string;
428
+ label?: {
429
+ en?: string;
430
+ fr?: string;
431
+ };
432
+ items?: {
372
433
  id?: string;
373
434
  label?: {
374
435
  en?: string;
375
- fr?: string;
376
436
  };
377
- items?: {
437
+ description?: {
438
+ en?: string;
439
+ };
440
+ price?: {
441
+ amount?: number;
442
+ currency?: string;
443
+ };
444
+ meal_value?: number;
445
+ sale_price?: {
446
+ amount?: number;
447
+ currency?: string;
448
+ };
449
+ unit?: number;
450
+ ingredients?: any[];
451
+ amount_off_exclusions?: string[];
452
+ nutrition?: {
453
+ kcal?: number;
454
+ calories?: any;
455
+ serving_size?: any;
456
+ total_fat?: any;
457
+ saturated_fat?: any;
458
+ trans_fat?: any;
459
+ cholesterol?: any;
460
+ sodium?: {
461
+ amount?: number;
462
+ unit?: string;
463
+ };
464
+ total_carbohydrate?: any;
465
+ dietary_fiber?: any;
466
+ sugars?: any;
467
+ protein?: any;
468
+ well_being?: any;
469
+ [index: string]: any;
470
+ };
471
+ certified?: {
472
+ vegan?: boolean;
473
+ vegetarian?: boolean;
474
+ seafood_watch?: boolean;
475
+ wellbeing?: boolean;
476
+ farm_to_fork?: boolean;
477
+ in_balance?: boolean;
478
+ organic?: boolean;
479
+ no_gluten_ingredients?: boolean;
480
+ halal?: boolean;
481
+ kosher?: boolean;
482
+ humane?: boolean;
483
+ locally_crafted?: boolean;
484
+ nuts?: boolean;
485
+ oracle_garden_grown?: boolean;
486
+ oracle_oyes?: boolean;
487
+ peanut_free?: boolean;
488
+ tree_nut_free?: boolean;
489
+ wheat_free?: boolean;
490
+ non_gmo?: boolean;
491
+ milk_free?: boolean;
492
+ egg_free?: boolean;
493
+ soy_free?: boolean;
494
+ fair_trade?: boolean;
495
+ rainforest_alliance?: boolean;
496
+ salt_free?: boolean;
497
+ };
498
+ options?: {
378
499
  id?: string;
379
500
  label?: {
380
501
  en?: string;
381
502
  };
382
- description?: {
383
- en?: string;
384
- };
385
- price?: {
386
- amount?: number;
387
- currency?: string;
388
- };
389
- meal_value?: number;
390
- sale_price?: {
391
- amount?: number;
392
- currency?: string;
393
- };
394
- unit?: number;
395
- ingredients?: any[];
396
- amount_off_exclusions?: string[];
397
- nutrition?: {
398
- kcal?: number;
399
- calories?: any;
400
- serving_size?: any;
401
- total_fat?: any;
402
- saturated_fat?: any;
403
- trans_fat?: any;
404
- cholesterol?: any;
405
- sodium?: {
406
- amount?: number;
407
- unit?: string;
408
- };
409
- total_carbohydrate?: any;
410
- dietary_fiber?: any;
411
- sugars?: any;
412
- protein?: any;
413
- well_being?: any;
414
- [index: string]: any;
415
- };
416
- certified?: {
417
- vegan?: boolean;
418
- vegetarian?: boolean;
419
- seafood_watch?: boolean;
420
- wellbeing?: boolean;
421
- farm_to_fork?: boolean;
422
- in_balance?: boolean;
423
- organic?: boolean;
424
- no_gluten_ingredients?: boolean;
425
- halal?: boolean;
426
- kosher?: boolean;
427
- humane?: boolean;
428
- locally_crafted?: boolean;
429
- nuts?: boolean;
430
- oracle_garden_grown?: boolean;
431
- oracle_oyes?: boolean;
432
- peanut_free?: boolean;
433
- tree_nut_free?: boolean;
434
- wheat_free?: boolean;
435
- non_gmo?: boolean;
436
- milk_free?: boolean;
437
- egg_free?: boolean;
438
- soy_free?: boolean;
439
- fair_trade?: boolean;
440
- rainforest_alliance?: boolean;
441
- salt_free?: boolean;
442
- };
443
- options?: {
503
+ unique_name?: string;
504
+ items?: {
444
505
  id?: string;
445
506
  label?: {
446
507
  en?: string;
447
508
  };
448
- unique_name?: string;
449
- items?: {
450
- id?: string;
451
- label?: {
452
- en?: string;
453
- };
454
- price?: {
455
- amount?: number;
456
- currency?: string;
457
- };
458
- sku?: number;
459
- nutrition?: {
460
- kcal?: number;
461
- calories?: any;
462
- };
463
- certified?: {
464
- vegan?: boolean;
465
- };
466
- modifier_sets?: {
467
- category?: string;
468
- list?: string[];
469
- }[];
470
- meta?: {
471
- sort_number?: number;
472
- menu_sort_number?: number;
473
- [index: string]: any;
474
- };
475
- is?: {
476
- disabled?: boolean;
477
- hidden?: boolean;
478
- out_of_stock?: boolean;
479
- };
480
- amount_off_exclusions?: any[];
481
- }[];
482
- min?: number;
483
- max?: number;
484
- is?: {
485
- disabled?: boolean;
486
- hidden?: boolean;
487
- out_of_stock?: boolean;
509
+ price?: {
510
+ amount?: number;
511
+ currency?: string;
512
+ };
513
+ sku?: number;
514
+ nutrition?: {
515
+ kcal?: number;
516
+ calories?: any;
488
517
  };
518
+ certified?: {
519
+ vegan?: boolean;
520
+ };
521
+ modifier_sets?: {
522
+ category?: string;
523
+ list?: string[];
524
+ }[];
489
525
  meta?: {
490
526
  sort_number?: number;
491
527
  menu_sort_number?: number;
492
528
  [index: string]: any;
493
529
  };
494
- [index: string]: any;
495
- }[];
496
- required?: boolean;
497
- special?: boolean;
498
- meta?: {
499
- superplate?: {
500
- type_id?: number;
501
- type?: string;
502
- };
503
- featured?: {
504
- sort_number?: number;
505
- dates?: {
506
- start?: string;
507
- end?: string;
508
- };
530
+ is?: {
531
+ disabled?: boolean;
532
+ hidden?: boolean;
533
+ out_of_stock?: boolean;
509
534
  };
510
- sort_number?: number;
511
- menu_sort_number?: number;
512
- };
513
- category?: {
514
- en?: string;
515
- };
516
- location?: string;
517
- sku?: number;
518
- item_number?: number;
519
- image?: {
520
- src?: string;
521
- };
522
- is_deleted?: boolean;
535
+ amount_off_exclusions?: any[];
536
+ }[];
537
+ min?: number;
538
+ max?: number;
523
539
  is?: {
524
540
  disabled?: boolean;
525
541
  hidden?: boolean;
526
- meq_eligible?: boolean;
527
542
  out_of_stock?: boolean;
528
- deleted?: boolean;
529
- featured?: boolean;
530
543
  };
544
+ meta?: {
545
+ sort_number?: number;
546
+ menu_sort_number?: number;
547
+ [index: string]: any;
548
+ };
549
+ [index: string]: any;
531
550
  }[];
532
- is_disabled?: boolean;
533
- name?: string;
534
- is?: {
535
- disabled?: boolean;
536
- hidden?: boolean;
537
- };
551
+ required?: boolean;
552
+ special?: boolean;
538
553
  meta?: {
554
+ superplate?: {
555
+ type_id?: number;
556
+ type?: string;
557
+ };
558
+ featured?: {
559
+ sort_number?: number;
560
+ dates?: {
561
+ start?: string;
562
+ end?: string;
563
+ };
564
+ };
539
565
  sort_number?: number;
540
566
  menu_sort_number?: number;
541
- [index: string]: any;
567
+ };
568
+ category?: {
569
+ en?: string;
570
+ };
571
+ location?: string;
572
+ sku?: number;
573
+ item_number?: number;
574
+ image?: {
575
+ src?: string;
576
+ };
577
+ is_deleted?: boolean;
578
+ is?: {
579
+ disabled?: boolean;
580
+ hidden?: boolean;
581
+ meq_eligible?: boolean;
582
+ out_of_stock?: boolean;
583
+ deleted?: boolean;
584
+ featured?: boolean;
542
585
  };
543
586
  }[];
544
- parent_id?: string;
545
- location_brand?: string;
546
- company?: string;
547
- sector?: string;
587
+ is_disabled?: boolean;
588
+ name?: string;
548
589
  is?: {
549
590
  disabled?: boolean;
550
591
  hidden?: boolean;
551
- linked?: boolean;
552
- promo_exemptions_enabled?: boolean;
553
- plu_enabled?: boolean;
554
- item_images_enabled?: boolean;
555
- item_showcase_enabled?: boolean;
556
- item_desc_edit_enabled?: boolean;
557
- calories_edit_enabled?: boolean;
558
- item_label_edit_enabled?: boolean;
559
592
  };
560
593
  meta?: {
561
- locked_by_user?: string;
562
- last_modified_user?: string;
594
+ sort_number?: number;
595
+ menu_sort_number?: number;
563
596
  [index: string]: any;
564
597
  };
565
598
  }
566
- export declare type Group = any;
567
599
  export interface CognitionStore {
568
600
  uuid?: string;
569
601
  name?: string;
@@ -587,7 +619,7 @@ export interface CoolrLocations {
587
619
  };
588
620
  [index: string]: any;
589
621
  }
590
- export declare type CoolrImages = any[];
622
+ export type CoolrImages = any[];
591
623
  export interface PostPartnerStandardcognitionShoppingcartBody {
592
624
  items?: {
593
625
  sku?: string;
@@ -597,17 +629,23 @@ export interface PostPartnerStandardcognitionShoppingcartBody {
597
629
  shoppingcart?: string;
598
630
  meta?: any;
599
631
  }
600
- export declare type PostPartnerStandardcognitionShoppingcartResponse = ShoppingCart;
632
+ export type PostPartnerStandardcognitionShoppingcartResponse = ShoppingCart;
601
633
  export interface PostPartnerStandardcognitionShoppingcartRequest extends BaseRequest {
602
634
  body: PostPartnerStandardcognitionShoppingcartBody;
603
635
  }
636
+ export interface GetPartnerStandardcognitionLocationsQuery {
637
+ _query?: string;
638
+ }
604
639
  export interface GetPartnerStandardcognitionLocationsResponse {
605
- groups?: LocationGroup;
640
+ groups?: LocationGroup[];
641
+ }
642
+ export interface GetPartnerStandardcognitionLocationsRequest extends BaseRequest, RequestQuery<GetPartnerStandardcognitionLocationsQuery> {
606
643
  }
607
- export interface GetPartnerStandardcognitionLocationsRequest extends BaseRequest {
644
+ export interface GetPartnerStandardcognitionStoresQuery {
645
+ _query?: string;
608
646
  }
609
- export declare type GetPartnerStandardcognitionStoresResponse = CognitionStore;
610
- export interface GetPartnerStandardcognitionStoresRequest extends BaseRequest {
647
+ export type GetPartnerStandardcognitionStoresResponse = CognitionStore;
648
+ export interface GetPartnerStandardcognitionStoresRequest extends BaseRequest, RequestQuery<GetPartnerStandardcognitionStoresQuery> {
611
649
  }
612
650
  export interface PostPartnerStandardcognitionMenuBody {
613
651
  company: string;
@@ -616,26 +654,35 @@ export interface PostPartnerStandardcognitionMenuBody {
616
654
  jsonfile?: string;
617
655
  s3_link: string;
618
656
  }
619
- export declare type PostPartnerStandardcognitionMenuResponse = Menu;
657
+ export type PostPartnerStandardcognitionMenuResponse = Menu;
620
658
  export interface PostPartnerStandardcognitionMenuRequest extends BaseRequest {
621
659
  body: PostPartnerStandardcognitionMenuBody;
622
660
  }
661
+ export interface GetPartnerCoolrLocationsQuery {
662
+ _query?: string;
663
+ }
623
664
  export interface GetPartnerCoolrLocationsResponse {
624
665
  locations?: CoolrLocations[];
625
666
  }
626
- export interface GetPartnerCoolrLocationsRequest extends BaseRequest {
667
+ export interface GetPartnerCoolrLocationsRequest extends BaseRequest, RequestQuery<GetPartnerCoolrLocationsQuery> {
627
668
  }
628
669
  export interface GetPartnerCoolrImagesPath {
629
670
  id: string;
630
671
  }
672
+ export interface GetPartnerCoolrImagesQuery {
673
+ _query?: string;
674
+ }
631
675
  export interface GetPartnerCoolrImagesResponse {
632
676
  images?: CoolrImages;
633
677
  }
634
- export interface GetPartnerCoolrImagesRequest extends BaseRequest, GetPartnerCoolrImagesPath {
678
+ export interface GetPartnerCoolrImagesRequest extends BaseRequest, RequestQuery<GetPartnerCoolrImagesQuery>, GetPartnerCoolrImagesPath {
679
+ }
680
+ export interface GetPartnerSwaggerQuery {
681
+ _query?: string;
635
682
  }
636
683
  export interface GetPartnerSwaggerResponse {
637
684
  [index: string]: any;
638
685
  }
639
- export interface GetPartnerSwaggerRequest extends BaseRequest {
686
+ export interface GetPartnerSwaggerRequest extends BaseRequest, RequestQuery<GetPartnerSwaggerQuery> {
640
687
  }
641
688
  //# sourceMappingURL=partner.d.ts.map