@n8n-dev/n8n-nodes-chatwoot 1.0.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 (111) hide show
  1. package/README.md +26 -0
  2. package/dist/credentials/ChatwootApi.credentials.d.ts +10 -0
  3. package/dist/credentials/ChatwootApi.credentials.js +47 -0
  4. package/dist/credentials/ChatwootApi.credentials.js.map +1 -0
  5. package/dist/icons/chatwoot.dark.svg +4 -0
  6. package/dist/icons/chatwoot.svg +4 -0
  7. package/dist/nodes/Chatwoot/Chatwoot.node.d.ts +4 -0
  8. package/dist/nodes/Chatwoot/Chatwoot.node.js +264 -0
  9. package/dist/nodes/Chatwoot/Chatwoot.node.js.map +1 -0
  10. package/dist/nodes/Chatwoot/Chatwoot.node.json +20 -0
  11. package/dist/nodes/Chatwoot/chatwoot.dark.svg +4 -0
  12. package/dist/nodes/Chatwoot/chatwoot.svg +4 -0
  13. package/dist/nodes/Chatwoot/resources/account/index.d.ts +2 -0
  14. package/dist/nodes/Chatwoot/resources/account/index.js +370 -0
  15. package/dist/nodes/Chatwoot/resources/account/index.js.map +1 -0
  16. package/dist/nodes/Chatwoot/resources/account-agent-bots/index.d.ts +2 -0
  17. package/dist/nodes/Chatwoot/resources/account-agent-bots/index.js +527 -0
  18. package/dist/nodes/Chatwoot/resources/account-agent-bots/index.js.map +1 -0
  19. package/dist/nodes/Chatwoot/resources/account-users/index.d.ts +2 -0
  20. package/dist/nodes/Chatwoot/resources/account-users/index.js +167 -0
  21. package/dist/nodes/Chatwoot/resources/account-users/index.js.map +1 -0
  22. package/dist/nodes/Chatwoot/resources/accounts/index.d.ts +2 -0
  23. package/dist/nodes/Chatwoot/resources/accounts/index.js +516 -0
  24. package/dist/nodes/Chatwoot/resources/accounts/index.js.map +1 -0
  25. package/dist/nodes/Chatwoot/resources/agent-bots/index.d.ts +2 -0
  26. package/dist/nodes/Chatwoot/resources/agent-bots/index.js +477 -0
  27. package/dist/nodes/Chatwoot/resources/agent-bots/index.js.map +1 -0
  28. package/dist/nodes/Chatwoot/resources/agents/index.d.ts +2 -0
  29. package/dist/nodes/Chatwoot/resources/agents/index.js +434 -0
  30. package/dist/nodes/Chatwoot/resources/agents/index.js.map +1 -0
  31. package/dist/nodes/Chatwoot/resources/audit-logs/index.d.ts +2 -0
  32. package/dist/nodes/Chatwoot/resources/audit-logs/index.js +78 -0
  33. package/dist/nodes/Chatwoot/resources/audit-logs/index.js.map +1 -0
  34. package/dist/nodes/Chatwoot/resources/automation-rule/index.d.ts +2 -0
  35. package/dist/nodes/Chatwoot/resources/automation-rule/index.js +610 -0
  36. package/dist/nodes/Chatwoot/resources/automation-rule/index.js.map +1 -0
  37. package/dist/nodes/Chatwoot/resources/canned-responses/index.d.ts +2 -0
  38. package/dist/nodes/Chatwoot/resources/canned-responses/index.js +282 -0
  39. package/dist/nodes/Chatwoot/resources/canned-responses/index.js.map +1 -0
  40. package/dist/nodes/Chatwoot/resources/contact-labels/index.d.ts +2 -0
  41. package/dist/nodes/Chatwoot/resources/contact-labels/index.js +110 -0
  42. package/dist/nodes/Chatwoot/resources/contact-labels/index.js.map +1 -0
  43. package/dist/nodes/Chatwoot/resources/contacts/index.d.ts +2 -0
  44. package/dist/nodes/Chatwoot/resources/contacts/index.js +1345 -0
  45. package/dist/nodes/Chatwoot/resources/contacts/index.js.map +1 -0
  46. package/dist/nodes/Chatwoot/resources/contacts-api/index.d.ts +2 -0
  47. package/dist/nodes/Chatwoot/resources/contacts-api/index.js +465 -0
  48. package/dist/nodes/Chatwoot/resources/contacts-api/index.js.map +1 -0
  49. package/dist/nodes/Chatwoot/resources/conversation/index.d.ts +2 -0
  50. package/dist/nodes/Chatwoot/resources/conversation/index.js +53 -0
  51. package/dist/nodes/Chatwoot/resources/conversation/index.js.map +1 -0
  52. package/dist/nodes/Chatwoot/resources/conversation-assignments/index.d.ts +2 -0
  53. package/dist/nodes/Chatwoot/resources/conversation-assignments/index.js +103 -0
  54. package/dist/nodes/Chatwoot/resources/conversation-assignments/index.js.map +1 -0
  55. package/dist/nodes/Chatwoot/resources/conversations/index.d.ts +2 -0
  56. package/dist/nodes/Chatwoot/resources/conversations/index.js +1396 -0
  57. package/dist/nodes/Chatwoot/resources/conversations/index.js.map +1 -0
  58. package/dist/nodes/Chatwoot/resources/conversations-api/index.d.ts +2 -0
  59. package/dist/nodes/Chatwoot/resources/conversations-api/index.js +294 -0
  60. package/dist/nodes/Chatwoot/resources/conversations-api/index.js.map +1 -0
  61. package/dist/nodes/Chatwoot/resources/csat-survey-page/index.d.ts +2 -0
  62. package/dist/nodes/Chatwoot/resources/csat-survey-page/index.js +53 -0
  63. package/dist/nodes/Chatwoot/resources/csat-survey-page/index.js.map +1 -0
  64. package/dist/nodes/Chatwoot/resources/custom-attributes/index.d.ts +2 -0
  65. package/dist/nodes/Chatwoot/resources/custom-attributes/index.js +703 -0
  66. package/dist/nodes/Chatwoot/resources/custom-attributes/index.js.map +1 -0
  67. package/dist/nodes/Chatwoot/resources/custom-filters/index.d.ts +2 -0
  68. package/dist/nodes/Chatwoot/resources/custom-filters/index.js +373 -0
  69. package/dist/nodes/Chatwoot/resources/custom-filters/index.js.map +1 -0
  70. package/dist/nodes/Chatwoot/resources/help-center/index.d.ts +2 -0
  71. package/dist/nodes/Chatwoot/resources/help-center/index.js +1156 -0
  72. package/dist/nodes/Chatwoot/resources/help-center/index.js.map +1 -0
  73. package/dist/nodes/Chatwoot/resources/inbox-api/index.d.ts +2 -0
  74. package/dist/nodes/Chatwoot/resources/inbox-api/index.js +53 -0
  75. package/dist/nodes/Chatwoot/resources/inbox-api/index.js.map +1 -0
  76. package/dist/nodes/Chatwoot/resources/inboxes/index.d.ts +2 -0
  77. package/dist/nodes/Chatwoot/resources/inboxes/index.js +1580 -0
  78. package/dist/nodes/Chatwoot/resources/inboxes/index.js.map +1 -0
  79. package/dist/nodes/Chatwoot/resources/index.d.ts +31 -0
  80. package/dist/nodes/Chatwoot/resources/index.js +66 -0
  81. package/dist/nodes/Chatwoot/resources/index.js.map +1 -0
  82. package/dist/nodes/Chatwoot/resources/integrations/index.d.ts +2 -0
  83. package/dist/nodes/Chatwoot/resources/integrations/index.js +386 -0
  84. package/dist/nodes/Chatwoot/resources/integrations/index.js.map +1 -0
  85. package/dist/nodes/Chatwoot/resources/labels/index.d.ts +2 -0
  86. package/dist/nodes/Chatwoot/resources/labels/index.js +377 -0
  87. package/dist/nodes/Chatwoot/resources/labels/index.js.map +1 -0
  88. package/dist/nodes/Chatwoot/resources/messages/index.d.ts +2 -0
  89. package/dist/nodes/Chatwoot/resources/messages/index.js +377 -0
  90. package/dist/nodes/Chatwoot/resources/messages/index.js.map +1 -0
  91. package/dist/nodes/Chatwoot/resources/messages-api/index.d.ts +2 -0
  92. package/dist/nodes/Chatwoot/resources/messages-api/index.js +190 -0
  93. package/dist/nodes/Chatwoot/resources/messages-api/index.js.map +1 -0
  94. package/dist/nodes/Chatwoot/resources/profile/index.d.ts +2 -0
  95. package/dist/nodes/Chatwoot/resources/profile/index.js +109 -0
  96. package/dist/nodes/Chatwoot/resources/profile/index.js.map +1 -0
  97. package/dist/nodes/Chatwoot/resources/reports/index.d.ts +2 -0
  98. package/dist/nodes/Chatwoot/resources/reports/index.js +588 -0
  99. package/dist/nodes/Chatwoot/resources/reports/index.js.map +1 -0
  100. package/dist/nodes/Chatwoot/resources/teams/index.d.ts +2 -0
  101. package/dist/nodes/Chatwoot/resources/teams/index.js +583 -0
  102. package/dist/nodes/Chatwoot/resources/teams/index.js.map +1 -0
  103. package/dist/nodes/Chatwoot/resources/users/index.d.ts +2 -0
  104. package/dist/nodes/Chatwoot/resources/users/index.js +427 -0
  105. package/dist/nodes/Chatwoot/resources/users/index.js.map +1 -0
  106. package/dist/nodes/Chatwoot/resources/webhooks/index.d.ts +2 -0
  107. package/dist/nodes/Chatwoot/resources/webhooks/index.js +332 -0
  108. package/dist/nodes/Chatwoot/resources/webhooks/index.js.map +1 -0
  109. package/dist/package.json +53 -0
  110. package/dist/tsconfig.tsbuildinfo +1 -0
  111. package/package.json +53 -0
