@open-tender/types 0.4.53 → 0.4.55
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/dist/cjs/types/api/checkout.d.ts +3 -0
- package/dist/cjs/types/api/config.d.ts +1 -0
- package/dist/cjs/types/api/creditCards.d.ts +2 -0
- package/dist/esm/types/api/checkout.d.ts +3 -0
- package/dist/esm/types/api/config.d.ts +1 -0
- package/dist/esm/types/api/creditCards.d.ts +2 -0
- package/package.json +1 -1
|
@@ -78,6 +78,7 @@ export interface CheckoutConfig {
|
|
|
78
78
|
order_fulfillment: CheckoutConfigCurbside | null;
|
|
79
79
|
points: CheckoutConfigLoyalty | null;
|
|
80
80
|
promo_code_limit: number;
|
|
81
|
+
require_address: boolean;
|
|
81
82
|
required: CheckoutConfigFields;
|
|
82
83
|
surcharges: CheckoutConfigSurcharges;
|
|
83
84
|
tender_types: TenderType[];
|
|
@@ -148,6 +149,7 @@ export interface CheckoutFormCustomer {
|
|
|
148
149
|
}
|
|
149
150
|
export interface CheckoutTenderCreditGuest {
|
|
150
151
|
acct: string;
|
|
152
|
+
addr?: string;
|
|
151
153
|
amount: Money;
|
|
152
154
|
card_type_name: CardTypeName;
|
|
153
155
|
cvv: string;
|
|
@@ -277,6 +279,7 @@ export interface CheckoutPoints {
|
|
|
277
279
|
}
|
|
278
280
|
export interface CheckoutTenderPos {
|
|
279
281
|
acct?: string;
|
|
282
|
+
addr?: string;
|
|
280
283
|
amount?: Money;
|
|
281
284
|
cash_back?: Money;
|
|
282
285
|
customer_card_id?: string;
|
|
@@ -14,6 +14,7 @@ export interface CreditCardSaved {
|
|
|
14
14
|
}
|
|
15
15
|
export interface CreditCardData {
|
|
16
16
|
acct: string;
|
|
17
|
+
addr?: string;
|
|
17
18
|
exp: string;
|
|
18
19
|
cvv: string;
|
|
19
20
|
zip: string;
|
|
@@ -25,6 +26,7 @@ export interface CreditCardUpdate {
|
|
|
25
26
|
is_default: boolean;
|
|
26
27
|
}
|
|
27
28
|
export interface CreditCardErrors extends Record<string, string | undefined> {
|
|
29
|
+
addr?: string;
|
|
28
30
|
acct?: string;
|
|
29
31
|
exp?: string;
|
|
30
32
|
cvv?: string;
|
|
@@ -78,6 +78,7 @@ export interface CheckoutConfig {
|
|
|
78
78
|
order_fulfillment: CheckoutConfigCurbside | null;
|
|
79
79
|
points: CheckoutConfigLoyalty | null;
|
|
80
80
|
promo_code_limit: number;
|
|
81
|
+
require_address: boolean;
|
|
81
82
|
required: CheckoutConfigFields;
|
|
82
83
|
surcharges: CheckoutConfigSurcharges;
|
|
83
84
|
tender_types: TenderType[];
|
|
@@ -148,6 +149,7 @@ export interface CheckoutFormCustomer {
|
|
|
148
149
|
}
|
|
149
150
|
export interface CheckoutTenderCreditGuest {
|
|
150
151
|
acct: string;
|
|
152
|
+
addr?: string;
|
|
151
153
|
amount: Money;
|
|
152
154
|
card_type_name: CardTypeName;
|
|
153
155
|
cvv: string;
|
|
@@ -277,6 +279,7 @@ export interface CheckoutPoints {
|
|
|
277
279
|
}
|
|
278
280
|
export interface CheckoutTenderPos {
|
|
279
281
|
acct?: string;
|
|
282
|
+
addr?: string;
|
|
280
283
|
amount?: Money;
|
|
281
284
|
cash_back?: Money;
|
|
282
285
|
customer_card_id?: string;
|
|
@@ -14,6 +14,7 @@ export interface CreditCardSaved {
|
|
|
14
14
|
}
|
|
15
15
|
export interface CreditCardData {
|
|
16
16
|
acct: string;
|
|
17
|
+
addr?: string;
|
|
17
18
|
exp: string;
|
|
18
19
|
cvv: string;
|
|
19
20
|
zip: string;
|
|
@@ -25,6 +26,7 @@ export interface CreditCardUpdate {
|
|
|
25
26
|
is_default: boolean;
|
|
26
27
|
}
|
|
27
28
|
export interface CreditCardErrors extends Record<string, string | undefined> {
|
|
29
|
+
addr?: string;
|
|
28
30
|
acct?: string;
|
|
29
31
|
exp?: string;
|
|
30
32
|
cvv?: string;
|
package/package.json
CHANGED