@open-tender/types 0.4.43 → 0.4.45
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.
|
@@ -161,12 +161,12 @@ export interface CheckoutTenderCreditGuest {
|
|
|
161
161
|
}
|
|
162
162
|
export interface CheckoutTenderCreditCustomer {
|
|
163
163
|
amount: Money;
|
|
164
|
-
card_type
|
|
165
|
-
card_type_name
|
|
164
|
+
card_type?: CardType;
|
|
165
|
+
card_type_name?: CardTypeName;
|
|
166
166
|
customer_card_id: number;
|
|
167
|
-
is_default
|
|
168
|
-
last4
|
|
169
|
-
masked
|
|
167
|
+
is_default?: boolean;
|
|
168
|
+
last4?: string;
|
|
169
|
+
masked?: string;
|
|
170
170
|
tender_status?: TenderStatus;
|
|
171
171
|
tender_type: TenderType;
|
|
172
172
|
}
|
|
@@ -37,6 +37,17 @@ export interface TPLS {
|
|
|
37
37
|
progress: TPLSProgress | null;
|
|
38
38
|
rewards: TPLSRewards;
|
|
39
39
|
}
|
|
40
|
+
export interface TPLSPointsShopRewardV2 {
|
|
41
|
+
amount: Money;
|
|
42
|
+
created_at: DateString | null;
|
|
43
|
+
description: string | null;
|
|
44
|
+
discount_id: number;
|
|
45
|
+
discount_type: string;
|
|
46
|
+
expires_at: DateString | null;
|
|
47
|
+
name: string;
|
|
48
|
+
title: string;
|
|
49
|
+
}
|
|
50
|
+
export declare type TPLSPointsShopRewardsV2 = TPLSPointsShopRewardV2[];
|
|
40
51
|
export interface TPLSPointsShopReward {
|
|
41
52
|
description: string | null;
|
|
42
53
|
expires_at: string;
|
|
@@ -161,12 +161,12 @@ export interface CheckoutTenderCreditGuest {
|
|
|
161
161
|
}
|
|
162
162
|
export interface CheckoutTenderCreditCustomer {
|
|
163
163
|
amount: Money;
|
|
164
|
-
card_type
|
|
165
|
-
card_type_name
|
|
164
|
+
card_type?: CardType;
|
|
165
|
+
card_type_name?: CardTypeName;
|
|
166
166
|
customer_card_id: number;
|
|
167
|
-
is_default
|
|
168
|
-
last4
|
|
169
|
-
masked
|
|
167
|
+
is_default?: boolean;
|
|
168
|
+
last4?: string;
|
|
169
|
+
masked?: string;
|
|
170
170
|
tender_status?: TenderStatus;
|
|
171
171
|
tender_type: TenderType;
|
|
172
172
|
}
|
|
@@ -37,6 +37,17 @@ export interface TPLS {
|
|
|
37
37
|
progress: TPLSProgress | null;
|
|
38
38
|
rewards: TPLSRewards;
|
|
39
39
|
}
|
|
40
|
+
export interface TPLSPointsShopRewardV2 {
|
|
41
|
+
amount: Money;
|
|
42
|
+
created_at: DateString | null;
|
|
43
|
+
description: string | null;
|
|
44
|
+
discount_id: number;
|
|
45
|
+
discount_type: string;
|
|
46
|
+
expires_at: DateString | null;
|
|
47
|
+
name: string;
|
|
48
|
+
title: string;
|
|
49
|
+
}
|
|
50
|
+
export declare type TPLSPointsShopRewardsV2 = TPLSPointsShopRewardV2[];
|
|
40
51
|
export interface TPLSPointsShopReward {
|
|
41
52
|
description: string | null;
|
|
42
53
|
expires_at: string;
|
package/package.json
CHANGED