@tuki-io/tuki-widgets 0.0.200 → 0.0.202

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/esm2020/di2mt/shared/components/stat-card/stat-card.component.mjs +4 -4
  2. package/esm2020/user-creation/src/app.constants.mjs +16 -2
  3. package/esm2020/user-creation/src/classes/notification.mjs +32 -0
  4. package/esm2020/user-creation/src/environments/environment.mjs +11 -0
  5. package/esm2020/user-creation/src/interfaces/user-creation-wizard.interfaces.mjs +199 -0
  6. package/esm2020/user-creation/src/shared/components/notification/notification.component.mjs +38 -0
  7. package/esm2020/user-creation/src/shared/material.module.mjs +35 -7
  8. package/esm2020/user-creation/src/shared/pipes/truncate.pipe.mjs +30 -0
  9. package/esm2020/user-creation/src/shared/services/notification.service.mjs +62 -0
  10. package/esm2020/user-creation/src/shared/services/user-creation-api.service.mjs +43 -19
  11. package/esm2020/user-creation/src/shared/shared.module.mjs +27 -4
  12. package/esm2020/user-creation/src/user-creation.module.mjs +40 -7
  13. package/esm2020/user-creation/src/utils/app-loader/app-loader.mjs +14 -0
  14. package/esm2020/user-creation/src/utils/build-savable-end-user.mjs +147 -0
  15. package/esm2020/user-creation/src/utils/device-default-prefix.mjs +13 -0
  16. package/esm2020/user-creation/src/utils/device-name-validation.mjs +23 -0
  17. package/esm2020/user-creation/src/utils/model.mjs +19 -0
  18. package/esm2020/user-creation/src/utils/parse-device-name-rule.mjs +26 -0
  19. package/esm2020/user-creation/src/widgets/user-creation-wizard/components/user-details-step/user-details-step.component.mjs +512 -20
  20. package/esm2020/user-creation/src/widgets/user-creation-wizard/components/user-overview-step/user-overview-step.component.mjs +3 -3
  21. package/esm2020/user-creation/src/widgets/user-creation-wizard/components/user-template-step/user-template-step.component.mjs +80 -34
  22. package/esm2020/user-creation/src/widgets/user-creation-wizard/user-creation-wizard.component.mjs +83 -19
  23. package/esm2020/user-creation/src/widgets/user-creation-wizard/user-creation-wizard.service.mjs +599 -124
  24. package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs +3 -3
  25. package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs.map +1 -1
  26. package/fesm2015/tuki-io-tuki-widgets-user-creation.mjs +2129 -325
  27. package/fesm2015/tuki-io-tuki-widgets-user-creation.mjs.map +1 -1
  28. package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs +3 -3
  29. package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs.map +1 -1
  30. package/fesm2020/tuki-io-tuki-widgets-user-creation.mjs +2084 -314
  31. package/fesm2020/tuki-io-tuki-widgets-user-creation.mjs.map +1 -1
  32. package/package.json +1 -1
  33. package/user-creation/src/app.constants.d.ts +10 -0
  34. package/user-creation/src/classes/notification.d.ts +18 -0
  35. package/user-creation/src/environments/environment.d.ts +9 -0
  36. package/user-creation/src/interfaces/user-creation-wizard.interfaces.d.ts +554 -0
  37. package/user-creation/src/shared/components/notification/notification.component.d.ts +19 -0
  38. package/user-creation/src/shared/material.module.d.ts +5 -1
  39. package/user-creation/src/shared/pipes/truncate.pipe.d.ts +7 -0
  40. package/user-creation/src/shared/services/notification.service.d.ts +18 -0
  41. package/user-creation/src/shared/services/user-creation-api.service.d.ts +8 -2
  42. package/user-creation/src/shared/shared.module.d.ts +3 -1
  43. package/user-creation/src/user-creation.module.d.ts +17 -10
  44. package/user-creation/src/utils/app-loader/app-loader.d.ts +6 -0
  45. package/user-creation/src/utils/build-savable-end-user.d.ts +23 -0
  46. package/user-creation/src/utils/device-default-prefix.d.ts +5 -0
  47. package/user-creation/src/utils/device-name-validation.d.ts +6 -0
  48. package/user-creation/src/utils/model.d.ts +1 -0
  49. package/user-creation/src/utils/parse-device-name-rule.d.ts +8 -0
  50. package/user-creation/src/widgets/user-creation-wizard/components/user-details-step/user-details-step.component.d.ts +83 -7
  51. package/user-creation/src/widgets/user-creation-wizard/components/user-template-step/user-template-step.component.d.ts +11 -4
  52. package/user-creation/src/widgets/user-creation-wizard/user-creation-wizard.component.d.ts +18 -0
  53. package/user-creation/src/widgets/user-creation-wizard/user-creation-wizard.service.d.ts +71 -56
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuki-io/tuki-widgets",
3
- "version": "0.0.200",
3
+ "version": "0.0.202",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0",
@@ -5,11 +5,21 @@ export declare const API: {
5
5
  DEVICE_TYPES: string;
6
6
  SITE_SETTINGS: string;
7
7
  VM_USER_TEMPLATES: string;
8
+ EXISTING_USERS: string;
8
9
  USER_TEMPLATES_UPLOAD_LIST: string;
9
10
  USER_TEMPLATE_TOKEN: string;
11
+ AVAILABLE_DN_IN_RANGES: string;
12
+ USER_CHECK_ID_EXISTING: string;
13
+ LDAP_USERS: string;
14
+ USERS: string;
15
+ CREATE_NEW_USER_FROM_TEMPLATE: string;
16
+ DEVICE_DEFAULTS: string;
10
17
  };
