@tuki-io/tuki-widgets 0.0.43 → 0.0.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -10
- package/esm2020/lib/widgets.component.mjs +22 -0
- package/esm2020/lib/widgets.module.mjs +21 -0
- package/esm2020/lib/widgets.service.mjs +14 -0
- package/esm2020/public-api.mjs +7 -0
- package/esm2020/tuki-io-tuki-widgets.mjs +5 -0
- package/esm2020/user-device-manage/public-api.mjs +9 -0
- package/esm2020/user-device-manage/src/app.constants.mjs +95 -0
- package/esm2020/user-device-manage/src/classes/device.mjs +85 -0
- package/esm2020/user-device-manage/src/classes/line-association-interface.mjs +2 -0
- package/esm2020/user-device-manage/src/classes/line-association.mjs +121 -0
- package/esm2020/user-device-manage/src/classes/line-call-info-display.mjs +10 -0
- package/esm2020/user-device-manage/src/classes/line-directory.mjs +27 -0
- package/esm2020/user-device-manage/src/classes/line.mjs +18 -0
- package/esm2020/user-device-manage/src/classes/notification.mjs +32 -0
- package/esm2020/user-device-manage/src/classes/recording-options.mjs +7 -0
- package/esm2020/user-device-manage/src/classes/simplified-user.mjs +111 -0
- package/esm2020/user-device-manage/src/classes/site-defaults.mjs +21 -0
- package/esm2020/user-device-manage/src/classes/translation-pattern.mjs +32 -0
- package/esm2020/user-device-manage/src/classes/types.mjs +24 -0
- package/esm2020/user-device-manage/src/common-functions.mjs +19 -0
- package/esm2020/user-device-manage/src/confirm-dialog/info-dialog.component.mjs +34 -0
- package/esm2020/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.mjs +31 -0
- package/esm2020/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.mjs +16 -0
- package/esm2020/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.mjs +64 -0
- package/esm2020/user-device-manage/src/device-associated-line/device-associated-line.component.mjs +179 -0
- package/esm2020/user-device-manage/src/device-list/device-list.component.mjs +24 -0
- package/esm2020/user-device-manage/src/device-manage-widget.component.mjs +335 -0
- package/esm2020/user-device-manage/src/environments/environment.mjs +11 -0
- package/esm2020/user-device-manage/src/interseptors/auth.interceptor.mjs +36 -0
- package/esm2020/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.mjs +74 -0
- package/esm2020/user-device-manage/src/material.module.mjs +192 -0
- package/esm2020/user-device-manage/src/notifications/notification.component.mjs +35 -0
- package/esm2020/user-device-manage/src/services/api.service.mjs +79 -0
- package/esm2020/user-device-manage/src/services/device.service.mjs +83 -0
- package/esm2020/user-device-manage/src/services/dns.service.mjs +104 -0
- package/esm2020/user-device-manage/src/services/line.service.mjs +76 -0
- package/esm2020/user-device-manage/src/services/notification.service.mjs +62 -0
- package/esm2020/user-device-manage/src/services/removeKynFromIBM.service.mjs +25 -0
- package/esm2020/user-device-manage/src/services/site-settings.service.mjs +70 -0
- package/esm2020/user-device-manage/src/services/sorting-utils.service.mjs +197 -0
- package/esm2020/user-device-manage/src/services/user.service.mjs +243 -0
- package/esm2020/user-device-manage/src/services/utils.service.mjs +87 -0
- package/esm2020/user-device-manage/src/services/validation.service.mjs +760 -0
- package/esm2020/user-device-manage/src/user-device-manage.module.mjs +107 -0
- package/esm2020/user-device-manage/src/utils/app-loader/app-loader.mjs +14 -0
- package/esm2020/user-device-manage/tuki-io-tuki-widgets-user-device-manage.mjs +5 -0
- package/esm2020/user-manage/public-api.mjs +7 -0
- package/esm2020/user-manage/src/app.constants.mjs +50 -0
- package/esm2020/user-manage/src/classes/device.mjs +37 -0
- package/esm2020/user-manage/src/classes/line-association-interface.mjs +2 -0
- package/esm2020/user-manage/src/classes/line-association.mjs +110 -0
- package/esm2020/user-manage/src/classes/line-call-info-display.mjs +10 -0
- package/esm2020/user-manage/src/classes/line-directory.mjs +27 -0
- package/esm2020/user-manage/src/classes/line.mjs +18 -0
- package/esm2020/user-manage/src/classes/notification.mjs +32 -0
- package/esm2020/user-manage/src/classes/pagination.mjs +8 -0
- package/esm2020/user-manage/src/classes/recording-options.mjs +7 -0
- package/esm2020/user-manage/src/classes/simplified-user.mjs +109 -0
- package/esm2020/user-manage/src/classes/table-data.mjs +2 -0
- package/esm2020/user-manage/src/classes/translation-pattern.mjs +32 -0
- package/esm2020/user-manage/src/classes/user-list.mjs +10 -0
- package/esm2020/user-manage/src/common-functions.mjs +19 -0
- package/esm2020/user-manage/src/device-list/device-list.component.mjs +24 -0
- package/esm2020/user-manage/src/environments/environment.mjs +11 -0
- package/esm2020/user-manage/src/interseptors/auth.interceptor.mjs +36 -0
- package/esm2020/user-manage/src/lazy-loading-select/lazy-loading-select.component.mjs +74 -0
- package/esm2020/user-manage/src/material.module.mjs +188 -0
- package/esm2020/user-manage/src/notifications/notification.component.mjs +35 -0
- package/esm2020/user-manage/src/removeKynFromIBM.service.mjs +25 -0
- package/esm2020/user-manage/src/services/api.service.mjs +79 -0
- package/esm2020/user-manage/src/services/dns.service.mjs +110 -0
- package/esm2020/user-manage/src/services/line.service.mjs +34 -0
- package/esm2020/user-manage/src/services/notification.service.mjs +62 -0
- package/esm2020/user-manage/src/services/removeKynFromIBM.service.mjs +25 -0
- package/esm2020/user-manage/src/services/site-settings.service.mjs +36 -0
- package/esm2020/user-manage/src/services/sorting-utils.service.mjs +197 -0
- package/esm2020/user-manage/src/services/user.service.mjs +207 -0
- package/esm2020/user-manage/src/services/users-search.service.mjs +49 -0
- package/esm2020/user-manage/src/services/utils.service.mjs +73 -0
- package/esm2020/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.mjs +65 -0
- package/esm2020/user-manage/src/user-calling/user-calling.component.mjs +78 -0
- package/esm2020/user-manage/src/user-info/user-info.component.mjs +20 -0
- package/esm2020/user-manage/src/user-manage-widget.component.mjs +208 -0
- package/esm2020/user-manage/src/user-manage.module.mjs +99 -0
- package/esm2020/user-manage/src/utils/app-loader/app-loader.mjs +14 -0
- package/esm2020/user-manage/src/utils/pagination/pagination.component.mjs +43 -0
- package/esm2020/user-manage/tuki-io-tuki-widgets-user-manage.mjs +5 -0
- package/esm2020/users-list/public-api.mjs +9 -0
- package/esm2020/users-list/src/app.constants.mjs +50 -0
- package/esm2020/users-list/src/classes/device.mjs +7 -0
- package/esm2020/users-list/src/classes/line.mjs +18 -0
- package/esm2020/users-list/src/classes/notification.mjs +31 -0
- package/esm2020/users-list/src/classes/pagination.mjs +8 -0
- package/esm2020/users-list/src/classes/simlified-user.mjs +50 -0
- package/esm2020/users-list/src/classes/table-data.mjs +2 -0
- package/esm2020/users-list/src/classes/user-list.mjs +13 -0
- package/esm2020/users-list/src/material.module.mjs +209 -0
- package/esm2020/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.mjs +111 -0
- package/esm2020/users-list/src/move-user-wizard/move-user-wizard.component.mjs +38 -0
- package/esm2020/users-list/src/services/api-webex.service.mjs +18 -0
- package/esm2020/users-list/src/services/api.service.mjs +78 -0
- package/esm2020/users-list/src/services/dns.service.mjs +120 -0
- package/esm2020/users-list/src/services/events-communication.service.mjs +14 -0
- package/esm2020/users-list/src/services/notification.service.mjs +62 -0
- package/esm2020/users-list/src/services/removeKynFromIBM.service.mjs +25 -0
- package/esm2020/users-list/src/services/user.service.mjs +142 -0
- package/esm2020/users-list/src/services/users-search.service.mjs +120 -0
- package/esm2020/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.mjs +34 -0
- package/esm2020/users-list/src/users-list.component.mjs +287 -0
- package/esm2020/users-list/src/users-list.module.mjs +80 -0
- package/esm2020/users-list/src/utils/app-loader/app-loader.mjs +14 -0
- package/esm2020/users-list/src/utils/common-functions.mjs +19 -0
- package/esm2020/users-list/src/utils/pagination/pagination.component.mjs +43 -0
- package/esm2020/users-list/src/utils/utils.service.mjs +73 -0
- package/esm2020/users-list/tuki-io-tuki-widgets-users-list.mjs +5 -0
- package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs +3402 -0
- package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -0
- package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs +2123 -0
- package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs.map +1 -0
- package/fesm2015/tuki-io-tuki-widgets-users-list.mjs +1563 -0
- package/fesm2015/tuki-io-tuki-widgets-users-list.mjs.map +1 -0
- package/fesm2015/tuki-io-tuki-widgets.mjs +63 -0
- package/fesm2015/tuki-io-tuki-widgets.mjs.map +1 -0
- package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs +3364 -0
- package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -0
- package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs +2106 -0
- package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs.map +1 -0
- package/fesm2020/tuki-io-tuki-widgets-users-list.mjs +1550 -0
- package/fesm2020/tuki-io-tuki-widgets-users-list.mjs.map +1 -0
- package/fesm2020/tuki-io-tuki-widgets.mjs +63 -0
- package/fesm2020/tuki-io-tuki-widgets.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/widgets.component.d.ts +8 -0
- package/lib/widgets.module.d.ts +7 -0
- package/lib/widgets.service.d.ts +6 -0
- package/package.json +57 -46
- package/{projects/tuki/widgets/src/public-api.ts → public-api.d.ts} +0 -4
- package/user-device-manage/index.d.ts +5 -0
- package/user-device-manage/src/app.constants.d.ts +74 -0
- package/user-device-manage/src/classes/device.d.ts +233 -0
- package/user-device-manage/src/classes/line-association-interface.d.ts +45 -0
- package/user-device-manage/src/classes/line-association.d.ts +62 -0
- package/user-device-manage/src/classes/line-call-info-display.d.ts +11 -0
- package/user-device-manage/src/classes/line-directory.d.ts +15 -0
- package/user-device-manage/src/classes/line.d.ts +140 -0
- package/user-device-manage/src/classes/notification.d.ts +18 -0
- package/user-device-manage/src/classes/recording-options.d.ts +5 -0
- package/user-device-manage/src/classes/simplified-user.d.ts +52 -0
- package/user-device-manage/src/classes/site-defaults.d.ts +146 -0
- package/user-device-manage/src/classes/translation-pattern.d.ts +19 -0
- package/user-device-manage/src/classes/types.d.ts +19 -0
- package/user-device-manage/src/common-functions.d.ts +1 -0
- package/user-device-manage/src/confirm-dialog/info-dialog.component.d.ts +20 -0
- package/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.d.ts +15 -0
- package/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.d.ts +7 -0
- package/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.d.ts +24 -0
- package/user-device-manage/src/device-associated-line/device-associated-line.component.d.ts +89 -0
- package/user-device-manage/src/device-list/device-list.component.d.ts +11 -0
- package/user-device-manage/src/device-manage-widget.component.d.ts +71 -0
- package/user-device-manage/src/environments/environment.d.ts +9 -0
- package/user-device-manage/src/interseptors/auth.interceptor.d.ts +9 -0
- package/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.d.ts +35 -0
- package/user-device-manage/src/material.module.d.ts +29 -0
- package/user-device-manage/src/notifications/notification.component.d.ts +19 -0
- package/user-device-manage/src/services/api.service.d.ts +20 -0
- package/user-device-manage/src/services/device.service.d.ts +21 -0
- package/user-device-manage/src/services/dns.service.d.ts +14 -0
- package/user-device-manage/src/services/line.service.d.ts +33 -0
- package/user-device-manage/src/services/notification.service.d.ts +18 -0
- package/user-device-manage/src/services/removeKynFromIBM.service.d.ts +8 -0
- package/user-device-manage/src/services/site-settings.service.d.ts +25 -0
- package/user-device-manage/src/services/sorting-utils.service.d.ts +26 -0
- package/user-device-manage/src/services/user.service.d.ts +51 -0
- package/user-device-manage/src/services/utils.service.d.ts +10 -0
- package/user-device-manage/src/services/validation.service.d.ts +165 -0
- package/user-device-manage/src/user-device-manage.module.d.ts +22 -0
- package/user-device-manage/src/utils/app-loader/app-loader.d.ts +6 -0
- package/user-manage/index.d.ts +5 -0
- package/user-manage/src/app.constants.d.ts +29 -0
- package/user-manage/src/classes/device.d.ts +203 -0
- package/user-manage/src/classes/line-association-interface.d.ts +40 -0
- package/user-manage/src/classes/line-association.d.ts +55 -0
- package/user-manage/src/classes/line-call-info-display.d.ts +11 -0
- package/user-manage/src/classes/line-directory.d.ts +16 -0
- package/user-manage/src/classes/line.d.ts +140 -0
- package/user-manage/src/classes/notification.d.ts +18 -0
- package/user-manage/src/classes/pagination.d.ts +13 -0
- package/user-manage/src/classes/recording-options.d.ts +5 -0
- package/user-manage/src/classes/simplified-user.d.ts +50 -0
- package/user-manage/src/classes/table-data.d.ts +5 -0
- package/user-manage/src/classes/translation-pattern.d.ts +18 -0
- package/user-manage/src/classes/user-list.d.ts +34 -0
- package/user-manage/src/common-functions.d.ts +1 -0
- package/user-manage/src/device-list/device-list.component.d.ts +11 -0
- package/user-manage/src/environments/environment.d.ts +9 -0
- package/user-manage/src/interseptors/auth.interceptor.d.ts +9 -0
- package/user-manage/src/lazy-loading-select/lazy-loading-select.component.d.ts +35 -0
- package/user-manage/src/material.module.d.ts +28 -0
- package/user-manage/src/notifications/notification.component.d.ts +19 -0
- package/user-manage/src/removeKynFromIBM.service.d.ts +8 -0
- package/user-manage/src/services/api.service.d.ts +21 -0
- package/user-manage/src/services/dns.service.d.ts +14 -0
- package/user-manage/src/services/line.service.d.ts +17 -0
- package/user-manage/src/services/notification.service.d.ts +18 -0
- package/user-manage/src/services/removeKynFromIBM.service.d.ts +8 -0
- package/user-manage/src/services/site-settings.service.d.ts +9 -0
- package/user-manage/src/services/sorting-utils.service.d.ts +26 -0
- package/user-manage/src/services/user.service.d.ts +43 -0
- package/user-manage/src/services/users-search.service.d.ts +25 -0
- package/user-manage/src/services/utils.service.d.ts +9 -0
- package/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.d.ts +24 -0
- package/user-manage/src/user-calling/user-calling.component.d.ts +30 -0
- package/user-manage/src/user-info/user-info.component.d.ts +9 -0
- package/user-manage/src/user-manage-widget.component.d.ts +45 -0
- package/user-manage/src/user-manage.module.d.ts +21 -0
- package/user-manage/src/utils/app-loader/app-loader.d.ts +6 -0
- package/user-manage/src/utils/pagination/pagination.component.d.ts +18 -0
- package/users-list/index.d.ts +5 -0
- package/users-list/src/app.constants.d.ts +32 -0
- package/users-list/src/classes/device.d.ts +224 -0
- package/users-list/src/classes/line.d.ts +140 -0
- package/users-list/src/classes/notification.d.ts +18 -0
- package/users-list/src/classes/pagination.d.ts +13 -0
- package/users-list/src/classes/simlified-user.d.ts +25 -0
- package/users-list/src/classes/table-data.d.ts +5 -0
- package/users-list/src/classes/user-list.d.ts +36 -0
- package/users-list/src/material.module.d.ts +31 -0
- package/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.d.ts +31 -0
- package/users-list/src/move-user-wizard/move-user-wizard.component.d.ts +17 -0
- package/users-list/src/services/api-webex.service.d.ts +8 -0
- package/users-list/src/services/api.service.d.ts +21 -0
- package/users-list/src/services/dns.service.d.ts +18 -0
- package/users-list/src/services/events-communication.service.d.ts +8 -0
- package/users-list/src/services/notification.service.d.ts +18 -0
- package/users-list/src/services/removeKynFromIBM.service.d.ts +8 -0
- package/users-list/src/services/user.service.d.ts +35 -0
- package/users-list/src/services/users-search.service.d.ts +34 -0
- package/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.d.ts +20 -0
- package/users-list/src/users-list.component.d.ts +60 -0
- package/users-list/src/users-list.module.d.ts +16 -0
- package/users-list/src/utils/app-loader/app-loader.d.ts +6 -0
- package/users-list/src/utils/common-functions.d.ts +1 -0
- package/users-list/src/utils/pagination/pagination.component.d.ts +18 -0
- package/users-list/src/utils/utils.service.d.ts +9 -0
- package/.editorconfig +0 -16
- package/.vscode/extensions.json +0 -4
- package/.vscode/launch.json +0 -20
- package/.vscode/tasks.json +0 -42
- package/angular.json +0 -41
- package/projects/tuki/widgets/README.md +0 -24
- package/projects/tuki/widgets/karma.conf.js +0 -44
- package/projects/tuki/widgets/ng-package.json +0 -7
- package/projects/tuki/widgets/package.json +0 -13
- package/projects/tuki/widgets/src/lib/widgets.component.spec.ts +0 -23
- package/projects/tuki/widgets/src/lib/widgets.component.ts +0 -20
- package/projects/tuki/widgets/src/lib/widgets.module.ts +0 -16
- package/projects/tuki/widgets/src/lib/widgets.service.spec.ts +0 -16
- package/projects/tuki/widgets/src/lib/widgets.service.ts +0 -9
- package/projects/tuki/widgets/src/test.ts +0 -27
- package/projects/tuki/widgets/styles.scss +0 -572
- package/projects/tuki/widgets/tsconfig.lib.json +0 -36
- package/projects/tuki/widgets/tsconfig.lib.prod.json +0 -10
- package/projects/tuki/widgets/tsconfig.spec.json +0 -17
- package/projects/tuki/widgets/user-device-manage/ng-package.json +0 -7
- package/projects/tuki/widgets/user-device-manage/src/app.constants.ts +0 -96
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/arrow-left.svg +0 -5
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/arrow-right.svg +0 -5
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/close_icon_x.svg +0 -3
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/delete_icon.svg +0 -5
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/dragger-vertical-icon.svg +0 -3
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/icon_user.svg +0 -1
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/vartical_divider_icon.svg +0 -3
- package/projects/tuki/widgets/user-device-manage/src/classes/device.ts +0 -292
- package/projects/tuki/widgets/user-device-manage/src/classes/line-association-interface.ts +0 -50
- package/projects/tuki/widgets/user-device-manage/src/classes/line-association.ts +0 -177
- package/projects/tuki/widgets/user-device-manage/src/classes/line-call-info-display.ts +0 -21
- package/projects/tuki/widgets/user-device-manage/src/classes/line-directory.ts +0 -41
- package/projects/tuki/widgets/user-device-manage/src/classes/line.ts +0 -144
- package/projects/tuki/widgets/user-device-manage/src/classes/notification.ts +0 -40
- package/projects/tuki/widgets/user-device-manage/src/classes/recording-options.ts +0 -6
- package/projects/tuki/widgets/user-device-manage/src/classes/simplified-user.ts +0 -169
- package/projects/tuki/widgets/user-device-manage/src/classes/site-defaults.ts +0 -167
- package/projects/tuki/widgets/user-device-manage/src/classes/translation-pattern.ts +0 -50
- package/projects/tuki/widgets/user-device-manage/src/classes/types.ts +0 -19
- package/projects/tuki/widgets/user-device-manage/src/classes/user-interface.ts +0 -225
- package/projects/tuki/widgets/user-device-manage/src/classes/user.ts +0 -8
- package/projects/tuki/widgets/user-device-manage/src/common-functions.ts +0 -16
- package/projects/tuki/widgets/user-device-manage/src/confirm-dialog/info-dialog.component.html +0 -14
- package/projects/tuki/widgets/user-device-manage/src/confirm-dialog/info-dialog.component.scss +0 -80
- package/projects/tuki/widgets/user-device-manage/src/confirm-dialog/info-dialog.component.ts +0 -35
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.html +0 -21
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.scss +0 -97
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.ts +0 -28
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.html +0 -6
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.scss +0 -20
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.ts +0 -13
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.html +0 -6
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.scss +0 -4
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.ts +0 -63
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line.component.html +0 -241
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line.component.scss +0 -500
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line.component.ts +0 -194
- package/projects/tuki/widgets/user-device-manage/src/device-list/device-list.component.html +0 -27
- package/projects/tuki/widgets/user-device-manage/src/device-list/device-list.component.scss +0 -131
- package/projects/tuki/widgets/user-device-manage/src/device-list/device-list.component.ts +0 -25
- package/projects/tuki/widgets/user-device-manage/src/device-manage-widget.component.html +0 -209
- package/projects/tuki/widgets/user-device-manage/src/device-manage-widget.component.scss +0 -502
- package/projects/tuki/widgets/user-device-manage/src/device-manage-widget.component.ts +0 -354
- package/projects/tuki/widgets/user-device-manage/src/environments/environment.prod.ts +0 -9
- package/projects/tuki/widgets/user-device-manage/src/environments/environment.ts +0 -10
- package/projects/tuki/widgets/user-device-manage/src/interseptors/auth.interceptor.ts +0 -35
- package/projects/tuki/widgets/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.html +0 -50
- package/projects/tuki/widgets/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.scss +0 -8
- package/projects/tuki/widgets/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.ts +0 -81
- package/projects/tuki/widgets/user-device-manage/src/material.module.ts +0 -87
- package/projects/tuki/widgets/user-device-manage/src/notifications/notification.component.html +0 -33
- package/projects/tuki/widgets/user-device-manage/src/notifications/notification.component.scss +0 -84
- package/projects/tuki/widgets/user-device-manage/src/notifications/notification.component.ts +0 -46
- package/projects/tuki/widgets/user-device-manage/src/removeKynFromIBM.service.ts +0 -25
- package/projects/tuki/widgets/user-device-manage/src/services/api.service.ts +0 -87
- package/projects/tuki/widgets/user-device-manage/src/services/common-functions.ts +0 -17
- package/projects/tuki/widgets/user-device-manage/src/services/device.service.ts +0 -95
- package/projects/tuki/widgets/user-device-manage/src/services/dns.service.ts +0 -111
- package/projects/tuki/widgets/user-device-manage/src/services/line.service.ts +0 -89
- package/projects/tuki/widgets/user-device-manage/src/services/notification.service.ts +0 -68
- package/projects/tuki/widgets/user-device-manage/src/services/removeKynFromIBM.service.ts +0 -25
- package/projects/tuki/widgets/user-device-manage/src/services/site-settings.service.ts +0 -82
- package/projects/tuki/widgets/user-device-manage/src/services/sorting-utils.service.ts +0 -203
- package/projects/tuki/widgets/user-device-manage/src/services/user.service.ts +0 -283
- package/projects/tuki/widgets/user-device-manage/src/services/utils.service.ts +0 -87
- package/projects/tuki/widgets/user-device-manage/src/services/validation.service.ts +0 -829
- package/projects/tuki/widgets/user-device-manage/src/styles/_variables.scss +0 -90
- package/projects/tuki/widgets/user-device-manage/src/styles/form.scss +0 -231
- package/projects/tuki/widgets/user-device-manage/src/styles/icons.scss +0 -32
- package/projects/tuki/widgets/user-device-manage/src/styles/styles.scss +0 -110
- package/projects/tuki/widgets/user-device-manage/src/styles/tables.scss +0 -30
- package/projects/tuki/widgets/user-device-manage/src/user-device-manage.module.ts +0 -73
- package/projects/tuki/widgets/user-device-manage/src/utils/app-loader/app-loader.component.html +0 -6
- package/projects/tuki/widgets/user-device-manage/src/utils/app-loader/app-loader.component.scss +0 -11
- package/projects/tuki/widgets/user-device-manage/src/utils/app-loader/app-loader.ts +0 -13
- package/projects/tuki/widgets/user-manage/ng-package.json +0 -7
- package/projects/tuki/widgets/user-manage/src/app.constants.ts +0 -50
- package/projects/tuki/widgets/user-manage/src/assets/icons/arrow-left.svg +0 -5
- package/projects/tuki/widgets/user-manage/src/assets/icons/arrow-right.svg +0 -5
- package/projects/tuki/widgets/user-manage/src/assets/icons/delete_icon.svg +0 -5
- package/projects/tuki/widgets/user-manage/src/assets/icons/dragger-vertical-icon.svg +0 -3
- package/projects/tuki/widgets/user-manage/src/assets/icons/icon_user.svg +0 -1
- package/projects/tuki/widgets/user-manage/src/assets/icons/vartical_divider_icon.svg +0 -3
- package/projects/tuki/widgets/user-manage/src/classes/device.ts +0 -232
- package/projects/tuki/widgets/user-manage/src/classes/line-association-interface.ts +0 -43
- package/projects/tuki/widgets/user-manage/src/classes/line-association.ts +0 -161
- package/projects/tuki/widgets/user-manage/src/classes/line-call-info-display.ts +0 -21
- package/projects/tuki/widgets/user-manage/src/classes/line-directory.ts +0 -42
- package/projects/tuki/widgets/user-manage/src/classes/line.ts +0 -144
- package/projects/tuki/widgets/user-manage/src/classes/notification.ts +0 -39
- package/projects/tuki/widgets/user-manage/src/classes/pagination.ts +0 -18
- package/projects/tuki/widgets/user-manage/src/classes/recording-options.ts +0 -6
- package/projects/tuki/widgets/user-manage/src/classes/simplified-user.ts +0 -165
- package/projects/tuki/widgets/user-manage/src/classes/table-data.ts +0 -6
- package/projects/tuki/widgets/user-manage/src/classes/translation-pattern.ts +0 -49
- package/projects/tuki/widgets/user-manage/src/classes/user-interface.ts +0 -225
- package/projects/tuki/widgets/user-manage/src/classes/user-list.ts +0 -42
- package/projects/tuki/widgets/user-manage/src/classes/user.ts +0 -8
- package/projects/tuki/widgets/user-manage/src/common-functions.ts +0 -16
- package/projects/tuki/widgets/user-manage/src/device-list/device-list.component.html +0 -27
- package/projects/tuki/widgets/user-manage/src/device-list/device-list.component.scss +0 -131
- package/projects/tuki/widgets/user-manage/src/device-list/device-list.component.ts +0 -25
- package/projects/tuki/widgets/user-manage/src/environments/environment.prod.ts +0 -9
- package/projects/tuki/widgets/user-manage/src/environments/environment.ts +0 -10
- package/projects/tuki/widgets/user-manage/src/interseptors/auth.interceptor.ts +0 -35
- package/projects/tuki/widgets/user-manage/src/lazy-loading-select/lazy-loading-select.component.html +0 -50
- package/projects/tuki/widgets/user-manage/src/lazy-loading-select/lazy-loading-select.component.scss +0 -8
- package/projects/tuki/widgets/user-manage/src/lazy-loading-select/lazy-loading-select.component.ts +0 -81
- package/projects/tuki/widgets/user-manage/src/material.module.ts +0 -85
- package/projects/tuki/widgets/user-manage/src/notifications/notification.component.html +0 -33
- package/projects/tuki/widgets/user-manage/src/notifications/notification.component.scss +0 -84
- package/projects/tuki/widgets/user-manage/src/notifications/notification.component.ts +0 -46
- package/projects/tuki/widgets/user-manage/src/removeKynFromIBM.service.ts +0 -25
- package/projects/tuki/widgets/user-manage/src/services/api.service.ts +0 -90
- package/projects/tuki/widgets/user-manage/src/services/dns.service.ts +0 -116
- package/projects/tuki/widgets/user-manage/src/services/line.service.ts +0 -31
- package/projects/tuki/widgets/user-manage/src/services/notification.service.ts +0 -68
- package/projects/tuki/widgets/user-manage/src/services/removeKynFromIBM.service.ts +0 -25
- package/projects/tuki/widgets/user-manage/src/services/site-settings.service.ts +0 -35
- package/projects/tuki/widgets/user-manage/src/services/sorting-utils.service.ts +0 -203
- package/projects/tuki/widgets/user-manage/src/services/user.service.ts +0 -242
- package/projects/tuki/widgets/user-manage/src/services/users-search.service.ts +0 -58
- package/projects/tuki/widgets/user-manage/src/services/utils.service.ts +0 -71
- package/projects/tuki/widgets/user-manage/src/styles/_variables.scss +0 -90
- package/projects/tuki/widgets/user-manage/src/styles/form.scss +0 -231
- package/projects/tuki/widgets/user-manage/src/styles/icons.scss +0 -32
- package/projects/tuki/widgets/user-manage/src/styles/styles.scss +0 -110
- package/projects/tuki/widgets/user-manage/src/styles/tables.scss +0 -30
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.html +0 -10
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.scss +0 -429
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.ts +0 -63
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling.component.html +0 -32
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling.component.scss +0 -444
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling.component.ts +0 -89
- package/projects/tuki/widgets/user-manage/src/user-details/notification.service.ts +0 -68
- package/projects/tuki/widgets/user-manage/src/user-info/user-info.component.html +0 -29
- package/projects/tuki/widgets/user-manage/src/user-info/user-info.component.scss +0 -64
- package/projects/tuki/widgets/user-manage/src/user-info/user-info.component.ts +0 -19
- package/projects/tuki/widgets/user-manage/src/user-manage-widget.component.html +0 -290
- package/projects/tuki/widgets/user-manage/src/user-manage-widget.component.scss +0 -463
- package/projects/tuki/widgets/user-manage/src/user-manage-widget.component.ts +0 -212
- package/projects/tuki/widgets/user-manage/src/user-manage.module.ts +0 -63
- package/projects/tuki/widgets/user-manage/src/utils/app-loader/app-loader.component.html +0 -6
- package/projects/tuki/widgets/user-manage/src/utils/app-loader/app-loader.component.scss +0 -11
- package/projects/tuki/widgets/user-manage/src/utils/app-loader/app-loader.ts +0 -13
- package/projects/tuki/widgets/user-manage/src/utils/pagination/pagination.component.html +0 -26
- package/projects/tuki/widgets/user-manage/src/utils/pagination/pagination.component.scss +0 -41
- package/projects/tuki/widgets/user-manage/src/utils/pagination/pagination.component.ts +0 -41
- package/projects/tuki/widgets/users-list/ng-package.json +0 -6
- package/projects/tuki/widgets/users-list/src/app.constants.ts +0 -50
- package/projects/tuki/widgets/users-list/src/assets/icons/close_icon_modal.svg +0 -3
- package/projects/tuki/widgets/users-list/src/assets/icons/icon_user.svg +0 -1
- package/projects/tuki/widgets/users-list/src/assets/icons/move_user_to_another_location.svg +0 -14
- package/projects/tuki/widgets/users-list/src/assets/icons/white-close-icon.svg +0 -3
- package/projects/tuki/widgets/users-list/src/classes/device.ts +0 -225
- package/projects/tuki/widgets/users-list/src/classes/line.ts +0 -144
- package/projects/tuki/widgets/users-list/src/classes/notification.ts +0 -38
- package/projects/tuki/widgets/users-list/src/classes/pagination.ts +0 -18
- package/projects/tuki/widgets/users-list/src/classes/simlified-user.ts +0 -74
- package/projects/tuki/widgets/users-list/src/classes/table-data.ts +0 -6
- package/projects/tuki/widgets/users-list/src/classes/user-interface.ts +0 -225
- package/projects/tuki/widgets/users-list/src/classes/user-list.ts +0 -47
- package/projects/tuki/widgets/users-list/src/classes/user.ts +0 -8
- package/projects/tuki/widgets/users-list/src/material.module.ts +0 -94
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.html +0 -95
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.scss +0 -182
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.ts +0 -110
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-wizard.component.html +0 -12
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-wizard.component.scss +0 -41
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-wizard.component.ts +0 -36
- package/projects/tuki/widgets/users-list/src/services/api-webex.service.ts +0 -14
- package/projects/tuki/widgets/users-list/src/services/api.service.ts +0 -90
- package/projects/tuki/widgets/users-list/src/services/dns.service.ts +0 -128
- package/projects/tuki/widgets/users-list/src/services/events-communication.service.ts +0 -11
- package/projects/tuki/widgets/users-list/src/services/notification.service.ts +0 -68
- package/projects/tuki/widgets/users-list/src/services/removeKynFromIBM.service.ts +0 -25
- package/projects/tuki/widgets/users-list/src/services/user.service.ts +0 -159
- package/projects/tuki/widgets/users-list/src/services/users-search.service.ts +0 -135
- package/projects/tuki/widgets/users-list/src/styles/styles.scss +0 -572
- package/projects/tuki/widgets/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.html +0 -15
- package/projects/tuki/widgets/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.scss +0 -103
- package/projects/tuki/widgets/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.ts +0 -35
- package/projects/tuki/widgets/users-list/src/users-list.component.css +0 -4
- package/projects/tuki/widgets/users-list/src/users-list.component.css.map +0 -1
- package/projects/tuki/widgets/users-list/src/users-list.component.html +0 -85
- package/projects/tuki/widgets/users-list/src/users-list.component.scss +0 -572
- package/projects/tuki/widgets/users-list/src/users-list.component.ts +0 -312
- package/projects/tuki/widgets/users-list/src/users-list.module.ts +0 -51
- package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.component.css +0 -11
- package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.component.css.map +0 -1
- package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.component.html +0 -6
- package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.component.scss +0 -11
- package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.ts +0 -13
- package/projects/tuki/widgets/users-list/src/utils/common-functions.ts +0 -16
- package/projects/tuki/widgets/users-list/src/utils/notifications/notification.component.html +0 -33
- package/projects/tuki/widgets/users-list/src/utils/notifications/notification.component.scss +0 -84
- package/projects/tuki/widgets/users-list/src/utils/notifications/notification.component.ts +0 -46
- package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.css +0 -45
- package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.css.map +0 -1
- package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.html +0 -26
- package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.scss +0 -41
- package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.ts +0 -41
- package/projects/tuki/widgets/users-list/src/utils/utils.service.ts +0 -71
- package/tsconfig.json +0 -46
- /package/{projects/tuki/widgets/user-device-manage/public-api.ts → user-device-manage/public-api.d.ts} +0 -0
- /package/{projects/tuki/widgets/user-manage/public-api.ts → user-manage/public-api.d.ts} +0 -0
- /package/{projects/tuki/widgets/users-list/public-api.ts → users-list/public-api.d.ts} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?><svg id="a" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16.67 15.56"><defs><style>.b{fill:none;stroke:#2c355d;stroke-width:1.4px;}</style></defs><path class="b" d="M4.87,3.89c0-1.72,1.51-3.19,3.47-3.19s3.47,1.47,3.47,3.19-1.51,3.19-3.47,3.19-3.47-1.47-3.47-3.19ZM.7,12.64c0-.37,.19-.76,.67-1.17,.48-.41,1.17-.78,2-1.09,1.66-.62,3.66-.93,4.97-.93s3.31,.31,4.97,.93c.83,.31,1.52,.68,2,1.09,.47,.41,.67,.8,.67,1.17v2.22H.7v-2.22Z"/></svg>
|
|
@@ -1,232 +0,0 @@
|
|
|
1
|
-
import { getSavableData } from '../common-functions';
|
|
2
|
-
import { EntityChangeType } from './line';
|
|
3
|
-
import { LineAssociation } from './line-association';
|
|
4
|
-
import { LineAssociationInterface } from './line-association-interface';
|
|
5
|
-
|
|
6
|
-
export class Device {
|
|
7
|
-
// simplified TEMP
|
|
8
|
-
name!: string;
|
|
9
|
-
pkiid!: string
|
|
10
|
-
deviceType!: string;
|
|
11
|
-
lineAssociations!: LineAssociation[] | LineAssociationInterface[];
|
|
12
|
-
lineAssociationsHasChanges = false;
|
|
13
|
-
protocol!: string;
|
|
14
|
-
description!: string;
|
|
15
|
-
buttonTemplate!: string;
|
|
16
|
-
softkeyTemplate!: string;
|
|
17
|
-
devicePoolName!: string;
|
|
18
|
-
location!: string;
|
|
19
|
-
callingSearchSpaceName!: string;
|
|
20
|
-
firmwareVersion!: string;
|
|
21
|
-
registrationStatus!: string
|
|
22
|
-
ipAddress!: string;
|
|
23
|
-
deviceKind!: string;
|
|
24
|
-
isCtiRoutePoint!: boolean;
|
|
25
|
-
alreadyUsedName!: string;
|
|
26
|
-
deviceDefaults: any;
|
|
27
|
-
availableSlots!: number[];
|
|
28
|
-
plarService = false;
|
|
29
|
-
|
|
30
|
-
constructor(device: any) {
|
|
31
|
-
if (device) {
|
|
32
|
-
this.name = device.name;
|
|
33
|
-
this.pkiid = device.pkiid;
|
|
34
|
-
this.deviceType = device.deviceType;
|
|
35
|
-
this.protocol = device.protocol;
|
|
36
|
-
this.description = device.description;
|
|
37
|
-
this.buttonTemplate = device.buttonTemplate;
|
|
38
|
-
this.softkeyTemplate = device.softkeyTemplate;
|
|
39
|
-
this.devicePoolName = device.devicePoolName;
|
|
40
|
-
this.location = device.location;
|
|
41
|
-
this.firmwareVersion = device.firmwareVersion;
|
|
42
|
-
this.plarService = device.plarService;
|
|
43
|
-
this.callingSearchSpaceName = device.callingSearchSpaceName;
|
|
44
|
-
this.registrationStatus = 'Unknown'; // TEMP for demo
|
|
45
|
-
this.ipAddress = 'None'; // TEMP for demo
|
|
46
|
-
|
|
47
|
-
this.lineAssociations = device.lineAssociations?.length ?
|
|
48
|
-
device.lineAssociations.map((line: any) => new LineAssociation(line)) : [];
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
getSavableData() {
|
|
53
|
-
const excludedFields: string[] = ['form'];
|
|
54
|
-
return getSavableData(this, excludedFields);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export interface DeviceInterface {
|
|
59
|
-
name: string;
|
|
60
|
-
newName: string;
|
|
61
|
-
pkid: string;
|
|
62
|
-
entityChangeType: EntityChangeType;
|
|
63
|
-
deviceType: string;
|
|
64
|
-
protocol: string;
|
|
65
|
-
description: string;
|
|
66
|
-
buttonTemplate: string;
|
|
67
|
-
softkeyTemplate: string;
|
|
68
|
-
devicePoolName: string;
|
|
69
|
-
location: string;
|
|
70
|
-
userLocale: string;
|
|
71
|
-
enabledExtensionMobility: boolean;
|
|
72
|
-
callingSearchSpaceName: string;
|
|
73
|
-
services: string[];
|
|
74
|
-
networkLocale: string;
|
|
75
|
-
securityProfile: string;
|
|
76
|
-
lineAssociations: LineAssociationInterface[];
|
|
77
|
-
speedDials: SpeedDialInterface[];
|
|
78
|
-
sipProfile: string;
|
|
79
|
-
subscribeCallingSearchSpaceName: string;
|
|
80
|
-
commonPhoneConfigName: string;
|
|
81
|
-
ctiRemoteDevice: boolean;
|
|
82
|
-
firstExpansionModule: string;
|
|
83
|
-
secondExpansionModule: string;
|
|
84
|
-
thirdExpansionModule: string;
|
|
85
|
-
builtInBridge: string;
|
|
86
|
-
extraOptions: DeviceExtraOptionsInterface;
|
|
87
|
-
formDisabledControls: string[];
|
|
88
|
-
sharedUsers: string[];
|
|
89
|
-
busyLampFields: BusyLampFieldsInterface[];
|
|
90
|
-
meetMeEnabled: boolean;
|
|
91
|
-
deviceKind: any;
|
|
92
|
-
isCtiRoutePoint: boolean;
|
|
93
|
-
cucmId: string;
|
|
94
|
-
plarDevice: boolean;
|
|
95
|
-
firmwareVersion: any;
|
|
96
|
-
certificateOperation: string;
|
|
97
|
-
authenticationMode: string;
|
|
98
|
-
authenticationString: string;
|
|
99
|
-
rsaKeySize: string;
|
|
100
|
-
operationCompletesBy: string;
|
|
101
|
-
certificateStatus: string;
|
|
102
|
-
day: string;
|
|
103
|
-
month: string;
|
|
104
|
-
year: string;
|
|
105
|
-
hour: string;
|
|
106
|
-
securityProfileUuid: string;
|
|
107
|
-
excludeDeviceExtraOptions: boolean;
|
|
108
|
-
webexUUID: string;
|
|
109
|
-
}
|
|
110
|
-
export interface SpeedDialInterface {
|
|
111
|
-
index: number;
|
|
112
|
-
position: number;
|
|
113
|
-
destination: string;
|
|
114
|
-
label: string;
|
|
115
|
-
editMode: boolean;
|
|
116
|
-
}
|
|
117
|
-
export enum RecordingOptions {
|
|
118
|
-
disabled = 'Call Recording Disabled',
|
|
119
|
-
auto_enabled = 'Automatic Call Recording Enabled',
|
|
120
|
-
selective_enabled = 'Selective Call Recording Enabled'
|
|
121
|
-
}
|
|
122
|
-
export interface LineCallInfoDisplayInterface {
|
|
123
|
-
callerName: string;
|
|
124
|
-
callerNumber: string;
|
|
125
|
-
redirectedNumber: string;
|
|
126
|
-
dialedNumber: string;
|
|
127
|
-
}
|
|
128
|
-
export interface SiteShortDataInterface {
|
|
129
|
-
id: number;
|
|
130
|
-
name: string;
|
|
131
|
-
}
|
|
132
|
-
export interface DeviceExtraOptionsInterface {
|
|
133
|
-
mediaResourceGroupList: string;
|
|
134
|
-
userHoldMOHAudioSourceId: number;
|
|
135
|
-
userHoldMOHAudioSourceName: string;
|
|
136
|
-
networkMOHAudioSourceId: number;
|
|
137
|
-
networkMOHAudioSourceName: string;
|
|
138
|
-
aarCss: string;
|
|
139
|
-
aarGroup: string;
|
|
140
|
-
privacy: string;
|
|
141
|
-
deviceMobilityMode: string;
|
|
142
|
-
mobilityUserId: string;
|
|
143
|
-
phonePersonalization: string;
|
|
144
|
-
servicesProvisioning: string;
|
|
145
|
-
phoneLoadName: string;
|
|
146
|
-
phoneIdleBLFAlertSetting: string;
|
|
147
|
-
phoneBusyBLFAlertSetting: string;
|
|
148
|
-
useTrustedRelayPoint: string;
|
|
149
|
-
alwaysUsePrimeLine: string;
|
|
150
|
-
alwaysUsePrimeLineForVoiceMessage: string;
|
|
151
|
-
geolocation: string;
|
|
152
|
-
emergencyLocation: string;
|
|
153
|
-
ignorePresentationIndicators: boolean;
|
|
154
|
-
loggedIntoHuntGroup: boolean;
|
|
155
|
-
enabledExtensionMobility: boolean;
|
|
156
|
-
remoteDevice: boolean;
|
|
157
|
-
protectedDevice: boolean;
|
|
158
|
-
hotlineDevice: boolean;
|
|
159
|
-
useDevicePoolCgpnIngressDN: boolean;
|
|
160
|
-
cgpnIngressDN: string;
|
|
161
|
-
useDevicePoolCgpnTransformCss: boolean;
|
|
162
|
-
cgpnTransformationCss: string;
|
|
163
|
-
packetCaptureMode: string;
|
|
164
|
-
packetCaptureDuration: number;
|
|
165
|
-
blfPresenceGroup: string;
|
|
166
|
-
sipDialRules: string;
|
|
167
|
-
mtpPreferredOriginatingCodec: string;
|
|
168
|
-
rerouteCss: string;
|
|
169
|
-
subscribeCss: string;
|
|
170
|
-
mtpRequired: boolean;
|
|
171
|
-
unattendedPort: boolean;
|
|
172
|
-
requireDtmfReception: boolean;
|
|
173
|
-
informationUrl: string;
|
|
174
|
-
directoryUrl: string;
|
|
175
|
-
messagesUrl: string;
|
|
176
|
-
servicesUrl: string;
|
|
177
|
-
authenticationUrl: string;
|
|
178
|
-
proxyServerUrl: string;
|
|
179
|
-
idleUrl: string;
|
|
180
|
-
idleTimeout: string;
|
|
181
|
-
secureAuthenticationUrl: string;
|
|
182
|
-
secureDirectoryUrl: string;
|
|
183
|
-
secureIdleUrl: string;
|
|
184
|
-
secureInformationUrl: string;
|
|
185
|
-
secureMessageUrl: string;
|
|
186
|
-
secureServicesUrl: string;
|
|
187
|
-
mlppDomain: string;
|
|
188
|
-
mlppIndication: string;
|
|
189
|
-
mlppPreemption: string;
|
|
190
|
-
confidentialAccessMode: string;
|
|
191
|
-
confidentialAccessLevel: string;
|
|
192
|
-
confidentialAccessLevelName: string;
|
|
193
|
-
doNotDisturb: boolean;
|
|
194
|
-
dndOption: string;
|
|
195
|
-
dndIncomingCallAlert: string;
|
|
196
|
-
disableSpeakerphone: boolean;
|
|
197
|
-
disableSpeakerphoneAndHeadset: boolean;
|
|
198
|
-
forwardingDelay: boolean;
|
|
199
|
-
pcPort: boolean;
|
|
200
|
-
settingsAccess: string;
|
|
201
|
-
gratuitousARP: boolean;
|
|
202
|
-
pcVoiceVlanAccess: boolean;
|
|
203
|
-
videoCapabilities: boolean;
|
|
204
|
-
webAccess: boolean;
|
|
205
|
-
daysDisplayNotActive: string[];
|
|
206
|
-
displayOnTime: string;
|
|
207
|
-
displayOnDuration: string;
|
|
208
|
-
displayIdleTimeout: string;
|
|
209
|
-
wirelessHeadsetHookswitchControl: boolean;
|
|
210
|
-
minRingVolume: string;
|
|
211
|
-
showAllCallsOnPL: boolean;
|
|
212
|
-
lineMode: string;
|
|
213
|
-
latentCapabilityRegistration: string;
|
|
214
|
-
analogGatewayPortInformation: AnalogGatewayPortInformationInterFace;
|
|
215
|
-
}
|
|
216
|
-
export interface AnalogGatewayPortInformationInterFace {
|
|
217
|
-
portDirection: string;
|
|
218
|
-
prefixDn: string;
|
|
219
|
-
numDigits: number;
|
|
220
|
-
expectedDigits: number;
|
|
221
|
-
smdiPortNumber: number;
|
|
222
|
-
trunk: string;
|
|
223
|
-
unattendedPort: string;
|
|
224
|
-
}
|
|
225
|
-
export interface BusyLampFieldsInterface {
|
|
226
|
-
index: number;
|
|
227
|
-
position: number;
|
|
228
|
-
destination: string;
|
|
229
|
-
dnWithRoutePartition: string;
|
|
230
|
-
label: string;
|
|
231
|
-
callPickup: boolean;
|
|
232
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { RecordingOptions } from './recording-options';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { LineDirectoryInterface, TranslationPatternInterface } from './line';
|
|
4
|
-
import { LineCallInfoDisplayInterface } from './device';
|
|
5
|
-
|
|
6
|
-
export interface LineAssociationInterface {
|
|
7
|
-
index: number;
|
|
8
|
-
position: number;
|
|
9
|
-
alertingName: string;
|
|
10
|
-
e164Mask: string;
|
|
11
|
-
textLabel: string;
|
|
12
|
-
displayLabel: string;
|
|
13
|
-
displayLabelAscii: string;
|
|
14
|
-
directoryNumber: LineDirectoryInterface;
|
|
15
|
-
didPattern: TranslationPatternInterface;
|
|
16
|
-
mappedDids: Array<string>;
|
|
17
|
-
linePkid: string;
|
|
18
|
-
maxNumberOfCalls: number;
|
|
19
|
-
busyTrigger: number;
|
|
20
|
-
recordingOption: RecordingOptions;
|
|
21
|
-
recordingProfile: string;
|
|
22
|
-
recordingMediaSource: string;
|
|
23
|
-
visualMWI: string;
|
|
24
|
-
audibleMWI: string;
|
|
25
|
-
ringSetting_idle: string;
|
|
26
|
-
ringSetting_active: string;
|
|
27
|
-
pickupAAS_idle: string;
|
|
28
|
-
pickupAAS_active: string;
|
|
29
|
-
monitorCSS: string;
|
|
30
|
-
logMissedCall: string;
|
|
31
|
-
callInfoDisplay: LineCallInfoDisplayInterface;
|
|
32
|
-
lineLocalId: string;
|
|
33
|
-
sharedUsers: string[];
|
|
34
|
-
sharedDevices: string[];
|
|
35
|
-
ownerUserId: Array<string>;
|
|
36
|
-
associated: boolean;
|
|
37
|
-
populateWithDid: boolean;
|
|
38
|
-
callingSearchSpace: string;
|
|
39
|
-
form: FormGroup;
|
|
40
|
-
|
|
41
|
-
// @ts-ignore
|
|
42
|
-
equals(line: any);
|
|
43
|
-
}
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
import { LineDirectory } from './line-directory';
|
|
2
|
-
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
-
import { LineCallInfoDisplay } from './line-call-info-display';
|
|
4
|
-
import { TranslationPattern } from './translation-pattern';
|
|
5
|
-
import { RecordingOptions } from './device';
|
|
6
|
-
import { LineAssociationInterface } from './line-association-interface';
|
|
7
|
-
import { getSavableData } from '../common-functions';
|
|
8
|
-
import { RECORDING_MEDIA_SOURCE } from '../app.constants';
|
|
9
|
-
|
|
10
|
-
export class LineAssociation implements LineAssociationInterface {
|
|
11
|
-
index!: number;
|
|
12
|
-
position: any;
|
|
13
|
-
e164Mask!: string;
|
|
14
|
-
textLabel!: string;
|
|
15
|
-
displayLabel!: string;
|
|
16
|
-
displayLabelAscii!: string;
|
|
17
|
-
directoryNumber!: any;
|
|
18
|
-
didPattern!: any;
|
|
19
|
-
mappedDids!: Array<string>;
|
|
20
|
-
linePkid!: string;
|
|
21
|
-
maxNumberOfCalls!: number;
|
|
22
|
-
busyTrigger!: number;
|
|
23
|
-
recordingOption!: RecordingOptions;
|
|
24
|
-
recordingProfile!: string;
|
|
25
|
-
recordingMediaSource!: string;
|
|
26
|
-
visualMWI!: string;
|
|
27
|
-
audibleMWI!: string;
|
|
28
|
-
ringSetting_idle!: string;
|
|
29
|
-
ringSetting_active!: string;
|
|
30
|
-
pickupAAS_idle!: string;
|
|
31
|
-
pickupAAS_active!: string;
|
|
32
|
-
monitorCSS!: string;
|
|
33
|
-
logMissedCall!: string;
|
|
34
|
-
callInfoDisplay!: LineCallInfoDisplay;
|
|
35
|
-
lineLocalId!: string;
|
|
36
|
-
callerName!: string;
|
|
37
|
-
callerNumber!: string;
|
|
38
|
-
redirectedNumber!: string;
|
|
39
|
-
dialedNumber!: string;
|
|
40
|
-
// non-savable data fields
|
|
41
|
-
viewMode!: boolean;
|
|
42
|
-
form!: FormGroup;
|
|
43
|
-
sharedUsers = [];
|
|
44
|
-
sharedDevices = [];
|
|
45
|
-
callingSearchSpace!: string;
|
|
46
|
-
ownerUserId!: Array<string>;
|
|
47
|
-
associated!: boolean;
|
|
48
|
-
patternUsage!: boolean;
|
|
49
|
-
plarDestinationNumber!: string;
|
|
50
|
-
prefixDigits!: string;
|
|
51
|
-
plarDescription!: string;
|
|
52
|
-
plarEnabled!: boolean;
|
|
53
|
-
alertingName!: string;
|
|
54
|
-
description!: string;
|
|
55
|
-
populateWithDid!: boolean;
|
|
56
|
-
|
|
57
|
-
constructor(lineAssociation: any) {
|
|
58
|
-
Object.assign(this, lineAssociation || {});
|
|
59
|
-
if (lineAssociation) {
|
|
60
|
-
this.index = lineAssociation.index || null;
|
|
61
|
-
this.position = lineAssociation.position || null;
|
|
62
|
-
this.e164Mask = lineAssociation.e164Mask || '';
|
|
63
|
-
this.textLabel = lineAssociation.textLabel || '';
|
|
64
|
-
this.displayLabel = lineAssociation.displayLabel || '';
|
|
65
|
-
this.displayLabelAscii = lineAssociation.displayLabelAscii || '';
|
|
66
|
-
this.linePkid = lineAssociation.linePkid || lineAssociation.pkid || '';
|
|
67
|
-
this.maxNumberOfCalls = lineAssociation.maxNumberOfCalls || null;
|
|
68
|
-
this.busyTrigger = lineAssociation.busyTrigger || null;
|
|
69
|
-
this.directoryNumber = new LineDirectory(lineAssociation.directoryNumber);
|
|
70
|
-
this.didPattern = new TranslationPattern(lineAssociation.didPattern);
|
|
71
|
-
this.recordingOption = lineAssociation.recordingOption || RecordingOptions.disabled;
|
|
72
|
-
this.recordingProfile = lineAssociation.recordingProfile || '';
|
|
73
|
-
this.recordingMediaSource = lineAssociation.recordingMediaSource || RECORDING_MEDIA_SOURCE[0];
|
|
74
|
-
this.visualMWI = lineAssociation.visualMWI || '';
|
|
75
|
-
this.audibleMWI = lineAssociation.audibleMWI || '';
|
|
76
|
-
this.ringSetting_idle = lineAssociation.ringSetting_idle || '';
|
|
77
|
-
this.ringSetting_active = lineAssociation. ringSetting_active || '';
|
|
78
|
-
this.pickupAAS_idle = lineAssociation.pickupAAS_idle || '';
|
|
79
|
-
this.pickupAAS_active = lineAssociation.pickupAAS_active || '';
|
|
80
|
-
this.monitorCSS = lineAssociation.monitorCSS || '';
|
|
81
|
-
this.logMissedCall = lineAssociation.logMissedCall || true;
|
|
82
|
-
this.callInfoDisplay = new LineCallInfoDisplay(lineAssociation.callInfoDisplay);
|
|
83
|
-
this.lineLocalId = lineAssociation.lineLocalId || lineAssociation.localId || '';
|
|
84
|
-
this.callingSearchSpace = lineAssociation.callingSearchSpace || '';
|
|
85
|
-
this.ownerUserId = lineAssociation.ownerUserId;
|
|
86
|
-
this.associated = lineAssociation.associated;
|
|
87
|
-
this.alertingName = lineAssociation.alertingName;
|
|
88
|
-
this.description = lineAssociation.description;
|
|
89
|
-
this.patternUsage = lineAssociation.patternUsage;
|
|
90
|
-
this.plarDestinationNumber = lineAssociation.plarDestinationNumber;
|
|
91
|
-
this.prefixDigits = lineAssociation.prefixDigits;
|
|
92
|
-
this.plarDescription = lineAssociation.plarDescription;
|
|
93
|
-
this.plarEnabled = lineAssociation.plarEnabled;
|
|
94
|
-
this.populateWithDid = lineAssociation.populateWithDid;
|
|
95
|
-
}
|
|
96
|
-
this.initForm();
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
getSavableData() {
|
|
100
|
-
const excludedFields = ['viewMode', 'form', 'callingSearchSpace', 'plarDestinationNumber', 'prefixDigits', 'plarDescription', 'plarEnabled'];
|
|
101
|
-
return getSavableData(this, excludedFields);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
getDnSavableData() {
|
|
105
|
-
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
initForm() {
|
|
109
|
-
// TEMP simplified line form
|
|
110
|
-
const formBuilder = new FormBuilder();
|
|
111
|
-
const formSettings = {
|
|
112
|
-
directoryNumber: [this.directoryNumber.directoryNumber || ''],
|
|
113
|
-
};
|
|
114
|
-
this.form = formBuilder.group(formSettings);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
/*initForm(appValidators: ValidationService) {
|
|
118
|
-
const formBuilder = new FormBuilder();
|
|
119
|
-
const formSettings = {
|
|
120
|
-
displayLabel: [this.displayLabel || '', [Validators.maxLength(30), Validators.pattern('[^%&\\[{}|"<>\\]]*')]],
|
|
121
|
-
alertingName: [this.alertingName || ''],
|
|
122
|
-
description: [this.description || ''],
|
|
123
|
-
e164Mask: [this.e164Mask || '', [appValidators.e164MaskLabel]],
|
|
124
|
-
displayLabelAscii: [this.displayLabelAscii || '', [appValidators.displayLabelAscii]],
|
|
125
|
-
textLabel: [this.textLabel || '', [Validators.maxLength(30), Validators.pattern('[^"]*')]],
|
|
126
|
-
maxNumberOfCalls: [this.maxNumberOfCalls || '', [ Validators.min(0)]],
|
|
127
|
-
busyTrigger: [this.busyTrigger || '', [Validators.min(0), Validators.max(this.maxNumberOfCalls || 200)]],
|
|
128
|
-
recordingOption: [this.recordingOption || ''],
|
|
129
|
-
recordingProfile: [this.recordingProfile || '', [appValidators.conditionalRequired('recordingOption',
|
|
130
|
-
[RecordingOptions.auto_enabled, RecordingOptions.selective_enabled])]],
|
|
131
|
-
recordingMediaSource: [this.recordingMediaSource || ''],
|
|
132
|
-
visualMWI: [this.visualMWI || ''],
|
|
133
|
-
audibleMWI: [this.audibleMWI || ''],
|
|
134
|
-
ringSetting_idle: [this.ringSetting_idle || ''],
|
|
135
|
-
ringSetting_active: [this.ringSetting_active || ''],
|
|
136
|
-
pickupAAS_idle: [this.pickupAAS_idle || ''],
|
|
137
|
-
pickupAAS_active: [this.pickupAAS_active || ''],
|
|
138
|
-
monitorCSS: [this.monitorCSS || ''],
|
|
139
|
-
logMissedCall: [this.logMissedCall === 'true'],
|
|
140
|
-
callerName: [this.callInfoDisplay && this.callInfoDisplay.callerName === 'true'],
|
|
141
|
-
callerNumber: [this.callInfoDisplay && this.callInfoDisplay.callerNumber === 'true'],
|
|
142
|
-
redirectedNumber: [this.callInfoDisplay && this.callInfoDisplay.redirectedNumber === 'true'],
|
|
143
|
-
dialedNumber: [this.callInfoDisplay && this.callInfoDisplay.dialedNumber === 'true' ]
|
|
144
|
-
};
|
|
145
|
-
this.form = formBuilder.group(formSettings);
|
|
146
|
-
if (this.directoryNumber) {
|
|
147
|
-
this.form.addControl('directoryNumber', this.directoryNumber.form);
|
|
148
|
-
}
|
|
149
|
-
if (this.didPattern) {
|
|
150
|
-
this.form.addControl('didPattern', this.didPattern.form);
|
|
151
|
-
}
|
|
152
|
-
}*/
|
|
153
|
-
|
|
154
|
-
equals(line: LineAssociation | any) {
|
|
155
|
-
if (!line) {
|
|
156
|
-
return false;
|
|
157
|
-
}
|
|
158
|
-
return this.directoryNumber.directoryNumber === line.directoryNumber.directoryNumber &&
|
|
159
|
-
this.directoryNumber.routePartitionName === line.directoryNumber.routePartitionName;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { LineCallInfoDisplayInterface } from './device';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { getSavableData } from '../common-functions';
|
|
4
|
-
|
|
5
|
-
export class LineCallInfoDisplay implements LineCallInfoDisplayInterface {
|
|
6
|
-
callerName!: string;
|
|
7
|
-
callerNumber!: string;
|
|
8
|
-
redirectedNumber!: string;
|
|
9
|
-
dialedNumber!: string;
|
|
10
|
-
|
|
11
|
-
// non-savable data fields
|
|
12
|
-
form!: FormGroup;
|
|
13
|
-
|
|
14
|
-
constructor(lineCallInfoDisplay: LineCallInfoDisplayInterface) {
|
|
15
|
-
Object.assign(this, lineCallInfoDisplay || {});
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
getSavableData() {
|
|
19
|
-
return getSavableData(this, ['form']);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { FormGroup, FormBuilder, Validators } from '@angular/forms';
|
|
2
|
-
import { getSavableData } from '../common-functions';
|
|
3
|
-
import { LineDirectoryInterface } from './line';
|
|
4
|
-
|
|
5
|
-
export class LineDirectory implements LineDirectoryInterface {
|
|
6
|
-
directoryNumber!: string;
|
|
7
|
-
templateDirectoryNumber!: string;
|
|
8
|
-
routePartitionName!: string;
|
|
9
|
-
pkid!: string;
|
|
10
|
-
dnType!: string;
|
|
11
|
-
displayValue!: string;
|
|
12
|
-
subType!: string;
|
|
13
|
-
|
|
14
|
-
// non-savable data fields
|
|
15
|
-
form!: FormGroup;
|
|
16
|
-
|
|
17
|
-
constructor(lineDirectory: LineDirectoryInterface) {
|
|
18
|
-
Object.assign(this, lineDirectory || {});
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
if (this.directoryNumber && this.routePartitionName) {
|
|
21
|
-
this.displayValue = `${this.directoryNumber}/${this.routePartitionName}`;
|
|
22
|
-
}
|
|
23
|
-
this.initForm();
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
getSavableData() {
|
|
27
|
-
return getSavableData(this, ['form', 'displayValue', 'templateDirectoryNumber']);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
equal(itemToCompare: any): boolean {
|
|
31
|
-
return JSON.stringify(this.getSavableData()) === JSON.stringify(itemToCompare.getSavableData());
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
initForm() {
|
|
35
|
-
const formBuilder = new FormBuilder();
|
|
36
|
-
const formSettings = {
|
|
37
|
-
directoryNumber: [{value: this.directoryNumber || '', disabled: true}, [Validators.required]],
|
|
38
|
-
routePartitionName: [{value: this.routePartitionName || '', disabled: true}]
|
|
39
|
-
};
|
|
40
|
-
this.form = formBuilder.group(formSettings);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
export interface LineInterface {
|
|
3
|
-
description: string;
|
|
4
|
-
pkid: string;
|
|
5
|
-
entityChangeType: EntityChangeType;
|
|
6
|
-
alertingName: string;
|
|
7
|
-
asciiAlertingName: string;
|
|
8
|
-
callingSearchSpace: string;
|
|
9
|
-
voiceMailProfile: string;
|
|
10
|
-
noAnswerRingDuration: number;
|
|
11
|
-
autoAnswer: string;
|
|
12
|
-
directoryNumber: LineDirectoryInterface;
|
|
13
|
-
didPatterns: Array<TranslationPatternInterface>;
|
|
14
|
-
mappedDids: Array<string>;
|
|
15
|
-
aarSettings: LineAarInterface;
|
|
16
|
-
callForwardAll: CallInterface;
|
|
17
|
-
callForwardAllSecondaryCSS: CallInterface;
|
|
18
|
-
callForwardBusyInternal: CallInterface;
|
|
19
|
-
callForwardBusyExternal: CallInterface;
|
|
20
|
-
callForwardNoAnswerInternal: CallInterface;
|
|
21
|
-
callForwardNoAnswerExternal: CallInterface;
|
|
22
|
-
callForwardNoCoverageInternal: CallInterface;
|
|
23
|
-
callForwardNoCoverageExternal: CallInterface;
|
|
24
|
-
callForwardOnCTIFailure: CallInterface;
|
|
25
|
-
callForwardUnregisteredInternal: CallInterface;
|
|
26
|
-
callForwardUnregisteredExternal: CallInterface;
|
|
27
|
-
parkMonitoringExternal: LineParkMonitoringInterface;
|
|
28
|
-
parkMonitoringInternal: LineParkMonitoringInterface;
|
|
29
|
-
callPickupGroup: string;
|
|
30
|
-
localId: string;
|
|
31
|
-
urgentPriority: boolean;
|
|
32
|
-
blfPresenceGroup: string;
|
|
33
|
-
userHoldMOHAudioSourceId: string;
|
|
34
|
-
userHoldMOHAudioSourceName: string;
|
|
35
|
-
networkMOHAudioSourceId: string;
|
|
36
|
-
networkMOHAudioSourceName: string;
|
|
37
|
-
rejectAnonymousCall: boolean;
|
|
38
|
-
enterpriseAltNum: AlternateNumberInterface;
|
|
39
|
-
e164AltNum: AlternateNumberInterface;
|
|
40
|
-
directoryUris: Array<DirectoryUriInterface>;
|
|
41
|
-
callForwardAlternateParty: ParkMonitoringInterface;
|
|
42
|
-
mlppNoAnswerRingDuration: number;
|
|
43
|
-
confidentialAccessMode: string;
|
|
44
|
-
confidentialAccessLevel: string;
|
|
45
|
-
confidentialAccessLevelName: string;
|
|
46
|
-
callControlAgentProfile: string;
|
|
47
|
-
holdReversionRingDuration: number;
|
|
48
|
-
holdReversionNotificationInterval: number;
|
|
49
|
-
partyEntranceTone: string;
|
|
50
|
-
pstnFailover: string;
|
|
51
|
-
isExistingLine: boolean;
|
|
52
|
-
plarDestinationNumber: string;
|
|
53
|
-
prefixDigits: string;
|
|
54
|
-
plarDescription: string;
|
|
55
|
-
plarEnabled: boolean;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export enum EntityChangeType {
|
|
59
|
-
added = 'added',
|
|
60
|
-
updated = 'updated',
|
|
61
|
-
existing = 'existing',
|
|
62
|
-
removed = 'removed',
|
|
63
|
-
unassociated = 'unassociated'
|
|
64
|
-
}
|
|
65
|
-
export interface LineDirectoryInterface {
|
|
66
|
-
directoryNumber: string;
|
|
67
|
-
routePartitionName: string;
|
|
68
|
-
pkid: string;
|
|
69
|
-
dnType: string;
|
|
70
|
-
subType: string;
|
|
71
|
-
templateDirectoryNumber: string;
|
|
72
|
-
}
|
|
73
|
-
export interface TranslationPatternInterface {
|
|
74
|
-
pattern: string;
|
|
75
|
-
calledPartyTransformationMask: string;
|
|
76
|
-
description: string;
|
|
77
|
-
site: SiteShortDataInterface;
|
|
78
|
-
hasMultipleSites: boolean;
|
|
79
|
-
multipleSitesId: string;
|
|
80
|
-
}
|
|
81
|
-
export interface SiteShortDataInterface {
|
|
82
|
-
id: number;
|
|
83
|
-
name: string;
|
|
84
|
-
}
|
|
85
|
-
export interface LineAarInterface {
|
|
86
|
-
aarDestinationMask: string;
|
|
87
|
-
aarGroup: string;
|
|
88
|
-
aarVoiceMailEnabled: boolean;
|
|
89
|
-
aarKeepCallHistory: boolean;
|
|
90
|
-
}
|
|
91
|
-
export interface CallInterface {
|
|
92
|
-
forwardToVoiceMail: boolean;
|
|
93
|
-
destination: string;
|
|
94
|
-
callingSearchSpace: string;
|
|
95
|
-
}
|
|
96
|
-
export interface LineParkMonitoringInterface {
|
|
97
|
-
voiceMail: boolean;
|
|
98
|
-
destination: string;
|
|
99
|
-
callingSearchSpace: string;
|
|
100
|
-
}
|
|
101
|
-
export interface AlternateNumberInterface {
|
|
102
|
-
numberMask: string;
|
|
103
|
-
addLocalRoutePartition: boolean;
|
|
104
|
-
routePartition: string;
|
|
105
|
-
isUrgent: boolean;
|
|
106
|
-
advertiseGloballyIls: boolean;
|
|
107
|
-
}
|
|
108
|
-
export interface DirectoryUriInterface {
|
|
109
|
-
primary: boolean;
|
|
110
|
-
uri: string;
|
|
111
|
-
routePartition: string;
|
|
112
|
-
advertiseGloballyIls: boolean;
|
|
113
|
-
}
|
|
114
|
-
export interface ParkMonitoringInterface {
|
|
115
|
-
destination: string;
|
|
116
|
-
callingSearchSpace: string;
|
|
117
|
-
voiceMail: boolean;
|
|
118
|
-
}
|
|
119
|
-
export enum DnRangeType {
|
|
120
|
-
extension = 'EXTENSION',
|
|
121
|
-
cpg = 'CPG',
|
|
122
|
-
callpark = 'CALLPARK',
|
|
123
|
-
huntgroup = 'HUNTGROUP',
|
|
124
|
-
meetme = 'MEETME',
|
|
125
|
-
did = 'DID'
|
|
126
|
-
}
|
|
127
|
-
export interface AvailablePhoneNumberRangeInterface {
|
|
128
|
-
phoneNumberRange: DnRangeInterface;
|
|
129
|
-
usedNumbers: string[];
|
|
130
|
-
requestedNumber: string;
|
|
131
|
-
unUsedNumbersWithDids: any;
|
|
132
|
-
}
|
|
133
|
-
export interface DnRangeInterface {
|
|
134
|
-
from: string;
|
|
135
|
-
to: string;
|
|
136
|
-
prefix: string;
|
|
137
|
-
routePartition: string;
|
|
138
|
-
dnType: DnRangeType;
|
|
139
|
-
tempIdx: number;
|
|
140
|
-
|
|
141
|
-
getEditableData(): any;
|
|
142
|
-
|
|
143
|
-
getUsedRangeEditableData(): any;
|
|
144
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { environment } from '../environments/environment';
|
|
2
|
-
const TTL_DEFAULT = environment.notificationsLifetime;
|
|
3
|
-
const TTL_LONG_DEFAULT = environment.longNotificationsLifetime;
|
|
4
|
-
|
|
5
|
-
export enum NotificationType {
|
|
6
|
-
info = 'info',
|
|
7
|
-
error = 'error',
|
|
8
|
-
success = 'success',
|
|
9
|
-
warning = 'warning'
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export class Notification {
|
|
13
|
-
id?: number;
|
|
14
|
-
type?: NotificationType;
|
|
15
|
-
message?: string;
|
|
16
|
-
ttl: number = TTL_DEFAULT;
|
|
17
|
-
timerId?: any;
|
|
18
|
-
|
|
19
|
-
constructor(data: any) {
|
|
20
|
-
Object.assign(this, data || {});
|
|
21
|
-
|
|
22
|
-
if(this.ttl === undefined) {
|
|
23
|
-
this.ttl = this.message && this.message.length && this.message.length < 80 ? TTL_DEFAULT : TTL_LONG_DEFAULT;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
isInfo(): boolean {
|
|
28
|
-
return this.type === NotificationType.info;
|
|
29
|
-
}
|
|
30
|
-
isError(): boolean {
|
|
31
|
-
return this.type === NotificationType.error;
|
|
32
|
-
}
|
|
33
|
-
isSuccess(): boolean {
|
|
34
|
-
return this.type === NotificationType.success;
|
|
35
|
-
}
|
|
36
|
-
isWarning(): boolean {
|
|
37
|
-
return this.type === NotificationType.warning;
|
|
38
|
-
}
|
|
39
|
-
}
|