@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
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.updateOperation = void 0;
|
|
4
|
+
exports.updateOperation = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Contact Identifier',
|
|
7
|
+
name: 'contactIdentifier',
|
|
8
|
+
type: 'string',
|
|
9
|
+
required: true,
|
|
10
|
+
default: '',
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['publicMessage'],
|
|
14
|
+
operation: ['update'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
description: 'The source_id of the contact',
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
displayName: 'Conversation ID',
|
|
21
|
+
name: 'conversationId',
|
|
22
|
+
type: 'number',
|
|
23
|
+
required: true,
|
|
24
|
+
default: 0,
|
|
25
|
+
displayOptions: {
|
|
26
|
+
show: {
|
|
27
|
+
resource: ['publicMessage'],
|
|
28
|
+
operation: ['update'],
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
description: 'ID of the conversation',
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
displayName: 'Message ID',
|
|
35
|
+
name: 'messageId',
|
|
36
|
+
type: 'number',
|
|
37
|
+
required: true,
|
|
38
|
+
default: 0,
|
|
39
|
+
displayOptions: {
|
|
40
|
+
show: {
|
|
41
|
+
resource: ['publicMessage'],
|
|
42
|
+
operation: ['update'],
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
description: 'ID of the message to update',
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
displayName: 'Content',
|
|
49
|
+
name: 'content',
|
|
50
|
+
type: 'string',
|
|
51
|
+
typeOptions: {
|
|
52
|
+
rows: 4,
|
|
53
|
+
},
|
|
54
|
+
required: true,
|
|
55
|
+
default: '',
|
|
56
|
+
displayOptions: {
|
|
57
|
+
show: {
|
|
58
|
+
resource: ['publicMessage'],
|
|
59
|
+
operation: ['update'],
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
description: 'New content of the message',
|
|
63
|
+
},
|
|
64
|
+
];
|
|
65
|
+
//# sourceMappingURL=update.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/publicMessage/update.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAsB;IAChD;QACE,WAAW,EAAE,oBAAoB;QACjC,IAAI,EAAE,mBAAmB;QACzB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,eAAe,CAAC;gBAC3B,SAAS,EAAE,CAAC,QAAQ,CAAC;aACtB;SACF;QACD,WAAW,EAAE,8BAA8B;KAC5C;IACD;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,eAAe,CAAC;gBAC3B,SAAS,EAAE,CAAC,QAAQ,CAAC;aACtB;SACF;QACD,WAAW,EAAE,wBAAwB;KACtC;IACD;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,eAAe,CAAC;gBAC3B,SAAS,EAAE,CAAC,QAAQ,CAAC;aACtB;SACF;QACD,WAAW,EAAE,6BAA6B;KAC3C;IACD;QACE,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE;YACX,IAAI,EAAE,CAAC;SACR;QACD,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,eAAe,CAAC;gBAC3B,SAAS,EAAE,CAAC,QAAQ,CAAC;aACtB;SACF;QACD,WAAW,EAAE,4BAA4B;KAC1C;CACF,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.addAgentOperation = void 0;
|
|
4
|
+
exports.addAgentOperation = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Team ID',
|
|
7
|
+
name: 'teamId',
|
|
8
|
+
type: 'number',
|
|
9
|
+
required: true,
|
|
10
|
+
default: 0,
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['team'],
|
|
14
|
+
operation: ['addAgent'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
description: 'ID of the team',
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
displayName: 'User IDs',
|
|
21
|
+
name: 'userIds',
|
|
22
|
+
type: 'string',
|
|
23
|
+
required: true,
|
|
24
|
+
default: '',
|
|
25
|
+
displayOptions: {
|
|
26
|
+
show: {
|
|
27
|
+
resource: ['team'],
|
|
28
|
+
operation: ['addAgent'],
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
description: 'Comma-separated list of user IDs to add to the team',
|
|
32
|
+
},
|
|
33
|
+
];
|
|
34
|
+
//# sourceMappingURL=addAgent.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addAgent.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/team/addAgent.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,iBAAiB,GAAsB;IAClD;QACE,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,CAAC;QACV,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,UAAU,CAAC;aACxB;SACF;QACD,WAAW,EAAE,gBAAgB;KAC9B;IACD;QACE,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,UAAU,CAAC;aACxB;SACF;QACD,WAAW,EAAE,qDAAqD;KACnE;CACF,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.deleteAgentOperation = void 0;
|
|
4
|
+
exports.deleteAgentOperation = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Team ID',
|
|
7
|
+
name: 'teamId',
|
|
8
|
+
type: 'number',
|
|
9
|
+
required: true,
|
|
10
|
+
default: 0,
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['team'],
|
|
14
|
+
operation: ['deleteAgent'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
description: 'ID of the team',
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
displayName: 'User IDs',
|
|
21
|
+
name: 'userIds',
|
|
22
|
+
type: 'string',
|
|
23
|
+
required: true,
|
|
24
|
+
default: '',
|
|
25
|
+
displayOptions: {
|
|
26
|
+
show: {
|
|
27
|
+
resource: ['team'],
|
|
28
|
+
operation: ['deleteAgent'],
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
description: 'Comma-separated list of user IDs to remove from the team',
|
|
32
|
+
},
|
|
33
|
+
];
|
|
34
|
+
//# sourceMappingURL=deleteAgent.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteAgent.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/team/deleteAgent.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,oBAAoB,GAAsB;IACrD;QACE,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,CAAC;QACV,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,aAAa,CAAC;aAC3B;SACF;QACD,WAAW,EAAE,gBAAgB;KAC9B;IACD;QACE,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,aAAa,CAAC;aAC3B;SACF;QACD,WAAW,EAAE,0DAA0D;KACxE;CACF,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getMembersOperation = void 0;
|
|
4
|
+
exports.getMembersOperation = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Team ID',
|
|
7
|
+
name: 'teamId',
|
|
8
|
+
type: 'number',
|
|
9
|
+
required: true,
|
|
10
|
+
default: 0,
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['team'],
|
|
14
|
+
operation: ['getMembers'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
description: 'ID of the team to get members from',
|
|
18
|
+
},
|
|
19
|
+
];
|
|
20
|
+
//# sourceMappingURL=getMembers.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getMembers.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/team/getMembers.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,mBAAmB,GAAsB;IACpD;QACE,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,CAAC;QACV,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,YAAY,CAAC;aAC1B;SACF;QACD,WAAW,EAAE,oCAAoC;KAClD;CACF,CAAC"}
|
|
@@ -6,6 +6,10 @@ const get_operation_1 = require("./get.operation");
|
|
|
6
6
|
const create_operation_1 = require("./create.operation");
|
|
7
7
|
const update_operation_1 = require("./update.operation");
|
|
8
8
|
const delete_operation_1 = require("./delete.operation");
|
|
9
|
+
const addAgent_operation_1 = require("./addAgent.operation");
|
|
10
|
+
const deleteAgent_operation_1 = require("./deleteAgent.operation");
|
|
11
|
+
const getMembers_operation_1 = require("./getMembers.operation");
|
|
12
|
+
const updateAgents_operation_1 = require("./updateAgents.operation");
|
|
9
13
|
exports.teamOperations = {
|
|
10
14
|
displayName: 'Operation',
|
|
11
15
|
name: 'operation',
|
|
@@ -17,6 +21,12 @@ exports.teamOperations = {
|
|
|
17
21
|
},
|
|
18
22
|
},
|
|
19
23
|
options: [
|
|
24
|
+
{
|
|
25
|
+
name: 'Add Agent',
|
|
26
|
+
value: 'addAgent',
|
|
27
|
+
description: 'Add agents to a team',
|
|
28
|
+
action: 'Add agents to team',
|
|
29
|
+
},
|
|
20
30
|
{
|
|
21
31
|
name: 'Create',
|
|
22
32
|
value: 'create',
|
|
@@ -29,6 +39,12 @@ exports.teamOperations = {
|
|
|
29
39
|
description: 'Delete a team',
|
|
30
40
|
action: 'Delete a team',
|
|
31
41
|
},
|
|
42
|
+
{
|
|
43
|
+
name: 'Delete Agent',
|
|
44
|
+
value: 'deleteAgent',
|
|
45
|
+
description: 'Remove agents from a team',
|
|
46
|
+
action: 'Remove agents from team',
|
|
47
|
+
},
|
|
32
48
|
{
|
|
33
49
|
name: 'Get',
|
|
34
50
|
value: 'get',
|
|
@@ -41,12 +57,24 @@ exports.teamOperations = {
|
|
|
41
57
|
description: 'Get all teams in the account',
|
|
42
58
|
action: 'Get all teams',
|
|
43
59
|
},
|
|
60
|
+
{
|
|
61
|
+
name: 'Get Members',
|
|
62
|
+
value: 'getMembers',
|
|
63
|
+
description: 'Get all members of a team',
|
|
64
|
+
action: 'Get team members',
|
|
65
|
+
},
|
|
44
66
|
{
|
|
45
67
|
name: 'Update',
|
|
46
68
|
value: 'update',
|
|
47
69
|
description: 'Update a team',
|
|
48
70
|
action: 'Update a team',
|
|
49
71
|
},
|
|
72
|
+
{
|
|
73
|
+
name: 'Update Agents',
|
|
74
|
+
value: 'updateAgents',
|
|
75
|
+
description: 'Replace all team members with new list',
|
|
76
|
+
action: 'Update team agents',
|
|
77
|
+
},
|
|
50
78
|
],
|
|
51
79
|
default: 'getAll',
|
|
52
80
|
};
|
|
@@ -56,5 +84,9 @@ exports.teamFields = [
|
|
|
56
84
|
...create_operation_1.createOperation,
|
|
57
85
|
...update_operation_1.updateOperation,
|
|
58
86
|
...delete_operation_1.deleteOperation,
|
|
87
|
+
...addAgent_operation_1.addAgentOperation,
|
|
88
|
+
...deleteAgent_operation_1.deleteAgentOperation,
|
|
89
|
+
...getMembers_operation_1.getMembersOperation,
|
|
90
|
+
...updateAgents_operation_1.updateAgentsOperation,
|
|
59
91
|
];
|
|
60
92
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/team/index.ts"],"names":[],"mappings":";;;AACA,yDAAqD;AACrD,mDAA+C;AAC/C,yDAAqD;AACrD,yDAAqD;AACrD,yDAAqD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/team/index.ts"],"names":[],"mappings":";;;AACA,yDAAqD;AACrD,mDAA+C;AAC/C,yDAAqD;AACrD,yDAAqD;AACrD,yDAAqD;AACrD,6DAAyD;AACzD,mEAA+D;AAC/D,iEAA6D;AAC7D,qEAAiE;AAEpD,QAAA,cAAc,GAAoB;IAC7C,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,MAAM,CAAC;SACnB;KACF;IACD,OAAO,EAAE;QACP;YACE,IAAI,EAAE,WAAW;YACjB,KAAK,EAAE,UAAU;YACjB,WAAW,EAAE,sBAAsB;YACnC,MAAM,EAAE,oBAAoB;SAC7B;QACD;YACE,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,mBAAmB;YAChC,MAAM,EAAE,eAAe;SACxB;QACD;YACE,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,eAAe;YAC5B,MAAM,EAAE,eAAe;SACxB;QACD;YACE,IAAI,EAAE,cAAc;YACpB,KAAK,EAAE,aAAa;YACpB,WAAW,EAAE,2BAA2B;YACxC,MAAM,EAAE,yBAAyB;SAClC;QACD;YACE,IAAI,EAAE,KAAK;YACX,KAAK,EAAE,KAAK;YACZ,WAAW,EAAE,kBAAkB;YAC/B,MAAM,EAAE,YAAY;SACrB;QACD;YACE,IAAI,EAAE,UAAU;YAChB,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,8BAA8B;YAC3C,MAAM,EAAE,eAAe;SACxB;QACD;YACE,IAAI,EAAE,aAAa;YACnB,KAAK,EAAE,YAAY;YACnB,WAAW,EAAE,2BAA2B;YACxC,MAAM,EAAE,kBAAkB;SAC3B;QACD;YACE,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,eAAe;YAC5B,MAAM,EAAE,eAAe;SACxB;QACD;YACE,IAAI,EAAE,eAAe;YACrB,KAAK,EAAE,cAAc;YACrB,WAAW,EAAE,wCAAwC;YACrD,MAAM,EAAE,oBAAoB;SAC7B;KACF;IACD,OAAO,EAAE,QAAQ;CAClB,CAAC;AAEW,QAAA,UAAU,GAAsB;IAC3C,GAAG,kCAAe;IAClB,GAAG,4BAAY;IACf,GAAG,kCAAe;IAClB,GAAG,kCAAe;IAClB,GAAG,kCAAe;IAClB,GAAG,sCAAiB;IACpB,GAAG,4CAAoB;IACvB,GAAG,0CAAmB;IACtB,GAAG,8CAAqB;CACzB,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.updateAgentsOperation = void 0;
|
|
4
|
+
exports.updateAgentsOperation = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Team ID',
|
|
7
|
+
name: 'teamId',
|
|
8
|
+
type: 'number',
|
|
9
|
+
required: true,
|
|
10
|
+
default: 0,
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['team'],
|
|
14
|
+
operation: ['updateAgents'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
description: 'ID of the team',
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
displayName: 'User IDs',
|
|
21
|
+
name: 'userIds',
|
|
22
|
+
type: 'string',
|
|
23
|
+
required: true,
|
|
24
|
+
default: '',
|
|
25
|
+
displayOptions: {
|
|
26
|
+
show: {
|
|
27
|
+
resource: ['team'],
|
|
28
|
+
operation: ['updateAgents'],
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
description: 'Comma-separated list of all user IDs that should be members of this team (replaces existing members)',
|
|
32
|
+
},
|
|
33
|
+
];
|
|
34
|
+
//# sourceMappingURL=updateAgents.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateAgents.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/team/updateAgents.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,qBAAqB,GAAsB;IACtD;QACE,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,CAAC;QACV,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,cAAc,CAAC;aAC5B;SACF;QACD,WAAW,EAAE,gBAAgB;KAC9B;IACD;QACE,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,cAAc,CAAC;aAC5B;SACF;QACD,WAAW,EAAE,sGAAsG;KACpH;CACF,CAAC"}
|