@tuki-io/tuki-widgets 0.0.219-dev.6 → 0.0.219-dev.60

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 (261) hide show
  1. package/contact-center/cc-import/cc-import.module.d.ts +13 -0
  2. package/contact-center/cc-import/cc-import.service.d.ts +85 -0
  3. package/contact-center/cc-import/components/import-contact-center-panel/import-contact-center-panel.component.d.ts +56 -0
  4. package/contact-center/cc-import/components/import-contact-center-wizard/import-contact-center-wizard.component.d.ts +77 -0
  5. package/contact-center/cc-import/components/import-contact-center-wizard/import-contact-center-wizard.types.d.ts +3 -0
  6. package/contact-center/cc-import/constants/cc-import.constants.d.ts +37 -0
  7. package/contact-center/cc-import/mock/cc-import.mock.d.ts +4 -0
  8. package/contact-center/cc-import/types/cc-import.d.ts +73 -0
  9. package/contact-center/cc-import/types/uccx.d.ts +109 -0
  10. package/contact-center/cc-readiness/cc-readiness.module.d.ts +3 -3
  11. package/contact-center/public-api.d.ts +8 -0
  12. package/contact-center/shared/api.endpoints.d.ts +25 -0
  13. package/contact-center/shared/api.service.d.ts +3 -1
  14. package/contact-center/shared/components/card/card.component.d.ts +13 -0
  15. package/contact-center/shared/dcp-api.service.d.ts +15 -0
  16. package/contact-center/shared/shared.module.d.ts +11 -5
  17. package/di2mt/api/api.endpoints.d.ts +3 -0
  18. package/esm2020/contact-center/cc-import/cc-import.module.mjs +45 -0
  19. package/esm2020/contact-center/cc-import/cc-import.service.mjs +228 -0
  20. package/esm2020/contact-center/cc-import/components/import-contact-center-panel/import-contact-center-panel.component.mjs +144 -0
  21. package/esm2020/contact-center/cc-import/components/import-contact-center-wizard/import-contact-center-wizard.component.mjs +243 -0
  22. package/esm2020/contact-center/cc-import/components/import-contact-center-wizard/import-contact-center-wizard.types.mjs +3 -0
  23. package/esm2020/contact-center/cc-import/constants/cc-import.constants.mjs +62 -0
  24. package/esm2020/contact-center/cc-import/mock/cc-import.mock.mjs +78 -0
  25. package/esm2020/contact-center/cc-import/types/cc-import.mjs +2 -0
  26. package/esm2020/contact-center/cc-import/types/uccx.mjs +24 -0
  27. package/esm2020/contact-center/cc-readiness/cc-readiness.module.mjs +7 -6
  28. package/esm2020/contact-center/cc-readiness/widgets/licences-requirement/licences-requirement.component.mjs +5 -5
  29. package/esm2020/contact-center/cc-readiness/widgets/summary-grid/summary-grid.component.mjs +2 -2
  30. package/esm2020/contact-center/public-api.mjs +9 -1
  31. package/esm2020/contact-center/shared/api.endpoints.mjs +26 -1
  32. package/esm2020/contact-center/shared/api.service.mjs +8 -3
  33. package/esm2020/contact-center/shared/components/card/card.component.mjs +24 -0
  34. package/esm2020/contact-center/shared/dcp-api.service.mjs +26 -0
  35. package/esm2020/contact-center/shared/shared.module.mjs +15 -5
  36. package/esm2020/di2mt/api/api.endpoints.mjs +4 -1
  37. package/esm2020/locations/public-api.mjs +8 -0
  38. package/esm2020/locations/src/app.constants.mjs +18 -0
  39. package/esm2020/locations/src/location-confirm-dialog/location-confirm-dialog.component.mjs +23 -0
  40. package/esm2020/locations/src/locations.component.mjs +398 -0
  41. package/esm2020/locations/src/locations.module.mjs +42 -0
  42. package/esm2020/locations/src/material.module.mjs +55 -0
  43. package/esm2020/locations/src/services/api.service.mjs +67 -0
  44. package/esm2020/locations/src/services/locations.service.mjs +69 -0
  45. package/esm2020/locations/src/types/location.mjs +2 -0
  46. package/esm2020/locations/src/utils/app-loader/app-loader.mjs +14 -0
  47. package/esm2020/locations/tuki-io-tuki-widgets-locations.mjs +5 -0
  48. package/esm2020/meetings/public-api.mjs +8 -0
  49. package/esm2020/meetings/src/app.constants.mjs +9 -0
  50. package/esm2020/meetings/src/components/live-meetings/live-meeting/live-meeting.component.mjs +107 -0
  51. package/esm2020/meetings/src/components/live-meetings/live-meetings.component.mjs +98 -0
  52. package/esm2020/meetings/src/components/meeting-spaces/meeting-space/meeting-space.component.mjs +110 -0
  53. package/esm2020/meetings/src/components/meeting-spaces/meeting-spaces.component.mjs +65 -0
  54. package/esm2020/meetings/src/material.module.mjs +76 -0
  55. package/esm2020/meetings/src/meetings.component.mjs +65 -0
  56. package/esm2020/meetings/src/meetings.module.mjs +51 -0
  57. package/esm2020/meetings/src/services/api.service.mjs +67 -0
  58. package/esm2020/meetings/src/services/live-meetings.service.mjs +178 -0
  59. package/esm2020/meetings/src/services/meeting-spaces.service.mjs +102 -0
  60. package/esm2020/meetings/src/types/live-meeting.mjs +2 -0
  61. package/esm2020/meetings/src/types/meeting-space.mjs +2 -0
  62. package/esm2020/meetings/src/utils/app-loader/app-loader.mjs +14 -0
  63. package/esm2020/meetings/tuki-io-tuki-widgets-meetings.mjs +5 -0
  64. package/esm2020/shared/public-api.mjs +4 -0
  65. package/esm2020/shared/src/ui/material.module.mjs +188 -0
  66. package/esm2020/shared/src/ui/shared.module.mjs +36 -0
  67. package/esm2020/shared/src/ui/tk-page-section/tk-page-section.component.mjs +13 -0
  68. package/esm2020/shared/src/ui/tk-page-section-row/tk-page-section-row.component.mjs +13 -0
  69. package/esm2020/shared/src/ui/ui.module.mjs +37 -0
  70. package/esm2020/shared/tuki-io-tuki-widgets-shared.mjs +5 -0
  71. package/esm2020/user-creation/src/utils/device-default-prefix.mjs +19 -2
  72. package/esm2020/user-creation/src/utils/device-name-dynamic-tokens.mjs +4 -0
  73. package/esm2020/user-creation/src/utils/parse-device-name-rule.mjs +6 -3
  74. package/esm2020/user-creation/src/widgets/user-creation-wizard/components/user-details-step/user-details-step.component.mjs +60 -13
  75. package/esm2020/user-creation/src/widgets/user-creation-wizard/components/user-template-step/user-template-step.component.mjs +2 -1
  76. package/esm2020/user-creation/src/widgets/user-creation-wizard/user-creation-wizard.component.mjs +8 -6
  77. package/esm2020/user-creation/src/widgets/user-creation-wizard/user-creation-wizard.service.mjs +13 -9
  78. package/esm2020/user-device-manage/public-api.mjs +4 -1
  79. package/esm2020/user-device-manage/src/app.constants.mjs +9 -3
  80. package/esm2020/user-device-manage/src/associate-lines/associate-lines.component.mjs +311 -0
  81. package/esm2020/user-device-manage/src/classes/device.mjs +1 -1
  82. package/esm2020/user-device-manage/src/classes/deviceProfile.mjs +1 -1
  83. package/esm2020/user-device-manage/src/classes/simplified-user.mjs +1 -1
  84. package/esm2020/user-device-manage/src/confirm-dialog/info-dialog.component.mjs +2 -2
  85. package/esm2020/user-device-manage/src/device-manage-widget.component.mjs +34 -17
  86. package/esm2020/user-device-manage/src/device-settings/device-settings.component.mjs +207 -0
  87. package/esm2020/user-device-manage/src/line-key-config/line-key-config.component.mjs +401 -0
  88. package/esm2020/user-device-manage/src/services/device.service.mjs +32 -2
  89. package/esm2020/user-device-manage/src/services/user.service.mjs +34 -6
  90. package/esm2020/user-device-manage/src/user-device-manage.module.mjs +19 -7
  91. package/esm2020/user-manage/src/app.constants.mjs +8 -1
  92. package/esm2020/user-manage/src/classes/simplified-user.mjs +19 -4
  93. package/esm2020/user-manage/src/device-list/device-list.component.mjs +7 -4
  94. package/esm2020/user-manage/src/device-list/device-row/device-row.component.mjs +6 -3
  95. package/esm2020/user-manage/src/lazy-loading-select/lazy-loading-select.component.mjs +9 -5
  96. package/esm2020/user-manage/src/material.module.mjs +21 -7
  97. package/esm2020/user-manage/src/services/dcp-api.service.mjs +79 -0
  98. package/esm2020/user-manage/src/services/site-settings.service.mjs +11 -4
  99. package/esm2020/user-manage/src/services/user.service.mjs +94 -19
  100. package/esm2020/user-manage/src/user-calling/user-calling.component.mjs +12 -7
  101. package/esm2020/user-manage/src/user-manage-widget.component.mjs +90 -39
  102. package/esm2020/user-manage/src/user-manage.module.mjs +14 -4
  103. package/esm2020/user-manage/src/user-summary/user-summary.component.mjs +30 -0
  104. package/esm2020/users-list/src/app.constants.mjs +2 -1
  105. package/esm2020/users-list/src/classes/simlified-user.mjs +1 -1
  106. package/esm2020/users-list/src/classes/user-list.mjs +2 -1
  107. package/esm2020/users-list/src/components/table-toolbar/table-toolbar.component.mjs +3 -3
  108. package/esm2020/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.mjs +14 -3
  109. package/esm2020/users-list/src/move-user-wizard/move-user-wizard.component.mjs +5 -3
  110. package/esm2020/users-list/src/users-list.component.mjs +100 -17
  111. package/esm2020/workspaces/public-api.mjs +8 -0
  112. package/esm2020/workspaces/src/app.constants.mjs +27 -0
  113. package/esm2020/workspaces/src/components/workspace-confirm-dialog/workspace-confirm-dialog.component.mjs +32 -0
  114. package/esm2020/workspaces/src/components/workspace-detail/workspace-detail.component.mjs +96 -0
  115. package/esm2020/workspaces/src/components/workspace-device-detail/workspace-device-detail.component.mjs +66 -0
  116. package/esm2020/workspaces/src/components/workspaces-filters/workspaces-filters.component.mjs +56 -0
  117. package/esm2020/workspaces/src/components/workspaces-table/workspaces-table.component.mjs +130 -0
  118. package/esm2020/workspaces/src/material.module.mjs +83 -0
  119. package/esm2020/workspaces/src/services/api-webex.service.mjs +14 -0
  120. package/esm2020/workspaces/src/services/api.service.mjs +67 -0
  121. package/esm2020/workspaces/src/services/workspace-detail.service.mjs +169 -0
  122. package/esm2020/workspaces/src/services/workspaces-migration.service.mjs +59 -0
  123. package/esm2020/workspaces/src/services/workspaces.service.mjs +150 -0
  124. package/esm2020/workspaces/src/types/workspace.mjs +4 -0
  125. package/esm2020/workspaces/src/utils/app-loader/app-loader.mjs +14 -0
  126. package/esm2020/workspaces/src/utils/device-icon.mjs +13 -0
  127. package/esm2020/workspaces/src/utils/workspace-name.mjs +8 -0
  128. package/esm2020/workspaces/src/workspaces.component.mjs +306 -0
  129. package/esm2020/workspaces/src/workspaces.module.mjs +54 -0
  130. package/esm2020/workspaces/tuki-io-tuki-widgets-workspaces.mjs +5 -0
  131. package/fesm2015/tuki-io-tuki-widgets-contact-center.mjs +998 -127
  132. package/fesm2015/tuki-io-tuki-widgets-contact-center.mjs.map +1 -1
  133. package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs +3 -0
  134. package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs.map +1 -1
  135. package/fesm2015/tuki-io-tuki-widgets-locations.mjs +679 -0
  136. package/fesm2015/tuki-io-tuki-widgets-locations.mjs.map +1 -0
  137. package/fesm2015/tuki-io-tuki-widgets-meetings.mjs +894 -0
  138. package/fesm2015/tuki-io-tuki-widgets-meetings.mjs.map +1 -0
  139. package/fesm2015/tuki-io-tuki-widgets-shared.mjs +280 -0
  140. package/fesm2015/tuki-io-tuki-widgets-shared.mjs.map +1 -0
  141. package/fesm2015/tuki-io-tuki-widgets-user-creation.mjs +111 -32
  142. package/fesm2015/tuki-io-tuki-widgets-user-creation.mjs.map +1 -1
  143. package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs +1013 -48
  144. package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -1
  145. package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs +380 -89
  146. package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs.map +1 -1
  147. package/fesm2015/tuki-io-tuki-widgets-users-list.mjs +121 -22
  148. package/fesm2015/tuki-io-tuki-widgets-users-list.mjs.map +1 -1
  149. package/fesm2015/tuki-io-tuki-widgets-workspaces.mjs +1275 -0
  150. package/fesm2015/tuki-io-tuki-widgets-workspaces.mjs.map +1 -0
  151. package/fesm2020/tuki-io-tuki-widgets-contact-center.mjs +989 -127
  152. package/fesm2020/tuki-io-tuki-widgets-contact-center.mjs.map +1 -1
  153. package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs +3 -0
  154. package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs.map +1 -1
  155. package/fesm2020/tuki-io-tuki-widgets-locations.mjs +672 -0
  156. package/fesm2020/tuki-io-tuki-widgets-locations.mjs.map +1 -0
  157. package/fesm2020/tuki-io-tuki-widgets-meetings.mjs +902 -0
  158. package/fesm2020/tuki-io-tuki-widgets-meetings.mjs.map +1 -0
  159. package/fesm2020/tuki-io-tuki-widgets-shared.mjs +280 -0
  160. package/fesm2020/tuki-io-tuki-widgets-shared.mjs.map +1 -0
  161. package/fesm2020/tuki-io-tuki-widgets-user-creation.mjs +104 -28
  162. package/fesm2020/tuki-io-tuki-widgets-user-creation.mjs.map +1 -1
  163. package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs +996 -47
  164. package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -1
  165. package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs +366 -82
  166. package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs.map +1 -1
  167. package/fesm2020/tuki-io-tuki-widgets-users-list.mjs +120 -22
  168. package/fesm2020/tuki-io-tuki-widgets-users-list.mjs.map +1 -1
  169. package/fesm2020/tuki-io-tuki-widgets-workspaces.mjs +1276 -0
  170. package/fesm2020/tuki-io-tuki-widgets-workspaces.mjs.map +1 -0
  171. package/locations/index.d.ts +5 -0
  172. package/locations/public-api.d.ts +2 -0
  173. package/locations/src/app.constants.d.ts +10 -0
  174. package/locations/src/location-confirm-dialog/location-confirm-dialog.component.d.ts +15 -0
  175. package/locations/src/locations.component.d.ts +92 -0
  176. package/locations/src/locations.module.d.ts +13 -0
  177. package/locations/src/material.module.d.ts +12 -0
  178. package/locations/src/services/api.service.d.ts +18 -0
  179. package/locations/src/services/locations.service.d.ts +25 -0
  180. package/locations/src/types/location.d.ts +30 -0
  181. package/locations/src/utils/app-loader/app-loader.d.ts +6 -0
  182. package/meetings/index.d.ts +5 -0
  183. package/meetings/public-api.d.ts +2 -0
  184. package/meetings/src/app.constants.d.ts +8 -0
  185. package/meetings/src/components/live-meetings/live-meeting/live-meeting.component.d.ts +34 -0
  186. package/meetings/src/components/live-meetings/live-meetings.component.d.ts +43 -0
  187. package/meetings/src/components/meeting-spaces/meeting-space/meeting-space.component.d.ts +39 -0
  188. package/meetings/src/components/meeting-spaces/meeting-spaces.component.d.ts +27 -0
  189. package/meetings/src/material.module.d.ts +15 -0
  190. package/meetings/src/meetings.component.d.ts +29 -0
  191. package/meetings/src/meetings.module.d.ts +16 -0
  192. package/meetings/src/services/api.service.d.ts +18 -0
  193. package/meetings/src/services/live-meetings.service.d.ts +9 -0
  194. package/meetings/src/services/meeting-spaces.service.d.ts +16 -0
  195. package/meetings/src/types/live-meeting.d.ts +71 -0
  196. package/meetings/src/types/meeting-space.d.ts +52 -0
  197. package/meetings/src/utils/app-loader/app-loader.d.ts +6 -0
  198. package/package.json +33 -1
  199. package/shared/index.d.ts +5 -0
  200. package/shared/public-api.d.ts +3 -0
  201. package/shared/src/ui/material.module.d.ts +28 -0
  202. package/shared/src/ui/shared.module.d.ts +10 -0
  203. package/{user-device-manage/src/shared/tk-page-section/page-section.component.d.ts → shared/src/ui/tk-page-section/tk-page-section.component.d.ts} +1 -1
  204. package/shared/src/ui/tk-page-section-row/tk-page-section-row.component.d.ts +6 -0
  205. package/shared/src/ui/ui.module.d.ts +11 -0
  206. package/user-creation/src/utils/device-default-prefix.d.ts +7 -2
  207. package/user-creation/src/utils/device-name-dynamic-tokens.d.ts +1 -0
  208. package/user-creation/src/utils/parse-device-name-rule.d.ts +1 -0
  209. package/user-creation/src/widgets/user-creation-wizard/components/user-details-step/user-details-step.component.d.ts +2 -0
  210. package/user-device-manage/public-api.d.ts +3 -0
  211. package/user-device-manage/src/app.constants.d.ts +6 -0
  212. package/user-device-manage/src/associate-lines/associate-lines.component.d.ts +95 -0
  213. package/user-device-manage/src/classes/device.d.ts +15 -0
  214. package/user-device-manage/src/classes/deviceProfile.d.ts +5 -0
  215. package/user-device-manage/src/classes/simplified-user.d.ts +1 -1
  216. package/user-device-manage/src/device-associated-line/device-associated-line.component.d.ts +1 -0
  217. package/user-device-manage/src/device-manage-widget.component.d.ts +6 -1
  218. package/user-device-manage/src/device-settings/device-settings.component.d.ts +53 -0
  219. package/user-device-manage/src/line-key-config/line-key-config.component.d.ts +84 -0
  220. package/user-device-manage/src/services/device.service.d.ts +6 -1
  221. package/user-device-manage/src/services/user.service.d.ts +2 -1
  222. package/user-device-manage/src/user-device-manage.module.d.ts +12 -10
  223. package/user-manage/src/app.constants.d.ts +7 -0
  224. package/user-manage/src/classes/simplified-user.d.ts +17 -1
  225. package/user-manage/src/device-list/device-list.component.d.ts +2 -0
  226. package/user-manage/src/material.module.d.ts +3 -1
  227. package/user-manage/src/services/dcp-api.service.d.ts +21 -0
  228. package/user-manage/src/services/user.service.d.ts +19 -1
  229. package/user-manage/src/user-calling/user-calling.component.d.ts +3 -2
  230. package/user-manage/src/user-manage-widget.component.d.ts +14 -2
  231. package/user-manage/src/user-manage.module.d.ts +9 -7
  232. package/user-manage/src/user-summary/user-summary.component.d.ts +10 -0
  233. package/users-list/src/app.constants.d.ts +1 -0
  234. package/users-list/src/classes/simlified-user.d.ts +1 -1
  235. package/users-list/src/classes/user-list.d.ts +4 -0
  236. package/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.d.ts +3 -1
  237. package/users-list/src/move-user-wizard/move-user-wizard.component.d.ts +2 -1
  238. package/users-list/src/users-list.component.d.ts +6 -1
  239. package/workspaces/index.d.ts +5 -0
  240. package/workspaces/public-api.d.ts +2 -0
  241. package/workspaces/src/app.constants.d.ts +25 -0
  242. package/workspaces/src/components/workspace-confirm-dialog/workspace-confirm-dialog.component.d.ts +20 -0
  243. package/workspaces/src/components/workspace-detail/workspace-detail.component.d.ts +34 -0
  244. package/workspaces/src/components/workspace-device-detail/workspace-device-detail.component.d.ts +25 -0
  245. package/workspaces/src/components/workspaces-filters/workspaces-filters.component.d.ts +20 -0
  246. package/workspaces/src/components/workspaces-table/workspaces-table.component.d.ts +43 -0
  247. package/workspaces/src/material.module.d.ts +16 -0
  248. package/workspaces/src/services/api-webex.service.d.ts +6 -0
  249. package/workspaces/src/services/api.service.d.ts +18 -0
  250. package/workspaces/src/services/workspace-detail.service.d.ts +22 -0
  251. package/workspaces/src/services/workspaces-migration.service.d.ts +18 -0
  252. package/workspaces/src/services/workspaces.service.d.ts +11 -0
  253. package/workspaces/src/types/workspace.d.ts +439 -0
  254. package/workspaces/src/utils/app-loader/app-loader.d.ts +6 -0
  255. package/workspaces/src/utils/device-icon.d.ts +1 -0
  256. package/workspaces/src/utils/workspace-name.d.ts +1 -0
  257. package/workspaces/src/workspaces.component.d.ts +74 -0
  258. package/workspaces/src/workspaces.module.d.ts +17 -0
  259. package/contact-center/cc-readiness/components/card/card.component.d.ts +0 -6
  260. package/esm2020/contact-center/cc-readiness/components/card/card.component.mjs +0 -13
  261. package/esm2020/user-device-manage/src/shared/tk-page-section/page-section.component.mjs +0 -13
