@autobusal/providers 1.40.5 → 1.40.6
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 +4 -0
- package/package.json +2 -2
- package/types/settings.ts +14 -0
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/types/settings.ts
CHANGED
|
@@ -67,6 +67,20 @@ export interface SettingsData {
|
|
|
67
67
|
* bought. Optional so an older payload cannot crash the checkout.
|
|
68
68
|
*/
|
|
69
69
|
sms?: { available: boolean, price: number }
|
|
70
|
+
|
|
71
|
+
// Edited: Ferjolt Ozuni - Date: 2026-08-03 / typed 2026-08-26
|
|
72
|
+
// Flexible Ticket: `available` only - the real offer and price are
|
|
73
|
+
// per-booking (Orders\FlexController).
|
|
74
|
+
flex?: { available: boolean, price: number }
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Edited: Claude - Date: 2026-08-26
|
|
78
|
+
* Seat selection. `available: true` is what flips checkout from the
|
|
79
|
+
* legacy required-free pick to optional-and-priced; `price` is per
|
|
80
|
+
* hand-picked seat, display only - the server prices the charge.
|
|
81
|
+
* Optional so an older payload cannot crash the checkout.
|
|
82
|
+
*/
|
|
83
|
+
seats?: { available: boolean, price: number }
|
|
70
84
|
}
|
|
71
85
|
|
|
72
86
|
// Edited: Ferjolt Ozuni - Date: 2026-07-31
|