@tuki-io/tuki-widgets 0.0.219-dev.5 → 0.0.219-dev.51

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 (193) hide show
  1. package/di2mt/api/api.endpoints.d.ts +3 -0
  2. package/esm2020/di2mt/api/api.endpoints.mjs +4 -1
  3. package/esm2020/locations/public-api.mjs +8 -0
  4. package/esm2020/locations/src/app.constants.mjs +14 -0
  5. package/esm2020/locations/src/location-confirm-dialog/location-confirm-dialog.component.mjs +23 -0
  6. package/esm2020/locations/src/locations.component.mjs +351 -0
  7. package/esm2020/locations/src/locations.module.mjs +42 -0
  8. package/esm2020/locations/src/material.module.mjs +55 -0
  9. package/esm2020/locations/src/services/api.service.mjs +67 -0
  10. package/esm2020/locations/src/services/locations.service.mjs +65 -0
  11. package/esm2020/locations/src/types/location.mjs +2 -0
  12. package/esm2020/locations/src/utils/app-loader/app-loader.mjs +14 -0
  13. package/esm2020/locations/tuki-io-tuki-widgets-locations.mjs +5 -0
  14. package/esm2020/meetings/public-api.mjs +8 -0
  15. package/esm2020/meetings/src/app.constants.mjs +9 -0
  16. package/esm2020/meetings/src/components/live-meetings/live-meeting/live-meeting.component.mjs +107 -0
  17. package/esm2020/meetings/src/components/live-meetings/live-meetings.component.mjs +98 -0
  18. package/esm2020/meetings/src/components/meeting-spaces/meeting-space/meeting-space.component.mjs +110 -0
  19. package/esm2020/meetings/src/components/meeting-spaces/meeting-spaces.component.mjs +65 -0
  20. package/esm2020/meetings/src/material.module.mjs +76 -0
  21. package/esm2020/meetings/src/meetings.component.mjs +65 -0
  22. package/esm2020/meetings/src/meetings.module.mjs +51 -0
  23. package/esm2020/meetings/src/services/api.service.mjs +67 -0
  24. package/esm2020/meetings/src/services/live-meetings.service.mjs +178 -0
  25. package/esm2020/meetings/src/services/meeting-spaces.service.mjs +102 -0
  26. package/esm2020/meetings/src/types/live-meeting.mjs +2 -0
  27. package/esm2020/meetings/src/types/meeting-space.mjs +2 -0
  28. package/esm2020/meetings/src/utils/app-loader/app-loader.mjs +14 -0
  29. package/esm2020/meetings/tuki-io-tuki-widgets-meetings.mjs +5 -0
  30. package/esm2020/shared/public-api.mjs +4 -0
  31. package/esm2020/shared/src/ui/material.module.mjs +188 -0
  32. package/esm2020/shared/src/ui/shared.module.mjs +36 -0
  33. package/esm2020/shared/src/ui/tk-page-section/tk-page-section.component.mjs +13 -0
  34. package/esm2020/shared/src/ui/tk-page-section-row/tk-page-section-row.component.mjs +13 -0
  35. package/esm2020/shared/src/ui/ui.module.mjs +37 -0
  36. package/esm2020/shared/tuki-io-tuki-widgets-shared.mjs +5 -0
  37. package/esm2020/user-creation/src/utils/device-default-prefix.mjs +19 -2
  38. package/esm2020/user-creation/src/utils/device-name-dynamic-tokens.mjs +4 -0
  39. package/esm2020/user-creation/src/utils/parse-device-name-rule.mjs +6 -3
  40. package/esm2020/user-creation/src/widgets/user-creation-wizard/components/user-details-step/user-details-step.component.mjs +60 -13
  41. package/esm2020/user-creation/src/widgets/user-creation-wizard/components/user-template-step/user-template-step.component.mjs +2 -1
  42. package/esm2020/user-creation/src/widgets/user-creation-wizard/user-creation-wizard.component.mjs +8 -6
  43. package/esm2020/user-creation/src/widgets/user-creation-wizard/user-creation-wizard.service.mjs +13 -9
  44. package/esm2020/user-device-manage/src/classes/simplified-user.mjs +1 -1
  45. package/esm2020/user-device-manage/src/user-device-manage.module.mjs +1 -4
  46. package/esm2020/user-manage/src/app.constants.mjs +7 -1
  47. package/esm2020/user-manage/src/classes/simplified-user.mjs +5 -3
  48. package/esm2020/user-manage/src/device-list/device-list.component.mjs +7 -4
  49. package/esm2020/user-manage/src/device-list/device-row/device-row.component.mjs +6 -3
  50. package/esm2020/user-manage/src/material.module.mjs +14 -7
  51. package/esm2020/user-manage/src/services/dcp-api.service.mjs +79 -0
  52. package/esm2020/user-manage/src/services/user.service.mjs +65 -19
  53. package/esm2020/user-manage/src/user-calling/user-calling.component.mjs +12 -7
  54. package/esm2020/user-manage/src/user-manage-widget.component.mjs +64 -23
  55. package/esm2020/user-manage/src/user-manage.module.mjs +10 -3
  56. package/esm2020/users-list/src/app.constants.mjs +2 -1
  57. package/esm2020/users-list/src/classes/simlified-user.mjs +1 -1
  58. package/esm2020/users-list/src/classes/user-list.mjs +2 -1
  59. package/esm2020/users-list/src/components/table-toolbar/table-toolbar.component.mjs +3 -3
  60. package/esm2020/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.mjs +14 -3
  61. package/esm2020/users-list/src/move-user-wizard/move-user-wizard.component.mjs +5 -3
  62. package/esm2020/users-list/src/users-list.component.mjs +100 -17
  63. package/esm2020/workspaces/public-api.mjs +8 -0
  64. package/esm2020/workspaces/src/app.constants.mjs +27 -0
  65. package/esm2020/workspaces/src/components/workspace-confirm-dialog/workspace-confirm-dialog.component.mjs +32 -0
  66. package/esm2020/workspaces/src/components/workspace-detail/workspace-detail.component.mjs +61 -0
  67. package/esm2020/workspaces/src/components/workspaces-filters/workspaces-filters.component.mjs +56 -0
  68. package/esm2020/workspaces/src/components/workspaces-table/workspaces-table.component.mjs +127 -0
  69. package/esm2020/workspaces/src/material.module.mjs +83 -0
  70. package/esm2020/workspaces/src/services/api-webex.service.mjs +14 -0
  71. package/esm2020/workspaces/src/services/api.service.mjs +67 -0
  72. package/esm2020/workspaces/src/services/workspace-detail.service.mjs +122 -0
  73. package/esm2020/workspaces/src/services/workspaces-migration.service.mjs +59 -0
  74. package/esm2020/workspaces/src/services/workspaces.service.mjs +105 -0
  75. package/esm2020/workspaces/src/types/workspace.mjs +4 -0
  76. package/esm2020/workspaces/src/utils/app-loader/app-loader.mjs +14 -0
  77. package/esm2020/workspaces/src/utils/device-icon.mjs +13 -0
  78. package/esm2020/workspaces/src/utils/workspace-name.mjs +8 -0
  79. package/esm2020/workspaces/src/workspaces.component.mjs +306 -0
  80. package/esm2020/workspaces/src/workspaces.module.mjs +51 -0
  81. package/esm2020/workspaces/tuki-io-tuki-widgets-workspaces.mjs +5 -0
  82. package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs +3 -0
  83. package/fesm2015/tuki-io-tuki-widgets-di2mt.mjs.map +1 -1
  84. package/fesm2015/tuki-io-tuki-widgets-locations.mjs +623 -0
  85. package/fesm2015/tuki-io-tuki-widgets-locations.mjs.map +1 -0
  86. package/fesm2015/tuki-io-tuki-widgets-meetings.mjs +894 -0
  87. package/fesm2015/tuki-io-tuki-widgets-meetings.mjs.map +1 -0
  88. package/fesm2015/tuki-io-tuki-widgets-shared.mjs +280 -0
  89. package/fesm2015/tuki-io-tuki-widgets-shared.mjs.map +1 -0
  90. package/fesm2015/tuki-io-tuki-widgets-user-creation.mjs +111 -32
  91. package/fesm2015/tuki-io-tuki-widgets-user-creation.mjs.map +1 -1
  92. package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs +0 -13
  93. package/fesm2015/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -1
  94. package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs +253 -60
  95. package/fesm2015/tuki-io-tuki-widgets-user-manage.mjs.map +1 -1
  96. package/fesm2015/tuki-io-tuki-widgets-users-list.mjs +121 -22
  97. package/fesm2015/tuki-io-tuki-widgets-users-list.mjs.map +1 -1
  98. package/fesm2015/tuki-io-tuki-widgets-workspaces.mjs +1082 -0
  99. package/fesm2015/tuki-io-tuki-widgets-workspaces.mjs.map +1 -0
  100. package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs +3 -0
  101. package/fesm2020/tuki-io-tuki-widgets-di2mt.mjs.map +1 -1
  102. package/fesm2020/tuki-io-tuki-widgets-locations.mjs +617 -0
  103. package/fesm2020/tuki-io-tuki-widgets-locations.mjs.map +1 -0
  104. package/fesm2020/tuki-io-tuki-widgets-meetings.mjs +902 -0
  105. package/fesm2020/tuki-io-tuki-widgets-meetings.mjs.map +1 -0
  106. package/fesm2020/tuki-io-tuki-widgets-shared.mjs +280 -0
  107. package/fesm2020/tuki-io-tuki-widgets-shared.mjs.map +1 -0
  108. package/fesm2020/tuki-io-tuki-widgets-user-creation.mjs +104 -28
  109. package/fesm2020/tuki-io-tuki-widgets-user-creation.mjs.map +1 -1
  110. package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs +0 -13
  111. package/fesm2020/tuki-io-tuki-widgets-user-device-manage.mjs.map +1 -1
  112. package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs +248 -58
  113. package/fesm2020/tuki-io-tuki-widgets-user-manage.mjs.map +1 -1
  114. package/fesm2020/tuki-io-tuki-widgets-users-list.mjs +120 -22
  115. package/fesm2020/tuki-io-tuki-widgets-users-list.mjs.map +1 -1
  116. package/fesm2020/tuki-io-tuki-widgets-workspaces.mjs +1089 -0
  117. package/fesm2020/tuki-io-tuki-widgets-workspaces.mjs.map +1 -0
  118. package/locations/index.d.ts +5 -0
  119. package/locations/public-api.d.ts +2 -0
  120. package/locations/src/app.constants.d.ts +9 -0
  121. package/locations/src/location-confirm-dialog/location-confirm-dialog.component.d.ts +15 -0
  122. package/locations/src/locations.component.d.ts +86 -0
  123. package/locations/src/locations.module.d.ts +13 -0
  124. package/locations/src/material.module.d.ts +12 -0
  125. package/locations/src/services/api.service.d.ts +18 -0
  126. package/locations/src/services/locations.service.d.ts +19 -0
  127. package/locations/src/types/location.d.ts +28 -0
  128. package/locations/src/utils/app-loader/app-loader.d.ts +6 -0
  129. package/meetings/index.d.ts +5 -0
  130. package/meetings/public-api.d.ts +2 -0
  131. package/meetings/src/app.constants.d.ts +8 -0
  132. package/meetings/src/components/live-meetings/live-meeting/live-meeting.component.d.ts +34 -0
  133. package/meetings/src/components/live-meetings/live-meetings.component.d.ts +43 -0
  134. package/meetings/src/components/meeting-spaces/meeting-space/meeting-space.component.d.ts +39 -0
  135. package/meetings/src/components/meeting-spaces/meeting-spaces.component.d.ts +27 -0
  136. package/meetings/src/material.module.d.ts +15 -0
  137. package/meetings/src/meetings.component.d.ts +29 -0
  138. package/meetings/src/meetings.module.d.ts +16 -0
  139. package/meetings/src/services/api.service.d.ts +18 -0
  140. package/meetings/src/services/live-meetings.service.d.ts +9 -0
  141. package/meetings/src/services/meeting-spaces.service.d.ts +16 -0
  142. package/meetings/src/types/live-meeting.d.ts +71 -0
  143. package/meetings/src/types/meeting-space.d.ts +52 -0
  144. package/meetings/src/utils/app-loader/app-loader.d.ts +6 -0
  145. package/package.json +33 -1
  146. package/shared/index.d.ts +5 -0
  147. package/shared/public-api.d.ts +3 -0
  148. package/shared/src/ui/material.module.d.ts +28 -0
  149. package/shared/src/ui/shared.module.d.ts +10 -0
  150. package/{user-device-manage/src/shared/tk-page-section/page-section.component.d.ts → shared/src/ui/tk-page-section/tk-page-section.component.d.ts} +1 -1
  151. package/shared/src/ui/tk-page-section-row/tk-page-section-row.component.d.ts +6 -0
  152. package/shared/src/ui/ui.module.d.ts +11 -0
  153. package/user-creation/src/utils/device-default-prefix.d.ts +7 -2
  154. package/user-creation/src/utils/device-name-dynamic-tokens.d.ts +1 -0
  155. package/user-creation/src/utils/parse-device-name-rule.d.ts +1 -0
  156. package/user-creation/src/widgets/user-creation-wizard/components/user-details-step/user-details-step.component.d.ts +2 -0
  157. package/user-device-manage/src/classes/simplified-user.d.ts +1 -1
  158. package/user-device-manage/src/user-device-manage.module.d.ts +9 -10
  159. package/user-manage/src/app.constants.d.ts +6 -0
  160. package/user-manage/src/classes/simplified-user.d.ts +11 -1
  161. package/user-manage/src/device-list/device-list.component.d.ts +2 -0
  162. package/user-manage/src/material.module.d.ts +2 -1
  163. package/user-manage/src/services/dcp-api.service.d.ts +21 -0
  164. package/user-manage/src/services/user.service.d.ts +8 -1
  165. package/user-manage/src/user-calling/user-calling.component.d.ts +3 -2
  166. package/user-manage/src/user-manage-widget.component.d.ts +10 -2
  167. package/user-manage/src/user-manage.module.d.ts +2 -1
  168. package/users-list/src/app.constants.d.ts +1 -0
  169. package/users-list/src/classes/simlified-user.d.ts +1 -1
  170. package/users-list/src/classes/user-list.d.ts +4 -0
  171. package/users-list/src/move-user-wizard/move-user-stepper/move-user-stepper.component.d.ts +3 -1
  172. package/users-list/src/move-user-wizard/move-user-wizard.component.d.ts +2 -1
  173. package/users-list/src/users-list.component.d.ts +6 -1
  174. package/workspaces/index.d.ts +5 -0
  175. package/workspaces/public-api.d.ts +2 -0
  176. package/workspaces/src/app.constants.d.ts +25 -0
  177. package/workspaces/src/components/workspace-confirm-dialog/workspace-confirm-dialog.component.d.ts +20 -0
  178. package/workspaces/src/components/workspace-detail/workspace-detail.component.d.ts +25 -0
  179. package/workspaces/src/components/workspaces-filters/workspaces-filters.component.d.ts +20 -0
  180. package/workspaces/src/components/workspaces-table/workspaces-table.component.d.ts +42 -0
  181. package/workspaces/src/material.module.d.ts +16 -0
  182. package/workspaces/src/services/api-webex.service.d.ts +6 -0
  183. package/workspaces/src/services/api.service.d.ts +18 -0
  184. package/workspaces/src/services/workspace-detail.service.d.ts +20 -0
  185. package/workspaces/src/services/workspaces-migration.service.d.ts +18 -0
  186. package/workspaces/src/services/workspaces.service.d.ts +11 -0
  187. package/workspaces/src/types/workspace.d.ts +416 -0
  188. package/workspaces/src/utils/app-loader/app-loader.d.ts +6 -0
  189. package/workspaces/src/utils/device-icon.d.ts +1 -0
  190. package/workspaces/src/utils/workspace-name.d.ts +1 -0
  191. package/workspaces/src/workspaces.component.d.ts +74 -0
  192. package/workspaces/src/workspaces.module.d.ts +16 -0
  193. package/esm2020/user-device-manage/src/shared/tk-page-section/page-section.component.mjs +0 -13
