@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.
- package/.editorconfig +0 -1
- package/lib/index.d.ts +111 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +119 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/announcement.d.ts +1 -0
- package/lib/interface/announcement.d.ts.map +1 -1
- package/lib/interface/calendar.d.ts +1 -0
- package/lib/interface/calendar.d.ts.map +1 -1
- package/lib/interface/compassconnect.d.ts +1 -0
- package/lib/interface/compassconnect.d.ts.map +1 -1
- package/lib/interface/config.d.ts +1 -0
- package/lib/interface/config.d.ts.map +1 -1
- package/lib/interface/datalake.d.ts +1 -0
- package/lib/interface/datalake.d.ts.map +1 -1
- package/lib/interface/delivery.d.ts +19 -0
- package/lib/interface/delivery.d.ts.map +1 -1
- package/lib/interface/email.d.ts +1 -0
- package/lib/interface/email.d.ts.map +1 -1
- package/lib/interface/file.d.ts +1 -0
- package/lib/interface/file.d.ts.map +1 -1
- package/lib/interface/kds.d.ts +1 -0
- package/lib/interface/kds.d.ts.map +1 -1
- package/lib/interface/location.d.ts +1 -0
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/mealplan.d.ts +2 -2
- package/lib/interface/mealplan.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +745 -103
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/notification.d.ts +1 -0
- package/lib/interface/notification.d.ts.map +1 -1
- package/lib/interface/order.d.ts +1 -0
- package/lib/interface/order.d.ts.map +1 -1
- package/lib/interface/partner.d.ts +1 -0
- package/lib/interface/partner.d.ts.map +1 -1
- package/lib/interface/payment.d.ts +1 -0
- package/lib/interface/payment.d.ts.map +1 -1
- package/lib/interface/permission.d.ts +1 -0
- package/lib/interface/permission.d.ts.map +1 -1
- package/lib/interface/promo.d.ts +1 -0
- package/lib/interface/promo.d.ts.map +1 -1
- package/lib/interface/report.d.ts +1 -0
- package/lib/interface/report.d.ts.map +1 -1
- package/lib/interface/shoppingcart.d.ts +12 -4
- package/lib/interface/shoppingcart.d.ts.map +1 -1
- package/lib/interface/task.d.ts +1 -0
- package/lib/interface/task.d.ts.map +1 -1
- package/lib/interface/user.d.ts +1 -0
- package/lib/interface/user.d.ts.map +1 -1
- package/lib/interface/vendor.d.ts +1 -0
- package/lib/interface/vendor.d.ts.map +1 -1
- package/manifest.json +39 -39
- package/package.json +3 -3
- package/src/index.ts +305 -0
- package/src/interface/announcement.ts +1 -0
- package/src/interface/calendar.ts +1 -0
- package/src/interface/compassconnect.ts +1 -0
- package/src/interface/config.ts +1 -0
- package/src/interface/datalake.ts +1 -0
- package/src/interface/delivery.ts +28 -0
- package/src/interface/email.ts +1 -0
- package/src/interface/file.ts +1 -0
- package/src/interface/kds.ts +1 -0
- package/src/interface/location.ts +1 -0
- package/src/interface/mealplan.ts +4 -4
- package/src/interface/menu.ts +960 -183
- package/src/interface/notification.ts +1 -0
- package/src/interface/order.ts +1 -0
- package/src/interface/partner.ts +1 -0
- package/src/interface/payment.ts +1 -0
- package/src/interface/permission.ts +1 -0
- package/src/interface/promo.ts +1 -0
- package/src/interface/report.ts +1 -0
- package/src/interface/shoppingcart.ts +13 -4
- package/src/interface/task.ts +1 -0
- package/src/interface/user.ts +1 -0
- package/src/interface/vendor.ts +1 -0
package/src/interface/menu.ts
CHANGED
|
@@ -490,6 +490,7 @@ export interface Success {
|
|
|
490
490
|
export interface Error {
|
|
491
491
|
error?: string;
|
|
492
492
|
code?: number;
|
|
493
|
+
data?: any;
|
|
493
494
|
}
|
|
494
495
|
|
|
495
496
|
export type AmountOffExclusionTypes = string;
|
|
@@ -686,18 +687,18 @@ export interface NotFoundErrorDTO {
|
|
|
686
687
|
|
|
687
688
|
export interface FilterFieldDTO {
|
|
688
689
|
// Alternatively you can pass in the value directly (like '{ key: value }' instead of '{ key : { $equal : value } }
|
|
689
|
-
$equals?:
|
|
690
|
-
$more_than?:
|
|
691
|
-
$more_than_or_equal?:
|
|
692
|
-
$less_than?:
|
|
693
|
-
$less_than_or_equal?:
|
|
690
|
+
$equals?: any;
|
|
691
|
+
$more_than?: any;
|
|
692
|
+
$more_than_or_equal?: any;
|
|
693
|
+
$less_than?: any;
|
|
694
|
+
$less_than_or_equal?: any;
|
|
694
695
|
// Accepts two 'range' values passed in an array (like '{ key : { $between : [ '2020-01-01', '2021-01-01' ] } }')
|
|
695
|
-
$between?:
|
|
696
|
+
$between?: any[];
|
|
696
697
|
// Can be combined with other operators (such as '{ key : { $not : { $more_than: 2 } } }')
|
|
697
|
-
$not?:
|
|
698
|
-
$in?:
|
|
699
|
-
$array_contains?:
|
|
700
|
-
$contains?:
|
|
698
|
+
$not?: any;
|
|
699
|
+
$in?: any[];
|
|
700
|
+
$array_contains?: any[];
|
|
701
|
+
$contains?: any;
|
|
701
702
|
}
|
|
702
703
|
|
|
703
704
|
export interface PaginationParamsDTO {
|
|
@@ -1049,19 +1050,12 @@ export interface PublishedCategoryToItemRelationshipDTO {
|
|
|
1049
1050
|
}
|
|
1050
1051
|
|
|
1051
1052
|
export interface PublishedBrandDTO {
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
modifier_groups?: PublishedModifierGroupDTO[];
|
|
1057
|
-
modifiers?: PublishedModifierDTO[];
|
|
1058
|
-
categories?: PublishedCategoryDTO[];
|
|
1059
|
-
modifier_group_to_modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
1060
|
-
item_to_modifier_groups?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
1061
|
-
category_to_items?: PublishedCategoryToItemRelationshipDTO[];
|
|
1053
|
+
id?: string;
|
|
1054
|
+
name?: string;
|
|
1055
|
+
description?: string;
|
|
1056
|
+
is_active?: boolean;
|
|
1062
1057
|
parent_id?: string;
|
|
1063
|
-
|
|
1064
|
-
changes?: DraftBrandChangeDTO[];
|
|
1058
|
+
brand_group_id?: string;
|
|
1065
1059
|
[index: string]: any;
|
|
1066
1060
|
}
|
|
1067
1061
|
|
|
@@ -1075,8 +1069,8 @@ export interface DraftLayoutDTO {
|
|
|
1075
1069
|
id?: any;
|
|
1076
1070
|
station_id?: string;
|
|
1077
1071
|
brand?: DraftBrandDTO;
|
|
1078
|
-
station?: StationDTO;
|
|
1079
1072
|
changes?: DraftLayoutChangeDTO[];
|
|
1073
|
+
station?: StationDTO;
|
|
1080
1074
|
[index: string]: any;
|
|
1081
1075
|
}
|
|
1082
1076
|
|
|
@@ -1094,8 +1088,12 @@ export interface DraftCategoryDTO {
|
|
|
1094
1088
|
}
|
|
1095
1089
|
|
|
1096
1090
|
export interface DraftBrandDTO {
|
|
1097
|
-
parent_id?: string;
|
|
1098
1091
|
id?: string;
|
|
1092
|
+
name?: string;
|
|
1093
|
+
description?: string;
|
|
1094
|
+
is_active?: boolean;
|
|
1095
|
+
parent_id?: string;
|
|
1096
|
+
brand_group_id?: string;
|
|
1099
1097
|
[index: string]: any;
|
|
1100
1098
|
}
|
|
1101
1099
|
|
|
@@ -1166,9 +1164,11 @@ export interface DraftCategoryToItemRelationshipDTO {
|
|
|
1166
1164
|
}
|
|
1167
1165
|
|
|
1168
1166
|
export interface DraftItemDTO {
|
|
1169
|
-
parent_id?: string;
|
|
1170
1167
|
parent?: any;
|
|
1171
1168
|
children?: any[];
|
|
1169
|
+
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
1170
|
+
id?: string;
|
|
1171
|
+
parent_id?: string;
|
|
1172
1172
|
name?: string;
|
|
1173
1173
|
label?: string;
|
|
1174
1174
|
description?: string;
|
|
@@ -1180,14 +1180,13 @@ export interface DraftItemDTO {
|
|
|
1180
1180
|
is_in_stock?: boolean;
|
|
1181
1181
|
posid?: string;
|
|
1182
1182
|
tax_tags?: FilterFieldDTO[];
|
|
1183
|
-
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
1184
1183
|
brand_id?: string;
|
|
1185
1184
|
station_id?: string;
|
|
1186
|
-
id?: string;
|
|
1187
|
-
categories?: any[];
|
|
1188
1185
|
brand?: DraftBrandDTO;
|
|
1189
|
-
station?: StationDTO;
|
|
1190
1186
|
changes?: DraftItemChangeDTO[];
|
|
1187
|
+
categories?: any[];
|
|
1188
|
+
station?: StationDTO;
|
|
1189
|
+
attachments?: FileAttachmentsDTO;
|
|
1191
1190
|
[index: string]: any;
|
|
1192
1191
|
}
|
|
1193
1192
|
|
|
@@ -1200,8 +1199,8 @@ export interface DraftItemToModifierGroupRelationshipDTO {
|
|
|
1200
1199
|
item_id?: string;
|
|
1201
1200
|
brand_id?: FilterFieldDTO;
|
|
1202
1201
|
sequence?: number;
|
|
1203
|
-
modifier_group?: DraftModifierGroupDTO;
|
|
1204
1202
|
item?: any;
|
|
1203
|
+
modifier_group?: DraftModifierGroupDTO;
|
|
1205
1204
|
brand?: DraftBrandDTO;
|
|
1206
1205
|
changes?: DraftItemToModifierGroupRelationshipChangeDTO[];
|
|
1207
1206
|
[index: string]: any;
|
|
@@ -1245,9 +1244,11 @@ export interface DraftModifierGroupToModifierRelationshipDTO {
|
|
|
1245
1244
|
}
|
|
1246
1245
|
|
|
1247
1246
|
export interface DraftModifierDTO {
|
|
1248
|
-
parent_id?: string;
|
|
1249
1247
|
parent?: any;
|
|
1250
1248
|
children?: any[];
|
|
1249
|
+
modifier_groups?: any[];
|
|
1250
|
+
id?: string;
|
|
1251
|
+
parent_id?: string;
|
|
1251
1252
|
name?: string;
|
|
1252
1253
|
label?: string;
|
|
1253
1254
|
description?: string;
|
|
@@ -1258,13 +1259,11 @@ export interface DraftModifierDTO {
|
|
|
1258
1259
|
is_active?: boolean;
|
|
1259
1260
|
is_in_stock?: boolean;
|
|
1260
1261
|
posid?: string;
|
|
1261
|
-
modifier_groups?: any[];
|
|
1262
1262
|
brand_id?: string;
|
|
1263
1263
|
station_id?: string;
|
|
1264
|
-
id?: string;
|
|
1265
1264
|
brand?: DraftBrandDTO;
|
|
1266
|
-
station?: StationDTO;
|
|
1267
1265
|
changes?: DraftModifierChangeDTO[];
|
|
1266
|
+
station?: StationDTO;
|
|
1268
1267
|
[index: string]: any;
|
|
1269
1268
|
}
|
|
1270
1269
|
|
|
@@ -1709,103 +1708,549 @@ export interface PublishedModifierPublishedModifierDTO {
|
|
|
1709
1708
|
[index: string]: any;
|
|
1710
1709
|
}
|
|
1711
1710
|
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
soft_deleted?: string;
|
|
1729
|
-
// Graphql query string
|
|
1730
|
-
_query?: string;
|
|
1731
|
-
}
|
|
1732
|
-
|
|
1733
|
-
export interface GetMenuV3ModifiersResponse {
|
|
1734
|
-
results: PublishedModifierDTO[];
|
|
1735
|
-
meta?: ListResponseMetadataDTO;
|
|
1711
|
+
export interface DraftLayoutDraftLayoutDraftLayoutDTO {
|
|
1712
|
+
parent_id?: any;
|
|
1713
|
+
name?: any;
|
|
1714
|
+
brand_id?: any;
|
|
1715
|
+
station_id?: any;
|
|
1716
|
+
id?: any;
|
|
1717
|
+
version?: any;
|
|
1718
|
+
created_at?: any;
|
|
1719
|
+
updated_at?: any;
|
|
1720
|
+
deleted_at?: any;
|
|
1721
|
+
parent?: any;
|
|
1722
|
+
children?: any[];
|
|
1723
|
+
categories?: DraftCategoryDTO[];
|
|
1724
|
+
brand?: DraftBrandDTO;
|
|
1725
|
+
changes?: DraftLayoutChangeDTO[];
|
|
1726
|
+
station?: StationDTO;
|
|
1736
1727
|
[index: string]: any;
|
|
1737
1728
|
}
|
|
1738
1729
|
|
|
1739
|
-
export interface
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1730
|
+
export interface DraftCategoryDraftCategoryDraftCategoryDTO {
|
|
1731
|
+
parent_id?: FilterFieldDTO;
|
|
1732
|
+
name?: FilterFieldDTO;
|
|
1733
|
+
label?: FilterFieldDTO;
|
|
1734
|
+
sequence?: FilterFieldDTO;
|
|
1735
|
+
priority?: FilterFieldDTO;
|
|
1736
|
+
is_active?: FilterFieldDTO;
|
|
1737
|
+
layout_id?: FilterFieldDTO;
|
|
1738
|
+
brand_id?: FilterFieldDTO;
|
|
1739
|
+
id?: FilterFieldDTO;
|
|
1740
|
+
version?: FilterFieldDTO;
|
|
1741
|
+
created_at?: FilterFieldDTO;
|
|
1742
|
+
updated_at?: FilterFieldDTO;
|
|
1743
|
+
deleted_at?: FilterFieldDTO;
|
|
1744
|
+
parent?: any;
|
|
1745
|
+
children?: any[];
|
|
1746
|
+
layout?: DraftLayoutDTO;
|
|
1747
|
+
items?: DraftCategoryToItemRelationshipDTO[];
|
|
1748
|
+
brand?: DraftBrandDTO;
|
|
1749
|
+
changes?: DraftCategoryChangeDTO[];
|
|
1750
|
+
[index: string]: any;
|
|
1747
1751
|
}
|
|
1748
1752
|
|
|
1749
|
-
export interface
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1753
|
+
export interface DraftCategoryToItemRelationshipDraftCategoryToItemRelationshipDraftCategoryToItemRelationshipDTO {
|
|
1754
|
+
parent_id?: FilterFieldDTO;
|
|
1755
|
+
deleted_at?: FilterFieldDTO;
|
|
1756
|
+
category_id?: FilterFieldDTO;
|
|
1757
|
+
item_id?: FilterFieldDTO;
|
|
1758
|
+
brand_id?: FilterFieldDTO;
|
|
1759
|
+
sequence?: FilterFieldDTO;
|
|
1760
|
+
id?: FilterFieldDTO;
|
|
1761
|
+
version?: FilterFieldDTO;
|
|
1762
|
+
created_at?: FilterFieldDTO;
|
|
1763
|
+
updated_at?: FilterFieldDTO;
|
|
1764
|
+
parent?: any;
|
|
1765
|
+
children?: any[];
|
|
1766
|
+
category?: DraftCategoryDTO;
|
|
1767
|
+
item?: DraftItemDTO;
|
|
1768
|
+
brand?: DraftBrandDTO;
|
|
1769
|
+
changes?: DraftCategoryToItemRelationshipChangeDTO[];
|
|
1770
|
+
[index: string]: any;
|
|
1756
1771
|
}
|
|
1757
1772
|
|
|
1758
|
-
export
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1773
|
+
export interface DraftItemDraftItemDraftItemDraftItemDTO {
|
|
1774
|
+
parent_id?: FilterFieldDTO;
|
|
1775
|
+
name?: FilterFieldDTO;
|
|
1776
|
+
label?: FilterFieldDTO;
|
|
1777
|
+
description?: FilterFieldDTO;
|
|
1778
|
+
price?: FilterFieldDTO;
|
|
1779
|
+
barcode?: FilterFieldDTO;
|
|
1780
|
+
calories?: FilterFieldDTO;
|
|
1781
|
+
priority?: FilterFieldDTO;
|
|
1782
|
+
is_active?: FilterFieldDTO;
|
|
1783
|
+
is_in_stock?: FilterFieldDTO;
|
|
1784
|
+
posid?: FilterFieldDTO;
|
|
1785
|
+
tax_tags?: FilterFieldDTO[];
|
|
1786
|
+
brand_id?: FilterFieldDTO;
|
|
1787
|
+
station_id?: FilterFieldDTO;
|
|
1788
|
+
id?: FilterFieldDTO;
|
|
1789
|
+
version?: FilterFieldDTO;
|
|
1790
|
+
created_at?: FilterFieldDTO;
|
|
1791
|
+
updated_at?: FilterFieldDTO;
|
|
1792
|
+
deleted_at?: FilterFieldDTO;
|
|
1793
|
+
parent?: any;
|
|
1794
|
+
children?: any[];
|
|
1795
|
+
brand?: DraftBrandDTO;
|
|
1796
|
+
changes?: DraftItemChangeDTO[];
|
|
1797
|
+
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
1798
|
+
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
1782
1799
|
station?: StationDTO;
|
|
1800
|
+
attachments?: FileAttachmentsDTO;
|
|
1783
1801
|
[index: string]: any;
|
|
1784
1802
|
}
|
|
1785
1803
|
|
|
1786
|
-
export
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1804
|
+
export interface DraftItemToModifierGroupRelationshipDraftItemToModifierGroupRelationshipDraftItemToModifierGroupRelationshipDTO {
|
|
1805
|
+
parent_id?: FilterFieldDTO;
|
|
1806
|
+
deleted_at?: FilterFieldDTO;
|
|
1807
|
+
modifier_group_id?: FilterFieldDTO;
|
|
1808
|
+
item_id?: FilterFieldDTO;
|
|
1809
|
+
brand_id?: FilterFieldDTO;
|
|
1810
|
+
sequence?: FilterFieldDTO;
|
|
1811
|
+
id?: FilterFieldDTO;
|
|
1812
|
+
version?: FilterFieldDTO;
|
|
1813
|
+
created_at?: FilterFieldDTO;
|
|
1814
|
+
updated_at?: FilterFieldDTO;
|
|
1815
|
+
parent?: any;
|
|
1816
|
+
children?: any[];
|
|
1817
|
+
item?: DraftItemDTO;
|
|
1818
|
+
modifier_group?: DraftModifierGroupDTO;
|
|
1819
|
+
brand?: DraftBrandDTO;
|
|
1820
|
+
changes?: DraftItemToModifierGroupRelationshipChangeDTO[];
|
|
1821
|
+
[index: string]: any;
|
|
1790
1822
|
}
|
|
1791
1823
|
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1824
|
+
export interface DraftModifierGroupDraftModifierGroupDraftModifierGroupDraftModifierGroupDTO {
|
|
1825
|
+
parent_id?: FilterFieldDTO;
|
|
1826
|
+
name?: FilterFieldDTO;
|
|
1827
|
+
label?: FilterFieldDTO;
|
|
1828
|
+
min?: FilterFieldDTO;
|
|
1829
|
+
max?: FilterFieldDTO;
|
|
1830
|
+
is_active?: FilterFieldDTO;
|
|
1831
|
+
priority?: FilterFieldDTO;
|
|
1832
|
+
brand_id?: FilterFieldDTO;
|
|
1833
|
+
station_id?: FilterFieldDTO;
|
|
1834
|
+
id?: FilterFieldDTO;
|
|
1835
|
+
version?: FilterFieldDTO;
|
|
1836
|
+
created_at?: FilterFieldDTO;
|
|
1837
|
+
updated_at?: FilterFieldDTO;
|
|
1838
|
+
deleted_at?: FilterFieldDTO;
|
|
1839
|
+
parent?: any;
|
|
1840
|
+
children?: any[];
|
|
1841
|
+
modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
1842
|
+
items?: DraftItemToModifierGroupRelationshipDTO[];
|
|
1843
|
+
brand?: DraftBrandDTO;
|
|
1844
|
+
station?: StationDTO;
|
|
1845
|
+
changes?: DraftModifierGroupChangeDTO[];
|
|
1846
|
+
[index: string]: any;
|
|
1797
1847
|
}
|
|
1798
1848
|
|
|
1799
|
-
export interface
|
|
1800
|
-
|
|
1849
|
+
export interface DraftModifierGroupToModifierRelationshipDraftModifierGroupToModifierRelationshipDraftModifierGroupToModifierRelationshipDTO {
|
|
1850
|
+
parent_id?: FilterFieldDTO;
|
|
1851
|
+
deleted_at?: FilterFieldDTO;
|
|
1852
|
+
modifier_id?: FilterFieldDTO;
|
|
1853
|
+
modifier_group_id?: FilterFieldDTO;
|
|
1854
|
+
brand_id?: FilterFieldDTO;
|
|
1855
|
+
sequence?: FilterFieldDTO;
|
|
1856
|
+
id?: FilterFieldDTO;
|
|
1857
|
+
version?: FilterFieldDTO;
|
|
1858
|
+
created_at?: FilterFieldDTO;
|
|
1859
|
+
updated_at?: FilterFieldDTO;
|
|
1860
|
+
parent?: any;
|
|
1861
|
+
children?: any[];
|
|
1862
|
+
modifier?: DraftModifierDTO;
|
|
1863
|
+
modifier_group?: DraftModifierGroupDTO;
|
|
1864
|
+
brand?: DraftBrandDTO;
|
|
1865
|
+
changes?: DraftModifierGroupToModifierRelationshipChangeDTO[];
|
|
1866
|
+
[index: string]: any;
|
|
1801
1867
|
}
|
|
1802
1868
|
|
|
1803
|
-
export interface
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1869
|
+
export interface DraftModifierDraftModifierDraftModifierDraftModifierDTO {
|
|
1870
|
+
parent_id?: FilterFieldDTO;
|
|
1871
|
+
name?: FilterFieldDTO;
|
|
1872
|
+
label?: FilterFieldDTO;
|
|
1873
|
+
description?: FilterFieldDTO;
|
|
1874
|
+
price?: FilterFieldDTO;
|
|
1875
|
+
calories?: FilterFieldDTO;
|
|
1876
|
+
priority?: FilterFieldDTO;
|
|
1877
|
+
tax_tags?: FilterFieldDTO[];
|
|
1878
|
+
is_active?: FilterFieldDTO;
|
|
1879
|
+
is_in_stock?: FilterFieldDTO;
|
|
1880
|
+
posid?: FilterFieldDTO;
|
|
1881
|
+
brand_id?: FilterFieldDTO;
|
|
1882
|
+
station_id?: FilterFieldDTO;
|
|
1883
|
+
id?: FilterFieldDTO;
|
|
1884
|
+
version?: FilterFieldDTO;
|
|
1885
|
+
created_at?: FilterFieldDTO;
|
|
1886
|
+
updated_at?: FilterFieldDTO;
|
|
1887
|
+
deleted_at?: FilterFieldDTO;
|
|
1888
|
+
parent?: any;
|
|
1889
|
+
children?: any[];
|
|
1890
|
+
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
1891
|
+
brand?: DraftBrandDTO;
|
|
1892
|
+
changes?: DraftModifierChangeDTO[];
|
|
1893
|
+
station?: StationDTO;
|
|
1894
|
+
[index: string]: any;
|
|
1895
|
+
}
|
|
1896
|
+
|
|
1897
|
+
export interface DraftBrandDraftBrandDraftBrandDTO {
|
|
1898
|
+
name?: FilterFieldDTO;
|
|
1899
|
+
description?: FilterFieldDTO;
|
|
1900
|
+
is_active?: FilterFieldDTO;
|
|
1901
|
+
parent_id?: FilterFieldDTO;
|
|
1902
|
+
brand_group_id?: FilterFieldDTO;
|
|
1903
|
+
id?: FilterFieldDTO;
|
|
1904
|
+
version?: FilterFieldDTO;
|
|
1905
|
+
created_at?: FilterFieldDTO;
|
|
1906
|
+
updated_at?: FilterFieldDTO;
|
|
1907
|
+
deleted_at?: FilterFieldDTO;
|
|
1908
|
+
parent?: any;
|
|
1909
|
+
children?: any[];
|
|
1910
|
+
changes?: DraftBrandChangeDTO[];
|
|
1911
|
+
brand_group?: BrandGroupDTO;
|
|
1912
|
+
layouts?: DraftLayoutDTO[];
|
|
1913
|
+
categories?: DraftCategoryDTO[];
|
|
1914
|
+
category_to_items?: DraftCategoryToItemRelationshipDTO[];
|
|
1915
|
+
items?: DraftItemDTO[];
|
|
1916
|
+
item_to_modifier_group_relationships?: DraftItemToModifierGroupRelationshipDTO[];
|
|
1917
|
+
modifier_groups?: DraftModifierGroupDTO[];
|
|
1918
|
+
modifier_group_to_modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
1919
|
+
modifiers?: DraftModifierDTO[];
|
|
1920
|
+
attachments?: FileAttachmentsDTO;
|
|
1921
|
+
[index: string]: any;
|
|
1922
|
+
}
|
|
1923
|
+
|
|
1924
|
+
export interface PublishedBrandPublishedBrandPublishedBrandDTO {
|
|
1925
|
+
name?: FilterFieldDTO;
|
|
1926
|
+
description?: FilterFieldDTO;
|
|
1927
|
+
is_active?: FilterFieldDTO;
|
|
1928
|
+
parent_id?: FilterFieldDTO;
|
|
1929
|
+
brand_group_id?: FilterFieldDTO;
|
|
1930
|
+
id?: FilterFieldDTO;
|
|
1931
|
+
version?: FilterFieldDTO;
|
|
1932
|
+
created_at?: FilterFieldDTO;
|
|
1933
|
+
updated_at?: FilterFieldDTO;
|
|
1934
|
+
deleted_at?: FilterFieldDTO;
|
|
1935
|
+
parent?: any;
|
|
1936
|
+
children?: any[];
|
|
1937
|
+
brand_group?: BrandGroupDTO;
|
|
1938
|
+
layouts?: PublishedLayoutDTO[];
|
|
1939
|
+
categories?: PublishedCategoryDTO[];
|
|
1940
|
+
category_to_items?: PublishedCategoryToItemRelationshipDTO[];
|
|
1941
|
+
items?: PublishedItemDTO[];
|
|
1942
|
+
item_to_modifier_group_relationships?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
1943
|
+
modifier_groups?: PublishedModifierGroupDTO[];
|
|
1944
|
+
modifier_group_to_modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
1945
|
+
modifiers?: PublishedModifierDTO[];
|
|
1946
|
+
attachments?: FileAttachmentsDTO;
|
|
1947
|
+
[index: string]: any;
|
|
1948
|
+
}
|
|
1949
|
+
|
|
1950
|
+
export interface PublishedLayoutPublishedLayoutPublishedLayoutDTO {
|
|
1951
|
+
parent_id?: FilterFieldDTO;
|
|
1952
|
+
name?: FilterFieldDTO;
|
|
1953
|
+
brand_id?: FilterFieldDTO;
|
|
1954
|
+
station_id?: FilterFieldDTO;
|
|
1955
|
+
id?: FilterFieldDTO;
|
|
1956
|
+
version?: FilterFieldDTO;
|
|
1957
|
+
created_at?: FilterFieldDTO;
|
|
1958
|
+
updated_at?: FilterFieldDTO;
|
|
1959
|
+
deleted_at?: FilterFieldDTO;
|
|
1960
|
+
parent?: any;
|
|
1961
|
+
children?: any[];
|
|
1962
|
+
categories?: PublishedCategoryDTO[];
|
|
1963
|
+
brand?: PublishedBrandDTO;
|
|
1964
|
+
station?: StationDTO;
|
|
1965
|
+
[index: string]: any;
|
|
1966
|
+
}
|
|
1967
|
+
|
|
1968
|
+
export interface PublishedCategoryPublishedCategoryPublishedCategoryDTO {
|
|
1969
|
+
parent_id?: FilterFieldDTO;
|
|
1970
|
+
name?: FilterFieldDTO;
|
|
1971
|
+
label?: FilterFieldDTO;
|
|
1972
|
+
sequence?: FilterFieldDTO;
|
|
1973
|
+
priority?: FilterFieldDTO;
|
|
1974
|
+
is_active?: FilterFieldDTO;
|
|
1975
|
+
layout_id?: FilterFieldDTO;
|
|
1976
|
+
brand_id?: FilterFieldDTO;
|
|
1977
|
+
id?: FilterFieldDTO;
|
|
1978
|
+
version?: FilterFieldDTO;
|
|
1979
|
+
created_at?: FilterFieldDTO;
|
|
1980
|
+
updated_at?: FilterFieldDTO;
|
|
1981
|
+
deleted_at?: FilterFieldDTO;
|
|
1982
|
+
parent?: any;
|
|
1983
|
+
children?: any[];
|
|
1984
|
+
layout?: PublishedLayoutDTO;
|
|
1985
|
+
items?: PublishedCategoryToItemRelationshipDTO[];
|
|
1986
|
+
brand?: PublishedBrandDTO;
|
|
1987
|
+
changes?: DraftCategoryChangeDTO[];
|
|
1988
|
+
[index: string]: any;
|
|
1989
|
+
}
|
|
1990
|
+
|
|
1991
|
+
export interface PublishedCategoryToItemRelationshipPublishedCategoryToItemRelationshipPublishedCategoryToItemRelationshipDTO {
|
|
1992
|
+
parent_id?: FilterFieldDTO;
|
|
1993
|
+
deleted_at?: FilterFieldDTO;
|
|
1994
|
+
category_id?: FilterFieldDTO;
|
|
1995
|
+
item_id?: FilterFieldDTO;
|
|
1996
|
+
brand_id?: FilterFieldDTO;
|
|
1997
|
+
sequence?: FilterFieldDTO;
|
|
1998
|
+
id?: FilterFieldDTO;
|
|
1999
|
+
version?: FilterFieldDTO;
|
|
2000
|
+
created_at?: FilterFieldDTO;
|
|
2001
|
+
updated_at?: FilterFieldDTO;
|
|
2002
|
+
parent?: any;
|
|
2003
|
+
children?: any[];
|
|
2004
|
+
category?: PublishedCategoryDTO;
|
|
2005
|
+
item?: PublishedItemDTO;
|
|
2006
|
+
brand?: PublishedBrandDTO;
|
|
2007
|
+
changes?: DraftCategoryToItemRelationshipChangeDTO[];
|
|
2008
|
+
[index: string]: any;
|
|
2009
|
+
}
|
|
2010
|
+
|
|
2011
|
+
export interface PublishedItemPublishedItemPublishedItemDTO {
|
|
2012
|
+
parent_id?: FilterFieldDTO;
|
|
2013
|
+
name?: FilterFieldDTO;
|
|
2014
|
+
label?: FilterFieldDTO;
|
|
2015
|
+
description?: FilterFieldDTO;
|
|
2016
|
+
price?: FilterFieldDTO;
|
|
2017
|
+
barcode?: FilterFieldDTO;
|
|
2018
|
+
calories?: FilterFieldDTO;
|
|
2019
|
+
priority?: FilterFieldDTO;
|
|
2020
|
+
is_active?: FilterFieldDTO;
|
|
2021
|
+
is_in_stock?: FilterFieldDTO;
|
|
2022
|
+
posid?: FilterFieldDTO;
|
|
2023
|
+
tax_tags?: FilterFieldDTO[];
|
|
2024
|
+
brand_id?: FilterFieldDTO;
|
|
2025
|
+
station_id?: FilterFieldDTO;
|
|
2026
|
+
id?: FilterFieldDTO;
|
|
2027
|
+
version?: FilterFieldDTO;
|
|
2028
|
+
created_at?: FilterFieldDTO;
|
|
2029
|
+
updated_at?: FilterFieldDTO;
|
|
2030
|
+
deleted_at?: FilterFieldDTO;
|
|
2031
|
+
parent?: any;
|
|
2032
|
+
children?: any[];
|
|
2033
|
+
brand?: PublishedBrandDTO;
|
|
2034
|
+
modifier_groups?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
2035
|
+
categories?: PublishedCategoryToItemRelationshipDTO[];
|
|
2036
|
+
station?: StationDTO;
|
|
2037
|
+
attachments?: FileAttachmentsDTO;
|
|
2038
|
+
[index: string]: any;
|
|
2039
|
+
}
|
|
2040
|
+
|
|
2041
|
+
export interface PublishedItemToModifierGroupRelationshipPublishedItemToModifierGroupRelationshipPublishedItemToModifierGroupRelationshipDTO {
|
|
2042
|
+
parent_id?: FilterFieldDTO;
|
|
2043
|
+
deleted_at?: FilterFieldDTO;
|
|
2044
|
+
modifier_group_id?: FilterFieldDTO;
|
|
2045
|
+
item_id?: FilterFieldDTO;
|
|
2046
|
+
brand_id?: FilterFieldDTO;
|
|
2047
|
+
sequence?: FilterFieldDTO;
|
|
2048
|
+
id?: FilterFieldDTO;
|
|
2049
|
+
version?: FilterFieldDTO;
|
|
2050
|
+
created_at?: FilterFieldDTO;
|
|
2051
|
+
updated_at?: FilterFieldDTO;
|
|
2052
|
+
parent?: any;
|
|
2053
|
+
children?: any[];
|
|
2054
|
+
item?: PublishedItemDTO;
|
|
2055
|
+
modifier_group?: PublishedModifierGroupDTO;
|
|
2056
|
+
brand?: PublishedBrandDTO;
|
|
2057
|
+
[index: string]: any;
|
|
2058
|
+
}
|
|
2059
|
+
|
|
2060
|
+
export interface PublishedModifierGroupPublishedModifierGroupPublishedModifierGroupDTO {
|
|
2061
|
+
parent_id?: FilterFieldDTO;
|
|
2062
|
+
name?: FilterFieldDTO;
|
|
2063
|
+
label?: FilterFieldDTO;
|
|
2064
|
+
min?: FilterFieldDTO;
|
|
2065
|
+
max?: FilterFieldDTO;
|
|
2066
|
+
is_active?: FilterFieldDTO;
|
|
2067
|
+
priority?: FilterFieldDTO;
|
|
2068
|
+
brand_id?: FilterFieldDTO;
|
|
2069
|
+
station_id?: FilterFieldDTO;
|
|
2070
|
+
id?: FilterFieldDTO;
|
|
2071
|
+
version?: FilterFieldDTO;
|
|
2072
|
+
created_at?: FilterFieldDTO;
|
|
2073
|
+
updated_at?: FilterFieldDTO;
|
|
2074
|
+
deleted_at?: FilterFieldDTO;
|
|
2075
|
+
parent?: any;
|
|
2076
|
+
children?: any[];
|
|
2077
|
+
modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
2078
|
+
items?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
2079
|
+
brand?: PublishedBrandDTO;
|
|
2080
|
+
station?: StationDTO;
|
|
2081
|
+
changes?: DraftModifierGroupChangeDTO[];
|
|
2082
|
+
[index: string]: any;
|
|
2083
|
+
}
|
|
2084
|
+
|
|
2085
|
+
export interface PublishedModifierGroupToModifierRelationshipPublishedModifierGroupToModifierRelationshipPublishedModifierGroupToModifierRelationshipDTO {
|
|
2086
|
+
parent_id?: FilterFieldDTO;
|
|
2087
|
+
deleted_at?: FilterFieldDTO;
|
|
2088
|
+
modifier_id?: FilterFieldDTO;
|
|
2089
|
+
modifier_group_id?: FilterFieldDTO;
|
|
2090
|
+
brand_id?: FilterFieldDTO;
|
|
2091
|
+
sequence?: FilterFieldDTO;
|
|
2092
|
+
id?: FilterFieldDTO;
|
|
2093
|
+
version?: FilterFieldDTO;
|
|
2094
|
+
created_at?: FilterFieldDTO;
|
|
2095
|
+
updated_at?: FilterFieldDTO;
|
|
2096
|
+
parent?: any;
|
|
2097
|
+
children?: any[];
|
|
2098
|
+
modifier_group?: PublishedModifierGroupDTO;
|
|
2099
|
+
modifier?: PublishedModifierDTO;
|
|
2100
|
+
brand?: PublishedBrandDTO;
|
|
2101
|
+
changes?: DraftModifierGroupToModifierRelationshipChangeDTO[];
|
|
2102
|
+
[index: string]: any;
|
|
2103
|
+
}
|
|
2104
|
+
|
|
2105
|
+
export interface PublishedModifierPublishedModifierPublishedModifierDTO {
|
|
2106
|
+
parent_id?: FilterFieldDTO;
|
|
2107
|
+
name?: FilterFieldDTO;
|
|
2108
|
+
label?: FilterFieldDTO;
|
|
2109
|
+
description?: FilterFieldDTO;
|
|
2110
|
+
price?: FilterFieldDTO;
|
|
2111
|
+
calories?: FilterFieldDTO;
|
|
2112
|
+
priority?: FilterFieldDTO;
|
|
2113
|
+
tax_tags?: FilterFieldDTO[];
|
|
2114
|
+
is_active?: FilterFieldDTO;
|
|
2115
|
+
is_in_stock?: FilterFieldDTO;
|
|
2116
|
+
posid?: FilterFieldDTO;
|
|
2117
|
+
brand_id?: FilterFieldDTO;
|
|
2118
|
+
station_id?: FilterFieldDTO;
|
|
2119
|
+
id?: FilterFieldDTO;
|
|
2120
|
+
version?: FilterFieldDTO;
|
|
2121
|
+
created_at?: FilterFieldDTO;
|
|
2122
|
+
updated_at?: FilterFieldDTO;
|
|
2123
|
+
deleted_at?: FilterFieldDTO;
|
|
2124
|
+
parent?: any;
|
|
2125
|
+
children?: any[];
|
|
2126
|
+
modifier_groups?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
2127
|
+
brand?: PublishedBrandDTO;
|
|
2128
|
+
station?: StationDTO;
|
|
2129
|
+
[index: string]: any;
|
|
2130
|
+
}
|
|
2131
|
+
|
|
2132
|
+
export interface AttachmentsDTO {
|
|
2133
|
+
thumbnail?: FilterFieldDTO;
|
|
2134
|
+
id?: any;
|
|
2135
|
+
[index: string]: any;
|
|
2136
|
+
}
|
|
2137
|
+
|
|
2138
|
+
export interface SiteDTO {
|
|
2139
|
+
id?: string;
|
|
2140
|
+
name?: string;
|
|
2141
|
+
[index: string]: any;
|
|
2142
|
+
}
|
|
2143
|
+
|
|
2144
|
+
export interface BrandGroupDTO {
|
|
2145
|
+
name?: string;
|
|
2146
|
+
description?: string;
|
|
2147
|
+
id?: string;
|
|
2148
|
+
[index: string]: any;
|
|
2149
|
+
}
|
|
2150
|
+
|
|
2151
|
+
export interface FileAttachmentsDTO {
|
|
2152
|
+
thumbnail?: FilterFieldDTO;
|
|
2153
|
+
id?: any;
|
|
2154
|
+
[index: string]: any;
|
|
2155
|
+
}
|
|
2156
|
+
|
|
2157
|
+
// GET /menu/v3/modifiers
|
|
2158
|
+
|
|
2159
|
+
export interface GetMenuV3ModifiersQuery {
|
|
2160
|
+
// If specified, only the selected fields will be returned
|
|
2161
|
+
select?: string[];
|
|
2162
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
2163
|
+
relationships?: string[];
|
|
2164
|
+
// The fields that filtering is allowed on
|
|
2165
|
+
filter?: any;
|
|
2166
|
+
// Number of records to load per page
|
|
2167
|
+
limit?: number;
|
|
2168
|
+
page?: number;
|
|
2169
|
+
// A field to sort the results based on
|
|
2170
|
+
sort_by?: string;
|
|
2171
|
+
sort_order?: string;
|
|
2172
|
+
// How soft deleted records should be shown in the list
|
|
2173
|
+
soft_deleted?: string;
|
|
2174
|
+
// Graphql query string
|
|
2175
|
+
_query?: string;
|
|
2176
|
+
}
|
|
2177
|
+
|
|
2178
|
+
export interface GetMenuV3ModifiersResponse {
|
|
2179
|
+
results: PublishedModifierDTO[];
|
|
2180
|
+
meta?: ListResponseMetadataDTO;
|
|
2181
|
+
[index: string]: any;
|
|
2182
|
+
}
|
|
2183
|
+
|
|
2184
|
+
export interface GetMenuV3ModifiersRequest
|
|
2185
|
+
extends BaseRequest,
|
|
2186
|
+
RequestQuery<GetMenuV3ModifiersQuery> {}
|
|
2187
|
+
|
|
2188
|
+
// GET /menu/v3/modifier/{id}
|
|
2189
|
+
|
|
2190
|
+
export interface GetMenuV3ModifierPath {
|
|
2191
|
+
id: string;
|
|
2192
|
+
}
|
|
2193
|
+
|
|
2194
|
+
export interface GetMenuV3ModifierQuery {
|
|
2195
|
+
// If specified, only the selected fields will be returned
|
|
2196
|
+
select?: string[];
|
|
2197
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
2198
|
+
relationships?: string[];
|
|
2199
|
+
// Graphql query string
|
|
2200
|
+
_query?: string;
|
|
2201
|
+
}
|
|
2202
|
+
|
|
2203
|
+
export type GetMenuV3ModifierResponse = PublishedModifierDTO;
|
|
2204
|
+
|
|
2205
|
+
export interface GetMenuV3ModifierRequest
|
|
2206
|
+
extends BaseRequest,
|
|
2207
|
+
RequestQuery<GetMenuV3ModifierQuery>,
|
|
2208
|
+
GetMenuV3ModifierPath {}
|
|
2209
|
+
|
|
2210
|
+
// POST /menu/v3/modifier
|
|
2211
|
+
|
|
2212
|
+
export interface PostMenuV3ModifierBody {
|
|
2213
|
+
name: string;
|
|
2214
|
+
label?: string;
|
|
2215
|
+
description?: string;
|
|
2216
|
+
price: number;
|
|
2217
|
+
calories?: number;
|
|
2218
|
+
priority?: number;
|
|
2219
|
+
tax_tags?: string[];
|
|
2220
|
+
is_active?: boolean;
|
|
2221
|
+
is_in_stock?: boolean;
|
|
2222
|
+
posid: string;
|
|
2223
|
+
modifier_groups?: ModifierGroupToModifierRelationshipDTO[];
|
|
2224
|
+
brand_id: string;
|
|
2225
|
+
station_id?: string;
|
|
2226
|
+
brand?: BrandDTO;
|
|
2227
|
+
station?: StationDTO;
|
|
2228
|
+
[index: string]: any;
|
|
2229
|
+
}
|
|
2230
|
+
|
|
2231
|
+
export type PostMenuV3ModifierResponse = ModifierDTO;
|
|
2232
|
+
|
|
2233
|
+
export interface PostMenuV3ModifierRequest extends BaseRequest {
|
|
2234
|
+
body: PostMenuV3ModifierBody;
|
|
2235
|
+
}
|
|
2236
|
+
|
|
2237
|
+
// GET /menu/v3/modifier/count
|
|
2238
|
+
|
|
2239
|
+
export interface GetMenuV3ModifierCountQuery {
|
|
2240
|
+
// Graphql query string
|
|
2241
|
+
_query?: string;
|
|
2242
|
+
}
|
|
2243
|
+
|
|
2244
|
+
export interface GetMenuV3ModifierCountResponse {
|
|
2245
|
+
count?: number;
|
|
2246
|
+
}
|
|
2247
|
+
|
|
2248
|
+
export interface GetMenuV3ModifierCountRequest
|
|
2249
|
+
extends BaseRequest,
|
|
2250
|
+
RequestQuery<GetMenuV3ModifierCountQuery> {}
|
|
2251
|
+
|
|
2252
|
+
// GET /menu/v3/modifier-groups
|
|
2253
|
+
|
|
1809
2254
|
export interface GetMenuV3ModifierGroupsQuery {
|
|
1810
2255
|
// If specified, only the selected fields will be returned
|
|
1811
2256
|
select?: string[];
|
|
@@ -2437,16 +2882,21 @@ export type PostMenuV3BrandsBody = {
|
|
|
2437
2882
|
parent?: PublishedBrandDTO;
|
|
2438
2883
|
children?: PublishedBrandDTO[];
|
|
2439
2884
|
layouts?: PublishedLayoutDTO[];
|
|
2885
|
+
categories?: PublishedCategoryDTO[];
|
|
2886
|
+
category_to_items?: PublishedCategoryToItemRelationshipDTO[];
|
|
2440
2887
|
items?: PublishedItemDTO[];
|
|
2888
|
+
item_to_modifier_group_relationships?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
2441
2889
|
modifier_groups?: PublishedModifierGroupDTO[];
|
|
2442
|
-
modifiers?: PublishedModifierDTO[];
|
|
2443
|
-
categories?: PublishedCategoryDTO[];
|
|
2444
2890
|
modifier_group_to_modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
2445
|
-
|
|
2446
|
-
|
|
2891
|
+
modifiers?: PublishedModifierDTO[];
|
|
2892
|
+
name: string;
|
|
2893
|
+
description?: string;
|
|
2894
|
+
is_active?: boolean;
|
|
2447
2895
|
parent_id?: string;
|
|
2896
|
+
brand_group_id?: string;
|
|
2448
2897
|
id?: any;
|
|
2449
|
-
|
|
2898
|
+
brand_group?: BrandGroupDTO;
|
|
2899
|
+
attachments?: FileAttachmentsDTO;
|
|
2450
2900
|
[index: string]: any;
|
|
2451
2901
|
}[];
|
|
2452
2902
|
|
|
@@ -2600,16 +3050,21 @@ export interface PatchMenuV3BrandBody {
|
|
|
2600
3050
|
parent?: PublishedBrandDTO;
|
|
2601
3051
|
children?: PublishedBrandDTO[];
|
|
2602
3052
|
layouts?: PublishedLayoutDTO[];
|
|
3053
|
+
categories?: PublishedCategoryDTO[];
|
|
3054
|
+
category_to_items?: PublishedCategoryToItemRelationshipDTO[];
|
|
2603
3055
|
items?: PublishedItemDTO[];
|
|
3056
|
+
item_to_modifier_group_relationships?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
2604
3057
|
modifier_groups?: PublishedModifierGroupDTO[];
|
|
2605
|
-
modifiers?: PublishedModifierDTO[];
|
|
2606
|
-
categories?: PublishedCategoryDTO[];
|
|
2607
3058
|
modifier_group_to_modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
2608
|
-
|
|
2609
|
-
category_to_items?: PublishedCategoryToItemRelationshipDTO[];
|
|
3059
|
+
modifiers?: PublishedModifierDTO[];
|
|
2610
3060
|
id?: string;
|
|
3061
|
+
name?: string;
|
|
3062
|
+
description?: string;
|
|
3063
|
+
is_active?: boolean;
|
|
2611
3064
|
parent_id?: string;
|
|
2612
|
-
|
|
3065
|
+
brand_group_id?: string;
|
|
3066
|
+
brand_group?: BrandGroupDTO;
|
|
3067
|
+
attachments?: FileAttachmentsDTO;
|
|
2613
3068
|
[index: string]: any;
|
|
2614
3069
|
}
|
|
2615
3070
|
|
|
@@ -2633,18 +3088,23 @@ export interface DeleteMenuV3BrandRequest extends BaseRequest, DeleteMenuV3Brand
|
|
|
2633
3088
|
|
|
2634
3089
|
export interface PostMenuV3BrandBody {
|
|
2635
3090
|
parent?: PublishedBrandDTO;
|
|
2636
|
-
children?:
|
|
2637
|
-
layouts?:
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
3091
|
+
children?: PublishedBrandDTO[];
|
|
3092
|
+
layouts?: PublishedLayoutDTO[];
|
|
3093
|
+
categories?: PublishedCategoryDTO[];
|
|
3094
|
+
category_to_items?: PublishedCategoryToItemRelationshipDTO[];
|
|
3095
|
+
items?: PublishedItemDTO[];
|
|
3096
|
+
item_to_modifier_group_relationships?: PublishedItemToModifierGroupRelationshipDTO[];
|
|
3097
|
+
modifier_groups?: PublishedModifierGroupDTO[];
|
|
3098
|
+
modifier_group_to_modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
|
|
3099
|
+
modifiers?: PublishedModifierDTO[];
|
|
3100
|
+
name: string;
|
|
3101
|
+
description?: string;
|
|
3102
|
+
is_active?: boolean;
|
|
2645
3103
|
parent_id?: string;
|
|
3104
|
+
brand_group_id?: string;
|
|
2646
3105
|
id?: any;
|
|
2647
|
-
|
|
3106
|
+
brand_group?: BrandGroupDTO;
|
|
3107
|
+
attachments?: FileAttachmentsDTO;
|
|
2648
3108
|
[index: string]: any;
|
|
2649
3109
|
}
|
|
2650
3110
|
|
|
@@ -3623,8 +4083,8 @@ export interface PostMenuV3DraftLayoutBody {
|
|
|
3623
4083
|
id?: any;
|
|
3624
4084
|
station_id?: string;
|
|
3625
4085
|
brand?: any;
|
|
3626
|
-
station?: any;
|
|
3627
4086
|
changes?: any[];
|
|
4087
|
+
station?: any;
|
|
3628
4088
|
[index: string]: any;
|
|
3629
4089
|
}
|
|
3630
4090
|
|
|
@@ -3672,8 +4132,8 @@ export interface PatchMenuV3DraftLayoutBody {
|
|
|
3672
4132
|
brand_id?: string;
|
|
3673
4133
|
station_id?: string;
|
|
3674
4134
|
brand?: DraftBrandDTO;
|
|
3675
|
-
station?: StationDTO;
|
|
3676
4135
|
changes?: DraftLayoutChangeDTO[];
|
|
4136
|
+
station?: StationDTO;
|
|
3677
4137
|
[index: string]: any;
|
|
3678
4138
|
}
|
|
3679
4139
|
|
|
@@ -3736,8 +4196,8 @@ export type PostMenuV3DraftLayoutsBody = {
|
|
|
3736
4196
|
id?: any;
|
|
3737
4197
|
station_id?: string;
|
|
3738
4198
|
brand?: DraftBrandDTO;
|
|
3739
|
-
station?: StationDTO;
|
|
3740
4199
|
changes?: DraftLayoutChangeDTO[];
|
|
4200
|
+
station?: StationDTO;
|
|
3741
4201
|
[index: string]: any;
|
|
3742
4202
|
}[];
|
|
3743
4203
|
|
|
@@ -4128,9 +4588,10 @@ export interface GetMenuV3DraftCategoryRelationshipsItemsCountRequest
|
|
|
4128
4588
|
// POST /menu/v3/draft/item
|
|
4129
4589
|
|
|
4130
4590
|
export interface PostMenuV3DraftItemBody {
|
|
4131
|
-
parent_id?: string;
|
|
4132
4591
|
parent?: DraftItemDTO;
|
|
4133
4592
|
children?: DraftItemDTO[];
|
|
4593
|
+
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
4594
|
+
parent_id?: string;
|
|
4134
4595
|
name: string;
|
|
4135
4596
|
label?: string;
|
|
4136
4597
|
description?: string;
|
|
@@ -4142,14 +4603,14 @@ export interface PostMenuV3DraftItemBody {
|
|
|
4142
4603
|
is_in_stock?: boolean;
|
|
4143
4604
|
posid: string;
|
|
4144
4605
|
tax_tags?: any[];
|
|
4145
|
-
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
4146
4606
|
brand_id: string;
|
|
4147
4607
|
station_id?: string;
|
|
4148
4608
|
id?: any;
|
|
4149
|
-
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
4150
4609
|
brand?: DraftBrandDTO;
|
|
4151
|
-
station?: StationDTO;
|
|
4152
4610
|
changes?: DraftItemChangeDTO[];
|
|
4611
|
+
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
4612
|
+
station?: StationDTO;
|
|
4613
|
+
attachments?: FileAttachmentsDTO;
|
|
4153
4614
|
[index: string]: any;
|
|
4154
4615
|
}
|
|
4155
4616
|
|
|
@@ -4188,9 +4649,11 @@ export interface PatchMenuV3DraftItemPath {
|
|
|
4188
4649
|
}
|
|
4189
4650
|
|
|
4190
4651
|
export interface PatchMenuV3DraftItemBody {
|
|
4191
|
-
parent_id?: string;
|
|
4192
4652
|
parent?: DraftItemDTO;
|
|
4193
4653
|
children?: DraftItemDTO[];
|
|
4654
|
+
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
4655
|
+
id?: string;
|
|
4656
|
+
parent_id?: string;
|
|
4194
4657
|
name?: string;
|
|
4195
4658
|
label?: string;
|
|
4196
4659
|
description?: string;
|
|
@@ -4202,14 +4665,13 @@ export interface PatchMenuV3DraftItemBody {
|
|
|
4202
4665
|
is_in_stock?: boolean;
|
|
4203
4666
|
posid?: string;
|
|
4204
4667
|
tax_tags?: any[];
|
|
4205
|
-
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
4206
4668
|
brand_id?: string;
|
|
4207
4669
|
station_id?: string;
|
|
4208
|
-
id?: string;
|
|
4209
|
-
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
4210
4670
|
brand?: DraftBrandDTO;
|
|
4211
|
-
station?: StationDTO;
|
|
4212
4671
|
changes?: DraftItemChangeDTO[];
|
|
4672
|
+
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
4673
|
+
station?: StationDTO;
|
|
4674
|
+
attachments?: FileAttachmentsDTO;
|
|
4213
4675
|
[index: string]: any;
|
|
4214
4676
|
}
|
|
4215
4677
|
|
|
@@ -4263,9 +4725,10 @@ export interface GetMenuV3DraftItemsRequest
|
|
|
4263
4725
|
// POST /menu/v3/draft/items
|
|
4264
4726
|
|
|
4265
4727
|
export type PostMenuV3DraftItemsBody = {
|
|
4266
|
-
parent_id?: string;
|
|
4267
4728
|
parent?: DraftItemDTO;
|
|
4268
4729
|
children?: DraftItemDTO[];
|
|
4730
|
+
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
4731
|
+
parent_id?: string;
|
|
4269
4732
|
name: string;
|
|
4270
4733
|
label?: string;
|
|
4271
4734
|
description?: string;
|
|
@@ -4277,14 +4740,14 @@ export type PostMenuV3DraftItemsBody = {
|
|
|
4277
4740
|
is_in_stock?: boolean;
|
|
4278
4741
|
posid: string;
|
|
4279
4742
|
tax_tags?: any[];
|
|
4280
|
-
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
4281
4743
|
brand_id: string;
|
|
4282
4744
|
station_id?: string;
|
|
4283
4745
|
id?: any;
|
|
4284
|
-
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
4285
4746
|
brand?: DraftBrandDTO;
|
|
4286
|
-
station?: StationDTO;
|
|
4287
4747
|
changes?: DraftItemChangeDTO[];
|
|
4748
|
+
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
4749
|
+
station?: StationDTO;
|
|
4750
|
+
attachments?: FileAttachmentsDTO;
|
|
4288
4751
|
[index: string]: any;
|
|
4289
4752
|
}[];
|
|
4290
4753
|
|
|
@@ -4327,8 +4790,8 @@ export interface PostMenuV3DraftItemRelationshipsModifierGroupBody {
|
|
|
4327
4790
|
brand_id?: string;
|
|
4328
4791
|
sequence?: number;
|
|
4329
4792
|
id?: any;
|
|
4330
|
-
modifier_group?: DraftModifierGroupDTO;
|
|
4331
4793
|
item?: DraftItemDTO;
|
|
4794
|
+
modifier_group?: DraftModifierGroupDTO;
|
|
4332
4795
|
brand?: DraftBrandDTO;
|
|
4333
4796
|
changes?: DraftItemToModifierGroupRelationshipChangeDTO[];
|
|
4334
4797
|
[index: string]: any;
|
|
@@ -4379,8 +4842,8 @@ export interface PatchMenuV3DraftItemRelationshipsModifierGroupBody {
|
|
|
4379
4842
|
item_id?: string;
|
|
4380
4843
|
brand_id?: string;
|
|
4381
4844
|
sequence?: number;
|
|
4382
|
-
modifier_group?: DraftModifierGroupDTO;
|
|
4383
4845
|
item?: DraftItemDTO;
|
|
4846
|
+
modifier_group?: DraftModifierGroupDTO;
|
|
4384
4847
|
brand?: DraftBrandDTO;
|
|
4385
4848
|
changes?: DraftItemToModifierGroupRelationshipChangeDTO[];
|
|
4386
4849
|
[index: string]: any;
|
|
@@ -4450,8 +4913,8 @@ export type PostMenuV3DraftItemRelationshipsModifierGroupsBody = {
|
|
|
4450
4913
|
brand_id?: string;
|
|
4451
4914
|
sequence?: number;
|
|
4452
4915
|
id?: any;
|
|
4453
|
-
modifier_group?: DraftModifierGroupDTO;
|
|
4454
4916
|
item?: DraftItemDTO;
|
|
4917
|
+
modifier_group?: DraftModifierGroupDTO;
|
|
4455
4918
|
brand?: DraftBrandDTO;
|
|
4456
4919
|
changes?: DraftItemToModifierGroupRelationshipChangeDTO[];
|
|
4457
4920
|
[index: string]: any;
|
|
@@ -4837,9 +5300,10 @@ export interface GetMenuV3DraftModifierGroupRelationshipsModifiersCountRequest
|
|
|
4837
5300
|
// POST /menu/v3/draft/modifier
|
|
4838
5301
|
|
|
4839
5302
|
export interface PostMenuV3DraftModifierBody {
|
|
4840
|
-
parent_id?: string;
|
|
4841
5303
|
parent?: DraftModifierDTO;
|
|
4842
5304
|
children?: DraftModifierDTO[];
|
|
5305
|
+
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
5306
|
+
parent_id?: string;
|
|
4843
5307
|
name: string;
|
|
4844
5308
|
label?: string;
|
|
4845
5309
|
description?: string;
|
|
@@ -4850,13 +5314,12 @@ export interface PostMenuV3DraftModifierBody {
|
|
|
4850
5314
|
is_active?: boolean;
|
|
4851
5315
|
is_in_stock?: boolean;
|
|
4852
5316
|
posid: string;
|
|
4853
|
-
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
4854
5317
|
brand_id: string;
|
|
4855
5318
|
station_id?: string;
|
|
4856
5319
|
id?: any;
|
|
4857
5320
|
brand?: DraftBrandDTO;
|
|
4858
|
-
station?: StationDTO;
|
|
4859
5321
|
changes?: DraftModifierChangeDTO[];
|
|
5322
|
+
station?: StationDTO;
|
|
4860
5323
|
[index: string]: any;
|
|
4861
5324
|
}
|
|
4862
5325
|
|
|
@@ -4895,9 +5358,11 @@ export interface PatchMenuV3DraftModifierPath {
|
|
|
4895
5358
|
}
|
|
4896
5359
|
|
|
4897
5360
|
export interface PatchMenuV3DraftModifierBody {
|
|
4898
|
-
parent_id?: string;
|
|
4899
5361
|
parent?: DraftModifierDTO;
|
|
4900
5362
|
children?: DraftModifierDTO[];
|
|
5363
|
+
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
5364
|
+
id?: string;
|
|
5365
|
+
parent_id?: string;
|
|
4901
5366
|
name?: string;
|
|
4902
5367
|
label?: string;
|
|
4903
5368
|
description?: string;
|
|
@@ -4908,13 +5373,11 @@ export interface PatchMenuV3DraftModifierBody {
|
|
|
4908
5373
|
is_active?: boolean;
|
|
4909
5374
|
is_in_stock?: boolean;
|
|
4910
5375
|
posid?: string;
|
|
4911
|
-
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
4912
5376
|
brand_id?: string;
|
|
4913
5377
|
station_id?: string;
|
|
4914
|
-
id?: string;
|
|
4915
5378
|
brand?: DraftBrandDTO;
|
|
4916
|
-
station?: StationDTO;
|
|
4917
5379
|
changes?: DraftModifierChangeDTO[];
|
|
5380
|
+
station?: StationDTO;
|
|
4918
5381
|
[index: string]: any;
|
|
4919
5382
|
}
|
|
4920
5383
|
|
|
@@ -4970,9 +5433,10 @@ export interface GetMenuV3DraftModifiersRequest
|
|
|
4970
5433
|
// POST /menu/v3/draft/modifiers
|
|
4971
5434
|
|
|
4972
5435
|
export type PostMenuV3DraftModifiersBody = {
|
|
4973
|
-
parent_id?: string;
|
|
4974
5436
|
parent?: DraftModifierDTO;
|
|
4975
5437
|
children?: DraftModifierDTO[];
|
|
5438
|
+
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
5439
|
+
parent_id?: string;
|
|
4976
5440
|
name: string;
|
|
4977
5441
|
label?: string;
|
|
4978
5442
|
description?: string;
|
|
@@ -4983,13 +5447,12 @@ export type PostMenuV3DraftModifiersBody = {
|
|
|
4983
5447
|
is_active?: boolean;
|
|
4984
5448
|
is_in_stock?: boolean;
|
|
4985
5449
|
posid: string;
|
|
4986
|
-
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
4987
5450
|
brand_id: string;
|
|
4988
5451
|
station_id?: string;
|
|
4989
5452
|
id?: any;
|
|
4990
5453
|
brand?: DraftBrandDTO;
|
|
4991
|
-
station?: StationDTO;
|
|
4992
5454
|
changes?: DraftModifierChangeDTO[];
|
|
5455
|
+
station?: StationDTO;
|
|
4993
5456
|
[index: string]: any;
|
|
4994
5457
|
}[];
|
|
4995
5458
|
|
|
@@ -5024,19 +5487,25 @@ export interface GetMenuV3DraftModifiersCountRequest
|
|
|
5024
5487
|
// POST /menu/v3/draft/brand
|
|
5025
5488
|
|
|
5026
5489
|
export interface PostMenuV3DraftBrandBody {
|
|
5027
|
-
parent_id?: string;
|
|
5028
5490
|
parent?: DraftBrandDTO;
|
|
5029
5491
|
children?: DraftBrandDTO[];
|
|
5030
5492
|
layouts?: DraftLayoutDTO[];
|
|
5493
|
+
categories?: DraftCategoryDTO[];
|
|
5494
|
+
category_to_items?: DraftCategoryToItemRelationshipDTO[];
|
|
5031
5495
|
items?: DraftItemDTO[];
|
|
5496
|
+
item_to_modifier_group_relationships?: DraftItemToModifierGroupRelationshipDTO[];
|
|
5032
5497
|
modifier_groups?: DraftModifierGroupDTO[];
|
|
5033
|
-
modifiers?: DraftModifierDTO[];
|
|
5034
|
-
categories?: DraftCategoryDTO[];
|
|
5035
5498
|
modifier_group_to_modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
5036
|
-
|
|
5037
|
-
|
|
5499
|
+
modifiers?: DraftModifierDTO[];
|
|
5500
|
+
name: string;
|
|
5501
|
+
description?: string;
|
|
5502
|
+
is_active?: boolean;
|
|
5503
|
+
parent_id?: string;
|
|
5504
|
+
brand_group_id?: string;
|
|
5038
5505
|
id?: any;
|
|
5039
5506
|
changes?: DraftBrandChangeDTO[];
|
|
5507
|
+
brand_group?: BrandGroupDTO;
|
|
5508
|
+
attachments?: FileAttachmentsDTO;
|
|
5040
5509
|
[index: string]: any;
|
|
5041
5510
|
}
|
|
5042
5511
|
|
|
@@ -5075,19 +5544,25 @@ export interface PatchMenuV3DraftBrandPath {
|
|
|
5075
5544
|
}
|
|
5076
5545
|
|
|
5077
5546
|
export interface PatchMenuV3DraftBrandBody {
|
|
5078
|
-
parent_id?: string;
|
|
5079
5547
|
parent?: DraftBrandDTO;
|
|
5080
5548
|
children?: DraftBrandDTO[];
|
|
5081
5549
|
layouts?: DraftLayoutDTO[];
|
|
5550
|
+
categories?: DraftCategoryDTO[];
|
|
5551
|
+
category_to_items?: DraftCategoryToItemRelationshipDTO[];
|
|
5082
5552
|
items?: DraftItemDTO[];
|
|
5553
|
+
item_to_modifier_group_relationships?: DraftItemToModifierGroupRelationshipDTO[];
|
|
5083
5554
|
modifier_groups?: DraftModifierGroupDTO[];
|
|
5084
|
-
modifiers?: DraftModifierDTO[];
|
|
5085
|
-
categories?: DraftCategoryDTO[];
|
|
5086
5555
|
modifier_group_to_modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
5087
|
-
|
|
5088
|
-
category_to_items?: DraftCategoryToItemRelationshipDTO[];
|
|
5556
|
+
modifiers?: DraftModifierDTO[];
|
|
5089
5557
|
id?: string;
|
|
5558
|
+
name?: string;
|
|
5559
|
+
description?: string;
|
|
5560
|
+
is_active?: boolean;
|
|
5561
|
+
parent_id?: string;
|
|
5562
|
+
brand_group_id?: string;
|
|
5090
5563
|
changes?: DraftBrandChangeDTO[];
|
|
5564
|
+
brand_group?: BrandGroupDTO;
|
|
5565
|
+
attachments?: FileAttachmentsDTO;
|
|
5091
5566
|
[index: string]: any;
|
|
5092
5567
|
}
|
|
5093
5568
|
|
|
@@ -5141,19 +5616,25 @@ export interface GetMenuV3DraftBrandsRequest
|
|
|
5141
5616
|
// POST /menu/v3/draft/brands
|
|
5142
5617
|
|
|
5143
5618
|
export type PostMenuV3DraftBrandsBody = {
|
|
5144
|
-
parent_id?: string;
|
|
5145
5619
|
parent?: DraftBrandDTO;
|
|
5146
5620
|
children?: DraftBrandDTO[];
|
|
5147
5621
|
layouts?: DraftLayoutDTO[];
|
|
5622
|
+
categories?: DraftCategoryDTO[];
|
|
5623
|
+
category_to_items?: DraftCategoryToItemRelationshipDTO[];
|
|
5148
5624
|
items?: DraftItemDTO[];
|
|
5625
|
+
item_to_modifier_group_relationships?: DraftItemToModifierGroupRelationshipDTO[];
|
|
5149
5626
|
modifier_groups?: DraftModifierGroupDTO[];
|
|
5150
|
-
modifiers?: DraftModifierDTO[];
|
|
5151
|
-
categories?: DraftCategoryDTO[];
|
|
5152
5627
|
modifier_group_to_modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
5153
|
-
|
|
5154
|
-
|
|
5628
|
+
modifiers?: DraftModifierDTO[];
|
|
5629
|
+
name: string;
|
|
5630
|
+
description?: string;
|
|
5631
|
+
is_active?: boolean;
|
|
5632
|
+
parent_id?: string;
|
|
5633
|
+
brand_group_id?: string;
|
|
5155
5634
|
id?: any;
|
|
5156
5635
|
changes?: DraftBrandChangeDTO[];
|
|
5636
|
+
brand_group?: BrandGroupDTO;
|
|
5637
|
+
attachments?: FileAttachmentsDTO;
|
|
5157
5638
|
[index: string]: any;
|
|
5158
5639
|
}[];
|
|
5159
5640
|
|
|
@@ -5315,6 +5796,7 @@ export interface PostMenuV3DraftStationBody {
|
|
|
5315
5796
|
modifier_groups?: DraftModifierGroupDTO[];
|
|
5316
5797
|
modifiers?: DraftModifierDTO[];
|
|
5317
5798
|
name?: string;
|
|
5799
|
+
site?: SiteDTO;
|
|
5318
5800
|
[index: string]: any;
|
|
5319
5801
|
}
|
|
5320
5802
|
|
|
@@ -5359,6 +5841,7 @@ export interface PatchMenuV3DraftStationBody {
|
|
|
5359
5841
|
modifiers?: DraftModifierDTO[];
|
|
5360
5842
|
id?: string;
|
|
5361
5843
|
name?: string;
|
|
5844
|
+
site?: SiteDTO;
|
|
5362
5845
|
[index: string]: any;
|
|
5363
5846
|
}
|
|
5364
5847
|
|
|
@@ -5420,6 +5903,7 @@ export type PostMenuV3DraftStationsBody = {
|
|
|
5420
5903
|
modifiers?: DraftModifierDTO[];
|
|
5421
5904
|
id?: any;
|
|
5422
5905
|
name?: string;
|
|
5906
|
+
site?: SiteDTO;
|
|
5423
5907
|
[index: string]: any;
|
|
5424
5908
|
}[];
|
|
5425
5909
|
|
|
@@ -5617,24 +6101,317 @@ export interface PostMenuV3BrandLocalPath {
|
|
|
5617
6101
|
}
|
|
5618
6102
|
|
|
5619
6103
|
export interface PostMenuV3BrandLocalResponse {
|
|
5620
|
-
parent_id?: string;
|
|
5621
6104
|
parent?: DraftBrandDTO;
|
|
5622
6105
|
children?: DraftBrandDTO[];
|
|
5623
6106
|
layouts?: DraftLayoutDTO[];
|
|
6107
|
+
categories?: DraftCategoryDTO[];
|
|
6108
|
+
category_to_items?: DraftCategoryToItemRelationshipDTO[];
|
|
5624
6109
|
items?: DraftItemDTO[];
|
|
6110
|
+
item_to_modifier_group_relationships?: DraftItemToModifierGroupRelationshipDTO[];
|
|
5625
6111
|
modifier_groups?: DraftModifierGroupDTO[];
|
|
5626
|
-
modifiers?: DraftModifierDTO[];
|
|
5627
|
-
categories?: DraftCategoryDTO[];
|
|
5628
6112
|
modifier_group_to_modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
5629
|
-
|
|
5630
|
-
category_to_items?: DraftCategoryToItemRelationshipDTO[];
|
|
6113
|
+
modifiers?: DraftModifierDTO[];
|
|
5631
6114
|
id?: string;
|
|
5632
6115
|
created_at?: string;
|
|
5633
6116
|
updated_at?: string;
|
|
5634
6117
|
deleted_at?: string;
|
|
6118
|
+
name: string;
|
|
6119
|
+
description?: string;
|
|
6120
|
+
is_active?: boolean;
|
|
6121
|
+
parent_id?: string;
|
|
6122
|
+
brand_group_id?: string;
|
|
5635
6123
|
version?: number;
|
|
5636
6124
|
changes?: DraftBrandChangeDTO[];
|
|
6125
|
+
brand_group?: BrandGroupDTO;
|
|
6126
|
+
attachments?: FileAttachmentsDTO;
|
|
5637
6127
|
[index: string]: any;
|
|
5638
6128
|
}
|
|
5639
6129
|
|
|
5640
6130
|
export interface PostMenuV3BrandLocalRequest extends BaseRequest, PostMenuV3BrandLocalPath {}
|
|
6131
|
+
|
|
6132
|
+
// POST /menu/v3/item/{id}/attachment/{name}
|
|
6133
|
+
|
|
6134
|
+
export interface PostMenuV3ItemAttachmentPath {
|
|
6135
|
+
id: string;
|
|
6136
|
+
name: string;
|
|
6137
|
+
}
|
|
6138
|
+
|
|
6139
|
+
export interface PostMenuV3ItemAttachmentQuery {
|
|
6140
|
+
"body.data"?: string;
|
|
6141
|
+
}
|
|
6142
|
+
|
|
6143
|
+
export interface PostMenuV3ItemAttachmentResponse {
|
|
6144
|
+
status?: string;
|
|
6145
|
+
}
|
|
6146
|
+
|
|
6147
|
+
export interface PostMenuV3ItemAttachmentRequest
|
|
6148
|
+
extends BaseRequest,
|
|
6149
|
+
RequestQuery<PostMenuV3ItemAttachmentQuery>,
|
|
6150
|
+
PostMenuV3ItemAttachmentPath {}
|
|
6151
|
+
|
|
6152
|
+
// POST /menu/v3/brand/{id}/attachment/{name}
|
|
6153
|
+
|
|
6154
|
+
export interface PostMenuV3BrandAttachmentPath {
|
|
6155
|
+
id: string;
|
|
6156
|
+
name: string;
|
|
6157
|
+
}
|
|
6158
|
+
|
|
6159
|
+
export interface PostMenuV3BrandAttachmentQuery {
|
|
6160
|
+
"body.data"?: string;
|
|
6161
|
+
}
|
|
6162
|
+
|
|
6163
|
+
export interface PostMenuV3BrandAttachmentResponse {
|
|
6164
|
+
status?: string;
|
|
6165
|
+
}
|
|
6166
|
+
|
|
6167
|
+
export interface PostMenuV3BrandAttachmentRequest
|
|
6168
|
+
extends BaseRequest,
|
|
6169
|
+
RequestQuery<PostMenuV3BrandAttachmentQuery>,
|
|
6170
|
+
PostMenuV3BrandAttachmentPath {}
|
|
6171
|
+
|
|
6172
|
+
// POST /menu/v3/brand-group
|
|
6173
|
+
|
|
6174
|
+
export interface PostMenuV3BrandGroupBody {
|
|
6175
|
+
name: string;
|
|
6176
|
+
description?: string;
|
|
6177
|
+
draft_brands?: DraftBrandDTO[];
|
|
6178
|
+
published_brands?: PublishedBrandDTO[];
|
|
6179
|
+
[index: string]: any;
|
|
6180
|
+
}
|
|
6181
|
+
|
|
6182
|
+
export type PostMenuV3BrandGroupResponse = BrandGroupDTO;
|
|
6183
|
+
|
|
6184
|
+
export interface PostMenuV3BrandGroupRequest extends BaseRequest {
|
|
6185
|
+
body: PostMenuV3BrandGroupBody;
|
|
6186
|
+
}
|
|
6187
|
+
|
|
6188
|
+
// GET /menu/v3/brand-group/{id}
|
|
6189
|
+
|
|
6190
|
+
export interface GetMenuV3BrandGroupPath {
|
|
6191
|
+
id: string;
|
|
6192
|
+
}
|
|
6193
|
+
|
|
6194
|
+
export interface GetMenuV3BrandGroupQuery {
|
|
6195
|
+
// If specified, only the selected fields will be returned
|
|
6196
|
+
select?: string[];
|
|
6197
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
6198
|
+
relationships?: string[];
|
|
6199
|
+
// Graphql query string
|
|
6200
|
+
_query?: string;
|
|
6201
|
+
}
|
|
6202
|
+
|
|
6203
|
+
export type GetMenuV3BrandGroupResponse = BrandGroupDTO;
|
|
6204
|
+
|
|
6205
|
+
export interface GetMenuV3BrandGroupRequest
|
|
6206
|
+
extends BaseRequest,
|
|
6207
|
+
RequestQuery<GetMenuV3BrandGroupQuery>,
|
|
6208
|
+
GetMenuV3BrandGroupPath {}
|
|
6209
|
+
|
|
6210
|
+
// PATCH /menu/v3/brand-group/{id}
|
|
6211
|
+
|
|
6212
|
+
export interface PatchMenuV3BrandGroupPath {
|
|
6213
|
+
id: string;
|
|
6214
|
+
}
|
|
6215
|
+
|
|
6216
|
+
export interface PatchMenuV3BrandGroupBody {
|
|
6217
|
+
name?: string;
|
|
6218
|
+
description?: string;
|
|
6219
|
+
draft_brands?: DraftBrandDTO[];
|
|
6220
|
+
published_brands?: PublishedBrandDTO[];
|
|
6221
|
+
id?: string;
|
|
6222
|
+
[index: string]: any;
|
|
6223
|
+
}
|
|
6224
|
+
|
|
6225
|
+
export type PatchMenuV3BrandGroupResponse = BrandGroupDTO;
|
|
6226
|
+
|
|
6227
|
+
export interface PatchMenuV3BrandGroupRequest extends BaseRequest, PatchMenuV3BrandGroupPath {
|
|
6228
|
+
body: PatchMenuV3BrandGroupBody;
|
|
6229
|
+
}
|
|
6230
|
+
|
|
6231
|
+
// DELETE /menu/v3/brand-group/{id}
|
|
6232
|
+
|
|
6233
|
+
export interface DeleteMenuV3BrandGroupPath {
|
|
6234
|
+
id: string;
|
|
6235
|
+
}
|
|
6236
|
+
|
|
6237
|
+
export type DeleteMenuV3BrandGroupResponse = BrandGroupDTO;
|
|
6238
|
+
|
|
6239
|
+
export interface DeleteMenuV3BrandGroupRequest extends BaseRequest, DeleteMenuV3BrandGroupPath {}
|
|
6240
|
+
|
|
6241
|
+
// GET /menu/v3/brand-groups
|
|
6242
|
+
|
|
6243
|
+
export interface GetMenuV3BrandGroupsQuery {
|
|
6244
|
+
// If specified, only the selected fields will be returned
|
|
6245
|
+
select?: string[];
|
|
6246
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
6247
|
+
relationships?: string[];
|
|
6248
|
+
// The fields that filtering is allowed on
|
|
6249
|
+
filter?: any;
|
|
6250
|
+
// Number of records to load per page
|
|
6251
|
+
limit?: number;
|
|
6252
|
+
page?: number;
|
|
6253
|
+
// A field to sort the results based on
|
|
6254
|
+
sort_by?: string;
|
|
6255
|
+
sort_order?: string;
|
|
6256
|
+
// How soft deleted records should be shown in the list
|
|
6257
|
+
soft_deleted?: string;
|
|
6258
|
+
// Graphql query string
|
|
6259
|
+
_query?: string;
|
|
6260
|
+
}
|
|
6261
|
+
|
|
6262
|
+
export interface GetMenuV3BrandGroupsResponse {
|
|
6263
|
+
results: BrandGroupDTO[];
|
|
6264
|
+
meta?: ListResponseMetadataDTO;
|
|
6265
|
+
[index: string]: any;
|
|
6266
|
+
}
|
|
6267
|
+
|
|
6268
|
+
export interface GetMenuV3BrandGroupsRequest
|
|
6269
|
+
extends BaseRequest,
|
|
6270
|
+
RequestQuery<GetMenuV3BrandGroupsQuery> {}
|
|
6271
|
+
|
|
6272
|
+
// POST /menu/v3/brand-groups
|
|
6273
|
+
|
|
6274
|
+
export type PostMenuV3BrandGroupsBody = {
|
|
6275
|
+
name: string;
|
|
6276
|
+
description?: string;
|
|
6277
|
+
draft_brands?: DraftBrandDTO[];
|
|
6278
|
+
published_brands?: PublishedBrandDTO[];
|
|
6279
|
+
id?: any;
|
|
6280
|
+
[index: string]: any;
|
|
6281
|
+
}[];
|
|
6282
|
+
|
|
6283
|
+
export interface PostMenuV3BrandGroupsResponse {
|
|
6284
|
+
results: BrandGroupDTO[];
|
|
6285
|
+
meta?: ListResponseMetadataDTO;
|
|
6286
|
+
[index: string]: any;
|
|
6287
|
+
}
|
|
6288
|
+
|
|
6289
|
+
export interface PostMenuV3BrandGroupsRequest extends BaseRequest {
|
|
6290
|
+
body: PostMenuV3BrandGroupsBody;
|
|
6291
|
+
}
|
|
6292
|
+
|
|
6293
|
+
// GET /menu/v3/brand-groups/count
|
|
6294
|
+
|
|
6295
|
+
export interface GetMenuV3BrandGroupsCountQuery {
|
|
6296
|
+
// The fields that filtering is allowed on
|
|
6297
|
+
filter?: any;
|
|
6298
|
+
// Graphql query string
|
|
6299
|
+
_query?: string;
|
|
6300
|
+
}
|
|
6301
|
+
|
|
6302
|
+
export interface GetMenuV3BrandGroupsCountResponse {
|
|
6303
|
+
count: number;
|
|
6304
|
+
[index: string]: any;
|
|
6305
|
+
}
|
|
6306
|
+
|
|
6307
|
+
export interface GetMenuV3BrandGroupsCountRequest
|
|
6308
|
+
extends BaseRequest,
|
|
6309
|
+
RequestQuery<GetMenuV3BrandGroupsCountQuery> {}
|
|
6310
|
+
|
|
6311
|
+
// GET /menu/v3/brand-group/{id}/draft/brands
|
|
6312
|
+
|
|
6313
|
+
export interface GetMenuV3BrandGroupDraftBrandsPath {
|
|
6314
|
+
id: string;
|
|
6315
|
+
}
|
|
6316
|
+
|
|
6317
|
+
export interface GetMenuV3BrandGroupDraftBrandsQuery {
|
|
6318
|
+
// If specified, only the selected fields will be returned
|
|
6319
|
+
select?: string[];
|
|
6320
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
6321
|
+
relationships?: string[];
|
|
6322
|
+
// The fields that filtering is allowed on
|
|
6323
|
+
filter?: any;
|
|
6324
|
+
// Number of records to load per page
|
|
6325
|
+
limit?: number;
|
|
6326
|
+
page?: number;
|
|
6327
|
+
// A field to sort the results based on
|
|
6328
|
+
sort_by?: string;
|
|
6329
|
+
sort_order?: string;
|
|
6330
|
+
// How soft deleted records should be shown in the list
|
|
6331
|
+
soft_deleted?: string;
|
|
6332
|
+
// Graphql query string
|
|
6333
|
+
_query?: string;
|
|
6334
|
+
}
|
|
6335
|
+
|
|
6336
|
+
export interface GetMenuV3BrandGroupDraftBrandsResponse {
|
|
6337
|
+
results: DraftBrandDTO[];
|
|
6338
|
+
meta?: ListResponseMetadataDTO;
|
|
6339
|
+
[index: string]: any;
|
|
6340
|
+
}
|
|
6341
|
+
|
|
6342
|
+
export interface GetMenuV3BrandGroupDraftBrandsRequest
|
|
6343
|
+
extends BaseRequest,
|
|
6344
|
+
RequestQuery<GetMenuV3BrandGroupDraftBrandsQuery>,
|
|
6345
|
+
GetMenuV3BrandGroupDraftBrandsPath {}
|
|
6346
|
+
|
|
6347
|
+
// GET /menu/v3/brand-group/{id}/brands
|
|
6348
|
+
|
|
6349
|
+
export interface GetMenuV3BrandGroupBrandsPath {
|
|
6350
|
+
id: string;
|
|
6351
|
+
}
|
|
6352
|
+
|
|
6353
|
+
export interface GetMenuV3BrandGroupBrandsQuery {
|
|
6354
|
+
// If specified, only the selected fields will be returned
|
|
6355
|
+
select?: string[];
|
|
6356
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
6357
|
+
relationships?: string[];
|
|
6358
|
+
// The fields that filtering is allowed on
|
|
6359
|
+
filter?: any;
|
|
6360
|
+
// Number of records to load per page
|
|
6361
|
+
limit?: number;
|
|
6362
|
+
page?: number;
|
|
6363
|
+
// A field to sort the results based on
|
|
6364
|
+
sort_by?: string;
|
|
6365
|
+
sort_order?: string;
|
|
6366
|
+
// How soft deleted records should be shown in the list
|
|
6367
|
+
soft_deleted?: string;
|
|
6368
|
+
// Graphql query string
|
|
6369
|
+
_query?: string;
|
|
6370
|
+
}
|
|
6371
|
+
|
|
6372
|
+
export interface GetMenuV3BrandGroupBrandsResponse {
|
|
6373
|
+
results: DraftBrandDTO[];
|
|
6374
|
+
meta?: ListResponseMetadataDTO;
|
|
6375
|
+
[index: string]: any;
|
|
6376
|
+
}
|
|
6377
|
+
|
|
6378
|
+
export interface GetMenuV3BrandGroupBrandsRequest
|
|
6379
|
+
extends BaseRequest,
|
|
6380
|
+
RequestQuery<GetMenuV3BrandGroupBrandsQuery>,
|
|
6381
|
+
GetMenuV3BrandGroupBrandsPath {}
|
|
6382
|
+
|
|
6383
|
+
// GET /menu/v3/draft/brand-group/{id}/brands
|
|
6384
|
+
|
|
6385
|
+
export interface GetMenuV3DraftBrandGroupBrandsPath {
|
|
6386
|
+
id: string;
|
|
6387
|
+
}
|
|
6388
|
+
|
|
6389
|
+
export interface GetMenuV3DraftBrandGroupBrandsQuery {
|
|
6390
|
+
// If specified, only the selected fields will be returned
|
|
6391
|
+
select?: string[];
|
|
6392
|
+
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
6393
|
+
relationships?: string[];
|
|
6394
|
+
// The fields that filtering is allowed on
|
|
6395
|
+
filter?: any;
|
|
6396
|
+
// Number of records to load per page
|
|
6397
|
+
limit?: number;
|
|
6398
|
+
page?: number;
|
|
6399
|
+
// A field to sort the results based on
|
|
6400
|
+
sort_by?: string;
|
|
6401
|
+
sort_order?: string;
|
|
6402
|
+
// How soft deleted records should be shown in the list
|
|
6403
|
+
soft_deleted?: string;
|
|
6404
|
+
// Graphql query string
|
|
6405
|
+
_query?: string;
|
|
6406
|
+
}
|
|
6407
|
+
|
|
6408
|
+
export interface GetMenuV3DraftBrandGroupBrandsResponse {
|
|
6409
|
+
results: DraftBrandDTO[];
|
|
6410
|
+
meta?: ListResponseMetadataDTO;
|
|
6411
|
+
[index: string]: any;
|
|
6412
|
+
}
|
|
6413
|
+
|
|
6414
|
+
export interface GetMenuV3DraftBrandGroupBrandsRequest
|
|
6415
|
+
extends BaseRequest,
|
|
6416
|
+
RequestQuery<GetMenuV3DraftBrandGroupBrandsQuery>,
|
|
6417
|
+
GetMenuV3DraftBrandGroupBrandsPath {}
|