@open-tender/types 0.2.112 → 0.2.113
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.
|
@@ -89,8 +89,9 @@ export interface OrderDetails {
|
|
|
89
89
|
tax_exempt_id: string | null;
|
|
90
90
|
}
|
|
91
91
|
export declare type OrderDiscountType = 'DEAL' | 'DISCOUNT' | 'LOYALTY' | 'PROMO_CODE' | 'REWARD';
|
|
92
|
+
export declare type OrderDiscountTplsType = 'OFFER' | 'REDEEMABLE' | 'REDEMPTION';
|
|
92
93
|
export interface OrderDiscount {
|
|
93
|
-
amount
|
|
94
|
+
amount?: NegativeMoney;
|
|
94
95
|
auth_type: DiscountAuthType;
|
|
95
96
|
description?: string | null;
|
|
96
97
|
discount_type: OrderDiscountType;
|
|
@@ -104,7 +105,9 @@ export interface OrderDiscount {
|
|
|
104
105
|
is_reward: boolean;
|
|
105
106
|
name: string;
|
|
106
107
|
per_order: number | null;
|
|
108
|
+
points?: number | null;
|
|
107
109
|
title: string | null;
|
|
110
|
+
tpls_type?: OrderDiscountTplsType;
|
|
108
111
|
}
|
|
109
112
|
export declare type OrderDiscounts = OrderDiscount[];
|
|
110
113
|
export interface OrderFulfillment {
|
|
@@ -89,8 +89,9 @@ export interface OrderDetails {
|
|
|
89
89
|
tax_exempt_id: string | null;
|
|
90
90
|
}
|
|
91
91
|
export declare type OrderDiscountType = 'DEAL' | 'DISCOUNT' | 'LOYALTY' | 'PROMO_CODE' | 'REWARD';
|
|
92
|
+
export declare type OrderDiscountTplsType = 'OFFER' | 'REDEEMABLE' | 'REDEMPTION';
|
|
92
93
|
export interface OrderDiscount {
|
|
93
|
-
amount
|
|
94
|
+
amount?: NegativeMoney;
|
|
94
95
|
auth_type: DiscountAuthType;
|
|
95
96
|
description?: string | null;
|
|
96
97
|
discount_type: OrderDiscountType;
|
|
@@ -104,7 +105,9 @@ export interface OrderDiscount {
|
|
|
104
105
|
is_reward: boolean;
|
|
105
106
|
name: string;
|
|
106
107
|
per_order: number | null;
|
|
108
|
+
points?: number | null;
|
|
107
109
|
title: string | null;
|
|
110
|
+
tpls_type?: OrderDiscountTplsType;
|
|
108
111
|
}
|
|
109
112
|
export declare type OrderDiscounts = OrderDiscount[];
|
|
110
113
|
export interface OrderFulfillment {
|
package/package.json
CHANGED