n8n-nodes-zalo-nnt 1.0.2 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +19 -19
- package/README.md +26 -2
- package/dist/credentials/N8nZaloApi.credentials.js +1 -1
- package/dist/credentials/ZaloApi.credentials.js +1 -1
- package/dist/credentials/shared/zalo.svg +10 -10
- package/dist/nodes/ZaloChatHistory/ZaloChatHistory.node.js +1 -1
- package/dist/nodes/ZaloChatHistory/ZaloChatHistory.node.js.map +1 -1
- package/dist/nodes/ZaloChatHistory/ZaloChatHistory.properties.js +1 -1
- package/dist/nodes/ZaloChatHistory/ZaloChatHistory.properties.js.map +1 -1
- package/dist/nodes/ZaloChatHistory/utils/historyProcessor.js +1 -1
- package/dist/nodes/ZaloChatHistory/utils/index.js +1 -1
- package/dist/nodes/ZaloChatHistory/utils/messageParser.js +1 -1
- package/dist/nodes/ZaloChatHistory/utils/types.js +1 -1
- package/dist/nodes/ZaloChatHistory/utils/validator.js +1 -1
- package/dist/nodes/ZaloGroup/ZaloGroup.node.js +1 -1
- package/dist/nodes/ZaloGroup/ZaloGroup.properties.js +1 -1
- package/dist/nodes/ZaloGroup/ZaloGroup.properties.js.map +1 -1
- package/dist/nodes/ZaloGroup/utils/groupProcessor.js +1 -1
- package/dist/nodes/ZaloGroup/utils/index.js +1 -1
- package/dist/nodes/ZaloGroup/utils/types.js +1 -1
- package/dist/nodes/ZaloGroup/utils/validator.js +1 -1
- package/dist/nodes/ZaloLoginByQr/ZaloLoginByQr.node.js +1 -1
- package/dist/nodes/ZaloMessageTrigger/EventFilter.js +1 -1
- package/dist/nodes/ZaloMessageTrigger/EventListenerRegistry.js +1 -1
- package/dist/nodes/ZaloMessageTrigger/EventListenerRegistry.js.map +1 -1
- package/dist/nodes/ZaloMessageTrigger/ZaloConnectionManager.js +1 -1
- package/dist/nodes/ZaloMessageTrigger/ZaloMessageTrigger.node.js +1 -1
- package/dist/nodes/ZaloMessageTrigger/ZaloMessageTrigger.node.js.map +1 -1
- package/dist/nodes/ZaloMessageTrigger/constants.js +1 -1
- package/dist/nodes/ZaloMessageTrigger/types.js +1 -1
- package/dist/nodes/ZaloMessageTrigger/utils.js +1 -1
- package/dist/nodes/ZaloPoll/ZaloPoll.node.js +1 -1
- package/dist/nodes/ZaloPoll/ZaloPollDescription.js +1 -1
- package/dist/nodes/ZaloPoll/ZaloPollDescription.js.map +1 -1
- package/dist/nodes/ZaloReminder/ZaloReminder.node.js +1 -1
- package/dist/nodes/ZaloReminder/ZaloReminder.node.js.map +1 -1
- package/dist/nodes/ZaloReminder/ZaloReminder.properties.js +1 -1
- package/dist/nodes/ZaloReminder/utils/index.js +1 -1
- package/dist/nodes/ZaloReminder/utils/reminderProcessor.js +1 -1
- package/dist/nodes/ZaloReminder/utils/types.js +1 -1
- package/dist/nodes/ZaloReminder/utils/validator.js +1 -1
- package/dist/nodes/ZaloSendMessage/ZaloSendMessage.node.js +1 -1
- package/dist/nodes/ZaloSendMessage/ZaloSendMessage.node.js.map +1 -1
- package/dist/nodes/ZaloSendMessage/ZaloSendMessage.properties.js +1 -1
- package/dist/nodes/ZaloSendMessage/ZaloSendMessage.properties.js.map +1 -1
- package/dist/nodes/ZaloSendMessage/utils/attachmentProcessor.d.ts +20 -1
- package/dist/nodes/ZaloSendMessage/utils/attachmentProcessor.js +1 -1
- package/dist/nodes/ZaloSendMessage/utils/attachmentProcessor.js.map +1 -1
- package/dist/nodes/ZaloSendMessage/utils/index.js +1 -1
- package/dist/nodes/ZaloSendMessage/utils/markdownToZaloStyles.js +1 -1
- package/dist/nodes/ZaloSendMessage/utils/messageBuilder.js +1 -1
- package/dist/nodes/ZaloSendMessage/utils/types.d.ts +5 -2
- package/dist/nodes/ZaloSendMessage/utils/types.js +1 -1
- package/dist/nodes/ZaloSendMessage/utils/validator.js +1 -1
- package/dist/nodes/ZaloTag/ZaloTag.node.js +1 -1
- package/dist/nodes/ZaloUser/ZaloUser.node.js +1 -1
- package/dist/nodes/ZaloUser/ZaloUser.node.js.map +1 -1
- package/dist/nodes/ZaloUser/ZaloUserDescription.js +1 -1
- package/dist/nodes/ZaloUser/ZaloUserDescription.js.map +1 -1
- package/dist/nodes/shared/branding.js +1 -1
- package/dist/nodes/shared/image.svg +1 -0
- package/dist/nodes/utils/helper.d.ts +1 -0
- package/dist/nodes/utils/helper.js +1 -1
- package/dist/nodes/utils/helper.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/LICENSE.md
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
Copyright 2022 n8n
|
|
2
|
-
|
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
4
|
-
this software and associated documentation files (the "Software"), to deal in
|
|
5
|
-
the Software without restriction, including without limitation the rights to
|
|
6
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
7
|
-
of the Software, and to permit persons to whom the Software is furnished to do
|
|
8
|
-
so, subject to the following conditions:
|
|
9
|
-
|
|
10
|
-
The above copyright notice and this permission notice shall be included in all
|
|
11
|
-
copies or substantial portions of the Software.
|
|
12
|
-
|
|
13
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
19
|
-
SOFTWARE.
|
|
1
|
+
Copyright 2022 n8n
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
4
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
5
|
+
the Software without restriction, including without limitation the rights to
|
|
6
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
7
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
8
|
+
so, subject to the following conditions:
|
|
9
|
+
|
|
10
|
+
The above copyright notice and this permission notice shall be included in all
|
|
11
|
+
copies or substantial portions of the Software.
|
|
12
|
+
|
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
19
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -12,7 +12,30 @@ Node dành riêng cho n8n này được thiết kế hoạt động hoàn toàn
|
|
|
12
12
|
|
|
13
13
|
Node này mô phỏng trình duyệt để tương tác trực tiếp với Zalo Web, cho phép tự động hóa liền mạch ngay trong n8n. Đây là dự án mã nguồn mở, mở rộng cơ hội cho cộng đồng cùng đóng góp ý kiến và phát triển thêm các tính năng mới, nhằm xây dựng hệ thống tự động hóa Zalo tiên tiến, hiệu quả và an toàn hơn.
|
|
14
14
|
|
|
15
|
-
## 🎉 Version 1.0.
|
|
15
|
+
## 🎉 Version 1.0.3 - Local File Support
|
|
16
|
+
|
|
17
|
+
### ✨ Tính năng mới
|
|
18
|
+
- **ZaloSendMessage**: Hỗ trợ gửi file từ local server (không cần URL)
|
|
19
|
+
- Thêm 2 loại attachment mới: `Đường dẫn Local` và `Mảng Đường dẫn Local`
|
|
20
|
+
- Tự động tìm file từ nhiều vị trí: đường dẫn tuyệt đối, thư mục n8n (~/.n8n/), hoặc working directory
|
|
21
|
+
- Tích hợp liền mạch với node FTP, HTTP Request, và Read/Write Files from Disk
|
|
22
|
+
- Logging chi tiết để debug đường dẫn file
|
|
23
|
+
|
|
24
|
+
### 🔧 Cải thiện
|
|
25
|
+
- Validation file path thông minh với fallback mechanism
|
|
26
|
+
- Hỗ trợ cả đường dẫn tuyệt đối và tương đối
|
|
27
|
+
- Error messages rõ ràng hơn (hiển thị tất cả đường dẫn đã tìm kiếm)
|
|
28
|
+
- Descriptions và placeholders được cập nhật cho user-friendly
|
|
29
|
+
|
|
30
|
+
### 💡 Use Case
|
|
31
|
+
```
|
|
32
|
+
HTTP Request (download) → Read/Write Files (save to disk) → ZaloSendMessage (send local file)
|
|
33
|
+
FTP Node (download) → ZaloSendMessage (send from file name: {{ $json.fileName }})
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## 🎉 Version 1.0.2 - Maintenance Release
|
|
16
39
|
|
|
17
40
|
### ✅ Thay đổi
|
|
18
41
|
- Cập nhật cấu hình build và tài liệu bảo vệ mã nguồn trong `docs/development/code-protection.md` để chuẩn hoá quy trình build/obfuscate khi phát hành.
|
|
@@ -38,12 +61,13 @@ Package **n8n-nodes-zalo-nnt** hiện cung cấp **9 nodes** với **60+ operati
|
|
|
38
61
|
|
|
39
62
|
#### 1. **ZaloSendMessage** - Gửi tin nhắn đa năng
|
|
40
63
|
- Markdown formatting (**đậm**, *nghiêng*, [red]màu[/red])
|
|
41
|
-
- Gửi nhiều ảnh/file
|
|
64
|
+
- Gửi nhiều ảnh/file: URL, mảng URL, **hoặc đường dẫn local** ⭐ NEW
|
|
42
65
|
- HEIC/HEIF → JPEG auto-conversion
|
|
43
66
|
- Quote reply (trích dẫn tin nhắn)
|
|
44
67
|
- @Mention users (gắn thẻ)
|
|
45
68
|
- Độ ưu tiên: Mặc định, Quan trọng, Khẩn cấp
|
|
46
69
|
- TTL (tự xóa tin nhắn sau X giây)
|
|
70
|
+
- **Local file support**: Gửi trực tiếp từ FTP/HTTP download hoặc Read/Write Files node ⭐ NEW
|
|
47
71
|
|
|
48
72
|
#### 2. **ZaloGroup** - Quản lý nhóm toàn diện (17 ops)
|
|
49
73
|
**5 Resources:**
|