@autobusal/providers 1.37.12 → 1.37.14

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types/settings.ts +20 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autobusal/providers",
3
- "version": "1.37.12",
3
+ "version": "1.37.14",
4
4
  "author": "Ferjolt Ozuni",
5
5
  "type": "module",
6
6
  "main": "index.ts"
package/types/settings.ts CHANGED
@@ -175,6 +175,14 @@ export interface LabelSettings {
175
175
  kop: string
176
176
  njb: string
177
177
  city: string
178
+
179
+ // Edited: Claude - Date: 2026-08-21
180
+ // The seller's own country, ISO 3166-1 alpha-2. Optional because the
181
+ // field is new and no existing brand has it - obtapi's Payments\Payer
182
+ // uses it as the fallback for a payer with no country of their own,
183
+ // instead of the hardcoded "Albania" that was there before.
184
+ country?: string | null
185
+
178
186
  nipt: string
179
187
  nivf: string
180
188
  nslf: string
@@ -441,11 +449,22 @@ export interface LabelPayments {
441
449
  password: string
442
450
  }> & {
443
451
  source: 'dedicated' | 'main'
452
+
453
+ // Edited: Claude - Date: 2026-08-21
454
+ // The charge currency, ISO 4217 alpha-3. Top-level rather than
455
+ // per-environment: a merchant account's currency is a property of the
456
+ // account, not of whether you are testing against it. Was a literal
457
+ // 'EUR' in obtapi, sent beside an amount denominated in the LABEL's
458
+ // currency - fine while every label is EUR, wrong the moment one is not.
459
+ currency: string
444
460
  }
445
461
 
446
462
  nexi: GatewayCredentials<{
447
463
  api_key: string
448
- }>
464
+ }> & {
465
+ // see the note on raiffeisen.currency above
466
+ currency: string
467
+ }
449
468
  }
450
469
 
451
470
  export interface UploadData {