@renatoascencio/n8n-nodes-chatwoot 0.2.0 → 0.3.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.
Files changed (32) hide show
  1. package/README.md +3 -2
  2. package/dist/nodes/Chatwoot/Chatwoot.node.js +228 -0
  3. package/dist/nodes/Chatwoot/Chatwoot.node.js.map +1 -1
  4. package/dist/nodes/Chatwoot/chatwoot.svg +4 -11
  5. package/dist/nodes/Chatwoot/resources/agentBot/index.d.ts +3 -0
  6. package/dist/nodes/Chatwoot/resources/agentBot/index.js +143 -0
  7. package/dist/nodes/Chatwoot/resources/agentBot/index.js.map +1 -0
  8. package/dist/nodes/Chatwoot/resources/automationRule/index.d.ts +3 -0
  9. package/dist/nodes/Chatwoot/resources/automationRule/index.js +205 -0
  10. package/dist/nodes/Chatwoot/resources/automationRule/index.js.map +1 -0
  11. package/dist/nodes/Chatwoot/resources/conversation/create.operation.d.ts +2 -0
  12. package/dist/nodes/Chatwoot/resources/conversation/create.operation.js +92 -0
  13. package/dist/nodes/Chatwoot/resources/conversation/create.operation.js.map +1 -0
  14. package/dist/nodes/Chatwoot/resources/conversation/index.js +16 -0
  15. package/dist/nodes/Chatwoot/resources/conversation/index.js.map +1 -1
  16. package/dist/nodes/Chatwoot/resources/conversation/togglePriority.operation.d.ts +2 -0
  17. package/dist/nodes/Chatwoot/resources/conversation/togglePriority.operation.js +41 -0
  18. package/dist/nodes/Chatwoot/resources/conversation/togglePriority.operation.js.map +1 -0
  19. package/dist/nodes/Chatwoot/resources/customFilter/index.d.ts +3 -0
  20. package/dist/nodes/Chatwoot/resources/customFilter/index.js +139 -0
  21. package/dist/nodes/Chatwoot/resources/customFilter/index.js.map +1 -0
  22. package/dist/nodes/Chatwoot/resources/message/delete.operation.d.ts +2 -0
  23. package/dist/nodes/Chatwoot/resources/message/delete.operation.js +34 -0
  24. package/dist/nodes/Chatwoot/resources/message/delete.operation.js.map +1 -0
  25. package/dist/nodes/Chatwoot/resources/message/index.js +8 -1
  26. package/dist/nodes/Chatwoot/resources/message/index.js.map +1 -1
  27. package/dist/nodes/Chatwoot/resources/report/index.d.ts +3 -0
  28. package/dist/nodes/Chatwoot/resources/report/index.js +155 -0
  29. package/dist/nodes/Chatwoot/resources/report/index.js.map +1 -0
  30. package/dist/nodes/Chatwoot/types.d.ts +19 -0
  31. package/dist/tsconfig.tsbuildinfo +1 -1
  32. package/package.json +1 -1
