@webitel/ui-sdk 25.8.29 → 25.8.31

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 (46) hide show
  1. package/dist/ui-sdk.css +1 -1
  2. package/dist/ui-sdk.js +471 -185
  3. package/dist/ui-sdk.umd.cjs +558 -558
  4. package/package.json +5 -2
  5. package/src/api/clients/roles/{roles.js → roles.ts} +35 -52
  6. package/src/css/main.scss +0 -12
  7. package/src/locale/es/es.js +560 -127
  8. package/src/locale/i18n.js +1 -13
  9. package/src/locale/index.ts +33 -0
  10. package/src/locale/kz/kz.js +320 -236
  11. package/src/locale/pl/pl.js +718 -0
  12. package/src/locale/ro/ro.js +719 -0
  13. package/src/locale/uz/uz.js +718 -0
  14. package/src/locale/vi/vi.js +719 -0
  15. package/src/modules/ObjectPermissions/_internals/components/permissions-tab-role-popup.vue +1 -1
  16. package/types/api/clients/roles/roles.d.ts +27 -39
  17. package/types/api/history/index.d.ts +2 -0
  18. package/types/api/history/transcript/callTranscript.d.ts +15 -0
  19. package/types/components/wt-action-bar/WtActionBarActionsOrder.d.ts +2 -2
  20. package/types/components/wt-action-bar/wt-action-bar.vue.d.ts +15 -15
  21. package/types/components/wt-button-select/wt-button-select.vue.d.ts +2 -2
  22. package/types/components/wt-confirm-dialog/wt-confirm-dialog.vue.d.ts +2 -2
  23. package/types/components/wt-intersection-observer/wt-intersection-observer.vue.d.ts +2 -2
  24. package/types/components/wt-loader/_internals/wt-loader--md.vue.d.ts +2 -0
  25. package/types/components/wt-loader/_internals/wt-loader--sm.vue.d.ts +16 -0
  26. package/types/components/wt-player/wt-player.vue.d.ts +1 -1
  27. package/types/components/wt-table/wt-table.vue.d.ts +1 -1
  28. package/types/components/wt-timepicker/wt-timepicker.vue.d.ts +1 -1
  29. package/types/locale/es/es.d.ts +715 -40
  30. package/types/locale/i18n.d.ts +4447 -353
  31. package/types/locale/index.d.ts +7142 -0
  32. package/types/locale/kz/kz.d.ts +360 -226
  33. package/types/locale/pl/pl.d.ts +920 -0
  34. package/types/locale/ro/ro.d.ts +920 -0
  35. package/types/locale/ua/ua.d.ts +911 -0
  36. package/types/locale/uz/uz.d.ts +920 -0
  37. package/types/locale/vi/vi.d.ts +920 -0
  38. package/types/modules/Userinfo/api/userinfo.d.ts +1 -1
  39. package/types/modules/Userinfo/v2/api/UserinfoAPI.d.ts +1 -1
  40. package/types/plugins/primevue/theme/semantic/color-scheme/color-schema.d.ts +1189 -0
  41. package/types/plugins/primevue/theme/semantic/color-scheme/dark-color.d.ts +162 -0
  42. package/types/plugins/primevue/theme/semantic/color-scheme/light-color.d.ts +162 -0
  43. package/types/plugins/primevue/theme/semantic/color-scheme/palette.d.ts +435 -0
  44. package/types/plugins/primevue/theme/semantic/semantic.d.ts +5 -0
  45. package/types/scripts/caseConverters.d.ts +1 -1
  46. package/types/scripts/sortQueryAdapters.d.ts +1 -1
@@ -6,128 +6,229 @@ import {
6
6
  EngineRoutingSchemaType,
7
7
  } from 'webitel-sdk';
8
8
 
9
- import QueueType from '../../enums/QueueType/QueueType.enum.js';
10
- import AdminSections from '../../enums/WebitelApplications/AdminSections.enum.js';
11
- import AuditorSections from '../../enums/WebitelApplications/AuditorSections.enum.js';
12
- import SupervisorSections from '../../enums/WebitelApplications/SupervisorSections.enum.js';
13
- import WebitelApplications from '../../enums/WebitelApplications/WebitelApplications.enum.js';
14
- import { snakeToCamel } from '../../scripts/caseConverters.js';
9
+ import {
10
+ AdminSections,
11
+ AuditorSections,
12
+ ChatGatewayProvider,
13
+ CrmSections,
14
+ IconAction,
15
+ QueueType,
16
+ RelativeDatetimeValue,
17
+ SupervisorSections,
18
+ WebitelApplications,
19
+ } from '../../enums';
20
+ import { AccessMode } from '../../modules/ObjectPermissions/_internals/enums/AccessMode.enum.js';
21
+ import { snakeToCamel } from '../../scripts';
15
22
 
