@autobusal/providers 1.40.4 → 1.40.5
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 +7 -0
- package/package.json +2 -2
- package/types/orders.ts +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -369,6 +369,13 @@ added to `OperatorData` and `RouteData`, always optional and often absent.
|
|
|
369
369
|
(`auto_publish`, `threshold`). Absent or false means every review waits for a
|
|
370
370
|
human, which is the default for every brand.
|
|
371
371
|
|
|
372
|
+
## [1.40.5] - 2026-08-26
|
|
373
|
+
|
|
374
|
+
### Added
|
|
375
|
+
|
|
376
|
+
- `OrderData.round_trip?` - whether the order is already half of a round
|
|
377
|
+
trip (either leg); computed by obtapi's single-order endpoint.
|
|
378
|
+
|
|
372
379
|
## [1.17.0] - 2026-08-02
|
|
373
380
|
|
|
374
381
|
### Changed
|
package/package.json
CHANGED
package/types/orders.ts
CHANGED
|
@@ -53,6 +53,10 @@ export interface OrderData {
|
|
|
53
53
|
* Libraries\Orders\View::ownerCategory() (obtapi) for the mapping.
|
|
54
54
|
*/
|
|
55
55
|
owner_category: 'agency' | 'operator' | 'individual'
|
|
56
|
+
// Claude - 2026-08-26: whether this order is already half of a round
|
|
57
|
+
// trip (either leg) - the return-trip offer stays silent when true.
|
|
58
|
+
// Optional: only the single-order endpoint computes it.
|
|
59
|
+
round_trip?: boolean
|
|
56
60
|
// Edited: Ferjolt Ozuni - Date: 2026-08-11
|
|
57
61
|
// Optional now: hidden on a restricted response (the public order lookup
|
|
58
62
|
// and any other non-self-service view) - see View::get()'s $restricted.
|