@buerokratt-ria/common-gui-components 0.0.1

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 (122) hide show
  1. package/.eslintrc.json +18 -0
  2. package/CHANGELOG.md +7 -0
  3. package/MAKING_CHANGES.md +8 -0
  4. package/README.md +49 -0
  5. package/assets/ding.mp3 +0 -0
  6. package/assets/logo-white.svg +29 -0
  7. package/assets/logo.svg +31 -0
  8. package/assets/newMessageSound.mp3 +0 -0
  9. package/constants/config.ts +12 -0
  10. package/constants/index.ts +1 -0
  11. package/context/index.ts +1 -0
  12. package/context/toastContext.tsx +60 -0
  13. package/hooks/index.ts +3 -0
  14. package/hooks/useAudio.tsx +30 -0
  15. package/hooks/useDocumentEscapeListener.tsx +17 -0
  16. package/hooks/useToast.tsx +5 -0
  17. package/i18n.ts +26 -0
  18. package/index.ts +6 -0
  19. package/package.json +122 -0
  20. package/project.json +52 -0
  21. package/services/api.ts +74 -0
  22. package/services/index.ts +3 -0
  23. package/services/sse-service.ts +30 -0
  24. package/services/users.ts +58 -0
  25. package/store/index.ts +253 -0
  26. package/templates/history-page/index.ts +1 -0
  27. package/templates/history-page/src/History.scss +47 -0
  28. package/templates/history-page/src/index.tsx +998 -0
  29. package/templates/history-page/src/unfiyDate.tsx +7 -0
  30. package/translations/en/common.json +467 -0
  31. package/translations/et/common.json +467 -0
  32. package/tsconfig.base.json +21 -0
  33. package/tsconfig.json +17 -0
  34. package/tsconfig.spec.json +19 -0
  35. package/types/authorities.ts +8 -0
  36. package/types/botConfig.ts +7 -0
  37. package/types/chat.ts +126 -0
  38. package/types/customerSupportActivity.ts +5 -0
  39. package/types/deleteChatSettings.ts +9 -0
  40. package/types/emergencyNotice.ts +10 -0
  41. package/types/establishment.ts +4 -0
  42. package/types/index.ts +18 -0
  43. package/types/mainNavigation.ts +11 -0
  44. package/types/message.ts +74 -0
  45. package/types/organizationWorkingTime.ts +27 -0
  46. package/types/router.ts +4 -0
  47. package/types/service.ts +6 -0
  48. package/types/session.ts +7 -0
  49. package/types/skmConfig.ts +8 -0
  50. package/types/user.ts +40 -0
  51. package/types/userInfo.ts +16 -0
  52. package/types/userProfileSettings.ts +10 -0
  53. package/types/widgetConfig.ts +8 -0
  54. package/ui-components/Button/Button.scss +150 -0
  55. package/ui-components/Button/index.tsx +41 -0
  56. package/ui-components/ButtonMessage/ButtonMessage.scss +16 -0
  57. package/ui-components/ButtonMessage/index.tsx +19 -0
  58. package/ui-components/Card/Card.scss +69 -0
  59. package/ui-components/Card/index.tsx +39 -0
  60. package/ui-components/Chat/Chat.scss +447 -0
  61. package/ui-components/Chat/ChatMessage.tsx +270 -0
  62. package/ui-components/Chat/ChatTextArea.scss +110 -0
  63. package/ui-components/Chat/ChatTextArea.tsx +97 -0
  64. package/ui-components/Chat/LoaderOverlay.tsx +39 -0
  65. package/ui-components/Chat/Markdownify.tsx +49 -0
  66. package/ui-components/Chat/PreviewMessage.tsx +39 -0
  67. package/ui-components/Chat/Typing.scss +46 -0
  68. package/ui-components/Chat/index.tsx +1111 -0
  69. package/ui-components/ChatEvent/Chat.scss +40 -0
  70. package/ui-components/ChatEvent/index.tsx +216 -0
  71. package/ui-components/DataTable/CloseIcon.tsx +22 -0
  72. package/ui-components/DataTable/DataTable.scss +188 -0
  73. package/ui-components/DataTable/DeboucedInput.scss +11 -0
  74. package/ui-components/DataTable/DebouncedInput.tsx +54 -0
  75. package/ui-components/DataTable/Filter.tsx +121 -0
  76. package/ui-components/DataTable/index.tsx +432 -0
  77. package/ui-components/Dialog/Dialog.scss +63 -0
  78. package/ui-components/Dialog/index.tsx +44 -0
  79. package/ui-components/Drawer/Drawer.scss +40 -0
  80. package/ui-components/Drawer/index.tsx +42 -0
  81. package/ui-components/FormElements/FormCheckbox/FormCheckbox.scss +57 -0
  82. package/ui-components/FormElements/FormCheckbox/index.tsx +39 -0
  83. package/ui-components/FormElements/FormCheckboxes/FormCheckboxes.scss +63 -0
  84. package/ui-components/FormElements/FormCheckboxes/index.tsx +44 -0
  85. package/ui-components/FormElements/FormDatepicker/FormDatepicker.scss +154 -0
  86. package/ui-components/FormElements/FormDatepicker/index.tsx +123 -0
  87. package/ui-components/FormElements/FormInput/FormInput.scss +90 -0
  88. package/ui-components/FormElements/FormInput/index.tsx +47 -0
  89. package/ui-components/FormElements/FormRadios/FormRadios.scss +72 -0
  90. package/ui-components/FormElements/FormRadios/index.tsx +36 -0
  91. package/ui-components/FormElements/FormSelect/FormMultiselect.tsx +124 -0
  92. package/ui-components/FormElements/FormSelect/FormSelect.scss +121 -0
  93. package/ui-components/FormElements/FormSelect/index.tsx +100 -0
  94. package/ui-components/FormElements/FormTextarea/FormTextarea.scss +109 -0
  95. package/ui-components/FormElements/FormTextarea/index.tsx +154 -0
  96. package/ui-components/FormElements/Switch/Switch.scss +69 -0
  97. package/ui-components/FormElements/Switch/index.tsx +65 -0
  98. package/ui-components/FormElements/SwitchBox/SwitchBox.scss +45 -0
  99. package/ui-components/FormElements/SwitchBox/index.tsx +44 -0
  100. package/ui-components/FormElements/index.tsx +23 -0
  101. package/ui-components/HistoricalChat/ChatMessage.tsx +67 -0
  102. package/ui-components/HistoricalChat/HistoricalChat.scss +225 -0
  103. package/ui-components/HistoricalChat/index.tsx +282 -0
  104. package/ui-components/Icon/Icon.scss +17 -0
  105. package/ui-components/Icon/index.tsx +26 -0
  106. package/ui-components/Label/Label.scss +76 -0
  107. package/ui-components/Label/index.tsx +40 -0
  108. package/ui-components/OptionMessage/OptionMessage.scss +16 -0
  109. package/ui-components/OptionMessage/index.tsx +16 -0
  110. package/ui-components/Toast/Toast.scss +73 -0
  111. package/ui-components/Toast/index.tsx +54 -0
  112. package/ui-components/Tooltip/Tooltip.scss +17 -0
  113. package/ui-components/Tooltip/index.tsx +28 -0
  114. package/ui-components/Track/index.tsx +57 -0
  115. package/ui-components/index.tsx +53 -0
  116. package/utils/constants.ts +19 -0
  117. package/utils/format-bytes.ts +8 -0
  118. package/utils/generateUEID.ts +8 -0
  119. package/utils/local-storage-utils.ts +17 -0
  120. package/utils/parse-utils.ts +23 -0
  121. package/utils/state-management-utils.ts +13 -0
  122. package/vite.config.ts +67 -0