16
23
  export default {
17
- // describes reusable buttons, actions, default titles, and other ui elements
18
24
  reusable: {
25
+ comment: 'Comentario',
26
+ replace: 'Reemplazar',
27
+ download: 'Descargar',
28
+ history: 'Historial',
29
+ filter: ({ plural }) => plural(['Filtro', 'Filtros']),
19
30
  total: 'Total',
20
- ok: 'Ok',
31
+ ok: 'Aceptar',
32
+ object: 'Objeto',
21
33
  save: 'Guardar',
34
+ saveAs: 'Guardar como',
35
+ saved: 'Guardado',
36
+ send: 'Enviar',
37
+ start: 'Iniciar',
22
38
  close: 'Cerrar',
23
- add: 'Agregar',
39
+ add: 'Añadir',
24
40
  cancel: 'Cancelar',
25
- import: 'Importación',
26
- export: 'Exportación',
27
- true: '',
41
+ import: 'Importar',
42
+ export: 'Exportar',
43
+ true: 'Verdadero',
44
+ title: 'Título',
45
+ position: 'Posición',
28
46
  delete: 'Eliminar',
29
- search: 'Búsqueda',
47
+ search: 'Buscar',
30
48
  open: 'Abrir',
31
49
  name: 'Nombre',
32
50
  expand: 'Expandir',
33
- collapse: 'Reducir',
51
+ collapse: 'Colapsar',
34
52
  generate: 'Generar',
35
53
  lang: {
36
- en: 'English',
54
+ en: 'Inglés',
37
55
  es: 'Español',
38
- ru: 'Русский',
39
- uk: 'Українська',
40
- kz: 'Қазақ',
56
+ ru: 'Ruso',
57
+ uk: 'Ucraniano',
58
+ kz: 'Kazajo',
41
59
  },
42
- from: 'De',
60
+ from: 'Desde',
43
61
  to: 'Hasta',
44
- tts: 'Text-to-Speech',
62
+ tts: 'Texto a Voz',
45
63
  state: 'Estado',
46
64
  refresh: 'Actualizar',
47
- retry: 'Repetir',
48
- reset: 'Reiniciar',
65
+ retry: 'Reintentar',
49
66
  downloadAll: 'Descargar todo',
50
- warning: 'Aviso',
67
+ warning: 'Advertencia',
51
68
  doNotSave: 'No guardar',
69
+ required: 'Requerido',
70
+ copy: 'Copiar',
71
+ new: 'Nuevo',
72
+ createdAt: 'Creado el',
73
+ createdBy: 'Creado por',
74
+ modifiedAt: 'Modificado el',
75
+ modifiedBy: 'Modificado por',
76
+ general: 'General',
77
+ generalInfo: 'Información general',
78
+ all: 'Todos {entity}',
79
+ upload: 'Subir',
80
+ edit: 'Editar',
81
+ back: 'Atrás',
82
+ step: 'Paso { count }',
83
+ more: 'Más',
84
+ read: 'Leer',
85
+ create: 'Crear',
86
+ update: 'Actualizar',
87
+ draggable: 'Arrastrable',
88
+ unassigned: 'Sin asignar',
89
+ showUnassigned: 'Mostrar sin asignar',
90
+ group: 'Grupo',
91
+ updatedBy: (/*{ named }*/) => {
92
+ return 'Editado';
93
+ },
52
94
  },
53
95
  vocabulary: {
96
+ apply: 'Aplicar',
54
97
  language: 'Idioma',
55
98
  voice: 'Voz',
56
- format: 'Formáto',
99
+ format: 'Formato',
57
100
  text: 'Texto',
58
101
  yes: 'Sí',
59
102
  no: 'No',
60
103
  description: 'Descripción',
61
- login: 'Acceso',
104
+ login: 'Iniciar sesión',
62
105
  host: 'Host',
63
106
  time: 'Tiempo',
64
- channel: 'Canal',
107
+ channel: 'Canal | Canales',
65
108
  file: 'Archivo',
66
- logout: 'Salir',
67
- priority: 'Prioridad',
68
- variables: 'Intercambiable | Intercambiables',
109
+ logout: 'Cerrar sesión',
110
+ priority: 'Prioridad | Prioridades',
111
+ color: 'Color',
112
+ variables: 'Variable | Variables',
69
113
  type: 'Tipo',
70
114
  tag: 'Etiqueta | Etiquetas',
71
115
  output: 'Salida | Salidas',
72
116
  values: 'Valor | Valores',
73
117
  keys: 'Clave | Claves',
74
118
  duration: 'Duración',
119
+ reset: 'Restablecer',
75
120
  errors: 'Error | Errores',
121
+ labels: 'Etiqueta | Etiquetas',
122
+ permissions: 'Permiso | Permisos',
123
+ options: 'Opción | Opciones',
124
+ emails: 'Correo electrónico | Correos electrónicos',
125
+ phones: 'Teléfono | Teléfonos',
126
+ messaging: 'Mensajería',
127
+ emptyResultSearch: 'Tu búsqueda no produjo resultados',
128
+ contact: 'Contacto | Contactos',
129
+ column: 'Columna | Columnas',
130
+ notification: 'Notificación | Notificaciones',
76
131
  },
77
- // date-related texts
78
132
  date: {
79
133
  sec: 'Seg',
80
134
  timezone: 'Zona horaria | Zonas horarias',
81
135
  },
82
- // describes Webitel system entities
136
+ access: {
137
+ ObAC: 'Administrado por operaciones',
138
+ RbAC: 'Administrado por registros',
139
+ operations: 'Operaciones',
140
+ rbacDefault: 'Acceso basado en registros predeterminado',
141
+ accessMode: {
142
+ [AccessMode.FORBIDDEN]: 'Prohibido',
143
+ [AccessMode.ALLOW]: 'Permitir',
144
+ [AccessMode.MANAGE]: 'Permitir con delegación',
145
+ },
146
+ },
83
147
  objects: {
84
148
  team: 'Equipo | Equipos',
85
149
  supervisor: 'Supervisor | Supervisores',
86
150
  auditor: 'Auditor | Auditores',
87
151
  region: 'Región | Regiones',
152
+ communicationType: 'Tipo de comunicación | Tipos de comunicación',
153
+ grantee: 'Beneficiario | Beneficiarios',
154
+ grantor: 'Otorgante | Otorgantes',
155
+ role: 'Rol | Roles',
156
+ user: 'Usuario | Usuarios',
157
+ list: 'Lista | Listas',
158
+ contact: 'Contacto | Contactos',
159
+ case: 'Caso | Casos',
160
+ calendar: 'Calendario | Calendarios',
161
+ direction: 'Dirección',
162
+ gateway: 'Gateway | Gateways',
163
+ hangupCause: 'Causa de colgado',
164
+ hasOption: 'Tiene opción',
165
+ hasRecording: 'Grabación',
166
+ amdResult: 'Resultado AMD',
167
+ ratedBy: 'Calificado por',
168
+ talkDuration: 'Duración de la conversación',
169
+ totalDuration: 'Duración total',
170
+ transcription: 'Transcripción',
171
+ attachment: 'Adjunto | Adjuntos',
172
+ owner: 'Propietario | Propietarios',
88
173
  queue: {
174
+ queue: 'Cola | Colas',
89
175
  type: {
90
176
  [QueueType.INBOUND_QUEUE]: 'Cola entrante',
91
- [QueueType.OFFLINE_QUEUE]: 'Cola fuera de línea',
92
- [QueueType.OUTBOUND_IVR_QUEUE]: 'IVR saliente',
177
+ [QueueType.OFFLINE_QUEUE]: 'Cola sin conexión',
178
+ [QueueType.OUTBOUND_IVR_QUEUE]: 'Cola IVR saliente',
93
179
  [QueueType.PREDICTIVE_DIALER]: 'Marcador predictivo',
94
180
  [QueueType.PROGRESSIVE_DIALER]: 'Marcador progresivo',
95
- [QueueType.PREVIEW_DIALER]: 'Vista previa de llamadas',
96
- [QueueType.CHAT_INBOUND_QUEUE]: 'Cola de chats',
97
- [QueueType.INBOUND_JOB_QUEUE]: 'Cola de tareas entrante',
98
- [QueueType.OUTBOUND_JOB_QUEUE]: 'Cola de tareas saliente',
181
+ [QueueType.PREVIEW_DIALER]: 'Marcador de vista previa',
182
+ [QueueType.CHAT_INBOUND_QUEUE]: 'Cola de chat',
183
+ [QueueType.INBOUND_JOB_QUEUE]: 'Cola de tareas entrantes',
184
+ [QueueType.OUTBOUND_JOB_QUEUE]: 'Cola de tareas salientes',
99
185
  },
100
186
  },
101
187
  agent: {
188
+ agent: 'Agente | Agentes',
102
189
  status: {
103
190
  [AgentStatus.Online]: 'En línea',
104
191
  [AgentStatus.Pause]: 'Pausa',
105
192
  [AgentStatus.Offline]: 'Desconectado',
106
- [snakeToCamel(AgentStatus.BreakOut)]: 'Pausa forzada',
193
+ [snakeToCamel(AgentStatus.BreakOut)]: 'Descanso',
107
194
  },
108
195
  },
109
196
  flow: {
197
+ name: 'Esquema de flujo | Esquemas de flujo',
110
198
  type: {
111
199
  [EngineRoutingSchemaType.Chat]: 'Chat',
112
200
  [EngineRoutingSchemaType.Voice]: 'Voz',
113
201
  [EngineRoutingSchemaType.Service]: 'Servicio',
114
- [EngineRoutingSchemaType.Processing]: 'Procesamiento',
202
+ [EngineRoutingSchemaType.Processing]: 'Formularios',
115
203
  },
116
204
  },
205
+ messengers: {
206
+ [ChatGatewayProvider.TELEGRAM_BOT]: 'Bot de Telegram',
207
+ [ChatGatewayProvider.TELEGRAM_APP]: 'App de Telegram',
208
+ [ChatGatewayProvider.MESSENGER]: 'Meta',
209
+ [ChatGatewayProvider.VIBER]: 'Viber',
210
+ [ChatGatewayProvider.WEBCHAT]: 'Chat web',
211
+ [ChatGatewayProvider.INFOBIP]: 'Infobip',
212
+ [ChatGatewayProvider.CUSTOM]: 'Gateway de chat personalizado',
213
+ },
214
+ quickReplies: {
215
+ quickReplies: 'Respuesta rápida | Respuestas rápidas',
216
+ quickRepliesEmpty: 'Aún no hay respuestas rápidas',
217
+ },
117
218
  },
118
219
  channel: {
119
220
  state: {
120
- [ChannelState.Waiting]: 'Espera',
121
- [ChannelState.Distribute]: 'Reservado',
122
- [ChannelState.Offering]: 'Distribución',
123
- [ChannelState.Answered]: 'Respondida',
221
+ [ChannelState.Waiting]: 'En espera',
222
+ [ChannelState.Distribute]: 'Distribuyendo',
223
+ [ChannelState.Offering]: 'Ofreciendo',
224
+ [ChannelState.Answered]: 'Respondido',
124
225
  [ChannelState.Active]: 'Activo',
125
- [ChannelState.Bridged]: 'Conectado',
126
- [ChannelState.Hold]: 'Espera',
127
- [ChannelState.Missed]: 'Perdida',
128
- [snakeToCamel(ChannelState.WrapTime)]: 'Post-procesamiento',
129
- [ChannelState.Processing]: 'Procesamiento',
130
- [ChannelState.Transfer]: 'Transferencia',
226
+ [ChannelState.Bridged]: 'Puenteado',
227
+ [ChannelState.Hold]: 'En espera',
228
+ [ChannelState.Missed]: 'Perdido',
229
+ [snakeToCamel(ChannelState.WrapTime)]: 'Tiempo de cierre',
230
+ [ChannelState.Processing]: 'Procesando',
231
+ [ChannelState.Transfer]: 'Transferir',
131
232
  },
132
233
  type: {
133
234
  [ChannelType.Call]: 'Llamada',
@@ -138,84 +239,148 @@ export default {
138
239
  },
139
240
  calls: {
140
241
  direction: {
141
- [CallDirection.Inbound]: 'Entrante | Entrantes',
142
- [CallDirection.Outbound]: 'Saliente | Salientes',
242
+ [CallDirection.Inbound]: 'Entrante',
243
+ [CallDirection.Outbound]: 'Saliente',
143
244
  },
144
245
  },
145
- // describes Webitel FRONTEND applications + their navs
246
+ cases: {
247
+ status: 'Estado',
248
+ source: 'Fuente',
249
+ author: 'Autor',
250
+ reporter: 'Informante',
251
+ impacted: 'Afectado',
252
+ assignee: 'Asignado',
253
+ groupPerformers: 'Grupo',
254
+ reason: 'Razón | Razones',
255
+ rating: 'Calificación',
256
+ service: 'Servicio | Servicios',
257
+ selectAService: 'Seleccionar un servicio',
258
+ appliedSLA: 'SLA aplicado',
259
+ appliedCondition: 'Condición aplicada',
260
+ reactionTime: 'Tiempo de reacción',
261
+ resolutionTime: 'Tiempo de resolución',
262
+ actualReactionTime: 'Tiempo de reacción real',
263
+ actualResolutionTime: 'Tiempo de resolución real',
264
+ },
146
265
  WebitelApplications: {
147
- [WebitelApplications.AGENT]: { name: 'Agent Workspace' },
266
+ [WebitelApplications.AGENT]: { name: 'Espacio de trabajo del agente' },
148
267
  [WebitelApplications.AUDIT]: {
149
- name: 'Audit',
268
+ name: 'Auditoría',
269
+ sections: {
270
+ [AuditorSections.Scorecards]: 'Tarjetas de puntuación',
271
+ },
272
+ },
273
+ [WebitelApplications.CRM]: {
274
+ name: 'CRM',
150
275
  sections: {
151
- [AuditorSections.SCORECARDS]: 'Formularios',
276
+ [CrmSections.Contacts]: 'Contactos',
277
+ [CrmSections.Cases]: 'Casos',
278
+ [CrmSections.Priorities]: 'Prioridades',
279
+ [CrmSections.CloseReasonGroups]: 'Razones de cierre',
280
+ [CrmSections.Statuses]: 'Estados',
281
+ [CrmSections.Slas]: 'SLA',
282
+ [CrmSections.ServiceCatalogs]: 'Catálogos de servicios',
283
+ [CrmSections.Sources]: 'Fuentes de casos',
284
+ [CrmSections.ContactGroups]: 'Grupos de contactos',
152
285
  },
153
286
  },
154
- [WebitelApplications.HISTORY]: { name: 'Call History' },
155
- [WebitelApplications.ANALYTICS]: { name: 'Data Visualisation Tool' },
287
+ [WebitelApplications.HISTORY]: { name: 'Historial de llamadas' },
288
+ [WebitelApplications.ANALYTICS]: {
289
+ name: 'Herramienta de visualización de datos',
290
+ },
156
291
  [WebitelApplications.SUPERVISOR]: {
157
- name: 'Supervisor Workspace',
292
+ name: 'Espacio de trabajo del supervisor',
158
293
  sections: {
159
- [SupervisorSections.QUEUES]: 'Colas',
160
- [SupervisorSections.AGENTS]: 'Operadores',
161
- [SupervisorSections.ACTIVE_CALLS]: 'Llamadas activas',
294
+ [SupervisorSections.Queues]: 'Colas',
295
+ [SupervisorSections.Agents]: 'Agentes',
296
+ [SupervisorSections.ActiveCalls]: 'Llamadas activas',
162
297
  },
163
298
  },
164
299
  [WebitelApplications.ADMIN]: {
165
- name: 'Admin',
300
+ name: 'Administrador',
166
301
  sections: {
167
- [AdminSections.USERS]: 'Usuarios',
168
- [AdminSections.LICENSE]: 'Licencias',
169
- [AdminSections.DEVICES]: 'Dispositivos',
170
- [AdminSections.FLOW]: 'Esquemas',
171
- [AdminSections.DIALPLAN]: 'Reglas de la marcación saliente',
172
- [AdminSections.GATEWAYS]: 'Puertas de enlace',
173
- [AdminSections.CHATPLAN]: 'Reglas de enrutamiento de mensajes de texto',
174
- [AdminSections.CHAT_GATEWAYS]: 'Puertas de enlace de texto',
175
- [AdminSections.SKILLS]: 'Habilidades del operador',
176
- [AdminSections.BUCKETS]: 'Cestas',
177
- [AdminSections.MEDIA]: 'Archivos multimedia',
178
- [AdminSections.BLACKLIST]: 'Listas de llamadas',
179
- [AdminSections.CALENDARS]: 'Calendarios',
180
- [AdminSections.REGIONS]: 'Ubicación',
181
- [AdminSections.COMMUNICATIONS]: 'Tipos de comunicación',
182
- [AdminSections.PAUSE_CAUSE]: 'Estados del operador',
183
- [AdminSections.AGENTS]: 'Operadores',
184
- [AdminSections.TEAMS]: 'Equipos',
185
- [AdminSections.RESOURCES]: 'Recursos',
186
- [AdminSections.RESOURCE_GROUPS]: 'Grupos de recursos',
187
- [AdminSections.QUEUES]: 'Colas',
188
- [AdminSections.STORAGE]: 'Almacenamiento',
189
- [AdminSections.COGNITIVE_PROFILES]: 'Perfiles de voz',
190
- [AdminSections.EMAIL_PROFILES]: 'Perfiles de correo electrónico',
191
- [AdminSections.SINGLE_SIGN_ON]: 'Single Sign-on',
192
- [AdminSections.IMPORT_CSV]: 'Importación de datos de archivos CSV',
193
- [AdminSections.TRIGGERS]: 'Activadores',
194
- [AdminSections.ROLES]: 'Funciones',
195
- [AdminSections.OBJECTS]: 'Secciones',
302
+ [AdminSections.Users]: 'Usuarios',
303
+ [AdminSections.License]: 'Licencias',
304
+ [AdminSections.Devices]: 'Dispositivos',
305
+ [AdminSections.Flow]: 'Esquemas de flujo',
306
+ [AdminSections.Dialplan]: 'Planes de marcación',
307
+ [AdminSections.Gateways]: 'Gateways',
308
+ [AdminSections.Chatplan]: 'Planes de chat',
309
+ [AdminSections.ChatGateways]: 'Gateways de chat',
310
+ [AdminSections.Skills]: 'Habilidades del agente',
311
+ [AdminSections.Buckets]: 'Cubetas',
312
+ [AdminSections.Media]: 'Archivos multimedia',
313
+ [AdminSections.ShiftTemplates]: 'Plantillas de turno',
314
+ [AdminSections.PauseTemplates]: 'Plantillas de pausa',
315
+ [AdminSections.WorkingConditions]: 'Condiciones de trabajo',
316
+ [AdminSections.Blacklist]: 'Listas',
317
+ [AdminSections.Calendars]: 'Calendarios',
318
+ [AdminSections.Regions]: 'Ubicaciones',
319
+ [AdminSections.Communications]: 'Tipos de comunicación',
320
+ [AdminSections.PauseCause]: 'Estados del agente',
321
+ [AdminSections.Agents]: 'Agentes',
322
+ [AdminSections.Teams]: 'Equipos',
323
+ [AdminSections.Resources]: 'Recursos',
324
+ [AdminSections.ResourceGroups]: 'Grupos de recursos',
325
+ [AdminSections.Queues]: 'Colas',
326
+ [AdminSections.Storage]: 'Almacenamiento',
327
+ [AdminSections.StoragePolicies]: 'Políticas de almacenamiento',
328
+ [AdminSections.CognitiveProfiles]: 'Perfiles cognitivos',
329
+ [AdminSections.EmailProfiles]: 'Perfiles de correo electrónico',
330
+ [AdminSections.SingleSignOn]: 'Inicio de sesión único',
331
+ [AdminSections.ImportCsv]: 'Importaciones de CSV desde archivo',
332
+ [AdminSections.Triggers]: 'Disparadores',
333
+ [AdminSections.Media]: 'Archivos multimedia',
334
+ [AdminSections.Roles]: 'Roles',
335
+ [AdminSections.Objects]: 'Objetos',
336
+ [AdminSections.Changelogs]: 'Registro de cambios',
337
+ [AdminSections.Configuration]: 'Configuración',
338
+ [AdminSections.GlobalVariables]: 'Variables globales',
339
+ [AdminSections.QuickReplies]: 'Respuestas rápidas',
196
340
  },
197
341
  },
198
342
  },
199
343
  validation: {
200
344
  required: 'Campo requerido',
201
- numeric: 'Valores numéricos requeridos',
202
- email: 'Correo electrónico requerido',
203
- gatewayHostValidator: 'IPv4 o FQDN requerido',
204
- sipAccountValidator: 'Cuenta SIP requerida',
205
- ipValidator: 'IPv4 requerido',
206
- macValidator: 'dirección MAC requerida',
345
+ numeric: 'Debe ser numérico',
346
+ email: 'Debe parecer un correo electrónico',
347
+ gatewayHostValidator: 'Debe parecer una IPv4 o FQDN',
348
+ sipAccountValidator: 'Debe parecer una cuenta SIP',
349
+ ipValidator: 'Debe parecer una IPv4',
350
+ macValidator: 'Debe parecer una MAC',
207
351
  minValue: 'El valor no debe ser menor que',
208
352
  maxValue: 'El valor no debe ser mayor que',
209
- sameAs: 'Contraseña no válida',
210
- requiredArrayValue: 'El campo no debe estar vacío',
211
- minLength: 'El número de caracteres no debe ser menor que',
212
- url: 'Se debe ingresar una URL válida',
353
+ maxLength: 'La longitud no debe ser mayor que',
354
+ sameAs: 'Contraseña incorrecta',
355
+ requiredArrayValue: 'El arreglo no debe estar vacío',
356
+ minLength: ({ named }) => {
357
+ let text = 'La longitud no debe ser menor que';
358
+ if (named('min')) {
359
+ text += ` ${named('min')}`;
360
+ }
361
+
362
+ return text;
363
+ },
364
+ url: 'Debe parecer una URL',
365
+ websocketValidator: 'Debe parecer una URL de WebSocket',
366
+ isRegExpMatched: 'La contraseña debe coincidir con la expresión regular:',
367
+ regExpValidator: 'Esta expresión regular no es válida',
368
+ domainValidator: 'Dominio incorrecto',
369
+ decimalValidator:
370
+ 'La precisión decimal no debe ser mayor a { count } lugares',
371
+ latinWithNumber:
372
+ 'El código debe contener solo letras (A-Z, a-z) y números (0-9), y debe comenzar con una letra',
373
+ integer: 'El campo debe contener solo números enteros',
374
+ nameAlreadyInUse: 'Este nombre ya está en uso',
213
375
  },
214
376
  webitelUI: {
215
377
  searchBar: {
216
- placeholder: 'Búsqueda',
378
+ placeholder: 'Buscar',
379
+ settingsHint: 'Modo de búsqueda',
380
+ variableSearchHint: 'Formato de consulta: "clave=valor"',
217
381
  },
218
382
  timepicker: {
383
+ day: 'Día:',
219
384
  hour: 'Hora:',
220
385
  min: 'Min:',
221
386
  sec: 'Seg:',
@@ -225,59 +390,327 @@ export default {
225
390
  lastDay: 'Último día',
226
391
  },
227
392
  pagination: {
228
- sizeText: 'Registros en la página:',
229
- prev: 'Atrás',
230
- next: 'Adelante',
393
+ sizeText: 'Filas por página:',
394
+ prev: 'Anterior',
395
+ next: 'Siguiente',
231
396
  },
232
397
  appNavigator: {
233
- title: 'Aplicaciones de Webitel',
234
- admin: 'Admin',
235
- agent: 'Agent Workspace',
236
- supervisor: 'Supervisor Workspace',
237
- audit: 'Audit',
238
- history: 'Call History',
398
+ title: 'Aplicaciones Webitel',
399
+ admin: 'Administrador',
400
+ agent: 'Agente',
401
+ supervisor: 'Supervisor',
402
+ audit: 'Auditoría',
403
+ history: 'Historial',
239
404
  grafana: 'Grafana',
405
+ crm: 'CRM',
240
406
  },
241
407
  headerActions: {
242
408
  account: 'Cuenta',
243
- docs: 'Documentación',
244
- settings: 'Ajustes',
245
- logout: 'Salir',
409
+ docs: 'Documentos',
410
+ settings: 'Configuración',
411
+ logout: 'Cerrar sesión',
246
412
  buildVersion: 'Versión de compilación',
247
413
  },
248
414
  tableActions: {
249
- filterReset: 'Reiniciar filtros',
250
- columnSelect: 'Agregar columnas',
251
- refreshTable: 'Actualizar',
415
+ filterReset: 'Restablecer filtros',
416
+ columnSelect: 'Seleccionar columnas',
417
+ refreshTable: 'Actualizar tabla',
252
418
  expandFilters: 'Expandir filtros',
253
419
  },
254
420
  tableColumnSelect: {
255
- title: 'Seleccione columnas mostradas',
421
+ title: 'Seleccionar columnas visibles',
256
422
  },
257
423
  statusSelect: {
258
424
  online: 'En línea',
259
425
  pause: 'Pausa',
260
426
  offline: 'Desconectado',
261
- breakOut: 'Pausa forzada',
427
+ breakOut: 'Descanso',
262
428
  },
263
429
  iconAction: {
264
- deleteActionHint: 'Eliminar',
265
- editActionHint: 'Editar',
430
+ hints: {
431
+ [IconAction.DELETE]: ({ linked }) => linked('reusable.delete'),
432
+ [IconAction.EDIT]: ({ linked }) => linked('reusable.edit'),
433
+ [IconAction.ADD]: ({ linked }) => linked('reusable.add'),
434
+ [IconAction.HISTORY]: ({ linked }) => linked('reusable.history'),
435
+ [IconAction.DOWNLOAD]: ({ linked }) => linked('reusable.download'),
436
+ [IconAction.FILTERS]: ({ linked }) => linked('reusable.filter'),
437
+ [IconAction.COLUMNS]: 'Seleccionar columnas',
438
+ [IconAction.VARIABLES]: 'Seleccionar columnas de variables',
439
+ [IconAction.REFRESH]: ({ linked }) => linked('reusable.refresh'),
440
+ [IconAction.EXPAND]: ({ linked }) => linked('reusable.expand'),
441
+ [IconAction.COLLAPSE]: ({ linked }) => linked('reusable.collapse'),
442
+ [IconAction.CLOSE]: ({ linked }) => linked('reusable.close'),
443
+ [IconAction.CLEAR]: ({ linked }) =>
444
+ linked('webitelUI.tableActions.filterReset'),
445
+ [IconAction.ADD_FILTER]: ({ linked }) => linked('reusable.add'),
446
+ [IconAction.SAVE]: ({ linked }) => linked('reusable.save'),
447
+ [IconAction.CANCEL]: ({ linked }) => linked('reusable.cancel'),
448
+ [IconAction.SAVE_PRESET]: ({ linked }) => {
449
+ return `${linked('reusable.save')} ${linked(
450
+ 'webitelUI.filters.presets.preset',
451
+ ).toLowerCase()}`;
452
+ },
453
+ [IconAction.APPLY_PRESET]: ({ linked }) => {
454
+ return `${linked('vocabulary.apply')} ${linked(
455
+ 'webitelUI.filters.presets.preset',
456
+ ).toLowerCase()}`;
457
+ },
458
+ [IconAction.ADD_CONTACT]: ({ linked }) => {
459
+ return `${linked('reusable.add')} contacts`;
460
+ },
461
+ },
266
462
  },
267
463
  errorPages: {
268
- goBack: 'Regresar',
464
+ goBack: 'Volver',
269
465
  page403: {
270
- title: 'Sin acceso',
271
- text: 'Lo sentimos, no tiene suficientes derechos de acceso para ver esta página',
466
+ title: 'Acceso denegado',
467
+ text: 'Lo sentimos, no tienes suficientes privilegios para ver esta página.',
272
468
  },
273
469
  page404: {
274
- title: 'Parece que se ha perdido',
275
- text: 'Lo sentimos, no podemos encontrar lo que está buscando',
470
+ title: 'Parece que estás perdido',
471
+ text: 'Lo sentimos, no podemos encontrar la página que deseas.',
276
472
  },
277
473
  },
278
474
  copyAction: {
279
475
  copy: 'Copiar',
280
- copied: '¡Copiado!',
476
+ copied: '¡Copiado al portapapeles!',
477
+ },
478
+ auditForm: {
479
+ question: 'Criterio',
480
+ option: 'Opción | Opciones',
481
+ score: 'Puntuación | Puntuaciones',
482
+ addQuestion: 'Añadir criterio',
483
+ answerType: 'Tipo de respuesta',
484
+ type: {
485
+ options: 'Opciones',
486
+ score: 'Puntuación',
487
+ },
488
+ clearSelection: 'Limpiar selección',
489
+ },
490
+ deleteConfirmationPopup: {
491
+ title: 'Confirmar eliminación',
492
+ askingAlert:
493
+ '¿Estás seguro de que quieres eliminar {subject}? Esta acción no se puede deshacer.',
494
+ tableAskingAlert:
495
+ '¿Estás seguro de que quieres\n eliminar {count} registro? | ¿Estás seguro de que quieres\n eliminar {count} registros?',
496
+ deleteAll: 'TODO',
497
+ },
498
+ dummy: {
499
+ text: 'Aún no hay registros',
500
+ },
501
+ empty: {
502
+ text: {
503
+ empty: 'Aún no hay registros',
504
+ filters:
505
+ 'Desafortunadamente, ningún registro coincide con tus criterios',
506
+ },
507
+ },
508
+ agentStatusSelect: {
509
+ pauseCausePopup: {
510
+ title: 'Seleccionar una causa de pausa',
511
+ min: 'Min',
512
+ unlimited: 'Ilimitado',
513
+ },
514
+ statusSelectErrorPopup: {
515
+ title: 'Atención',
516
+ message:
517
+ 'Se ha excedido el límite de agentes para tomar una pausa. La pausa no está disponible en este momento.',
518
+ },
519
+ },
520
+ saveFailedPopup: {
521
+ title: 'Error al guardar',
522
+ label: 'Algo salió mal, por favor intenta de nuevo',
523
+ exportToJson: 'Exportar a JSON',
524
+ },
525
+ filters: {
526
+ datetime: {
527
+ [RelativeDatetimeValue.Today]: 'Hoy',
528
+ [RelativeDatetimeValue.ThisWeek]: 'Esta semana',
529
+ [RelativeDatetimeValue.ThisMonth]: 'Este mes',
530
+ [RelativeDatetimeValue.Custom]: 'Rango de fechas personalizado',
531
+ },
532
+ addFilter: ({ linked }) => {
533
+ return `${linked('reusable.add')} un ${linked(
534
+ 'reusable.filter',
535
+ ).toLowerCase()}`;
536
+ },
537
+ filterName: ({ linked }) => {
538
+ return linked('vocabulary.column');
539
+ },
540
+ filterValue: ({ linked }) => {
541
+ return linked('vocabulary.values');
542
+ },
543
+ filterValueFrom: ({ linked }) => {
544
+ const from = linked('reusable.from').toLowerCase();
545
+ return `${linked('vocabulary.values')} ${from}`;
546
+ },
547
+ filterLabel: ({ linked }) => {
548
+ return linked('vocabulary.labels');
549
+ },
550
+ actualReactionTime: ({ linked }) => {
551
+ return linked('cases.actualReactionTime');
552
+ },
553
+ actualResolutionTime: ({ linked }) => {
554
+ return linked('cases.actualResolutionTime');
555
+ },
556
+ agent: ({ linked }) => {
557
+ return linked('objects.agent.agent');
558
+ },
559
+ amdResult: ({ linked }) => {
560
+ return linked('objects.amdResult');
561
+ },
562
+ assignee: ({ linked }) => {
563
+ return linked('cases.assignee');
564
+ },
565
+ author: ({ linked }) => {
566
+ return linked('cases.author');
567
+ },
568
+ cause: ({ linked }) => {
569
+ return linked('objects.hangupCause');
570
+ },
571
+ closeReasonGroups: ({ linked }) => {
572
+ return linked('cases.reason');
573
+ },
574
+ contact: ({ linked }) => {
575
+ return linked('vocabulary.contact');
576
+ },
577
+ contactGroup: ({ linked }) => {
578
+ return linked('cases.groupPerformers');
579
+ },
580
+ createdAt: ({ linked }) => {
581
+ return linked('reusable.createdAt');
582
+ },
583
+ createdAtFrom: ({ linked }) => {
584
+ return linked('reusable.from');
585
+ },
586
+ createdAtTo: ({ linked }) => {
587
+ return linked('reusable.to');
588
+ },
589
+ direction: ({ linked }) => {
590
+ return linked('objects.direction');
591
+ },
592
+ gateway: ({ linked }) => {
593
+ return linked('objects.gateway');
594
+ },
595
+ grantee: ({ linked }) => {
596
+ return linked('objects.grantee');
597
+ },
598
+ hasAttachment: ({ linked }) => {
599
+ return linked('objects.attachment');
600
+ },
601
+ hasFile: ({ linked }) => {
602
+ return linked('objects.hasRecording');
603
+ },
604
+ hasTranscription: ({ linked }) => {
605
+ return linked('objects.transcription');
606
+ },
607
+ hasUser: ({ linked }) => {
608
+ return linked('objects.user');
609
+ },
610
+ impacted: ({ linked }) => {
611
+ return linked('cases.impacted');
612
+ },
613
+ contactLabel: ({ linked }) => {
614
+ return linked('vocabulary.labels');
615
+ },
616
+ contactOwner: ({ linked }) => {
617
+ return linked('objects.owner');
618
+ },
619
+ priority: ({ linked }) => {
620
+ return linked('vocabulary.priority');
621
+ },
622
+ queue: ({ linked }) => {
623
+ return linked('objects.queue.queue');
624
+ },
625
+ rated: 'Calificado',
626
+ ratedBy: ({ linked }) => {
627
+ return linked('objects.ratedBy');
628
+ },
629
+ rating: ({ linked }) => {
630
+ return linked('cases.rating');
631
+ },
632
+ reactionTime: ({ linked }) => {
633
+ return linked('cases.reactionTime');
634
+ },
635
+ reporter: ({ linked }) => {
636
+ return linked('cases.reporter');
637
+ },
638
+ resolutionTime: ({ linked }) => {
639
+ return linked('cases.resolutionTime');
640
+ },
641
+ score: ({ linked }) => {
642
+ return linked('webitelUI.auditForm.score');
643
+ },
644
+ service: ({ linked }) => {
645
+ return linked('cases.service');
646
+ },
647
+ sla: ({ linked }) => {
648
+ return linked('cases.appliedSLA');
649
+ },
650
+ slaCondition: ({ linked }) => {
651
+ return linked('cases.appliedCondition');
652
+ },
653
+ source: ({ linked }) => {
654
+ return linked('cases.source');
655
+ },
656
+ status: ({ linked }) => {
657
+ return linked('cases.status');
658
+ },
659
+ tag: ({ linked }) => {
660
+ return linked('vocabulary.tag');
661
+ },
662
+ talkDuration: ({ linked }) => {
663
+ return linked('objects.talkDuration');
664
+ },
665
+ team: ({ linked }) => {
666
+ return linked('objects.team');
667
+ },
668
+ totalDuration: ({ linked }) => {
669
+ return linked('objects.totalDuration');
670
+ },
671
+ user: ({ linked }) => {
672
+ return linked('objects.user');
673
+ },
674
+ variable: ({ linked }) => {
675
+ return linked('vocabulary.variables');
676
+ },
677
+ presets: {
678
+ preset: 'Preset | Presets',
679
+ overwritePresetTitle: 'Ya existe un preset con este nombre.',
680
+ overwritePresetText: '¿Quieres reemplazarlo?',
681
+ notifications: {
682
+ success: {
683
+ update: ({ linked }) => {
684
+ return linked('systemNotifications.success.update', {
685
+ entity: linked('filters.presets.preset'),
686
+ });
687
+ },
688
+ create: ({ linked }) => {
689
+ return linked('systemNotifications.success.create', {
690
+ entity: linked('filters.presets.preset'),
691
+ });
692
+ },
693
+ delete: ({ linked }) => {
694
+ return linked('systemNotifications.success.delete', {
695
+ entity: linked('filters.presets.preset'),
696
+ });
697
+ },
698
+ },
699
+ },
700
+ },
701
+ },
702
+ },
703
+ systemNotifications: {
704
+ success: {
705
+ update: ({ named }) =>
706
+ `El ${named('entity').toLowerCase()} fue actualizado`,
707
+ create: ({ named }) => `El ${named('entity').toLowerCase()} fue guardado`,
708
+ delete: ({ named }) =>
709
+ `El ${named('entity').toLowerCase()} fue eliminado`,
281
710
  },
282
711
  },
712
+ errorNotifications: {
713
+ chatHistoryApi: 'Hubo un error al cargar el historial del chat',
714
+ markChatProcessed: 'Error al mover el chat a "Cerrado"',
715
+ },
283
716
  };