@renatoascencio/n8n-nodes-chatwoot 0.2.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 (264) hide show
  1. package/README.md +248 -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 +807 -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/chatwoot.svg +4 -11
  15. package/dist/nodes/Chatwoot/resources/accountAgentBot/create.operation.d.ts +2 -0
  16. package/dist/nodes/Chatwoot/resources/accountAgentBot/create.operation.js +63 -0
  17. package/dist/nodes/Chatwoot/resources/accountAgentBot/create.operation.js.map +1 -0
  18. package/dist/nodes/Chatwoot/resources/accountAgentBot/delete.operation.d.ts +2 -0
  19. package/dist/nodes/Chatwoot/resources/accountAgentBot/delete.operation.js +34 -0
  20. package/dist/nodes/Chatwoot/resources/accountAgentBot/delete.operation.js.map +1 -0
  21. package/dist/nodes/Chatwoot/resources/accountAgentBot/get.operation.d.ts +2 -0
  22. package/dist/nodes/Chatwoot/resources/accountAgentBot/get.operation.js +34 -0
  23. package/dist/nodes/Chatwoot/resources/accountAgentBot/get.operation.js.map +1 -0
  24. package/dist/nodes/Chatwoot/resources/accountAgentBot/getAll.operation.d.ts +2 -0
  25. package/dist/nodes/Chatwoot/resources/accountAgentBot/getAll.operation.js +20 -0
  26. package/dist/nodes/Chatwoot/resources/accountAgentBot/getAll.operation.js.map +1 -0
  27. package/dist/nodes/Chatwoot/resources/accountAgentBot/index.d.ts +3 -0
  28. package/dist/nodes/Chatwoot/resources/accountAgentBot/index.js +60 -0
  29. package/dist/nodes/Chatwoot/resources/accountAgentBot/index.js.map +1 -0
  30. package/dist/nodes/Chatwoot/resources/accountAgentBot/update.operation.d.ts +2 -0
  31. package/dist/nodes/Chatwoot/resources/accountAgentBot/update.operation.js +70 -0
  32. package/dist/nodes/Chatwoot/resources/accountAgentBot/update.operation.js.map +1 -0
  33. package/dist/nodes/Chatwoot/resources/accountUser/create.operation.d.ts +2 -0
  34. package/dist/nodes/Chatwoot/resources/accountUser/create.operation.js +52 -0
  35. package/dist/nodes/Chatwoot/resources/accountUser/create.operation.js.map +1 -0
  36. package/dist/nodes/Chatwoot/resources/accountUser/delete.operation.d.ts +2 -0
  37. package/dist/nodes/Chatwoot/resources/accountUser/delete.operation.js +34 -0
  38. package/dist/nodes/Chatwoot/resources/accountUser/delete.operation.js.map +1 -0
  39. package/dist/nodes/Chatwoot/resources/accountUser/getAll.operation.d.ts +2 -0
  40. package/dist/nodes/Chatwoot/resources/accountUser/getAll.operation.js +20 -0
  41. package/dist/nodes/Chatwoot/resources/accountUser/getAll.operation.js.map +1 -0
  42. package/dist/nodes/Chatwoot/resources/accountUser/index.d.ts +3 -0
  43. package/dist/nodes/Chatwoot/resources/accountUser/index.js +44 -0
  44. package/dist/nodes/Chatwoot/resources/accountUser/index.js.map +1 -0
  45. package/dist/nodes/Chatwoot/resources/agentBot/index.d.ts +3 -0
  46. package/dist/nodes/Chatwoot/resources/agentBot/index.js +143 -0
  47. package/dist/nodes/Chatwoot/resources/agentBot/index.js.map +1 -0
  48. package/dist/nodes/Chatwoot/resources/auditLog/getAll.operation.d.ts +2 -0
  49. package/dist/nodes/Chatwoot/resources/auditLog/getAll.operation.js +76 -0
  50. package/dist/nodes/Chatwoot/resources/auditLog/getAll.operation.js.map +1 -0
  51. package/dist/nodes/Chatwoot/resources/auditLog/index.d.ts +3 -0
  52. package/dist/nodes/Chatwoot/resources/auditLog/index.js +26 -0
  53. package/dist/nodes/Chatwoot/resources/auditLog/index.js.map +1 -0
  54. package/dist/nodes/Chatwoot/resources/automationRule/index.d.ts +3 -0
  55. package/dist/nodes/Chatwoot/resources/automationRule/index.js +205 -0
  56. package/dist/nodes/Chatwoot/resources/automationRule/index.js.map +1 -0
  57. package/dist/nodes/Chatwoot/resources/contact/addLabels.operation.d.ts +2 -0
  58. package/dist/nodes/Chatwoot/resources/contact/addLabels.operation.js +36 -0
  59. package/dist/nodes/Chatwoot/resources/contact/addLabels.operation.js.map +1 -0
  60. package/dist/nodes/Chatwoot/resources/contact/filter.operation.d.ts +2 -0
  61. package/dist/nodes/Chatwoot/resources/contact/filter.operation.js +51 -0
  62. package/dist/nodes/Chatwoot/resources/contact/filter.operation.js.map +1 -0
  63. package/dist/nodes/Chatwoot/resources/contact/index.js +24 -0
  64. package/dist/nodes/Chatwoot/resources/contact/index.js.map +1 -1
  65. package/dist/nodes/Chatwoot/resources/contact/listLabels.operation.d.ts +2 -0
  66. package/dist/nodes/Chatwoot/resources/contact/listLabels.operation.js +20 -0
  67. package/dist/nodes/Chatwoot/resources/contact/listLabels.operation.js.map +1 -0
  68. package/dist/nodes/Chatwoot/resources/conversation/create.operation.d.ts +2 -0
  69. package/dist/nodes/Chatwoot/resources/conversation/create.operation.js +92 -0
  70. package/dist/nodes/Chatwoot/resources/conversation/create.operation.js.map +1 -0
  71. package/dist/nodes/Chatwoot/resources/conversation/filter.operation.d.ts +2 -0
  72. package/dist/nodes/Chatwoot/resources/conversation/filter.operation.js +51 -0
  73. package/dist/nodes/Chatwoot/resources/conversation/filter.operation.js.map +1 -0
  74. package/dist/nodes/Chatwoot/resources/conversation/getMeta.operation.d.ts +2 -0
  75. package/dist/nodes/Chatwoot/resources/conversation/getMeta.operation.js +55 -0
  76. package/dist/nodes/Chatwoot/resources/conversation/getMeta.operation.js.map +1 -0
  77. package/dist/nodes/Chatwoot/resources/conversation/index.js +56 -0
  78. package/dist/nodes/Chatwoot/resources/conversation/index.js.map +1 -1
  79. package/dist/nodes/Chatwoot/resources/conversation/listLabels.operation.d.ts +2 -0
  80. package/dist/nodes/Chatwoot/resources/conversation/listLabels.operation.js +20 -0
  81. package/dist/nodes/Chatwoot/resources/conversation/listLabels.operation.js.map +1 -0
  82. package/dist/nodes/Chatwoot/resources/conversation/togglePriority.operation.d.ts +2 -0
  83. package/dist/nodes/Chatwoot/resources/conversation/togglePriority.operation.js +41 -0
  84. package/dist/nodes/Chatwoot/resources/conversation/togglePriority.operation.js.map +1 -0
  85. package/dist/nodes/Chatwoot/resources/conversation/update.operation.d.ts +2 -0
  86. package/dist/nodes/Chatwoot/resources/conversation/update.operation.js +56 -0
  87. package/dist/nodes/Chatwoot/resources/conversation/update.operation.js.map +1 -0
  88. package/dist/nodes/Chatwoot/resources/conversation/updateCustomAttributes.operation.d.ts +2 -0
  89. package/dist/nodes/Chatwoot/resources/conversation/updateCustomAttributes.operation.js +34 -0
  90. package/dist/nodes/Chatwoot/resources/conversation/updateCustomAttributes.operation.js.map +1 -0
  91. package/dist/nodes/Chatwoot/resources/csatSurvey/get.operation.d.ts +2 -0
  92. package/dist/nodes/Chatwoot/resources/csatSurvey/get.operation.js +20 -0
  93. package/dist/nodes/Chatwoot/resources/csatSurvey/get.operation.js.map +1 -0
  94. package/dist/nodes/Chatwoot/resources/csatSurvey/index.d.ts +3 -0
  95. package/dist/nodes/Chatwoot/resources/csatSurvey/index.js +26 -0
  96. package/dist/nodes/Chatwoot/resources/csatSurvey/index.js.map +1 -0
  97. package/dist/nodes/Chatwoot/resources/customFilter/index.d.ts +3 -0
  98. package/dist/nodes/Chatwoot/resources/customFilter/index.js +139 -0
  99. package/dist/nodes/Chatwoot/resources/customFilter/index.js.map +1 -0
  100. package/dist/nodes/Chatwoot/resources/helpCenter/createArticle.operation.d.ts +2 -0
  101. package/dist/nodes/Chatwoot/resources/helpCenter/createArticle.operation.js +113 -0
  102. package/dist/nodes/Chatwoot/resources/helpCenter/createArticle.operation.js.map +1 -0
  103. package/dist/nodes/Chatwoot/resources/helpCenter/createCategory.operation.d.ts +2 -0
  104. package/dist/nodes/Chatwoot/resources/helpCenter/createCategory.operation.js +91 -0
  105. package/dist/nodes/Chatwoot/resources/helpCenter/createCategory.operation.js.map +1 -0
  106. package/dist/nodes/Chatwoot/resources/helpCenter/createPortal.operation.d.ts +2 -0
  107. package/dist/nodes/Chatwoot/resources/helpCenter/createPortal.operation.js +84 -0
  108. package/dist/nodes/Chatwoot/resources/helpCenter/createPortal.operation.js.map +1 -0
  109. package/dist/nodes/Chatwoot/resources/helpCenter/getPortal.operation.d.ts +2 -0
  110. package/dist/nodes/Chatwoot/resources/helpCenter/getPortal.operation.js +20 -0
  111. package/dist/nodes/Chatwoot/resources/helpCenter/getPortal.operation.js.map +1 -0
  112. package/dist/nodes/Chatwoot/resources/helpCenter/index.d.ts +3 -0
  113. package/dist/nodes/Chatwoot/resources/helpCenter/index.js +60 -0
  114. package/dist/nodes/Chatwoot/resources/helpCenter/index.js.map +1 -0
  115. package/dist/nodes/Chatwoot/resources/helpCenter/updatePortal.operation.d.ts +2 -0
  116. package/dist/nodes/Chatwoot/resources/helpCenter/updatePortal.operation.js +77 -0
  117. package/dist/nodes/Chatwoot/resources/helpCenter/updatePortal.operation.js.map +1 -0
  118. package/dist/nodes/Chatwoot/resources/inbox/addAgent.operation.d.ts +2 -0
  119. package/dist/nodes/Chatwoot/resources/inbox/addAgent.operation.js +34 -0
  120. package/dist/nodes/Chatwoot/resources/inbox/addAgent.operation.js.map +1 -0
  121. package/dist/nodes/Chatwoot/resources/inbox/create.operation.d.ts +2 -0
  122. package/dist/nodes/Chatwoot/resources/inbox/create.operation.js +110 -0
  123. package/dist/nodes/Chatwoot/resources/inbox/create.operation.js.map +1 -0
  124. package/dist/nodes/Chatwoot/resources/inbox/deleteAgent.operation.d.ts +2 -0
  125. package/dist/nodes/Chatwoot/resources/inbox/deleteAgent.operation.js +34 -0
  126. package/dist/nodes/Chatwoot/resources/inbox/deleteAgent.operation.js.map +1 -0
  127. package/dist/nodes/Chatwoot/resources/inbox/getAgentBot.operation.d.ts +2 -0
  128. package/dist/nodes/Chatwoot/resources/inbox/getAgentBot.operation.js +20 -0
  129. package/dist/nodes/Chatwoot/resources/inbox/getAgentBot.operation.js.map +1 -0
  130. package/dist/nodes/Chatwoot/resources/inbox/getMembers.operation.d.ts +2 -0
  131. package/dist/nodes/Chatwoot/resources/inbox/getMembers.operation.js +20 -0
  132. package/dist/nodes/Chatwoot/resources/inbox/getMembers.operation.js.map +1 -0
  133. package/dist/nodes/Chatwoot/resources/inbox/index.js +48 -0
  134. package/dist/nodes/Chatwoot/resources/inbox/index.js.map +1 -1
  135. package/dist/nodes/Chatwoot/resources/inbox/setAgentBot.operation.d.ts +2 -0
  136. package/dist/nodes/Chatwoot/resources/inbox/setAgentBot.operation.js +36 -0
  137. package/dist/nodes/Chatwoot/resources/inbox/setAgentBot.operation.js.map +1 -0
  138. package/dist/nodes/Chatwoot/resources/integration/createHook.operation.d.ts +2 -0
  139. package/dist/nodes/Chatwoot/resources/integration/createHook.operation.js +47 -0
  140. package/dist/nodes/Chatwoot/resources/integration/createHook.operation.js.map +1 -0
  141. package/dist/nodes/Chatwoot/resources/integration/deleteHook.operation.d.ts +2 -0
  142. package/dist/nodes/Chatwoot/resources/integration/deleteHook.operation.js +34 -0
  143. package/dist/nodes/Chatwoot/resources/integration/deleteHook.operation.js.map +1 -0
  144. package/dist/nodes/Chatwoot/resources/integration/getAll.operation.d.ts +2 -0
  145. package/dist/nodes/Chatwoot/resources/integration/getAll.operation.js +5 -0
  146. package/dist/nodes/Chatwoot/resources/integration/getAll.operation.js.map +1 -0
  147. package/dist/nodes/Chatwoot/resources/integration/index.d.ts +3 -0
  148. package/dist/nodes/Chatwoot/resources/integration/index.js +52 -0
  149. package/dist/nodes/Chatwoot/resources/integration/index.js.map +1 -0
  150. package/dist/nodes/Chatwoot/resources/integration/updateHook.operation.d.ts +2 -0
  151. package/dist/nodes/Chatwoot/resources/integration/updateHook.operation.js +47 -0
  152. package/dist/nodes/Chatwoot/resources/integration/updateHook.operation.js.map +1 -0
  153. package/dist/nodes/Chatwoot/resources/message/delete.operation.d.ts +2 -0
  154. package/dist/nodes/Chatwoot/resources/message/delete.operation.js +34 -0
  155. package/dist/nodes/Chatwoot/resources/message/delete.operation.js.map +1 -0
  156. package/dist/nodes/Chatwoot/resources/message/index.js +20 -1
  157. package/dist/nodes/Chatwoot/resources/message/index.js.map +1 -1
  158. package/dist/nodes/Chatwoot/resources/message/update.operation.d.ts +2 -0
  159. package/dist/nodes/Chatwoot/resources/message/update.operation.js +51 -0
  160. package/dist/nodes/Chatwoot/resources/message/update.operation.js.map +1 -0
  161. package/dist/nodes/Chatwoot/resources/platformAccount/create.operation.d.ts +2 -0
  162. package/dist/nodes/Chatwoot/resources/platformAccount/create.operation.js +56 -0
  163. package/dist/nodes/Chatwoot/resources/platformAccount/create.operation.js.map +1 -0
  164. package/dist/nodes/Chatwoot/resources/platformAccount/delete.operation.d.ts +2 -0
  165. package/dist/nodes/Chatwoot/resources/platformAccount/delete.operation.js +20 -0
  166. package/dist/nodes/Chatwoot/resources/platformAccount/delete.operation.js.map +1 -0
  167. package/dist/nodes/Chatwoot/resources/platformAccount/get.operation.d.ts +2 -0
  168. package/dist/nodes/Chatwoot/resources/platformAccount/get.operation.js +20 -0
  169. package/dist/nodes/Chatwoot/resources/platformAccount/get.operation.js.map +1 -0
  170. package/dist/nodes/Chatwoot/resources/platformAccount/index.d.ts +3 -0
  171. package/dist/nodes/Chatwoot/resources/platformAccount/index.js +52 -0
  172. package/dist/nodes/Chatwoot/resources/platformAccount/index.js.map +1 -0
  173. package/dist/nodes/Chatwoot/resources/platformAccount/update.operation.d.ts +2 -0
  174. package/dist/nodes/Chatwoot/resources/platformAccount/update.operation.js +63 -0
  175. package/dist/nodes/Chatwoot/resources/platformAccount/update.operation.js.map +1 -0
  176. package/dist/nodes/Chatwoot/resources/platformUser/create.operation.d.ts +2 -0
  177. package/dist/nodes/Chatwoot/resources/platformUser/create.operation.js +67 -0
  178. package/dist/nodes/Chatwoot/resources/platformUser/create.operation.js.map +1 -0
  179. package/dist/nodes/Chatwoot/resources/platformUser/delete.operation.d.ts +2 -0
  180. package/dist/nodes/Chatwoot/resources/platformUser/delete.operation.js +20 -0
  181. package/dist/nodes/Chatwoot/resources/platformUser/delete.operation.js.map +1 -0
  182. package/dist/nodes/Chatwoot/resources/platformUser/get.operation.d.ts +2 -0
  183. package/dist/nodes/Chatwoot/resources/platformUser/get.operation.js +20 -0
  184. package/dist/nodes/Chatwoot/resources/platformUser/get.operation.js.map +1 -0
  185. package/dist/nodes/Chatwoot/resources/platformUser/getSsoUrl.operation.d.ts +2 -0
  186. package/dist/nodes/Chatwoot/resources/platformUser/getSsoUrl.operation.js +20 -0
  187. package/dist/nodes/Chatwoot/resources/platformUser/getSsoUrl.operation.js.map +1 -0
  188. package/dist/nodes/Chatwoot/resources/platformUser/index.d.ts +3 -0
  189. package/dist/nodes/Chatwoot/resources/platformUser/index.js +60 -0
  190. package/dist/nodes/Chatwoot/resources/platformUser/index.js.map +1 -0
  191. package/dist/nodes/Chatwoot/resources/platformUser/update.operation.d.ts +2 -0
  192. package/dist/nodes/Chatwoot/resources/platformUser/update.operation.js +66 -0
  193. package/dist/nodes/Chatwoot/resources/platformUser/update.operation.js.map +1 -0
  194. package/dist/nodes/Chatwoot/resources/profile/fetch.operation.d.ts +2 -0
  195. package/dist/nodes/Chatwoot/resources/profile/fetch.operation.js +5 -0
  196. package/dist/nodes/Chatwoot/resources/profile/fetch.operation.js.map +1 -0
  197. package/dist/nodes/Chatwoot/resources/profile/index.d.ts +3 -0
  198. package/dist/nodes/Chatwoot/resources/profile/index.js +26 -0
  199. package/dist/nodes/Chatwoot/resources/profile/index.js.map +1 -0
  200. package/dist/nodes/Chatwoot/resources/publicContact/create.operation.d.ts +2 -0
  201. package/dist/nodes/Chatwoot/resources/publicContact/create.operation.js +63 -0
  202. package/dist/nodes/Chatwoot/resources/publicContact/create.operation.js.map +1 -0
  203. package/dist/nodes/Chatwoot/resources/publicContact/get.operation.d.ts +2 -0
  204. package/dist/nodes/Chatwoot/resources/publicContact/get.operation.js +20 -0
  205. package/dist/nodes/Chatwoot/resources/publicContact/get.operation.js.map +1 -0
  206. package/dist/nodes/Chatwoot/resources/publicContact/index.d.ts +3 -0
  207. package/dist/nodes/Chatwoot/resources/publicContact/index.js +44 -0
  208. package/dist/nodes/Chatwoot/resources/publicContact/index.js.map +1 -0
  209. package/dist/nodes/Chatwoot/resources/publicContact/update.operation.d.ts +2 -0
  210. package/dist/nodes/Chatwoot/resources/publicContact/update.operation.js +70 -0
  211. package/dist/nodes/Chatwoot/resources/publicContact/update.operation.js.map +1 -0
  212. package/dist/nodes/Chatwoot/resources/publicConversation/create.operation.d.ts +2 -0
  213. package/dist/nodes/Chatwoot/resources/publicConversation/create.operation.js +42 -0
  214. package/dist/nodes/Chatwoot/resources/publicConversation/create.operation.js.map +1 -0
  215. package/dist/nodes/Chatwoot/resources/publicConversation/get.operation.d.ts +2 -0
  216. package/dist/nodes/Chatwoot/resources/publicConversation/get.operation.js +34 -0
  217. package/dist/nodes/Chatwoot/resources/publicConversation/get.operation.js.map +1 -0
  218. package/dist/nodes/Chatwoot/resources/publicConversation/getAll.operation.d.ts +2 -0
  219. package/dist/nodes/Chatwoot/resources/publicConversation/getAll.operation.js +20 -0
  220. package/dist/nodes/Chatwoot/resources/publicConversation/getAll.operation.js.map +1 -0
  221. package/dist/nodes/Chatwoot/resources/publicConversation/index.d.ts +3 -0
  222. package/dist/nodes/Chatwoot/resources/publicConversation/index.js +68 -0
  223. package/dist/nodes/Chatwoot/resources/publicConversation/index.js.map +1 -0
  224. package/dist/nodes/Chatwoot/resources/publicConversation/resolve.operation.d.ts +2 -0
  225. package/dist/nodes/Chatwoot/resources/publicConversation/resolve.operation.js +34 -0
  226. package/dist/nodes/Chatwoot/resources/publicConversation/resolve.operation.js.map +1 -0
  227. package/dist/nodes/Chatwoot/resources/publicConversation/toggleTyping.operation.d.ts +2 -0
  228. package/dist/nodes/Chatwoot/resources/publicConversation/toggleTyping.operation.js +52 -0
  229. package/dist/nodes/Chatwoot/resources/publicConversation/toggleTyping.operation.js.map +1 -0
  230. package/dist/nodes/Chatwoot/resources/publicConversation/updateLastSeen.operation.d.ts +2 -0
  231. package/dist/nodes/Chatwoot/resources/publicConversation/updateLastSeen.operation.js +34 -0
  232. package/dist/nodes/Chatwoot/resources/publicConversation/updateLastSeen.operation.js.map +1 -0
  233. package/dist/nodes/Chatwoot/resources/publicMessage/create.operation.d.ts +2 -0
  234. package/dist/nodes/Chatwoot/resources/publicMessage/create.operation.js +73 -0
  235. package/dist/nodes/Chatwoot/resources/publicMessage/create.operation.js.map +1 -0
  236. package/dist/nodes/Chatwoot/resources/publicMessage/getAll.operation.d.ts +2 -0
  237. package/dist/nodes/Chatwoot/resources/publicMessage/getAll.operation.js +34 -0
  238. package/dist/nodes/Chatwoot/resources/publicMessage/getAll.operation.js.map +1 -0
  239. package/dist/nodes/Chatwoot/resources/publicMessage/index.d.ts +3 -0
  240. package/dist/nodes/Chatwoot/resources/publicMessage/index.js +44 -0
  241. package/dist/nodes/Chatwoot/resources/publicMessage/index.js.map +1 -0
  242. package/dist/nodes/Chatwoot/resources/publicMessage/update.operation.d.ts +2 -0
  243. package/dist/nodes/Chatwoot/resources/publicMessage/update.operation.js +65 -0
  244. package/dist/nodes/Chatwoot/resources/publicMessage/update.operation.js.map +1 -0
  245. package/dist/nodes/Chatwoot/resources/report/index.d.ts +3 -0
  246. package/dist/nodes/Chatwoot/resources/report/index.js +155 -0
  247. package/dist/nodes/Chatwoot/resources/report/index.js.map +1 -0
  248. package/dist/nodes/Chatwoot/resources/team/addAgent.operation.d.ts +2 -0
  249. package/dist/nodes/Chatwoot/resources/team/addAgent.operation.js +34 -0
  250. package/dist/nodes/Chatwoot/resources/team/addAgent.operation.js.map +1 -0
  251. package/dist/nodes/Chatwoot/resources/team/deleteAgent.operation.d.ts +2 -0
  252. package/dist/nodes/Chatwoot/resources/team/deleteAgent.operation.js +34 -0
  253. package/dist/nodes/Chatwoot/resources/team/deleteAgent.operation.js.map +1 -0
  254. package/dist/nodes/Chatwoot/resources/team/getMembers.operation.d.ts +2 -0
  255. package/dist/nodes/Chatwoot/resources/team/getMembers.operation.js +20 -0
  256. package/dist/nodes/Chatwoot/resources/team/getMembers.operation.js.map +1 -0
  257. package/dist/nodes/Chatwoot/resources/team/index.js +32 -0
  258. package/dist/nodes/Chatwoot/resources/team/index.js.map +1 -1
  259. package/dist/nodes/Chatwoot/resources/team/updateAgents.operation.d.ts +2 -0
  260. package/dist/nodes/Chatwoot/resources/team/updateAgents.operation.js +34 -0
  261. package/dist/nodes/Chatwoot/resources/team/updateAgents.operation.js.map +1 -0
  262. package/dist/nodes/Chatwoot/types.d.ts +19 -0
  263. package/dist/tsconfig.tsbuildinfo +1 -1
  264. package/package.json +4 -2
