@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.
@@ -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
  };
@@ -108,13 +112,6 @@ export interface Item {
108
112
  type_id?: number;
109
113
  type?: string;
110
114
  };
111
- featured?: {
112
- sort_number?: number;
113
- dates?: {
114
- start?: string;
115
- end?: string;
116
- };
117
- };
118
115
  sort_number?: number;
119
116
  menu_sort_number?: number;
120
117
  barcodes?: string[];
@@ -131,11 +128,22 @@ export interface Item {
131
128
  item_number?: number;
132
129
  image?: {
133
130
  src?: string;
131
+ sizes?: {
132
+ original?: string;
133
+ thumbnail_80_80?: string;
134
+ };
134
135
  };
135
136
  weight?: {
136
137
  unit?: string;
137
138
  amount?: number;
138
139
  };
140
+ line_route?: string;
141
+ reporting?: {
142
+ category?: {
143
+ primary?: string;
144
+ secondary?: string;
145
+ };
146
+ };
139
147
  is_deleted?: boolean;
140
148
  is?: {
141
149
  disabled?: boolean;
@@ -148,36 +156,61 @@ export interface Item {
148
156
  }
149
157
  export interface Group {
150
158
  id?: string;
159
+ name?: string;
151
160
  label?: {
152
161
  en?: string;
153
162
  fr?: string;
154
163
  };
155
164
  items?: Item[];
156
165
  is_disabled?: boolean;
157
- name?: string;
158
166
  is?: {
159
167
  disabled?: boolean;
160
168
  hidden?: boolean;
169
+ item_images_enabled?: boolean;
161
170
  };
162
171
  meta?: {
163
172
  sort_number?: number;
164
173
  menu_sort_number?: number;
165
174
  [index: string]: any;
166
175
  };
176
+ image?: {
177
+ src?: string;
178
+ sizes?: {
179
+ original?: string;
180
+ thumbnail_80_80?: string;
181
+ };
182
+ };
167
183
  }
168
184
  export interface Option {
169
185
  id?: string;
170
186
  label?: {
171
187
  en?: string;
172
188
  };
189
+ name?: string;
190
+ description?: {
191
+ en?: string;
192
+ };
173
193
  price?: {
174
194
  amount?: number;
175
195
  currency?: string;
176
196
  };
197
+ reporting?: {
198
+ category?: {
199
+ primary?: string;
200
+ secondary?: string;
201
+ };
202
+ };
177
203
  weight?: {
178
204
  unit?: string;
179
205
  amount?: number;
180
206
  };
207
+ image?: {
208
+ src?: string;
209
+ sizes?: {
210
+ original?: string;
211
+ thumbnail_80_80?: string;
212
+ };
213
+ };
181
214
  sku?: number;
182
215
  nutrition?: {
183
216
  kcal?: number;
@@ -193,6 +226,12 @@ export interface Option {
193
226
  meta?: {
194
227
  sort_number?: number;
195
228
  menu_sort_number?: number;
229
+ plu?: string;
230
+ sizing?: {
231
+ name?: string;
232
+ posid?: string;
233
+ price?: number;
234
+ }[];
196
235
  tax?: {
197
236
  tax_tag_code?: string;
198
237
  };
@@ -211,6 +250,7 @@ export interface OptionsGroup {
211
250
  en?: string;
212
251
  };
213
252
  unique_name?: string;
253
+ name?: string;
214
254
  items?: Option[];
215
255
  min?: number;
216
256
  max?: number;
@@ -218,12 +258,14 @@ export interface OptionsGroup {
218
258
  disabled?: boolean;
219
259
  hidden?: boolean;
220
260
  out_of_stock?: boolean;
261
+ incremental?: boolean;
221
262
  };
222
263
  meta?: {
223
264
  sort_number?: number;
224
265
  menu_sort_number?: number;
225
266
  [index: string]: any;
226
267
  };
268
+ limit?: number;
227
269
  [index: string]: any;
228
270
  }
229
271
  export interface OptionsGroupList {
@@ -292,6 +334,7 @@ export interface DraftBrandDTO {
292
334
  global_menu_group_id?: string;
293
335
  posid_segment?: string;
294
336
  is_simplified_view?: boolean;
337
+ frictionless_partner?: "AWS";
295
338
  applied_diff_snapshot?: Record<string, any>;
296
339
  permissions?: Record<string, any>;
297
340
  [index: string]: any;
@@ -307,6 +350,7 @@ export interface PublishedBrandDTO {
307
350
  global_menu_group_id?: string;
308
351
  posid_segment?: string;
309
352
  is_simplified_view?: boolean;
353
+ frictionless_partner?: "AWS";
310
354
  permissions?: Record<string, any>;
311
355
  [index: string]: any;
312
356
  }
@@ -494,6 +538,7 @@ export interface DraftItemDTO {
494
538
  is_out_of_stock?: boolean;
495
539
  tax_tag_code?: string;
496
540
  tags?: string[];
541
+ is_featured?: boolean;
497
542
  applied_diff_snapshot?: Record<string, any>;
498
543
  brand?: DraftBrandDTO;
499
544
  categories?: Record<string, any>[];
@@ -835,6 +880,7 @@ export interface PublishedItemDTO {
835
880
  is_out_of_stock?: boolean;
836
881
  tax_tag_code?: string;
837
882
  tags?: string[];
883
+ is_featured?: boolean;
838
884
  permissions?: Record<string, any>;
839
885
  [index: string]: any;
840
886
  }
@@ -1018,7 +1064,6 @@ export interface V2ItemCertifiedDTO {
1018
1064
  }
1019
1065
  export interface V2ItemMetaDTO {
1020
1066
  superplate?: V2ItemMetaSuperplateDTO;
1021
- featured?: V2ItemMetaFeaturedDTO;
1022
1067
  taxes?: Record<string, any>;
1023
1068
  sort_number?: number;
1024
1069
  menu_sort_number?: V2AmountDTO;
@@ -1027,14 +1072,6 @@ export interface V2ItemMetaSuperplateDTO {
1027
1072
  type_id?: number;
1028
1073
  type?: string;
1029
1074
  }
1030
- export interface V2ItemMetaFeaturedDTO {
1031
- sort_number?: number;
1032
- dates?: V2DatesDTO;
1033
- }
1034
- export interface V2DatesDTO {
1035
- start?: string;
1036
- end?: string;
1037
- }
1038
1075
  export interface V2AmountDTO {
1039
1076
  unit?: number;
1040
1077
  amount?: string;
@@ -1156,6 +1193,7 @@ export interface DraftItemEntityDTO {
1156
1193
  is_out_of_stock?: boolean;
1157
1194
  tax_tag_code?: string;
1158
1195
  tags?: string[];
1196
+ is_featured?: boolean;
1159
1197
  applied_diff_snapshot?: Record<string, any>;
1160
1198
  version?: number;
1161
1199
  brand?: DraftBrandDTO;
@@ -1317,6 +1355,7 @@ export interface GetMenuItemsPath {
1317
1355
  export interface GetMenuItemsQuery {
1318
1356
  query: string;
1319
1357
  barcodes: string;
1358
+ brand_id: string;
1320
1359
  _query?: string;
1321
1360
  }
1322
1361
  export type GetMenuItemsResponse = Items;
@@ -1935,6 +1974,7 @@ export interface PostMenuV3DraftBrandBody {
1935
1974
  global_menu_group_id?: string;
1936
1975
  posid_segment?: string;
1937
1976
  is_simplified_view?: boolean;
1977
+ frictionless_partner?: "AWS";
1938
1978
  applied_diff_snapshot?: Record<string, any>;
1939
1979
  changes?: BrandChangeDTO[];
1940
1980
  local_menu_group?: LocalMenuGroupDTO;
@@ -1984,6 +2024,7 @@ export interface PatchMenuV3DraftBrandBody {
1984
2024
  global_menu_group_id?: string;
1985
2025
  posid_segment?: string;
1986
2026
  is_simplified_view?: boolean;
2027
+ frictionless_partner?: "AWS";
1987
2028
  applied_diff_snapshot?: Record<string, any>;
1988
2029
  version?: number;
1989
2030
  changes?: BrandChangeDTO[];
@@ -2046,6 +2087,7 @@ export type PostMenuV3DraftBrandsBody = {
2046
2087
  global_menu_group_id?: string;
2047
2088
  posid_segment?: string;
2048
2089
  is_simplified_view?: boolean;
2090
+ frictionless_partner?: "AWS";
2049
2091
  applied_diff_snapshot?: Record<string, any>;
2050
2092
  changes?: BrandChangeDTO[];
2051
2093
  local_menu_group?: LocalMenuGroupDTO;
@@ -2181,6 +2223,28 @@ export interface GetMenuV3DraftBrandModifiersReportingCategoriesResponse {
2181
2223
  }
2182
2224
  export interface GetMenuV3DraftBrandModifiersReportingCategoriesRequest extends BaseRequest, RequestQuery<GetMenuV3DraftBrandModifiersReportingCategoriesQuery>, GetMenuV3DraftBrandModifiersReportingCategoriesPath {
2183
2225
  }
2226
+ export interface GetMenuV3DraftBrandItemsTagsPath {
2227
+ id: string;
2228
+ }
2229
+ export interface GetMenuV3DraftBrandItemsTagsQuery {
2230
+ _query?: string;
2231
+ }
2232
+ export interface GetMenuV3DraftBrandItemsTagsResponse {
2233
+ tags?: string[];
2234
+ }
2235
+ export interface GetMenuV3DraftBrandItemsTagsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftBrandItemsTagsQuery>, GetMenuV3DraftBrandItemsTagsPath {
2236
+ }
2237
+ export interface GetMenuV3DraftBrandModifiersTagsPath {
2238
+ id: string;
2239
+ }
2240
+ export interface GetMenuV3DraftBrandModifiersTagsQuery {
2241
+ _query?: string;
2242
+ }
2243
+ export interface GetMenuV3DraftBrandModifiersTagsResponse {
2244
+ tags?: string[];
2245
+ }
2246
+ export interface GetMenuV3DraftBrandModifiersTagsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftBrandModifiersTagsQuery>, GetMenuV3DraftBrandModifiersTagsPath {
2247
+ }
2184
2248
  export interface PostMenuV3DraftBrandPublishPath {
2185
2249
  id: string;
2186
2250
  }
@@ -2263,6 +2327,7 @@ export interface PostMenuV3BrandBody {
2263
2327
  global_menu_group_id?: string;
2264
2328
  posid_segment?: string;
2265
2329
  is_simplified_view?: boolean;
2330
+ frictionless_partner?: "AWS";
2266
2331
  local_menu_group?: LocalMenuGroupDTO;
2267
2332
  global_menu_group?: GlobalMenuGroupDTO;
2268
2333
  attachments?: FileAttachmentsDTO;
@@ -2312,6 +2377,7 @@ export interface PatchMenuV3BrandBody {
2312
2377
  global_menu_group_id?: string;
2313
2378
  posid_segment?: string;
2314
2379
  is_simplified_view?: boolean;
2380
+ frictionless_partner?: "AWS";
2315
2381
  version?: number;
2316
2382
  local_menu_group?: LocalMenuGroupDTO;
2317
2383
  global_menu_group?: GlobalMenuGroupDTO;
@@ -2375,6 +2441,7 @@ export type PostMenuV3BrandsBody = {
2375
2441
  global_menu_group_id?: string;
2376
2442
  posid_segment?: string;
2377
2443
  is_simplified_view?: boolean;
2444
+ frictionless_partner?: "AWS";
2378
2445
  local_menu_group?: LocalMenuGroupDTO;
2379
2446
  global_menu_group?: GlobalMenuGroupDTO;
2380
2447
  attachments?: FileAttachmentsDTO;
@@ -3048,6 +3115,7 @@ export interface PostMenuV3DraftItemBody {
3048
3115
  is_out_of_stock?: boolean;
3049
3116
  tax_tag_code?: string;
3050
3117
  tags?: string[];
3118
+ is_featured?: boolean;
3051
3119
  applied_diff_snapshot?: Record<string, any>;
3052
3120
  brand?: DraftBrandDTO;
3053
3121
  categories?: DraftCategoryToItemRelationshipDTO[];
@@ -3102,6 +3170,7 @@ export interface PatchMenuV3DraftItemBody {
3102
3170
  is_out_of_stock?: boolean;
3103
3171
  tax_tag_code?: string;
3104
3172
  tags?: string[];
3173
+ is_featured?: boolean;
3105
3174
  applied_diff_snapshot?: Record<string, any>;
3106
3175
  version?: number;
3107
3176
  brand?: DraftBrandDTO;
@@ -3169,6 +3238,7 @@ export type PostMenuV3DraftItemsBody = {
3169
3238
  is_out_of_stock?: boolean;
3170
3239
  tax_tag_code?: string;
3171
3240
  tags?: string[];
3241
+ is_featured?: boolean;
3172
3242
  applied_diff_snapshot?: Record<string, any>;
3173
3243
  brand?: DraftBrandDTO;
3174
3244
  categories?: DraftCategoryToItemRelationshipDTO[];
@@ -3236,6 +3306,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
3236
3306
  is_out_of_stock?: boolean;
3237
3307
  tax_tag_code?: string;
3238
3308
  tags?: string[];
3309
+ is_featured?: boolean;
3239
3310
  applied_diff_snapshot?: Record<string, any>;
3240
3311
  brand?: DraftBrandDTO;
3241
3312
  categories?: DraftCategoryToItemRelationshipDTO[];