@compassdigital/sdk.typescript 4.631.0 → 4.633.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 +16 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +19 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/menu.d.ts +41 -0
- package/lib/interface/menu.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +45 -0
- package/src/interface/menu.ts +54 -0
package/lib/interface/menu.d.ts
CHANGED
|
@@ -1247,6 +1247,11 @@ export interface WarningItemDTO {
|
|
|
1247
1247
|
item_name?: string;
|
|
1248
1248
|
posid?: string;
|
|
1249
1249
|
}
|
|
1250
|
+
export interface ImportMenuWorksSelectionDTO {
|
|
1251
|
+
meal_period_id?: number;
|
|
1252
|
+
station_ids?: number[];
|
|
1253
|
+
[index: string]: any;
|
|
1254
|
+
}
|
|
1250
1255
|
export interface PublishedMenuDTO {
|
|
1251
1256
|
id?: string;
|
|
1252
1257
|
created_at?: string;
|
|
@@ -3473,6 +3478,25 @@ export interface PostMenuV3DraftBrandSyncMenuworksResponse {
|
|
|
3473
3478
|
}
|
|
3474
3479
|
export interface PostMenuV3DraftBrandSyncMenuworksRequest extends BaseRequest, PostMenuV3DraftBrandSyncMenuworksPath {
|
|
3475
3480
|
}
|
|
3481
|
+
export interface PostMenuV3DraftBrandImportMenuworksCyclePath {
|
|
3482
|
+
brand_id: string;
|
|
3483
|
+
}
|
|
3484
|
+
export interface PostMenuV3DraftBrandImportMenuworksCycleBody {
|
|
3485
|
+
menuworks_unit_id: string;
|
|
3486
|
+
menu_collection_id: number;
|
|
3487
|
+
menu_collection_start_date?: string;
|
|
3488
|
+
import_selections?: ImportMenuWorksSelectionDTO[];
|
|
3489
|
+
[index: string]: any;
|
|
3490
|
+
}
|
|
3491
|
+
export interface PostMenuV3DraftBrandImportMenuworksCycleResponse {
|
|
3492
|
+
process_id: string;
|
|
3493
|
+
status: string;
|
|
3494
|
+
message?: string;
|
|
3495
|
+
[index: string]: any;
|
|
3496
|
+
}
|
|
3497
|
+
export interface PostMenuV3DraftBrandImportMenuworksCycleRequest extends BaseRequest, PostMenuV3DraftBrandImportMenuworksCyclePath {
|
|
3498
|
+
body: PostMenuV3DraftBrandImportMenuworksCycleBody;
|
|
3499
|
+
}
|
|
3476
3500
|
export interface PostMenuV3BrandQuery {
|
|
3477
3501
|
nocache?: boolean;
|
|
3478
3502
|
}
|
|
@@ -8708,6 +8732,23 @@ export interface PostMenuV4StationItemsSearchResponse {
|
|
|
8708
8732
|
export interface PostMenuV4StationItemsSearchRequest extends BaseRequest {
|
|
8709
8733
|
body: PostMenuV4StationItemsSearchBody;
|
|
8710
8734
|
}
|
|
8735
|
+
export interface GetMenuV4MenuGraphPath {
|
|
8736
|
+
menu_id: string;
|
|
8737
|
+
}
|
|
8738
|
+
export interface GetMenuV4MenuGraphResponse {
|
|
8739
|
+
menu_id: string;
|
|
8740
|
+
brand_id: string;
|
|
8741
|
+
revision: string;
|
|
8742
|
+
updated_at: string;
|
|
8743
|
+
menu?: Record<string, any>;
|
|
8744
|
+
categories?: Record<string, any>[];
|
|
8745
|
+
items?: Record<string, any>[];
|
|
8746
|
+
modifier_groups?: Record<string, any>[];
|
|
8747
|
+
modifiers?: Record<string, any>[];
|
|
8748
|
+
[index: string]: any;
|
|
8749
|
+
}
|
|
8750
|
+
export interface GetMenuV4MenuGraphRequest extends BaseRequest, GetMenuV4MenuGraphPath {
|
|
8751
|
+
}
|
|
8711
8752
|
export interface GetMenuV3PingResponse {
|
|
8712
8753
|
status: string;
|
|
8713
8754
|
message: string;
|