@compassdigital/sdk.typescript 3.77.0 → 3.77.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +91 -76
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +79 -61
- package/lib/index.js.map +1 -1
- package/lib/interface/ai.d.ts +50 -0
- package/lib/interface/ai.d.ts.map +1 -0
- package/lib/interface/ai.js +5 -0
- package/lib/interface/ai.js.map +1 -0
- package/lib/interface/datalake.d.ts +3 -3
- package/lib/interface/datalake.d.ts.map +1 -1
- package/lib/interface/frictionless.d.ts +22 -22
- package/lib/interface/frictionless.d.ts.map +1 -1
- package/lib/interface/location.d.ts +8 -8
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +87 -86
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/payment.js +1 -1
- package/lib/interface/payment.js.map +1 -1
- package/manifest.json +4 -0
- package/package.json +1 -1
- package/src/index.ts +222 -188
- package/src/interface/ai.ts +72 -0
- package/src/interface/datalake.ts +5 -3
- package/src/interface/frictionless.ts +28 -34
- package/src/interface/location.ts +12 -12
- package/src/interface/menu.ts +116 -115
- package/src/interface/payment.ts +1 -1
package/src/interface/menu.ts
CHANGED
|
@@ -1556,29 +1556,32 @@ export interface GetMenusRequest extends BaseRequest, RequestQuery<GetMenusQuery
|
|
|
1556
1556
|
|
|
1557
1557
|
// POST /menu - Create a new Menu
|
|
1558
1558
|
|
|
1559
|
-
export type
|
|
1559
|
+
export type CreateMenuBody = Menu;
|
|
1560
1560
|
|
|
1561
|
-
export type
|
|
1561
|
+
export type CreateMenuResponse = Menu;
|
|
1562
1562
|
|
|
1563
|
-
export interface
|
|
1564
|
-
body:
|
|
1563
|
+
export interface CreateMenuRequest extends BaseRequest {
|
|
1564
|
+
body: CreateMenuBody;
|
|
1565
1565
|
}
|
|
1566
1566
|
|
|
1567
1567
|
// HEAD /menu/{id} - Get an individual Menu
|
|
1568
1568
|
|
|
1569
|
-
export interface
|
|
1569
|
+
export interface GetMenuHeadersPath {
|
|
1570
1570
|
// menu
|
|
1571
1571
|
id: string;
|
|
1572
1572
|
}
|
|
1573
1573
|
|
|
1574
|
-
export interface
|
|
1574
|
+
export interface GetMenuHeadersQuery {
|
|
1575
1575
|
// fields to return
|
|
1576
1576
|
_query?: string;
|
|
1577
1577
|
}
|
|
1578
1578
|
|
|
1579
|
-
export type
|
|
1579
|
+
export type GetMenuHeadersResponse = any;
|
|
1580
1580
|
|
|
1581
|
-
export interface
|
|
1581
|
+
export interface GetMenuHeadersRequest
|
|
1582
|
+
extends BaseRequest,
|
|
1583
|
+
RequestQuery<GetMenuHeadersQuery>,
|
|
1584
|
+
GetMenuHeadersPath {}
|
|
1582
1585
|
|
|
1583
1586
|
// GET /menu/{id} - Get an individual Menu
|
|
1584
1587
|
|
|
@@ -1605,22 +1608,25 @@ export interface GetMenuRequest extends BaseRequest, RequestQuery<GetMenuQuery>,
|
|
|
1605
1608
|
|
|
1606
1609
|
// PUT /menu/{id} - Override a complete Menu
|
|
1607
1610
|
|
|
1608
|
-
export interface
|
|
1611
|
+
export interface UpdateMenuPath {
|
|
1609
1612
|
// menu
|
|
1610
1613
|
id: string;
|
|
1611
1614
|
}
|
|
1612
1615
|
|
|
1613
|
-
export interface
|
|
1616
|
+
export interface UpdateMenuQuery {
|
|
1614
1617
|
// fields to return
|
|
1615
1618
|
_query?: string;
|
|
1616
1619
|
}
|
|
1617
1620
|
|
|
1618
|
-
export type
|
|
1621
|
+
export type UpdateMenuBody = Menu;
|
|
1619
1622
|
|
|
1620
|
-
export type
|
|
1623
|
+
export type UpdateMenuResponse = Menu;
|
|
1621
1624
|
|
|
1622
|
-
export interface
|
|
1623
|
-
|
|
1625
|
+
export interface UpdateMenuRequest
|
|
1626
|
+
extends BaseRequest,
|
|
1627
|
+
RequestQuery<UpdateMenuQuery>,
|
|
1628
|
+
UpdateMenuPath {
|
|
1629
|
+
body: UpdateMenuBody;
|
|
1624
1630
|
}
|
|
1625
1631
|
|
|
1626
1632
|
// DELETE /menu/{id} - Delete a Menu
|
|
@@ -1664,56 +1670,53 @@ export interface PatchMenuRequest extends BaseRequest, RequestQuery<PatchMenuQue
|
|
|
1664
1670
|
|
|
1665
1671
|
// POST /menu/import - Import an existing Menu
|
|
1666
1672
|
|
|
1667
|
-
export interface
|
|
1673
|
+
export interface ImportMenuBody {
|
|
1668
1674
|
// menu
|
|
1669
1675
|
menu?: string;
|
|
1670
1676
|
}
|
|
1671
1677
|
|
|
1672
|
-
export type
|
|
1678
|
+
export type ImportMenuResponse = Menu;
|
|
1673
1679
|
|
|
1674
|
-
export interface
|
|
1675
|
-
body:
|
|
1680
|
+
export interface ImportMenuRequest extends BaseRequest {
|
|
1681
|
+
body: ImportMenuBody;
|
|
1676
1682
|
}
|
|
1677
1683
|
|
|
1678
1684
|
// GET /menu/item/{id} - Get menu item
|
|
1679
1685
|
|
|
1680
|
-
export interface
|
|
1686
|
+
export interface GetItemPath {
|
|
1681
1687
|
// Item ID
|
|
1682
1688
|
id: string;
|
|
1683
1689
|
}
|
|
1684
1690
|
|
|
1685
|
-
export interface
|
|
1691
|
+
export interface GetItemQuery {
|
|
1686
1692
|
// Graphql query string
|
|
1687
1693
|
_query?: string;
|
|
1688
1694
|
nocache?: boolean;
|
|
1689
1695
|
}
|
|
1690
1696
|
|
|
1691
|
-
export type
|
|
1697
|
+
export type GetItemResponse = Item;
|
|
1692
1698
|
|
|
1693
|
-
export interface
|
|
1694
|
-
extends BaseRequest,
|
|
1695
|
-
RequestQuery<GetMenuItemQuery>,
|
|
1696
|
-
GetMenuItemPath {}
|
|
1699
|
+
export interface GetItemRequest extends BaseRequest, RequestQuery<GetItemQuery>, GetItemPath {}
|
|
1697
1700
|
|
|
1698
1701
|
// DELETE /menu/item/{id} - Delete a menu item
|
|
1699
1702
|
|
|
1700
|
-
export interface
|
|
1703
|
+
export interface DeleteItemPath {
|
|
1701
1704
|
// Item ID
|
|
1702
1705
|
id: string;
|
|
1703
1706
|
}
|
|
1704
1707
|
|
|
1705
|
-
export type
|
|
1708
|
+
export type DeleteItemResponse = Success;
|
|
1706
1709
|
|
|
1707
|
-
export interface
|
|
1710
|
+
export interface DeleteItemRequest extends BaseRequest, DeleteItemPath {}
|
|
1708
1711
|
|
|
1709
1712
|
// POST /menu/item - Create a menu item
|
|
1710
1713
|
|
|
1711
|
-
export type
|
|
1714
|
+
export type CreateItemBody = Item;
|
|
1712
1715
|
|
|
1713
|
-
export type
|
|
1716
|
+
export type CreateItemResponse = Item;
|
|
1714
1717
|
|
|
1715
|
-
export interface
|
|
1716
|
-
body:
|
|
1718
|
+
export interface CreateItemRequest extends BaseRequest {
|
|
1719
|
+
body: CreateItemBody;
|
|
1717
1720
|
}
|
|
1718
1721
|
|
|
1719
1722
|
// GET /menu/items - Search for menu items
|
|
@@ -1730,44 +1733,42 @@ export interface GetMenuItemsRequest extends BaseRequest, RequestQuery<GetMenuIt
|
|
|
1730
1733
|
|
|
1731
1734
|
// POST /menu/items/import/{location} - trigger import items
|
|
1732
1735
|
|
|
1733
|
-
export interface
|
|
1736
|
+
export interface ImportItemsCanteenPath {
|
|
1734
1737
|
// Location ID
|
|
1735
1738
|
location: string;
|
|
1736
1739
|
}
|
|
1737
1740
|
|
|
1738
|
-
export type
|
|
1741
|
+
export type ImportItemsCanteenResponse = Success;
|
|
1739
1742
|
|
|
1740
|
-
export interface
|
|
1741
|
-
extends BaseRequest,
|
|
1742
|
-
PostMenuImportItemsCanteenPath {}
|
|
1743
|
+
export interface ImportItemsCanteenRequest extends BaseRequest, ImportItemsCanteenPath {}
|
|
1743
1744
|
|
|
1744
1745
|
// GET /menu/items/location/{location} - Get all menu items for a location
|
|
1745
1746
|
|
|
1746
|
-
export interface
|
|
1747
|
+
export interface GetLocationItemsPath {
|
|
1747
1748
|
// Location ID
|
|
1748
1749
|
location: string;
|
|
1749
1750
|
}
|
|
1750
1751
|
|
|
1751
|
-
export interface
|
|
1752
|
+
export interface GetLocationItemsQuery {
|
|
1752
1753
|
// Graphql query string
|
|
1753
1754
|
_query?: string;
|
|
1754
1755
|
}
|
|
1755
1756
|
|
|
1756
|
-
export type
|
|
1757
|
+
export type GetLocationItemsResponse = Items;
|
|
1757
1758
|
|
|
1758
|
-
export interface
|
|
1759
|
+
export interface GetLocationItemsRequest
|
|
1759
1760
|
extends BaseRequest,
|
|
1760
|
-
RequestQuery<
|
|
1761
|
-
|
|
1761
|
+
RequestQuery<GetLocationItemsQuery>,
|
|
1762
|
+
GetLocationItemsPath {}
|
|
1762
1763
|
|
|
1763
1764
|
// GET /menu/item/random/location/{location} - Get a random item
|
|
1764
1765
|
|
|
1765
|
-
export interface
|
|
1766
|
+
export interface GetLocationItemRandomPath {
|
|
1766
1767
|
// Location ID
|
|
1767
1768
|
location: string;
|
|
1768
1769
|
}
|
|
1769
1770
|
|
|
1770
|
-
export interface
|
|
1771
|
+
export interface GetLocationItemRandomQuery {
|
|
1771
1772
|
// The idfa of the requesting device
|
|
1772
1773
|
idfa?: string;
|
|
1773
1774
|
// Is this device being used in a public area
|
|
@@ -1778,21 +1779,21 @@ export interface GetMenuLocationItemRandomQuery {
|
|
|
1778
1779
|
_query?: string;
|
|
1779
1780
|
}
|
|
1780
1781
|
|
|
1781
|
-
export type
|
|
1782
|
+
export type GetLocationItemRandomResponse = Item;
|
|
1782
1783
|
|
|
1783
|
-
export interface
|
|
1784
|
+
export interface GetLocationItemRandomRequest
|
|
1784
1785
|
extends BaseRequest,
|
|
1785
|
-
RequestQuery<
|
|
1786
|
-
|
|
1786
|
+
RequestQuery<GetLocationItemRandomQuery>,
|
|
1787
|
+
GetLocationItemRandomPath {}
|
|
1787
1788
|
|
|
1788
1789
|
// GET /menu/items/random/location/{location} - Get a set of random items
|
|
1789
1790
|
|
|
1790
|
-
export interface
|
|
1791
|
+
export interface GetLocationItemsRandomPath {
|
|
1791
1792
|
// Location ID
|
|
1792
1793
|
location: string;
|
|
1793
1794
|
}
|
|
1794
1795
|
|
|
1795
|
-
export interface
|
|
1796
|
+
export interface GetLocationItemsRandomQuery {
|
|
1796
1797
|
// The idfa of the requesting device
|
|
1797
1798
|
idfa?: string;
|
|
1798
1799
|
// Is this device being used in a public area
|
|
@@ -1805,143 +1806,143 @@ export interface GetMenuLocationItemsRandomQuery {
|
|
|
1805
1806
|
_query?: string;
|
|
1806
1807
|
}
|
|
1807
1808
|
|
|
1808
|
-
export type
|
|
1809
|
+
export type GetLocationItemsRandomResponse = Items;
|
|
1809
1810
|
|
|
1810
|
-
export interface
|
|
1811
|
+
export interface GetLocationItemsRandomRequest
|
|
1811
1812
|
extends BaseRequest,
|
|
1812
|
-
RequestQuery<
|
|
1813
|
-
|
|
1813
|
+
RequestQuery<GetLocationItemsRandomQuery>,
|
|
1814
|
+
GetLocationItemsRandomPath {}
|
|
1814
1815
|
|
|
1815
1816
|
// GET /menu/sector/{sector} - Get menus that belong to sector
|
|
1816
1817
|
|
|
1817
|
-
export interface
|
|
1818
|
+
export interface GetSectorMenusPath {
|
|
1818
1819
|
// Sector ID
|
|
1819
1820
|
sector: string;
|
|
1820
1821
|
}
|
|
1821
1822
|
|
|
1822
|
-
export interface
|
|
1823
|
+
export interface GetSectorMenusQuery {
|
|
1823
1824
|
// Graphql query string
|
|
1824
1825
|
_query?: string;
|
|
1825
1826
|
}
|
|
1826
1827
|
|
|
1827
|
-
export type
|
|
1828
|
+
export type GetSectorMenusResponse = Menus;
|
|
1828
1829
|
|
|
1829
|
-
export interface
|
|
1830
|
+
export interface GetSectorMenusRequest
|
|
1830
1831
|
extends BaseRequest,
|
|
1831
|
-
RequestQuery<
|
|
1832
|
-
|
|
1832
|
+
RequestQuery<GetSectorMenusQuery>,
|
|
1833
|
+
GetSectorMenusPath {}
|
|
1833
1834
|
|
|
1834
1835
|
// GET /menu/company/{company} - Get menus that belong to company
|
|
1835
1836
|
|
|
1836
|
-
export interface
|
|
1837
|
+
export interface GetCompanyMenusPath {
|
|
1837
1838
|
// Company ID
|
|
1838
1839
|
company: string;
|
|
1839
1840
|
}
|
|
1840
1841
|
|
|
1841
|
-
export interface
|
|
1842
|
+
export interface GetCompanyMenusQuery {
|
|
1842
1843
|
// Graphql query string
|
|
1843
1844
|
_query?: string;
|
|
1844
1845
|
}
|
|
1845
1846
|
|
|
1846
|
-
export type
|
|
1847
|
+
export type GetCompanyMenusResponse = Menus;
|
|
1847
1848
|
|
|
1848
|
-
export interface
|
|
1849
|
+
export interface GetCompanyMenusRequest
|
|
1849
1850
|
extends BaseRequest,
|
|
1850
|
-
RequestQuery<
|
|
1851
|
-
|
|
1851
|
+
RequestQuery<GetCompanyMenusQuery>,
|
|
1852
|
+
GetCompanyMenusPath {}
|
|
1852
1853
|
|
|
1853
1854
|
// POST /menu/modifier/group - Create a new Menu Modifier Group
|
|
1854
1855
|
|
|
1855
|
-
export type
|
|
1856
|
+
export type CreateModifierGroupBody = CreateOptionsGroup;
|
|
1856
1857
|
|
|
1857
|
-
export type
|
|
1858
|
+
export type CreateModifierGroupResponse = OptionsGroup;
|
|
1858
1859
|
|
|
1859
|
-
export interface
|
|
1860
|
-
body:
|
|
1860
|
+
export interface CreateModifierGroupRequest extends BaseRequest {
|
|
1861
|
+
body: CreateModifierGroupBody;
|
|
1861
1862
|
}
|
|
1862
1863
|
|
|
1863
1864
|
// GET /menu/modifier/group/{id} - Get a Menu Modifier Group
|
|
1864
1865
|
|
|
1865
|
-
export interface
|
|
1866
|
+
export interface GetModifierGroupPath {
|
|
1866
1867
|
// modifier_group
|
|
1867
1868
|
id: string;
|
|
1868
1869
|
}
|
|
1869
1870
|
|
|
1870
|
-
export interface
|
|
1871
|
+
export interface GetModifierGroupQuery {
|
|
1871
1872
|
// Graphql query string
|
|
1872
1873
|
_query?: string;
|
|
1873
1874
|
}
|
|
1874
1875
|
|
|
1875
|
-
export type
|
|
1876
|
+
export type GetModifierGroupResponse = OptionsGroup;
|
|
1876
1877
|
|
|
1877
|
-
export interface
|
|
1878
|
+
export interface GetModifierGroupRequest
|
|
1878
1879
|
extends BaseRequest,
|
|
1879
|
-
RequestQuery<
|
|
1880
|
-
|
|
1880
|
+
RequestQuery<GetModifierGroupQuery>,
|
|
1881
|
+
GetModifierGroupPath {}
|
|
1881
1882
|
|
|
1882
1883
|
// PUT /menu/modifier/group/{id} - Update a Menu Modifier Group
|
|
1883
1884
|
|
|
1884
|
-
export interface
|
|
1885
|
+
export interface UpdateModifierGroupPath {
|
|
1885
1886
|
// modifier_group
|
|
1886
1887
|
id: string;
|
|
1887
1888
|
}
|
|
1888
1889
|
|
|
1889
|
-
export type
|
|
1890
|
+
export type UpdateModifierGroupBody = OptionsGroup;
|
|
1890
1891
|
|
|
1891
|
-
export type
|
|
1892
|
+
export type UpdateModifierGroupResponse = OptionsGroup;
|
|
1892
1893
|
|
|
1893
|
-
export interface
|
|
1894
|
-
body:
|
|
1894
|
+
export interface UpdateModifierGroupRequest extends BaseRequest, UpdateModifierGroupPath {
|
|
1895
|
+
body: UpdateModifierGroupBody;
|
|
1895
1896
|
}
|
|
1896
1897
|
|
|
1897
1898
|
// DELETE /menu/modifier/group/{id} - Delete a Menu Modifier Group
|
|
1898
1899
|
|
|
1899
|
-
export interface
|
|
1900
|
+
export interface DeleteModifierGroupPath {
|
|
1900
1901
|
// modifier_group
|
|
1901
1902
|
id: string;
|
|
1902
1903
|
}
|
|
1903
1904
|
|
|
1904
|
-
export type
|
|
1905
|
+
export type DeleteModifierGroupResponse = Success;
|
|
1905
1906
|
|
|
1906
|
-
export interface
|
|
1907
|
+
export interface DeleteModifierGroupRequest extends BaseRequest, DeleteModifierGroupPath {}
|
|
1907
1908
|
|
|
1908
1909
|
// GET /menu/modifier/group/company/{company} - Get the modifier groups that belong to company
|
|
1909
1910
|
|
|
1910
|
-
export interface
|
|
1911
|
+
export interface GetCompanyModifierGroupsPath {
|
|
1911
1912
|
// Company ID
|
|
1912
1913
|
company: string;
|
|
1913
1914
|
}
|
|
1914
1915
|
|
|
1915
|
-
export interface
|
|
1916
|
+
export interface GetCompanyModifierGroupsQuery {
|
|
1916
1917
|
// Graphql query string
|
|
1917
1918
|
_query?: string;
|
|
1918
1919
|
}
|
|
1919
1920
|
|
|
1920
|
-
export type
|
|
1921
|
+
export type GetCompanyModifierGroupsResponse = OptionsGroupList;
|
|
1921
1922
|
|
|
1922
|
-
export interface
|
|
1923
|
+
export interface GetCompanyModifierGroupsRequest
|
|
1923
1924
|
extends BaseRequest,
|
|
1924
|
-
RequestQuery<
|
|
1925
|
-
|
|
1925
|
+
RequestQuery<GetCompanyModifierGroupsQuery>,
|
|
1926
|
+
GetCompanyModifierGroupsPath {}
|
|
1926
1927
|
|
|
1927
1928
|
// GET /menu/modifier/group/company/{company}/export - Export company modifier groups to zipped excel file.
|
|
1928
1929
|
|
|
1929
|
-
export interface
|
|
1930
|
+
export interface GetCompanyModifierGroupsExportPath {
|
|
1930
1931
|
// Company ID
|
|
1931
1932
|
company: string;
|
|
1932
1933
|
}
|
|
1933
1934
|
|
|
1934
|
-
export interface
|
|
1935
|
+
export interface GetCompanyModifierGroupsExportQuery {
|
|
1935
1936
|
// Graphql query string
|
|
1936
1937
|
_query?: string;
|
|
1937
1938
|
}
|
|
1938
1939
|
|
|
1939
|
-
export type
|
|
1940
|
+
export type GetCompanyModifierGroupsExportResponse = ZippedExcelExport;
|
|
1940
1941
|
|
|
1941
|
-
export interface
|
|
1942
|
+
export interface GetCompanyModifierGroupsExportRequest
|
|
1942
1943
|
extends BaseRequest,
|
|
1943
|
-
RequestQuery<
|
|
1944
|
-
|
|
1944
|
+
RequestQuery<GetCompanyModifierGroupsExportQuery>,
|
|
1945
|
+
GetCompanyModifierGroupsExportPath {}
|
|
1945
1946
|
|
|
1946
1947
|
// GET /menu/{id}/export - Export menu set to zipped excel file.
|
|
1947
1948
|
|
|
@@ -3078,6 +3079,7 @@ export interface GetMenuV3DraftBrandDiffsQuery {
|
|
|
3078
3079
|
soft_deleted?: string;
|
|
3079
3080
|
// Graphql query string
|
|
3080
3081
|
_query?: string;
|
|
3082
|
+
nocache?: boolean;
|
|
3081
3083
|
}
|
|
3082
3084
|
|
|
3083
3085
|
export interface GetMenuV3DraftBrandDiffsResponse {
|
|
@@ -4229,13 +4231,13 @@ export interface GetMenuV3DraftCategoryRelationshipsItemsCountRequest
|
|
|
4229
4231
|
extends BaseRequest,
|
|
4230
4232
|
RequestQuery<GetMenuV3DraftCategoryRelationshipsItemsCountQuery> {}
|
|
4231
4233
|
|
|
4232
|
-
// GET /menu/v3/category/relationships/
|
|
4234
|
+
// GET /menu/v3/category/relationships/item/{id}
|
|
4233
4235
|
|
|
4234
|
-
export interface
|
|
4236
|
+
export interface GetMenuV3CategoryRelationshipsItemPath {
|
|
4235
4237
|
id: string;
|
|
4236
4238
|
}
|
|
4237
4239
|
|
|
4238
|
-
export interface
|
|
4240
|
+
export interface GetMenuV3CategoryRelationshipsItemQuery {
|
|
4239
4241
|
// If specified, only the selected fields will be returned
|
|
4240
4242
|
select?: string[];
|
|
4241
4243
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
@@ -4245,17 +4247,16 @@ export interface GetMenuV3CategoryRelationshipsModifierGroupQuery {
|
|
|
4245
4247
|
nocache?: boolean;
|
|
4246
4248
|
}
|
|
4247
4249
|
|
|
4248
|
-
export type
|
|
4249
|
-
PublishedCategoryToItemRelationshipDTO;
|
|
4250
|
+
export type GetMenuV3CategoryRelationshipsItemResponse = PublishedCategoryToItemRelationshipDTO;
|
|
4250
4251
|
|
|
4251
|
-
export interface
|
|
4252
|
+
export interface GetMenuV3CategoryRelationshipsItemRequest
|
|
4252
4253
|
extends BaseRequest,
|
|
4253
|
-
RequestQuery<
|
|
4254
|
-
|
|
4254
|
+
RequestQuery<GetMenuV3CategoryRelationshipsItemQuery>,
|
|
4255
|
+
GetMenuV3CategoryRelationshipsItemPath {}
|
|
4255
4256
|
|
|
4256
|
-
// GET /menu/v3/category/relationships/
|
|
4257
|
+
// GET /menu/v3/category/relationships/items
|
|
4257
4258
|
|
|
4258
|
-
export interface
|
|
4259
|
+
export interface GetMenuV3CategoryRelationshipsItemsQuery {
|
|
4259
4260
|
// If specified, only the selected fields will be returned
|
|
4260
4261
|
select?: string[];
|
|
4261
4262
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
@@ -4275,19 +4276,19 @@ export interface GetMenuV3CategoryRelationshipsModifierGroupsQuery {
|
|
|
4275
4276
|
nocache?: boolean;
|
|
4276
4277
|
}
|
|
4277
4278
|
|
|
4278
|
-
export interface
|
|
4279
|
+
export interface GetMenuV3CategoryRelationshipsItemsResponse {
|
|
4279
4280
|
results: PublishedCategoryToItemRelationshipDTO[];
|
|
4280
4281
|
meta?: ListResponseMetadataDTO;
|
|
4281
4282
|
[index: string]: any;
|
|
4282
4283
|
}
|
|
4283
4284
|
|
|
4284
|
-
export interface
|
|
4285
|
+
export interface GetMenuV3CategoryRelationshipsItemsRequest
|
|
4285
4286
|
extends BaseRequest,
|
|
4286
|
-
RequestQuery<
|
|
4287
|
+
RequestQuery<GetMenuV3CategoryRelationshipsItemsQuery> {}
|
|
4287
4288
|
|
|
4288
|
-
// GET /menu/v3/category/relationships/
|
|
4289
|
+
// GET /menu/v3/category/relationships/items/count
|
|
4289
4290
|
|
|
4290
|
-
export interface
|
|
4291
|
+
export interface GetMenuV3CategoryRelationshipsItemsCountQuery {
|
|
4291
4292
|
// The fields that filtering is allowed on
|
|
4292
4293
|
filter?: any;
|
|
4293
4294
|
// Graphql query string
|
|
@@ -4295,14 +4296,14 @@ export interface GetMenuV3CategoryRelationshipsModifierGroupsCountQuery {
|
|
|
4295
4296
|
nocache?: boolean;
|
|
4296
4297
|
}
|
|
4297
4298
|
|
|
4298
|
-
export interface
|
|
4299
|
+
export interface GetMenuV3CategoryRelationshipsItemsCountResponse {
|
|
4299
4300
|
count: number;
|
|
4300
4301
|
[index: string]: any;
|
|
4301
4302
|
}
|
|
4302
4303
|
|
|
4303
|
-
export interface
|
|
4304
|
+
export interface GetMenuV3CategoryRelationshipsItemsCountRequest
|
|
4304
4305
|
extends BaseRequest,
|
|
4305
|
-
RequestQuery<
|
|
4306
|
+
RequestQuery<GetMenuV3CategoryRelationshipsItemsCountQuery> {}
|
|
4306
4307
|
|
|
4307
4308
|
// POST /menu/v3/draft/item
|
|
4308
4309
|
|
package/src/interface/payment.ts
CHANGED