@compassdigital/sdk.typescript 4.23.0 → 4.24.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.
@@ -134,6 +134,8 @@ export interface Item {
134
134
  sort_number?: number;
135
135
  // menu sort order
136
136
  menu_sort_number?: number;
137
+ // barcodes of the item
138
+ barcodes?: string[];
137
139
  [index: string]: any;
138
140
  };
139
141
  category?: {
@@ -589,6 +591,7 @@ export interface DraftItemDTO {
589
591
  line_route?: FilterFieldDTO;
590
592
  posid_segment?: FilterFieldDTO;
591
593
  menu_works?: Record<string, any>;
594
+ is_out_of_stock?: FilterFieldDTO;
592
595
  applied_diff_snapshot?: FilterFieldDTO;
593
596
  brand?: Record<string, any>;
594
597
  categories?: Record<string, any>[];
@@ -633,7 +636,9 @@ export interface DraftModifierGroupDTO {
633
636
  is_active?: boolean;
634
637
  limit?: number;
635
638
  brand_id?: string;
636
- type?: "normal" | "limit_enabled" | "sizing_enabled";
639
+ order_type?: "selection" | "option" | "quantity";
640
+ sizing?: string;
641
+ is_out_of_stock?: FilterFieldDTO;
637
642
  applied_diff_snapshot?: FilterFieldDTO;
638
643
  brand?: Record<string, any>;
639
644
  changes?: ModifierGroupChangeDTO[];
@@ -678,8 +683,13 @@ export interface DraftModifierDTO {
678
683
  reporting?: ReportingMetadataDTO;
679
684
  posid_segment?: FilterFieldDTO;
680
685
  brand_id?: string;
681
- sizing?: FilterFieldDTO[];
682
686
  menu_works?: MenuWorksDTO;
687
+ is_out_of_stock?: FilterFieldDTO;
688
+ price_for_none?: number;
689
+ price_for_less?: number;
690
+ price_for_more?: number;
691
+ pre_surcharge?: number;
692
+ post_surcharge?: number;
683
693
  applied_diff_snapshot?: FilterFieldDTO;
684
694
  brand?: Record<string, any>;
685
695
  changes?: ModifierChangeDTO[];
@@ -729,10 +739,11 @@ export interface FileAttachmentsDTO {
729
739
  export interface MenuWorksDTO {
730
740
  MRN?: FilterFieldDTO;
731
741
  unit_id?: FilterFieldDTO;
732
- GTIN?: FilterFieldDTO;
742
+ portion_quantity?: number;
743
+ portion_unit_name?: FilterFieldDTO;
744
+ grams?: number;
733
745
  cost?: number;
734
- ingredients?: FilterFieldDTO[];
735
- smart_tags?: FilterFieldDTO[];
746
+ calories?: number;
736
747
  id?: Record<string, any>;
737
748
  [index: string]: any;
738
749
  }
@@ -852,7 +863,12 @@ export interface DraftModifierDraftModifierDTO {
852
863
  posid?: FilterFieldDTO;
853
864
  posid_segment?: FilterFieldDTO;
854
865
  brand_id?: FilterFieldDTO;
855
- sizing?: FilterFieldDTO[];
866
+ is_out_of_stock?: FilterFieldDTO;
867
+ price_for_none?: FilterFieldDTO;
868
+ price_for_less?: FilterFieldDTO;
869
+ price_for_more?: FilterFieldDTO;
870
+ pre_surcharge?: FilterFieldDTO;
871
+ post_surcharge?: FilterFieldDTO;
856
872
  id?: FilterFieldDTO;
857
873
  version?: FilterFieldDTO;
858
874
  created_at?: FilterFieldDTO;
@@ -882,7 +898,9 @@ export interface DraftModifierGroupDraftModifierGroupDTO {
882
898
  is_active?: FilterFieldDTO;
883
899
  limit?: FilterFieldDTO;
884
900
  brand_id?: FilterFieldDTO;
885
- type?: FilterFieldDTO;
901
+ order_type?: FilterFieldDTO;
902
+ sizing?: FilterFieldDTO;
903
+ is_out_of_stock?: FilterFieldDTO;
886
904
  id?: FilterFieldDTO;
887
905
  version?: FilterFieldDTO;
888
906
  created_at?: FilterFieldDTO;
@@ -915,6 +933,7 @@ export interface DraftItemDraftItemDTO {
915
933
  brand_id?: FilterFieldDTO;
916
934
  line_route?: FilterFieldDTO;
917
935
  posid_segment?: FilterFieldDTO;
936
+ is_out_of_stock?: FilterFieldDTO;
918
937
  id?: FilterFieldDTO;
919
938
  version?: FilterFieldDTO;
920
939
  created_at?: FilterFieldDTO;
@@ -1053,6 +1072,7 @@ export interface PublishedItemDTO {
1053
1072
  brand_id?: string;
1054
1073
  line_route?: string;
1055
1074
  posid_segment?: string;
1075
+ is_out_of_stock?: boolean;
1056
1076
  permissions?: Record<string, any>;
1057
1077
  [index: string]: any;
1058
1078
  }
@@ -1078,7 +1098,9 @@ export interface PublishedModifierGroupDTO {
1078
1098
  is_active?: boolean;
1079
1099
  limit?: number;
1080
1100
  brand_id?: string;
1081
- type?: "normal" | "limit_enabled" | "sizing_enabled";
1101
+ order_type?: "selection" | "option" | "quantity";
1102
+ sizing?: string;
1103
+ is_out_of_stock?: boolean;
1082
1104
  permissions?: Record<string, any>;
1083
1105
  [index: string]: any;
1084
1106
  }
@@ -1107,7 +1129,12 @@ export interface PublishedModifierDTO {
1107
1129
  posid?: string;
1108
1130
  posid_segment?: string;
1109
1131
  brand_id?: string;
1110
- sizing?: Record<string, any>[];
1132
+ is_out_of_stock?: boolean;
1133
+ price_for_none?: number;
1134
+ price_for_less?: number;
1135
+ price_for_more?: number;
1136
+ pre_surcharge?: number;
1137
+ post_surcharge?: number;
1111
1138
  permissions?: Record<string, any>;
1112
1139
  [index: string]: any;
1113
1140
  }
@@ -1188,6 +1215,258 @@ export interface PublishedMenuPublishedMenuDTO {
1188
1215
  [index: string]: any;
1189
1216
  }
1190
1217
 
1218
+ export interface GroupStockUpdate {
1219
+ id: string;
1220
+ items?: ItemStockUpdate[];
1221
+ [index: string]: any;
1222
+ }
1223
+
1224
+ export interface ItemStockUpdate {
1225
+ id: string;
1226
+ is?: IsStockUpdate;
1227
+ options?: ModifierGroupStockUpdate[];
1228
+ [index: string]: any;
1229
+ }
1230
+
1231
+ export interface IsStockUpdate {
1232
+ out_of_stock?: boolean;
1233
+ }
1234
+
1235
+ export interface ModifierGroupStockUpdate {
1236
+ id: string;
1237
+ is?: Record<string, any>;
1238
+ items?: ModifierStockUpdate[];
1239
+ [index: string]: any;
1240
+ }
1241
+
1242
+ export interface ModifierStockUpdate {
1243
+ id: string;
1244
+ is?: Record<string, any>;
1245
+ [index: string]: any;
1246
+ }
1247
+
1248
+ export interface V2MenuDateDTO {
1249
+ created?: string;
1250
+ modified?: string;
1251
+ published?: string;
1252
+ }
1253
+
1254
+ export interface V2MenuLabelDTO {
1255
+ en?: string;
1256
+ }
1257
+
1258
+ export interface V2CategoryDTO {
1259
+ id?: string;
1260
+ label?: V2CategoryLabelDTO;
1261
+ items?: V2ItemDTO[];
1262
+ is_disabled?: boolean;
1263
+ name?: string;
1264
+ is?: V2CategoryIsDTO;
1265
+ meta?: V2CategoryMetaDTO;
1266
+ }
1267
+
1268
+ export interface V2CategoryLabelDTO {
1269
+ fr?: string;
1270
+ en?: string;
1271
+ }
1272
+
1273
+ export interface V2ItemDTO {
1274
+ id?: string;
1275
+ label?: Record<string, any>;
1276
+ description?: Record<string, any>;
1277
+ price?: V2PriceDTO;
1278
+ meal_value?: number;
1279
+ sale_price?: Record<string, any>;
1280
+ unit?: number;
1281
+ ingredients?: Record<string, any>;
1282
+ amount_off_exclusions?: string[];
1283
+ nutrition?: V2ItemNutritionDTO;
1284
+ certified?: V2ItemCertifiedDTO;
1285
+ meta?: V2ItemMetaDTO;
1286
+ options?: V2ModifierGroupDTO[];
1287
+ required?: boolean;
1288
+ special?: boolean;
1289
+ category?: Record<string, any>;
1290
+ location?: string;
1291
+ sku?: number;
1292
+ item_number?: number;
1293
+ image?: V2ItemImageDTO;
1294
+ weight?: Record<string, any>;
1295
+ is_deleted?: boolean;
1296
+ is?: V2ItemIsDTO;
1297
+ }
1298
+
1299
+ export interface V2PriceDTO {
1300
+ amount?: number;
1301
+ currency?: string;
1302
+ }
1303
+
1304
+ export interface V2ItemNutritionDTO {
1305
+ kcal?: number;
1306
+ calories?: number;
1307
+ serving_size?: number;
1308
+ total_fat?: number;
1309
+ saturated_fat?: number;
1310
+ trans_fat?: number;
1311
+ cholesterol?: number;
1312
+ sodium?: number;
1313
+ total_carbohydrate?: number;
1314
+ dietary_fiber?: number;
1315
+ sugars?: number;
1316
+ protein?: number;
1317
+ well_being?: number;
1318
+ }
1319
+
1320
+ export interface V2ItemCertifiedDTO {
1321
+ vegan?: boolean;
1322
+ vegetarian?: boolean;
1323
+ seafood_watch?: boolean;
1324
+ wellbeing?: boolean;
1325
+ farm_to_fork?: boolean;
1326
+ in_balance?: boolean;
1327
+ organic?: boolean;
1328
+ no_gluten_ingredients?: boolean;
1329
+ halal?: boolean;
1330
+ kosher?: boolean;
1331
+ humane?: boolean;
1332
+ locally_crafted?: boolean;
1333
+ nuts?: boolean;
1334
+ oracle_garden_grown?: boolean;
1335
+ oracle_oyes?: boolean;
1336
+ peanut_free?: boolean;
1337
+ tree_nut_free?: boolean;
1338
+ wheat_free?: boolean;
1339
+ egg_free?: boolean;
1340
+ soy_free?: boolean;
1341
+ fair_trade?: boolean;
1342
+ rainforest_alliance?: boolean;
1343
+ salt_free?: boolean;
1344
+ }
1345
+
1346
+ export interface V2ItemMetaDTO {
1347
+ superplate?: V2ItemMetaSuperplateDTO;
1348
+ featured?: V2ItemMetaFeaturedDTO;
1349
+ taxes?: Record<string, any>;
1350
+ sort_number?: number;
1351
+ menu_sort_number?: V2AmountDTO;
1352
+ }
1353
+
1354
+ export interface V2ItemMetaSuperplateDTO {
1355
+ type_id?: number;
1356
+ type?: string;
1357
+ }
1358
+
1359
+ export interface V2ItemMetaFeaturedDTO {
1360
+ sort_number?: number;
1361
+ dates?: V2DatesDTO;
1362
+ }
1363
+
1364
+ export interface V2DatesDTO {
1365
+ start?: string;
1366
+ end?: string;
1367
+ }
1368
+
1369
+ export interface V2AmountDTO {
1370
+ unit?: number;
1371
+ amount?: string;
1372
+ }
1373
+
1374
+ export interface V2ModifierGroupDTO {
1375
+ id?: string;
1376
+ label?: Record<string, any>;
1377
+ unique_name?: string;
1378
+ items?: V2ModifierDTO[];
1379
+ min?: number;
1380
+ max?: number;
1381
+ is?: Record<string, any>;
1382
+ meta?: {
1383
+ [index: string]: any;
1384
+ };
1385
+ }
1386
+
1387
+ export interface V2ModifierDTO {
1388
+ id?: string;
1389
+ label?: Record<string, any>;
1390
+ price?: Record<string, any>;
1391
+ weight?: Record<string, any>;
1392
+ sku?: string;
1393
+ nutrition?: V2ModifierNutritionDTO;
1394
+ certified?: V2CertifiedDTO;
1395
+ modifier_sets?: V2ModifierSetsDTO;
1396
+ meta?: V2ModifierMetaDTO;
1397
+ is?: V2ModifierIsDTO;
1398
+ amount_off_exclusions?: string[];
1399
+ }
1400
+
1401
+ export interface V2ModifierNutritionDTO {
1402
+ kcal?: number;
1403
+ calories?: Record<string, any>;
1404
+ }
1405
+
1406
+ export interface V2CertifiedDTO {
1407
+ vegan?: boolean;
1408
+ }
1409
+
1410
+ export interface V2ModifierSetsDTO {
1411
+ category?: string;
1412
+ list?: string[];
1413
+ }
1414
+
1415
+ export interface V2ModifierMetaDTO {
1416
+ sort_number?: number;
1417
+ menu_sort_number?: Record<string, any>;
1418
+ }
1419
+
1420
+ export interface V2ModifierIsDTO {
1421
+ disabled?: boolean;
1422
+ hidden?: boolean;
1423
+ out_of_stock?: boolean;
1424
+ }
1425
+
1426
+ export interface V2ItemImageDTO {
1427
+ src?: string;
1428
+ }
1429
+
1430
+ export interface V2ItemIsDTO {
1431
+ meq_eligible?: boolean;
1432
+ deleted?: boolean;
1433
+ featured?: boolean;
1434
+ disabled?: boolean;
1435
+ hidden?: boolean;
1436
+ out_of_stock?: boolean;
1437
+ }
1438
+
1439
+ export interface V2CategoryIsDTO {
1440
+ disabled?: boolean;
1441
+ hidden?: boolean;
1442
+ linked?: boolean;
1443
+ }
1444
+
1445
+ export interface V2CategoryMetaDTO {
1446
+ original_label?: Record<string, any>;
1447
+ sort_number?: number;
1448
+ menu_sort_number?: Record<string, any>;
1449
+ }
1450
+
1451
+ export interface V2MenuIsDTO {
1452
+ disabled?: boolean;
1453
+ hidden?: boolean;
1454
+ linked?: boolean;
1455
+ promo_exemptions_enabled?: boolean;
1456
+ plu_enabled?: boolean;
1457
+ item_images_enabled?: boolean;
1458
+ item_showcase_enabled?: boolean;
1459
+ item_desc_edit_enabled?: boolean;
1460
+ calories_edit_enabled?: boolean;
1461
+ item_label_edit_enabled?: boolean;
1462
+ }
1463
+
1464
+ export interface V2MetaDTO {
1465
+ locked_by_user?: string;
1466
+ last_modified_user?: string;
1467
+ version?: number;
1468
+ }
1469
+
1191
1470
  export interface PublishedCategoryPublishedCategoryDTO {
1192
1471
  parent_id?: FilterFieldDTO;
1193
1472
  name?: FilterFieldDTO;
@@ -1284,6 +1563,7 @@ export interface DraftItemEntityDTO {
1284
1563
  line_route?: string;
1285
1564
  posid_segment?: string;
1286
1565
  menu_works?: MenuWorksDTO;
1566
+ is_out_of_stock?: boolean;
1287
1567
  applied_diff_snapshot?: Record<string, any>;
1288
1568
  version?: number;
1289
1569
  brand?: DraftBrandDTO;
@@ -1311,6 +1591,7 @@ export interface PublishedItemPublishedItemDTO {
1311
1591
  brand_id?: FilterFieldDTO;
1312
1592
  line_route?: FilterFieldDTO;
1313
1593
  posid_segment?: FilterFieldDTO;
1594
+ is_out_of_stock?: FilterFieldDTO;
1314
1595
  id?: FilterFieldDTO;
1315
1596
  version?: FilterFieldDTO;
1316
1597
  created_at?: FilterFieldDTO;
@@ -1381,7 +1662,9 @@ export interface PublishedModifierGroupPublishedModifierGroupDTO {
1381
1662
  is_active?: FilterFieldDTO;
1382
1663
  limit?: FilterFieldDTO;
1383
1664
  brand_id?: FilterFieldDTO;
1384
- type?: FilterFieldDTO;
1665
+ order_type?: FilterFieldDTO;
1666
+ sizing?: FilterFieldDTO;
1667
+ is_out_of_stock?: FilterFieldDTO;
1385
1668
  id?: FilterFieldDTO;
1386
1669
  version?: FilterFieldDTO;
1387
1670
  created_at?: FilterFieldDTO;
@@ -1459,8 +1742,13 @@ export interface DraftModifierEntityDTO {
1459
1742
  reporting: ReportingMetadataDTO;
1460
1743
  posid_segment?: string;
1461
1744
  brand_id: string;
1462
- sizing?: Record<string, any>[];
1463
1745
  menu_works?: MenuWorksDTO;
1746
+ is_out_of_stock?: boolean;
1747
+ price_for_none: number;
1748
+ price_for_less: number;
1749
+ price_for_more: number;
1750
+ pre_surcharge: number;
1751
+ post_surcharge: number;
1464
1752
  applied_diff_snapshot?: Record<string, any>;
1465
1753
  version?: number;
1466
1754
  brand?: DraftBrandDTO;
@@ -1484,7 +1772,12 @@ export interface PublishedModifierPublishedModifierDTO {
1484
1772
  posid?: FilterFieldDTO;
1485
1773
  posid_segment?: FilterFieldDTO;
1486
1774
  brand_id?: FilterFieldDTO;
1487
- sizing?: FilterFieldDTO[];
1775
+ is_out_of_stock?: FilterFieldDTO;
1776
+ price_for_none?: FilterFieldDTO;
1777
+ price_for_less?: FilterFieldDTO;
1778
+ price_for_more?: FilterFieldDTO;
1779
+ pre_surcharge?: FilterFieldDTO;
1780
+ post_surcharge?: FilterFieldDTO;
1488
1781
  id?: FilterFieldDTO;
1489
1782
  version?: FilterFieldDTO;
1490
1783
  created_at?: FilterFieldDTO;
@@ -3882,6 +4175,35 @@ export interface GetMenuV3MenuCategoriesRequest
3882
4175
  RequestQuery<GetMenuV3MenuCategoriesQuery>,
3883
4176
  GetMenuV3MenuCategoriesPath {}
3884
4177
 
4178
+ // PATCH /menu/v3/{id}/stock
4179
+
4180
+ export interface PatchMenuV3StockPath {
4181
+ id: string;
4182
+ }
4183
+
4184
+ export interface PatchMenuV3StockBody {
4185
+ id: string;
4186
+ groups?: GroupStockUpdate[];
4187
+ [index: string]: any;
4188
+ }
4189
+
4190
+ export interface PatchMenuV3StockResponse {
4191
+ id?: string;
4192
+ date?: V2MenuDateDTO;
4193
+ label?: V2MenuLabelDTO;
4194
+ groups?: V2CategoryDTO[];
4195
+ parent_id?: string;
4196
+ location_brand?: string;
4197
+ company?: string;
4198
+ sector?: string;
4199
+ is?: V2MenuIsDTO;
4200
+ meta?: V2MetaDTO;
4201
+ }
4202
+
4203
+ export interface PatchMenuV3StockRequest extends BaseRequest, PatchMenuV3StockPath {
4204
+ body: PatchMenuV3StockBody;
4205
+ }
4206
+
3885
4207
  // POST /menu/v3/draft/category
3886
4208
 
3887
4209
  export interface PostMenuV3DraftCategoryBody {
@@ -4381,6 +4703,7 @@ export interface PostMenuV3DraftItemBody {
4381
4703
  line_route?: string;
4382
4704
  posid_segment?: string;
4383
4705
  menu_works?: MenuWorksDTO;
4706
+ is_out_of_stock?: boolean;
4384
4707
  id?: Record<string, any>;
4385
4708
  applied_diff_snapshot?: Record<string, any>;
4386
4709
  brand?: DraftBrandDTO;
@@ -4448,6 +4771,7 @@ export interface PatchMenuV3DraftItemBody {
4448
4771
  line_route?: string;
4449
4772
  posid_segment?: string;
4450
4773
  menu_works?: MenuWorksDTO;
4774
+ is_out_of_stock?: boolean;
4451
4775
  applied_diff_snapshot?: Record<string, any>;
4452
4776
  version?: number;
4453
4777
  brand?: DraftBrandDTO;
@@ -4531,6 +4855,7 @@ export type PostMenuV3DraftItemsBody = {
4531
4855
  line_route?: string;
4532
4856
  posid_segment?: string;
4533
4857
  menu_works?: MenuWorksDTO;
4858
+ is_out_of_stock?: boolean;
4534
4859
  id?: Record<string, any>;
4535
4860
  applied_diff_snapshot?: Record<string, any>;
4536
4861
  brand?: DraftBrandDTO;
@@ -4618,6 +4943,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
4618
4943
  line_route?: string;
4619
4944
  posid_segment?: string;
4620
4945
  menu_works?: MenuWorksDTO;
4946
+ is_out_of_stock?: boolean;
4621
4947
  applied_diff_snapshot?: Record<string, any>;
4622
4948
  brand?: DraftBrandDTO;
4623
4949
  categories?: DraftCategoryToItemRelationshipDTO[];
@@ -5061,7 +5387,9 @@ export interface PostMenuV3DraftModifierGroupBody {
5061
5387
  is_active?: boolean;
5062
5388
  limit?: number;
5063
5389
  brand_id: string;
5064
- type?: "normal" | "limit_enabled" | "sizing_enabled";
5390
+ order_type?: "selection" | "option" | "quantity";
5391
+ sizing?: string;
5392
+ is_out_of_stock?: boolean;
5065
5393
  id?: Record<string, any>;
5066
5394
  applied_diff_snapshot?: Record<string, any>;
5067
5395
  brand?: DraftBrandDTO;
@@ -5119,7 +5447,9 @@ export interface PatchMenuV3DraftModifierGroupBody {
5119
5447
  is_active?: boolean;
5120
5448
  limit?: number;
5121
5449
  brand_id?: string;
5122
- type?: "normal" | "limit_enabled" | "sizing_enabled";
5450
+ order_type?: "selection" | "option" | "quantity";
5451
+ sizing?: string;
5452
+ is_out_of_stock?: boolean;
5123
5453
  applied_diff_snapshot?: Record<string, any>;
5124
5454
  version?: number;
5125
5455
  brand?: DraftBrandDTO;
@@ -5197,7 +5527,9 @@ export type PostMenuV3DraftModifierGroupsBody = {
5197
5527
  is_active?: boolean;
5198
5528
  limit?: number;
5199
5529
  brand_id: string;
5200
- type?: "normal" | "limit_enabled" | "sizing_enabled";
5530
+ order_type?: "selection" | "option" | "quantity";
5531
+ sizing?: string;
5532
+ is_out_of_stock?: boolean;
5201
5533
  id?: Record<string, any>;
5202
5534
  applied_diff_snapshot?: Record<string, any>;
5203
5535
  brand?: DraftBrandDTO;
@@ -5260,7 +5592,9 @@ export interface PostMenuV3DraftModifierGroupDuplicateResponse {
5260
5592
  is_active?: boolean;
5261
5593
  limit?: number;
5262
5594
  brand_id: string;
5263
- type?: "normal" | "limit_enabled" | "sizing_enabled";
5595
+ order_type?: "selection" | "option" | "quantity";
5596
+ sizing?: string;
5597
+ is_out_of_stock?: boolean;
5264
5598
  applied_diff_snapshot?: Record<string, any>;
5265
5599
  version?: number;
5266
5600
  brand?: DraftBrandDTO;
@@ -5632,8 +5966,13 @@ export interface PostMenuV3DraftModifierBody {
5632
5966
  reporting: ReportingMetadataDTO;
5633
5967
  posid_segment?: string;
5634
5968
  brand_id: string;
5635
- sizing?: Record<string, any>[];
5636
5969
  menu_works?: MenuWorksDTO;
5970
+ is_out_of_stock?: boolean;
5971
+ price_for_none: number;
5972
+ price_for_less: number;
5973
+ price_for_more: number;
5974
+ pre_surcharge: number;
5975
+ post_surcharge: number;
5637
5976
  id?: Record<string, any>;
5638
5977
  applied_diff_snapshot?: Record<string, any>;
5639
5978
  brand?: DraftBrandDTO;
@@ -5696,8 +6035,13 @@ export interface PatchMenuV3DraftModifierBody {
5696
6035
  reporting?: ReportingMetadataDTO;
5697
6036
  posid_segment?: string;
5698
6037
  brand_id?: string;
5699
- sizing?: Record<string, any>[];
5700
6038
  menu_works?: MenuWorksDTO;
6039
+ is_out_of_stock?: boolean;
6040
+ price_for_none?: number;
6041
+ price_for_less?: number;
6042
+ price_for_more?: number;
6043
+ pre_surcharge?: number;
6044
+ post_surcharge?: number;
5701
6045
  applied_diff_snapshot?: Record<string, any>;
5702
6046
  version?: number;
5703
6047
  brand?: DraftBrandDTO;
@@ -5778,8 +6122,13 @@ export type PostMenuV3DraftModifiersBody = {
5778
6122
  reporting: ReportingMetadataDTO;
5779
6123
  posid_segment?: string;
5780
6124
  brand_id: string;
5781
- sizing?: Record<string, any>[];
5782
6125
  menu_works?: MenuWorksDTO;
6126
+ is_out_of_stock?: boolean;
6127
+ price_for_none: number;
6128
+ price_for_less: number;
6129
+ price_for_more: number;
6130
+ pre_surcharge: number;
6131
+ post_surcharge: number;
5783
6132
  id?: Record<string, any>;
5784
6133
  applied_diff_snapshot?: Record<string, any>;
5785
6134
  brand?: DraftBrandDTO;
@@ -5841,8 +6190,13 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
5841
6190
  reporting?: ReportingMetadataDTO;
5842
6191
  posid_segment?: string;
5843
6192
  brand_id?: string;
5844
- sizing?: Record<string, any>[];
5845
6193
  menu_works?: MenuWorksDTO;
6194
+ is_out_of_stock?: boolean;
6195
+ price_for_none?: number;
6196
+ price_for_less?: number;
6197
+ price_for_more?: number;
6198
+ pre_surcharge?: number;
6199
+ post_surcharge?: number;
5846
6200
  applied_diff_snapshot?: Record<string, any>;
5847
6201
  brand?: DraftBrandDTO;
5848
6202
  changes?: ModifierChangeDTO[];
@@ -6068,3 +6422,27 @@ export interface GetMenuV3GlobalDiffsCountResponse {
6068
6422
  export interface GetMenuV3GlobalDiffsCountRequest
6069
6423
  extends BaseRequest,
6070
6424
  RequestQuery<GetMenuV3GlobalDiffsCountQuery> {}
6425
+
6426
+ // GET menu/v3/menuworks
6427
+
6428
+ export interface GetMenuV3MenuworksQuery {
6429
+ unit_id?: string;
6430
+ MRN?: string;
6431
+ // Graphql query string
6432
+ _query?: string;
6433
+ }
6434
+
6435
+ export interface GetMenuV3MenuworksResponse {
6436
+ MRN?: string;
6437
+ unit_id?: string;
6438
+ portion_quantity?: number;
6439
+ portion_unit_name?: string;
6440
+ grams?: number;
6441
+ cost?: number;
6442
+ calories?: number;
6443
+ [index: string]: any;
6444
+ }
6445
+
6446
+ export interface GetMenuV3MenuworksRequest
6447
+ extends BaseRequest,
6448
+ RequestQuery<GetMenuV3MenuworksQuery> {}
@@ -163,7 +163,7 @@ export type TaskStatus =
163
163
  | "delivered"
164
164
  | "order_is_ready";
165
165
 
166
- // POST /task/ - Create new Task
166
+ // POST /task - Create new Task
167
167
 
168
168
  export type PostTaskBody = TaskCreate;
169
169