@compassdigital/sdk.typescript 3.76.0 → 3.77.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.
@@ -395,6 +395,12 @@ export interface NotFoundErrorDTO {
395
395
  [index: string]: any;
396
396
  }
397
397
 
398
+ export interface VersionMismatchErrorDTO {
399
+ number: number;
400
+ message: string;
401
+ [index: string]: any;
402
+ }
403
+
398
404
  export interface FilterFieldDTO {
399
405
  // Alternatively you can pass in the value directly (like '{ key: value }' instead of '{ key : { $equal : value } }
400
406
  $equals?: string;
@@ -685,7 +691,7 @@ export interface FileAttachmentsDTO {
685
691
  }
686
692
 
687
693
  export interface WeightDTO {
688
- unit?: string;
694
+ unit?: FilterFieldDTO;
689
695
  amount?: FilterFieldDTO;
690
696
  id?: any;
691
697
  [index: string]: any;
@@ -708,6 +714,7 @@ export interface DraftModifierDTO {
708
714
  posid?: FilterFieldDTO;
709
715
  reporting?: any;
710
716
  brand_id?: string;
717
+ applied_diff_snapshot?: FilterFieldDTO;
711
718
  brand?: any;
712
719
  changes?: ModifierChangeDTO[];
713
720
  vendor_metadata?: VendorMetadataDTO[];
@@ -725,6 +732,7 @@ export interface DraftModifierGroupToModifierRelationshipDTO {
725
732
  modifier_group_id?: string;
726
733
  brand_id?: FilterFieldDTO;
727
734
  sequence?: number;
735
+ applied_diff_snapshot?: FilterFieldDTO;
728
736
  modifier?: any;
729
737
  modifier_group?: DraftModifierGroupDTO;
730
738
  brand?: any;
@@ -747,6 +755,7 @@ export interface DraftModifierGroupDTO {
747
755
  max?: number;
748
756
  is_active?: boolean;
749
757
  brand_id?: string;
758
+ applied_diff_snapshot?: FilterFieldDTO;
750
759
  brand?: any;
751
760
  changes?: ModifierGroupChangeDTO[];
752
761
  vendor_metadata?: VendorMetadataDTO[];
@@ -763,6 +772,7 @@ export interface DraftItemToModifierGroupRelationshipDTO {
763
772
  item_id?: string;
764
773
  brand_id?: FilterFieldDTO;
765
774
  sequence?: number;
775
+ applied_diff_snapshot?: FilterFieldDTO;
766
776
  item?: DraftItemDTO;
767
777
  modifier_group?: any;
768
778
  brand?: any;
@@ -791,6 +801,7 @@ export interface DraftItemDTO {
791
801
  tax_tags?: FilterFieldDTO[];
792
802
  brand_id?: string;
793
803
  line_route?: FilterFieldDTO;
804
+ applied_diff_snapshot?: FilterFieldDTO;
794
805
  brand?: any;
795
806
  categories?: DraftCategoryToItemRelationshipDTO[];
796
807
  changes?: ItemChangeDTO[];
@@ -810,6 +821,7 @@ export interface DraftCategoryToItemRelationshipDTO {
810
821
  category_id?: string;
811
822
  brand_id?: FilterFieldDTO;
812
823
  sequence?: number;
824
+ applied_diff_snapshot?: FilterFieldDTO;
813
825
  category?: DraftCategoryDTO;
814
826
  item?: any;
815
827
  brand?: any;
@@ -830,6 +842,7 @@ export interface DraftCategoryDTO {
830
842
  is_active?: boolean;
831
843
  brand_id?: string;
832
844
  menu_id?: string;
845
+ applied_diff_snapshot?: FilterFieldDTO;
833
846
  menu?: DraftMenuDTO;
834
847
  items?: any[];
835
848
  brand?: any;
@@ -847,6 +860,7 @@ export interface DraftMenuDTO {
847
860
  parent_id?: string;
848
861
  name?: string;
849
862
  brand_id?: string;
863
+ applied_diff_snapshot?: FilterFieldDTO;
850
864
  brand?: any;
851
865
  changes?: MenuChangeDTO[];
852
866
  vendor_metadata?: VendorMetadataDTO[];
@@ -945,6 +959,7 @@ export interface BrandStatusDTO {
945
959
  }
946
960
 
947
961
  export interface DraftMenuDraftMenuDTO {
962
+ applied_diff_snapshot?: FilterFieldDTO;
948
963
  parent_id?: FilterFieldDTO;
949
964
  name?: FilterFieldDTO;
950
965
  brand_id?: FilterFieldDTO;
@@ -964,6 +979,7 @@ export interface DraftMenuDraftMenuDTO {
964
979
  }
965
980
 
966
981
  export interface DraftModifierDraftModifierDTO {
982
+ applied_diff_snapshot?: FilterFieldDTO;
967
983
  parent_id?: FilterFieldDTO;
968
984
  name?: FilterFieldDTO;
969
985
  label?: FilterFieldDTO;
@@ -993,6 +1009,7 @@ export interface DraftModifierDraftModifierDTO {
993
1009
  }
994
1010
 
995
1011
  export interface DraftModifierGroupDraftModifierGroupDTO {
1012
+ applied_diff_snapshot?: FilterFieldDTO;
996
1013
  parent_id?: FilterFieldDTO;
997
1014
  name?: FilterFieldDTO;
998
1015
  label?: FilterFieldDTO;
@@ -1017,6 +1034,7 @@ export interface DraftModifierGroupDraftModifierGroupDTO {
1017
1034
  }
1018
1035
 
1019
1036
  export interface DraftItemDraftItemDTO {
1037
+ applied_diff_snapshot?: FilterFieldDTO;
1020
1038
  parent_id?: FilterFieldDTO;
1021
1039
  name?: FilterFieldDTO;
1022
1040
  label?: FilterFieldDTO;
@@ -1069,6 +1087,7 @@ export interface GlobalDiffGlobalDiffDTO {
1069
1087
  entity_type?: FilterFieldDTO;
1070
1088
  local_id?: FilterFieldDTO;
1071
1089
  changes?: FilterFieldDTO;
1090
+ local_changes?: FilterFieldDTO;
1072
1091
  local_snapshot?: FilterFieldDTO;
1073
1092
  global_id?: FilterFieldDTO;
1074
1093
  global_snapshot?: FilterFieldDTO;
@@ -1096,6 +1115,7 @@ export interface DiffDTO {
1096
1115
  entity_type?: string;
1097
1116
  local_id?: string;
1098
1117
  changes?: any;
1118
+ local_changes?: any;
1099
1119
  local_snapshot?: any;
1100
1120
  global_id?: string;
1101
1121
  global_snapshot?: any;
@@ -1108,6 +1128,12 @@ export interface DiffDTO {
1108
1128
  [index: string]: any;
1109
1129
  }
1110
1130
 
1131
+ export interface ApplyDiffDTO {
1132
+ overwrite?: boolean;
1133
+ id: string;
1134
+ [index: string]: any;
1135
+ }
1136
+
1111
1137
  export interface PublishedBrandPublishedBrandDTO {
1112
1138
  name?: FilterFieldDTO;
1113
1139
  description?: FilterFieldDTO;
@@ -1140,6 +1166,7 @@ export interface PublishedBrandPublishedBrandDTO {
1140
1166
  }
1141
1167
 
1142
1168
  export interface DraftCategoryDraftCategoryDTO {
1169
+ applied_diff_snapshot?: FilterFieldDTO;
1143
1170
  parent_id?: FilterFieldDTO;
1144
1171
  name?: FilterFieldDTO;
1145
1172
  label?: FilterFieldDTO;
@@ -1203,6 +1230,7 @@ export interface PublishedCategoryPublishedCategoryDTO {
1203
1230
  }
1204
1231
 
1205
1232
  export interface DraftCategoryToItemRelationshipDraftCategoryToItemRelationshipDTO {
1233
+ applied_diff_snapshot?: FilterFieldDTO;
1206
1234
  parent_id?: FilterFieldDTO;
1207
1235
  deleted_at?: FilterFieldDTO;
1208
1236
  item_id?: FilterFieldDTO;
@@ -1244,6 +1272,40 @@ export interface PublishedCategoryToItemRelationshipPublishedCategoryToItemRelat
1244
1272
  [index: string]: any;
1245
1273
  }
1246
1274
 
1275
+ export interface DraftItemEntityDTO {
1276
+ parent?: DraftItemDTO;
1277
+ children?: DraftItemDTO[];
1278
+ posid_segment?: POSIDSegmentDTO;
1279
+ modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
1280
+ id?: string;
1281
+ created_at?: string;
1282
+ updated_at?: string;
1283
+ deleted_at?: string;
1284
+ parent_id?: string;
1285
+ name: string;
1286
+ label?: string;
1287
+ description?: string;
1288
+ reporting: ReportingMetadataDTO;
1289
+ price: number;
1290
+ barcode?: string;
1291
+ calories?: number;
1292
+ is_active?: boolean;
1293
+ posid?: string;
1294
+ tax_tags?: any[];
1295
+ brand_id: string;
1296
+ line_route?: string;
1297
+ applied_diff_snapshot?: any;
1298
+ version?: number;
1299
+ brand?: DraftBrandDTO;
1300
+ categories?: DraftCategoryToItemRelationshipDTO[];
1301
+ changes?: ItemChangeDTO[];
1302
+ vendor_metadata?: VendorMetadataDTO[];
1303
+ attachments?: FileAttachmentsDTO;
1304
+ weight?: WeightDTO;
1305
+ permissions?: any;
1306
+ [index: string]: any;
1307
+ }
1308
+
1247
1309
  export interface PublishedItemPublishedItemDTO {
1248
1310
  parent_id?: FilterFieldDTO;
1249
1311
  name?: FilterFieldDTO;
@@ -1276,6 +1338,7 @@ export interface PublishedItemPublishedItemDTO {
1276
1338
  }
1277
1339
 
1278
1340
  export interface DraftItemToModifierGroupRelationshipDraftItemToModifierGroupRelationshipDTO {
1341
+ applied_diff_snapshot?: FilterFieldDTO;
1279
1342
  parent_id?: FilterFieldDTO;
1280
1343
  deleted_at?: FilterFieldDTO;
1281
1344
  modifier_group_id?: FilterFieldDTO;
@@ -1340,6 +1403,7 @@ export interface PublishedModifierGroupPublishedModifierGroupDTO {
1340
1403
  }
1341
1404
 
1342
1405
  export interface DraftModifierGroupToModifierRelationshipDraftModifierGroupToModifierRelationshipDTO {
1406
+ applied_diff_snapshot?: FilterFieldDTO;
1343
1407
  parent_id?: FilterFieldDTO;
1344
1408
  deleted_at?: FilterFieldDTO;
1345
1409
  modifier_id?: FilterFieldDTO;
@@ -1381,6 +1445,36 @@ export interface PublishedModifierGroupToModifierRelationshipPublishedModifierGr
1381
1445
  [index: string]: any;
1382
1446
  }
1383
1447
 
1448
+ export interface DraftModifierEntityDTO {
1449
+ parent?: DraftModifierDTO;
1450
+ children?: DraftModifierDTO[];
1451
+ posid_segment?: POSIDSegmentDTO;
1452
+ modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
1453
+ id?: string;
1454
+ created_at?: string;
1455
+ updated_at?: string;
1456
+ deleted_at?: string;
1457
+ parent_id?: string;
1458
+ name: string;
1459
+ label?: string;
1460
+ description?: string;
1461
+ price: number;
1462
+ calories?: number;
1463
+ tax_tags?: any[];
1464
+ is_active?: boolean;
1465
+ posid?: string;
1466
+ reporting: ReportingMetadataDTO;
1467
+ brand_id: string;
1468
+ applied_diff_snapshot?: any;
1469
+ version?: number;
1470
+ brand?: DraftBrandDTO;
1471
+ changes?: ModifierChangeDTO[];
1472
+ vendor_metadata?: VendorMetadataDTO[];
1473
+ weight?: WeightDTO;
1474
+ permissions?: any;
1475
+ [index: string]: any;
1476
+ }
1477
+
1384
1478
  export interface PublishedModifierPublishedModifierDTO {
1385
1479
  parent_id?: FilterFieldDTO;
1386
1480
  name?: FilterFieldDTO;
@@ -1417,6 +1511,7 @@ export interface GlobalDiffDTO {
1417
1511
  entity_type?: string;
1418
1512
  local_id?: string;
1419
1513
  changes?: any;
1514
+ local_changes?: any;
1420
1515
  local_snapshot?: any;
1421
1516
  global_id?: string;
1422
1517
  global_snapshot?: any;
@@ -1461,29 +1556,32 @@ export interface GetMenusRequest extends BaseRequest, RequestQuery<GetMenusQuery
1461
1556
 
1462
1557
  // POST /menu - Create a new Menu
1463
1558
 
1464
- export type PostMenuBody = Menu;
1559
+ export type CreateMenuBody = Menu;
1465
1560
 
1466
- export type PostMenuResponse = Menu;
1561
+ export type CreateMenuResponse = Menu;
1467
1562
 
1468
- export interface PostMenuRequest extends BaseRequest {
1469
- body: PostMenuBody;
1563
+ export interface CreateMenuRequest extends BaseRequest {
1564
+ body: CreateMenuBody;
1470
1565
  }
1471
1566
 
1472
1567
  // HEAD /menu/{id} - Get an individual Menu
1473
1568
 
1474
- export interface HeadMenuPath {
1569
+ export interface GetMenuHeadersPath {
1475
1570
  // menu
1476
1571
  id: string;
1477
1572
  }
1478
1573
 
1479
- export interface HeadMenuQuery {
1574
+ export interface GetMenuHeadersQuery {
1480
1575
  // fields to return
1481
1576
  _query?: string;
1482
1577
  }
1483
1578
 
1484
- export type HeadMenuResponse = any;
1579
+ export type GetMenuHeadersResponse = any;
1485
1580
 
1486
- export interface HeadMenuRequest extends BaseRequest, RequestQuery<HeadMenuQuery>, HeadMenuPath {}
1581
+ export interface GetMenuHeadersRequest
1582
+ extends BaseRequest,
1583
+ RequestQuery<GetMenuHeadersQuery>,
1584
+ GetMenuHeadersPath {}
1487
1585
 
1488
1586
  // GET /menu/{id} - Get an individual Menu
1489
1587
 
@@ -1510,22 +1608,25 @@ export interface GetMenuRequest extends BaseRequest, RequestQuery<GetMenuQuery>,
1510
1608
 
1511
1609
  // PUT /menu/{id} - Override a complete Menu
1512
1610
 
1513
- export interface PutMenuPath {
1611
+ export interface UpdateMenuPath {
1514
1612
  // menu
1515
1613
  id: string;
1516
1614
  }
1517
1615
 
1518
- export interface PutMenuQuery {
1616
+ export interface UpdateMenuQuery {
1519
1617
  // fields to return
1520
1618
  _query?: string;
1521
1619
  }
1522
1620
 
1523
- export type PutMenuBody = Menu;
1621
+ export type UpdateMenuBody = Menu;
1524
1622
 
1525
- export type PutMenuResponse = Menu;
1623
+ export type UpdateMenuResponse = Menu;
1526
1624
 
1527
- export interface PutMenuRequest extends BaseRequest, RequestQuery<PutMenuQuery>, PutMenuPath {
1528
- body: PutMenuBody;
1625
+ export interface UpdateMenuRequest
1626
+ extends BaseRequest,
1627
+ RequestQuery<UpdateMenuQuery>,
1628
+ UpdateMenuPath {
1629
+ body: UpdateMenuBody;
1529
1630
  }
1530
1631
 
1531
1632
  // DELETE /menu/{id} - Delete a Menu
@@ -1569,56 +1670,53 @@ export interface PatchMenuRequest extends BaseRequest, RequestQuery<PatchMenuQue
1569
1670
 
1570
1671
  // POST /menu/import - Import an existing Menu
1571
1672
 
1572
- export interface PostMenuImportMenuBody {
1673
+ export interface ImportMenuBody {
1573
1674
  // menu
1574
1675
  menu?: string;
1575
1676
  }
1576
1677
 
1577
- export type PostMenuImportMenuResponse = Menu;
1678
+ export type ImportMenuResponse = Menu;
1578
1679
 
1579
- export interface PostMenuImportMenuRequest extends BaseRequest {
1580
- body: PostMenuImportMenuBody;
1680
+ export interface ImportMenuRequest extends BaseRequest {
1681
+ body: ImportMenuBody;
1581
1682
  }
1582
1683
 
1583
1684
  // GET /menu/item/{id} - Get menu item
1584
1685
 
1585
- export interface GetMenuItemPath {
1686
+ export interface GetItemPath {
1586
1687
  // Item ID
1587
1688
  id: string;
1588
1689
  }
1589
1690
 
1590
- export interface GetMenuItemQuery {
1691
+ export interface GetItemQuery {
1591
1692
  // Graphql query string
1592
1693
  _query?: string;
1593
1694
  nocache?: boolean;
1594
1695
  }
1595
1696
 
1596
- export type GetMenuItemResponse = Item;
1697
+ export type GetItemResponse = Item;
1597
1698
 
1598
- export interface GetMenuItemRequest
1599
- extends BaseRequest,
1600
- RequestQuery<GetMenuItemQuery>,
1601
- GetMenuItemPath {}
1699
+ export interface GetItemRequest extends BaseRequest, RequestQuery<GetItemQuery>, GetItemPath {}
1602
1700
 
1603
1701
  // DELETE /menu/item/{id} - Delete a menu item
1604
1702
 
1605
- export interface DeleteMenuItemPath {
1703
+ export interface DeleteItemPath {
1606
1704
  // Item ID
1607
1705
  id: string;
1608
1706
  }
1609
1707
 
1610
- export type DeleteMenuItemResponse = Success;
1708
+ export type DeleteItemResponse = Success;
1611
1709
 
1612
- export interface DeleteMenuItemRequest extends BaseRequest, DeleteMenuItemPath {}
1710
+ export interface DeleteItemRequest extends BaseRequest, DeleteItemPath {}
1613
1711
 
1614
1712
  // POST /menu/item - Create a menu item
1615
1713
 
1616
- export type PostMenuItemBody = Item;
1714
+ export type CreateItemBody = Item;
1617
1715
 
1618
- export type PostMenuItemResponse = Item;
1716
+ export type CreateItemResponse = Item;
1619
1717
 
1620
- export interface PostMenuItemRequest extends BaseRequest {
1621
- body: PostMenuItemBody;
1718
+ export interface CreateItemRequest extends BaseRequest {
1719
+ body: CreateItemBody;
1622
1720
  }
1623
1721
 
1624
1722
  // GET /menu/items - Search for menu items
@@ -1635,44 +1733,42 @@ export interface GetMenuItemsRequest extends BaseRequest, RequestQuery<GetMenuIt
1635
1733
 
1636
1734
  // POST /menu/items/import/{location} - trigger import items
1637
1735
 
1638
- export interface PostMenuImportItemsCanteenPath {
1736
+ export interface ImportItemsCanteenPath {
1639
1737
  // Location ID
1640
1738
  location: string;
1641
1739
  }
1642
1740
 
1643
- export type PostMenuImportItemsCanteenResponse = Success;
1741
+ export type ImportItemsCanteenResponse = Success;
1644
1742
 
1645
- export interface PostMenuImportItemsCanteenRequest
1646
- extends BaseRequest,
1647
- PostMenuImportItemsCanteenPath {}
1743
+ export interface ImportItemsCanteenRequest extends BaseRequest, ImportItemsCanteenPath {}
1648
1744
 
1649
1745
  // GET /menu/items/location/{location} - Get all menu items for a location
1650
1746
 
1651
- export interface GetMenuLocationItemsPath {
1747
+ export interface GetLocationItemsPath {
1652
1748
  // Location ID
1653
1749
  location: string;
1654
1750
  }
1655
1751
 
1656
- export interface GetMenuLocationItemsQuery {
1752
+ export interface GetLocationItemsQuery {
1657
1753
  // Graphql query string
1658
1754
  _query?: string;
1659
1755
  }
1660
1756
 
1661
- export type GetMenuLocationItemsResponse = Items;
1757
+ export type GetLocationItemsResponse = Items;
1662
1758
 
1663
- export interface GetMenuLocationItemsRequest
1759
+ export interface GetLocationItemsRequest
1664
1760
  extends BaseRequest,
1665
- RequestQuery<GetMenuLocationItemsQuery>,
1666
- GetMenuLocationItemsPath {}
1761
+ RequestQuery<GetLocationItemsQuery>,
1762
+ GetLocationItemsPath {}
1667
1763
 
1668
1764
  // GET /menu/item/random/location/{location} - Get a random item
1669
1765
 
1670
- export interface GetMenuLocationItemRandomPath {
1766
+ export interface GetLocationItemRandomPath {
1671
1767
  // Location ID
1672
1768
  location: string;
1673
1769
  }
1674
1770
 
1675
- export interface GetMenuLocationItemRandomQuery {
1771
+ export interface GetLocationItemRandomQuery {
1676
1772
  // The idfa of the requesting device
1677
1773
  idfa?: string;
1678
1774
  // Is this device being used in a public area
@@ -1683,21 +1779,21 @@ export interface GetMenuLocationItemRandomQuery {
1683
1779
  _query?: string;
1684
1780
  }
1685
1781
 
1686
- export type GetMenuLocationItemRandomResponse = Item;
1782
+ export type GetLocationItemRandomResponse = Item;
1687
1783
 
1688
- export interface GetMenuLocationItemRandomRequest
1784
+ export interface GetLocationItemRandomRequest
1689
1785
  extends BaseRequest,
1690
- RequestQuery<GetMenuLocationItemRandomQuery>,
1691
- GetMenuLocationItemRandomPath {}
1786
+ RequestQuery<GetLocationItemRandomQuery>,
1787
+ GetLocationItemRandomPath {}
1692
1788
 
1693
1789
  // GET /menu/items/random/location/{location} - Get a set of random items
1694
1790
 
1695
- export interface GetMenuLocationItemsRandomPath {
1791
+ export interface GetLocationItemsRandomPath {
1696
1792
  // Location ID
1697
1793
  location: string;
1698
1794
  }
1699
1795
 
1700
- export interface GetMenuLocationItemsRandomQuery {
1796
+ export interface GetLocationItemsRandomQuery {
1701
1797
  // The idfa of the requesting device
1702
1798
  idfa?: string;
1703
1799
  // Is this device being used in a public area
@@ -1710,143 +1806,143 @@ export interface GetMenuLocationItemsRandomQuery {
1710
1806
  _query?: string;
1711
1807
  }
1712
1808
 
1713
- export type GetMenuLocationItemsRandomResponse = Items;
1809
+ export type GetLocationItemsRandomResponse = Items;
1714
1810
 
1715
- export interface GetMenuLocationItemsRandomRequest
1811
+ export interface GetLocationItemsRandomRequest
1716
1812
  extends BaseRequest,
1717
- RequestQuery<GetMenuLocationItemsRandomQuery>,
1718
- GetMenuLocationItemsRandomPath {}
1813
+ RequestQuery<GetLocationItemsRandomQuery>,
1814
+ GetLocationItemsRandomPath {}
1719
1815
 
1720
1816
  // GET /menu/sector/{sector} - Get menus that belong to sector
1721
1817
 
1722
- export interface GetMenuSectorMenusPath {
1818
+ export interface GetSectorMenusPath {
1723
1819
  // Sector ID
1724
1820
  sector: string;
1725
1821
  }
1726
1822
 
1727
- export interface GetMenuSectorMenusQuery {
1823
+ export interface GetSectorMenusQuery {
1728
1824
  // Graphql query string
1729
1825
  _query?: string;
1730
1826
  }
1731
1827
 
1732
- export type GetMenuSectorMenusResponse = Menus;
1828
+ export type GetSectorMenusResponse = Menus;
1733
1829
 
1734
- export interface GetMenuSectorMenusRequest
1830
+ export interface GetSectorMenusRequest
1735
1831
  extends BaseRequest,
1736
- RequestQuery<GetMenuSectorMenusQuery>,
1737
- GetMenuSectorMenusPath {}
1832
+ RequestQuery<GetSectorMenusQuery>,
1833
+ GetSectorMenusPath {}
1738
1834
 
1739
1835
  // GET /menu/company/{company} - Get menus that belong to company
1740
1836
 
1741
- export interface GetMenuCompanyMenusPath {
1837
+ export interface GetCompanyMenusPath {
1742
1838
  // Company ID
1743
1839
  company: string;
1744
1840
  }
1745
1841
 
1746
- export interface GetMenuCompanyMenusQuery {
1842
+ export interface GetCompanyMenusQuery {
1747
1843
  // Graphql query string
1748
1844
  _query?: string;
1749
1845
  }
1750
1846
 
1751
- export type GetMenuCompanyMenusResponse = Menus;
1847
+ export type GetCompanyMenusResponse = Menus;
1752
1848
 
1753
- export interface GetMenuCompanyMenusRequest
1849
+ export interface GetCompanyMenusRequest
1754
1850
  extends BaseRequest,
1755
- RequestQuery<GetMenuCompanyMenusQuery>,
1756
- GetMenuCompanyMenusPath {}
1851
+ RequestQuery<GetCompanyMenusQuery>,
1852
+ GetCompanyMenusPath {}
1757
1853
 
1758
1854
  // POST /menu/modifier/group - Create a new Menu Modifier Group
1759
1855
 
1760
- export type PostMenuModifierGroupBody = CreateOptionsGroup;
1856
+ export type CreateModifierGroupBody = CreateOptionsGroup;
1761
1857
 
1762
- export type PostMenuModifierGroupResponse = OptionsGroup;
1858
+ export type CreateModifierGroupResponse = OptionsGroup;
1763
1859
 
1764
- export interface PostMenuModifierGroupRequest extends BaseRequest {
1765
- body: PostMenuModifierGroupBody;
1860
+ export interface CreateModifierGroupRequest extends BaseRequest {
1861
+ body: CreateModifierGroupBody;
1766
1862
  }
1767
1863
 
1768
1864
  // GET /menu/modifier/group/{id} - Get a Menu Modifier Group
1769
1865
 
1770
- export interface GetMenuModifierGroupPath {
1866
+ export interface GetModifierGroupPath {
1771
1867
  // modifier_group
1772
1868
  id: string;
1773
1869
  }
1774
1870
 
1775
- export interface GetMenuModifierGroupQuery {
1871
+ export interface GetModifierGroupQuery {
1776
1872
  // Graphql query string
1777
1873
  _query?: string;
1778
1874
  }
1779
1875
 
1780
- export type GetMenuModifierGroupResponse = OptionsGroup;
1876
+ export type GetModifierGroupResponse = OptionsGroup;
1781
1877
 
1782
- export interface GetMenuModifierGroupRequest
1878
+ export interface GetModifierGroupRequest
1783
1879
  extends BaseRequest,
1784
- RequestQuery<GetMenuModifierGroupQuery>,
1785
- GetMenuModifierGroupPath {}
1880
+ RequestQuery<GetModifierGroupQuery>,
1881
+ GetModifierGroupPath {}
1786
1882
 
1787
1883
  // PUT /menu/modifier/group/{id} - Update a Menu Modifier Group
1788
1884
 
1789
- export interface PutMenuModifierGroupPath {
1885
+ export interface UpdateModifierGroupPath {
1790
1886
  // modifier_group
1791
1887
  id: string;
1792
1888
  }
1793
1889
 
1794
- export type PutMenuModifierGroupBody = OptionsGroup;
1890
+ export type UpdateModifierGroupBody = OptionsGroup;
1795
1891
 
1796
- export type PutMenuModifierGroupResponse = OptionsGroup;
1892
+ export type UpdateModifierGroupResponse = OptionsGroup;
1797
1893
 
1798
- export interface PutMenuModifierGroupRequest extends BaseRequest, PutMenuModifierGroupPath {
1799
- body: PutMenuModifierGroupBody;
1894
+ export interface UpdateModifierGroupRequest extends BaseRequest, UpdateModifierGroupPath {
1895
+ body: UpdateModifierGroupBody;
1800
1896
  }
1801
1897
 
1802
1898
  // DELETE /menu/modifier/group/{id} - Delete a Menu Modifier Group
1803
1899
 
1804
- export interface DeleteMenuModifierGroupPath {
1900
+ export interface DeleteModifierGroupPath {
1805
1901
  // modifier_group
1806
1902
  id: string;
1807
1903
  }
1808
1904
 
1809
- export type DeleteMenuModifierGroupResponse = Success;
1905
+ export type DeleteModifierGroupResponse = Success;
1810
1906
 
1811
- export interface DeleteMenuModifierGroupRequest extends BaseRequest, DeleteMenuModifierGroupPath {}
1907
+ export interface DeleteModifierGroupRequest extends BaseRequest, DeleteModifierGroupPath {}
1812
1908
 
1813
1909
  // GET /menu/modifier/group/company/{company} - Get the modifier groups that belong to company
1814
1910
 
1815
- export interface GetMenuCompanyModifierGroupsPath {
1911
+ export interface GetCompanyModifierGroupsPath {
1816
1912
  // Company ID
1817
1913
  company: string;
1818
1914
  }
1819
1915
 
1820
- export interface GetMenuCompanyModifierGroupsQuery {
1916
+ export interface GetCompanyModifierGroupsQuery {
1821
1917
  // Graphql query string
1822
1918
  _query?: string;
1823
1919
  }
1824
1920
 
1825
- export type GetMenuCompanyModifierGroupsResponse = OptionsGroupList;
1921
+ export type GetCompanyModifierGroupsResponse = OptionsGroupList;
1826
1922
 
1827
- export interface GetMenuCompanyModifierGroupsRequest
1923
+ export interface GetCompanyModifierGroupsRequest
1828
1924
  extends BaseRequest,
1829
- RequestQuery<GetMenuCompanyModifierGroupsQuery>,
1830
- GetMenuCompanyModifierGroupsPath {}
1925
+ RequestQuery<GetCompanyModifierGroupsQuery>,
1926
+ GetCompanyModifierGroupsPath {}
1831
1927
 
1832
1928
  // GET /menu/modifier/group/company/{company}/export - Export company modifier groups to zipped excel file.
1833
1929
 
1834
- export interface GetMenuCompanyModifierGroupsExportPath {
1930
+ export interface GetCompanyModifierGroupsExportPath {
1835
1931
  // Company ID
1836
1932
  company: string;
1837
1933
  }
1838
1934
 
1839
- export interface GetMenuCompanyModifierGroupsExportQuery {
1935
+ export interface GetCompanyModifierGroupsExportQuery {
1840
1936
  // Graphql query string
1841
1937
  _query?: string;
1842
1938
  }
1843
1939
 
1844
- export type GetMenuCompanyModifierGroupsExportResponse = ZippedExcelExport;
1940
+ export type GetCompanyModifierGroupsExportResponse = ZippedExcelExport;
1845
1941
 
1846
- export interface GetMenuCompanyModifierGroupsExportRequest
1942
+ export interface GetCompanyModifierGroupsExportRequest
1847
1943
  extends BaseRequest,
1848
- RequestQuery<GetMenuCompanyModifierGroupsExportQuery>,
1849
- GetMenuCompanyModifierGroupsExportPath {}
1944
+ RequestQuery<GetCompanyModifierGroupsExportQuery>,
1945
+ GetCompanyModifierGroupsExportPath {}
1850
1946
 
1851
1947
  // GET /menu/{id}/export - Export menu set to zipped excel file.
1852
1948
 
@@ -2024,6 +2120,7 @@ export interface PatchMenuV3LocalMenuGroupBody {
2024
2120
  draft_brands?: DraftBrandDTO[];
2025
2121
  published_brands?: PublishedBrandDTO[];
2026
2122
  id?: string;
2123
+ version?: number;
2027
2124
  vendor_metadata?: VendorMetadataDTO[];
2028
2125
  permissions?: any;
2029
2126
  [index: string]: any;
@@ -2349,6 +2446,7 @@ export interface PatchMenuV3GlobalMenuGroupBody {
2349
2446
  published_brands?: PublishedBrandDTO[];
2350
2447
  posid_segment?: POSIDSegmentDTO;
2351
2448
  id?: string;
2449
+ version?: number;
2352
2450
  vendor_metadata?: VendorMetadataDTO[];
2353
2451
  permissions?: any;
2354
2452
  [index: string]: any;
@@ -2627,6 +2725,7 @@ export interface PatchMenuV3DraftBrandBody {
2627
2725
  parent_id?: string;
2628
2726
  local_menu_group_id?: string;
2629
2727
  global_menu_group_id?: string;
2728
+ version?: number;
2630
2729
  changes?: BrandChangeDTO[];
2631
2730
  local_menu_group?: LocalMenuGroupDTO;
2632
2731
  global_menu_group?: GlobalMenuGroupDTO;
@@ -2980,6 +3079,7 @@ export interface GetMenuV3DraftBrandDiffsQuery {
2980
3079
  soft_deleted?: string;
2981
3080
  // Graphql query string
2982
3081
  _query?: string;
3082
+ nocache?: boolean;
2983
3083
  }
2984
3084
 
2985
3085
  export interface GetMenuV3DraftBrandDiffsResponse {
@@ -2998,7 +3098,7 @@ export interface PostMenuV3DraftBrandGlobalDiffsApplyPath {
2998
3098
  }
2999
3099
 
3000
3100
  export interface PostMenuV3DraftBrandGlobalDiffsApplyQuery {
3001
- "body.diff_ids"?: any[];
3101
+ "body.diffs"?: ApplyDiffDTO[];
3002
3102
  }
3003
3103
 
3004
3104
  export interface PostMenuV3DraftBrandGlobalDiffsApplyResponse {
@@ -3122,6 +3222,7 @@ export interface PatchMenuV3BrandBody {
3122
3222
  parent_id?: string;
3123
3223
  local_menu_group_id?: string;
3124
3224
  global_menu_group_id?: string;
3225
+ version?: number;
3125
3226
  local_menu_group?: LocalMenuGroupDTO;
3126
3227
  global_menu_group?: GlobalMenuGroupDTO;
3127
3228
  attachments?: FileAttachmentsDTO;
@@ -3454,6 +3555,7 @@ export interface PostMenuV3DraftMenuBody {
3454
3555
  name: string;
3455
3556
  brand_id: string;
3456
3557
  id?: any;
3558
+ applied_diff_snapshot?: any;
3457
3559
  brand?: DraftBrandDTO;
3458
3560
  changes?: MenuChangeDTO[];
3459
3561
  vendor_metadata?: VendorMetadataDTO[];
@@ -3503,6 +3605,8 @@ export interface PatchMenuV3DraftMenuBody {
3503
3605
  parent_id?: string;
3504
3606
  name?: string;
3505
3607
  brand_id?: string;
3608
+ applied_diff_snapshot?: any;
3609
+ version?: number;
3506
3610
  brand?: DraftBrandDTO;
3507
3611
  changes?: MenuChangeDTO[];
3508
3612
  vendor_metadata?: VendorMetadataDTO[];
@@ -3567,6 +3671,7 @@ export type PostMenuV3DraftMenusBody = {
3567
3671
  name: string;
3568
3672
  brand_id: string;
3569
3673
  id?: any;
3674
+ applied_diff_snapshot?: any;
3570
3675
  brand?: DraftBrandDTO;
3571
3676
  changes?: MenuChangeDTO[];
3572
3677
  vendor_metadata?: VendorMetadataDTO[];
@@ -3774,6 +3879,7 @@ export interface PostMenuV3DraftCategoryBody {
3774
3879
  brand_id: string;
3775
3880
  menu_id: string;
3776
3881
  id?: any;
3882
+ applied_diff_snapshot?: any;
3777
3883
  menu?: DraftMenuDTO;
3778
3884
  items?: DraftCategoryToItemRelationshipDTO[];
3779
3885
  brand?: DraftBrandDTO;
@@ -3828,6 +3934,8 @@ export interface PatchMenuV3DraftCategoryBody {
3828
3934
  is_active?: boolean;
3829
3935
  brand_id?: string;
3830
3936
  menu_id?: string;
3937
+ applied_diff_snapshot?: any;
3938
+ version?: number;
3831
3939
  menu?: DraftMenuDTO;
3832
3940
  items?: DraftCategoryToItemRelationshipDTO[];
3833
3941
  brand?: DraftBrandDTO;
@@ -3886,6 +3994,7 @@ export type PostMenuV3DraftCategoriesBody = {
3886
3994
  brand_id: string;
3887
3995
  menu_id: string;
3888
3996
  id?: any;
3997
+ applied_diff_snapshot?: any;
3889
3998
  menu?: DraftMenuDTO;
3890
3999
  items?: DraftCategoryToItemRelationshipDTO[];
3891
4000
  brand?: DraftBrandDTO;
@@ -3955,9 +4064,10 @@ export interface PostMenuV3DraftCategoryRelationshipsItemBody {
3955
4064
  parent_id?: string;
3956
4065
  item_id: string;
3957
4066
  category_id: string;
3958
- brand_id?: string;
4067
+ brand_id: string;
3959
4068
  sequence?: number;
3960
4069
  id?: any;
4070
+ applied_diff_snapshot?: any;
3961
4071
  category?: DraftCategoryDTO;
3962
4072
  item?: DraftItemDTO;
3963
4073
  brand?: DraftBrandDTO;
@@ -4010,6 +4120,8 @@ export interface PatchMenuV3DraftCategoryRelationshipsItemBody {
4010
4120
  category_id?: string;
4011
4121
  brand_id?: string;
4012
4122
  sequence?: number;
4123
+ applied_diff_snapshot?: any;
4124
+ version?: number;
4013
4125
  category?: DraftCategoryDTO;
4014
4126
  item?: DraftItemDTO;
4015
4127
  brand?: DraftBrandDTO;
@@ -4078,9 +4190,10 @@ export type PostMenuV3DraftCategoryRelationshipsItemsBody = {
4078
4190
  parent_id?: string;
4079
4191
  item_id: string;
4080
4192
  category_id: string;
4081
- brand_id?: string;
4193
+ brand_id: string;
4082
4194
  sequence?: number;
4083
4195
  id?: any;
4196
+ applied_diff_snapshot?: any;
4084
4197
  category?: DraftCategoryDTO;
4085
4198
  item?: DraftItemDTO;
4086
4199
  brand?: DraftBrandDTO;
@@ -4118,13 +4231,13 @@ export interface GetMenuV3DraftCategoryRelationshipsItemsCountRequest
4118
4231
  extends BaseRequest,
4119
4232
  RequestQuery<GetMenuV3DraftCategoryRelationshipsItemsCountQuery> {}
4120
4233
 
4121
- // GET /menu/v3/category/relationships/modifier-group/{id}
4234
+ // GET /menu/v3/category/relationships/item/{id}
4122
4235
 
4123
- export interface GetMenuV3CategoryRelationshipsModifierGroupPath {
4236
+ export interface GetMenuV3CategoryRelationshipsItemPath {
4124
4237
  id: string;
4125
4238
  }
4126
4239
 
4127
- export interface GetMenuV3CategoryRelationshipsModifierGroupQuery {
4240
+ export interface GetMenuV3CategoryRelationshipsItemQuery {
4128
4241
  // If specified, only the selected fields will be returned
4129
4242
  select?: string[];
4130
4243
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
@@ -4134,17 +4247,16 @@ export interface GetMenuV3CategoryRelationshipsModifierGroupQuery {
4134
4247
  nocache?: boolean;
4135
4248
  }
4136
4249
 
4137
- export type GetMenuV3CategoryRelationshipsModifierGroupResponse =
4138
- PublishedCategoryToItemRelationshipDTO;
4250
+ export type GetMenuV3CategoryRelationshipsItemResponse = PublishedCategoryToItemRelationshipDTO;
4139
4251
 
4140
- export interface GetMenuV3CategoryRelationshipsModifierGroupRequest
4252
+ export interface GetMenuV3CategoryRelationshipsItemRequest
4141
4253
  extends BaseRequest,
4142
- RequestQuery<GetMenuV3CategoryRelationshipsModifierGroupQuery>,
4143
- GetMenuV3CategoryRelationshipsModifierGroupPath {}
4254
+ RequestQuery<GetMenuV3CategoryRelationshipsItemQuery>,
4255
+ GetMenuV3CategoryRelationshipsItemPath {}
4144
4256
 
4145
- // GET /menu/v3/category/relationships/modifier-groups
4257
+ // GET /menu/v3/category/relationships/items
4146
4258
 
4147
- export interface GetMenuV3CategoryRelationshipsModifierGroupsQuery {
4259
+ export interface GetMenuV3CategoryRelationshipsItemsQuery {
4148
4260
  // If specified, only the selected fields will be returned
4149
4261
  select?: string[];
4150
4262
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
@@ -4164,19 +4276,19 @@ export interface GetMenuV3CategoryRelationshipsModifierGroupsQuery {
4164
4276
  nocache?: boolean;
4165
4277
  }
4166
4278
 
4167
- export interface GetMenuV3CategoryRelationshipsModifierGroupsResponse {
4279
+ export interface GetMenuV3CategoryRelationshipsItemsResponse {
4168
4280
  results: PublishedCategoryToItemRelationshipDTO[];
4169
4281
  meta?: ListResponseMetadataDTO;
4170
4282
  [index: string]: any;
4171
4283
  }
4172
4284
 
4173
- export interface GetMenuV3CategoryRelationshipsModifierGroupsRequest
4285
+ export interface GetMenuV3CategoryRelationshipsItemsRequest
4174
4286
  extends BaseRequest,
4175
- RequestQuery<GetMenuV3CategoryRelationshipsModifierGroupsQuery> {}
4287
+ RequestQuery<GetMenuV3CategoryRelationshipsItemsQuery> {}
4176
4288
 
4177
- // GET /menu/v3/category/relationships/modifier-groups/count
4289
+ // GET /menu/v3/category/relationships/items/count
4178
4290
 
4179
- export interface GetMenuV3CategoryRelationshipsModifierGroupsCountQuery {
4291
+ export interface GetMenuV3CategoryRelationshipsItemsCountQuery {
4180
4292
  // The fields that filtering is allowed on
4181
4293
  filter?: any;
4182
4294
  // Graphql query string
@@ -4184,14 +4296,14 @@ export interface GetMenuV3CategoryRelationshipsModifierGroupsCountQuery {
4184
4296
  nocache?: boolean;
4185
4297
  }
4186
4298
 
4187
- export interface GetMenuV3CategoryRelationshipsModifierGroupsCountResponse {
4299
+ export interface GetMenuV3CategoryRelationshipsItemsCountResponse {
4188
4300
  count: number;
4189
4301
  [index: string]: any;
4190
4302
  }
4191
4303
 
4192
- export interface GetMenuV3CategoryRelationshipsModifierGroupsCountRequest
4304
+ export interface GetMenuV3CategoryRelationshipsItemsCountRequest
4193
4305
  extends BaseRequest,
4194
- RequestQuery<GetMenuV3CategoryRelationshipsModifierGroupsCountQuery> {}
4306
+ RequestQuery<GetMenuV3CategoryRelationshipsItemsCountQuery> {}
4195
4307
 
4196
4308
  // POST /menu/v3/draft/item
4197
4309
 
@@ -4214,6 +4326,7 @@ export interface PostMenuV3DraftItemBody {
4214
4326
  brand_id: string;
4215
4327
  line_route?: string;
4216
4328
  id?: any;
4329
+ applied_diff_snapshot?: any;
4217
4330
  brand?: DraftBrandDTO;
4218
4331
  categories?: DraftCategoryToItemRelationshipDTO[];
4219
4332
  changes?: ItemChangeDTO[];
@@ -4277,6 +4390,8 @@ export interface PatchMenuV3DraftItemBody {
4277
4390
  tax_tags?: any[];
4278
4391
  brand_id?: string;
4279
4392
  line_route?: string;
4393
+ applied_diff_snapshot?: any;
4394
+ version?: number;
4280
4395
  brand?: DraftBrandDTO;
4281
4396
  categories?: DraftCategoryToItemRelationshipDTO[];
4282
4397
  changes?: ItemChangeDTO[];
@@ -4355,6 +4470,7 @@ export type PostMenuV3DraftItemsBody = {
4355
4470
  brand_id: string;
4356
4471
  line_route?: string;
4357
4472
  id?: any;
4473
+ applied_diff_snapshot?: any;
4358
4474
  brand?: DraftBrandDTO;
4359
4475
  categories?: DraftCategoryToItemRelationshipDTO[];
4360
4476
  changes?: ItemChangeDTO[];
@@ -4415,6 +4531,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
4415
4531
  tax_tags?: any[];
4416
4532
  brand_id?: string;
4417
4533
  line_route?: string;
4534
+ applied_diff_snapshot?: any;
4418
4535
  brand?: DraftBrandDTO;
4419
4536
  categories?: DraftCategoryToItemRelationshipDTO[];
4420
4537
  changes?: ItemChangeDTO[];
@@ -4426,8 +4543,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
4426
4543
  }
4427
4544
 
4428
4545
  export interface PatchMenuV3DraftItemsBulkUpdateResponse {
4429
- results: any[];
4430
- [index: string]: any;
4546
+ results?: DraftItemEntityDTO[];
4431
4547
  }
4432
4548
 
4433
4549
  export interface PatchMenuV3DraftItemsBulkUpdateRequest extends BaseRequest {
@@ -4462,8 +4578,7 @@ export interface PostMenuV3ItemsImportQuery {
4462
4578
  }
4463
4579
 
4464
4580
  export interface PostMenuV3ItemsImportResponse {
4465
- results: any[];
4466
- [index: string]: any;
4581
+ results?: DraftItemEntityDTO[];
4467
4582
  }
4468
4583
 
4469
4584
  export interface PostMenuV3ItemsImportRequest
@@ -4550,9 +4665,10 @@ export interface PostMenuV3DraftItemRelationshipsModifierGroupBody {
4550
4665
  parent_id?: string;
4551
4666
  modifier_group_id: string;
4552
4667
  item_id: string;
4553
- brand_id?: string;
4668
+ brand_id: string;
4554
4669
  sequence?: number;
4555
4670
  id?: any;
4671
+ applied_diff_snapshot?: any;
4556
4672
  item?: DraftItemDTO;
4557
4673
  modifier_group?: DraftModifierGroupDTO;
4558
4674
  brand?: DraftBrandDTO;
@@ -4607,6 +4723,8 @@ export interface PatchMenuV3DraftItemRelationshipsModifierGroupBody {
4607
4723
  item_id?: string;
4608
4724
  brand_id?: string;
4609
4725
  sequence?: number;
4726
+ applied_diff_snapshot?: any;
4727
+ version?: number;
4610
4728
  item?: DraftItemDTO;
4611
4729
  modifier_group?: DraftModifierGroupDTO;
4612
4730
  brand?: DraftBrandDTO;
@@ -4677,9 +4795,10 @@ export type PostMenuV3DraftItemRelationshipsModifierGroupsBody = {
4677
4795
  parent_id?: string;
4678
4796
  modifier_group_id: string;
4679
4797
  item_id: string;
4680
- brand_id?: string;
4798
+ brand_id: string;
4681
4799
  sequence?: number;
4682
4800
  id?: any;
4801
+ applied_diff_snapshot?: any;
4683
4802
  item?: DraftItemDTO;
4684
4803
  modifier_group?: DraftModifierGroupDTO;
4685
4804
  brand?: DraftBrandDTO;
@@ -4807,6 +4926,7 @@ export interface PostMenuV3DraftModifierGroupBody {
4807
4926
  is_active?: boolean;
4808
4927
  brand_id: string;
4809
4928
  id?: any;
4929
+ applied_diff_snapshot?: any;
4810
4930
  brand?: DraftBrandDTO;
4811
4931
  changes?: ModifierGroupChangeDTO[];
4812
4932
  vendor_metadata?: VendorMetadataDTO[];
@@ -4861,6 +4981,8 @@ export interface PatchMenuV3DraftModifierGroupBody {
4861
4981
  max?: number;
4862
4982
  is_active?: boolean;
4863
4983
  brand_id?: string;
4984
+ applied_diff_snapshot?: any;
4985
+ version?: number;
4864
4986
  brand?: DraftBrandDTO;
4865
4987
  changes?: ModifierGroupChangeDTO[];
4866
4988
  vendor_metadata?: VendorMetadataDTO[];
@@ -4934,6 +5056,7 @@ export type PostMenuV3DraftModifierGroupsBody = {
4934
5056
  is_active?: boolean;
4935
5057
  brand_id: string;
4936
5058
  id?: any;
5059
+ applied_diff_snapshot?: any;
4937
5060
  brand?: DraftBrandDTO;
4938
5061
  changes?: ModifierGroupChangeDTO[];
4939
5062
  vendor_metadata?: VendorMetadataDTO[];
@@ -5051,9 +5174,10 @@ export interface PostMenuV3DraftModifierGroupRelationshipsModifierBody {
5051
5174
  parent_id?: string;
5052
5175
  modifier_id: string;
5053
5176
  modifier_group_id: string;
5054
- brand_id?: string;
5177
+ brand_id: string;
5055
5178
  sequence?: number;
5056
5179
  id?: any;
5180
+ applied_diff_snapshot?: any;
5057
5181
  modifier?: DraftModifierDTO;
5058
5182
  modifier_group?: DraftModifierGroupDTO;
5059
5183
  brand?: DraftBrandDTO;
@@ -5108,6 +5232,8 @@ export interface PatchMenuV3DraftModifierGroupRelationshipsModifierBody {
5108
5232
  modifier_group_id?: string;
5109
5233
  brand_id?: string;
5110
5234
  sequence?: number;
5235
+ applied_diff_snapshot?: any;
5236
+ version?: number;
5111
5237
  modifier?: DraftModifierDTO;
5112
5238
  modifier_group?: DraftModifierGroupDTO;
5113
5239
  brand?: DraftBrandDTO;
@@ -5178,9 +5304,10 @@ export type PostMenuV3DraftModifierGroupRelationshipsModifiersBody = {
5178
5304
  parent_id?: string;
5179
5305
  modifier_id: string;
5180
5306
  modifier_group_id: string;
5181
- brand_id?: string;
5307
+ brand_id: string;
5182
5308
  sequence?: number;
5183
5309
  id?: any;
5310
+ applied_diff_snapshot?: any;
5184
5311
  modifier?: DraftModifierDTO;
5185
5312
  modifier_group?: DraftModifierGroupDTO;
5186
5313
  brand?: DraftBrandDTO;
@@ -5312,6 +5439,7 @@ export interface PostMenuV3DraftModifierBody {
5312
5439
  reporting: ReportingMetadataDTO;
5313
5440
  brand_id: string;
5314
5441
  id?: any;
5442
+ applied_diff_snapshot?: any;
5315
5443
  brand?: DraftBrandDTO;
5316
5444
  changes?: ModifierChangeDTO[];
5317
5445
  vendor_metadata?: VendorMetadataDTO[];
@@ -5371,6 +5499,8 @@ export interface PatchMenuV3DraftModifierBody {
5371
5499
  posid?: string;
5372
5500
  reporting?: ReportingMetadataDTO;
5373
5501
  brand_id?: string;
5502
+ applied_diff_snapshot?: any;
5503
+ version?: number;
5374
5504
  brand?: DraftBrandDTO;
5375
5505
  changes?: ModifierChangeDTO[];
5376
5506
  vendor_metadata?: VendorMetadataDTO[];
@@ -5447,6 +5577,7 @@ export type PostMenuV3DraftModifiersBody = {
5447
5577
  reporting: ReportingMetadataDTO;
5448
5578
  brand_id: string;
5449
5579
  id?: any;
5580
+ applied_diff_snapshot?: any;
5450
5581
  brand?: DraftBrandDTO;
5451
5582
  changes?: ModifierChangeDTO[];
5452
5583
  vendor_metadata?: VendorMetadataDTO[];
@@ -5503,6 +5634,7 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
5503
5634
  posid?: string;
5504
5635
  reporting?: ReportingMetadataDTO;
5505
5636
  brand_id?: string;
5637
+ applied_diff_snapshot?: any;
5506
5638
  brand?: DraftBrandDTO;
5507
5639
  changes?: ModifierChangeDTO[];
5508
5640
  vendor_metadata?: VendorMetadataDTO[];
@@ -5512,8 +5644,7 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
5512
5644
  }
5513
5645
 
5514
5646
  export interface PatchMenuV3DraftModifiersBulkUpdateResponse {
5515
- results: any[];
5516
- [index: string]: any;
5647
+ results?: DraftModifierEntityDTO[];
5517
5648
  }
5518
5649
 
5519
5650
  export interface PatchMenuV3DraftModifiersBulkUpdateRequest extends BaseRequest {
@@ -5633,6 +5764,7 @@ export interface GetMenuV3GlobalDiffResponse {
5633
5764
  entity_type?: string;
5634
5765
  local_id?: string;
5635
5766
  changes?: any;
5767
+ local_changes?: any;
5636
5768
  local_snapshot?: any;
5637
5769
  global_id?: string;
5638
5770
  global_snapshot?: any;