@autobusal/providers 1.33.0 → 1.34.0

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,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.34.0
4
+
5
+ ### Added
6
+
7
+ - **`OperatorData.brand_name` / `OperatorData.display_name`** - an operator's optional public-facing trade name and the computed field (`brand_name` if set, else `company`) every customer-facing display should read. `company` stays as the registered legal name, for legal/financial contexts only.
8
+
3
9
  ## 1.33.0
4
10
 
5
11
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autobusal/providers",
3
- "version": "1.33.0",
3
+ "version": "1.34.0",
4
4
  "author": "Ferjolt Ozuni",
5
5
  "type": "module",
6
6
  "main": "index.ts"
@@ -8,6 +8,14 @@ export interface OperatorData {
8
8
  rating?: RatingData | null
9
9
  id: number
10
10
  company: string
11
+ // Edited: Ferjolt Ozuni - Date: 2026-08-10
12
+ // brand_name is the raw, optional override; display_name is what every
13
+ // customer-facing display should actually read (brand_name if set, else
14
+ // company) - obtapi computes the fallback, nothing on this side should
15
+ // re-derive it. `company` itself stays for legal/financial contexts
16
+ // only (invoices, admin/back-office screens).
17
+ brand_name?: string
18
+ display_name: string
11
19
  nipt: string
12
20
  name: string
13
21
  code: string