@tuki-io/tuki-widgets 0.0.219-dev.41 → 0.0.219-dev.44

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.
Files changed (219) hide show
  1. package/README.md +24 -24
  2. package/esm2020/contact-center/cc-readiness/cc-readiness.module.mjs +1 -1
  3. package/esm2020/contact-center/cc-readiness/cc-readiness.service.mjs +1 -1
  4. package/esm2020/contact-center/cc-readiness/widgets/licences-requirement/licences-requirement.component.mjs +3 -3
  5. package/esm2020/di2mt/widgets/site-upgrade/progress-bar/progress-bar.component.mjs +3 -3
  6. package/esm2020/di2mt/widgets/site-upgrade/site-upgrade-data-table/site-upgrade-data-table.component.mjs +2 -2
  7. package/esm2020/di2mt/widgets/upgrade-overview/cards/pending-activation-users/pending-activation-users.component.mjs +17 -17
  8. package/esm2020/lib/widgets.component.mjs +9 -9
  9. package/esm2020/lib/widgets.module.mjs +1 -1
  10. package/esm2020/lib/widgets.service.mjs +1 -1
  11. package/esm2020/locations/public-api.mjs +1 -1
  12. package/esm2020/locations/src/app.constants.mjs +6 -2
  13. package/esm2020/locations/src/location-confirm-dialog/location-confirm-dialog.component.mjs +23 -0
  14. package/esm2020/locations/src/locations.component.mjs +90 -13
  15. package/esm2020/locations/src/locations.module.mjs +4 -1
  16. package/esm2020/locations/src/material.module.mjs +8 -1
  17. package/esm2020/locations/src/services/api.service.mjs +1 -1
  18. package/esm2020/locations/src/services/locations.service.mjs +11 -1
  19. package/esm2020/locations/src/types/location.mjs +1 -1
  20. package/esm2020/locations/src/utils/app-loader/app-loader.mjs +3 -3
  21. package/esm2020/meetings/src/app.constants.mjs +1 -1
  22. package/esm2020/meetings/src/components/live-meetings/live-meetings.component.mjs +3 -3
  23. package/esm2020/meetings/src/components/meeting-spaces/meeting-spaces.component.mjs +3 -3
  24. package/esm2020/meetings/src/meetings.component.mjs +3 -3
  25. package/esm2020/meetings/src/meetings.module.mjs +1 -1
  26. package/esm2020/meetings/src/services/live-meetings.service.mjs +1 -1
  27. package/esm2020/meetings/src/services/meeting-spaces.service.mjs +1 -1
  28. package/esm2020/meetings/src/types/live-meeting.mjs +1 -1
  29. package/esm2020/meetings/src/types/meeting-space.mjs +1 -1
  30. package/esm2020/meetings/src/utils/app-loader/app-loader.mjs +3 -3
  31. package/esm2020/public-api.mjs +1 -1
  32. package/esm2020/user-creation/src/app.constants.mjs +1 -1
  33. package/esm2020/user-creation/src/classes/notification.mjs +1 -1
  34. package/esm2020/user-creation/src/classes/site.mjs +1 -1
  35. package/esm2020/user-creation/src/environments/environment.mjs +1 -1
  36. package/esm2020/user-creation/src/interfaces/user-creation-wizard.interfaces.mjs +1 -1
  37. package/esm2020/user-creation/src/shared/components/notification/notification.component.mjs +3 -3
  38. package/esm2020/user-creation/src/shared/pipes/truncate.pipe.mjs +1 -1
  39. package/esm2020/user-creation/src/shared/services/notification.service.mjs +1 -1
  40. package/esm2020/user-creation/src/shared/services/user-creation-api.service.mjs +1 -1
  41. package/esm2020/user-creation/src/shared/services/utils.mjs +1 -1
  42. package/esm2020/user-creation/src/utils/app-loader/app-loader.mjs +3 -3
  43. package/esm2020/user-creation/src/utils/build-savable-end-user.mjs +1 -1
  44. package/esm2020/user-creation/src/utils/device-default-prefix.mjs +1 -1
  45. package/esm2020/user-creation/src/utils/device-name-dynamic-tokens.mjs +1 -1
  46. package/esm2020/user-creation/src/utils/device-name-validation.mjs +1 -1
  47. package/esm2020/user-creation/src/utils/model.mjs +1 -1
  48. package/esm2020/user-creation/src/utils/parse-device-name-rule.mjs +1 -1
  49. package/esm2020/user-creation/src/widgets/user-creation-wizard/user-creation-wizard.component.mjs +3 -3
  50. package/esm2020/user-device-manage/public-api.mjs +1 -1
  51. package/esm2020/user-device-manage/src/app.constants.mjs +1 -1
  52. package/esm2020/user-device-manage/src/classes/device.mjs +1 -1
  53. package/esm2020/user-device-manage/src/classes/deviceProfile.mjs +1 -1
  54. package/esm2020/user-device-manage/src/classes/line-association-interface.mjs +1 -1
  55. package/esm2020/user-device-manage/src/classes/line-association.mjs +1 -1
  56. package/esm2020/user-device-manage/src/classes/line-call-info-display.mjs +1 -1
  57. package/esm2020/user-device-manage/src/classes/line-directory.mjs +1 -1
  58. package/esm2020/user-device-manage/src/classes/line.mjs +1 -1
  59. package/esm2020/user-device-manage/src/classes/notification.mjs +1 -1
  60. package/esm2020/user-device-manage/src/classes/recording-options.mjs +1 -1
  61. package/esm2020/user-device-manage/src/classes/simplified-user.mjs +1 -1
  62. package/esm2020/user-device-manage/src/classes/site-defaults.mjs +1 -1
  63. package/esm2020/user-device-manage/src/classes/translation-pattern.mjs +1 -1
  64. package/esm2020/user-device-manage/src/classes/types.mjs +1 -1
  65. package/esm2020/user-device-manage/src/common-functions.mjs +1 -1
  66. package/esm2020/user-device-manage/src/confirm-dialog/info-dialog.component.mjs +3 -3
  67. package/esm2020/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.mjs +3 -3
  68. package/esm2020/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.mjs +3 -3
  69. package/esm2020/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.mjs +3 -3
  70. package/esm2020/user-device-manage/src/device-associated-line/device-associated-line.component.mjs +1 -1
  71. package/esm2020/user-device-manage/src/device-info/device-info.component.mjs +3 -3
  72. package/esm2020/user-device-manage/src/device-manage-widget.component.mjs +2 -2
  73. package/esm2020/user-device-manage/src/environments/environment.mjs +1 -1
  74. package/esm2020/user-device-manage/src/interseptors/auth.interceptor.mjs +1 -1
  75. package/esm2020/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.mjs +3 -3
  76. package/esm2020/user-device-manage/src/material.module.mjs +1 -1
  77. package/esm2020/user-device-manage/src/notifications/notification.component.mjs +3 -3
  78. package/esm2020/user-device-manage/src/pipes/mac-address.pipe.mjs +1 -1
  79. package/esm2020/user-device-manage/src/services/api.service.mjs +1 -1
  80. package/esm2020/user-device-manage/src/services/device.service.mjs +1 -1
  81. package/esm2020/user-device-manage/src/services/dns.service.mjs +1 -1
  82. package/esm2020/user-device-manage/src/services/line.service.mjs +1 -1
  83. package/esm2020/user-device-manage/src/services/notification.service.mjs +1 -1
  84. package/esm2020/user-device-manage/src/services/removeKynFromIBM.service.mjs +1 -1
  85. package/esm2020/user-device-manage/src/services/site-settings.service.mjs +1 -1
  86. package/esm2020/user-device-manage/src/services/sorting-utils.service.mjs +1 -1
  87. package/esm2020/user-device-manage/src/services/user.service.mjs +1 -1
  88. package/esm2020/user-device-manage/src/services/utils.service.mjs +1 -1
  89. package/esm2020/user-device-manage/src/services/validation.service.mjs +1 -1
  90. package/esm2020/user-device-manage/src/utils/app-loader/app-loader.mjs +3 -3
  91. package/esm2020/user-manage/public-api.mjs +1 -1
  92. package/esm2020/user-manage/src/app.constants.mjs +1 -1
  93. package/esm2020/user-manage/src/classes/device.mjs +1 -1
  94. package/esm2020/user-manage/src/classes/line-association-interface.mjs +1 -1
  95. package/esm2020/user-manage/src/classes/line-association.mjs +1 -1
  96. package/esm2020/user-manage/src/classes/line-call-info-display.mjs +1 -1
  97. package/esm2020/user-manage/src/classes/line-directory.mjs +1 -1
  98. package/esm2020/user-manage/src/classes/line.mjs +1 -1
  99. package/esm2020/user-manage/src/classes/notification.mjs +1 -1
  100. package/esm2020/user-manage/src/classes/pagination.mjs +1 -1
  101. package/esm2020/user-manage/src/classes/recording-options.mjs +1 -1
  102. package/esm2020/user-manage/src/classes/simplified-user.mjs +1 -1
  103. package/esm2020/user-manage/src/classes/table-data.mjs +1 -1
  104. package/esm2020/user-manage/src/classes/translation-pattern.mjs +1 -1
  105. package/esm2020/user-manage/src/classes/user-list.mjs +1 -1
  106. package/esm2020/user-manage/src/common-functions.mjs +1 -1
  107. package/esm2020/user-manage/src/device-list/device-list.component.mjs +3 -3
  108. package/esm2020/user-manage/src/device-list/device-row/device-row.component.mjs +3 -3
  109. package/esm2020/user-manage/src/environments/environment.mjs +1 -1
  110. package/esm2020/user-manage/src/interseptors/auth.interceptor.mjs +1 -1
  111. package/esm2020/user-manage/src/lazy-loading-select/lazy-loading-select.component.mjs +3 -3
  112. package/esm2020/user-manage/src/material.module.mjs +1 -1
  113. package/esm2020/user-manage/src/notifications/notification.component.mjs +3 -3
  114. package/esm2020/user-manage/src/removeKynFromIBM.service.mjs +1 -1
  115. package/esm2020/user-manage/src/services/api.service.mjs +1 -1
  116. package/esm2020/user-manage/src/services/dcp-api.service.mjs +1 -1
  117. package/esm2020/user-manage/src/services/dns.service.mjs +1 -1
  118. package/esm2020/user-manage/src/services/line.service.mjs +1 -1
  119. package/esm2020/user-manage/src/services/notification.service.mjs +1 -1
  120. package/esm2020/user-manage/src/services/removeKynFromIBM.service.mjs +1 -1
  121. package/esm2020/user-manage/src/services/site-settings.service.mjs +1 -1
  122. package/esm2020/user-manage/src/services/sorting-utils.service.mjs +1 -1
  123. package/esm2020/user-manage/src/services/user.service.mjs +1 -1
  124. package/esm2020/user-manage/src/services/utils.service.mjs +1 -1
  125. package/esm2020/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.mjs +3 -3
  126. package/esm2020/user-manage/src/user-info/user-info.component.mjs +3 -3
  127. package/esm2020/user-manage/src/user-manage-widget.component.mjs +2 -2
  128. package/esm2020/user-manage/src/user-manage.module.mjs +1 -1
  129. package/esm2020/user-manage/src/utils/app-loader/app-loader.mjs +3 -3
  130. package/esm2020/user-manage/src/utils/pagination/pagination.component.mjs +3 -3
  131. package/esm2020/users-list/public-api.mjs +1 -1
  132. package/esm2020/users-list/src/app.constants.mjs +1 -1
  133. package/esm2020/users-list/src/classes/app-location.mjs +1 -1
  134. package/esm2020/users-list/src/classes/device.mjs +1 -1
  135. package/esm2020/users-list/src/classes/line.mjs +1 -1
  136. package/esm2020/users-list/src/classes/move-user.mjs +1 -1
  137. package/esm2020/users-list/src/classes/notification.mjs +1 -1
  138. package/esm2020/users-list/src/classes/simlified-user.mjs +1 -1
  139. package/esm2020/users-list/src/classes/table-data.mjs +1 -1
  140. package/esm2020/users-list/src/classes/user-list.mjs +1 -1
  141. package/esm2020/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.mjs +3 -3
  142. package/esm2020/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.mjs +3 -3
  143. package/esm2020/users-list/src/move-user-wizard/move-user-wizard.component.mjs +3 -3
  144. package/esm2020/users-list/src/services/api-webex.service.mjs +1 -1
  145. package/esm2020/users-list/src/services/api.service.mjs +1 -1
  146. package/esm2020/users-list/src/services/dns.service.mjs +1 -1
  147. package/esm2020/users-list/src/services/events-communication.service.mjs +1 -1
  148. package/esm2020/users-list/src/services/notification.service.mjs +1 -1
  149. package/esm2020/users-list/src/services/removeKynFromIBM.service.mjs +1 -1
  150. package/esm2020/users-list/src/services/site-settings.service.mjs +1 -1
  151. package/esm2020/users-list/src/services/user.service.mjs +1 -1
  152. package/esm2020/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.mjs +3 -3
  153. package/esm2020/users-list/src/users-list.component.mjs +3 -3
  154. package/esm2020/users-list/src/utils/app-loader/app-loader.mjs +3 -3
  155. package/esm2020/users-list/src/utils/common-functions.mjs +1 -1
  156. package/esm2020/users-list/src/utils/notifications/notification.component.mjs +3 -3
  157. package/esm2020/users-list/src/utils/utils.service.mjs +1 -1
  158. package/esm2020/workspaces/public-api.mjs +1 -1
  159. package/esm2020/workspaces/src/app.constants.mjs +1 -1
  160. package/esm2020/workspaces/src/components/workspace-detail/workspace-detail.component.mjs +3 -3
  161. package/esm2020/workspaces/src/components/workspaces-filters/workspaces-filters.component.mjs +3 -3
  162. package/esm2020/workspaces/src/components/workspaces-table/workspaces-table.component.mjs +3 -3
  163. package/esm2020/workspaces/src/material.module.mjs +1 -1
  164. package/esm2020/workspaces/src/services/api.service.mjs +1 -1
  165. package/esm2020/workspaces/src/services/workspace-detail.service.mjs +1 -1
  166. package/esm2020/workspaces/src/services/workspaces.service.mjs +1 -1
  167. package/esm2020/workspaces/src/types/workspace.mjs +1 -1
  168. package/esm2020/workspaces/src/utils/app-loader/app-loader.mjs +3 -3
  169. package/esm2020/workspaces/src/utils/device-icon.mjs +1 -1
  170. package/esm2020/workspaces/src/workspaces.component.mjs +8 -8
  171. package/esm2020/workspaces/src/workspaces.module.mjs +1 -1
  172. package/fesm2015/tuki-io-tuki-widgets-contact-center.mjs +2 -2
  173. package/fesm2015/tuki-io-tuki-widgets-contact-center.mjs.map +1 -1
  174. package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs +20 -20
  175. package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs.map +1 -1
  176. package/fesm2015/tuki-io-tuki-widgets-locations.mjs +138 -19
  177. package/fesm2015/tuki-io-tuki-widgets-locations.mjs.map +1 -1
  178. package/fesm2015/tuki-io-tuki-widgets-meetings.mjs +8 -8
  179. package/fesm2015/tuki-io-tuki-widgets-meetings.mjs.map +1 -1
  180. package/fesm2015/tuki-io-tuki-widgets-user-creation.mjs +6 -6
  181. package/fesm2015/tuki-io-tuki-widgets-user-creation.mjs.map +1 -1
  182. package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs +18 -18
  183. package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -1
  184. package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs +18 -18
  185. package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs.map +1 -1
  186. package/fesm2015/tuki-io-tuki-widgets-users-list.mjs +14 -14
  187. package/fesm2015/tuki-io-tuki-widgets-users-list.mjs.map +1 -1
  188. package/fesm2015/tuki-io-tuki-widgets-workspaces.mjs +15 -15
  189. package/fesm2015/tuki-io-tuki-widgets-workspaces.mjs.map +1 -1
  190. package/fesm2015/tuki-io-tuki-widgets.mjs +8 -8
  191. package/fesm2015/tuki-io-tuki-widgets.mjs.map +1 -1
  192. package/fesm2020/tuki-io-tuki-widgets-contact-center.mjs +2 -2
  193. package/fesm2020/tuki-io-tuki-widgets-contact-center.mjs.map +1 -1
  194. package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs +20 -20
  195. package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs.map +1 -1
  196. package/fesm2020/tuki-io-tuki-widgets-locations.mjs +136 -19
  197. package/fesm2020/tuki-io-tuki-widgets-locations.mjs.map +1 -1
  198. package/fesm2020/tuki-io-tuki-widgets-meetings.mjs +8 -8
  199. package/fesm2020/tuki-io-tuki-widgets-meetings.mjs.map +1 -1
  200. package/fesm2020/tuki-io-tuki-widgets-user-creation.mjs +6 -6
  201. package/fesm2020/tuki-io-tuki-widgets-user-creation.mjs.map +1 -1
  202. package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs +18 -18
  203. package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -1
  204. package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs +18 -18
  205. package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs.map +1 -1
  206. package/fesm2020/tuki-io-tuki-widgets-users-list.mjs +14 -14
  207. package/fesm2020/tuki-io-tuki-widgets-users-list.mjs.map +1 -1
  208. package/fesm2020/tuki-io-tuki-widgets-workspaces.mjs +15 -15
  209. package/fesm2020/tuki-io-tuki-widgets-workspaces.mjs.map +1 -1
  210. package/fesm2020/tuki-io-tuki-widgets.mjs +8 -8
  211. package/fesm2020/tuki-io-tuki-widgets.mjs.map +1 -1
  212. package/locations/src/app.constants.d.ts +4 -0
  213. package/locations/src/location-confirm-dialog/location-confirm-dialog.component.d.ts +15 -0
  214. package/locations/src/locations.component.d.ts +12 -3
  215. package/locations/src/locations.module.d.ts +7 -6
  216. package/locations/src/material.module.d.ts +6 -5
  217. package/locations/src/services/locations.service.d.ts +8 -0
  218. package/locations/src/types/location.d.ts +2 -0
  219. package/package.json +1 -1
