@compassdigital/sdk.typescript 4.826.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compassdigital/sdk.typescript",
3
- "version": "4.826.0",
3
+ "version": "4.827.0",
4
4
  "description": "Compass Digital Labs TypeScript SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./lib/index.js",
@@ -2390,6 +2390,29 @@ export interface BulkDeletedModifierResultDTO {
2390
2390
  [index: string]: any;
2391
2391
  }
2392
2392
 
2393
+ export interface BusinessUnitStockDTO {
2394
+ item_name?: string;
2395
+ brand_name?: string;
2396
+ stock_updated_by_name?: string;
2397
+ is_in_stock: boolean;
2398
+ draft_is_in_stock: boolean;
2399
+ item_id: string;
2400
+ menu_id: string;
2401
+ brand_id: string;
2402
+ id: string;
2403
+ created_at?: string;
2404
+ updated_at?: string;
2405
+ deleted_at?: string;
2406
+ business_unit_id?: string;
2407
+ stock_updated_at?: string;
2408
+ stock_updated_by?: string;
2409
+ version?: number;
2410
+ menu?: DraftMenuDTO;
2411
+ brand?: DraftBrandDTO;
2412
+ permissions?: Record<string, any>;
2413
+ [index: string]: any;
2414
+ }
2415
+
2393
2416
  export interface MenuSizeDTO {
2394
2417
  format: string;
2395
2418
  raw: number;
@@ -11152,7 +11175,7 @@ export interface PatchMenuV4StockBusinessUnitBody {
11152
11175
  }
11153
11176
 
11154
11177
  export interface PatchMenuV4StockBusinessUnitResponse {
11155
- results?: StockDTO[];
11178
+ results?: BusinessUnitStockDTO[];
11156
11179
  }
11157
11180
 
11158
11181
  export interface PatchMenuV4StockBusinessUnitRequest extends BaseRequest {
@@ -11216,7 +11239,7 @@ export interface GetMenuV4StockBusinessUnitQuery {
11216
11239
  }
11217
11240
 
11218
11241
  export interface GetMenuV4StockBusinessUnitResponse {
11219
- results: StockDTO[];
11242
+ results: BusinessUnitStockDTO[];
11220
11243
  meta?: ListResponseMetadataDTO;
11221
11244
  [index: string]: any;
11222
11245
  }
@@ -11249,7 +11272,7 @@ export interface GetMenuV4StockBusinessUnitUnpublishedChangesQuery {
11249
11272
  }
11250
11273
 
11251
11274
  export interface GetMenuV4StockBusinessUnitUnpublishedChangesResponse {
11252
- results: StockDTO[];
11275
+ results: BusinessUnitStockDTO[];
11253
11276
  meta?: ListResponseMetadataDTO;
11254
11277
  [index: string]: any;
11255
11278
  }