@compassdigital/sdk.typescript 4.552.0 → 4.553.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 +18 -8
- package/lib/interface/menu.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +22 -0
- package/src/interface/menu.ts +24 -9
package/lib/interface/menu.d.ts
CHANGED
|
@@ -605,6 +605,14 @@ export interface LocalMenuGroupDTO {
|
|
|
605
605
|
permissions?: Record<string, any>;
|
|
606
606
|
[index: string]: any;
|
|
607
607
|
}
|
|
608
|
+
export interface SiteGroupWithMenuGroupNameResponseDTO {
|
|
609
|
+
site_id: string;
|
|
610
|
+
local_menu_group_id: string;
|
|
611
|
+
local_menu_group_name: string;
|
|
612
|
+
created_at?: string;
|
|
613
|
+
updated_at?: string;
|
|
614
|
+
[index: string]: any;
|
|
615
|
+
}
|
|
608
616
|
export interface BrandChangeDTO {
|
|
609
617
|
id?: string;
|
|
610
618
|
created_at?: string;
|
|
@@ -1122,14 +1130,6 @@ export interface AuditDTO {
|
|
|
1122
1130
|
permissions?: Record<string, any>;
|
|
1123
1131
|
[index: string]: any;
|
|
1124
1132
|
}
|
|
1125
|
-
export interface SiteGroupWithMenuGroupNameResponseDTO {
|
|
1126
|
-
site_id: string;
|
|
1127
|
-
local_menu_group_id: string;
|
|
1128
|
-
local_menu_group_name: string;
|
|
1129
|
-
created_at?: string;
|
|
1130
|
-
updated_at?: string;
|
|
1131
|
-
[index: string]: any;
|
|
1132
|
-
}
|
|
1133
1133
|
export interface SiteGroupDTO {
|
|
1134
1134
|
site_id: string;
|
|
1135
1135
|
local_menu_group_id: string;
|
|
@@ -2494,6 +2494,16 @@ export interface PostMenuV3LocalMenuGroupRecoverPath {
|
|
|
2494
2494
|
export type PostMenuV3LocalMenuGroupRecoverResponse = LocalMenuGroupDTO;
|
|
2495
2495
|
export interface PostMenuV3LocalMenuGroupRecoverRequest extends BaseRequest, PostMenuV3LocalMenuGroupRecoverPath {
|
|
2496
2496
|
}
|
|
2497
|
+
export interface PostMenuV3LocalMenuGroupFetchBySitesBody {
|
|
2498
|
+
site_ids: string[];
|
|
2499
|
+
[index: string]: any;
|
|
2500
|
+
}
|
|
2501
|
+
export interface PostMenuV3LocalMenuGroupFetchBySitesResponse {
|
|
2502
|
+
results?: SiteGroupWithMenuGroupNameResponseDTO[];
|
|
2503
|
+
}
|
|
2504
|
+
export interface PostMenuV3LocalMenuGroupFetchBySitesRequest extends BaseRequest {
|
|
2505
|
+
body: PostMenuV3LocalMenuGroupFetchBySitesBody;
|
|
2506
|
+
}
|
|
2497
2507
|
export interface GetMenuV3DraftLocalMenuGroupBrandsPath {
|
|
2498
2508
|
id: string;
|
|
2499
2509
|
}
|