@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 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/platformAccount/index.ts"],"names":[],"mappings":";;;AACA,yDAAqD;AACrD,mDAA+C;AAC/C,yDAAqD;AACrD,yDAAqD;AAExC,QAAA,yBAAyB,GAAoB;IACxD,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,iBAAiB,CAAC;SAC9B;KACF;IACD,OAAO,EAAE;QACP;YACE,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,sBAAsB;YACnC,MAAM,EAAE,gBAAgB;SACzB;QACD;YACE,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,mBAAmB;YAChC,MAAM,EAAE,gBAAgB;SACzB;QACD;YACE,IAAI,EAAE,KAAK;YACX,KAAK,EAAE,KAAK;YACZ,WAAW,EAAE,qBAAqB;YAClC,MAAM,EAAE,aAAa;SACtB;QACD;YACE,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,mBAAmB;YAChC,MAAM,EAAE,gBAAgB;SACzB;KACF;IACD,OAAO,EAAE,KAAK;CACf,CAAC;AAEW,QAAA,qBAAqB,GAAsB;IACtD,GAAG,kCAAe;IAClB,GAAG,4BAAY;IACf,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,63 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.updateOperation = void 0;
4
+ exports.updateOperation = [
5
+ {
6
+ displayName: 'Account ID',
7
+ name: 'accountId',
8
+ type: 'number',
9
+ required: true,
10
+ default: 0,
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['platformAccount'],
14
+ operation: ['update'],
15
+ },
16
+ },
17
+ description: 'ID of the account 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: ['platformAccount'],
28
+ operation: ['update'],
29
+ },
30
+ },
31
+ options: [
32
+ {
33
+ displayName: 'Domain',
34
+ name: 'domain',
35
+ type: 'string',
36
+ default: '',
37
+ description: 'Domain for the account',
38
+ },
39
+ {
40
+ displayName: 'Locale',
41
+ name: 'locale',
42
+ type: 'string',
43
+ default: '',
44
+ description: 'Locale for the account',
45
+ },
46
+ {
47
+ displayName: 'Name',
48
+ name: 'name',
49
+ type: 'string',
50
+ default: '',
51
+ description: 'Name of the account',
52
+ },
53
+ {
54
+ displayName: 'Support Email',
55
+ name: 'support_email',
56
+ type: 'string',
57
+ default: '',
58
+ description: 'Support email for the account',
59
+ },
60
+ ],
61
+ },
62
+ ];
63
+ //# sourceMappingURL=update.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/platformAccount/update.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAsB;IAChD;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,iBAAiB,CAAC;gBAC7B,SAAS,EAAE,CAAC,QAAQ,CAAC;aACtB;SACF;QACD,WAAW,EAAE,6BAA6B;KAC3C;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,iBAAiB,CAAC;gBAC7B,SAAS,EAAE,CAAC,QAAQ,CAAC;aACtB;SACF;QACD,OAAO,EAAE;YACP;gBACE,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,wBAAwB;aACtC;YACD;gBACE,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,wBAAwB;aACtC;YACD;gBACE,WAAW,EAAE,MAAM;gBACnB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,qBAAqB;aACnC;YACD;gBACE,WAAW,EAAE,eAAe;gBAC5B,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,+BAA+B;aAC7C;SACF;KACF;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const createOperation: INodeProperties[];
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createOperation = void 0;
4
+ exports.createOperation = [
5
+ {
6
+ displayName: 'Email',
7
+ name: 'email',
8
+ type: 'string',
9
+ placeholder: 'name@email.com',
10
+ required: true,
11
+ default: '',
12
+ displayOptions: {
13
+ show: {
14
+ resource: ['platformUser'],
15
+ operation: ['create'],
16
+ },
17
+ },
18
+ description: 'Email address of the user',
19
+ },
20
+ {
21
+ displayName: 'Name',
22
+ name: 'name',
23
+ type: 'string',
24
+ required: true,
25
+ default: '',
26
+ displayOptions: {
27
+ show: {
28
+ resource: ['platformUser'],
29
+ operation: ['create'],
30
+ },
31
+ },
32
+ description: 'Name of the user',
33
+ },
34
+ {
35
+ displayName: 'Additional Fields',
36
+ name: 'additionalFields',
37
+ type: 'collection',
38
+ placeholder: 'Add Field',
39
+ default: {},
40
+ displayOptions: {
41
+ show: {
42
+ resource: ['platformUser'],
43
+ operation: ['create'],
44
+ },
45
+ },
46
+ options: [
47
+ {
48
+ displayName: 'Custom Attributes',
49
+ name: 'custom_attributes',
50
+ type: 'json',
51
+ default: '{}',
52
+ description: 'Custom attributes as JSON object',
53
+ },
54
+ {
55
+ displayName: 'Password',
56
+ name: 'password',
57
+ type: 'string',
58
+ typeOptions: {
59
+ password: true,
60
+ },
61
+ default: '',
62
+ description: 'Password for the user',
63
+ },
64
+ ],
65
+ },
66
+ ];
67
+ //# sourceMappingURL=create.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/platformUser/create.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAsB;IAChD;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,gBAAgB;QAC7B,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,cAAc,CAAC;gBAC1B,SAAS,EAAE,CAAC,QAAQ,CAAC;aACtB;SACF;QACD,WAAW,EAAE,2BAA2B;KACzC;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,cAAc,CAAC;gBAC1B,SAAS,EAAE,CAAC,QAAQ,CAAC;aACtB;SACF;QACD,WAAW,EAAE,kBAAkB;KAChC;IACD;QACE,WAAW,EAAE,mBAAmB;QAChC,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,WAAW;QACxB,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,cAAc,CAAC;gBAC1B,SAAS,EAAE,CAAC,QAAQ,CAAC;aACtB;SACF;QACD,OAAO,EAAE;YACP;gBACE,WAAW,EAAE,mBAAmB;gBAChC,IAAI,EAAE,mBAAmB;gBACzB,IAAI,EAAE,MAAM;gBACZ,OAAO,EAAE,IAAI;gBACb,WAAW,EAAE,kCAAkC;aAChD;YACD;gBACE,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACX,QAAQ,EAAE,IAAI;iBACf;gBACD,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,uBAAuB;aACrC;SACF;KACF;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const deleteOperation: INodeProperties[];
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.deleteOperation = void 0;
4
+ exports.deleteOperation = [
5
+ {
6
+ displayName: 'User ID',
7
+ name: 'userId',
8
+ type: 'number',
9
+ required: true,
10
+ default: 0,
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['platformUser'],
14
+ operation: ['delete'],
15
+ },
16
+ },
17
+ description: 'ID of the user to delete',
18
+ },
19
+ ];
20
+ //# sourceMappingURL=delete.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/platformUser/delete.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAsB;IAChD;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,cAAc,CAAC;gBAC1B,SAAS,EAAE,CAAC,QAAQ,CAAC;aACtB;SACF;QACD,WAAW,EAAE,0BAA0B;KACxC;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const getOperation: INodeProperties[];
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getOperation = void 0;
4
+ exports.getOperation = [
5
+ {
6
+ displayName: 'User ID',
7
+ name: 'userId',
8
+ type: 'number',
9
+ required: true,
10
+ default: 0,
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['platformUser'],
14
+ operation: ['get'],
15
+ },
16
+ },
17
+ description: 'ID of the user to retrieve',
18
+ },
19
+ ];
20
+ //# sourceMappingURL=get.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/platformUser/get.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,YAAY,GAAsB;IAC7C;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,cAAc,CAAC;gBAC1B,SAAS,EAAE,CAAC,KAAK,CAAC;aACnB;SACF;QACD,WAAW,EAAE,4BAA4B;KAC1C;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const getSsoUrlOperation: INodeProperties[];
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getSsoUrlOperation = void 0;
4
+ exports.getSsoUrlOperation = [
5
+ {
6
+ displayName: 'User ID',
7
+ name: 'userId',
8
+ type: 'number',
9
+ required: true,
10
+ default: 0,
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['platformUser'],
14
+ operation: ['getSsoUrl'],
15
+ },
16
+ },
17
+ description: 'ID of the user to get SSO URL for',
18
+ },
19
+ ];
20
+ //# sourceMappingURL=getSsoUrl.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSsoUrl.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/platformUser/getSsoUrl.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,kBAAkB,GAAsB;IACnD;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,cAAc,CAAC;gBAC1B,SAAS,EAAE,CAAC,WAAW,CAAC;aACzB;SACF;QACD,WAAW,EAAE,mCAAmC;KACjD;CACF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const platformUserOperations: INodeProperties;
3
+ export declare const platformUserFields: INodeProperties[];
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.platformUserFields = exports.platformUserOperations = void 0;
4
+ const create_operation_1 = require("./create.operation");
5
+ const get_operation_1 = require("./get.operation");
6
+ const update_operation_1 = require("./update.operation");
7
+ const delete_operation_1 = require("./delete.operation");
8
+ const getSsoUrl_operation_1 = require("./getSsoUrl.operation");
9
+ exports.platformUserOperations = {
10
+ displayName: 'Operation',
11
+ name: 'operation',
12
+ type: 'options',
13
+ noDataExpression: true,
14
+ displayOptions: {
15
+ show: {
16
+ resource: ['platformUser'],
17
+ },
18
+ },
19
+ options: [
20
+ {
21
+ name: 'Create',
22
+ value: 'create',
23
+ description: 'Create a new user',
24
+ action: 'Create user',
25
+ },
26
+ {
27
+ name: 'Delete',
28
+ value: 'delete',
29
+ description: 'Delete a user',
30
+ action: 'Delete user',
31
+ },
32
+ {
33
+ name: 'Get',
34
+ value: 'get',
35
+ description: 'Get user details',
36
+ action: 'Get user',
37
+ },
38
+ {
39
+ name: 'Get SSO URL',
40
+ value: 'getSsoUrl',
41
+ description: 'Get SSO login URL for a user',
42
+ action: 'Get SSO URL',
43
+ },
44
+ {
45
+ name: 'Update',
46
+ value: 'update',
47
+ description: 'Update a user',
48
+ action: 'Update user',
49
+ },
50
+ ],
51
+ default: 'get',
52
+ };
53
+ exports.platformUserFields = [
54
+ ...create_operation_1.createOperation,
55
+ ...get_operation_1.getOperation,
56
+ ...update_operation_1.updateOperation,
57
+ ...delete_operation_1.deleteOperation,
58
+ ...getSsoUrl_operation_1.getSsoUrlOperation,
59
+ ];
60
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/platformUser/index.ts"],"names":[],"mappings":";;;AACA,yDAAqD;AACrD,mDAA+C;AAC/C,yDAAqD;AACrD,yDAAqD;AACrD,+DAA2D;AAE9C,QAAA,sBAAsB,GAAoB;IACrD,WAAW,EAAE,WAAW;IACxB,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,SAAS;IACf,gBAAgB,EAAE,IAAI;IACtB,cAAc,EAAE;QACd,IAAI,EAAE;YACJ,QAAQ,EAAE,CAAC,cAAc,CAAC;SAC3B;KACF;IACD,OAAO,EAAE;QACP;YACE,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,mBAAmB;YAChC,MAAM,EAAE,aAAa;SACtB;QACD;YACE,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,eAAe;YAC5B,MAAM,EAAE,aAAa;SACtB;QACD;YACE,IAAI,EAAE,KAAK;YACX,KAAK,EAAE,KAAK;YACZ,WAAW,EAAE,kBAAkB;YAC/B,MAAM,EAAE,UAAU;SACnB;QACD;YACE,IAAI,EAAE,aAAa;YACnB,KAAK,EAAE,WAAW;YAClB,WAAW,EAAE,8BAA8B;YAC3C,MAAM,EAAE,aAAa;SACtB;QACD;YACE,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,eAAe;YAC5B,MAAM,EAAE,aAAa;SACtB;KACF;IACD,OAAO,EAAE,KAAK;CACf,CAAC;AAEW,QAAA,kBAAkB,GAAsB;IACnD,GAAG,kCAAe;IAClB,GAAG,4BAAY;IACf,GAAG,kCAAe;IAClB,GAAG,kCAAe;IAClB,GAAG,wCAAkB;CACtB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const updateOperation: INodeProperties[];
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.updateOperation = void 0;
4
+ exports.updateOperation = [
5
+ {
6
+ displayName: 'User ID',
7
+ name: 'userId',
8
+ type: 'number',
9
+ required: true,
10
+ default: 0,
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['platformUser'],
14
+ operation: ['update'],
15
+ },
16
+ },
17
+ description: 'ID of the user 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: ['platformUser'],
28
+ operation: ['update'],
29
+ },
30
+ },
31
+ options: [
32
+ {
33
+ displayName: 'Custom Attributes',
34
+ name: 'custom_attributes',
35
+ type: 'json',
36
+ default: '{}',
37
+ description: 'Custom attributes as JSON object',
38
+ },
39
+ {
40
+ displayName: 'Email',
41
+ name: 'email',
42
+ type: 'string',
43
+ default: '',
44
+ description: 'Email address of the user',
45
+ },
46
+ {
47
+ displayName: 'Name',
48
+ name: 'name',
49
+ type: 'string',
50
+ default: '',
51
+ description: 'Name of the user',
52
+ },
53
+ {
54
+ displayName: 'Password',
55
+ name: 'password',
56
+ type: 'string',
57
+ typeOptions: {
58
+ password: true,
59
+ },
60
+ default: '',
61
+ description: 'New password for the user',
62
+ },
63
+ ],
64
+ },
65
+ ];
66
+ //# sourceMappingURL=update.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/platformUser/update.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAsB;IAChD;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,cAAc,CAAC;gBAC1B,SAAS,EAAE,CAAC,QAAQ,CAAC;aACtB;SACF;QACD,WAAW,EAAE,0BAA0B;KACxC;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,cAAc,CAAC;gBAC1B,SAAS,EAAE,CAAC,QAAQ,CAAC;aACtB;SACF;QACD,OAAO,EAAE;YACP;gBACE,WAAW,EAAE,mBAAmB;gBAChC,IAAI,EAAE,mBAAmB;gBACzB,IAAI,EAAE,MAAM;gBACZ,OAAO,EAAE,IAAI;gBACb,WAAW,EAAE,kCAAkC;aAChD;YACD;gBACE,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,2BAA2B;aACzC;YACD;gBACE,WAAW,EAAE,MAAM;gBACnB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,kBAAkB;aAChC;YACD;gBACE,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACX,QAAQ,EAAE,IAAI;iBACf;gBACD,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,2BAA2B;aACzC;SACF;KACF;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const fetchOperation: INodeProperties[];
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.fetchOperation = void 0;
4
+ exports.fetchOperation = [];
5
+ //# sourceMappingURL=fetch.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetch.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/profile/fetch.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,cAAc,GAAsB,EAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const profileOperations: INodeProperties;
3
+ export declare const profileFields: INodeProperties[];
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.profileFields = exports.profileOperations = void 0;
4
+ const fetch_operation_1 = require("./fetch.operation");
5
+ exports.profileOperations = {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: ['profile'],
13
+ },
14
+ },
15
+ options: [
16
+ {
17
+ name: 'Fetch',
18
+ value: 'fetch',
19
+ description: 'Get the authenticated user profile',
20
+ action: 'Fetch profile',
21
+ },
22
+ ],
23
+ default: 'fetch',
24
+ };
25
+ exports.profileFields = [...fetch_operation_1.fetchOperation];
26
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/profile/index.ts"],"names":[],"mappings":";;;AACA,uDAAmD;AAEtC,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,OAAO;YACb,KAAK,EAAE,OAAO;YACd,WAAW,EAAE,oCAAoC;YACjD,MAAM,EAAE,eAAe;SACxB;KACF;IACD,OAAO,EAAE,OAAO;CACjB,CAAC;AAEW,QAAA,aAAa,GAAsB,CAAC,GAAG,gCAAc,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const createOperation: INodeProperties[];
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createOperation = void 0;
4
+ exports.createOperation = [
5
+ {
6
+ displayName: 'Additional Fields',
7
+ name: 'additionalFields',
8
+ type: 'collection',
9
+ placeholder: 'Add Field',
10
+ default: {},
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['publicContact'],
14
+ operation: ['create'],
15
+ },
16
+ },
17
+ options: [
18
+ {
19
+ displayName: 'Custom Attributes',
20
+ name: 'custom_attributes',
21
+ type: 'json',
22
+ default: '{}',
23
+ description: 'Custom attributes as JSON object',
24
+ },
25
+ {
26
+ displayName: 'Email',
27
+ name: 'email',
28
+ type: 'string',
29
+ default: '',
30
+ description: 'Email address of the contact',
31
+ },
32
+ {
33
+ displayName: 'Identifier',
34
+ name: 'identifier',
35
+ type: 'string',
36
+ default: '',
37
+ description: 'Unique identifier for the contact',
38
+ },
39
+ {
40
+ displayName: 'Identifier Hash',
41
+ name: 'identifier_hash',
42
+ type: 'string',
43
+ default: '',
44
+ description: 'HMAC hash for identity validation',
45
+ },
46
+ {
47
+ displayName: 'Name',
48
+ name: 'name',
49
+ type: 'string',
50
+ default: '',
51
+ description: 'Name of the contact',
52
+ },
53
+ {
54
+ displayName: 'Phone Number',
55
+ name: 'phone_number',
56
+ type: 'string',
57
+ default: '',
58
+ description: 'Phone number of the contact',
59
+ },
60
+ ],
61
+ },
62
+ ];
63
+ //# sourceMappingURL=create.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/publicContact/create.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAsB;IAChD;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,eAAe,CAAC;gBAC3B,SAAS,EAAE,CAAC,QAAQ,CAAC;aACtB;SACF;QACD,OAAO,EAAE;YACP;gBACE,WAAW,EAAE,mBAAmB;gBAChC,IAAI,EAAE,mBAAmB;gBACzB,IAAI,EAAE,MAAM;gBACZ,OAAO,EAAE,IAAI;gBACb,WAAW,EAAE,kCAAkC;aAChD;YACD;gBACE,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,8BAA8B;aAC5C;YACD;gBACE,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,mCAAmC;aACjD;YACD;gBACE,WAAW,EAAE,iBAAiB;gBAC9B,IAAI,EAAE,iBAAiB;gBACvB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,mCAAmC;aACjD;YACD;gBACE,WAAW,EAAE,MAAM;gBACnB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,qBAAqB;aACnC;YACD;gBACE,WAAW,EAAE,cAAc;gBAC3B,IAAI,EAAE,cAAc;gBACpB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,6BAA6B;aAC3C;SACF;KACF;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const getOperation: INodeProperties[];
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getOperation = void 0;
4
+ exports.getOperation = [
5
+ {
6
+ displayName: 'Contact Identifier',
7
+ name: 'contactIdentifier',
8
+ type: 'string',
9
+ required: true,
10
+ default: '',
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['publicContact'],
14
+ operation: ['get'],
15
+ },
16
+ },
17
+ description: 'The source_id of the contact',
18
+ },
19
+ ];
20
+ //# sourceMappingURL=get.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get.operation.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/publicContact/get.operation.ts"],"names":[],"mappings":";;;AAEa,QAAA,YAAY,GAAsB;IAC7C;QACE,WAAW,EAAE,oBAAoB;QACjC,IAAI,EAAE,mBAAmB;QACzB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,eAAe,CAAC;gBAC3B,SAAS,EAAE,CAAC,KAAK,CAAC;aACnB;SACF;QACD,WAAW,EAAE,8BAA8B;KAC5C;CACF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const publicContactOperations: INodeProperties;
3
+ export declare const publicContactFields: INodeProperties[];
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.publicContactFields = exports.publicContactOperations = void 0;
4
+ const create_operation_1 = require("./create.operation");
5
+ const get_operation_1 = require("./get.operation");
6
+ const update_operation_1 = require("./update.operation");
7
+ exports.publicContactOperations = {
8
+ displayName: 'Operation',
9
+ name: 'operation',
10
+ type: 'options',
11
+ noDataExpression: true,
12
+ displayOptions: {
13
+ show: {
14
+ resource: ['publicContact'],
15
+ },
16
+ },
17
+ options: [
18
+ {
19
+ name: 'Create',
20
+ value: 'create',
21
+ description: 'Create a new contact via public API',
22
+ action: 'Create public contact',
23
+ },
24
+ {
25
+ name: 'Get',
26
+ value: 'get',
27
+ description: 'Get contact details',
28
+ action: 'Get public contact',
29
+ },
30
+ {
31
+ name: 'Update',
32
+ value: 'update',
33
+ description: 'Update contact details',
34
+ action: 'Update public contact',
35
+ },
36
+ ],
37
+ default: 'create',
38
+ };
39
+ exports.publicContactFields = [
40
+ ...create_operation_1.createOperation,
41
+ ...get_operation_1.getOperation,
42
+ ...update_operation_1.updateOperation,
43
+ ];
44
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/publicContact/index.ts"],"names":[],"mappings":";;;AACA,yDAAqD;AACrD,mDAA+C;AAC/C,yDAAqD;AAExC,QAAA,uBAAuB,GAAoB;IACtD,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,eAAe,CAAC;SAC5B;KACF;IACD,OAAO,EAAE;QACP;YACE,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,qCAAqC;YAClD,MAAM,EAAE,uBAAuB;SAChC;QACD;YACE,IAAI,EAAE,KAAK;YACX,KAAK,EAAE,KAAK;YACZ,WAAW,EAAE,qBAAqB;YAClC,MAAM,EAAE,oBAAoB;SAC7B;QACD;YACE,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,wBAAwB;YACrC,MAAM,EAAE,uBAAuB;SAChC;KACF;IACD,OAAO,EAAE,QAAQ;CAClB,CAAC;AAEW,QAAA,mBAAmB,GAAsB;IACpD,GAAG,kCAAe;IAClB,GAAG,4BAAY;IACf,GAAG,kCAAe;CACnB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const updateOperation: INodeProperties[];