@flusys/ng-auth 6.0.2 → 6.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flusys/ng-auth",
3
- "version": "6.0.2",
3
+ "version": "6.1.0",
4
4
  "description": "Authentication module for FLUSYS Angular applications",
5
5
  "license": "MIT",
6
6
  "peerDependencies": {
@@ -8,10 +8,10 @@
8
8
  "@angular/core": ">=22.0.0",
9
9
  "@angular/forms": ">=22.0.0",
10
10
  "@angular/router": ">=22.0.0",
11
- "@flusys/ng-core": ">=6.0.2",
12
- "@flusys/ng-layout": ">=6.0.2",
13
- "@flusys/ng-shared": ">=6.0.2",
14
- "@flusys/ng-ui": ">=6.0.2",
11
+ "@flusys/ng-core": ">=6.1.0",
12
+ "@flusys/ng-layout": ">=6.1.0",
13
+ "@flusys/ng-shared": ">=6.1.0",
14
+ "@flusys/ng-ui": ">=6.1.0",
15
15
  "rxjs": "^7.8.0"
16
16
  },
17
17
  "sideEffects": false,
@@ -265,6 +265,8 @@ declare class AuthApiService {
265
265
  register(data: IRegistrationRequest): Observable<IRegistrationResponse>;
266
266
  select(data: ISelectRequest): Observable<ILoginResponse>;
267
267
  switchCompany(data: ISwitchCompanyRequest): Observable<ILoginResponse>;
268
+ getCompanies(): Observable<ISingleResponse<ICompanyInfo[]>>;
269
+ getCompanyBranches(companyId: string): Observable<ISingleResponse<IBranchInfo[]>>;
268
270
  refresh(): Observable<IRefreshTokenResponse>;
269
271
  me(): Observable<IMeResponse>;
270
272
  logout(): Observable<IMessageResponse>;
@@ -488,6 +490,8 @@ declare class AuthLayoutApiAdapter implements ILayoutAuthApi {
488
490
  switchCompany(companyId: string, branchId: string): Observable<any>;
489
491
  getUserCompanies(): Observable<ICompanyInfo$1[]>;
490
492
  getCompanyBranches(companyId: string): Observable<IBranchInfo$1[]>;
493
+ getMyCompanies(): Observable<ICompanyInfo$1[]>;
494
+ getMyCompanyBranches(companyId: string): Observable<IBranchInfo$1[]>;
491
495
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AuthLayoutApiAdapter, never>;
492
496
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<AuthLayoutApiAdapter>;
493
497
  }