@@ -0,0 +1,7 @@
1
+ export const unifyDateFromat = (originalDate: string): Date | string => {
2
+ const parts = originalDate.split('-');
3
+ if(parts.length !== 3)
4
+ return originalDate;
5
+ const [year, month, day] = parts.map(Number);
6
+ return new Date(year, month - 1, day);
7
+ }
@@ -0,0 +1,467 @@
1
+ {
2
+ "global": {
3
+ "save": "Save",
4
+ "add": "Add",
5
+ "edit": "Edit",
6
+ "delete": "Delete",
7
+ "cancel": "Cancel",
8
+ "modifiedAt": "Last modified at",
9
+ "addNew": "Add new",
10
+ "dependencies": "Dependencies",
11
+ "language": "Language",
12
+ "choose": "Choose",
13
+ "search": "Search",
14
+ "notification": "Notification",
15
+ "notificationError": "Error",
16
+ "notificationErrorMsg": "An error occurred",
17
+ "active": "Active",
18
+ "activate": "Activate",
19
+ "deactivate": "Deactivate",
20
+ "on": "On",
21
+ "off": "Off",
22
+ "back": "Back",
23
+ "from": "From",
24
+ "to": "To",
25
+ "view": "View",
26
+ "resultCount": "Result count",
27
+ "paginationNavigation": "Pagination navigation",
28
+ "gotoPage": "Goto page",
29
+ "name": "Name",
30
+ "idCode": "ID code",
31
+ "status": "Status",
32
+ "statusChangeQuestion": "Would you like to change your status to \"present\"?",
33
+ "yes": "Yes",
34
+ "no": "No",
35
+ "removeValidation": "Are you sure?",
36
+ "startDate": "Start date",
37
+ "endDate": "End date",
38
+ "preview": "Preview",
39
+ "logout": "Logout",
40
+ "anonymous": "Anonymous",
41
+ "csaStatus": "Customer support status",
42
+ "present": "Present",
43
+ "away": "Away",
44
+ "today": "Today",
45
+ "forward": "Forward",
46
+ "chosen": "Chosen",
47
+ "read": "Read"
48
+ },
49
+ "mainMenu": {
50
+ "menuLabel": "Main navigation",
51
+ "closeMenu": "Close menu",
52
+ "openMenu": "Open menu",
53
+ "openIcon": "Open menu icon",
54
+ "closeIcon": "Close menu icon"
55
+ },
56
+ "menu": {
57
+ "conversations": "Conversations",
58
+ "unanswered": "Unanswered",
59
+ "active": "Active",
60
+ "history": "History",
61
+ "training": "Training",
62
+ "themes": "Themes",
63
+ "answers": "Answers",
64
+ "userStories": "User Stories",
65
+ "configuration": "Configuration",
66
+ "forms": "Forms",
67
+ "slots": "Slots",
68
+ "historicalConversations": "Historical Conversations",
69
+ "modelBankAndAnalytics": "Model Bank And Analytics",
70
+ "overviewOfTopics": "Overview Of Topics",
71
+ "comparisonOfModels": "Comparison Of Models",
72
+ "appeals": "Appeals",
73
+ "testTracks": "Test Tracks",
74
+ "trainNewModel": "Train New Model",
75
+ "analytics": "Analytics",
76
+ "settings": "Settings",
77
+ "overview": "Overview",
78
+ "chats": "Chats",
79
+ "burokratt": "Bürokratt",
80
+ "feedback": "Feedback",
81
+ "advisors": "Advisors",
82
+ "reports": "Open Data",
83
+ "users": "Users",
84
+ "administration": "Administration",
85
+ "chatbot": "Chatbot",
86
+ "welcomeMessage": "Welcome Message",
87
+ "appearanceAndBehavior": "Appearance And Behavior",
88
+ "emergencyNotices": "Emergency Notices",
89
+ "officeOpeningHours": "Office Opening Hours",
90
+ "sessionLength": "Session Length",
91
+ "monitoring": "Monitoring",
92
+ "workingHours": "Working hours"
93
+ },
94
+ "chat": {
95
+ "userTyping": "User Typing",
96
+ "chatForwardedTo": "Chat forwarded to",
97
+ "chatEnded": "Chat ended",
98
+ "reply": "Reply",
99
+ "unansweredChats": "Unanswered chats",
100
+ "unanswered": "Unanswered",
101
+ "forwarded": "Forwarded",
102
+ "pending": "Pending",
103
+ "endUser": "End user name",
104
+ "endUserId": "End user id",
105
+ "csaName": "Client support name",
106
+ "endUserEmail": "End User Email",
107
+ "endUserPhoneNumber": "End User Phone",
108
+ "startedAt": "Chat started at",
109
+ "device": "Device",
110
+ "location": "Location",
111
+ "redirectedMessageByOwner": "{{from}} forwarded chat to {{to}} {{date}}",
112
+ "redirectedMessageClaimed": "{{to}} took over chat from {{from}} {{date}}",
113
+ "redirectedMessage": "{{user}} forwarded chat from {{from}} to {{to}} {{date}}",
114
+ "new": "New",
115
+ "inProcess": "In Process",
116
+ "status": {
117
+ "active": "Active",
118
+ "ended": "Unspecified"
119
+ },
120
+ "chatStatus": "Chat status",
121
+ "changeStatus": "Change status",
122
+ "waiting_validation": "Waiting for validation",
123
+ "approved_validation": "Approved Validation",
124
+ "active": {
125
+ "list": "Active chat list",
126
+ "myChats": "My chats",
127
+ "newChats": "New Chats",
128
+ "chooseChat": "Choose a chat to begin",
129
+ "endChat": "End chat",
130
+ "takeOver": "Take Over",
131
+ "askAuthentication": "Ask for authentication",
132
+ "askForContact": "Ask for contact",
133
+ "askPermission": "Ask permission",
134
+ "forwardToColleague": "Forward to colleague",
135
+ "forwardToOrganization": "Forward to organization",
136
+ "startedAt": "Chat started at {{date}}",
137
+ "forwardChat": "Who to forward the chat?",
138
+ "searchByName": "Search by name",
139
+ "onlyActiveAgents": "Show only active client support agents",
140
+ "establishment": "Establishment",
141
+ "searchByEstablishmentName": "Search by establishment name",
142
+ "sendToEmail": "Send to email",
143
+ "chooseChatStatus": "Choose chat status",
144
+ "statusChange": "Chat status change",
145
+ "startService": "Start a service",
146
+ "selectService": "Select a service",
147
+ "start": "Start",
148
+ "service": "Service",
149
+ "ContactedUser": "Contacted User",
150
+ "couldNotReachUser": "Could Not Reach User"
151
+ },
152
+ "history": {
153
+ "title": "History",
154
+ "searchChats": "Search chats",
155
+ "startTime": "Start time",
156
+ "endTime": "End time",
157
+ "csaName": "Customer support name",
158
+ "contact": "Contact",
159
+ "comment": "Comment",
160
+ "label": "Label",
161
+ "nps": "NPS",
162
+ "forwarded": "Forwarded",
163
+ "addACommentToTheConversation": "Add a comment to the conversation",
164
+ "rating": "Rating",
165
+ "feedback": "Feedback",
166
+ "commentAuthor": "Commenter",
167
+ "commentAddedDate": "Comment added date",
168
+ "statusAdder": "Status adder",
169
+ "statusAddedDate": "Status added date",
170
+ "chosenCsa": "Chosen csa(s)",
171
+ "chosenColumn": "Chosen column(s)"
172
+ },
173
+ "plainEvents": {
174
+ "answered": "Answered",
175
+ "terminated": "Unspecified",
176
+ "sent_to_csa_email": "Chat sent to CSA email",
177
+ "client-left": "Client left",
178
+ "client_left_with_accepted": "Client left with accepted response",
179
+ "client_left_with_no_resolution": "Client left with no resolution",
180
+ "client_left_for_unknown_reasons": "Client left for unknown reason",
181
+ "accepted": "Accepted response",
182
+ "hate_speech": "Hate speech",
183
+ "other": "Other reasons",
184
+ "response_sent_to_client_email": "Response was sent to client email",
185
+ "greeting": "Greetings",
186
+ "requested-authentication": "Requested authentication",
187
+ "authentication_successful": "Authentication successful",
188
+ "authentication_failed": "Authentication failed",
189
+ "ask-permission": "Asked permission",
190
+ "ask-permission-accepted": "Permission accepted",
191
+ "ask-permission-rejected": "Permission rejected",
192
+ "ask-permission-ignored": "Permission ignored",
193
+ "rating": "Rating",
194
+ "contact-information": "Requested contact information",
195
+ "contact-information-rejected": "Contact information rejected",
196
+ "contact-information-fulfilled": "Contact information fulfilled",
197
+ "requested-chat-forward": "Requested chat forward",
198
+ "requested-chat-forward-accepted": "Requested chat forward accepted",
199
+ "requested-chat-forward-rejected": "Requested chat forward rejected",
200
+ "inactive-chat-ended": "Ended cue to inactivity",
201
+ "contact-information-skipped": "Contact Information Skipped",
202
+ "unavailable-contact-information-fulfilled": "Contact information provided",
203
+ "unavailable_organization": "Organization is unavailable",
204
+ "unavailable_organization_ask_contacts": "Organization is unavailable and asked for contacts",
205
+ "unavailable_csas": "Advisors are not available",
206
+ "unavailable_csas_ask_contacts": "Advisors are not available and asked for contacts",
207
+ "unavailable_holiday": "Holiday",
208
+ "unavailable_holiday_ask_contacts": "Holiday and asked for contacts",
209
+ "message-read": "Read",
210
+ "user-reached": "User contacted",
211
+ "user-not-reached": "User could not be reached",
212
+ "ask_to_forward_to_csa": "Asked to forward the conversation to a customer service agent",
213
+ "forwarded_to_backoffice": "Conversation forwarded to back office",
214
+ "continue_chatting_with_bot": "Continue conversation with bürokratt"
215
+ },
216
+ "events": {
217
+ "answered": "Answered {{date}}",
218
+ "terminated": "Unspecified {{date}}",
219
+ "sent_to_csa_email": "Chat sent to CSA email {{date}}",
220
+ "client-left": "Client left {{date}}",
221
+ "client_left_with_accepted": "Client left with accepted response {{date}}",
222
+ "client_left_with_no_resolution": "Client left with no resolution {{date}}",
223
+ "client_left_for_unknown_reasons": "Client left for unknown reason {{date}}",
224
+ "accepted": "Accepted response {{date}}",
225
+ "hate_speech": "Hate speech {{date}}",
226
+ "other": "Other reasons {{date}}",
227
+ "response_sent_to_client_email": "Response was sent to client email {{date}}",
228
+ "greeting": "Greetings {{date}}",
229
+ "requested-authentication": "Requested authentication {{date}}",
230
+ "authentication_successful": "Authentication successful {{date}}",
231
+ "authentication_failed": "Authentication failed {{date}}",
232
+ "ask-permission": "Asked permission {{date}}",
233
+ "ask-permission-accepted": "Permission accepted {{date}}",
234
+ "ask-permission-rejected": "Permission rejected {{date}}",
235
+ "ask-permission-ignored": "Permission ignored {{date}}",
236
+ "rating": "Rating {{date}}",
237
+ "contact-information": "Requested contact information {{date}}",
238
+ "contact-information-rejected": "Contact information rejected {{date}}",
239
+ "contact-information-fulfilled": "Contact information fulfilled {{date}}",
240
+ "requested-chat-forward": "Requested chat forward {{date}}",
241
+ "requested-chat-forward-accepted": "Requested chat forward accepted {{date}}",
242
+ "requested-chat-forward-rejected": "Requested chat forward rejected {{date}}",
243
+ "message-read": "Read",
244
+ "read": "Read {{ date }}",
245
+ "contact-information-skipped": "Contact Information Skipped",
246
+ "unavailable-contact-information-fulfilled": "Contact information provided",
247
+ "unavailable_organization": "Organization is unavailable",
248
+ "unavailable_organization_ask_contacts": "Organization is unavailable and asked for contacts",
249
+ "unavailable_csas": "Advisors are not available",
250
+ "unavailable_csas_ask_contacts": "Advisors are not available and asked for contacts",
251
+ "unavailable_holiday": "Holiday",
252
+ "unavailable_holiday_ask_contacts": "Holiday and asked for contacts",
253
+ "pending-assigned": "{{name}} assigned to contact user",
254
+ "user-reached": "{{name}} contacted the user",
255
+ "user-not-reached": "{{name}} could not reach the user",
256
+ "user-authenticated": "{{name}} is authenticated {{date}}",
257
+ "taken-over": "A human took the conversation over",
258
+ "ask_to_forward_to_csa": "Asked to forward the conversation to a customer service agent",
259
+ "forwarded_to_backoffice": "Conversation forwarded to back office",
260
+ "continue_chatting_with_bot": "Continue conversation with bürokratt"
261
+ },
262
+ "validations": {
263
+ "title": "Validations",
264
+ "description": "Responses from the chatbot that require validation before being sent to the end user are displayed here",
265
+ "messageChanged": "Message changed successfully",
266
+ "messageApproved": "Message approved successfully",
267
+ "messageChangeFailed": "Message change failed",
268
+ "confirmAnswer": "Confirm Answer",
269
+ "header": {
270
+ "id": "Id",
271
+ "chatId": "Chat Id",
272
+ "message": "Message",
273
+ "requestedAt": "Requested At",
274
+ "approve": "Approve"
275
+ }
276
+ }
277
+ },
278
+ "deleteConversation": {
279
+ "deletionTime": "Deletion time",
280
+ "deletionNote": "Defines the time after which anonymous messages are automatically deleted.",
281
+ "conversationDeleting": "Conversation deletion",
282
+ "generateCsv": "Generate CSV",
283
+ "periodConversations": "Conversations in period",
284
+ "expiringConversationsRules": "Automatic expiration and deletion rules",
285
+ "showExpiring": "Show expiring conversations",
286
+ "authConversationsRemoval": "Authenticated conversations removal",
287
+ "anonymConversationsDelete": "Anonymous conversations removal",
288
+ "period": "Period",
289
+ "days": "days",
290
+ "oneDay": "1 day",
291
+ "sevenDays": "7 days",
292
+ "thirtyOneDay": "31 day",
293
+ "ninetyDays": "90 days"
294
+ },
295
+ "roles": {
296
+ "ROLE_ADMINISTRATOR": "Administrator",
297
+ "ROLE_SERVICE_MANAGER": "Service manager",
298
+ "ROLE_CUSTOMER_SUPPORT_AGENT": "Customer support",
299
+ "ROLE_CHATBOT_TRAINER": "Chatbot trainer",
300
+ "ROLE_ANALYST": "Analyst",
301
+ "ROLE_UNAUTHENTICATED": "Unauthenticated"
302
+ },
303
+ "settings": {
304
+ "title": "Settings",
305
+ "users": {
306
+ "title": "Users",
307
+ "name": "Name",
308
+ "idCode": "ID code",
309
+ "role": "Role",
310
+ "displayName": "Display Name",
311
+ "userTitle": "User title",
312
+ "email": "E-mail",
313
+ "department": "Department",
314
+ "addUser": "Add user",
315
+ "editUser": "Edit user",
316
+ "deleteUser": "Delete user",
317
+ "fullName": "First- and lastname",
318
+ "userRoles": "User role(s)",
319
+ "autoCorrector": "Auto corrector",
320
+ "emailNotifications": "Notifications to e-mail",
321
+ "soundNotifications": "Sound notifications",
322
+ "popupNotifications": "Popup notifications",
323
+ "newUnansweredChat": "New unanswered chat",
324
+ "newForwardedChat": "New forwarded chat",
325
+ "newValidationMessage": "New message to validate",
326
+ "useAutocorrect": "Text auto corrector",
327
+ "required": "Required",
328
+ "invalidemail": "Invalid email",
329
+ "invalidIdCode": "Invalid Id Code",
330
+ "idCodePlaceholder": "The personal identification number must start with a country prefix, (eg.EE12345678910)",
331
+ "choose": "Choose",
332
+ "userExists": "User Exists",
333
+ "userChangeStatusMessage": "Do you want to change the user status to away?"
334
+ },
335
+ "chat": {
336
+ "chatActive": "Chatbot active",
337
+ "burokrattActive": "Bürokratt active",
338
+ "showSupportName": "Show support name",
339
+ "showSupportTitle": "Show support title",
340
+ "editActiveChat": "Editing active chats",
341
+ "showBurokrattConfirmation": "Do you want to make Bürokrat visible on the website?",
342
+ "hideBurokrattConfirmation": "Do you want to hide the Bureaucrat on the website?"
343
+ },
344
+ "emergencyNotices": {
345
+ "title": "Emergency notices",
346
+ "noticeActive": "Notice active",
347
+ "notice": "Notice",
348
+ "displayPeriod": "Display period",
349
+ "noticeChanged": "Emergency notice settings changed successfully"
350
+ },
351
+ "appearance": {
352
+ "title": "Appearance and behavior",
353
+ "widgetBubbleMessageText": "Widget bubble message text",
354
+ "widgetProactiveSeconds": "Widget proactive seconds",
355
+ "widgetDisplayBubbleMessageSeconds": "Widget bubble message seconds",
356
+ "widgetColor": "Widget color",
357
+ "widgetAnimation": "Widget animation"
358
+ },
359
+ "workingTime": {
360
+ "title": "Organization working time",
361
+ "description": "After the end of the working hours, if the chatbot cannot answer the customer's questions by itself, it will ask for the customer's contact details.",
362
+ "openFrom": "Open from",
363
+ "openUntil": "Open until",
364
+ "publicHolidays": "Consider public holidays",
365
+ "consider": "Consider",
366
+ "dontConsider": "Don't Consider",
367
+ "closedOnWeekends": "Closed on weekends",
368
+ "theSameOnAllWorkingDays": "The same on all working days",
369
+ "open": "Open",
370
+ "closed": "Closed",
371
+ "until": "Until",
372
+ "allWeekdaysExceptWeekend": "M-F",
373
+ "allWeekdays": "M-S",
374
+ "availableAllTime": "Working hours are 24/7",
375
+ "showIfCSAIsNotAvailable": "Send a notification of absence to the client",
376
+ "showIfCSAIsNotAvailableWithContactsRequest": "Send a notification of absence to the client with a contact request",
377
+ "noCsaAvailableMessage": "Notification of the absence of a customer service representative",
378
+ "showIfOrganizationIsOutsideWorkingHours": "Send a notification to the client about the company's outside working hours",
379
+ "showIfOrganizationIsOutsideWorkingHoursWithContactsRequest": "Send a notification to the client about the company's outside working hours with a contact request",
380
+ "outsideWorkingHoursMessage": "Outside working hours message"
381
+ },
382
+ "userSession": {
383
+ "title": "User session",
384
+ "sessionLength": "Session length",
385
+ "description": "User session length, after which inactive users are logged out.",
386
+ "rule": "Session length is allowed between 30 min - 480 min (8h)",
387
+ "minutes": "Minutes",
388
+ "sessionChanged": "Session length changed successfully",
389
+ "emptySession": "Session length can't be empty",
390
+ "invalidSession": "Session length must be between 30 and 480 minuites"
391
+ },
392
+ "greeting": {
393
+ "title": "Greeting message"
394
+ },
395
+ "weekdays": {
396
+ "label": "Weekdays",
397
+ "monday": "Monday",
398
+ "tuesday": "Tuesday",
399
+ "wednesday": "Wednesday",
400
+ "thursday": "Thursday",
401
+ "friday": "Friday",
402
+ "saturday": "Saturday",
403
+ "sunday": "Sunday"
404
+ },
405
+ "nationalHolidays": "National holidays",
406
+ "welcomeMessage": {
407
+ "welcomeMessage": "Welcome Message",
408
+ "description": "The bureaucrat's automatic welcome message that is displayed as the first message when opening a chat window.",
409
+ "greetingActive": "Greeting Active",
410
+ "messageChanged": "Welcome message changed successfully",
411
+ "emptyMessage": "Welcome message can't be empty"
412
+ },
413
+ "skmConfiguration": {
414
+ "title": "SKM Configuration",
415
+ "description": "Here it is possible to set SKM parameters.",
416
+ "range": "Strictness",
417
+ "documents": "Found Documents",
418
+ "systemMessage": "System Instruction",
419
+ "maxTokens": "Maximum Number Of Tokens",
420
+ "indexName": "Index",
421
+ "queryType": "Search Type",
422
+ "semantic": "Semantic",
423
+ "vector": "Vector",
424
+ "simple": "Keyword",
425
+ "vectorSimpleHybrid": "Hybrid (keyword + vector)",
426
+ "vectorSemanticHybrid": "Hybrid + Semantic",
427
+ "tooltip": {
428
+ "range": "Range defines the threshold at which documents are considered relevant to your queries. Increasing the stringency means a higher relevance threshold and filtering out more less relevant documents. However, a very high stringency may cause answers to fail to be generated because there are too few documents available. The default severity level is 3.Possible values: 1 - 5",
429
+ "documents": "This determines the number of highest-scoring documents to use to build answers from your data index. It's worth increasing this value if you have short documents or want to provide more context. The default value is 5.Possible values: 1 - 20",
430
+ "systemMessage": "Give the model instructions and context about how it should behave.",
431
+ "maxTokens": "Set a limit on the number of tokens used in a model response.Possible values: 1 - 2000",
432
+ "indexName": "The name of the index created in Azure.",
433
+ "queryType": "Choose a search type."
434
+ },
435
+ "validation": {
436
+ "range": "Range must be between 1 and 5",
437
+ "documents": "Documents must be between 1 and 20",
438
+ "maxTokens": "Maxmimum number of tokens must be between 1 and 2000",
439
+ "systemMessage": "System message can't be empty"
440
+ }
441
+ }
442
+ },
443
+ "monitoring": {
444
+ "uptime": {
445
+ "title": "Uptime",
446
+ "daysAgo": "{{days}} ago",
447
+ "uptimePercent": "{{percent}}% uptime"
448
+ }
449
+ },
450
+ "toast": {
451
+ "copied": "Copied to clipboard",
452
+ "success": {
453
+ "updateSuccess": "Updated Successfully",
454
+ "messageToUserEmail": "Message sent to user email",
455
+ "chatStatusChanged": "Chat status changed",
456
+ "chatCommentChanged": "Chat comment changed",
457
+ "copied": "Copied",
458
+ "userDeleted": "User deleted",
459
+ "newUserAdded": "New user added",
460
+ "userUpdated": "User updated"
461
+ }
462
+ },
463
+ "notification": {
464
+ "title": "Bürokratt",
465
+ "newMessage": "New message."
466
+ }
467
+ }