@compassdigital/sdk.typescript 4.825.0 → 4.827.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
CHANGED
|
@@ -2136,6 +2136,28 @@ export interface BulkDeletedModifierResultDTO {
|
|
|
2136
2136
|
name?: string;
|
|
2137
2137
|
[index: string]: any;
|
|
2138
2138
|
}
|
|
2139
|
+
export interface BusinessUnitStockDTO {
|
|
2140
|
+
item_name?: string;
|
|
2141
|
+
brand_name?: string;
|
|
2142
|
+
stock_updated_by_name?: string;
|
|
2143
|
+
is_in_stock: boolean;
|
|
2144
|
+
draft_is_in_stock: boolean;
|
|
2145
|
+
item_id: string;
|
|
2146
|
+
menu_id: string;
|
|
2147
|
+
brand_id: string;
|
|
2148
|
+
id: string;
|
|
2149
|
+
created_at?: string;
|
|
2150
|
+
updated_at?: string;
|
|
2151
|
+
deleted_at?: string;
|
|
2152
|
+
business_unit_id?: string;
|
|
2153
|
+
stock_updated_at?: string;
|
|
2154
|
+
stock_updated_by?: string;
|
|
2155
|
+
version?: number;
|
|
2156
|
+
menu?: DraftMenuDTO;
|
|
2157
|
+
brand?: DraftBrandDTO;
|
|
2158
|
+
permissions?: Record<string, any>;
|
|
2159
|
+
[index: string]: any;
|
|
2160
|
+
}
|
|
2139
2161
|
export interface MenuSizeDTO {
|
|
2140
2162
|
format: string;
|
|
2141
2163
|
raw: number;
|
|
@@ -8551,7 +8573,7 @@ export interface PatchMenuV4StockBusinessUnitBody {
|
|
|
8551
8573
|
[index: string]: any;
|
|
8552
8574
|
}
|
|
8553
8575
|
export interface PatchMenuV4StockBusinessUnitResponse {
|
|
8554
|
-
results?:
|
|
8576
|
+
results?: BusinessUnitStockDTO[];
|
|
8555
8577
|
}
|
|
8556
8578
|
export interface PatchMenuV4StockBusinessUnitRequest extends BaseRequest {
|
|
8557
8579
|
body: PatchMenuV4StockBusinessUnitBody;
|
|
@@ -8598,7 +8620,7 @@ export interface GetMenuV4StockBusinessUnitQuery {
|
|
|
8598
8620
|
soft_deleted?: 'include' | 'exclude' | 'only';
|
|
8599
8621
|
}
|
|
8600
8622
|
export interface GetMenuV4StockBusinessUnitResponse {
|
|
8601
|
-
results:
|
|
8623
|
+
results: BusinessUnitStockDTO[];
|
|
8602
8624
|
meta?: ListResponseMetadataDTO;
|
|
8603
8625
|
[index: string]: any;
|
|
8604
8626
|
}
|
|
@@ -8618,7 +8640,7 @@ export interface GetMenuV4StockBusinessUnitUnpublishedChangesQuery {
|
|
|
8618
8640
|
soft_deleted?: 'include' | 'exclude' | 'only';
|
|
8619
8641
|
}
|
|
8620
8642
|
export interface GetMenuV4StockBusinessUnitUnpublishedChangesResponse {
|
|
8621
|
-
results:
|
|
8643
|
+
results: BusinessUnitStockDTO[];
|
|
8622
8644
|
meta?: ListResponseMetadataDTO;
|
|
8623
8645
|
[index: string]: any;
|
|
8624
8646
|
}
|