@@ -0,0 +1,3 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const automationRuleOperations: INodeProperties;
3
+ export declare const automationRuleFields: INodeProperties[];
@@ -0,0 +1,205 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.automationRuleFields = exports.automationRuleOperations = void 0;
4
+ exports.automationRuleOperations = {
5
+ displayName: 'Operation',
6
+ name: 'operation',
7
+ type: 'options',
8
+ noDataExpression: true,
9
+ displayOptions: {
10
+ show: {
11
+ resource: ['automationRule'],
12
+ },
13
+ },
14
+ options: [
15
+ {
16
+ name: 'Create',
17
+ value: 'create',
18
+ description: 'Create an automation rule',
19
+ action: 'Create an automation rule',
20
+ },
21
+ {
22
+ name: 'Delete',
23
+ value: 'delete',
24
+ description: 'Delete an automation rule',
25
+ action: 'Delete an automation rule',
26
+ },
27
+ {
28
+ name: 'Get',
29
+ value: 'get',
30
+ description: 'Get an automation rule by ID',
31
+ action: 'Get an automation rule',
32
+ },
33
+ {
34
+ name: 'Get Many',
35
+ value: 'getAll',
36
+ description: 'Get all automation rules',
37
+ action: 'Get all automation rules',
38
+ },
39
+ {
40
+ name: 'Update',
41
+ value: 'update',
42
+ description: 'Update an automation rule',
43
+ action: 'Update an automation rule',
44
+ },
45
+ ],
46
+ default: 'getAll',
47
+ };
48
+ exports.automationRuleFields = [
49
+ {
50
+ displayName: 'Automation Rule ID',
51
+ name: 'automationRuleId',
52
+ type: 'number',
53
+ required: true,
54
+ default: 0,
55
+ displayOptions: {
56
+ show: {
57
+ resource: ['automationRule'],
58
+ operation: ['get', 'update', 'delete'],
59
+ },
60
+ },
61
+ description: 'ID of the automation rule',
62
+ },
63
+ {
64
+ displayName: 'Name',
65
+ name: 'name',
66
+ type: 'string',
67
+ required: true,
68
+ default: '',
69
+ displayOptions: {
70
+ show: {
71
+ resource: ['automationRule'],
72
+ operation: ['create'],
73
+ },
74
+ },
75
+ description: 'Name of the automation rule',
76
+ },
77
+ {
78
+ displayName: 'Event Name',
79
+ name: 'eventName',
80
+ type: 'options',
81
+ required: true,
82
+ options: [
83
+ { name: 'Conversation Created', value: 'conversation_created' },
84
+ { name: 'Conversation Updated', value: 'conversation_updated' },
85
+ { name: 'Conversation Opened', value: 'conversation_opened' },
86
+ { name: 'Message Created', value: 'message_created' },
87
+ ],
88
+ default: 'conversation_created',
89
+ displayOptions: {
90
+ show: {
91
+ resource: ['automationRule'],
92
+ operation: ['create'],
93
+ },
94
+ },
95
+ description: 'Event that triggers the automation',
96
+ },
97
+ {
98
+ displayName: 'Conditions (JSON)',
99
+ name: 'conditions',
100
+ type: 'json',
101
+ required: true,
102
+ default: '[]',
103
+ displayOptions: {
104
+ show: {
105
+ resource: ['automationRule'],
106
+ operation: ['create'],
107
+ },
108
+ },
109
+ description: 'Array of conditions in JSON format',
110
+ },
111
+ {
112
+ displayName: 'Actions (JSON)',
113
+ name: 'actions',
114
+ type: 'json',
115
+ required: true,
116
+ default: '[]',
117
+ displayOptions: {
118
+ show: {
119
+ resource: ['automationRule'],
120
+ operation: ['create'],
121
+ },
122
+ },
123
+ description: 'Array of actions in JSON format',
124
+ },
125
+ {
126
+ displayName: 'Additional Fields',
127
+ name: 'additionalFields',
128
+ type: 'collection',
129
+ placeholder: 'Add Field',
130
+ default: {},
131
+ displayOptions: {
132
+ show: {
133
+ resource: ['automationRule'],
134
+ operation: ['create'],
135
+ },
136
+ },
137
+ options: [
138
+ {
139
+ displayName: 'Description',
140
+ name: 'description',
141
+ type: 'string',
142
+ default: '',
143
+ description: 'Description of the automation rule',
144
+ },
145
+ {
146
+ displayName: 'Active',
147
+ name: 'active',
148
+ type: 'boolean',
149
+ default: true,
150
+ description: 'Whether the rule is active',
151
+ },
152
+ ],
153
+ },
154
+ {
155
+ displayName: 'Update Fields',
156
+ name: 'updateFields',
157
+ type: 'collection',
158
+ placeholder: 'Add Field',
159
+ default: {},
160
+ displayOptions: {
161
+ show: {
162
+ resource: ['automationRule'],
163
+ operation: ['update'],
164
+ },
165
+ },
166
+ options: [
167
+ {
168
+ displayName: 'Name',
169
+ name: 'name',
170
+ type: 'string',
171
+ default: '',
172
+ description: 'Name of the automation rule',
173
+ },
174
+ {
175
+ displayName: 'Description',
176
+ name: 'description',
177
+ type: 'string',
178
+ default: '',
179
+ description: 'Description of the automation rule',
180
+ },
181
+ {
182
+ displayName: 'Active',
183
+ name: 'active',
184
+ type: 'boolean',
185
+ default: true,
186
+ description: 'Whether the rule is active',
187
+ },
188
+ {
189
+ displayName: 'Conditions (JSON)',
190
+ name: 'conditions',
191
+ type: 'json',
192
+ default: '',
193
+ description: 'Array of conditions in JSON format',
194
+ },
195
+ {
196
+ displayName: 'Actions (JSON)',
197
+ name: 'actions',
198
+ type: 'json',
199
+ default: '',
200
+ description: 'Array of actions in JSON format',
201
+ },
202
+ ],
203
+ },
204
+ ];
205
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/automationRule/index.ts"],"names":[],"mappings":";;;AAEa,QAAA,wBAAwB,GAAoB;IACvD,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,gBAAgB,CAAC;SAC7B;KACF;IACD,OAAO,EAAE;QACP;YACE,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,QAAQ;YACf,WAAW,EA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BAC7B,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,MAAM;gBACZ,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,iCAAiC;aAC/C;SACF;KACF;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const createOperation: INodeProperties[];
@@ -0,0 +1,92 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createOperation = void 0;
4
+ exports.createOperation = [
5
+ {
6
+ displayName: 'Source ID',
7
+ name: 'sourceId',
8
+ type: 'string',
9
+ required: true,
10
+ default: '',
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['conversation'],
14
+ operation: ['create'],
15
+ },
16
+ },
17
+ description: 'Source identifier for the conversation (e.g., phone number, email)',
18
+ },
19
+ {
20
+ displayName: 'Inbox',
21
+ name: 'inboxId',
22
+ type: 'options',
23
+ typeOptions: {
24
+ loadOptionsMethod: 'getInboxes',
25
+ },
26
+ required: true,
27
+ default: '',
28
+ displayOptions: {
29
+ show: {
30
+ resource: ['conversation'],
31
+ operation: ['create'],
32
+ },
33
+ },
34
+ description: 'Inbox to create the conversation in. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.',
35
+ },
36
+ {
37
+ displayName: 'Additional Fields',
38
+ name: 'additionalFields',
39
+ type: 'collection',
40
+ placeholder: 'Add Field',
41
+ default: {},
42
+ displayOptions: {
43
+ show: {
44
+ resource: ['conversation'],
45
+ operation: ['create'],
46
+ },
47
+ },
48
+ options: [
49
+ {
50
+ displayName: 'Contact ID',
51
+ name: 'contact_id',
52
+ type: 'number',
53
+ default: 0,
54
+ description: 'ID of an existing contact to associate with the conversation',
55
+ },
56
+ {
57
+ displayName: 'Status',
58
+ name: 'status',
59
+ type: 'options',
60
+ options: [
61
+ { name: 'Open', value: 'open' },
62
+ { name: 'Pending', value: 'pending' },
63
+ { name: 'Resolved', value: 'resolved' },
64
+ ],
65
+ default: 'open',
66
+ description: 'Initial status of the conversation',
67
+ },
68
+ {
69
+ displayName: 'Assignee ID',
70
+ name: 'assignee_id',
71
+ type: 'number',
72
+ default: 0,
73
+ description: 'Agent ID to assign the conversation to',
74
+ },
75
+ {
76
+ displayName: 'Team ID',
77
+ name: 'team_id',
78
+ type: 'number',
79
+ default: 0,
80
+ description: 'Team ID to assign the conversation to',
81
+ },
82
+ {
83
+ displayName: 'Custom Attributes (JSON)',
84
+ name: 'custom_attributes',
85
+ type: 'json',
86
+ default: '{}',
87
+ description: 'Custom attributes as JSON object',
88
+ },
89
+ ],
90
+ },
91
+ ];
92
+ //# sourceMappingURL=create.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/conversation/create.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAsB;IAChD;QACE,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,cAAc,CAAC;gBAC1B,SAAS,EAAE,CAAC,QAAQ,CAAC;aACtB;SACF;QACD,WAAW,EAAE,oEAAoE;KAClF;IACD;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,WAAW,EAAE;YACX,iBAAiB,EAAE,YAAY;SAChC;QACD,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,cAAc,CAAC;gBAC1B,SAAS,EAAE,CAAC,QAAQ,CAAC;aACtB;SACF;QACD,WAAW,EAAE,sJAAsJ;KACpK;IACD;QACE,WAAW,EAAE,mBAAmB;QAChC,IAAI,EAAE,kBAAkB;QACxB,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,YAAY;gBACzB,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,CAAC;gBACV,WAAW,EAAE,8DAA8D;aAC5E;YACD;gBACE,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE;oBACP,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;oBAC/B,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;oBACrC,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;iBACxC;gBACD,OAAO,EAAE,MAAM;gBACf,WAAW,EAAE,oCAAoC;aAClD;YACD;gBACE,WAAW,EAAE,aAAa;gBAC1B,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,CAAC;gBACV,WAAW,EAAE,wCAAwC;aACtD;YACD;gBACE,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,CAAC;gBACV,WAAW,EAAE,uCAAuC;aACrD;YACD;gBACE,WAAW,EAAE,0BAA0B;gBACvC,IAAI,EAAE,mBAAmB;gBACzB,IAAI,EAAE,MAAM;gBACZ,OAAO,EAAE,IAAI;gBACb,WAAW,EAAE,kCAAkC;aAChD;SACF;KACF;CACF,CAAC"}
@@ -6,6 +6,8 @@ const getAll_operation_1 = require("./getAll.operation");
6
6
  const updateStatus_operation_1 = require("./updateStatus.operation");
