@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.
Files changed (241) hide show
  1. package/README.md +247 -9
  2. package/dist/credentials/ChatwootPlatformApi.credentials.d.ts +9 -0
  3. package/dist/credentials/ChatwootPlatformApi.credentials.js +49 -0
  4. package/dist/credentials/ChatwootPlatformApi.credentials.js.map +1 -0
  5. package/dist/credentials/ChatwootPublicApi.credentials.d.ts +7 -0
  6. package/dist/credentials/ChatwootPublicApi.credentials.js +31 -0
  7. package/dist/credentials/ChatwootPublicApi.credentials.js.map +1 -0
  8. package/dist/nodes/Chatwoot/Chatwoot.node.d.ts +4 -1
  9. package/dist/nodes/Chatwoot/Chatwoot.node.js +579 -12
  10. package/dist/nodes/Chatwoot/Chatwoot.node.js.map +1 -1
  11. package/dist/nodes/Chatwoot/GenericFunctions.d.ts +14 -0
  12. package/dist/nodes/Chatwoot/GenericFunctions.js +170 -0
  13. package/dist/nodes/Chatwoot/GenericFunctions.js.map +1 -1
  14. package/dist/nodes/Chatwoot/resources/accountAgentBot/create.operation.d.ts +2 -0
  15. package/dist/nodes/Chatwoot/resources/accountAgentBot/create.operation.js +63 -0
  16. package/dist/nodes/Chatwoot/resources/accountAgentBot/create.operation.js.map +1 -0
  17. package/dist/nodes/Chatwoot/resources/accountAgentBot/delete.operation.d.ts +2 -0
  18. package/dist/nodes/Chatwoot/resources/accountAgentBot/delete.operation.js +34 -0
  19. package/dist/nodes/Chatwoot/resources/accountAgentBot/delete.operation.js.map +1 -0
  20. package/dist/nodes/Chatwoot/resources/accountAgentBot/get.operation.d.ts +2 -0
  21. package/dist/nodes/Chatwoot/resources/accountAgentBot/get.operation.js +34 -0
  22. package/dist/nodes/Chatwoot/resources/accountAgentBot/get.operation.js.map +1 -0
  23. package/dist/nodes/Chatwoot/resources/accountAgentBot/getAll.operation.d.ts +2 -0
  24. package/dist/nodes/Chatwoot/resources/accountAgentBot/getAll.operation.js +20 -0
  25. package/dist/nodes/Chatwoot/resources/accountAgentBot/getAll.operation.js.map +1 -0
  26. package/dist/nodes/Chatwoot/resources/accountAgentBot/index.d.ts +3 -0
  27. package/dist/nodes/Chatwoot/resources/accountAgentBot/index.js +60 -0
  28. package/dist/nodes/Chatwoot/resources/accountAgentBot/index.js.map +1 -0
  29. package/dist/nodes/Chatwoot/resources/accountAgentBot/update.operation.d.ts +2 -0
  30. package/dist/nodes/Chatwoot/resources/accountAgentBot/update.operation.js +70 -0
  31. package/dist/nodes/Chatwoot/resources/accountAgentBot/update.operation.js.map +1 -0
  32. package/dist/nodes/Chatwoot/resources/accountUser/create.operation.d.ts +2 -0
  33. package/dist/nodes/Chatwoot/resources/accountUser/create.operation.js +52 -0
  34. package/dist/nodes/Chatwoot/resources/accountUser/create.operation.js.map +1 -0
  35. package/dist/nodes/Chatwoot/resources/accountUser/delete.operation.d.ts +2 -0
  36. package/dist/nodes/Chatwoot/resources/accountUser/delete.operation.js +34 -0
  37. package/dist/nodes/Chatwoot/resources/accountUser/delete.operation.js.map +1 -0
  38. package/dist/nodes/Chatwoot/resources/accountUser/getAll.operation.d.ts +2 -0
  39. package/dist/nodes/Chatwoot/resources/accountUser/getAll.operation.js +20 -0
  40. package/dist/nodes/Chatwoot/resources/accountUser/getAll.operation.js.map +1 -0
  41. package/dist/nodes/Chatwoot/resources/accountUser/index.d.ts +3 -0
  42. package/dist/nodes/Chatwoot/resources/accountUser/index.js +44 -0
  43. package/dist/nodes/Chatwoot/resources/accountUser/index.js.map +1 -0
  44. package/dist/nodes/Chatwoot/resources/auditLog/getAll.operation.d.ts +2 -0
  45. package/dist/nodes/Chatwoot/resources/auditLog/getAll.operation.js +76 -0
  46. package/dist/nodes/Chatwoot/resources/auditLog/getAll.operation.js.map +1 -0
  47. package/dist/nodes/Chatwoot/resources/auditLog/index.d.ts +3 -0
  48. package/dist/nodes/Chatwoot/resources/auditLog/index.js +26 -0
  49. package/dist/nodes/Chatwoot/resources/auditLog/index.js.map +1 -0
  50. package/dist/nodes/Chatwoot/resources/contact/addLabels.operation.d.ts +2 -0
  51. package/dist/nodes/Chatwoot/resources/contact/addLabels.operation.js +36 -0
  52. package/dist/nodes/Chatwoot/resources/contact/addLabels.operation.js.map +1 -0
  53. package/dist/nodes/Chatwoot/resources/contact/filter.operation.d.ts +2 -0
  54. package/dist/nodes/Chatwoot/resources/contact/filter.operation.js +51 -0
  55. package/dist/nodes/Chatwoot/resources/contact/filter.operation.js.map +1 -0
  56. package/dist/nodes/Chatwoot/resources/contact/index.js +24 -0
  57. package/dist/nodes/Chatwoot/resources/contact/index.js.map +1 -1
  58. package/dist/nodes/Chatwoot/resources/contact/listLabels.operation.d.ts +2 -0
  59. package/dist/nodes/Chatwoot/resources/contact/listLabels.operation.js +20 -0
  60. package/dist/nodes/Chatwoot/resources/contact/listLabels.operation.js.map +1 -0
  61. package/dist/nodes/Chatwoot/resources/conversation/filter.operation.d.ts +2 -0
  62. package/dist/nodes/Chatwoot/resources/conversation/filter.operation.js +51 -0
  63. package/dist/nodes/Chatwoot/resources/conversation/filter.operation.js.map +1 -0
  64. package/dist/nodes/Chatwoot/resources/conversation/getMeta.operation.d.ts +2 -0
  65. package/dist/nodes/Chatwoot/resources/conversation/getMeta.operation.js +55 -0
  66. package/dist/nodes/Chatwoot/resources/conversation/getMeta.operation.js.map +1 -0
  67. package/dist/nodes/Chatwoot/resources/conversation/index.js +40 -0
  68. package/dist/nodes/Chatwoot/resources/conversation/index.js.map +1 -1
  69. package/dist/nodes/Chatwoot/resources/conversation/listLabels.operation.d.ts +2 -0
  70. package/dist/nodes/Chatwoot/resources/conversation/listLabels.operation.js +20 -0
  71. package/dist/nodes/Chatwoot/resources/conversation/listLabels.operation.js.map +1 -0
  72. package/dist/nodes/Chatwoot/resources/conversation/update.operation.d.ts +2 -0
  73. package/dist/nodes/Chatwoot/resources/conversation/update.operation.js +56 -0
  74. package/dist/nodes/Chatwoot/resources/conversation/update.operation.js.map +1 -0
  75. package/dist/nodes/Chatwoot/resources/conversation/updateCustomAttributes.operation.d.ts +2 -0
  76. package/dist/nodes/Chatwoot/resources/conversation/updateCustomAttributes.operation.js +34 -0
  77. package/dist/nodes/Chatwoot/resources/conversation/updateCustomAttributes.operation.js.map +1 -0
  78. package/dist/nodes/Chatwoot/resources/csatSurvey/get.operation.d.ts +2 -0
  79. package/dist/nodes/Chatwoot/resources/csatSurvey/get.operation.js +20 -0
  80. package/dist/nodes/Chatwoot/resources/csatSurvey/get.operation.js.map +1 -0
  81. package/dist/nodes/Chatwoot/resources/csatSurvey/index.d.ts +3 -0
  82. package/dist/nodes/Chatwoot/resources/csatSurvey/index.js +26 -0
  83. package/dist/nodes/Chatwoot/resources/csatSurvey/index.js.map +1 -0
  84. package/dist/nodes/Chatwoot/resources/helpCenter/createArticle.operation.d.ts +2 -0
  85. package/dist/nodes/Chatwoot/resources/helpCenter/createArticle.operation.js +113 -0
  86. package/dist/nodes/Chatwoot/resources/helpCenter/createArticle.operation.js.map +1 -0
  87. package/dist/nodes/Chatwoot/resources/helpCenter/createCategory.operation.d.ts +2 -0
  88. package/dist/nodes/Chatwoot/resources/helpCenter/createCategory.operation.js +91 -0
  89. package/dist/nodes/Chatwoot/resources/helpCenter/createCategory.operation.js.map +1 -0
  90. package/dist/nodes/Chatwoot/resources/helpCenter/createPortal.operation.d.ts +2 -0
  91. package/dist/nodes/Chatwoot/resources/helpCenter/createPortal.operation.js +84 -0
  92. package/dist/nodes/Chatwoot/resources/helpCenter/createPortal.operation.js.map +1 -0
  93. package/dist/nodes/Chatwoot/resources/helpCenter/getPortal.operation.d.ts +2 -0
  94. package/dist/nodes/Chatwoot/resources/helpCenter/getPortal.operation.js +20 -0
  95. package/dist/nodes/Chatwoot/resources/helpCenter/getPortal.operation.js.map +1 -0
  96. package/dist/nodes/Chatwoot/resources/helpCenter/index.d.ts +3 -0
  97. package/dist/nodes/Chatwoot/resources/helpCenter/index.js +60 -0
  98. package/dist/nodes/Chatwoot/resources/helpCenter/index.js.map +1 -0
  99. package/dist/nodes/Chatwoot/resources/helpCenter/updatePortal.operation.d.ts +2 -0
  100. package/dist/nodes/Chatwoot/resources/helpCenter/updatePortal.operation.js +77 -0
  101. package/dist/nodes/Chatwoot/resources/helpCenter/updatePortal.operation.js.map +1 -0
  102. package/dist/nodes/Chatwoot/resources/inbox/addAgent.operation.d.ts +2 -0
  103. package/dist/nodes/Chatwoot/resources/inbox/addAgent.operation.js +34 -0
  104. package/dist/nodes/Chatwoot/resources/inbox/addAgent.operation.js.map +1 -0
  105. package/dist/nodes/Chatwoot/resources/inbox/create.operation.d.ts +2 -0
  106. package/dist/nodes/Chatwoot/resources/inbox/create.operation.js +110 -0
  107. package/dist/nodes/Chatwoot/resources/inbox/create.operation.js.map +1 -0
  108. package/dist/nodes/Chatwoot/resources/inbox/deleteAgent.operation.d.ts +2 -0
  109. package/dist/nodes/Chatwoot/resources/inbox/deleteAgent.operation.js +34 -0
  110. package/dist/nodes/Chatwoot/resources/inbox/deleteAgent.operation.js.map +1 -0
  111. package/dist/nodes/Chatwoot/resources/inbox/getAgentBot.operation.d.ts +2 -0
  112. package/dist/nodes/Chatwoot/resources/inbox/getAgentBot.operation.js +20 -0
  113. package/dist/nodes/Chatwoot/resources/inbox/getAgentBot.operation.js.map +1 -0
  114. package/dist/nodes/Chatwoot/resources/inbox/getMembers.operation.d.ts +2 -0
  115. package/dist/nodes/Chatwoot/resources/inbox/getMembers.operation.js +20 -0
  116. package/dist/nodes/Chatwoot/resources/inbox/getMembers.operation.js.map +1 -0
  117. package/dist/nodes/Chatwoot/resources/inbox/index.js +48 -0
  118. package/dist/nodes/Chatwoot/resources/inbox/index.js.map +1 -1
  119. package/dist/nodes/Chatwoot/resources/inbox/setAgentBot.operation.d.ts +2 -0
  120. package/dist/nodes/Chatwoot/resources/inbox/setAgentBot.operation.js +36 -0
  121. package/dist/nodes/Chatwoot/resources/inbox/setAgentBot.operation.js.map +1 -0
  122. package/dist/nodes/Chatwoot/resources/integration/createHook.operation.d.ts +2 -0
  123. package/dist/nodes/Chatwoot/resources/integration/createHook.operation.js +47 -0
  124. package/dist/nodes/Chatwoot/resources/integration/createHook.operation.js.map +1 -0
  125. package/dist/nodes/Chatwoot/resources/integration/deleteHook.operation.d.ts +2 -0
  126. package/dist/nodes/Chatwoot/resources/integration/deleteHook.operation.js +34 -0
  127. package/dist/nodes/Chatwoot/resources/integration/deleteHook.operation.js.map +1 -0
  128. package/dist/nodes/Chatwoot/resources/integration/getAll.operation.d.ts +2 -0
  129. package/dist/nodes/Chatwoot/resources/integration/getAll.operation.js +5 -0
  130. package/dist/nodes/Chatwoot/resources/integration/getAll.operation.js.map +1 -0
  131. package/dist/nodes/Chatwoot/resources/integration/index.d.ts +3 -0
  132. package/dist/nodes/Chatwoot/resources/integration/index.js +52 -0
  133. package/dist/nodes/Chatwoot/resources/integration/index.js.map +1 -0
  134. package/dist/nodes/Chatwoot/resources/integration/updateHook.operation.d.ts +2 -0
  135. package/dist/nodes/Chatwoot/resources/integration/updateHook.operation.js +47 -0
  136. package/dist/nodes/Chatwoot/resources/integration/updateHook.operation.js.map +1 -0
  137. package/dist/nodes/Chatwoot/resources/message/index.js +13 -1
  138. package/dist/nodes/Chatwoot/resources/message/index.js.map +1 -1
  139. package/dist/nodes/Chatwoot/resources/message/update.operation.d.ts +2 -0
  140. package/dist/nodes/Chatwoot/resources/message/update.operation.js +51 -0
  141. package/dist/nodes/Chatwoot/resources/message/update.operation.js.map +1 -0
  142. package/dist/nodes/Chatwoot/resources/platformAccount/create.operation.d.ts +2 -0
  143. package/dist/nodes/Chatwoot/resources/platformAccount/create.operation.js +56 -0
  144. package/dist/nodes/Chatwoot/resources/platformAccount/create.operation.js.map +1 -0
  145. package/dist/nodes/Chatwoot/resources/platformAccount/delete.operation.d.ts +2 -0
  146. package/dist/nodes/Chatwoot/resources/platformAccount/delete.operation.js +20 -0
  147. package/dist/nodes/Chatwoot/resources/platformAccount/delete.operation.js.map +1 -0
  148. package/dist/nodes/Chatwoot/resources/platformAccount/get.operation.d.ts +2 -0
  149. package/dist/nodes/Chatwoot/resources/platformAccount/get.operation.js +20 -0
  150. package/dist/nodes/Chatwoot/resources/platformAccount/get.operation.js.map +1 -0
  151. package/dist/nodes/Chatwoot/resources/platformAccount/index.d.ts +3 -0
  152. package/dist/nodes/Chatwoot/resources/platformAccount/index.js +52 -0
  153. package/dist/nodes/Chatwoot/resources/platformAccount/index.js.map +1 -0
  154. package/dist/nodes/Chatwoot/resources/platformAccount/update.operation.d.ts +2 -0
  155. package/dist/nodes/Chatwoot/resources/platformAccount/update.operation.js +63 -0
  156. package/dist/nodes/Chatwoot/resources/platformAccount/update.operation.js.map +1 -0
  157. package/dist/nodes/Chatwoot/resources/platformUser/create.operation.d.ts +2 -0
  158. package/dist/nodes/Chatwoot/resources/platformUser/create.operation.js +67 -0
  159. package/dist/nodes/Chatwoot/resources/platformUser/create.operation.js.map +1 -0
  160. package/dist/nodes/Chatwoot/resources/platformUser/delete.operation.d.ts +2 -0
  161. package/dist/nodes/Chatwoot/resources/platformUser/delete.operation.js +20 -0
  162. package/dist/nodes/Chatwoot/resources/platformUser/delete.operation.js.map +1 -0
  163. package/dist/nodes/Chatwoot/resources/platformUser/get.operation.d.ts +2 -0
  164. package/dist/nodes/Chatwoot/resources/platformUser/get.operation.js +20 -0
  165. package/dist/nodes/Chatwoot/resources/platformUser/get.operation.js.map +1 -0
  166. package/dist/nodes/Chatwoot/resources/platformUser/getSsoUrl.operation.d.ts +2 -0
  167. package/dist/nodes/Chatwoot/resources/platformUser/getSsoUrl.operation.js +20 -0
  168. package/dist/nodes/Chatwoot/resources/platformUser/getSsoUrl.operation.js.map +1 -0
  169. package/dist/nodes/Chatwoot/resources/platformUser/index.d.ts +3 -0
  170. package/dist/nodes/Chatwoot/resources/platformUser/index.js +60 -0
  171. package/dist/nodes/Chatwoot/resources/platformUser/index.js.map +1 -0
  172. package/dist/nodes/Chatwoot/resources/platformUser/update.operation.d.ts +2 -0
  173. package/dist/nodes/Chatwoot/resources/platformUser/update.operation.js +66 -0
  174. package/dist/nodes/Chatwoot/resources/platformUser/update.operation.js.map +1 -0
  175. package/dist/nodes/Chatwoot/resources/profile/fetch.operation.d.ts +2 -0
  176. package/dist/nodes/Chatwoot/resources/profile/fetch.operation.js +5 -0
  177. package/dist/nodes/Chatwoot/resources/profile/fetch.operation.js.map +1 -0
  178. package/dist/nodes/Chatwoot/resources/profile/index.d.ts +3 -0
  179. package/dist/nodes/Chatwoot/resources/profile/index.js +26 -0
  180. package/dist/nodes/Chatwoot/resources/profile/index.js.map +1 -0
  181. package/dist/nodes/Chatwoot/resources/publicContact/create.operation.d.ts +2 -0
  182. package/dist/nodes/Chatwoot/resources/publicContact/create.operation.js +63 -0
  183. package/dist/nodes/Chatwoot/resources/publicContact/create.operation.js.map +1 -0
  184. package/dist/nodes/Chatwoot/resources/publicContact/get.operation.d.ts +2 -0
  185. package/dist/nodes/Chatwoot/resources/publicContact/get.operation.js +20 -0
  186. package/dist/nodes/Chatwoot/resources/publicContact/get.operation.js.map +1 -0
  187. package/dist/nodes/Chatwoot/resources/publicContact/index.d.ts +3 -0
  188. package/dist/nodes/Chatwoot/resources/publicContact/index.js +44 -0
  189. package/dist/nodes/Chatwoot/resources/publicContact/index.js.map +1 -0
  190. package/dist/nodes/Chatwoot/resources/publicContact/update.operation.d.ts +2 -0
  191. package/dist/nodes/Chatwoot/resources/publicContact/update.operation.js +70 -0
  192. package/dist/nodes/Chatwoot/resources/publicContact/update.operation.js.map +1 -0
  193. package/dist/nodes/Chatwoot/resources/publicConversation/create.operation.d.ts +2 -0
  194. package/dist/nodes/Chatwoot/resources/publicConversation/create.operation.js +42 -0
  195. package/dist/nodes/Chatwoot/resources/publicConversation/create.operation.js.map +1 -0
  196. package/dist/nodes/Chatwoot/resources/publicConversation/get.operation.d.ts +2 -0
  197. package/dist/nodes/Chatwoot/resources/publicConversation/get.operation.js +34 -0
  198. package/dist/nodes/Chatwoot/resources/publicConversation/get.operation.js.map +1 -0
  199. package/dist/nodes/Chatwoot/resources/publicConversation/getAll.operation.d.ts +2 -0
  200. package/dist/nodes/Chatwoot/resources/publicConversation/getAll.operation.js +20 -0
  201. package/dist/nodes/Chatwoot/resources/publicConversation/getAll.operation.js.map +1 -0
  202. package/dist/nodes/Chatwoot/resources/publicConversation/index.d.ts +3 -0
  203. package/dist/nodes/Chatwoot/resources/publicConversation/index.js +68 -0
  204. package/dist/nodes/Chatwoot/resources/publicConversation/index.js.map +1 -0
  205. package/dist/nodes/Chatwoot/resources/publicConversation/resolve.operation.d.ts +2 -0
  206. package/dist/nodes/Chatwoot/resources/publicConversation/resolve.operation.js +34 -0
  207. package/dist/nodes/Chatwoot/resources/publicConversation/resolve.operation.js.map +1 -0
  208. package/dist/nodes/Chatwoot/resources/publicConversation/toggleTyping.operation.d.ts +2 -0
  209. package/dist/nodes/Chatwoot/resources/publicConversation/toggleTyping.operation.js +52 -0
  210. package/dist/nodes/Chatwoot/resources/publicConversation/toggleTyping.operation.js.map +1 -0
  211. package/dist/nodes/Chatwoot/resources/publicConversation/updateLastSeen.operation.d.ts +2 -0
  212. package/dist/nodes/Chatwoot/resources/publicConversation/updateLastSeen.operation.js +34 -0
  213. package/dist/nodes/Chatwoot/resources/publicConversation/updateLastSeen.operation.js.map +1 -0
  214. package/dist/nodes/Chatwoot/resources/publicMessage/create.operation.d.ts +2 -0
  215. package/dist/nodes/Chatwoot/resources/publicMessage/create.operation.js +73 -0
  216. package/dist/nodes/Chatwoot/resources/publicMessage/create.operation.js.map +1 -0
  217. package/dist/nodes/Chatwoot/resources/publicMessage/getAll.operation.d.ts +2 -0
  218. package/dist/nodes/Chatwoot/resources/publicMessage/getAll.operation.js +34 -0
  219. package/dist/nodes/Chatwoot/resources/publicMessage/getAll.operation.js.map +1 -0
  220. package/dist/nodes/Chatwoot/resources/publicMessage/index.d.ts +3 -0
  221. package/dist/nodes/Chatwoot/resources/publicMessage/index.js +44 -0
  222. package/dist/nodes/Chatwoot/resources/publicMessage/index.js.map +1 -0
  223. package/dist/nodes/Chatwoot/resources/publicMessage/update.operation.d.ts +2 -0
  224. package/dist/nodes/Chatwoot/resources/publicMessage/update.operation.js +65 -0
  225. package/dist/nodes/Chatwoot/resources/publicMessage/update.operation.js.map +1 -0
  226. package/dist/nodes/Chatwoot/resources/team/addAgent.operation.d.ts +2 -0
  227. package/dist/nodes/Chatwoot/resources/team/addAgent.operation.js +34 -0
  228. package/dist/nodes/Chatwoot/resources/team/addAgent.operation.js.map +1 -0
  229. package/dist/nodes/Chatwoot/resources/team/deleteAgent.operation.d.ts +2 -0
  230. package/dist/nodes/Chatwoot/resources/team/deleteAgent.operation.js +34 -0
  231. package/dist/nodes/Chatwoot/resources/team/deleteAgent.operation.js.map +1 -0
  232. package/dist/nodes/Chatwoot/resources/team/getMembers.operation.d.ts +2 -0
  233. package/dist/nodes/Chatwoot/resources/team/getMembers.operation.js +20 -0
  234. package/dist/nodes/Chatwoot/resources/team/getMembers.operation.js.map +1 -0
  235. package/dist/nodes/Chatwoot/resources/team/index.js +32 -0
  236. package/dist/nodes/Chatwoot/resources/team/index.js.map +1 -1
  237. package/dist/nodes/Chatwoot/resources/team/updateAgents.operation.d.ts +2 -0
  238. package/dist/nodes/Chatwoot/resources/team/updateAgents.operation.js +34 -0
  239. package/dist/nodes/Chatwoot/resources/team/updateAgents.operation.js.map +1 -0
  240. package/dist/tsconfig.tsbuildinfo +1 -1
  241. package/package.json +4 -2
