@open-tender/types 0.2.101 → 0.2.103

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 { TimezonePython } from '../datetimes';
2
2
  import { LatLng, OrderType, ServiceType } from '../global';
3
- import { CustomerCreate, LoyaltyType, NotificationChannel } from './customer';
3
+ import { CustomerCreate, LoyaltyType, NotificationArea, NotificationChannel } from './customer';
4
4
  import { RevenueCenterStatus } from './revenueCenter';
5
5
  export interface ConfigApp {
6
6
  authUrl: string;
@@ -13,6 +13,11 @@ export interface ConfigAcceptMarketing {
13
13
  description: string;
14
14
  title: string;
15
15
  }
16
+ export interface ConfigNotificationPreference {
17
+ notification_area: NotificationArea;
18
+ notification_channel: NotificationChannel;
19
+ }
20
+ export declare type ConfigNotificationPreferences = ConfigNotificationPreference[];
16
21
  export interface ConfigFulfillmentField {
17
22
  label: string;
18
23
  name: string;
@@ -82,6 +87,7 @@ export interface ConfigBrand {
82
87
  logo: string;
83
88
  logoLight: string;
84
89
  loyalty: ConfigLoyalty;
90
+ notification_preferences: ConfigNotificationPreferences;
85
91
  olo_id: number;
86
92
  openGraphImage: string | null;
87
93
  order_notifications: ConfigOrderNotifications | null;
@@ -15,8 +15,9 @@ export interface ResetPasswordData {
15
15
  password: string;
16
16
  confirm: string;
17
17
  }
18
- export interface OneTimePasscode {
18
+ export interface CustomerSignIn {
19
19
  email?: string;
20
20
  one_time_passcode?: string;
21
+ password?: string;
21
22
  phone?: string;
22
23
  }
@@ -1,6 +1,6 @@
1
1
  import { TimezonePython } from '../datetimes';
2
2
  import { LatLng, OrderType, ServiceType } from '../global';
3
- import { CustomerCreate, LoyaltyType, NotificationChannel } from './customer';
3
+ import { CustomerCreate, LoyaltyType, NotificationArea, NotificationChannel } from './customer';
4
4
  import { RevenueCenterStatus } from './revenueCenter';
5
5
  export interface ConfigApp {
6
6
  authUrl: string;
@@ -13,6 +13,11 @@ export interface ConfigAcceptMarketing {
13
13
  description: string;
14
14
  title: string;
15
15
  }
16
+ export interface ConfigNotificationPreference {
17
+ notification_area: NotificationArea;
18
+ notification_channel: NotificationChannel;
19
+ }
20
+ export declare type ConfigNotificationPreferences = ConfigNotificationPreference[];
16
21
  export interface ConfigFulfillmentField {
17
22
  label: string;
18
23
  name: string;
@@ -82,6 +87,7 @@ export interface ConfigBrand {
82
87
  logo: string;
83
88
  logoLight: string;
84
89
  loyalty: ConfigLoyalty;
90
+ notification_preferences: ConfigNotificationPreferences;
85
91
  olo_id: number;
86
92
  openGraphImage: string | null;
87
93
  order_notifications: ConfigOrderNotifications | null;
@@ -15,8 +15,9 @@ export interface ResetPasswordData {
15
15
  password: string;
16
16
  confirm: string;
17
17
  }
18
- export interface OneTimePasscode {
18
+ export interface CustomerSignIn {
19
19
  email?: string;
20
20
  one_time_passcode?: string;
21
+ password?: string;
21
22
  phone?: string;
22
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/types",
3
- "version": "0.2.101",
3
+ "version": "0.2.103",
4
4
  "description": "A library of types for use with Open Tender applications that utilize our cloud-based Order API.",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",