@open-tender/types 0.2.62 → 0.2.64
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/config.d.ts +5 -2
- package/dist/cjs/types/api/customer/customer.d.ts +2 -1
- package/dist/cjs/types/api/theme.d.ts +2 -0
- package/dist/esm/types/api/config.d.ts +5 -2
- package/dist/esm/types/api/customer/customer.d.ts +2 -1
- package/dist/esm/types/api/theme.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TimezonePython } from '../datetimes';
|
|
2
2
|
import { OrderType, ServiceType } from '../global';
|
|
3
|
-
import { LoyaltyType, NotificationChannel } from './customer';
|
|
3
|
+
import { CustomerCreate, LoyaltyType, NotificationChannel } from './customer';
|
|
4
4
|
import { RevenueCenterStatus } from './revenueCenter';
|
|
5
5
|
export interface ConfigApp {
|
|
6
6
|
authUrl: string;
|
|
@@ -290,7 +290,9 @@ export interface ConfigContent {
|
|
|
290
290
|
};
|
|
291
291
|
orders: ConfigContentField;
|
|
292
292
|
pointsShop: ConfigContentField;
|
|
293
|
-
profile: ConfigContentField
|
|
293
|
+
profile: ConfigContentField & {
|
|
294
|
+
displayed: (keyof CustomerCreate)[];
|
|
295
|
+
};
|
|
294
296
|
refunds: ConfigContentField & {
|
|
295
297
|
background: string;
|
|
296
298
|
content: Array<string>;
|
|
@@ -313,6 +315,7 @@ export interface ConfigContent {
|
|
|
313
315
|
signUp: ConfigContentField & {
|
|
314
316
|
back: string;
|
|
315
317
|
background: string;
|
|
318
|
+
displayed: (keyof CustomerCreate)[];
|
|
316
319
|
};
|
|
317
320
|
upsells: {
|
|
318
321
|
cart: ConfigContentField & {
|
|
@@ -2,10 +2,11 @@ import { DateString } from '../../datetimes';
|
|
|
2
2
|
import { Gender, OrderNotifications } from '../../global';
|
|
3
3
|
import { Allergens } from '../allergens';
|
|
4
4
|
import { Favorites } from '../favorite';
|
|
5
|
-
import { CustomerNotificationPrefs } from './communicationPreferences';
|
|
5
|
+
import { CustomerNotificationPrefs, NotificationChannel } from './communicationPreferences';
|
|
6
6
|
import { GiftCards } from './giftCards';
|
|
7
7
|
export interface CustomerCreate {
|
|
8
8
|
birth_date?: DateString | null;
|
|
9
|
+
communications?: NotificationChannel[];
|
|
9
10
|
company?: string;
|
|
10
11
|
email: string;
|
|
11
12
|
first_name: string;
|
|
@@ -81,6 +81,8 @@ export interface ThemeButtonLargeSize extends ThemeButtonSize {
|
|
|
81
81
|
minHeight: string;
|
|
82
82
|
minHeightMobile: string;
|
|
83
83
|
showButtonApp: boolean;
|
|
84
|
+
showIcons: boolean;
|
|
85
|
+
showIconsMobile: boolean;
|
|
84
86
|
showSubtitle: boolean;
|
|
85
87
|
showSubtitleMobile: boolean;
|
|
86
88
|
subtitleFontMobile: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TimezonePython } from '../datetimes';
|
|
2
2
|
import { OrderType, ServiceType } from '../global';
|
|
3
|
-
import { LoyaltyType, NotificationChannel } from './customer';
|
|
3
|
+
import { CustomerCreate, LoyaltyType, NotificationChannel } from './customer';
|
|
4
4
|
import { RevenueCenterStatus } from './revenueCenter';
|
|
5
5
|
export interface ConfigApp {
|
|
6
6
|
authUrl: string;
|
|
@@ -290,7 +290,9 @@ export interface ConfigContent {
|
|
|
290
290
|
};
|
|
291
291
|
orders: ConfigContentField;
|
|
292
292
|
pointsShop: ConfigContentField;
|
|
293
|
-
profile: ConfigContentField
|
|
293
|
+
profile: ConfigContentField & {
|
|
294
|
+
displayed: (keyof CustomerCreate)[];
|
|
295
|
+
};
|
|
294
296
|
refunds: ConfigContentField & {
|
|
295
297
|
background: string;
|
|
296
298
|
content: Array<string>;
|
|
@@ -313,6 +315,7 @@ export interface ConfigContent {
|
|
|
313
315
|
signUp: ConfigContentField & {
|
|
314
316
|
back: string;
|
|
315
317
|
background: string;
|
|
318
|
+
displayed: (keyof CustomerCreate)[];
|
|
316
319
|
};
|
|
317
320
|
upsells: {
|
|
318
321
|
cart: ConfigContentField & {
|
|
@@ -2,10 +2,11 @@ import { DateString } from '../../datetimes';
|
|
|
2
2
|
import { Gender, OrderNotifications } from '../../global';
|
|
3
3
|
import { Allergens } from '../allergens';
|
|
4
4
|
import { Favorites } from '../favorite';
|
|
5
|
-
import { CustomerNotificationPrefs } from './communicationPreferences';
|
|
5
|
+
import { CustomerNotificationPrefs, NotificationChannel } from './communicationPreferences';
|
|
6
6
|
import { GiftCards } from './giftCards';
|
|
7
7
|
export interface CustomerCreate {
|
|
8
8
|
birth_date?: DateString | null;
|
|
9
|
+
communications?: NotificationChannel[];
|
|
9
10
|
company?: string;
|
|
10
11
|
email: string;
|
|
11
12
|
first_name: string;
|
|
@@ -81,6 +81,8 @@ export interface ThemeButtonLargeSize extends ThemeButtonSize {
|
|
|
81
81
|
minHeight: string;
|
|
82
82
|
minHeightMobile: string;
|
|
83
83
|
showButtonApp: boolean;
|
|
84
|
+
showIcons: boolean;
|
|
85
|
+
showIconsMobile: boolean;
|
|
84
86
|
showSubtitle: boolean;
|
|
85
87
|
showSubtitleMobile: boolean;
|
|
86
88
|
subtitleFontMobile: string;
|
package/package.json
CHANGED