taxtank-core 2.0.9 → 2.0.12

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/index.d.ts CHANGED
@@ -6346,6 +6346,7 @@ declare class ClientMovementService extends RestService$1<ClientMovement$1, Clie
6346
6346
  collectionClass: typeof ClientMovementCollection;
6347
6347
  modelClass: typeof ClientMovement;
6348
6348
  disabledMethods: RestMethod[];
6349
+ mercureTopic: string;
6349
6350
  constructor(environment: any);
6350
6351
  listenEvents(): void;
6351
6352
  getActive(): Observable<ClientMovementCollection>;
@@ -7157,6 +7158,7 @@ declare class ServicePaymentMethodService extends RestService$1<ServicePaymentMe
7157
7158
  protected endpointUri: string;
7158
7159
  collectionClass: typeof Collection;
7159
7160
  modelClass: typeof ServicePaymentMethod;
7161
+ mercureTopic: string;
7160
7162
  constructor(environment: any);
7161
7163
  listenEvents(): void;
7162
7164
  /**
@@ -7190,6 +7192,7 @@ declare class SubscriptionService extends RestService$1<ServiceSubscription$1, S
7190
7192
  modelClass: typeof ServiceSubscription;
7191
7193
  collectionClass: typeof ServiceSubscriptionCollection;
7192
7194
  disabledMethods: RestMethod[];
7195
+ mercureTopic: string;
7193
7196
  constructor(http: HttpClient, environment: any);
7194
7197
  listenEvents(): void;
7195
7198
  startTrial(subscription: ServiceSubscription): Observable<ServiceSubscription>;
@@ -8279,6 +8282,10 @@ declare class AdblockService {
8279
8282
  * provides user management to managers (users with ROLE_ACCOUNTANT for now, more in future)
8280
8283
  */
8281
8284
  declare class UserSwitcherService {
8285
+ private environment;
8286
+ private http;
8287
+ private jwtService;
8288
+ constructor(environment: any);
8282
8289
  /**
8283
8290
  * get switched username
8284
8291
  */
@@ -8286,7 +8293,7 @@ declare class UserSwitcherService {
8286
8293
  /**
8287
8294
  * switch to user (username should be used for correct work of backend)
8288
8295
  */
8289
- set(username: string): void;
8296
+ set(user: User$1): void;
8290
8297
  /**
8291
8298
  * go back to original user
8292
8299
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "2.0.9",
3
+ "version": "2.0.12",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^20.1.3",