@compassdigital/sdk.typescript 4.46.0 → 4.48.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.
@@ -35,12 +35,15 @@ export interface Menu {
35
35
  calories_edit_enabled?: boolean;
36
36
  item_label_edit_enabled?: boolean;
37
37
  frictionless?: boolean;
38
+ category_images_enabled?: boolean;
38
39
  };
39
40
  meta?: {
40
41
  // User ID
41
42
  locked_by_user?: string;
42
43
  // User ID
43
44
  last_modified_user?: string;
45
+ centricos?: boolean;
46
+ version?: number;
44
47
  [index: string]: any;
45
48
  };
46
49
  }
@@ -56,6 +59,7 @@ export interface Item {
56
59
  label?: {
57
60
  en?: string;
58
61
  };
62
+ name?: string;
59
63
  description?: {
60
64
  en?: string;
61
65
  };
@@ -125,13 +129,6 @@ export interface Item {
125
129
  type_id?: number;
126
130
  type?: string;
127
131
  };
128
- featured?: {
129
- sort_number?: number;
130
- dates?: {
131
- start?: string;
132
- end?: string;
133
- };
134
- };
135
132
  // chit sort order
136
133
  sort_number?: number;
137
134
  // menu sort order
@@ -151,11 +148,22 @@ export interface Item {
151
148
  item_number?: number;
152
149
  image?: {
153
150
  src?: string;
151
+ sizes?: {
152
+ original?: string;
153
+ thumbnail_80_80?: string;
154
+ };
154
155
  };
155
156
  weight?: {
156
157
  unit?: string;
157
158
  amount?: number;
158
159
  };
160
+ line_route?: string;
161
+ reporting?: {
162
+ category?: {
163
+ primary?: string;
164
+ secondary?: string;
165
+ };
166
+ };
159
167
  //@deprecated
160
168
  is_deleted?: boolean;
161
169
  is?: {
@@ -171,6 +179,7 @@ export interface Item {
171
179
  export interface Group {
172
180
  // group
173
181
  id?: string;
182
+ name?: string;
174
183
  label?: {
175
184
  en?: string;
176
185
  fr?: string;
@@ -178,11 +187,10 @@ export interface Group {
178
187
  items?: Item[];
179
188
  //@deprecated
180
189
  is_disabled?: boolean;
181
- //@deprecated
182
- name?: string;
183
190
  is?: {
184
191
  disabled?: boolean;
185
192
  hidden?: boolean;
193
+ item_images_enabled?: boolean;
186
194
  };
187
195
  meta?: {
188
196
  // chit sort order
@@ -191,6 +199,13 @@ export interface Group {
191
199
  menu_sort_number?: number;
192
200
  [index: string]: any;
193
201
  };
202
+ image?: {
203
+ src?: string;
204
+ sizes?: {
205
+ original?: string;
206
+ thumbnail_80_80?: string;
207
+ };
208
+ };
194
209
  }
195
210
 
196
211
  export interface Option {
@@ -199,14 +214,31 @@ export interface Option {
199
214
  label?: {
200
215
  en?: string;
201
216
  };
217
+ name?: string;
218
+ description?: {
219
+ en?: string;
220
+ };
202
221
  price?: {
203
222
  amount?: number;
204
223
  currency?: string;
205
224
  };
225
+ reporting?: {
226
+ category?: {
227
+ primary?: string;
228
+ secondary?: string;
229
+ };
230
+ };
206
231
  weight?: {
207
232
  unit?: string;
208
233
  amount?: number;
209
234
  };
235
+ image?: {
236
+ src?: string;
237
+ sizes?: {
238
+ original?: string;
239
+ thumbnail_80_80?: string;
240
+ };
241
+ };
210
242
  sku?: number;
211
243
  nutrition?: {
212
244
  //@deprecated
@@ -225,6 +257,12 @@ export interface Option {
225
257
  sort_number?: number;
226
258
  // menu sort order
227
259
  menu_sort_number?: number;
260
+ plu?: string;
261
+ sizing?: {
262
+ name?: string;
263
+ posid?: string;
264
+ price?: number;
265
+ }[];
228
266
  tax?: {
229
267
  tax_tag_code?: string;
230
268
  };
@@ -245,6 +283,7 @@ export interface OptionsGroup {
245
283
  en?: string;
246
284
  };
247
285
  unique_name?: string;
286
+ name?: string;
248
287
  items?: Option[];
249
288
  min?: number;
250
289
  max?: number;
@@ -252,6 +291,7 @@ export interface OptionsGroup {
252
291
  disabled?: boolean;
253
292
  hidden?: boolean;
254
293
  out_of_stock?: boolean;
294
+ incremental?: boolean;
255
295
  };
256
296
  meta?: {
257
297
  // chit sort order
@@ -260,6 +300,7 @@ export interface OptionsGroup {
260
300
  menu_sort_number?: number;
261
301
  [index: string]: any;
262
302
  };
303
+ limit?: number;
263
304
  [index: string]: any;
264
305
  }
265
306
 
@@ -343,6 +384,7 @@ export interface DraftBrandDTO {
343
384
  global_menu_group_id?: string;
344
385
  posid_segment?: string;
345
386
  is_simplified_view?: boolean;
387
+ frictionless_partner?: "AWS";
346
388
  applied_diff_snapshot?: Record<string, any>;
347
389
  permissions?: Record<string, any>;
348
390
  [index: string]: any;
@@ -359,6 +401,7 @@ export interface PublishedBrandDTO {
359
401
  global_menu_group_id?: string;
360
402
  posid_segment?: string;
361
403
  is_simplified_view?: boolean;
404
+ frictionless_partner?: "AWS";
362
405
  permissions?: Record<string, any>;
363
406
  [index: string]: any;
364
407
  }
@@ -575,6 +618,7 @@ export interface DraftItemDTO {
575
618
  is_out_of_stock?: boolean;
576
619
  tax_tag_code?: string;
577
620
  tags?: string[];
621
+ is_featured?: boolean;
578
622
  applied_diff_snapshot?: Record<string, any>;
579
623
  brand?: DraftBrandDTO;
580
624
  categories?: Record<string, any>[];
@@ -945,6 +989,7 @@ export interface PublishedItemDTO {
945
989
  is_out_of_stock?: boolean;
946
990
  tax_tag_code?: string;
947
991
  tags?: string[];
992
+ is_featured?: boolean;
948
993
  permissions?: Record<string, any>;
949
994
  [index: string]: any;
950
995
  }
@@ -1146,7 +1191,6 @@ export interface V2ItemCertifiedDTO {
1146
1191
 
1147
1192
  export interface V2ItemMetaDTO {
1148
1193
  superplate?: V2ItemMetaSuperplateDTO;
1149
- featured?: V2ItemMetaFeaturedDTO;
1150
1194
  taxes?: Record<string, any>;
1151
1195
  sort_number?: number;
1152
1196
  menu_sort_number?: V2AmountDTO;
@@ -1157,16 +1201,6 @@ export interface V2ItemMetaSuperplateDTO {
1157
1201
  type?: string;
1158
1202
  }
1159
1203
 
1160
- export interface V2ItemMetaFeaturedDTO {
1161
- sort_number?: number;
1162
- dates?: V2DatesDTO;
1163
- }
1164
-
1165
- export interface V2DatesDTO {
1166
- start?: string;
1167
- end?: string;
1168
- }
1169
-
1170
1204
  export interface V2AmountDTO {
1171
1205
  unit?: number;
1172
1206
  amount?: string;
@@ -1303,6 +1337,7 @@ export interface DraftItemEntityDTO {
1303
1337
  is_out_of_stock?: boolean;
1304
1338
  tax_tag_code?: string;
1305
1339
  tags?: string[];
1340
+ is_featured?: boolean;
1306
1341
  applied_diff_snapshot?: Record<string, any>;
1307
1342
  version?: number;
1308
1343
  brand?: DraftBrandDTO;
@@ -1565,6 +1600,8 @@ export interface GetMenuItemsQuery {
1565
1600
  query: string;
1566
1601
  // Comma Seperated Barcodes
1567
1602
  barcodes: string;
1603
+ // AP3 Brand ID
1604
+ brand_id: string;
1568
1605
  // Graphql query string
1569
1606
  _query?: string;
1570
1607
  }
@@ -2581,6 +2618,7 @@ export interface PostMenuV3DraftBrandBody {
2581
2618
  global_menu_group_id?: string;
2582
2619
  posid_segment?: string;
2583
2620
  is_simplified_view?: boolean;
2621
+ frictionless_partner?: "AWS";
2584
2622
  applied_diff_snapshot?: Record<string, any>;
2585
2623
  changes?: BrandChangeDTO[];
2586
2624
  local_menu_group?: LocalMenuGroupDTO;
@@ -2647,6 +2685,7 @@ export interface PatchMenuV3DraftBrandBody {
2647
2685
  global_menu_group_id?: string;
2648
2686
  posid_segment?: string;
2649
2687
  is_simplified_view?: boolean;
2688
+ frictionless_partner?: "AWS";
2650
2689
  applied_diff_snapshot?: Record<string, any>;
2651
2690
  version?: number;
2652
2691
  changes?: BrandChangeDTO[];
@@ -2735,6 +2774,7 @@ export type PostMenuV3DraftBrandsBody = {
2735
2774
  global_menu_group_id?: string;
2736
2775
  posid_segment?: string;
2737
2776
  is_simplified_view?: boolean;
2777
+ frictionless_partner?: "AWS";
2738
2778
  applied_diff_snapshot?: Record<string, any>;
2739
2779
  changes?: BrandChangeDTO[];
2740
2780
  local_menu_group?: LocalMenuGroupDTO;
@@ -2959,6 +2999,46 @@ export interface GetMenuV3DraftBrandModifiersReportingCategoriesRequest
2959
2999
  RequestQuery<GetMenuV3DraftBrandModifiersReportingCategoriesQuery>,
2960
3000
  GetMenuV3DraftBrandModifiersReportingCategoriesPath {}
2961
3001
 
3002
+ // GET /menu/v3/draft/brand/{id}/items/tags
3003
+
3004
+ export interface GetMenuV3DraftBrandItemsTagsPath {
3005
+ id: string;
3006
+ }
3007
+
3008
+ export interface GetMenuV3DraftBrandItemsTagsQuery {
3009
+ // Graphql query string
3010
+ _query?: string;
3011
+ }
3012
+
3013
+ export interface GetMenuV3DraftBrandItemsTagsResponse {
3014
+ tags?: string[];
3015
+ }
3016
+
3017
+ export interface GetMenuV3DraftBrandItemsTagsRequest
3018
+ extends BaseRequest,
3019
+ RequestQuery<GetMenuV3DraftBrandItemsTagsQuery>,
3020
+ GetMenuV3DraftBrandItemsTagsPath {}
3021
+
3022
+ // GET /menu/v3/draft/brand/{id}/modifiers/tags
3023
+
3024
+ export interface GetMenuV3DraftBrandModifiersTagsPath {
3025
+ id: string;
3026
+ }
3027
+
3028
+ export interface GetMenuV3DraftBrandModifiersTagsQuery {
3029
+ // Graphql query string
3030
+ _query?: string;
3031
+ }
3032
+
3033
+ export interface GetMenuV3DraftBrandModifiersTagsResponse {
3034
+ tags?: string[];
3035
+ }
3036
+
3037
+ export interface GetMenuV3DraftBrandModifiersTagsRequest
3038
+ extends BaseRequest,
3039
+ RequestQuery<GetMenuV3DraftBrandModifiersTagsQuery>,
3040
+ GetMenuV3DraftBrandModifiersTagsPath {}
3041
+
2962
3042
  // POST /menu/v3/draft/brand/{id}/publish
2963
3043
 
2964
3044
  export interface PostMenuV3DraftBrandPublishPath {
@@ -3087,6 +3167,7 @@ export interface PostMenuV3BrandBody {
3087
3167
  global_menu_group_id?: string;
3088
3168
  posid_segment?: string;
3089
3169
  is_simplified_view?: boolean;
3170
+ frictionless_partner?: "AWS";
3090
3171
  local_menu_group?: LocalMenuGroupDTO;
3091
3172
  global_menu_group?: GlobalMenuGroupDTO;
3092
3173
  attachments?: FileAttachmentsDTO;
@@ -3154,6 +3235,7 @@ export interface PatchMenuV3BrandBody {
3154
3235
  global_menu_group_id?: string;
3155
3236
  posid_segment?: string;
3156
3237
  is_simplified_view?: boolean;
3238
+ frictionless_partner?: "AWS";
3157
3239
  version?: number;
3158
3240
  local_menu_group?: LocalMenuGroupDTO;
3159
3241
  global_menu_group?: GlobalMenuGroupDTO;
@@ -3245,6 +3327,7 @@ export type PostMenuV3BrandsBody = {
3245
3327
  global_menu_group_id?: string;
3246
3328
  posid_segment?: string;
3247
3329
  is_simplified_view?: boolean;
3330
+ frictionless_partner?: "AWS";
3248
3331
  local_menu_group?: LocalMenuGroupDTO;
3249
3332
  global_menu_group?: GlobalMenuGroupDTO;
3250
3333
  attachments?: FileAttachmentsDTO;
@@ -4279,6 +4362,7 @@ export interface PostMenuV3DraftItemBody {
4279
4362
  is_out_of_stock?: boolean;
4280
4363
  tax_tag_code?: string;
4281
4364
  tags?: string[];
4365
+ is_featured?: boolean;
4282
4366
  applied_diff_snapshot?: Record<string, any>;
4283
4367
  brand?: DraftBrandDTO;
4284
4368
  categories?: DraftCategoryToItemRelationshipDTO[];
@@ -4350,6 +4434,7 @@ export interface PatchMenuV3DraftItemBody {
4350
4434
  is_out_of_stock?: boolean;
4351
4435
  tax_tag_code?: string;
4352
4436
  tags?: string[];
4437
+ is_featured?: boolean;
4353
4438
  applied_diff_snapshot?: Record<string, any>;
4354
4439
  version?: number;
4355
4440
  brand?: DraftBrandDTO;
@@ -4443,6 +4528,7 @@ export type PostMenuV3DraftItemsBody = {
4443
4528
  is_out_of_stock?: boolean;
4444
4529
  tax_tag_code?: string;
4445
4530
  tags?: string[];
4531
+ is_featured?: boolean;
4446
4532
  applied_diff_snapshot?: Record<string, any>;
4447
4533
  brand?: DraftBrandDTO;
4448
4534
  categories?: DraftCategoryToItemRelationshipDTO[];
@@ -4532,6 +4618,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
4532
4618
  is_out_of_stock?: boolean;
4533
4619
  tax_tag_code?: string;
4534
4620
  tags?: string[];
4621
+ is_featured?: boolean;
4535
4622
  applied_diff_snapshot?: Record<string, any>;
4536
4623
  brand?: DraftBrandDTO;
4537
4624
  categories?: DraftCategoryToItemRelationshipDTO[];
@@ -462,6 +462,9 @@ export interface Brand {
462
462
  active?: boolean;
463
463
  max_showcase_items?: number;
464
464
  jde_category?: string;
465
+ software_integrations?: {
466
+ system365?: string;
467
+ };
465
468
  [index: string]: any;
466
469
  };
467
470
  descriptions?: {
@@ -582,12 +585,15 @@ export interface Menu {
582
585
  calories_edit_enabled?: boolean;
583
586
  item_label_edit_enabled?: boolean;
584
587
  frictionless?: boolean;
588
+ category_images_enabled?: boolean;
585
589
  };
586
590
  meta?: {
587
591
  // User ID
588
592
  locked_by_user?: string;
589
593
  // User ID
590
594
  last_modified_user?: string;
595
+ centricos?: boolean;
596
+ version?: number;
591
597
  [index: string]: any;
592
598
  };
593
599
  }
@@ -595,6 +601,7 @@ export interface Menu {
595
601
  export interface Group {
596
602
  // group
597
603
  id?: string;
604
+ name?: string;
598
605
  label?: {
599
606
  en?: string;
600
607
  fr?: string;
@@ -605,6 +612,7 @@ export interface Group {
605
612
  label?: {
606
613
  en?: string;
607
614
  };
615
+ name?: string;
608
616
  description?: {
609
617
  en?: string;
610
618
  };
@@ -673,20 +681,38 @@ export interface Group {
673
681
  en?: string;
674
682
  };
675
683
  unique_name?: string;
684
+ name?: string;
676
685
  items?: {
677
686
  // option
678
687
  id?: string;
679
688
  label?: {
680
689
  en?: string;
681
690
  };
691
+ name?: string;
692
+ description?: {
693
+ en?: string;
694
+ };
682
695
  price?: {
683
696
  amount?: number;
684
697
  currency?: string;
685
698
  };
699
+ reporting?: {
700
+ category?: {
701
+ primary?: string;
702
+ secondary?: string;
703
+ };
704
+ };
686
705
  weight?: {
687
706
  unit?: string;
688
707
  amount?: number;
689
708
  };
709
+ image?: {
710
+ src?: string;
711
+ sizes?: {
712
+ original?: string;
713
+ thumbnail_80_80?: string;
714
+ };
715
+ };
690
716
  sku?: number;
691
717
  nutrition?: {
692
718
  //@deprecated
@@ -705,6 +731,12 @@ export interface Group {
705
731
  sort_number?: number;
706
732
  // menu sort order
707
733
  menu_sort_number?: number;
734
+ plu?: string;
735
+ sizing?: {
736
+ name?: string;
737
+ posid?: string;
738
+ price?: number;
739
+ }[];
708
740
  tax?: {
709
741
  tax_tag_code?: string;
710
742
  };
@@ -723,6 +755,7 @@ export interface Group {
723
755
  disabled?: boolean;
724
756
  hidden?: boolean;
725
757
  out_of_stock?: boolean;
758
+ incremental?: boolean;
726
759
  };
727
760
  meta?: {
728
761
  // chit sort order
@@ -731,6 +764,7 @@ export interface Group {
731
764
  menu_sort_number?: number;
732
765
  [index: string]: any;
733
766
  };
767
+ limit?: number;
734
768
  [index: string]: any;
735
769
  }[];
736
770
  required?: boolean;
@@ -765,11 +799,22 @@ export interface Group {
765
799
  item_number?: number;
766
800
  image?: {
767
801
  src?: string;
802
+ sizes?: {
803
+ original?: string;
804
+ thumbnail_80_80?: string;
805
+ };
768
806
  };
769
807
  weight?: {
770
808
  unit?: string;
771
809
  amount?: number;
772
810
  };
811
+ line_route?: string;
812
+ reporting?: {
813
+ category?: {
814
+ primary?: string;
815
+ secondary?: string;
816
+ };
817
+ };
773
818
  //@deprecated
774
819
  is_deleted?: boolean;
775
820
  is?: {
@@ -783,11 +828,10 @@ export interface Group {
783
828
  }[];
784
829
  //@deprecated
785
830
  is_disabled?: boolean;
786
- //@deprecated
787
- name?: string;
788
831
  is?: {
789
832
  disabled?: boolean;
790
833
  hidden?: boolean;
834
+ item_images_enabled?: boolean;
791
835
  };
792
836
  meta?: {
793
837
  // chit sort order
@@ -796,6 +840,13 @@ export interface Group {
796
840
  menu_sort_number?: number;
797
841
  [index: string]: any;
798
842
  };
843
+ image?: {
844
+ src?: string;
845
+ sizes?: {
846
+ original?: string;
847
+ thumbnail_80_80?: string;
848
+ };
849
+ };
799
850
  }
800
851
 
801
852
  export interface Nutrition {