@@ -0,0 +1,416 @@
1
+ export interface WorkspaceAssociatedDirectoryNumber {
2
+ directoryNumber: string;
3
+ routePartitionName: string;
4
+ pkid: string | null;
5
+ dnType: string | null;
6
+ subType: string | null;
7
+ }
8
+ export interface WorkspaceLineAssociation {
9
+ linePkid: string | null;
10
+ index: number | null;
11
+ position: number | null;
12
+ }
13
+ export interface WorkspaceSite {
14
+ id: number;
15
+ name: string;
16
+ }
17
+ export interface WorkspaceDeviceAssociation {
18
+ deviceId: string;
19
+ mac: string;
20
+ model: string;
21
+ }
22
+ export interface WorkspaceDeviceRecord {
23
+ name: string;
24
+ newName: string;
25
+ pkid: string | null;
26
+ entityChangeType: string | null;
27
+ deviceType: string | null;
28
+ activeLoadId: string | null;
29
+ associatedDNs: WorkspaceAssociatedDirectoryNumber[];
30
+ authenticationMode: string | null;
31
+ authenticationString: string | null;
32
+ builtInBridge: string | null;
33
+ busyLampFields: unknown[];
34
+ buttonTemplate: string | null;
35
+ callingSearchSpaceName: string | null;
36
+ certificateOperation: string | null;
37
+ certificateStatus: string | null;
38
+ changedLineAppEntity: string | null;
39
+ changedMeetMeEntity: string | null;
40
+ commonPhoneConfigName: string | null;
41
+ ctiRemoteDevice: boolean;
42
+ cucmId: string | null;
43
+ customerId: number;
44
+ description: string | null;
45
+ devicePoolName: string | null;
46
+ deviceRegStatus: string | null;
47
+ deviceSecurityMode: string | null;
48
+ enabledExtensionMobility: boolean;
49
+ excludeDeviceExtraOptions: boolean;
50
+ extraOptions: unknown | null;
51
+ firmwareVersion: string | null;
52
+ firstExpansionModule: string | null;
53
+ intercomLineAssociations: unknown[];
54
+ ipAddress: string | null;
55
+ lastRegTime: string | null;
56
+ lineAssociations: WorkspaceLineAssociation[];
57
+ lines: unknown[];
58
+ location: string | null;
59
+ meetMeEnabled: boolean;
60
+ networkLocale: string | null;
61
+ operationCompletesBy: string | null;
62
+ ownerUserId: string | null;
63
+ plarDevice: boolean;
64
+ protocol: string | null;
65
+ provisioningStatus: string | null;
66
+ reroutingCss: string | null;
67
+ rsaKeySize: string | null;
68
+ secondExpansionModule: string | null;
69
+ securityProfile: string | null;
70
+ securityProfileUuid: string | null;
71
+ selectedDevicesAarSettings: unknown[];
72
+ selectedDevicesAdditionalInfos: unknown[];
73
+ selectedDevicesDndSettings: unknown[];
74
+ selectedDevicesExternalDataLocations: unknown[];
75
+ selectedDevicesGeneralInfos: unknown[];
76
+ selectedDevicesMediaSettings: unknown[];
77
+ selectedDevicesMlppInfos: unknown[];
78
+ selectedDevicesNumberPresentations: unknown[];
79
+ selectedDevicesPhoneSpecifics: unknown[];
80
+ selectedDevicesProtocolSpecifics: unknown[];
81
+ selectedIndex: number;
82
+ services: string[];
83
+ sharedUsers: string[];
84
+ sipProfile: string | null;
85
+ siteId: number;
86
+ siteName: string | null;
87
+ softkeyTemplate: string | null;
88
+ speedDials: unknown[];
89
+ subscribeCallingSearchSpaceName: string | null;
90
+ thirdExpansionModule: string | null;
91
+ unSupportedForSD: unknown | null;
92
+ userDeviceType: string | null;
93
+ userLocale: string | null;
94
+ voicemailEnabled: boolean;
95
+ webexUUID: string | null;
96
+ withUdp: boolean;
97
+ }
98
+ export interface WorkspaceListItem {
99
+ device: WorkspaceDeviceRecord;
100
+ lines: unknown[];
101
+ site: WorkspaceSite | null;
102
+ workspaceDevices: WorkspaceDeviceAssociation[];
103
+ }
104
+ export interface WorkspacesResponse {
105
+ total: number;
106
+ pageData: WorkspaceListItem[];
107
+ }
108
+ export type WorkspaceStatus = 'active' | 'inactive' | 'unavailable';
109
+ export interface WorkspaceDevice {
110
+ id: string;
111
+ kind: 'device' | 'person';
112
+ label: string;
113
+ initials?: string;
114
+ color?: string;
115
+ model?: string;
116
+ }
117
+ export interface WorkspacesPage {
118
+ workspaces: Workspace[];
119
+ total: number;
120
+ }
121
+ export interface Workspace {
122
+ id: string;
123
+ displayName: string;
124
+ typeLabel: string;
125
+ capacity: number | null;
126
+ location: string;
127
+ siteId: number | null;
128
+ devices: WorkspaceDevice[];
129
+ scheduling: string;
130
+ callingLicense: string;
131
+ provisioningType: string;
132
+ status: WorkspaceStatus;
133
+ statusLabel: string;
134
+ device: WorkspaceDeviceRecord;
135
+ isHybrid: boolean;
136
+ }
137
+ export type WorkspaceConnectionType = 'webex' | 'di';
138
+ export interface WorkspaceOpenEvent {
139
+ id: string;
140
+ connectionType: WorkspaceConnectionType;
141
+ }
142
+ export interface WorkspaceIssue {
143
+ id: string;
144
+ message: string;
145
+ timestamp: string;
146
+ actionLabel: string;
147
+ }
148
+ export interface WorkspaceLocationDetails {
149
+ country: string;
150
+ address: string;
151
+ }
152
+ export interface WorkspaceCallingDetails {
153
+ license: string;
154
+ sipAddress: string;
155
+ directoryNumber: string;
156
+ routePartition: string;
157
+ callingSearchSpace: string;
158
+ securityProfile: string;
159
+ externalCallerIdName?: string;
160
+ externalCallerIdNumber?: string;
161
+ }
162
+ export interface WorkspaceDetails {
163
+ issues: WorkspaceIssue[];
164
+ location: WorkspaceLocationDetails;
165
+ calling: WorkspaceCallingDetails;
166
+ schedulingConfigured: boolean;
167
+ plannedMaintenanceEnabled: boolean;
168
+ notes: string | null;
169
+ capacity?: number | null;
170
+ }
171
+ export interface WebexWorkspaceDeviceSummary {
172
+ deviceId: string;
173
+ mac: string;
174
+ model: string;
175
+ registered: string | null;
176
+ }
177
+ export interface WebexWorkspaceDetailsResponse {
178
+ customerId: number;
179
+ capacity: number | null;
180
+ devices: WebexWorkspaceDeviceSummary[];
181
+ extensions: string[];
182
+ licenseName: string;
183
+ locationId: string;
184
+ locationName: string;
185
+ sipAddress: string;
186
+ type: string;
187
+ workspaceId: string;
188
+ workspaceName: string;
189
+ }
190
+ export interface WebexNumberLocation {
191
+ id: string;
192
+ name: string;
193
+ orgId: string;
194
+ address: string | null;
195
+ announcementLanguage: string | null;
196
+ city: string | null;
197
+ country: string | null;
198
+ emailLanguage: string | null;
199
+ postalCode: string | null;
200
+ preferredLanguage: string | null;
201
+ state: string | null;
202
+ timeZone: string | null;
203
+ }
204
+ export interface WebexNumberOrganization {
205
+ id: string;
206
+ name: string;
207
+ }
208
+ export interface WebexPhoneNumber {
209
+ esn: string | null;
210
+ extension: string | null;
211
+ external: string | null;
212
+ primary: boolean;
213
+ workspace?: {
214
+ id: string;
215
+ };
216
+ }
217
+ export interface WebexNumbersResponse {
218
+ phoneNumbers: WebexPhoneNumber[];
219
+ location: WebexNumberLocation;
220
+ organization: WebexNumberOrganization;
221
+ }
222
+ export interface WebexCallerIdResponse {
223
+ types: string[];
224
+ selected: string;
225
+ blockInForwardCallsEnabled: boolean;
226
+ customExternalCallerIdName: string | null;
227
+ customNumber: string | null;
228
+ customerNumber: string | null;
229
+ directNumber: string | null;
230
+ displayDetail: string | null;
231
+ displayName: string | null;
232
+ externalCallerIdNamePolicy: string | null;
233
+ locationExternalCallerIdName: string | null;
234
+ locationNumber: string | null;
235
+ tollFreeLocationNumber: boolean;
236
+ }
237
+ export interface CucmCallInfoDisplay {
238
+ callerName: string;
239
+ callerNumber: string;
240
+ redirectedNumber: string;
241
+ dialedNumber: string;
242
+ }
243
+ export interface CucmLineAssociation {
244
+ linePkid: string | null;
245
+ index: number | null;
246
+ position: number | null;
247
+ directoryNumber: WorkspaceAssociatedDirectoryNumber;
248
+ e164Mask: string | null;
249
+ textLabel: string | null;
250
+ displayLabel: string | null;
251
+ displayLabelAscii: string | null;
252
+ maxNumberOfCalls: number | null;
253
+ busyTrigger: number | null;
254
+ recordingOption: string | null;
255
+ recordingProfile: string | null;
256
+ recordingMediaSource: string | null;
257
+ visualMWI: string | null;
258
+ audibleMWI: string | null;
259
+ ringSetting_idle: string | null;
260
+ ringSetting_active: string | null;
261
+ pickupAAS_idle: string | null;
262
+ pickupAAS_active: string | null;
263
+ monitorCSS: string | null;
264
+ logMissedCall: string | null;
265
+ callInfoDisplay: CucmCallInfoDisplay;
266
+ lineLocalId: string | null;
267
+ didPattern: unknown | null;
268
+ sharedDevices: unknown[];
269
+ sharedUsers: unknown[];
270
+ ownerUserId: unknown[];
271
+ associated: unknown | null;
272
+ patternUsage: unknown | null;
273
+ alertingName: string | null;
274
+ populateWithDid: boolean;
275
+ }
276
+ export interface CucmService {
277
+ name: string;
278
+ telecasterServiceName: string;
279
+ }
280
+ export interface CucmDeviceDetails extends Omit<WorkspaceDeviceRecord, 'lineAssociations' | 'services'> {
281
+ lineAssociations: CucmLineAssociation[];
282
+ services: CucmService[];
283
+ }
284
+ export interface CucmCallForwardSetting {
285
+ forwardToVoiceMail: boolean | null;
286
+ destination: string | null;
287
+ callingSearchSpace: string | null;
288
+ duration: number | null;
289
+ }
290
+ export interface CucmAarSettings {
291
+ aarDestinationMask: string | null;
292
+ aarGroup: string | null;
293
+ aarVoiceMailEnabled: boolean;
294
+ aarKeepCallHistory: boolean;
295
+ }
296
+ export interface CucmParkMonitoring {
297
+ destination: string | null;
298
+ callingSearchSpace: string | null;
299
+ voiceMail: boolean;
300
+ }
301
+ export interface CucmDidPattern {
302
+ pkid: string | null;
303
+ pattern: string | null;
304
+ newPattern: string | null;
305
+ calledPartyTransformationMask: string | null;
306
+ description: string | null;
307
+ useOriginatorCss: unknown | null;
308
+ callingSearchSpaceName: string | null;
309
+ routePartitionName: string | null;
310
+ newRoutePartitionName: string | null;
311
+ urgentPriority: boolean;
312
+ outgoingCalls: unknown | null;
313
+ }
314
+ export interface CucmLineDetails {
315
+ directoryNumber: WorkspaceAssociatedDirectoryNumber;
316
+ pkid: string | null;
317
+ description: string | null;
318
+ entityChangeType: string | null;
319
+ alertingName: string | null;
320
+ asciiAlertingName: string | null;
321
+ callingSearchSpace: string | null;
322
+ callForwardAll: CucmCallForwardSetting;
323
+ callForwardAllSecondaryCSS: CucmCallForwardSetting;
324
+ callForwardBusyInternal: CucmCallForwardSetting;
325
+ callForwardBusyExternal: CucmCallForwardSetting;
326
+ callForwardNoAnswerInternal: CucmCallForwardSetting;
327
+ callForwardNoAnswerExternal: CucmCallForwardSetting;
328
+ callForwardNoCoverageInternal: CucmCallForwardSetting;
329
+ callForwardNoCoverageExternal: CucmCallForwardSetting;
330
+ callForwardOnCTIFailure: CucmCallForwardSetting;
331
+ callForwardUnregisteredInternal: CucmCallForwardSetting;
332
+ callForwardUnregisteredExternal: CucmCallForwardSetting;
333
+ callForwardAlternateParty: CucmCallForwardSetting;
334
+ voiceMailProfile: string | null;
335
+ noAnswerRingDuration: number | null;
336
+ autoAnswer: string | null;
337
+ callPickupGroup: string | null;
338
+ aarSettings: CucmAarSettings;
339
+ parkMonitoringInternal: CucmParkMonitoring;
340
+ parkMonitoringExternal: CucmParkMonitoring;
341
+ urgentPriority: boolean;
342
+ blfPresenceGroup: string | null;
343
+ userHoldMOHAudioSourceId: string | null;
344
+ userHoldMOHAudioSourceName: string | null;
345
+ networkMOHAudioSourceId: string | null;
346
+ networkMOHAudioSourceName: string | null;
347
+ rejectAnonymousCall: boolean;
348
+ enterpriseAltNum: unknown | null;
349
+ e164AltNum: unknown | null;
350
+ directoryUris: unknown[];
351
+ mlppNoAnswerRingDuration: number | null;
352
+ confidentialAccessMode: unknown | null;
353
+ confidentialAccessLevel: unknown | null;
354
+ confidentialAccessLevelName: unknown | null;
355
+ callControlAgentProfile: unknown | null;
356
+ holdReversionRingDuration: number | null;
357
+ holdReversionNotificationInterval: number | null;
358
+ partyEntranceTone: string | null;
359
+ pstnFailover: string | null;
360
+ localId: string | null;
361
+ customerId: number;
362
+ cucmId: number;
363
+ siteId: number;
364
+ siteName: string | null;
365
+ location: string | null;
366
+ locationNames: string[];
367
+ selectedIndex: number;
368
+ didPatterns: CucmDidPattern[];
369
+ mappedDids: string[];
370
+ selectedLinesGeneralSettings: unknown[];
371
+ selectedLinesAssociatedSettings: unknown[];
372
+ selectedLinesMultipleCalls: unknown[];
373
+ selectedLinesCallRecordings: unknown[];
374
+ selectedLinesAdditionalSettings: unknown[];
375
+ selectedLinesForwardCalls: unknown[];
376
+ newToUser: boolean;
377
+ plarDestinationNumber: string | null;
378
+ prefixDigits: string | null;
379
+ plarDescription: string | null;
380
+ plarCss: string | null;
381
+ plarRoutePartition: string | null;
382
+ plarEnabled: boolean;
383
+ }
384
+ export interface CucmWorkspaceDetailsResponse {
385
+ device: CucmDeviceDetails;
386
+ lines: CucmLineDetails[];
387
+ site: WorkspaceSite | null;
388
+ workspaceDevices: WorkspaceDeviceAssociation[];
389
+ }
390
+ export interface CucmSiteCucInfo {
391
+ id: number;
392
+ name: string;
393
+ }
394
+ export interface CucmSiteCucmInfo {
395
+ platformType: string;
396
+ id: number;
397
+ name: string;
398
+ }
399
+ export interface CucmSiteResponse {
400
+ id: number;
401
+ name: string;
402
+ shortName: string;
403
+ address2: string | null;
404
+ address3: string | null;
405
+ country: string | null;
406
+ cuc: CucmSiteCucInfo | null;
407
+ cucm: CucmSiteCucmInfo | null;
408
+ hasActivated: boolean;
409
+ hqStatus: boolean;
410
+ isAfterTtu: boolean;
411
+ locationName: string;
412
+ prefetchDn: boolean;
413
+ settings: unknown[];
414
+ state: string | null;
415
+ timezone: string | null;
416
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class AppLoaderComponent {
3
+ constructor();
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppLoaderComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<AppLoaderComponent, "app-loader", never, {}, {}, never, never, false, never>;
6
+ }
@@ -0,0 +1 @@
1
+ export declare function getDeviceIcon(model?: string): string;
@@ -0,0 +1 @@
1
+ export declare function withoutSep(name: string): string;
@@ -0,0 +1,74 @@
1
+ import { Location } from '@angular/common';
2
+ import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
3
+ import { MatDialog } from '@angular/material/dialog';
4
+ import { APIService } from './services/api.service';
5
+ import { ApiWebexService } from './services/api-webex.service';
6
+ import { WorkspacesMigrationService } from './services/workspaces-migration.service';
7
+ import { WorkspacesService } from './services/workspaces.service';
8
+ import { Workspace, WorkspaceConnectionType, WorkspaceOpenEvent } from './types/workspace';
9
+ import * as i0 from "@angular/core";
10
+ type WorkspacesView = 'list' | 'detail';
11
+ type WorkspacesTab = 'workspaces' | 'insights' | 'integrations' | 'settings';
12
+ interface WorkspacesTabDefinition {
13
+ id: WorkspacesTab;
14
+ label: string;
15
+ icon: string;
16
+ }
17
+ export declare class WorkspacesComponent implements OnInit, OnDestroy {
18
+ private apiService;
19
+ private apiWebexService;
20
+ private workspacesService;
21
+ private migrationService;
22
+ private dialog;
23
+ private location;
24
+ host: string;
25
+ token: string;
26
+ customerId: string;
27
+ addWorkspace: EventEmitter<void>;
28
+ openWorkspace: EventEmitter<string>;
29
+ addDevice: EventEmitter<string>;
30
+ readonly tabs: WorkspacesTabDefinition[];
31
+ activeTab: WorkspacesTab;
32
+ view: WorkspacesView;
33
+ selectedWorkspace: Workspace | null;
34
+ selectedConnectionType: WorkspaceConnectionType;
35
+ workspaces: Workspace[];
36
+ isLoading: boolean;
37
+ pageIndex: number;
38
+ pageSize: number;
39
+ total: number;
40
+ searchTerm: string;
41
+ typeFilter: string;
42
+ locationFilter: string;
43
+ pendingWorkspaceIds: Set<string>;
44
+ private readonly subscriptions;
45
+ constructor(apiService: APIService, apiWebexService: ApiWebexService, workspacesService: WorkspacesService, migrationService: WorkspacesMigrationService, dialog: MatDialog, location: Location);
46
+ ngOnInit(): void;
47
+ ngOnDestroy(): void;
48
+ get typeOptions(): string[];
49
+ get locationOptions(): string[];
50
+ private get filteredWorkspacesAll();
51
+ get filteredWorkspaces(): Workspace[];
52
+ get filteredTotal(): number;
53
+ selectTab(tab: WorkspacesTab): void;
54
+ onOpenWorkspace({ id, connectionType }: WorkspaceOpenEvent): void;
55
+ onBackToList(): void;
56
+ onSearchChange(term: string): void;
57
+ onTypeFilterChange(type: string): void;
58
+ onLocationFilterChange(location: string): void;
59
+ onPageChange({ pageIndex, pageSize }: {
60
+ pageIndex: number;
61
+ pageSize: number;
62
+ }): void;
63
+ onMoveToMT(workspace: Workspace): void;
64
+ onEnableWebexCalling(workspace: Workspace): void;
65
+ onMigrateToUCM(workspace: Workspace): void;
66
+ private pollMigrationFormStatus;
67
+ private buildFirmwareDeviceMap;
68
+ private normalizeMigrationStatus;
69
+ private isTerminalMigrationStatus;
70
+ private fetchWorkspaces;
71
+ static ɵfac: i0.ɵɵFactoryDeclaration<WorkspacesComponent, never>;
72
+ static ɵcmp: i0.ɵɵComponentDeclaration<WorkspacesComponent, "tk-workspaces", never, { "host": "host"; "token": "token"; "customerId": "customerId"; }, { "addWorkspace": "addWorkspace"; "openWorkspace": "openWorkspace"; "addDevice": "addDevice"; }, never, never, false, never>;
73
+ }
74
+ export {};
@@ -0,0 +1,16 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./workspaces.component";
3
+ import * as i2 from "./components/workspaces-filters/workspaces-filters.component";
4
+ import * as i3 from "./components/workspaces-table/workspaces-table.component";
5
+ import * as i4 from "./components/workspace-detail/workspace-detail.component";
6
+ import * as i5 from "./components/workspace-confirm-dialog/workspace-confirm-dialog.component";
7
+ import * as i6 from "./utils/app-loader/app-loader";
8
+ import * as i7 from "@angular/common";
9
+ import * as i8 from "@angular/common/http";
10
+ import * as i9 from "@angular/forms";
11
+ import * as i10 from "./material.module";
12
+ export declare class WorkspacesModule {
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<WorkspacesModule, never>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<WorkspacesModule, [typeof i1.WorkspacesComponent, typeof i2.WorkspacesFiltersComponent, typeof i3.WorkspacesTableComponent, typeof i4.WorkspaceDetailComponent, typeof i5.WorkspaceConfirmDialogComponent, typeof i6.AppLoaderComponent], [typeof i7.CommonModule, typeof i8.HttpClientModule, typeof i9.FormsModule, typeof i10.MaterialModule], [typeof i1.WorkspacesComponent]>;
15
+ static ɵinj: i0.ɵɵInjectorDeclaration<WorkspacesModule>;
16
+ }
@@ -1,13 +0,0 @@
1
- import { Component, Input } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class PageSectionComponent {
4
- }
5
- PageSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PageSectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
6
- PageSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PageSectionComponent, selector: "lib-page-section", inputs: { heading: "heading" }, ngImport: i0, template: "<section class=\"wrapper\">\r\n <div class=\"section__left-header\">\r\n <div class=\"heading-wrapper\">\r\n <h2 class=\"heading\">{{ heading }}</h2>\r\n <div class=\"heading-icon\">\r\n <ng-content select=\"heading-icon\"></ng-content>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"section__content\">\r\n <ng-content select=\"content\"></ng-content>\r\n </div>\r\n</section>", styles: [".wrapper{color:#000000f2;border:1px solid rgba(0,0,0,.2);border-radius:.5rem;width:100%;padding:1.5rem;display:flex}.section__left-header{display:flex;align-items:left;justify-content:center;flex-direction:column;gap:1rem;background-color:red;flex:1;max-width:11rem}.section__left-header .heading-wrapper{display:flex;align-items:center;justify-content:left;gap:.5rem}.section__left-header .heading{font-size:16px;font-weight:500}.section__left-header .heading-icon{display:flex;align-items:center;justify-content:center}.section__content{display:flex;align-items:center;justify-content:center;gap:.5rem}\n"] });
7
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PageSectionComponent, decorators: [{
8
- type: Component,
9
- args: [{ selector: 'lib-page-section', template: "<section class=\"wrapper\">\r\n <div class=\"section__left-header\">\r\n <div class=\"heading-wrapper\">\r\n <h2 class=\"heading\">{{ heading }}</h2>\r\n <div class=\"heading-icon\">\r\n <ng-content select=\"heading-icon\"></ng-content>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"section__content\">\r\n <ng-content select=\"content\"></ng-content>\r\n </div>\r\n</section>", styles: [".wrapper{color:#000000f2;border:1px solid rgba(0,0,0,.2);border-radius:.5rem;width:100%;padding:1.5rem;display:flex}.section__left-header{display:flex;align-items:left;justify-content:center;flex-direction:column;gap:1rem;background-color:red;flex:1;max-width:11rem}.section__left-header .heading-wrapper{display:flex;align-items:center;justify-content:left;gap:.5rem}.section__left-header .heading{font-size:16px;font-weight:500}.section__left-header .heading-icon{display:flex;align-items:center;justify-content:center}.section__content{display:flex;align-items:center;justify-content:center;gap:.5rem}\n"] }]
10
- }], propDecorators: { heading: [{
11
- type: Input
12
- }] } });
13
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnZS1zZWN0aW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R1a2kvd2lkZ2V0cy91c2VyLWRldmljZS1tYW5hZ2Uvc3JjL3NoYXJlZC90ay1wYWdlLXNlY3Rpb24vcGFnZS1zZWN0aW9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R1a2kvd2lkZ2V0cy91c2VyLWRldmljZS1tYW5hZ2Uvc3JjL3NoYXJlZC90ay1wYWdlLXNlY3Rpb24vcGFnZS1zZWN0aW9uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQU9qRCxNQUFNLE9BQU8sb0JBQW9COztrSEFBcEIsb0JBQW9CO3NHQUFwQixvQkFBb0Isd0ZDUGpDLCtjQVlVOzRGRExHLG9CQUFvQjtrQkFMaEMsU0FBUzsrQkFDRSxrQkFBa0I7OEJBS25CLE9BQU87c0JBQWYsS0FBSyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgSW5wdXQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnbGliLXBhZ2Utc2VjdGlvbicsXG4gIHRlbXBsYXRlVXJsOiAnLi9wYWdlLXNlY3Rpb24uY29tcG9uZW50Lmh0bWwnLFxuICBzdHlsZVVybHM6IFsnLi9wYWdlLXNlY3Rpb24uY29tcG9uZW50LnNjc3MnXVxufSlcbmV4cG9ydCBjbGFzcyBQYWdlU2VjdGlvbkNvbXBvbmVudCB7XG4gIEBJbnB1dCgpIGhlYWRpbmchOiBzdHJpbmc7XG59XG4iLCI8c2VjdGlvbiBjbGFzcz1cIndyYXBwZXJcIj5cclxuICAgIDxkaXYgY2xhc3M9XCJzZWN0aW9uX19sZWZ0LWhlYWRlclwiPlxyXG4gICAgICAgIDxkaXYgY2xhc3M9XCJoZWFkaW5nLXdyYXBwZXJcIj5cclxuICAgICAgICAgICAgPGgyIGNsYXNzPVwiaGVhZGluZ1wiPnt7IGhlYWRpbmcgfX08L2gyPlxyXG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwiaGVhZGluZy1pY29uXCI+XHJcbiAgICAgICAgICAgICAgICA8bmctY29udGVudCBzZWxlY3Q9XCJoZWFkaW5nLWljb25cIj48L25nLWNvbnRlbnQ+XHJcbiAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgIDwvZGl2PlxyXG4gICAgPC9kaXY+XHJcbiAgICA8ZGl2IGNsYXNzPVwic2VjdGlvbl9fY29udGVudFwiPlxyXG4gICAgICAgIDxuZy1jb250ZW50IHNlbGVjdD1cImNvbnRlbnRcIj48L25nLWNvbnRlbnQ+XHJcbiAgICA8L2Rpdj5cclxuPC9zZWN0aW9uPiJdfQ==