@open-tender/types 0.0.97 → 0.0.99

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.
@@ -46,6 +46,8 @@ export interface LoyaltyTier {
46
46
  name: string;
47
47
  threshold: string;
48
48
  discount: LoyaltyDiscount;
49
+ points: any;
50
+ value: any;
49
51
  }
50
52
  export interface CustomerLoyalty {
51
53
  credit: LoyaltyCredit | null;
@@ -1,5 +1,6 @@
1
1
  import { DateString, ISOString, Time24, TimeHuman, TimezonePython } from '../../datetimes';
2
2
  import { Money, ServiceType, Weekday } from '../../global';
3
+ import { OrderItemImages } from '../order';
3
4
  import { RevenueCenterType } from '../revenueCenter';
4
5
  export interface RevenueCenterAddress {
5
6
  city: string;
@@ -111,6 +112,11 @@ export interface CustomerRevenueCenterSettings {
111
112
  excluded_times: ExcludedTimes | null;
112
113
  service_types?: Array<ServiceType>;
113
114
  }
115
+ export declare type CustomerRevenueCenterHours = {
116
+ [key in ServiceType]?: Array<Hours>;
117
+ } & {
118
+ description?: string;
119
+ };
114
120
  export interface CustomerRevenueCenter {
115
121
  address: RevenueCenterAddress;
116
122
  cutoff_time: TimeHuman | null;
@@ -130,9 +136,7 @@ export interface CustomerRevenueCenter {
130
136
  [key in ServiceType]?: HolidayItem | null;
131
137
  };
132
138
  };
133
- hours: {
134
- [key in ServiceType]?: Array<Hours>;
135
- };
139
+ hours: CustomerRevenueCenterHours;
136
140
  is_new: boolean;
137
141
  is_outpost: boolean;
138
142
  is_parent: boolean;
@@ -169,6 +173,7 @@ export interface CustomerRevenueCenter {
169
173
  distance?: number;
170
174
  inZone?: boolean;
171
175
  priority?: number;
176
+ images?: OrderItemImages;
172
177
  }
173
178
  export declare type CustomerRevenueCenters = Array<CustomerRevenueCenter>;
174
179
  export interface AvailableDates {
@@ -46,6 +46,8 @@ export interface LoyaltyTier {
46
46
  name: string;
47
47
  threshold: string;
48
48
  discount: LoyaltyDiscount;
49
+ points: any;
50
+ value: any;
49
51
  }
50
52
  export interface CustomerLoyalty {
51
53
  credit: LoyaltyCredit | null;
@@ -1,5 +1,6 @@
1
1
  import { DateString, ISOString, Time24, TimeHuman, TimezonePython } from '../../datetimes';
2
2
  import { Money, ServiceType, Weekday } from '../../global';
3
+ import { OrderItemImages } from '../order';
3
4
  import { RevenueCenterType } from '../revenueCenter';
4
5
  export interface RevenueCenterAddress {
5
6
  city: string;
@@ -111,6 +112,11 @@ export interface CustomerRevenueCenterSettings {
111
112
  excluded_times: ExcludedTimes | null;
112
113
  service_types?: Array<ServiceType>;
113
114
  }
115
+ export declare type CustomerRevenueCenterHours = {
116
+ [key in ServiceType]?: Array<Hours>;
117
+ } & {
118
+ description?: string;
119
+ };
114
120
  export interface CustomerRevenueCenter {
115
121
  address: RevenueCenterAddress;
116
122
  cutoff_time: TimeHuman | null;
@@ -130,9 +136,7 @@ export interface CustomerRevenueCenter {
130
136
  [key in ServiceType]?: HolidayItem | null;
131
137
  };
132
138
  };
133
- hours: {
134
- [key in ServiceType]?: Array<Hours>;
135
- };
139
+ hours: CustomerRevenueCenterHours;
136
140
  is_new: boolean;
137
141
  is_outpost: boolean;
138
142
  is_parent: boolean;
@@ -169,6 +173,7 @@ export interface CustomerRevenueCenter {
169
173
  distance?: number;
170
174
  inZone?: boolean;
171
175
  priority?: number;
176
+ images?: OrderItemImages;
172
177
  }
173
178
  export declare type CustomerRevenueCenters = Array<CustomerRevenueCenter>;
174
179
  export interface AvailableDates {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/types",
3
- "version": "0.0.97",
3
+ "version": "0.0.99",
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",