n8n-nodes-test-node 1.0.7 → 1.0.9
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 +4 -12
- package/dist/{SwaggerPetstoreApi.credentials.d.ts → RemoteChromiumCDPAutomationAPIApi.credentials.d.ts} +1 -1
- package/dist/{SwaggerPetstoreApi.credentials.js → RemoteChromiumCDPAutomationAPIApi.credentials.js} +11 -11
- package/dist/{SwaggerPetstoreNode.node.d.ts → RemoteChromiumCDPAutomationAPINode.node.d.ts} +1 -1
- package/dist/RemoteChromiumCDPAutomationAPINode.node.js +3718 -0
- package/dist/icon.svg +4 -0
- package/package.json +4 -4
- package/dist/SwaggerPetstoreNode.node.js +0 -739
- 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,17 +14,9 @@ npm install n8n-nodes-test-node
|
|
|
14
14
|
|
|
15
15
|
## What was generated
|
|
16
16
|
|
|
17
|
-
-
|
|
18
|
-
- Credential type **
|
|
19
|
-
- Default Base URL: `https://
|
|
20
|
-
- **7 operation(s) from the spec were left out** because their only auth option isn't usable by this node's credential:
|
|
21
|
-
- `POST /pet/{petId}/uploadImage` (requires "petstore_auth")
|
|
22
|
-
- `PUT /pet` (requires "petstore_auth")
|
|
23
|
-
- `POST /pet` (requires "petstore_auth")
|
|
24
|
-
- `GET /pet/findByStatus` (requires "petstore_auth")
|
|
25
|
-
- `GET /pet/findByTags` (requires "petstore_auth")
|
|
26
|
-
- `POST /pet/{petId}` (requires "petstore_auth")
|
|
27
|
-
- `DELETE /pet/{petId}` (requires "petstore_auth")
|
|
17
|
+
- 12 resource(s), 60 operation(s).
|
|
18
|
+
- Credential type **remoteChromiumCDPAutomationAPIApi**, with an editable **Base URL** field, plus: API Key / Bearer token field(s) per the spec's security scheme.
|
|
19
|
+
- Default Base URL: `https://api.example.com/v1` (override it in the credential's "Base URL" field to point at a different environment)
|
|
28
20
|
|
|
29
21
|
## Limitations
|
|
30
22
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class RemoteChromiumCDPAutomationAPIApi implements ICredentialType {
|
|
3
3
|
name: string;
|
|
4
4
|
displayName: string;
|
|
5
5
|
documentationUrl: string;
|
package/dist/{SwaggerPetstoreApi.credentials.js → RemoteChromiumCDPAutomationAPIApi.credentials.js}
RENAMED
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
class
|
|
3
|
+
exports.RemoteChromiumCDPAutomationAPIApi = void 0;
|
|
4
|
+
class RemoteChromiumCDPAutomationAPIApi {
|
|
5
5
|
constructor() {
|
|
6
|
-
this.name = '
|
|
7
|
-
this.displayName = '
|
|
6
|
+
this.name = 'remoteChromiumCDPAutomationAPIApi';
|
|
7
|
+
this.displayName = 'Remote Chromium CDP Automation API';
|
|
8
8
|
this.documentationUrl = '';
|
|
9
9
|
this.properties = [
|
|
10
10
|
{
|
|
11
11
|
displayName: 'Base URL',
|
|
12
12
|
name: 'baseUrl',
|
|
13
13
|
type: 'string',
|
|
14
|
-
default: 'https://
|
|
14
|
+
default: 'https://api.example.com/v1',
|
|
15
15
|
required: true,
|
|
16
16
|
description: 'Base URL every request is sent to. Change this to point the node at a different environment (staging, self-hosted, etc.).',
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
|
-
displayName: '
|
|
20
|
-
name: '
|
|
19
|
+
displayName: 'X-API-Key (API Key)',
|
|
20
|
+
name: 'xAPIKey',
|
|
21
21
|
type: 'string',
|
|
22
22
|
typeOptions: { password: true },
|
|
23
23
|
default: '',
|
|
24
24
|
required: true,
|
|
25
|
-
description: 'Sent as the "
|
|
25
|
+
description: 'Sent as the "X-API-Key" header on every request.',
|
|
26
26
|
},
|
|
27
27
|
];
|
|
28
28
|
this.authenticate = {
|
|
29
29
|
type: 'generic',
|
|
30
30
|
properties: {
|
|
31
31
|
headers: {
|
|
32
|
-
|
|
32
|
+
'X-API-Key': '={{$credentials.xAPIKey}}',
|
|
33
33
|
},
|
|
34
34
|
},
|
|
35
35
|
};
|
|
36
36
|
this.test = {
|
|
37
37
|
request: {
|
|
38
38
|
baseURL: '={{$credentials.baseUrl}}',
|
|
39
|
-
url: '/
|
|
39
|
+
url: '/health',
|
|
40
40
|
method: 'GET',
|
|
41
41
|
},
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
exports.
|
|
45
|
+
exports.RemoteChromiumCDPAutomationAPIApi = RemoteChromiumCDPAutomationAPIApi;
|