@open-tender/types 0.2.55 → 0.2.56
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,5 +1,5 @@
|
|
|
1
1
|
import { DateString, ISOString, ISOStringOffset, RequestedAt, TimeHuman, TimezonePython } from '../datetimes';
|
|
2
|
-
import { CardType, CardTypeName, ChannelType, DiscountAuthType,
|
|
2
|
+
import { CardType, CardTypeName, ChannelType, 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';
|
|
@@ -88,15 +88,17 @@ export interface OrderDetails {
|
|
|
88
88
|
serving_utensils: boolean;
|
|
89
89
|
tax_exempt_id: string | null;
|
|
90
90
|
}
|
|
91
|
+
export declare type OrderDiscountType = 'DEAL' | 'DISCOUNT' | 'LOYALTY' | 'PROMO_CODE' | 'REWARD';
|
|
91
92
|
export interface OrderDiscount {
|
|
92
93
|
amount: NegativeMoney;
|
|
93
94
|
auth_type: DiscountAuthType;
|
|
94
|
-
|
|
95
|
+
description?: string | null;
|
|
96
|
+
discount_type: OrderDiscountType;
|
|
95
97
|
ext_id?: string | null;
|
|
96
98
|
id: number;
|
|
97
99
|
is_deal: boolean;
|
|
98
100
|
is_loyalty: boolean;
|
|
99
|
-
is_optional
|
|
101
|
+
is_optional?: boolean;
|
|
100
102
|
is_promo_code: boolean;
|
|
101
103
|
is_reward: boolean;
|
|
102
104
|
name: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DateString, ISOString, ISOStringOffset, RequestedAt, TimeHuman, TimezonePython } from '../datetimes';
|
|
2
|
-
import { CardType, CardTypeName, ChannelType, DiscountAuthType,
|
|
2
|
+
import { CardType, CardTypeName, ChannelType, 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';
|
|
@@ -88,15 +88,17 @@ export interface OrderDetails {
|
|
|
88
88
|
serving_utensils: boolean;
|
|
89
89
|
tax_exempt_id: string | null;
|
|
90
90
|
}
|
|
91
|
+
export declare type OrderDiscountType = 'DEAL' | 'DISCOUNT' | 'LOYALTY' | 'PROMO_CODE' | 'REWARD';
|
|
91
92
|
export interface OrderDiscount {
|
|
92
93
|
amount: NegativeMoney;
|
|
93
94
|
auth_type: DiscountAuthType;
|
|
94
|
-
|
|
95
|
+
description?: string | null;
|
|
96
|
+
discount_type: OrderDiscountType;
|
|
95
97
|
ext_id?: string | null;
|
|
96
98
|
id: number;
|
|
97
99
|
is_deal: boolean;
|
|
98
100
|
is_loyalty: boolean;
|
|
99
|
-
is_optional
|
|
101
|
+
is_optional?: boolean;
|
|
100
102
|
is_promo_code: boolean;
|
|
101
103
|
is_reward: boolean;
|
|
102
104
|
name: string;
|
package/package.json
CHANGED