@tuki-io/tuki-widgets 0.0.219-dev.51 → 0.0.219-dev.53

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.
@@ -5,5 +5,6 @@ export declare const API: {
5
5
  SITE_MIGRATION: {
6
6
  MIGRATE_SITE: string;
7
7
  BATCH_STATUS: string;
8
+ GET_BATCH_SITES: string;
8
9
  };
9
10
  };
@@ -34,10 +34,13 @@ export declare class LocationsComponent implements OnInit, OnDestroy {
34
34
  };
35
35
  private readonly countryDisplayNames;
36
36
  private readonly migrationIntervals;
37
+ private batchIdBySiteId;
37
38
  constructor(apiService: APIService, locationsService: LocationsService, dialog: MatDialog);
38
39
  ngOnInit(): void;
39
40
  ngOnDestroy(): void;
40
41
  private loadSiteLocations;
42
+ private loadBatchSites;
43
+ private applyBatchIds;
41
44
  get pendingLocations(): SiteLocation[];
42
45
  get showPendingBanner(): boolean;
43
46
  get countries(): string[];
@@ -8,11 +8,16 @@ export interface SiteBatchStatus {
8
8
  progress: number;
9
9
  migErrorsCount: string;
10
10
  }
11
+ export interface SiteMigrationBatch {
12
+ id: number;
13
+ siteId: number;
14
+ }
11
15
  export declare class LocationsService {
12
16
  private apiService;
13
17
  constructor(apiService: APIService);
14
18
  fetchSiteLocations(customerId: number): Observable<SiteLocation[]>;
15
- migrateSite(siteId: number): Observable<number>;
19
+ migrateSite(siteId: number, batchId?: number): Observable<number>;
20
+ getBatchSites(customerId: number): Observable<SiteMigrationBatch[]>;
16
21
  getMigrationBatchStatuses(customerId: number, batchIds: number[]): Observable<SiteBatchStatus[]>;
17
22
  static ɵfac: i0.ɵɵFactoryDeclaration<LocationsService, never>;
18
23
  static ɵprov: i0.ɵɵInjectableDeclaration<LocationsService>;
@@ -25,4 +25,5 @@ export interface SiteLocation {
25
25
  site: Site;
26
26
  location: Location | null;
27
27
  migrationStatus?: LocationMigrationStatus;
28
+ batchId?: number;
28
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuki-io/tuki-widgets",
3
- "version": "0.0.219-dev.51",
3
+ "version": "0.0.219-dev.53",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0",
@@ -13,10 +13,14 @@ export declare class WorkspaceDetailComponent implements OnInit {
13
13
  back: EventEmitter<void>;
14
14
  activeTab: WorkspaceDetailTab;
15
15
  details: WorkspaceDetails | null;
16
+ isLoading: boolean;
17
+ expandedIssueId: string | null;
16
18
  constructor(workspaceDetailService: WorkspaceDetailService, location: Location);
17
19
  ngOnInit(): void;
20
+ get callerIdLabel(): string;
18
21
  get deviceName(): string;
19
22
  resolveIcon(model?: string): string;
23
+ toggleIssue(issueId: string): void;
20
24
  selectTab(tab: WorkspaceDetailTab): void;
21
25
  onBack(): void;
22
26
  private updateUrl;
@@ -133,6 +133,7 @@ export interface Workspace {
133
133
  statusLabel: string;
134
134
  device: WorkspaceDeviceRecord;
135
135
  isHybrid: boolean;
136
+ cucmDeviceName: string | null;
136
137
  }
137
138
  export type WorkspaceConnectionType = 'webex' | 'di';
138
139
  export interface WorkspaceOpenEvent {
@@ -144,6 +145,8 @@ export interface WorkspaceIssue {
144
145
  message: string;
145
146
  timestamp: string;
146
147
  actionLabel: string;
148
+ description: string;
149
+ suggestedAction: string;
147
150
  }
148
151
  export interface WorkspaceLocationDetails {
149
152
  country: string;
@@ -153,6 +156,7 @@ export interface WorkspaceCallingDetails {
153
156
  license: string;
154
157
  sipAddress: string;
155
158
  directoryNumber: string;
159
+ extension?: string;
156
160
  routePartition: string;
157
161
  callingSearchSpace: string;
158
162
  securityProfile: string;