@@ -0,0 +1,109 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.profileDescription = void 0;
4
+ exports.profileDescription = [
5
+ {
6
+ "displayName": "Operation",
7
+ "name": "operation",
8
+ "type": "options",
9
+ "noDataExpression": true,
10
+ "displayOptions": {
11
+ "show": {
12
+ "resource": [
13
+ "Profile"
14
+ ]
15
+ }
16
+ },
17
+ "options": [
18
+ {
19
+ "name": "Fetch Profile",
20
+ "value": "Fetch Profile",
21
+ "action": "Fetch user profile",
22
+ "description": "Get the user profile details",
23
+ "routing": {
24
+ "request": {
25
+ "method": "GET",
26
+ "url": "=/api/v1/profile"
27
+ }
28
+ }
29
+ },
30
+ {
31
+ "name": "Update Profile",
32
+ "value": "Update Profile",
33
+ "action": "Update user profile",
34
+ "description": "Update the user profile details",
35
+ "routing": {
36
+ "request": {
37
+ "method": "PUT",
38
+ "url": "=/api/v1/profile"
39
+ }
40
+ }
41
+ }
42
+ ],
43
+ "default": ""
44
+ },
45
+ {
46
+ "displayName": "GET /api/v1/profile",
47
+ "name": "operation",
48
+ "type": "notice",
49
+ "typeOptions": {
50
+ "theme": "info"
51
+ },
52
+ "default": "",
53
+ "displayOptions": {
54
+ "show": {
55
+ "resource": [
56
+ "Profile"
57
+ ],
58
+ "operation": [
59
+ "Fetch Profile"
60
+ ]
61
+ }
62
+ }
63
+ },
64
+ {
65
+ "displayName": "PUT /api/v1/profile",
66
+ "name": "operation",
67
+ "type": "notice",
68
+ "typeOptions": {
69
+ "theme": "info"
70
+ },
71
+ "default": "",
72
+ "displayOptions": {
73
+ "show": {
74
+ "resource": [
75
+ "Profile"
76
+ ],
77
+ "operation": [
78
+ "Update Profile"
79
+ ]
80
+ }
81
+ }
82
+ },
83
+ {
84
+ "required": true,
85
+ "displayName": "Profile",
86
+ "name": "profile",
87
+ "type": "json",
88
+ "default": "{}",
89
+ "routing": {
90
+ "send": {
91
+ "property": "profile",
92
+ "propertyInDotNotation": false,
93
+ "type": "body",
94
+ "value": "={{ JSON.parse($value) }}"
95
+ }
96
+ },
97
+ "displayOptions": {
98
+ "show": {
99
+ "resource": [
100
+ "Profile"
101
+ ],
102
+ "operation": [
103
+ "Update Profile"
104
+ ]
105
+ }
106
+ }
107
+ },
108
+ ];
109
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/profile/index.ts"],"names":[],"mappings":";;;AAEa,QAAA,kBAAkB,GAAsB;IACnD;QACC,aAAa,EAAE,WAAW;QAC1B,MAAM,EAAE,WAAW;QACnB,MAAM,EAAE,SAAS;QACjB,kBAAkB,EAAE,IAAI;QACxB,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,SAAS;iBACT;aACD;SACD;QACD,SAAS,EAAE;YACV;gBACC,MAAM,EAAE,eAAe;gBACvB,OAAO,EAAE,eAAe;gBACxB,QAAQ,EAAE,oBAAoB;gBAC9B,aAAa,EAAE,8BAA8B;gBAC7C,SAAS,EAAE;oBACV,SAAS,EAAE;wBACV,QAAQ,EAAE,KAAK;wBACf,KAAK,EAAE,kBAAkB;qBACzB;iBACD;aACD;YACD;gBACC,MAAM,EAAE,gBAAgB;gBACxB,OAAO,EAAE,gBAAgB;gBACzB,QAAQ,EAAE,qBAAqB;gBAC/B,aAAa,EAAE,iCAAiC;gBAChD,SAAS,EAAE;oBACV,SAAS,EAAE;wBACV,QAAQ,EAAE,KAAK;wBACf,KAAK,EAAE,kBAAkB;qBACzB;iBACD;aACD;SACD;QACD,SAAS,EAAE,EAAE;KACb;IACD;QACC,aAAa,EAAE,qBAAqB;QACpC,MAAM,EAAE,WAAW;QACnB,MAAM,EAAE,QAAQ;QAChB,aAAa,EAAE;YACd,OAAO,EAAE,MAAM;SACf;QACD,SAAS,EAAE,EAAE;QACb,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,SAAS;iBACT;gBACD,WAAW,EAAE;oBACZ,eAAe;iBACf;aACD;SACD;KACD;IACD;QACC,aAAa,EAAE,qBAAqB;QACpC,MAAM,EAAE,WAAW;QACnB,MAAM,EAAE,QAAQ;QAChB,aAAa,EAAE;YACd,OAAO,EAAE,MAAM;SACf;QACD,SAAS,EAAE,EAAE;QACb,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,SAAS;iBACT;gBACD,WAAW,EAAE;oBACZ,gBAAgB;iBAChB;aACD;SACD;KACD;IACD;QACC,UAAU,EAAE,IAAI;QAChB,aAAa,EAAE,SAAS;QACxB,MAAM,EAAE,SAAS;QACjB,MAAM,EAAE,MAAM;QACd,SAAS,EAAE,IAAI;QACf,SAAS,EAAE;YACV,MAAM,EAAE;gBACP,UAAU,EAAE,SAAS;gBACrB,uBAAuB,EAAE,KAAK;gBAC9B,MAAM,EAAE,MAAM;gBACd,OAAO,EAAE,2BAA2B;aACpC;SACD;QACD,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,SAAS;iBACT;gBACD,WAAW,EAAE;oBACZ,gBAAgB;iBAChB;aACD;SACD;KACD;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const reportsDescription: INodeProperties[];