@tuki-io/tuki-widgets 0.0.65 → 0.0.67
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/.editorconfig +16 -16
- package/.vscode/extensions.json +4 -4
- package/.vscode/launch.json +20 -20
- package/.vscode/tasks.json +42 -42
- package/README.md +25 -25
- package/package.json +1 -1
- package/projects/tuki/widgets/README.md +24 -24
- package/projects/tuki/widgets/di2mt/public-api.ts +3 -3
- package/projects/tuki/widgets/di2mt/widgets/site-upgrade/site-upgrade.module.ts +1 -1
- package/projects/tuki/widgets/karma.conf.js +44 -44
- package/projects/tuki/widgets/ng-package.json +10 -7
- package/projects/tuki/widgets/package.json +1 -1
- package/projects/tuki/widgets/src/lib/widgets.component.spec.ts +23 -23
- package/projects/tuki/widgets/src/lib/widgets.component.ts +20 -20
- package/projects/tuki/widgets/src/lib/widgets.module.ts +16 -16
- package/projects/tuki/widgets/src/lib/widgets.service.spec.ts +16 -16
- package/projects/tuki/widgets/src/lib/widgets.service.ts +9 -9
- package/projects/tuki/widgets/src/public-api.ts +7 -7
- package/projects/tuki/widgets/src/test.ts +27 -27
- package/projects/tuki/widgets/styles.scss +572 -572
- package/projects/tuki/widgets/tsconfig.lib.json +36 -36
- package/projects/tuki/widgets/tsconfig.lib.prod.json +10 -10
- package/projects/tuki/widgets/tsconfig.spec.json +17 -17
- package/projects/tuki/widgets/user-device-manage/ng-package.json +7 -7
- package/projects/tuki/widgets/user-device-manage/public-api.ts +8 -8
- package/projects/tuki/widgets/user-device-manage/src/app.constants.ts +96 -96
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/arrow-left.svg +5 -5
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/arrow-right.svg +5 -5
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/close_icon_x.svg +3 -3
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/delete_icon.svg +5 -5
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/dragger-vertical-icon.svg +3 -3
- package/projects/tuki/widgets/user-device-manage/src/assets/icons/vartical_divider_icon.svg +3 -3
- package/projects/tuki/widgets/user-device-manage/src/classes/device.ts +292 -292
- package/projects/tuki/widgets/user-device-manage/src/classes/line-association-interface.ts +50 -50
- package/projects/tuki/widgets/user-device-manage/src/classes/line-association.ts +177 -177
- package/projects/tuki/widgets/user-device-manage/src/classes/line-call-info-display.ts +21 -21
- package/projects/tuki/widgets/user-device-manage/src/classes/line-directory.ts +41 -41
- package/projects/tuki/widgets/user-device-manage/src/classes/line.ts +144 -144
- package/projects/tuki/widgets/user-device-manage/src/classes/notification.ts +40 -40
- package/projects/tuki/widgets/user-device-manage/src/classes/recording-options.ts +6 -6
- package/projects/tuki/widgets/user-device-manage/src/classes/simplified-user.ts +169 -169
- package/projects/tuki/widgets/user-device-manage/src/classes/site-defaults.ts +167 -167
- package/projects/tuki/widgets/user-device-manage/src/classes/translation-pattern.ts +50 -50
- package/projects/tuki/widgets/user-device-manage/src/classes/types.ts +19 -19
- package/projects/tuki/widgets/user-device-manage/src/classes/user-interface.ts +225 -225
- package/projects/tuki/widgets/user-device-manage/src/classes/user.ts +8 -8
- package/projects/tuki/widgets/user-device-manage/src/common-functions.ts +16 -16
- package/projects/tuki/widgets/user-device-manage/src/confirm-dialog/info-dialog.component.html +14 -14
- package/projects/tuki/widgets/user-device-manage/src/confirm-dialog/info-dialog.component.scss +80 -80
- package/projects/tuki/widgets/user-device-manage/src/confirm-dialog/info-dialog.component.ts +35 -35
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.html +21 -21
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.scss +97 -97
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/associated-line-row/associated-line-row.component.ts +28 -28
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.html +5 -5
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.scss +19 -19
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-details-box/device-associated-line-details-box.component.ts +13 -13
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.html +6 -6
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.scss +4 -4
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line-extension/device-associated-line-extension.component.ts +63 -63
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line.component.html +241 -241
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line.component.scss +500 -500
- package/projects/tuki/widgets/user-device-manage/src/device-associated-line/device-associated-line.component.ts +194 -194
- package/projects/tuki/widgets/user-device-manage/src/device-list/device-list.component.html +27 -27
- package/projects/tuki/widgets/user-device-manage/src/device-list/device-list.component.scss +131 -131
- package/projects/tuki/widgets/user-device-manage/src/device-list/device-list.component.ts +25 -25
- package/projects/tuki/widgets/user-device-manage/src/device-manage-widget.component.html +209 -209
- package/projects/tuki/widgets/user-device-manage/src/device-manage-widget.component.scss +502 -502
- package/projects/tuki/widgets/user-device-manage/src/device-manage-widget.component.ts +354 -354
- package/projects/tuki/widgets/user-device-manage/src/environments/environment.prod.ts +9 -9
- package/projects/tuki/widgets/user-device-manage/src/environments/environment.ts +10 -10
- package/projects/tuki/widgets/user-device-manage/src/interseptors/auth.interceptor.ts +35 -35
- package/projects/tuki/widgets/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.html +50 -50
- package/projects/tuki/widgets/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.scss +8 -8
- package/projects/tuki/widgets/user-device-manage/src/lazy-loading-select/lazy-loading-select.component.ts +81 -81
- package/projects/tuki/widgets/user-device-manage/src/material.module.ts +87 -87
- package/projects/tuki/widgets/user-device-manage/src/notifications/notification.component.html +33 -33
- package/projects/tuki/widgets/user-device-manage/src/notifications/notification.component.scss +84 -84
- package/projects/tuki/widgets/user-device-manage/src/notifications/notification.component.ts +46 -46
- package/projects/tuki/widgets/user-device-manage/src/removeKynFromIBM.service.ts +25 -25
- package/projects/tuki/widgets/user-device-manage/src/services/api.service.ts +87 -87
- package/projects/tuki/widgets/user-device-manage/src/services/common-functions.ts +17 -17
- package/projects/tuki/widgets/user-device-manage/src/services/device.service.ts +95 -95
- package/projects/tuki/widgets/user-device-manage/src/services/dns.service.ts +111 -111
- package/projects/tuki/widgets/user-device-manage/src/services/line.service.ts +89 -89
- package/projects/tuki/widgets/user-device-manage/src/services/notification.service.ts +68 -68
- package/projects/tuki/widgets/user-device-manage/src/services/removeKynFromIBM.service.ts +25 -25
- package/projects/tuki/widgets/user-device-manage/src/services/site-settings.service.ts +82 -82
- package/projects/tuki/widgets/user-device-manage/src/services/sorting-utils.service.ts +203 -203
- package/projects/tuki/widgets/user-device-manage/src/services/user.service.ts +283 -283
- package/projects/tuki/widgets/user-device-manage/src/services/utils.service.ts +87 -87
- package/projects/tuki/widgets/user-device-manage/src/services/validation.service.ts +829 -829
- package/projects/tuki/widgets/user-device-manage/src/styles/_variables.scss +90 -90
- package/projects/tuki/widgets/user-device-manage/src/styles/form.scss +231 -231
- package/projects/tuki/widgets/user-device-manage/src/styles/icons.scss +32 -32
- package/projects/tuki/widgets/user-device-manage/src/styles/styles.scss +110 -110
- package/projects/tuki/widgets/user-device-manage/src/styles/tables.scss +30 -30
- package/projects/tuki/widgets/user-device-manage/src/user-device-manage.module.ts +73 -73
- package/projects/tuki/widgets/user-device-manage/src/utils/app-loader/app-loader.component.html +6 -6
- package/projects/tuki/widgets/user-device-manage/src/utils/app-loader/app-loader.component.scss +11 -11
- package/projects/tuki/widgets/user-device-manage/src/utils/app-loader/app-loader.ts +13 -13
- package/projects/tuki/widgets/user-manage/ng-package.json +7 -7
- package/projects/tuki/widgets/user-manage/public-api.ts +6 -6
- package/projects/tuki/widgets/user-manage/src/app.constants.ts +50 -50
- package/projects/tuki/widgets/user-manage/src/assets/icons/arrow-left.svg +5 -5
- package/projects/tuki/widgets/user-manage/src/assets/icons/arrow-right.svg +5 -5
- package/projects/tuki/widgets/user-manage/src/assets/icons/delete_icon.svg +5 -5
- package/projects/tuki/widgets/user-manage/src/assets/icons/dragger-vertical-icon.svg +3 -3
- package/projects/tuki/widgets/user-manage/src/assets/icons/vartical_divider_icon.svg +3 -3
- package/projects/tuki/widgets/user-manage/src/classes/device.ts +232 -232
- package/projects/tuki/widgets/user-manage/src/classes/line-association-interface.ts +43 -43
- package/projects/tuki/widgets/user-manage/src/classes/line-association.ts +161 -161
- package/projects/tuki/widgets/user-manage/src/classes/line-call-info-display.ts +21 -21
- package/projects/tuki/widgets/user-manage/src/classes/line-directory.ts +42 -42
- package/projects/tuki/widgets/user-manage/src/classes/line.ts +144 -144
- package/projects/tuki/widgets/user-manage/src/classes/notification.ts +39 -39
- package/projects/tuki/widgets/user-manage/src/classes/pagination.ts +18 -18
- package/projects/tuki/widgets/user-manage/src/classes/recording-options.ts +6 -6
- package/projects/tuki/widgets/user-manage/src/classes/simplified-user.ts +165 -165
- package/projects/tuki/widgets/user-manage/src/classes/table-data.ts +6 -6
- package/projects/tuki/widgets/user-manage/src/classes/translation-pattern.ts +49 -49
- package/projects/tuki/widgets/user-manage/src/classes/user-interface.ts +225 -225
- package/projects/tuki/widgets/user-manage/src/classes/user-list.ts +42 -42
- package/projects/tuki/widgets/user-manage/src/classes/user.ts +8 -8
- package/projects/tuki/widgets/user-manage/src/common-functions.ts +16 -16
- package/projects/tuki/widgets/user-manage/src/device-list/device-list.component.html +27 -27
- package/projects/tuki/widgets/user-manage/src/device-list/device-list.component.scss +131 -131
- package/projects/tuki/widgets/user-manage/src/device-list/device-list.component.ts +25 -25
- package/projects/tuki/widgets/user-manage/src/environments/environment.prod.ts +9 -9
- package/projects/tuki/widgets/user-manage/src/environments/environment.ts +10 -10
- package/projects/tuki/widgets/user-manage/src/interseptors/auth.interceptor.ts +35 -35
- package/projects/tuki/widgets/user-manage/src/lazy-loading-select/lazy-loading-select.component.html +50 -50
- package/projects/tuki/widgets/user-manage/src/lazy-loading-select/lazy-loading-select.component.scss +8 -8
- package/projects/tuki/widgets/user-manage/src/lazy-loading-select/lazy-loading-select.component.ts +81 -81
- package/projects/tuki/widgets/user-manage/src/material.module.ts +85 -85
- package/projects/tuki/widgets/user-manage/src/notifications/notification.component.html +33 -33
- package/projects/tuki/widgets/user-manage/src/notifications/notification.component.scss +84 -84
- package/projects/tuki/widgets/user-manage/src/notifications/notification.component.ts +46 -46
- package/projects/tuki/widgets/user-manage/src/removeKynFromIBM.service.ts +25 -25
- package/projects/tuki/widgets/user-manage/src/services/api.service.ts +90 -90
- package/projects/tuki/widgets/user-manage/src/services/dns.service.ts +116 -116
- package/projects/tuki/widgets/user-manage/src/services/line.service.ts +31 -31
- package/projects/tuki/widgets/user-manage/src/services/notification.service.ts +68 -68
- package/projects/tuki/widgets/user-manage/src/services/removeKynFromIBM.service.ts +25 -25
- package/projects/tuki/widgets/user-manage/src/services/site-settings.service.ts +35 -35
- package/projects/tuki/widgets/user-manage/src/services/sorting-utils.service.ts +203 -203
- package/projects/tuki/widgets/user-manage/src/services/user.service.ts +242 -242
- package/projects/tuki/widgets/user-manage/src/services/users-search.service.ts +59 -59
- package/projects/tuki/widgets/user-manage/src/services/utils.service.ts +71 -71
- package/projects/tuki/widgets/user-manage/src/styles/_variables.scss +90 -90
- package/projects/tuki/widgets/user-manage/src/styles/form.scss +231 -231
- package/projects/tuki/widgets/user-manage/src/styles/icons.scss +32 -32
- package/projects/tuki/widgets/user-manage/src/styles/styles.scss +110 -110
- package/projects/tuki/widgets/user-manage/src/styles/tables.scss +30 -30
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.html +10 -10
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.scss +429 -429
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling-extension/user-calling-extension.component.ts +63 -63
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling.component.html +32 -32
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling.component.scss +444 -444
- package/projects/tuki/widgets/user-manage/src/user-calling/user-calling.component.ts +89 -89
- package/projects/tuki/widgets/user-manage/src/user-details/notification.service.ts +68 -68
- package/projects/tuki/widgets/user-manage/src/user-info/user-info.component.html +29 -29
- package/projects/tuki/widgets/user-manage/src/user-info/user-info.component.scss +64 -64
- package/projects/tuki/widgets/user-manage/src/user-info/user-info.component.ts +19 -19
- package/projects/tuki/widgets/user-manage/src/user-manage-widget.component.html +290 -290
- package/projects/tuki/widgets/user-manage/src/user-manage-widget.component.scss +463 -463
- package/projects/tuki/widgets/user-manage/src/user-manage-widget.component.ts +212 -212
- package/projects/tuki/widgets/user-manage/src/user-manage.module.ts +63 -63
- package/projects/tuki/widgets/user-manage/src/utils/app-loader/app-loader.component.html +6 -6
- package/projects/tuki/widgets/user-manage/src/utils/app-loader/app-loader.component.scss +11 -11
- package/projects/tuki/widgets/user-manage/src/utils/app-loader/app-loader.ts +13 -13
- package/projects/tuki/widgets/user-manage/src/utils/pagination/pagination.component.html +26 -26
- package/projects/tuki/widgets/user-manage/src/utils/pagination/pagination.component.scss +41 -41
- package/projects/tuki/widgets/user-manage/src/utils/pagination/pagination.component.ts +41 -41
- package/projects/tuki/widgets/users-list/ng-package.json +6 -6
- package/projects/tuki/widgets/users-list/public-api.ts +8 -8
- package/projects/tuki/widgets/users-list/src/app.constants.ts +54 -54
- package/projects/tuki/widgets/users-list/src/assets/icons/close_icon_modal.svg +3 -3
- package/projects/tuki/widgets/users-list/src/assets/icons/move_user_to_another_location.svg +14 -14
- package/projects/tuki/widgets/users-list/src/assets/icons/white-close-icon.svg +3 -3
- package/projects/tuki/widgets/users-list/src/classes/app-location.ts +36 -36
- package/projects/tuki/widgets/users-list/src/classes/device.ts +225 -225
- package/projects/tuki/widgets/users-list/src/classes/line.ts +144 -144
- package/projects/tuki/widgets/users-list/src/classes/move-user.ts +225 -225
- package/projects/tuki/widgets/users-list/src/classes/notification.ts +38 -38
- package/projects/tuki/widgets/users-list/src/classes/pagination.ts +18 -18
- package/projects/tuki/widgets/users-list/src/classes/simlified-user.ts +74 -74
- package/projects/tuki/widgets/users-list/src/classes/table-data.ts +6 -6
- package/projects/tuki/widgets/users-list/src/classes/user-interface.ts +225 -225
- package/projects/tuki/widgets/users-list/src/classes/user-list.ts +47 -47
- package/projects/tuki/widgets/users-list/src/classes/user.ts +8 -8
- package/projects/tuki/widgets/users-list/src/material.module.ts +94 -94
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.html +37 -37
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.scss +129 -129
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user/device-move-user-wizard.component.ts +46 -46
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.html +31 -31
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.scss +20 -20
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/device-move-user-tab/devices-move-user-wizard-tab.component.ts +26 -26
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.html +222 -222
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.scss +239 -239
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.ts +206 -206
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-wizard.component.html +12 -12
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-wizard.component.scss +41 -41
- package/projects/tuki/widgets/users-list/src/move-user-wizard/move-user-wizard.component.ts +36 -36
- package/projects/tuki/widgets/users-list/src/services/api-webex.service.ts +14 -14
- package/projects/tuki/widgets/users-list/src/services/api.service.ts +90 -90
- package/projects/tuki/widgets/users-list/src/services/dns.service.ts +128 -128
- package/projects/tuki/widgets/users-list/src/services/events-communication.service.ts +11 -11
- package/projects/tuki/widgets/users-list/src/services/move-user.service.ts +59 -59
- package/projects/tuki/widgets/users-list/src/services/notification.service.ts +68 -68
- package/projects/tuki/widgets/users-list/src/services/removeKynFromIBM.service.ts +25 -25
- package/projects/tuki/widgets/users-list/src/services/site-settings.service.ts +26 -26
- package/projects/tuki/widgets/users-list/src/services/user.service.ts +159 -159
- package/projects/tuki/widgets/users-list/src/services/users-search.service.ts +137 -137
- package/projects/tuki/widgets/users-list/src/styles/styles.scss +572 -572
- package/projects/tuki/widgets/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.html +15 -15
- package/projects/tuki/widgets/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.scss +103 -103
- package/projects/tuki/widgets/users-list/src/user-list-confirm-dialog/user-list-confirm-dialog.component.ts +35 -35
- package/projects/tuki/widgets/users-list/src/users-list.component.html +86 -86
- package/projects/tuki/widgets/users-list/src/users-list.component.scss +572 -572
- package/projects/tuki/widgets/users-list/src/users-list.component.ts +312 -312
- package/projects/tuki/widgets/users-list/src/users-list.module.ts +63 -63
- package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.component.html +6 -6
- package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.component.scss +11 -11
- package/projects/tuki/widgets/users-list/src/utils/app-loader/app-loader.ts +13 -13
- package/projects/tuki/widgets/users-list/src/utils/common-functions.ts +32 -32
- package/projects/tuki/widgets/users-list/src/utils/notifications/notification.component.html +33 -33
- package/projects/tuki/widgets/users-list/src/utils/notifications/notification.component.scss +84 -84
- package/projects/tuki/widgets/users-list/src/utils/notifications/notification.component.ts +46 -46
- package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.html +26 -26
- package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.scss +41 -41
- package/projects/tuki/widgets/users-list/src/utils/pagination/pagination.component.ts +41 -41
- package/projects/tuki/widgets/users-list/src/utils/utils.service.ts +71 -71
- package/tsconfig.json +46 -46
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
export const API = {
|
|
2
|
-
USER_TOKEN: '/api/provision/:siteId/users/:userId/token',
|
|
3
|
-
UPDATE_USER_FIELDS: '/api/provision/:siteId/userFields/:token',
|
|
4
|
-
PERSIST_USER_CACHE: '/api/provision/:siteId/saveUser/:token',
|
|
5
|
-
USER_BY_ID: '/api/provision/:siteId/users/:userId',
|
|
6
|
-
QUICK_USERS_SEARCH: "/api/search/quickusers",
|
|
7
|
-
LOCATION: "/api/provision/options/:siteId/locations",
|
|
8
|
-
USER_LOCALES: "/api/provision/options/:siteId/userlocales",
|
|
9
|
-
USER_PROFILES: "/api/provision/options/:siteId/userprofiles",
|
|
10
|
-
AVAILABLE_DN_IN_RANGES: "/api/sites/:siteId/available-dn-in-ranges",
|
|
11
|
-
DELETE_LINE: "/api/provision/:siteId/deleteLine/:pkid/:token",
|
|
12
|
-
DISASSOCIATE_LINE: "/api/provision/:siteId/:deviceName/deleteLineAssociation/:linePkid/:token",
|
|
13
|
-
CHECK_DELETE_LINE: "/api/provision/:siteId/checklinedeletion",
|
|
14
|
-
ASSOCIATE_LINE: "/api/provision/:siteId/:deviceName/createLineAssociation/:token",
|
|
15
|
-
CHECK_DESTINATION_NUMBER: "/api/provision/:siteId/check-dn",
|
|
16
|
-
UPDATE_LINE_FIELDS: "/api/provision/:siteId/lineFields/:pkid/:token",
|
|
17
|
-
UPDATE_DEVICE_FIELDS: "/api/provision/:siteId/deviceFields/:deviceName/:token"
|
|
18
|
-
};
|
|
19
|
-
export const REGEX_PATTERN = {
|
|
20
|
-
EMAIL: '^(([^<>()\\[\\]\\\\.,;:\\s@"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@"]+)*)|(".+"))' +
|
|
21
|
-
'@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,62}[a-zA-Z0-9])' +
|
|
22
|
-
'?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,62}[a-zA-Z0-9])?)*$'
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
export const PAGINATION_DEFAULTS = {
|
|
26
|
-
SIZE: 10,
|
|
27
|
-
INDEX: 0
|
|
28
|
-
}
|
|
29
|
-
export const PAGINATION_SIZE_OPTIONS = [
|
|
30
|
-
10,
|
|
31
|
-
50,
|
|
32
|
-
100,
|
|
33
|
-
500
|
|
34
|
-
];
|
|
35
|
-
export const CUCS_TO_IGNORE = [
|
|
36
|
-
189,
|
|
37
|
-
194,
|
|
38
|
-
191,
|
|
39
|
-
190
|
|
40
|
-
];
|
|
41
|
-
export const CUCMS_TO_IGNORE = [
|
|
42
|
-
249,
|
|
43
|
-
255,
|
|
44
|
-
251,
|
|
45
|
-
250
|
|
46
|
-
];
|
|
47
|
-
export const RECORDING_MEDIA_SOURCE = [
|
|
48
|
-
"Gateway Preferred",
|
|
49
|
-
"Phone Preferred"
|
|
50
|
-
];
|
|
1
|
+
export const API = {
|
|
2
|
+
USER_TOKEN: '/api/provision/:siteId/users/:userId/token',
|
|
3
|
+
UPDATE_USER_FIELDS: '/api/provision/:siteId/userFields/:token',
|
|
4
|
+
PERSIST_USER_CACHE: '/api/provision/:siteId/saveUser/:token',
|
|
5
|
+
USER_BY_ID: '/api/provision/:siteId/users/:userId',
|
|
6
|
+
QUICK_USERS_SEARCH: "/api/search/quickusers",
|
|
7
|
+
LOCATION: "/api/provision/options/:siteId/locations",
|
|
8
|
+
USER_LOCALES: "/api/provision/options/:siteId/userlocales",
|
|
9
|
+
USER_PROFILES: "/api/provision/options/:siteId/userprofiles",
|
|
10
|
+
AVAILABLE_DN_IN_RANGES: "/api/sites/:siteId/available-dn-in-ranges",
|
|
11
|
+
DELETE_LINE: "/api/provision/:siteId/deleteLine/:pkid/:token",
|
|
12
|
+
DISASSOCIATE_LINE: "/api/provision/:siteId/:deviceName/deleteLineAssociation/:linePkid/:token",
|
|
13
|
+
CHECK_DELETE_LINE: "/api/provision/:siteId/checklinedeletion",
|
|
14
|
+
ASSOCIATE_LINE: "/api/provision/:siteId/:deviceName/createLineAssociation/:token",
|
|
15
|
+
CHECK_DESTINATION_NUMBER: "/api/provision/:siteId/check-dn",
|
|
16
|
+
UPDATE_LINE_FIELDS: "/api/provision/:siteId/lineFields/:pkid/:token",
|
|
17
|
+
UPDATE_DEVICE_FIELDS: "/api/provision/:siteId/deviceFields/:deviceName/:token"
|
|
18
|
+
};
|
|
19
|
+
export const REGEX_PATTERN = {
|
|
20
|
+
EMAIL: '^(([^<>()\\[\\]\\\\.,;:\\s@"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@"]+)*)|(".+"))' +
|
|
21
|
+
'@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,62}[a-zA-Z0-9])' +
|
|
22
|
+
'?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,62}[a-zA-Z0-9])?)*$'
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export const PAGINATION_DEFAULTS = {
|
|
26
|
+
SIZE: 10,
|
|
27
|
+
INDEX: 0
|
|
28
|
+
}
|
|
29
|
+
export const PAGINATION_SIZE_OPTIONS = [
|
|
30
|
+
10,
|
|
31
|
+
50,
|
|
32
|
+
100,
|
|
33
|
+
500
|
|
34
|
+
];
|
|
35
|
+
export const CUCS_TO_IGNORE = [
|
|
36
|
+
189,
|
|
37
|
+
194,
|
|
38
|
+
191,
|
|
39
|
+
190
|
|
40
|
+
];
|
|
41
|
+
export const CUCMS_TO_IGNORE = [
|
|
42
|
+
249,
|
|
43
|
+
255,
|
|
44
|
+
251,
|
|
45
|
+
250
|
|
46
|
+
];
|
|
47
|
+
export const RECORDING_MEDIA_SOURCE = [
|
|
48
|
+
"Gateway Preferred",
|
|
49
|
+
"Phone Preferred"
|
|
50
|
+
];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g id="arrow-left">
|
|
3
|
-
<path id="Vector" d="M5.70746 7.99987L11.3539 2.35352C11.4453 2.25928 11.496 2.13287 11.495 2.00159C11.494 1.8703 11.4414 1.74467 11.3486 1.65183C11.2558 1.55899 11.1301 1.50639 10.9988 1.50539C10.8676 1.50438 10.7411 1.55506 10.6469 1.64647L4.64691 7.64647C4.55316 7.74023 4.50049 7.8674 4.50049 7.99999C4.50049 8.13259 4.55316 8.25975 4.64691 8.35352L10.6469 14.3535C10.6931 14.4011 10.7482 14.439 10.8092 14.4651C10.8702 14.4912 10.9357 14.5049 11.002 14.5054C11.0683 14.5059 11.134 14.4932 11.1954 14.468C11.2567 14.4429 11.3125 14.4058 11.3593 14.3589C11.4062 14.312 11.4433 14.2563 11.4685 14.1949C11.4936 14.1336 11.5063 14.0679 11.5058 14.0016C11.5053 13.9353 11.4916 13.8697 11.4655 13.8088C11.4394 13.7478 11.4015 13.6926 11.3539 13.6465L5.70746 7.99987Z" fill="black" fill-opacity="0.95"/>
|
|
4
|
-
</g>
|
|
5
|
-
</svg>
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g id="arrow-left">
|
|
3
|
+
<path id="Vector" d="M5.70746 7.99987L11.3539 2.35352C11.4453 2.25928 11.496 2.13287 11.495 2.00159C11.494 1.8703 11.4414 1.74467 11.3486 1.65183C11.2558 1.55899 11.1301 1.50639 10.9988 1.50539C10.8676 1.50438 10.7411 1.55506 10.6469 1.64647L4.64691 7.64647C4.55316 7.74023 4.50049 7.8674 4.50049 7.99999C4.50049 8.13259 4.55316 8.25975 4.64691 8.35352L10.6469 14.3535C10.6931 14.4011 10.7482 14.439 10.8092 14.4651C10.8702 14.4912 10.9357 14.5049 11.002 14.5054C11.0683 14.5059 11.134 14.4932 11.1954 14.468C11.2567 14.4429 11.3125 14.4058 11.3593 14.3589C11.4062 14.312 11.4433 14.2563 11.4685 14.1949C11.4936 14.1336 11.5063 14.0679 11.5058 14.0016C11.5053 13.9353 11.4916 13.8697 11.4655 13.8088C11.4394 13.7478 11.4015 13.6926 11.3539 13.6465L5.70746 7.99987Z" fill="black" fill-opacity="0.95"/>
|
|
4
|
+
</g>
|
|
5
|
+
</svg>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g id="arrow-right">
|
|
3
|
-
<path id="Vector" d="M14.0812 9.66902L6.58119 2.16902C6.53813 2.12351 6.48638 2.0871 6.429 2.06193C6.37162 2.03677 6.30978 2.02336 6.24713 2.0225C6.18448 2.02165 6.1223 2.03336 6.06425 2.05695C6.00621 2.08053 5.95348 2.11552 5.90919 2.15983C5.8649 2.20415 5.82994 2.25689 5.80638 2.31495C5.78282 2.373 5.77113 2.43519 5.77202 2.49784C5.77291 2.56049 5.78634 2.62232 5.81153 2.67969C5.83673 2.73705 5.87316 2.78879 5.91869 2.83183L13.0874 10.0003L5.91869 17.169C5.87316 17.2121 5.83673 17.2638 5.81153 17.3212C5.78634 17.3785 5.77291 17.4404 5.77202 17.503C5.77113 17.5657 5.78282 17.6279 5.80638 17.6859C5.82994 17.744 5.8649 17.7967 5.90919 17.841C5.95348 17.8853 6.00621 17.9203 6.06425 17.9439C6.1223 17.9675 6.18448 17.9792 6.24713 17.9783C6.30978 17.9775 6.37162 17.9641 6.429 17.9389C6.48638 17.9138 6.53813 17.8773 6.58119 17.8318L14.0812 10.3318C14.1691 10.2439 14.2184 10.1247 14.2184 10.0004C14.2184 9.87613 14.1691 9.75692 14.0812 9.66902Z" fill="#0F0F0F"/>
|
|
4
|
-
</g>
|
|
5
|
-
</svg>
|
|
1
|
+
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g id="arrow-right">
|
|
3
|
+
<path id="Vector" d="M14.0812 9.66902L6.58119 2.16902C6.53813 2.12351 6.48638 2.0871 6.429 2.06193C6.37162 2.03677 6.30978 2.02336 6.24713 2.0225C6.18448 2.02165 6.1223 2.03336 6.06425 2.05695C6.00621 2.08053 5.95348 2.11552 5.90919 2.15983C5.8649 2.20415 5.82994 2.25689 5.80638 2.31495C5.78282 2.373 5.77113 2.43519 5.77202 2.49784C5.77291 2.56049 5.78634 2.62232 5.81153 2.67969C5.83673 2.73705 5.87316 2.78879 5.91869 2.83183L13.0874 10.0003L5.91869 17.169C5.87316 17.2121 5.83673 17.2638 5.81153 17.3212C5.78634 17.3785 5.77291 17.4404 5.77202 17.503C5.77113 17.5657 5.78282 17.6279 5.80638 17.6859C5.82994 17.744 5.8649 17.7967 5.90919 17.841C5.95348 17.8853 6.00621 17.9203 6.06425 17.9439C6.1223 17.9675 6.18448 17.9792 6.24713 17.9783C6.30978 17.9775 6.37162 17.9641 6.429 17.9389C6.48638 17.9138 6.53813 17.8773 6.58119 17.8318L14.0812 10.3318C14.1691 10.2439 14.2184 10.1247 14.2184 10.0004C14.2184 9.87613 14.1691 9.75692 14.0812 9.66902Z" fill="#0F0F0F"/>
|
|
4
|
+
</g>
|
|
5
|
+
</svg>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g id="Icon/Delete">
|
|
3
|
-
<path id="Remove all" d="M9.5835 1.96973C10.9439 1.96973 12.0528 3.09413 12.1036 4.50119L12.1054 4.60217H15.2853C15.588 4.60217 15.8335 4.85838 15.8335 5.17444C15.8335 5.47074 15.6178 5.71444 15.3413 5.74375L15.2853 5.7467H14.8067L14.0597 16.0795C13.9864 17.0944 13.176 17.8788 12.201 17.8788H6.966C5.99094 17.8788 5.18064 17.0944 5.10725 16.0795L4.35981 5.7467H3.88174C3.59788 5.7467 3.3644 5.52152 3.33633 5.23295L3.3335 5.17444C3.3335 4.87813 3.54923 4.63443 3.82569 4.60512L3.88174 4.60217H7.06157C7.06157 3.14831 8.19067 1.96973 9.5835 1.96973ZM13.7072 5.7467L5.45977 5.7467L6.20064 15.9934C6.23085 16.4113 6.56451 16.7343 6.966 16.7343H12.201C12.6025 16.7343 12.9361 16.4113 12.9664 15.9934L13.7072 5.7467ZM11.0089 8.15024C11.2928 8.15024 11.5263 8.37542 11.5543 8.66399L11.5572 8.72251V13.7585C11.5572 14.0745 11.3117 14.3307 11.0089 14.3307C10.7251 14.3307 10.4916 14.1056 10.4635 13.817L10.4607 13.7585L10.4607 8.72251C10.4607 8.40645 10.7061 8.15024 11.0089 8.15024ZM8.15806 8.15024C8.44192 8.15024 8.6754 8.37542 8.70347 8.66399L8.7063 8.72251L8.7063 13.7585C8.7063 14.0745 8.46084 14.3307 8.15806 14.3307C7.87419 14.3307 7.64072 14.1056 7.61264 13.817L7.60981 13.7585L7.60981 8.72251C7.60981 8.40645 7.85527 8.15024 8.15806 8.15024ZM9.5835 3.11427C8.82339 3.11427 8.20225 3.73527 8.16031 4.51773L8.15806 4.60217L11.0089 4.60217C11.0089 3.78042 10.3707 3.11427 9.5835 3.11427Z" fill="#737480"/>
|
|
4
|
-
</g>
|
|
5
|
-
</svg>
|
|
1
|
+
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g id="Icon/Delete">
|
|
3
|
+
<path id="Remove all" d="M9.5835 1.96973C10.9439 1.96973 12.0528 3.09413 12.1036 4.50119L12.1054 4.60217H15.2853C15.588 4.60217 15.8335 4.85838 15.8335 5.17444C15.8335 5.47074 15.6178 5.71444 15.3413 5.74375L15.2853 5.7467H14.8067L14.0597 16.0795C13.9864 17.0944 13.176 17.8788 12.201 17.8788H6.966C5.99094 17.8788 5.18064 17.0944 5.10725 16.0795L4.35981 5.7467H3.88174C3.59788 5.7467 3.3644 5.52152 3.33633 5.23295L3.3335 5.17444C3.3335 4.87813 3.54923 4.63443 3.82569 4.60512L3.88174 4.60217H7.06157C7.06157 3.14831 8.19067 1.96973 9.5835 1.96973ZM13.7072 5.7467L5.45977 5.7467L6.20064 15.9934C6.23085 16.4113 6.56451 16.7343 6.966 16.7343H12.201C12.6025 16.7343 12.9361 16.4113 12.9664 15.9934L13.7072 5.7467ZM11.0089 8.15024C11.2928 8.15024 11.5263 8.37542 11.5543 8.66399L11.5572 8.72251V13.7585C11.5572 14.0745 11.3117 14.3307 11.0089 14.3307C10.7251 14.3307 10.4916 14.1056 10.4635 13.817L10.4607 13.7585L10.4607 8.72251C10.4607 8.40645 10.7061 8.15024 11.0089 8.15024ZM8.15806 8.15024C8.44192 8.15024 8.6754 8.37542 8.70347 8.66399L8.7063 8.72251L8.7063 13.7585C8.7063 14.0745 8.46084 14.3307 8.15806 14.3307C7.87419 14.3307 7.64072 14.1056 7.61264 13.817L7.60981 13.7585L7.60981 8.72251C7.60981 8.40645 7.85527 8.15024 8.15806 8.15024ZM9.5835 3.11427C8.82339 3.11427 8.20225 3.73527 8.16031 4.51773L8.15806 4.60217L11.0089 4.60217C11.0089 3.78042 10.3707 3.11427 9.5835 3.11427Z" fill="#737480"/>
|
|
4
|
+
</g>
|
|
5
|
+
</svg>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M13.125 5C12.7935 5 12.4755 4.8683 12.2411 4.63388C12.0067 4.39946 11.875 4.08152 11.875 3.75C11.875 3.41848 12.0067 3.10054 12.2411 2.86612C12.4755 2.6317 12.7935 2.5 13.125 2.5C13.4565 2.5 13.7745 2.6317 14.0089 2.86612C14.2433 3.10054 14.375 3.41848 14.375 3.75C14.375 4.08152 14.2433 4.39946 14.0089 4.63388C13.7745 4.8683 13.4565 5 13.125 5ZM6.875 5C6.54348 5 6.22554 4.8683 5.99112 4.63388C5.7567 4.39946 5.625 4.08152 5.625 3.75C5.625 3.41848 5.7567 3.10054 5.99112 2.86612C6.22554 2.6317 6.54348 2.5 6.875 2.5C7.20652 2.5 7.52446 2.6317 7.75888 2.86612C7.9933 3.10054 8.125 3.41848 8.125 3.75C8.125 4.08152 7.9933 4.39946 7.75888 4.63388C7.52446 4.8683 7.20652 5 6.875 5ZM13.125 11.25C12.7935 11.25 12.4755 11.1183 12.2411 10.8839C12.0067 10.6495 11.875 10.3315 11.875 10C11.875 9.66848 12.0067 9.35054 12.2411 9.11612C12.4755 8.8817 12.7935 8.75 13.125 8.75C13.4565 8.75 13.7745 8.8817 14.0089 9.11612C14.2433 9.35054 14.375 9.66848 14.375 10C14.375 10.3315 14.2433 10.6495 14.0089 10.8839C13.7745 11.1183 13.4565 11.25 13.125 11.25ZM6.875 11.25C6.54348 11.25 6.22554 11.1183 5.99112 10.8839C5.7567 10.6495 5.625 10.3315 5.625 10C5.625 9.66848 5.7567 9.35054 5.99112 9.11612C6.22554 8.8817 6.54348 8.75 6.875 8.75C7.20652 8.75 7.52446 8.8817 7.75888 9.11612C7.9933 9.35054 8.125 9.66848 8.125 10C8.125 10.3315 7.9933 10.6495 7.75888 10.8839C7.52446 11.1183 7.20652 11.25 6.875 11.25ZM13.125 17.5C12.7935 17.5 12.4755 17.3683 12.2411 17.1339C12.0067 16.8995 11.875 16.5815 11.875 16.25C11.875 15.9185 12.0067 15.6005 12.2411 15.3661C12.4755 15.1317 12.7935 15 13.125 15C13.4565 15 13.7745 15.1317 14.0089 15.3661C14.2433 15.6005 14.375 15.9185 14.375 16.25C14.375 16.5815 14.2433 16.8995 14.0089 17.1339C13.7745 17.3683 13.4565 17.5 13.125 17.5ZM6.875 17.5C6.54348 17.5 6.22554 17.3683 5.99112 17.1339C5.7567 16.8995 5.625 16.5815 5.625 16.25C5.625 15.9185 5.7567 15.6005 5.99112 15.3661C6.22554 15.1317 6.54348 15 6.875 15C7.20652 15 7.52446 15.1317 7.75888 15.3661C7.9933 15.6005 8.125 15.9185 8.125 16.25C8.125 16.5815 7.9933 16.8995 7.75888 17.1339C7.52446 17.3683 7.20652 17.5 6.875 17.5Z" fill="black" fill-opacity="0.95"/>
|
|
3
|
-
</svg>
|
|
1
|
+
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M13.125 5C12.7935 5 12.4755 4.8683 12.2411 4.63388C12.0067 4.39946 11.875 4.08152 11.875 3.75C11.875 3.41848 12.0067 3.10054 12.2411 2.86612C12.4755 2.6317 12.7935 2.5 13.125 2.5C13.4565 2.5 13.7745 2.6317 14.0089 2.86612C14.2433 3.10054 14.375 3.41848 14.375 3.75C14.375 4.08152 14.2433 4.39946 14.0089 4.63388C13.7745 4.8683 13.4565 5 13.125 5ZM6.875 5C6.54348 5 6.22554 4.8683 5.99112 4.63388C5.7567 4.39946 5.625 4.08152 5.625 3.75C5.625 3.41848 5.7567 3.10054 5.99112 2.86612C6.22554 2.6317 6.54348 2.5 6.875 2.5C7.20652 2.5 7.52446 2.6317 7.75888 2.86612C7.9933 3.10054 8.125 3.41848 8.125 3.75C8.125 4.08152 7.9933 4.39946 7.75888 4.63388C7.52446 4.8683 7.20652 5 6.875 5ZM13.125 11.25C12.7935 11.25 12.4755 11.1183 12.2411 10.8839C12.0067 10.6495 11.875 10.3315 11.875 10C11.875 9.66848 12.0067 9.35054 12.2411 9.11612C12.4755 8.8817 12.7935 8.75 13.125 8.75C13.4565 8.75 13.7745 8.8817 14.0089 9.11612C14.2433 9.35054 14.375 9.66848 14.375 10C14.375 10.3315 14.2433 10.6495 14.0089 10.8839C13.7745 11.1183 13.4565 11.25 13.125 11.25ZM6.875 11.25C6.54348 11.25 6.22554 11.1183 5.99112 10.8839C5.7567 10.6495 5.625 10.3315 5.625 10C5.625 9.66848 5.7567 9.35054 5.99112 9.11612C6.22554 8.8817 6.54348 8.75 6.875 8.75C7.20652 8.75 7.52446 8.8817 7.75888 9.11612C7.9933 9.35054 8.125 9.66848 8.125 10C8.125 10.3315 7.9933 10.6495 7.75888 10.8839C7.52446 11.1183 7.20652 11.25 6.875 11.25ZM13.125 17.5C12.7935 17.5 12.4755 17.3683 12.2411 17.1339C12.0067 16.8995 11.875 16.5815 11.875 16.25C11.875 15.9185 12.0067 15.6005 12.2411 15.3661C12.4755 15.1317 12.7935 15 13.125 15C13.4565 15 13.7745 15.1317 14.0089 15.3661C14.2433 15.6005 14.375 15.9185 14.375 16.25C14.375 16.5815 14.2433 16.8995 14.0089 17.1339C13.7745 17.3683 13.4565 17.5 13.125 17.5ZM6.875 17.5C6.54348 17.5 6.22554 17.3683 5.99112 17.1339C5.7567 16.8995 5.625 16.5815 5.625 16.25C5.625 15.9185 5.7567 15.6005 5.99112 15.3661C6.22554 15.1317 6.54348 15 6.875 15C7.20652 15 7.52446 15.1317 7.75888 15.3661C7.9933 15.6005 8.125 15.9185 8.125 16.25C8.125 16.5815 7.9933 16.8995 7.75888 17.1339C7.52446 17.3683 7.20652 17.5 6.875 17.5Z" fill="black" fill-opacity="0.95"/>
|
|
3
|
+
</svg>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<svg width="1" height="18" viewBox="0 0 1 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<line x1="0.5" y1="2.18557e-08" x2="0.499999" y2="18" stroke="#333333"/>
|
|
3
|
-
</svg>
|
|
1
|
+
<svg width="1" height="18" viewBox="0 0 1 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<line x1="0.5" y1="2.18557e-08" x2="0.499999" y2="18" stroke="#333333"/>
|
|
3
|
+
</svg>
|
|
@@ -1,232 +1,232 @@
|
|
|
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
|
+
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
|
+
}
|