Files
crm.clientright.ru/modules/ITS4YouMultiCompany/schema.xml
Fedor ac7467f0b4 Major CRM updates: AI Assistant, Court Status API, S3 integration improvements, and extensive file storage system
- Added comprehensive AI Assistant system (aiassist/ directory):
  * Vector search and embedding capabilities
  * Typebot proxy integration
  * Elastic search functionality
  * Message classification and chat history
  * MCP proxy for external integrations

- Implemented Court Status API (GetCourtStatus.php):
  * Real-time court document status checking
  * Integration with external court systems
  * Comprehensive error handling and logging

- Enhanced S3 integration:
  * Improved file backup system with metadata
  * Batch processing capabilities
  * Enhanced error logging and recovery
  * Copy operations with URL fixing

- Added Telegram contact creation API
- Improved error logging across all modules
- Enhanced callback system for AI responses
- Extensive backup file storage with timestamps
- Updated documentation and README files

- File storage improvements:
  * Thousands of backup files with proper metadata
  * Fix operations for broken file references
  * Project-specific backup and recovery systems
  * Comprehensive file integrity checking

Total: 26,461+ files added/modified including AWS SDK, vendor dependencies, and extensive backup system.
2025-10-16 11:17:21 +03:00

92 lines
3.0 KiB
XML

<?xml version='1.0'?>
<schema>
<tables>
<table>
<name>its4you_multicompany4you</name>
<sql><![CDATA[CREATE TABLE IF NOT EXISTS `its4you_multicompany4you` (
`companyid` int(19) NOT NULL,
`companyname` varchar(255) NOT NULL,
`company_no` varchar(32) DEFAULT NULL,
`street` varchar(255) DEFAULT NULL,
`city` varchar(255) DEFAULT NULL,
`code` varchar(255) DEFAULT NULL,
`state` varchar(255) DEFAULT NULL,
`country` varchar(255) DEFAULT NULL,
`phone` varchar(255) DEFAULT NULL,
`fax` varchar(255) DEFAULT NULL,
`email` varchar(255) DEFAULT NULL,
`website` varchar(255) DEFAULT NULL,
`logo` varchar(255) DEFAULT NULL,
`bankname` varchar(255) DEFAULT NULL,
`bankaccountno` varchar(255) DEFAULT NULL,
`iban` varchar(50) DEFAULT NULL,
`swift` varchar(30) DEFAULT NULL,
`registrationno` varchar(255) DEFAULT NULL,
`vatid` varchar(255) DEFAULT NULL,
`taxid` varchar(255) DEFAULT NULL,
`stamp` varchar(255) DEFAULT NULL,
`additionalinformations` text,
`mc_role` varchar(255) DEFAULT NULL,
`deleted` int(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`companyid`),
KEY `deleted` (`deleted`)
) ENGINE=InnoDB]]></sql>
</table>
<table>
<name>its4you_multicompany4youcf</name>
<sql><![CDATA[CREATE TABLE IF NOT EXISTS `its4you_multicompany4youcf` (
`companyid` int(19) NOT NULL,
PRIMARY KEY (`companyid`)
) ENGINE=InnoDB]]></sql>
</table>
<table>
<name>its4you_multicompany4you_seq</name>
<sql><![CDATA[CREATE TABLE IF NOT EXISTS `its4you_multicompany4you_seq` (
`id` int(11) NOT NULL
) ENGINE=InnoDB]]></sql>
</table>
<table>
<name>vtiger_its4youmulticompany_user_field</name>
<sql><![CDATA[CREATE TABLE IF NOT EXISTS `vtiger_its4youmulticompany_user_field` (
`recordid` int(25) NOT NULL,
`userid` int(25) NOT NULL,
`starred` varchar(100) DEFAULT NULL,
KEY `recordid` (`recordid`)
) ENGINE=InnoDB]]></sql>
</table>
<table>
<name>its4you_multicompany4you_version</name>
<sql><![CDATA[CREATE TABLE IF NOT EXISTS `its4you_multicompany4you_version` (
`version` varchar(10) NOT NULL,
`license` varchar(255) NOT NULL,
UNIQUE KEY `version` (`version`)
) ENGINE=InnoDB]]></sql>
</table>
<table>
<name>its4you_multicompany4you_cn</name>
<sql><![CDATA[CREATE TABLE IF NOT EXISTS `its4you_multicompany4you_cn` (
`companyid` int(11) DEFAULT NULL,
`tab_id` int(11) DEFAULT NULL,
`prefix` varchar(50) NOT NULL DEFAULT '',
`start_id` varchar(50) NOT NULL,
`cur_id` varchar(50) NOT NULL,
`active` varchar(2) NOT NULL,
KEY `role_id` (`companyid`,`tab_id`)
) ENGINE=InnoDB]]></sql>
</table>
<table>
<name>its4you_multicompany4you_cn_modules</name>
<sql><![CDATA[CREATE TABLE IF NOT EXISTS `its4you_multicompany4you_cn_modules` (
`tab_id` int(11) DEFAULT NULL
) ENGINE=InnoDB]]></sql>
</table>
<table>
<name>its4you_multicompany4you_tempattachmentid</name>
<sql><![CDATA[CREATE TABLE IF NOT EXISTS `its4you_multicompany4you_tempattachmentid` (
`attachmentsid` int(19) NOT NULL,
`fieldname` varchar(50) NOT NULL
) ENGINE=InnoDB]]></sql>
</table>
</tables>
</schema>