@compassdigital/sdk.typescript 4.46.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 {
@@ -2181,6 +2230,28 @@ export interface GetMenuV3DraftBrandModifiersReportingCategoriesResponse {
2181
2230
  }
2182
2231
  export interface GetMenuV3DraftBrandModifiersReportingCategoriesRequest extends BaseRequest, RequestQuery<GetMenuV3DraftBrandModifiersReportingCategoriesQuery>, GetMenuV3DraftBrandModifiersReportingCategoriesPath {
2183
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
+ }
2184
2255
  export interface PostMenuV3DraftBrandPublishPath {
2185
2256
  id: string;
2186
2257
  }