@compassdigital/sdk.typescript 4.335.0 → 4.336.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 +14 -0
- package/lib/interface/menu.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/interface/menu.ts +24 -0
package/package.json
CHANGED
package/src/interface/menu.ts
CHANGED
|
@@ -593,6 +593,28 @@ export interface GetOneOptionsDTO {
|
|
|
593
593
|
[index: string]: any;
|
|
594
594
|
}
|
|
595
595
|
|
|
596
|
+
export interface LocalMenuLabelGroupDTO {
|
|
597
|
+
// Global menu group ID
|
|
598
|
+
gmg_id: string;
|
|
599
|
+
// Global menu group name
|
|
600
|
+
gmg_name: string;
|
|
601
|
+
// Menu labels array
|
|
602
|
+
labels: MenuLabelItemDTO[];
|
|
603
|
+
[index: string]: any;
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
export interface MenuLabelItemDTO {
|
|
607
|
+
// Menu label ID
|
|
608
|
+
id?: string;
|
|
609
|
+
// Menu label text
|
|
610
|
+
text: string;
|
|
611
|
+
// S3 link for menu label image
|
|
612
|
+
s3_link?: string;
|
|
613
|
+
// Base64 image data
|
|
614
|
+
image_data?: string;
|
|
615
|
+
[index: string]: any;
|
|
616
|
+
}
|
|
617
|
+
|
|
596
618
|
export interface NotFoundErrorDTO {
|
|
597
619
|
number: number;
|
|
598
620
|
message: string;
|
|
@@ -2523,6 +2545,8 @@ export interface GetMenuV3LocalMenuGroupQuery {
|
|
|
2523
2545
|
export interface GetMenuV3LocalMenuGroupResponse {
|
|
2524
2546
|
// GMG IDs currently in use by child brands
|
|
2525
2547
|
global_menu_groups_in_use?: string[];
|
|
2548
|
+
// Menu labels inherited from global menu groups in use
|
|
2549
|
+
menu_labels?: LocalMenuLabelGroupDTO[];
|
|
2526
2550
|
name: string;
|
|
2527
2551
|
is_active?: boolean;
|
|
2528
2552
|
allowed_global_menu_groups?: GlobalMenuGroupDTO[];
|