@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.
|
@@ -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 {
|
|
@@ -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