@@ -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"}
@@ -4,6 +4,12 @@ exports.inboxFields = exports.inboxOperations = void 0;
4
4
  const getAll_operation_1 = require("./getAll.operation");
5
5
  const get_operation_1 = require("./get.operation");
6
6
  const update_operation_1 = require("./update.operation");
7
+ const create_operation_1 = require("./create.operation");
8
+ const addAgent_operation_1 = require("./addAgent.operation");
9
+ const deleteAgent_operation_1 = require("./deleteAgent.operation");
10
+ const getMembers_operation_1 = require("./getMembers.operation");
11
+ const getAgentBot_operation_1 = require("./getAgentBot.operation");
12
+ const setAgentBot_operation_1 = require("./setAgentBot.operation");
7
13
  exports.inboxOperations = {
8
14
  displayName: 'Operation',
9
15
  name: 'operation',
@@ -15,18 +21,54 @@ exports.inboxOperations = {
15
21
  },
16
22
  },
17
23
  options: [
24
+ {
25
+ name: 'Add Agent',
26
+ value: 'addAgent',
27
+ description: 'Add agents to an inbox',
28
+ action: 'Add agents to inbox',
29
+ },
30
+ {
31
+ name: 'Create',
32
+ value: 'create',
33
+ description: 'Create a new inbox',
34
+ action: 'Create an inbox',
35
+ },
36
+ {
37
+ name: 'Delete Agent',
38
+ value: 'deleteAgent',
39
+ description: 'Remove agents from an inbox',
40
+ action: 'Remove agents from inbox',
41
+ },
18
42
  {
19
43
  name: 'Get',
20
44
  value: 'get',
21
45
  description: 'Get an inbox by ID',
22
46
  action: 'Get an inbox',
23
47
  },
48
+ {
49
+ name: 'Get Agent Bot',
50
+ value: 'getAgentBot',
51
+ description: 'Get the agent bot assigned to an inbox',
52
+ action: 'Get inbox agent bot',
53
+ },
24
54
  {
25
55
  name: 'Get Many',
26
56
  value: 'getAll',
27
57
  description: 'Get all inboxes in the account',
28
58
  action: 'Get all inboxes',
29
59
  },
60
+ {
61
+ name: 'Get Members',
62
+ value: 'getMembers',
63
+ description: 'Get all agents assigned to an inbox',
64
+ action: 'Get inbox members',
65
+ },
66
+ {
67
+ name: 'Set Agent Bot',
68
+ value: 'setAgentBot',
69
+ description: 'Set or remove agent bot for an inbox',
70
+ action: 'Set inbox agent bot',
71
+ },
30
72
  {
31
73
  name: 'Update',
32
74
  value: 'update',
@@ -40,5 +82,11 @@ exports.inboxFields = [
40
82
  ...getAll_operation_1.getAllOperation,
41
83
  ...get_operation_1.getOperation,
42
84
  ...update_operation_1.updateOperation,
85
+ ...create_operation_1.createOperation,
86
+ ...addAgent_operation_1.addAgentOperation,
87
+ ...deleteAgent_operation_1.deleteAgentOperation,
88
+ ...getMembers_operation_1.getMembersOperation,
89
+ ...getAgentBot_operation_1.getAgentBotOperation,
90
+ ...setAgentBot_operation_1.setAgentBotOperation,
43
91
  ];
44
92
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/inbox/index.ts"],"names":[],"mappings":";;;AACA,yDAAqD;AACrD,mDAA+C;AAC/C,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,KAAK;YACX,KAAK,EAAE,KAAK;YACZ,WAAW,EAAE,oBAAoB;YACjC,MAAM,EAAE,cAAc;SACvB;QACD;YACE,IAAI,EAAE,UAAU;YAChB,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,gCAAgC;YAC7C,MAAM,EAAE,iBAAiB;SAC1B;QACD;YACE,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,uBAAuB;YACpC,MAAM,EAAE,iBAAiB;SAC1B;KACF;IACD,OAAO,EAAE,QAAQ;CAClB,CAAC;AAEW,QAAA,WAAW,GAAsB;IAC5C,GAAG,kCAAe;IAClB,GAAG,4BAAY;IACf,GAAG,kCAAe;CACnB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/inbox/index.ts"],"names":[],"mappings":";;;AACA,yDAAqD;AACrD,mDAA+C;AAC/C,yDAAqD;AACrD,yDAAqD;AACrD,6DAAyD;AACzD,mEAA+D;AAC/D,iEAA6D;AAC7D,mEAA+D;AAC/D,mEAA+D;AAElD,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,WAAW;YACjB,KAAK,EAAE,UAAU;YACjB,WAAW,EAAE,wBAAwB;YACrC,MAAM,EAAE,qBAAqB;SAC9B;QACD;YACE,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,oBAAoB;YACjC,MAAM,EAAE,iBAAiB;SAC1B;QACD;YACE,IAAI,EAAE,cAAc;YACpB,KAAK,EAAE,aAAa;YACpB,WAAW,EAAE,6BAA6B;YAC1C,MAAM,EAAE,0BAA0B;SACnC;QACD;YACE,IAAI,EAAE,KAAK;YACX,KAAK,EAAE,KAAK;YACZ,WAAW,EAAE,oBAAoB;YACjC,MAAM,EAAE,cAAc;SACvB;QACD;YACE,IAAI,EAAE,eAAe;YACrB,KAAK,EAAE,aAAa;YACpB,WAAW,EAAE,wCAAwC;YACrD,MAAM,EAAE,qBAAqB;SAC9B;QACD;YACE,IAAI,EAAE,UAAU;YAChB,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,gCAAgC;YAC7C,MAAM,EAAE,iBAAiB;SAC1B;QACD;YACE,IAAI,EAAE,aAAa;YACnB,KAAK,EAAE,YAAY;YACnB,WAAW,EAAE,qCAAqC;YAClD,MAAM,EAAE,mBAAmB;SAC5B;QACD;YACE,IAAI,EAAE,eAAe;YACrB,KAAK,EAAE,aAAa;YACpB,WAAW,EAAE,sCAAsC;YACnD,MAAM,EAAE,qBAAqB;SAC9B;QACD;YACE,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,uBAAuB;YACpC,MAAM,EAAE,iBAAiB;SAC1B;KACF;IACD,OAAO,EAAE,QAAQ;CAClB,CAAC;AAEW,QAAA,WAAW,GAAsB;IAC5C,GAAG,kCAAe;IAClB,GAAG,4BAAY;IACf,GAAG,kCAAe;IAClB,GAAG,kCAAe;IAClB,GAAG,sCAAiB;IACpB,GAAG,4CAAoB;IACvB,GAAG,0CAAmB;IACtB,GAAG,4CAAoB;IACvB,GAAG,4CAAoB;CACxB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const setAgentBotOperation: INodeProperties[];
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.setAgentBotOperation = void 0;
4
+ exports.setAgentBotOperation = [
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: ['setAgentBot'],
15
+ },
16
+ },
17
+ description: 'ID of the inbox',
18
+ },
19
+ {
20
+ displayName: 'Agent Bot',
21
+ name: 'agentBotId',
22
+ type: 'options',
23
+ typeOptions: {
24
+ loadOptionsMethod: 'getAgentBots',
25
+ },
26
+ default: '',
27
+ displayOptions: {
28
+ show: {
29
+ resource: ['inbox'],
30
+ operation: ['setAgentBot'],
31
+ },
32
+ },
33
+ description: 'Agent bot to assign to the inbox. Leave empty to remove the agent bot.',
34
+ },
35
+ ];
36
+ //# sourceMappingURL=setAgentBot.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setAgentBot.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/inbox/setAgentBot.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,WAAW;QACxB,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,SAAS;QACf,WAAW,EAAE;YACX,iBAAiB,EAAE,cAAc;SAClC;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,wEAAwE;KACtF;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const createHookOperation: INodeProperties[];
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createHookOperation = void 0;
4
+ exports.createHookOperation = [
5
+ {
6
+ displayName: 'App ID',
7
+ name: 'appId',
8
+ type: 'string',
9
+ required: true,
10
+ default: '',
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['integration'],
14
+ operation: ['createHook'],
15
+ },
16
+ },
17
+ description: 'ID of the integration app (e.g., "dialogflow", "slack")',
18
+ },
19
+ {
20
+ displayName: 'Inbox ID',
21
+ name: 'inboxId',
22
+ type: 'number',
23
+ required: true,
24
+ default: 0,
25
+ displayOptions: {
26
+ show: {
27
+ resource: ['integration'],
28
+ operation: ['createHook'],
29
+ },
30
+ },
31
+ description: 'ID of the inbox to attach the hook to',
32
+ },
33
+ {
34
+ displayName: 'Settings',
35
+ name: 'settings',
36
+ type: 'json',
37
+ default: '{}',
38
+ displayOptions: {
39
+ show: {
40
+ resource: ['integration'],
41
+ operation: ['createHook'],
42
+ },
43
+ },
44
+ description: 'Integration-specific settings as JSON',
45
+ },
46
+ ];
47
+ //# sourceMappingURL=createHook.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createHook.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/integration/createHook.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,mBAAmB,GAAsB;IACpD;QACE,WAAW,EAAE,QAAQ;QACrB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,aAAa,CAAC;gBACzB,SAAS,EAAE,CAAC,YAAY,CAAC;aAC1B;SACF;QACD,WAAW,EAAE,yDAAyD;KACvE;IACD;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,aAAa,CAAC;gBACzB,SAAS,EAAE,CAAC,YAAY,CAAC;aAC1B;SACF;QACD,WAAW,EAAE,uCAAuC;KACrD;IACD;QACE,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,IAAI;QACb,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,aAAa,CAAC;gBACzB,SAAS,EAAE,CAAC,YAAY,CAAC;aAC1B;SACF;QACD,WAAW,EAAE,uCAAuC;KACrD;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const deleteHookOperation: INodeProperties[];
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.deleteHookOperation = void 0;
4
+ exports.deleteHookOperation = [
5
+ {
6
+ displayName: 'App ID',
7
+ name: 'appId',
8
+ type: 'string',
9
+ required: true,
10
+ default: '',
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['integration'],
14
+ operation: ['deleteHook'],
15
+ },
16
+ },
17
+ description: 'ID of the integration app',
18
+ },
19
+ {
20
+ displayName: 'Hook ID',
21
+ name: 'hookId',
22
+ type: 'number',
23
+ required: true,
24
+ default: 0,
25
+ displayOptions: {
26
+ show: {
27
+ resource: ['integration'],
28
+ operation: ['deleteHook'],
29
+ },
30
+ },
31
+ description: 'ID of the hook to delete',
32
+ },
33
+ ];
34
+ //# sourceMappingURL=deleteHook.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deleteHook.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/integration/deleteHook.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,mBAAmB,GAAsB;IACpD;QACE,WAAW,EAAE,QAAQ;QACrB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,aAAa,CAAC;gBACzB,SAAS,EAAE,CAAC,YAAY,CAAC;aAC1B;SACF;QACD,WAAW,EAAE,2BAA2B;KACzC;IACD;QACE,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,CAAC;QACV,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,aAAa,CAAC;gBACzB,SAAS,EAAE,CAAC,YAAY,CAAC;aAC1B;SACF;QACD,WAAW,EAAE,0BAA0B;KACxC;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/integration/getAll.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAsB,EAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const integrationOperations: INodeProperties;
3
+ export declare const integrationFields: INodeProperties[];
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.integrationFields = exports.integrationOperations = void 0;
4
+ const getAll_operation_1 = require("./getAll.operation");
5
+ const createHook_operation_1 = require("./createHook.operation");
6
+ const updateHook_operation_1 = require("./updateHook.operation");
7
+ const deleteHook_operation_1 = require("./deleteHook.operation");
8
+ exports.integrationOperations = {
9
+ displayName: 'Operation',
10
+ name: 'operation',
11
+ type: 'options',
12
+ noDataExpression: true,
13
+ displayOptions: {
14
+ show: {
15
+ resource: ['integration'],
16
+ },
17
+ },
18
+ options: [
19
+ {
20
+ name: 'Create Hook',
21
+ value: 'createHook',
22
+ description: 'Create an integration hook',
23
+ action: 'Create integration hook',
24
+ },
25
+ {
26
+ name: 'Delete Hook',
27
+ value: 'deleteHook',
28
+ description: 'Delete an integration hook',
29
+ action: 'Delete integration hook',
30
+ },
31
+ {
32
+ name: 'Get Many',
33
+ value: 'getAll',
34
+ description: 'Get all integrations',
35
+ action: 'Get all integrations',
36
+ },
37
+ {
38
+ name: 'Update Hook',
39
+ value: 'updateHook',
40
+ description: 'Update an integration hook',
41
+ action: 'Update integration hook',
42
+ },
43
+ ],
44
+ default: 'getAll',
45
+ };
46
+ exports.integrationFields = [
47
+ ...getAll_operation_1.getAllOperation,
48
+ ...createHook_operation_1.createHookOperation,
49
+ ...updateHook_operation_1.updateHookOperation,
50
+ ...deleteHook_operation_1.deleteHookOperation,
51
+ ];
52
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/integration/index.ts"],"names":[],"mappings":";;;AACA,yDAAqD;AACrD,iEAA6D;AAC7D,iEAA6D;AAC7D,iEAA6D;AAEhD,QAAA,qBAAqB,GAAoB;IACpD,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,aAAa,CAAC;SAC1B;KACF;IACD,OAAO,EAAE;QACP;YACE,IAAI,EAAE,aAAa;YACnB,KAAK,EAAE,YAAY;YACnB,WAAW,EAAE,4BAA4B;YACzC,MAAM,EAAE,yBAAyB;SAClC;QACD;YACE,IAAI,EAAE,aAAa;YACnB,KAAK,EAAE,YAAY;YACnB,WAAW,EAAE,4BAA4B;YACzC,MAAM,EAAE,yBAAyB;SAClC;QACD;YACE,IAAI,EAAE,UAAU;YAChB,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,sBAAsB;YACnC,MAAM,EAAE,sBAAsB;SAC/B;QACD;YACE,IAAI,EAAE,aAAa;YACnB,KAAK,EAAE,YAAY;YACnB,WAAW,EAAE,4BAA4B;YACzC,MAAM,EAAE,yBAAyB;SAClC;KACF;IACD,OAAO,EAAE,QAAQ;CAClB,CAAC;AAEW,QAAA,iBAAiB,GAAsB;IAClD,GAAG,kCAAe;IAClB,GAAG,0CAAmB;IACtB,GAAG,0CAAmB;IACtB,GAAG,0CAAmB;CACvB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const updateHookOperation: INodeProperties[];
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.updateHookOperation = void 0;
4
+ exports.updateHookOperation = [
5
+ {
6
+ displayName: 'App ID',
7
+ name: 'appId',
8
+ type: 'string',
9
+ required: true,
10
+ default: '',
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['integration'],
14
+ operation: ['updateHook'],
15
+ },
16
+ },
17
+ description: 'ID of the integration app',
18
+ },
19
+ {
20
+ displayName: 'Hook ID',
21
+ name: 'hookId',
22
+ type: 'number',
23
+ required: true,
24
+ default: 0,
25
+ displayOptions: {
26
+ show: {
27
+ resource: ['integration'],
28
+ operation: ['updateHook'],
29
+ },
30
+ },
31
+ description: 'ID of the hook to update',
32
+ },
33
+ {
34
+ displayName: 'Settings',
35
+ name: 'settings',
36
+ type: 'json',
37
+ default: '{}',
38
+ displayOptions: {
39
+ show: {
40
+ resource: ['integration'],
41
+ operation: ['updateHook'],
42
+ },
43
+ },
44
+ description: 'Updated integration-specific settings as JSON',
45
+ },
46
+ ];
47
+ //# sourceMappingURL=updateHook.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateHook.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/integration/updateHook.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,mBAAmB,GAAsB;IACpD;QACE,WAAW,EAAE,QAAQ;QACrB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,aAAa,CAAC;gBACzB,SAAS,EAAE,CAAC,YAAY,CAAC;aAC1B;SACF;QACD,WAAW,EAAE,2BAA2B;KACzC;IACD;QACE,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,CAAC;QACV,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,aAAa,CAAC;gBACzB,SAAS,EAAE,CAAC,YAAY,CAAC;aAC1B;SACF;QACD,WAAW,EAAE,0BAA0B;KACxC;IACD;QACE,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,IAAI;QACb,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,aAAa,CAAC;gBACzB,SAAS,EAAE,CAAC,YAAY,CAAC;aAC1B;SACF;QACD,WAAW,EAAE,+CAA+C;KAC7D;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,8 @@ 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");
7
+ const update_operation_1 = require("./update.operation");
6
8
  exports.messageOperations = {
7
9
  displayName: 'Operation',
8
10
  name: 'operation',
@@ -20,14 +22,31 @@ exports.messageOperations = {
20
22
  description: 'Send a message to a conversation',
21
23
  action: 'Send a message',
22
24
  },
25
+ {
26
+ name: 'Delete',
27
+ value: 'delete',
28
+ description: 'Delete a message from a conversation',
29
+ action: 'Delete a message',
30
+ },
23
31
  {
24
32
  name: 'Get Many',
25
33
  value: 'getAll',
26
34
  description: 'Get messages from a conversation',
27
35
  action: 'Get messages from conversation',
28
36
  },
37
+ {
38
+ name: 'Update',
39
+ value: 'update',
40
+ description: 'Update a message',
41
+ action: 'Update a message',
42
+ },
29
43
  ],
