@open-tender/types 0.4.23 → 0.4.25
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.
|
@@ -5,21 +5,31 @@ export interface CustomerIdentifier {
|
|
|
5
5
|
qr_code?: string;
|
|
6
6
|
}
|
|
7
7
|
export interface CustomerIdentifyDiscount {
|
|
8
|
-
customer_loyalty_id: number;
|
|
9
|
-
loyalty_program_id: number;
|
|
10
|
-
order_type: OrderType;
|
|
11
8
|
amount: Money;
|
|
12
|
-
|
|
9
|
+
before_surcharge: boolean;
|
|
10
|
+
customer_loyalty_id: number;
|
|
11
|
+
description: string;
|
|
13
12
|
discount_id: number;
|
|
14
13
|
discount_type: DiscountType;
|
|
15
|
-
description: string;
|
|
16
|
-
before_surcharge: boolean;
|
|
17
|
-
is_taxed: boolean;
|
|
18
|
-
is_promo_code: boolean;
|
|
19
14
|
is_auto: boolean;
|
|
20
15
|
is_loyalty: boolean;
|
|
16
|
+
is_promo_code: boolean;
|
|
17
|
+
is_taxed: boolean;
|
|
18
|
+
loyalty_program_id: number;
|
|
19
|
+
name: string;
|
|
20
|
+
order_type: OrderType;
|
|
21
21
|
}
|
|
22
22
|
export declare type CustomerIdentifyDiscounts = CustomerIdentifyDiscount[];
|
|
23
|
+
export interface CustomerIdentifyReward {
|
|
24
|
+
amount: Money;
|
|
25
|
+
description: string;
|
|
26
|
+
discount_id: number;
|
|
27
|
+
discount_type: DiscountType;
|
|
28
|
+
name: string;
|
|
29
|
+
order_type: OrderType;
|
|
30
|
+
title: string;
|
|
31
|
+
}
|
|
32
|
+
export declare type CustomerIdentifyRewards = CustomerIdentifyReward[];
|
|
23
33
|
export interface CustomerIdentifyCustomer {
|
|
24
34
|
customer_id: number;
|
|
25
35
|
email: string;
|
|
@@ -29,7 +39,8 @@ export interface CustomerIdentifyCustomer {
|
|
|
29
39
|
}
|
|
30
40
|
export interface CustomerIdentify {
|
|
31
41
|
customer: CustomerIdentifyCustomer;
|
|
42
|
+
discount: any;
|
|
32
43
|
discounts: CustomerIdentifyDiscounts;
|
|
33
44
|
points: any;
|
|
34
|
-
|
|
45
|
+
rewards: CustomerIdentifyRewards;
|
|
35
46
|
}
|
|
@@ -5,21 +5,31 @@ export interface CustomerIdentifier {
|
|
|
5
5
|
qr_code?: string;
|
|
6
6
|
}
|
|
7
7
|
export interface CustomerIdentifyDiscount {
|
|
8
|
-
customer_loyalty_id: number;
|
|
9
|
-
loyalty_program_id: number;
|
|
10
|
-
order_type: OrderType;
|
|
11
8
|
amount: Money;
|
|
12
|
-
|
|
9
|
+
before_surcharge: boolean;
|
|
10
|
+
customer_loyalty_id: number;
|
|
11
|
+
description: string;
|
|
13
12
|
discount_id: number;
|
|
14
13
|
discount_type: DiscountType;
|
|
15
|
-
description: string;
|
|
16
|
-
before_surcharge: boolean;
|
|
17
|
-
is_taxed: boolean;
|
|
18
|
-
is_promo_code: boolean;
|
|
19
14
|
is_auto: boolean;
|
|
20
15
|
is_loyalty: boolean;
|
|
16
|
+
is_promo_code: boolean;
|
|
17
|
+
is_taxed: boolean;
|
|
18
|
+
loyalty_program_id: number;
|
|
19
|
+
name: string;
|
|
20
|
+
order_type: OrderType;
|
|
21
21
|
}
|
|
22
22
|
export declare type CustomerIdentifyDiscounts = CustomerIdentifyDiscount[];
|
|
23
|
+
export interface CustomerIdentifyReward {
|
|
24
|
+
amount: Money;
|
|
25
|
+
description: string;
|
|
26
|
+
discount_id: number;
|
|
27
|
+
discount_type: DiscountType;
|
|
28
|
+
name: string;
|
|
29
|
+
order_type: OrderType;
|
|
30
|
+
title: string;
|
|
31
|
+
}
|
|
32
|
+
export declare type CustomerIdentifyRewards = CustomerIdentifyReward[];
|
|
23
33
|
export interface CustomerIdentifyCustomer {
|
|
24
34
|
customer_id: number;
|
|
25
35
|
email: string;
|
|
@@ -29,7 +39,8 @@ export interface CustomerIdentifyCustomer {
|
|
|
29
39
|
}
|
|
30
40
|
export interface CustomerIdentify {
|
|
31
41
|
customer: CustomerIdentifyCustomer;
|
|
42
|
+
discount: any;
|
|
32
43
|
discounts: CustomerIdentifyDiscounts;
|
|
33
44
|
points: any;
|
|
34
|
-
|
|
45
|
+
rewards: CustomerIdentifyRewards;
|
|
35
46
|
}
|
package/package.json
CHANGED