@@ -0,0 +1,91 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createCategoryOperation = void 0;
4
+ exports.createCategoryOperation = [
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: ['createCategory'],
15
+ },
16
+ },
17
+ description: 'Slug of the portal to create category in',
18
+ },
19
+ {
20
+ displayName: 'Category Name',
21
+ name: 'name',
22
+ type: 'string',
23
+ required: true,
24
+ default: '',
25
+ displayOptions: {
26
+ show: {
27
+ resource: ['helpCenter'],
28
+ operation: ['createCategory'],
29
+ },
30
+ },
31
+ description: 'Name of the category',
32
+ },
33
+ {
34
+ displayName: 'Slug',
35
+ name: 'slug',
36
+ type: 'string',
37
+ required: true,
38
+ default: '',
39
+ displayOptions: {
40
+ show: {
41
+ resource: ['helpCenter'],
42
+ operation: ['createCategory'],
43
+ },
44
+ },
45
+ description: 'Unique slug for the category',
46
+ },
47
+ {
48
+ displayName: 'Locale',
49
+ name: 'locale',
50
+ type: 'string',
51
+ required: true,
52
+ default: 'en',
53
+ displayOptions: {
54
+ show: {
55
+ resource: ['helpCenter'],
56
+ operation: ['createCategory'],
57
+ },
58
+ },
59
+ description: 'Locale code for the category (e.g., "en", "es")',
60
+ },
61
+ {
62
+ displayName: 'Additional Fields',
63
+ name: 'additionalFields',
64
+ type: 'collection',
65
+ placeholder: 'Add Field',
66
+ default: {},
67
+ displayOptions: {
68
+ show: {
69
+ resource: ['helpCenter'],
70
+ operation: ['createCategory'],
71
+ },
72
+ },
73
+ options: [
74
+ {
75
+ displayName: 'Description',
76
+ name: 'description',
77
+ type: 'string',
78
+ default: '',
79
+ description: 'Description of the category',
80
+ },
81
+ {
82
+ displayName: 'Position',
83
+ name: 'position',
84
+ type: 'number',
85
+ default: 0,
86
+ description: 'Position of the category in the list',
87
+ },
88
+ ],
89
+ },
90
+ ];
91
+ //# sourceMappingURL=createCategory.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createCategory.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/helpCenter/createCategory.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,uBAAuB,GAAsB;IACxD;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,gBAAgB,CAAC;aAC9B;SACF;QACD,WAAW,EAAE,0CAA0C;KACxD;IACD;QACE,WAAW,EAAE,eAAe;QAC5B,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,YAAY,CAAC;gBACxB,SAAS,EAAE,CAAC,gBAAgB,CAAC;aAC9B;SACF;QACD,WAAW,EAAE,sBAAsB;KACpC;IACD;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,YAAY,CAAC;gBACxB,SAAS,EAAE,CAAC,gBAAgB,CAAC;aAC9B;SACF;QACD,WAAW,EAAE,8BAA8B;KAC5C;IACD;QACE,WAAW,EAAE,QAAQ;QACrB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,IAAI;QACb,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,YAAY,CAAC;gBACxB,SAAS,EAAE,CAAC,gBAAgB,CAAC;aAC9B;SACF;QACD,WAAW,EAAE,iDAAiD;KAC/D;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,YAAY,CAAC;gBACxB,SAAS,EAAE,CAAC,gBAAgB,CAAC;aAC9B;SACF;QACD,OAAO,EAAE;YACP;gBACE,WAAW,EAAE,aAAa;gBAC1B,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,6BAA6B;aAC3C;YACD;gBACE,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,CAAC;gBACV,WAAW,EAAE,sCAAsC;aACpD;SACF;KACF;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const createPortalOperation: INodeProperties[];
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createPortalOperation = void 0;
4
+ exports.createPortalOperation = [
5
+ {
6
+ displayName: 'Portal Name',
7
+ name: 'name',
8
+ type: 'string',
9
+ required: true,
10
+ default: '',
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['helpCenter'],
14
+ operation: ['createPortal'],
15
+ },
16
+ },
17
+ description: 'Name of the portal',
18
+ },
19
+ {
20
+ displayName: 'Slug',
21
+ name: 'slug',
22
+ type: 'string',
23
+ required: true,
24
+ default: '',
25
+ displayOptions: {
26
+ show: {
27
+ resource: ['helpCenter'],
28
+ operation: ['createPortal'],
29
+ },
30
+ },
31
+ description: 'Unique slug for the portal URL (e.g., "my-help-center")',
32
+ },
33
+ {
34
+ displayName: 'Additional Fields',
35
+ name: 'additionalFields',
36
+ type: 'collection',
37
+ placeholder: 'Add Field',
38
+ default: {},
39
+ displayOptions: {
40
+ show: {
41
+ resource: ['helpCenter'],
42
+ operation: ['createPortal'],
43
+ },
44
+ },
45
+ options: [
46
+ {
47
+ displayName: 'Archived',
48
+ name: 'archived',
49
+ type: 'boolean',
50
+ default: false,
51
+ description: 'Whether the portal is archived',
52
+ },
53
+ {
54
+ displayName: 'Custom Domain',
55
+ name: 'custom_domain',
56
+ type: 'string',
57
+ default: '',
58
+ description: 'Custom domain for the portal',
59
+ },
60
+ {
61
+ displayName: 'Header Text',
62
+ name: 'header_text',
63
+ type: 'string',
64
+ default: '',
65
+ description: 'Header text displayed on the portal',
66
+ },
67
+ {
68
+ displayName: 'Homepage Link',
69
+ name: 'homepage_link',
70
+ type: 'string',
71
+ default: '',
72
+ description: 'Link to the homepage',
73
+ },
74
+ {
75
+ displayName: 'Page Title',
76
+ name: 'page_title',
77
+ type: 'string',
78
+ default: '',
79
+ description: 'Title of the portal page',
80
+ },
81
+ ],
82
+ },
83
+ ];
84
+ //# sourceMappingURL=createPortal.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createPortal.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/helpCenter/createPortal.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,qBAAqB,GAAsB;IACtD;QACE,WAAW,EAAE,aAAa;QAC1B,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,YAAY,CAAC;gBACxB,SAAS,EAAE,CAAC,cAAc,CAAC;aAC5B;SACF;QACD,WAAW,EAAE,oBAAoB;KAClC;IACD;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,YAAY,CAAC;gBACxB,SAAS,EAAE,CAAC,cAAc,CAAC;aAC5B;SACF;QACD,WAAW,EAAE,yDAAyD;KACvE;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,YAAY,CAAC;gBACxB,SAAS,EAAE,CAAC,cAAc,CAAC;aAC5B;SACF;QACD,OAAO,EAAE;YACP;gBACE,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,KAAK;gBACd,WAAW,EAAE,gCAAgC;aAC9C;YACD;gBACE,WAAW,EAAE,eAAe;gBAC5B,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,8BAA8B;aAC5C;YACD;gBACE,WAAW,EAAE,aAAa;gBAC1B,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,qCAAqC;aACnD;YACD;gBACE,WAAW,EAAE,eAAe;gBAC5B,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,sBAAsB;aACpC;YACD;gBACE,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,0BAA0B;aACxC;SACF;KACF;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const getPortalOperation: INodeProperties[];
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getPortalOperation = void 0;
4
+ exports.getPortalOperation = [
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: ['getPortal'],
15
+ },
16
+ },
17
+ description: 'Slug of the portal to retrieve',
18
+ },
19
+ ];
20
+ //# sourceMappingURL=getPortal.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPortal.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/helpCenter/getPortal.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,kBAAkB,GAAsB;IACnD;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,WAAW,CAAC;aACzB;SACF;QACD,WAAW,EAAE,gCAAgC;KAC9C;CACF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const helpCenterOperations: INodeProperties;
3
+ export declare const helpCenterFields: INodeProperties[];
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.helpCenterFields = exports.helpCenterOperations = void 0;
4
+ const createPortal_operation_1 = require("./createPortal.operation");
5
+ const getPortal_operation_1 = require("./getPortal.operation");
6
+ const updatePortal_operation_1 = require("./updatePortal.operation");
7
+ const createCategory_operation_1 = require("./createCategory.operation");
8
+ const createArticle_operation_1 = require("./createArticle.operation");
9
+ exports.helpCenterOperations = {
10
+ displayName: 'Operation',
11
+ name: 'operation',
12
+ type: 'options',
13
+ noDataExpression: true,
14
+ displayOptions: {
15
+ show: {
16
+ resource: ['helpCenter'],
17
+ },
18
+ },
19
+ options: [
20
+ {
21
+ name: 'Create Article',
22
+ value: 'createArticle',
23
+ description: 'Create a new help center article',
24
+ action: 'Create article',
25
+ },
26
+ {
27
+ name: 'Create Category',
28
+ value: 'createCategory',
29
+ description: 'Create a new help center category',
30
+ action: 'Create category',
31
+ },
32
+ {
33
+ name: 'Create Portal',
34
+ value: 'createPortal',
35
+ description: 'Create a new help center portal',
36
+ action: 'Create portal',
37
+ },
38
+ {
39
+ name: 'Get Portal',
40
+ value: 'getPortal',
41
+ description: 'Get a help center portal',
42
+ action: 'Get portal',
43
+ },
44
+ {
45
+ name: 'Update Portal',
46
+ value: 'updatePortal',
47
+ description: 'Update a help center portal',
48
+ action: 'Update portal',
49
+ },
50
+ ],
51
+ default: 'getPortal',
52
+ };
53
+ exports.helpCenterFields = [
54
+ ...createPortal_operation_1.createPortalOperation,
55
+ ...getPortal_operation_1.getPortalOperation,
56
+ ...updatePortal_operation_1.updatePortalOperation,
57
+ ...createCategory_operation_1.createCategoryOperation,
58
+ ...createArticle_operation_1.createArticleOperation,
59
+ ];
60
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/helpCenter/index.ts"],"names":[],"mappings":";;;AACA,qEAAiE;AACjE,+DAA2D;AAC3D,qEAAiE;AACjE,yEAAqE;AACrE,uEAAmE;AAEtD,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,gBAAgB;YACtB,KAAK,EAAE,eAAe;YACtB,WAAW,EAAE,kCAAkC;YAC/C,MAAM,EAAE,gBAAgB;SACzB;QACD;YACE,IAAI,EAAE,iBAAiB;YACvB,KAAK,EAAE,gBAAgB;YACvB,WAAW,EAAE,mCAAmC;YAChD,MAAM,EAAE,iBAAiB;SAC1B;QACD;YACE,IAAI,EAAE,eAAe;YACrB,KAAK,EAAE,cAAc;YACrB,WAAW,EAAE,iCAAiC;YAC9C,MAAM,EAAE,eAAe;SACxB;QACD;YACE,IAAI,EAAE,YAAY;YAClB,KAAK,EAAE,WAAW;YAClB,WAAW,EAAE,0BAA0B;YACvC,MAAM,EAAE,YAAY;SACrB;QACD;YACE,IAAI,EAAE,eAAe;YACrB,KAAK,EAAE,cAAc;YACrB,WAAW,EAAE,6BAA6B;YAC1C,MAAM,EAAE,eAAe;SACxB;KACF;IACD,OAAO,EAAE,WAAW;CACrB,CAAC;AAEW,QAAA,gBAAgB,GAAsB;IACjD,GAAG,8CAAqB;IACxB,GAAG,wCAAkB;IACrB,GAAG,8CAAqB;IACxB,GAAG,kDAAuB;IAC1B,GAAG,gDAAsB;CAC1B,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const updatePortalOperation: INodeProperties[];
@@ -0,0 +1,77 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.updatePortalOperation = void 0;
4
+ exports.updatePortalOperation = [
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: ['updatePortal'],
15
+ },
16
+ },
17
+ description: 'Slug of the portal 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: ['helpCenter'],
28
+ operation: ['updatePortal'],
29
+ },
30
+ },
31
+ options: [
32
+ {
33
+ displayName: 'Archived',
34
+ name: 'archived',
35
+ type: 'boolean',
36
+ default: false,
37
+ description: 'Whether the portal is archived',
38
+ },
39
+ {
40
+ displayName: 'Custom Domain',
41
+ name: 'custom_domain',
42
+ type: 'string',
43
+ default: '',
44
+ description: 'Custom domain for the portal',
45
+ },
46
+ {
47
+ displayName: 'Header Text',
48
+ name: 'header_text',
49
+ type: 'string',
50
+ default: '',
51
+ description: 'Header text displayed on the portal',
52
+ },
53
+ {
54
+ displayName: 'Homepage Link',
55
+ name: 'homepage_link',
56
+ type: 'string',
57
+ default: '',
58
+ description: 'Link to the homepage',
59
+ },
60
+ {
61
+ displayName: 'Name',
62
+ name: 'name',
63
+ type: 'string',
64
+ default: '',
65
+ description: 'Name of the portal',
66
+ },
67
+ {
68
+ displayName: 'Page Title',
69
+ name: 'page_title',
70
+ type: 'string',
71
+ default: '',
72
+ description: 'Title of the portal page',
73
+ },
74
+ ],
75
+ },
76
+ ];
77
+ //# sourceMappingURL=updatePortal.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updatePortal.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/helpCenter/updatePortal.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,qBAAqB,GAAsB;IACtD;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,cAAc,CAAC;aAC5B;SACF;QACD,WAAW,EAAE,8BAA8B;KAC5C;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,YAAY,CAAC;gBACxB,SAAS,EAAE,CAAC,cAAc,CAAC;aAC5B;SACF;QACD,OAAO,EAAE;YACP;gBACE,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,KAAK;gBACd,WAAW,EAAE,gCAAgC;aAC9C;YACD;gBACE,WAAW,EAAE,eAAe;gBAC5B,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,8BAA8B;aAC5C;YACD;gBACE,WAAW,EAAE,aAAa;gBAC1B,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,qCAAqC;aACnD;YACD;gBACE,WAAW,EAAE,eAAe;gBAC5B,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,sBAAsB;aACpC;YACD;gBACE,WAAW,EAAE,MAAM;gBACnB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,oBAAoB;aAClC;YACD;gBACE,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,0BAA0B;aACxC;SACF;KACF;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const addAgentOperation: INodeProperties[];
@@ -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: 'Inbox ID',
7
+ name: 'inboxId',
8
+ type: 'number',
9
+ required: true,
10
+ default: 0,
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['inbox'],
14
+ operation: ['addAgent'],
15
+ },
16
+ },
17
+ description: 'ID of the inbox',
18
+ },
19
+ {
20
+ displayName: 'User IDs',
21
+ name: 'userIds',
22
+ type: 'string',
23
+ required: true,
24
+ default: '',
25
+ displayOptions: {
26
+ show: {
27
+ resource: ['inbox'],
28
+ operation: ['addAgent'],
29
+ },
30
+ },
31
+ description: 'Comma-separated list of user IDs to add to the inbox',
32
+ },
33
+ ];
34
+ //# sourceMappingURL=addAgent.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"addAgent.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/inbox/addAgent.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,iBAAiB,GAAsB;IAClD;QACE,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,CAAC;QACV,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,OAAO,CAAC;gBACnB,SAAS,EAAE,CAAC,UAAU,CAAC;aACxB;SACF;QACD,WAAW,EAAE,iBAAiB;KAC/B;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,OAAO,CAAC;gBACnB,SAAS,EAAE,CAAC,UAAU,CAAC;aACxB;SACF;QACD,WAAW,EAAE,sDAAsD;KACpE;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const createOperation: INodeProperties[];
@@ -0,0 +1,110 @@
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: ['inbox'],
14
+ operation: ['create'],
15
+ },
16
+ },
17
+ description: 'Name of the inbox',
18
+ },
19
+ {
20
+ displayName: 'Channel Type',
21
+ name: 'channelType',
22
+ type: 'options',
23
+ required: true,
24
+ options: [
25
+ { name: 'API', value: 'api' },
26
+ { name: 'Email', value: 'email' },
27
+ { name: 'Web Widget', value: 'web_widget' },
28
+ ],
29
+ default: 'api',
30
+ displayOptions: {
31
+ show: {
32
+ resource: ['inbox'],
33
+ operation: ['create'],
34
+ },
35
+ },
36
+ description: 'Type of channel for this inbox',
37
+ },
38
+ {
39
+ displayName: 'Additional Fields',
40
+ name: 'additionalFields',
41
+ type: 'collection',
42
+ placeholder: 'Add Field',
43
+ default: {},
44
+ displayOptions: {
45
+ show: {
46
+ resource: ['inbox'],
47
+ operation: ['create'],
48
+ },
49
+ },
50
+ options: [
51
+ {
52
+ displayName: 'Avatar URL',
53
+ name: 'avatar_url',
54
+ type: 'string',
55
+ default: '',
56
+ description: 'URL for the inbox avatar',
57
+ },
58
+ {
59
+ displayName: 'Greeting Enabled',
60
+ name: 'greeting_enabled',
61
+ type: 'boolean',
62
+ default: false,
63
+ description: 'Whether to enable greeting messages',
64
+ },
65
+ {
66
+ displayName: 'Greeting Message',
67
+ name: 'greeting_message',
68
+ type: 'string',
69
+ default: '',
70
+ description: 'The greeting message to display',
71
+ },
72
+ {
73
+ displayName: 'Enable Email Collect',
74
+ name: 'enable_email_collect',
75
+ type: 'boolean',
76
+ default: true,
77
+ description: 'Whether to collect email from visitors',
78
+ },
79
+ {
80
+ displayName: 'CSAT Survey Enabled',
81
+ name: 'csat_survey_enabled',
82
+ type: 'boolean',
83
+ default: false,
84
+ description: 'Whether to enable CSAT survey',
85
+ },
86
+ {
87
+ displayName: 'Allow Messages After Resolved',
88
+ name: 'allow_messages_after_resolved',
89
+ type: 'boolean',
90
+ default: true,
91
+ description: 'Whether to allow messages after conversation is resolved',
92
+ },
93
+ {
94
+ displayName: 'Working Hours Enabled',
95
+ name: 'working_hours_enabled',
96
+ type: 'boolean',
97
+ default: false,
98
+ description: 'Whether to enable working hours',
99
+ },
100
+ {
101
+ displayName: 'Timezone',
102
+ name: 'timezone',
103
+ type: 'string',
104
+ default: 'UTC',
105
+ description: 'Timezone for the inbox',
106
+ },
107
+ ],
108
+ },
109
+ ];
110
+ //# sourceMappingURL=create.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/inbox/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,mBAAmB;KACjC;IACD;QACE,WAAW,EAAE,cAAc;QAC3B,IAAI,EAAE,aAAa;QACnB,IAAI,EAAE,SAAS;QACf,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE;YACP,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE;YAC7B,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;YACjC,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE;SAC5C;QACD,OAAO,EAAE,KAAK;QACd,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,OAAO,CAAC;gBACnB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACtB;SACF;QACD,WAAW,EAAE,gCAAgC;KAC9C;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,OAAO,CAAC;gBACnB,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,EAAE;gBACX,WAAW,EAAE,0BAA0B;aACxC;YACD;gBACE,WAAW,EAAE,kBAAkB;gBAC/B,IAAI,EAAE,kBAAkB;gBACxB,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,KAAK;gBACd,WAAW,EAAE,qCAAqC;aACnD;YACD;gBACE,WAAW,EAAE,kBAAkB;gBAC/B,IAAI,EAAE,kBAAkB;gBACxB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,iCAAiC;aAC/C;YACD;gBACE,WAAW,EAAE,sBAAsB;gBACnC,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,IAAI;gBACb,WAAW,EAAE,wCAAwC;aACtD;YACD;gBACE,WAAW,EAAE,qBAAqB;gBAClC,IAAI,EAAE,qBAAqB;gBAC3B,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,KAAK;gBACd,WAAW,EAAE,+BAA+B;aAC7C;YACD;gBACE,WAAW,EAAE,+BAA+B;gBAC5C,IAAI,EAAE,+BAA+B;gBACrC,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,IAAI;gBACb,WAAW,EAAE,0DAA0D;aACxE;YACD;gBACE,WAAW,EAAE,uBAAuB;gBACpC,IAAI,EAAE,uBAAuB;gBAC7B,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,KAAK;gBACd,WAAW,EAAE,iCAAiC;aAC/C;YACD;gBACE,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,KAAK;gBACd,WAAW,EAAE,wBAAwB;aACtC;SACF;KACF;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const deleteAgentOperation: INodeProperties[];
@@ -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: 'Inbox ID',
7
+ name: 'inboxId',
8
+ type: 'number',
9
+ required: true,
10
+ default: 0,
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['inbox'],
14
+ operation: ['deleteAgent'],
15
+ },
16
+ },
17
+ description: 'ID of the inbox',
18
+ },
19
+ {
20
+ displayName: 'User IDs',
21
+ name: 'userIds',
22
+ type: 'string',
23
+ required: true,
24
+ default: '',
25
+ displayOptions: {
26
+ show: {
27
+ resource: ['inbox'],
28
+ operation: ['deleteAgent'],
29
+ },
30
+ },
31
+ description: 'Comma-separated list of user IDs to remove from the inbox',
32
+ },
33
+ ];
34
+ //# sourceMappingURL=deleteAgent.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deleteAgent.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/inbox/deleteAgent.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,oBAAoB,GAAsB;IACrD;QACE,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,CAAC;QACV,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,OAAO,CAAC;gBACnB,SAAS,EAAE,CAAC,aAAa,CAAC;aAC3B;SACF;QACD,WAAW,EAAE,iBAAiB;KAC/B;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,OAAO,CAAC;gBACnB,SAAS,EAAE,CAAC,aAAa,CAAC;aAC3B;SACF;QACD,WAAW,EAAE,2DAA2D;KACzE;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const getAgentBotOperation: INodeProperties[];
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getAgentBotOperation = void 0;
4
+ exports.getAgentBotOperation = [
5
+ {
6
+ displayName: 'Inbox ID',
7
+ name: 'inboxId',
8
+ type: 'number',
9
+ required: true,
10
+ default: 0,
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['inbox'],
14
+ operation: ['getAgentBot'],
15
+ },
16
+ },
17
+ description: 'ID of the inbox to get agent bot from',
18
+ },
19
+ ];
20
+ //# sourceMappingURL=getAgentBot.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAgentBot.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/inbox/getAgentBot.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,oBAAoB,GAAsB;IACrD;QACE,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,CAAC;QACV,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,OAAO,CAAC;gBACnB,SAAS,EAAE,CAAC,aAAa,CAAC;aAC3B;SACF;QACD,WAAW,EAAE,uCAAuC;KACrD;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const getMembersOperation: INodeProperties[];
@@ -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: 'Inbox ID',
7
+ name: 'inboxId',
8
+ type: 'number',
9
+ required: true,
10
+ default: 0,
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['inbox'],
14
+ operation: ['getMembers'],
15
+ },
16
+ },
17
+ description: 'ID of the inbox 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/inbox/getMembers.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,mBAAmB,GAAsB;IACpD;QACE,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,CAAC;QACV,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,OAAO,CAAC;gBACnB,SAAS,EAAE,CAAC,YAAY,CAAC;aAC1B;SACF;QACD,WAAW,EAAE,qCAAqC;KACnD;CACF,CAAC"}