@autobusal/providers 1.3.0 → 1.3.2
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.
- package/CHANGELOG.md +13 -0
- package/package.json +1 -1
- package/types/orders.ts +2 -0
- package/types/routes.ts +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,19 @@ All notable changes to `@autobusal/providers` are documented here. This project
|
|
|
4
4
|
adheres to [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and
|
|
5
5
|
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [1.3.2] - 2026-07-25
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- `RouteData.passenger_fields` (route form submit shape) missing from 1.3.1.
|
|
12
|
+
|
|
13
|
+
## [1.3.1] - 2026-07-25
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
|
|
17
|
+
- `TripData.passenger_fields` (which passenger details a route requires at
|
|
18
|
+
checkout) and `TicketData.whatsapp`/`telegram` messaging contacts.
|
|
19
|
+
|
|
7
20
|
## [1.3.0] - 2026-07-25
|
|
8
21
|
|
|
9
22
|
### Changed
|
package/package.json
CHANGED
package/types/orders.ts
CHANGED
package/types/routes.ts
CHANGED
|
@@ -20,6 +20,7 @@ export interface RouteData {
|
|
|
20
20
|
drivers: DriversData
|
|
21
21
|
orders: OrderData[]
|
|
22
22
|
features?: number[]
|
|
23
|
+
passenger_fields?: string[]
|
|
23
24
|
trip: TripData
|
|
24
25
|
link: string
|
|
25
26
|
link_purchase: string
|
|
@@ -50,6 +51,10 @@ export interface TransitingData {
|
|
|
50
51
|
}
|
|
51
52
|
|
|
52
53
|
export interface TripData {
|
|
54
|
+
// Edited: Ferjolt Ozuni - Date: 2026-07-25
|
|
55
|
+
// which passenger details this route requires at checkout
|
|
56
|
+
// (null = legacy default: sex + passport)
|
|
57
|
+
passenger_fields?: string[] | null
|
|
53
58
|
id: number
|
|
54
59
|
bus?: BusData
|
|
55
60
|
bags_weight_display: string
|