@compassdigital/sdk.typescript 4.45.0 → 4.47.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.
@@ -26,10 +26,13 @@ export interface Menu {
26
26
  calories_edit_enabled?: boolean;
27
27
  item_label_edit_enabled?: boolean;
28
28
  frictionless?: boolean;
29
+ category_images_enabled?: boolean;
29
30
  };
30
31
  meta?: {
31
32
  locked_by_user?: string;
32
33
  last_modified_user?: string;
34
+ centricos?: boolean;
35
+ version?: number;
33
36
  [index: string]: any;
34
37
  };
35
38
  }
@@ -42,6 +45,7 @@ export interface Item {
42
45
  label?: {
43
46
  en?: string;
44
47
  };
48
+ name?: string;
45
49
  description?: {
46
50
  en?: string;
47
51
  };
@@ -131,11 +135,22 @@ export interface Item {
131
135
  item_number?: number;
132
136
  image?: {
133
137
  src?: string;
138
+ sizes?: {
139
+ original?: string;
140
+ thumbnail_80_80?: string;
141
+ };
134
142
  };
135
143
  weight?: {
136
144
  unit?: string;
137
145
  amount?: number;
138
146
  };
147
+ line_route?: string;
148
+ reporting?: {
149
+ category?: {
150
+ primary?: string;
151
+ secondary?: string;
152
+ };
153
+ };
139
154
  is_deleted?: boolean;
140
155
  is?: {
141
156
  disabled?: boolean;
@@ -148,36 +163,61 @@ export interface Item {
148
163
  }
149
164
  export interface Group {
150
165
  id?: string;
166
+ name?: string;
151
167
  label?: {
152
168
  en?: string;
153
169
  fr?: string;
154
170
  };
155
171
  items?: Item[];
156
172
  is_disabled?: boolean;
157
- name?: string;
158
173
  is?: {
159
174
  disabled?: boolean;
160
175
  hidden?: boolean;
176
+ item_images_enabled?: boolean;
161
177
  };
162
178
  meta?: {
163
179
  sort_number?: number;
164
180
  menu_sort_number?: number;
165
181
  [index: string]: any;
166
182
  };
183
+ image?: {
184
+ src?: string;
185
+ sizes?: {
186
+ original?: string;
187
+ thumbnail_80_80?: string;
188
+ };
189
+ };
167
190
  }
168
191
  export interface Option {
169
192
  id?: string;
170
193
  label?: {
171
194
  en?: string;
172
195
  };
196
+ name?: string;
197
+ description?: {
198
+ en?: string;
199
+ };
173
200
  price?: {
174
201
  amount?: number;
175
202
  currency?: string;
176
203
  };
204
+ reporting?: {
205
+ category?: {
206
+ primary?: string;
207
+ secondary?: string;
208
+ };
209
+ };
177
210
  weight?: {
178
211
  unit?: string;
179
212
  amount?: number;
180
213
  };
214
+ image?: {
215
+ src?: string;
216
+ sizes?: {
217
+ original?: string;
218
+ thumbnail_80_80?: string;
219
+ };
220
+ };
181
221
  sku?: number;
182
222
  nutrition?: {
183
223
  kcal?: number;
@@ -193,6 +233,12 @@ export interface Option {
193
233
  meta?: {
194
234
  sort_number?: number;
195
235
  menu_sort_number?: number;
236
+ plu?: string;
237
+ sizing?: {
238
+ name?: string;
239
+ posid?: string;
240
+ price?: number;
241
+ }[];
196
242
  tax?: {
197
243
  tax_tag_code?: string;
198
244
  };
@@ -211,6 +257,7 @@ export interface OptionsGroup {
211
257
  en?: string;
212
258
  };
213
259
  unique_name?: string;
260
+ name?: string;
214
261
  items?: Option[];
215
262
  min?: number;
216
263
  max?: number;
@@ -218,12 +265,14 @@ export interface OptionsGroup {
218
265
  disabled?: boolean;
219
266
  hidden?: boolean;
220
267
  out_of_stock?: boolean;
268
+ incremental?: boolean;
221
269
  };
222
270
  meta?: {
223
271
  sort_number?: number;
224
272
  menu_sort_number?: number;
225
273
  [index: string]: any;
226
274
  };
275
+ limit?: number;
227
276
  [index: string]: any;
228
277
  }
229
278
  export interface OptionsGroupList {
@@ -292,6 +341,7 @@ export interface DraftBrandDTO {
292
341
  global_menu_group_id?: string;
293
342
  posid_segment?: string;
294
343
  is_simplified_view?: boolean;
344
+ applied_diff_snapshot?: Record<string, any>;
295
345
  permissions?: Record<string, any>;
296
346
  [index: string]: any;
297
347
  }
@@ -474,6 +524,8 @@ export interface DraftItemDTO {
474
524
  id?: string;
475
525
  parent_id?: string;
476
526
  name?: string;
527
+ name_on_receipt?: string;
528
+ name_on_kds?: string;
477
529
  label?: string;
478
530
  description?: string;
479
531
  reporting?: Record<string, any>;
@@ -490,6 +542,7 @@ export interface DraftItemDTO {
490
542
  menu_works?: Record<string, any>;
491
543
  is_out_of_stock?: boolean;
492
544
  tax_tag_code?: string;
545
+ tags?: string[];
493
546
  applied_diff_snapshot?: Record<string, any>;
494
547
  brand?: DraftBrandDTO;
495
548
  categories?: Record<string, any>[];
@@ -568,6 +621,8 @@ export interface DraftModifierDTO {
568
621
  id?: string;
569
622
  parent_id?: string;
570
623
  name?: string;
624
+ name_on_receipt?: string;
625
+ name_on_kds?: string;
571
626
  label?: string;
572
627
  description?: string;
573
628
  price?: number;
@@ -586,6 +641,7 @@ export interface DraftModifierDTO {
586
641
  pre_surcharge?: number;
587
642
  post_surcharge?: number;
588
643
  tax_tag_code?: string;
644
+ tags?: string[];
589
645
  applied_diff_snapshot?: Record<string, any>;
590
646
  brand?: DraftBrandDTO;
591
647
  changes?: ModifierChangeDTO[];
@@ -811,6 +867,8 @@ export interface PublishedItemDTO {
811
867
  id?: string;
812
868
  parent_id?: string;
813
869
  name?: string;
870
+ name_on_receipt?: string;
871
+ name_on_kds?: string;
814
872
  label?: string;
815
873
  description?: string;
816
874
  price?: number;
@@ -825,6 +883,7 @@ export interface PublishedItemDTO {
825
883
  posid_segment?: string;
826
884
  is_out_of_stock?: boolean;
827
885
  tax_tag_code?: string;
886
+ tags?: string[];
828
887
  permissions?: Record<string, any>;
829
888
  [index: string]: any;
830
889
  }
@@ -869,6 +928,8 @@ export interface PublishedModifierDTO {
869
928
  id?: string;
870
929
  parent_id?: string;
871
930
  name?: string;
931
+ name_on_receipt?: string;
932
+ name_on_kds?: string;
872
933
  label?: string;
873
934
  description?: string;
874
935
  price?: number;
@@ -885,6 +946,7 @@ export interface PublishedModifierDTO {
885
946
  pre_surcharge?: number;
886
947
  post_surcharge?: number;
887
948
  tax_tag_code?: string;
949
+ tags?: string[];
888
950
  permissions?: Record<string, any>;
889
951
  [index: string]: any;
890
952
  }
@@ -1124,6 +1186,8 @@ export interface DraftItemEntityDTO {
1124
1186
  deleted_at?: string;
1125
1187
  parent_id?: string;
1126
1188
  name: string;
1189
+ name_on_receipt?: string;
1190
+ name_on_kds?: string;
1127
1191
  label?: string;
1128
1192
  description?: string;
1129
1193
  reporting: ReportingMetadataDTO;
@@ -1140,6 +1204,7 @@ export interface DraftItemEntityDTO {
1140
1204
  menu_works?: MenuWorksDTO;
1141
1205
  is_out_of_stock?: boolean;
1142
1206
  tax_tag_code?: string;
1207
+ tags?: string[];
1143
1208
  applied_diff_snapshot?: Record<string, any>;
1144
1209
  version?: number;
1145
1210
  brand?: DraftBrandDTO;
@@ -1161,6 +1226,8 @@ export interface DraftModifierEntityDTO {
1161
1226
  deleted_at?: string;
1162
1227
  parent_id?: string;
1163
1228
  name: string;
1229
+ name_on_receipt?: string;
1230
+ name_on_kds?: string;
1164
1231
  label?: string;
1165
1232
  description?: string;
1166
1233
  price: number;
@@ -1179,6 +1246,7 @@ export interface DraftModifierEntityDTO {
1179
1246
  pre_surcharge?: number;
1180
1247
  post_surcharge?: number;
1181
1248
  tax_tag_code?: string;
1249
+ tags?: string[];
1182
1250
  applied_diff_snapshot?: Record<string, any>;
1183
1251
  version?: number;
1184
1252
  brand?: DraftBrandDTO;
@@ -1916,6 +1984,7 @@ export interface PostMenuV3DraftBrandBody {
1916
1984
  global_menu_group_id?: string;
1917
1985
  posid_segment?: string;
1918
1986
  is_simplified_view?: boolean;
1987
+ applied_diff_snapshot?: Record<string, any>;
1919
1988
  changes?: BrandChangeDTO[];
1920
1989
  local_menu_group?: LocalMenuGroupDTO;
1921
1990
  global_menu_group?: GlobalMenuGroupDTO;
@@ -1964,6 +2033,7 @@ export interface PatchMenuV3DraftBrandBody {
1964
2033
  global_menu_group_id?: string;
1965
2034
  posid_segment?: string;
1966
2035
  is_simplified_view?: boolean;
2036
+ applied_diff_snapshot?: Record<string, any>;
1967
2037
  version?: number;
1968
2038
  changes?: BrandChangeDTO[];
1969
2039
  local_menu_group?: LocalMenuGroupDTO;
@@ -2025,6 +2095,7 @@ export type PostMenuV3DraftBrandsBody = {
2025
2095
  global_menu_group_id?: string;
2026
2096
  posid_segment?: string;
2027
2097
  is_simplified_view?: boolean;
2098
+ applied_diff_snapshot?: Record<string, any>;
2028
2099
  changes?: BrandChangeDTO[];
2029
2100
  local_menu_group?: LocalMenuGroupDTO;
2030
2101
  global_menu_group?: GlobalMenuGroupDTO;
@@ -2159,6 +2230,28 @@ export interface GetMenuV3DraftBrandModifiersReportingCategoriesResponse {
2159
2230
  }
2160
2231
  export interface GetMenuV3DraftBrandModifiersReportingCategoriesRequest extends BaseRequest, RequestQuery<GetMenuV3DraftBrandModifiersReportingCategoriesQuery>, GetMenuV3DraftBrandModifiersReportingCategoriesPath {
2161
2232
  }
2233
+ export interface GetMenuV3DraftBrandItemsTagsPath {
2234
+ id: string;
2235
+ }
2236
+ export interface GetMenuV3DraftBrandItemsTagsQuery {
2237
+ _query?: string;
2238
+ }
2239
+ export interface GetMenuV3DraftBrandItemsTagsResponse {
2240
+ tags?: string[];
2241
+ }
2242
+ export interface GetMenuV3DraftBrandItemsTagsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftBrandItemsTagsQuery>, GetMenuV3DraftBrandItemsTagsPath {
2243
+ }
2244
+ export interface GetMenuV3DraftBrandModifiersTagsPath {
2245
+ id: string;
2246
+ }
2247
+ export interface GetMenuV3DraftBrandModifiersTagsQuery {
2248
+ _query?: string;
2249
+ }
2250
+ export interface GetMenuV3DraftBrandModifiersTagsResponse {
2251
+ tags?: string[];
2252
+ }
2253
+ export interface GetMenuV3DraftBrandModifiersTagsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftBrandModifiersTagsQuery>, GetMenuV3DraftBrandModifiersTagsPath {
2254
+ }
2162
2255
  export interface PostMenuV3DraftBrandPublishPath {
2163
2256
  id: string;
2164
2257
  }
@@ -3007,6 +3100,8 @@ export interface PostMenuV3DraftItemBody {
3007
3100
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
3008
3101
  parent_id?: string;
3009
3102
  name: string;
3103
+ name_on_receipt?: string;
3104
+ name_on_kds?: string;
3010
3105
  label?: string;
3011
3106
  description?: string;
3012
3107
  reporting: ReportingMetadataDTO;
@@ -3023,6 +3118,7 @@ export interface PostMenuV3DraftItemBody {
3023
3118
  menu_works?: MenuWorksDTO;
3024
3119
  is_out_of_stock?: boolean;
3025
3120
  tax_tag_code?: string;
3121
+ tags?: string[];
3026
3122
  applied_diff_snapshot?: Record<string, any>;
3027
3123
  brand?: DraftBrandDTO;
3028
3124
  categories?: DraftCategoryToItemRelationshipDTO[];
@@ -3058,6 +3154,8 @@ export interface PatchMenuV3DraftItemBody {
3058
3154
  id?: string;
3059
3155
  parent_id?: string;
3060
3156
  name?: string;
3157
+ name_on_receipt?: string;
3158
+ name_on_kds?: string;
3061
3159
  label?: string;
3062
3160
  description?: string;
3063
3161
  reporting?: ReportingMetadataDTO;
@@ -3074,6 +3172,7 @@ export interface PatchMenuV3DraftItemBody {
3074
3172
  menu_works?: MenuWorksDTO;
3075
3173
  is_out_of_stock?: boolean;
3076
3174
  tax_tag_code?: string;
3175
+ tags?: string[];
3077
3176
  applied_diff_snapshot?: Record<string, any>;
3078
3177
  version?: number;
3079
3178
  brand?: DraftBrandDTO;
@@ -3122,6 +3221,8 @@ export type PostMenuV3DraftItemsBody = {
3122
3221
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
3123
3222
  parent_id?: string;
3124
3223
  name: string;
3224
+ name_on_receipt?: string;
3225
+ name_on_kds?: string;
3125
3226
  label?: string;
3126
3227
  description?: string;
3127
3228
  reporting: ReportingMetadataDTO;
@@ -3138,6 +3239,7 @@ export type PostMenuV3DraftItemsBody = {
3138
3239
  menu_works?: MenuWorksDTO;
3139
3240
  is_out_of_stock?: boolean;
3140
3241
  tax_tag_code?: string;
3242
+ tags?: string[];
3141
3243
  applied_diff_snapshot?: Record<string, any>;
3142
3244
  brand?: DraftBrandDTO;
3143
3245
  categories?: DraftCategoryToItemRelationshipDTO[];
@@ -3186,6 +3288,8 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
3186
3288
  id?: string;
3187
3289
  parent_id?: string;
3188
3290
  name?: string;
3291
+ name_on_receipt?: string;
3292
+ name_on_kds?: string;
3189
3293
  label?: string;
3190
3294
  description?: string;
3191
3295
  reporting?: ReportingMetadataDTO;
@@ -3202,6 +3306,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
3202
3306
  menu_works?: MenuWorksDTO;
3203
3307
  is_out_of_stock?: boolean;
3204
3308
  tax_tag_code?: string;
3309
+ tags?: string[];
3205
3310
  applied_diff_snapshot?: Record<string, any>;
3206
3311
  brand?: DraftBrandDTO;
3207
3312
  categories?: DraftCategoryToItemRelationshipDTO[];
@@ -3855,6 +3960,8 @@ export interface PostMenuV3DraftModifierBody {
3855
3960
  modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
3856
3961
  parent_id?: string;
3857
3962
  name: string;
3963
+ name_on_receipt?: string;
3964
+ name_on_kds?: string;
3858
3965
  label?: string;
3859
3966
  description?: string;
3860
3967
  price: number;
@@ -3873,6 +3980,7 @@ export interface PostMenuV3DraftModifierBody {
3873
3980
  pre_surcharge?: number;
3874
3981
  post_surcharge?: number;
3875
3982
  tax_tag_code?: string;
3983
+ tags?: string[];
3876
3984
  applied_diff_snapshot?: Record<string, any>;
3877
3985
  brand?: DraftBrandDTO;
3878
3986
  changes?: ModifierChangeDTO[];
@@ -3907,6 +4015,8 @@ export interface PatchMenuV3DraftModifierBody {
3907
4015
  id?: string;
3908
4016
  parent_id?: string;
3909
4017
  name?: string;
4018
+ name_on_receipt?: string;
4019
+ name_on_kds?: string;
3910
4020
  label?: string;
3911
4021
  description?: string;
3912
4022
  price?: number;
@@ -3925,6 +4035,7 @@ export interface PatchMenuV3DraftModifierBody {
3925
4035
  pre_surcharge?: number;
3926
4036
  post_surcharge?: number;
3927
4037
  tax_tag_code?: string;
4038
+ tags?: string[];
3928
4039
  applied_diff_snapshot?: Record<string, any>;
3929
4040
  version?: number;
3930
4041
  brand?: DraftBrandDTO;
@@ -3972,6 +4083,8 @@ export type PostMenuV3DraftModifiersBody = {
3972
4083
  modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
3973
4084
  parent_id?: string;
3974
4085
  name: string;
4086
+ name_on_receipt?: string;
4087
+ name_on_kds?: string;
3975
4088
  label?: string;
3976
4089
  description?: string;
3977
4090
  price: number;
@@ -3990,6 +4103,7 @@ export type PostMenuV3DraftModifiersBody = {
3990
4103
  pre_surcharge?: number;
3991
4104
  post_surcharge?: number;
3992
4105
  tax_tag_code?: string;
4106
+ tags?: string[];
3993
4107
  applied_diff_snapshot?: Record<string, any>;
3994
4108
  brand?: DraftBrandDTO;
3995
4109
  changes?: ModifierChangeDTO[];
@@ -4025,6 +4139,8 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
4025
4139
  id?: string;
4026
4140
  parent_id?: string;
4027
4141
  name?: string;
4142
+ name_on_receipt?: string;
4143
+ name_on_kds?: string;
4028
4144
  label?: string;
4029
4145
  description?: string;
4030
4146
  price?: number;
@@ -4043,6 +4159,7 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
4043
4159
  pre_surcharge?: number;
4044
4160
  post_surcharge?: number;
4045
4161
  tax_tag_code?: string;
4162
+ tags?: string[];
4046
4163
  applied_diff_snapshot?: Record<string, any>;
4047
4164
  brand?: DraftBrandDTO;
4048
4165
  changes?: ModifierChangeDTO[];