@compassdigital/sdk.typescript 4.275.0 → 4.276.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 +43 -38
- package/lib/interface/menu.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/interface/menu.ts +44 -38
package/lib/interface/menu.d.ts
CHANGED
|
@@ -1749,6 +1749,47 @@ export interface PartialItemDTO {
|
|
|
1749
1749
|
permissions?: Record<string, any>;
|
|
1750
1750
|
[index: string]: any;
|
|
1751
1751
|
}
|
|
1752
|
+
export interface PartialModifierDTO {
|
|
1753
|
+
parent?: DraftModifierDTO;
|
|
1754
|
+
children?: DraftModifierDTO[];
|
|
1755
|
+
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
1756
|
+
parent_id?: string;
|
|
1757
|
+
name?: string;
|
|
1758
|
+
name_on_receipt?: string;
|
|
1759
|
+
name_on_kds?: string;
|
|
1760
|
+
name_on_pos?: string;
|
|
1761
|
+
label?: string;
|
|
1762
|
+
description?: string;
|
|
1763
|
+
price?: number;
|
|
1764
|
+
calories?: number;
|
|
1765
|
+
tax_tags?: string[];
|
|
1766
|
+
is_active?: boolean;
|
|
1767
|
+
posid?: string;
|
|
1768
|
+
reporting?: ReportingMetadataDTO;
|
|
1769
|
+
posid_segment?: number;
|
|
1770
|
+
brand_id?: string;
|
|
1771
|
+
line_route?: string;
|
|
1772
|
+
menu_works?: MenuWorksDTO;
|
|
1773
|
+
is_out_of_stock?: boolean;
|
|
1774
|
+
price_for_none?: number;
|
|
1775
|
+
price_for_less?: number;
|
|
1776
|
+
price_for_more?: number;
|
|
1777
|
+
pre_surcharge?: number;
|
|
1778
|
+
post_surcharge?: number;
|
|
1779
|
+
tax_tag_code?: string;
|
|
1780
|
+
tags?: string[];
|
|
1781
|
+
unique_id?: number;
|
|
1782
|
+
price_levels?: Record<string, any>;
|
|
1783
|
+
translation?: Record<string, any>;
|
|
1784
|
+
applied_diff_snapshot?: Record<string, any>;
|
|
1785
|
+
brand?: DraftBrandDTO;
|
|
1786
|
+
changes?: ModifierChangeDTO[];
|
|
1787
|
+
vendor_metadata?: VendorMetadataDTO[];
|
|
1788
|
+
weight?: WeightDTO;
|
|
1789
|
+
attachments?: FileAttachmentsDTO;
|
|
1790
|
+
permissions?: Record<string, any>;
|
|
1791
|
+
[index: string]: any;
|
|
1792
|
+
}
|
|
1752
1793
|
export interface HealthDependencyDTO {
|
|
1753
1794
|
name: string;
|
|
1754
1795
|
status: string;
|
|
@@ -7164,44 +7205,8 @@ export interface PostMenuV4ModifierDuplicatePath {
|
|
|
7164
7205
|
id: string;
|
|
7165
7206
|
}
|
|
7166
7207
|
export interface PostMenuV4ModifierDuplicateBody {
|
|
7167
|
-
|
|
7168
|
-
|
|
7169
|
-
modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
|
|
7170
|
-
parent_id?: string;
|
|
7171
|
-
name?: string;
|
|
7172
|
-
name_on_receipt?: string;
|
|
7173
|
-
name_on_kds?: string;
|
|
7174
|
-
name_on_pos?: string;
|
|
7175
|
-
label?: string;
|
|
7176
|
-
description?: string;
|
|
7177
|
-
price?: number;
|
|
7178
|
-
calories?: number;
|
|
7179
|
-
tax_tags?: string[];
|
|
7180
|
-
is_active?: boolean;
|
|
7181
|
-
posid?: string;
|
|
7182
|
-
reporting?: ReportingMetadataDTO;
|
|
7183
|
-
posid_segment?: number;
|
|
7184
|
-
brand_id?: string;
|
|
7185
|
-
line_route?: string;
|
|
7186
|
-
menu_works?: MenuWorksDTO;
|
|
7187
|
-
is_out_of_stock?: boolean;
|
|
7188
|
-
price_for_none?: number;
|
|
7189
|
-
price_for_less?: number;
|
|
7190
|
-
price_for_more?: number;
|
|
7191
|
-
pre_surcharge?: number;
|
|
7192
|
-
post_surcharge?: number;
|
|
7193
|
-
tax_tag_code?: string;
|
|
7194
|
-
tags?: string[];
|
|
7195
|
-
unique_id?: number;
|
|
7196
|
-
price_levels?: Record<string, any>;
|
|
7197
|
-
translation?: Record<string, any>;
|
|
7198
|
-
applied_diff_snapshot?: Record<string, any>;
|
|
7199
|
-
brand?: DraftBrandDTO;
|
|
7200
|
-
changes?: ModifierChangeDTO[];
|
|
7201
|
-
vendor_metadata?: VendorMetadataDTO[];
|
|
7202
|
-
weight?: WeightDTO;
|
|
7203
|
-
attachments?: FileAttachmentsDTO;
|
|
7204
|
-
permissions?: Record<string, any>;
|
|
7208
|
+
modifier_group_ids?: string[];
|
|
7209
|
+
modifier?: PartialModifierDTO;
|
|
7205
7210
|
[index: string]: any;
|
|
7206
7211
|
}
|
|
7207
7212
|
export interface PostMenuV4ModifierDuplicateResponse {
|