@open-tender/types 0.4.114 → 0.4.116

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.
@@ -112,6 +112,7 @@ export declare type OrderTimesWithDate = {
112
112
  export declare type RevenueCenterStatus = 'CLOSED' | 'CLOSED_TEMPORARILY' | 'COMING_SOON' | 'HIDDEN' | 'OPEN';
113
113
  export interface RevenueCenterUser {
114
114
  distance_from: number;
115
+ distance_in_miles: string;
115
116
  in_delivery_zone: boolean;
116
117
  }
117
118
  export interface DynamicPrepTime {
@@ -120,15 +121,6 @@ export interface DynamicPrepTime {
120
121
  min: number | null;
121
122
  }
122
123
  export declare type DynamicPrepTimes = DynamicPrepTime[];
123
- export interface DrivingDistance {
124
- data: {
125
- distance: number;
126
- distance_text: string;
127
- duration: number;
128
- duration_text: string;
129
- } | null;
130
- error: string;
131
- }
132
124
  export interface RevenueCenter {
133
125
  address: RevenueCenterAddress;
134
126
  cutoff_time: TimeHuman | null;
@@ -138,7 +130,6 @@ export interface RevenueCenter {
138
130
  description: string | null;
139
131
  directions_url: string | null;
140
132
  distance?: number;
141
- driving_distance?: DrivingDistance | null;
142
133
  dynamic_prep_times: DynamicPrepTimes;
143
134
  excluded_times: ExcludedTimes | null;
144
135
  first_times: FirstTimes | null;
@@ -112,6 +112,7 @@ export declare type OrderTimesWithDate = {
112
112
  export declare type RevenueCenterStatus = 'CLOSED' | 'CLOSED_TEMPORARILY' | 'COMING_SOON' | 'HIDDEN' | 'OPEN';
113
113
  export interface RevenueCenterUser {
114
114
  distance_from: number;
115
+ distance_in_miles: string;
115
116
  in_delivery_zone: boolean;
116
117
  }
117
118
  export interface DynamicPrepTime {
@@ -120,15 +121,6 @@ export interface DynamicPrepTime {
120
121
  min: number | null;
121
122
  }
122
123
  export declare type DynamicPrepTimes = DynamicPrepTime[];
123
- export interface DrivingDistance {
124
- data: {
125
- distance: number;
126
- distance_text: string;
127
- duration: number;
128
- duration_text: string;
129
- } | null;
130
- error: string;
131
- }
132
124
  export interface RevenueCenter {
133
125
  address: RevenueCenterAddress;
134
126
  cutoff_time: TimeHuman | null;
@@ -138,7 +130,6 @@ export interface RevenueCenter {
138
130
  description: string | null;
139
131
  directions_url: string | null;
140
132
  distance?: number;
141
- driving_distance?: DrivingDistance | null;
142
133
  dynamic_prep_times: DynamicPrepTimes;
143
134
  excluded_times: ExcludedTimes | null;
144
135
  first_times: FirstTimes | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/types",
3
- "version": "0.4.114",
3
+ "version": "0.4.116",
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",