@webitel/ui-sdk 25.12.10 → 25.12.12

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 (39) hide show
  1. package/dist/{install-B_BbIYn5.js → install-CABlr3C8.js} +21 -15
  2. package/dist/ui-sdk.css +1 -1
  3. package/dist/ui-sdk.js +1 -1
  4. package/dist/ui-sdk.umd.cjs +1 -1
  5. package/dist/{vidstack-Bq6c3Bam-BbX0MHpo.js → vidstack-Bq6c3Bam-B5iVIj18.js} +2 -2
  6. package/dist/{vidstack-D2pY00kU-BppYE30f.js → vidstack-D2pY00kU-BPQa8qYs.js} +2 -2
  7. package/dist/{vidstack-DDXt6fpN-B5U4eb57.js → vidstack-DDXt6fpN-DkLBtie8.js} +1 -1
  8. package/dist/{vidstack-D_-9AA6_-NzhGM7kr.js → vidstack-D_-9AA6_-B1IholYM.js} +1 -1
  9. package/dist/{vidstack-DqAw8m9J-BoN2LLwW.js → vidstack-DqAw8m9J-43ibpRPr.js} +1 -1
  10. package/dist/{vidstack-audio-BX6DIFPu.js → vidstack-audio-D5EbUYQz.js} +2 -2
  11. package/dist/{vidstack-dash-C-6NmIsF.js → vidstack-dash-_0An9Wt5.js} +3 -3
  12. package/dist/{vidstack-google-cast-C64IFptF.js → vidstack-google-cast-BxDosHxO.js} +3 -3
  13. package/dist/{vidstack-hls-gelNYrfm.js → vidstack-hls-o7wKd4zz.js} +3 -3
  14. package/dist/{vidstack-video-CCpcxssy.js → vidstack-video-CPj7guyo.js} +2 -2
  15. package/dist/{vidstack-vimeo-Cexa9weW.js → vidstack-vimeo-DfZXylf2.js} +3 -3
  16. package/dist/{vidstack-youtube-BGD0EGlY.js → vidstack-youtube-Dhaxc8aN.js} +2 -2
  17. package/package.json +2 -2
  18. package/src/components/wt-filters-panel-wrapper/wt-filters-panel-wrapper.vue +11 -5
  19. package/src/locale/en/en.js +758 -754
  20. package/src/locale/es/es.js +4 -5
  21. package/src/locale/kz/kz.js +6 -7
  22. package/src/locale/pl/pl.js +5 -7
  23. package/src/locale/ro/ro.js +4 -5
  24. package/src/locale/ru/ru.js +6 -7
  25. package/src/locale/uk/uk.js +5 -6
  26. package/src/locale/uz/uz.js +5 -5
  27. package/src/locale/vi/vi.js +5 -5
  28. package/types/components/wt-filters-panel-wrapper/wt-filters-panel-wrapper.vue.d.ts +10 -1
  29. package/types/locale/en/en.d.ts +0 -1
  30. package/types/locale/es/es.d.ts +0 -1
  31. package/types/locale/i18n.d.ts +0 -9
  32. package/types/locale/index.d.ts +0 -9
  33. package/types/locale/kz/kz.d.ts +0 -1
  34. package/types/locale/pl/pl.d.ts +0 -1
  35. package/types/locale/ro/ro.d.ts +0 -1
  36. package/types/locale/ru/ru.d.ts +0 -1
  37. package/types/locale/uk/uk.d.ts +0 -1
  38. package/types/locale/uz/uz.d.ts +0 -1
  39. package/types/locale/vi/vi.d.ts +0 -1
@@ -23,787 +23,791 @@ import { AccessMode } from '../../modules/ObjectPermissions/_internals/enums/Acc
23
23
  import { snakeToCamel } from '../../scripts';
24
24
  import notTranslatable from './notTranslatable.en';
25
25
 
