@autobusal/providers 1.3.2 → 1.3.4

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,22 @@ 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.4] - 2026-07-25
8
+
9
+ ### Added
10
+
11
+ - `LabelSettings.telegram`: admin-managed bot config (enabled/bot_token/
12
+ bot_username) for the Telegram route-notifications feature.
13
+
14
+ ## [1.3.3] - 2026-07-25
15
+
16
+ ### Added
17
+
18
+ - `LabelPayments.raiffeisen.source`: 'dedicated' | 'main' - whether this
19
+ label uses its own RaiAccept account or routes through the main label's
20
+ account/domain (RaiAccept only accepts one registered domain per
21
+ merchant account). See obtapi RaiffeisenController::relay().
22
+
7
23
  ## [1.3.2] - 2026-07-25
8
24
 
9
25
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autobusal/providers",
3
- "version": "1.3.2",
3
+ "version": "1.3.4",
4
4
  "author": "Ferjolt Ozuni",
5
5
  "type": "module",
6
6
  "main": "index.ts"
package/types/settings.ts CHANGED
@@ -145,6 +145,15 @@ export interface LabelSettings {
145
145
  secret_key?: string
146
146
  }
147
147
  }
148
+
149
+ // Edited: Ferjolt Ozuni - Date: 2026-07-25
150
+ // Admin-managed Telegram bot configuration - bot_username is captured
151
+ // automatically from a live getMe() check on save, not entered by hand.
152
+ telegram?: {
153
+ enabled: boolean
154
+ bot_token?: string
155
+ bot_username?: string
156
+ }
148
157
  }
149
158
 
150
159
  // Edited: Ferjolt Ozuni - Date: 2026-07-18
@@ -201,11 +210,18 @@ export interface LabelPayments {
201
210
  key: string
202
211
  }>
203
212
 
213
+ // Edited: Ferjolt Ozuni - Date: 2026-07-25
214
+ // Added `source`: 'dedicated' (this label's own RaiAccept account,
215
+ // default) or 'main' (routed through the main label's account/domain
216
+ // instead - see obtapi RaiffeisenController::relay()). Top-level, not
217
+ // per-environment - it applies regardless of sandbox/production mode.
204
218
  raiffeisen: GatewayCredentials<{
205
219
  client_id: string
206
220
  username: string
207
221
  password: string
208
- }>
222
+ }> & {
223
+ source: 'dedicated' | 'main'
224
+ }
209
225
 
210
226
  nexi: GatewayCredentials<{
211
227
  api_key: string