@renatoascencio/n8n-nodes-chatwoot 0.2.0 → 0.4.0
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/README.md +248 -9
- package/dist/credentials/ChatwootPlatformApi.credentials.d.ts +9 -0
- package/dist/credentials/ChatwootPlatformApi.credentials.js +49 -0
- package/dist/credentials/ChatwootPlatformApi.credentials.js.map +1 -0
- package/dist/credentials/ChatwootPublicApi.credentials.d.ts +7 -0
- package/dist/credentials/ChatwootPublicApi.credentials.js +31 -0
- package/dist/credentials/ChatwootPublicApi.credentials.js.map +1 -0
- package/dist/nodes/Chatwoot/Chatwoot.node.d.ts +4 -1
- package/dist/nodes/Chatwoot/Chatwoot.node.js +807 -12
- package/dist/nodes/Chatwoot/Chatwoot.node.js.map +1 -1
- package/dist/nodes/Chatwoot/GenericFunctions.d.ts +14 -0
- package/dist/nodes/Chatwoot/GenericFunctions.js +170 -0
- package/dist/nodes/Chatwoot/GenericFunctions.js.map +1 -1
- package/dist/nodes/Chatwoot/chatwoot.svg +4 -11
- package/dist/nodes/Chatwoot/resources/accountAgentBot/create.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/accountAgentBot/create.operation.js +63 -0
- package/dist/nodes/Chatwoot/resources/accountAgentBot/create.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/accountAgentBot/delete.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/accountAgentBot/delete.operation.js +34 -0
- package/dist/nodes/Chatwoot/resources/accountAgentBot/delete.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/accountAgentBot/get.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/accountAgentBot/get.operation.js +34 -0
- package/dist/nodes/Chatwoot/resources/accountAgentBot/get.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/accountAgentBot/getAll.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/accountAgentBot/getAll.operation.js +20 -0
- package/dist/nodes/Chatwoot/resources/accountAgentBot/getAll.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/accountAgentBot/index.d.ts +3 -0
- package/dist/nodes/Chatwoot/resources/accountAgentBot/index.js +60 -0
- package/dist/nodes/Chatwoot/resources/accountAgentBot/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/accountAgentBot/update.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/accountAgentBot/update.operation.js +70 -0
- package/dist/nodes/Chatwoot/resources/accountAgentBot/update.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/accountUser/create.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/accountUser/create.operation.js +52 -0
- package/dist/nodes/Chatwoot/resources/accountUser/create.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/accountUser/delete.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/accountUser/delete.operation.js +34 -0
- package/dist/nodes/Chatwoot/resources/accountUser/delete.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/accountUser/getAll.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/accountUser/getAll.operation.js +20 -0
- package/dist/nodes/Chatwoot/resources/accountUser/getAll.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/accountUser/index.d.ts +3 -0
- package/dist/nodes/Chatwoot/resources/accountUser/index.js +44 -0
- package/dist/nodes/Chatwoot/resources/accountUser/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/agentBot/index.d.ts +3 -0
- package/dist/nodes/Chatwoot/resources/agentBot/index.js +143 -0
- package/dist/nodes/Chatwoot/resources/agentBot/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/auditLog/getAll.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/auditLog/getAll.operation.js +76 -0
- package/dist/nodes/Chatwoot/resources/auditLog/getAll.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/auditLog/index.d.ts +3 -0
- package/dist/nodes/Chatwoot/resources/auditLog/index.js +26 -0
- package/dist/nodes/Chatwoot/resources/auditLog/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/automationRule/index.d.ts +3 -0
- package/dist/nodes/Chatwoot/resources/automationRule/index.js +205 -0
- package/dist/nodes/Chatwoot/resources/automationRule/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/contact/addLabels.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/contact/addLabels.operation.js +36 -0
- package/dist/nodes/Chatwoot/resources/contact/addLabels.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/contact/filter.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/contact/filter.operation.js +51 -0
- package/dist/nodes/Chatwoot/resources/contact/filter.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/contact/index.js +24 -0
- package/dist/nodes/Chatwoot/resources/contact/index.js.map +1 -1
- package/dist/nodes/Chatwoot/resources/contact/listLabels.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/contact/listLabels.operation.js +20 -0
- package/dist/nodes/Chatwoot/resources/contact/listLabels.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/conversation/create.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/conversation/create.operation.js +92 -0
- package/dist/nodes/Chatwoot/resources/conversation/create.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/conversation/filter.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/conversation/filter.operation.js +51 -0
- package/dist/nodes/Chatwoot/resources/conversation/filter.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/conversation/getMeta.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/conversation/getMeta.operation.js +55 -0
- package/dist/nodes/Chatwoot/resources/conversation/getMeta.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/conversation/index.js +56 -0
- package/dist/nodes/Chatwoot/resources/conversation/index.js.map +1 -1
- package/dist/nodes/Chatwoot/resources/conversation/listLabels.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/conversation/listLabels.operation.js +20 -0
- package/dist/nodes/Chatwoot/resources/conversation/listLabels.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/conversation/togglePriority.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/conversation/togglePriority.operation.js +41 -0
- package/dist/nodes/Chatwoot/resources/conversation/togglePriority.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/conversation/update.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/conversation/update.operation.js +56 -0
- package/dist/nodes/Chatwoot/resources/conversation/update.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/conversation/updateCustomAttributes.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/conversation/updateCustomAttributes.operation.js +34 -0
- package/dist/nodes/Chatwoot/resources/conversation/updateCustomAttributes.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/csatSurvey/get.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/csatSurvey/get.operation.js +20 -0
- package/dist/nodes/Chatwoot/resources/csatSurvey/get.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/csatSurvey/index.d.ts +3 -0
- package/dist/nodes/Chatwoot/resources/csatSurvey/index.js +26 -0
- package/dist/nodes/Chatwoot/resources/csatSurvey/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/customFilter/index.d.ts +3 -0
- package/dist/nodes/Chatwoot/resources/customFilter/index.js +139 -0
- package/dist/nodes/Chatwoot/resources/customFilter/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/helpCenter/createArticle.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/helpCenter/createArticle.operation.js +113 -0
- package/dist/nodes/Chatwoot/resources/helpCenter/createArticle.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/helpCenter/createCategory.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/helpCenter/createCategory.operation.js +91 -0
- package/dist/nodes/Chatwoot/resources/helpCenter/createCategory.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/helpCenter/createPortal.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/helpCenter/createPortal.operation.js +84 -0
- package/dist/nodes/Chatwoot/resources/helpCenter/createPortal.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/helpCenter/getPortal.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/helpCenter/getPortal.operation.js +20 -0
- package/dist/nodes/Chatwoot/resources/helpCenter/getPortal.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/helpCenter/index.d.ts +3 -0
- package/dist/nodes/Chatwoot/resources/helpCenter/index.js +60 -0
- package/dist/nodes/Chatwoot/resources/helpCenter/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/helpCenter/updatePortal.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/helpCenter/updatePortal.operation.js +77 -0
- package/dist/nodes/Chatwoot/resources/helpCenter/updatePortal.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/inbox/addAgent.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/inbox/addAgent.operation.js +34 -0
- package/dist/nodes/Chatwoot/resources/inbox/addAgent.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/inbox/create.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/inbox/create.operation.js +110 -0
- package/dist/nodes/Chatwoot/resources/inbox/create.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/inbox/deleteAgent.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/inbox/deleteAgent.operation.js +34 -0
- package/dist/nodes/Chatwoot/resources/inbox/deleteAgent.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/inbox/getAgentBot.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/inbox/getAgentBot.operation.js +20 -0
- package/dist/nodes/Chatwoot/resources/inbox/getAgentBot.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/inbox/getMembers.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/inbox/getMembers.operation.js +20 -0
- package/dist/nodes/Chatwoot/resources/inbox/getMembers.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/inbox/index.js +48 -0
- package/dist/nodes/Chatwoot/resources/inbox/index.js.map +1 -1
- package/dist/nodes/Chatwoot/resources/inbox/setAgentBot.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/inbox/setAgentBot.operation.js +36 -0
- package/dist/nodes/Chatwoot/resources/inbox/setAgentBot.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/integration/createHook.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/integration/createHook.operation.js +47 -0
- package/dist/nodes/Chatwoot/resources/integration/createHook.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/integration/deleteHook.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/integration/deleteHook.operation.js +34 -0
- package/dist/nodes/Chatwoot/resources/integration/deleteHook.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/integration/getAll.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/integration/getAll.operation.js +5 -0
- package/dist/nodes/Chatwoot/resources/integration/getAll.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/integration/index.d.ts +3 -0
- package/dist/nodes/Chatwoot/resources/integration/index.js +52 -0
- package/dist/nodes/Chatwoot/resources/integration/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/integration/updateHook.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/integration/updateHook.operation.js +47 -0
- package/dist/nodes/Chatwoot/resources/integration/updateHook.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/message/delete.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/message/delete.operation.js +34 -0
- package/dist/nodes/Chatwoot/resources/message/delete.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/message/index.js +20 -1
- package/dist/nodes/Chatwoot/resources/message/index.js.map +1 -1
- package/dist/nodes/Chatwoot/resources/message/update.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/message/update.operation.js +51 -0
- package/dist/nodes/Chatwoot/resources/message/update.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/platformAccount/create.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/platformAccount/create.operation.js +56 -0
- package/dist/nodes/Chatwoot/resources/platformAccount/create.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/platformAccount/delete.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/platformAccount/delete.operation.js +20 -0
- package/dist/nodes/Chatwoot/resources/platformAccount/delete.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/platformAccount/get.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/platformAccount/get.operation.js +20 -0
- package/dist/nodes/Chatwoot/resources/platformAccount/get.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/platformAccount/index.d.ts +3 -0
- package/dist/nodes/Chatwoot/resources/platformAccount/index.js +52 -0
- package/dist/nodes/Chatwoot/resources/platformAccount/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/platformAccount/update.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/platformAccount/update.operation.js +63 -0
- package/dist/nodes/Chatwoot/resources/platformAccount/update.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/platformUser/create.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/platformUser/create.operation.js +67 -0
- package/dist/nodes/Chatwoot/resources/platformUser/create.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/platformUser/delete.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/platformUser/delete.operation.js +20 -0
- package/dist/nodes/Chatwoot/resources/platformUser/delete.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/platformUser/get.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/platformUser/get.operation.js +20 -0
- package/dist/nodes/Chatwoot/resources/platformUser/get.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/platformUser/getSsoUrl.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/platformUser/getSsoUrl.operation.js +20 -0
- package/dist/nodes/Chatwoot/resources/platformUser/getSsoUrl.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/platformUser/index.d.ts +3 -0
- package/dist/nodes/Chatwoot/resources/platformUser/index.js +60 -0
- package/dist/nodes/Chatwoot/resources/platformUser/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/platformUser/update.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/platformUser/update.operation.js +66 -0
- package/dist/nodes/Chatwoot/resources/platformUser/update.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/profile/fetch.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/profile/fetch.operation.js +5 -0
- package/dist/nodes/Chatwoot/resources/profile/fetch.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/profile/index.d.ts +3 -0
- package/dist/nodes/Chatwoot/resources/profile/index.js +26 -0
- package/dist/nodes/Chatwoot/resources/profile/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/publicContact/create.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/publicContact/create.operation.js +63 -0
- package/dist/nodes/Chatwoot/resources/publicContact/create.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/publicContact/get.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/publicContact/get.operation.js +20 -0
- package/dist/nodes/Chatwoot/resources/publicContact/get.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/publicContact/index.d.ts +3 -0
- package/dist/nodes/Chatwoot/resources/publicContact/index.js +44 -0
- package/dist/nodes/Chatwoot/resources/publicContact/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/publicContact/update.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/publicContact/update.operation.js +70 -0
- package/dist/nodes/Chatwoot/resources/publicContact/update.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/publicConversation/create.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/publicConversation/create.operation.js +42 -0
- package/dist/nodes/Chatwoot/resources/publicConversation/create.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/publicConversation/get.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/publicConversation/get.operation.js +34 -0
- package/dist/nodes/Chatwoot/resources/publicConversation/get.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/publicConversation/getAll.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/publicConversation/getAll.operation.js +20 -0
- package/dist/nodes/Chatwoot/resources/publicConversation/getAll.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/publicConversation/index.d.ts +3 -0
- package/dist/nodes/Chatwoot/resources/publicConversation/index.js +68 -0
- package/dist/nodes/Chatwoot/resources/publicConversation/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/publicConversation/resolve.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/publicConversation/resolve.operation.js +34 -0
- package/dist/nodes/Chatwoot/resources/publicConversation/resolve.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/publicConversation/toggleTyping.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/publicConversation/toggleTyping.operation.js +52 -0
- package/dist/nodes/Chatwoot/resources/publicConversation/toggleTyping.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/publicConversation/updateLastSeen.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/publicConversation/updateLastSeen.operation.js +34 -0
- package/dist/nodes/Chatwoot/resources/publicConversation/updateLastSeen.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/publicMessage/create.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/publicMessage/create.operation.js +73 -0
- package/dist/nodes/Chatwoot/resources/publicMessage/create.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/publicMessage/getAll.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/publicMessage/getAll.operation.js +34 -0
- package/dist/nodes/Chatwoot/resources/publicMessage/getAll.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/publicMessage/index.d.ts +3 -0
- package/dist/nodes/Chatwoot/resources/publicMessage/index.js +44 -0
- package/dist/nodes/Chatwoot/resources/publicMessage/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/publicMessage/update.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/publicMessage/update.operation.js +65 -0
- package/dist/nodes/Chatwoot/resources/publicMessage/update.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/report/index.d.ts +3 -0
- package/dist/nodes/Chatwoot/resources/report/index.js +155 -0
- package/dist/nodes/Chatwoot/resources/report/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/team/addAgent.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/team/addAgent.operation.js +34 -0
- package/dist/nodes/Chatwoot/resources/team/addAgent.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/team/deleteAgent.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/team/deleteAgent.operation.js +34 -0
- package/dist/nodes/Chatwoot/resources/team/deleteAgent.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/team/getMembers.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/team/getMembers.operation.js +20 -0
- package/dist/nodes/Chatwoot/resources/team/getMembers.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/team/index.js +32 -0
- package/dist/nodes/Chatwoot/resources/team/index.js.map +1 -1
- package/dist/nodes/Chatwoot/resources/team/updateAgents.operation.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/team/updateAgents.operation.js +34 -0
- package/dist/nodes/Chatwoot/resources/team/updateAgents.operation.js.map +1 -0
- package/dist/nodes/Chatwoot/types.d.ts +19 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -17,11 +17,14 @@ A comprehensive n8n community node for [Chatwoot](https://www.chatwoot.com/) - t
|
|
|
17
17
|
|
|
18
18
|
## Highlights
|
|
19
19
|
|
|
20
|
-
- **
|
|
21
|
-
- **
|
|
20
|
+
- **27 Resources** - Comprehensive coverage of Application, Platform, and Public APIs
|
|
21
|
+
- **130+ Operations** - Complete CRUD operations for all resources
|
|
22
|
+
- **3 API Types** - Application API, Platform API, and Public API support
|
|
22
23
|
- **Trigger Node** - Real-time webhook events from Chatwoot
|
|
23
24
|
- **Dynamic Dropdowns** - Auto-populated lists for agents, teams, inboxes, and labels
|
|
24
25
|
- **Smart Pagination** - Automatic handling with "Return All" option
|
|
26
|
+
- **Reports & Analytics** - Access conversation and agent statistics
|
|
27
|
+
- **Help Center** - Manage portals, categories, and articles
|
|
25
28
|
- **Detailed Error Messages** - Clear feedback for troubleshooting
|
|
26
29
|
|
|
27
30
|
---
|
|
@@ -80,7 +83,11 @@ docker restart n8n
|
|
|
80
83
|
|
|
81
84
|
## Configuration
|
|
82
85
|
|
|
83
|
-
|
|
86
|
+
This node supports three types of credentials for different API access levels:
|
|
87
|
+
|
|
88
|
+
### 1. Chatwoot API (Application API)
|
|
89
|
+
|
|
90
|
+
Used for most operations - managing conversations, contacts, messages, teams, etc.
|
|
84
91
|
|
|
85
92
|
1. In n8n, go to **Credentials > Add Credential**
|
|
86
93
|
2. Search for **Chatwoot API**
|
|
@@ -92,15 +99,32 @@ docker restart n8n
|
|
|
92
99
|
| **Account ID** | Your Chatwoot account ID | Found in URL: `/app/accounts/1/...` |
|
|
93
100
|
| **API Access Token** | Your personal API token | Found in Profile Settings |
|
|
94
101
|
|
|
95
|
-
|
|
96
|
-
|
|
102
|
+
**Getting Your API Access Token:**
|
|
97
103
|
1. Log in to Chatwoot
|
|
98
104
|
2. Click your **profile icon** (bottom left)
|
|
99
105
|
3. Go to **Profile Settings**
|
|
100
106
|
4. Scroll to **Access Token**
|
|
101
107
|
5. Copy or regenerate your token
|
|
102
108
|
|
|
103
|
-
|
|
109
|
+
### 2. Chatwoot Platform API
|
|
110
|
+
|
|
111
|
+
Used for platform-level operations - managing accounts, platform users, and account agent bots. Requires super admin access.
|
|
112
|
+
|
|
113
|
+
| Field | Description | Example |
|
|
114
|
+
|-------|-------------|---------|
|
|
115
|
+
| **Base URL** | Your Chatwoot instance URL | `https://app.chatwoot.com` |
|
|
116
|
+
| **Platform API Token** | Super admin platform token | Found in Super Admin settings |
|
|
117
|
+
|
|
118
|
+
### 3. Chatwoot Public API
|
|
119
|
+
|
|
120
|
+
Used for client-side/widget operations - creating contacts and conversations from external sources.
|
|
121
|
+
|
|
122
|
+
| Field | Description | Example |
|
|
123
|
+
|-------|-------------|---------|
|
|
124
|
+
| **Base URL** | Your Chatwoot instance URL | `https://app.chatwoot.com` |
|
|
125
|
+
| **Inbox Identifier** | The unique identifier for your inbox | Found in inbox settings (e.g., `abc123xyz`) |
|
|
126
|
+
|
|
127
|
+
> **Note**: Keep your API tokens secure. They provide access to your Chatwoot account.
|
|
104
128
|
|
|
105
129
|
---
|
|
106
130
|
|
|
@@ -108,7 +132,10 @@ docker restart n8n
|
|
|
108
132
|
|
|
109
133
|
### Chatwoot Node
|
|
110
134
|
|
|
111
|
-
The main node for interacting with
|
|
135
|
+
The main node for interacting with Chatwoot APIs. Supports 27 resources across three API types:
|
|
136
|
+
- **Application API** (20 resources) - Core operations for conversations, contacts, messages, etc.
|
|
137
|
+
- **Platform API** (4 resources) - Admin operations for accounts, users, and agent bots
|
|
138
|
+
- **Public API** (3 resources) - Client-side operations for widgets and external integrations
|
|
112
139
|
|
|
113
140
|
### Chatwoot Trigger
|
|
114
141
|
|
|
@@ -173,6 +200,9 @@ Full contact management with search and merge capabilities.
|
|
|
173
200
|
| **Search** | Find contacts by name, email, phone, or identifier |
|
|
174
201
|
| **Get Conversations** | List all conversations for a contact |
|
|
175
202
|
| **Merge** | Merge two contacts into one |
|
|
203
|
+
| **Filter** | Filter contacts with advanced criteria |
|
|
204
|
+
| **Add Labels** | Add labels to a contact |
|
|
205
|
+
| **List Labels** | Get all labels for a contact |
|
|
176
206
|
|
|
177
207
|
### Conversation
|
|
178
208
|
|
|
@@ -182,9 +212,16 @@ Manage customer conversations with assignment and labeling.
|
|
|
182
212
|
|-----------|-------------|
|
|
183
213
|
| **Get** | Get a single conversation with full details |
|
|
184
214
|
| **Get Many** | List conversations with filters (status, inbox, team, labels, search) |
|
|
215
|
+
| **Create** | Create a new conversation |
|
|
185
216
|
| **Update Status** | Change status to open, resolved, pending, or snoozed |
|
|
217
|
+
| **Update** | Update conversation (custom attributes, team, etc.) |
|
|
186
218
|
| **Assign** | Assign to an agent or team (with dynamic dropdowns) |
|
|
187
219
|
| **Add Labels** | Set labels on a conversation |
|
|
220
|
+
| **List Labels** | Get all labels for a conversation |
|
|
221
|
+
| **Toggle Priority** | Set conversation priority (urgent, high, medium, low, none) |
|
|
222
|
+
| **Filter** | Filter conversations with advanced criteria |
|
|
223
|
+
| **Update Custom Attributes** | Set custom attributes on conversation |
|
|
224
|
+
| **Get Meta** | Get conversation metadata |
|
|
188
225
|
|
|
189
226
|
### Custom Attribute
|
|
190
227
|
|
|
@@ -206,7 +243,13 @@ Manage communication channels.
|
|
|
206
243
|
|-----------|-------------|
|
|
207
244
|
| **Get Many** | List all inboxes |
|
|
208
245
|
| **Get** | Get inbox details |
|
|
246
|
+
| **Create** | Create a new inbox |
|
|
209
247
|
| **Update** | Modify inbox settings (name, greeting, auto-assignment, etc.) |
|
|
248
|
+
| **Add Agent** | Add an agent to an inbox |
|
|
249
|
+
| **Delete Agent** | Remove an agent from an inbox |
|
|
250
|
+
| **Get Members** | List inbox members |
|
|
251
|
+
| **Get Agent Bot** | Get associated agent bot |
|
|
252
|
+
| **Set Agent Bot** | Associate an agent bot with inbox |
|
|
210
253
|
|
|
211
254
|
### Label
|
|
212
255
|
|
|
@@ -227,6 +270,8 @@ Send and retrieve messages in conversations.
|
|
|
227
270
|
|-----------|-------------|
|
|
228
271
|
| **Create** | Send a message (supports private notes) |
|
|
229
272
|
| **Get Many** | Retrieve message history with cursor-based pagination |
|
|
273
|
+
| **Update** | Update an existing message |
|
|
274
|
+
| **Delete** | Delete a message |
|
|
230
275
|
|
|
231
276
|
### Team
|
|
232
277
|
|
|
@@ -239,6 +284,10 @@ Manage agent teams for conversation routing.
|
|
|
239
284
|
| **Create** | Create a new team |
|
|
240
285
|
| **Update** | Modify team settings |
|
|
241
286
|
| **Delete** | Remove a team |
|
|
287
|
+
| **Add Agent** | Add an agent to a team |
|
|
288
|
+
| **Delete Agent** | Remove an agent from a team |
|
|
289
|
+
| **Get Members** | List team members |
|
|
290
|
+
| **Update Agents** | Update team agent memberships |
|
|
242
291
|
|
|
243
292
|
### Webhook
|
|
244
293
|
|
|
@@ -251,6 +300,190 @@ Manage webhook subscriptions programmatically.
|
|
|
251
300
|
| **Update** | Modify webhook URL or subscriptions |
|
|
252
301
|
| **Delete** | Remove a webhook |
|
|
253
302
|
|
|
303
|
+
### Agent Bot
|
|
304
|
+
|
|
305
|
+
Manage AI agent bots.
|
|
306
|
+
|
|
307
|
+
| Operation | Description |
|
|
308
|
+
|-----------|-------------|
|
|
309
|
+
| **Get Many** | List all agent bots |
|
|
310
|
+
| **Get** | Retrieve an agent bot by ID |
|
|
311
|
+
| **Create** | Create a new agent bot |
|
|
312
|
+
| **Update** | Modify agent bot settings |
|
|
313
|
+
| **Delete** | Remove an agent bot |
|
|
314
|
+
|
|
315
|
+
### Automation Rule
|
|
316
|
+
|
|
317
|
+
Manage automation rules for conversations.
|
|
318
|
+
|
|
319
|
+
| Operation | Description |
|
|
320
|
+
|-----------|-------------|
|
|
321
|
+
| **Get Many** | List all automation rules |
|
|
322
|
+
| **Get** | Retrieve an automation rule by ID |
|
|
323
|
+
| **Create** | Create a new automation rule |
|
|
324
|
+
| **Update** | Modify automation rule settings |
|
|
325
|
+
| **Delete** | Remove an automation rule |
|
|
326
|
+
|
|
327
|
+
### Custom Filter
|
|
328
|
+
|
|
329
|
+
Manage saved filters for conversations and contacts.
|
|
330
|
+
|
|
331
|
+
| Operation | Description |
|
|
332
|
+
|-----------|-------------|
|
|
333
|
+
| **Get Many** | List all custom filters |
|
|
334
|
+
| **Get** | Retrieve a custom filter by ID |
|
|
335
|
+
| **Create** | Create a new custom filter |
|
|
336
|
+
| **Update** | Modify filter settings |
|
|
337
|
+
| **Delete** | Remove a custom filter |
|
|
338
|
+
|
|
339
|
+
### Report
|
|
340
|
+
|
|
341
|
+
Access analytics and reporting data.
|
|
342
|
+
|
|
343
|
+
| Operation | Description |
|
|
344
|
+
|-----------|-------------|
|
|
345
|
+
| **Account Summary** | Get account-level report summary |
|
|
346
|
+
| **Agent Statistics** | Get agent conversation metrics |
|
|
347
|
+
| **Conversation Counts** | Get conversation counts by status |
|
|
348
|
+
| **Conversation Statistics** | Get statistics grouped by agent, inbox, team, or channel |
|
|
349
|
+
|
|
350
|
+
### Profile
|
|
351
|
+
|
|
352
|
+
Manage user profile.
|
|
353
|
+
|
|
354
|
+
| Operation | Description |
|
|
355
|
+
|-----------|-------------|
|
|
356
|
+
| **Fetch** | Get the authenticated user's profile |
|
|
357
|
+
|
|
358
|
+
### Help Center
|
|
359
|
+
|
|
360
|
+
Manage knowledge base content.
|
|
361
|
+
|
|
362
|
+
| Operation | Description |
|
|
363
|
+
|-----------|-------------|
|
|
364
|
+
| **Create Portal** | Create a new help center portal |
|
|
365
|
+
| **Get Portal** | Retrieve portal details by slug |
|
|
366
|
+
| **Update Portal** | Modify portal settings |
|
|
367
|
+
| **Create Category** | Add a category to a portal |
|
|
368
|
+
| **Create Article** | Add an article to a portal |
|
|
369
|
+
|
|
370
|
+
### Integration
|
|
371
|
+
|
|
372
|
+
Manage integrations (Dialogflow, Slack, etc.).
|
|
373
|
+
|
|
374
|
+
| Operation | Description |
|
|
375
|
+
|-----------|-------------|
|
|
376
|
+
| **Get Many** | List all integrations |
|
|
377
|
+
| **Create Hook** | Create an integration hook |
|
|
378
|
+
| **Update Hook** | Modify hook settings |
|
|
379
|
+
| **Delete Hook** | Remove an integration hook |
|
|
380
|
+
|
|
381
|
+
### Audit Log
|
|
382
|
+
|
|
383
|
+
Access account activity logs.
|
|
384
|
+
|
|
385
|
+
| Operation | Description |
|
|
386
|
+
|-----------|-------------|
|
|
387
|
+
| **Get Many** | Retrieve account audit logs |
|
|
388
|
+
|
|
389
|
+
### CSAT Survey
|
|
390
|
+
|
|
391
|
+
Access customer satisfaction surveys.
|
|
392
|
+
|
|
393
|
+
| Operation | Description |
|
|
394
|
+
|-----------|-------------|
|
|
395
|
+
| **Get** | Get CSAT survey for a conversation |
|
|
396
|
+
|
|
397
|
+
---
|
|
398
|
+
|
|
399
|
+
## Platform API Resources
|
|
400
|
+
|
|
401
|
+
These resources require the **Chatwoot Platform API** credential.
|
|
402
|
+
|
|
403
|
+
### Platform Account
|
|
404
|
+
|
|
405
|
+
Manage accounts at the platform level.
|
|
406
|
+
|
|
407
|
+
| Operation | Description |
|
|
408
|
+
|-----------|-------------|
|
|
409
|
+
| **Create** | Create a new account |
|
|
410
|
+
| **Get** | Retrieve account details |
|
|
411
|
+
| **Update** | Modify account settings |
|
|
412
|
+
| **Delete** | Remove an account |
|
|
413
|
+
|
|
414
|
+
### Platform User
|
|
415
|
+
|
|
416
|
+
Manage users at the platform level.
|
|
417
|
+
|
|
418
|
+
| Operation | Description |
|
|
419
|
+
|-----------|-------------|
|
|
420
|
+
| **Create** | Create a new platform user |
|
|
421
|
+
| **Get** | Retrieve user details |
|
|
422
|
+
| **Update** | Modify user settings |
|
|
423
|
+
| **Delete** | Remove a user |
|
|
424
|
+
| **Get SSO URL** | Generate SSO login URL |
|
|
425
|
+
|
|
426
|
+
### Account User
|
|
427
|
+
|
|
428
|
+
Manage users within a specific account.
|
|
429
|
+
|
|
430
|
+
| Operation | Description |
|
|
431
|
+
|-----------|-------------|
|
|
432
|
+
| **Get Many** | List all users in an account |
|
|
433
|
+
| **Create** | Add a user to an account |
|
|
434
|
+
| **Delete** | Remove a user from an account |
|
|
435
|
+
|
|
436
|
+
### Account Agent Bot
|
|
437
|
+
|
|
438
|
+
Manage agent bots at the account level.
|
|
439
|
+
|
|
440
|
+
| Operation | Description |
|
|
441
|
+
|-----------|-------------|
|
|
442
|
+
| **Get Many** | List all account agent bots |
|
|
443
|
+
| **Get** | Retrieve an agent bot by ID |
|
|
444
|
+
| **Create** | Create a new account agent bot |
|
|
445
|
+
| **Update** | Modify agent bot settings |
|
|
446
|
+
| **Delete** | Remove an account agent bot |
|
|
447
|
+
|
|
448
|
+
---
|
|
449
|
+
|
|
450
|
+
## Public API Resources
|
|
451
|
+
|
|
452
|
+
These resources require the **Chatwoot Public API** credential.
|
|
453
|
+
|
|
454
|
+
### Public Contact
|
|
455
|
+
|
|
456
|
+
Manage contacts via the public API.
|
|
457
|
+
|
|
458
|
+
| Operation | Description |
|
|
459
|
+
|-----------|-------------|
|
|
460
|
+
| **Create** | Create a contact via public API |
|
|
461
|
+
| **Get** | Retrieve contact details |
|
|
462
|
+
| **Update** | Update contact information |
|
|
463
|
+
|
|
464
|
+
### Public Conversation
|
|
465
|
+
|
|
466
|
+
Manage conversations via the public API.
|
|
467
|
+
|
|
468
|
+
| Operation | Description |
|
|
469
|
+
|-----------|-------------|
|
|
470
|
+
| **Create** | Create a conversation via public API |
|
|
471
|
+
| **Get** | Retrieve a conversation |
|
|
472
|
+
| **Get Many** | List all conversations for a contact |
|
|
473
|
+
| **Resolve** | Resolve/toggle conversation status |
|
|
474
|
+
| **Toggle Typing** | Show typing indicator |
|
|
475
|
+
| **Update Last Seen** | Mark messages as seen |
|
|
476
|
+
|
|
477
|
+
### Public Message
|
|
478
|
+
|
|
479
|
+
Manage messages via the public API.
|
|
480
|
+
|
|
481
|
+
| Operation | Description |
|
|
482
|
+
|-----------|-------------|
|
|
483
|
+
| **Create** | Send a message via public API |
|
|
484
|
+
| **Get Many** | List messages in a conversation |
|
|
485
|
+
| **Update** | Update a message |
|
|
486
|
+
|
|
254
487
|
---
|
|
255
488
|
|
|
256
489
|
## Usage Examples
|
|
@@ -361,11 +594,17 @@ If the Chatwoot Trigger isn't receiving events:
|
|
|
361
594
|
|
|
362
595
|
## API Reference
|
|
363
596
|
|
|
364
|
-
This node uses
|
|
597
|
+
This node uses three Chatwoot APIs:
|
|
598
|
+
|
|
599
|
+
- **Application API** - Core API for managing conversations, contacts, messages, etc.
|
|
600
|
+
- **Platform API** - Admin API for managing accounts, users, and agent bots (requires super admin access)
|
|
601
|
+
- **Public API** - Client-side API for widgets and external integrations
|
|
365
602
|
|
|
366
603
|
### API Documentation
|
|
367
604
|
|
|
368
|
-
- [Chatwoot API Reference](https://www.chatwoot.com/developers/api/)
|
|
605
|
+
- [Chatwoot Application API Reference](https://www.chatwoot.com/developers/api/)
|
|
606
|
+
- [Chatwoot Platform API Reference](https://www.chatwoot.com/developers/api/#tag/Platform)
|
|
607
|
+
- [Chatwoot Public API Reference](https://www.chatwoot.com/developers/api/#tag/Client-APIs)
|
|
369
608
|
- [Webhooks Documentation](https://www.chatwoot.com/docs/product/features/webhooks)
|
|
370
609
|
- [API Authentication](https://www.chatwoot.com/hc/user-guide/articles/1684764-api-access)
|
|
371
610
|
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare class ChatwootPlatformApi implements ICredentialType {
|
|
3
|
+
name: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
documentationUrl: string;
|
|
6
|
+
properties: INodeProperties[];
|
|
7
|
+
authenticate: IAuthenticateGeneric;
|
|
8
|
+
test: ICredentialTestRequest;
|
|
9
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ChatwootPlatformApi = void 0;
|
|
4
|
+
class ChatwootPlatformApi {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'chatwootPlatformApi';
|
|
7
|
+
this.displayName = 'Chatwoot Platform API';
|
|
8
|
+
this.documentationUrl = 'https://www.chatwoot.com/developers/api/#tag/Platform';
|
|
9
|
+
this.properties = [
|
|
10
|
+
{
|
|
11
|
+
displayName: 'Base URL',
|
|
12
|
+
name: 'baseUrl',
|
|
13
|
+
type: 'string',
|
|
14
|
+
default: 'https://app.chatwoot.com',
|
|
15
|
+
placeholder: 'https://app.chatwoot.com',
|
|
16
|
+
description: 'The base URL of your Chatwoot instance. Use https://app.chatwoot.com for Chatwoot Cloud, or your self-hosted instance URL.',
|
|
17
|
+
required: true,
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
displayName: 'Platform API Access Token',
|
|
21
|
+
name: 'apiAccessToken',
|
|
22
|
+
type: 'string',
|
|
23
|
+
typeOptions: {
|
|
24
|
+
password: true,
|
|
25
|
+
},
|
|
26
|
+
default: '',
|
|
27
|
+
description: 'Your Platform API Access Token. This is a super admin token with access to platform-level operations like creating accounts and users. Found in the installation config or super admin panel.',
|
|
28
|
+
required: true,
|
|
29
|
+
},
|
|
30
|
+
];
|
|
31
|
+
this.authenticate = {
|
|
32
|
+
type: 'generic',
|
|
33
|
+
properties: {
|
|
34
|
+
headers: {
|
|
35
|
+
api_access_token: '={{$credentials.apiAccessToken}}',
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
this.test = {
|
|
40
|
+
request: {
|
|
41
|
+
baseURL: '={{$credentials.baseUrl.replace(/\\/$/, "")}}',
|
|
42
|
+
url: '/platform/api/v1/agent_bots',
|
|
43
|
+
method: 'GET',
|
|
44
|
+
},
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
exports.ChatwootPlatformApi = ChatwootPlatformApi;
|
|
49
|
+
//# sourceMappingURL=ChatwootPlatformApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatwootPlatformApi.credentials.js","sourceRoot":"","sources":["../../credentials/ChatwootPlatformApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,mBAAmB;IAAhC;QACE,SAAI,GAAG,qBAAqB,CAAC;QAC7B,gBAAW,GAAG,uBAAuB,CAAC;QACtC,qBAAgB,GAAG,uDAAuD,CAAC;QAC3E,eAAU,GAAsB;YAC9B;gBACE,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,0BAA0B;gBACnC,WAAW,EAAE,0BAA0B;gBACvC,WAAW,EACT,4HAA4H;gBAC9H,QAAQ,EAAE,IAAI;aACf;YACD;gBACE,WAAW,EAAE,2BAA2B;gBACxC,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACX,QAAQ,EAAE,IAAI;iBACf;gBACD,OAAO,EAAE,EAAE;gBACX,WAAW,EACT,+LAA+L;gBACjM,QAAQ,EAAE,IAAI;aACf;SACF,CAAC;QAEF,iBAAY,GAAyB;YACnC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACV,OAAO,EAAE;oBACP,gBAAgB,EAAE,kCAAkC;iBACrD;aACF;SACF,CAAC;QAEF,SAAI,GAA2B;YAC7B,OAAO,EAAE;gBACP,OAAO,EAAE,+CAA+C;gBACxD,GAAG,EAAE,6BAA6B;gBAClC,MAAM,EAAE,KAAK;aACd;SACF,CAAC;IACJ,CAAC;CAAA;AA7CD,kDA6CC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ChatwootPublicApi = void 0;
|
|
4
|
+
class ChatwootPublicApi {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'chatwootPublicApi';
|
|
7
|
+
this.displayName = 'Chatwoot Public API';
|
|
8
|
+
this.documentationUrl = 'https://www.chatwoot.com/developers/api/#tag/Contacts-API';
|
|
9
|
+
this.properties = [
|
|
10
|
+
{
|
|
11
|
+
displayName: 'Base URL',
|
|
12
|
+
name: 'baseUrl',
|
|
13
|
+
type: 'string',
|
|
14
|
+
default: 'https://app.chatwoot.com',
|
|
15
|
+
placeholder: 'https://app.chatwoot.com',
|
|
16
|
+
description: 'The base URL of your Chatwoot instance. Use https://app.chatwoot.com for Chatwoot Cloud, or your self-hosted instance URL.',
|
|
17
|
+
required: true,
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
displayName: 'Inbox Identifier',
|
|
21
|
+
name: 'inboxIdentifier',
|
|
22
|
+
type: 'string',
|
|
23
|
+
default: '',
|
|
24
|
+
description: 'The unique identifier for your inbox. This is the website_token or inbox_identifier from your website channel settings. Found in Inbox Settings → Configuration.',
|
|
25
|
+
required: true,
|
|
26
|
+
},
|
|
27
|
+
];
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.ChatwootPublicApi = ChatwootPublicApi;
|
|
31
|
+
//# sourceMappingURL=ChatwootPublicApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatwootPublicApi.credentials.js","sourceRoot":"","sources":["../../credentials/ChatwootPublicApi.credentials.ts"],"names":[],"mappings":";;;AAKA,MAAa,iBAAiB;IAA9B;QACE,SAAI,GAAG,mBAAmB,CAAC;QAC3B,gBAAW,GAAG,qBAAqB,CAAC;QACpC,qBAAgB,GAAG,2DAA2D,CAAC;QAC/E,eAAU,GAAsB;YAC9B;gBACE,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,0BAA0B;gBACnC,WAAW,EAAE,0BAA0B;gBACvC,WAAW,EACT,4HAA4H;gBAC9H,QAAQ,EAAE,IAAI;aACf;YACD;gBACE,WAAW,EAAE,kBAAkB;gBAC/B,IAAI,EAAE,iBAAiB;gBACvB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EACT,kKAAkK;gBACpK,QAAQ,EAAE,IAAI;aACf;SACF,CAAC;IAIJ,CAAC;CAAA;AA5BD,8CA4BC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
|
|
2
|
-
import { getAgents, getTeams, getInboxes, getLabels } from './GenericFunctions';
|
|
2
|
+
import { getAgents, getTeams, getInboxes, getLabels, getAgentBots, getPortals, getIntegrations } from './GenericFunctions';
|
|
3
3
|
export declare class Chatwoot implements INodeType {
|
|
4
4
|
description: INodeTypeDescription;
|
|
5
5
|
methods: {
|
|
@@ -8,6 +8,9 @@ export declare class Chatwoot implements INodeType {
|
|
|
8
8
|
getTeams: typeof getTeams;
|
|
9
9
|
getInboxes: typeof getInboxes;
|
|
10
10
|
getLabels: typeof getLabels;
|
|
11
|
+
getAgentBots: typeof getAgentBots;
|
|
12
|
+
getPortals: typeof getPortals;
|
|
13
|
+
getIntegrations: typeof getIntegrations;
|
|
11
14
|
};
|
|
12
15
|
};
|
|
13
16
|
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
|