@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.
- package/esm2020/locations/src/app.constants.mjs +6 -2
- package/esm2020/locations/src/locations.component.mjs +19 -4
- package/esm2020/locations/src/services/locations.service.mjs +7 -3
- package/esm2020/locations/src/types/location.mjs +1 -1
- package/esm2020/workspaces/src/components/workspace-detail/workspace-detail.component.mjs +30 -8
- package/esm2020/workspaces/src/services/workspace-detail.service.mjs +7 -2
- package/esm2020/workspaces/src/services/workspaces.service.mjs +7 -4
- package/esm2020/workspaces/src/types/workspace.mjs +1 -1
- package/fesm2015/tuki-io-tuki-widgets-locations.mjs +29 -6
- package/fesm2015/tuki-io-tuki-widgets-locations.mjs.map +1 -1
- package/fesm2015/tuki-io-tuki-widgets-workspaces.mjs +54 -23
- package/fesm2015/tuki-io-tuki-widgets-workspaces.mjs.map +1 -1
- package/fesm2020/tuki-io-tuki-widgets-locations.mjs +29 -6
- package/fesm2020/tuki-io-tuki-widgets-locations.mjs.map +1 -1
- package/fesm2020/tuki-io-tuki-widgets-workspaces.mjs +51 -22
- package/fesm2020/tuki-io-tuki-widgets-workspaces.mjs.map +1 -1
- package/locations/src/app.constants.d.ts +1 -0
- package/locations/src/locations.component.d.ts +3 -0
- package/locations/src/services/locations.service.d.ts +6 -1
- package/locations/src/types/location.d.ts +1 -0
- package/package.json +1 -1
- package/workspaces/src/components/workspace-detail/workspace-detail.component.d.ts +4 -0
- package/workspaces/src/types/workspace.d.ts +4 -0
|
@@ -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>;
|
package/package.json
CHANGED
|
@@ -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;
|