@@ -1,12 +1,14 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
1
+ import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
+ import { MatDialog } from '@angular/material/dialog';
2
3
  import { APIService } from './services/api.service';
3
4
  import { LocationsService } from './services/locations.service';
4
5
  import { Location } from './types/location';
5
6
  import * as i0 from "@angular/core";
6
7
  type LocationsSortDirection = 'asc' | 'desc';
7
- export declare class LocationsComponent implements OnInit {
8
+ export declare class LocationsComponent implements OnInit, OnDestroy {
8
9
  private apiService;
9
10
  private locationsService;
11
+ private dialog;
10
12
  exHost: string;
11
13
  token: string;
12
14
  customerId: number;
@@ -30,8 +32,10 @@ export declare class LocationsComponent implements OnInit {
30
32
  pendingActions: string;
31
33
  };
32
34
  private readonly countryDisplayNames;
33
- constructor(apiService: APIService, locationsService: LocationsService);
35
+ private readonly migrationIntervals;
36
+ constructor(apiService: APIService, locationsService: LocationsService, dialog: MatDialog);
34
37
  ngOnInit(): void;
38
+ ngOnDestroy(): void;
35
39
  private loadPage;
36
40
  get pendingLocations(): Location[];
37
41
  get showPendingBanner(): boolean;
@@ -59,6 +63,11 @@ export declare class LocationsComponent implements OnInit {
59
63
  onOpenLocation(location: Location): void;
60
64
  onEditLocation(location: Location): void;
61
65
  onRemoveLocation(location: Location): void;
66
+ canMigrateSite(location: Location): boolean;
67
+ onMigrateSite(location: Location): void;
68
+ private migrateSite;
69
+ private pollMigrationStatus;
70
+ private clearMigrationInterval;
62
71
  onAddLocation(): void;
63
72
  onImportLocations(): void;
64
73
  exportLocations(): void;
@@ -1,12 +1,13 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./locations.component";
3
- import * as i2 from "./utils/app-loader/app-loader";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "@angular/common/http";
6
- import * as i5 from "@angular/forms";
7
- import * as i6 from "./material.module";
3
+ import * as i2 from "./location-confirm-dialog/location-confirm-dialog.component";
4
+ import * as i3 from "./utils/app-loader/app-loader";
5
+ import * as i4 from "@angular/common";
6
+ import * as i5 from "@angular/common/http";
7
+ import * as i6 from "@angular/forms";
8
+ import * as i7 from "./material.module";
8
9
  export declare class LocationsModule {
9
10
  static ɵfac: i0.ɵɵFactoryDeclaration<LocationsModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<LocationsModule, [typeof i1.LocationsComponent, typeof i2.AppLoaderComponent], [typeof i3.CommonModule, typeof i4.HttpClientModule, typeof i5.FormsModule, typeof i6.MaterialModule], [typeof i1.LocationsComponent]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LocationsModule, [typeof i1.LocationsComponent, typeof i2.LocationConfirmDialogComponent, typeof i3.AppLoaderComponent], [typeof i4.CommonModule, typeof i5.HttpClientModule, typeof i6.FormsModule, typeof i7.MaterialModule], [typeof i1.LocationsComponent]>;
11
12
  static ɵinj: i0.ɵɵInjectorDeclaration<LocationsModule>;
12
13
  }
@@ -1,11 +1,12 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "@angular/material/button";
3
- import * as i2 from "@angular/material/icon";
4
- import * as i3 from "@angular/material/menu";
5
- import * as i4 from "@angular/material/progress-spinner";
6
- import * as i5 from "@angular/material/tooltip";
3
+ import * as i2 from "@angular/material/dialog";
4
+ import * as i3 from "@angular/material/icon";
5
+ import * as i4 from "@angular/material/menu";
6
+ import * as i5 from "@angular/material/progress-spinner";
7
+ import * as i6 from "@angular/material/tooltip";
7
8
  export declare class MaterialModule {
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<MaterialModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialModule, never, [typeof i1.MatButtonModule, typeof i2.MatIconModule, typeof i3.MatMenuModule, typeof i4.MatProgressSpinnerModule, typeof i5.MatTooltipModule], [typeof i1.MatButtonModule, typeof i2.MatIconModule, typeof i3.MatMenuModule, typeof i4.MatProgressSpinnerModule, typeof i5.MatTooltipModule]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialModule, never, [typeof i1.MatButtonModule, typeof i2.MatDialogModule, typeof i3.MatIconModule, typeof i4.MatMenuModule, typeof i5.MatProgressSpinnerModule, typeof i6.MatTooltipModule], [typeof i1.MatButtonModule, typeof i2.MatDialogModule, typeof i3.MatIconModule, typeof i4.MatMenuModule, typeof i5.MatProgressSpinnerModule, typeof i6.MatTooltipModule]>;
10
11
  static ɵinj: i0.ɵɵInjectorDeclaration<MaterialModule>;
11
12
  }
@@ -6,10 +6,18 @@ export interface LocationsPage {
6
6
  locations: Location[];
7
7
  totalElements: number;
8
8
  }
9
+ export interface SiteBatchStatus {
10
+ id: number;
11
+ status: string;
12
+ progress: number;
13
+ migErrorsCount: string;
14
+ }
9
15
  export declare class LocationsService {
10
16
  private apiService;
11
17
  constructor(apiService: APIService);
12
18
  fetchLocations(customerId: number, page: number, size: number): Observable<LocationsPage>;
19
+ migrateSite(siteId: string): Observable<number>;
20
+ getMigrationBatchStatuses(customerId: number, batchIds: number[]): Observable<SiteBatchStatus[]>;
13
21
  static ɵfac: i0.ɵɵFactoryDeclaration<LocationsService, never>;
14
22
  static ɵprov: i0.ɵɵInjectableDeclaration<LocationsService>;
15
23
  }
@@ -7,6 +7,7 @@ export interface LocationAddress {
7
7
  country: string;
8
8
  countryName: string;
9
9
  }
10
+ export type LocationMigrationStatus = 'IN_PROGRESS' | 'COMPLETED' | 'FAILED';
10
11
  export interface Location {
11
12
  id: string;
12
13
  name: string;
@@ -14,4 +15,5 @@ export interface Location {
14
15
  address: LocationAddress;
15
16
  provisioningType: string;
16
17
  hasPendingActions: boolean;
18
+ migrationStatus?: LocationMigrationStatus;
17
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuki-io/tuki-widgets",
3
- "version": "0.0.219-dev.41",
3
+ "version": "0.0.219-dev.44",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0",