@compassdigital/sdk.typescript 3.51.0 → 3.53.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.
Files changed (77) hide show
  1. package/.editorconfig +0 -1
  2. package/lib/index.d.ts +111 -2
  3. package/lib/index.d.ts.map +1 -1
  4. package/lib/index.js +119 -0
  5. package/lib/index.js.map +1 -1
  6. package/lib/interface/announcement.d.ts +1 -0
  7. package/lib/interface/announcement.d.ts.map +1 -1
  8. package/lib/interface/calendar.d.ts +1 -0
  9. package/lib/interface/calendar.d.ts.map +1 -1
  10. package/lib/interface/compassconnect.d.ts +1 -0
  11. package/lib/interface/compassconnect.d.ts.map +1 -1
  12. package/lib/interface/config.d.ts +1 -0
  13. package/lib/interface/config.d.ts.map +1 -1
  14. package/lib/interface/datalake.d.ts +1 -0
  15. package/lib/interface/datalake.d.ts.map +1 -1
  16. package/lib/interface/delivery.d.ts +19 -0
  17. package/lib/interface/delivery.d.ts.map +1 -1
  18. package/lib/interface/email.d.ts +1 -0
  19. package/lib/interface/email.d.ts.map +1 -1
  20. package/lib/interface/file.d.ts +1 -0
  21. package/lib/interface/file.d.ts.map +1 -1
  22. package/lib/interface/kds.d.ts +1 -0
  23. package/lib/interface/kds.d.ts.map +1 -1
  24. package/lib/interface/location.d.ts +1 -0
  25. package/lib/interface/location.d.ts.map +1 -1
  26. package/lib/interface/mealplan.d.ts +2 -2
  27. package/lib/interface/mealplan.d.ts.map +1 -1
  28. package/lib/interface/menu.d.ts +745 -103
  29. package/lib/interface/menu.d.ts.map +1 -1
  30. package/lib/interface/notification.d.ts +1 -0
  31. package/lib/interface/notification.d.ts.map +1 -1
  32. package/lib/interface/order.d.ts +1 -0
  33. package/lib/interface/order.d.ts.map +1 -1
  34. package/lib/interface/partner.d.ts +1 -0
  35. package/lib/interface/partner.d.ts.map +1 -1
  36. package/lib/interface/payment.d.ts +1 -0
  37. package/lib/interface/payment.d.ts.map +1 -1
  38. package/lib/interface/permission.d.ts +1 -0
  39. package/lib/interface/permission.d.ts.map +1 -1
  40. package/lib/interface/promo.d.ts +1 -0
  41. package/lib/interface/promo.d.ts.map +1 -1
  42. package/lib/interface/report.d.ts +1 -0
  43. package/lib/interface/report.d.ts.map +1 -1
  44. package/lib/interface/shoppingcart.d.ts +12 -4
  45. package/lib/interface/shoppingcart.d.ts.map +1 -1
  46. package/lib/interface/task.d.ts +1 -0
  47. package/lib/interface/task.d.ts.map +1 -1
  48. package/lib/interface/user.d.ts +1 -0
  49. package/lib/interface/user.d.ts.map +1 -1
  50. package/lib/interface/vendor.d.ts +1 -0
  51. package/lib/interface/vendor.d.ts.map +1 -1
  52. package/manifest.json +39 -39
  53. package/package.json +3 -3
  54. package/src/index.ts +305 -0
  55. package/src/interface/announcement.ts +1 -0
  56. package/src/interface/calendar.ts +1 -0
  57. package/src/interface/compassconnect.ts +1 -0
  58. package/src/interface/config.ts +1 -0
  59. package/src/interface/datalake.ts +1 -0
  60. package/src/interface/delivery.ts +28 -0
  61. package/src/interface/email.ts +1 -0
  62. package/src/interface/file.ts +1 -0
  63. package/src/interface/kds.ts +1 -0
  64. package/src/interface/location.ts +1 -0
  65. package/src/interface/mealplan.ts +4 -4
  66. package/src/interface/menu.ts +960 -183
  67. package/src/interface/notification.ts +1 -0
  68. package/src/interface/order.ts +1 -0
  69. package/src/interface/partner.ts +1 -0
  70. package/src/interface/payment.ts +1 -0
  71. package/src/interface/permission.ts +1 -0
  72. package/src/interface/promo.ts +1 -0
  73. package/src/interface/report.ts +1 -0
  74. package/src/interface/shoppingcart.ts +13 -4
  75. package/src/interface/task.ts +1 -0
  76. package/src/interface/user.ts +1 -0
  77. package/src/interface/vendor.ts +1 -0
