@tuki-io/tuki-widgets 0.0.150 → 0.0.151

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": "@tuki-io/tuki-widgets",
3
- "version": "0.0.150",
3
+ "version": "0.0.151",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0",
@@ -10,6 +10,7 @@ export declare class SimplifiedUser {
10
10
  siteId: number;
11
11
  siteName: number;
12
12
  token: string;
13
+ cucmId?: number;
13
14
  department: string;
14
15
  manager: string;
15
16
  associatedPc: string;
@@ -4,7 +4,7 @@ export declare class UserInfoComponent {
4
4
  active: boolean;
5
5
  email: string;
6
6
  position: string;
7
- cucmid: string;
7
+ cucmid: number;
8
8
  get webexUUID(): string | null;
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<UserInfoComponent, never>;
10
10
  static ɵcmp: i0.ɵɵComponentDeclaration<UserInfoComponent, "app-user-info", never, { "name": "name"; "active": "active"; "email": "email"; "position": "position"; "cucmid": "cucmid"; }, {}, never, never, false, never>;
@@ -22,6 +22,9 @@ export declare const API: {
22
22
  PREPARE_PERSON_MIGRATION: string;
23
23
  MIGRATION_FORM: string;
24
24
  START_MIGRATION: string;
25
+ TRIGGER_FIRMWARE_MIGRATION: string;
26
+ REVERT: string;
27
+ SWAP_STATUSES: string;
25
28
  };
26
29
  export declare const REGEX_PATTERN: {
27
30
  EMAIL: string;
@@ -34,3 +37,19 @@ export declare const PAGINATION_SIZE_OPTIONS: number[];
34
37
  export declare const CUCS_TO_IGNORE: number[];
35
38
  export declare const CUCMS_TO_IGNORE: number[];
36
39
  export declare const MAX_INTEGER = 2147483647;
40
+ export declare const CUSTOMER_DESTINATION: {
41
+ MULTI_TENANT_ONLY: string;
42
+ DEDICATED_INSTANCE_ONLY: string;
43
+ HYBRID: string;
44
+ ZOOM: string;
45
+ MANAGE_ONLY: string;
46
+ MICROSOFT: string;
47
+ };
48
+ export declare const CUSTOMER_DESTINATION_MIGTATION_TYPE: {
49
+ MULTI_TENANT_ONLY: string;
50
+ DEDICATED_INSTANCE_ONLY: string;
51
+ HYBRID: string;
52
+ ZOOM: string;
53
+ MANAGE_ONLY: string;
54
+ MICROSOFT: string;
55
+ };
@@ -1,6 +1,7 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { Observable, Subject } from 'rxjs';
3
3
  import { SimplifiedUser } from '../classes/simlified-user';
4
+ import { CUSTOMER_DESTINATION } from '../app.constants';
4
5
  import { APIService } from './api.service';
5
6
  import { ListUser } from '../classes/user-list';
6
7
  import { ApiWebexService } from './api-webex.service';
@@ -30,6 +31,9 @@ export declare class UserService implements OnInit {
30
31
  hasUnsavedChanges(): boolean;
31
32
  setSimplifiedUser(user: any, token?: any): void;
32
33
  private handleSaveUserResponse;
34
+ triggerFirmwareUpgrade(customerId: number, migrationFormId: number | null, deviceMap: Record<number, Record<string, string[]>>, customerType: keyof typeof CUSTOMER_DESTINATION): Observable<any>;
35
+ revertMigration(customerId: number, personId: string): Observable<any>;
36
+ swapStatuses(customerId: number, email: string): Observable<Object>;
33
37
  static ɵfac: i0.ɵɵFactoryDeclaration<UserService, never>;
34
38
  static ɵprov: i0.ɵɵInjectableDeclaration<UserService>;
35
39
  }
@@ -35,6 +35,7 @@ export declare class UsersListComponent implements OnInit, OnDestroy {
35
35
  moveUserPending: boolean;
36
36
  private subscriptions;
37
37
  totalUsersCount: number;
38
+ private readonly destroy$;
38
39
  get form(): FormGroup;
39
40
  constructor(userService: UserService, apiService: APIService, apiWebexService: ApiWebexService, notifications: NotificationService, usersSearchService: UsersSearchService, dialog: MatDialog);
40
41
  ngOnInit(): void;
@@ -57,6 +58,10 @@ export declare class UsersListComponent implements OnInit, OnDestroy {
57
58
  onMoveUser(user: ListUser, index: number, type: string, title: string): void;
58
59
  runMoveUserToMT(): void;
59
60
  searchUsers(token: string): void;
61
+ onFirmwareUpgradeClicked(user: ListUser): void;
62
+ onRevertClicked(user: ListUser): void;
63
+ private setUserPendingStatus;
64
+ private setOriginalUserStatus;
60
65
  static ɵfac: i0.ɵɵFactoryDeclaration<UsersListComponent, never>;
61
66
  static ɵcmp: i0.ɵɵComponentDeclaration<UsersListComponent, "app-users-list", never, { "token": "token"; "customerId": "customerId"; "siteId": "siteId"; "host": "host"; }, { "openUser": "openUser"; "userMoved": "userMoved"; "switchToWizard": "switchToWizard"; }, never, never, false, never>;
62
67
  }