@renatoascencio/n8n-nodes-chatwoot 0.1.2 → 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 (172) hide show
  1. package/README.md +315 -80
  2. package/dist/nodes/Chatwoot/Chatwoot.node.d.ts +9 -0
  3. package/dist/nodes/Chatwoot/Chatwoot.node.js +611 -77
  4. package/dist/nodes/Chatwoot/Chatwoot.node.js.map +1 -1
  5. package/dist/nodes/Chatwoot/Chatwoot.node.json +22 -0
  6. package/dist/nodes/Chatwoot/ChatwootTrigger.node.d.ts +12 -0
  7. package/dist/nodes/Chatwoot/ChatwootTrigger.node.js +197 -0
  8. package/dist/nodes/Chatwoot/ChatwootTrigger.node.js.map +1 -0
  9. package/dist/nodes/Chatwoot/ChatwootTrigger.node.json +22 -0
  10. package/dist/nodes/Chatwoot/GenericFunctions.d.ts +5 -1
  11. package/dist/nodes/Chatwoot/GenericFunctions.js +71 -0
  12. package/dist/nodes/Chatwoot/GenericFunctions.js.map +1 -1
  13. package/dist/nodes/Chatwoot/chatwoot.svg +4 -7
  14. package/dist/nodes/Chatwoot/resources/account/get.operation.d.ts +2 -0
  15. package/dist/nodes/Chatwoot/resources/account/get.operation.js +5 -0
  16. package/dist/nodes/Chatwoot/resources/account/get.operation.js.map +1 -0
  17. package/dist/nodes/Chatwoot/resources/account/index.d.ts +3 -0
  18. package/dist/nodes/Chatwoot/resources/account/index.js +36 -0
  19. package/dist/nodes/Chatwoot/resources/account/index.js.map +1 -0
  20. package/dist/nodes/Chatwoot/resources/account/update.operation.d.ts +2 -0
  21. package/dist/nodes/Chatwoot/resources/account/update.operation.js +75 -0
  22. package/dist/nodes/Chatwoot/resources/account/update.operation.js.map +1 -0
  23. package/dist/nodes/Chatwoot/resources/agent/create.operation.d.ts +2 -0
  24. package/dist/nodes/Chatwoot/resources/agent/create.operation.js +95 -0
  25. package/dist/nodes/Chatwoot/resources/agent/create.operation.js.map +1 -0
  26. package/dist/nodes/Chatwoot/resources/agent/delete.operation.d.ts +2 -0
  27. package/dist/nodes/Chatwoot/resources/agent/delete.operation.js +23 -0
  28. package/dist/nodes/Chatwoot/resources/agent/delete.operation.js.map +1 -0
  29. package/dist/nodes/Chatwoot/resources/agent/getAll.operation.d.ts +2 -0
  30. package/dist/nodes/Chatwoot/resources/agent/getAll.operation.js +5 -0
  31. package/dist/nodes/Chatwoot/resources/agent/getAll.operation.js.map +1 -0
  32. package/dist/nodes/Chatwoot/resources/agent/index.d.ts +3 -0
  33. package/dist/nodes/Chatwoot/resources/agent/index.js +52 -0
  34. package/dist/nodes/Chatwoot/resources/agent/index.js.map +1 -0
  35. package/dist/nodes/Chatwoot/resources/agent/update.operation.d.ts +2 -0
  36. package/dist/nodes/Chatwoot/resources/agent/update.operation.js +75 -0
  37. package/dist/nodes/Chatwoot/resources/agent/update.operation.js.map +1 -0
  38. package/dist/nodes/Chatwoot/resources/agentBot/index.d.ts +3 -0
  39. package/dist/nodes/Chatwoot/resources/agentBot/index.js +143 -0
  40. package/dist/nodes/Chatwoot/resources/agentBot/index.js.map +1 -0
  41. package/dist/nodes/Chatwoot/resources/automationRule/index.d.ts +3 -0
  42. package/dist/nodes/Chatwoot/resources/automationRule/index.js +205 -0
  43. package/dist/nodes/Chatwoot/resources/automationRule/index.js.map +1 -0
  44. package/dist/nodes/Chatwoot/resources/cannedResponse/create.operation.d.ts +2 -0
  45. package/dist/nodes/Chatwoot/resources/cannedResponse/create.operation.js +38 -0
  46. package/dist/nodes/Chatwoot/resources/cannedResponse/create.operation.js.map +1 -0
  47. package/dist/nodes/Chatwoot/resources/cannedResponse/delete.operation.d.ts +2 -0
  48. package/dist/nodes/Chatwoot/resources/cannedResponse/delete.operation.js +20 -0
  49. package/dist/nodes/Chatwoot/resources/cannedResponse/delete.operation.js.map +1 -0
  50. package/dist/nodes/Chatwoot/resources/cannedResponse/getAll.operation.d.ts +2 -0
  51. package/dist/nodes/Chatwoot/resources/cannedResponse/getAll.operation.js +28 -0
  52. package/dist/nodes/Chatwoot/resources/cannedResponse/getAll.operation.js.map +1 -0
  53. package/dist/nodes/Chatwoot/resources/cannedResponse/index.d.ts +3 -0
  54. package/dist/nodes/Chatwoot/resources/cannedResponse/index.js +52 -0
  55. package/dist/nodes/Chatwoot/resources/cannedResponse/index.js.map +1 -0
  56. package/dist/nodes/Chatwoot/resources/cannedResponse/update.operation.d.ts +2 -0
  57. package/dist/nodes/Chatwoot/resources/cannedResponse/update.operation.js +52 -0
  58. package/dist/nodes/Chatwoot/resources/cannedResponse/update.operation.js.map +1 -0
  59. package/dist/nodes/Chatwoot/resources/contact/getConversations.operation.d.ts +2 -0
  60. package/dist/nodes/Chatwoot/resources/contact/getConversations.operation.js +20 -0
  61. package/dist/nodes/Chatwoot/resources/contact/getConversations.operation.js.map +1 -0
  62. package/dist/nodes/Chatwoot/resources/contact/index.js +16 -0
  63. package/dist/nodes/Chatwoot/resources/contact/index.js.map +1 -1
  64. package/dist/nodes/Chatwoot/resources/contact/merge.operation.d.ts +2 -0
  65. package/dist/nodes/Chatwoot/resources/contact/merge.operation.js +34 -0
  66. package/dist/nodes/Chatwoot/resources/contact/merge.operation.js.map +1 -0
  67. package/dist/nodes/Chatwoot/resources/conversation/addLabels.operation.d.ts +2 -0
  68. package/dist/nodes/Chatwoot/resources/conversation/addLabels.operation.js +37 -0
  69. package/dist/nodes/Chatwoot/resources/conversation/addLabels.operation.js.map +1 -0
  70. package/dist/nodes/Chatwoot/resources/conversation/assign.operation.d.ts +2 -0
  71. package/dist/nodes/Chatwoot/resources/conversation/assign.operation.js +87 -0
  72. package/dist/nodes/Chatwoot/resources/conversation/assign.operation.js.map +1 -0
  73. package/dist/nodes/Chatwoot/resources/conversation/create.operation.d.ts +2 -0
  74. package/dist/nodes/Chatwoot/resources/conversation/create.operation.js +92 -0
  75. package/dist/nodes/Chatwoot/resources/conversation/create.operation.js.map +1 -0
  76. package/dist/nodes/Chatwoot/resources/conversation/index.js +32 -0
  77. package/dist/nodes/Chatwoot/resources/conversation/index.js.map +1 -1
  78. package/dist/nodes/Chatwoot/resources/conversation/togglePriority.operation.d.ts +2 -0
  79. package/dist/nodes/Chatwoot/resources/conversation/togglePriority.operation.js +41 -0
  80. package/dist/nodes/Chatwoot/resources/conversation/togglePriority.operation.js.map +1 -0
  81. package/dist/nodes/Chatwoot/resources/customAttribute/create.operation.d.ts +2 -0
  82. package/dist/nodes/Chatwoot/resources/customAttribute/create.operation.js +122 -0
  83. package/dist/nodes/Chatwoot/resources/customAttribute/create.operation.js.map +1 -0
  84. package/dist/nodes/Chatwoot/resources/customAttribute/delete.operation.d.ts +2 -0
  85. package/dist/nodes/Chatwoot/resources/customAttribute/delete.operation.js +20 -0
  86. package/dist/nodes/Chatwoot/resources/customAttribute/delete.operation.js.map +1 -0
  87. package/dist/nodes/Chatwoot/resources/customAttribute/get.operation.d.ts +2 -0
  88. package/dist/nodes/Chatwoot/resources/customAttribute/get.operation.js +20 -0
  89. package/dist/nodes/Chatwoot/resources/customAttribute/get.operation.js.map +1 -0
  90. package/dist/nodes/Chatwoot/resources/customAttribute/getAll.operation.d.ts +2 -0
  91. package/dist/nodes/Chatwoot/resources/customAttribute/getAll.operation.js +32 -0
  92. package/dist/nodes/Chatwoot/resources/customAttribute/getAll.operation.js.map +1 -0
  93. package/dist/nodes/Chatwoot/resources/customAttribute/index.d.ts +3 -0
  94. package/dist/nodes/Chatwoot/resources/customAttribute/index.js +60 -0
  95. package/dist/nodes/Chatwoot/resources/customAttribute/index.js.map +1 -0
  96. package/dist/nodes/Chatwoot/resources/customAttribute/update.operation.d.ts +2 -0
  97. package/dist/nodes/Chatwoot/resources/customAttribute/update.operation.js +64 -0
  98. package/dist/nodes/Chatwoot/resources/customAttribute/update.operation.js.map +1 -0
  99. package/dist/nodes/Chatwoot/resources/customFilter/index.d.ts +3 -0
  100. package/dist/nodes/Chatwoot/resources/customFilter/index.js +139 -0
  101. package/dist/nodes/Chatwoot/resources/customFilter/index.js.map +1 -0
  102. package/dist/nodes/Chatwoot/resources/inbox/get.operation.d.ts +2 -0
  103. package/dist/nodes/Chatwoot/resources/inbox/get.operation.js +23 -0
  104. package/dist/nodes/Chatwoot/resources/inbox/get.operation.js.map +1 -0
  105. package/dist/nodes/Chatwoot/resources/inbox/getAll.operation.d.ts +2 -0
  106. package/dist/nodes/Chatwoot/resources/inbox/getAll.operation.js +5 -0
  107. package/dist/nodes/Chatwoot/resources/inbox/getAll.operation.js.map +1 -0
  108. package/dist/nodes/Chatwoot/resources/inbox/index.d.ts +3 -0
  109. package/dist/nodes/Chatwoot/resources/inbox/index.js +44 -0
  110. package/dist/nodes/Chatwoot/resources/inbox/index.js.map +1 -0
  111. package/dist/nodes/Chatwoot/resources/inbox/update.operation.d.ts +2 -0
  112. package/dist/nodes/Chatwoot/resources/inbox/update.operation.js +143 -0
  113. package/dist/nodes/Chatwoot/resources/inbox/update.operation.js.map +1 -0
  114. package/dist/nodes/Chatwoot/resources/label/create.operation.d.ts +2 -0
  115. package/dist/nodes/Chatwoot/resources/label/create.operation.js +56 -0
  116. package/dist/nodes/Chatwoot/resources/label/create.operation.js.map +1 -0
  117. package/dist/nodes/Chatwoot/resources/label/delete.operation.d.ts +2 -0
  118. package/dist/nodes/Chatwoot/resources/label/delete.operation.js +23 -0
  119. package/dist/nodes/Chatwoot/resources/label/delete.operation.js.map +1 -0
  120. package/dist/nodes/Chatwoot/resources/label/getAll.operation.d.ts +2 -0
  121. package/dist/nodes/Chatwoot/resources/label/getAll.operation.js +5 -0
  122. package/dist/nodes/Chatwoot/resources/label/getAll.operation.js.map +1 -0
  123. package/dist/nodes/Chatwoot/resources/label/index.d.ts +3 -0
  124. package/dist/nodes/Chatwoot/resources/label/index.js +52 -0
  125. package/dist/nodes/Chatwoot/resources/label/index.js.map +1 -0
  126. package/dist/nodes/Chatwoot/resources/label/update.operation.d.ts +2 -0
  127. package/dist/nodes/Chatwoot/resources/label/update.operation.js +66 -0
  128. package/dist/nodes/Chatwoot/resources/label/update.operation.js.map +1 -0
  129. package/dist/nodes/Chatwoot/resources/message/delete.operation.d.ts +2 -0
  130. package/dist/nodes/Chatwoot/resources/message/delete.operation.js +34 -0
  131. package/dist/nodes/Chatwoot/resources/message/delete.operation.js.map +1 -0
  132. package/dist/nodes/Chatwoot/resources/message/index.js +8 -1
  133. package/dist/nodes/Chatwoot/resources/message/index.js.map +1 -1
  134. package/dist/nodes/Chatwoot/resources/report/index.d.ts +3 -0
  135. package/dist/nodes/Chatwoot/resources/report/index.js +155 -0
  136. package/dist/nodes/Chatwoot/resources/report/index.js.map +1 -0
  137. package/dist/nodes/Chatwoot/resources/team/create.operation.d.ts +2 -0
  138. package/dist/nodes/Chatwoot/resources/team/create.operation.js +49 -0
  139. package/dist/nodes/Chatwoot/resources/team/create.operation.js.map +1 -0
  140. package/dist/nodes/Chatwoot/resources/team/delete.operation.d.ts +2 -0
  141. package/dist/nodes/Chatwoot/resources/team/delete.operation.js +23 -0
  142. package/dist/nodes/Chatwoot/resources/team/delete.operation.js.map +1 -0
  143. package/dist/nodes/Chatwoot/resources/team/get.operation.d.ts +2 -0
  144. package/dist/nodes/Chatwoot/resources/team/get.operation.js +23 -0
  145. package/dist/nodes/Chatwoot/resources/team/get.operation.js.map +1 -0
  146. package/dist/nodes/Chatwoot/resources/team/getAll.operation.d.ts +2 -0
  147. package/dist/nodes/Chatwoot/resources/team/getAll.operation.js +5 -0
  148. package/dist/nodes/Chatwoot/resources/team/getAll.operation.js.map +1 -0
  149. package/dist/nodes/Chatwoot/resources/team/index.d.ts +3 -0
  150. package/dist/nodes/Chatwoot/resources/team/index.js +60 -0
  151. package/dist/nodes/Chatwoot/resources/team/index.js.map +1 -0
  152. package/dist/nodes/Chatwoot/resources/team/update.operation.d.ts +2 -0
  153. package/dist/nodes/Chatwoot/resources/team/update.operation.js +59 -0
  154. package/dist/nodes/Chatwoot/resources/team/update.operation.js.map +1 -0
  155. package/dist/nodes/Chatwoot/resources/webhook/create.operation.d.ts +2 -0
  156. package/dist/nodes/Chatwoot/resources/webhook/create.operation.js +77 -0
  157. package/dist/nodes/Chatwoot/resources/webhook/create.operation.js.map +1 -0
  158. package/dist/nodes/Chatwoot/resources/webhook/delete.operation.d.ts +2 -0
  159. package/dist/nodes/Chatwoot/resources/webhook/delete.operation.js +20 -0
  160. package/dist/nodes/Chatwoot/resources/webhook/delete.operation.js.map +1 -0
  161. package/dist/nodes/Chatwoot/resources/webhook/getAll.operation.d.ts +2 -0
  162. package/dist/nodes/Chatwoot/resources/webhook/getAll.operation.js +5 -0
  163. package/dist/nodes/Chatwoot/resources/webhook/getAll.operation.js.map +1 -0
  164. package/dist/nodes/Chatwoot/resources/webhook/index.d.ts +3 -0
  165. package/dist/nodes/Chatwoot/resources/webhook/index.js +52 -0
  166. package/dist/nodes/Chatwoot/resources/webhook/index.js.map +1 -0
  167. package/dist/nodes/Chatwoot/resources/webhook/update.operation.d.ts +2 -0
  168. package/dist/nodes/Chatwoot/resources/webhook/update.operation.js +59 -0
  169. package/dist/nodes/Chatwoot/resources/webhook/update.operation.js.map +1 -0
  170. package/dist/nodes/Chatwoot/types.d.ts +322 -6
  171. package/dist/tsconfig.tsbuildinfo +1 -1
  172. package/package.json +4 -3
