@autobusal/providers 1.44.4 → 1.44.5

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/orders.ts +15 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autobusal/providers",
3
- "version": "1.44.4",
3
+ "version": "1.44.5",
4
4
  "author": "Ferjolt Ozuni",
5
5
  "type": "module",
6
6
  "main": "index.ts",
package/types/orders.ts CHANGED
@@ -75,6 +75,21 @@ export interface OrderData {
75
75
  payment?: {
76
76
  method: string | null
77
77
  label: string | null
78
+ // Claude - 2026-09-24: the card gateway by name ("Raiffeisen") - the
79
+ // single-order endpoint sends it; the listing maps it client-side
80
+ provider?: string | null
81
+ }
82
+ /*
83
+ * Claude - 2026-09-24: ADMIN ONLY - what sits around the fare on this
84
+ * order, formatted by obtapi (Libraries\Orders\View). `total` is what the
85
+ * buyer's card was charged; the gateway fee is withheld from the brand
86
+ * and is not part of it. A null field has nothing to show.
87
+ */
88
+ charges?: {
89
+ extras: string | null
90
+ surcharge: string | null
91
+ total: string | null
92
+ gateway_fee: string | null
78
93
  }
79
94
  seller?: {
80
95
  name: string