@vita-mojo/types 1.0.35-VMOS-13376-e22ebe9-851-rc.0 → 1.0.35-VMOS-13376-f55111e-856-rc.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
package/src/order/bundle.d.ts
CHANGED
|
@@ -50,6 +50,11 @@ export interface Adjustment {
|
|
|
50
50
|
time: string;
|
|
51
51
|
type: string;
|
|
52
52
|
}
|
|
53
|
+
export interface Tag {
|
|
54
|
+
name: string;
|
|
55
|
+
uuid: string;
|
|
56
|
+
type: 'tag' | 'recommendation' | 'discountGroup';
|
|
57
|
+
}
|
|
53
58
|
export interface Bundle {
|
|
54
59
|
uuid: string;
|
|
55
60
|
menuUUID?: string;
|
|
@@ -120,4 +125,5 @@ export interface Bundle {
|
|
|
120
125
|
quantity?: number;
|
|
121
126
|
basketEntries?: Record<string, Partial<Bundle>>;
|
|
122
127
|
adjustment?: Adjustment;
|
|
128
|
+
tags: Tag[];
|
|
123
129
|
}
|
package/src/order/promotion.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export interface Promotion {
|
|
|
18
18
|
name: string;
|
|
19
19
|
appliesTo: PromoAppliesTo;
|
|
20
20
|
promoCode?: PromoCodeDto;
|
|
21
|
-
loyaltyPoints?:
|
|
21
|
+
loyaltyPoints?: number;
|
|
22
22
|
maxAmount?: number;
|
|
23
23
|
minBasket?: number;
|
|
24
24
|
providerPromotion?: PromotionProviderDetails;
|