@renatoascencio/n8n-nodes-chatwoot 0.3.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 +247 -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 +579 -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/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/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/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/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 +40 -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/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/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/index.js +13 -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/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/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -2
|
@@ -9,6 +9,9 @@ const delete_operation_1 = require("./delete.operation");
|
|
|
9
9
|
const search_operation_1 = require("./search.operation");
|
|
10
10
|
const getConversations_operation_1 = require("./getConversations.operation");
|
|
11
11
|
const merge_operation_1 = require("./merge.operation");
|
|
12
|
+
const filter_operation_1 = require("./filter.operation");
|
|
13
|
+
const addLabels_operation_1 = require("./addLabels.operation");
|
|
14
|
+
const listLabels_operation_1 = require("./listLabels.operation");
|
|
12
15
|
exports.contactOperations = {
|
|
13
16
|
displayName: 'Operation',
|
|
14
17
|
name: 'operation',
|
|
@@ -20,6 +23,12 @@ exports.contactOperations = {
|
|
|
20
23
|
},
|
|
21
24
|
},
|
|
22
25
|
options: [
|
|
26
|
+
{
|
|
27
|
+
name: 'Add Labels',
|
|
28
|
+
value: 'addLabels',
|
|
29
|
+
description: 'Add labels to a contact',
|
|
30
|
+
action: 'Add labels to contact',
|
|
31
|
+
},
|
|
23
32
|
{
|
|
24
33
|
name: 'Create',
|
|
25
34
|
value: 'create',
|
|
@@ -32,6 +41,12 @@ exports.contactOperations = {
|
|
|
32
41
|
description: 'Delete a contact',
|
|
33
42
|
action: 'Delete a contact',
|
|
34
43
|
},
|
|
44
|
+
{
|
|
45
|
+
name: 'Filter',
|
|
46
|
+
value: 'filter',
|
|
47
|
+
description: 'Filter contacts using advanced criteria',
|
|
48
|
+
action: 'Filter contacts',
|
|
49
|
+
},
|
|
35
50
|
{
|
|
36
51
|
name: 'Get',
|
|
37
52
|
value: 'get',
|
|
@@ -50,6 +65,12 @@ exports.contactOperations = {
|
|
|
50
65
|
description: 'Get many contacts',
|
|
51
66
|
action: 'Get many contacts',
|
|
52
67
|
},
|
|
68
|
+
{
|
|
69
|
+
name: 'List Labels',
|
|
70
|
+
value: 'listLabels',
|
|
71
|
+
description: 'Get all labels for a contact',
|
|
72
|
+
action: 'List contact labels',
|
|
73
|
+
},
|
|
53
74
|
{
|
|
54
75
|
name: 'Merge',
|
|
55
76
|
value: 'merge',
|
|
@@ -80,5 +101,8 @@ exports.contactFields = [
|
|
|
80
101
|
...search_operation_1.searchOperation,
|
|
81
102
|
...getConversations_operation_1.getConversationsOperation,
|
|
82
103
|
...merge_operation_1.mergeOperation,
|
|
104
|
+
...filter_operation_1.filterOperation,
|
|
105
|
+
...addLabels_operation_1.addLabelsOperation,
|
|
106
|
+
...listLabels_operation_1.listLabelsOperation,
|
|
83
107
|
];
|
|
84
108
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/contact/index.ts"],"names":[],"mappings":";;;AACA,yDAAqD;AACrD,mDAA+C;AAC/C,yDAAqD;AACrD,yDAAqD;AACrD,yDAAqD;AACrD,yDAAqD;AACrD,6EAAyE;AACzE,uDAAmD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/contact/index.ts"],"names":[],"mappings":";;;AACA,yDAAqD;AACrD,mDAA+C;AAC/C,yDAAqD;AACrD,yDAAqD;AACrD,yDAAqD;AACrD,yDAAqD;AACrD,6EAAyE;AACzE,uDAAmD;AACnD,yDAAqD;AACrD,+DAA2D;AAC3D,iEAA6D;AAEhD,QAAA,iBAAiB,GAAoB;IAChD,WAAW,EAAE,WAAW;IACxB,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,SAAS;IACf,gBAAgB,EAAE,IAAI;IACtB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,QAAQ;YACd,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,kBAAkB;YAC/B,MAAM,EAAE,kBAAkB;SAC3B;KACF;IACD,OAAO,EAAE,QAAQ;CAClB,CAAC;AAEW,QAAA,aAAa,GAAsB;IAC9C,GAAG,kCAAe;IAClB,GAAG,4BAAY;IACf,GAAG,kCAAe;IAClB,GAAG,kCAAe;IAClB,GAAG,kCAAe;IAClB,GAAG,kCAAe;IAClB,GAAG,sDAAyB;IAC5B,GAAG,gCAAc;IACjB,GAAG,kCAAe;IAClB,GAAG,wCAAkB;IACrB,GAAG,0CAAmB;CACvB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.listLabelsOperation = void 0;
|
|
4
|
+
exports.listLabelsOperation = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Contact ID',
|
|
7
|
+
name: 'contactId',
|
|
8
|
+
type: 'number',
|
|
9
|
+
required: true,
|
|
10
|
+
default: 0,
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['contact'],
|
|
14
|
+
operation: ['listLabels'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
description: 'ID of the contact to get labels from',
|
|
18
|
+
},
|
|
19
|
+
];
|
|
20
|
+
//# sourceMappingURL=listLabels.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listLabels.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/contact/listLabels.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,mBAAmB,GAAsB;IACpD;QACE,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,CAAC;QACV,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,SAAS,CAAC;gBACrB,SAAS,EAAE,CAAC,YAAY,CAAC;aAC1B;SACF;QACD,WAAW,EAAE,sCAAsC;KACpD;CACF,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.filterOperation = void 0;
|
|
4
|
+
exports.filterOperation = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Return All',
|
|
7
|
+
name: 'returnAll',
|
|
8
|
+
type: 'boolean',
|
|
9
|
+
default: false,
|
|
10
|
+
displayOptions: {
|
|
11
|
+
show: {
|
|
12
|
+
resource: ['conversation'],
|
|
13
|
+
operation: ['filter'],
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
displayName: 'Limit',
|
|
20
|
+
name: 'limit',
|
|
21
|
+
type: 'number',
|
|
22
|
+
default: 50,
|
|
23
|
+
typeOptions: {
|
|
24
|
+
minValue: 1,
|
|
25
|
+
maxValue: 100,
|
|
26
|
+
},
|
|
27
|
+
displayOptions: {
|
|
28
|
+
show: {
|
|
29
|
+
resource: ['conversation'],
|
|
30
|
+
operation: ['filter'],
|
|
31
|
+
returnAll: [false],
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
description: 'Max number of results to return',
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
displayName: 'Filter Payload',
|
|
38
|
+
name: 'filterPayload',
|
|
39
|
+
type: 'json',
|
|
40
|
+
default: '[]',
|
|
41
|
+
required: true,
|
|
42
|
+
displayOptions: {
|
|
43
|
+
show: {
|
|
44
|
+
resource: ['conversation'],
|
|
45
|
+
operation: ['filter'],
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
description: 'Filter conditions as JSON array. Example: [{"attribute_key": "status", "filter_operator": "equal_to", "values": ["open"]}]',
|
|
49
|
+
},
|
|
50
|
+
];
|
|
51
|
+
//# sourceMappingURL=filter.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filter.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/conversation/filter.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAsB;IAChD;QACE,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,KAAK;QACd,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,cAAc,CAAC;gBAC1B,SAAS,EAAE,CAAC,QAAQ,CAAC;aACtB;SACF;QACD,WAAW,EAAE,2DAA2D;KACzE;IACD;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE;YACX,QAAQ,EAAE,CAAC;YACX,QAAQ,EAAE,GAAG;SACd;QACD,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,cAAc,CAAC;gBAC1B,SAAS,EAAE,CAAC,QAAQ,CAAC;gBACrB,SAAS,EAAE,CAAC,KAAK,CAAC;aACnB;SACF;QACD,WAAW,EAAE,iCAAiC;KAC/C;IACD;QACE,WAAW,EAAE,gBAAgB;QAC7B,IAAI,EAAE,eAAe;QACrB,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,IAAI;QACb,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,cAAc,CAAC;gBAC1B,SAAS,EAAE,CAAC,QAAQ,CAAC;aACtB;SACF;QACD,WAAW,EACT,4HAA4H;KAC/H;CACF,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getMetaOperation = void 0;
|
|
4
|
+
exports.getMetaOperation = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Filters',
|
|
7
|
+
name: 'filters',
|
|
8
|
+
type: 'collection',
|
|
9
|
+
placeholder: 'Add Filter',
|
|
10
|
+
default: {},
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['conversation'],
|
|
14
|
+
operation: ['getMeta'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
options: [
|
|
18
|
+
{
|
|
19
|
+
displayName: 'Status',
|
|
20
|
+
name: 'status',
|
|
21
|
+
type: 'options',
|
|
22
|
+
options: [
|
|
23
|
+
{ name: 'All', value: 'all' },
|
|
24
|
+
{ name: 'Open', value: 'open' },
|
|
25
|
+
{ name: 'Resolved', value: 'resolved' },
|
|
26
|
+
{ name: 'Pending', value: 'pending' },
|
|
27
|
+
{ name: 'Snoozed', value: 'snoozed' },
|
|
28
|
+
],
|
|
29
|
+
default: 'all',
|
|
30
|
+
description: 'Filter by conversation status',
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
displayName: 'Inbox',
|
|
34
|
+
name: 'inbox_id',
|
|
35
|
+
type: 'options',
|
|
36
|
+
typeOptions: {
|
|
37
|
+
loadOptionsMethod: 'getInboxes',
|
|
38
|
+
},
|
|
39
|
+
default: '',
|
|
40
|
+
description: 'Filter by inbox',
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
displayName: 'Team',
|
|
44
|
+
name: 'team_id',
|
|
45
|
+
type: 'options',
|
|
46
|
+
typeOptions: {
|
|
47
|
+
loadOptionsMethod: 'getTeams',
|
|
48
|
+
},
|
|
49
|
+
default: '',
|
|
50
|
+
description: 'Filter by team',
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
},
|
|
54
|
+
];
|
|
55
|
+
//# sourceMappingURL=getMeta.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getMeta.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/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_1 = require("./assign.operation");
|
|
|
8
8
|
const addLabels_operation_1 = require("./addLabels.operation");
|
|
9
9
|
const create_operation_1 = require("./create.operation");
|
|
10
10
|
const togglePriority_operation_1 = require("./togglePriority.operation");
|
|
11
|
+
const update_operation_1 = require("./update.operation");
|
|
12
|
+
const filter_operation_1 = require("./filter.operation");
|
|
13
|
+
const updateCustomAttributes_operation_1 = require("./updateCustomAttributes.operation");
|
|
14
|
+
const listLabels_operation_1 = require("./listLabels.operation");
|
|
15
|
+
const getMeta_operation_1 = require("./getMeta.operation");
|
|
11
16
|
exports.conversationOperations = {
|
|
12
17
|
displayName: 'Operation',
|
|
13
18
|
name: 'operation',
|
|
@@ -37,6 +42,12 @@ exports.conversationOperations = {
|
|
|
37
42
|
description: 'Create a new conversation',
|
|
38
43
|
action: 'Create a conversation',
|
|
39
44
|
},
|
|
45
|
+
{
|
|
46
|
+
name: 'Filter',
|
|
47
|
+
value: 'filter',
|
|
48
|
+
description: 'Filter conversations using advanced criteria',
|
|
49
|
+
action: 'Filter conversations',
|
|
50
|
+
},
|
|
40
51
|
{
|
|
41
52
|
name: 'Get',
|
|
42
53
|
value: 'get',
|
|
@@ -49,12 +60,36 @@ exports.conversationOperations = {
|
|
|
49
60
|
description: 'Get many conversations with optional filters',
|
|
50
61
|
action: 'Get many conversations',
|
|
51
62
|
},
|
|
63
|
+
{
|
|
64
|
+
name: 'Get Meta',
|
|
65
|
+
value: 'getMeta',
|
|
66
|
+
description: 'Get conversation metadata and counts',
|
|
67
|
+
action: 'Get conversation metadata',
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
name: 'List Labels',
|
|
71
|
+
value: 'listLabels',
|
|
72
|
+
description: 'Get all labels for a conversation',
|
|
73
|
+
action: 'List conversation labels',
|
|
74
|
+
},
|
|
52
75
|
{
|
|
53
76
|
name: 'Toggle Priority',
|
|
54
77
|
value: 'togglePriority',
|
|
55
78
|
description: 'Set conversation priority (urgent, high, medium, low, none)',
|
|
56
79
|
action: 'Toggle conversation priority',
|
|
57
80
|
},
|
|
81
|
+
{
|
|
82
|
+
name: 'Update',
|
|
83
|
+
value: 'update',
|
|
84
|
+
description: 'Update conversation details',
|
|
85
|
+
action: 'Update a conversation',
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
name: 'Update Custom Attributes',
|
|
89
|
+
value: 'updateCustomAttributes',
|
|
90
|
+
description: 'Update conversation custom attributes',
|
|
91
|
+
action: 'Update conversation custom attributes',
|
|
92
|
+
},
|
|
58
93
|
{
|
|
59
94
|
name: 'Update Status',
|
|
60
95
|
value: 'updateStatus',
|
|
@@ -72,5 +107,10 @@ exports.conversationFields = [
|
|
|
72
107
|
...addLabels_operation_1.addLabelsOperation,
|
|
73
108
|
...create_operation_1.createOperation,
|
|
74
109
|
...togglePriority_operation_1.togglePriorityOperation,
|
|
110
|
+
...update_operation_1.updateOperation,
|
|
111
|
+
...filter_operation_1.filterOperation,
|
|
112
|
+
...updateCustomAttributes_operation_1.updateCustomAttributesOperation,
|
|
113
|
+
...listLabels_operation_1.listLabelsOperation,
|
|
114
|
+
...getMeta_operation_1.getMetaOperation,
|
|
75
115
|
];
|
|
76
116
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/conversation/index.ts"],"names":[],"mappings":";;;AACA,mDAA+C;AAC/C,yDAAqD;AACrD,qEAAiE;AACjE,yDAAqD;AACrD,+DAA2D;AAC3D,yDAAqD;AACrD,yEAAqE;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/conversation/index.ts"],"names":[],"mappings":";;;AACA,mDAA+C;AAC/C,yDAAqD;AACrD,qEAAiE;AACjE,yDAAqD;AACrD,+DAA2D;AAC3D,yDAAqD;AACrD,yEAAqE;AACrE,yDAAqD;AACrD,yDAAqD;AACrD,yFAAqF;AACrF,iEAA6D;AAC7D,2DAAu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ACvC;QACD;YACE,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,6BAA6B;YAC1C,MAAM,EAAE,uBAAuB;SAChC;QACD;YACE,IAAI,EAAE,0BAA0B;YAChC,KAAK,EAAE,wBAAwB;YAC/B,WAAW,EAAE,uCAAuC;YACpD,MAAM,EAAE,uCAAuC;SAChD;QACD;YACE,IAAI,EAAE,eAAe;YACrB,KAAK,EAAE,cAAc;YACrB,WAAW,EAAE,+DAA+D;YAC5E,MAAM,EAAE,4BAA4B;SACrC;KACF;IACD,OAAO,EAAE,QAAQ;CAClB,CAAC;AAEW,QAAA,kBAAkB,GAAsB;IACnD,GAAG,4BAAY;IACf,GAAG,kCAAe;IAClB,GAAG,8CAAqB;IACxB,GAAG,kCAAe;IAClB,GAAG,wCAAkB;IACrB,GAAG,kCAAe;IAClB,GAAG,kDAAuB;IAC1B,GAAG,kCAAe;IAClB,GAAG,kCAAe;IAClB,GAAG,kEAA+B;IAClC,GAAG,0CAAmB;IACtB,GAAG,oCAAgB;CACpB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.listLabelsOperation = void 0;
|
|
4
|
+
exports.listLabelsOperation = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Conversation ID',
|
|
7
|
+
name: 'conversationId',
|
|
8
|
+
type: 'number',
|
|
9
|
+
required: true,
|
|
10
|
+
default: 0,
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['conversation'],
|
|
14
|
+
operation: ['listLabels'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
description: 'ID of the conversation to get labels from',
|
|
18
|
+
},
|
|
19
|
+
];
|
|
20
|
+
//# sourceMappingURL=listLabels.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listLabels.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/conversation/listLabels.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,mBAAmB,GAAsB;IACpD;QACE,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,CAAC;QACV,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,cAAc,CAAC;gBAC1B,SAAS,EAAE,CAAC,YAAY,CAAC;aAC1B;SACF;QACD,WAAW,EAAE,2CAA2C;KACzD;CACF,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.updateOperation = void 0;
|
|
4
|
+
exports.updateOperation = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Conversation ID',
|
|
7
|
+
name: 'conversationId',
|
|
8
|
+
type: 'number',
|
|
9
|
+
required: true,
|
|
10
|
+
default: 0,
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['conversation'],
|
|
14
|
+
operation: ['update'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
description: 'ID of the conversation to update',
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
displayName: 'Update Fields',
|
|
21
|
+
name: 'updateFields',
|
|
22
|
+
type: 'collection',
|
|
23
|
+
placeholder: 'Add Field',
|
|
24
|
+
default: {},
|
|
25
|
+
displayOptions: {
|
|
26
|
+
show: {
|
|
27
|
+
resource: ['conversation'],
|
|
28
|
+
operation: ['update'],
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
options: [
|
|
32
|
+
{
|
|
33
|
+
displayName: 'Priority',
|
|
34
|
+
name: 'priority',
|
|
35
|
+
type: 'options',
|
|
36
|
+
options: [
|
|
37
|
+
{ name: 'Urgent', value: 'urgent' },
|
|
38
|
+
{ name: 'High', value: 'high' },
|
|
39
|
+
{ name: 'Medium', value: 'medium' },
|
|
40
|
+
{ name: 'Low', value: 'low' },
|
|
41
|
+
{ name: 'None', value: 'none' },
|
|
42
|
+
],
|
|
43
|
+
default: 'none',
|
|
44
|
+
description: 'Priority level of the conversation',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
displayName: 'Snoozed Until',
|
|
48
|
+
name: 'snoozed_until',
|
|
49
|
+
type: 'dateTime',
|
|
50
|
+
default: '',
|
|
51
|
+
description: 'When to un-snooze the conversation (only applies when status is snoozed)',
|
|
52
|
+
},
|
|
53
|
+
],
|
|
54
|
+
},
|
|
55
|
+
];
|
|
56
|
+
//# sourceMappingURL=update.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/conversation/update.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAsB;IAChD;QACE,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,CAAC;QACV,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,cAAc,CAAC;gBAC1B,SAAS,EAAE,CAAC,QAAQ,CAAC;aACtB;SACF;QACD,WAAW,EAAE,kCAAkC;KAChD;IACD;QACE,WAAW,EAAE,eAAe;QAC5B,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,WAAW;QACxB,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,cAAc,CAAC;gBAC1B,SAAS,EAAE,CAAC,QAAQ,CAAC;aACtB;SACF;QACD,OAAO,EAAE;YACP;gBACE,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE;oBACP,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;oBACnC,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;oBAC/B,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;oBACnC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE;oBAC7B,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;iBAChC;gBACD,OAAO,EAAE,MAAM;gBACf,WAAW,EAAE,oCAAoC;aAClD;YACD;gBACE,WAAW,EAAE,eAAe;gBAC5B,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,UAAU;gBAChB,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,0EAA0E;aACxF;SACF;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.updateCustomAttributesOperation = void 0;
|
|
4
|
+
exports.updateCustomAttributesOperation = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Conversation ID',
|
|
7
|
+
name: 'conversationId',
|
|
8
|
+
type: 'number',
|
|
9
|
+
required: true,
|
|
10
|
+
default: 0,
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['conversation'],
|
|
14
|
+
operation: ['updateCustomAttributes'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
description: 'ID of the conversation to update',
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
displayName: 'Custom Attributes',
|
|
21
|
+
name: 'customAttributes',
|
|
22
|
+
type: 'json',
|
|
23
|
+
required: true,
|
|
24
|
+
default: '{}',
|
|
25
|
+
displayOptions: {
|
|
26
|
+
show: {
|
|
27
|
+
resource: ['conversation'],
|
|
28
|
+
operation: ['updateCustomAttributes'],
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
description: 'Custom attributes as a JSON object (e.g., {"order_id": "12345", "priority_customer": true})',
|
|
32
|
+
},
|
|
33
|
+
];
|
|
34
|
+
//# sourceMappingURL=updateCustomAttributes.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateCustomAttributes.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/conversation/updateCustomAttributes.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,+BAA+B,GAAsB;IAChE;QACE,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,CAAC;QACV,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,cAAc,CAAC;gBAC1B,SAAS,EAAE,CAAC,wBAAwB,CAAC;aACtC;SACF;QACD,WAAW,EAAE,kCAAkC;KAChD;IACD;QACE,WAAW,EAAE,mBAAmB;QAChC,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,IAAI;QACb,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,cAAc,CAAC;gBAC1B,SAAS,EAAE,CAAC,wBAAwB,CAAC;aACtC;SACF;QACD,WAAW,EACT,6FAA6F;KAChG;CACF,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getOperation = void 0;
|
|
4
|
+
exports.getOperation = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Conversation ID',
|
|
7
|
+
name: 'conversationId',
|
|
8
|
+
type: 'number',
|
|
9
|
+
required: true,
|
|
10
|
+
default: 0,
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['csatSurvey'],
|
|
14
|
+
operation: ['get'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
description: 'ID of the conversation to get CSAT survey for',
|
|
18
|
+
},
|
|
19
|
+
];
|
|
20
|
+
//# sourceMappingURL=get.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/csatSurvey/get.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,YAAY,GAAsB;IAC7C;QACE,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,CAAC;QACV,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,YAAY,CAAC;gBACxB,SAAS,EAAE,CAAC,KAAK,CAAC;aACnB;SACF;QACD,WAAW,EAAE,+CAA+C;KAC7D;CACF,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.csatSurveyFields = exports.csatSurveyOperations = void 0;
|
|
4
|
+
const get_operation_1 = require("./get.operation");
|
|
5
|
+
exports.csatSurveyOperations = {
|
|
6
|
+
displayName: 'Operation',
|
|
7
|
+
name: 'operation',
|
|
8
|
+
type: 'options',
|
|
9
|
+
noDataExpression: true,
|
|
10
|
+
displayOptions: {
|
|
11
|
+
show: {
|
|
12
|
+
resource: ['csatSurvey'],
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
options: [
|
|
16
|
+
{
|
|
17
|
+
name: 'Get',
|
|
18
|
+
value: 'get',
|
|
19
|
+
description: 'Get CSAT survey for a conversation',
|
|
20
|
+
action: 'Get CSAT survey',
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
default: 'get',
|
|
24
|
+
};
|
|
25
|
+
exports.csatSurveyFields = [...get_operation_1.getOperation];
|
|
26
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/csatSurvey/index.ts"],"names":[],"mappings":";;;AACA,mDAA+C;AAElC,QAAA,oBAAoB,GAAoB;IACnD,WAAW,EAAE,WAAW;IACxB,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,SAAS;IACf,gBAAgB,EAAE,IAAI;IACtB,cAAc,EAAE;QACd,IAAI,EAAE;YACJ,QAAQ,EAAE,CAAC,YAAY,CAAC;SACzB;KACF;IACD,OAAO,EAAE;QACP;YACE,IAAI,EAAE,KAAK;YACX,KAAK,EAAE,KAAK;YACZ,WAAW,EAAE,oCAAoC;YACjD,MAAM,EAAE,iBAAiB;SAC1B;KACF;IACD,OAAO,EAAE,KAAK;CACf,CAAC;AAEW,QAAA,gBAAgB,GAAsB,CAAC,GAAG,4BAAY,CAAC,CAAC"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createArticleOperation = void 0;
|
|
4
|
+
exports.createArticleOperation = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Portal Slug',
|
|
7
|
+
name: 'portalSlug',
|
|
8
|
+
type: 'string',
|
|
9
|
+
required: true,
|
|
10
|
+
default: '',
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['helpCenter'],
|
|
14
|
+
operation: ['createArticle'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
description: 'Slug of the portal to create article in',
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
displayName: 'Title',
|
|
21
|
+
name: 'title',
|
|
22
|
+
type: 'string',
|
|
23
|
+
required: true,
|
|
24
|
+
default: '',
|
|
25
|
+
displayOptions: {
|
|
26
|
+
show: {
|
|
27
|
+
resource: ['helpCenter'],
|
|
28
|
+
operation: ['createArticle'],
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
description: 'Title of the article',
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
displayName: 'Content',
|
|
35
|
+
name: 'content',
|
|
36
|
+
type: 'string',
|
|
37
|
+
typeOptions: {
|
|
38
|
+
rows: 10,
|
|
39
|
+
},
|
|
40
|
+
required: true,
|
|
41
|
+
default: '',
|
|
42
|
+
displayOptions: {
|
|
43
|
+
show: {
|
|
44
|
+
resource: ['helpCenter'],
|
|
45
|
+
operation: ['createArticle'],
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
description: 'Content of the article (supports HTML)',
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
displayName: 'Additional Fields',
|
|
52
|
+
name: 'additionalFields',
|
|
53
|
+
type: 'collection',
|
|
54
|
+
placeholder: 'Add Field',
|
|
55
|
+
default: {},
|
|
56
|
+
displayOptions: {
|
|
57
|
+
show: {
|
|
58
|
+
resource: ['helpCenter'],
|
|
59
|
+
operation: ['createArticle'],
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
options: [
|
|
63
|
+
{
|
|
64
|
+
displayName: 'Author ID',
|
|
65
|
+
name: 'author_id',
|
|
66
|
+
type: 'number',
|
|
67
|
+
default: 0,
|
|
68
|
+
description: 'ID of the author',
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
displayName: 'Category ID',
|
|
72
|
+
name: 'category_id',
|
|
73
|
+
type: 'number',
|
|
74
|
+
default: 0,
|
|
75
|
+
description: 'ID of the category',
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
displayName: 'Description',
|
|
79
|
+
name: 'description',
|
|
80
|
+
type: 'string',
|
|
81
|
+
default: '',
|
|
82
|
+
description: 'Short description of the article',
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
displayName: 'Position',
|
|
86
|
+
name: 'position',
|
|
87
|
+
type: 'number',
|
|
88
|
+
default: 0,
|
|
89
|
+
description: 'Position of the article',
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
displayName: 'Slug',
|
|
93
|
+
name: 'slug',
|
|
94
|
+
type: 'string',
|
|
95
|
+
default: '',
|
|
96
|
+
description: 'Unique slug for the article',
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
displayName: 'Status',
|
|
100
|
+
name: 'status',
|
|
101
|
+
type: 'options',
|
|
102
|
+
options: [
|
|
103
|
+
{ name: 'Draft', value: 'draft' },
|
|
104
|
+
{ name: 'Published', value: 'published' },
|
|
105
|
+
{ name: 'Archived', value: 'archived' },
|
|
106
|
+
],
|
|
107
|
+
default: 'draft',
|
|
108
|
+
description: 'Status of the article',
|
|
109
|
+
},
|
|
110
|
+
],
|
|
111
|
+
},
|
|
112
|
+
];
|
|
113
|
+
//# sourceMappingURL=createArticle.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createArticle.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/helpCenter/createArticle.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,sBAAsB,GAAsB;IACvD;QACE,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,YAAY,CAAC;gBACxB,SAAS,EAAE,CAAC,eAAe,CAAC;aAC7B;SACF;QACD,WAAW,EAAE,yCAAyC;KACvD;IACD;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,YAAY,CAAC;gBACxB,SAAS,EAAE,CAAC,eAAe,C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