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

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 +152 -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 +322 -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 +1292 -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 +1294 -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 +75 -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
@@ -27,6 +27,11 @@ export declare const API: {
27
27
  WEBEX_USER_TOKEN: string;
28
28
  WEBEX_USER_DEVICES: string;
29
29
  TRANSLATION_PATTERN_CUCM: string;
30
+ DEVICE_EXTRA_OPTIONS: string;
31
+ DEVICE_DEFAULTS: string;
32
+ ALL_SITE_DIRECTORY_NUMBERS: string;
33
+ UPDATE_DEVICE_SPEED_DIAL_LINES: string;
34
+ UPDATE_DEVICE_BLF_SPEED_DIAL_LINES: string;
30
35
  };
31
36
  export declare const REGEX_PATTERN: {
32
37
  EMAIL: string;
@@ -59,6 +64,7 @@ export declare const STATIC_OPTIONS: {
59
64
  SERVICE_PROVISIONING: string[];
60
65
  SETTINGS_ACCES: string[];
61
66
  VISUAL_MWI: string[];
67
+ AUDIBLE_MWI: string[];
62
68
  WEEKDAYS: string[];
63
69
  BUILD_BRIDGE: string[];
64
70
  TRANSFER_TYPES: string[];
@@ -0,0 +1,95 @@
1
+ import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
+ import { Router } from '@angular/router';
3
+ import { CdkDragDrop } from '@angular/cdk/drag-drop';
4
+ import { MatDialog } from '@angular/material/dialog';
5
+ import { UserService } from '../services/user.service';
6
+ import { APIService } from '../services/api.service';
7
+ import { SiteSettingsService } from '../services/site-settings.service';
8
+ import { DeviceService } from '../services/device.service';
9
+ import { LineService } from '../services/line.service';
10
+ import { RecordingOptions } from '../classes/device';
11
+ import * as i0 from "@angular/core";
12
+ export interface AssociatedLineRow {
13
+ id: number;
14
+ pkid: string;
15
+ extension: string;
16
+ routePartitionName: string;
17
+ order: number;
18
+ lineNumber: string;
19
+ displayCallerId: string;
20
+ textLabel: string;
21
+ e164Mask: string;
22
+ maxNumberOfCalls: number;
23
+ busyTrigger: number;
24
+ recordingOption: RecordingOptions;
25
+ recordingMediaSource: string;
26
+ recordingProfile: string;
27
+ visualMWI: string;
28
+ ringSettingIdle: string;
29
+ pickupAASIdle: string;
30
+ monitorCSS: string;
31
+ audibleMWI: string;
32
+ ringSettingActive: string;
33
+ pickupAASActive: string;
34
+ logMissedCalls: boolean;
35
+ callerName: boolean;
36
+ redirectedNumber: boolean;
37
+ callerNumber: boolean;
38
+ dialedNumber: boolean;
39
+ }
40
+ export declare class AssociateLinesComponent implements OnInit, OnDestroy {
41
+ userService: UserService;
42
+ private apiService;
43
+ private readonly siteSettingsService;
44
+ private readonly deviceService;
45
+ private readonly lineService;
46
+ private readonly dialog;
47
+ private readonly router;
48
+ goBack: EventEmitter<any>;
49
+ token: string;
50
+ host: string;
51
+ siteId: string;
52
+ userId: string;
53
+ deviceName: string;
54
+ private readonly destroy$;
55
+ dataPending: boolean;
56
+ device: any;
57
+ hasChanges: boolean;
58
+ expandedOrder: number | null;
59
+ readonly recordingOptions: typeof RecordingOptions;
60
+ readonly recordingMediaSources: string[];
61
+ recordingProfiles: string[];
62
+ readonly visualMwiOptions: string[];
63
+ readonly audibleMwiOptions: string[];
64
+ readonly ringSettingIdleOptions: string[];
65
+ readonly ringSettingActiveOptions: string[];
66
+ readonly pickupAasIdleOptions: string[];
67
+ readonly pickupAasActiveOptions: string[];
68
+ rows: AssociatedLineRow[];
69
+ private originRows;
70
+ private static readonly FIELD_MAP;
71
+ private static readonly BOOLEAN_FIELDS;
72
+ constructor(userService: UserService, apiService: APIService, siteSettingsService: SiteSettingsService, deviceService: DeviceService, lineService: LineService, dialog: MatDialog, router: Router);
73
+ ngOnInit(): void;
74
+ private loadDevice;
75
+ private fetchLineSlots;
76
+ private loadRecordingProfiles;
77
+ private initRows;
78
+ private createRow;
79
+ isRowEditable(row: AssociatedLineRow): boolean;
80
+ toggleExpanded(row: AssociatedLineRow): void;
81
+ isExpanded(row: AssociatedLineRow): boolean;
82
+ onFieldChange(): void;
83
+ recordingOptionChanged(row: AssociatedLineRow): void;
84
+ isRecordingProfileDisabled(row: AssociatedLineRow): boolean;
85
+ drop(event: CdkDragDrop<AssociatedLineRow[]>): void;
86
+ confirmDisassociate(row: AssociatedLineRow): void;
87
+ private disassociateLine;
88
+ onGoBack(): void;
89
+ onCancel(): void;
90
+ onSave(): void;
91
+ private buildUpdateBody;
92
+ ngOnDestroy(): void;
93
+ static ɵfac: i0.ɵɵFactoryDeclaration<AssociateLinesComponent, never>;
94
+ static ɵcmp: i0.ɵɵComponentDeclaration<AssociateLinesComponent, "app-associate-lines", never, { "token": "token"; "host": "host"; "siteId": "siteId"; "userId": "userId"; "deviceName": "deviceName"; }, { "goBack": "goBack"; }, never, never, false, never>;
95
+ }
@@ -93,6 +93,21 @@ export interface SpeedDialInterface {
93
93
  label: string;
94
94
  editMode?: boolean;
95
95
  }
96
+ export interface SpeedDialLineUpdate {
97
+ index: number;
98
+ position: number;
99
+ label: string;
100
+ destination: string;
101
+ }
102
+ export interface BlfSpeedDialLineUpdate {
103
+ index: number;
104
+ position: number;
105
+ label: string;
106
+ destination: string;
107
+ dnWithRoutePartition: string;
108
+ callPickup: boolean;
109
+ list?: string[];
110
+ }
96
111
  export declare enum RecordingOptions {
97
112
  disabled = "Call Recording Disabled",
98
113
  auto_enabled = "Automatic Call Recording Enabled",
@@ -1,5 +1,6 @@
1
1
  import { FormGroup } from "@angular/forms";
2
2
  import { LineAssociationInterface } from "./line-association-interface";
3
+ import { LineCallInfoDisplayInterface } from "./device";
3
4
  export declare class DeviceProfile {
4
5
  macAddress?: string;
5
6
  hoteling?: {
@@ -18,8 +19,12 @@ export declare class DeviceProfile {
18
19
  index?: number;
19
20
  position?: number;
20
21
  textLabel?: string;
22
+ displayLabel?: string;
23
+ e164Mask?: string;
21
24
  alertingName?: string;
22
25
  callerNumber?: string;
26
+ logMissedCall?: string;
27
+ callInfoDisplay?: LineCallInfoDisplayInterface;
23
28
  }>;
24
29
  activationState?: boolean;
25
30
  model?: string;
@@ -29,7 +29,7 @@ export declare class SimplifiedUser {
29
29
  displayName: string;
30
30
  viewMode: string;
31
31
  hasModifiedCache: boolean;
32
- newUserId?: string;
32
+ newUserid?: string;
33
33
  editMode: boolean;
34
34
  form: FormGroup;
35
35
  viewType?: any;
@@ -50,6 +50,7 @@ export declare class DeviceAssociatedLineComponent implements OnInit, OnDestroy
50
50
  SERVICE_PROVISIONING: string[];
51
51
  SETTINGS_ACCES: string[];
52
52
  VISUAL_MWI: string[];
53
+ AUDIBLE_MWI: string[];
53
54
  WEEKDAYS: string[];
54
55
  BUILD_BRIDGE: string[];
55
56
  TRANSFER_TYPES: string[];
@@ -1,5 +1,6 @@
1
1
  import { ElementRef, EventEmitter, OnDestroy } from '@angular/core';
2
2
  import { FormArray, FormControl, FormGroup } from '@angular/forms';
3
+ import { Router } from '@angular/router';
3
4
  import { MatDialog } from '@angular/material/dialog';
4
5
  import { UserService } from './services/user.service';
5
6
  import { DeviceService } from './services/device.service';
@@ -18,6 +19,7 @@ export declare class DeviceManageWidgetComponent implements OnDestroy {
18
19
  private validationService;
19
20
  private dialog;
20
21
  private readonly dnsService;
22
+ private readonly router;
21
23
  onSave: EventEmitter<string>;
22
24
  onChange: EventEmitter<string>;
23
25
  discardChanges: EventEmitter<any>;
@@ -43,7 +45,7 @@ export declare class DeviceManageWidgetComponent implements OnDestroy {
43
45
  get lastName(): string;
44
46
  get form(): FormGroup | undefined;
45
47
  get isWebex(): boolean | "" | null;
46
- constructor(userService: UserService, deviceService: DeviceService, apiService: APIService, lineService: LineService, siteSettingsService: SiteSettingsService, validationService: ValidationService, dialog: MatDialog, dnsService: DnsService);
48
+ constructor(userService: UserService, deviceService: DeviceService, apiService: APIService, lineService: LineService, siteSettingsService: SiteSettingsService, validationService: ValidationService, dialog: MatDialog, dnsService: DnsService, router: Router);
47
49
  ngOnInit(): void;
48
50
  showInput(): void;
49
51
  onBlur(): void;
@@ -57,6 +59,9 @@ export declare class DeviceManageWidgetComponent implements OnDestroy {
57
59
  saveChanges(): void;
58
60
  ngOnDestroy(): void;
59
61
  onGoBack(): void;
62
+ openDeviceSettings(): void;
63
+ openLineKeyConfig(): void;
64
+ openAssociateLines(): void;
60
65
  static ɵfac: i0.ɵɵFactoryDeclaration<DeviceManageWidgetComponent, never>;
61
66
  static ɵcmp: i0.ɵɵComponentDeclaration<DeviceManageWidgetComponent, "app-device-manage-widget", never, { "token": "token"; "host": "host"; "siteId": "siteId"; "userId": "userId"; "isLdap": "isLdap"; "deviceName": "deviceName"; }, { "onSave": "onSave"; "onChange": "onChange"; "discardChanges": "discardChanges"; "goBack": "goBack"; }, never, never, false, never>;
62
67
  }
@@ -0,0 +1,53 @@
1
+ import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
+ import { FormControl } from '@angular/forms';
3
+ import { Router } from '@angular/router';
4
+ import { UserService } from '../services/user.service';
5
+ import { APIService } from '../services/api.service';
6
+ import { DeviceService } from '../services/device.service';
7
+ import { SiteSettingsService } from '../services/site-settings.service';
8
+ import * as i0 from "@angular/core";
9
+ export declare class DeviceSettingsComponent implements OnInit, OnDestroy {
10
+ userService: UserService;
11
+ private apiService;
12
+ private deviceService;
13
+ private siteSettingsService;
14
+ private readonly router;
15
+ goBack: EventEmitter<any>;
16
+ token: string;
17
+ host: string;
18
+ siteId: string;
19
+ userId: string;
20
+ deviceName: string;
21
+ private readonly destroy$;
22
+ dataPending: boolean;
23
+ device: any;
24
+ softKeys: string[];
25
+ readonly plarService: FormControl<boolean | null>;
26
+ readonly description: FormControl<string | null>;
27
+ readonly softkeyTemplate: FormControl<string | null>;
28
+ readonly devicePool: FormControl<string | null>;
29
+ readonly deviceCss: FormControl<string | null>;
30
+ readonly enableExtensionMobility: FormControl<boolean | null>;
31
+ readonly loggedIntoHuntGroup: FormControl<boolean | null>;
32
+ readonly remoteDevice: FormControl<boolean | null>;
33
+ readonly ignorePresentationIndicators: FormControl<boolean | null>;
34
+ readonly hotlineDevice: FormControl<boolean | null>;
35
+ readonly callerIdForCallsFromThisPhone: FormControl<boolean | null>;
36
+ readonly remoteNumber: FormControl<boolean | null>;
37
+ private readonly formControls;
38
+ hasChanges: boolean;
39
+ get lines(): string;
40
+ get devicePools(): string[];
41
+ get cssOptions(): string[];
42
+ constructor(userService: UserService, apiService: APIService, deviceService: DeviceService, siteSettingsService: SiteSettingsService, router: Router);
43
+ ngOnInit(): void;
44
+ private getData;
45
+ private getSiteSettings;
46
+ onGoBack(): void;
47
+ onCancel(): void;
48
+ onSave(): void;
49
+ private getChangedDeviceFields;
50
+ ngOnDestroy(): void;
51
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeviceSettingsComponent, never>;
52
+ static ɵcmp: i0.ɵɵComponentDeclaration<DeviceSettingsComponent, "app-device-settings", never, { "token": "token"; "host": "host"; "siteId": "siteId"; "userId": "userId"; "deviceName": "deviceName"; }, { "goBack": "goBack"; }, never, never, false, never>;
53
+ }
@@ -0,0 +1,84 @@
1
+ import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
+ import { FormControl } from '@angular/forms';
3
+ import { Router } from '@angular/router';
4
+ import { CdkDragDrop } from '@angular/cdk/drag-drop';
5
+ import { UserService } from '../services/user.service';
6
+ import { APIService } from '../services/api.service';
7
+ import { DeviceService } from '../services/device.service';
8
+ import { Buttontemplate } from '../classes/device';
9
+ import * as i0 from "@angular/core";
10
+ export type LineKeyAssignment = 'primary' | 'open' | 'monitored' | 'speedDial';
11
+ export interface LineKeyRow {
12
+ order: number;
13
+ assignment: LineKeyAssignment;
14
+ label: string;
15
+ destination: string;
16
+ locked: boolean;
17
+ index?: number;
18
+ callPickup?: boolean;
19
+ dnWithRoutePartition?: string;
20
+ }
21
+ export declare class LineKeyConfigComponent implements OnInit, OnChanges, OnDestroy {
22
+ userService: UserService;
23
+ private apiService;
24
+ private readonly deviceService;
25
+ private readonly router;
26
+ goBack: EventEmitter<any>;
27
+ token: string;
28
+ host: string;
29
+ siteId: string;
30
+ userId: string;
31
+ deviceType: string;
32
+ buttonTemplate: string;
33
+ private readonly destroy$;
34
+ dataPending: boolean;
35
+ device: any;
36
+ hasChanges: boolean;
37
+ lineSlots: Buttontemplate | null;
38
+ readonly LINE_KEY_COUNT = 10;
39
+ readonly HALF: number;
40
+ readonly ASSIGNMENT_OPTIONS: Array<{
41
+ value: LineKeyAssignment;
42
+ label: string;
43
+ }>;
44
+ lineKeyTemplates: [];
45
+ readonly selectedTemplate: FormControl<string | null>;
46
+ readonly previewLayout: FormControl<boolean | null>;
47
+ leftKeys: LineKeyRow[];
48
+ rightKeys: LineKeyRow[];
49
+ private initialButtonTemplate;
50
+ private initialSpeedDialLines;
51
+ private initialBlfLines;
52
+ get deviceModel(): string;
53
+ constructor(userService: UserService, apiService: APIService, deviceService: DeviceService, router: Router);
54
+ ngOnInit(): void;
55
+ ngOnChanges(changes: SimpleChanges): void;
56
+ private resetForNewButtonTemplate;
57
+ private fetchSiteDirectoryNumbers;
58
+ private loadDevice;
59
+ private fetchButtonTemplateSlots;
60
+ private getRowsByAssignment;
61
+ private getTemplateSlots;
62
+ private computeTypeIndex;
63
+ private captureSpeedDialBaseline;
64
+ private getSpeedDialLinesPayload;
65
+ private captureBlfBaseline;
66
+ private toBlfLine;
67
+ private getBlfLinesPayload;
68
+ private applyButtonTemplateSlots;
69
+ private applyDialAssignments;
70
+ private applyDialItem;
71
+ applyTemplate(): void;
72
+ onFieldChange(): void;
73
+ onAssignmentChange(row: LineKeyRow): void;
74
+ private relocateRowForAssignment;
75
+ private readonly SEGREGATED_ASSIGNMENTS;
76
+ private isConflictingAssignment;
77
+ onDrop(event: CdkDragDrop<LineKeyRow[]>): void;
78
+ onGoBack(): void;
79
+ onCancel(): void;
80
+ onSave(): void;
81
+ ngOnDestroy(): void;
82
+ static ɵfac: i0.ɵɵFactoryDeclaration<LineKeyConfigComponent, never>;
83
+ static ɵcmp: i0.ɵɵComponentDeclaration<LineKeyConfigComponent, "app-line-key-config", never, { "token": "token"; "host": "host"; "siteId": "siteId"; "userId": "userId"; "deviceType": "deviceType"; "buttonTemplate": "buttonTemplate"; }, { "goBack": "goBack"; }, never, never, false, never>;
84
+ }
@@ -1,6 +1,6 @@
1
1
  import { APIService } from './api.service';
2
2
  import { Observable } from 'rxjs';
3
- import { Buttontemplate, Device } from '../classes/device';
3
+ import { BlfSpeedDialLineUpdate, Buttontemplate, Device, SpeedDialLineUpdate } from '../classes/device';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class DeviceService {
6
6
  private apiService;
@@ -8,13 +8,18 @@ export declare class DeviceService {
8
8
  lineSlotsList: any;
9
9
  availableLineSlotsList: any;
10
10
  dataPending: boolean;
11
+ siteDirectoryNumbers: string[];
11
12
  constructor(apiService: APIService);
12
13
  hasUnsavedChanges(device: Device, originDevice: Device): boolean;
13
14
  hasDeviceInfoUnsavedChanges(device: Device, originDevice: Device): boolean;
14
15
  getDataToUpdateDevice(device: Device, originalDevice: Device): any;
15
16
  fetchLeanUserDevicesConversationById(userId: string, siteId: number): Observable<any>;
16
17
  getSlotsByButtonTemplate(siteId: number, buttonTemplateName: string): Observable<Buttontemplate>;
18
+ getDeviceDefaults(siteId: number, deviceType: string): Observable<any>;
19
+ getAllSiteDirectoryNumbers(siteId: number): Observable<any[]>;
17
20
  putDeviceFields(siteId: number, deviceName: string, token: string, body: any): any;
21
+ updateSpeedDialLines(siteId: number, deviceName: string, userToken: string, body: SpeedDialLineUpdate[]): any;
22
+ updateBlfSpeedDialLines(siteId: number, deviceName: string, userToken: string, body: BlfSpeedDialLineUpdate[]): any;
18
23
  updateAvailableSlots(siteId: number, device: Device): any;
19
24
  static ɵfac: i0.ɵɵFactoryDeclaration<DeviceService, never>;
20
25
  static ɵprov: i0.ɵɵInjectableDeclaration<DeviceService>;
@@ -38,7 +38,8 @@ export declare class UserService implements OnInit {
38
38
  resetLineAssociation(deviceIndex: number, lineIndex: number, validationService: ValidationService): void;
39
39
  resetDevice(currentDevice: Device, validationService: ValidationService): void;
40
40
  fetchUserToken(siteId: number, userId: string, validationService: ValidationService, isSetNewTokenOnly?: boolean): any;
41
- fetchDIUserDevice(siteId: number, userId: string, deviceType: string): import("rxjs").Observable<DeviceProfile | undefined>;
41
+ fetchDIUserDevice(siteId: number, userId: string, deviceType: string, deviceName?: string): import("rxjs").Observable<DeviceProfile | undefined>;
42
+ getDeviceExtraOptions(siteId: number, deviceName: string, commonPhoneConfigName: string): import("rxjs").Observable<any>;
42
43
  private getMacAddress;
43
44
  fetchWebexUserDevice(customerId: string, userId: string, deviceType: string): import("rxjs").Observable<DeviceProfile | undefined>;
44
45
  updateUserFields(body: any): any;
@@ -9,17 +9,19 @@ import * as i7 from "./device-associated-line/device-associated-line-extension/d
9
9
  import * as i8 from "./device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component";
10
10
  import * as i9 from "./device-associated-line/associated-line-row/associated-line-row.component";
11
11
  import * as i10 from "./confirm-dialog/info-dialog.component";
12
- import * as i11 from "./shared/tk-page-section/page-section.component";
13
- import * as i12 from "./device-info/device-info.component";
14
- import * as i13 from "./pipes/mac-address.pipe";
15
- import * as i14 from "@angular/common";
16
- import * as i15 from "@angular/platform-browser";
17
- import * as i16 from "@angular/platform-browser/animations";
18
- import * as i17 from "@angular/forms";
19
- import * as i18 from "@angular/common/http";
20
- import * as i19 from "./material.module";
12
+ import * as i11 from "./device-info/device-info.component";
13
+ import * as i12 from "./pipes/mac-address.pipe";
14
+ import * as i13 from "./device-settings/device-settings.component";
15
+ import * as i14 from "./line-key-config/line-key-config.component";
16
+ import * as i15 from "./associate-lines/associate-lines.component";
17
+ import * as i16 from "@angular/common";
18
+ import * as i17 from "@angular/platform-browser";
19
+ import * as i18 from "@angular/platform-browser/animations";
20
+ import * as i19 from "@angular/forms";
21
+ import * as i20 from "@angular/common/http";
22
+ import * as i21 from "./material.module";
21
23
  export declare class UserDeviceManageModule {
22
24
  static ɵfac: i0.ɵɵFactoryDeclaration<UserDeviceManageModule, never>;
23
- static ɵmod: i0.ɵɵNgModuleDeclaration<UserDeviceManageModule, [typeof i1.AppLoaderComponent, typeof i2.NotificationsComponent, typeof i3.LazyLoadingSelectComponent, typeof i4.DeviceListComponent, typeof i5.DeviceManageWidgetComponent, typeof i6.DeviceAssociatedLineComponent, typeof i7.DeviceAssociatedLineExtensionComponent, typeof i8.DeviceAssociatedLineDetailsBoxComponent, typeof i9.AssociatedLineRowComponent, typeof i10.InfoDialogComponent, typeof i11.PageSectionComponent, typeof i12.DeviceInfoComponent, typeof i13.MacAddressPipe], [typeof i14.CommonModule, typeof i15.BrowserModule, typeof i16.BrowserAnimationsModule, typeof i17.FormsModule, typeof i17.ReactiveFormsModule, typeof i18.HttpClientModule, typeof i19.MaterialModule], [typeof i5.DeviceManageWidgetComponent]>;
25
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UserDeviceManageModule, [typeof i1.AppLoaderComponent, typeof i2.NotificationsComponent, typeof i3.LazyLoadingSelectComponent, typeof i4.DeviceListComponent, typeof i5.DeviceManageWidgetComponent, typeof i6.DeviceAssociatedLineComponent, typeof i7.DeviceAssociatedLineExtensionComponent, typeof i8.DeviceAssociatedLineDetailsBoxComponent, typeof i9.AssociatedLineRowComponent, typeof i10.InfoDialogComponent, typeof i11.DeviceInfoComponent, typeof i12.MacAddressPipe, typeof i13.DeviceSettingsComponent, typeof i14.LineKeyConfigComponent, typeof i15.AssociateLinesComponent], [typeof i16.CommonModule, typeof i17.BrowserModule, typeof i18.BrowserAnimationsModule, typeof i19.FormsModule, typeof i19.ReactiveFormsModule, typeof i20.HttpClientModule, typeof i21.MaterialModule], [typeof i5.DeviceManageWidgetComponent, typeof i13.DeviceSettingsComponent, typeof i14.LineKeyConfigComponent, typeof i15.AssociateLinesComponent]>;
24
26
  static ɵinj: i0.ɵɵInjectorDeclaration<UserDeviceManageModule>;
25
27
  }
@@ -20,6 +20,12 @@ export declare const API: {
20
20
  UPDATE_LINE_FIELDS: string;
21
21
  UPDATE_DEVICE_FIELDS: string;
22
22
  TRANSLATION_PATTERN_CUCM: string;
23
+ LEAN_USER_CONVERSATION_START: string;
24
+ LEAN_USER_DEVICES_CONVERSATION_START: string;
25
+ LEAN_USER_LINES_CONVERSATION_START: string;
26
+ LEAN_USER_SNR_CONVERSATION_START: string;
27
+ UPDATE_LEAN_USER_FIELDS: string;
28
+ USER_LOCATIONS: string;
23
29
  };
24
30
  export declare const REGEX_PATTERN: {
25
31
  EMAIL: string;
@@ -32,3 +38,4 @@ export declare const PAGINATION_SIZE_OPTIONS: number[];
32
38
  export declare const CUCS_TO_IGNORE: number[];
33
39
  export declare const CUCMS_TO_IGNORE: number[];
34
40
  export declare const RECORDING_MEDIA_SOURCE: string[];
41
+ export declare const ON_PREM_ID = 2542;
@@ -19,7 +19,20 @@ export declare class SimplifiedUser {
19
19
  userProfile: string;
20
20
  enableMobileVoiceAccess: boolean;
21
21
  userLocale: string;
22
+ presenceGroup: string;
23
+ subscribeCss: string;
24
+ allowDeviceControlFromCti: boolean;
25
+ enableCrossClusterEm: boolean;
26
+ mlppPrecedencePattern?: string;
27
+ homeCluster: boolean;
22
28
  confirmDigestCredentials: any;
29
+ primaryLineReference: {
30
+ directoryNumber: string;
31
+ dnType?: string | number;
32
+ pkid?: string | number;
33
+ routePartitionName?: string | number;
34
+ subType?: string | number;
35
+ };
23
36
  middleName: string;
24
37
  telephoneNumber: string;
25
38
  mobileNumber: string;
@@ -31,10 +44,13 @@ export declare class SimplifiedUser {
31
44
  devices: Device[];
32
45
  viewMode: string;
33
46
  hasModifiedCache: boolean;
34
- newUserId: string;
47
+ newUserid: string;
35
48
  editMode: boolean;
36
49
  ldapIntegrated: boolean;
37
50
  lines?: LineInterface[];
51
+ leanUserDetailsToken?: string;
52
+ leanUserLinesToken?: string;
53
+ leanUserSNRToken?: string;
38
54
  form: FormGroup;
39
55
  constructor(user?: any, isLdap?: boolean);
40
56
  getLineVal(lineAssociation: LineAssociation | LineAssociationInterface, lines: any, token: string): any;
@@ -2,10 +2,12 @@ import { EventEmitter } from '@angular/core';
2
2
  import { Device } from '../classes/device';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class DeviceListComponent {
5
+ readonly columns: string[];
5
6
  devices: any;
6
7
  onDeviceSelect: EventEmitter<Device>;
7
8
  constructor();
8
9
  selectDevice(device: Device): void;
10
+ trackByName(device: any): any;
9
11
  static ɵfac: i0.ɵɵFactoryDeclaration<DeviceListComponent, never>;
10
12
  static ɵcmp: i0.ɵɵComponentDeclaration<DeviceListComponent, "app-device-list", never, { "devices": "devices"; }, { "onDeviceSelect": "onDeviceSelect"; }, never, never, false, never>;
11
13
  }
@@ -21,8 +21,10 @@ import * as i19 from "@angular/material/checkbox";
21
21
  import * as i20 from "@angular/material/slide-toggle";
22
22
  import * as i21 from "@angular/material/table";
23
23
  import * as i22 from "@angular/material/paginator";
24
+ import * as i23 from "@angular/material/menu";
25
+ import * as i24 from "@angular/material/divider";
24
26
  export declare class MaterialModule {
25
27
  static ɵfac: i0.ɵɵFactoryDeclaration<MaterialModule, never>;
26
- static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialModule, never, [typeof i1.DragDropModule, typeof i2.MatButtonModule, typeof i3.MatListModule, typeof i4.MatProgressSpinnerModule, typeof i5.MatExpansionModule, typeof i6.MatInputModule, typeof i6.MatInputModule, typeof i3.MatListModule, typeof i7.MatTreeModule, typeof i7.MatTreeModule, typeof i8.MatNativeDateModule, typeof i9.MatDatepickerModule, typeof i10.MatTooltipModule, typeof i11.MatAutocompleteModule, typeof i12.MatChipsModule, typeof i13.MatSidenavModule, typeof i14.MatFormFieldModule, typeof i15.MatStepperModule, typeof i16.MatTabsModule, typeof i17.MatCardModule, typeof i18.MatSelectModule, typeof i19.MatCheckboxModule, typeof i20.MatSlideToggleModule, typeof i21.MatTableModule, typeof i22.MatPaginatorModule], [typeof i1.DragDropModule, typeof i2.MatButtonModule, typeof i3.MatListModule, typeof i4.MatProgressSpinnerModule, typeof i5.MatExpansionModule, typeof i6.MatInputModule, typeof i6.MatInputModule, typeof i3.MatListModule, typeof i7.MatTreeModule, typeof i7.MatTreeModule, typeof i8.MatNativeDateModule, typeof i9.MatDatepickerModule, typeof i10.MatTooltipModule, typeof i11.MatAutocompleteModule, typeof i12.MatChipsModule, typeof i13.MatSidenavModule, typeof i14.MatFormFieldModule, typeof i15.MatStepperModule, typeof i16.MatTabsModule, typeof i17.MatCardModule, typeof i19.MatCheckboxModule, typeof i18.MatSelectModule, typeof i20.MatSlideToggleModule, typeof i4.MatProgressSpinnerModule, typeof i21.MatTableModule, typeof i22.MatPaginatorModule]>;
28
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialModule, never, [typeof i1.DragDropModule, typeof i2.MatButtonModule, typeof i3.MatListModule, typeof i4.MatProgressSpinnerModule, typeof i5.MatExpansionModule, typeof i6.MatInputModule, typeof i6.MatInputModule, typeof i3.MatListModule, typeof i7.MatTreeModule, typeof i7.MatTreeModule, typeof i8.MatNativeDateModule, typeof i9.MatDatepickerModule, typeof i10.MatTooltipModule, typeof i11.MatAutocompleteModule, typeof i12.MatChipsModule, typeof i13.MatSidenavModule, typeof i14.MatFormFieldModule, typeof i15.MatStepperModule, typeof i16.MatTabsModule, typeof i17.MatCardModule, typeof i18.MatSelectModule, typeof i19.MatCheckboxModule, typeof i20.MatSlideToggleModule, typeof i21.MatTableModule, typeof i22.MatPaginatorModule, typeof i23.MatMenuModule, typeof i24.MatDividerModule], [typeof i1.DragDropModule, typeof i2.MatButtonModule, typeof i3.MatListModule, typeof i4.MatProgressSpinnerModule, typeof i5.MatExpansionModule, typeof i6.MatInputModule, typeof i6.MatInputModule, typeof i3.MatListModule, typeof i7.MatTreeModule, typeof i7.MatTreeModule, typeof i8.MatNativeDateModule, typeof i9.MatDatepickerModule, typeof i10.MatTooltipModule, typeof i11.MatAutocompleteModule, typeof i12.MatChipsModule, typeof i13.MatSidenavModule, typeof i14.MatFormFieldModule, typeof i15.MatStepperModule, typeof i16.MatTabsModule, typeof i17.MatCardModule, typeof i19.MatCheckboxModule, typeof i18.MatSelectModule, typeof i20.MatSlideToggleModule, typeof i4.MatProgressSpinnerModule, typeof i21.MatTableModule, typeof i22.MatPaginatorModule, typeof i23.MatMenuModule, typeof i24.MatDividerModule]>;
27
29
  static ɵinj: i0.ɵɵInjectorDeclaration<MaterialModule>;
28
30
  }
@@ -0,0 +1,21 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { TableDataInterface } from '../classes/table-data';
3
+ import { Observable } from 'rxjs';
4
+ import * as i0 from "@angular/core";
5
+ export declare class DcpApiService {
6
+ private httpClient;
7
+ token: any;
8
+ apiUrl: string;
9
+ constructor(httpClient: HttpClient);
10
+ fetch(url: string, params?: any, cache?: boolean): Observable<Object>;
11
+ post(url: string, body: any, params?: {}): any;
12
+ postExtended(url: string, body?: null, params?: {}, headers?: {}): Observable<import("@angular/common/http").HttpResponse<Object>>;
13
+ put(url: string, body?: any, params?: {}): Observable<Object>;
14
+ delete(url: string, params?: {}): Observable<Object>;
15
+ fetchPagination(url: string, pageSize: number, pageNumber: number, additionalParams?: {}, cache?: boolean): Observable<TableDataInterface>;
16
+ private prepareEncodedParams;
17
+ private getHeaders;
18
+ private getParameterByName;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<DcpApiService, never>;
20
+ static ɵprov: i0.ɵɵInjectableDeclaration<DcpApiService>;
21
+ }
@@ -2,6 +2,7 @@ import { OnInit } from '@angular/core';
2
2
  import { Subject } from 'rxjs';
3
3
  import { SimplifiedUser } from '../classes/simplified-user';
4
4
  import { APIService } from './api.service';
5
+ import { DcpApiService } from './dcp-api.service';
5
6
  import { LineAssociation } from '../classes/line-association';
6
7
  import { LineAssociationInterface } from '../classes/line-association-interface';
7
8
  import { LineService } from './line.service';
@@ -9,6 +10,7 @@ import * as i0 from "@angular/core";
9
10
  export declare class UserService implements OnInit {
10
11
  private apiService;
11
12
  private lineService;
13
+ private dcpApiService;
12
14
  siteId: number;
13
15
  userId: string;
14
16
  dataPending: boolean;
@@ -17,10 +19,12 @@ export declare class UserService implements OnInit {
17
19
  _user: SimplifiedUser;
18
20
  get user(): SimplifiedUser;
19
21
  originUser: SimplifiedUser;
22
+ private originUserData;
23
+ private isLdap?;
20
24
  onUserLineSaved$: Subject<any>;
21
25
  get lineAssociation(): LineAssociation | LineAssociationInterface;
22
26
  get originLineAssociation(): LineAssociation | LineAssociationInterface;
23
- constructor(apiService: APIService, lineService: LineService);
27
+ constructor(apiService: APIService, lineService: LineService, dcpApiService: DcpApiService);
24
28
  ngOnInit(): void;
25
29
  fetchUserToken(siteId: number, userId: string, isLdap?: boolean, isSetNewTokenOnly?: boolean): any;
26
30
  fetchWebexUserToken(customerId: string, userId: string): any;
@@ -39,8 +43,22 @@ export declare class UserService implements OnInit {
39
43
  checkDestinationNumber(siteId: string, directoryNumber: string, routePartitionName: string): any;
40
44
  associateLineToUserDevice(siteId: number, deviceName: string, body: any, pkid: any, css: any): any;
41
45
  hasUnsavedChanges(): boolean;
46
+ /**
47
+ * Makes the saved state the new baseline, so hasUnsavedChanges() is false again after a successful save.
48
+ */
49
+ commitSavedChanges(): void;
50
+ /**
51
+ * Reverts all unsaved changes. The user object and its form are updated in place (not replaced),
52
+ * so components holding references to them keep working.
53
+ */
54
+ discardChanges(): void;
42
55
  setSimplifiedUser(user: any, isLdap?: boolean): void;
43
56
  private handleSaveUserResponse;
57
+ getPrimaryLineDevice(primaryLineReferenceDirectoryNumber: string): any;
58
+ fetchLeanUserConversationById(id: string, siteId?: number): import("rxjs").Observable<Object>;
59
+ fetchLeanUserDevicesConversationById(id: string, siteId?: number): import("rxjs").Observable<Object>;
60
+ fetchLeanUserLinesConversationById(id: string, siteId: number): import("rxjs").Observable<Object>;
61
+ fetchLeanUserSNRConversationById(id: string, siteId?: number): import("rxjs").Observable<Object>;
44
62
  static ɵfac: i0.ɵɵFactoryDeclaration<UserService, never>;
45
63
  static ɵprov: i0.ɵɵInjectableDeclaration<UserService>;
46
64
  }
@@ -11,9 +11,10 @@ export declare class UserCallingComponent implements OnInit {
11
11
  private dnsService;
12
12
  siteId: number;
13
13
  userId: string;
14
+ primaryLineDirectoryNumber: string;
14
15
  onExtensionChange: EventEmitter<any>;
15
16
  dataPending: boolean;
16
- get form(): FormGroup;
17
+ form: FormGroup;
17
18
  get isWebex(): boolean | "" | null;
18
19
  get formControl(): FormControl;
19
20
  get phoneNumberValue(): any;
@@ -29,5 +30,5 @@ export declare class UserCallingComponent implements OnInit {
29
30
  onChangeExtension(value: string): void;
30
31
  private getData;
31
32
  static ɵfac: i0.ɵɵFactoryDeclaration<UserCallingComponent, never>;
32
- static ɵcmp: i0.ɵɵComponentDeclaration<UserCallingComponent, "app-user-calling", never, { "siteId": "siteId"; "userId": "userId"; }, { "onExtensionChange": "onExtensionChange"; }, never, never, false, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<UserCallingComponent, "app-user-calling", never, { "siteId": "siteId"; "userId": "userId"; "primaryLineDirectoryNumber": "primaryLineDirectoryNumber"; }, { "onExtensionChange": "onExtensionChange"; }, never, never, false, never>;
33
34
  }