11
18
  export declare const USER_CREATION_TYPES: {
12
19
  CUCM: string;
13
20
  MT: string;
14
21
  };
15
22
  export declare const MAX_INTEGER = 2147483647;
23
+ export declare const CUTTING_SYMBOLS: string[];
24
+ export declare const BREADCRUMB_LENGTH_LIMIT = 20;
25
+ export declare const DEFAULT_CUTTING_LENGTH = 15;
@@ -0,0 +1,18 @@
1
+ export declare enum NotificationType {
2
+ info = "info",
3
+ error = "error",
4
+ success = "success",
5
+ warning = "warning"
6
+ }
7
+ export declare class Notification {
8
+ id?: number;
9
+ type?: NotificationType;
10
+ message?: string;
11
+ ttl: number;
12
+ timerId?: any;
13
+ constructor(data: any);
14
+ isInfo(): boolean;
15
+ isError(): boolean;
16
+ isSuccess(): boolean;
17
+ isWarning(): boolean;
18
+ }
@@ -0,0 +1,9 @@
1
+ export declare const environment: {
2
+ production: boolean;
3
+ apiUrl: string;
4
+ notificationsLifetime: number;
5
+ longNotificationsLifetime: number;
6
+ cashCleanTimer: number;
7
+ cashArrayLength: number;
8
+ matomoUrl: string;
9
+ };
@@ -0,0 +1,554 @@
1
+ export interface LdapUserRow {
2
+ userId: string;
3
+ firstName: string;
4
+ lastName: string;
5
+ email: string;
6
+ }
7
+ export type LdapQueryType = 'userId' | 'firstName' | 'lastName';
8
+ export interface OverviewUserRow extends LdapUserRow {
9
+ userTemplate: string;
10
+ }
11
+ export interface OverviewLineRow {
12
+ number: string;
13
+ did: string;
14
+ routePartitionName: string;
15
+ css: string;
16
+ description: string;
17
+ }
18
+ export interface OverviewDeviceRow {
19
+ name: string;
20
+ deviceType: string;
21
+ lines: string;
22
+ description: string;
23
+ }
24
+ export type UserCreationType = 'CUCM' | 'MT';
25
+ export interface UserDetailsForm {
26
+ userId: string;
27
+ firstName: string;
28
+ lastName: string;
29
+ email: string;
30
+ }
31
+ export interface UserDetailsLineFormValue {
32
+ lineNumber: string;
33
+ number: string;
34
+ routePartition: string;
35
+ }
36
+ export interface UserDetailsDeviceFormValue {
37
+ deviceType: string;
38
+ protocol: string;
39
+ buttonTemplate: string;
40
+ name: string;
41
+ }
42
+ export interface UserDetailsFormValue {
43
+ userId: string;
44
+ firstName: string;
45
+ lastName: string;
46
+ email: string;
47
+ lines: UserDetailsLineFormValue[];
48
+ devices: UserDetailsDeviceFormValue[];
49
+ deviceProfiles: UserDetailsDeviceFormValue[];
50
+ }
51
+ export interface LineOption {
52
+ number: string;
53
+ did: string;
54
+ css: string;
55
+ description: string;
56
+ }
57
+ export interface SelectedLineRow {
58
+ lineNumber: string | null;
59
+ routePartitionName: string | null;
60
+ }
61
+ export interface DeviceEntry {
62
+ deviceType: string;
63
+ protocol: string;
64
+ buttonTemplate: string;
65
+ name: string;
66
+ }
67
+ export interface TemplateLineLike {
68
+ directoryNumber?: {
69
+ directoryNumber?: string;
70
+ routePartitionName?: string | null;
71
+ templateDirectoryNumber?: string | null;
72
+ };
73
+ description?: string | null;
74
+ callingSearchSpace?: string | {
75
+ name?: string | null;
76
+ } | null;
77
+ didPatterns?: Array<{
78
+ pattern?: string | null;
79
+ }> | null;
80
+ }
81
+ export interface TemplateDeviceLike {
82
+ deviceType?: string | null;
83
+ protocol?: string | null;
84
+ buttonTemplate?: string | null;
85
+ name?: string | null;
86
+ lineAssociations?: Array<{
87
+ logMissedCall?: boolean | string | null;
88
+ directoryNumber?: {
89
+ directoryNumber?: string;
90
+ routePartitionName?: string | null;
91
+ templateDirectoryNumber?: string | null;
92
+ } | null;
93
+ }>;
94
+ }
95
+ export interface TemplateEndUserLike {
96
+ userid?: string | null;
97
+ firstName?: string | null;
98
+ lastName?: string | null;
99
+ email?: string | null;
100
+ lines?: TemplateLineLike[] | null;
101
+ devices?: TemplateDeviceLike[] | null;
102
+ }
103
+ export interface UserTemplateInterface {
104
+ id: number;
105
+ name: string;
106
+ description: string;
107
+ createOrUpload: string | null;
108
+ userTemplateSettings: UserTemplateSetting[];
109
+ customerId: number;
110
+ userRequiredFields: string[];
111
+ deviceRequiredFields: string[];
112
+ udpRequiredFields: string[];
113
+ lineRequiredFields: string[];
114
+ endUser: EndUserInterface;
115
+ type: string;
116
+ globalTemplate: boolean;
117
+ }
118
+ export interface UserTemplateSetting {
119
+ }
120
+ export declare class EndUser implements Partial<EndUserInterface> {
121
+ lines: LineInterface[];
122
+ voicemail: Voicemail;
123
+ constructor(init?: EndUserInterface);
124
+ }
125
+ export interface EndUserInterface {
126
+ userid?: string | null;
127
+ email?: string | null;
128
+ firstName?: string | null;
129
+ lastName?: string | null;
130
+ domain?: string | null;
131
+ customerId?: number | null;
132
+ department?: string | null;
133
+ userProfile?: string | null;
134
+ manager?: string | null;
135
+ enableMobileVoiceAccess?: boolean | null;
136
+ associatedPc?: string | null;
137
+ userLocale?: string | null;
138
+ digestCredentials?: string | null;
139
+ middleName?: string | null;
140
+ title?: string | null;
141
+ telephoneNumber?: string | null;
142
+ homeNumber?: string | null;
143
+ mobileNumber?: string | null;
144
+ pagerNumber?: string | null;
145
+ displayName?: string | null;
146
+ directoryUri?: string | null;
147
+ presenceGroup?: string | null;
148
+ subscribeCss?: string | null;
149
+ allowDeviceControlFromCti?: boolean | null;
150
+ enableCrossClusterEm?: boolean | null;
151
+ mlppUserIdNumber?: string | null;
152
+ mlppPrecedencePattern?: string | null;
153
+ createUserMode?: boolean;
154
+ enableMobility?: boolean | null;
155
+ devices?: DeviceInterface[];
156
+ deviceProfiles?: DeviceInterface[];
157
+ lines: LineInterface[];
158
+ singleNumberReach?: {
159
+ associatedLines?: LineInterface[] | null;
160
+ remoteDestinations?: {
161
+ lineAssociations?: LineInterface[] | null;
162
+ }[] | null;
163
+ remoteDestinationProfileName?: string | null;
164
+ } | null;
165
+ primaryLineReference?: unknown | null;
166
+ voicemail?: Voicemail;
167
+ features?: Feature[];
168
+ migrationVmUnchanged?: boolean | null;
169
+ migrationImPUnchanged?: boolean | null;
170
+ ucServiceProfile?: string | null;
171
+ telecomManagerRule?: boolean;
172
+ userTemplateUdpDeviceTypesRules?: UserTemplateUdpDeviceTypesRule[];
173
+ ldapIntegrated?: boolean | null;
174
+ }
175
+ export interface CallInfoDisplay {
176
+ callerName?: string | null;
177
+ callerNumber?: string | null;
178
+ redirectedNumber?: string | null;
179
+ dialedNumber?: string | null;
180
+ }
181
+ export interface DidPattern {
182
+ calledPartyTransformationMask?: string | null;
183
+ pattern?: string | null;
184
+ }
185
+ export interface ProtocolSpecificDefaults {
186
+ buttonTemplates: string[];
187
+ securityProfiles: string[];
188
+ supportedExpansionModules: string[];
189
+ supportsSoftkeyTemplates: boolean;
190
+ supportsBLF: boolean;
191
+ supportsEM: boolean;
192
+ supportsMultipleCallDisplay: boolean;
193
+ }
194
+ export interface DeviceDefaultsInterface {
195
+ deviceType: string;
196
+ deviceNameRegex: string;
197
+ deviceNameExplained: string;
198
+ networkLocales: string[];
199
+ protocolProtocolSpecificDefault: Record<string, ProtocolSpecificDefaults>;
200
+ }
201
+ export interface DeviceInterface {
202
+ deviceType: string | null;
203
+ protocol: string | null;
204
+ name: string | null;
205
+ newName: string | null;
206
+ prefix: string | null;
207
+ description?: string | null;
208
+ buttonTemplate: string | null;
209
+ location: string | null;
210
+ devicePoolName: string | null;
211
+ softkeyTemplate: string | null;
212
+ entityChangeType: string | null;
213
+ createDeviceMode?: boolean;
214
+ callingSearchSpaceName: string | null;
215
+ commonPhoneConfigName: string | null;
216
+ securityProfile: string | null;
217
+ userLocale: string | null;
218
+ networkLocale: string | null;
219
+ enabledExtensionMobility: boolean | null;
220
+ firstExpansionModule: string | null;
221
+ secondExpansionModule: string | null;
222
+ withUdp: boolean;
223
+ lineAssociations: LineAssociation[];
224
+ sipProfile: string | null;
225
+ subscribeCallingSearchSpaceName: string | null;
226
+ extraOptions: DeviceExtraOptions;
227
+ userDeviceType: string | null;
228
+ builtInBridge: string | null;
229
+ services: Service[];
230
+ speedDials: SpeedDial[];
231
+ busyLampFields: BusyLampField[];
232
+ webexUUID: string | null;
233
+ pkid: string | null;
234
+ deviceDefaults?: DeviceDefaultsInterface | null;
235
+ nameValidationRegex?: string | null;
236
+ nameValidationCaption?: string | null;
237
+ }
238
+ export interface LineAssociation {
239
+ linePkid: string | null;
240
+ index: number;
241
+ position: string | null;
242
+ directoryNumber: DirectoryNumber;
243
+ e164Mask: string | null;
244
+ textLabel: string | null;
245
+ displayLabel: string | null;
246
+ displayLabelAscii: string | null;
247
+ maxNumberOfCalls: number | null;
248
+ busyTrigger: number | null;
249
+ recordingOption: string | null;
250
+ recordingProfile: string | null;
251
+ recordingMediaSource: string | null;
252
+ visualMWI: boolean | null;
253
+ audibleMWI: boolean | null;
254
+ ringSetting_idle: string | null;
255
+ ringSetting_active: string | null;
256
+ pickupAAS_idle: string | null;
257
+ pickupAAS_active: string | null;
258
+ monitorCSS: string | null;
259
+ logMissedCall: boolean | string | null;
260
+ callInfoDisplay: CallInfoDisplay | string | null;
261
+ lineLocalId: string;
262
+ didPattern: DidPattern | string | null;
263
+ entityChangeType?: string | null;
264
+ sharedDevices: SharedDevice[];
265
+ sharedUsers: SharedUser[];
266
+ ownerUserId: string[];
267
+ associated: boolean;
268
+ patternUsage: string | null;
269
+ alertingName: string | null;
270
+ populateWithDid: boolean;
271
+ }
272
+ export interface DirectoryNumber {
273
+ directoryNumber: string;
274
+ templateDirectoryNumber?: string;
275
+ routePartitionName: string;
276
+ pkid?: string | null;
277
+ dnType?: string | null;
278
+ subType?: string | null;
279
+ displayValue?: string;
280
+ }
281
+ export interface DeviceExtraOptions {
282
+ mediaResourceGroupList: string | null;
283
+ userHoldMOHAudioSourceId: string | null;
284
+ userHoldMOHAudioSourceName: string | null;
285
+ networkMOHAudioSourceId: string | null;
286
+ networkMOHAudioSourceName: string | null;
287
+ aarCss: string | null;
288
+ aarGroup: string | null;
289
+ privacy: string | null;
290
+ deviceMobilityMode: string | null;
291
+ mobilityUserId: string | null;
292
+ phonePersonalization: string | null;
293
+ servicesProvisioning: string | null;
294
+ phoneLoadName: string | null;
295
+ phoneIdleBLFAlertSetting: string | null;
296
+ phoneBusyBLFAlertSetting: string | null;
297
+ useTrustedRelayPoint: boolean | null;
298
+ alwaysUsePrimeLine: boolean | null;
299
+ alwaysUsePrimeLineForVoiceMessage: boolean | null;
300
+ geolocation: string | null;
301
+ ignorePresentationIndicators: boolean | null;
302
+ loggedIntoHuntGroup: boolean | null;
303
+ enabledExtensionMobility: boolean | null;
304
+ remoteDevice: string | null;
305
+ protectedDevice: boolean | null;
306
+ hotlineDevice: boolean;
307
+ commonDeviceConfigName: string | null;
308
+ useDevicePoolCgpnIngressDN: boolean | null;
309
+ cgpnIngressDN: string | null;
310
+ useDevicePoolCgpnTransformCss: boolean | null;
311
+ cgpnTransformationCss: string | null;
312
+ packetCaptureMode: string | null;
313
+ packetCaptureDuration: number | null;
314
+ blfPresenceGroup: string | null;
315
+ sipDialRules: string | null;
316
+ mtpPreferredOriginatingCodec: string | null;
317
+ rerouteCss: string | null;
318
+ subscribeCss: string | null;
319
+ digestUser: string | null;
320
+ mtpRequired: boolean | null;
321
+ unattendedPort: boolean | null;
322
+ requireDtmfReception: boolean | null;
323
+ informationUrl: string | null;
324
+ directoryUrl: string | null;
325
+ messagesUrl: string | null;
326
+ servicesUrl: string | null;
327
+ authenticationUrl: string | null;
328
+ proxyServerUrl: string | null;
329
+ idleUrl: string | null;
330
+ idleTimeout: number | null;
331
+ secureAuthenticationUrl: string | null;
332
+ secureDirectoryUrl: string | null;
333
+ secureIdleUrl: string | null;
334
+ secureInformationUrl: string | null;
335
+ secureMessageUrl: string | null;
336
+ secureServicesUrl: string | null;
337
+ mlppDomain: string | null;
338
+ mlppIndication: string | null;
339
+ mlppPreemption: string | null;
340
+ confidentialAccessMode: string | null;
341
+ confidentialAccessLevel: string | null;
342
+ confidentialAccessLevelName: string | null;
343
+ doNotDisturb: boolean | null;
344
+ dndOption: string | null;
345
+ dndIncomingCallAlert: string | null;
346
+ disableSpeakerphone: boolean | null;
347
+ disableSpeakerphoneAndHeadset: boolean | null;
348
+ forwardingDelay: number | null;
349
+ pcPort: boolean | null;
350
+ settingsAccess: string | null;
351
+ gratuitousARP: boolean | null;
352
+ pcVoiceVlanAccess: string | null;
353
+ videoCapabilities: string | null;
354
+ webAccess: boolean | null;
355
+ daysDisplayNotActive: number | null;
356
+ displayOnTime: string | null;
357
+ displayOnDuration: number | null;
358
+ displayIdleTimeout: number | null;
359
+ wirelessHeadsetHookswitchControl: boolean | null;
360
+ minRingVolume: number | null;
361
+ showAllCallsOnPL: boolean | null;
362
+ lineMode: string | null;
363
+ latentCapabilityRegistration: boolean | null;
364
+ actionableAlert: boolean | null;
365
+ revertToAllCalls: boolean | null;
366
+ widebandHeadsetUIControl: boolean | null;
367
+ widebandHeadset: boolean | null;
368
+ authentication802: boolean | null;
369
+ spanToPcPort: boolean | null;
370
+ headsetMonitor: boolean | null;
371
+ headsetRecording: boolean | null;
372
+ updatedFields: string[];
373
+ enableCdpSwPort: boolean | null;
374
+ enableCdpPcPort: boolean | null;
375
+ enableLldpPcPort: boolean | null;
376
+ defaultWallpaperFile: string | null;
377
+ analogGatewayPortInformation: string | null;
378
+ loadServer: string | null;
379
+ peerFirmwareSharing: string | null;
380
+ }
381
+ export interface LineInterface {
382
+ directoryNumber: DirectoryNumber;
383
+ callingSearchSpace: string | null;
384
+ description: string | null;
385
+ localId: string;
386
+ entityChangeType: string | null;
387
+ alertingName: string | null;
388
+ asciiAlertingName: string | null;
389
+ callForwardAll: CallForward;
390
+ callForwardAllSecondaryCSS: CallForward;
391
+ callForwardBusyInternal: CallForward;
392
+ callForwardBusyExternal: CallForward;
393
+ callForwardNoAnswerInternal: CallForward;
394
+ callForwardNoAnswerExternal: CallForward;
395
+ callForwardNoCoverageInternal: CallForward;
396
+ callForwardNoCoverageExternal: CallForward;
397
+ callForwardOnCTIFailure: CallForward;
398
+ callForwardUnregisteredInternal: CallForward;
399
+ callForwardUnregisteredExternal: CallForward;
400
+ voiceMailProfile: string | null;
401
+ noAnswerRingDuration: number | null;
402
+ autoAnswer: string | null;
403
+ callPickupGroup: string | null;
404
+ aarSettings: AarSettings;
405
+ parkMonitoringInternal: string | null;
406
+ parkMonitoringExternal: string | null;
407
+ urgentPriority: string | null;
408
+ blfPresenceGroup: string | null;
409
+ userHoldMOHAudioSourceId: string | null;
410
+ userHoldMOHAudioSourceName: string | null;
411
+ networkMOHAudioSourceId: string | null;
412
+ networkMOHAudioSourceName: string | null;
413
+ rejectAnonymousCall: boolean | null;
414
+ enterpriseAltNum: string | null;
415
+ e164AltNum: string | null;
416
+ directoryUris: string[];
417
+ callForwardAlternateParty: CallForward;
418
+ mlppNoAnswerRingDuration: number | null;
419
+ confidentialAccessMode: string | null;
420
+ confidentialAccessLevel: string | null;
421
+ confidentialAccessLevelName: string | null;
422
+ callControlAgentProfile: string | null;
423
+ holdReversionRingDuration: number | null;
424
+ holdReversionNotificationInterval: number | null;
425
+ partyEntranceTone: string | null;
426
+ pstnFailover: string | null;
427
+ newToUser: boolean | null;
428
+ didPatterns: string[];
429
+ }
430
+ export interface CallForward {
431
+ forwardToVoiceMail: boolean | null;
432
+ destination: string | null;
433
+ callingSearchSpace: string | null;
434
+ duration: number | null;
435
+ }
436
+ export interface AarSettings {
437
+ aarDestinationMask: string | null;
438
+ aarGroup: string | null;
439
+ aarVoiceMailEnabled: boolean | null;
440
+ aarKeepCallHistory: boolean | null;
441
+ }
442
+ export interface DeviceProfile {
443
+ }
444
+ export interface Feature {
445
+ }
446
+ export interface UserTemplateUdpDeviceTypesRule {
447
+ id: number;
448
+ originalDeviceType: string;
449
+ protocol: string;
450
+ newDeviceType: string;
451
+ originNewDeviceType: string;
452
+ entityChangeType: string;
453
+ newProtocol: string;
454
+ isTemplateRule: boolean;
455
+ localId: number;
456
+ }
457
+ export interface SharedDevice {
458
+ }
459
+ export interface SharedUser {
460
+ }
461
+ export interface Service {
462
+ }
463
+ export interface SpeedDial {
464
+ }
465
+ export interface BusyLampField {
466
+ }
467
+ export declare enum DnRangeType {
468
+ extension = "EXTENSION",
469
+ cpg = "CPG",
470
+ callpark = "CALLPARK",
471
+ huntgroup = "HUNTGROUP",
472
+ meetme = "MEETME",
473
+ did = "DID"
474
+ }
475
+ export interface DnRangeInterface {
476
+ from: string;
477
+ to: string;
478
+ prefix: string;
479
+ routePartition: string;
480
+ dnType: DnRangeType;
481
+ tempIdx: number;
482
+ }
483
+ export interface AvailablePhoneNumberRangeInterface {
484
+ phoneNumberRange: DnRangeInterface;
485
+ usedNumbers: string[];
486
+ requestedNumber: string;
487
+ unUsedNumbersWithDids: any[];
488
+ }
489
+ export interface AvailableRangeInterface {
490
+ availableNumberList: AvailablePhoneNumberRangeInterface[];
491
+ }
492
+ export declare enum UserViewType {
493
+ details = 0,
494
+ devices = 1,
495
+ lines = 2,
496
+ snr = 3,
497
+ features = 4,
498
+ overview = 5
499
+ }
500
+ export interface ListUserInterface {
501
+ userid: string;
502
+ firstName?: string;
503
+ lastName?: string;
504
+ email?: string;
505
+ telephoneNumber?: string;
506
+ viewMode?: UserViewType;
507
+ devices: DeviceInterface[];
508
+ deviceProfiles: DeviceInterface[];
509
+ lines?: LineInterface[];
510
+ siteId?: number;
511
+ siteName?: string;
512
+ checked?: boolean;
513
+ }
514
+ export interface LdapUsersTableResponse {
515
+ total: number;
516
+ pageData: ListUserInterface[];
517
+ }
518
+ export declare class Voicemail implements Partial<VoicemailInterface> {
519
+ callHandlerObjectId?: string;
520
+ extension: string;
521
+ vmUserTemplate: string;
522
+ emailAddress: string;
523
+ vmPassword?: any;
524
+ vmMailbox?: any;
525
+ vmUnifiedMessagingAccount?: any[];
526
+ notificationDevices?: any[];
527
+ alternateExtensions?: any[];
528
+ language?: any;
529
+ messageActions?: any;
530
+ callerInput?: any;
531
+ webAppPasswordSettings?: any;
532
+ vmPasswordSettings?: any;
533
+ greetings: any[];
534
+ pkid?: string;
535
+ pin: string;
536
+ changeExtensionByNewLine: number;
537
+ constructor(vm?: VoicemailInterface);
538
+ getSavableData(): any;
539
+ }
540
+ export interface VoicemailInterface {
541
+ callHandlerObjectId?: string;
542
+ extension: string;
543
+ vmUserTemplate?: string;
544
+ vmPassword?: any;
545
+ vmMailbox?: any;
546
+ vmUnifiedMessagingAccount?: any[];
547
+ notificationDevices?: any[];
548
+ alternateExtensions?: any[];
549
+ language?: any;
550
+ messageActions?: any;
551
+ webAppPassword?: any;
552
+ vmPasswordSettings?: any;
553
+ pkid?: string;
554
+ }
@@ -0,0 +1,19 @@
1
+ import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
+ import { NotificationService } from '../../../shared/services/notification.service';
3
+ import { Notification } from '../../../classes/notification';
4
+ import * as i0 from "@angular/core";
5
+ export declare class NotificationsComponent implements OnInit, OnDestroy {
6
+ notificationService: NotificationService;
7
+ private ref;
8
+ list: Notification[];
9
+ isReadMore: boolean;
10
+ private listSubscription;
11
+ constructor(notificationService: NotificationService, ref: ChangeDetectorRef);
12
+ ngOnInit(): void;
13
+ ngOnDestroy(): void;
14
+ readMore(): void;
15
+ removeNotification(notification: Notification): void;
16
+ private listChangeSubscribe;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsComponent, "app-notification", never, {}, {}, never, never, false, never>;
19
+ }
@@ -8,8 +8,12 @@ import * as i6 from "@angular/material/icon";
8
8
  import * as i7 from "@angular/material/form-field";
