@cbm-common/cbm-types 0.0.320 → 0.0.322

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.
@@ -1,15 +1,16 @@
1
1
  import { AvailabilityBoardModel } from './availability-board.model';
2
2
  import { ValueColumnCompModel } from './models/value-column.model';
3
3
  import { ConfigService } from './services/config.service';
4
+ import { CbmNotificationService } from '../../domain/services/notification/notification.service';
4
5
  interface ReservationMovedEvent {
5
- reservation_id: string;
6
6
  booking_id: string;
7
7
  old_room: string;
8
8
  new_room: string;
9
9
  }
10
10
  export declare class CbmAvailabilityBoardComponent {
11
11
  private readonly configService;
12
- constructor(configService: ConfigService);
12
+ private readonly notification;
13
+ constructor(configService: ConfigService, notification: CbmNotificationService);
13
14
  private readonly elementRef;
14
15
  reservationMoved: import("@angular/core").OutputEmitterRef<ReservationMovedEvent>;
15
16
  draggingReservation: import("@angular/core").WritableSignal<any>;
@@ -6,6 +6,7 @@ type TLocalStorageKey = CbmAuthReactiveModel.TLocalStorageKey;
6
6
  export declare class CbmAuthReactiveService {
7
7
  private readonly authService;
8
8
  private readonly router;
9
+ private routesWithoutTokenValidation;
9
10
  constructor(authService: CbmAuthService, router: Router);
10
11
  setToken: Subject<[CbmAuthReactiveModel.TLocalStorageKey, string | null]>;
11
12
  private userTokenData;
@@ -22,5 +23,7 @@ export declare class CbmAuthReactiveService {
22
23
  private loadTokensFromStorage;
23
24
  private decodeToken;
24
25
  logout(): void;
26
+ private isRouteWithoutTokenValidation;
27
+ private normalizeRoute;
25
28
  }
26
29
  export {};
@@ -31,4 +31,6 @@ export declare class CbmWebSocketService {
31
31
  }>(): Observable<T>;
32
32
  onConnectError<T = string>(): Observable<T>;
33
33
  initPingPong(intervalMs?: number): void;
34
+ joinCustomerCreditCompany(): void;
35
+ refreshCustomerCreditCompany(): Observable<any>;
34
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cbm-common/cbm-types",
3
- "version": "0.0.320",
3
+ "version": "0.0.322",
4
4
  "main": "index.js",
5
5
  "types": "public-api.d.ts",
6
6
  "exports": {
@@ -9,4 +9,4 @@
9
9
  "types": "./public-api.d.ts"
10
10
  }
11
11
  }
12
- }
12
+ }