@compassdigital/sdk.typescript 4.471.0 → 4.472.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/lib/interface/menu.d.ts +61 -45
- package/lib/interface/menu.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/interface/menu.ts +61 -45
package/lib/interface/menu.d.ts
CHANGED
|
@@ -1839,18 +1839,21 @@ export interface FetchMetaDTO {
|
|
|
1839
1839
|
result_count?: number;
|
|
1840
1840
|
}
|
|
1841
1841
|
export interface FetchEntityWithMenusDTO {
|
|
1842
|
-
id
|
|
1843
|
-
name
|
|
1844
|
-
menus
|
|
1842
|
+
id: string;
|
|
1843
|
+
name: string;
|
|
1844
|
+
menus: FetchMenuDTO[];
|
|
1845
|
+
[index: string]: any;
|
|
1845
1846
|
}
|
|
1846
1847
|
export interface FetchMenuDTO {
|
|
1847
|
-
id
|
|
1848
|
-
name
|
|
1849
|
-
categories
|
|
1848
|
+
id: string;
|
|
1849
|
+
name: string;
|
|
1850
|
+
categories: FetchCategoryDTO[];
|
|
1851
|
+
[index: string]: any;
|
|
1850
1852
|
}
|
|
1851
1853
|
export interface FetchCategoryDTO {
|
|
1852
|
-
id
|
|
1853
|
-
name
|
|
1854
|
+
id: string;
|
|
1855
|
+
name: string;
|
|
1856
|
+
[index: string]: any;
|
|
1854
1857
|
}
|
|
1855
1858
|
export interface FetchBrandItemsMenuBrandRequestDTO {
|
|
1856
1859
|
id: string;
|
|
@@ -1870,23 +1873,27 @@ export interface FetchBrandItemsCategoryRequestDTO {
|
|
|
1870
1873
|
[index: string]: any;
|
|
1871
1874
|
}
|
|
1872
1875
|
export interface FetchEntityWithMenusAndItemsDTO {
|
|
1873
|
-
id
|
|
1874
|
-
name
|
|
1875
|
-
menus
|
|
1876
|
+
id: string;
|
|
1877
|
+
name: string;
|
|
1878
|
+
menus: FetchMenuWithItemsDTO[];
|
|
1879
|
+
[index: string]: any;
|
|
1876
1880
|
}
|
|
1877
1881
|
export interface FetchMenuWithItemsDTO {
|
|
1878
|
-
id
|
|
1879
|
-
name
|
|
1880
|
-
categories
|
|
1882
|
+
id: string;
|
|
1883
|
+
name: string;
|
|
1884
|
+
categories: FetchCategoryWithItemsDTO[];
|
|
1885
|
+
[index: string]: any;
|
|
1881
1886
|
}
|
|
1882
1887
|
export interface FetchCategoryWithItemsDTO {
|
|
1883
|
-
id
|
|
1884
|
-
name
|
|
1885
|
-
items
|
|
1888
|
+
id: string;
|
|
1889
|
+
name: string;
|
|
1890
|
+
items: FetchItemDTO[];
|
|
1891
|
+
[index: string]: any;
|
|
1886
1892
|
}
|
|
1887
1893
|
export interface FetchItemDTO {
|
|
1888
|
-
id
|
|
1889
|
-
name
|
|
1894
|
+
id: string;
|
|
1895
|
+
name: string;
|
|
1896
|
+
[index: string]: any;
|
|
1890
1897
|
}
|
|
1891
1898
|
export interface PartialItemDTO {
|
|
1892
1899
|
base_item_id?: string;
|
|
@@ -1989,19 +1996,21 @@ export interface MenuSizeDTO {
|
|
|
1989
1996
|
[index: string]: any;
|
|
1990
1997
|
}
|
|
1991
1998
|
export interface FetchStationWithMenusDTO {
|
|
1992
|
-
id
|
|
1993
|
-
name
|
|
1994
|
-
menus
|
|
1999
|
+
id: string;
|
|
2000
|
+
name: string;
|
|
2001
|
+
menus: FetchStationMenuDTO[];
|
|
2002
|
+
[index: string]: any;
|
|
1995
2003
|
}
|
|
1996
2004
|
export interface FetchStationMenuDTO {
|
|
1997
|
-
id
|
|
1998
|
-
name
|
|
1999
|
-
categories
|
|
2005
|
+
id: string;
|
|
2006
|
+
name: string;
|
|
2007
|
+
categories: FetchStationCategoryDTO[];
|
|
2008
|
+
[index: string]: any;
|
|
2000
2009
|
}
|
|
2001
2010
|
export interface FetchStationCategoryDTO {
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2011
|
+
id: string;
|
|
2012
|
+
name: string;
|
|
2013
|
+
items: FetchItemDTO[];
|
|
2005
2014
|
[index: string]: any;
|
|
2006
2015
|
}
|
|
2007
2016
|
export interface FetchStationItemsSearchSiteRequestDTO {
|
|
@@ -2028,19 +2037,22 @@ export interface FetchStationItemsSearchCategoryRequestDTO {
|
|
|
2028
2037
|
[index: string]: any;
|
|
2029
2038
|
}
|
|
2030
2039
|
export interface FetchSiteWithStationsDTO {
|
|
2031
|
-
id
|
|
2032
|
-
name
|
|
2033
|
-
stations
|
|
2040
|
+
id: string;
|
|
2041
|
+
name: string;
|
|
2042
|
+
stations: FetchStationDTO[];
|
|
2043
|
+
[index: string]: any;
|
|
2034
2044
|
}
|
|
2035
2045
|
export interface FetchStationDTO {
|
|
2036
|
-
id
|
|
2037
|
-
name
|
|
2038
|
-
menus
|
|
2046
|
+
id: string;
|
|
2047
|
+
name: string;
|
|
2048
|
+
menus: FetchStationItemStationMenuDTO[];
|
|
2049
|
+
[index: string]: any;
|
|
2039
2050
|
}
|
|
2040
2051
|
export interface FetchStationItemStationMenuDTO {
|
|
2041
|
-
id
|
|
2042
|
-
name
|
|
2043
|
-
categories
|
|
2052
|
+
id: string;
|
|
2053
|
+
name: string;
|
|
2054
|
+
categories: FetchCategoryWithItemsDTO[];
|
|
2055
|
+
[index: string]: any;
|
|
2044
2056
|
}
|
|
2045
2057
|
export interface HealthDependencyDTO {
|
|
2046
2058
|
name: string;
|
|
@@ -6680,8 +6692,9 @@ export interface PostMenuV4BrandsFetchBody {
|
|
|
6680
6692
|
[index: string]: any;
|
|
6681
6693
|
}
|
|
6682
6694
|
export interface PostMenuV4BrandsFetchResponse {
|
|
6683
|
-
meta
|
|
6684
|
-
results
|
|
6695
|
+
meta: FetchMetaDTO;
|
|
6696
|
+
results: FetchEntityWithMenusDTO[];
|
|
6697
|
+
[index: string]: any;
|
|
6685
6698
|
}
|
|
6686
6699
|
export interface PostMenuV4BrandsFetchRequest extends BaseRequest {
|
|
6687
6700
|
body: PostMenuV4BrandsFetchBody;
|
|
@@ -6692,8 +6705,9 @@ export interface PostMenuV4BrandItemsSearchBody {
|
|
|
6692
6705
|
[index: string]: any;
|
|
6693
6706
|
}
|
|
6694
6707
|
export interface PostMenuV4BrandItemsSearchResponse {
|
|
6695
|
-
meta
|
|
6696
|
-
results
|
|
6708
|
+
meta: FetchMetaDTO;
|
|
6709
|
+
results: FetchEntityWithMenusAndItemsDTO[];
|
|
6710
|
+
[index: string]: any;
|
|
6697
6711
|
}
|
|
6698
6712
|
export interface PostMenuV4BrandItemsSearchRequest extends BaseRequest {
|
|
6699
6713
|
body: PostMenuV4BrandItemsSearchBody;
|
|
@@ -8481,8 +8495,9 @@ export interface PostMenuV4StationsMenusFetchBody {
|
|
|
8481
8495
|
[index: string]: any;
|
|
8482
8496
|
}
|
|
8483
8497
|
export interface PostMenuV4StationsMenusFetchResponse {
|
|
8484
|
-
meta
|
|
8485
|
-
results
|
|
8498
|
+
meta: FetchMetaDTO;
|
|
8499
|
+
results: FetchStationWithMenusDTO[];
|
|
8500
|
+
[index: string]: any;
|
|
8486
8501
|
}
|
|
8487
8502
|
export interface PostMenuV4StationsMenusFetchRequest extends BaseRequest {
|
|
8488
8503
|
body: PostMenuV4StationsMenusFetchBody;
|
|
@@ -8493,8 +8508,9 @@ export interface PostMenuV4StationItemsSearchBody {
|
|
|
8493
8508
|
[index: string]: any;
|
|
8494
8509
|
}
|
|
8495
8510
|
export interface PostMenuV4StationItemsSearchResponse {
|
|
8496
|
-
meta
|
|
8497
|
-
results
|
|
8511
|
+
meta: FetchMetaDTO;
|
|
8512
|
+
results: FetchSiteWithStationsDTO[];
|
|
8513
|
+
[index: string]: any;
|
|
8498
8514
|
}
|
|
8499
8515
|
export interface PostMenuV4StationItemsSearchRequest extends BaseRequest {
|
|
8500
8516
|
body: PostMenuV4StationItemsSearchBody;
|