@open-tender/types 0.4.68 → 0.4.70
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 } from '../../datetimes';
|
|
2
|
-
import {
|
|
2
|
+
import { OrderNotifications } from '../../global';
|
|
3
3
|
import { Allergens } from '../allergens';
|
|
4
4
|
import { Discounts } from '../discounts';
|
|
5
5
|
import { Favorites } from '../favorite';
|
|
@@ -13,7 +13,6 @@ export interface CustomerCreate {
|
|
|
13
13
|
company?: string;
|
|
14
14
|
email: string;
|
|
15
15
|
first_name: string;
|
|
16
|
-
gender?: string | null;
|
|
17
16
|
last_name: string;
|
|
18
17
|
password?: string;
|
|
19
18
|
phone: string;
|
|
@@ -28,7 +27,6 @@ export interface Customer {
|
|
|
28
27
|
email: string;
|
|
29
28
|
favorites?: Favorites;
|
|
30
29
|
first_name: string;
|
|
31
|
-
gender: Gender | null;
|
|
32
30
|
gift_cards?: GiftCards;
|
|
33
31
|
is_notification_set: boolean;
|
|
34
32
|
is_verified: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DateString, ISOString, ISOStringOffset, RequestedAt, TimeHuman, TimezonePython } from '../datetimes';
|
|
2
|
-
import { CardType, CardTypeName, ChannelType, DeviceType, DiscountAuthType,
|
|
2
|
+
import { CardType, CardTypeName, ChannelType, DeviceType, DiscountAuthType, Images, Money, NegativeMoney, OrderStatus, OrderType, ReceiptType, ServiceType, TenderStatus, 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';
|
|
@@ -57,11 +57,10 @@ export interface OrderCustomerSso {
|
|
|
57
57
|
connected: boolean;
|
|
58
58
|
service: string;
|
|
59
59
|
}
|
|
60
|
-
export interface OrderCustomer extends Omit<Customer, 'allergens' | 'birth_date' | 'customer_id' | 'customer_notification_preferences' | 'favorites' | '
|
|
60
|
+
export interface OrderCustomer extends Omit<Customer, 'allergens' | 'birth_date' | 'customer_id' | 'customer_notification_preferences' | 'favorites' | 'gift_cards' | 'is_notification_set'> {
|
|
61
61
|
birth_date?: DateString | null;
|
|
62
62
|
credit_cards?: CreditCards;
|
|
63
63
|
customer_id?: number;
|
|
64
|
-
gender?: Gender | null;
|
|
65
64
|
gift_cards?: OrderCustomerGiftCards;
|
|
66
65
|
house_accounts?: HouseAccounts;
|
|
67
66
|
is_guest: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DateString } from '../../datetimes';
|
|
2
|
-
import {
|
|
2
|
+
import { OrderNotifications } from '../../global';
|
|
3
3
|
import { Allergens } from '../allergens';
|
|
4
4
|
import { Discounts } from '../discounts';
|
|
5
5
|
import { Favorites } from '../favorite';
|
|
@@ -13,7 +13,6 @@ export interface CustomerCreate {
|
|
|
13
13
|
company?: string;
|
|
14
14
|
email: string;
|
|
15
15
|
first_name: string;
|
|
16
|
-
gender?: string | null;
|
|
17
16
|
last_name: string;
|
|
18
17
|
password?: string;
|
|
19
18
|
phone: string;
|
|
@@ -28,7 +27,6 @@ export interface Customer {
|
|
|
28
27
|
email: string;
|
|
29
28
|
favorites?: Favorites;
|
|
30
29
|
first_name: string;
|
|
31
|
-
gender: Gender | null;
|
|
32
30
|
gift_cards?: GiftCards;
|
|
33
31
|
is_notification_set: boolean;
|
|
34
32
|
is_verified: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DateString, ISOString, ISOStringOffset, RequestedAt, TimeHuman, TimezonePython } from '../datetimes';
|
|
2
|
-
import { CardType, CardTypeName, ChannelType, DeviceType, DiscountAuthType,
|
|
2
|
+
import { CardType, CardTypeName, ChannelType, DeviceType, DiscountAuthType, Images, Money, NegativeMoney, OrderStatus, OrderType, ReceiptType, ServiceType, TenderStatus, 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';
|
|
@@ -57,11 +57,10 @@ export interface OrderCustomerSso {
|
|
|
57
57
|
connected: boolean;
|
|
58
58
|
service: string;
|
|
59
59
|
}
|
|
60
|
-
export interface OrderCustomer extends Omit<Customer, 'allergens' | 'birth_date' | 'customer_id' | 'customer_notification_preferences' | 'favorites' | '
|
|
60
|
+
export interface OrderCustomer extends Omit<Customer, 'allergens' | 'birth_date' | 'customer_id' | 'customer_notification_preferences' | 'favorites' | 'gift_cards' | 'is_notification_set'> {
|
|
61
61
|
birth_date?: DateString | null;
|
|
62
62
|
credit_cards?: CreditCards;
|
|
63
63
|
customer_id?: number;
|
|
64
|
-
gender?: Gender | null;
|
|
65
64
|
gift_cards?: OrderCustomerGiftCards;
|
|
66
65
|
house_accounts?: HouseAccounts;
|
|
67
66
|
is_guest: boolean;
|
package/package.json
CHANGED