@buerokratt-ria/common-gui-components 0.0.53 → 0.0.55

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.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,14 @@ All changes to this project will be documented in this file.
4
4
 
5
5
  ## Template [MajorVersion.MediterraneanVersion.MinorVersion] - DD-MM-YYYY
6
6
 
7
+ ## [0.0.55] - 12.05.2026
8
+
9
+ - Fixed chat history download response typing
10
+
11
+ ## [0.0.54] - 07.05.2026
12
+
13
+ - Remove authenticated person fields for filtering
14
+
7
15
  ## [0.0.53] - 06.05.2026
8
16
 
9
17
  - Removed the Chosen CSA filter from chat history.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buerokratt-ria/common-gui-components",
3
- "version": "0.0.53",
3
+ "version": "0.0.55",
4
4
  "description": "Common GUI components and pre defined templates.",
5
5
  "main": "index.ts",
6
6
  "author": "ExiRai",
@@ -371,9 +371,6 @@ const ChatHistory: FC<PropsWithChildren<HistoryProps>> = ({
371
371
  {label: t('chat.history.startTime'), value: 'created'},
372
372
  {label: t('chat.history.endTime'), value: 'ended'},
373
373
  {label: t('chat.history.csaName'), value: 'customerSupportFullName'},
374
- {label: t('global.name'), value: 'endUserName'},
375
- {label: t('global.idCode'), value: 'endUserId'},
376
- {label: t('chat.history.contact'), value: 'contactsMessage'},
377
374
  {label: t('chat.history.comment'), value: 'comment'},
378
375
  {label: t('chat.history.rating'), value: 'feedbackRating'},
379
376
  {label: t('chat.history.feedback'), value: 'feedbackText'},
@@ -1051,7 +1048,13 @@ const ChatHistory: FC<PropsWithChildren<HistoryProps>> = ({
1051
1048
  : endedChatsColumns.filter((col) => col.id && col.id !== 'detail');
1052
1049
  const columnIds = activeColumns.map((col) => col.id!);
1053
1050
 
1054
- const response = await apiDevEnded.post('chats/ended/download', {
1051
+ const response = await apiDevEnded.post<{
1052
+ readonly response: {
1053
+ readonly data: {
1054
+ readonly url: string;
1055
+ };
1056
+ };
1057
+ }>('chats/ended/download', {
1055
1058
  headers,
1056
1059
  columnIds,
1057
1060
  language: i18n.language,
@@ -1061,8 +1064,7 @@ const ChatHistory: FC<PropsWithChildren<HistoryProps>> = ({
1061
1064
  sorting: sortBy,
1062
1065
  search,
1063
1066
  });
1064
-
1065
- const downloadData = response.data.data ?? response.data;
1067
+ const downloadData = response.data.response.data;
1066
1068
 
1067
1069
  await saveFile(
1068
1070
  downloadData.url,