@open-tender/types 0.4.102 → 0.4.104
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.
|
@@ -7,6 +7,7 @@ export interface RevenueCenterParams {
|
|
|
7
7
|
lng?: number;
|
|
8
8
|
requestedAt?: string;
|
|
9
9
|
cart_total?: string;
|
|
10
|
+
address?: string;
|
|
10
11
|
}
|
|
11
12
|
export declare type RevenueCenterType = 'OLO' | 'CATERING';
|
|
12
13
|
export interface RevenueCenterAddress {
|
|
@@ -118,6 +119,15 @@ export interface DynamicPrepTime {
|
|
|
118
119
|
min: number | null;
|
|
119
120
|
}
|
|
120
121
|
export declare type DynamicPrepTimes = DynamicPrepTime[];
|
|
122
|
+
export interface DrivingDistance {
|
|
123
|
+
data: {
|
|
124
|
+
distance: number;
|
|
125
|
+
distance_text: string;
|
|
126
|
+
duration: number;
|
|
127
|
+
duration_text: string;
|
|
128
|
+
} | null;
|
|
129
|
+
error: string;
|
|
130
|
+
}
|
|
121
131
|
export interface RevenueCenter {
|
|
122
132
|
address: RevenueCenterAddress;
|
|
123
133
|
cutoff_time: TimeHuman | null;
|
|
@@ -127,6 +137,7 @@ export interface RevenueCenter {
|
|
|
127
137
|
description: string | null;
|
|
128
138
|
directions_url: string | null;
|
|
129
139
|
distance?: number;
|
|
140
|
+
driving_distance?: DrivingDistance | null;
|
|
130
141
|
dynamic_prep_times: DynamicPrepTimes;
|
|
131
142
|
excluded_times: ExcludedTimes | null;
|
|
132
143
|
first_times: FirstTimes | null;
|
|
@@ -7,6 +7,7 @@ export interface RevenueCenterParams {
|
|
|
7
7
|
lng?: number;
|
|
8
8
|
requestedAt?: string;
|
|
9
9
|
cart_total?: string;
|
|
10
|
+
address?: string;
|
|
10
11
|
}
|
|
11
12
|
export declare type RevenueCenterType = 'OLO' | 'CATERING';
|
|
12
13
|
export interface RevenueCenterAddress {
|
|
@@ -118,6 +119,15 @@ export interface DynamicPrepTime {
|
|
|
118
119
|
min: number | null;
|
|
119
120
|
}
|
|
120
121
|
export declare type DynamicPrepTimes = DynamicPrepTime[];
|
|
122
|
+
export interface DrivingDistance {
|
|
123
|
+
data: {
|
|
124
|
+
distance: number;
|
|
125
|
+
distance_text: string;
|
|
126
|
+
duration: number;
|
|
127
|
+
duration_text: string;
|
|
128
|
+
} | null;
|
|
129
|
+
error: string;
|
|
130
|
+
}
|
|
121
131
|
export interface RevenueCenter {
|
|
122
132
|
address: RevenueCenterAddress;
|
|
123
133
|
cutoff_time: TimeHuman | null;
|
|
@@ -127,6 +137,7 @@ export interface RevenueCenter {
|
|
|
127
137
|
description: string | null;
|
|
128
138
|
directions_url: string | null;
|
|
129
139
|
distance?: number;
|
|
140
|
+
driving_distance?: DrivingDistance | null;
|
|
130
141
|
dynamic_prep_times: DynamicPrepTimes;
|
|
131
142
|
excluded_times: ExcludedTimes | null;
|
|
132
143
|
first_times: FirstTimes | null;
|
package/package.json
CHANGED