@autofleet/zehut 3.0.7 → 3.0.9

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.
@@ -7,6 +7,7 @@ export interface UserPayload {
7
7
  businessModels: EntityPermissions;
8
8
  fleets: EntityPermissions;
9
9
  demandSources: EntityPermissions;
10
+ businessAccounts?: EntityPermissions;
10
11
  accountType?: AccountType;
11
12
  contexts?: EntityPermissions;
12
13
  createdAt?: string;
@@ -17,6 +18,7 @@ export interface PartialUserPayload {
17
18
  demandSources?: EntityPermissions;
18
19
  vehicles?: EntityPermissions;
19
20
  drivers?: EntityPermissions;
21
+ businessAccounts?: EntityPermissions;
20
22
  }
21
23
  export type CustomPermissionLoader = (string: any) => Promise<UserPayload>;
22
24
  export default class ApiUser {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autofleet/zehut",
3
- "version": "3.0.7",
3
+ "version": "3.0.9",
4
4
  "description": "manage user's identity",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -25,7 +25,6 @@
25
25
  "dependencies": {
26
26
  "@autofleet/network": "^1.5.0",
27
27
  "@autofleet/outbreak": "^1.0.4",
28
- "@autofleet/zehut": "^1.4.12",
29
28
  "axios": "^0.27.2",
30
29
  "express": "^4.18.1",
31
30
  "jsonwebtoken": "^8.5.1",