@@ -5,41 +5,53 @@ import { APIService } from "./services/api.service";
5
5
  import { LineAssociation } from './classes/line-association';
6
6
  import { LineAssociationInterface } from './classes/line-association-interface';
7
7
  import { Device } from './classes/device';
8
+ import { DcpApiService } from './services/dcp-api.service';
8
9
  import * as i0 from "@angular/core";
9
10
  export declare class UserManageWidgetComponent implements OnInit {
10
11
  userService: UserService;
11
12
  private apiService;
13
+ private dcpApiService;
12
14
  dataPending: boolean;
15
+ savePending: boolean;
13
16
  onSave: EventEmitter<string>;
14
17
  onChange: EventEmitter<string>;
15
18
  selectDevice: EventEmitter<any>;
16
19
  goBack: EventEmitter<any>;
17
20
  token: string;
18
21
  host: string;
22
+ dcpHost: string;
19
23
  siteId: number;
20
24
  userId: string;
21
25
  deviceName: string;
22
26
  isLdap: boolean;
27
+ authLevelOptions: string[];
23
28
  get form(): FormGroup;
24
29
  get user(): any;
25
30
  get userName(): string;
26
31
  get lineAssociation(): LineAssociation | LineAssociationInterface | undefined;
32
+ get primaryLineReference(): string | undefined;
33
+ get webexUUID(): string | null;
27
34
  private readonly router;
28
- constructor(userService: UserService, apiService: APIService);
35
+ private readonly location;
36
+ readonly ON_PREM_ID = 2542;
37
+ constructor(userService: UserService, apiService: APIService, dcpApiService: DcpApiService);
29
38
  ngOnInit(): void;
30
39
  onDeviceSelect(device: Device): void;
31
40
  onGoBack(): void;
32
41
  onExtensionChange(): void;
33
42
  onChangeField(token: string): void;
34
43
  saveChanges(): void;
44
+ cancelChanges(): void;
45
+ hasUnsavedChanges(): boolean;
35
46
  toggleEditMode(): void;
36
47
  isSavingDisabled(): boolean;
37
48
  changeField(token: string): void;
38
49
  private digestCredentialsHandler;
39
50
  private getData;
40
51
  private setCookie;
52
+ private updateUrlIfUserIdChanged;
41
53
  private validateUserId;
42
54
  save(): void;
43
55
  static ɵfac: i0.ɵɵFactoryDeclaration<UserManageWidgetComponent, never>;
44
- static ɵcmp: i0.ɵɵComponentDeclaration<UserManageWidgetComponent, "app-user-manage-widget", never, { "token": "token"; "host": "host"; "siteId": "siteId"; "userId": "userId"; "deviceName": "deviceName"; "isLdap": "isLdap"; }, { "onSave": "onSave"; "onChange": "onChange"; "selectDevice": "selectDevice"; "goBack": "goBack"; }, never, never, false, never>;
56
+ static ɵcmp: i0.ɵɵComponentDeclaration<UserManageWidgetComponent, "app-user-manage-widget", never, { "token": "token"; "host": "host"; "dcpHost": "dcpHost"; "siteId": "siteId"; "userId": "userId"; "deviceName": "deviceName"; "isLdap": "isLdap"; }, { "onSave": "onSave"; "onChange": "onChange"; "selectDevice": "selectDevice"; "goBack": "goBack"; }, never, never, false, never>;
45
57
  }
