@compassdigital/sdk.typescript 4.630.0 → 4.632.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 +8 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +9 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/menu.d.ts +34 -0
- package/lib/interface/menu.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +21 -0
- package/src/interface/menu.ts +40 -0
package/lib/interface/menu.d.ts
CHANGED
|
@@ -1740,6 +1740,23 @@ export interface BusinessUnitDTO {
|
|
|
1740
1740
|
export interface MenuWorksMenuCollectionItemDTO {
|
|
1741
1741
|
menu_collection_id: number;
|
|
1742
1742
|
menu_collection_name: string;
|
|
1743
|
+
menu_collection_start_date?: string;
|
|
1744
|
+
menu_collection_end_date?: string;
|
|
1745
|
+
meal_periods: MenuWorksMenuCollectionMealPeriodDTO[];
|
|
1746
|
+
[index: string]: any;
|
|
1747
|
+
}
|
|
1748
|
+
export interface MenuWorksMenuCollectionMealPeriodDTO {
|
|
1749
|
+
id: number;
|
|
1750
|
+
name: string;
|
|
1751
|
+
display_order?: number;
|
|
1752
|
+
stations: MenuWorksMenuCollectionStationDTO[];
|
|
1753
|
+
[index: string]: any;
|
|
1754
|
+
}
|
|
1755
|
+
export interface MenuWorksMenuCollectionStationDTO {
|
|
1756
|
+
id: number;
|
|
1757
|
+
name: string;
|
|
1758
|
+
display_order?: number;
|
|
1759
|
+
is_main?: boolean;
|
|
1743
1760
|
[index: string]: any;
|
|
1744
1761
|
}
|
|
1745
1762
|
export interface MenuWorksMenuBoardItemDTO {
|
|
@@ -8691,6 +8708,23 @@ export interface PostMenuV4StationItemsSearchResponse {
|
|
|
8691
8708
|
export interface PostMenuV4StationItemsSearchRequest extends BaseRequest {
|
|
8692
8709
|
body: PostMenuV4StationItemsSearchBody;
|
|
8693
8710
|
}
|
|
8711
|
+
export interface GetMenuV4MenuGraphPath {
|
|
8712
|
+
menu_id: string;
|
|
8713
|
+
}
|
|
8714
|
+
export interface GetMenuV4MenuGraphResponse {
|
|
8715
|
+
menu_id: string;
|
|
8716
|
+
brand_id: string;
|
|
8717
|
+
revision: string;
|
|
8718
|
+
updated_at: string;
|
|
8719
|
+
menu?: Record<string, any>;
|
|
8720
|
+
categories?: Record<string, any>[];
|
|
8721
|
+
items?: Record<string, any>[];
|
|
8722
|
+
modifier_groups?: Record<string, any>[];
|
|
8723
|
+
modifiers?: Record<string, any>[];
|
|
8724
|
+
[index: string]: any;
|
|
8725
|
+
}
|
|
8726
|
+
export interface GetMenuV4MenuGraphRequest extends BaseRequest, GetMenuV4MenuGraphPath {
|
|
8727
|
+
}
|
|
8694
8728
|
export interface GetMenuV3PingResponse {
|
|
8695
8729
|
status: string;
|
|
8696
8730
|
message: string;
|