n8n-nodes-test-node 1.0.24 → 1.0.25
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/README.md +5 -5
- package/dist/RemoteChromiumCDPAutomationAPIApi.credentials.d.ts +9 -0
- package/dist/RemoteChromiumCDPAutomationAPIApi.credentials.js +45 -0
- package/dist/{GitHubV3RESTAPIToolNode.node.d.ts → RemoteChromiumCDPAutomationAPIToolNode.node.d.ts} +1 -1
- package/dist/RemoteChromiumCDPAutomationAPIToolNode.node.js +4450 -0
- package/dist/icon.svg +4 -0
- package/package.json +4 -4
- package/dist/GitHubV3RESTAPIApi.credentials.d.ts +0 -8
- package/dist/GitHubV3RESTAPIApi.credentials.js +0 -28
- package/dist/GitHubV3RESTAPIToolNode.node.js +0 -66814
- package/dist/icon.png +0 -0
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# n8n-nodes-test-node
|
|
2
2
|
|
|
3
|
-
Auto-generated n8n community node for the **
|
|
3
|
+
Auto-generated n8n community node for the **Remote Chromium CDP Automation API** API (spec version 2.0.0), built from its OpenAPI document.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -14,10 +14,10 @@ npm install n8n-nodes-test-node
|
|
|
14
14
|
|
|
15
15
|
## What was generated
|
|
16
16
|
|
|
17
|
-
- Node type(s) in this package: **
|
|
18
|
-
-
|
|
19
|
-
- Credential type **
|
|
20
|
-
- Default Base URL: `
|
|
17
|
+
- Node type(s) in this package: **remoteChromiumCDPAutomationAPITool** (AI Agent tool).
|
|
18
|
+
- 13 resource(s), 74 operation(s).
|
|
19
|
+
- Credential type **remoteChromiumCDPAutomationAPIApi**, with an editable **Base URL** field, plus: API Key / Bearer token field(s) per the spec's security scheme.
|
|
20
|
+
- Default Base URL: `https://api.example.com/v1` (the spec declared no `servers[0].url`, so this is a placeholder -- edit the credential's "Base URL" field before using the node)
|
|
21
21
|
|
|
22
22
|
## Using the AI Agent tool node
|
|
23
23
|
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare class RemoteChromiumCDPAutomationAPIApi implements ICredentialType {
|
|
3
|
+
name: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
documentationUrl: string;
|
|
6
|
+
properties: INodeProperties[];
|
|
7
|
+
authenticate: IAuthenticateGeneric;
|
|
8
|
+
test: ICredentialTestRequest;
|
|
9
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RemoteChromiumCDPAutomationAPIApi = void 0;
|
|
4
|
+
class RemoteChromiumCDPAutomationAPIApi {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'remoteChromiumCDPAutomationAPIApi';
|
|
7
|
+
this.displayName = 'Remote Chromium CDP Automation API';
|
|
8
|
+
this.documentationUrl = '';
|
|
9
|
+
this.properties = [
|
|
10
|
+
{
|
|
11
|
+
displayName: 'Base URL',
|
|
12
|
+
name: 'baseUrl',
|
|
13
|
+
type: 'string',
|
|
14
|
+
default: 'https://api.example.com/v1',
|
|
15
|
+
required: true,
|
|
16
|
+
description: 'Base URL every request is sent to. Change this to point the node at a different environment (staging, self-hosted, etc.).',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
displayName: 'X-API-Key (API Key)',
|
|
20
|
+
name: 'xAPIKey',
|
|
21
|
+
type: 'string',
|
|
22
|
+
typeOptions: { password: true },
|
|
23
|
+
default: '',
|
|
24
|
+
required: true,
|
|
25
|
+
description: 'Sent as the "X-API-Key" header on every request.',
|
|
26
|
+
},
|
|
27
|
+
];
|
|
28
|
+
this.authenticate = {
|
|
29
|
+
type: 'generic',
|
|
30
|
+
properties: {
|
|
31
|
+
headers: {
|
|
32
|
+
'X-API-Key': '={{$credentials.xAPIKey}}',
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
};
|
|
36
|
+
this.test = {
|
|
37
|
+
request: {
|
|
38
|
+
baseURL: '={{$credentials.baseUrl}}',
|
|
39
|
+
url: '/health',
|
|
40
|
+
method: 'GET',
|
|
41
|
+
},
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.RemoteChromiumCDPAutomationAPIApi = RemoteChromiumCDPAutomationAPIApi;
|