- 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.
87 lines
2.5 KiB
PHP
87 lines
2.5 KiB
PHP
<?php
|
||
error_reporting(E_ALL);
|
||
ini_set('display_errors', '1');
|
||
|
||
include_once 'include/utils/utils.php';
|
||
|
||
echo jpg2pdf('tmp/333.jpg');
|
||
|
||
/*
|
||
$projectid = 37794;
|
||
$letter_id = 105401;
|
||
require_once 'include/utils/Letters.php';
|
||
//$result = SendLetter($projectid, 'претензионное');
|
||
$result = getDoc($letter_id, 'опись');
|
||
print_r($result);
|
||
*/
|
||
/*
|
||
require_once 'include/utils/utils.php';
|
||
$ticketid = 316383;
|
||
|
||
//echo CopyToS3($ticketid);
|
||
*/
|
||
|
||
|
||
/*
|
||
$projectid = 27220;
|
||
$contactid = 14577;
|
||
|
||
require_once 'include/utils/Debexpert-guzzle.php';
|
||
|
||
//$result = Send2Court($id, 'Dev');
|
||
//$result = json_encode(getOtherDocs($id, 62345));
|
||
//$result = getCourt($contactid, '654032, Новокузнецк, Кемеровская обл. - Кузбасс, ул. Обнорского, д. 22, кв. 64', 284000);
|
||
$result = getClaim($projectid, '217.01');
|
||
|
||
print_r($result);
|
||
*/
|
||
|
||
|
||
|
||
/*
|
||
require_once 'include/utils/utils.php';
|
||
require_once 'include/Webservices/Revise.php';
|
||
require_once 'modules/Users/Users.php';
|
||
require_once 'includes/Loader.php';
|
||
vimport ('includes.runtime.Globals');
|
||
vimport ('includes.runtime.BaseModel');
|
||
vimport ('includes.runtime.LanguageHandler');
|
||
|
||
$number = '34RS0011-201-24-0000229';
|
||
|
||
//echo 'Здесь';
|
||
|
||
$user = Users::getActiveAdminUser(); // Получаем пользователя, под которым будем создавать записи
|
||
*/
|
||
/*
|
||
try {
|
||
$params = array (
|
||
'id' => '33x'.$id,
|
||
'cf_2204' => $number
|
||
);
|
||
vtws_revise($params, $user);
|
||
echo 'Получилось';
|
||
//file_put_contents('send2court.log', date('Y-m-d H:i:s').' - сохранили в Проект рег.номер входящего: '.$number.PHP_EOL, FILE_APPEND);
|
||
} catch (WebserviceException $ex) {
|
||
echo $ex->getMessage();
|
||
//file_put_contents('send2court.log', date('Y-m-d H:i:s').' - не получилось сохранить в Проект рег.номер входящего: '.$ex->getMessage().PHP_EOL, FILE_APPEND);
|
||
}
|
||
|
||
echo 'Тут';
|
||
*/
|
||
/*
|
||
$url = 'https://crm.clientright.ru//shorturl.php?id=65eeaa0f425672.54413377&workflow_id=31&record_id='.$projectid.'®='.$number;
|
||
$ch = curl_init();
|
||
|
||
curl_setopt($ch, CURLOPT_POST, 0);
|
||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
||
curl_setopt($ch, CURLOPT_URL, $url);
|
||
curl_setopt($ch, CURLOPT_HEADER, 0);
|
||
|
||
$out = curl_exec($ch);
|
||
curl_close($ch);
|
||
|
||
file_put_contents('send2court.log', date('Y-m-d H:i:s').' - получили ответ от WD: '.$out.PHP_EOL, FILE_APPEND);
|
||
*/
|
||
|
||
?>
|