From c12577f4f83609b960ab556c1b686fc098f77492 Mon Sep 17 00:00:00 2001 From: bsiggel Date: Wed, 11 Mar 2026 18:30:21 +0100 Subject: [PATCH] Add AI Knowledge entity and related localization MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Introduced CAIKnowledge entity with fields for name, description, and relationships to Mietinkasso and Räumungsklage. - Added localization files for CAIKnowledge in multiple languages including English, German, Spanish, and more. - Updated existing JSON files to include references to AI Knowledge where applicable. - Created necessary metadata definitions for client, entity, and record definitions for CAIKnowledge. - Enhanced existing documents and mietinkasso resources to support new AI Knowledge functionality. --- .../Espo/Custom/Controllers/CAIKnowledge.php | 7 ++ .../Resources/i18n/ar_AR/CAIKnowledge.json | 5 + .../Resources/i18n/bg_BG/CAIKnowledge.json | 5 + .../Resources/i18n/cs_CZ/CAIKnowledge.json | 5 + .../Resources/i18n/da_DK/CAIKnowledge.json | 5 + .../Resources/i18n/de_DE/CAIKnowledge.json | 15 +++ .../Resources/i18n/de_DE/CAdvowareAkten.json | 6 +- .../Resources/i18n/de_DE/CDokumente.json | 8 +- .../Resources/i18n/de_DE/CMietinkasso.json | 6 +- .../i18n/de_DE/CVmhRumungsklage.json | 6 +- .../Resources/i18n/el_GR/CAIKnowledge.json | 5 + .../Resources/i18n/en_GB/CAIKnowledge.json | 1 + .../Resources/i18n/en_US/CAIKnowledge.json | 15 +++ .../Resources/i18n/en_US/CAdvowareAkten.json | 6 +- .../Resources/i18n/en_US/CDokumente.json | 8 +- .../Resources/i18n/en_US/CMietinkasso.json | 6 +- .../i18n/en_US/CVmhRumungsklage.json | 6 +- .../Custom/Resources/i18n/en_US/Global.json | 6 +- .../Resources/i18n/es_ES/CAIKnowledge.json | 5 + .../Resources/i18n/es_MX/CAIKnowledge.json | 5 + .../Resources/i18n/fa_IR/CAIKnowledge.json | 5 + .../Resources/i18n/fr_FR/CAIKnowledge.json | 5 + .../Resources/i18n/hr_HR/CAIKnowledge.json | 5 + .../Resources/i18n/hu_HU/CAIKnowledge.json | 5 + .../Resources/i18n/id_ID/CAIKnowledge.json | 5 + .../Resources/i18n/it_IT/CAIKnowledge.json | 5 + .../Resources/i18n/ja_JP/CAIKnowledge.json | 5 + .../Resources/i18n/lt_LT/CAIKnowledge.json | 5 + .../Resources/i18n/lv_LV/CAIKnowledge.json | 5 + .../Resources/i18n/nb_NO/CAIKnowledge.json | 5 + .../Resources/i18n/nl_NL/CAIKnowledge.json | 5 + .../Resources/i18n/pl_PL/CAIKnowledge.json | 5 + .../Resources/i18n/pt_BR/CAIKnowledge.json | 5 + .../Resources/i18n/pt_PT/CAIKnowledge.json | 5 + .../Resources/i18n/ro_RO/CAIKnowledge.json | 5 + .../Resources/i18n/ru_RU/CAIKnowledge.json | 5 + .../Resources/i18n/sk_SK/CAIKnowledge.json | 5 + .../Resources/i18n/sl_SI/CAIKnowledge.json | 5 + .../Resources/i18n/sr_RS/CAIKnowledge.json | 5 + .../Resources/i18n/sv_SE/CAIKnowledge.json | 5 + .../Resources/i18n/th_TH/CAIKnowledge.json | 5 + .../Resources/i18n/tr_TR/CAIKnowledge.json | 5 + .../Resources/i18n/uk_UA/CAIKnowledge.json | 5 + .../Resources/i18n/ur_IN/CAIKnowledge.json | 5 + .../Resources/i18n/vi_VN/CAIKnowledge.json | 5 + .../Resources/i18n/zh_CN/CAIKnowledge.json | 5 + .../Resources/i18n/zh_TW/CAIKnowledge.json | 5 + .../metadata/clientDefs/CAIKnowledge.json | 20 +++ .../metadata/clientDefs/CAdvowareAkten.json | 4 + .../metadata/clientDefs/CDokumente.json | 8 ++ .../metadata/clientDefs/CMietinkasso.json | 4 + .../metadata/clientDefs/CVmhRumungsklage.json | 4 + .../metadata/clientDefs/Document.json | 8 ++ .../metadata/entityDefs/CAIKnowledge.json | 115 ++++++++++++++++++ .../metadata/entityDefs/CAdvowareAkten.json | 8 ++ .../metadata/entityDefs/CDokumente.json | 16 +++ .../metadata/entityDefs/CMietinkasso.json | 9 ++ .../metadata/entityDefs/CVmhRumungsklage.json | 9 ++ .../metadata/recordDefs/CAIKnowledge.json | 3 + .../metadata/scopes/CAIKnowledge.json | 23 ++++ data/config.php | 5 +- data/state.php | 4 +- 62 files changed, 484 insertions(+), 22 deletions(-) create mode 100644 custom/Espo/Custom/Controllers/CAIKnowledge.php create mode 100644 custom/Espo/Custom/Resources/i18n/ar_AR/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/bg_BG/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/cs_CZ/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/da_DK/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/de_DE/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/el_GR/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/en_GB/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/en_US/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/es_ES/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/es_MX/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/fa_IR/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/fr_FR/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/hr_HR/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/hu_HU/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/id_ID/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/it_IT/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/ja_JP/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/lt_LT/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/lv_LV/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/nb_NO/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/nl_NL/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/pl_PL/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/pt_BR/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/pt_PT/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/ro_RO/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/ru_RU/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/sk_SK/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/sl_SI/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/sr_RS/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/sv_SE/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/th_TH/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/tr_TR/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/uk_UA/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/ur_IN/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/vi_VN/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/zh_CN/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/i18n/zh_TW/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/metadata/clientDefs/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/metadata/clientDefs/Document.json create mode 100644 custom/Espo/Custom/Resources/metadata/entityDefs/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/metadata/recordDefs/CAIKnowledge.json create mode 100644 custom/Espo/Custom/Resources/metadata/scopes/CAIKnowledge.json diff --git a/custom/Espo/Custom/Controllers/CAIKnowledge.php b/custom/Espo/Custom/Controllers/CAIKnowledge.php new file mode 100644 index 00000000..a8c37d61 --- /dev/null +++ b/custom/Espo/Custom/Controllers/CAIKnowledge.php @@ -0,0 +1,7 @@ + 'GlobalStream', 35 => 'Report', 36 => 'CCallQueues', - 37 => 'CAdvowareAkten' + 37 => 'CAdvowareAkten', + 38 => 'CAIKnowledge' ], 'quickCreateList' => [ 0 => 'Account', @@ -359,7 +360,7 @@ return [ 0 => 'youtube.com', 1 => 'google.com' ], - 'microtime' => 1773222220.428071, + 'microtime' => 1773250203.282224, 'siteUrl' => 'https://crm.bitbylaw.com', 'fullTextSearchMinLength' => 4, 'webSocketUrl' => 'ws://api.bitbylaw.com:5000/espocrm/ws', diff --git a/data/state.php b/data/state.php index dc148e8b..5e3c5576 100644 --- a/data/state.php +++ b/data/state.php @@ -1,7 +1,7 @@ 1773222301, - 'microtimeState' => 1773222301.316095, + 'cacheTimestamp' => 1773250203, + 'microtimeState' => 1773250203.473008, 'currencyRates' => [ 'EUR' => 1.0 ],