7
7
  const assign_operation_1 = require("./assign.operation");
8
8
  const addLabels_operation_1 = require("./addLabels.operation");
9
+ const create_operation_1 = require("./create.operation");
10
+ const togglePriority_operation_1 = require("./togglePriority.operation");
9
11
  exports.conversationOperations = {
10
12
  displayName: 'Operation',
11
13
  name: 'operation',
@@ -29,6 +31,12 @@ exports.conversationOperations = {
29
31
  description: 'Assign conversation to an agent or team',
30
32
  action: 'Assign a conversation',
31
33
  },
34
+ {
35
+ name: 'Create',
36
+ value: 'create',
37
+ description: 'Create a new conversation',
38
+ action: 'Create a conversation',
39
+ },
32
40
  {
33
41
  name: 'Get',
34
42
  value: 'get',
@@ -41,6 +49,12 @@ exports.conversationOperations = {
41
49
  description: 'Get many conversations with optional filters',
42
50
  action: 'Get many conversations',
43
51
  },
52
+ {
53
+ name: 'Toggle Priority',
54
+ value: 'togglePriority',
55
+ description: 'Set conversation priority (urgent, high, medium, low, none)',
56
+ action: 'Toggle conversation priority',
57
+ },
44
58
  {
45
59
  name: 'Update Status',
46
60
  value: 'updateStatus',
@@ -56,5 +70,7 @@ exports.conversationFields = [
56
70
  ...updateStatus_operation_1.updateStatusOperation,
57
71
  ...assign_operation_1.assignOperation,
58
72
  ...addLabels_operation_1.addLabelsOperation,
73
+ ...create_operation_1.createOperation,
74
+ ...togglePriority_operation_1.togglePriorityOperation,
59
75
  ];
60
76
  //# 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;AAE9C,QAAA,sBAAsB,GAAoB;IACrD,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,cAAc,CAAC;SAC3B;KACF;IACD,OAAO,EAAE;QACP;YACE,IAAI,EAAE,YAAY;YAClB,KAAK,EAAE,WAAW;YAClB,WAAW,EAAE,8BAA8B;YAC3C,MAAM,EAAE,8BAA8B;SACvC;QACD;YACE,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,yCAAyC;YACtD,MAAM,EAAE,uBAAuB;SAChC;QACD;YACE,IAAI,EAAE,KAAK;YACX,KAAK,EAAE,KAAK;YACZ,WAAW,EAAE,0BAA0B;YACvC,MAAM,EAAE,oBAAoB;SAC7B;QACD;YACE,IAAI,EAAE,UAAU;YAChB,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,8CAA8C;YAC3D,MAAM,EAAE,wBAAwB;SACjC;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;CACtB,CAAC"}
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;AAExD,QAAA,sBAAsB,GAAoB;IACrD,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,cAAc,CAAC;SAC3B;KACF;IACD,OAAO,EAAE;QACP;YACE,IAAI,EAAE,YAAY;YAClB,KAAK,EAAE,WAAW;YAClB,WAAW,EAAE,8BAA8B;YAC3C,MAAM,EAAE,8BAA8B;SACvC;QACD;YACE,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,yCAAyC;YACtD,MAAM,EAAE,uBAAuB;SAChC;QACD;YACE,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,2BAA2B;YACxC,MAAM,EAAE,uBAAuB;SAChC;QACD;YACE,IAAI,EAAE,KAAK;YACX,KAAK,EAAE,KAAK;YACZ,WAAW,EAAE,0BAA0B;YACvC,MAAM,EAAE,oBAAoB;SAC7B;QACD;YACE,IAAI,EAAE,UAAU;YAChB,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,8CAA8C;YAC3D,MAAM,EAAE,wBAAwB;SACjC;QACD;YACE,IAAI,EAAE,iBAAiB;YACvB,KAAK,EAAE,gBAAgB;YACvB,WAAW,EAAE,6DAA6D;YAC1E,MAAM,EAAE,8BAA8B;SACvC;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;CAC3B,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const togglePriorityOperation: INodeProperties[];
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.togglePriorityOperation = void 0;
4
+ exports.togglePriorityOperation = [
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: ['togglePriority'],
15
+ },
16
+ },
17
+ description: 'ID of the conversation',
18
+ },
19
+ {
20
+ displayName: 'Priority',
21
+ name: 'priority',
22
+ type: 'options',
23
+ required: true,
24
+ options: [
25
+ { name: 'Urgent', value: 'urgent' },
26
+ { name: 'High', value: 'high' },
27
+ { name: 'Medium', value: 'medium' },
28
+ { name: 'Low', value: 'low' },
29
+ { name: 'None', value: 'none' },
30
+ ],
31
+ default: 'none',
32
+ displayOptions: {
33
+ show: {
34
+ resource: ['conversation'],
35
+ operation: ['togglePriority'],
36
+ },
37
+ },
38
+ description: 'Priority level to set',
39
+ },
40
+ ];
41
+ //# sourceMappingURL=togglePriority.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"togglePriority.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/conversation/togglePriority.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,uBAAuB,GAAsB;IACxD;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,gBAAgB,CAAC;aAC9B;SACF;QACD,WAAW,EAAE,wBAAwB;KACtC;IACD;QACE,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,SAAS;QACf,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE;YACP,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;YACnC,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;YAC/B,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;YACnC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE;YAC7B,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;SAChC;QACD,OAAO,EAAE,MAAM;QACf,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,cAAc,CAAC;gBAC1B,SAAS,EAAE,CAAC,gBAAgB,CAAC;aAC9B;SACF;QACD,WAAW,EAAE,uBAAuB;KACrC;CACF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const customFilterOperations: INodeProperties;
3
+ export declare const customFilterFields: INodeProperties[];
@@ -0,0 +1,139 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.customFilterFields = exports.customFilterOperations = void 0;
4
+ exports.customFilterOperations = {
5
+ displayName: 'Operation',
6
+ name: 'operation',
7
+ type: 'options',
8
+ noDataExpression: true,
9
+ displayOptions: {
10
+ show: {
11
+ resource: ['customFilter'],
12
+ },
13
+ },
14
+ options: [
15
+ {
16
+ name: 'Create',
17
+ value: 'create',
18
+ description: 'Create a custom filter',
19
+ action: 'Create a custom filter',
20
+ },
21
+ {
22
+ name: 'Delete',
23
+ value: 'delete',
24
+ description: 'Delete a custom filter',
25
+ action: 'Delete a custom filter',
26
+ },
27
+ {
28
+ name: 'Get',
29
+ value: 'get',
30
+ description: 'Get a custom filter by ID',
31
+ action: 'Get a custom filter',
32
+ },
33
+ {
34
+ name: 'Get Many',
35
+ value: 'getAll',
36
+ description: 'Get all custom filters',
37
+ action: 'Get all custom filters',
38
+ },
39
+ {
40
+ name: 'Update',
41
+ value: 'update',
42
+ description: 'Update a custom filter',
43
+ action: 'Update a custom filter',
44
+ },
45
+ ],
46
+ default: 'getAll',
47
+ };
48
+ exports.customFilterFields = [
49
+ {
50
+ displayName: 'Custom Filter ID',
51
+ name: 'customFilterId',
52
+ type: 'number',
53
+ required: true,
54
+ default: 0,
55
+ displayOptions: {
56
+ show: {
57
+ resource: ['customFilter'],
58
+ operation: ['get', 'update', 'delete'],
59
+ },
60
+ },
61
+ description: 'ID of the custom filter',
62
+ },
63
+ {
64
+ displayName: 'Filter Type',
65
+ name: 'filterType',
66
+ type: 'options',
67
+ options: [
68
+ { name: 'Conversation', value: 'conversation' },
69
+ { name: 'Contact', value: 'contact' },
70
+ { name: 'Report', value: 'report' },
71
+ ],
72
+ default: 'conversation',
73
+ displayOptions: {
74
+ show: {
75
+ resource: ['customFilter'],
76
+ operation: ['getAll', 'create'],
77
+ },
78
+ },
79
+ description: 'Type of filter',
80
+ },
81
+ {
82
+ displayName: 'Name',
83
+ name: 'name',
84
+ type: 'string',
85
+ required: true,
86
+ default: '',
87
+ displayOptions: {
88
+ show: {
89
+ resource: ['customFilter'],
90
+ operation: ['create'],
91
+ },
92
+ },
93
+ description: 'Name of the custom filter',
94
+ },
95
+ {
96
+ displayName: 'Query (JSON)',
97
+ name: 'query',
98
+ type: 'json',
99
+ required: true,
100
+ default: '{}',
101
+ displayOptions: {
102
+ show: {
103
+ resource: ['customFilter'],
104
+ operation: ['create'],
105
+ },
106
+ },
107
+ description: 'Filter query in JSON format',
108
+ },
109
+ {
110
+ displayName: 'Update Fields',
111
+ name: 'updateFields',
112
+ type: 'collection',
113
+ placeholder: 'Add Field',
114
+ default: {},
115
+ displayOptions: {
116
+ show: {
117
+ resource: ['customFilter'],
118
+ operation: ['update'],
119
+ },
120
+ },
121
+ options: [
122
+ {
123
+ displayName: 'Name',
124
+ name: 'name',
125
+ type: 'string',
126
+ default: '',
127
+ description: 'Name of the custom filter',
128
+ },
129
+ {
130
+ displayName: 'Query (JSON)',
131
+ name: 'query',
132
+ type: 'json',
133
+ default: '',
134
+ description: 'Filter query in JSON format',
135
+ },
136
+ ],
137
+ },
138
+ ];
139
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/customFilter/index.ts"],"names":[],"mappings":";;;AAEa,QAAA,sBA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MAAM;gBACnB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,2BAA2B;aACzC;YACD;gBACE,WAAW,EAAE,cAAc;gBAC3B,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,MAAM;gBACZ,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,6BAA6B;aAC3C;SACF;KACF;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const deleteOperation: INodeProperties[];
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.deleteOperation = void 0;
4
+ exports.deleteOperation = [
5
+ {
6
+ displayName: 'Conversation ID',
7
+ name: 'conversationId',
8
+ type: 'number',
9
+ required: true,
10
+ default: 0,
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['message'],
14
+ operation: ['delete'],
15
+ },
16
+ },
17
+ description: 'ID of the conversation containing the message',
18
+ },
19
+ {
20
+ displayName: 'Message ID',
21
+ name: 'messageId',
22
+ type: 'number',
23
+ required: true,
24
+ default: 0,
25
+ displayOptions: {
26
+ show: {
27
+ resource: ['message'],
28
+ operation: ['delete'],
29
+ },
30
+ },
31
+ description: 'ID of the message to delete',
32
+ },
33
+ ];
34
+ //# sourceMappingURL=delete.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/message/delete.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,SAAS,CAAC;gBACrB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACtB;SACF;QACD,WAAW,EAAE,+CAA+C;KAC7D;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,SAAS,CAAC;gBACrB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACtB;SACF;QACD,WAAW,EAAE,6BAA6B;KAC3C;CACF,CAAC"}
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.messageFields = exports.messageOperations = void 0;
4
4
  const create_operation_1 = require("./create.operation");
