@autobusal/providers 1.0.45 → 1.0.46

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types/routes.ts +1 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autobusal/providers",
3
- "version": "1.0.45",
3
+ "version": "1.0.46",
4
4
  "type": "module",
5
5
  "main": "index.ts"
6
6
  }
package/types/routes.ts CHANGED
@@ -40,23 +40,14 @@ export interface PolicyData {
40
40
  policies: string
41
41
  }
42
42
 
43
- export interface FoundData {
44
- id: number
45
- name: string
43
+ export interface FoundData extends Omit<RouteData, 'locations'> {
46
44
  price: PriceData
47
45
  duration: string
48
46
  customs: string[]
49
- transiting: string[]
50
47
  locations: {
51
48
  from: LocationData
52
49
  to: LocationData
53
50
  }
54
- code: string
55
- link: string
56
- operator: OperatorData
57
- trip: {
58
- features: FeatureData[]
59
- }
60
51
  }
61
52
 
62
53
  export interface PriceData {