diff --git a/integrations/paradiz-web/dist/paradiz-web-chat-1.0.9.zip b/integrations/paradiz-web/dist/paradiz-web-chat-1.0.9.zip new file mode 100644 index 0000000..ddb310b Binary files /dev/null and b/integrations/paradiz-web/dist/paradiz-web-chat-1.0.9.zip differ diff --git a/integrations/paradiz-web/wordpress-plugin/paradiz-web-chat/chat.js b/integrations/paradiz-web/wordpress-plugin/paradiz-web-chat/chat.js index 342d034..fd23908 100644 --- a/integrations/paradiz-web/wordpress-plugin/paradiz-web-chat/chat.js +++ b/integrations/paradiz-web/wordpress-plugin/paradiz-web-chat/chat.js @@ -113,6 +113,7 @@ const b64 = data?.data?.booking_doc_base64 || ''; const name = data?.data?.booking_doc_name || 'booking.docx'; if(b64){ + addMsg('Лист предварительной брони сформирован. Скачайте файл ниже 👇', 'bot'); const a = document.createElement('a'); a.href = 'data:application/vnd.openxmlformats-officedocument.wordprocessingml.document;base64,' + b64; a.download = name; diff --git a/integrations/paradiz-web/wordpress-plugin/paradiz-web-chat/paradiz-web-chat.php b/integrations/paradiz-web/wordpress-plugin/paradiz-web-chat/paradiz-web-chat.php index 0b07f37..9336863 100644 --- a/integrations/paradiz-web/wordpress-plugin/paradiz-web-chat/paradiz-web-chat.php +++ b/integrations/paradiz-web/wordpress-plugin/paradiz-web-chat/paradiz-web-chat.php @@ -2,7 +2,7 @@ /** * Plugin Name: Paradiz Web Chat * Description: Чат-плагин для сайта vparadize.ru, который отправляет вопросы в изолированного агента OpenClaw paradizweb. - * Version: 1.0.8 + * Version: 1.0.9 * Author: EVA */ @@ -57,7 +57,7 @@ class ParadizWebChat { } public function enqueue_assets() { - wp_register_script('paradiz-web-chat', plugins_url('chat.js', __FILE__), [], '1.0.8', true); + wp_register_script('paradiz-web-chat', plugins_url('chat.js', __FILE__), [], '1.0.9', true); wp_localize_script('paradiz-web-chat', 'ParadizWebChatCfg', [ 'ajaxUrl' => admin_url('admin-ajax.php'), 'nonce' => wp_create_nonce('paradiz_web_chat_nonce')