30
44
  default: 'create',
31
45
  };
32
- exports.messageFields = [...create_operation_1.createOperation, ...getAll_operation_1.getAllOperation];
46
+ exports.messageFields = [
47
+ ...create_operation_1.createOperation,
48
+ ...getAll_operation_1.getAllOperation,
49
+ ...delete_operation_1.deleteOperation,
50
+ ...update_operation_1.updateOperation,
51
+ ];
33
52
  //# 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;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;QACD;YACE,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,kBAAkB;YAC/B,MAAM,EAAE,kBAAkB;SAC3B;KACF;IACD,OAAO,EAAE,QAAQ;CAClB,CAAC;AAEW,QAAA,aAAa,GAAsB;IAC9C,GAAG,kCAAe;IAClB,GAAG,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,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.updateOperation = void 0;
4
+ exports.updateOperation = [
5
+ {
6
+ displayName: 'Conversation ID',
7
+ name: 'conversationId',
8
+ type: 'number',
9
+ required: true,
10
+ default: 0,
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['message'],
14
+ operation: ['update'],
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: ['update'],
29
+ },
30
+ },
31
+ description: 'ID of the message to update',
32
+ },
33
+ {
34
+ displayName: 'Content',
35
+ name: 'content',
36
+ type: 'string',
37
+ typeOptions: {
38
+ rows: 4,
39
+ },
40
+ required: true,
41
+ default: '',
42
+ displayOptions: {
43
+ show: {
44
+ resource: ['message'],
45
+ operation: ['update'],
46
+ },
47
+ },
48
+ description: 'New message content',
49
+ },
50
+ ];
51
+ //# sourceMappingURL=update.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/message/update.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAsB;IAChD;QACE,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,CAAC;QACV,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,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;IACD;QACE,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE;YACX,IAAI,EAAE,CAAC;SACR;QACD,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,SAAS,CAAC;gBACrB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACtB;SACF;QACD,WAAW,EAAE,qBAAqB;KACnC;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const createOperation: INodeProperties[];