@open-tender/types 0.3.14 → 0.3.16
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DiscountType, Money } from '../../global';
|
|
1
|
+
import { DiscountType, Money, OrderType } from '../../global';
|
|
2
2
|
export declare type LoyaltyType = 'DOLLARS' | 'ORDERS' | 'POINTS';
|
|
3
3
|
export interface LoyaltyThreshold {
|
|
4
4
|
description: string;
|
|
@@ -47,6 +47,9 @@ export interface LoyaltyPerk {
|
|
|
47
47
|
}
|
|
48
48
|
export interface LoyaltyProgram {
|
|
49
49
|
description: string;
|
|
50
|
+
earn_order_type: OrderType | null;
|
|
51
|
+
redeem_order_type: OrderType | null;
|
|
52
|
+
reward_order_type: OrderType | null;
|
|
50
53
|
loyalty_program_id: number;
|
|
51
54
|
loyalty_type: LoyaltyType;
|
|
52
55
|
name: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DiscountType, Money } from '../../global';
|
|
1
|
+
import { DiscountType, Money, OrderType } from '../../global';
|
|
2
2
|
export declare type LoyaltyType = 'DOLLARS' | 'ORDERS' | 'POINTS';
|
|
3
3
|
export interface LoyaltyThreshold {
|
|
4
4
|
description: string;
|
|
@@ -47,6 +47,9 @@ export interface LoyaltyPerk {
|
|
|
47
47
|
}
|
|
48
48
|
export interface LoyaltyProgram {
|
|
49
49
|
description: string;
|
|
50
|
+
earn_order_type: OrderType | null;
|
|
51
|
+
redeem_order_type: OrderType | null;
|
|
52
|
+
reward_order_type: OrderType | null;
|
|
50
53
|
loyalty_program_id: number;
|
|
51
54
|
loyalty_type: LoyaltyType;
|
|
52
55
|
name: string;
|
package/package.json
CHANGED