@@ -0,0 +1,75 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.updateOperation = void 0;
4
+ exports.updateOperation = [
5
+ {
6
+ displayName: 'Update Fields',
7
+ name: 'updateFields',
8
+ type: 'collection',
9
+ placeholder: 'Add Field',
10
+ default: {},
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['account'],
14
+ operation: ['update'],
15
+ },
16
+ },
17
+ options: [
18
+ {
19
+ displayName: 'Name',
20
+ name: 'name',
21
+ type: 'string',
22
+ default: '',
23
+ description: 'Name of the account',
24
+ },
25
+ {
26
+ displayName: 'Locale',
27
+ name: 'locale',
28
+ type: 'options',
29
+ options: [
30
+ { name: 'English', value: 'en' },
31
+ { name: 'Spanish', value: 'es' },
32
+ { name: 'Portuguese', value: 'pt' },
33
+ { name: 'French', value: 'fr' },
34
+ { name: 'German', value: 'de' },
35
+ { name: 'Italian', value: 'it' },
36
+ { name: 'Japanese', value: 'ja' },
37
+ { name: 'Korean', value: 'ko' },
38
+ { name: 'Chinese', value: 'zh' },
39
+ { name: 'Arabic', value: 'ar' },
40
+ { name: 'Hindi', value: 'hi' },
41
+ { name: 'Russian', value: 'ru' },
42
+ ],
43
+ default: 'en',
44
+ description: 'Account locale/language',
45
+ },
46
+ {
47
+ displayName: 'Domain',
48
+ name: 'domain',
49
+ type: 'string',
50
+ default: '',
51
+ description: 'Domain associated with the account',
52
+ },
53
+ {
54
+ displayName: 'Support Email',
55
+ name: 'support_email',
56
+ type: 'string',
57
+ placeholder: 'support@example.com',
58
+ default: '',
59
+ description: 'Support email address for the account',
60
+ },
61
+ {
62
+ displayName: 'Auto Resolve Duration (Days)',
63
+ name: 'auto_resolve_duration',
64
+ type: 'number',
65
+ typeOptions: {
66
+ minValue: 1,
67
+ maxValue: 999,
68
+ },
69
+ default: 0,
70
+ description: 'Number of days after which conversations are auto-resolved. Set to 0 to disable.',
71
+ },
72
+ ],
73
+ },
74
+ ];
75
+ //# sourceMappingURL=update.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/account/update.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAsB;IAChD;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,SAAS,CAAC;gBACrB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACtB;SACF;QACD,OAAO,EAAE;YACP;gBACE,WAAW,EAAE,MAAM;gBACnB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,QA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AE,EAAE;gBACX,WAAW,EAAE,uCAAuC;aACrD;YACD;gBACE,WAAW,EAAE,8BAA8B;gBAC3C,IAAI,EAAE,uBAAuB;gBAC7B,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACX,QAAQ,EAAE,CAAC;oBACX,QAAQ,EAAE,GAAG;iBACd;gBACD,OAAO,EAAE,CAAC;gBACV,WAAW,EAAE,kFAAkF;aAChG;SACF;KACF;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const createOperation: INodeProperties[];
@@ -0,0 +1,95 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createOperation = void 0;
4
+ exports.createOperation = [
5
+ {
6
+ displayName: 'Name',
7
+ name: 'name',
8
+ type: 'string',
9
+ required: true,
10
+ default: '',
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['agent'],
14
+ operation: ['create'],
15
+ },
16
+ },
17
+ description: 'Full name of the agent',
18
+ },
19
+ {
20
+ displayName: 'Email',
21
+ name: 'email',
22
+ type: 'string',
23
+ placeholder: 'name@email.com',
24
+ required: true,
25
+ default: '',
26
+ displayOptions: {
27
+ show: {
28
+ resource: ['agent'],
29
+ operation: ['create'],
30
+ },
31
+ },
32
+ description: 'Email address of the agent (used for login)',
33
+ },
34
+ {
35
+ displayName: 'Role',
36
+ name: 'role',
37
+ type: 'options',
38
+ required: true,
39
+ options: [
40
+ {
41
+ name: 'Agent',
42
+ value: 'agent',
43
+ description: 'Can manage assigned conversations and contacts',
44
+ },
45
+ {
46
+ name: 'Administrator',
47
+ value: 'administrator',
48
+ description: 'Full access to all conversations, contacts, and settings',
49
+ },
50
+ ],
51
+ default: 'agent',
52
+ displayOptions: {
53
+ show: {
54
+ resource: ['agent'],
55
+ operation: ['create'],
56
+ },
57
+ },
58
+ description: 'Role determines the permissions of the agent',
59
+ },
60
+ {
61
+ displayName: 'Additional Fields',
62
+ name: 'additionalFields',
63
+ type: 'collection',
64
+ placeholder: 'Add Field',
65
+ default: {},
66
+ displayOptions: {
67
+ show: {
68
+ resource: ['agent'],
69
+ operation: ['create'],
70
+ },
71
+ },
72
+ options: [
73
+ {
74
+ displayName: 'Availability Status',
75
+ name: 'availability_status',
76
+ type: 'options',
77
+ options: [
78
+ { name: 'Available', value: 'available' },
79
+ { name: 'Busy', value: 'busy' },
80
+ { name: 'Offline', value: 'offline' },
81
+ ],
82
+ default: 'available',
83
+ description: 'Initial availability status of the agent',
84
+ },
85
+ {
86
+ displayName: 'Auto Offline',
87
+ name: 'auto_offline',
88
+ type: 'boolean',
89
+ default: true,
90
+ description: 'Whether to automatically set agent offline when inactive',
91
+ },
92
+ ],
93
+ },
94
+ ];
95
+ //# sourceMappingURL=create.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/agent/create.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAsB;IAChD;QACE,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,OAAO,CAAC;gBACnB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACtB;SACF;QACD,WAAW,EAAE,wBAAwB;KACtC;IACD;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,gBAAgB;QAC7B,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,OAAO,CAAC;gBACnB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACtB;SACF;QACD,WAAW,EAAE,6CAA6C;KAC3D;IACD;QACE,WAAW,EAAE,MAAM;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,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const deleteOperation: INodeProperties[];
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.deleteOperation = void 0;
4
+ exports.deleteOperation = [
5
+ {
6
+ displayName: 'Agent',
7
+ name: 'agentId',
8
+ type: 'options',
9
+ typeOptions: {
10
+ loadOptionsMethod: 'getAgents',
11
+ },
12
+ required: true,
13
+ default: '',
14
+ displayOptions: {
15
+ show: {
16
+ resource: ['agent'],
17
+ operation: ['delete'],
18
+ },
19
+ },
20
+ description: 'Select the agent to delete. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.',
21
+ },
22
+ ];
23
+ //# sourceMappingURL=delete.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/agent/delete.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAsB;IAChD;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,WAAW,EAAE;YACX,iBAAiB,EAAE,WAAW;SAC/B;QACD,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,OAAO,CAAC;gBACnB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACtB;SACF;QACD,WAAW,EAAE,6IAA6I;KAC3J;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const getAllOperation: INodeProperties[];
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getAllOperation = void 0;
4
+ exports.getAllOperation = [];
5
+ //# sourceMappingURL=getAll.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAll.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/agent/getAll.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAsB,EAEjD,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const agentOperations: INodeProperties;
3
+ export declare const agentFields: INodeProperties[];
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.agentFields = exports.agentOperations = void 0;
4
+ const getAll_operation_1 = require("./getAll.operation");
5
+ const create_operation_1 = require("./create.operation");
6
+ const update_operation_1 = require("./update.operation");
7
+ const delete_operation_1 = require("./delete.operation");
8
+ exports.agentOperations = {
9
+ displayName: 'Operation',
10
+ name: 'operation',
11
+ type: 'options',
12
+ noDataExpression: true,
13
+ displayOptions: {
14
+ show: {
15
+ resource: ['agent'],
16
+ },
17
+ },
18
+ options: [
19
+ {
20
+ name: 'Create',
21
+ value: 'create',
22
+ description: 'Create a new agent',
23
+ action: 'Create an agent',
24
+ },
25
+ {
26
+ name: 'Delete',
27
+ value: 'delete',
28
+ description: 'Delete an agent',
29
+ action: 'Delete an agent',
30
+ },
31
+ {
32
+ name: 'Get Many',
33
+ value: 'getAll',
34
+ description: 'Get all agents in the account',
35
+ action: 'Get all agents',
36
+ },
37
+ {
38
+ name: 'Update',
39
+ value: 'update',
40
+ description: 'Update an agent',
41
+ action: 'Update an agent',
42
+ },
43
+ ],
44
+ default: 'getAll',
45
+ };
46
+ exports.agentFields = [
47
+ ...getAll_operation_1.getAllOperation,
48
+ ...create_operation_1.createOperation,
49
+ ...update_operation_1.updateOperation,
50
+ ...delete_operation_1.deleteOperation,
51
+ ];
52
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/agent/index.ts"],"names":[],"mappings":";;;AACA,yDAAqD;AACrD,yDAAqD;AACrD,yDAAqD;AACrD,yDAAqD;AAExC,QAAA,eAAe,GAAoB;IAC9C,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,OAAO,CAAC;SACpB;KACF;IACD,OAAO,EAAE;QACP;YACE,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,oBAAoB;YACjC,MAAM,EAAE,iBAAiB;SAC1B;QACD;YACE,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,iBAAiB;YAC9B,MAAM,EAAE,iBAAiB;SAC1B;QACD;YACE,IAAI,EAAE,UAAU;YAChB,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,+BAA+B;YAC5C,MAAM,EAAE,gBAAgB;SACzB;QACD;YACE,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,iBAAiB;YAC9B,MAAM,EAAE,iBAAiB;SAC1B;KACF;IACD,OAAO,EAAE,QAAQ;CAClB,CAAC;AAEW,QAAA,WAAW,GAAsB;IAC5C,GAAG,kCAAe;IAClB,GAAG,kCAAe;IAClB,GAAG,kCAAe;IAClB,GAAG,kCAAe;CACnB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const updateOperation: INodeProperties[];
@@ -0,0 +1,75 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.updateOperation = void 0;
4
+ exports.updateOperation = [
5
+ {
6
+ displayName: 'Agent',
7
+ name: 'agentId',
8
+ type: 'options',
9
+ typeOptions: {
10
+ loadOptionsMethod: 'getAgents',
11
+ },
12
+ required: true,
13
+ default: '',
14
+ displayOptions: {
15
+ show: {
16
+ resource: ['agent'],
17
+ operation: ['update'],
18
+ },
19
+ },
20
+ description: 'Select the agent to update. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.',
21
+ },
22
+ {
23
+ displayName: 'Update Fields',
24
+ name: 'updateFields',
25
+ type: 'collection',
26
+ placeholder: 'Add Field',
27
+ default: {},
28
+ displayOptions: {
29
+ show: {
30
+ resource: ['agent'],
31
+ operation: ['update'],
32
+ },
33
+ },
34
+ options: [
35
+ {
36
+ displayName: 'Name',
37
+ name: 'name',
38
+ type: 'string',
39
+ default: '',
40
+ description: 'Full name of the agent',
41
+ },
42
+ {
43
+ displayName: 'Role',
44
+ name: 'role',
45
+ type: 'options',
46
+ options: [
47
+ { name: 'Agent', value: 'agent' },
48
+ { name: 'Administrator', value: 'administrator' },
49
+ ],
50
+ default: 'agent',
51
+ description: 'Role determines the permissions of the agent',
52
+ },
53
+ {
54
+ displayName: 'Availability Status',
55
+ name: 'availability_status',
56
+ type: 'options',
57
+ options: [
58
+ { name: 'Available', value: 'available' },
59
+ { name: 'Busy', value: 'busy' },
60
+ { name: 'Offline', value: 'offline' },
61
+ ],
62
+ default: 'available',
63
+ description: 'Availability status of the agent',
64
+ },
65
+ {
66
+ displayName: 'Auto Offline',
67
+ name: 'auto_offline',
68
+ type: 'boolean',
69
+ default: true,
70
+ description: 'Whether to automatically set agent offline when inactive',
71
+ },
72
+ ],
73
+ },
74
+ ];
75
+ //# sourceMappingURL=update.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/agent/update.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAsB;IAChD;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,WAAW,EAAE;YACX,iBAAiB,EAAE,WAAW;SAC/B;QACD,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC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IAAI;gBACb,WAAW,EAAE,0DAA0D;aACxE;SACF;KACF;CACF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const agentBotOperations: INodeProperties;
3
+ export declare const agentBotFields: INodeProperties[];
@@ -0,0 +1,143 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.agentBotFields = exports.agentBotOperations = void 0;
4
+ exports.agentBotOperations = {
5
+ displayName: 'Operation',
6
+ name: 'operation',
7
+ type: 'options',
8
+ noDataExpression: true,
9
+ displayOptions: {
10
+ show: {
11
+ resource: ['agentBot'],
12
+ },
13
+ },
14
+ options: [
15
+ {
16
+ name: 'Create',
17
+ value: 'create',
18
+ description: 'Create a new agent bot',
19
+ action: 'Create an agent bot',
20
+ },
21
+ {
22
+ name: 'Delete',
23
+ value: 'delete',
24
+ description: 'Delete an agent bot',
25
+ action: 'Delete an agent bot',
26
+ },
27
+ {
28
+ name: 'Get',
29
+ value: 'get',
30
+ description: 'Get an agent bot by ID',
31
+ action: 'Get an agent bot',
32
+ },
33
+ {
34
+ name: 'Get Many',
35
+ value: 'getAll',
36
+ description: 'Get all agent bots',
37
+ action: 'Get all agent bots',
38
+ },
39
+ {
40
+ name: 'Update',
41
+ value: 'update',
42
+ description: 'Update an agent bot',
43
+ action: 'Update an agent bot',
44
+ },
45
+ ],
46
+ default: 'getAll',
47
+ };
48
+ exports.agentBotFields = [
49
+ {
50
+ displayName: 'Agent Bot ID',
51
+ name: 'agentBotId',
52
+ type: 'number',
53
+ required: true,
54
+ default: 0,
55
+ displayOptions: {
56
+ show: {
57
+ resource: ['agentBot'],
58
+ operation: ['get', 'update', 'delete'],
59
+ },
60
+ },
61
+ description: 'ID of the agent bot',
62
+ },
63
+ {
64
+ displayName: 'Name',
65
+ name: 'name',
66
+ type: 'string',
67
+ required: true,
68
+ default: '',
69
+ displayOptions: {
70
+ show: {
71
+ resource: ['agentBot'],
72
+ operation: ['create'],
73
+ },
74
+ },
75
+ description: 'Name of the agent bot',
76
+ },
77
+ {
78
+ displayName: 'Additional Fields',
79
+ name: 'additionalFields',
80
+ type: 'collection',
81
+ placeholder: 'Add Field',
82
+ default: {},
83
+ displayOptions: {
84
+ show: {
85
+ resource: ['agentBot'],
86
+ operation: ['create'],
87
+ },
88
+ },
89
+ options: [
90
+ {
91
+ displayName: 'Description',
92
+ name: 'description',
93
+ type: 'string',
94
+ default: '',
95
+ description: 'Description of the agent bot',
96
+ },
97
+ {
98
+ displayName: 'Outgoing URL',
99
+ name: 'outgoing_url',
100
+ type: 'string',
101
+ default: '',
102
+ description: 'Webhook URL for the agent bot',
103
+ },
104
+ ],
105
+ },
106
+ {
107
+ displayName: 'Update Fields',
108
+ name: 'updateFields',
109
+ type: 'collection',
110
+ placeholder: 'Add Field',
111
+ default: {},
112
+ displayOptions: {
113
+ show: {
114
+ resource: ['agentBot'],
115
+ operation: ['update'],
116
+ },
117
+ },
118
+ options: [
119
+ {
120
+ displayName: 'Name',
121
+ name: 'name',
122
+ type: 'string',
123
+ default: '',
124
+ description: 'Name of the agent bot',
125
+ },
126
+ {
127
+ displayName: 'Description',
128
+ name: 'description',
129
+ type: 'string',
130
+ default: '',
131
+ description: 'Description of the agent bot',
132
+ },
133
+ {
134
+ displayName: 'Outgoing URL',
135
+ name: 'outgoing_url',
136
+ type: 'string',
137
+ default: '',
138
+ description: 'Webhook URL for the agent bot',
139
+ },
140
+ ],
141
+ },
142
+ ];
143
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/agentBot/index.ts"],"names":[],"mappings":";;;AAEa,QAAA,kBAAkB,GAAoB;IACjD,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,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E,+BAA+B;aAC7C;SACF;KACF;CACF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const automationRuleOperations: INodeProperties;
3
+ export declare const automationRuleFields: INodeProperties[];