@compassdigital/sdk.typescript 4.837.0 → 4.838.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 +45 -10
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +57 -10
- package/lib/index.js.map +1 -1
- package/lib/interface/auth.d.ts +22 -0
- package/lib/interface/auth.d.ts.map +1 -1
- package/lib/interface/consumer.d.ts +24 -10
- package/lib/interface/consumer.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +0 -27
- package/lib/interface/menu.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +136 -24
- package/src/interface/auth.ts +49 -0
- package/src/interface/consumer.ts +42 -13
- package/src/interface/menu.ts +0 -37
package/lib/interface/menu.d.ts
CHANGED
|
@@ -1933,15 +1933,6 @@ export interface CategoryItemRelationshipDTO {
|
|
|
1933
1933
|
permissions?: Record<string, any>;
|
|
1934
1934
|
[index: string]: any;
|
|
1935
1935
|
}
|
|
1936
|
-
export interface SwappedCategoryDTO {
|
|
1937
|
-
category_id?: string;
|
|
1938
|
-
sequence?: number;
|
|
1939
|
-
}
|
|
1940
|
-
export interface SwapOriginalStatesDTO {
|
|
1941
|
-
swap_out_was_visible: boolean;
|
|
1942
|
-
swap_in_was_visible: boolean;
|
|
1943
|
-
[index: string]: any;
|
|
1944
|
-
}
|
|
1945
1936
|
export interface CatalogBackupVersionDTO {
|
|
1946
1937
|
version_id?: string;
|
|
1947
1938
|
last_modified?: string;
|
|
@@ -6819,24 +6810,6 @@ export interface PostMenuV4BrandCategoryAttachItemsResponse {
|
|
|
6819
6810
|
export interface PostMenuV4BrandCategoryAttachItemsRequest extends BaseRequest, PostMenuV4BrandCategoryAttachItemsPath {
|
|
6820
6811
|
body: PostMenuV4BrandCategoryAttachItemsBody;
|
|
6821
6812
|
}
|
|
6822
|
-
export interface PostMenuV4BrandSwapCategoryItemsPath {
|
|
6823
|
-
id: string;
|
|
6824
|
-
}
|
|
6825
|
-
export interface PostMenuV4BrandSwapCategoryItemsBody {
|
|
6826
|
-
menu_id: string;
|
|
6827
|
-
category_ids: string[];
|
|
6828
|
-
swap_out_item_id: string;
|
|
6829
|
-
swap_in_item_id: string;
|
|
6830
|
-
[index: string]: any;
|
|
6831
|
-
}
|
|
6832
|
-
export interface PostMenuV4BrandSwapCategoryItemsResponse {
|
|
6833
|
-
status?: string;
|
|
6834
|
-
swapped_categories?: SwappedCategoryDTO[];
|
|
6835
|
-
original_states?: SwapOriginalStatesDTO;
|
|
6836
|
-
}
|
|
6837
|
-
export interface PostMenuV4BrandSwapCategoryItemsRequest extends BaseRequest, PostMenuV4BrandSwapCategoryItemsPath {
|
|
6838
|
-
body: PostMenuV4BrandSwapCategoryItemsBody;
|
|
6839
|
-
}
|
|
6840
6813
|
export interface GetMenuV4BrandCatalogBackupVersionsPath {
|
|
6841
6814
|
id: string;
|
|
6842
6815
|
}
|