@compassdigital/sdk.typescript 4.273.0 → 4.275.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 +48 -43
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/messages/events/TaskUpdatedEvent.d.ts +0 -7
- package/lib/messages/events/TaskUpdatedEvent.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/interface/menu.ts +49 -43
- package/src/messages/events/TaskUpdatedEvent.ts +0 -12
package/lib/interface/menu.d.ts
CHANGED
|
@@ -1703,6 +1703,52 @@ export interface CategoryItemRelationshipDTO {
|
|
|
1703
1703
|
permissions?: Record<string, any>;
|
|
1704
1704
|
[index: string]: any;
|
|
1705
1705
|
}
|
|
1706
|
+
export interface PartialItemDTO {
|
|
1707
|
+
base_item_id?: string;
|
|
1708
|
+
is_published?: boolean;
|
|
1709
|
+
parent?: DraftItemDTO;
|
|
1710
|
+
children?: DraftItemDTO[];
|
|
1711
|
+
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
1712
|
+
cpg_item?: UniversalItemDTO;
|
|
1713
|
+
stocks?: StockDTO[];
|
|
1714
|
+
parent_id?: string;
|
|
1715
|
+
name?: string;
|
|
1716
|
+
name_on_receipt?: string;
|
|
1717
|
+
name_on_kds?: string;
|
|
1718
|
+
name_on_pos?: string;
|
|
1719
|
+
label?: string;
|
|
1720
|
+
description?: string;
|
|
1721
|
+
reporting?: ReportingMetadataDTO;
|
|
1722
|
+
price?: number;
|
|
1723
|
+
barcode?: string;
|
|
1724
|
+
calories?: number;
|
|
1725
|
+
meal_value?: number;
|
|
1726
|
+
is_active?: boolean;
|
|
1727
|
+
posid?: string;
|
|
1728
|
+
tax_tags?: string[];
|
|
1729
|
+
brand_id?: string;
|
|
1730
|
+
line_route?: string;
|
|
1731
|
+
posid_segment?: number;
|
|
1732
|
+
menu_works?: MenuWorksDTO;
|
|
1733
|
+
is_out_of_stock?: boolean;
|
|
1734
|
+
tax_tag_code?: string;
|
|
1735
|
+
tags?: string[];
|
|
1736
|
+
is_featured?: boolean;
|
|
1737
|
+
tax_jwo_code?: string;
|
|
1738
|
+
unique_id?: number;
|
|
1739
|
+
cpg_item_id?: string;
|
|
1740
|
+
price_levels?: Record<string, any>;
|
|
1741
|
+
translation?: Record<string, any>;
|
|
1742
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
1743
|
+
brand?: DraftBrandDTO;
|
|
1744
|
+
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
1745
|
+
changes?: ItemChangeDTO[];
|
|
1746
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
1747
|
+
attachments?: FileAttachmentsDTO;
|
|
1748
|
+
weight?: WeightDTO;
|
|
1749
|
+
permissions?: Record<string, any>;
|
|
1750
|
+
[index: string]: any;
|
|
1751
|
+
}
|
|
1706
1752
|
export interface HealthDependencyDTO {
|
|
1707
1753
|
name: string;
|
|
1708
1754
|
status: string;
|
|
@@ -6699,49 +6745,8 @@ export interface PostMenuV4ItemDuplicatePath {
|
|
|
6699
6745
|
id: string;
|
|
6700
6746
|
}
|
|
6701
6747
|
export interface PostMenuV4ItemDuplicateBody {
|
|
6702
|
-
|
|
6703
|
-
|
|
6704
|
-
parent?: DraftItemDTO;
|
|
6705
|
-
children?: DraftItemDTO[];
|
|
6706
|
-
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
6707
|
-
cpg_item?: UniversalItemDTO;
|
|
6708
|
-
stocks?: StockDTO[];
|
|
6709
|
-
parent_id?: string;
|
|
6710
|
-
name?: string;
|
|
6711
|
-
name_on_receipt?: string;
|
|
6712
|
-
name_on_kds?: string;
|
|
6713
|
-
name_on_pos?: string;
|
|
6714
|
-
label?: string;
|
|
6715
|
-
description?: string;
|
|
6716
|
-
reporting?: ReportingMetadataDTO;
|
|
6717
|
-
price?: number;
|
|
6718
|
-
barcode?: string;
|
|
6719
|
-
calories?: number;
|
|
6720
|
-
meal_value?: number;
|
|
6721
|
-
is_active?: boolean;
|
|
6722
|
-
posid?: string;
|
|
6723
|
-
tax_tags?: string[];
|
|
6724
|
-
brand_id?: string;
|
|
6725
|
-
line_route?: string;
|
|
6726
|
-
posid_segment?: number;
|
|
6727
|
-
menu_works?: MenuWorksDTO;
|
|
6728
|
-
is_out_of_stock?: boolean;
|
|
6729
|
-
tax_tag_code?: string;
|
|
6730
|
-
tags?: string[];
|
|
6731
|
-
is_featured?: boolean;
|
|
6732
|
-
tax_jwo_code?: string;
|
|
6733
|
-
unique_id?: number;
|
|
6734
|
-
cpg_item_id?: string;
|
|
6735
|
-
price_levels?: Record<string, any>;
|
|
6736
|
-
translation?: Record<string, any>;
|
|
6737
|
-
applied_diff_snapshot?: Record<string, any>;
|
|
6738
|
-
brand?: DraftBrandDTO;
|
|
6739
|
-
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
6740
|
-
changes?: ItemChangeDTO[];
|
|
6741
|
-
vendor_metadata?: VendorMetadataDTO[];
|
|
6742
|
-
attachments?: FileAttachmentsDTO;
|
|
6743
|
-
weight?: WeightDTO;
|
|
6744
|
-
permissions?: Record<string, any>;
|
|
6748
|
+
category_ids?: string[];
|
|
6749
|
+
item?: PartialItemDTO;
|
|
6745
6750
|
[index: string]: any;
|
|
6746
6751
|
}
|
|
6747
6752
|
export interface PostMenuV4ItemDuplicateResponse {
|