@open-tender/types 0.2.63 → 0.2.65
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 +1 -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 +1 -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;
|
|
@@ -445,6 +445,7 @@ export interface ThemeMenuItemsTags extends ThemeMenuItemsText {
|
|
|
445
445
|
export interface ThemeMenuItems extends Record<string, ThemeMenuItemsText | ThemeMenuItemsContainer | ThemeMenuItemsBox | ThemeMenuItemsImage | ThemeMenuItemsContent | ThemeMenuItemsTags> {
|
|
446
446
|
allergens: ThemeMenuItemsText;
|
|
447
447
|
box: ThemeMenuItemsBox;
|
|
448
|
+
buttons: ThemeMenuItemsContent;
|
|
448
449
|
calories: ThemeMenuItemsText;
|
|
449
450
|
container: ThemeMenuItemsContainer;
|
|
450
451
|
content: ThemeMenuItemsContent;
|
|
@@ -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;
|
|
@@ -445,6 +445,7 @@ export interface ThemeMenuItemsTags extends ThemeMenuItemsText {
|
|
|
445
445
|
export interface ThemeMenuItems extends Record<string, ThemeMenuItemsText | ThemeMenuItemsContainer | ThemeMenuItemsBox | ThemeMenuItemsImage | ThemeMenuItemsContent | ThemeMenuItemsTags> {
|
|
446
446
|
allergens: ThemeMenuItemsText;
|
|
447
447
|
box: ThemeMenuItemsBox;
|
|
448
|
+
buttons: ThemeMenuItemsContent;
|
|
448
449
|
calories: ThemeMenuItemsText;
|
|
449
450
|
container: ThemeMenuItemsContainer;
|
|
450
451
|
content: ThemeMenuItemsContent;
|
package/package.json
CHANGED