@open-tender/types 0.0.70 → 0.0.72
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 { 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
|
-
import { Address, Customer, CustomerAllergens, CustomerGiftCards, CustomerRevenueCenterSettings, LoyaltyPoints, RevenueCenterGroupOrdering } from './customer';
|
|
3
|
+
import { Address, Customer, CustomerAllergens, CustomerGiftCards, CustomerRevenueCenterSettings, FirstTime, LoyaltyPoints, RevenueCenterGroupOrdering, RevenueCenterOrderTimes } from './customer';
|
|
4
4
|
import { PrepStatus, TicketStatus } from './kds';
|
|
5
5
|
export interface OrderChannel {
|
|
6
6
|
ext_id?: string | null;
|
|
@@ -66,6 +66,10 @@ export interface OrderRevenueCenter {
|
|
|
66
66
|
order_minimum?: {
|
|
67
67
|
[key in ServiceType]: Money;
|
|
68
68
|
};
|
|
69
|
+
first_times?: {
|
|
70
|
+
[key in ServiceType]?: FirstTime | null;
|
|
71
|
+
};
|
|
72
|
+
order_times?: RevenueCenterOrderTimes;
|
|
69
73
|
}
|
|
70
74
|
export interface OrderItemDiscount {
|
|
71
75
|
discount_id: number;
|
|
@@ -356,6 +360,7 @@ export interface Order {
|
|
|
356
360
|
tickets?: OrderTickets;
|
|
357
361
|
timezone: TimezonePython;
|
|
358
362
|
totals: OrderTotals;
|
|
363
|
+
notes?: string;
|
|
359
364
|
}
|
|
360
365
|
export declare type Orders = Array<Order>;
|
|
361
366
|
export interface OrderKds extends Omit<Order, 'fire_at' | 'tickets' | 'expected_at'> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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
|
-
import { Address, Customer, CustomerAllergens, CustomerGiftCards, CustomerRevenueCenterSettings, LoyaltyPoints, RevenueCenterGroupOrdering } from './customer';
|
|
3
|
+
import { Address, Customer, CustomerAllergens, CustomerGiftCards, CustomerRevenueCenterSettings, FirstTime, LoyaltyPoints, RevenueCenterGroupOrdering, RevenueCenterOrderTimes } from './customer';
|
|
4
4
|
import { PrepStatus, TicketStatus } from './kds';
|
|
5
5
|
export interface OrderChannel {
|
|
6
6
|
ext_id?: string | null;
|
|
@@ -66,6 +66,10 @@ export interface OrderRevenueCenter {
|
|
|
66
66
|
order_minimum?: {
|
|
67
67
|
[key in ServiceType]: Money;
|
|
68
68
|
};
|
|
69
|
+
first_times?: {
|
|
70
|
+
[key in ServiceType]?: FirstTime | null;
|
|
71
|
+
};
|
|
72
|
+
order_times?: RevenueCenterOrderTimes;
|
|
69
73
|
}
|
|
70
74
|
export interface OrderItemDiscount {
|
|
71
75
|
discount_id: number;
|
|
@@ -356,6 +360,7 @@ export interface Order {
|
|
|
356
360
|
tickets?: OrderTickets;
|
|
357
361
|
timezone: TimezonePython;
|
|
358
362
|
totals: OrderTotals;
|
|
363
|
+
notes?: string;
|
|
359
364
|
}
|
|
360
365
|
export declare type Orders = Array<Order>;
|
|
361
366
|
export interface OrderKds extends Omit<Order, 'fire_at' | 'tickets' | 'expected_at'> {
|
package/package.json
CHANGED