@autobusal/providers 1.44.4 → 1.44.6
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/package.json +1 -1
- package/types/agents.ts +3 -0
- package/types/orders.ts +15 -0
- package/types/users.ts +3 -0
package/package.json
CHANGED
package/types/agents.ts
CHANGED
|
@@ -20,6 +20,9 @@ export interface AgentData {
|
|
|
20
20
|
// Claude - 2026-08-22: the floor of the funds balance for website sales
|
|
21
21
|
// (0 = prepaid, positive = postpaid down to -that-much)
|
|
22
22
|
credit_limit?: number
|
|
23
|
+
// Claude - 2026-09-24: the agency has partner API access (the one gate
|
|
24
|
+
// Http\Middleware\ApiConsumer accepts); set by "Enable partner API"
|
|
25
|
+
is_api_consumer?: boolean
|
|
23
26
|
mobile: string
|
|
24
27
|
mobile2: string
|
|
25
28
|
phone: string
|
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
|
package/types/users.ts
CHANGED
|
@@ -60,6 +60,9 @@ export interface ComissionData {
|
|
|
60
60
|
|
|
61
61
|
export interface ApiData {
|
|
62
62
|
api: number
|
|
63
|
+
// Claude - 2026-09-24: whether a partner API key exists - the key itself is
|
|
64
|
+
// never sent (Agents\AdminController::get, ApiConsumers\AdminController::get)
|
|
65
|
+
has_token?: boolean
|
|
63
66
|
bkt: number
|
|
64
67
|
devpos: number
|
|
65
68
|
stripe: number
|