@compassdigital/sdk.typescript 4.468.0 → 4.469.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/index.d.ts +9 -13
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +12 -8
- package/lib/index.js.map +1 -1
- package/lib/interface/menu.d.ts +62 -12
- package/lib/interface/menu.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +20 -20
- package/src/interface/menu.ts +73 -20
package/lib/interface/menu.d.ts
CHANGED
|
@@ -1839,6 +1839,23 @@ export interface FetchCategoryDTO {
|
|
|
1839
1839
|
id?: string;
|
|
1840
1840
|
name?: string;
|
|
1841
1841
|
}
|
|
1842
|
+
export interface FetchBrandItemsMenuBrandRequestDTO {
|
|
1843
|
+
id: string;
|
|
1844
|
+
name: string;
|
|
1845
|
+
menus?: FetchBrandItemsMenuRequestDTO[];
|
|
1846
|
+
[index: string]: any;
|
|
1847
|
+
}
|
|
1848
|
+
export interface FetchBrandItemsMenuRequestDTO {
|
|
1849
|
+
id: string;
|
|
1850
|
+
name: string;
|
|
1851
|
+
categories?: FetchBrandItemsCategoryRequestDTO[];
|
|
1852
|
+
[index: string]: any;
|
|
1853
|
+
}
|
|
1854
|
+
export interface FetchBrandItemsCategoryRequestDTO {
|
|
1855
|
+
id: string;
|
|
1856
|
+
name: string;
|
|
1857
|
+
[index: string]: any;
|
|
1858
|
+
}
|
|
1842
1859
|
export interface FetchEntityWithMenusAndItemsDTO {
|
|
1843
1860
|
id?: string;
|
|
1844
1861
|
name?: string;
|
|
@@ -1972,6 +1989,29 @@ export interface FetchStationCategoryDTO {
|
|
|
1972
1989
|
name?: string;
|
|
1973
1990
|
[index: string]: any;
|
|
1974
1991
|
}
|
|
1992
|
+
export interface FetchStationItemsSearchSiteRequestDTO {
|
|
1993
|
+
id: string;
|
|
1994
|
+
name: string;
|
|
1995
|
+
stations: FetchStationItemsSearchStationRequestDTO[];
|
|
1996
|
+
[index: string]: any;
|
|
1997
|
+
}
|
|
1998
|
+
export interface FetchStationItemsSearchStationRequestDTO {
|
|
1999
|
+
id: string;
|
|
2000
|
+
name: string;
|
|
2001
|
+
menus: FetchStationItemsSearchMenuRequestDTO[];
|
|
2002
|
+
[index: string]: any;
|
|
2003
|
+
}
|
|
2004
|
+
export interface FetchStationItemsSearchMenuRequestDTO {
|
|
2005
|
+
id: string;
|
|
2006
|
+
name: string;
|
|
2007
|
+
categories?: FetchStationItemsSearchCategoryRequestDTO[];
|
|
2008
|
+
[index: string]: any;
|
|
2009
|
+
}
|
|
2010
|
+
export interface FetchStationItemsSearchCategoryRequestDTO {
|
|
2011
|
+
id: string;
|
|
2012
|
+
name: string;
|
|
2013
|
+
[index: string]: any;
|
|
2014
|
+
}
|
|
1975
2015
|
export interface FetchSiteWithStationsDTO {
|
|
1976
2016
|
id?: string;
|
|
1977
2017
|
name?: string;
|
|
@@ -6586,23 +6626,28 @@ export interface GetMenuV4BrandExportResponse {
|
|
|
6586
6626
|
}
|
|
6587
6627
|
export interface GetMenuV4BrandExportRequest extends BaseRequest, RequestQuery<GetMenuV4BrandExportQuery>, GetMenuV4BrandExportPath {
|
|
6588
6628
|
}
|
|
6589
|
-
export interface
|
|
6590
|
-
|
|
6629
|
+
export interface PostMenuV4BrandsFetchBody {
|
|
6630
|
+
brand_ids: string[];
|
|
6631
|
+
[index: string]: any;
|
|
6591
6632
|
}
|
|
6592
6633
|
export interface PostMenuV4BrandsFetchResponse {
|
|
6593
6634
|
meta?: FetchMetaDTO;
|
|
6594
6635
|
results?: FetchEntityWithMenusDTO[];
|
|
6595
6636
|
}
|
|
6596
|
-
export interface PostMenuV4BrandsFetchRequest extends BaseRequest
|
|
6637
|
+
export interface PostMenuV4BrandsFetchRequest extends BaseRequest {
|
|
6638
|
+
body: PostMenuV4BrandsFetchBody;
|
|
6597
6639
|
}
|
|
6598
|
-
export interface
|
|
6599
|
-
|
|
6640
|
+
export interface PostMenuV4BrandItemsSearchBody {
|
|
6641
|
+
menuBrands: FetchBrandItemsMenuBrandRequestDTO[];
|
|
6642
|
+
searchTerm?: string;
|
|
6643
|
+
[index: string]: any;
|
|
6600
6644
|
}
|
|
6601
6645
|
export interface PostMenuV4BrandItemsSearchResponse {
|
|
6602
6646
|
meta?: FetchMetaDTO;
|
|
6603
6647
|
results?: FetchEntityWithMenusAndItemsDTO[];
|
|
6604
6648
|
}
|
|
6605
|
-
export interface PostMenuV4BrandItemsSearchRequest extends BaseRequest
|
|
6649
|
+
export interface PostMenuV4BrandItemsSearchRequest extends BaseRequest {
|
|
6650
|
+
body: PostMenuV4BrandItemsSearchBody;
|
|
6606
6651
|
}
|
|
6607
6652
|
export interface PostMenuV4ItemAttachmentPath {
|
|
6608
6653
|
id: string;
|
|
@@ -8352,23 +8397,28 @@ export interface GetMenuV4CategoryAttachableItemsResponse {
|
|
|
8352
8397
|
}
|
|
8353
8398
|
export interface GetMenuV4CategoryAttachableItemsRequest extends BaseRequest, RequestQuery<GetMenuV4CategoryAttachableItemsQuery>, GetMenuV4CategoryAttachableItemsPath {
|
|
8354
8399
|
}
|
|
8355
|
-
export interface
|
|
8356
|
-
|
|
8400
|
+
export interface PostMenuV4StationsMenusFetchBody {
|
|
8401
|
+
station_ids: string[];
|
|
8402
|
+
[index: string]: any;
|
|
8357
8403
|
}
|
|
8358
8404
|
export interface PostMenuV4StationsMenusFetchResponse {
|
|
8359
8405
|
meta?: FetchMetaDTO;
|
|
8360
8406
|
results?: FetchStationWithMenusDTO[];
|
|
8361
8407
|
}
|
|
8362
|
-
export interface PostMenuV4StationsMenusFetchRequest extends BaseRequest
|
|
8408
|
+
export interface PostMenuV4StationsMenusFetchRequest extends BaseRequest {
|
|
8409
|
+
body: PostMenuV4StationsMenusFetchBody;
|
|
8363
8410
|
}
|
|
8364
|
-
export interface
|
|
8365
|
-
|
|
8411
|
+
export interface PostMenuV4StationItemsSearchBody {
|
|
8412
|
+
sites: FetchStationItemsSearchSiteRequestDTO[];
|
|
8413
|
+
searchTerm?: string;
|
|
8414
|
+
[index: string]: any;
|
|
8366
8415
|
}
|
|
8367
8416
|
export interface PostMenuV4StationItemsSearchResponse {
|
|
8368
8417
|
meta?: FetchMetaDTO;
|
|
8369
8418
|
results?: FetchSiteWithStationsDTO[];
|
|
8370
8419
|
}
|
|
8371
|
-
export interface PostMenuV4StationItemsSearchRequest extends BaseRequest
|
|
8420
|
+
export interface PostMenuV4StationItemsSearchRequest extends BaseRequest {
|
|
8421
|
+
body: PostMenuV4StationItemsSearchBody;
|
|
8372
8422
|
}
|
|
8373
8423
|
export interface GetMenuV3PingResponse {
|
|
8374
8424
|
status: string;
|