@compassdigital/sdk.typescript 3.57.0 → 3.59.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/README.md +7 -1
- package/lib/base.d.ts +2 -1
- package/lib/base.d.ts.map +1 -1
- package/lib/base.js +22 -7
- package/lib/base.js.map +1 -1
- package/lib/index.d.ts +38 -38
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +34 -34
- package/lib/index.js.map +1 -1
- package/lib/interface/menu.d.ts +64 -64
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/order.d.ts +2 -0
- package/lib/interface/order.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/base.ts +24 -9
- package/src/index.ts +87 -87
- package/src/interface/menu.ts +87 -87
- package/src/interface/order.ts +2 -0
package/src/interface/menu.ts
CHANGED
|
@@ -353,7 +353,7 @@ export interface DraftBrandDTO {
|
|
|
353
353
|
is_active?: boolean;
|
|
354
354
|
type?: string;
|
|
355
355
|
parent_id?: string;
|
|
356
|
-
|
|
356
|
+
local_menu_group_id?: string;
|
|
357
357
|
brand_group_id?: string;
|
|
358
358
|
[index: string]: any;
|
|
359
359
|
}
|
|
@@ -604,12 +604,12 @@ export interface PublishedBrandDTO {
|
|
|
604
604
|
is_active?: boolean;
|
|
605
605
|
type?: string;
|
|
606
606
|
parent_id?: string;
|
|
607
|
-
|
|
607
|
+
local_menu_group_id?: string;
|
|
608
608
|
brand_group_id?: string;
|
|
609
609
|
[index: string]: any;
|
|
610
610
|
}
|
|
611
611
|
|
|
612
|
-
export interface
|
|
612
|
+
export interface LocalMenuGroupDTO {
|
|
613
613
|
name: string;
|
|
614
614
|
is_active?: boolean;
|
|
615
615
|
allowed_brand_groups?: BrandGroupDTO[];
|
|
@@ -1558,9 +1558,9 @@ export interface GetMenuV3DraftSiteLayoutsRequest
|
|
|
1558
1558
|
RequestQuery<GetMenuV3DraftSiteLayoutsQuery>,
|
|
1559
1559
|
GetMenuV3DraftSiteLayoutsPath {}
|
|
1560
1560
|
|
|
1561
|
-
// POST /menu/v3/local-menu
|
|
1561
|
+
// POST /menu/v3/local-menu-group
|
|
1562
1562
|
|
|
1563
|
-
export interface
|
|
1563
|
+
export interface PostMenuV3LocalMenuGroupBody {
|
|
1564
1564
|
name: string;
|
|
1565
1565
|
is_active?: boolean;
|
|
1566
1566
|
allowed_brand_groups?: BrandGroupDTO[];
|
|
@@ -1569,7 +1569,7 @@ export interface PostMenuV3LocalMenuBody {
|
|
|
1569
1569
|
[index: string]: any;
|
|
1570
1570
|
}
|
|
1571
1571
|
|
|
1572
|
-
export interface
|
|
1572
|
+
export interface PostMenuV3LocalMenuGroupResponse {
|
|
1573
1573
|
name: string;
|
|
1574
1574
|
is_active?: boolean;
|
|
1575
1575
|
allowed_brand_groups?: BrandGroupDTO[];
|
|
@@ -1583,17 +1583,17 @@ export interface PostMenuV3LocalMenuResponse {
|
|
|
1583
1583
|
[index: string]: any;
|
|
1584
1584
|
}
|
|
1585
1585
|
|
|
1586
|
-
export interface
|
|
1587
|
-
body:
|
|
1586
|
+
export interface PostMenuV3LocalMenuGroupRequest extends BaseRequest {
|
|
1587
|
+
body: PostMenuV3LocalMenuGroupBody;
|
|
1588
1588
|
}
|
|
1589
1589
|
|
|
1590
|
-
// GET /menu/v3/local-menu/{id}
|
|
1590
|
+
// GET /menu/v3/local-menu-group/{id}
|
|
1591
1591
|
|
|
1592
|
-
export interface
|
|
1592
|
+
export interface GetMenuV3LocalMenuGroupPath {
|
|
1593
1593
|
id: string;
|
|
1594
1594
|
}
|
|
1595
1595
|
|
|
1596
|
-
export interface
|
|
1596
|
+
export interface GetMenuV3LocalMenuGroupQuery {
|
|
1597
1597
|
// If specified, only the selected fields will be returned
|
|
1598
1598
|
select?: string[];
|
|
1599
1599
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
@@ -1602,7 +1602,7 @@ export interface GetMenuV3LocalMenuQuery {
|
|
|
1602
1602
|
_query?: string;
|
|
1603
1603
|
}
|
|
1604
1604
|
|
|
1605
|
-
export interface
|
|
1605
|
+
export interface GetMenuV3LocalMenuGroupResponse {
|
|
1606
1606
|
name: string;
|
|
1607
1607
|
is_active?: boolean;
|
|
1608
1608
|
allowed_brand_groups?: BrandGroupDTO[];
|
|
@@ -1616,18 +1616,18 @@ export interface GetMenuV3LocalMenuResponse {
|
|
|
1616
1616
|
[index: string]: any;
|
|
1617
1617
|
}
|
|
1618
1618
|
|
|
1619
|
-
export interface
|
|
1619
|
+
export interface GetMenuV3LocalMenuGroupRequest
|
|
1620
1620
|
extends BaseRequest,
|
|
1621
|
-
RequestQuery<
|
|
1622
|
-
|
|
1621
|
+
RequestQuery<GetMenuV3LocalMenuGroupQuery>,
|
|
1622
|
+
GetMenuV3LocalMenuGroupPath {}
|
|
1623
1623
|
|
|
1624
|
-
// PATCH /menu/v3/local-menu/{id}
|
|
1624
|
+
// PATCH /menu/v3/local-menu-group/{id}
|
|
1625
1625
|
|
|
1626
|
-
export interface
|
|
1626
|
+
export interface PatchMenuV3LocalMenuGroupPath {
|
|
1627
1627
|
id: string;
|
|
1628
1628
|
}
|
|
1629
1629
|
|
|
1630
|
-
export interface
|
|
1630
|
+
export interface PatchMenuV3LocalMenuGroupBody {
|
|
1631
1631
|
name?: string;
|
|
1632
1632
|
is_active?: boolean;
|
|
1633
1633
|
allowed_brand_groups?: BrandGroupDTO[];
|
|
@@ -1637,7 +1637,7 @@ export interface PatchMenuV3LocalMenuBody {
|
|
|
1637
1637
|
[index: string]: any;
|
|
1638
1638
|
}
|
|
1639
1639
|
|
|
1640
|
-
export interface
|
|
1640
|
+
export interface PatchMenuV3LocalMenuGroupResponse {
|
|
1641
1641
|
name: string;
|
|
1642
1642
|
is_active?: boolean;
|
|
1643
1643
|
allowed_brand_groups?: BrandGroupDTO[];
|
|
@@ -1651,17 +1651,17 @@ export interface PatchMenuV3LocalMenuResponse {
|
|
|
1651
1651
|
[index: string]: any;
|
|
1652
1652
|
}
|
|
1653
1653
|
|
|
1654
|
-
export interface
|
|
1655
|
-
body:
|
|
1654
|
+
export interface PatchMenuV3LocalMenuGroupRequest extends BaseRequest, PatchMenuV3LocalMenuGroupPath {
|
|
1655
|
+
body: PatchMenuV3LocalMenuGroupBody;
|
|
1656
1656
|
}
|
|
1657
1657
|
|
|
1658
|
-
// DELETE /menu/v3/local-menu/{id}
|
|
1658
|
+
// DELETE /menu/v3/local-menu-group/{id}
|
|
1659
1659
|
|
|
1660
|
-
export interface
|
|
1660
|
+
export interface DeleteMenuV3LocalMenuGroupPath {
|
|
1661
1661
|
id: string;
|
|
1662
1662
|
}
|
|
1663
1663
|
|
|
1664
|
-
export interface
|
|
1664
|
+
export interface DeleteMenuV3LocalMenuGroupResponse {
|
|
1665
1665
|
name: string;
|
|
1666
1666
|
is_active?: boolean;
|
|
1667
1667
|
allowed_brand_groups?: BrandGroupDTO[];
|
|
@@ -1675,11 +1675,11 @@ export interface DeleteMenuV3LocalMenuResponse {
|
|
|
1675
1675
|
[index: string]: any;
|
|
1676
1676
|
}
|
|
1677
1677
|
|
|
1678
|
-
export interface
|
|
1678
|
+
export interface DeleteMenuV3LocalMenuGroupRequest extends BaseRequest, DeleteMenuV3LocalMenuGroupPath {}
|
|
1679
1679
|
|
|
1680
|
-
// GET /menu/v3/local-
|
|
1680
|
+
// GET /menu/v3/local-menu-groups
|
|
1681
1681
|
|
|
1682
|
-
export interface
|
|
1682
|
+
export interface GetMenuV3LocalMenuGroupsQuery {
|
|
1683
1683
|
// If specified, only the selected fields will be returned
|
|
1684
1684
|
select?: string[];
|
|
1685
1685
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
@@ -1698,19 +1698,19 @@ export interface GetMenuV3LocalMenusQuery {
|
|
|
1698
1698
|
_query?: string;
|
|
1699
1699
|
}
|
|
1700
1700
|
|
|
1701
|
-
export interface
|
|
1702
|
-
results:
|
|
1701
|
+
export interface GetMenuV3LocalMenuGroupsResponse {
|
|
1702
|
+
results: LocalMenuGroupDTO[];
|
|
1703
1703
|
meta?: ListResponseMetadataDTO;
|
|
1704
1704
|
[index: string]: any;
|
|
1705
1705
|
}
|
|
1706
1706
|
|
|
1707
|
-
export interface
|
|
1707
|
+
export interface GetMenuV3LocalMenuGroupsRequest
|
|
1708
1708
|
extends BaseRequest,
|
|
1709
|
-
RequestQuery<
|
|
1709
|
+
RequestQuery<GetMenuV3LocalMenuGroupsQuery> {}
|
|
1710
1710
|
|
|
1711
|
-
// POST /menu/v3/local-
|
|
1711
|
+
// POST /menu/v3/local-menu-groups
|
|
1712
1712
|
|
|
1713
|
-
export type
|
|
1713
|
+
export type PostMenuV3LocalMenuGroupsBody = {
|
|
1714
1714
|
name: string;
|
|
1715
1715
|
is_active?: boolean;
|
|
1716
1716
|
allowed_brand_groups?: BrandGroupDTO[];
|
|
@@ -1719,41 +1719,41 @@ export type PostMenuV3LocalMenusBody = {
|
|
|
1719
1719
|
[index: string]: any;
|
|
1720
1720
|
}[];
|
|
1721
1721
|
|
|
1722
|
-
export interface
|
|
1723
|
-
results:
|
|
1722
|
+
export interface PostMenuV3LocalMenuGroupsResponse {
|
|
1723
|
+
results: LocalMenuGroupDTO[];
|
|
1724
1724
|
meta?: ListResponseMetadataDTO;
|
|
1725
1725
|
[index: string]: any;
|
|
1726
1726
|
}
|
|
1727
1727
|
|
|
1728
|
-
export interface
|
|
1729
|
-
body:
|
|
1728
|
+
export interface PostMenuV3LocalMenuGroupsRequest extends BaseRequest {
|
|
1729
|
+
body: PostMenuV3LocalMenuGroupsBody;
|
|
1730
1730
|
}
|
|
1731
1731
|
|
|
1732
|
-
// GET /menu/v3/local-
|
|
1732
|
+
// GET /menu/v3/local-menu-groups/count
|
|
1733
1733
|
|
|
1734
|
-
export interface
|
|
1734
|
+
export interface GetMenuV3LocalMenuGroupsCountQuery {
|
|
1735
1735
|
// The fields that filtering is allowed on
|
|
1736
1736
|
filter?: any;
|
|
1737
1737
|
// Graphql query string
|
|
1738
1738
|
_query?: string;
|
|
1739
1739
|
}
|
|
1740
1740
|
|
|
1741
|
-
export interface
|
|
1741
|
+
export interface GetMenuV3LocalMenuGroupsCountResponse {
|
|
1742
1742
|
count: number;
|
|
1743
1743
|
[index: string]: any;
|
|
1744
1744
|
}
|
|
1745
1745
|
|
|
1746
|
-
export interface
|
|
1746
|
+
export interface GetMenuV3LocalMenuGroupsCountRequest
|
|
1747
1747
|
extends BaseRequest,
|
|
1748
|
-
RequestQuery<
|
|
1748
|
+
RequestQuery<GetMenuV3LocalMenuGroupsCountQuery> {}
|
|
1749
1749
|
|
|
1750
|
-
// GET /menu/v3/draft/local-menu/{id}/brands
|
|
1750
|
+
// GET /menu/v3/draft/local-menu-group/{id}/brands
|
|
1751
1751
|
|
|
1752
|
-
export interface
|
|
1752
|
+
export interface GetMenuV3DraftLocalMenuGroupBrandsPath {
|
|
1753
1753
|
id: string;
|
|
1754
1754
|
}
|
|
1755
1755
|
|
|
1756
|
-
export interface
|
|
1756
|
+
export interface GetMenuV3DraftLocalMenuGroupBrandsQuery {
|
|
1757
1757
|
// If specified, only the selected fields will be returned
|
|
1758
1758
|
select?: string[];
|
|
1759
1759
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
@@ -1772,24 +1772,24 @@ export interface GetMenuV3DraftLocalMenuBrandsQuery {
|
|
|
1772
1772
|
_query?: string;
|
|
1773
1773
|
}
|
|
1774
1774
|
|
|
1775
|
-
export interface
|
|
1775
|
+
export interface GetMenuV3DraftLocalMenuGroupBrandsResponse {
|
|
1776
1776
|
results: DraftBrandDTO[];
|
|
1777
1777
|
meta?: ListResponseMetadataDTO;
|
|
1778
1778
|
[index: string]: any;
|
|
1779
1779
|
}
|
|
1780
1780
|
|
|
1781
|
-
export interface
|
|
1781
|
+
export interface GetMenuV3DraftLocalMenuGroupBrandsRequest
|
|
1782
1782
|
extends BaseRequest,
|
|
1783
|
-
RequestQuery<
|
|
1784
|
-
|
|
1783
|
+
RequestQuery<GetMenuV3DraftLocalMenuGroupBrandsQuery>,
|
|
1784
|
+
GetMenuV3DraftLocalMenuGroupBrandsPath {}
|
|
1785
1785
|
|
|
1786
|
-
// GET /menu/v3/local-menu/{id}/brands
|
|
1786
|
+
// GET /menu/v3/local-menu-group/{id}/brands
|
|
1787
1787
|
|
|
1788
|
-
export interface
|
|
1788
|
+
export interface GetMenuV3LocalMenuGroupBrandsPath {
|
|
1789
1789
|
id: string;
|
|
1790
1790
|
}
|
|
1791
1791
|
|
|
1792
|
-
export interface
|
|
1792
|
+
export interface GetMenuV3LocalMenuGroupBrandsQuery {
|
|
1793
1793
|
// If specified, only the selected fields will be returned
|
|
1794
1794
|
select?: string[];
|
|
1795
1795
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
@@ -1808,24 +1808,24 @@ export interface GetMenuV3LocalMenuBrandsQuery {
|
|
|
1808
1808
|
_query?: string;
|
|
1809
1809
|
}
|
|
1810
1810
|
|
|
1811
|
-
export interface
|
|
1811
|
+
export interface GetMenuV3LocalMenuGroupBrandsResponse {
|
|
1812
1812
|
results: DraftBrandDTO[];
|
|
1813
1813
|
meta?: ListResponseMetadataDTO;
|
|
1814
1814
|
[index: string]: any;
|
|
1815
1815
|
}
|
|
1816
1816
|
|
|
1817
|
-
export interface
|
|
1817
|
+
export interface GetMenuV3LocalMenuGroupBrandsRequest
|
|
1818
1818
|
extends BaseRequest,
|
|
1819
|
-
RequestQuery<
|
|
1820
|
-
|
|
1819
|
+
RequestQuery<GetMenuV3LocalMenuGroupBrandsQuery>,
|
|
1820
|
+
GetMenuV3LocalMenuGroupBrandsPath {}
|
|
1821
1821
|
|
|
1822
|
-
// GET /menu/v3/local-menu/{id}/allowed-global-brands
|
|
1822
|
+
// GET /menu/v3/local-menu-group/{id}/allowed-global-brands
|
|
1823
1823
|
|
|
1824
|
-
export interface
|
|
1824
|
+
export interface GetMenuV3LocalMenuGroupAllowedGlobalBrandsPath {
|
|
1825
1825
|
id: string;
|
|
1826
1826
|
}
|
|
1827
1827
|
|
|
1828
|
-
export interface
|
|
1828
|
+
export interface GetMenuV3LocalMenuGroupAllowedGlobalBrandsQuery {
|
|
1829
1829
|
// If specified, only the selected fields will be returned
|
|
1830
1830
|
select?: string[];
|
|
1831
1831
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
@@ -1844,24 +1844,24 @@ export interface GetMenuV3LocalMenuAllowedGlobalBrandsQuery {
|
|
|
1844
1844
|
_query?: string;
|
|
1845
1845
|
}
|
|
1846
1846
|
|
|
1847
|
-
export interface
|
|
1847
|
+
export interface GetMenuV3LocalMenuGroupAllowedGlobalBrandsResponse {
|
|
1848
1848
|
results: DraftBrandDTO[];
|
|
1849
1849
|
meta?: ListResponseMetadataDTO;
|
|
1850
1850
|
[index: string]: any;
|
|
1851
1851
|
}
|
|
1852
1852
|
|
|
1853
|
-
export interface
|
|
1853
|
+
export interface GetMenuV3LocalMenuGroupAllowedGlobalBrandsRequest
|
|
1854
1854
|
extends BaseRequest,
|
|
1855
|
-
RequestQuery<
|
|
1856
|
-
|
|
1855
|
+
RequestQuery<GetMenuV3LocalMenuGroupAllowedGlobalBrandsQuery>,
|
|
1856
|
+
GetMenuV3LocalMenuGroupAllowedGlobalBrandsPath {}
|
|
1857
1857
|
|
|
1858
|
-
// POST /menu/v3/local-menu/{id}/import-brands
|
|
1858
|
+
// POST /menu/v3/local-menu-group/{id}/import-brands
|
|
1859
1859
|
|
|
1860
|
-
export interface
|
|
1860
|
+
export interface PostMenuV3LocalMenuGroupImportBrandsPath {
|
|
1861
1861
|
id: string;
|
|
1862
1862
|
}
|
|
1863
1863
|
|
|
1864
|
-
export interface
|
|
1864
|
+
export interface PostMenuV3LocalMenuGroupImportBrandsQuery {
|
|
1865
1865
|
// If specified, only the selected fields will be returned
|
|
1866
1866
|
select?: string[];
|
|
1867
1867
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
@@ -1879,21 +1879,21 @@ export interface PostMenuV3LocalMenuImportBrandsQuery {
|
|
|
1879
1879
|
soft_deleted?: string;
|
|
1880
1880
|
}
|
|
1881
1881
|
|
|
1882
|
-
export interface
|
|
1882
|
+
export interface PostMenuV3LocalMenuGroupImportBrandsResponse {
|
|
1883
1883
|
status?: string;
|
|
1884
1884
|
}
|
|
1885
1885
|
|
|
1886
|
-
export interface
|
|
1886
|
+
export interface PostMenuV3LocalMenuGroupImportBrandsRequest
|
|
1887
1887
|
extends BaseRequest,
|
|
1888
|
-
RequestQuery<
|
|
1889
|
-
|
|
1888
|
+
RequestQuery<PostMenuV3LocalMenuGroupImportBrandsQuery>,
|
|
1889
|
+
PostMenuV3LocalMenuGroupImportBrandsPath {}
|
|
1890
1890
|
|
|
1891
1891
|
// POST /menu/v3/brand-group
|
|
1892
1892
|
|
|
1893
1893
|
export interface PostMenuV3BrandGroupBody {
|
|
1894
1894
|
name: string;
|
|
1895
1895
|
is_active?: boolean;
|
|
1896
|
-
|
|
1896
|
+
allowed_local_menu_groups?: LocalMenuGroupDTO[];
|
|
1897
1897
|
draft_brands?: DraftBrandDTO[];
|
|
1898
1898
|
published_brands?: PublishedBrandDTO[];
|
|
1899
1899
|
posid_segment?: POSIDSegmentDTO;
|
|
@@ -1937,7 +1937,7 @@ export interface PatchMenuV3BrandGroupPath {
|
|
|
1937
1937
|
export interface PatchMenuV3BrandGroupBody {
|
|
1938
1938
|
name?: string;
|
|
1939
1939
|
is_active?: boolean;
|
|
1940
|
-
|
|
1940
|
+
allowed_local_menu_groups?: LocalMenuGroupDTO[];
|
|
1941
1941
|
draft_brands?: DraftBrandDTO[];
|
|
1942
1942
|
published_brands?: PublishedBrandDTO[];
|
|
1943
1943
|
posid_segment?: POSIDSegmentDTO;
|
|
@@ -1997,7 +1997,7 @@ export interface GetMenuV3BrandGroupsRequest
|
|
|
1997
1997
|
export type PostMenuV3BrandGroupsBody = {
|
|
1998
1998
|
name: string;
|
|
1999
1999
|
is_active?: boolean;
|
|
2000
|
-
|
|
2000
|
+
allowed_local_menu_groups?: LocalMenuGroupDTO[];
|
|
2001
2001
|
draft_brands?: DraftBrandDTO[];
|
|
2002
2002
|
published_brands?: PublishedBrandDTO[];
|
|
2003
2003
|
posid_segment?: POSIDSegmentDTO;
|
|
@@ -2124,10 +2124,10 @@ export interface PostMenuV3DraftBrandBody {
|
|
|
2124
2124
|
is_active?: boolean;
|
|
2125
2125
|
type?: string;
|
|
2126
2126
|
parent_id?: string;
|
|
2127
|
-
|
|
2127
|
+
local_menu_group_id?: string;
|
|
2128
2128
|
brand_group_id?: string;
|
|
2129
2129
|
changes?: BrandChangeDTO[];
|
|
2130
|
-
|
|
2130
|
+
local_menu_group?: LocalMenuGroupDTO;
|
|
2131
2131
|
brand_group?: BrandGroupDTO;
|
|
2132
2132
|
attachments?: FileAttachmentsDTO;
|
|
2133
2133
|
[index: string]: any;
|
|
@@ -2186,10 +2186,10 @@ export interface PatchMenuV3DraftBrandBody {
|
|
|
2186
2186
|
is_active?: boolean;
|
|
2187
2187
|
type?: string;
|
|
2188
2188
|
parent_id?: string;
|
|
2189
|
-
|
|
2189
|
+
local_menu_group_id?: string;
|
|
2190
2190
|
brand_group_id?: string;
|
|
2191
2191
|
changes?: BrandChangeDTO[];
|
|
2192
|
-
|
|
2192
|
+
local_menu_group?: LocalMenuGroupDTO;
|
|
2193
2193
|
brand_group?: BrandGroupDTO;
|
|
2194
2194
|
attachments?: FileAttachmentsDTO;
|
|
2195
2195
|
[index: string]: any;
|
|
@@ -2262,10 +2262,10 @@ export type PostMenuV3DraftBrandsBody = {
|
|
|
2262
2262
|
is_active?: boolean;
|
|
2263
2263
|
type?: string;
|
|
2264
2264
|
parent_id?: string;
|
|
2265
|
-
|
|
2265
|
+
local_menu_group_id?: string;
|
|
2266
2266
|
brand_group_id?: string;
|
|
2267
2267
|
changes?: BrandChangeDTO[];
|
|
2268
|
-
|
|
2268
|
+
local_menu_group?: LocalMenuGroupDTO;
|
|
2269
2269
|
brand_group?: BrandGroupDTO;
|
|
2270
2270
|
attachments?: FileAttachmentsDTO;
|
|
2271
2271
|
[index: string]: any;
|
|
@@ -2500,9 +2500,9 @@ export interface PostMenuV3BrandBody {
|
|
|
2500
2500
|
is_active?: boolean;
|
|
2501
2501
|
type?: string;
|
|
2502
2502
|
parent_id?: string;
|
|
2503
|
-
|
|
2503
|
+
local_menu_group_id?: string;
|
|
2504
2504
|
brand_group_id?: string;
|
|
2505
|
-
|
|
2505
|
+
local_menu_group?: LocalMenuGroupDTO;
|
|
2506
2506
|
brand_group?: BrandGroupDTO;
|
|
2507
2507
|
attachments?: FileAttachmentsDTO;
|
|
2508
2508
|
[index: string]: any;
|
|
@@ -2565,9 +2565,9 @@ export interface PatchMenuV3BrandBody {
|
|
|
2565
2565
|
is_active?: boolean;
|
|
2566
2566
|
type?: string;
|
|
2567
2567
|
parent_id?: string;
|
|
2568
|
-
|
|
2568
|
+
local_menu_group_id?: string;
|
|
2569
2569
|
brand_group_id?: string;
|
|
2570
|
-
|
|
2570
|
+
local_menu_group?: LocalMenuGroupDTO;
|
|
2571
2571
|
brand_group?: BrandGroupDTO;
|
|
2572
2572
|
attachments?: FileAttachmentsDTO;
|
|
2573
2573
|
[index: string]: any;
|
|
@@ -2652,9 +2652,9 @@ export type PostMenuV3BrandsBody = {
|
|
|
2652
2652
|
is_active?: boolean;
|
|
2653
2653
|
type?: string;
|
|
2654
2654
|
parent_id?: string;
|
|
2655
|
-
|
|
2655
|
+
local_menu_group_id?: string;
|
|
2656
2656
|
brand_group_id?: string;
|
|
2657
|
-
|
|
2657
|
+
local_menu_group?: LocalMenuGroupDTO;
|
|
2658
2658
|
brand_group?: BrandGroupDTO;
|
|
2659
2659
|
attachments?: FileAttachmentsDTO;
|
|
2660
2660
|
[index: string]: any;
|
|
@@ -2869,11 +2869,11 @@ export interface PostMenuV3BrandLocalResponse {
|
|
|
2869
2869
|
is_active?: boolean;
|
|
2870
2870
|
type?: string;
|
|
2871
2871
|
parent_id?: string;
|
|
2872
|
-
|
|
2872
|
+
local_menu_group_id?: string;
|
|
2873
2873
|
brand_group_id?: string;
|
|
2874
2874
|
version?: number;
|
|
2875
2875
|
changes?: BrandChangeDTO[];
|
|
2876
|
-
|
|
2876
|
+
local_menu_group?: LocalMenuGroupDTO;
|
|
2877
2877
|
brand_group?: BrandGroupDTO;
|
|
2878
2878
|
attachments?: FileAttachmentsDTO;
|
|
2879
2879
|
[index: string]: any;
|
package/src/interface/order.ts
CHANGED
|
@@ -110,6 +110,7 @@ export interface Order {
|
|
|
110
110
|
out_for_delivery?: boolean;
|
|
111
111
|
delivered?: boolean;
|
|
112
112
|
checkin_order?: boolean;
|
|
113
|
+
dining_hall_order?: boolean;
|
|
113
114
|
no_show?: boolean;
|
|
114
115
|
collected?: boolean;
|
|
115
116
|
};
|
|
@@ -196,6 +197,7 @@ export interface Order {
|
|
|
196
197
|
past_issues?: Issue[];
|
|
197
198
|
// Delivery user
|
|
198
199
|
runner?: string;
|
|
200
|
+
reorder_eligibility?: string;
|
|
199
201
|
[index: string]: any;
|
|
200
202
|
}
|
|
201
203
|
|