@open-tender/types 0.0.88 → 0.0.90
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,6 +1,6 @@
|
|
|
1
1
|
import { ISOString, TimezonePython } from '../datetimes';
|
|
2
2
|
import { DiscountType, GratuityType, Money, OrderType, ServiceType, TenderType } from '../global';
|
|
3
|
-
import { Address, Customer, LoyaltyPoints } from './customer';
|
|
3
|
+
import { Address, Customer, CustomerGiftCard, LoyaltyPoints } from './customer';
|
|
4
4
|
import { OrderDetails, OrderDiscounts, OrderFulfillment, OrderItem, OrderRevenueCenter, OrderShipment, OrderSurcharges, OrderTaxes, OrderTenders, OrderTotals } from './order';
|
|
5
5
|
export interface CustomerIdentifier {
|
|
6
6
|
card_token?: string;
|
|
@@ -117,7 +117,7 @@ export interface OrderCreate {
|
|
|
117
117
|
}
|
|
118
118
|
export interface CheckoutConfigDisplayed {
|
|
119
119
|
address: string[];
|
|
120
|
-
customer:
|
|
120
|
+
customer: string[];
|
|
121
121
|
details: string[];
|
|
122
122
|
}
|
|
123
123
|
export interface CheckoutConfigGratuity {
|
|
@@ -172,4 +172,5 @@ export interface CheckoutCheck {
|
|
|
172
172
|
tenders: OrderTenders;
|
|
173
173
|
timezone: TimezonePython;
|
|
174
174
|
totals: OrderTotals;
|
|
175
|
+
gift_cards: Array<Partial<CustomerGiftCard>>;
|
|
175
176
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ISOString, TimezonePython } from '../datetimes';
|
|
2
2
|
import { DiscountType, GratuityType, Money, OrderType, ServiceType, TenderType } from '../global';
|
|
3
|
-
import { Address, Customer, LoyaltyPoints } from './customer';
|
|
3
|
+
import { Address, Customer, CustomerGiftCard, LoyaltyPoints } from './customer';
|
|
4
4
|
import { OrderDetails, OrderDiscounts, OrderFulfillment, OrderItem, OrderRevenueCenter, OrderShipment, OrderSurcharges, OrderTaxes, OrderTenders, OrderTotals } from './order';
|
|
5
5
|
export interface CustomerIdentifier {
|
|
6
6
|
card_token?: string;
|
|
@@ -117,7 +117,7 @@ export interface OrderCreate {
|
|
|
117
117
|
}
|
|
118
118
|
export interface CheckoutConfigDisplayed {
|
|
119
119
|
address: string[];
|
|
120
|
-
customer:
|
|
120
|
+
customer: string[];
|
|
121
121
|
details: string[];
|
|
122
122
|
}
|
|
123
123
|
export interface CheckoutConfigGratuity {
|
|
@@ -172,4 +172,5 @@ export interface CheckoutCheck {
|
|
|
172
172
|
tenders: OrderTenders;
|
|
173
173
|
timezone: TimezonePython;
|
|
174
174
|
totals: OrderTotals;
|
|
175
|
+
gift_cards: Array<Partial<CustomerGiftCard>>;
|
|
175
176
|
}
|
package/package.json
CHANGED