@open-tender/types 0.2.118 → 0.3.2
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 +7 -7
- package/dist/cjs/types/api/customer/tpls.d.ts +1 -0
- package/dist/cjs/types/api/order.d.ts +2 -1
- package/dist/esm/types/api/checkout.d.ts +7 -7
- package/dist/esm/types/api/customer/tpls.d.ts +1 -0
- package/dist/esm/types/api/order.d.ts +2 -1
- package/package.json +1 -1
|
@@ -174,15 +174,15 @@ export interface CheckoutTenderGiftCard {
|
|
|
174
174
|
}
|
|
175
175
|
export interface CheckoutTenderHouseAccount {
|
|
176
176
|
amount: Money;
|
|
177
|
-
approved_contact
|
|
178
|
-
domain
|
|
177
|
+
approved_contact?: boolean;
|
|
178
|
+
domain?: string | null;
|
|
179
179
|
house_account_id: number;
|
|
180
180
|
name: string;
|
|
181
|
-
order_type
|
|
182
|
-
pin
|
|
183
|
-
revenue_centers
|
|
184
|
-
service_type
|
|
185
|
-
tender_type
|
|
181
|
+
order_type?: OrderType | null;
|
|
182
|
+
pin?: string;
|
|
183
|
+
revenue_centers?: number[];
|
|
184
|
+
service_type?: ServiceType | null;
|
|
185
|
+
tender_type?: TenderType;
|
|
186
186
|
}
|
|
187
187
|
export interface CheckoutTenderApplePay {
|
|
188
188
|
amount: Money;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DateString, ISOString, ISOStringOffset, RequestedAt, TimeHuman, TimezonePython } from '../datetimes';
|
|
2
|
-
import { CardType, CardTypeName, ChannelType, DiscountAuthType, Gender, Images, Money, NegativeMoney, OrderStatus, OrderType, ServiceType, TenderType } from '../global';
|
|
2
|
+
import { CardType, CardTypeName, ChannelType, DeviceType, DiscountAuthType, Gender, Images, Money, NegativeMoney, OrderStatus, OrderType, ServiceType, TenderType } from '../global';
|
|
3
3
|
import { CreditCard, CreditCards } from './creditCards';
|
|
4
4
|
import { Address, Customer, GiftCard, HouseAccounts } from './customer';
|
|
5
5
|
import { PrepStatus } from './kds';
|
|
@@ -228,6 +228,7 @@ export interface Order {
|
|
|
228
228
|
customer: OrderCustomer;
|
|
229
229
|
delivery: OrderDelivery | null;
|
|
230
230
|
details: OrderDetails | null;
|
|
231
|
+
device_type: DeviceType;
|
|
231
232
|
discounts: OrderDiscounts;
|
|
232
233
|
estimated_at: ISOStringOffset | null;
|
|
233
234
|
gift_cards: OrderGiftCards;
|
|
@@ -174,15 +174,15 @@ export interface CheckoutTenderGiftCard {
|
|
|
174
174
|
}
|
|
175
175
|
export interface CheckoutTenderHouseAccount {
|
|
176
176
|
amount: Money;
|
|
177
|
-
approved_contact
|
|
178
|
-
domain
|
|
177
|
+
approved_contact?: boolean;
|
|
178
|
+
domain?: string | null;
|
|
179
179
|
house_account_id: number;
|
|
180
180
|
name: string;
|
|
181
|
-
order_type
|
|
182
|
-
pin
|
|
183
|
-
revenue_centers
|
|
184
|
-
service_type
|
|
185
|
-
tender_type
|
|
181
|
+
order_type?: OrderType | null;
|
|
182
|
+
pin?: string;
|
|
183
|
+
revenue_centers?: number[];
|
|
184
|
+
service_type?: ServiceType | null;
|
|
185
|
+
tender_type?: TenderType;
|
|
186
186
|
}
|
|
187
187
|
export interface CheckoutTenderApplePay {
|
|
188
188
|
amount: Money;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DateString, ISOString, ISOStringOffset, RequestedAt, TimeHuman, TimezonePython } from '../datetimes';
|
|
2
|
-
import { CardType, CardTypeName, ChannelType, DiscountAuthType, Gender, Images, Money, NegativeMoney, OrderStatus, OrderType, ServiceType, TenderType } from '../global';
|
|
2
|
+
import { CardType, CardTypeName, ChannelType, DeviceType, DiscountAuthType, Gender, Images, Money, NegativeMoney, OrderStatus, OrderType, ServiceType, TenderType } from '../global';
|
|
3
3
|
import { CreditCard, CreditCards } from './creditCards';
|
|
4
4
|
import { Address, Customer, GiftCard, HouseAccounts } from './customer';
|
|
5
5
|
import { PrepStatus } from './kds';
|
|
@@ -228,6 +228,7 @@ export interface Order {
|
|
|
228
228
|
customer: OrderCustomer;
|
|
229
229
|
delivery: OrderDelivery | null;
|
|
230
230
|
details: OrderDetails | null;
|
|
231
|
+
device_type: DeviceType;
|
|
231
232
|
discounts: OrderDiscounts;
|
|
232
233
|
estimated_at: ISOStringOffset | null;
|
|
233
234
|
gift_cards: OrderGiftCards;
|
package/package.json
CHANGED