n8n-nodes-calagopus 0.1.1 → 0.3.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 CHANGED
@@ -1,12 +1,23 @@
1
- # Changelog
1
+ ### Changelog
2
2
 
3
- ## 0.1.1
3
+ All notable changes to this project will be documented in this file. Dates are displayed in UTC.
4
4
 
5
- - Added structured fields for common server operations.
6
- - Added backup fields for starting and updating backups, including ignored files.
7
- - Added structured fields for power actions, commands, database changes, server settings, and startup settings.
8
- - Ensured builds clean the previous `dist` output before compiling.
5
+ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
9
6
 
10
- ## 0.1.0
7
+ #### [0.3.0](https://github.com/nn-home-com/n8n-nodes-calagopus/compare/0.2.0...0.3.0)
11
8
 
12
- Initial release with Calagopus credentials, client operations, server operations, admin operations, and custom API requests.
9
+ - Sync with Calagopus Panel 1.2.4 [`#4`](https://github.com/nn-home-com/n8n-nodes-calagopus/pull/4)
10
+ - Retry npm registry fetches in CI workflows [`#3`](https://github.com/nn-home-com/n8n-nodes-calagopus/pull/3)
11
+ - Sync operations with Calagopus Panel 1.2.4 [`09c59ea`](https://github.com/nn-home-com/n8n-nodes-calagopus/commit/09c59ea446e03eaaf7c93353ad83936c7385f2f0)
12
+ - Expand documentation and repository templates [`d30a3cb`](https://github.com/nn-home-com/n8n-nodes-calagopus/commit/d30a3cb91d963236ec922f92d765a3a53062013d)
13
+ - Check operations against Calagopus Panel routes in CI [`ae92dbb`](https://github.com/nn-home-com/n8n-nodes-calagopus/commit/ae92dbba25968cae99c910319f33ef9d969917b6)
14
+
15
+ #### 0.2.0
16
+
17
+ > 30 June 2026
18
+
19
+ - Use npm trusted publishing (OIDC) for releases [`#2`](https://github.com/nn-home-com/n8n-nodes-calagopus/pull/2)
20
+ - Sync operations with current Calagopus API [`#1`](https://github.com/nn-home-com/n8n-nodes-calagopus/pull/1)
21
+ - Track npm lockfile for reproducible builds [`74247aa`](https://github.com/nn-home-com/n8n-nodes-calagopus/commit/74247aa11fec01f4edaf4610a5c4e583e908413c)
22
+ - Initial Calagopus community node [`63a1398`](https://github.com/nn-home-com/n8n-nodes-calagopus/commit/63a1398f27736c548491ccbd55b67fef0e16b7f2)
23
+ - Fix CI dependency install [`10c7d0e`](https://github.com/nn-home-com/n8n-nodes-calagopus/commit/10c7d0ebefbf211065cd0c418d49f7b15fad80df)
package/README.md CHANGED
@@ -1,79 +1,138 @@
1
1
  # n8n-nodes-calagopus
2
2
 
3
- This is an n8n community node for Calagopus, an open-source game server management panel.
3
+ [![npm](https://img.shields.io/npm/v/n8n-nodes-calagopus)](https://www.npmjs.com/package/n8n-nodes-calagopus)
4
+ [![CI](https://github.com/nn-home-com/n8n-nodes-calagopus/actions/workflows/ci.yml/badge.svg)](https://github.com/nn-home-com/n8n-nodes-calagopus/actions/workflows/ci.yml)
5
+ [![License: MIT](https://img.shields.io/badge/license-MIT-blue)](LICENSE)
4
6
 
5
- Use it to automate Calagopus Panel actions from n8n workflows.
7
+ An [n8n](https://n8n.io/) community node for [Calagopus](https://calagopus.com/), the open-source game server management panel.
6
8
 
7
- [n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/sustainable-use-license/) workflow automation platform.
9
+ Use it to automate everything the Calagopus Panel API offers from your n8n workflows: provision servers, run backups, manage eggs and nodes, administer users, or react to panel state in any other integration n8n supports.
8
10
 
9
- [Installation](#installation)
10
- [Operations](#operations)
11
- [Credentials](#credentials)
12
- [Compatibility](#compatibility)
13
- [Usage](#usage)
14
- [Resources](#resources)
15
- [Version history](#version-history)
11
+ - [Installation](#installation)
12
+ - [Credentials](#credentials)
13
+ - [Operations](#operations)
14
+ - [Usage](#usage)
15
+ - [Compatibility](#compatibility)
16
+ - [Development](#development)
17
+ - [Resources](#resources)
16
18
 
17
19
  ## Installation
18
20
 
19
- Install the package in a self-hosted n8n instance:
21
+ In a self-hosted n8n instance:
20
22
 
21
- 1. Open **Settings > Community Nodes**.
23
+ 1. Open **Settings → Community Nodes**.
22
24
  2. Select **Install**.
23
25
  3. Enter `n8n-nodes-calagopus`.
24
- 4. Accept the community-node warning and install the package.
26
+ 4. Accept the community node notice and install.
25
27
 
26
- For manual installation, install the npm package in the custom nodes directory of your n8n instance and restart n8n:
28
+ For manual installation, install the package into the custom nodes directory and restart n8n:
27
29
 
28
30
  ```bash
29
31
  cd ~/.n8n/custom
30
32
  npm install n8n-nodes-calagopus
31
33
  ```
32
34
 
33
- See the [n8n community nodes installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) for Docker, environment-variable, and GUI installation options.
35
+ See the [n8n community nodes guide](https://docs.n8n.io/integrations/community-nodes/installation/) for Docker and environment-variable based setups.
36
+
37
+ ## Credentials
38
+
39
+ Create an API key in your Calagopus Panel account settings, then add a **Calagopus API** credential in n8n:
40
+
41
+ | Field | Description |
42
+ | -------------- | ----------------------------------------------------- |
43
+ | Panel Base URL | The URL of your panel, e.g. `https://panel.example.com` |
44
+ | API Token | The API key. It is sent as a bearer token. |
45
+
46
+ The key's permissions decide which operations succeed. Admin operations require an account with admin permissions. n8n validates the credential by requesting `/api/client/permissions`.
34
47
 
35
48
  ## Operations
36
49
 
37
- The node includes Calagopus Panel operations for:
50
+ The node covers every user-facing endpoint of the Calagopus Panel API, which is 559 operations across 43 resources. Coverage is checked in CI against the [supported panel version](#compatibility).
38
51
 
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
52
+ | Area | Resources |
53
+ | ------- | --------- |
54
+ | Account | Client Account (profile, API keys, SSH and security keys, sessions, two-factor, OAuth links, command snippets, synced settings) |
55
+ | Servers | Client Server, Allocations, Announcements, Backups, Backup Groups, Databases, Database Instances, Database Explorer, Database Instance Explorer, Devices, Files, Firewall, Mounts, Schedules, Settings, Startup, Subusers, Tunnel |
56
+ | Admin | Activity, Announcements, Assets, Backup Configurations, Database Hosts, Database Agent Hosts, Database Agent Templates, Devices, Egg Configurations, Egg Repositories, Extensions, Locations, Mounts, Nests and Eggs, Nodes, OAuth Providers, Roles, Servers, Settings, Stats, System, System Backup Policies, Users |
57
+ | Public | System (announcements, languages, public settings, OpenAPI document) |
43
58
 
44
- ## Credentials
59
+ Endpoints for interactive sign-in (`/api/auth`) and for Wings and database agent communication (`/api/remote`) are intentionally not exposed.
60
+
61
+ **Custom Request** lets you call any other path with your credential, for example endpoints added by panel extensions.
45
62
 
46
- Create Calagopus API credentials in n8n with:
63
+ ## Usage
64
+
65
+ ### Path parameters
66
+
67
+ Every UUID or name in the endpoint path, such as the server or backup UUID, has its own field. Values are URL-encoded automatically.
68
+
69
+ ### Query parameters
70
+
71
+ List operations accept query parameters as a JSON object in **Query Parameters JSON**, for example:
72
+
73
+ ```json
74
+ { "page": 2, "per_page": 50, "search": "survival" }
75
+ ```
47
76
 
48
- * Panel Base URL, for example `https://panel.your-domain.tld`
49
- * API Token
77
+ ### Request bodies
50
78
 
51
- The node sends the token as a bearer token in the `Authorization` header.
79
+ Operations that send a body offer three modes:
80
+
81
+ - **JSON** (default): the object in **Body JSON** is sent as the request body. Common operations also have dedicated fields, such as the power action, backup name or startup command. Body JSON is merged on top of these fields, so you can always set additional or overriding properties.
82
+ - **Raw Text**: the text is sent as `text/plain`. This is the default for **Server Files → Write**.
83
+ - **None**: no body is sent.
84
+
85
+ Refer to your panel's API reference at `/api` for the accepted fields of each endpoint.
86
+
87
+ ### Files
88
+
89
+ Database dump imports read the file from a binary field of the input item (default `data`). Database exports return the downloaded file in a binary field of the output item, with `fileName`, `mimeType` and `fileSize` in the item JSON. Combine them with nodes such as **Read/Write Files from Disk**, **FTP** or **S3** to move dumps in and out of the panel.
90
+
91
+ ### Error handling
92
+
93
+ By default, HTTP errors fail the item. Under **Additional Options** you can enable **Ignore HTTP Status Errors** to receive the error response instead, or **Return Full Response** to include status code and headers. The node supports n8n's **Continue On Fail** setting.
52
94
 
53
95
  ## Compatibility
54
96
 
55
- Built for self-hosted n8n community-node installations. Compatibility should be validated against the n8n version used in your deployment.
97
+ | Component | Supported version |
98
+ | --------------- | ---------------------------------------------- |
99
+ | Calagopus Panel | 1.2.4 (operations are verified against its routes) |
100
+ | n8n | Self-hosted instances with community node support |
56
101
 
57
- ## Usage
102
+ Older panel releases work for every endpoint they already provide. Calling an endpoint that your panel does not have yet returns `404 Not Found`.
58
103
 
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.
104
+ A scheduled workflow compares the node with the latest panel release every week, so new and changed endpoints are picked up quickly.
60
105
 
61
- Run locally during development:
106
+ ## Development
107
+
108
+ Requirements: Node.js 22 or later.
62
109
 
63
110
  ```bash
64
111
  npm install
65
- npm run dev
112
+ npm run dev # start a local n8n instance with the node loaded
113
+ npm run build # compile to dist/
114
+ npm run lint # n8n community node lint rules
115
+ npm test # unit tests (requires a build)
66
116
  ```
67
117
 
68
- Then open the local n8n instance and add the Calagopus node to a workflow.
118
+ To check the node against a Calagopus Panel checkout:
69
119
 
70
- ## Resources
120
+ ```bash
121
+ git clone --depth 1 --branch release-1.2.4 https://github.com/calagopus/panel.git ../panel
122
+ npm run build
123
+ npm run api:coverage -- ../panel # fails if an operation targets a missing route
124
+ npm run api:coverage -- ../panel --strict # also fails if a panel route has no operation
125
+ ```
126
+
127
+ See [CONTRIBUTING.md](CONTRIBUTING.md) for how to add operations and release new versions.
71
128
 
72
- * [n8n community nodes documentation](https://docs.n8n.io/integrations/#community-nodes)
73
- * [Calagopus documentation](https://calagopus.com/docs/)
129
+ ## Resources
74
130
 
75
- ## Version history
131
+ - [Calagopus documentation](https://calagopus.com/docs/)
132
+ - [Calagopus Panel source](https://github.com/calagopus/panel)
133
+ - [n8n community nodes documentation](https://docs.n8n.io/integrations/#community-nodes)
134
+ - [Changelog](CHANGELOG.md)
76
135
 
77
- ### 0.1.0
136
+ ## License
78
137
 
79
- Initial release with Calagopus credentials, client operations, server operations, admin operations, and custom API requests.
138
+ [MIT](LICENSE)
@@ -31,6 +31,28 @@ function toJsonObject(response) {
31
31
  }
32
32
  return { data: response };
33
33
  }
34
+ function getHeader(headers, name) {
35
+ const value = headers[name.toLowerCase()];
36
+ if (Array.isArray(value)) {
37
+ return value.length > 0 ? String(value[0]) : undefined;
38
+ }
39
+ return value === undefined || value === null ? undefined : String(value);
40
+ }
41
+ function parseContentDispositionFileName(header) {
42
+ if (!header) {
43
+ return undefined;
44
+ }
45
+ const extended = /filename\*\s*=\s*(?:UTF-8|utf-8)''([^;]+)/.exec(header);
46
+ if (extended) {
47
+ try {
48
+ return decodeURIComponent(extended[1].trim());
49
+ }
50
+ catch {
51
+ }
52
+ }
53
+ const plain = /filename\s*=\s*"?([^";]+)"?/.exec(header);
54
+ return plain ? plain[1].trim() : undefined;
55
+ }
34
56
  function parseMultilineList(value) {
35
57
  return value
36
58
  .split(/\r?\n/)
@@ -50,11 +72,13 @@ function buildStructuredBody(operationValue, itemIndex) {
50
72
  addStringIfNotEmpty(body, 'command', this.getNodeParameter('consoleCommand', itemIndex, ''));
51
73
  break;
52
74
  case 'clientServer.setPowerState':
75
+ case 'serverDatabaseInstances.setPowerState':
53
76
  body.action = this.getNodeParameter('powerAction', itemIndex, 'start');
54
77
  break;
55
78
  case 'serverBackups.create':
56
79
  addStringIfNotEmpty(body, 'name', this.getNodeParameter('backupName', itemIndex, ''));
57
80
  body.ignored_files = parseMultilineList(this.getNodeParameter('backupIgnoredFiles', itemIndex, ''));
81
+ addStringIfNotEmpty(body, 'backup_group_uuid', this.getNodeParameter('backupGroupUuidBody', itemIndex, ''));
58
82
  break;
59
83
  case 'serverBackups.restore':
60
84
  body.truncate_directory = this.getNodeParameter('truncateDirectory', itemIndex, false);
@@ -97,6 +121,87 @@ function buildStructuredBody(operationValue, itemIndex) {
97
121
  }
98
122
  return body;
99
123
  }
124
+ async function setRequestBody(operation, itemIndex, requestOptions) {
125
+ if (operation.body === 'binary') {
126
+ const binaryPropertyName = this.getNodeParameter('binaryPropertyName', itemIndex);
127
+ const binaryData = this.helpers.assertBinaryData(itemIndex, binaryPropertyName);
128
+ requestOptions.body = await this.helpers.getBinaryDataBuffer(itemIndex, binaryPropertyName);
129
+ requestOptions.json = false;
130
+ requestOptions.headers = {
131
+ ...requestOptions.headers,
132
+ 'Content-Type': binaryData.mimeType || 'application/octet-stream',
133
+ };
134
+ return;
135
+ }
136
+ const bodyMode = this.getNodeParameter('bodyMode', itemIndex, operation.body);
137
+ if (bodyMode === 'json') {
138
+ const structuredBody = buildStructuredBody.call(this, operation.value, itemIndex);
139
+ const jsonBody = parseJsonParameter(this.getNodeParameter('bodyJson', itemIndex, '{}'), 'Body JSON');
140
+ requestOptions.body = {
141
+ ...structuredBody,
142
+ ...jsonBody,
143
+ };
144
+ requestOptions.headers = {
145
+ ...requestOptions.headers,
146
+ 'Content-Type': 'application/json',
147
+ };
148
+ }
149
+ else if (bodyMode === 'raw') {
150
+ requestOptions.body = this.getNodeParameter('rawBody', itemIndex, '');
151
+ requestOptions.json = false;
152
+ requestOptions.headers = {
153
+ ...requestOptions.headers,
154
+ 'Content-Type': 'text/plain',
155
+ };
156
+ }
157
+ }
158
+ async function requestBinary(itemIndex, requestOptions) {
159
+ var _a, _b;
160
+ const response = (await this.helpers.httpRequestWithAuthentication.call(this, 'calagopusApi', {
161
+ ...requestOptions,
162
+ json: false,
163
+ encoding: 'arraybuffer',
164
+ returnFullResponse: true,
165
+ headers: {
166
+ ...requestOptions.headers,
167
+ Accept: '*/*',
168
+ },
169
+ }));
170
+ const headers = ((_a = response.headers) !== null && _a !== void 0 ? _a : {});
171
+ const statusCode = response.statusCode;
172
+ const content = Buffer.from(response.body);
173
+ if (statusCode >= 400) {
174
+ const text = content.toString('utf8');
175
+ let body = text;
176
+ try {
177
+ body = JSON.parse(text);
178
+ }
179
+ catch {
180
+ }
181
+ return {
182
+ json: { statusCode, body },
183
+ pairedItem: itemIndex,
184
+ };
185
+ }
186
+ const mimeType = (_b = getHeader(headers, 'content-type')) !== null && _b !== void 0 ? _b : 'application/octet-stream';
187
+ const fileName = parseContentDispositionFileName(getHeader(headers, 'content-disposition'));
188
+ const binaryPropertyName = this.getNodeParameter('binaryOutputPropertyName', itemIndex, 'data');
189
+ const binaryData = await this.helpers.prepareBinaryData(content, fileName, mimeType);
190
+ const json = {
191
+ fileName: binaryData.fileName,
192
+ mimeType: binaryData.mimeType,
193
+ fileSize: content.length,
194
+ };
195
+ if (requestOptions.returnFullResponse === true) {
196
+ json.statusCode = statusCode;
197
+ json.headers = headers;
198
+ }
199
+ return {
200
+ json,
201
+ binary: { [binaryPropertyName]: binaryData },
202
+ pairedItem: itemIndex,
203
+ };
204
+ }
100
205
  class Calagopus {
101
206
  constructor() {
102
207
  this.description = {
@@ -136,7 +241,6 @@ class Calagopus {
136
241
  };
137
242
  }
138
243
  async execute() {
139
- var _a, _b;
140
244
  const items = this.getInputData();
141
245
  const returnData = [];
142
246
  const credentials = await this.getCredentials('calagopusApi');
@@ -156,7 +260,7 @@ class Calagopus {
156
260
  let url = operation.value === 'custom.request'
157
261
  ? normalizePath(this.getNodeParameter('customPath', itemIndex))
158
262
  : operation.path;
159
- for (const identifier of (_a = operation.identifiers) !== null && _a !== void 0 ? _a : []) {
263
+ for (const identifier of operation.identifiers) {
160
264
  const value = encodeURIComponent(this.getNodeParameter(identifier, itemIndex));
161
265
  url = url.replace(`{${identifier}}`, value);
162
266
  }
@@ -181,28 +285,11 @@ class Calagopus {
181
285
  requestOptions.timeout = additionalOptions.timeout;
182
286
  }
183
287
  if (operation.hasBody) {
184
- const defaultBodyMode = (_b = operations_1.defaultBodyModeByOperation.get(operation.value)) !== null && _b !== void 0 ? _b : 'json';
185
- const bodyMode = this.getNodeParameter('bodyMode', itemIndex, defaultBodyMode);
186
- if (bodyMode === 'json') {
187
- const structuredBody = buildStructuredBody.call(this, operation.value, itemIndex);
188
- const jsonBody = parseJsonParameter(this.getNodeParameter('bodyJson', itemIndex, '{}'), 'Body JSON');
189
- requestOptions.body = {
190
- ...structuredBody,
191
- ...jsonBody,
192
- };
193
- requestOptions.headers = {
194
- ...requestOptions.headers,
195
- 'Content-Type': 'application/json',
196
- };
197
- }
198
- else if (bodyMode === 'raw') {
199
- requestOptions.body = this.getNodeParameter('rawBody', itemIndex, '');
200
- requestOptions.json = false;
201
- requestOptions.headers = {
202
- ...requestOptions.headers,
203
- 'Content-Type': 'text/plain',
204
- };
205
- }
288
+ await setRequestBody.call(this, operation, itemIndex, requestOptions);
289
+ }
290
+ if (operation.response === 'binary') {
291
+ returnData.push(await requestBinary.call(this, itemIndex, requestOptions));
292
+ continue;
206
293
  }
207
294
  const response = await this.helpers.httpRequestWithAuthentication.call(this, 'calagopusApi', requestOptions);
208
295
  returnData.push({
@@ -1 +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,wBAAwB,CAAC,CAAC;IACtE,CAAC;IAED,OAAO,MAAqB,CAAC;AAC9B,CAAC;AAED,SAAS,aAAa,CAAC,IAAY;IAClC,IAAI,IAAI,CAAC,UAAU,CAAC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,CAAC,IAAI,EAAE,SAAS,EAAE,cAAc,CAAC,CAAC,CAAC;oBAC3E,SAAS;gBACV,CAAC;gBAED,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,6BAA6B,CAAC,IAAI,CACrE,IAAI,EACJ,cAAc,EACd,cAAc,CACd,CAAC;gBAEF,UAAU,CAAC,IAAI,CAAC;oBACf,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC;oBAC5B,UAAU,EAAE,SAAS;iBACrB,CAAC,CAAC;YACJ,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBAChB,IAAI,IAAI,CAAC,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;AAxID,8BAwIC"}
@@ -1,5 +1,7 @@
1
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';
2
+ export type IdentifierName = 'allocationUuid' | 'announcementUuid' | 'apiKeyIdentifier' | 'apiKeyUuid' | 'backupConfigurationUuid' | 'backupGroupUuid' | 'backupUuid' | 'commandSnippetUuid' | 'connectionUuid' | 'databaseAgentHostUuid' | 'databaseAgentTemplateUuid' | 'databaseHostUuid' | 'databaseInstanceUuid' | 'databaseUserUuid' | 'databaseUuid' | 'deviceUuid' | 'eggConfigurationUuid' | 'eggRepositoryUuid' | 'eggUuid' | 'emailVariableName' | 'extensionPackageName' | 'externalServerId' | 'externalUserId' | 'hostUuid' | 'locationUuid' | 'logFile' | 'mappingUuid' | 'mountUuid' | 'nestUuid' | 'nodeUuid' | 'oauthLinkUuid' | 'oauthProviderUuid' | 'oauthUserIdentifier' | 'operationUuid' | 'pullUuid' | 'revisionId' | 'roleUuid' | 'scheduleUuid' | 'securityKeyUuid' | 'serverGroupUuid' | 'serverUuid' | 'sessionUuid' | 'sshKeyUuid' | 'stepUuid' | 'subuserUuid' | 'systemBackupPolicyUuid' | 'templateIdentifier' | 'userUuid' | 'variableUuid';
3
+ export type BodyFormat = 'json' | 'raw' | 'binary';
4
+ export type ResponseFormat = 'json' | 'binary';
3
5
  export interface OperationSpec {
4
6
  name: string;
5
7
  value: string;
@@ -8,14 +10,14 @@ export interface OperationSpec {
8
10
  method: IHttpRequestMethods;
9
11
  path: string;
10
12
  description: string;
11
- identifiers?: IdentifierName[];
12
- hasBody?: boolean;
13
- rawBody?: boolean;
13
+ identifiers: IdentifierName[];
14
+ hasBody: boolean;
15
+ body: BodyFormat;
16
+ response: ResponseFormat;
14
17
  }
15
18
  export declare const operations: OperationSpec[];
16
19
  export declare const customOperation: OperationSpec;
17
20
  export declare const resourceOptions: INodePropertyOptions[];
18
21
  export declare const operationProperties: INodeProperties[];
19
22
  export declare const commonProperties: INodeProperties[];
20
- export declare const defaultBodyModeByOperation: Map<string, string>;
21
23
  export declare const operationByValue: Map<string, OperationSpec>;