@autobusal/providers 1.3.1 → 1.3.3

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
@@ -4,6 +4,21 @@ 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.3] - 2026-07-25
8
+
9
+ ### Added
10
+
11
+ - `LabelPayments.raiffeisen.source`: 'dedicated' | 'main' - whether this
12
+ label uses its own RaiAccept account or routes through the main label's
13
+ account/domain (RaiAccept only accepts one registered domain per
14
+ merchant account). See obtapi RaiffeisenController::relay().
15
+
16
+ ## [1.3.2] - 2026-07-25
17
+
18
+ ### Fixed
19
+
20
+ - `RouteData.passenger_fields` (route form submit shape) missing from 1.3.1.
21
+
7
22
  ## [1.3.1] - 2026-07-25
8
23
 
9
24
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autobusal/providers",
3
- "version": "1.3.1",
3
+ "version": "1.3.3",
4
4
  "author": "Ferjolt Ozuni",
5
5
  "type": "module",
6
6
  "main": "index.ts"
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
package/types/settings.ts CHANGED
@@ -201,11 +201,18 @@ export interface LabelPayments {
201
201
  key: string
202
202
  }>
203
203
 
204
+ // Edited: Ferjolt Ozuni - Date: 2026-07-25
205
+ // Added `source`: 'dedicated' (this label's own RaiAccept account,
206
+ // default) or 'main' (routed through the main label's account/domain
207
+ // instead - see obtapi RaiffeisenController::relay()). Top-level, not
208
+ // per-environment - it applies regardless of sandbox/production mode.
204
209
  raiffeisen: GatewayCredentials<{
205
210
  client_id: string
206
211
  username: string
207
212
  password: string
208
- }>
213
+ }> & {
214
+ source: 'dedicated' | 'main'
215
+ }
209
216
 
210
217
  nexi: GatewayCredentials<{
211
218
  api_key: string