@autobusal/providers 1.44.5 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autobusal/providers",
3
- "version": "1.44.5",
3
+ "version": "1.44.6",
4
4
  "author": "Ferjolt Ozuni",
5
5
  "type": "module",
6
6
  "main": "index.ts",
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/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