@@ -9,14 +9,16 @@ import * as i7 from "./user-calling/user-calling.component";
9
9
  import * as i8 from "./user-calling/user-calling-extension/user-calling-extension.component";
10
10
  import * as i9 from "./device-list/device-list.component";
11
11
  import * as i10 from "./device-list/device-row/device-row.component";
12
- import * as i11 from "@angular/common";
13
- import * as i12 from "@angular/platform-browser";
14
- import * as i13 from "@angular/platform-browser/animations";
15
- import * as i14 from "@angular/forms";
16
- import * as i15 from "@angular/common/http";
17
- import * as i16 from "./material.module";
12
+ import * as i11 from "./user-summary/user-summary.component";
13
+ import * as i12 from "@angular/common";
14
+ import * as i13 from "@angular/platform-browser";
15
+ import * as i14 from "@angular/platform-browser/animations";
16
+ import * as i15 from "@angular/forms";
17
+ import * as i16 from "@angular/common/http";
18
+ import * as i17 from "./material.module";
19
+ import * as i18 from "@tuki-io/tuki-widgets/shared";
18
20
  export declare class UserManageModule {
19
21
  static ɵfac: i0.ɵɵFactoryDeclaration<UserManageModule, never>;
20
- static ɵmod: i0.ɵɵNgModuleDeclaration<UserManageModule, [typeof i1.AppLoaderComponent, typeof i2.UserInfoComponent, typeof i3.NotificationsComponent, typeof i4.PaginationComponent, typeof i5.LazyLoadingSelectComponent, typeof i6.UserManageWidgetComponent, typeof i7.UserCallingComponent, typeof i8.UserCallingExtensionComponent, typeof i9.DeviceListComponent, typeof i10.DeviceRowComponent], [typeof i11.CommonModule, typeof i12.BrowserModule, typeof i13.BrowserAnimationsModule, typeof i14.FormsModule, typeof i14.ReactiveFormsModule, typeof i15.HttpClientModule, typeof i16.MaterialModule], [typeof i6.UserManageWidgetComponent]>;
22
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UserManageModule, [typeof i1.AppLoaderComponent, typeof i2.UserInfoComponent, typeof i3.NotificationsComponent, typeof i4.PaginationComponent, typeof i5.LazyLoadingSelectComponent, typeof i6.UserManageWidgetComponent, typeof i7.UserCallingComponent, typeof i8.UserCallingExtensionComponent, typeof i9.DeviceListComponent, typeof i10.DeviceRowComponent, typeof i11.UserSummaryComponent], [typeof i12.CommonModule, typeof i13.BrowserModule, typeof i14.BrowserAnimationsModule, typeof i15.FormsModule, typeof i15.ReactiveFormsModule, typeof i16.HttpClientModule, typeof i17.MaterialModule, typeof i18.UIModule], [typeof i6.UserManageWidgetComponent]>;
21
23
  static ɵinj: i0.ɵɵInjectorDeclaration<UserManageModule>;
22
24
  }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class UserSummaryComponent {
3
+ user: any;
4
+ get userName(): string;
5
+ get customerId(): number;
6
+ get siteId(): number;
7
+ onLocationChange(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<UserSummaryComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<UserSummaryComponent, "app-user-summary", never, { "user": "user"; }, {}, never, never, false, never>;
10
+ }
@@ -54,6 +54,7 @@ export declare const USER_TYPES_MAP: {
54
54
  CUCM: string;
55
55
  WEBEX: string;
56
56
  ONPREM: string;
57
+ HYBRID: string;
57
58
  };
58
59
  export type USER_TYPES_TYPE = keyof typeof USER_TYPES_MAP | null;
59
60
  export declare const CUSTOMER_DESTINATION_MIGTATION_TYPE: {
@@ -7,7 +7,7 @@ export declare class SimplifiedUser {
7
7
  token: string;
8
8
  viewMode: string;
9
9
  hasModifiedCache: boolean;
10
- newUserId?: string;
10
+ newUserid?: string;
11
11
  editMode: boolean;
12
12
  form: FormGroup;
13
13
  constructor(user?: any);
@@ -18,6 +18,10 @@ export declare class ListUser implements ListUserInterface {
18
18
  ldapIntegrated: boolean;
19
19
  isMigrated: boolean;
20
20
  isReadyToUpgrade: boolean;
21
+ isHybrid: boolean;
22
+ partnerStatus?: string;
23
+ partnerId?: string;
24
+ partnerSiteId?: number;
21
25
  constructor(user?: ListUser, roleName?: string);
22
26
  }
23
27
  export interface ListUserInterface {
@@ -20,6 +20,7 @@ export declare class MoveUserStepperComponent implements OnInit {
20
20
  done: EventEmitter<any>;
21
21
  user: any;
22
22
  customerId: number;
23
+ host: string;
23
24
  runMoveUser: EventEmitter<any>;
24
25
  cancel: EventEmitter<any>;
25
26
  isLinear: boolean;
@@ -31,6 +32,7 @@ export declare class MoveUserStepperComponent implements OnInit {
31
32
  get currentNumber(): string;
32
33
  get locations(): AppLocation[];
33
34
  get prepareMigrationData(): PrepareMigrationData;
35
+ get userDetailsUrl(): string;
34
36
  constructor(dnsService: DnsService, userService: UserService, siteSettingsService: SiteSettingsService, notificationService: NotificationService, moveUserService: MoveUserService);
35
37
  ngOnInit(): void;
36
38
  displayLocation(location?: AppLocation): string;
@@ -51,5 +53,5 @@ export declare class MoveUserStepperComponent implements OnInit {
51
53
  private getPrepareUserData;
52
54
  private resetMoveTypePhoneNUmber;
53
55
  static ɵfac: i0.ɵɵFactoryDeclaration<MoveUserStepperComponent, never>;
54
- static ɵcmp: i0.ɵɵComponentDeclaration<MoveUserStepperComponent, "app-move-user-stepper", never, { "user": "user"; "customerId": "customerId"; }, { "done": "done"; "runMoveUser": "runMoveUser"; "cancel": "cancel"; }, never, never, false, never>;
56
+ static ɵcmp: i0.ɵɵComponentDeclaration<MoveUserStepperComponent, "app-move-user-stepper", never, { "user": "user"; "customerId": "customerId"; "host": "host"; }, { "done": "done"; "runMoveUser": "runMoveUser"; "cancel": "cancel"; }, never, never, false, never>;
55
57
  }
@@ -5,6 +5,7 @@ export declare class MoveUserWizardComponent {
5
5
  dnsService: DnsService;
6
6
  user: any;
7
7
  customerId: number;
8
+ host: string;
8
9
  closeMoveUserWizard: EventEmitter<any>;
9
10
  done: EventEmitter<any>;
10
11
  runMoveUser: EventEmitter<any>;
@@ -13,5 +14,5 @@ export declare class MoveUserWizardComponent {
13
14
  onClose(): void;
14
15
  onRunMoveUser(): void;
15
16
  static ɵfac: i0.ɵɵFactoryDeclaration<MoveUserWizardComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<MoveUserWizardComponent, "app-move-user-wizard", never, { "user": "user"; "customerId": "customerId"; }, { "closeMoveUserWizard": "closeMoveUserWizard"; "done": "done"; "runMoveUser": "runMoveUser"; }, never, never, false, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<MoveUserWizardComponent, "app-move-user-wizard", never, { "user": "user"; "customerId": "customerId"; "host": "host"; }, { "closeMoveUserWizard": "closeMoveUserWizard"; "done": "done"; "runMoveUser": "runMoveUser"; }, never, never, false, never>;
17
18
  }
@@ -37,6 +37,7 @@ export declare class UsersListComponent implements OnInit, OnDestroy {
37
37
  showMoveUserWizard: boolean;
38
38
  moveUserPending: boolean;
39
39
  private subscriptions;
40
+ showPaginator: boolean;
40
41
  activeSearchToken: string;
41
42
  activeUserType: USER_TYPES_TYPE;
42
43
  readonly ON_PREM_ID = 2542;
@@ -55,11 +56,14 @@ export declare class UsersListComponent implements OnInit, OnDestroy {
55
56
  pageNumberChangeEvent(perPageNumber: number): void;
56
57
  closeMoveUserWizard(afterUserMove?: boolean): void;
57
58
  pageEvent(event: PageEvent): void;
58
- onUserClick(user: ListUser): void;
59
+ onUserClick(user: ListUser, type?: 'webex' | 'di' | 'ucm'): void;
59
60
  moveUserToMT(user: ListUser): void;
60
61
  moveUserToDI(user: ListUser, index: number): void;
61
62
  private removeUserInMigrationProgress;
62
63
  private setStatusToUser;
64
+ private hasWebexUUID;
65
+ private normalizeUsersForHybrid;
66
+ private setUsers;
63
67
  private initializeDataSource;
64
68
  private setUserRole;
65
69
  private setRandomUserRole;
@@ -92,6 +96,7 @@ export declare class UsersListComponent implements OnInit, OnDestroy {
92
96
  private getUserIndexById;
93
97
  private setOriginalUserStatus;
94
98
  private subscribeToUpgradeUsersStatus;
99
+ private setShowPaginator;
95
100
  static ɵfac: i0.ɵɵFactoryDeclaration<UsersListComponent, never>;
96
101
  static ɵcmp: i0.ɵɵComponentDeclaration<UsersListComponent, "app-users-list", never, { "token": "token"; "customerId": "customerId"; "siteId": "siteId"; "host": "host"; }, { "openUser": "openUser"; "userMoved": "userMoved"; "switchToWizard": "switchToWizard"; "createUserRequested": "createUserRequested"; }, never, never, false, never>;
97
102
  }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@tuki-io/tuki-widgets/workspaces" />
5
+ export * from './public-api';
@@ -0,0 +1,2 @@
1
+ export * from './src/workspaces.module';
2
+ export * from './src/workspaces.component';
@@ -0,0 +1,25 @@
1
+ export declare const API: {
2
+ WORKSPACES: {
3
+ GET_ALL: string;
4
+ };
5
+ MIGRATION: {
6
+ MOVE: string;
7
+ MIGRATION_FORM: string;
8
+ MIGRATION_FORM_ENTITIES_MIGRATED: string;
9
+ TRIGGER_FIRMWARE_MIGRATION: string;
10
+ REMOVE_UCM_LICENSE: string;
11
+ WEBEX_REVERT: string;
12
+ };
13
+ DETAILS: {
14
+ CUCM: {
15
+ WORKSPACE: string;
16
+ SITE: string;
17
+ };
18
+ WEBEX: {
19
+ WORKSPACE: string;
20
+ NUMBERS: string;
21
+ CALLERID: string;
22
+ };
23
+ };
24
+ };
25
+ export declare const ON_PREM_ID = 2542;
@@ -0,0 +1,20 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { MatDialogRef } from '@angular/material/dialog';
3
+ import * as i0 from "@angular/core";
4
+ export interface WorkspaceConfirmDialogConfig {
5
+ title: string;
6
+ message: string;
7
+ confirmButtonText: string;
8
+ }
9
+ export declare class WorkspaceConfirmDialogComponent implements OnInit {
10
+ dialogRef: MatDialogRef<WorkspaceConfirmDialogComponent>;
11
+ data: WorkspaceConfirmDialogConfig;
12
+ confirmButtonText: string;
13
+ message: string;
14
+ title: string;
15
+ constructor(dialogRef: MatDialogRef<WorkspaceConfirmDialogComponent>, data: WorkspaceConfirmDialogConfig);
16
+ ngOnInit(): void;
17
+ onClose(result: boolean): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<WorkspaceConfirmDialogComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceConfirmDialogComponent, "tk-workspace-confirm-dialog", never, {}, {}, never, never, false, never>;
20
+ }
@@ -0,0 +1,34 @@
1
+ import { Location } from '@angular/common';
2
+ import { EventEmitter, OnInit } from '@angular/core';
3
+ import { Workspace, WorkspaceConnectionType, WorkspaceDetails, WorkspaceDevice } from '../../types/workspace';
4
+ import { WorkspaceDetailService } from '../../services/workspace-detail.service';
5
+ import * as i0 from "@angular/core";
6
+ export type WorkspaceDetailTab = 'overview' | 'calling';
7
+ export type WorkspaceDetailView = 'overview' | 'device';
8
+ export declare class WorkspaceDetailComponent implements OnInit {
9
+ private workspaceDetailService;
10
+ private location;
11
+ workspace: Workspace;
12
+ connectionType: WorkspaceConnectionType;
13
+ customerId: string;
14
+ back: EventEmitter<void>;
15
+ activeTab: WorkspaceDetailTab;
16
+ view: WorkspaceDetailView;
17
+ selectedDevice: WorkspaceDevice | null;
18
+ details: WorkspaceDetails | null;
19
+ isLoading: boolean;
20
+ expandedIssueId: string | null;
21
+ constructor(workspaceDetailService: WorkspaceDetailService, location: Location);
22
+ ngOnInit(): void;
23
+ get callerIdLabel(): string;
24
+ get deviceName(): string;
25
+ resolveIcon(model?: string): string;
26
+ toggleIssue(issueId: string): void;
27
+ selectTab(tab: WorkspaceDetailTab): void;
28
+ onBack(): void;
29
+ onOpenDevice(device: WorkspaceDevice): void;
30
+ onDeviceBack(): void;
31
+ private updateUrl;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<WorkspaceDetailComponent, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceDetailComponent, "tk-workspace-detail", never, { "workspace": "workspace"; "connectionType": "connectionType"; "customerId": "customerId"; }, { "back": "back"; }, never, never, false, never>;
34
+ }
@@ -0,0 +1,25 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { Workspace, WorkspaceDevice, WorkspaceDeviceDetails } from '../../types/workspace';
3
+ import * as i0 from "@angular/core";
4
+ export declare class WorkspaceDeviceDetailComponent {
5
+ workspace: Workspace;
6
+ device: WorkspaceDevice | null;
7
+ details: WorkspaceDeviceDetails | null;
8
+ isLoading: boolean;
9
+ back: EventEmitter<void>;
10
+ tags: string[];
11
+ isAddingTag: boolean;
12
+ newTag: string;
13
+ hotelingEnabled: boolean;
14
+ guestHoursLimit: number;
15
+ readonly hotelingTimeHours: number[];
16
+ get deviceLabel(): string;
17
+ get deviceIcon(): string;
18
+ get isRegistered(): boolean;
19
+ onBack(): void;
20
+ showTagInput(): void;
21
+ onTagInputBlur(): void;
22
+ removeTag(index: number): void;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<WorkspaceDeviceDetailComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceDeviceDetailComponent, "tk-workspace-device-detail", never, { "workspace": "workspace"; "device": "device"; "details": "details"; "isLoading": "isLoading"; }, { "back": "back"; }, never, never, false, never>;
25
+ }
@@ -0,0 +1,20 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class WorkspacesFiltersComponent {
4
+ resultCount: number;
5
+ typeOptions: string[];
6
+ locationOptions: string[];
7
+ searchChange: EventEmitter<string>;
8
+ typeChange: EventEmitter<string>;
9
+ locationChange: EventEmitter<string>;
10
+ addWorkspace: EventEmitter<void>;
11
+ searchTerm: string;
12
+ selectedType: string;
13
+ selectedLocation: string;
14
+ onSearchInputChange(event: Event): void;
15
+ onTypeChange(value: string): void;
16
+ onLocationChange(value: string): void;
17
+ onAddWorkspace(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<WorkspacesFiltersComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<WorkspacesFiltersComponent, "tk-workspaces-filters", never, { "resultCount": "resultCount"; "typeOptions": "typeOptions"; "locationOptions": "locationOptions"; }, { "searchChange": "searchChange"; "typeChange": "typeChange"; "locationChange": "locationChange"; "addWorkspace": "addWorkspace"; }, never, never, false, never>;
20
+ }
@@ -0,0 +1,43 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { PageEvent } from '@angular/material/paginator';
3
+ import { Workspace, WorkspaceConnectionType, WorkspaceOpenEvent } from '../../types/workspace';
4
+ import * as i0 from "@angular/core";
5
+ export interface WorkspacesPageChange {
6
+ pageIndex: number;
7
+ pageSize: number;
8
+ }
9
+ export declare class WorkspacesTableComponent {
10
+ workspaces: Workspace[];
11
+ total: number;
12
+ pageIndex: number;
13
+ pageSize: number;
14
+ pageSizeOptions: number[];
15
+ pendingWorkspaceIds: Set<string>;
16
+ openWorkspace: EventEmitter<WorkspaceOpenEvent>;
17
+ licenseWithHybrid: EventEmitter<Workspace>;
18
+ migrateToMT: EventEmitter<Workspace>;
19
+ enableWebexCalling: EventEmitter<Workspace>;
20
+ migrateToUCM: EventEmitter<Workspace>;
21
+ addDevice: EventEmitter<string>;
22
+ pageChange: EventEmitter<WorkspacesPageChange>;
23
+ selectedIds: Set<string>;
24
+ get allSelected(): boolean;
25
+ get someSelected(): boolean;
26
+ toggleAll(): void;
27
+ toggleRow(workspaceId: string): void;
28
+ isSelected(workspaceId: string): boolean;
29
+ onOpenWorkspace(workspace: Workspace, connectionType?: WorkspaceConnectionType): void;
30
+ canOpenWorkspace(workspace: Workspace): boolean;
31
+ private resolveConnectionType;
32
+ onAddDevice(workspace: Workspace, event: Event): void;
33
+ onPage(event: PageEvent): void;
34
+ getDeviceIcon(model?: string): string;
35
+ onCopyMac(mac: string): void;
36
+ getDisplayName(workspace: Workspace): string;
37
+ isPending(workspaceId: string): boolean;
38
+ isMoveToMTDisabled(workspace: Workspace): boolean;
39
+ isEnableWebexCallingDisabled(workspace: Workspace): boolean;
40
+ isMigrateToUCMDisabled(workspace: Workspace): boolean;
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<WorkspacesTableComponent, never>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<WorkspacesTableComponent, "tk-workspaces-table", never, { "workspaces": "workspaces"; "total": "total"; "pageIndex": "pageIndex"; "pageSize": "pageSize"; "pageSizeOptions": "pageSizeOptions"; "pendingWorkspaceIds": "pendingWorkspaceIds"; }, { "openWorkspace": "openWorkspace"; "licenseWithHybrid": "licenseWithHybrid"; "migrateToMT": "migrateToMT"; "enableWebexCalling": "enableWebexCalling"; "migrateToUCM": "migrateToUCM"; "addDevice": "addDevice"; "pageChange": "pageChange"; }, never, never, false, never>;
43
+ }
@@ -0,0 +1,16 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/material/button";
3
+ import * as i2 from "@angular/material/icon";
4
+ import * as i3 from "@angular/material/table";
5
+ import * as i4 from "@angular/material/progress-spinner";
6
+ import * as i5 from "@angular/material/form-field";
7
+ import * as i6 from "@angular/material/input";
8
+ import * as i7 from "@angular/material/menu";
9
+ import * as i8 from "@angular/material/paginator";
10
+ import * as i9 from "@angular/material/tooltip";
11
+ import * as i10 from "@angular/material/dialog";
12
+ export declare class MaterialModule {
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<MaterialModule, never>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialModule, never, [typeof i1.MatButtonModule, typeof i2.MatIconModule, typeof i3.MatTableModule, typeof i4.MatProgressSpinnerModule, typeof i5.MatFormFieldModule, typeof i6.MatInputModule, typeof i7.MatMenuModule, typeof i8.MatPaginatorModule, typeof i9.MatTooltipModule, typeof i10.MatDialogModule], [typeof i1.MatButtonModule, typeof i2.MatIconModule, typeof i3.MatTableModule, typeof i4.MatProgressSpinnerModule, typeof i5.MatFormFieldModule, typeof i6.MatInputModule, typeof i7.MatMenuModule, typeof i8.MatPaginatorModule, typeof i9.MatTooltipModule, typeof i10.MatDialogModule]>;
15
+ static ɵinj: i0.ɵɵInjectorDeclaration<MaterialModule>;
16
+ }
@@ -0,0 +1,6 @@
1
+ import { APIService } from './api.service';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ApiWebexService extends APIService {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<ApiWebexService, never>;
5
+ static ɵprov: i0.ɵɵInjectableDeclaration<ApiWebexService>;
6
+ }
@@ -0,0 +1,18 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export declare class APIService {
5
+ private httpClient;
6
+ token: string;
7
+ apiUrl: string;
8
+ constructor(httpClient: HttpClient);
9
+ fetch(url: string, params?: any, cache?: boolean): Observable<any>;
10
+ post(url: string, body: any, params?: {}): Observable<any>;
11
+ put(url: string, body?: any, params?: {}): Observable<any>;
12
+ delete(url: string, params?: {}): Observable<Object>;
13
+ private prepareEncodedParams;
14
+ private getHeaders;
15
+ private getParameterByName;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<APIService, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<APIService>;
18
+ }
@@ -0,0 +1,22 @@
1
+ import { Observable } from 'rxjs';
2
+ import { ApiWebexService } from './api-webex.service';
3
+ import { APIService } from './api.service';
4
+ import { Workspace, WorkspaceConnectionType, WorkspaceDetails } from '../types/workspace';
5
+ import * as i0 from "@angular/core";
6
+ export declare class WorkspaceDetailService {
7
+ private apiService;
8
+ private apiWebexService;
9
+ constructor(apiService: APIService, apiWebexService: ApiWebexService);
10
+ getByWorkspace(workspace: Workspace, connectionType: WorkspaceConnectionType, customerId: string | number): Observable<WorkspaceDetails>;
11
+ private getWebexDetails;
12
+ private toWebexDetails;
13
+ private buildWebexDeviceDetails;
14
+ private getCucmDetails;
15
+ private toCucmDetails;
16
+ private buildCucmDeviceDetails;
17
+ private buildUrl;
18
+ private buildIssues;
19
+ private formatTimestamp;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<WorkspaceDetailService, never>;
21
+ static ɵprov: i0.ɵɵInjectableDeclaration<WorkspaceDetailService>;
22
+ }
@@ -0,0 +1,18 @@
1
+ import { Observable } from 'rxjs';
2
+ import { WorkspaceDeviceRecord } from '../types/workspace';
3
+ import { ApiWebexService } from './api-webex.service';
4
+ import * as i0 from "@angular/core";
5
+ export type FirmwareDeviceMap = Record<number, Record<string, string[]>>;
6
+ export declare class WorkspacesMigrationService {
7
+ private apiWebexService;
8
+ constructor(apiWebexService: ApiWebexService);
9
+ moveToMT(customerId: string | number, device: WorkspaceDeviceRecord): Observable<any>;
10
+ getMigrationFormStatus(customerId: string | number, formId: number): Observable<any>;
11
+ getMigratedMigrationFormEntities(customerId: string | number, webexUUID: string, feature?: string): Observable<any>;
12
+ triggerFirmwareUpgrade(customerId: string | number, migrationFormId: number, deviceMap: FirmwareDeviceMap): Observable<any>;
13
+ removeUcmLicense(customerId: string | number, migrationFormId: number, controlHubType?: string): Observable<any>;
14
+ revertMigration(customerId: string | number, personId: string): Observable<any>;
15
+ private getMoveBody;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<WorkspacesMigrationService, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<WorkspacesMigrationService>;
18
+ }
@@ -0,0 +1,11 @@
1
+ import { Observable } from 'rxjs';
2
+ import { APIService } from './api.service';
3
+ import { WorkspacesPage } from '../types/workspace';
4
+ import * as i0 from "@angular/core";
5
+ export declare class WorkspacesService {
6
+ private apiService;
7
+ constructor(apiService: APIService);
8
+ fetchWorkspaces(customerId: string | number): Observable<WorkspacesPage>;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<WorkspacesService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<WorkspacesService>;
11
+ }