n8n-nodes-hudu 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 (181) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +139 -0
  3. package/dist/GenericFunctions.js +77 -0
  4. package/dist/GenericFunctions.js.map +1 -0
  5. package/dist/Hudu.node.js +326 -0
  6. package/dist/Hudu.node.js.map +1 -0
  7. package/dist/Hudu.node.json +18 -0
  8. package/dist/api-docs-V2.34.4.json +7278 -0
  9. package/dist/credentials/HuduApi.credentials.js +46 -0
  10. package/dist/credentials/HuduApi.credentials.js.map +1 -0
  11. package/dist/credentials/HuduApi.credentials.ts +48 -0
  12. package/dist/descriptions/ActivityLogsDescription.js +147 -0
  13. package/dist/descriptions/ActivityLogsDescription.js.map +1 -0
  14. package/dist/descriptions/CompaniesDescription.js +435 -0
  15. package/dist/descriptions/CompaniesDescription.js.map +1 -0
  16. package/dist/descriptions/CompanyDescription.js +435 -0
  17. package/dist/descriptions/CompanyDescription.js.map +1 -0
  18. package/dist/descriptions/index.js +10 -0
  19. package/dist/descriptions/index.js.map +1 -0
  20. package/dist/hudu.png +0 -0
  21. package/dist/index.js +16 -0
  22. package/dist/index.js.map +1 -0
  23. package/dist/logo.png +0 -0
  24. package/dist/package-lock.json +11678 -0
  25. package/dist/package.json +74 -0
  26. package/dist/src/descriptions/activity_logs.description.js +160 -0
  27. package/dist/src/descriptions/activity_logs.description.js.map +1 -0
  28. package/dist/src/descriptions/api_info.description.js +27 -0
  29. package/dist/src/descriptions/api_info.description.js.map +1 -0
  30. package/dist/src/descriptions/articles.description.js +252 -0
  31. package/dist/src/descriptions/articles.description.js.map +1 -0
  32. package/dist/src/descriptions/asset_layouts.description.js +292 -0
  33. package/dist/src/descriptions/asset_layouts.description.js.map +1 -0
  34. package/dist/src/descriptions/asset_passwords.description.js +349 -0
  35. package/dist/src/descriptions/asset_passwords.description.js.map +1 -0
  36. package/dist/src/descriptions/assets.description.js +187 -0
  37. package/dist/src/descriptions/assets.description.js.map +1 -0
  38. package/dist/src/descriptions/cards.description.js +166 -0
  39. package/dist/src/descriptions/cards.description.js.map +1 -0
  40. package/dist/src/descriptions/companies.description.js +642 -0
  41. package/dist/src/descriptions/companies.description.js.map +1 -0
  42. package/dist/src/descriptions/expirations.description.js +128 -0
  43. package/dist/src/descriptions/expirations.description.js.map +1 -0
  44. package/dist/src/descriptions/folders.description.js +240 -0
  45. package/dist/src/descriptions/folders.description.js.map +1 -0
  46. package/dist/src/descriptions/index.js +41 -0
  47. package/dist/src/descriptions/index.js.map +1 -0
  48. package/dist/src/descriptions/ip_addresses.description.js +424 -0
  49. package/dist/src/descriptions/ip_addresses.description.js.map +1 -0
  50. package/dist/src/descriptions/magic_dash.description.js +234 -0
  51. package/dist/src/descriptions/magic_dash.description.js.map +1 -0
  52. package/dist/src/descriptions/matchers.description.js +185 -0
  53. package/dist/src/descriptions/matchers.description.js.map +1 -0
  54. package/dist/src/descriptions/networks.description.js +335 -0
  55. package/dist/src/descriptions/networks.description.js.map +1 -0
  56. package/dist/src/descriptions/passwordFolders.descriptions.js +114 -0
  57. package/dist/src/descriptions/passwordFolders.descriptions.js.map +1 -0
  58. package/dist/src/descriptions/procedure_tasks.description.js +326 -0
  59. package/dist/src/descriptions/procedure_tasks.description.js.map +1 -0
  60. package/dist/src/descriptions/procedures.description.js +422 -0
  61. package/dist/src/descriptions/procedures.description.js.map +1 -0
  62. package/dist/src/descriptions/public_photos.description.js +59 -0
  63. package/dist/src/descriptions/public_photos.description.js.map +1 -0
  64. package/dist/src/descriptions/rack_storage_items.description.js +335 -0
  65. package/dist/src/descriptions/rack_storage_items.description.js.map +1 -0
  66. package/dist/src/descriptions/rack_storages.description.js +287 -0
  67. package/dist/src/descriptions/rack_storages.description.js.map +1 -0
  68. package/dist/src/descriptions/relations.description.js +220 -0
  69. package/dist/src/descriptions/relations.description.js.map +1 -0
  70. package/dist/src/descriptions/uploads.description.js +85 -0
  71. package/dist/src/descriptions/uploads.description.js.map +1 -0
  72. package/dist/src/descriptions/users.description.js +173 -0
  73. package/dist/src/descriptions/users.description.js.map +1 -0
  74. package/dist/src/descriptions/websites.description.js +282 -0
  75. package/dist/src/descriptions/websites.description.js.map +1 -0
  76. package/dist/src/resources/activity_logs/activity_logs.handler.js +33 -0
  77. package/dist/src/resources/activity_logs/activity_logs.handler.js.map +1 -0
  78. package/dist/src/resources/activity_logs/activity_logs.types.js +3 -0
  79. package/dist/src/resources/activity_logs/activity_logs.types.js.map +1 -0
  80. package/dist/src/resources/api_info/api_info.handler.js +13 -0
  81. package/dist/src/resources/api_info/api_info.handler.js.map +1 -0
  82. package/dist/src/resources/api_info/api_info.types.js +3 -0
  83. package/dist/src/resources/api_info/api_info.types.js.map +1 -0
  84. package/dist/src/resources/articles/articles.handler.js +67 -0
  85. package/dist/src/resources/articles/articles.handler.js.map +1 -0
  86. package/dist/src/resources/articles/articles.types.js +3 -0
  87. package/dist/src/resources/articles/articles.types.js.map +1 -0
  88. package/dist/src/resources/asset_layouts/asset_layouts.handler.js +39 -0
  89. package/dist/src/resources/asset_layouts/asset_layouts.handler.js.map +1 -0
  90. package/dist/src/resources/asset_layouts/asset_layouts.types.js +3 -0
  91. package/dist/src/resources/asset_layouts/asset_layouts.types.js.map +1 -0
  92. package/dist/src/resources/asset_passwords/asset_passwords.handler.js +91 -0
  93. package/dist/src/resources/asset_passwords/asset_passwords.handler.js.map +1 -0
  94. package/dist/src/resources/asset_passwords/asset_passwords.types.js +3 -0
  95. package/dist/src/resources/asset_passwords/asset_passwords.types.js.map +1 -0
  96. package/dist/src/resources/assets/assets.handler.js +19 -0
  97. package/dist/src/resources/assets/assets.handler.js.map +1 -0
  98. package/dist/src/resources/assets/assets.types.js +3 -0
  99. package/dist/src/resources/assets/assets.types.js.map +1 -0
  100. package/dist/src/resources/cards/cards.handler.js +36 -0
  101. package/dist/src/resources/cards/cards.handler.js.map +1 -0
  102. package/dist/src/resources/cards/cards.types.js +3 -0
  103. package/dist/src/resources/cards/cards.types.js.map +1 -0
  104. package/dist/src/resources/companies/companies.handler.js +110 -0
  105. package/dist/src/resources/companies/companies.handler.js.map +1 -0
  106. package/dist/src/resources/companies/companies.types.js +3 -0
  107. package/dist/src/resources/companies/companies.types.js.map +1 -0
  108. package/dist/src/resources/company/company.handler.js +74 -0
  109. package/dist/src/resources/company/company.handler.js.map +1 -0
  110. package/dist/src/resources/company/company.types.js +3 -0
  111. package/dist/src/resources/company/company.types.js.map +1 -0
  112. package/dist/src/resources/expirations/expirations.handler.js +20 -0
  113. package/dist/src/resources/expirations/expirations.handler.js.map +1 -0
  114. package/dist/src/resources/expirations/expirations.types.js +3 -0
  115. package/dist/src/resources/expirations/expirations.types.js.map +1 -0
  116. package/dist/src/resources/folders/folders.handler.js +48 -0
  117. package/dist/src/resources/folders/folders.handler.js.map +1 -0
  118. package/dist/src/resources/folders/folders.types.js +3 -0
  119. package/dist/src/resources/folders/folders.types.js.map +1 -0
  120. package/dist/src/resources/ip_addresses/ip_addresses.handler.js +56 -0
  121. package/dist/src/resources/ip_addresses/ip_addresses.handler.js.map +1 -0
  122. package/dist/src/resources/ip_addresses/ip_addresses.types.js +3 -0
  123. package/dist/src/resources/ip_addresses/ip_addresses.types.js.map +1 -0
  124. package/dist/src/resources/magic_dash/magic_dash.handler.js +68 -0
  125. package/dist/src/resources/magic_dash/magic_dash.handler.js.map +1 -0
  126. package/dist/src/resources/magic_dash/magic_dash.types.js +3 -0
  127. package/dist/src/resources/magic_dash/magic_dash.types.js.map +1 -0
  128. package/dist/src/resources/matchers/matchers.handler.js +67 -0
  129. package/dist/src/resources/matchers/matchers.handler.js.map +1 -0
  130. package/dist/src/resources/matchers/matchers.types.js +3 -0
  131. package/dist/src/resources/matchers/matchers.types.js.map +1 -0
  132. package/dist/src/resources/networks/networks.handler.js +112 -0
  133. package/dist/src/resources/networks/networks.handler.js.map +1 -0
  134. package/dist/src/resources/networks/networks.types.js +3 -0
  135. package/dist/src/resources/networks/networks.types.js.map +1 -0
  136. package/dist/src/resources/password_folders/password_folders.handler.js +27 -0
  137. package/dist/src/resources/password_folders/password_folders.handler.js.map +1 -0
  138. package/dist/src/resources/password_folders/password_folders.types.js +3 -0
  139. package/dist/src/resources/password_folders/password_folders.types.js.map +1 -0
  140. package/dist/src/resources/procedure_tasks/procedure_tasks.handler.js +86 -0
  141. package/dist/src/resources/procedure_tasks/procedure_tasks.handler.js.map +1 -0
  142. package/dist/src/resources/procedure_tasks/procedure_tasks.types.js +3 -0
  143. package/dist/src/resources/procedure_tasks/procedure_tasks.types.js.map +1 -0
  144. package/dist/src/resources/procedures/procedures.handler.js +81 -0
  145. package/dist/src/resources/procedures/procedures.handler.js.map +1 -0
  146. package/dist/src/resources/procedures/procedures.types.js +3 -0
  147. package/dist/src/resources/procedures/procedures.types.js.map +1 -0
  148. package/dist/src/resources/public_photos/public_photos.handler.js +18 -0
  149. package/dist/src/resources/public_photos/public_photos.handler.js.map +1 -0
  150. package/dist/src/resources/public_photos/public_photos.types.js +3 -0
  151. package/dist/src/resources/public_photos/public_photos.types.js.map +1 -0
  152. package/dist/src/resources/rack_storage_items/rack_storage_items.handler.js +52 -0
  153. package/dist/src/resources/rack_storage_items/rack_storage_items.handler.js.map +1 -0
  154. package/dist/src/resources/rack_storage_items/rack_storage_items.types.js +3 -0
  155. package/dist/src/resources/rack_storage_items/rack_storage_items.types.js.map +1 -0
  156. package/dist/src/resources/rack_storages/rack_storages.handler.js +49 -0
  157. package/dist/src/resources/rack_storages/rack_storages.handler.js.map +1 -0
  158. package/dist/src/resources/rack_storages/rack_storages.types.js +3 -0
  159. package/dist/src/resources/rack_storages/rack_storages.types.js.map +1 -0
  160. package/dist/src/resources/relations/relations.handler.js +38 -0
  161. package/dist/src/resources/relations/relations.handler.js.map +1 -0
  162. package/dist/src/resources/relations/relations.types.js +3 -0
  163. package/dist/src/resources/relations/relations.types.js.map +1 -0
  164. package/dist/src/resources/uploads/uploads.handler.js +32 -0
  165. package/dist/src/resources/uploads/uploads.handler.js.map +1 -0
  166. package/dist/src/resources/uploads/uploads.types.js +3 -0
  167. package/dist/src/resources/uploads/uploads.types.js.map +1 -0
  168. package/dist/src/resources/users/users.handler.js +25 -0
  169. package/dist/src/resources/users/users.handler.js.map +1 -0
  170. package/dist/src/resources/users/users.types.js +3 -0
  171. package/dist/src/resources/users/users.types.js.map +1 -0
  172. package/dist/src/resources/websites/websites.handler.js +51 -0
  173. package/dist/src/resources/websites/websites.handler.js.map +1 -0
  174. package/dist/src/resources/websites/websites.types.js +3 -0
  175. package/dist/src/resources/websites/websites.types.js.map +1 -0
  176. package/dist/src/utils/GenericFunctions.js +208 -0
  177. package/dist/src/utils/GenericFunctions.js.map +1 -0
  178. package/dist/src/utils/constants.js +28 -0
  179. package/dist/src/utils/constants.js.map +1 -0
  180. package/dist/tsconfig.json +34 -0
  181. package/package.json +74 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Max Soukhomlinov
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,139 @@
1
+ # n8n-nodes-hudu
2
+
3
+ This is an n8n community node (v1.0.0). It lets you use Hudu in your n8n workflows.
4
+
5
+ [Hudu](https://www.hudu.com/) is a modern documentation platform for IT.
6
+
7
+ [n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/reference/license/) workflow automation platform.
8
+
9
+ This node was built against Hudu v2.34.4. Future versions of Hudu may not be 100% compatible without node updates.
10
+
11
+ > **Note:** This is version 1.0.0, so some bugs are expected. Please report any issues on the [GitHub repository](https://github.com/msoukhomlinov/n8n-nodes-hudu).
12
+
13
+ ## Installation
14
+
15
+ Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) in the n8n community nodes documentation.
16
+
17
+ ## Supported Resources & Operations
18
+
19
+ ### Activity Logs
20
+ - Get all activity logs
21
+
22
+ ### API Info
23
+ - Get API information
24
+
25
+ ### Articles
26
+ - Create, read, update, and delete articles
27
+ - List all articles with pagination support
28
+
29
+ ### Asset Layouts
30
+ - Manage asset layout templates
31
+
32
+ ### Asset Passwords
33
+ - Manage asset-related passwords
34
+
35
+ ### Assets
36
+ - Create and manage assets
37
+ - Link assets to companies
38
+
39
+ ### Cards
40
+ - Manage cards in the system
41
+
42
+ ### Companies
43
+ - Create a company
44
+ - Delete a company
45
+ - Get a company
46
+ - Get all companies
47
+ - Update a company
48
+
49
+ ### Expirations
50
+ - Get all expirations with filtering support for:
51
+ - Company ID
52
+ - Expiration type
53
+ - Resource ID
54
+ - Resource type
55
+
56
+ ### Folders
57
+ - Manage document folders
58
+
59
+ ### IP Addresses
60
+ - Track and manage IP addresses
61
+
62
+ ### Magic Dash
63
+ - Access Magic Dash functionality
64
+
65
+ ### Matchers
66
+ - Configure and manage matchers
67
+
68
+ ### Networks
69
+ - Manage network information
70
+
71
+ ### Password Folders
72
+ - Organise and manage password folders
73
+
74
+ ### Procedures
75
+ - Create and manage procedures
76
+ - Handle procedure tasks
77
+
78
+ ### Public Photos
79
+ - Manage public photos
80
+
81
+ ### Rack Storage
82
+ - Manage rack storage
83
+ - Handle rack storage items
84
+
85
+ ### Relations
86
+ - Manage relationships between resources
87
+
88
+ ### Uploads
89
+ - Handle file uploads
90
+ - Get upload information
91
+ - Delete uploads
92
+
93
+ ### Users
94
+ - Get user information
95
+ - List all users
96
+
97
+ ### Websites
98
+ - Manage website records
99
+
100
+ ## Credentials
101
+
102
+ To use this node, you need to:
103
+ 1. Have a Hudu instance
104
+ 2. Generate an API key in your Hudu settings
105
+ 3. Configure the node with:
106
+ - Base URL (e.g., https://your-hudu-instance.com)
107
+ - API Key
108
+
109
+ ## Features
110
+
111
+ - Pagination support for applicable resources
112
+ - Comprehensive error handling
113
+ - Filtering capabilities for relevant operations
114
+ - Supports both single and bulk operations
115
+ - Automatic rate limiting and request optimisation
116
+
117
+ ## Resources
118
+
119
+ * [n8n community nodes documentation](https://docs.n8n.io/integrations/community-nodes/)
120
+ * [Hudu API Documentation](https://your-hudu-instance.com/api-docs)
121
+ * [GitHub Repository](https://github.com/msoukhomlinov/n8n-nodes-hudu)
122
+
123
+ ## Contributing
124
+
125
+ Contributions are welcome! If you'd like to contribute to this project:
126
+
127
+ 1. Fork the repository
128
+ 2. Create a feature branch (`git checkout -b feature/AmazingFeature`)
129
+ 3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
130
+ 4. Push to the branch (`git push origin feature/AmazingFeature`)
131
+ 5. Open a Pull Request
132
+
133
+ Please ensure your PR:
134
+ - Clearly describes the changes
135
+ - Includes any relevant documentation updates
136
+ - Follows the existing code style
137
+ - Includes tests if applicable
138
+
139
+ For bug reports or feature requests, please use the GitHub issues section.
@@ -0,0 +1,77 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.handleListing = exports.validateJSON = exports.huduApiRequestAllItems = exports.huduApiRequest = void 0;
4
+ const n8n_workflow_1 = require("n8n-workflow");
5
+ async function huduApiRequest(method, endpoint, body = {}, qs = {}) {
6
+ var _a;
7
+ const credentials = await this.getCredentials('huduApi');
8
+ const baseUrl = credentials.baseUrl;
9
+ const options = {
10
+ method,
11
+ body,
12
+ qs,
13
+ url: `${baseUrl}/api/v1${endpoint}`,
14
+ json: true,
15
+ headers: {
16
+ 'x-api-key': credentials.apiKey,
17
+ 'Content-Type': 'application/json',
18
+ },
19
+ };
20
+ if (Object.keys(body).length === 0) {
21
+ delete options.body;
22
+ }
23
+ try {
24
+ if (!((_a = this.helpers) === null || _a === void 0 ? void 0 : _a.request)) {
25
+ throw new Error('Request helper not available');
26
+ }
27
+ return await this.helpers.request(options);
28
+ }
29
+ catch (error) {
30
+ throw new n8n_workflow_1.NodeApiError(this.getNode(), error);
31
+ }
32
+ }
33
+ exports.huduApiRequest = huduApiRequest;
34
+ async function huduApiRequestAllItems(method, endpoint, resourceName, body = {}, query = {}) {
35
+ const returnData = [];
36
+ let responseData = {};
37
+ query.page = 1;
38
+ do {
39
+ responseData = await huduApiRequest.call(this, method, endpoint, body, query);
40
+ if (responseData[resourceName]) {
41
+ returnData.push.apply(returnData, responseData[resourceName]);
42
+ }
43
+ query.page++;
44
+ } while (responseData[resourceName] &&
45
+ responseData[resourceName].length > 0);
46
+ return returnData;
47
+ }
48
+ exports.huduApiRequestAllItems = huduApiRequestAllItems;
49
+ function validateJSON(json) {
50
+ let result;
51
+ try {
52
+ result = JSON.parse(json);
53
+ }
54
+ catch (exception) {
55
+ result = undefined;
56
+ }
57
+ return result;
58
+ }
59
+ exports.validateJSON = validateJSON;
60
+ async function handleListing(method, endpoint, resourceName, body = {}, query = {}, returnAll = false, limit = 0) {
61
+ try {
62
+ if (returnAll) {
63
+ return await huduApiRequestAllItems.call(this, method, endpoint, resourceName, body, query);
64
+ }
65
+ query.page = 1;
66
+ const responseData = await huduApiRequest.call(this, method, endpoint, body, query);
67
+ if (responseData[resourceName]) {
68
+ return responseData[resourceName].slice(0, limit);
69
+ }
70
+ return [];
71
+ }
72
+ catch (error) {
73
+ throw new n8n_workflow_1.NodeApiError(this.getNode(), error);
74
+ }
75
+ }
76
+ exports.handleListing = handleListing;
77
+ //# sourceMappingURL=GenericFunctions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GenericFunctions.js","sourceRoot":"","sources":["../GenericFunctions.ts"],"names":[],"mappings":";;;AAAA,+CAQsB;AAEf,KAAK,UAAU,cAAc,CAEnC,MAA2B,EAC3B,QAAgB,EAChB,OAAoC,EAAE,EACtC,KAAkB,EAAE;;IAEpB,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;IACzD,MAAM,OAAO,GAAG,WAAW,CAAC,OAAiB,CAAC;IAC9C,MAAM,OAAO,GAAwB;QACpC,MAAM;QACN,IAAI;QACJ,EAAE;QACF,GAAG,EAAE,GAAG,OAAO,UAAU,QAAQ,EAAE;QACnC,IAAI,EAAE,IAAI;QACV,OAAO,EAAE;YACR,WAAW,EAAE,WAAW,CAAC,MAAgB;YACzC,cAAc,EAAE,kBAAkB;SAClC;KACD,CAAC;IAEF,IAAI,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE;QACnC,OAAO,OAAO,CAAC,IAAI,CAAC;KACpB;IAED,IAAI;QACH,IAAI,CAAC,CAAA,MAAA,IAAI,CAAC,OAAO,0CAAE,OAAO,CAAA,EAAE;YAC3B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;SAChD;QACD,OAAO,MAAM,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;KAC3C;IAAC,OAAO,KAAK,EAAE;QACf,MAAM,IAAI,2BAAY,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,KAAK,CAAC,CAAC;KAC9C;AACF,CAAC;AAjCD,wCAiCC;AAEM,KAAK,UAAU,sBAAsB,CAE3C,MAA2B,EAC3B,QAAg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G,MAAM,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;QACpF,IAAI,YAAY,CAAC,YAAY,CAAC,EAAE;YAC/B,OAAQ,YAAY,CAAC,YAAY,CAAmB,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC;SACrE;QACD,OAAO,EAAE,CAAC;KACV;IAAC,OAAO,KAAK,EAAE;QACf,MAAM,IAAI,2BAAY,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,KAAK,CAAC,CAAC;KAC9C;AACF,CAAC;AA/BD,sCA+BC"}
@@ -0,0 +1,326 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Hudu = void 0;
4
+ const descriptions_1 = require("./src/descriptions");
5
+ const activity_logs_handler_1 = require("./src/resources/activity_logs/activity_logs.handler");
6
+ const api_info_handler_1 = require("./src/resources/api_info/api_info.handler");
7
+ const articles_handler_1 = require("./src/resources/articles/articles.handler");
8
+ const asset_layouts_handler_1 = require("./src/resources/asset_layouts/asset_layouts.handler");
9
+ const asset_passwords_handler_1 = require("./src/resources/asset_passwords/asset_passwords.handler");
10
+ const assets_handler_1 = require("./src/resources/assets/assets.handler");
11
+ const cards_handler_1 = require("./src/resources/cards/cards.handler");
12
+ const companies_handler_1 = require("./src/resources/companies/companies.handler");
13
+ const expirations_handler_1 = require("./src/resources/expirations/expirations.handler");
14
+ const folders_handler_1 = require("./src/resources/folders/folders.handler");
15
+ const ip_addresses_handler_1 = require("./src/resources/ip_addresses/ip_addresses.handler");
16
+ const magic_dash_handler_1 = require("./src/resources/magic_dash/magic_dash.handler");
17
+ const matchers_handler_1 = require("./src/resources/matchers/matchers.handler");
18
+ const networks_handler_1 = require("./src/resources/networks/networks.handler");
19
+ const password_folders_handler_1 = require("./src/resources/password_folders/password_folders.handler");
20
+ const procedures_handler_1 = require("./src/resources/procedures/procedures.handler");
21
+ const procedure_tasks_handler_1 = require("./src/resources/procedure_tasks/procedure_tasks.handler");
22
+ const public_photos_handler_1 = require("./src/resources/public_photos/public_photos.handler");
23
+ const rack_storages_handler_1 = require("./src/resources/rack_storages/rack_storages.handler");
24
+ const rack_storage_items_handler_1 = require("./src/resources/rack_storage_items/rack_storage_items.handler");
25
+ const relations_handler_1 = require("./src/resources/relations/relations.handler");
26
+ const uploads_handler_1 = require("./src/resources/uploads/uploads.handler");
27
+ const users_handler_1 = require("./src/resources/users/users.handler");
28
+ const websites_handler_1 = require("./src/resources/websites/websites.handler");
29
+ class Hudu {
30
+ constructor() {
31
+ this.description = {
32
+ displayName: 'Hudu',
33
+ name: 'hudu',
34
+ icon: 'file:hudu.png',
35
+ group: ['transform'],
36
+ version: 1,
37
+ subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
38
+ description: 'Interact with Hudu API',
39
+ defaults: {
40
+ name: 'Hudu',
41
+ },
42
+ inputs: ['main'],
43
+ outputs: ['main'],
44
+ credentials: [
45
+ {
46
+ name: 'huduApi',
47
+ required: true,
48
+ },
49
+ ],
50
+ requestDefaults: {
51
+ baseURL: '={{$credentials.baseUrl}}/api/v1',
52
+ headers: {
53
+ 'x-api-key': '={{$credentials.apiKey}}',
54
+ },
55
+ },
56
+ properties: [
57
+ {
58
+ displayName: 'Resource',
59
+ name: 'resource',
60
+ type: 'options',
61
+ noDataExpression: true,
62
+ options: [
63
+ {
64
+ name: 'Activity Logs',
65
+ value: 'activity_logs',
66
+ },
67
+ {
68
+ name: 'API Info',
69
+ value: 'api_info',
70
+ },
71
+ {
72
+ name: 'Articles',
73
+ value: 'articles',
74
+ },
75
+ {
76
+ name: 'Asset Layout',
77
+ value: 'asset_layouts',
78
+ },
79
+ {
80
+ name: 'Asset Password',
81
+ value: 'asset_passwords',
82
+ },
83
+ {
84
+ name: 'Asset',
85
+ value: 'assets',
86
+ },
87
+ {
88
+ name: 'Card',
89
+ value: 'cards',
90
+ },
91
+ {
92
+ name: 'Company',
93
+ value: 'companies',
94
+ },
95
+ {
96
+ name: 'Expiration',
97
+ value: 'expirations',
98
+ },
99
+ {
100
+ name: 'Folder',
101
+ value: 'folders',
102
+ },
103
+ {
104
+ name: 'IP Address',
105
+ value: 'ipAddresses',
106
+ },
107
+ {
108
+ name: 'Magic Dash',
109
+ value: 'magic_dash',
110
+ },
111
+ {
112
+ name: 'Matcher',
113
+ value: 'matchers',
114
+ },
115
+ {
116
+ name: 'Network',
117
+ value: 'networks',
118
+ },
119
+ {
120
+ name: 'Password Folder',
121
+ value: 'password_folders',
122
+ },
123
+ {
124
+ name: 'Procedure',
125
+ value: 'procedures',
126
+ },
127
+ {
128
+ name: 'Procedure Task',
129
+ value: 'procedure_tasks',
130
+ },
131
+ {
132
+ name: 'Public Photo',
133
+ value: 'public_photos',
134
+ },
135
+ {
136
+ name: 'Rack Storage',
137
+ value: 'rack_storages',
138
+ },
139
+ {
140
+ name: 'Rack Storage Item',
141
+ value: 'rack_storage_items',
142
+ },
143
+ {
144
+ name: 'Relation',
145
+ value: 'relations',
146
+ },
147
+ {
148
+ name: 'Upload',
149
+ value: 'uploads',
150
+ },
151
+ {
152
+ name: 'User',
153
+ value: 'users',
154
+ },
155
+ {
156
+ name: 'Website',
157
+ value: 'websites',
158
+ },
159
+ ],
160
+ default: 'companies',
161
+ },
162
+ ...descriptions_1.activityLogsOperations,
163
+ ...descriptions_1.apiInfoOperations,
164
+ ...descriptions_1.articlesOperations,
165
+ ...descriptions_1.assetLayoutOperations,
166
+ ...descriptions_1.assetPasswordOperations,
167
+ ...descriptions_1.assetsOperations,
168
+ ...descriptions_1.cardsOperations,
169
+ ...descriptions_1.companiesOperations,
170
+ ...descriptions_1.expirationsOperations,
171
+ ...descriptions_1.folderOperations,
172
+ ...descriptions_1.ipAddressOperations,
173
+ ...descriptions_1.magicDashOperations,
174
+ ...descriptions_1.matchersOperations,
175
+ ...descriptions_1.networksOperations,
176
+ ...descriptions_1.passwordFoldersOperations,
177
+ ...descriptions_1.proceduresOperations,
178
+ ...descriptions_1.procedureTasksOperations,
179
+ ...descriptions_1.publicPhotoOperations,
180
+ ...descriptions_1.rackStorageOperations,
181
+ ...descriptions_1.rackStorageItemOperations,
182
+ ...descriptions_1.relationsOperations,
183
+ ...descriptions_1.uploadsOperations,
184
+ ...descriptions_1.userOperations,
185
+ ...descriptions_1.websitesOperations,
186
+ ...descriptions_1.activityLogsFields,
187
+ ...descriptions_1.apiInfoFields,
188
+ ...descriptions_1.articlesFields,
189
+ ...descriptions_1.assetLayoutFields,
190
+ ...descriptions_1.assetPasswordFields,
191
+ ...descriptions_1.assetsFields,
192
+ ...descriptions_1.cardsFields,
193
+ ...descriptions_1.companiesFields,
194
+ ...descriptions_1.expirationsFields,
195
+ ...descriptions_1.folderFields,
196
+ ...descriptions_1.ipAddressFields,
197
+ ...descriptions_1.magicDashFields,
198
+ ...descriptions_1.matchersFields,
199
+ ...descriptions_1.networksFields,
200
+ ...descriptions_1.passwordFoldersFields,
201
+ ...descriptions_1.proceduresFields,
202
+ ...descriptions_1.procedureTasksFields,
203
+ ...descriptions_1.publicPhotoFields,
204
+ ...descriptions_1.rackStorageFields,
205
+ ...descriptions_1.rackStorageItemFields,
206
+ ...descriptions_1.relationsFields,
207
+ ...descriptions_1.uploadsFields,
208
+ ...descriptions_1.userFields,
209
+ ...descriptions_1.websitesFields,
210
+ ],
211
+ };
212
+ }
213
+ async execute() {
214
+ const items = this.getInputData();
215
+ const returnData = [];
216
+ let operation;
217
+ for (let i = 0; i < items.length; i++) {
218
+ try {
219
+ let responseData;
220
+ const resource = this.getNodeParameter('resource', i);
221
+ operation = this.getNodeParameter('operation', i);
222
+ switch (resource) {
223
+ case 'activity_logs':
224
+ responseData = await activity_logs_handler_1.handleActivityLogsOperation.call(this, operation, i);
225
+ break;
226
+ case 'api_info':
227
+ responseData = await api_info_handler_1.handleApiInfoOperation.call(this, operation, i);
228
+ break;
229
+ case 'articles':
230
+ responseData = await articles_handler_1.handleArticlesOperation.call(this, operation, i);
231
+ break;
232
+ case 'asset_layouts':
233
+ responseData = await asset_layouts_handler_1.handleAssetLayoutOperation.call(this, operation, i);
234
+ break;
235
+ case 'asset_passwords':
236
+ responseData = await asset_passwords_handler_1.handleAssetPasswordOperation.call(this, operation, i);
237
+ break;
238
+ case 'assets':
239
+ responseData = await assets_handler_1.handleAssetsOperation.call(this, operation, i);
240
+ break;
241
+ case 'cards':
242
+ responseData = await cards_handler_1.handleCardsOperation.call(this, operation, i);
243
+ break;
244
+ case 'companies':
245
+ responseData = await companies_handler_1.handleCompaniesOperation.call(this, operation, i);
246
+ break;
247
+ case 'expirations':
248
+ responseData = await expirations_handler_1.handleExpirationOperation.call(this, operation, i);
249
+ break;
250
+ case 'folders':
251
+ responseData = await folders_handler_1.handleFolderOperation.call(this, operation, i);
252
+ break;
253
+ case 'ipAddresses':
254
+ responseData = await ip_addresses_handler_1.handleIpAddressOperation.call(this, operation, i);
255
+ break;
256
+ case 'magic_dash':
257
+ responseData = await magic_dash_handler_1.handleMagicDashOperation.call(this, operation, i);
258
+ break;
259
+ case 'matchers':
260
+ responseData = await matchers_handler_1.handleMatcherOperation.call(this, operation, i);
261
+ break;
262
+ case 'networks':
263
+ responseData = await networks_handler_1.handleNetworksOperation.call(this, operation, i);
264
+ break;
265
+ case 'password_folders':
266
+ responseData = await password_folders_handler_1.handlePasswordFoldersOperation.call(this, operation, i);
267
+ break;
268
+ case 'procedures':
269
+ responseData = await procedures_handler_1.handleProceduresOperation.call(this, operation, i);
270
+ break;
271
+ case 'procedure_tasks':
272
+ responseData = await procedure_tasks_handler_1.handleProcedureTasksOperation.call(this, operation, i);
273
+ break;
274
+ case 'public_photos':
275
+ responseData = await public_photos_handler_1.handlePublicPhotoOperation.call(this, operation, i);
276
+ break;
277
+ case 'rack_storages':
278
+ responseData = await rack_storages_handler_1.handleRackStorageOperation.call(this, operation, i);
279
+ break;
280
+ case 'rack_storage_items':
281
+ responseData = await rack_storage_items_handler_1.handleRackStorageItemOperation.call(this, operation, i);
282
+ break;
283
+ case 'relations':
284
+ responseData = await relations_handler_1.handleRelationsOperation.call(this, operation, i);
285
+ break;
286
+ case 'uploads':
287
+ responseData = await uploads_handler_1.handleUploadOperation.call(this, operation, i);
288
+ break;
289
+ case 'users':
290
+ responseData = await users_handler_1.handleUserOperation.call(this, operation, i);
291
+ break;
292
+ case 'websites':
293
+ responseData = await websites_handler_1.handleWebsitesOperation.call(this, operation, i);
294
+ break;
295
+ default:
296
+ throw new Error(`The resource "${resource}" is not known!`);
297
+ }
298
+ if (Array.isArray(responseData)) {
299
+ returnData.push(...responseData.map(item => ({
300
+ json: item,
301
+ pairedItem: { item: i },
302
+ })));
303
+ }
304
+ else {
305
+ returnData.push({
306
+ json: responseData,
307
+ pairedItem: { item: i },
308
+ });
309
+ }
310
+ }
311
+ catch (error) {
312
+ if (this.continueOnFail()) {
313
+ returnData.push({
314
+ json: { error: error.message },
315
+ pairedItem: { item: i },
316
+ });
317
+ continue;
318
+ }
319
+ throw error;
320
+ }
321
+ }
322
+ return [returnData];
323
+ }
324
+ }
325
+ exports.Hudu = Hudu;
326
+ //# sourceMappingURL=Hudu.node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Hudu.node.js","sourceRoot":"","sources":["../Hudu.node.ts"],"names":[],"mappings":";;;AAOA,qDAiD4B;AA2B5B,+FAAkG;AAClG,gFAAmF;AACnF,gFAAoF;AACpF,+FAAiG;AACjG,qGAAuG;AACvG,0EAA8E;AAC9E,uEAA2E;AAC3E,mFAAuF;AACvF,yFAA4F;AAC5F,6EAAgF;AAChF,4FAA6F;AAC7F,sFAAyF;AACzF,gFAAmF;AACnF,gFAAoF;AACpF,wGAA2G;AAC3G,sFAA0F;AAC1F,qGAAwG;AACxG,+FAAiG;AACjG,+FAAiG;AACjG,8GAA+G;AAC/G,mFAAuF;AACvF,6EAAgF;AAChF,uEAA0E;AAC1E,gFAAoF;AAEpF,MAAa,IAAI;IAAjB;QACC,gBAAW,GAAyB;YACnC,WAA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,IAAI,EAAE,CAAC,EAAE;qBACvB,CAAC,CAAC;oBACH,SAAS;iBACT;gBACD,MAAM,KAAK,CAAC;aACZ;SACD;QAED,OAAO,CAAC,UAAU,CAAC,CAAC;IACrB,CAAC;CACD;AAlUD,oBAkUC"}
@@ -0,0 +1,18 @@
1
+ {
2
+ "node": "n8n-nodes-base.hudu",
3
+ "nodeVersion": "1.0",
4
+ "codexVersion": "1.0",
5
+ "categories": ["Documentation"],
6
+ "resources": {
7
+ "credentialDocumentation": [
8
+ {
9
+ "url": "https://docs.n8n.io/integrations/builtin/credentials/hudu/"
10
+ }
11
+ ],
12
+ "primaryDocumentation": [
13
+ {
14
+ "url": "https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.hudu/"
15
+ }
16
+ ]
17
+ }
18
+ }