@flusys/ng-auth 1.0.0 → 1.0.1

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": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Authentication module for FLUSYS Angular applications",
5
5
  "license": "MIT",
6
6
  "peerDependencies": {
@@ -8,9 +8,9 @@
8
8
  "@angular/core": ">=21.0.0",
9
9
  "@angular/forms": ">=21.0.0",
10
10
  "@angular/router": ">=21.0.0",
11
- "@flusys/ng-core": ">=1.0.0",
12
- "@flusys/ng-layout": ">=1.0.0",
13
- "@flusys/ng-shared": ">=1.0.0",
11
+ "@flusys/ng-core": ">=1.0.1",
12
+ "@flusys/ng-layout": ">=1.0.1",
13
+ "@flusys/ng-shared": ">=1.0.1",
14
14
  "@primeuix/themes": ">=1.0.0",
15
15
  "primeicons": ">=7.0.0",
16
16
  "primeng": ">=21.0.0"
@@ -3,8 +3,8 @@ import * as rxjs from 'rxjs';
3
3
  import { Observable } from 'rxjs';
4
4
  import * as _angular_core from '@angular/core';
5
5
  import { Signal, Provider } from '@angular/core';
6
- import { HttpClient, HttpRequest, HttpHandlerFn, HttpEvent } from '@angular/common/http';
7
6
  import { CanActivateFn, Routes } from '@angular/router';
7
+ import { HttpRequest, HttpHandlerFn, HttpEvent } from '@angular/common/http';
8
8
  import { ILayoutAuthApi, ICompanyInfo as ICompanyInfo$1, IBranchInfo as IBranchInfo$1, ILayoutAuthState, IUserInfo as IUserInfo$1 } from '@flusys/ng-layout';
9
9
  import * as _angular_forms_signals from '@angular/forms/signals';
10
10
  import * as _flusys_ng_auth from '@flusys/ng-auth';
@@ -445,7 +445,7 @@ declare class AuthStateService {
445
445
  */
446
446
  declare class BranchApiService extends ApiResourceService<ICreateBranchRequest | IUpdateBranchRequest, IBranch> {
447
447
  private readonly _currentCompanyId;
448
- constructor(http: HttpClient);
448
+ constructor();
449
449
  setCurrentCompanyId(companyId: string | null): void;
450
450
  fetchByCompany(companyId: string, search?: string): void;
451
451
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<BranchApiService, never>;
@@ -457,7 +457,7 @@ declare class BranchApiService extends ApiResourceService<ICreateBranchRequest |
457
457
  * Signal-based service for company CRUD operations
458
458
  */
459
459
  declare class CompanyApiService extends ApiResourceService<ICreateCompanyRequest | IUpdateCompanyRequest, ICompany> {
460
- constructor(http: HttpClient);
460
+ constructor();
461
461
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<CompanyApiService, never>;
462
462
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<CompanyApiService>;
463
463
  }
@@ -484,7 +484,7 @@ declare class TokenRefreshStateService {
484
484
  * Signal-based service for user CRUD operations
485
485
  */
486
486
  declare class UserApiService extends ApiResourceService<ICreateUserRequest | IUpdateUserRequest, IUser> {
487
- constructor(http: HttpClient);
487
+ constructor();
488
488
  updateProfile(data: IUpdateUserRequest): Observable<ISingleResponse<IUser>>;
489
489
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<UserApiService, never>;
490
490
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<UserApiService>;
@@ -493,6 +493,7 @@ declare class UserApiService extends ApiResourceService<ICreateUserRequest | IUp
493
493
  /**
494
494
  * User Permission API Service
495
495
  * Handles user-company and user-branch permission assignments.
496
+ * Endpoint: POST /administration/permissions/*
496
497
  */
497
498
  declare class UserPermissionApiService {
498
499
  private readonly appConfig;