Files
crm.clientright.ru/modules/PBXManager/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

58 lines
2.0 KiB
XML

<?xml version='1.0'?>
<schema>
<tables>
<table>
<name>vtiger_pbxmanager</name>
<sql><![CDATA[CREATE TABLE `vtiger_pbxmanager` (
`pbxmanagerid` int(20) NOT NULL AUTO_INCREMENT,
`direction` varchar(10) DEFAULT NULL,
`callstatus` varchar(20) DEFAULT NULL,
`starttime` datetime DEFAULT NULL,
`endtime` datetime DEFAULT NULL,
`totalduration` int(11) DEFAULT NULL,
`billduration` int(11) DEFAULT NULL,
`recordingurl` varchar(200) DEFAULT NULL,
`sourceuuid` varchar(100) DEFAULT NULL,
`gateway` varchar(20) DEFAULT NULL,
`customer` varchar(100) DEFAULT NULL,
`user` varchar(100) DEFAULT NULL,
`customernumber` varchar(100) DEFAULT NULL,
`customertype` varchar(100) DEFAULT NULL,
`incominglinename` varchar(100) DEFAULT NULL,
PRIMARY KEY (`pbxmanagerid`),
KEY `index_sourceuuid` (`sourceuuid`),
KEY `index_pbxmanager_id` (`pbxmanagerid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8]]></sql>
</table>
<table>
<name>vtiger_pbxmanagercf</name>
<sql><![CDATA[CREATE TABLE `vtiger_pbxmanagercf` (
`pbxmanagerid` int(11) NOT NULL,
PRIMARY KEY (`pbxmanagerid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8]]></sql>
</table>
<table>
<name>vtiger_pbxmanager_gateway</name>
<sql><![CDATA[CREATE TABLE `vtiger_pbxmanager_gateway` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`gateway` varchar(20) DEFAULT NULL,
`parameters` text,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8]]></sql>
</table>
<table>
<name>vtiger_pbxmanager_phonelookup</name>
<sql><![CDATA[CREATE TABLE `vtiger_pbxmanager_phonelookup` (
`crmid` int(20) DEFAULT NULL,
`setype` varchar(30) DEFAULT NULL,
`fnumber` varchar(100) DEFAULT NULL,
`rnumber` varchar(100) DEFAULT NULL,
`fieldname` varchar(50) DEFAULT NULL,
UNIQUE KEY `unique_key` (`crmid`,`setype`,`fieldname`),
KEY `index_phone_number` (`fnumber`,`rnumber`),
CONSTRAINT `vtiger_pbxmanager_phonelookup_ibfk_1` FOREIGN KEY (`crmid`) REFERENCES `vtiger_crmentity` (`crmid`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8]]></sql>
</table>
</tables>
</schema>