26
- export default deepmerge({
27
- // describes reusable buttons, actions, default titles, and other ui elements
28
- reusable: {
29
- comment: 'Comment',
30
- replace: 'Replace',
31
- download: 'Download',
32
- history: 'History',
33
- filter: ({ plural }) => plural(['Filter', 'Filters']),
34
- total: 'Total',
35
- ok: 'Ok',
36
- object: 'Object',
37
- save: 'Save',
38
- saveAs: 'Save as',
39
- saved: 'Saved',
40
- send: 'Send',
41
- start: 'Start',
42
- close: 'Close',
43
- add: 'Add',
44
- cancel: 'Cancel',
45
- import: 'Import',
46
- export: 'Export',
47
- true: 'True',
48
- title: 'Title',
49
- position: 'Position',
50
- delete: 'Delete',
51
- search: 'Search',
52
- open: 'Open',
53
- name: 'Name',
54
- expand: 'Expand',
55
- collapse: 'Collapse',
56
- generate: 'Generate',
57
- from: 'From',
58
- to: 'To',
59
- tts: 'Text-to-Speech',
60
- state: 'State',
61
- refresh: 'Refresh',
62
- retry: 'Retry',
63
- downloadAll: 'Download all',
64
- warning: 'Warning',
65
- doNotSave: "Don't save",
66
- required: 'Required',
67
- copy: 'Copy',
68
- new: 'New',
69
- createdAt: 'Created on',
70
- createdBy: 'Created by',
71
- modifiedAt: 'Modified on',
72
- modifiedBy: 'Modified by',
73
- general: 'General',
74
- generalInfo: 'General info',
75
- all: 'All {entity}',
76
- upload: 'Upload',
77
- edit: 'Edit',
78
- back: 'Back',
79
- step: 'Step { count }',
80
- more: 'More',
81
- read: 'Read',
82
- create: 'Create',
83
- update: 'Update',
84
- draggable: 'Draggable',
85
- unassigned: 'Unassigned',
86
- showUnassigned: 'Show unassigned',
87
- group: 'Group',
88
- dateTime: 'Date & time',
89
- updatedBy: (/*{ named }*/) => {
90
- return 'Edited';
91
- },
92
- },
93
- // yak zhe ya zaebalsya povtoriaty odni i ti sami slova!!!!
94
- vocabulary: {
95
- apply: 'Apply',
96
- language: 'Language',
97
- voice: 'Voice',
98
- format: 'Format',
99
- text: 'Text',
100
- yes: 'Yes',
101
- no: 'No',
102
- description: 'Description',
103
- login: 'Login',
104
- host: 'Host',
105
- time: 'Time',
106
- channel: 'Channel | Channels',
107
- file: 'File | Files',
108
- logout: 'Logout',
109
- priority: 'Priority | Priorities',
110
- color: 'Color',
111
- variables: 'Variable | Variables',
112
- type: 'Type',
113
- tag: 'Tag | Tags',
114
- output: 'Output | Outputs',
115
- values: 'Value | Values',
116
- keys: 'Key | Keys',
117
- duration: 'Duration',
118
- reset: 'Reset',
119
- errors: 'Error | Errors',
120
- labels: 'Label | Labels',
121
- permissions: 'Permission | Permissions',
122
- options: 'Option | Options',
123
- emails: 'Email | Emails',
124
- phones: 'Phone | Phones',
125
- messaging: 'Messaging',
126
- emptyResultSearch: 'Your search yielded no results',
127
- contact: 'Contact | Contacts',
128
- column: 'Column | Columns',
129
- notification: 'Notification | Notifications',
130
- screencast: 'Screen recordings',
131
- extension: 'Extension',
132
- password: 'Password',
133
- number: 'Number',
134
- expireAt: 'Expire at',
135
- destination: 'Destination',
136
- utilizationProgress: 'Utilization progress',
137
- },
138
- // date-related texts
139
- date: {
140
- sec: 'Sec',
141
- timezone: 'Time zone | Time zones',
142
- },
143
- // locales, related to user access, permissions, etc.
144
- access: {
145
- ObAC: 'Managed by operations',
146
- RbAC: 'Managed by records',
147
- operations: 'Operations',
148
- rbacDefault: 'Default Record based Access',
149
- accessMode: {
150
- [AccessMode.FORBIDDEN]: 'Forbidden',
151
- [AccessMode.ALLOW]: 'Allow',
152
- [AccessMode.MANAGE]: 'Allow with delegation',
153
- },
154
- },
155
- // describes Webitel system entities
156
- objects: {
157
- team: 'Team | Teams',
158
- supervisor: 'Supervisor | Supervisors',
159
- auditor: 'Auditor | Auditors',
160
- region: 'Region | Regions',
161
- skill: 'Skill | Skills',
162
- communicationType: 'Communication type | Communication types',
163
- grantee: 'Grantee | Grantees',
164
- grantor: 'Grantor | Grantors',
165
- role: 'Role | Roles',
166
- user: 'User | Users',
167
- list: 'List | Lists',
168
- contact: 'Contact | Contacts',
169
- case: 'Case | Cases',
170
- customLookup: {
171
- customLookup: 'Custom lookup | Custom lookups',
172
- },
173
- calendar: 'Calendar | Calendars',
174
- direction: 'Direction',
175
- gateway: 'Gateway | Gateways',
176
- hangupCause: 'Hangup cause',
177
- hasOption: 'Has option',
178
- hasRecording: 'Recording',
179
- amdResult: 'AMD result',
180
- ratedBy: 'Rated by',
181
- talkDuration: 'Talk duration',
182
- totalDuration: 'Total duration',
183
- transcription: 'Transcription',
184
- attachment: 'Attachment | Attachments',
185
- owner: 'Owner | Owners',
186
- customization: {
187
- customization: 'Customization | Customizations',
188
- },
189
- chatGateway: 'Chat gateway | Chat gateways',
190
- chat: {
191
- chat: 'Chat | Chats',
192
- draftPlaceholder: 'Write a message...',
193
- },
194
- queue: {
195
- queue: 'Queue | Queues',
196
- queueType: 'Queue type | Queue types',
197
- type: {
198
- [QueueType.INBOUND_QUEUE]: 'Inbound queue',
199
- [QueueType.OFFLINE_QUEUE]: 'Offline queue',
200
- [QueueType.OUTBOUND_IVR_QUEUE]: 'Outbound IVR queue',
201
- [QueueType.PREDICTIVE_DIALER]: 'Predictive dialer',
202
- [QueueType.PROGRESSIVE_DIALER]: 'Progressive dialer',
203
- [QueueType.PREVIEW_DIALER]: 'Preview dialer',
204
- [QueueType.CHAT_INBOUND_QUEUE]: 'Chat queue',
205
- [QueueType.INBOUND_JOB_QUEUE]: 'Inbound task queue',
206
- [QueueType.OUTBOUND_JOB_QUEUE]: 'Outbound task queue',
26
+ export default deepmerge(
27
+ {
28
+ // describes reusable buttons, actions, default titles, and other ui elements
29
+ reusable: {
30
+ comment: 'Comment',
31
+ replace: 'Replace',
32
+ download: 'Download',
33
+ history: 'History',
34
+ filter: ({ plural }) => plural(['Filter', 'Filters']),
35
+ total: 'Total',
36
+ ok: 'Ok',
37
+ object: 'Object',
38
+ save: 'Save',
39
+ saveAs: 'Save as',
40
+ saved: 'Saved',
41
+ send: 'Send',
42
+ start: 'Start',
43
+ close: 'Close',
44
+ add: 'Add',
45
+ cancel: 'Cancel',
46
+ import: 'Import',
47
+ export: 'Export',
48
+ true: 'True',
49
+ title: 'Title',
50
+ position: 'Position',
51
+ delete: 'Delete',
52
+ search: 'Search',
53
+ open: 'Open',
54
+ name: 'Name',
55
+ expand: 'Expand',
56
+ collapse: 'Collapse',
57
+ generate: 'Generate',
58
+ from: 'From',
59
+ to: 'To',
60
+ tts: 'Text-to-Speech',
61
+ state: 'State',
62
+ refresh: 'Refresh',
63
+ retry: 'Retry',
64
+ downloadAll: 'Download all',
65
+ warning: 'Warning',
66
+ doNotSave: "Don't save",
67
+ required: 'Required',
68
+ copy: 'Copy',
69
+ new: 'New',
70
+ createdAt: 'Created on',
71
+ createdBy: 'Created by',
72
+ modifiedAt: 'Modified on',
73
+ modifiedBy: 'Modified by',
74
+ general: 'General',
75
+ generalInfo: 'General info',
76
+ all: 'All {entity}',
77
+ upload: 'Upload',
78
+ edit: 'Edit',
79
+ back: 'Back',
80
+ step: 'Step { count }',
81
+ more: 'More',
82
+ read: 'Read',
83
+ create: 'Create',
84
+ update: 'Update',
85
+ draggable: 'Draggable',
86
+ unassigned: 'Unassigned',
87
+ showUnassigned: 'Show unassigned',
88
+ group: 'Group',
89
+ dateTime: 'Date & time',
90
+ updatedBy: (/*{ named }*/) => {
91
+ return 'Edited';
92
+ },
93
+ },
94
+ // yak zhe ya zaebalsya povtoriaty odni i ti sami slova!!!!
95
+ vocabulary: {
96
+ apply: 'Apply',
97
+ language: 'Language',
98
+ voice: 'Voice',
99
+ format: 'Format',
100
+ text: 'Text',
101
+ yes: 'Yes',
102
+ no: 'No',
103
+ description: 'Description',
104
+ login: 'Login',
105
+ host: 'Host',
106
+ time: 'Time',
107
+ channel: 'Channel | Channels',
108
+ file: 'File | Files',
109
+ logout: 'Logout',
110
+ priority: 'Priority | Priorities',
111
+ color: 'Color',
112
+ variables: 'Variable | Variables',
113
+ type: 'Type',
114
+ tag: 'Tag | Tags',
115
+ output: 'Output | Outputs',
116
+ values: 'Value | Values',
117
+ keys: 'Key | Keys',
118
+ duration: 'Duration',
119
+ reset: 'Reset',
120
+ errors: 'Error | Errors',
121
+ labels: 'Label | Labels',
122
+ permissions: 'Permission | Permissions',
123
+ options: 'Option | Options',
124
+ emails: 'Email | Emails',
125
+ phones: 'Phone | Phones',
126
+ messaging: 'Messaging',
127
+ emptyResultSearch: 'Your search yielded no results',
128
+ contact: 'Contact | Contacts',
129
+ column: 'Column | Columns',
130
+ notification: 'Notification | Notifications',
131
+ screencast: 'Screen recordings',
132
+ password: 'Password',
133
+ number: 'Number',
134
+ expireAt: 'Expire at',
135
+ destination: 'Destination',
136
+ utilizationProgress: 'Utilization progress',
137
+ },
138
+ // date-related texts
139
+ date: {
140
+ sec: 'Sec',
141
+ timezone: 'Time zone | Time zones',
142
+ },
143
+ // locales, related to user access, permissions, etc.
144
+ access: {
145
+ ObAC: 'Managed by operations',
146
+ RbAC: 'Managed by records',
147
+ operations: 'Operations',
148
+ rbacDefault: 'Default Record based Access',
149
+ accessMode: {
150
+ [AccessMode.FORBIDDEN]: 'Forbidden',
151
+ [AccessMode.ALLOW]: 'Allow',
152
+ [AccessMode.MANAGE]: 'Allow with delegation',
153
+ },
154
+ },
155
+ // describes Webitel system entities
156
+ objects: {
157
+ team: 'Team | Teams',
158
+ supervisor: 'Supervisor | Supervisors',
159
+ auditor: 'Auditor | Auditors',
160
+ region: 'Region | Regions',
161
+ skill: 'Skill | Skills',
162
+ communicationType: 'Communication type | Communication types',
163
+ grantee: 'Grantee | Grantees',
164
+ grantor: 'Grantor | Grantors',
165
+ role: 'Role | Roles',
166
+ user: 'User | Users',
167
+ list: 'List | Lists',
168
+ contact: 'Contact | Contacts',
169
+ case: 'Case | Cases',
170
+ customLookup: {
171
+ customLookup: 'Custom lookup | Custom lookups',
172
+ },
173
+ calendar: 'Calendar | Calendars',
174
+ direction: 'Direction',
175
+ gateway: 'Gateway | Gateways',
176
+ hangupCause: 'Hangup cause',
177
+ hasOption: 'Has option',
178
+ hasRecording: 'Recording',
179
+ amdResult: 'AMD result',
180
+ ratedBy: 'Rated by',
181
+ talkDuration: 'Talk duration',
182
+ totalDuration: 'Total duration',
183
+ transcription: 'Transcription',
184
+ attachment: 'Attachment | Attachments',
185
+ owner: 'Owner | Owners',
186
+ customization: {
187
+ customization: 'Customization | Customizations',
188
+ },
189
+ chatGateway: 'Chat gateway | Chat gateways',
190
+ chat: {
191
+ chat: 'Chat | Chats',
192
+ draftPlaceholder: 'Write a message...',
193
+ },
194
+ queue: {
195
+ queue: 'Queue | Queues',
196
+ queueType: 'Queue type | Queue types',
197
+ type: {
198
+ [QueueType.INBOUND_QUEUE]: 'Inbound queue',
199
+ [QueueType.OFFLINE_QUEUE]: 'Offline queue',
200
+ [QueueType.OUTBOUND_IVR_QUEUE]: 'Outbound IVR queue',
201
+ [QueueType.PREDICTIVE_DIALER]: 'Predictive dialer',
202
+ [QueueType.PROGRESSIVE_DIALER]: 'Progressive dialer',
203
+ [QueueType.PREVIEW_DIALER]: 'Preview dialer',
204
+ [QueueType.CHAT_INBOUND_QUEUE]: 'Chat queue',
205
+ [QueueType.INBOUND_JOB_QUEUE]: 'Inbound task queue',
206
+ [QueueType.OUTBOUND_JOB_QUEUE]: 'Outbound task queue',
207
+ },
207
208
  },
208
- },
209
- agent: {
210
- agent: 'Agent | Agents',
211
- status: {
212
- [AgentStatus.Online]: 'Online',
213
- [AgentStatus.Pause]: 'Pause',
214
- [AgentStatus.Offline]: 'Offline',
215
- [snakeToCamel(AgentStatus.BreakOut)]: 'Break out',
209
+ agent: {
210
+ agent: 'Agent | Agents',
211
+ status: {
212
+ [AgentStatus.Online]: 'Online',
213
+ [AgentStatus.Pause]: 'Pause',
214
+ [AgentStatus.Offline]: 'Offline',
215
+ [snakeToCamel(AgentStatus.BreakOut)]: 'Break out',
216
+ },
217
+ },
218
+ flow: {
219
+ name: 'Flow schema | Flow schemas',
220
+ type: {
221
+ [EngineRoutingSchemaType.Chat]: 'Chat',
222
+ [EngineRoutingSchemaType.Voice]: 'Voice',
223
+ [EngineRoutingSchemaType.Service]: 'Service',
224
+ [EngineRoutingSchemaType.Processing]: 'Forms',
225
+ },
226
+ },
227
+ messengers: {
228
+ [ChatGatewayProvider.TELEGRAM_BOT]: 'Telegram Bot',
229
+ [ChatGatewayProvider.TELEGRAM_APP]: 'Telegram App',
230
+ [ChatGatewayProvider.MESSENGER]: 'Meta',
231
+ [ChatGatewayProvider.VIBER]: 'Viber',
232
+ [ChatGatewayProvider.WEBCHAT]: 'Web chat',
233
+ [ChatGatewayProvider.INFOBIP]: 'Infobip',
234
+ [ChatGatewayProvider.CUSTOM]: 'Custom Chat Gateway',
235
+ },
236
+ quickReplies: {
237
+ quickReplies: 'Quick reply | Quick replies',
238
+ quickRepliesEmpty: 'There are no quick replies yet',
239
+ },
240
+ screenRecordings: 'Screen recording | Screen recordings',
241
+ screenshots: 'Screenshot | Screenshots',
242
+ },
243
+ channel: {
244
+ state: {
245
+ [ChannelState.Waiting]: 'Waiting',
246
+ [ChannelState.Distribute]: 'Distribute',
247
+ [ChannelState.Offering]: 'Offering',
248
+ [ChannelState.Answered]: 'Answered',
249
+ [ChannelState.Active]: 'Active',
250
+ [ChannelState.Bridged]: 'Bridged',
251
+ [ChannelState.Hold]: 'Hold',
252
+ [ChannelState.Missed]: 'Missed',
253
+ [snakeToCamel(ChannelState.WrapTime)]: 'Wrap time',
254
+ [ChannelState.Processing]: 'Processing',
255
+ [ChannelState.Transfer]: 'Transfer',
216
256
  },
217
- },
218
- flow: {
219
- name: 'Flow schema | Flow schemas',
220
257
  type: {
221
- [EngineRoutingSchemaType.Chat]: 'Chat',
222
- [EngineRoutingSchemaType.Voice]: 'Voice',
223
- [EngineRoutingSchemaType.Service]: 'Service',
224
- [EngineRoutingSchemaType.Processing]: 'Forms',
258
+ [ChannelType.Call]: 'Call',
259
+ [ChannelType.Email]: 'Email',
260
+ [ChannelType.Chat]: 'Chat',
261
+ [ChannelType.Job]: 'Task',
262
+ },
263
+ },
264
+ calls: {
265
+ direction: {
266
+ [CallDirection.Inbound]: 'Inbound',
267
+ [CallDirection.Outbound]: 'Outbound',
268
+ },
269
+ },
270
+ cases: {
271
+ status: 'Status',
272
+ source: 'Source',
273
+ author: 'Author',
274
+ reporter: 'Reporter',
275
+ impacted: 'Impacted',
276
+ assignee: 'Assignee',
277
+ groupPerformers: 'Group',
278
+ reason: 'Reason | Reasons',
279
+ rating: 'Rating',
280
+ service: 'Service | Services',
281
+ selectAService: 'Select a service',
282
+ appliedSLA: 'Applied SLA',
283
+ appliedCondition: 'Applied condition',
284
+ reactionTime: 'Reaction time',
285
+ resolutionTime: 'Resolution time',
286
+ actualReactionTime: 'Actual reaction time',
287
+ actualResolutionTime: 'Actual resolution time',
288
+ },
289
+ // describes Webitel FRONTEND applications + their navs
290
+ WebitelApplications: {
291
+ overrideApplicationsAccess: {
292
+ [WebitelApplications.CRM]: {
293
+ sections: {
294
+ [CrmSectionsNew.CasesExtensions]: ({ linked }) =>
295
+ linked('objects.customization.customization') +
296
+ ': ' +
297
+ linked('objects.case'),
298
+ [CrmSectionsNew.ContactsExtensions]: ({ linked }) =>
299
+ linked('objects.customization.customization') +
300
+ ': ' +
301
+ linked('objects.contact'),
302
+ [CrmSectionsNew.CustomLookups]: ({ linked }) =>
303
+ linked('objects.customization.customization') +
304
+ ': Custom lookups', // dont use linked: objects.customLookup.customLookup, coz "linked" doesnt support pluralization
305
+ },
306
+ },
307
+ },
308
+ [WebitelApplications.AGENT]: { name: 'Agent Workspace' },
309
+ [WebitelApplications.AUDIT]: {
310
+ name: 'Audit',
311
+ sections: {
312
+ [AuditorSections.Scorecards]: 'Scorecards',
313
+ },
225
314
  },
226
- },
227
- messengers: {
228
- [ChatGatewayProvider.TELEGRAM_BOT]: 'Telegram Bot',
229
- [ChatGatewayProvider.TELEGRAM_APP]: 'Telegram App',
230
- [ChatGatewayProvider.MESSENGER]: 'Meta',
231
- [ChatGatewayProvider.VIBER]: 'Viber',
232
- [ChatGatewayProvider.WEBCHAT]: 'Web chat',
233
- [ChatGatewayProvider.INFOBIP]: 'Infobip',
234
- [ChatGatewayProvider.CUSTOM]: 'Custom Chat Gateway',
235
- },
236
- quickReplies: {
237
- quickReplies: 'Quick reply | Quick replies',
238
- quickRepliesEmpty: 'There are no quick replies yet',
239
- },
240
- screenRecordings: 'Screen recording | Screen recordings',
241
- screenshots: 'Screenshot | Screenshots',
242
- },
243
- channel: {
244
- state: {
245
- [ChannelState.Waiting]: 'Waiting',
246
- [ChannelState.Distribute]: 'Distribute',
247
- [ChannelState.Offering]: 'Offering',
248
- [ChannelState.Answered]: 'Answered',
249
- [ChannelState.Active]: 'Active',
250
- [ChannelState.Bridged]: 'Bridged',
251
- [ChannelState.Hold]: 'Hold',
252
- [ChannelState.Missed]: 'Missed',
253
- [snakeToCamel(ChannelState.WrapTime)]: 'Wrap time',
254
- [ChannelState.Processing]: 'Processing',
255
- [ChannelState.Transfer]: 'Transfer',
256
- },
257
- type: {
258
- [ChannelType.Call]: 'Call',
259
- [ChannelType.Email]: 'Email',
260
- [ChannelType.Chat]: 'Chat',
261
- [ChannelType.Job]: 'Task',
262
- },
263
- },
264
- calls: {
265
- direction: {
266
- [CallDirection.Inbound]: 'Inbound',
267
- [CallDirection.Outbound]: 'Outbound',
268
- },
269
- },
270
- cases: {
271
- status: 'Status',
272
- source: 'Source',
273
- author: 'Author',
274
- reporter: 'Reporter',
275
- impacted: 'Impacted',
276
- assignee: 'Assignee',
277
- groupPerformers: 'Group',
278
- reason: 'Reason | Reasons',
279
- rating: 'Rating',
280
- service: 'Service | Services',
281
- selectAService: 'Select a service',
282
- appliedSLA: 'Applied SLA',
283
- appliedCondition: 'Applied condition',
284
- reactionTime: 'Reaction time',
285
- resolutionTime: 'Resolution time',
286
- actualReactionTime: 'Actual reaction time',
287
- actualResolutionTime: 'Actual resolution time',
288
- },
289
- // describes Webitel FRONTEND applications + their navs
290
- WebitelApplications: {
291
- overrideApplicationsAccess: {
292
315
  [WebitelApplications.CRM]: {
316
+ name: 'CRM',
293
317
  sections: {
294
- [CrmSectionsNew.CasesExtensions]: ({ linked }) =>
295
- linked('objects.customization.customization') +
296
- ': ' +
297
- linked('objects.case'),
298
- [CrmSectionsNew.ContactsExtensions]: ({ linked }) =>
299
- linked('objects.customization.customization') +
300
- ': ' +
301
- linked('objects.contact'),
302
- [CrmSectionsNew.CustomLookups]: ({ linked }) =>
303
- linked('objects.customization.customization') +
304
- ': Custom lookups', // dont use linked: objects.customLookup.customLookup, coz "linked" doesnt support pluralization
318
+ [CrmSections.Contacts]: 'Contacts',
319
+ [CrmSections.Cases]: 'Cases',
320
+ [CrmSections.Priorities]: 'Priorities',
321
+ [CrmSections.CloseReasonGroups]: 'Closure reasons',
322
+ [CrmSections.Statuses]: 'Statuses',
323
+ [CrmSections.Slas]: 'SLA',
324
+ [CrmSections.ServiceCatalogs]: 'Service catalogs',
325
+ [CrmSections.Sources]: 'Case sources',
326
+ [CrmSections.ContactGroups]: 'Contact groups',
305
327
  },
306
328
  },
307
- },
308
- [WebitelApplications.AGENT]: { name: 'Agent Workspace' },
309
- [WebitelApplications.AUDIT]: {
310
- name: 'Audit',
311
- sections: {
312
- [AuditorSections.Scorecards]: 'Scorecards',
329
+ [WebitelApplications.HISTORY]: { name: 'Call History' },
330
+ [WebitelApplications.ANALYTICS]: { name: 'Data Visualisation Tool' },
331
+ [WebitelApplications.SUPERVISOR]: {
332
+ name: 'Supervisor Workspace',
333
+ sections: {
334
+ [SupervisorSections.Queues]: 'Queues',
335
+ [SupervisorSections.Agents]: 'Agents',
336
+ [SupervisorSections.ActiveCalls]: 'Active calls',
337
+ },
313
338
  },
314
- },
315
- [WebitelApplications.CRM]: {
316
- name: 'CRM',
317
- sections: {
318
- [CrmSections.Contacts]: 'Contacts',
319
- [CrmSections.Cases]: 'Cases',
320
- [CrmSections.Priorities]: 'Priorities',
321
- [CrmSections.CloseReasonGroups]: 'Closure reasons',
322
- [CrmSections.Statuses]: 'Statuses',
323
- [CrmSections.Slas]: 'SLA',
324
- [CrmSections.ServiceCatalogs]: 'Service catalogs',
325
- [CrmSections.Sources]: 'Case sources',
326
- [CrmSections.ContactGroups]: 'Contact groups',
339
+ [WebitelApplications.ADMIN]: {
340
+ name: 'Admin',
341
+ sections: {
342
+ [AdminSections.Users]: 'Users',
343
+ [AdminSections.License]: 'Licenses',
344
+ [AdminSections.Devices]: 'Devices',
345
+ [AdminSections.Flow]: 'Flow schemas',
346
+ [AdminSections.Dialplan]: 'Dialplans',
347
+ [AdminSections.Gateways]: 'Gateways',
348
+ [AdminSections.Chatplan]: 'Chatplans',
349
+ [AdminSections.ChatGateways]: 'Chat gateways',
350
+ [AdminSections.Skills]: 'Agent skills',
351
+ [AdminSections.Buckets]: 'Buckets',
352
+ [AdminSections.Media]: 'Media files',
353
+ [AdminSections.ShiftTemplates]: 'Shift templates',
354
+ [AdminSections.PauseTemplates]: 'Pause templates',
355
+ [AdminSections.WorkingConditions]: 'Working conditions',
356
+ [AdminSections.Blacklist]: 'Lists',
357
+ [AdminSections.Calendars]: 'Calendars',
358
+ [AdminSections.Regions]: 'Locations',
359
+ [AdminSections.Communications]: 'Communication types',
360
+ [AdminSections.PauseCause]: 'Agent statuses',
361
+ [AdminSections.Agents]: 'Agents',
362
+ [AdminSections.Teams]: 'Teams',
363
+ [AdminSections.Resources]: 'Resources',
364
+ [AdminSections.ResourceGroups]: 'Resource groups',
365
+ [AdminSections.Queues]: 'Queues',
366
+ [AdminSections.Storage]: 'Storage',
367
+ [AdminSections.StoragePolicies]: 'Storage policies',
368
+ [AdminSections.CognitiveProfiles]: 'Cognitive profiles',
369
+ [AdminSections.EmailProfiles]: 'Email profiles',
370
+ [AdminSections.SingleSignOn]: 'Single Sign-on',
371
+ [AdminSections.ImportCsv]: 'Imports of CSV from file',
372
+ [AdminSections.Triggers]: 'Triggers',
373
+ [AdminSections.Media]: 'Media files',
374
+ [AdminSections.Roles]: 'Roles',
375
+ [AdminSections.Objects]: 'Objects',
376
+ [AdminSections.Changelogs]: 'Change log',
377
+ [AdminSections.Configuration]: 'Configuration',
378
+ [AdminSections.GlobalVariables]: 'Global variables',
379
+ [AdminSections.QuickReplies]: 'Quick replies',
380
+ },
327
381
  },
328
- },
329
- [WebitelApplications.HISTORY]: { name: 'Call History' },
330
- [WebitelApplications.ANALYTICS]: { name: 'Data Visualisation Tool' },
331
- [WebitelApplications.SUPERVISOR]: {
332
- name: 'Supervisor Workspace',
333
- sections: {
334
- [SupervisorSections.Queues]: 'Queues',
335
- [SupervisorSections.Agents]: 'Agents',
336
- [SupervisorSections.ActiveCalls]: 'Active calls',
382
+ [WebitelApplications.WFM]: { name: 'WFM' },
383
+ },
384
+ validation: {
385
+ required: 'Field is required',
386
+ numeric: 'Should be numeric',
387
+ email: 'Should look like email',
388
+ gatewayHostValidator: 'Should look like IPv4 or FQDN',
389
+ sipAccountValidator: 'Should look like SIP account',
390
+ ipValidator: 'Should look like IPv4',
391
+ macValidator: 'Should look like MAC',
392
+ sameAs: 'Incorrect password',
393
+ requiredArrayValue: 'Array should not be empty',
394
+ minValue: ({ named }) => {
395
+ let text = 'Value should be not less than';
396
+ if (named('min')) {
397
+ text += ` ${named('min')}`;
398
+ }
399
+
400
+ return text;
337
401
  },
338
- },
339
- [WebitelApplications.ADMIN]: {
340
- name: 'Admin',
341
- sections: {
342
- [AdminSections.Users]: 'Users',
343
- [AdminSections.License]: 'Licenses',
344
- [AdminSections.Devices]: 'Devices',
345
- [AdminSections.Flow]: 'Flow schemas',
346
- [AdminSections.Dialplan]: 'Dialplans',
347
- [AdminSections.Gateways]: 'Gateways',
348
- [AdminSections.Chatplan]: 'Chatplans',
349
- [AdminSections.ChatGateways]: 'Chat gateways',
350
- [AdminSections.Skills]: 'Agent skills',
351
- [AdminSections.Buckets]: 'Buckets',
352
- [AdminSections.Media]: 'Media files',
353
- [AdminSections.ShiftTemplates]: 'Shift templates',
354
- [AdminSections.PauseTemplates]: 'Pause templates',
355
- [AdminSections.WorkingConditions]: 'Working conditions',
356
- [AdminSections.Blacklist]: 'Lists',
357
- [AdminSections.Calendars]: 'Calendars',
358
- [AdminSections.Regions]: 'Locations',
359
- [AdminSections.Communications]: 'Communication types',
360
- [AdminSections.PauseCause]: 'Agent statuses',
361
- [AdminSections.Agents]: 'Agents',
362
- [AdminSections.Teams]: 'Teams',
363
- [AdminSections.Resources]: 'Resources',
364
- [AdminSections.ResourceGroups]: 'Resource groups',
365
- [AdminSections.Queues]: 'Queues',
366
- [AdminSections.Storage]: 'Storage',
367
- [AdminSections.StoragePolicies]: 'Storage policies',
368
- [AdminSections.CognitiveProfiles]: 'Cognitive profiles',
369
- [AdminSections.EmailProfiles]: 'Email profiles',
370
- [AdminSections.SingleSignOn]: 'Single Sign-on',
371
- [AdminSections.ImportCsv]: 'Imports of CSV from file',
372
- [AdminSections.Triggers]: 'Triggers',
373
- [AdminSections.Media]: 'Media files',
374
- [AdminSections.Roles]: 'Roles',
375
- [AdminSections.Objects]: 'Objects',
376
- [AdminSections.Changelogs]: 'Change log',
377
- [AdminSections.Configuration]: 'Configuration',
378
- [AdminSections.GlobalVariables]: 'Global variables',
379
- [AdminSections.QuickReplies]: 'Quick replies',
402
+ maxValue: ({ named }) => {
403
+ let text = 'Value should be not greater than';
404
+ if (named('max')) {
405
+ text += ` ${named('max')}`;
406
+ }
407
+ return text;
380
408
  },
381
- },
382
- [WebitelApplications.WFM]: { name: 'WFM' },
383
- },
384
- validation: {
385
- required: 'Field is required',
386
- numeric: 'Should be numeric',
387
- email: 'Should look like email',
388
- gatewayHostValidator: 'Should look like IPv4 or FQDN',
389
- sipAccountValidator: 'Should look like SIP account',
390
- ipValidator: 'Should look like IPv4',
391
- macValidator: 'Should look like MAC',
392
- sameAs: 'Incorrect password',
393
- requiredArrayValue: 'Array should not be empty',
394
- minValue: ({ named }) => {
395
- let text = 'Value should be not less than';
396
- if (named('min')) {
397
- text += ` ${named('min')}`;
398
- }
399
409
 
400
- return text;
401
- },
402
- maxValue: ({ named }) => {
403
- let text = 'Value should be not greater than';
404
- if (named('max')) {
405
- text += ` ${named('max')}`;
406
- }
407
- return text;
408
- },
409
-
410
- minLength: ({ named }) => {
411
- let text = 'The length should not be less than';
412
- if (named('min')) {
413
- text += ` ${named('min')}`;
414
- }
410
+ minLength: ({ named }) => {
411
+ let text = 'The length should not be less than';
412
+ if (named('min')) {
413
+ text += ` ${named('min')}`;
414
+ }
415
415
 
416
- return text;
417
- },
418
- maxLength: ({ named }) => {
419
- let text = 'The length should not be greater than';
420
- if (named('max')) {
421
- text += ` ${named('max')}`;
422
- }
416
+ return text;
417
+ },
418
+ maxLength: ({ named }) => {
419
+ let text = 'The length should not be greater than';
420
+ if (named('max')) {
421
+ text += ` ${named('max')}`;
422
+ }
423
423
 
424
- return text;
425
- },
426
- url: 'Should look like URL',
427
- websocketValidator: 'Should look like WebSocket url',
428
- isRegExpMatched: 'Password must match the regular expression:',
429
- regExpValidator: 'This regular expression is not valid',
430
- domainValidator: 'Incorrect domain',
431
- decimalValidator:
432
- 'Decimal precision should be no more than { count } places',
433
- latinWithNumber:
434
- 'The code must contain only letters (A-Z, a-z) and numbers (0-9), and must start with a letter',
435
- integer: 'The field should contain only whole numbers',
436
- nameAlreadyInUse: 'This name is already in use',
437
- },
438
- webitelUI: {
439
- searchBar: {
440
- placeholder: 'Search',
441
- settingsHint: 'Search mode',
442
- variableSearchHint: 'Query format: "key=value"',
443
- },
444
- timepicker: {
445
- day: 'Day:',
446
- hour: 'Hour:',
447
- min: 'Min:',
448
- sec: 'Sec:',
449
- },
450
- datetimepicker: {
451
- lastHour: 'Last hour',
452
- lastDay: 'Last day',
453
- },
454
- pagination: {
455
- sizeText: 'Rows per page:',
456
- prev: 'Previous',
457
- next: 'Next',
458
- },
459
- appNavigator: {
460
- title: 'Webitel applications',
461
- admin: 'Admin',
462
- agent: 'Agent',
463
- supervisor: 'Supervisor',
464
- audit: 'Audit',
465
- history: 'History',
466
- grafana: 'Grafana',
467
- crm: 'CRM',
468
- },
469
- headerActions: {
470
- account: 'Account',
471
- docs: 'Docs',
472
- settings: 'Settings',
473
- logout: 'Logout',
474
- buildVersion: 'Build version',
475
- },
476
- tableActions: {
477
- filterReset: 'Reset filters',
478
- columnSelect: 'Select columns',
479
- refreshTable: 'Refresh table',
480
- expandFilters: 'Expand filters',
481
- },
482
- tableColumnSelect: {
483
- title: 'Select visible columns',
484
- },
485
- statusSelect: {
486
- online: 'Online',
487
- pause: 'Pause',
488
- offline: 'Offline',
489
- breakOut: 'Break Out',
490
- },
491
- iconAction: {
492
- hints: {
493
- [IconAction.DELETE]: ({ linked }) => linked('reusable.delete'),
494
- [IconAction.EDIT]: ({ linked }) => linked('reusable.edit'),
495
- [IconAction.ADD]: ({ linked }) => linked('reusable.add'),
496
- [IconAction.HISTORY]: ({ linked }) => linked('reusable.history'),
497
- [IconAction.DOWNLOAD]: ({ linked }) => linked('reusable.download'),
498
- [IconAction.DOWNLOAD_PDF]: 'Download PDF',
499
- [IconAction.FILTERS]: ({ linked }) => linked('reusable.filter'),
500
- [IconAction.COLUMNS]: 'Select columns',
501
- [IconAction.VARIABLES]: 'Select variables columns',
502
- [IconAction.REFRESH]: ({ linked }) => linked('reusable.refresh'),
503
- [IconAction.EXPAND]: ({ linked }) => linked('reusable.expand'),
504
- [IconAction.COLLAPSE]: ({ linked }) => linked('reusable.collapse'),
505
- [IconAction.CLOSE]: ({ linked }) => linked('reusable.close'),
506
- [IconAction.CLEAR]: ({ linked }) =>
507
- linked('webitelUI.tableActions.filterReset'),
508
- [IconAction.ADD_FILTER]: ({ linked }) => linked('reusable.add'),
509
- [IconAction.SAVE]: ({ linked }) => linked('reusable.save'),
510
- [IconAction.CANCEL]: ({ linked }) => linked('reusable.cancel'),
511
- [IconAction.SAVE_PRESET]: ({ linked }) => {
512
- return `${linked('reusable.save')} ${linked(
513
- 'webitelUI.filters.presets.preset',
514
- ).toLowerCase()}`;
424
+ return text;
425
+ },
426
+ url: 'Should look like URL',
427
+ websocketValidator: 'Should look like WebSocket url',
428
+ isRegExpMatched: 'Password must match the regular expression:',
429
+ regExpValidator: 'This regular expression is not valid',
430
+ domainValidator: 'Incorrect domain',
431
+ decimalValidator:
432
+ 'Decimal precision should be no more than { count } places',
433
+ latinWithNumber:
434
+ 'The code must contain only letters (A-Z, a-z) and numbers (0-9), and must start with a letter',
435
+ integer: 'The field should contain only whole numbers',
436
+ nameAlreadyInUse: 'This name is already in use',
437
+ },
438
+ webitelUI: {
439
+ searchBar: {
440
+ placeholder: 'Search',
441
+ settingsHint: 'Search mode',
442
+ variableSearchHint: 'Query format: "key=value"',
443
+ },
444
+ timepicker: {
445
+ day: 'Day:',
446
+ hour: 'Hour:',
447
+ min: 'Min:',
448
+ sec: 'Sec:',
449
+ },
450
+ datetimepicker: {
451
+ lastHour: 'Last hour',
452
+ lastDay: 'Last day',
453
+ },
454
+ pagination: {
455
+ sizeText: 'Rows per page:',
456
+ prev: 'Previous',
457
+ next: 'Next',
458
+ },
459
+ appNavigator: {
460
+ title: 'Webitel applications',
461
+ admin: 'Admin',
462
+ agent: 'Agent',
463
+ supervisor: 'Supervisor',
464
+ audit: 'Audit',
465
+ history: 'History',
466
+ grafana: 'Grafana',
467
+ crm: 'CRM',
468
+ },
469
+ headerActions: {
470
+ account: 'Account',
471
+ docs: 'Docs',
472
+ settings: 'Settings',
473
+ logout: 'Logout',
474
+ buildVersion: 'Build version',
475
+ },
476
+ tableActions: {
477
+ filterReset: 'Reset filters',
478
+ columnSelect: 'Select columns',
479
+ refreshTable: 'Refresh table',
480
+ expandFilters: 'Expand filters',
481
+ },
482
+ tableColumnSelect: {
483
+ title: 'Select visible columns',
484
+ },
485
+ statusSelect: {
486
+ online: 'Online',
487
+ pause: 'Pause',
488
+ offline: 'Offline',
489
+ breakOut: 'Break Out',
490
+ },
491
+ iconAction: {
492
+ hints: {
493
+ [IconAction.DELETE]: ({ linked }) => linked('reusable.delete'),
494
+ [IconAction.EDIT]: ({ linked }) => linked('reusable.edit'),
495
+ [IconAction.ADD]: ({ linked }) => linked('reusable.add'),
496
+ [IconAction.HISTORY]: ({ linked }) => linked('reusable.history'),
497
+ [IconAction.DOWNLOAD]: ({ linked }) => linked('reusable.download'),
498
+ [IconAction.DOWNLOAD_PDF]: 'Download PDF',
499
+ [IconAction.FILTERS]: ({ linked }) => linked('reusable.filter'),
500
+ [IconAction.COLUMNS]: 'Select columns',
501
+ [IconAction.VARIABLES]: 'Select variables columns',
502
+ [IconAction.REFRESH]: ({ linked }) => linked('reusable.refresh'),
503
+ [IconAction.EXPAND]: ({ linked }) => linked('reusable.expand'),
504
+ [IconAction.COLLAPSE]: ({ linked }) => linked('reusable.collapse'),
505
+ [IconAction.CLOSE]: ({ linked }) => linked('reusable.close'),
506
+ [IconAction.CLEAR]: ({ linked }) =>
507
+ linked('webitelUI.tableActions.filterReset'),
508
+ [IconAction.ADD_FILTER]: ({ linked }) => linked('reusable.add'),
509
+ [IconAction.SAVE]: ({ linked }) => linked('reusable.save'),
510
+ [IconAction.CANCEL]: ({ linked }) => linked('reusable.cancel'),
511
+ [IconAction.SAVE_PRESET]: ({ linked }) => {
512
+ return `${linked('reusable.save')} ${linked(
513
+ 'webitelUI.filters.presets.preset',
514
+ ).toLowerCase()}`;
515
+ },
516
+ [IconAction.APPLY_PRESET]: ({ linked }) => {
517
+ return `${linked('vocabulary.apply')} ${linked(
518
+ 'webitelUI.filters.presets.preset',
519
+ ).toLowerCase()}`;
520
+ },
521
+ [IconAction.ADD_CONTACT]: ({ linked }) => {
522
+ return `${linked('reusable.add')} contacts`;
523
+ },
524
+ [IconAction.CHAT]: ({ linked }) => linked('objects.chat.chat'),
515
525
  },
516
- [IconAction.APPLY_PRESET]: ({ linked }) => {
517
- return `${linked('vocabulary.apply')} ${linked(
518
- 'webitelUI.filters.presets.preset',
519
- ).toLowerCase()}`;
526
+ },
527
+ errorPages: {
528
+ goBack: 'Go back',
529
+ page403: {
530
+ title: 'Access denied',
531
+ text: 'Sorry, you have not enough privileges to see this page.',
520
532
  },
521
- [IconAction.ADD_CONTACT]: ({ linked }) => {
522
- return `${linked('reusable.add')} contacts`;
533
+ page404: {
534
+ title: "Looks like you're lost",
535
+ text: "Sorry, we can't find the page you want.",
523
536
  },
524
- [IconAction.CHAT]: ({linked}) => linked('objects.chat.chat')
525
- },
526
- },
527
- errorPages: {
528
- goBack: 'Go back',
529
- page403: {
530
- title: 'Access denied',
531
- text: 'Sorry, you have not enough privileges to see this page.',
532
- },
533
- page404: {
534
- title: "Looks like you're lost",
535
- text: "Sorry, we can't find the page you want.",
536
- },
537
- },
538
- copyAction: {
539
- copy: 'Copy',
540
- copied: 'Copied to clipboard!',
541
- },
542
- auditForm: {
543
- question: 'Criteria',
544
- option: 'Option | Options',
545
- score: 'Score | Scores',
546
- addQuestion: 'Add criteria',
547
- answerType: 'Answer type',
548
- type: {
549
- options: 'Options',
550
- score: 'Score',
551
- },
552
- clearSelection: 'Clear selection',
553
- },
554
- deleteConfirmationPopup: {
555
- title: 'Confirm deletion',
556
- askingAlert:
557
- 'Are you sure you want to delete {subject}? This action cannot be undone.',
558
- tableAskingAlert:
559
- 'Are you sure you want\n to delete {count} record? | Are you sure you want\n to delete {count} records?',
560
- deleteAll: 'ALL',
561
- },
562
- dummy: {
563
- text: 'There are no records yet',
564
- },
565
- empty: {
566
- text: {
567
- empty: 'There are no records yet',
568
- filters: 'Unfortunately, no records match your criteria',
569
- },
570
- },
571
- agentStatusSelect: {
572
- pauseCausePopup: {
573
- title: 'Select a pause cause',
574
- min: 'Min',
575
- unlimited: 'Unlimited',
576
- },
577
- statusSelectErrorPopup: {
578
- title: 'Attention',
579
- message:
580
- 'The limit for agents to take a pause has been exceeded. The pause is unavailable right now.',
581
- },
582
- },
583
- pdfGeneration: {
584
- generationStarted: 'Your PDF file is being created…'
585
- },
586
- saveFailedPopup: {
587
- title: 'Save failed',
588
- label: 'Something went wrong, please try again',
589
- exportToJson: 'Export to JSON',
590
- },
591
- filters: {
592
- datetime: {
593
- [RelativeDatetimeValue.Today]: 'Today',
594
- [RelativeDatetimeValue.ThisWeek]: 'This week',
595
- [RelativeDatetimeValue.ThisMonth]: 'This month',
596
- [RelativeDatetimeValue.Custom]: 'Custom date range',
597
- },
598
- addFilter: ({ linked }) => {
599
- return `${linked('reusable.add')} a ${linked(
600
- 'reusable.filter',
601
- ).toLowerCase()}`;
602
- },
603
- filterName: ({ linked }) => {
604
- // because filter select has a 'column' label now
605
- return linked('vocabulary.column');
606
- },
607
- filterValue: ({ linked }) => {
608
- return linked('vocabulary.values');
609
- },
610
- filterValueFrom: ({ linked }) => {
611
- const from = linked('reusable.from').toLowerCase();
612
- return `${linked('vocabulary.values')} ${from}`;
613
- },
614
- filterLabel: ({ linked }) => {
615
- return linked('vocabulary.labels');
616
- },
617
- actualReactionTime: ({ linked }) => {
618
- return linked('cases.actualReactionTime');
619
- },
620
- actualResolutionTime: ({ linked }) => {
621
- return linked('cases.actualResolutionTime');
622
- },
623
- agent: ({ linked }) => {
624
- return linked('objects.agent.agent');
625
- },
626
- amdResult: ({ linked }) => {
627
- return linked('objects.amdResult');
628
- },
629
- assignee: ({ linked }) => {
630
- return linked('cases.assignee');
631
- },
632
- author: ({ linked }) => {
633
- return linked('cases.author');
634
- },
635
- cause: ({ linked }) => {
636
- return linked('objects.hangupCause');
637
- },
638
- closeReasonGroups: ({ linked }) => {
639
- return linked('cases.reason');
640
- },
641
- contact: ({ linked }) => {
642
- return linked('vocabulary.contact');
643
- },
644
- contactGroup: ({ linked }) => {
645
- return linked('cases.groupPerformers');
646
537
  },
647
- createdAt: ({ linked }) => {
648
- return linked('reusable.createdAt');
649
- },
650
- createdAtFrom: ({ linked }) => {
651
- return linked('reusable.from');
652
- },
653
- createdAtTo: ({ linked }) => {
654
- return linked('reusable.to');
655
- },
656
- direction: ({ linked }) => {
657
- return linked('objects.direction');
658
- },
659
- gateway: ({ linked }) => {
660
- return linked('objects.gateway');
661
- },
662
- grantee: ({ linked }) => {
663
- return linked('objects.grantee');
664
- },
665
- hasAttachment: ({ linked }) => {
666
- return linked('objects.attachment');
667
- },
668
- hasFile: ({ linked }) => {
669
- return linked('objects.hasRecording');
670
- },
671
- hasTranscription: ({ linked }) => {
672
- return linked('objects.transcription');
673
- },
674
- hasUser: ({ linked }) => {
675
- return linked('objects.user');
676
- },
677
- impacted: ({ linked }) => {
678
- return linked('cases.impacted');
679
- },
680
- contactLabel: ({ linked }) => {
681
- return linked('vocabulary.labels');
682
- },
683
- contactOwner: ({ linked }) => {
684
- return linked('objects.owner');
685
- },
686
- priority: ({ linked }) => {
687
- return linked('vocabulary.priority');
688
- },
689
- queue: ({ linked }) => {
690
- return linked('objects.queue.queue');
691
- },
692
- rated: 'Rated',
693
- ratedBy: ({ linked }) => {
694
- return linked('objects.ratedBy');
695
- },
696
- rating: ({ linked }) => {
697
- return linked('cases.rating');
698
- },
699
- reactionTime: ({ linked }) => {
700
- return linked('cases.reactionTime');
701
- },
702
- reporter: ({ linked }) => {
703
- return linked('cases.reporter');
704
- },
705
- resolutionTime: ({ linked }) => {
706
- return linked('cases.resolutionTime');
707
- },
708
- score: ({ linked }) => {
709
- return linked('webitelUI.auditForm.score');
710
- },
711
- service: ({ linked }) => {
712
- return linked('cases.service');
713
- },
714
- sla: ({ linked }) => {
715
- return linked('cases.appliedSLA');
716
- },
717
- slaCondition: ({ linked }) => {
718
- return linked('cases.appliedCondition');
719
- },
720
- source: ({ linked }) => {
721
- return linked('cases.source');
722
- },
723
- status: ({ linked }) => {
724
- return linked('cases.status');
725
- },
726
- tag: ({ linked }) => {
727
- return linked('vocabulary.tag');
728
- },
729
- talkDuration: ({ linked }) => {
730
- return linked('objects.talkDuration');
731
- },
732
- team: ({ linked }) => {
733
- return linked('objects.team');
734
- },
735
- totalDuration: ({ linked }) => {
736
- return linked('objects.totalDuration');
737
- },
738
- user: ({ linked }) => {
739
- return linked('objects.user');
740
- },
741
- variable: ({ linked }) => {
742
- return linked('vocabulary.variables');
743
- },
744
- queueType: ({ linked }) => {
745
- return linked('objects.queue.queueType');
746
- },
747
- queuePeriod: ({ linked }) => {
748
- return linked('vocabulary.time');
749
- },
750
- agentStatus: ({ linked }) => {
751
- return linked('cases.status');
752
- },
753
- auditor: ({ linked }) => {
754
- return linked('objects.auditor');
755
- },
756
- skill: ({ linked }) => {
757
- return linked('objects.skill');
538
+ copyAction: {
539
+ copy: 'Copy',
540
+ copied: 'Copied to clipboard!',
541
+ },
542
+ auditForm: {
543
+ question: 'Criteria',
544
+ option: 'Option | Options',
545
+ score: 'Score | Scores',
546
+ addQuestion: 'Add criteria',
547
+ answerType: 'Answer type',
548
+ type: {
549
+ options: 'Options',
550
+ score: 'Score',
551
+ },
552
+ clearSelection: 'Clear selection',
553
+ },
554
+ deleteConfirmationPopup: {
555
+ title: 'Confirm deletion',
556
+ askingAlert:
557
+ 'Are you sure you want to delete {subject}? This action cannot be undone.',
558
+ tableAskingAlert:
559
+ 'Are you sure you want\n to delete {count} record? | Are you sure you want\n to delete {count} records?',
560
+ deleteAll: 'ALL',
561
+ },
562
+ dummy: {
563
+ text: 'There are no records yet',
564
+ },
565
+ empty: {
566
+ text: {
567
+ empty: 'There are no records yet',
568
+ filters: 'Unfortunately, no records match your criteria',
569
+ },
758
570
  },
759
- supervisor: ({ linked }) => {
760
- return linked('objects.supervisor');
571
+ agentStatusSelect: {
572
+ pauseCausePopup: {
573
+ title: 'Select a pause cause',
574
+ min: 'Min',
575
+ unlimited: 'Unlimited',
576
+ },
577
+ statusSelectErrorPopup: {
578
+ title: 'Attention',
579
+ message:
580
+ 'The limit for agents to take a pause has been exceeded. The pause is unavailable right now.',
581
+ },
761
582
  },
762
- utilizationProgress: ({ linked }) => {
763
- return linked('vocabulary.utilizationProgress');
583
+ pdfGeneration: {
584
+ generationStarted: 'Your PDF file is being created…',
764
585
  },
765
- region: ({ linked }) => {
766
- return linked('objects.region');
586
+ saveFailedPopup: {
587
+ title: 'Save failed',
588
+ label: 'Something went wrong, please try again',
589
+ exportToJson: 'Export to JSON',
767
590
  },
768
- presets: {
769
- preset: 'Preset | Presets',
770
- overwritePresetTitle: 'A preset with this name already exists.',
771
- overwritePresetText: 'Do you want to replace it?',
772
- notifications: {
773
- success: {
774
- /* suka ebuchij linked(,param) ne praciuje */
775
- update: ({ linked }) => {
776
- return linked('systemNotifications.success.update', {
777
- entity: linked('filters.presets.preset'),
778
- });
779
- },
780
- create: ({ linked }) => {
781
- return linked('systemNotifications.success.create', {
782
- entity: linked('filters.presets.preset'),
783
- });
784
- },
785
- delete: ({ linked }) => {
786
- return linked('systemNotifications.success.delete', {
787
- entity: linked('filters.presets.preset'),
788
- });
591
+ filters: {
592
+ datetime: {
593
+ [RelativeDatetimeValue.Today]: 'Today',
594
+ [RelativeDatetimeValue.ThisWeek]: 'This week',
595
+ [RelativeDatetimeValue.ThisMonth]: 'This month',
596
+ [RelativeDatetimeValue.Custom]: 'Custom date range',
597
+ },
598
+ addFilter: ({ linked }) => {
599
+ return `${linked('reusable.add')} a ${linked(
600
+ 'reusable.filter',
601
+ ).toLowerCase()}`;
602
+ },
603
+ filterName: ({ linked }) => {
604
+ // because filter select has a 'column' label now
605
+ return linked('vocabulary.column');
606
+ },
607
+ filterValue: ({ linked }) => {
608
+ return linked('vocabulary.values');
609
+ },
610
+ filterValueFrom: ({ linked }) => {
611
+ const from = linked('reusable.from').toLowerCase();
612
+ return `${linked('vocabulary.values')} ${from}`;
613
+ },
614
+ filterLabel: ({ linked }) => {
615
+ return linked('vocabulary.labels');
616
+ },
617
+ actualReactionTime: ({ linked }) => {
618
+ return linked('cases.actualReactionTime');
619
+ },
620
+ actualResolutionTime: ({ linked }) => {
621
+ return linked('cases.actualResolutionTime');
622
+ },
623
+ agent: ({ linked }) => {
624
+ return linked('objects.agent.agent');
625
+ },
626
+ amdResult: ({ linked }) => {
627
+ return linked('objects.amdResult');
628
+ },
629
+ assignee: ({ linked }) => {
630
+ return linked('cases.assignee');
631
+ },
632
+ author: ({ linked }) => {
633
+ return linked('cases.author');
634
+ },
635
+ cause: ({ linked }) => {
636
+ return linked('objects.hangupCause');
637
+ },
638
+ closeReasonGroups: ({ linked }) => {
639
+ return linked('cases.reason');
640
+ },
641
+ contact: ({ linked }) => {
642
+ return linked('vocabulary.contact');
643
+ },
644
+ contactGroup: ({ linked }) => {
645
+ return linked('cases.groupPerformers');
646
+ },
647
+ createdAt: ({ linked }) => {
648
+ return linked('reusable.createdAt');
649
+ },
650
+ createdAtFrom: ({ linked }) => {
651
+ return linked('reusable.from');
652
+ },
653
+ createdAtTo: ({ linked }) => {
654
+ return linked('reusable.to');
655
+ },
656
+ direction: ({ linked }) => {
657
+ return linked('objects.direction');
658
+ },
659
+ gateway: ({ linked }) => {
660
+ return linked('objects.gateway');
661
+ },
662
+ grantee: ({ linked }) => {
663
+ return linked('objects.grantee');
664
+ },
665
+ hasAttachment: ({ linked }) => {
666
+ return linked('objects.attachment');
667
+ },
668
+ hasFile: ({ linked }) => {
669
+ return linked('objects.hasRecording');
670
+ },
671
+ hasTranscription: ({ linked }) => {
672
+ return linked('objects.transcription');
673
+ },
674
+ hasUser: ({ linked }) => {
675
+ return linked('objects.user');
676
+ },
677
+ impacted: ({ linked }) => {
678
+ return linked('cases.impacted');
679
+ },
680
+ contactLabel: ({ linked }) => {
681
+ return linked('vocabulary.labels');
682
+ },
683
+ contactOwner: ({ linked }) => {
684
+ return linked('objects.owner');
685
+ },
686
+ priority: ({ linked }) => {
687
+ return linked('vocabulary.priority');
688
+ },
689
+ queue: ({ linked }) => {
690
+ return linked('objects.queue.queue');
691
+ },
692
+ rated: 'Rated',
693
+ ratedBy: ({ linked }) => {
694
+ return linked('objects.ratedBy');
695
+ },
696
+ rating: ({ linked }) => {
697
+ return linked('cases.rating');
698
+ },
699
+ reactionTime: ({ linked }) => {
700
+ return linked('cases.reactionTime');
701
+ },
702
+ reporter: ({ linked }) => {
703
+ return linked('cases.reporter');
704
+ },
705
+ resolutionTime: ({ linked }) => {
706
+ return linked('cases.resolutionTime');
707
+ },
708
+ score: ({ linked }) => {
709
+ return linked('webitelUI.auditForm.score');
710
+ },
711
+ service: ({ linked }) => {
712
+ return linked('cases.service');
713
+ },
714
+ sla: ({ linked }) => {
715
+ return linked('cases.appliedSLA');
716
+ },
717
+ slaCondition: ({ linked }) => {
718
+ return linked('cases.appliedCondition');
719
+ },
720
+ source: ({ linked }) => {
721
+ return linked('cases.source');
722
+ },
723
+ status: ({ linked }) => {
724
+ return linked('cases.status');
725
+ },
726
+ tag: ({ linked }) => {
727
+ return linked('vocabulary.tag');
728
+ },
729
+ talkDuration: ({ linked }) => {
730
+ return linked('objects.talkDuration');
731
+ },
732
+ team: ({ linked }) => {
733
+ return linked('objects.team');
734
+ },
735
+ totalDuration: ({ linked }) => {
736
+ return linked('objects.totalDuration');
737
+ },
738
+ user: ({ linked }) => {
739
+ return linked('objects.user');
740
+ },
741
+ variable: ({ linked }) => {
742
+ return linked('vocabulary.variables');
743
+ },
744
+ queueType: ({ linked }) => {
745
+ return linked('objects.queue.queueType');
746
+ },
747
+ queuePeriod: ({ linked }) => {
748
+ return linked('vocabulary.time');
749
+ },
750
+ agentStatus: ({ linked }) => {
751
+ return linked('cases.status');
752
+ },
753
+ auditor: ({ linked }) => {
754
+ return linked('objects.auditor');
755
+ },
756
+ skill: ({ linked }) => {
757
+ return linked('objects.skill');
758
+ },
759
+ supervisor: ({ linked }) => {
760
+ return linked('objects.supervisor');
761
+ },
762
+ utilizationProgress: ({ linked }) => {
763
+ return linked('vocabulary.utilizationProgress');
764
+ },
765
+ region: ({ linked }) => {
766
+ return linked('objects.region');
767
+ },
768
+ presets: {
769
+ preset: 'Preset | Presets',
770
+ overwritePresetTitle: 'A preset with this name already exists.',
771
+ overwritePresetText: 'Do you want to replace it?',
772
+ notifications: {
773
+ success: {
774
+ /* suka ebuchij linked(,param) ne praciuje */
775
+ update: ({ linked }) => {
776
+ return linked('systemNotifications.success.update', {
777
+ entity: linked('filters.presets.preset'),
778
+ });
779
+ },
780
+ create: ({ linked }) => {
781
+ return linked('systemNotifications.success.create', {
782
+ entity: linked('filters.presets.preset'),
783
+ });
784
+ },
785
+ delete: ({ linked }) => {
786
+ return linked('systemNotifications.success.delete', {
787
+ entity: linked('filters.presets.preset'),
788
+ });
789
+ },
789
790
  },
790
791
  },
791
792
  },
792
793
  },
793
794
  },
794
- },
795
- systemNotifications: {
796
- success: {
797
- update: ({ named }) => `The ${named('entity').toLowerCase()} was updated`,
798
- create: ({ named }) => `The ${named('entity').toLowerCase()} was saved`,
799
- delete: ({ named }) => `The ${named('entity').toLowerCase()} was deleted`,
795
+ systemNotifications: {
796
+ success: {
797
+ update: ({ named }) =>
798
+ `The ${named('entity').toLowerCase()} was updated`,
799
+ create: ({ named }) => `The ${named('entity').toLowerCase()} was saved`,
800
+ delete: ({ named }) =>
801
+ `The ${named('entity').toLowerCase()} was deleted`,
802
+ },
803
+ info: {
804
+ passwordExpirationMessage: 'Your password will expire in { days } days',
805
+ },
806
+ },
807
+ errorNotifications: {
808
+ chatHistoryApi: 'There was an error loading the chat history',
809
+ markChatProcessed: 'Failed to move the chat to “Closed”',
800
810
  },
801
- info: {
802
- passwordExpirationMessage: 'Your password will expire in { days } days'
803
- }
804
- },
805
- errorNotifications: {
806
- chatHistoryApi: 'There was an error loading the chat history',
807
- markChatProcessed: 'Failed to move the chat to “Closed”',
808
811
  },
809
- }, notTranslatable);
812
+ notTranslatable,
813
+ );