@compassdigital/sdk.typescript 4.22.1 → 4.23.1

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.
@@ -220,7 +220,6 @@ export interface DeleteMealplanTenderBody {
220
220
  type?: string;
221
221
  conversion_amount?: number;
222
222
  terminal_id?: string;
223
- is_split_tender?: boolean;
224
223
  }
225
224
 
226
225
  export interface DeleteMealplanTenderResponse {
@@ -255,7 +254,6 @@ export interface PatchMealplanTenderBody {
255
254
  // Amount for order paid by user
256
255
  transaction_amount?: number;
257
256
  terminal_id?: string;
258
- is_split_tender?: boolean;
259
257
  }
260
258
 
261
259
  export type PatchMealplanTenderResponse = Tender;
@@ -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?: {
@@ -588,6 +590,8 @@ export interface DraftItemDTO {
588
590
  brand_id?: string;
589
591
  line_route?: FilterFieldDTO;
590
592
  posid_segment?: FilterFieldDTO;
593
+ menu_works?: Record<string, any>;
594
+ is_out_of_stock?: FilterFieldDTO;
591
595
  applied_diff_snapshot?: FilterFieldDTO;
592
596
  brand?: Record<string, any>;
593
597
  categories?: Record<string, any>[];
@@ -632,6 +636,8 @@ export interface DraftModifierGroupDTO {
632
636
  is_active?: boolean;
633
637
  limit?: number;
634
638
  brand_id?: string;
639
+ order_type?: "selection" | "option" | "quantity";
640
+ is_out_of_stock?: FilterFieldDTO;
635
641
  applied_diff_snapshot?: FilterFieldDTO;
636
642
  brand?: Record<string, any>;
637
643
  changes?: ModifierGroupChangeDTO[];
@@ -677,6 +683,8 @@ export interface DraftModifierDTO {
677
683
  posid_segment?: FilterFieldDTO;
678
684
  brand_id?: string;
679
685
  sizing?: FilterFieldDTO[];
686
+ menu_works?: MenuWorksDTO;
687
+ is_out_of_stock?: FilterFieldDTO;
680
688
  applied_diff_snapshot?: FilterFieldDTO;
681
689
  brand?: Record<string, any>;
682
690
  changes?: ModifierChangeDTO[];
@@ -723,6 +731,18 @@ export interface FileAttachmentsDTO {
723
731
  [index: string]: any;
724
732
  }
725
733
 
734
+ export interface MenuWorksDTO {
735
+ MRN?: FilterFieldDTO;
736
+ unit_id?: FilterFieldDTO;
737
+ portion_quantity?: number;
738
+ portion_unit_name?: FilterFieldDTO;
739
+ grams?: number;
740
+ cost?: number;
741
+ calories?: number;
742
+ id?: Record<string, any>;
743
+ [index: string]: any;
744
+ }
745
+
726
746
  export interface ModifierGroupToModifierRelationshipChangeDTO {
727
747
  id?: string;
728
748
  insert?: FilterFieldDTO;
@@ -839,6 +859,7 @@ export interface DraftModifierDraftModifierDTO {
839
859
  posid_segment?: FilterFieldDTO;
840
860
  brand_id?: FilterFieldDTO;
841
861
  sizing?: FilterFieldDTO[];
862
+ is_out_of_stock?: FilterFieldDTO;
842
863
  id?: FilterFieldDTO;
843
864
  version?: FilterFieldDTO;
844
865
  created_at?: FilterFieldDTO;
@@ -853,6 +874,7 @@ export interface DraftModifierDraftModifierDTO {
853
874
  reporting?: ReportingMetadataDTO;
854
875
  weight?: WeightDTO;
855
876
  attachments?: FileAttachmentsDTO;
877
+ menu_works?: MenuWorksDTO;
856
878
  permissions?: FilterFieldDTO;
857
879
  [index: string]: any;
858
880
  }
@@ -867,6 +889,8 @@ export interface DraftModifierGroupDraftModifierGroupDTO {
867
889
  is_active?: FilterFieldDTO;
868
890
  limit?: FilterFieldDTO;
869
891
  brand_id?: FilterFieldDTO;
892
+ order_type?: FilterFieldDTO;
893
+ is_out_of_stock?: FilterFieldDTO;
870
894
  id?: FilterFieldDTO;
871
895
  version?: FilterFieldDTO;
872
896
  created_at?: FilterFieldDTO;
@@ -899,6 +923,7 @@ export interface DraftItemDraftItemDTO {
899
923
  brand_id?: FilterFieldDTO;
900
924
  line_route?: FilterFieldDTO;
901
925
  posid_segment?: FilterFieldDTO;
926
+ is_out_of_stock?: FilterFieldDTO;
902
927
  id?: FilterFieldDTO;
903
928
  version?: FilterFieldDTO;
904
929
  created_at?: FilterFieldDTO;
@@ -914,6 +939,7 @@ export interface DraftItemDraftItemDTO {
914
939
  reporting?: ReportingMetadataDTO;
915
940
  attachments?: FileAttachmentsDTO;
916
941
  weight?: WeightDTO;
942
+ menu_works?: MenuWorksDTO;
917
943
  permissions?: FilterFieldDTO;
918
944
  [index: string]: any;
919
945
  }
@@ -1036,6 +1062,7 @@ export interface PublishedItemDTO {
1036
1062
  brand_id?: string;
1037
1063
  line_route?: string;
1038
1064
  posid_segment?: string;
1065
+ is_out_of_stock?: boolean;
1039
1066
  permissions?: Record<string, any>;
1040
1067
  [index: string]: any;
1041
1068
  }
@@ -1061,6 +1088,8 @@ export interface PublishedModifierGroupDTO {
1061
1088
  is_active?: boolean;
1062
1089
  limit?: number;
1063
1090
  brand_id?: string;
1091
+ order_type?: "selection" | "option" | "quantity";
1092
+ is_out_of_stock?: boolean;
1064
1093
  permissions?: Record<string, any>;
1065
1094
  [index: string]: any;
1066
1095
  }
@@ -1090,6 +1119,7 @@ export interface PublishedModifierDTO {
1090
1119
  posid_segment?: string;
1091
1120
  brand_id?: string;
1092
1121
  sizing?: Record<string, any>[];
1122
+ is_out_of_stock?: boolean;
1093
1123
  permissions?: Record<string, any>;
1094
1124
  [index: string]: any;
1095
1125
  }
@@ -1170,6 +1200,258 @@ export interface PublishedMenuPublishedMenuDTO {
1170
1200
  [index: string]: any;
1171
1201
  }
1172
1202
 
1203
+ export interface GroupStockUpdate {
1204
+ id: string;
1205
+ items?: ItemStockUpdate[];
1206
+ [index: string]: any;
1207
+ }
1208
+
1209
+ export interface ItemStockUpdate {
1210
+ id: string;
1211
+ is?: IsStockUpdate;
1212
+ options?: ModifierGroupStockUpdate[];
1213
+ [index: string]: any;
1214
+ }
1215
+
1216
+ export interface IsStockUpdate {
1217
+ out_of_stock?: boolean;
1218
+ }
1219
+
1220
+ export interface ModifierGroupStockUpdate {
1221
+ id: string;
1222
+ is?: Record<string, any>;
1223
+ items?: ModifierStockUpdate[];
1224
+ [index: string]: any;
1225
+ }
1226
+
1227
+ export interface ModifierStockUpdate {
1228
+ id: string;
1229
+ is?: Record<string, any>;
1230
+ [index: string]: any;
1231
+ }
1232
+
1233
+ export interface V2MenuDateDTO {
1234
+ created?: string;
1235
+ modified?: string;
1236
+ published?: string;
1237
+ }
1238
+
1239
+ export interface V2MenuLabelDTO {
1240
+ en?: string;
1241
+ }
1242
+
1243
+ export interface V2CategoryDTO {
1244
+ id?: string;
1245
+ label?: V2CategoryLabelDTO;
1246
+ items?: V2ItemDTO[];
1247
+ is_disabled?: boolean;
1248
+ name?: string;
1249
+ is?: V2CategoryIsDTO;
1250
+ meta?: V2CategoryMetaDTO;
1251
+ }
1252
+
1253
+ export interface V2CategoryLabelDTO {
1254
+ fr?: string;
1255
+ en?: string;
1256
+ }
1257
+
1258
+ export interface V2ItemDTO {
1259
+ id?: string;
1260
+ label?: Record<string, any>;
1261
+ description?: Record<string, any>;
1262
+ price?: V2PriceDTO;
1263
+ meal_value?: number;
1264
+ sale_price?: Record<string, any>;
1265
+ unit?: number;
1266
+ ingredients?: Record<string, any>;
1267
+ amount_off_exclusions?: string[];
1268
+ nutrition?: V2ItemNutritionDTO;
1269
+ certified?: V2ItemCertifiedDTO;
1270
+ meta?: V2ItemMetaDTO;
1271
+ options?: V2ModifierGroupDTO[];
1272
+ required?: boolean;
1273
+ special?: boolean;
1274
+ category?: Record<string, any>;
1275
+ location?: string;
1276
+ sku?: number;
1277
+ item_number?: number;
1278
+ image?: V2ItemImageDTO;
1279
+ weight?: Record<string, any>;
1280
+ is_deleted?: boolean;
1281
+ is?: V2ItemIsDTO;
1282
+ }
1283
+
1284
+ export interface V2PriceDTO {
1285
+ amount?: number;
1286
+ currency?: string;
1287
+ }
1288
+
1289
+ export interface V2ItemNutritionDTO {
1290
+ kcal?: number;
1291
+ calories?: number;
1292
+ serving_size?: number;
1293
+ total_fat?: number;
1294
+ saturated_fat?: number;
1295
+ trans_fat?: number;
1296
+ cholesterol?: number;
1297
+ sodium?: number;
1298
+ total_carbohydrate?: number;
1299
+ dietary_fiber?: number;
1300
+ sugars?: number;
1301
+ protein?: number;
1302
+ well_being?: number;
1303
+ }
1304
+
1305
+ export interface V2ItemCertifiedDTO {
1306
+ vegan?: boolean;
1307
+ vegetarian?: boolean;
1308
+ seafood_watch?: boolean;
1309
+ wellbeing?: boolean;
1310
+ farm_to_fork?: boolean;
1311
+ in_balance?: boolean;
1312
+ organic?: boolean;
1313
+ no_gluten_ingredients?: boolean;
1314
+ halal?: boolean;
1315
+ kosher?: boolean;
1316
+ humane?: boolean;
1317
+ locally_crafted?: boolean;
1318
+ nuts?: boolean;
1319
+ oracle_garden_grown?: boolean;
1320
+ oracle_oyes?: boolean;
1321
+ peanut_free?: boolean;
1322
+ tree_nut_free?: boolean;
1323
+ wheat_free?: boolean;
1324
+ egg_free?: boolean;
1325
+ soy_free?: boolean;
1326
+ fair_trade?: boolean;
1327
+ rainforest_alliance?: boolean;
1328
+ salt_free?: boolean;
1329
+ }
1330
+
1331
+ export interface V2ItemMetaDTO {
1332
+ superplate?: V2ItemMetaSuperplateDTO;
1333
+ featured?: V2ItemMetaFeaturedDTO;
1334
+ taxes?: Record<string, any>;
1335
+ sort_number?: number;
1336
+ menu_sort_number?: V2AmountDTO;
1337
+ }
1338
+
1339
+ export interface V2ItemMetaSuperplateDTO {
1340
+ type_id?: number;
1341
+ type?: string;
1342
+ }
1343
+
1344
+ export interface V2ItemMetaFeaturedDTO {
1345
+ sort_number?: number;
1346
+ dates?: V2DatesDTO;
1347
+ }
1348
+
1349
+ export interface V2DatesDTO {
1350
+ start?: string;
1351
+ end?: string;
1352
+ }
1353
+
1354
+ export interface V2AmountDTO {
1355
+ unit?: number;
1356
+ amount?: string;
1357
+ }
1358
+
1359
+ export interface V2ModifierGroupDTO {
1360
+ id?: string;
1361
+ label?: Record<string, any>;
1362
+ unique_name?: string;
1363
+ items?: V2ModifierDTO[];
1364
+ min?: number;
1365
+ max?: number;
1366
+ is?: Record<string, any>;
1367
+ meta?: {
1368
+ [index: string]: any;
1369
+ };
1370
+ }
1371
+
1372
+ export interface V2ModifierDTO {
1373
+ id?: string;
1374
+ label?: Record<string, any>;
1375
+ price?: Record<string, any>;
1376
+ weight?: Record<string, any>;
1377
+ sku?: string;
1378
+ nutrition?: V2ModifierNutritionDTO;
1379
+ certified?: V2CertifiedDTO;
1380
+ modifier_sets?: V2ModifierSetsDTO;
1381
+ meta?: V2ModifierMetaDTO;
1382
+ is?: V2ModifierIsDTO;
1383
+ amount_off_exclusions?: string[];
1384
+ }
1385
+
1386
+ export interface V2ModifierNutritionDTO {
1387
+ kcal?: number;
1388
+ calories?: Record<string, any>;
1389
+ }
1390
+
1391
+ export interface V2CertifiedDTO {
1392
+ vegan?: boolean;
1393
+ }
1394
+
1395
+ export interface V2ModifierSetsDTO {
1396
+ category?: string;
1397
+ list?: string[];
1398
+ }
1399
+
1400
+ export interface V2ModifierMetaDTO {
1401
+ sort_number?: number;
1402
+ menu_sort_number?: Record<string, any>;
1403
+ }
1404
+
1405
+ export interface V2ModifierIsDTO {
1406
+ disabled?: boolean;
1407
+ hidden?: boolean;
1408
+ out_of_stock?: boolean;
1409
+ }
1410
+
1411
+ export interface V2ItemImageDTO {
1412
+ src?: string;
1413
+ }
1414
+
1415
+ export interface V2ItemIsDTO {
1416
+ meq_eligible?: boolean;
1417
+ deleted?: boolean;
1418
+ featured?: boolean;
1419
+ disabled?: boolean;
1420
+ hidden?: boolean;
1421
+ out_of_stock?: boolean;
1422
+ }
1423
+
1424
+ export interface V2CategoryIsDTO {
1425
+ disabled?: boolean;
1426
+ hidden?: boolean;
1427
+ linked?: boolean;
1428
+ }
1429
+
1430
+ export interface V2CategoryMetaDTO {
1431
+ original_label?: Record<string, any>;
1432
+ sort_number?: number;
1433
+ menu_sort_number?: Record<string, any>;
1434
+ }
1435
+
1436
+ export interface V2MenuIsDTO {
1437
+ disabled?: boolean;
1438
+ hidden?: boolean;
1439
+ linked?: boolean;
1440
+ promo_exemptions_enabled?: boolean;
1441
+ plu_enabled?: boolean;
1442
+ item_images_enabled?: boolean;
1443
+ item_showcase_enabled?: boolean;
1444
+ item_desc_edit_enabled?: boolean;
1445
+ calories_edit_enabled?: boolean;
1446
+ item_label_edit_enabled?: boolean;
1447
+ }
1448
+
1449
+ export interface V2MetaDTO {
1450
+ locked_by_user?: string;
1451
+ last_modified_user?: string;
1452
+ version?: number;
1453
+ }
1454
+
1173
1455
  export interface PublishedCategoryPublishedCategoryDTO {
1174
1456
  parent_id?: FilterFieldDTO;
1175
1457
  name?: FilterFieldDTO;
@@ -1265,6 +1547,8 @@ export interface DraftItemEntityDTO {
1265
1547
  brand_id: string;
1266
1548
  line_route?: string;
1267
1549
  posid_segment?: string;
1550
+ menu_works?: MenuWorksDTO;
1551
+ is_out_of_stock?: boolean;
1268
1552
  applied_diff_snapshot?: Record<string, any>;
1269
1553
  version?: number;
1270
1554
  brand?: DraftBrandDTO;
@@ -1292,6 +1576,7 @@ export interface PublishedItemPublishedItemDTO {
1292
1576
  brand_id?: FilterFieldDTO;
1293
1577
  line_route?: FilterFieldDTO;
1294
1578
  posid_segment?: FilterFieldDTO;
1579
+ is_out_of_stock?: FilterFieldDTO;
1295
1580
  id?: FilterFieldDTO;
1296
1581
  version?: FilterFieldDTO;
1297
1582
  created_at?: FilterFieldDTO;
@@ -1305,6 +1590,7 @@ export interface PublishedItemPublishedItemDTO {
1305
1590
  reporting?: ReportingMetadataDTO;
1306
1591
  attachments?: FileAttachmentsDTO;
1307
1592
  weight?: WeightDTO;
1593
+ menu_works?: MenuWorksDTO;
1308
1594
  permissions?: FilterFieldDTO;
1309
1595
  [index: string]: any;
1310
1596
  }
@@ -1361,6 +1647,8 @@ export interface PublishedModifierGroupPublishedModifierGroupDTO {
1361
1647
  is_active?: FilterFieldDTO;
1362
1648
  limit?: FilterFieldDTO;
1363
1649
  brand_id?: FilterFieldDTO;
1650
+ order_type?: FilterFieldDTO;
1651
+ is_out_of_stock?: FilterFieldDTO;
1364
1652
  id?: FilterFieldDTO;
1365
1653
  version?: FilterFieldDTO;
1366
1654
  created_at?: FilterFieldDTO;
@@ -1439,6 +1727,8 @@ export interface DraftModifierEntityDTO {
1439
1727
  posid_segment?: string;
1440
1728
  brand_id: string;
1441
1729
  sizing?: Record<string, any>[];
1730
+ menu_works?: MenuWorksDTO;
1731
+ is_out_of_stock?: boolean;
1442
1732
  applied_diff_snapshot?: Record<string, any>;
1443
1733
  version?: number;
1444
1734
  brand?: DraftBrandDTO;
@@ -1463,6 +1753,7 @@ export interface PublishedModifierPublishedModifierDTO {
1463
1753
  posid_segment?: FilterFieldDTO;
1464
1754
  brand_id?: FilterFieldDTO;
1465
1755
  sizing?: FilterFieldDTO[];
1756
+ is_out_of_stock?: FilterFieldDTO;
1466
1757
  id?: FilterFieldDTO;
1467
1758
  version?: FilterFieldDTO;
1468
1759
  created_at?: FilterFieldDTO;
@@ -1475,6 +1766,7 @@ export interface PublishedModifierPublishedModifierDTO {
1475
1766
  reporting?: ReportingMetadataDTO;
1476
1767
  weight?: WeightDTO;
1477
1768
  attachments?: FileAttachmentsDTO;
1769
+ menu_works?: MenuWorksDTO;
1478
1770
  permissions?: FilterFieldDTO;
1479
1771
  [index: string]: any;
1480
1772
  }
@@ -3859,6 +4151,35 @@ export interface GetMenuV3MenuCategoriesRequest
3859
4151
  RequestQuery<GetMenuV3MenuCategoriesQuery>,
3860
4152
  GetMenuV3MenuCategoriesPath {}
3861
4153
 
4154
+ // PATCH /menu/v3/{id}/stock
4155
+
4156
+ export interface PatchMenuV3StockPath {
4157
+ id: string;
4158
+ }
4159
+
4160
+ export interface PatchMenuV3StockBody {
4161
+ id: string;
4162
+ groups?: GroupStockUpdate[];
4163
+ [index: string]: any;
4164
+ }
4165
+
4166
+ export interface PatchMenuV3StockResponse {
4167
+ id?: string;
4168
+ date?: V2MenuDateDTO;
4169
+ label?: V2MenuLabelDTO;
4170
+ groups?: V2CategoryDTO[];
4171
+ parent_id?: string;
4172
+ location_brand?: string;
4173
+ company?: string;
4174
+ sector?: string;
4175
+ is?: V2MenuIsDTO;
4176
+ meta?: V2MetaDTO;
4177
+ }
4178
+
4179
+ export interface PatchMenuV3StockRequest extends BaseRequest, PatchMenuV3StockPath {
4180
+ body: PatchMenuV3StockBody;
4181
+ }
4182
+
3862
4183
  // POST /menu/v3/draft/category
3863
4184
 
3864
4185
  export interface PostMenuV3DraftCategoryBody {
@@ -4357,6 +4678,8 @@ export interface PostMenuV3DraftItemBody {
4357
4678
  brand_id: string;
4358
4679
  line_route?: string;
4359
4680
  posid_segment?: string;
4681
+ menu_works?: MenuWorksDTO;
4682
+ is_out_of_stock?: boolean;
4360
4683
  id?: Record<string, any>;
4361
4684
  applied_diff_snapshot?: Record<string, any>;
4362
4685
  brand?: DraftBrandDTO;
@@ -4423,6 +4746,8 @@ export interface PatchMenuV3DraftItemBody {
4423
4746
  brand_id?: string;
4424
4747
  line_route?: string;
4425
4748
  posid_segment?: string;
4749
+ menu_works?: MenuWorksDTO;
4750
+ is_out_of_stock?: boolean;
4426
4751
  applied_diff_snapshot?: Record<string, any>;
4427
4752
  version?: number;
4428
4753
  brand?: DraftBrandDTO;
@@ -4505,6 +4830,8 @@ export type PostMenuV3DraftItemsBody = {
4505
4830
  brand_id: string;
4506
4831
  line_route?: string;
4507
4832
  posid_segment?: string;
4833
+ menu_works?: MenuWorksDTO;
4834
+ is_out_of_stock?: boolean;
4508
4835
  id?: Record<string, any>;
4509
4836
  applied_diff_snapshot?: Record<string, any>;
4510
4837
  brand?: DraftBrandDTO;
@@ -4591,6 +4918,8 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
4591
4918
  brand_id?: string;
4592
4919
  line_route?: string;
4593
4920
  posid_segment?: string;
4921
+ menu_works?: MenuWorksDTO;
4922
+ is_out_of_stock?: boolean;
4594
4923
  applied_diff_snapshot?: Record<string, any>;
4595
4924
  brand?: DraftBrandDTO;
4596
4925
  categories?: DraftCategoryToItemRelationshipDTO[];
@@ -5034,6 +5363,8 @@ export interface PostMenuV3DraftModifierGroupBody {
5034
5363
  is_active?: boolean;
5035
5364
  limit?: number;
5036
5365
  brand_id: string;
5366
+ order_type?: "selection" | "option" | "quantity";
5367
+ is_out_of_stock?: boolean;
5037
5368
  id?: Record<string, any>;
5038
5369
  applied_diff_snapshot?: Record<string, any>;
5039
5370
  brand?: DraftBrandDTO;
@@ -5091,6 +5422,8 @@ export interface PatchMenuV3DraftModifierGroupBody {
5091
5422
  is_active?: boolean;
5092
5423
  limit?: number;
5093
5424
  brand_id?: string;
5425
+ order_type?: "selection" | "option" | "quantity";
5426
+ is_out_of_stock?: boolean;
5094
5427
  applied_diff_snapshot?: Record<string, any>;
5095
5428
  version?: number;
5096
5429
  brand?: DraftBrandDTO;
@@ -5168,6 +5501,8 @@ export type PostMenuV3DraftModifierGroupsBody = {
5168
5501
  is_active?: boolean;
5169
5502
  limit?: number;
5170
5503
  brand_id: string;
5504
+ order_type?: "selection" | "option" | "quantity";
5505
+ is_out_of_stock?: boolean;
5171
5506
  id?: Record<string, any>;
5172
5507
  applied_diff_snapshot?: Record<string, any>;
5173
5508
  brand?: DraftBrandDTO;
@@ -5230,6 +5565,8 @@ export interface PostMenuV3DraftModifierGroupDuplicateResponse {
5230
5565
  is_active?: boolean;
5231
5566
  limit?: number;
5232
5567
  brand_id: string;
5568
+ order_type?: "selection" | "option" | "quantity";
5569
+ is_out_of_stock?: boolean;
5233
5570
  applied_diff_snapshot?: Record<string, any>;
5234
5571
  version?: number;
5235
5572
  brand?: DraftBrandDTO;
@@ -5602,6 +5939,8 @@ export interface PostMenuV3DraftModifierBody {
5602
5939
  posid_segment?: string;
5603
5940
  brand_id: string;
5604
5941
  sizing?: Record<string, any>[];
5942
+ menu_works?: MenuWorksDTO;
5943
+ is_out_of_stock?: boolean;
5605
5944
  id?: Record<string, any>;
5606
5945
  applied_diff_snapshot?: Record<string, any>;
5607
5946
  brand?: DraftBrandDTO;
@@ -5665,6 +6004,8 @@ export interface PatchMenuV3DraftModifierBody {
5665
6004
  posid_segment?: string;
5666
6005
  brand_id?: string;
5667
6006
  sizing?: Record<string, any>[];
6007
+ menu_works?: MenuWorksDTO;
6008
+ is_out_of_stock?: boolean;
5668
6009
  applied_diff_snapshot?: Record<string, any>;
5669
6010
  version?: number;
5670
6011
  brand?: DraftBrandDTO;
@@ -5746,6 +6087,8 @@ export type PostMenuV3DraftModifiersBody = {
5746
6087
  posid_segment?: string;
5747
6088
  brand_id: string;
5748
6089
  sizing?: Record<string, any>[];
6090
+ menu_works?: MenuWorksDTO;
6091
+ is_out_of_stock?: boolean;
5749
6092
  id?: Record<string, any>;
5750
6093
  applied_diff_snapshot?: Record<string, any>;
5751
6094
  brand?: DraftBrandDTO;
@@ -5808,6 +6151,8 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
5808
6151
  posid_segment?: string;
5809
6152
  brand_id?: string;
5810
6153
  sizing?: Record<string, any>[];
6154
+ menu_works?: MenuWorksDTO;
6155
+ is_out_of_stock?: boolean;
5811
6156
  applied_diff_snapshot?: Record<string, any>;
5812
6157
  brand?: DraftBrandDTO;
5813
6158
  changes?: ModifierChangeDTO[];
@@ -6033,3 +6378,27 @@ export interface GetMenuV3GlobalDiffsCountResponse {
6033
6378
  export interface GetMenuV3GlobalDiffsCountRequest
6034
6379
  extends BaseRequest,
6035
6380
  RequestQuery<GetMenuV3GlobalDiffsCountQuery> {}
6381
+
6382
+ // GET menu/v3/menuworks
6383
+
6384
+ export interface GetMenuV3MenuworksQuery {
6385
+ unit_id?: string;
6386
+ MRN?: string;
6387
+ // Graphql query string
6388
+ _query?: string;
6389
+ }
6390
+
6391
+ export interface GetMenuV3MenuworksResponse {
6392
+ MRN?: string;
6393
+ unit_id?: string;
6394
+ portion_quantity?: number;
6395
+ portion_unit_name?: string;
6396
+ grams?: number;
6397
+ cost?: number;
6398
+ calories?: number;
6399
+ [index: string]: any;
6400
+ }
6401
+
6402
+ export interface GetMenuV3MenuworksRequest
6403
+ extends BaseRequest,
6404
+ RequestQuery<GetMenuV3MenuworksQuery> {}
@@ -184,6 +184,23 @@ export interface HpcIframe {
184
184
  sessionKey?: string;
185
185
  }
186
186
 
187
+ export interface ApplePayMerchantSession {
188
+ merchant_session?: {
189
+ epochTimestamp?: number;
190
+ expiresAt?: number;
191
+ nonce?: string;
192
+ merchantIdentifier?: string;
193
+ merchantSessionIdentifier?: string;
194
+ operationalAnalyticsIdentifier?: string;
195
+ domainName?: string;
196
+ displayName?: string;
197
+ signature?: string;
198
+ retries?: number;
199
+ pspId?: string;
200
+ [index: string]: any;
201
+ };
202
+ }
203
+
187
204
  // POST /payment/{id}/transaction
188
205
 
189
206
  export interface PostPaymentTransactionPath {
@@ -515,3 +532,16 @@ export type PostPaymentConfigvalidateResponse = Success;
515
532
  export interface PostPaymentConfigvalidateRequest extends BaseRequest {
516
533
  body: PostPaymentConfigvalidateBody;
517
534
  }
535
+
536
+ // POST /payment/validatemerchant
537
+
538
+ export interface PostPaymentValidatemerchantBody {
539
+ validation_url: string;
540
+ display_name: string;
541
+ }
542
+
543
+ export type PostPaymentValidatemerchantResponse = ApplePayMerchantSession;
544
+
545
+ export interface PostPaymentValidatemerchantRequest extends BaseRequest {
546
+ body: PostPaymentValidatemerchantBody;
547
+ }
@@ -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