@open-tender/types 0.0.36 → 0.0.38
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,4 +1,4 @@
|
|
|
1
|
-
import { DateString, ISOString, ISOStringOffset, TimezonePython } from '../datetimes';
|
|
1
|
+
import { DateString, ISOString, ISOStringOffset, RequestedAt, TimezonePython } from '../datetimes';
|
|
2
2
|
import { CardType, ChannelType, Decimal, Money, NegativeMoney, OrderStatus, OrderType, ReceiptType, ServiceType, SurchargeType, Temperature, TenderStatus, TenderType } from '../global';
|
|
3
3
|
import { Address, Customer, CustomerAllergens, CustomerGiftCards, LoyaltyPoints } from './customer';
|
|
4
4
|
import { PrepStatus, TicketStatus } from './kds';
|
|
@@ -296,6 +296,7 @@ export interface OrderRating {
|
|
|
296
296
|
rating: number;
|
|
297
297
|
}
|
|
298
298
|
export interface Order {
|
|
299
|
+
revenue_center_id?: number;
|
|
299
300
|
address: Address | null;
|
|
300
301
|
cart: OrderCart;
|
|
301
302
|
channel?: OrderChannel;
|
|
@@ -331,7 +332,7 @@ export interface Order {
|
|
|
331
332
|
ready_at: ISOStringOffset | ISOString | null;
|
|
332
333
|
receipt_type: ReceiptType;
|
|
333
334
|
refunds?: Array<OrderTender>;
|
|
334
|
-
requested_at:
|
|
335
|
+
requested_at: RequestedAt;
|
|
335
336
|
requested_time?: string;
|
|
336
337
|
revenue_center: OrderRevenueCenter;
|
|
337
338
|
service_type: ServiceType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DateString, ISOString, ISOStringOffset, TimezonePython } from '../datetimes';
|
|
1
|
+
import { DateString, ISOString, ISOStringOffset, RequestedAt, TimezonePython } from '../datetimes';
|
|
2
2
|
import { CardType, ChannelType, Decimal, Money, NegativeMoney, OrderStatus, OrderType, ReceiptType, ServiceType, SurchargeType, Temperature, TenderStatus, TenderType } from '../global';
|
|
3
3
|
import { Address, Customer, CustomerAllergens, CustomerGiftCards, LoyaltyPoints } from './customer';
|
|
4
4
|
import { PrepStatus, TicketStatus } from './kds';
|
|
@@ -296,6 +296,7 @@ export interface OrderRating {
|
|
|
296
296
|
rating: number;
|
|
297
297
|
}
|
|
298
298
|
export interface Order {
|
|
299
|
+
revenue_center_id?: number;
|
|
299
300
|
address: Address | null;
|
|
300
301
|
cart: OrderCart;
|
|
301
302
|
channel?: OrderChannel;
|
|
@@ -331,7 +332,7 @@ export interface Order {
|
|
|
331
332
|
ready_at: ISOStringOffset | ISOString | null;
|
|
332
333
|
receipt_type: ReceiptType;
|
|
333
334
|
refunds?: Array<OrderTender>;
|
|
334
|
-
requested_at:
|
|
335
|
+
requested_at: RequestedAt;
|
|
335
336
|
requested_time?: string;
|
|
336
337
|
revenue_center: OrderRevenueCenter;
|
|
337
338
|
service_type: ServiceType;
|
package/package.json
CHANGED