9
9
  import * as i8 from "@angular/material/input";
10
10
  import * as i9 from "@angular/material/select";
11
+ import * as i10 from "@angular/material/autocomplete";
12
+ import * as i11 from "@angular/material/progress-spinner";
13
+ import * as i12 from "@angular/material/paginator";
14
+ import * as i13 from "@angular/material/chips";
11
15
  export declare class MaterialModule {
12
16
  static ɵfac: i0.ɵɵFactoryDeclaration<MaterialModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialModule, never, [typeof i1.MatProgressBarModule, typeof i2.MatTooltipModule, typeof i3.MatTableModule, typeof i4.MatCheckboxModule, typeof i5.MatButtonModule, typeof i6.MatIconModule, typeof i7.MatFormFieldModule, typeof i8.MatInputModule, typeof i9.MatSelectModule], [typeof i1.MatProgressBarModule, typeof i2.MatTooltipModule, typeof i3.MatTableModule, typeof i4.MatCheckboxModule, typeof i5.MatButtonModule, typeof i6.MatIconModule, typeof i7.MatFormFieldModule, typeof i8.MatInputModule, typeof i9.MatSelectModule]>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialModule, never, [typeof i1.MatProgressBarModule, typeof i2.MatTooltipModule, typeof i3.MatTableModule, typeof i4.MatCheckboxModule, typeof i5.MatButtonModule, typeof i6.MatIconModule, typeof i7.MatFormFieldModule, typeof i8.MatInputModule, typeof i9.MatSelectModule, typeof i10.MatAutocompleteModule, typeof i11.MatProgressSpinnerModule, typeof i12.MatPaginatorModule, typeof i13.MatChipsModule], [typeof i1.MatProgressBarModule, typeof i2.MatTooltipModule, typeof i3.MatTableModule, typeof i4.MatCheckboxModule, typeof i5.MatButtonModule, typeof i6.MatIconModule, typeof i7.MatFormFieldModule, typeof i8.MatInputModule, typeof i9.MatSelectModule, typeof i10.MatAutocompleteModule, typeof i11.MatProgressSpinnerModule, typeof i12.MatPaginatorModule, typeof i13.MatChipsModule]>;
14
18
  static ɵinj: i0.ɵɵInjectorDeclaration<MaterialModule>;
15
19
  }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TruncatePipe implements PipeTransform {
4
+ transform(value: string | undefined, args?: any[]): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<TruncatePipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<TruncatePipe, "truncate", false>;
7
+ }
@@ -0,0 +1,18 @@
1
+ import { Notification } from '../../classes/notification';
2
+ import { Subject } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export declare class NotificationService {
5
+ listChange: Subject<unknown>;
6
+ private max;
7
+ private list;
8
+ constructor();
9
+ error(message: string, ttl?: number): void;
10
+ success(message: string, ttl?: number): void;
11
+ warning(message: string, ttl?: number): void;
12
+ info(message: string, ttl?: number): void;
13
+ private notify;
14
+ remove(notification: Notification, auto?: boolean): void;
15
+ private removeInactiveSessionError;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationService, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<NotificationService>;
18
+ }