@webitel/ui-sdk 25.10.2 → 25.10.4

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.
@@ -2,378 +2,10 @@
2
2
  */
3
3
  export default class ApplicationsAccess {
4
4
  static minify(access: any): any;
5
- static restore(access: any): Promise<any>;
6
- static appendCustomTypesToUiSectionsVisibilityAccess(access: any): Promise<any>;
5
+ static restore(access: any): any;
7
6
  constructor({ access, value }?: {
8
7
  value: boolean;
9
8
  });
10
- access: Promise<any> | {
11
- [WebitelApplications.AGENT]: {
12
- _enabled: boolean;
13
- };
14
- [WebitelApplications.HISTORY]: {
15
- _enabled: boolean;
16
- };
17
- [WebitelApplications.ANALYTICS]: {
18
- _enabled: boolean;
19
- };
20
- [WebitelApplications.SUPERVISOR]: {
21
- [SupervisorSections.QUEUES]: {
22
- _enabled: boolean;
23
- };
24
- [SupervisorSections.AGENTS]: {
25
- _enabled: boolean;
26
- };
27
- [SupervisorSections.ACTIVE_CALLS]: {
28
- _enabled: boolean;
29
- };
30
- _enabled: boolean;
31
- };
32
- [WebitelApplications.ADMIN]: {
33
- [AdminSections.LICENSE]: {
34
- _enabled: boolean;
35
- };
36
- [AdminSections.USERS]: {
37
- _enabled: boolean;
38
- };
39
- [AdminSections.DEVICES]: {
40
- _enabled: boolean;
41
- };
42
- [AdminSections.FLOW]: {
43
- _enabled: boolean;
44
- };
45
- [AdminSections.DIALPLAN]: {
46
- _enabled: boolean;
47
- };
48
- [AdminSections.GATEWAYS]: {
49
- _enabled: boolean;
50
- };
51
- [AdminSections.CHATPLAN]: {
52
- _enabled: boolean;
53
- };
54
- [AdminSections.CHAT_GATEWAYS]: {
55
- _enabled: boolean;
56
- };
57
- [AdminSections.SKILLS]: {
58
- _enabled: boolean;
59
- };
60
- [AdminSections.BUCKETS]: {
61
- _enabled: boolean;
62
- };
63
- [AdminSections.BLACKLIST]: {
64
- _enabled: boolean;
65
- };
66
- [AdminSections.REGIONS]: {
67
- _enabled: boolean;
68
- };
69
- [AdminSections.CALENDARS]: {
70
- _enabled: boolean;
71
- };
72
- [AdminSections.COMMUNICATIONS]: {
73
- _enabled: boolean;
74
- };
75
- [AdminSections.PAUSE_CAUSE]: {
76
- _enabled: boolean;
77
- };
78
- [AdminSections.MEDIA]: {
79
- _enabled: boolean;
80
- };
81
- [AdminSections.SHIFT_TEMPLATES]: {
82
- _enabled: boolean;
83
- };
84
- [AdminSections.PAUSE_TEMPLATES]: {
85
- _enabled: boolean;
86
- };
87
- [AdminSections.WORKING_CONDITIONS]: {
88
- _enabled: boolean;
89
- };
90
- [AdminSections.QUICK_REPLIES]: {
91
- _enabled: boolean;
92
- };
93
- [AdminSections.AGENTS]: {
94
- _enabled: boolean;
95
- };
96
- [AdminSections.TEAMS]: {
97
- _enabled: boolean;
98
- };
99
- [AdminSections.RESOURCES]: {
100
- _enabled: boolean;
101
- };
102
- [AdminSections.RESOURCE_GROUPS]: {
103
- _enabled: boolean;
104
- };
105
- [AdminSections.QUEUES]: {
106
- _enabled: boolean;
107
- };
108
- [AdminSections.STORAGE]: {
109
- _enabled: boolean;
110
- };
111
- [AdminSections.STORAGE_POLICIES]: {
112
- _enabled: boolean;
113
- };
114
- [AdminSections.COGNITIVE_PROFILES]: {
115
- _enabled: boolean;
116
- };
117
- [AdminSections.EMAIL_PROFILES]: {
118
- _enabled: boolean;
119
- };
120
- [AdminSections.SINGLE_SIGN_ON]: {
121
- _enabled: boolean;
122
- };
123
- [AdminSections.IMPORT_CSV]: {
124
- _enabled: boolean;
125
- };
126
- [AdminSections.TRIGGERS]: {
127
- _enabled: boolean;
128
- };
129
- [AdminSections.ROLES]: {
130
- _enabled: boolean;
131
- };
132
- [AdminSections.OBJECTS]: {
133
- _enabled: boolean;
134
- };
135
- [AdminSections.CHANGELOGS]: {
136
- _enabled: boolean;
137
- };
138
- [AdminSections.CONFIGURATION]: {
139
- _enabled: boolean;
140
- };
141
- [AdminSections.GLOBAL_VARIABLES]: {
142
- _enabled: boolean;
143
- };
144
- _enabled: boolean;
145
- };
146
- [WebitelApplications.AUDIT]: {
147
- [AuditorSections.SCORECARDS]: {
148
- _enabled: boolean;
149
- };
150
- _enabled: boolean;
151
- };
152
- [WebitelApplications.CRM]: {
153
- [CrmSections.CONTACTS]: {
154
- _enabled: boolean;
155
- };
156
- [CrmSections.CASES]: {
157
- _enabled: boolean;
158
- };
159
- [CrmSections.SLAS]: {
160
- _enabled: boolean;
161
- };
162
- [CrmSections.SOURCES]: {
163
- _enabled: boolean;
164
- };
165
- [CrmSections.SERVICE_CATALOGS]: {
166
- _enabled: boolean;
167
- };
168
- [CrmSections.CLOSE_REASON_GROUPS]: {
169
- _enabled: boolean;
170
- };
171
- [CrmSections.CONTACT_GROUPS]: {
172
- _enabled: boolean;
173
- };
174
- [CrmSections.PRIORITIES]: {
175
- _enabled: boolean;
176
- };
177
- [CrmSections.STATUSES]: {
178
- _enabled: boolean;
179
- };
180
- _enabled: boolean;
181
- "ext-cases": {
182
- _enabled: boolean;
183
- };
184
- "ext-contacts": {
185
- _enabled: boolean;
186
- };
187
- "custom-lookups": {
188
- _enabled: boolean;
189
- };
190
- };
191
- };
192
- getAccess(): Promise<any> | {
193
- [WebitelApplications.AGENT]: {
194
- _enabled: boolean;
195
- };
196
- [WebitelApplications.HISTORY]: {
197
- _enabled: boolean;
198
- };
199
- [WebitelApplications.ANALYTICS]: {
200
- _enabled: boolean;
201
- };
202
- [WebitelApplications.SUPERVISOR]: {
203
- [SupervisorSections.QUEUES]: {
204
- _enabled: boolean;
205
- };
206
- [SupervisorSections.AGENTS]: {
207
- _enabled: boolean;
208
- };
209
- [SupervisorSections.ACTIVE_CALLS]: {
210
- _enabled: boolean;
211
- };
212
- _enabled: boolean;
213
- };
214
- [WebitelApplications.ADMIN]: {
215
- [AdminSections.LICENSE]: {
216
- _enabled: boolean;
217
- };
218
- [AdminSections.USERS]: {
219
- _enabled: boolean;
220
- };
221
- [AdminSections.DEVICES]: {
222
- _enabled: boolean;
223
- };
224
- [AdminSections.FLOW]: {
225
- _enabled: boolean;
226
- };
227
- [AdminSections.DIALPLAN]: {
228
- _enabled: boolean;
229
- };
230
- [AdminSections.GATEWAYS]: {
231
- _enabled: boolean;
232
- };
233
- [AdminSections.CHATPLAN]: {
234
- _enabled: boolean;
235
- };
236
- [AdminSections.CHAT_GATEWAYS]: {
237
- _enabled: boolean;
238
- };
239
- [AdminSections.SKILLS]: {
240
- _enabled: boolean;
241
- };
242
- [AdminSections.BUCKETS]: {
243
- _enabled: boolean;
244
- };
245
- [AdminSections.BLACKLIST]: {
246
- _enabled: boolean;
247
- };
248
- [AdminSections.REGIONS]: {
249
- _enabled: boolean;
250
- };
251
- [AdminSections.CALENDARS]: {
252
- _enabled: boolean;
253
- };
254
- [AdminSections.COMMUNICATIONS]: {
255
- _enabled: boolean;
256
- };
257
- [AdminSections.PAUSE_CAUSE]: {
258
- _enabled: boolean;
259
- };
260
- [AdminSections.MEDIA]: {
261
- _enabled: boolean;
262
- };
263
- [AdminSections.SHIFT_TEMPLATES]: {
264
- _enabled: boolean;
265
- };
266
- [AdminSections.PAUSE_TEMPLATES]: {
267
- _enabled: boolean;
268
- };
269
- [AdminSections.WORKING_CONDITIONS]: {
270
- _enabled: boolean;
271
- };
272
- [AdminSections.QUICK_REPLIES]: {
273
- _enabled: boolean;
274
- };
275
- [AdminSections.AGENTS]: {
276
- _enabled: boolean;
277
- };
278
- [AdminSections.TEAMS]: {
279
- _enabled: boolean;
280
- };
281
- [AdminSections.RESOURCES]: {
282
- _enabled: boolean;
283
- };
284
- [AdminSections.RESOURCE_GROUPS]: {
285
- _enabled: boolean;
286
- };
287
- [AdminSections.QUEUES]: {
288
- _enabled: boolean;
289
- };
290
- [AdminSections.STORAGE]: {
291
- _enabled: boolean;
292
- };
293
- [AdminSections.STORAGE_POLICIES]: {
294
- _enabled: boolean;
295
- };
296
- [AdminSections.COGNITIVE_PROFILES]: {
297
- _enabled: boolean;
298
- };
299
- [AdminSections.EMAIL_PROFILES]: {
300
- _enabled: boolean;
301
- };
302
- [AdminSections.SINGLE_SIGN_ON]: {
303
- _enabled: boolean;
304
- };
305
- [AdminSections.IMPORT_CSV]: {
306
- _enabled: boolean;
307
- };
308
- [AdminSections.TRIGGERS]: {
309
- _enabled: boolean;
310
- };
311
- [AdminSections.ROLES]: {
312
- _enabled: boolean;
313
- };
314
- [AdminSections.OBJECTS]: {
315
- _enabled: boolean;
316
- };
317
- [AdminSections.CHANGELOGS]: {
318
- _enabled: boolean;
319
- };
320
- [AdminSections.CONFIGURATION]: {
321
- _enabled: boolean;
322
- };
323
- [AdminSections.GLOBAL_VARIABLES]: {
324
- _enabled: boolean;
325
- };
326
- _enabled: boolean;
327
- };
328
- [WebitelApplications.AUDIT]: {
329
- [AuditorSections.SCORECARDS]: {
330
- _enabled: boolean;
331
- };
332
- _enabled: boolean;
333
- };
334
- [WebitelApplications.CRM]: {
335
- [CrmSections.CONTACTS]: {
336
- _enabled: boolean;
337
- };
338
- [CrmSections.CASES]: {
339
- _enabled: boolean;
340
- };
341
- [CrmSections.SLAS]: {
342
- _enabled: boolean;
343
- };
344
- [CrmSections.SOURCES]: {
345
- _enabled: boolean;
346
- };
347
- [CrmSections.SERVICE_CATALOGS]: {
348
- _enabled: boolean;
349
- };
350
- [CrmSections.CLOSE_REASON_GROUPS]: {
351
- _enabled: boolean;
352
- };
353
- [CrmSections.CONTACT_GROUPS]: {
354
- _enabled: boolean;
355
- };
356
- [CrmSections.PRIORITIES]: {
357
- _enabled: boolean;
358
- };
359
- [CrmSections.STATUSES]: {
360
- _enabled: boolean;
361
- };
362
- _enabled: boolean;
363
- "ext-cases": {
364
- _enabled: boolean;
365
- };
366
- "ext-contacts": {
367
- _enabled: boolean;
368
- };
369
- "custom-lookups": {
370
- _enabled: boolean;
371
- };
372
- };
373
- };
9
+ access: any;
10
+ getAccess(): any;
374
11
  }
375
- import WebitelApplications from '../../../enums/WebitelApplications/WebitelApplications.enum.js';
376
- import SupervisorSections from '../../../enums/WebitelApplications/SupervisorSections.enum.js';
377
- import AdminSections from '../../../enums/WebitelApplications/AdminSections.enum.js';
378
- import AuditorSections from '../../../enums/WebitelApplications/AuditorSections.enum.js';
379
- import CrmSections from '../../../enums/WebitelApplications/CrmSections.enum.js';