@autobusal/providers 1.37.0 → 1.37.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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.37.2
4
+
5
+ ### Added
6
+
7
+ - **`OperatorData` gains the payout bank detail fields** (`bank_name`, `bank_address`, `iban`, `swift`, `bank_currency`, `account_owner`, `bank_document_url`) - see `@autobusal/account-update` 1.2.1.
8
+
9
+ ## 1.37.1
10
+
11
+ ### Added
12
+
13
+ - **`MenuData.location` gains `'footer_1' | 'footer_2'`** - the site footer's two link columns are now admin-managed Menu items (same model the header nav's left/right already use) instead of hardcoded JSX. See `@autobusal/admin-menu` 1.1.3.
14
+
3
15
  ## 1.37.0
4
16
 
5
17
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autobusal/providers",
3
- "version": "1.37.0",
3
+ "version": "1.37.2",
4
4
  "author": "Ferjolt Ozuni",
5
5
  "type": "module",
6
6
  "main": "index.ts"
@@ -51,6 +51,17 @@ export interface OperatorData {
51
51
  // already being published for shipping_enabled.
52
52
  mobile_access?: boolean
53
53
  shipping_enabled?: boolean
54
+ // Edited: Ferjolt Ozuni - Date: 2026-08-10
55
+ // Payout bank details - self-editable, see account-update's
56
+ // operatorDetails.tsx. bank_document is never sent raw (see
57
+ // Operator::$hidden), only its downloadable bank_document_url.
58
+ bank_name?: string
59
+ bank_address?: string
60
+ iban?: string
61
+ swift?: string
62
+ bank_currency?: string
63
+ account_owner?: string
64
+ bank_document_url?: string
54
65
  }
55
66
 
56
67
  export interface GalleryData {
package/types/routes.ts CHANGED
@@ -78,6 +78,12 @@ export interface TripData {
78
78
  available_seats: number
79
79
  blocked_seats: number
80
80
  seating: string
81
+
82
+ // Edited: Claude (BusMagus mobile app) - Date: 2026-08-10
83
+ // Whether this route accepts an e-ticket at boarding or requires a
84
+ // physical printout. null/unset = e-ticket accepted (every route's
85
+ // behaviour before this field existed).
86
+ ticket_delivery?: 'e_ticket' | 'printed_only' | null
81
87
  }
82
88
 
83
89
  export interface FeatureData {
package/types/settings.ts CHANGED
@@ -117,7 +117,7 @@ export interface MenuData {
117
117
  link: string
118
118
  new: 'yes' | 'no'
119
119
  children: MenuData[]
120
- location: 'any' | 'left' | 'right'
120
+ location: 'any' | 'left' | 'right' | 'footer_1' | 'footer_2'
121
121
  parent_id: number | null
122
122
  menu?: MenuData
123
123
  order_id: number