@@ -429,6 +429,7 @@ export interface Success {
429
429
  export interface Error {
430
430
  error?: string;
431
431
  code?: number;
432
+ data?: any;
432
433
  }
433
434
  export type AmountOffExclusionTypes = string;
434
435
  export interface Menus {
@@ -599,16 +600,16 @@ export interface NotFoundErrorDTO {
599
600
  [index: string]: any;
600
601
  }
601
602
  export interface FilterFieldDTO {
602
- $equals?: string;
603
- $more_than?: string;
604
- $more_than_or_equal?: string;
605
- $less_than?: string;
606
- $less_than_or_equal?: string;
607
- $between?: string[];
608
- $not?: string;
609
- $in?: string[];
610
- $array_contains?: string[];
611
- $contains?: string;
603
+ $equals?: any;
604
+ $more_than?: any;
605
+ $more_than_or_equal?: any;
606
+ $less_than?: any;
607
+ $less_than_or_equal?: any;
608
+ $between?: any[];
609
+ $not?: any;
610
+ $in?: any[];
611
+ $array_contains?: any[];
612
+ $contains?: any;
612
613
  }
613
614
  export interface PaginationParamsDTO {
614
615
  limit?: number;
@@ -910,19 +911,12 @@ export interface PublishedCategoryToItemRelationshipDTO {
910
911
  [index: string]: any;
911
912
  }
912
913
  export interface PublishedBrandDTO {
913
- parent?: any;
914
- children?: any[];
915
- layouts?: PublishedLayoutDTO[];
916
- items?: PublishedItemDTO[];
917
- modifier_groups?: PublishedModifierGroupDTO[];
918
- modifiers?: PublishedModifierDTO[];
919
- categories?: PublishedCategoryDTO[];
920
- modifier_group_to_modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
921
- item_to_modifier_groups?: PublishedItemToModifierGroupRelationshipDTO[];
922
- category_to_items?: PublishedCategoryToItemRelationshipDTO[];
914
+ id?: string;
915
+ name?: string;
916
+ description?: string;
917
+ is_active?: boolean;
923
918
  parent_id?: string;
924
- id?: any;
925
- changes?: DraftBrandChangeDTO[];
919
+ brand_group_id?: string;
926
920
  [index: string]: any;
927
921
  }
928
922
  export interface DraftLayoutDTO {
@@ -935,8 +929,8 @@ export interface DraftLayoutDTO {
935
929
  id?: any;
936
930
  station_id?: string;
937
931
  brand?: DraftBrandDTO;
938
- station?: StationDTO;
939
932
  changes?: DraftLayoutChangeDTO[];
933
+ station?: StationDTO;
940
934
  [index: string]: any;
941
935
  }
942
936
  export interface DraftCategoryDTO {
@@ -952,8 +946,12 @@ export interface DraftCategoryDTO {
952
946
  [index: string]: any;
953
947
  }
954
948
  export interface DraftBrandDTO {
955
- parent_id?: string;
956
949
  id?: string;
950
+ name?: string;
951
+ description?: string;
952
+ is_active?: boolean;
953
+ parent_id?: string;
954
+ brand_group_id?: string;
957
955
  [index: string]: any;
958
956
  }
959
957
  export interface DraftLayoutChangeDTO {
@@ -1019,9 +1017,11 @@ export interface DraftCategoryToItemRelationshipDTO {
1019
1017
  [index: string]: any;
1020
1018
  }
1021
1019
  export interface DraftItemDTO {
1022
- parent_id?: string;
1023
1020
  parent?: any;
1024
1021
  children?: any[];
1022
+ modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
1023
+ id?: string;
1024
+ parent_id?: string;
1025
1025
  name?: string;
1026
1026
  label?: string;
1027
1027
  description?: string;
@@ -1033,14 +1033,13 @@ export interface DraftItemDTO {
1033
1033
  is_in_stock?: boolean;
1034
1034
  posid?: string;
1035
1035
  tax_tags?: FilterFieldDTO[];
1036
- modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
1037
1036
  brand_id?: string;
1038
1037
  station_id?: string;
1039
- id?: string;
1040
- categories?: any[];
1041
1038
  brand?: DraftBrandDTO;
1042
- station?: StationDTO;
1043
1039
  changes?: DraftItemChangeDTO[];
1040
+ categories?: any[];
1041
+ station?: StationDTO;
1042
+ attachments?: FileAttachmentsDTO;
1044
1043
  [index: string]: any;
1045
1044
  }
1046
1045
  export interface DraftItemToModifierGroupRelationshipDTO {
@@ -1052,8 +1051,8 @@ export interface DraftItemToModifierGroupRelationshipDTO {
1052
1051
  item_id?: string;
1053
1052
  brand_id?: FilterFieldDTO;
1054
1053
  sequence?: number;
1055
- modifier_group?: DraftModifierGroupDTO;
1056
1054
  item?: any;
1055
+ modifier_group?: DraftModifierGroupDTO;
1057
1056
  brand?: DraftBrandDTO;
1058
1057
  changes?: DraftItemToModifierGroupRelationshipChangeDTO[];
1059
1058
  [index: string]: any;
@@ -1094,9 +1093,11 @@ export interface DraftModifierGroupToModifierRelationshipDTO {
1094
1093
  [index: string]: any;
1095
1094
  }
1096
1095
  export interface DraftModifierDTO {
1097
- parent_id?: string;
1098
1096
  parent?: any;
1099
1097
  children?: any[];
1098
+ modifier_groups?: any[];
1099
+ id?: string;
1100
+ parent_id?: string;
1100
1101
  name?: string;
1101
1102
  label?: string;
1102
1103
  description?: string;
@@ -1107,13 +1108,11 @@ export interface DraftModifierDTO {
1107
1108
  is_active?: boolean;
1108
1109
  is_in_stock?: boolean;
1109
1110
  posid?: string;
1110
- modifier_groups?: any[];
1111
1111
  brand_id?: string;
1112
1112
  station_id?: string;
1113
- id?: string;
1114
1113
  brand?: DraftBrandDTO;
1115
- station?: StationDTO;
1116
1114
  changes?: DraftModifierChangeDTO[];
1115
+ station?: StationDTO;
1117
1116
  [index: string]: any;
1118
1117
  }
1119
1118
  export interface DraftModifierChangeDTO {
@@ -1533,6 +1532,430 @@ export interface PublishedModifierPublishedModifierDTO {
1533
1532
  changes?: DraftModifierChangeDTO[];
1534
1533
  [index: string]: any;
1535
1534
  }
1535
+ export interface DraftLayoutDraftLayoutDraftLayoutDTO {
1536
+ parent_id?: any;
1537
+ name?: any;
1538
+ brand_id?: any;
1539
+ station_id?: any;
1540
+ id?: any;
1541
+ version?: any;
1542
+ created_at?: any;
1543
+ updated_at?: any;
1544
+ deleted_at?: any;
1545
+ parent?: any;
1546
+ children?: any[];
1547
+ categories?: DraftCategoryDTO[];
1548
+ brand?: DraftBrandDTO;
1549
+ changes?: DraftLayoutChangeDTO[];
1550
+ station?: StationDTO;
1551
+ [index: string]: any;
1552
+ }
1553
+ export interface DraftCategoryDraftCategoryDraftCategoryDTO {
1554
+ parent_id?: FilterFieldDTO;
1555
+ name?: FilterFieldDTO;
1556
+ label?: FilterFieldDTO;
1557
+ sequence?: FilterFieldDTO;
1558
+ priority?: FilterFieldDTO;
1559
+ is_active?: FilterFieldDTO;
1560
+ layout_id?: FilterFieldDTO;
1561
+ brand_id?: FilterFieldDTO;
1562
+ id?: FilterFieldDTO;
1563
+ version?: FilterFieldDTO;
1564
+ created_at?: FilterFieldDTO;
1565
+ updated_at?: FilterFieldDTO;
1566
+ deleted_at?: FilterFieldDTO;
1567
+ parent?: any;
1568
+ children?: any[];
1569
+ layout?: DraftLayoutDTO;
1570
+ items?: DraftCategoryToItemRelationshipDTO[];
1571
+ brand?: DraftBrandDTO;
1572
+ changes?: DraftCategoryChangeDTO[];
1573
+ [index: string]: any;
1574
+ }
1575
+ export interface DraftCategoryToItemRelationshipDraftCategoryToItemRelationshipDraftCategoryToItemRelationshipDTO {
1576
+ parent_id?: FilterFieldDTO;
1577
+ deleted_at?: FilterFieldDTO;
1578
+ category_id?: FilterFieldDTO;
1579
+ item_id?: FilterFieldDTO;
1580
+ brand_id?: FilterFieldDTO;
1581
+ sequence?: FilterFieldDTO;
1582
+ id?: FilterFieldDTO;
1583
+ version?: FilterFieldDTO;
1584
+ created_at?: FilterFieldDTO;
1585
+ updated_at?: FilterFieldDTO;
1586
+ parent?: any;
1587
+ children?: any[];
1588
+ category?: DraftCategoryDTO;
1589
+ item?: DraftItemDTO;
1590
+ brand?: DraftBrandDTO;
1591
+ changes?: DraftCategoryToItemRelationshipChangeDTO[];
1592
+ [index: string]: any;
1593
+ }
1594
+ export interface DraftItemDraftItemDraftItemDraftItemDTO {
1595
+ parent_id?: FilterFieldDTO;
1596
+ name?: FilterFieldDTO;
1597
+ label?: FilterFieldDTO;
1598
+ description?: FilterFieldDTO;
1599
+ price?: FilterFieldDTO;
1600
+ barcode?: FilterFieldDTO;
1601
+ calories?: FilterFieldDTO;
1602
+ priority?: FilterFieldDTO;
1603
+ is_active?: FilterFieldDTO;
1604
+ is_in_stock?: FilterFieldDTO;
1605
+ posid?: FilterFieldDTO;
1606
+ tax_tags?: FilterFieldDTO[];
1607
+ brand_id?: FilterFieldDTO;
1608
+ station_id?: FilterFieldDTO;
1609
+ id?: FilterFieldDTO;
1610
+ version?: FilterFieldDTO;
1611
+ created_at?: FilterFieldDTO;
1612
+ updated_at?: FilterFieldDTO;
1613
+ deleted_at?: FilterFieldDTO;
1614
+ parent?: any;
1615
+ children?: any[];
1616
+ brand?: DraftBrandDTO;
1617
+ changes?: DraftItemChangeDTO[];
1618
+ modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
1619
+ categories?: DraftCategoryToItemRelationshipDTO[];
1620
+ station?: StationDTO;
1621
+ attachments?: FileAttachmentsDTO;
1622
+ [index: string]: any;
1623
+ }
1624
+ export interface DraftItemToModifierGroupRelationshipDraftItemToModifierGroupRelationshipDraftItemToModifierGroupRelationshipDTO {
1625
+ parent_id?: FilterFieldDTO;
1626
+ deleted_at?: FilterFieldDTO;
1627
+ modifier_group_id?: FilterFieldDTO;
1628
+ item_id?: FilterFieldDTO;
1629
+ brand_id?: FilterFieldDTO;
1630
+ sequence?: FilterFieldDTO;
1631
+ id?: FilterFieldDTO;
1632
+ version?: FilterFieldDTO;
1633
+ created_at?: FilterFieldDTO;
1634
+ updated_at?: FilterFieldDTO;
1635
+ parent?: any;
1636
+ children?: any[];
1637
+ item?: DraftItemDTO;
1638
+ modifier_group?: DraftModifierGroupDTO;
1639
+ brand?: DraftBrandDTO;
1640
+ changes?: DraftItemToModifierGroupRelationshipChangeDTO[];
1641
+ [index: string]: any;
1642
+ }
1643
+ export interface DraftModifierGroupDraftModifierGroupDraftModifierGroupDraftModifierGroupDTO {
1644
+ parent_id?: FilterFieldDTO;
1645
+ name?: FilterFieldDTO;
1646
+ label?: FilterFieldDTO;
1647
+ min?: FilterFieldDTO;
1648
+ max?: FilterFieldDTO;
1649
+ is_active?: FilterFieldDTO;
1650
+ priority?: FilterFieldDTO;
1651
+ brand_id?: FilterFieldDTO;
1652
+ station_id?: FilterFieldDTO;
1653
+ id?: FilterFieldDTO;
1654
+ version?: FilterFieldDTO;
1655
+ created_at?: FilterFieldDTO;
1656
+ updated_at?: FilterFieldDTO;
1657
+ deleted_at?: FilterFieldDTO;
1658
+ parent?: any;
1659
+ children?: any[];
1660
+ modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
1661
+ items?: DraftItemToModifierGroupRelationshipDTO[];
1662
+ brand?: DraftBrandDTO;
1663
+ station?: StationDTO;
1664
+ changes?: DraftModifierGroupChangeDTO[];
1665
+ [index: string]: any;
1666
+ }
1667
+ export interface DraftModifierGroupToModifierRelationshipDraftModifierGroupToModifierRelationshipDraftModifierGroupToModifierRelationshipDTO {
1668
+ parent_id?: FilterFieldDTO;
1669
+ deleted_at?: FilterFieldDTO;
1670
+ modifier_id?: FilterFieldDTO;
1671
+ modifier_group_id?: FilterFieldDTO;
1672
+ brand_id?: FilterFieldDTO;
1673
+ sequence?: FilterFieldDTO;
1674
+ id?: FilterFieldDTO;
1675
+ version?: FilterFieldDTO;
1676
+ created_at?: FilterFieldDTO;
1677
+ updated_at?: FilterFieldDTO;
1678
+ parent?: any;
1679
+ children?: any[];
1680
+ modifier?: DraftModifierDTO;
1681
+ modifier_group?: DraftModifierGroupDTO;
1682
+ brand?: DraftBrandDTO;
1683
+ changes?: DraftModifierGroupToModifierRelationshipChangeDTO[];
1684
+ [index: string]: any;
1685
+ }
1686
+ export interface DraftModifierDraftModifierDraftModifierDraftModifierDTO {
1687
+ parent_id?: FilterFieldDTO;
1688
+ name?: FilterFieldDTO;
1689
+ label?: FilterFieldDTO;
1690
+ description?: FilterFieldDTO;
1691
+ price?: FilterFieldDTO;
1692
+ calories?: FilterFieldDTO;
1693
+ priority?: FilterFieldDTO;
1694
+ tax_tags?: FilterFieldDTO[];
1695
+ is_active?: FilterFieldDTO;
1696
+ is_in_stock?: FilterFieldDTO;
1697
+ posid?: FilterFieldDTO;
1698
+ brand_id?: FilterFieldDTO;
1699
+ station_id?: FilterFieldDTO;
1700
+ id?: FilterFieldDTO;
1701
+ version?: FilterFieldDTO;
1702
+ created_at?: FilterFieldDTO;
1703
+ updated_at?: FilterFieldDTO;
1704
+ deleted_at?: FilterFieldDTO;
1705
+ parent?: any;
1706
+ children?: any[];
1707
+ modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
1708
+ brand?: DraftBrandDTO;
1709
+ changes?: DraftModifierChangeDTO[];
1710
+ station?: StationDTO;
1711
+ [index: string]: any;
1712
+ }
1713
+ export interface DraftBrandDraftBrandDraftBrandDTO {
1714
+ name?: FilterFieldDTO;
1715
+ description?: FilterFieldDTO;
1716
+ is_active?: FilterFieldDTO;
1717
+ parent_id?: FilterFieldDTO;
1718
+ brand_group_id?: FilterFieldDTO;
1719
+ id?: FilterFieldDTO;
1720
+ version?: FilterFieldDTO;
1721
+ created_at?: FilterFieldDTO;
1722
+ updated_at?: FilterFieldDTO;
1723
+ deleted_at?: FilterFieldDTO;
1724
+ parent?: any;
1725
+ children?: any[];
1726
+ changes?: DraftBrandChangeDTO[];
1727
+ brand_group?: BrandGroupDTO;
1728
+ layouts?: DraftLayoutDTO[];
1729
+ categories?: DraftCategoryDTO[];
1730
+ category_to_items?: DraftCategoryToItemRelationshipDTO[];
1731
+ items?: DraftItemDTO[];
1732
+ item_to_modifier_group_relationships?: DraftItemToModifierGroupRelationshipDTO[];
1733
+ modifier_groups?: DraftModifierGroupDTO[];
1734
+ modifier_group_to_modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
1735
+ modifiers?: DraftModifierDTO[];
1736
+ attachments?: FileAttachmentsDTO;
1737
+ [index: string]: any;
1738
+ }
1739
+ export interface PublishedBrandPublishedBrandPublishedBrandDTO {
1740
+ name?: FilterFieldDTO;
1741
+ description?: FilterFieldDTO;
1742
+ is_active?: FilterFieldDTO;
1743
+ parent_id?: FilterFieldDTO;
1744
+ brand_group_id?: FilterFieldDTO;
1745
+ id?: FilterFieldDTO;
1746
+ version?: FilterFieldDTO;
1747
+ created_at?: FilterFieldDTO;
1748
+ updated_at?: FilterFieldDTO;
1749
+ deleted_at?: FilterFieldDTO;
1750
+ parent?: any;
1751
+ children?: any[];
1752
+ brand_group?: BrandGroupDTO;
1753
+ layouts?: PublishedLayoutDTO[];
1754
+ categories?: PublishedCategoryDTO[];
1755
+ category_to_items?: PublishedCategoryToItemRelationshipDTO[];
1756
+ items?: PublishedItemDTO[];
1757
+ item_to_modifier_group_relationships?: PublishedItemToModifierGroupRelationshipDTO[];
1758
+ modifier_groups?: PublishedModifierGroupDTO[];
1759
+ modifier_group_to_modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
1760
+ modifiers?: PublishedModifierDTO[];
1761
+ attachments?: FileAttachmentsDTO;
1762
+ [index: string]: any;
1763
+ }
1764
+ export interface PublishedLayoutPublishedLayoutPublishedLayoutDTO {
1765
+ parent_id?: FilterFieldDTO;
1766
+ name?: FilterFieldDTO;
1767
+ brand_id?: FilterFieldDTO;
1768
+ station_id?: FilterFieldDTO;
1769
+ id?: FilterFieldDTO;
1770
+ version?: FilterFieldDTO;
1771
+ created_at?: FilterFieldDTO;
1772
+ updated_at?: FilterFieldDTO;
1773
+ deleted_at?: FilterFieldDTO;
1774
+ parent?: any;
1775
+ children?: any[];
1776
+ categories?: PublishedCategoryDTO[];
1777
+ brand?: PublishedBrandDTO;
1778
+ station?: StationDTO;
1779
+ [index: string]: any;
1780
+ }
1781
+ export interface PublishedCategoryPublishedCategoryPublishedCategoryDTO {
1782
+ parent_id?: FilterFieldDTO;
1783
+ name?: FilterFieldDTO;
1784
+ label?: FilterFieldDTO;
1785
+ sequence?: FilterFieldDTO;
1786
+ priority?: FilterFieldDTO;
1787
+ is_active?: FilterFieldDTO;
1788
+ layout_id?: FilterFieldDTO;
1789
+ brand_id?: FilterFieldDTO;
1790
+ id?: FilterFieldDTO;
1791
+ version?: FilterFieldDTO;
1792
+ created_at?: FilterFieldDTO;
1793
+ updated_at?: FilterFieldDTO;
1794
+ deleted_at?: FilterFieldDTO;
1795
+ parent?: any;
1796
+ children?: any[];
1797
+ layout?: PublishedLayoutDTO;
1798
+ items?: PublishedCategoryToItemRelationshipDTO[];
1799
+ brand?: PublishedBrandDTO;
1800
+ changes?: DraftCategoryChangeDTO[];
1801
+ [index: string]: any;
1802
+ }
1803
+ export interface PublishedCategoryToItemRelationshipPublishedCategoryToItemRelationshipPublishedCategoryToItemRelationshipDTO {
1804
+ parent_id?: FilterFieldDTO;
1805
+ deleted_at?: FilterFieldDTO;
1806
+ category_id?: FilterFieldDTO;
1807
+ item_id?: FilterFieldDTO;
1808
+ brand_id?: FilterFieldDTO;
1809
+ sequence?: FilterFieldDTO;
1810
+ id?: FilterFieldDTO;
1811
+ version?: FilterFieldDTO;
1812
+ created_at?: FilterFieldDTO;
1813
+ updated_at?: FilterFieldDTO;
1814
+ parent?: any;
1815
+ children?: any[];
1816
+ category?: PublishedCategoryDTO;
1817
+ item?: PublishedItemDTO;
1818
+ brand?: PublishedBrandDTO;
1819
+ changes?: DraftCategoryToItemRelationshipChangeDTO[];
1820
+ [index: string]: any;
1821
+ }
1822
+ export interface PublishedItemPublishedItemPublishedItemDTO {
1823
+ parent_id?: FilterFieldDTO;
1824
+ name?: FilterFieldDTO;
1825
+ label?: FilterFieldDTO;
1826
+ description?: FilterFieldDTO;
1827
+ price?: FilterFieldDTO;
1828
+ barcode?: FilterFieldDTO;
1829
+ calories?: FilterFieldDTO;
1830
+ priority?: FilterFieldDTO;
1831
+ is_active?: FilterFieldDTO;
1832
+ is_in_stock?: FilterFieldDTO;
1833
+ posid?: FilterFieldDTO;
1834
+ tax_tags?: FilterFieldDTO[];
1835
+ brand_id?: FilterFieldDTO;
1836
+ station_id?: FilterFieldDTO;
1837
+ id?: FilterFieldDTO;
1838
+ version?: FilterFieldDTO;
1839
+ created_at?: FilterFieldDTO;
1840
+ updated_at?: FilterFieldDTO;
1841
+ deleted_at?: FilterFieldDTO;
1842
+ parent?: any;
1843
+ children?: any[];
1844
+ brand?: PublishedBrandDTO;
1845
+ modifier_groups?: PublishedItemToModifierGroupRelationshipDTO[];
1846
+ categories?: PublishedCategoryToItemRelationshipDTO[];
1847
+ station?: StationDTO;
1848
+ attachments?: FileAttachmentsDTO;
1849
+ [index: string]: any;
1850
+ }
1851
+ export interface PublishedItemToModifierGroupRelationshipPublishedItemToModifierGroupRelationshipPublishedItemToModifierGroupRelationshipDTO {
1852
+ parent_id?: FilterFieldDTO;
1853
+ deleted_at?: FilterFieldDTO;
1854
+ modifier_group_id?: FilterFieldDTO;
1855
+ item_id?: FilterFieldDTO;
1856
+ brand_id?: FilterFieldDTO;
1857
+ sequence?: FilterFieldDTO;
1858
+ id?: FilterFieldDTO;
1859
+ version?: FilterFieldDTO;
1860
+ created_at?: FilterFieldDTO;
1861
+ updated_at?: FilterFieldDTO;
1862
+ parent?: any;
1863
+ children?: any[];
1864
+ item?: PublishedItemDTO;
1865
+ modifier_group?: PublishedModifierGroupDTO;
1866
+ brand?: PublishedBrandDTO;
1867
+ [index: string]: any;
1868
+ }
1869
+ export interface PublishedModifierGroupPublishedModifierGroupPublishedModifierGroupDTO {
1870
+ parent_id?: FilterFieldDTO;
1871
+ name?: FilterFieldDTO;
1872
+ label?: FilterFieldDTO;
1873
+ min?: FilterFieldDTO;
1874
+ max?: FilterFieldDTO;
1875
+ is_active?: FilterFieldDTO;
1876
+ priority?: FilterFieldDTO;
1877
+ brand_id?: FilterFieldDTO;
1878
+ station_id?: FilterFieldDTO;
1879
+ id?: FilterFieldDTO;
1880
+ version?: FilterFieldDTO;
1881
+ created_at?: FilterFieldDTO;
1882
+ updated_at?: FilterFieldDTO;
1883
+ deleted_at?: FilterFieldDTO;
1884
+ parent?: any;
1885
+ children?: any[];
1886
+ modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
1887
+ items?: PublishedItemToModifierGroupRelationshipDTO[];
1888
+ brand?: PublishedBrandDTO;
1889
+ station?: StationDTO;
1890
+ changes?: DraftModifierGroupChangeDTO[];
1891
+ [index: string]: any;
1892
+ }
1893
+ export interface PublishedModifierGroupToModifierRelationshipPublishedModifierGroupToModifierRelationshipPublishedModifierGroupToModifierRelationshipDTO {
1894
+ parent_id?: FilterFieldDTO;
1895
+ deleted_at?: FilterFieldDTO;
1896
+ modifier_id?: FilterFieldDTO;
1897
+ modifier_group_id?: FilterFieldDTO;
1898
+ brand_id?: FilterFieldDTO;
1899
+ sequence?: FilterFieldDTO;
1900
+ id?: FilterFieldDTO;
1901
+ version?: FilterFieldDTO;
1902
+ created_at?: FilterFieldDTO;
1903
+ updated_at?: FilterFieldDTO;
1904
+ parent?: any;
1905
+ children?: any[];
1906
+ modifier_group?: PublishedModifierGroupDTO;
1907
+ modifier?: PublishedModifierDTO;
1908
+ brand?: PublishedBrandDTO;
1909
+ changes?: DraftModifierGroupToModifierRelationshipChangeDTO[];
1910
+ [index: string]: any;
1911
+ }
1912
+ export interface PublishedModifierPublishedModifierPublishedModifierDTO {
1913
+ parent_id?: FilterFieldDTO;
1914
+ name?: FilterFieldDTO;
1915
+ label?: FilterFieldDTO;
1916
+ description?: FilterFieldDTO;
1917
+ price?: FilterFieldDTO;
1918
+ calories?: FilterFieldDTO;
1919
+ priority?: FilterFieldDTO;
1920
+ tax_tags?: FilterFieldDTO[];
1921
+ is_active?: FilterFieldDTO;
1922
+ is_in_stock?: FilterFieldDTO;
1923
+ posid?: FilterFieldDTO;
1924
+ brand_id?: FilterFieldDTO;
1925
+ station_id?: FilterFieldDTO;
1926
+ id?: FilterFieldDTO;
1927
+ version?: FilterFieldDTO;
1928
+ created_at?: FilterFieldDTO;
1929
+ updated_at?: FilterFieldDTO;
1930
+ deleted_at?: FilterFieldDTO;
1931
+ parent?: any;
1932
+ children?: any[];
1933
+ modifier_groups?: PublishedModifierGroupToModifierRelationshipDTO[];
1934
+ brand?: PublishedBrandDTO;
1935
+ station?: StationDTO;
1936
+ [index: string]: any;
1937
+ }
1938
+ export interface AttachmentsDTO {
1939
+ thumbnail?: FilterFieldDTO;
1940
+ id?: any;
1941
+ [index: string]: any;
1942
+ }
1943
+ export interface SiteDTO {
1944
+ id?: string;
1945
+ name?: string;
1946
+ [index: string]: any;
1947
+ }
1948
+ export interface BrandGroupDTO {
1949
+ name?: string;
1950
+ description?: string;
1951
+ id?: string;
1952
+ [index: string]: any;
1953
+ }
1954
+ export interface FileAttachmentsDTO {
1955
+ thumbnail?: FilterFieldDTO;
1956
+ id?: any;
1957
+ [index: string]: any;
1958
+ }
1536
1959
  export interface GetMenuV3ModifiersQuery {
1537
1960
  select?: string[];
1538
1961
  relationships?: string[];
@@ -1977,16 +2400,21 @@ export type PostMenuV3BrandsBody = {
1977
2400
  parent?: PublishedBrandDTO;
1978
2401
  children?: PublishedBrandDTO[];
1979
2402
  layouts?: PublishedLayoutDTO[];
2403
+ categories?: PublishedCategoryDTO[];
2404
+ category_to_items?: PublishedCategoryToItemRelationshipDTO[];
1980
2405
  items?: PublishedItemDTO[];
2406
+ item_to_modifier_group_relationships?: PublishedItemToModifierGroupRelationshipDTO[];
1981
2407
  modifier_groups?: PublishedModifierGroupDTO[];
1982
- modifiers?: PublishedModifierDTO[];
1983
- categories?: PublishedCategoryDTO[];
1984
2408
  modifier_group_to_modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
1985
- item_to_modifier_groups?: PublishedItemToModifierGroupRelationshipDTO[];
1986
- category_to_items?: PublishedCategoryToItemRelationshipDTO[];
2409
+ modifiers?: PublishedModifierDTO[];
2410
+ name: string;
2411
+ description?: string;
2412
+ is_active?: boolean;
1987
2413
  parent_id?: string;
2414
+ brand_group_id?: string;
1988
2415
  id?: any;
1989
- changes?: DraftBrandChangeDTO[];
2416
+ brand_group?: BrandGroupDTO;
2417
+ attachments?: FileAttachmentsDTO;
1990
2418
  [index: string]: any;
1991
2419
  }[];
1992
2420
  export interface PostMenuV3BrandsResponse {
@@ -2078,16 +2506,21 @@ export interface PatchMenuV3BrandBody {
2078
2506
  parent?: PublishedBrandDTO;
2079
2507
  children?: PublishedBrandDTO[];
2080
2508
  layouts?: PublishedLayoutDTO[];
2509
+ categories?: PublishedCategoryDTO[];
2510
+ category_to_items?: PublishedCategoryToItemRelationshipDTO[];
2081
2511
  items?: PublishedItemDTO[];
2512
+ item_to_modifier_group_relationships?: PublishedItemToModifierGroupRelationshipDTO[];
2082
2513
  modifier_groups?: PublishedModifierGroupDTO[];
2083
- modifiers?: PublishedModifierDTO[];
2084
- categories?: PublishedCategoryDTO[];
2085
2514
  modifier_group_to_modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
2086
- item_to_modifier_groups?: PublishedItemToModifierGroupRelationshipDTO[];
2087
- category_to_items?: PublishedCategoryToItemRelationshipDTO[];
2515
+ modifiers?: PublishedModifierDTO[];
2088
2516
  id?: string;
2517
+ name?: string;
2518
+ description?: string;
2519
+ is_active?: boolean;
2089
2520
  parent_id?: string;
2090
- changes?: DraftBrandChangeDTO[];
2521
+ brand_group_id?: string;
2522
+ brand_group?: BrandGroupDTO;
2523
+ attachments?: FileAttachmentsDTO;
2091
2524
  [index: string]: any;
2092
2525
  }
2093
2526
  export type PatchMenuV3BrandResponse = PublishedBrandDTO;
@@ -2102,18 +2535,23 @@ export interface DeleteMenuV3BrandRequest extends BaseRequest, DeleteMenuV3Brand
2102
2535
  }
2103
2536
  export interface PostMenuV3BrandBody {
2104
2537
  parent?: PublishedBrandDTO;
2105
- children?: any[];
2106
- layouts?: any[];
2107
- items?: any[];
2108
- modifier_groups?: any[];
2109
- modifiers?: any[];
2110
- categories?: any[];
2111
- modifier_group_to_modifiers?: any[];
2112
- item_to_modifier_groups?: any[];
2113
- category_to_items?: any[];
2538
+ children?: PublishedBrandDTO[];
2539
+ layouts?: PublishedLayoutDTO[];
2540
+ categories?: PublishedCategoryDTO[];
2541
+ category_to_items?: PublishedCategoryToItemRelationshipDTO[];
2542
+ items?: PublishedItemDTO[];
2543
+ item_to_modifier_group_relationships?: PublishedItemToModifierGroupRelationshipDTO[];
2544
+ modifier_groups?: PublishedModifierGroupDTO[];
2545
+ modifier_group_to_modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
2546
+ modifiers?: PublishedModifierDTO[];
2547
+ name: string;
2548
+ description?: string;
2549
+ is_active?: boolean;
2114
2550
  parent_id?: string;
2551
+ brand_group_id?: string;
2115
2552
  id?: any;
2116
- changes?: DraftBrandChangeDTO[];
2553
+ brand_group?: BrandGroupDTO;
2554
+ attachments?: FileAttachmentsDTO;
2117
2555
  [index: string]: any;
2118
2556
  }
2119
2557
  export type PostMenuV3BrandResponse = PublishedBrandDTO;
@@ -2659,8 +3097,8 @@ export interface PostMenuV3DraftLayoutBody {
2659
3097
  id?: any;
2660
3098
  station_id?: string;
2661
3099
  brand?: any;
2662
- station?: any;
2663
3100
  changes?: any[];
3101
+ station?: any;
2664
3102
  [index: string]: any;
2665
3103
  }
2666
3104
  export type PostMenuV3DraftLayoutResponse = DraftLayoutDTO;
@@ -2691,8 +3129,8 @@ export interface PatchMenuV3DraftLayoutBody {
2691
3129
  brand_id?: string;
2692
3130
  station_id?: string;
2693
3131
  brand?: DraftBrandDTO;
2694
- station?: StationDTO;
2695
3132
  changes?: DraftLayoutChangeDTO[];
3133
+ station?: StationDTO;
2696
3134
  [index: string]: any;
2697
3135
  }
2698
3136
  export type PatchMenuV3DraftLayoutResponse = DraftLayoutDTO;
@@ -2733,8 +3171,8 @@ export type PostMenuV3DraftLayoutsBody = {
2733
3171
  id?: any;
2734
3172
  station_id?: string;
2735
3173
  brand?: DraftBrandDTO;
2736
- station?: StationDTO;
2737
3174
  changes?: DraftLayoutChangeDTO[];
3175
+ station?: StationDTO;
2738
3176
  [index: string]: any;
2739
3177
  }[];
2740
3178
  export interface PostMenuV3DraftLayoutsResponse {
@@ -2994,9 +3432,10 @@ export interface GetMenuV3DraftCategoryRelationshipsItemsCountResponse {
2994
3432
  export interface GetMenuV3DraftCategoryRelationshipsItemsCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftCategoryRelationshipsItemsCountQuery> {
2995
3433
  }
2996
3434
  export interface PostMenuV3DraftItemBody {
2997
- parent_id?: string;
2998
3435
  parent?: DraftItemDTO;
2999
3436
  children?: DraftItemDTO[];
3437
+ modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
3438
+ parent_id?: string;
3000
3439
  name: string;
3001
3440
  label?: string;
3002
3441
  description?: string;
@@ -3008,14 +3447,14 @@ export interface PostMenuV3DraftItemBody {
3008
3447
  is_in_stock?: boolean;
3009
3448
  posid: string;
3010
3449
  tax_tags?: any[];
3011
- modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
3012
3450
  brand_id: string;
3013
3451
  station_id?: string;
3014
3452
  id?: any;
3015
- categories?: DraftCategoryToItemRelationshipDTO[];
3016
3453
  brand?: DraftBrandDTO;
3017
- station?: StationDTO;
3018
3454
  changes?: DraftItemChangeDTO[];
3455
+ categories?: DraftCategoryToItemRelationshipDTO[];
3456
+ station?: StationDTO;
3457
+ attachments?: FileAttachmentsDTO;
3019
3458
  [index: string]: any;
3020
3459
  }
3021
3460
  export type PostMenuV3DraftItemResponse = DraftItemDTO;
@@ -3037,9 +3476,11 @@ export interface PatchMenuV3DraftItemPath {
3037
3476
  id: string;
3038
3477
  }
3039
3478
  export interface PatchMenuV3DraftItemBody {
3040
- parent_id?: string;
3041
3479
  parent?: DraftItemDTO;
3042
3480
  children?: DraftItemDTO[];
3481
+ modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
3482
+ id?: string;
3483
+ parent_id?: string;
3043
3484
  name?: string;
3044
3485
  label?: string;
3045
3486
  description?: string;
@@ -3051,14 +3492,13 @@ export interface PatchMenuV3DraftItemBody {
3051
3492
  is_in_stock?: boolean;
3052
3493
  posid?: string;
3053
3494
  tax_tags?: any[];
3054
- modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
3055
3495
  brand_id?: string;
3056
3496
  station_id?: string;
3057
- id?: string;
3058
- categories?: DraftCategoryToItemRelationshipDTO[];
3059
3497
  brand?: DraftBrandDTO;
3060
- station?: StationDTO;
3061
3498
  changes?: DraftItemChangeDTO[];
3499
+ categories?: DraftCategoryToItemRelationshipDTO[];
3500
+ station?: StationDTO;
3501
+ attachments?: FileAttachmentsDTO;
3062
3502
  [index: string]: any;
3063
3503
  }
3064
3504
  export type PatchMenuV3DraftItemResponse = DraftItemDTO;
@@ -3090,9 +3530,10 @@ export interface GetMenuV3DraftItemsResponse {
3090
3530
  export interface GetMenuV3DraftItemsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftItemsQuery> {
3091
3531
  }
3092
3532
  export type PostMenuV3DraftItemsBody = {
3093
- parent_id?: string;
3094
3533
  parent?: DraftItemDTO;
3095
3534
  children?: DraftItemDTO[];
3535
+ modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
3536
+ parent_id?: string;
3096
3537
  name: string;
3097
3538
  label?: string;
3098
3539
  description?: string;
@@ -3104,14 +3545,14 @@ export type PostMenuV3DraftItemsBody = {
3104
3545
  is_in_stock?: boolean;
3105
3546
  posid: string;
3106
3547
  tax_tags?: any[];
3107
- modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
3108
3548
  brand_id: string;
3109
3549
  station_id?: string;
3110
3550
  id?: any;
3111
- categories?: DraftCategoryToItemRelationshipDTO[];
3112
3551
  brand?: DraftBrandDTO;
3113
- station?: StationDTO;
3114
3552
  changes?: DraftItemChangeDTO[];
3553
+ categories?: DraftCategoryToItemRelationshipDTO[];
3554
+ station?: StationDTO;
3555
+ attachments?: FileAttachmentsDTO;
3115
3556
  [index: string]: any;
3116
3557
  }[];
3117
3558
  export interface PostMenuV3DraftItemsResponse {
@@ -3141,8 +3582,8 @@ export interface PostMenuV3DraftItemRelationshipsModifierGroupBody {
3141
3582
  brand_id?: string;
3142
3583
  sequence?: number;
3143
3584
  id?: any;
3144
- modifier_group?: DraftModifierGroupDTO;
3145
3585
  item?: DraftItemDTO;
3586
+ modifier_group?: DraftModifierGroupDTO;
3146
3587
  brand?: DraftBrandDTO;
3147
3588
  changes?: DraftItemToModifierGroupRelationshipChangeDTO[];
3148
3589
  [index: string]: any;
@@ -3174,8 +3615,8 @@ export interface PatchMenuV3DraftItemRelationshipsModifierGroupBody {
3174
3615
  item_id?: string;
3175
3616
  brand_id?: string;
3176
3617
  sequence?: number;
3177
- modifier_group?: DraftModifierGroupDTO;
3178
3618
  item?: DraftItemDTO;
3619
+ modifier_group?: DraftModifierGroupDTO;
3179
3620
  brand?: DraftBrandDTO;
3180
3621
  changes?: DraftItemToModifierGroupRelationshipChangeDTO[];
3181
3622
  [index: string]: any;
@@ -3217,8 +3658,8 @@ export type PostMenuV3DraftItemRelationshipsModifierGroupsBody = {
3217
3658
  brand_id?: string;
3218
3659
  sequence?: number;
3219
3660
  id?: any;
3220
- modifier_group?: DraftModifierGroupDTO;
3221
3661
  item?: DraftItemDTO;
3662
+ modifier_group?: DraftModifierGroupDTO;
3222
3663
  brand?: DraftBrandDTO;
3223
3664
  changes?: DraftItemToModifierGroupRelationshipChangeDTO[];
3224
3665
  [index: string]: any;
@@ -3475,9 +3916,10 @@ export interface GetMenuV3DraftModifierGroupRelationshipsModifiersCountResponse
3475
3916
  export interface GetMenuV3DraftModifierGroupRelationshipsModifiersCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifierGroupRelationshipsModifiersCountQuery> {
3476
3917
  }
3477
3918
  export interface PostMenuV3DraftModifierBody {
3478
- parent_id?: string;
3479
3919
  parent?: DraftModifierDTO;
3480
3920
  children?: DraftModifierDTO[];
3921
+ modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
3922
+ parent_id?: string;
3481
3923
  name: string;
3482
3924
  label?: string;
3483
3925
  description?: string;
@@ -3488,13 +3930,12 @@ export interface PostMenuV3DraftModifierBody {
3488
3930
  is_active?: boolean;
3489
3931
  is_in_stock?: boolean;
3490
3932
  posid: string;
3491
- modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
3492
3933
  brand_id: string;
3493
3934
  station_id?: string;
3494
3935
  id?: any;
3495
3936
  brand?: DraftBrandDTO;
3496
- station?: StationDTO;
3497
3937
  changes?: DraftModifierChangeDTO[];
3938
+ station?: StationDTO;
3498
3939
  [index: string]: any;
3499
3940
  }
3500
3941
  export type PostMenuV3DraftModifierResponse = DraftModifierDTO;
@@ -3516,9 +3957,11 @@ export interface PatchMenuV3DraftModifierPath {
3516
3957
  id: string;
3517
3958
  }
3518
3959
  export interface PatchMenuV3DraftModifierBody {
3519
- parent_id?: string;
3520
3960
  parent?: DraftModifierDTO;
3521
3961
  children?: DraftModifierDTO[];
3962
+ modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
3963
+ id?: string;
3964
+ parent_id?: string;
3522
3965
  name?: string;
3523
3966
  label?: string;
3524
3967
  description?: string;
@@ -3529,13 +3972,11 @@ export interface PatchMenuV3DraftModifierBody {
3529
3972
  is_active?: boolean;
3530
3973
  is_in_stock?: boolean;
3531
3974
  posid?: string;
3532
- modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
3533
3975
  brand_id?: string;
3534
3976
  station_id?: string;
3535
- id?: string;
3536
3977
  brand?: DraftBrandDTO;
3537
- station?: StationDTO;
3538
3978
  changes?: DraftModifierChangeDTO[];
3979
+ station?: StationDTO;
3539
3980
  [index: string]: any;
3540
3981
  }
3541
3982
  export type PatchMenuV3DraftModifierResponse = DraftModifierDTO;
@@ -3567,9 +4008,10 @@ export interface GetMenuV3DraftModifiersResponse {
3567
4008
  export interface GetMenuV3DraftModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifiersQuery> {
3568
4009
  }
3569
4010
  export type PostMenuV3DraftModifiersBody = {
3570
- parent_id?: string;
3571
4011
  parent?: DraftModifierDTO;
3572
4012
  children?: DraftModifierDTO[];
4013
+ modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
4014
+ parent_id?: string;
3573
4015
  name: string;
3574
4016
  label?: string;
3575
4017
  description?: string;
@@ -3580,13 +4022,12 @@ export type PostMenuV3DraftModifiersBody = {
3580
4022
  is_active?: boolean;
3581
4023
  is_in_stock?: boolean;
3582
4024
  posid: string;
3583
- modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
3584
4025
  brand_id: string;
3585
4026
  station_id?: string;
3586
4027
  id?: any;
3587
4028
  brand?: DraftBrandDTO;
3588
- station?: StationDTO;
3589
4029
  changes?: DraftModifierChangeDTO[];
4030
+ station?: StationDTO;
3590
4031
  [index: string]: any;
3591
4032
  }[];
3592
4033
  export interface PostMenuV3DraftModifiersResponse {
@@ -3608,19 +4049,25 @@ export interface GetMenuV3DraftModifiersCountResponse {
3608
4049
  export interface GetMenuV3DraftModifiersCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifiersCountQuery> {
3609
4050
  }
3610
4051
  export interface PostMenuV3DraftBrandBody {
3611
- parent_id?: string;
3612
4052
  parent?: DraftBrandDTO;
3613
4053
  children?: DraftBrandDTO[];
3614
4054
  layouts?: DraftLayoutDTO[];
4055
+ categories?: DraftCategoryDTO[];
4056
+ category_to_items?: DraftCategoryToItemRelationshipDTO[];
3615
4057
  items?: DraftItemDTO[];
4058
+ item_to_modifier_group_relationships?: DraftItemToModifierGroupRelationshipDTO[];
3616
4059
  modifier_groups?: DraftModifierGroupDTO[];
3617
- modifiers?: DraftModifierDTO[];
3618
- categories?: DraftCategoryDTO[];
3619
4060
  modifier_group_to_modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
3620
- item_to_modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
3621
- category_to_items?: DraftCategoryToItemRelationshipDTO[];
4061
+ modifiers?: DraftModifierDTO[];
4062
+ name: string;
4063
+ description?: string;
4064
+ is_active?: boolean;
4065
+ parent_id?: string;
4066
+ brand_group_id?: string;
3622
4067
  id?: any;
3623
4068
  changes?: DraftBrandChangeDTO[];
4069
+ brand_group?: BrandGroupDTO;
4070
+ attachments?: FileAttachmentsDTO;
3624
4071
  [index: string]: any;
3625
4072
  }
3626
4073
  export type PostMenuV3DraftBrandResponse = DraftBrandDTO;
@@ -3642,19 +4089,25 @@ export interface PatchMenuV3DraftBrandPath {
3642
4089
  id: string;
3643
4090
  }
3644
4091
  export interface PatchMenuV3DraftBrandBody {
3645
- parent_id?: string;
3646
4092
  parent?: DraftBrandDTO;
3647
4093
  children?: DraftBrandDTO[];
3648
4094
  layouts?: DraftLayoutDTO[];
4095
+ categories?: DraftCategoryDTO[];
4096
+ category_to_items?: DraftCategoryToItemRelationshipDTO[];
3649
4097
  items?: DraftItemDTO[];
4098
+ item_to_modifier_group_relationships?: DraftItemToModifierGroupRelationshipDTO[];
3650
4099
  modifier_groups?: DraftModifierGroupDTO[];
3651
- modifiers?: DraftModifierDTO[];
3652
- categories?: DraftCategoryDTO[];
3653
4100
  modifier_group_to_modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
3654
- item_to_modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
3655
- category_to_items?: DraftCategoryToItemRelationshipDTO[];
4101
+ modifiers?: DraftModifierDTO[];
3656
4102
  id?: string;
4103
+ name?: string;
4104
+ description?: string;
4105
+ is_active?: boolean;
4106
+ parent_id?: string;
4107
+ brand_group_id?: string;
3657
4108
  changes?: DraftBrandChangeDTO[];
4109
+ brand_group?: BrandGroupDTO;
4110
+ attachments?: FileAttachmentsDTO;
3658
4111
  [index: string]: any;
3659
4112
  }
3660
4113
  export type PatchMenuV3DraftBrandResponse = DraftBrandDTO;
@@ -3686,19 +4139,25 @@ export interface GetMenuV3DraftBrandsResponse {
3686
4139
  export interface GetMenuV3DraftBrandsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftBrandsQuery> {
3687
4140
  }
3688
4141
  export type PostMenuV3DraftBrandsBody = {
3689
- parent_id?: string;
3690
4142
  parent?: DraftBrandDTO;
3691
4143
  children?: DraftBrandDTO[];
3692
4144
  layouts?: DraftLayoutDTO[];
4145
+ categories?: DraftCategoryDTO[];
4146
+ category_to_items?: DraftCategoryToItemRelationshipDTO[];
3693
4147
  items?: DraftItemDTO[];
4148
+ item_to_modifier_group_relationships?: DraftItemToModifierGroupRelationshipDTO[];
3694
4149
  modifier_groups?: DraftModifierGroupDTO[];
3695
- modifiers?: DraftModifierDTO[];
3696
- categories?: DraftCategoryDTO[];
3697
4150
  modifier_group_to_modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
3698
- item_to_modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
3699
- category_to_items?: DraftCategoryToItemRelationshipDTO[];
4151
+ modifiers?: DraftModifierDTO[];
4152
+ name: string;
4153
+ description?: string;
4154
+ is_active?: boolean;
4155
+ parent_id?: string;
4156
+ brand_group_id?: string;
3700
4157
  id?: any;
3701
4158
  changes?: DraftBrandChangeDTO[];
4159
+ brand_group?: BrandGroupDTO;
4160
+ attachments?: FileAttachmentsDTO;
3702
4161
  [index: string]: any;
3703
4162
  }[];
3704
4163
  export interface PostMenuV3DraftBrandsResponse {
@@ -3796,6 +4255,7 @@ export interface PostMenuV3DraftStationBody {
3796
4255
  modifier_groups?: DraftModifierGroupDTO[];
3797
4256
  modifiers?: DraftModifierDTO[];
3798
4257
  name?: string;
4258
+ site?: SiteDTO;
3799
4259
  [index: string]: any;
3800
4260
  }
3801
4261
  export type PostMenuV3DraftStationResponse = StationDTO;
@@ -3823,6 +4283,7 @@ export interface PatchMenuV3DraftStationBody {
3823
4283
  modifiers?: DraftModifierDTO[];
3824
4284
  id?: string;
3825
4285
  name?: string;
4286
+ site?: SiteDTO;
3826
4287
  [index: string]: any;
3827
4288
  }
3828
4289
  export type PatchMenuV3DraftStationResponse = StationDTO;
@@ -3860,6 +4321,7 @@ export type PostMenuV3DraftStationsBody = {
3860
4321
  modifiers?: DraftModifierDTO[];
3861
4322
  id?: any;
3862
4323
  name?: string;
4324
+ site?: SiteDTO;
3863
4325
  [index: string]: any;
3864
4326
  }[];
3865
4327
  export interface PostMenuV3DraftStationsResponse {
@@ -3978,25 +4440,205 @@ export interface PostMenuV3BrandLocalPath {
3978
4440
  id: string;
3979
4441
  }
3980
4442
  export interface PostMenuV3BrandLocalResponse {
3981
- parent_id?: string;
3982
4443
  parent?: DraftBrandDTO;
3983
4444
  children?: DraftBrandDTO[];
3984
4445
  layouts?: DraftLayoutDTO[];
4446
+ categories?: DraftCategoryDTO[];
4447
+ category_to_items?: DraftCategoryToItemRelationshipDTO[];
3985
4448
  items?: DraftItemDTO[];
4449
+ item_to_modifier_group_relationships?: DraftItemToModifierGroupRelationshipDTO[];
3986
4450
  modifier_groups?: DraftModifierGroupDTO[];
3987
- modifiers?: DraftModifierDTO[];
3988
- categories?: DraftCategoryDTO[];
3989
4451
  modifier_group_to_modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
3990
- item_to_modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
3991
- category_to_items?: DraftCategoryToItemRelationshipDTO[];
4452
+ modifiers?: DraftModifierDTO[];
3992
4453
  id?: string;
3993
4454
  created_at?: string;
3994
4455
  updated_at?: string;
3995
4456
  deleted_at?: string;
4457
+ name: string;
4458
+ description?: string;
4459
+ is_active?: boolean;
4460
+ parent_id?: string;
4461
+ brand_group_id?: string;
3996
4462
  version?: number;
3997
4463
  changes?: DraftBrandChangeDTO[];
4464
+ brand_group?: BrandGroupDTO;
4465
+ attachments?: FileAttachmentsDTO;
3998
4466
  [index: string]: any;
3999
4467
  }
4000
4468
  export interface PostMenuV3BrandLocalRequest extends BaseRequest, PostMenuV3BrandLocalPath {
4001
4469
  }
4470
+ export interface PostMenuV3ItemAttachmentPath {
4471
+ id: string;
4472
+ name: string;
4473
+ }
4474
+ export interface PostMenuV3ItemAttachmentQuery {
4475
+ "body.data"?: string;
4476
+ }
4477
+ export interface PostMenuV3ItemAttachmentResponse {
4478
+ status?: string;
4479
+ }
4480
+ export interface PostMenuV3ItemAttachmentRequest extends BaseRequest, RequestQuery<PostMenuV3ItemAttachmentQuery>, PostMenuV3ItemAttachmentPath {
4481
+ }
4482
+ export interface PostMenuV3BrandAttachmentPath {
4483
+ id: string;
4484
+ name: string;
4485
+ }
4486
+ export interface PostMenuV3BrandAttachmentQuery {
4487
+ "body.data"?: string;
4488
+ }
4489
+ export interface PostMenuV3BrandAttachmentResponse {
4490
+ status?: string;
4491
+ }
4492
+ export interface PostMenuV3BrandAttachmentRequest extends BaseRequest, RequestQuery<PostMenuV3BrandAttachmentQuery>, PostMenuV3BrandAttachmentPath {
4493
+ }
4494
+ export interface PostMenuV3BrandGroupBody {
4495
+ name: string;
4496
+ description?: string;
4497
+ draft_brands?: DraftBrandDTO[];
4498
+ published_brands?: PublishedBrandDTO[];
4499
+ [index: string]: any;
4500
+ }
4501
+ export type PostMenuV3BrandGroupResponse = BrandGroupDTO;
4502
+ export interface PostMenuV3BrandGroupRequest extends BaseRequest {
4503
+ body: PostMenuV3BrandGroupBody;
4504
+ }
4505
+ export interface GetMenuV3BrandGroupPath {
4506
+ id: string;
4507
+ }
4508
+ export interface GetMenuV3BrandGroupQuery {
4509
+ select?: string[];
4510
+ relationships?: string[];
4511
+ _query?: string;
4512
+ }
4513
+ export type GetMenuV3BrandGroupResponse = BrandGroupDTO;
4514
+ export interface GetMenuV3BrandGroupRequest extends BaseRequest, RequestQuery<GetMenuV3BrandGroupQuery>, GetMenuV3BrandGroupPath {
4515
+ }
4516
+ export interface PatchMenuV3BrandGroupPath {
4517
+ id: string;
4518
+ }
4519
+ export interface PatchMenuV3BrandGroupBody {
4520
+ name?: string;
4521
+ description?: string;
4522
+ draft_brands?: DraftBrandDTO[];
4523
+ published_brands?: PublishedBrandDTO[];
4524
+ id?: string;
4525
+ [index: string]: any;
4526
+ }
4527
+ export type PatchMenuV3BrandGroupResponse = BrandGroupDTO;
4528
+ export interface PatchMenuV3BrandGroupRequest extends BaseRequest, PatchMenuV3BrandGroupPath {
4529
+ body: PatchMenuV3BrandGroupBody;
4530
+ }
4531
+ export interface DeleteMenuV3BrandGroupPath {
4532
+ id: string;
4533
+ }
4534
+ export type DeleteMenuV3BrandGroupResponse = BrandGroupDTO;
4535
+ export interface DeleteMenuV3BrandGroupRequest extends BaseRequest, DeleteMenuV3BrandGroupPath {
4536
+ }
4537
+ export interface GetMenuV3BrandGroupsQuery {
4538
+ select?: string[];
4539
+ relationships?: string[];
4540
+ filter?: any;
4541
+ limit?: number;
4542
+ page?: number;
4543
+ sort_by?: string;
4544
+ sort_order?: string;
4545
+ soft_deleted?: string;
4546
+ _query?: string;
4547
+ }
4548
+ export interface GetMenuV3BrandGroupsResponse {
4549
+ results: BrandGroupDTO[];
4550
+ meta?: ListResponseMetadataDTO;
4551
+ [index: string]: any;
4552
+ }
4553
+ export interface GetMenuV3BrandGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3BrandGroupsQuery> {
4554
+ }
4555
+ export type PostMenuV3BrandGroupsBody = {
4556
+ name: string;
4557
+ description?: string;
4558
+ draft_brands?: DraftBrandDTO[];
4559
+ published_brands?: PublishedBrandDTO[];
4560
+ id?: any;
4561
+ [index: string]: any;
4562
+ }[];
4563
+ export interface PostMenuV3BrandGroupsResponse {
4564
+ results: BrandGroupDTO[];
4565
+ meta?: ListResponseMetadataDTO;
4566
+ [index: string]: any;
4567
+ }
4568
+ export interface PostMenuV3BrandGroupsRequest extends BaseRequest {
4569
+ body: PostMenuV3BrandGroupsBody;
4570
+ }
4571
+ export interface GetMenuV3BrandGroupsCountQuery {
4572
+ filter?: any;
4573
+ _query?: string;
4574
+ }
4575
+ export interface GetMenuV3BrandGroupsCountResponse {
4576
+ count: number;
4577
+ [index: string]: any;
4578
+ }
4579
+ export interface GetMenuV3BrandGroupsCountRequest extends BaseRequest, RequestQuery<GetMenuV3BrandGroupsCountQuery> {
4580
+ }
4581
+ export interface GetMenuV3BrandGroupDraftBrandsPath {
4582
+ id: string;
4583
+ }
4584
+ export interface GetMenuV3BrandGroupDraftBrandsQuery {
4585
+ select?: string[];
4586
+ relationships?: string[];
4587
+ filter?: any;
4588
+ limit?: number;
4589
+ page?: number;
4590
+ sort_by?: string;
4591
+ sort_order?: string;
4592
+ soft_deleted?: string;
4593
+ _query?: string;
4594
+ }
4595
+ export interface GetMenuV3BrandGroupDraftBrandsResponse {
4596
+ results: DraftBrandDTO[];
4597
+ meta?: ListResponseMetadataDTO;
4598
+ [index: string]: any;
4599
+ }
4600
+ export interface GetMenuV3BrandGroupDraftBrandsRequest extends BaseRequest, RequestQuery<GetMenuV3BrandGroupDraftBrandsQuery>, GetMenuV3BrandGroupDraftBrandsPath {
4601
+ }
4602
+ export interface GetMenuV3BrandGroupBrandsPath {
4603
+ id: string;
4604
+ }
4605
+ export interface GetMenuV3BrandGroupBrandsQuery {
4606
+ select?: string[];
4607
+ relationships?: string[];
4608
+ filter?: any;
4609
+ limit?: number;
4610
+ page?: number;
4611
+ sort_by?: string;
4612
+ sort_order?: string;
4613
+ soft_deleted?: string;
4614
+ _query?: string;
4615
+ }
4616
+ export interface GetMenuV3BrandGroupBrandsResponse {
4617
+ results: DraftBrandDTO[];
4618
+ meta?: ListResponseMetadataDTO;
4619
+ [index: string]: any;
4620
+ }
4621
+ export interface GetMenuV3BrandGroupBrandsRequest extends BaseRequest, RequestQuery<GetMenuV3BrandGroupBrandsQuery>, GetMenuV3BrandGroupBrandsPath {
4622
+ }
4623
+ export interface GetMenuV3DraftBrandGroupBrandsPath {
4624
+ id: string;
4625
+ }
4626
+ export interface GetMenuV3DraftBrandGroupBrandsQuery {
4627
+ select?: string[];
4628
+ relationships?: string[];
4629
+ filter?: any;
4630
+ limit?: number;
4631
+ page?: number;
4632
+ sort_by?: string;
4633
+ sort_order?: string;
4634
+ soft_deleted?: string;
4635
+ _query?: string;
4636
+ }
4637
+ export interface GetMenuV3DraftBrandGroupBrandsResponse {
4638
+ results: DraftBrandDTO[];
4639
+ meta?: ListResponseMetadataDTO;
4640
+ [index: string]: any;
4641
+ }
4642
+ export interface GetMenuV3DraftBrandGroupBrandsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftBrandGroupBrandsQuery>, GetMenuV3DraftBrandGroupBrandsPath {
4643
+ }
4002
4644
  //# sourceMappingURL=menu.d.ts.map