5
5
  const getAll_operation_1 = require("./getAll.operation");
6
+ const delete_operation_1 = require("./delete.operation");
6
7
  exports.messageOperations = {
7
8
  displayName: 'Operation',
8
9
  name: 'operation',
@@ -20,6 +21,12 @@ exports.messageOperations = {
20
21
  description: 'Send a message to a conversation',
21
22
  action: 'Send a message',
22
23
  },
24
+ {
25
+ name: 'Delete',
26
+ value: 'delete',
27
+ description: 'Delete a message from a conversation',
28
+ action: 'Delete a message',
29
+ },
23
30
  {
24
31
  name: 'Get Many',
25
32
  value: 'getAll',
@@ -29,5 +36,5 @@ exports.messageOperations = {
29
36
  ],
30
37
  default: 'create',
31
38
  };
32
- exports.messageFields = [...create_operation_1.createOperation, ...getAll_operation_1.getAllOperation];
39
+ exports.messageFields = [...create_operation_1.createOperation, ...getAll_operation_1.getAllOperation, ...delete_operation_1.deleteOperation];
33
40
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/message/index.ts"],"names":[],"mappings":";;;AACA,yDAAqD;AACrD,yDAAqD;AAExC,QAAA,iBAAiB,GAAoB;IAChD,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,SAAS,CAAC;SACtB;KACF;IACD,OAAO,EAAE;QACP;YACE,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,kCAAkC;YAC/C,MAAM,EAAE,gBAAgB;SACzB;QACD;YACE,IAAI,EAAE,UAAU;YAChB,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,kCAAkC;YAC/C,MAAM,EAAE,gCAAgC;SACzC;KACF;IACD,OAAO,EAAE,QAAQ;CAClB,CAAC;AAEW,QAAA,aAAa,GAAsB,CAAC,GAAG,kCAAe,EAAE,GAAG,kCAAe,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/message/index.ts"],"names":[],"mappings":";;;AACA,yDAAqD;AACrD,yDAAqD;AACrD,yDAAqD;AAExC,QAAA,iBAAiB,GAAoB;IAChD,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,SAAS,CAAC;SACtB;KACF;IACD,OAAO,EAAE;QACP;YACE,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,kCAAkC;YAC/C,MAAM,EAAE,gBAAgB;SACzB;QACD;YACE,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,sCAAsC;YACnD,MAAM,EAAE,kBAAkB;SAC3B;QACD;YACE,IAAI,EAAE,UAAU;YAChB,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,kCAAkC;YAC/C,MAAM,EAAE,gCAAgC;SACzC;KACF;IACD,OAAO,EAAE,QAAQ;CAClB,CAAC;AAEW,QAAA,aAAa,GAAsB,CAAC,GAAG,kCAAe,EAAE,GAAG,kCAAe,EAAE,GAAG,kCAAe,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const reportOperations: INodeProperties;
3
+ export declare const reportFields: INodeProperties[];