n8n-nodes-calagopus 0.1.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.
package/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ # Changelog
2
+
3
+ ## 0.1.0
4
+
5
+ Initial release with Calagopus credentials, client operations, server operations, admin operations, and custom API requests.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 nn-home-com
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,79 @@
1
+ # n8n-nodes-calagopus
2
+
3
+ This is an n8n community node for Calagopus, an open-source game server management panel.
4
+
5
+ Use it to automate Calagopus Panel actions from n8n workflows.
6
+
7
+ [n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/sustainable-use-license/) workflow automation platform.
8
+
9
+ [Installation](#installation)
10
+ [Operations](#operations)
11
+ [Credentials](#credentials)
12
+ [Compatibility](#compatibility)
13
+ [Usage](#usage)
14
+ [Resources](#resources)
15
+ [Version history](#version-history)
16
+
17
+ ## Installation
18
+
19
+ Install the package in a self-hosted n8n instance:
20
+
21
+ 1. Open **Settings > Community Nodes**.
22
+ 2. Select **Install**.
23
+ 3. Enter `n8n-nodes-calagopus`.
24
+ 4. Accept the community-node warning and install the package.
25
+
26
+ For manual installation, install the npm package in the custom nodes directory of your n8n instance and restart n8n:
27
+
28
+ ```bash
29
+ cd ~/.n8n/custom
30
+ npm install n8n-nodes-calagopus
31
+ ```
32
+
33
+ See the [n8n community nodes installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) for Docker, environment-variable, and GUI installation options.
34
+
35
+ ## Operations
36
+
37
+ The node includes Calagopus Panel operations for:
38
+
39
+ * Client account, permissions, and accessible servers
40
+ * Server power, console, resources, activity, startup, settings, subusers, schedules, mounts, allocations, databases, backups, announcements, and files
41
+ * Admin users, servers, nodes, locations, mounts, roles, OAuth providers, nests, eggs, egg repositories, egg configurations, database hosts, backup configurations, announcements, settings, stats, system health, updates, and extensions
42
+ * Custom API requests for endpoints added by Calagopus updates or panel extensions
43
+
44
+ ## Credentials
45
+
46
+ Create Calagopus API credentials in n8n with:
47
+
48
+ * Panel Base URL, for example `https://panel.your-domain.tld`
49
+ * API Token
50
+
51
+ The node sends the token as a bearer token in the `Authorization` header.
52
+
53
+ ## Compatibility
54
+
55
+ Built for self-hosted n8n community-node installations. Compatibility should be validated against the n8n version used in your deployment.
56
+
57
+ ## Usage
58
+
59
+ Most create, update, and action operations accept a JSON body. List operations accept optional query parameters as JSON, such as pagination or search filters supported by your Calagopus Panel version.
60
+
61
+ Run locally during development:
62
+
63
+ ```bash
64
+ npm install
65
+ npm run dev
66
+ ```
67
+
68
+ Then open the local n8n instance and add the Calagopus node to a workflow.
69
+
70
+ ## Resources
71
+
72
+ * [n8n community nodes documentation](https://docs.n8n.io/integrations/#community-nodes)
73
+ * [Calagopus documentation](https://calagopus.com/docs/)
74
+
75
+ ## Version history
76
+
77
+ ### 0.1.0
78
+
79
+ Initial release with Calagopus credentials, client operations, server operations, admin operations, and custom API requests.
@@ -0,0 +1,13 @@
1
+ import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
2
+ export declare class CalagopusApi implements ICredentialType {
3
+ name: string;
4
+ displayName: string;
5
+ icon: {
6
+ readonly light: "file:calagopus.svg";
7
+ readonly dark: "file:calagopus.dark.svg";
8
+ };
9
+ documentationUrl: string;
10
+ properties: INodeProperties[];
11
+ authenticate: IAuthenticateGeneric;
12
+ test: ICredentialTestRequest;
13
+ }
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CalagopusApi = void 0;
4
+ class CalagopusApi {
5
+ constructor() {
6
+ this.name = 'calagopusApi';
7
+ this.displayName = 'Calagopus API';
8
+ this.icon = { light: 'file:calagopus.svg', dark: 'file:calagopus.dark.svg' };
9
+ this.documentationUrl = 'https://github.com/nn-home-com/n8n-nodes-calagopus?tab=readme-ov-file#credentials';
10
+ this.properties = [
11
+ {
12
+ displayName: 'Panel Base URL',
13
+ name: 'baseUrl',
14
+ type: 'string',
15
+ required: true,
16
+ default: '',
17
+ placeholder: 'https://panel.your-domain.tld',
18
+ description: 'The base URL of your Calagopus Panel instance',
19
+ },
20
+ {
21
+ displayName: 'API Token',
22
+ name: 'apiToken',
23
+ type: 'string',
24
+ typeOptions: { password: true },
25
+ required: true,
26
+ default: '',
27
+ description: 'A Calagopus API token with permission to access the requested resources',
28
+ },
29
+ ];
30
+ this.authenticate = {
31
+ type: 'generic',
32
+ properties: {
33
+ headers: {
34
+ Authorization: '=Bearer {{$credentials.apiToken}}',
35
+ },
36
+ },
37
+ };
38
+ this.test = {
39
+ request: {
40
+ baseURL: '={{$credentials.baseUrl}}',
41
+ url: '/api/client/permissions',
42
+ },
43
+ };
44
+ }
45
+ }
46
+ exports.CalagopusApi = CalagopusApi;
47
+ //# sourceMappingURL=CalagopusApi.credentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CalagopusApi.credentials.js","sourceRoot":"","sources":["../../credentials/CalagopusApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,YAAY;IAAzB;QACC,SAAI,GAAG,cAAc,CAAC;QAEtB,gBAAW,GAAG,eAAe,CAAC;QAE9B,SAAI,GAAG,EAAE,KAAK,EAAE,oBAAoB,EAAE,IAAI,EAAE,yBAAyB,EAAW,CAAC;QAEjF,qBAAgB,GACf,mFAAmF,CAAC;QAErF,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,gBAAgB;gBAC7B,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,+BAA+B;gBAC5C,WAAW,EAAE,+CAA+C;aAC5D;YACD;gBACC,WAAW,EAAE,WAAW;gBACxB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,yEAAyE;aACtF;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,aAAa,EAAE,mCAAmC;iBAClD;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,2BAA2B;gBACpC,GAAG,EAAE,yBAAyB;aAC9B;SACD,CAAC;IACH,CAAC;CAAA;AA9CD,oCA8CC"}
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" fill="none" viewBox="0 0 512 512"><g clip-path="url(#clip0_16_2)"><path fill="#B4B4B4" d="M268.086 9.07232C280.008 7.58208 308.226 29.4092 325.253 48.2036C325.465 48.4374 325.775 48.5548 326.089 48.5262C337.55 47.4823 344.068 47.2305 354.34 48.4798C354.781 48.5334 355.21 48.2907 355.38 47.8806C357.441 42.9046 357.145 41.0342 369.586 29.0723C382.586 16.5723 399.586 9.57231 408.586 12.5723C417.586 15.5723 420.086 32.0723 419.086 53.5723C418.095 74.8715 416.248 82.4739 412.201 95.6968C412.128 95.9361 412.147 96.1986 412.251 96.4258C418.503 109.969 414.594 125.628 415.586 132.072C416.586 138.572 441.834 149.841 443.586 165.072C445.337 180.304 414.586 199.572 411.586 201.072C408.756 202.487 400.331 203.966 392.49 204.069C391.803 204.078 391.314 204.751 391.525 205.406C399.111 229.008 398.539 256.304 396.086 268.572C393.6 281.002 385.68 305.309 375.754 318.352C375.643 318.498 375.574 318.674 375.554 318.857C369.167 376.933 369.944 396.691 377.472 413.322C377.546 413.486 377.667 413.628 377.815 413.731C393.25 424.423 400.333 430.648 405.086 442.572L411.792 462.211C411.958 462.699 411.715 463.239 411.245 463.451C346.753 492.44 311.06 500.233 245.281 491.1C245.154 491.082 245.021 491.089 244.896 491.12C187.041 505.627 132.553 506.052 103.086 487.572C73.5857 469.072 66.0857 448.572 67.0857 432.572C68.0791 416.678 76.4511 396.675 95.7015 381.376C95.9421 381.185 96.0853 380.893 96.0858 380.585C96.1751 324.105 123.186 268.471 158.086 233.072C192.971 197.689 198.917 197.616 229.285 167.867C229.473 167.683 229.588 167.419 229.592 167.156C230.054 138.478 233.992 124.48 245.936 102.844C246.032 102.669 246.076 102.466 246.058 102.267C242.061 56.9824 256.113 10.5689 268.086 9.07232Z"/><path fill="#fff" d="M243.959 320.557L252.697 285.075C252.986 283.903 254.763 284.138 254.724 285.344C254.259 299.696 253.669 324.968 255.086 329.572C257.086 336.072 285.086 426.072 290.086 432.572C295.086 439.072 301.064 446.582 304.586 456.072C306.161 459.433 307.511 460.802 310.44 462.489C310.536 462.544 310.643 462.583 310.751 462.604C317.957 463.964 322.04 463.926 328.459 462.78C329.055 462.674 329.415 462.061 329.224 461.487L327.029 454.902C326.65 453.766 328.226 453.045 328.837 454.075L333.34 461.659C333.495 461.92 333.762 462.098 334.063 462.137C337.5 462.581 339.697 462.414 343.174 460.968C343.681 460.757 343.907 460.167 343.686 459.664L340.895 453.322C340.444 452.296 341.764 451.418 342.536 452.23L346.017 455.894C346.679 456.591 347.811 456.047 347.623 455.104C345.75 445.703 340.121 439.537 322.917 429.27C322.707 429.145 322.554 428.974 322.481 428.74C321.176 424.572 308.111 382.1 308.586 354.072C309.053 326.489 324.333 315.174 329.634 289.207C329.858 288.11 331.462 288.083 331.632 289.19C333.883 303.799 331.934 316.814 323.632 338.391C323.292 339.276 324.245 340.096 325.052 339.599C354.497 321.456 377.653 287.275 380.086 276.572C382.577 265.613 385.903 232.594 374.71 200.427C374.63 200.199 374.469 200.006 374.258 199.887C365.021 194.695 356.601 192.342 339.888 189.836C338.793 189.672 338.748 188.226 339.842 188.06C358.056 185.31 377.414 189.984 405.873 194.881C407.066 195.087 407.499 193.442 406.361 193.027L379.128 183.098C377.978 182.679 378.445 180.956 379.65 181.175L401.086 185.072C412.614 187.139 417.669 185.913 423.257 179.548C423.686 179.06 423.518 178.301 422.939 178.007C416.726 174.849 414.593 172.037 414.093 165.67C414.088 165.606 414.09 165.539 414.098 165.475C414.729 160.34 416.836 158.164 422.9 156.654C423.806 156.429 424.018 155.163 423.233 154.658C410.265 146.317 400.086 130.847 400.086 127.072C400.086 123.072 402.586 120.072 404.086 106.572C405.569 93.226 369.423 55.4456 330.434 56.0365C329.763 56.0467 329.306 56.714 329.52 57.3494C332.949 67.5318 333.388 71.5225 331.706 77.1682C331.471 77.9584 330.431 78.0975 329.965 77.4171C313.151 52.8476 287.322 26.9953 275.586 23.5723C263.762 20.1238 248.118 76.2139 265.773 110.072C266.127 110.75 265.641 111.572 264.876 111.572H258.609C258.281 111.572 257.971 111.737 257.785 112.008C244.696 131.085 243.363 146.058 245.054 175.042C245.074 175.37 244.925 175.698 244.666 175.9C189.782 218.79 161.018 238.193 134.586 285.572C108.218 332.836 110.237 347.279 110.088 391.408C110.087 391.805 109.849 392.175 109.486 392.334C102.765 395.291 100.845 396.785 92.5857 404.072C84.0857 411.572 76.5857 440.072 91.5857 458.072C106.586 476.072 129.586 487.572 155.586 489.072C181.586 490.572 178.586 490.072 188.586 489.572C198.586 489.072 251.586 473.572 261.086 471.572C270.586 469.572 275.086 469.072 288.586 469.072C302.086 469.072 259.586 425.072 234.086 413.572C212.127 403.67 156.545 394.473 126.425 397.887C125.2 398.025 124.315 395.449 125.455 394.979C151.631 384.185 185.8 383.695 233.087 400.711C233.625 400.905 234.23 400.604 234.398 400.058C245.325 364.555 249.402 345.045 221.556 322.05C206.347 310.553 185.193 314.121 156.533 328.255C155.472 328.778 154.532 327.391 155.448 326.641C187.826 300.158 212.804 298.149 242.347 321.097C242.923 321.545 243.785 321.265 243.959 320.557Z"/><path fill="#fff" d="M402.586 25.0723C408.426 27.5058 405.581 57.0013 400.507 79.7255C400.331 80.5105 399.348 80.7671 398.804 80.1742L394.822 75.8299C394.669 75.6631 394.577 75.4472 394.562 75.2214C394.181 69.548 394.305 65.7632 395.231 60.6934C395.42 59.6569 394.077 59.004 393.406 59.8163L387.2 67.3289C386.857 67.7438 386.248 67.813 385.82 67.4856L372.328 57.141C371.91 56.8209 371.809 56.2359 372.102 55.7989C381.809 41.3212 396.691 22.6163 402.586 25.0723Z"/><path fill="#B4B4B4" d="M271.086 68.0723C271.565 77.1781 273.984 88.3254 281.571 98.2855C282.024 98.8806 282.944 98.7563 283.288 98.092C285.146 94.5026 287.471 92.5359 292.126 90.0711C292.641 89.7985 292.825 89.1482 292.531 88.6451C290.251 84.74 289.363 81.882 289.135 77.0819C289.101 76.3668 289.822 75.8668 290.487 76.1327L297.253 78.8393C298.014 79.1435 298.793 78.4589 298.566 77.6719C293.58 60.4133 279.906 36.6442 275.086 38.5723C270.086 40.5723 270.586 58.5723 271.086 68.0723Z"/><path fill="#B4B4B4" d="M343.18 127.986C341.939 127.713 338.155 126.814 336.086 125.572C333.586 124.072 345.586 121.072 345.586 121.072C351.664 119.332 354.915 118.983 360.399 119.069C360.521 119.071 360.645 119.096 360.758 119.143C368.004 122.141 372.508 128.865 373.85 138.499C373.966 139.33 373.04 139.895 372.319 139.464C370.887 138.61 368.968 137.572 368.086 137.572H354.265C354.142 137.572 354.025 137.549 353.911 137.505C348.551 135.412 346.747 132.872 343.816 128.422C343.669 128.199 343.441 128.043 343.18 127.986Z"/><path fill="#fff" d="M353.586 130.572C355.795 130.572 357.586 128.781 357.586 126.572C357.586 124.363 355.795 122.572 353.586 122.572C351.377 122.572 349.586 124.363 349.586 126.572C349.586 128.781 351.377 130.572 353.586 130.572Z"/><path fill="#fff" d="M329.086 357.072C330.772 353.279 351.293 337.402 357.693 332.512C358.397 331.974 359.399 332.553 359.3 333.434C355.848 364.181 362.123 398.223 363.586 404.072C365.086 410.072 364.598 417.969 368.586 421.072C372.573 424.176 387.494 433.966 389.086 437.072C390.65 440.124 394.121 446.398 391.72 449.888C391.635 450.011 391.515 450.108 391.381 450.175C387.712 451.988 385.475 452.124 382.239 452.082C381.842 452.077 381.487 451.836 381.334 451.47L377.504 442.322C377.028 441.185 375.317 441.748 375.61 442.945L377.851 452.113C377.981 452.645 377.66 453.183 377.129 453.315C372.513 454.462 368.985 454.935 360.369 454.604C359.91 454.586 359.522 454.256 359.426 453.807C358.668 450.266 357.789 447.71 353.586 442.572C349.086 437.072 342.586 431.072 339.586 425.072C336.586 419.072 327.086 361.572 329.086 357.072Z"/></g><defs><clipPath id="clip0_16_2"><rect width="377" height="493" fill="#fff" transform="translate(67 9)"/></clipPath></defs></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" fill="none" viewBox="0 0 512 512"><g clip-path="url(#clip0_16_2)"><path fill="#B4B4B4" d="M268.086 9.07232C280.008 7.58208 308.226 29.4092 325.253 48.2036C325.465 48.4374 325.775 48.5548 326.089 48.5262C337.55 47.4823 344.068 47.2305 354.34 48.4798C354.781 48.5334 355.21 48.2907 355.38 47.8806C357.441 42.9046 357.145 41.0342 369.586 29.0723C382.586 16.5723 399.586 9.57231 408.586 12.5723C417.586 15.5723 420.086 32.0723 419.086 53.5723C418.095 74.8715 416.248 82.4739 412.201 95.6968C412.128 95.9361 412.147 96.1986 412.251 96.4258C418.503 109.969 414.594 125.628 415.586 132.072C416.586 138.572 441.834 149.841 443.586 165.072C445.337 180.304 414.586 199.572 411.586 201.072C408.756 202.487 400.331 203.966 392.49 204.069C391.803 204.078 391.314 204.751 391.525 205.406C399.111 229.008 398.539 256.304 396.086 268.572C393.6 281.002 385.68 305.309 375.754 318.352C375.643 318.498 375.574 318.674 375.554 318.857C369.167 376.933 369.944 396.691 377.472 413.322C377.546 413.486 377.667 413.628 377.815 413.731C393.25 424.423 400.333 430.648 405.086 442.572L411.792 462.211C411.958 462.699 411.715 463.239 411.245 463.451C346.753 492.44 311.06 500.233 245.281 491.1C245.154 491.082 245.021 491.089 244.896 491.12C187.041 505.627 132.553 506.052 103.086 487.572C73.5857 469.072 66.0857 448.572 67.0857 432.572C68.0791 416.678 76.4511 396.675 95.7015 381.376C95.9421 381.185 96.0853 380.893 96.0858 380.585C96.1751 324.105 123.186 268.471 158.086 233.072C192.971 197.689 198.917 197.616 229.285 167.867C229.473 167.683 229.588 167.419 229.592 167.156C230.054 138.478 233.992 124.48 245.936 102.844C246.032 102.669 246.076 102.466 246.058 102.267C242.061 56.9824 256.113 10.5689 268.086 9.07232Z"/><path fill="#fff" d="M243.959 320.557L252.697 285.075C252.986 283.903 254.763 284.138 254.724 285.344C254.259 299.696 253.669 324.968 255.086 329.572C257.086 336.072 285.086 426.072 290.086 432.572C295.086 439.072 301.064 446.582 304.586 456.072C306.161 459.433 307.511 460.802 310.44 462.489C310.536 462.544 310.643 462.583 310.751 462.604C317.957 463.964 322.04 463.926 328.459 462.78C329.055 462.674 329.415 462.061 329.224 461.487L327.029 454.902C326.65 453.766 328.226 453.045 328.837 454.075L333.34 461.659C333.495 461.92 333.762 462.098 334.063 462.137C337.5 462.581 339.697 462.414 343.174 460.968C343.681 460.757 343.907 460.167 343.686 459.664L340.895 453.322C340.444 452.296 341.764 451.418 342.536 452.23L346.017 455.894C346.679 456.591 347.811 456.047 347.623 455.104C345.75 445.703 340.121 439.537 322.917 429.27C322.707 429.145 322.554 428.974 322.481 428.74C321.176 424.572 308.111 382.1 308.586 354.072C309.053 326.489 324.333 315.174 329.634 289.207C329.858 288.11 331.462 288.083 331.632 289.19C333.883 303.799 331.934 316.814 323.632 338.391C323.292 339.276 324.245 340.096 325.052 339.599C354.497 321.456 377.653 287.275 380.086 276.572C382.577 265.613 385.903 232.594 374.71 200.427C374.63 200.199 374.469 200.006 374.258 199.887C365.021 194.695 356.601 192.342 339.888 189.836C338.793 189.672 338.748 188.226 339.842 188.06C358.056 185.31 377.414 189.984 405.873 194.881C407.066 195.087 407.499 193.442 406.361 193.027L379.128 183.098C377.978 182.679 378.445 180.956 379.65 181.175L401.086 185.072C412.614 187.139 417.669 185.913 423.257 179.548C423.686 179.06 423.518 178.301 422.939 178.007C416.726 174.849 414.593 172.037 414.093 165.67C414.088 165.606 414.09 165.539 414.098 165.475C414.729 160.34 416.836 158.164 422.9 156.654C423.806 156.429 424.018 155.163 423.233 154.658C410.265 146.317 400.086 130.847 400.086 127.072C400.086 123.072 402.586 120.072 404.086 106.572C405.569 93.226 369.423 55.4456 330.434 56.0365C329.763 56.0467 329.306 56.714 329.52 57.3494C332.949 67.5318 333.388 71.5225 331.706 77.1682C331.471 77.9584 330.431 78.0975 329.965 77.4171C313.151 52.8476 287.322 26.9953 275.586 23.5723C263.762 20.1238 248.118 76.2139 265.773 110.072C266.127 110.75 265.641 111.572 264.876 111.572H258.609C258.281 111.572 257.971 111.737 257.785 112.008C244.696 131.085 243.363 146.058 245.054 175.042C245.074 175.37 244.925 175.698 244.666 175.9C189.782 218.79 161.018 238.193 134.586 285.572C108.218 332.836 110.237 347.279 110.088 391.408C110.087 391.805 109.849 392.175 109.486 392.334C102.765 395.291 100.845 396.785 92.5857 404.072C84.0857 411.572 76.5857 440.072 91.5857 458.072C106.586 476.072 129.586 487.572 155.586 489.072C181.586 490.572 178.586 490.072 188.586 489.572C198.586 489.072 251.586 473.572 261.086 471.572C270.586 469.572 275.086 469.072 288.586 469.072C302.086 469.072 259.586 425.072 234.086 413.572C212.127 403.67 156.545 394.473 126.425 397.887C125.2 398.025 124.315 395.449 125.455 394.979C151.631 384.185 185.8 383.695 233.087 400.711C233.625 400.905 234.23 400.604 234.398 400.058C245.325 364.555 249.402 345.045 221.556 322.05C206.347 310.553 185.193 314.121 156.533 328.255C155.472 328.778 154.532 327.391 155.448 326.641C187.826 300.158 212.804 298.149 242.347 321.097C242.923 321.545 243.785 321.265 243.959 320.557Z"/><path fill="#fff" d="M402.586 25.0723C408.426 27.5058 405.581 57.0013 400.507 79.7255C400.331 80.5105 399.348 80.7671 398.804 80.1742L394.822 75.8299C394.669 75.6631 394.577 75.4472 394.562 75.2214C394.181 69.548 394.305 65.7632 395.231 60.6934C395.42 59.6569 394.077 59.004 393.406 59.8163L387.2 67.3289C386.857 67.7438 386.248 67.813 385.82 67.4856L372.328 57.141C371.91 56.8209 371.809 56.2359 372.102 55.7989C381.809 41.3212 396.691 22.6163 402.586 25.0723Z"/><path fill="#B4B4B4" d="M271.086 68.0723C271.565 77.1781 273.984 88.3254 281.571 98.2855C282.024 98.8806 282.944 98.7563 283.288 98.092C285.146 94.5026 287.471 92.5359 292.126 90.0711C292.641 89.7985 292.825 89.1482 292.531 88.6451C290.251 84.74 289.363 81.882 289.135 77.0819C289.101 76.3668 289.822 75.8668 290.487 76.1327L297.253 78.8393C298.014 79.1435 298.793 78.4589 298.566 77.6719C293.58 60.4133 279.906 36.6442 275.086 38.5723C270.086 40.5723 270.586 58.5723 271.086 68.0723Z"/><path fill="#B4B4B4" d="M343.18 127.986C341.939 127.713 338.155 126.814 336.086 125.572C333.586 124.072 345.586 121.072 345.586 121.072C351.664 119.332 354.915 118.983 360.399 119.069C360.521 119.071 360.645 119.096 360.758 119.143C368.004 122.141 372.508 128.865 373.85 138.499C373.966 139.33 373.04 139.895 372.319 139.464C370.887 138.61 368.968 137.572 368.086 137.572H354.265C354.142 137.572 354.025 137.549 353.911 137.505C348.551 135.412 346.747 132.872 343.816 128.422C343.669 128.199 343.441 128.043 343.18 127.986Z"/><path fill="#fff" d="M353.586 130.572C355.795 130.572 357.586 128.781 357.586 126.572C357.586 124.363 355.795 122.572 353.586 122.572C351.377 122.572 349.586 124.363 349.586 126.572C349.586 128.781 351.377 130.572 353.586 130.572Z"/><path fill="#fff" d="M329.086 357.072C330.772 353.279 351.293 337.402 357.693 332.512C358.397 331.974 359.399 332.553 359.3 333.434C355.848 364.181 362.123 398.223 363.586 404.072C365.086 410.072 364.598 417.969 368.586 421.072C372.573 424.176 387.494 433.966 389.086 437.072C390.65 440.124 394.121 446.398 391.72 449.888C391.635 450.011 391.515 450.108 391.381 450.175C387.712 451.988 385.475 452.124 382.239 452.082C381.842 452.077 381.487 451.836 381.334 451.47L377.504 442.322C377.028 441.185 375.317 441.748 375.61 442.945L377.851 452.113C377.981 452.645 377.66 453.183 377.129 453.315C372.513 454.462 368.985 454.935 360.369 454.604C359.91 454.586 359.522 454.256 359.426 453.807C358.668 450.266 357.789 447.71 353.586 442.572C349.086 437.072 342.586 431.072 339.586 425.072C336.586 419.072 327.086 361.572 329.086 357.072Z"/></g><defs><clipPath id="clip0_16_2"><rect width="377" height="493" fill="#fff" transform="translate(67 9)"/></clipPath></defs></svg>
@@ -0,0 +1,5 @@
1
+ import type { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
2
+ export declare class Calagopus implements INodeType {
3
+ description: INodeTypeDescription;
4
+ execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
5
+ }
@@ -0,0 +1,159 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Calagopus = void 0;
4
+ const n8n_workflow_1 = require("n8n-workflow");
5
+ const operations_1 = require("./operations");
6
+ function parseJsonParameter(value, parameterName) {
7
+ if (value.trim() === '') {
8
+ return {};
9
+ }
10
+ const parsed = JSON.parse(value);
11
+ if (parsed === null || Array.isArray(parsed) || typeof parsed !== 'object') {
12
+ throw new n8n_workflow_1.ApplicationError(`${parameterName} must be a JSON object`);
13
+ }
14
+ return parsed;
15
+ }
16
+ function normalizePath(path) {
17
+ if (path.startsWith('/')) {
18
+ return path;
19
+ }
20
+ return `/${path}`;
21
+ }
22
+ function toJsonObject(response) {
23
+ if (response === undefined || response === null) {
24
+ return { success: true };
25
+ }
26
+ if (Array.isArray(response)) {
27
+ return { data: response };
28
+ }
29
+ if (typeof response === 'object') {
30
+ return response;
31
+ }
32
+ return { data: response };
33
+ }
34
+ class Calagopus {
35
+ constructor() {
36
+ this.description = {
37
+ displayName: 'Calagopus',
38
+ name: 'calagopus',
39
+ icon: { light: 'file:calagopus.svg', dark: 'file:calagopus.dark.svg' },
40
+ group: ['transform'],
41
+ version: 1,
42
+ subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
43
+ description: 'Interact with the Calagopus API',
44
+ defaults: {
45
+ name: 'Calagopus',
46
+ },
47
+ usableAsTool: true,
48
+ inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
49
+ outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
50
+ credentials: [{ name: 'calagopusApi', required: true }],
51
+ requestDefaults: {
52
+ baseURL: '={{$credentials.baseUrl}}',
53
+ headers: {
54
+ Accept: 'application/json',
55
+ 'Content-Type': 'application/json',
56
+ },
57
+ },
58
+ properties: [
59
+ {
60
+ displayName: 'Resource',
61
+ name: 'resource',
62
+ type: 'options',
63
+ noDataExpression: true,
64
+ options: operations_1.resourceOptions,
65
+ default: 'clientServer',
66
+ },
67
+ ...operations_1.operationProperties,
68
+ ...operations_1.commonProperties,
69
+ ],
70
+ };
71
+ }
72
+ async execute() {
73
+ var _a, _b;
74
+ const items = this.getInputData();
75
+ const returnData = [];
76
+ const credentials = await this.getCredentials('calagopusApi');
77
+ const baseURL = String(credentials.baseUrl).replace(/\/+$/, '');
78
+ for (let itemIndex = 0; itemIndex < items.length; itemIndex++) {
79
+ try {
80
+ const operationValue = this.getNodeParameter('operation', itemIndex);
81
+ const operation = operations_1.operationByValue.get(operationValue);
82
+ if (!operation) {
83
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Unknown operation: ${operationValue}`, {
84
+ itemIndex,
85
+ });
86
+ }
87
+ const method = operation.value === 'custom.request'
88
+ ? this.getNodeParameter('customMethod', itemIndex)
89
+ : operation.method;
90
+ let url = operation.value === 'custom.request'
91
+ ? normalizePath(this.getNodeParameter('customPath', itemIndex))
92
+ : operation.path;
93
+ for (const identifier of (_a = operation.identifiers) !== null && _a !== void 0 ? _a : []) {
94
+ const value = encodeURIComponent(this.getNodeParameter(identifier, itemIndex));
95
+ url = url.replace(`{${identifier}}`, value);
96
+ }
97
+ const requestOptions = {
98
+ baseURL,
99
+ url,
100
+ method,
101
+ json: true,
102
+ qs: parseJsonParameter(this.getNodeParameter('queryJson', itemIndex, '{}'), 'Query Parameters JSON'),
103
+ headers: {
104
+ Accept: 'application/json',
105
+ },
106
+ };
107
+ const additionalOptions = this.getNodeParameter('additionalOptions', itemIndex, {});
108
+ if (additionalOptions.ignoreHttpStatusErrors === true) {
109
+ requestOptions.ignoreHttpStatusErrors = true;
110
+ }
111
+ if (additionalOptions.returnFullResponse === true) {
112
+ requestOptions.returnFullResponse = true;
113
+ }
114
+ if (typeof additionalOptions.timeout === 'number' && additionalOptions.timeout > 0) {
115
+ requestOptions.timeout = additionalOptions.timeout;
116
+ }
117
+ if (operation.hasBody) {
118
+ const defaultBodyMode = (_b = operations_1.defaultBodyModeByOperation.get(operation.value)) !== null && _b !== void 0 ? _b : 'json';
119
+ const bodyMode = this.getNodeParameter('bodyMode', itemIndex, defaultBodyMode);
120
+ if (bodyMode === 'json') {
121
+ requestOptions.body = parseJsonParameter(this.getNodeParameter('bodyJson', itemIndex, '{}'), 'Body JSON');
122
+ requestOptions.headers = {
123
+ ...requestOptions.headers,
124
+ 'Content-Type': 'application/json',
125
+ };
126
+ }
127
+ else if (bodyMode === 'raw') {
128
+ requestOptions.body = this.getNodeParameter('rawBody', itemIndex, '');
129
+ requestOptions.json = false;
130
+ requestOptions.headers = {
131
+ ...requestOptions.headers,
132
+ 'Content-Type': 'text/plain',
133
+ };
134
+ }
135
+ }
136
+ const response = await this.helpers.httpRequestWithAuthentication.call(this, 'calagopusApi', requestOptions);
137
+ returnData.push({
138
+ json: toJsonObject(response),
139
+ pairedItem: itemIndex,
140
+ });
141
+ }
142
+ catch (error) {
143
+ if (this.continueOnFail()) {
144
+ returnData.push({
145
+ json: {
146
+ error: error instanceof Error ? error.message : String(error),
147
+ },
148
+ pairedItem: itemIndex,
149
+ });
150
+ continue;
151
+ }
152
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), error, { itemIndex });
153
+ }
154
+ }
155
+ return [returnData];
156
+ }
157
+ }
158
+ exports.Calagopus = Calagopus;
159
+ //# sourceMappingURL=Calagopus.node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Calagopus.node.js","sourceRoot":"","sources":["../../../nodes/Calagopus/Calagopus.node.ts"],"names":[],"mappings":";;;AASA,+CAAyF;AACzF,6CAMsB;AAEtB,SAAS,kBAAkB,CAAC,KAAa,EAAE,aAAqB;IAC/D,IAAI,KAAK,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC;QACzB,OAAO,EAAE,CAAC;IACX,CAAC;IAED,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAY,CAAC;IAE5C,IAAI,MAAM,KAAK,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;QAC5E,MAAM,IAAI,+BAAgB,CAAC,GAAG,aAAa,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AC,cAAc,EAAE,EAAE,CAAC;oBAC3B,UAAU,CAAC,IAAI,CAAC;wBACf,IAAI,EAAE;4BACL,KAAK,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC;yBAC7D;wBACD,UAAU,EAAE,SAAS;qBACrB,CAAC,CAAC;oBACH,SAAS;gBACV,CAAC;gBAED,MAAM,IAAI,iCAAkB,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,EAAE,SAAS,EAAE,CAAC,CAAC;YACpE,CAAC;QACF,CAAC;QAED,OAAO,CAAC,UAAU,CAAC,CAAC;IACrB,CAAC;CACD;AAtJD,8BAsJC"}
@@ -0,0 +1,18 @@
1
+ {
2
+ "node": "n8n-nodes-calagopus",
3
+ "nodeVersion": "1.0",
4
+ "codexVersion": "1.0",
5
+ "categories": ["Development", "Developer Tools"],
6
+ "resources": {
7
+ "credentialDocumentation": [
8
+ {
9
+ "url": "https://github.com/nn-home-com/n8n-nodes-calagopus?tab=readme-ov-file#credentials"
10
+ }
11
+ ],
12
+ "primaryDocumentation": [
13
+ {
14
+ "url": "https://github.com/nn-home-com/n8n-nodes-calagopus?tab=readme-ov-file"
15
+ }
16
+ ]
17
+ }
18
+ }
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" fill="none" viewBox="0 0 512 512"><g clip-path="url(#clip0_16_2)"><path fill="#B4B4B4" d="M268.086 9.07232C280.008 7.58208 308.226 29.4092 325.253 48.2036C325.465 48.4374 325.775 48.5548 326.089 48.5262C337.55 47.4823 344.068 47.2305 354.34 48.4798C354.781 48.5334 355.21 48.2907 355.38 47.8806C357.441 42.9046 357.145 41.0342 369.586 29.0723C382.586 16.5723 399.586 9.57231 408.586 12.5723C417.586 15.5723 420.086 32.0723 419.086 53.5723C418.095 74.8715 416.248 82.4739 412.201 95.6968C412.128 95.9361 412.147 96.1986 412.251 96.4258C418.503 109.969 414.594 125.628 415.586 132.072C416.586 138.572 441.834 149.841 443.586 165.072C445.337 180.304 414.586 199.572 411.586 201.072C408.756 202.487 400.331 203.966 392.49 204.069C391.803 204.078 391.314 204.751 391.525 205.406C399.111 229.008 398.539 256.304 396.086 268.572C393.6 281.002 385.68 305.309 375.754 318.352C375.643 318.498 375.574 318.674 375.554 318.857C369.167 376.933 369.944 396.691 377.472 413.322C377.546 413.486 377.667 413.628 377.815 413.731C393.25 424.423 400.333 430.648 405.086 442.572L411.792 462.211C411.958 462.699 411.715 463.239 411.245 463.451C346.753 492.44 311.06 500.233 245.281 491.1C245.154 491.082 245.021 491.089 244.896 491.12C187.041 505.627 132.553 506.052 103.086 487.572C73.5857 469.072 66.0857 448.572 67.0857 432.572C68.0791 416.678 76.4511 396.675 95.7015 381.376C95.9421 381.185 96.0853 380.893 96.0858 380.585C96.1751 324.105 123.186 268.471 158.086 233.072C192.971 197.689 198.917 197.616 229.285 167.867C229.473 167.683 229.588 167.419 229.592 167.156C230.054 138.478 233.992 124.48 245.936 102.844C246.032 102.669 246.076 102.466 246.058 102.267C242.061 56.9824 256.113 10.5689 268.086 9.07232Z"/><path fill="#fff" d="M243.959 320.557L252.697 285.075C252.986 283.903 254.763 284.138 254.724 285.344C254.259 299.696 253.669 324.968 255.086 329.572C257.086 336.072 285.086 426.072 290.086 432.572C295.086 439.072 301.064 446.582 304.586 456.072C306.161 459.433 307.511 460.802 310.44 462.489C310.536 462.544 310.643 462.583 310.751 462.604C317.957 463.964 322.04 463.926 328.459 462.78C329.055 462.674 329.415 462.061 329.224 461.487L327.029 454.902C326.65 453.766 328.226 453.045 328.837 454.075L333.34 461.659C333.495 461.92 333.762 462.098 334.063 462.137C337.5 462.581 339.697 462.414 343.174 460.968C343.681 460.757 343.907 460.167 343.686 459.664L340.895 453.322C340.444 452.296 341.764 451.418 342.536 452.23L346.017 455.894C346.679 456.591 347.811 456.047 347.623 455.104C345.75 445.703 340.121 439.537 322.917 429.27C322.707 429.145 322.554 428.974 322.481 428.74C321.176 424.572 308.111 382.1 308.586 354.072C309.053 326.489 324.333 315.174 329.634 289.207C329.858 288.11 331.462 288.083 331.632 289.19C333.883 303.799 331.934 316.814 323.632 338.391C323.292 339.276 324.245 340.096 325.052 339.599C354.497 321.456 377.653 287.275 380.086 276.572C382.577 265.613 385.903 232.594 374.71 200.427C374.63 200.199 374.469 200.006 374.258 199.887C365.021 194.695 356.601 192.342 339.888 189.836C338.793 189.672 338.748 188.226 339.842 188.06C358.056 185.31 377.414 189.984 405.873 194.881C407.066 195.087 407.499 193.442 406.361 193.027L379.128 183.098C377.978 182.679 378.445 180.956 379.65 181.175L401.086 185.072C412.614 187.139 417.669 185.913 423.257 179.548C423.686 179.06 423.518 178.301 422.939 178.007C416.726 174.849 414.593 172.037 414.093 165.67C414.088 165.606 414.09 165.539 414.098 165.475C414.729 160.34 416.836 158.164 422.9 156.654C423.806 156.429 424.018 155.163 423.233 154.658C410.265 146.317 400.086 130.847 400.086 127.072C400.086 123.072 402.586 120.072 404.086 106.572C405.569 93.226 369.423 55.4456 330.434 56.0365C329.763 56.0467 329.306 56.714 329.52 57.3494C332.949 67.5318 333.388 71.5225 331.706 77.1682C331.471 77.9584 330.431 78.0975 329.965 77.4171C313.151 52.8476 287.322 26.9953 275.586 23.5723C263.762 20.1238 248.118 76.2139 265.773 110.072C266.127 110.75 265.641 111.572 264.876 111.572H258.609C258.281 111.572 257.971 111.737 257.785 112.008C244.696 131.085 243.363 146.058 245.054 175.042C245.074 175.37 244.925 175.698 244.666 175.9C189.782 218.79 161.018 238.193 134.586 285.572C108.218 332.836 110.237 347.279 110.088 391.408C110.087 391.805 109.849 392.175 109.486 392.334C102.765 395.291 100.845 396.785 92.5857 404.072C84.0857 411.572 76.5857 440.072 91.5857 458.072C106.586 476.072 129.586 487.572 155.586 489.072C181.586 490.572 178.586 490.072 188.586 489.572C198.586 489.072 251.586 473.572 261.086 471.572C270.586 469.572 275.086 469.072 288.586 469.072C302.086 469.072 259.586 425.072 234.086 413.572C212.127 403.67 156.545 394.473 126.425 397.887C125.2 398.025 124.315 395.449 125.455 394.979C151.631 384.185 185.8 383.695 233.087 400.711C233.625 400.905 234.23 400.604 234.398 400.058C245.325 364.555 249.402 345.045 221.556 322.05C206.347 310.553 185.193 314.121 156.533 328.255C155.472 328.778 154.532 327.391 155.448 326.641C187.826 300.158 212.804 298.149 242.347 321.097C242.923 321.545 243.785 321.265 243.959 320.557Z"/><path fill="#fff" d="M402.586 25.0723C408.426 27.5058 405.581 57.0013 400.507 79.7255C400.331 80.5105 399.348 80.7671 398.804 80.1742L394.822 75.8299C394.669 75.6631 394.577 75.4472 394.562 75.2214C394.181 69.548 394.305 65.7632 395.231 60.6934C395.42 59.6569 394.077 59.004 393.406 59.8163L387.2 67.3289C386.857 67.7438 386.248 67.813 385.82 67.4856L372.328 57.141C371.91 56.8209 371.809 56.2359 372.102 55.7989C381.809 41.3212 396.691 22.6163 402.586 25.0723Z"/><path fill="#B4B4B4" d="M271.086 68.0723C271.565 77.1781 273.984 88.3254 281.571 98.2855C282.024 98.8806 282.944 98.7563 283.288 98.092C285.146 94.5026 287.471 92.5359 292.126 90.0711C292.641 89.7985 292.825 89.1482 292.531 88.6451C290.251 84.74 289.363 81.882 289.135 77.0819C289.101 76.3668 289.822 75.8668 290.487 76.1327L297.253 78.8393C298.014 79.1435 298.793 78.4589 298.566 77.6719C293.58 60.4133 279.906 36.6442 275.086 38.5723C270.086 40.5723 270.586 58.5723 271.086 68.0723Z"/><path fill="#B4B4B4" d="M343.18 127.986C341.939 127.713 338.155 126.814 336.086 125.572C333.586 124.072 345.586 121.072 345.586 121.072C351.664 119.332 354.915 118.983 360.399 119.069C360.521 119.071 360.645 119.096 360.758 119.143C368.004 122.141 372.508 128.865 373.85 138.499C373.966 139.33 373.04 139.895 372.319 139.464C370.887 138.61 368.968 137.572 368.086 137.572H354.265C354.142 137.572 354.025 137.549 353.911 137.505C348.551 135.412 346.747 132.872 343.816 128.422C343.669 128.199 343.441 128.043 343.18 127.986Z"/><path fill="#fff" d="M353.586 130.572C355.795 130.572 357.586 128.781 357.586 126.572C357.586 124.363 355.795 122.572 353.586 122.572C351.377 122.572 349.586 124.363 349.586 126.572C349.586 128.781 351.377 130.572 353.586 130.572Z"/><path fill="#fff" d="M329.086 357.072C330.772 353.279 351.293 337.402 357.693 332.512C358.397 331.974 359.399 332.553 359.3 333.434C355.848 364.181 362.123 398.223 363.586 404.072C365.086 410.072 364.598 417.969 368.586 421.072C372.573 424.176 387.494 433.966 389.086 437.072C390.65 440.124 394.121 446.398 391.72 449.888C391.635 450.011 391.515 450.108 391.381 450.175C387.712 451.988 385.475 452.124 382.239 452.082C381.842 452.077 381.487 451.836 381.334 451.47L377.504 442.322C377.028 441.185 375.317 441.748 375.61 442.945L377.851 452.113C377.981 452.645 377.66 453.183 377.129 453.315C372.513 454.462 368.985 454.935 360.369 454.604C359.91 454.586 359.522 454.256 359.426 453.807C358.668 450.266 357.789 447.71 353.586 442.572C349.086 437.072 342.586 431.072 339.586 425.072C336.586 419.072 327.086 361.572 329.086 357.072Z"/></g><defs><clipPath id="clip0_16_2"><rect width="377" height="493" fill="#fff" transform="translate(67 9)"/></clipPath></defs></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" fill="none" viewBox="0 0 512 512"><g clip-path="url(#clip0_16_2)"><path fill="#B4B4B4" d="M268.086 9.07232C280.008 7.58208 308.226 29.4092 325.253 48.2036C325.465 48.4374 325.775 48.5548 326.089 48.5262C337.55 47.4823 344.068 47.2305 354.34 48.4798C354.781 48.5334 355.21 48.2907 355.38 47.8806C357.441 42.9046 357.145 41.0342 369.586 29.0723C382.586 16.5723 399.586 9.57231 408.586 12.5723C417.586 15.5723 420.086 32.0723 419.086 53.5723C418.095 74.8715 416.248 82.4739 412.201 95.6968C412.128 95.9361 412.147 96.1986 412.251 96.4258C418.503 109.969 414.594 125.628 415.586 132.072C416.586 138.572 441.834 149.841 443.586 165.072C445.337 180.304 414.586 199.572 411.586 201.072C408.756 202.487 400.331 203.966 392.49 204.069C391.803 204.078 391.314 204.751 391.525 205.406C399.111 229.008 398.539 256.304 396.086 268.572C393.6 281.002 385.68 305.309 375.754 318.352C375.643 318.498 375.574 318.674 375.554 318.857C369.167 376.933 369.944 396.691 377.472 413.322C377.546 413.486 377.667 413.628 377.815 413.731C393.25 424.423 400.333 430.648 405.086 442.572L411.792 462.211C411.958 462.699 411.715 463.239 411.245 463.451C346.753 492.44 311.06 500.233 245.281 491.1C245.154 491.082 245.021 491.089 244.896 491.12C187.041 505.627 132.553 506.052 103.086 487.572C73.5857 469.072 66.0857 448.572 67.0857 432.572C68.0791 416.678 76.4511 396.675 95.7015 381.376C95.9421 381.185 96.0853 380.893 96.0858 380.585C96.1751 324.105 123.186 268.471 158.086 233.072C192.971 197.689 198.917 197.616 229.285 167.867C229.473 167.683 229.588 167.419 229.592 167.156C230.054 138.478 233.992 124.48 245.936 102.844C246.032 102.669 246.076 102.466 246.058 102.267C242.061 56.9824 256.113 10.5689 268.086 9.07232Z"/><path fill="#fff" d="M243.959 320.557L252.697 285.075C252.986 283.903 254.763 284.138 254.724 285.344C254.259 299.696 253.669 324.968 255.086 329.572C257.086 336.072 285.086 426.072 290.086 432.572C295.086 439.072 301.064 446.582 304.586 456.072C306.161 459.433 307.511 460.802 310.44 462.489C310.536 462.544 310.643 462.583 310.751 462.604C317.957 463.964 322.04 463.926 328.459 462.78C329.055 462.674 329.415 462.061 329.224 461.487L327.029 454.902C326.65 453.766 328.226 453.045 328.837 454.075L333.34 461.659C333.495 461.92 333.762 462.098 334.063 462.137C337.5 462.581 339.697 462.414 343.174 460.968C343.681 460.757 343.907 460.167 343.686 459.664L340.895 453.322C340.444 452.296 341.764 451.418 342.536 452.23L346.017 455.894C346.679 456.591 347.811 456.047 347.623 455.104C345.75 445.703 340.121 439.537 322.917 429.27C322.707 429.145 322.554 428.974 322.481 428.74C321.176 424.572 308.111 382.1 308.586 354.072C309.053 326.489 324.333 315.174 329.634 289.207C329.858 288.11 331.462 288.083 331.632 289.19C333.883 303.799 331.934 316.814 323.632 338.391C323.292 339.276 324.245 340.096 325.052 339.599C354.497 321.456 377.653 287.275 380.086 276.572C382.577 265.613 385.903 232.594 374.71 200.427C374.63 200.199 374.469 200.006 374.258 199.887C365.021 194.695 356.601 192.342 339.888 189.836C338.793 189.672 338.748 188.226 339.842 188.06C358.056 185.31 377.414 189.984 405.873 194.881C407.066 195.087 407.499 193.442 406.361 193.027L379.128 183.098C377.978 182.679 378.445 180.956 379.65 181.175L401.086 185.072C412.614 187.139 417.669 185.913 423.257 179.548C423.686 179.06 423.518 178.301 422.939 178.007C416.726 174.849 414.593 172.037 414.093 165.67C414.088 165.606 414.09 165.539 414.098 165.475C414.729 160.34 416.836 158.164 422.9 156.654C423.806 156.429 424.018 155.163 423.233 154.658C410.265 146.317 400.086 130.847 400.086 127.072C400.086 123.072 402.586 120.072 404.086 106.572C405.569 93.226 369.423 55.4456 330.434 56.0365C329.763 56.0467 329.306 56.714 329.52 57.3494C332.949 67.5318 333.388 71.5225 331.706 77.1682C331.471 77.9584 330.431 78.0975 329.965 77.4171C313.151 52.8476 287.322 26.9953 275.586 23.5723C263.762 20.1238 248.118 76.2139 265.773 110.072C266.127 110.75 265.641 111.572 264.876 111.572H258.609C258.281 111.572 257.971 111.737 257.785 112.008C244.696 131.085 243.363 146.058 245.054 175.042C245.074 175.37 244.925 175.698 244.666 175.9C189.782 218.79 161.018 238.193 134.586 285.572C108.218 332.836 110.237 347.279 110.088 391.408C110.087 391.805 109.849 392.175 109.486 392.334C102.765 395.291 100.845 396.785 92.5857 404.072C84.0857 411.572 76.5857 440.072 91.5857 458.072C106.586 476.072 129.586 487.572 155.586 489.072C181.586 490.572 178.586 490.072 188.586 489.572C198.586 489.072 251.586 473.572 261.086 471.572C270.586 469.572 275.086 469.072 288.586 469.072C302.086 469.072 259.586 425.072 234.086 413.572C212.127 403.67 156.545 394.473 126.425 397.887C125.2 398.025 124.315 395.449 125.455 394.979C151.631 384.185 185.8 383.695 233.087 400.711C233.625 400.905 234.23 400.604 234.398 400.058C245.325 364.555 249.402 345.045 221.556 322.05C206.347 310.553 185.193 314.121 156.533 328.255C155.472 328.778 154.532 327.391 155.448 326.641C187.826 300.158 212.804 298.149 242.347 321.097C242.923 321.545 243.785 321.265 243.959 320.557Z"/><path fill="#fff" d="M402.586 25.0723C408.426 27.5058 405.581 57.0013 400.507 79.7255C400.331 80.5105 399.348 80.7671 398.804 80.1742L394.822 75.8299C394.669 75.6631 394.577 75.4472 394.562 75.2214C394.181 69.548 394.305 65.7632 395.231 60.6934C395.42 59.6569 394.077 59.004 393.406 59.8163L387.2 67.3289C386.857 67.7438 386.248 67.813 385.82 67.4856L372.328 57.141C371.91 56.8209 371.809 56.2359 372.102 55.7989C381.809 41.3212 396.691 22.6163 402.586 25.0723Z"/><path fill="#B4B4B4" d="M271.086 68.0723C271.565 77.1781 273.984 88.3254 281.571 98.2855C282.024 98.8806 282.944 98.7563 283.288 98.092C285.146 94.5026 287.471 92.5359 292.126 90.0711C292.641 89.7985 292.825 89.1482 292.531 88.6451C290.251 84.74 289.363 81.882 289.135 77.0819C289.101 76.3668 289.822 75.8668 290.487 76.1327L297.253 78.8393C298.014 79.1435 298.793 78.4589 298.566 77.6719C293.58 60.4133 279.906 36.6442 275.086 38.5723C270.086 40.5723 270.586 58.5723 271.086 68.0723Z"/><path fill="#B4B4B4" d="M343.18 127.986C341.939 127.713 338.155 126.814 336.086 125.572C333.586 124.072 345.586 121.072 345.586 121.072C351.664 119.332 354.915 118.983 360.399 119.069C360.521 119.071 360.645 119.096 360.758 119.143C368.004 122.141 372.508 128.865 373.85 138.499C373.966 139.33 373.04 139.895 372.319 139.464C370.887 138.61 368.968 137.572 368.086 137.572H354.265C354.142 137.572 354.025 137.549 353.911 137.505C348.551 135.412 346.747 132.872 343.816 128.422C343.669 128.199 343.441 128.043 343.18 127.986Z"/><path fill="#fff" d="M353.586 130.572C355.795 130.572 357.586 128.781 357.586 126.572C357.586 124.363 355.795 122.572 353.586 122.572C351.377 122.572 349.586 124.363 349.586 126.572C349.586 128.781 351.377 130.572 353.586 130.572Z"/><path fill="#fff" d="M329.086 357.072C330.772 353.279 351.293 337.402 357.693 332.512C358.397 331.974 359.399 332.553 359.3 333.434C355.848 364.181 362.123 398.223 363.586 404.072C365.086 410.072 364.598 417.969 368.586 421.072C372.573 424.176 387.494 433.966 389.086 437.072C390.65 440.124 394.121 446.398 391.72 449.888C391.635 450.011 391.515 450.108 391.381 450.175C387.712 451.988 385.475 452.124 382.239 452.082C381.842 452.077 381.487 451.836 381.334 451.47L377.504 442.322C377.028 441.185 375.317 441.748 375.61 442.945L377.851 452.113C377.981 452.645 377.66 453.183 377.129 453.315C372.513 454.462 368.985 454.935 360.369 454.604C359.91 454.586 359.522 454.256 359.426 453.807C358.668 450.266 357.789 447.71 353.586 442.572C349.086 437.072 342.586 431.072 339.586 425.072C336.586 419.072 327.086 361.572 329.086 357.072Z"/></g><defs><clipPath id="clip0_16_2"><rect width="377" height="493" fill="#fff" transform="translate(67 9)"/></clipPath></defs></svg>
@@ -0,0 +1,21 @@
1
+ import type { IHttpRequestMethods, INodeProperties, INodePropertyOptions } from 'n8n-workflow';
2
+ export type IdentifierName = 'allocationUuid' | 'announcementUuid' | 'apiKeyUuid' | 'backupConfigurationUuid' | 'backupUuid' | 'commandSnippetUuid' | 'databaseHostUuid' | 'databaseUuid' | 'eggConfigurationUuid' | 'eggRepositoryUuid' | 'eggUuid' | 'extensionPackageName' | 'hostUuid' | 'locationUuid' | 'mappingUuid' | 'mountUuid' | 'nestUuid' | 'nodeUuid' | 'oauthLinkUuid' | 'oauthProviderUuid' | 'operationUuid' | 'pullUuid' | 'revisionId' | 'roleUuid' | 'scheduleUuid' | 'securityKeyUuid' | 'serverGroupUuid' | 'serverUuid' | 'sessionUuid' | 'sshKeyUuid' | 'stepUuid' | 'subuserUuid' | 'templateIdentifier' | 'userUuid' | 'variableUuid';
3
+ export interface OperationSpec {
4
+ name: string;
5
+ value: string;
6
+ resource: string;
7
+ resourceName: string;
8
+ method: IHttpRequestMethods;
9
+ path: string;
10
+ description: string;
11
+ identifiers?: IdentifierName[];
12
+ hasBody?: boolean;
13
+ rawBody?: boolean;
14
+ }
15
+ export declare const operations: OperationSpec[];
16
+ export declare const customOperation: OperationSpec;
17
+ export declare const resourceOptions: INodePropertyOptions[];
18
+ export declare const operationProperties: INodeProperties[];
19
+ export declare const commonProperties: INodeProperties[];
20
+ export declare const defaultBodyModeByOperation: Map<string, string>;
21
+ export declare const operationByValue: Map<string, OperationSpec>;