@open-tender/types 0.4.101 → 0.4.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.
|
@@ -118,6 +118,15 @@ export interface DynamicPrepTime {
|
|
|
118
118
|
min: number | null;
|
|
119
119
|
}
|
|
120
120
|
export declare type DynamicPrepTimes = DynamicPrepTime[];
|
|
121
|
+
export interface DrivingDistance {
|
|
122
|
+
data: {
|
|
123
|
+
distance: number;
|
|
124
|
+
distance_text: string;
|
|
125
|
+
duration: number;
|
|
126
|
+
duration_text: string;
|
|
127
|
+
} | null;
|
|
128
|
+
error: string;
|
|
129
|
+
}
|
|
121
130
|
export interface RevenueCenter {
|
|
122
131
|
address: RevenueCenterAddress;
|
|
123
132
|
cutoff_time: TimeHuman | null;
|
|
@@ -127,6 +136,7 @@ export interface RevenueCenter {
|
|
|
127
136
|
description: string | null;
|
|
128
137
|
directions_url: string | null;
|
|
129
138
|
distance?: number;
|
|
139
|
+
driving_distance?: DrivingDistance | null;
|
|
130
140
|
dynamic_prep_times: DynamicPrepTimes;
|
|
131
141
|
excluded_times: ExcludedTimes | null;
|
|
132
142
|
first_times: FirstTimes | null;
|
|
@@ -118,6 +118,15 @@ export interface DynamicPrepTime {
|
|
|
118
118
|
min: number | null;
|
|
119
119
|
}
|
|
120
120
|
export declare type DynamicPrepTimes = DynamicPrepTime[];
|
|
121
|
+
export interface DrivingDistance {
|
|
122
|
+
data: {
|
|
123
|
+
distance: number;
|
|
124
|
+
distance_text: string;
|
|
125
|
+
duration: number;
|
|
126
|
+
duration_text: string;
|
|
127
|
+
} | null;
|
|
128
|
+
error: string;
|
|
129
|
+
}
|
|
121
130
|
export interface RevenueCenter {
|
|
122
131
|
address: RevenueCenterAddress;
|
|
123
132
|
cutoff_time: TimeHuman | null;
|
|
@@ -127,6 +136,7 @@ export interface RevenueCenter {
|
|
|
127
136
|
description: string | null;
|
|
128
137
|
directions_url: string | null;
|
|
129
138
|
distance?: number;
|
|
139
|
+
driving_distance?: DrivingDistance | null;
|
|
130
140
|
dynamic_prep_times: DynamicPrepTimes;
|
|
131
141
|
excluded_times: ExcludedTimes | null;
|
|
132
142
|
first_times: FirstTimes | null;
|
package/package.json
CHANGED