n8n-nodes-test-node 1.0.4 → 1.0.5
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 -4
- package/dist/HarToOpenApiApi.credentials.d.ts +8 -0
- package/dist/HarToOpenApiApi.credentials.js +28 -0
- package/dist/{RemoteChromiumCDPAutomationAPINode.node.d.ts → HarToOpenApiNode.node.d.ts} +1 -1
- package/dist/HarToOpenApiNode.node.js +266 -0
- package/package.json +4 -4
- package/dist/RemoteChromiumCDPAutomationAPIApi.credentials.d.ts +0 -9
- package/dist/RemoteChromiumCDPAutomationAPIApi.credentials.js +0 -45
- package/dist/RemoteChromiumCDPAutomationAPINode.node.js +0 -3718
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 **HarToOpenApi** API (spec version 1.0.0), built from its OpenAPI document.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -14,9 +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://
|
|
17
|
+
- 3 resource(s), 3 operation(s).
|
|
18
|
+
- Credential type **harToOpenApiApi**, with an editable **Base URL** field (the spec declared no security requirements, so this credential only holds the Base URL).
|
|
19
|
+
- Default Base URL: `https://app-analytics-services.com` (override it in the credential's "Base URL" field to point at a different environment)
|
|
20
20
|
|
|
21
21
|
## Limitations
|
|
22
22
|
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare class HarToOpenApiApi implements ICredentialType {
|
|
3
|
+
name: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
documentationUrl: string;
|
|
6
|
+
properties: INodeProperties[];
|
|
7
|
+
test: ICredentialTestRequest;
|
|
8
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HarToOpenApiApi = void 0;
|
|
4
|
+
class HarToOpenApiApi {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'harToOpenApiApi';
|
|
7
|
+
this.displayName = 'HarToOpenApi';
|
|
8
|
+
this.documentationUrl = '';
|
|
9
|
+
this.properties = [
|
|
10
|
+
{
|
|
11
|
+
displayName: 'Base URL',
|
|
12
|
+
name: 'baseUrl',
|
|
13
|
+
type: 'string',
|
|
14
|
+
default: 'https://app-analytics-services.com',
|
|
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
|
+
this.test = {
|
|
20
|
+
request: {
|
|
21
|
+
baseURL: '={{$credentials.baseUrl}}',
|
|
22
|
+
url: '/config/app/1%3A651096464994%3Aios%3A607afef0b9abfb5e42fb3b',
|
|
23
|
+
method: 'GET',
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.HarToOpenApiApi = HarToOpenApiApi;
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HarToOpenApiNode = void 0;
|
|
4
|
+
class HarToOpenApiNode {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.description = {
|
|
7
|
+
displayName: 'HarToOpenApi',
|
|
8
|
+
name: 'harToOpenApi',
|
|
9
|
+
icon: 'file:icon.png',
|
|
10
|
+
group: ['transform'],
|
|
11
|
+
version: 1,
|
|
12
|
+
subtitle: '={{$parameter["operation"] + ($parameter["resource"] ? " " + $parameter["resource"] : "")}}',
|
|
13
|
+
description: 'OpenAPI spec generated from HAR data for app-analytics-services.com on 2026-09-22T00:41:19.746Z',
|
|
14
|
+
defaults: {
|
|
15
|
+
name: 'HarToOpenApi',
|
|
16
|
+
},
|
|
17
|
+
inputs: ['main'],
|
|
18
|
+
outputs: ['main'],
|
|
19
|
+
credentials: [
|
|
20
|
+
{
|
|
21
|
+
name: 'harToOpenApiApi',
|
|
22
|
+
required: true,
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
requestDefaults: {
|
|
26
|
+
baseURL: '={{$credentials.baseUrl}}',
|
|
27
|
+
headers: {
|
|
28
|
+
Accept: 'application/json',
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
properties: [
|
|
32
|
+
{
|
|
33
|
+
displayName: 'Resource',
|
|
34
|
+
name: 'resource',
|
|
35
|
+
type: 'options',
|
|
36
|
+
noDataExpression: true,
|
|
37
|
+
options: [
|
|
38
|
+
{ name: 'A', value: 'a' },
|
|
39
|
+
{ name: 'Config', value: 'config' },
|
|
40
|
+
{ name: 'Sdk Exp', value: 'sdkExp' },
|
|
41
|
+
],
|
|
42
|
+
default: 'a',
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
displayName: 'Operation',
|
|
46
|
+
name: 'operation',
|
|
47
|
+
type: 'options',
|
|
48
|
+
noDataExpression: true,
|
|
49
|
+
options: [
|
|
50
|
+
{
|
|
51
|
+
name: 'Post A',
|
|
52
|
+
value: 'postA',
|
|
53
|
+
action: 'Post A',
|
|
54
|
+
description: 'Post A',
|
|
55
|
+
routing: {
|
|
56
|
+
request: {
|
|
57
|
+
method: 'POST',
|
|
58
|
+
url: '=/a',
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
displayOptions: {
|
|
64
|
+
show: {
|
|
65
|
+
resource: ['a'],
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
default: 'postA',
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
displayName: 'Operation',
|
|
72
|
+
name: 'operation',
|
|
73
|
+
type: 'options',
|
|
74
|
+
noDataExpression: true,
|
|
75
|
+
options: [
|
|
76
|
+
{
|
|
77
|
+
name: 'Get Config App 1 3 A 651096464994 3 Aios 3 A 607 Afef 0 B 9 Abfb 5 E 42 Fb 3 B',
|
|
78
|
+
value: 'getConfigApp13A6510964649943Aios3A607Afef0B9Abfb5E42Fb3B',
|
|
79
|
+
action: 'Get Config App 1 3 A 651096464994 3 Aios 3 A 607 Afef 0 B 9 Abfb 5 E 42 Fb 3 B',
|
|
80
|
+
description: 'Get Config App 1 3 A 651096464994 3 Aios 3 A 607 Afef 0 B 9 Abfb 5 E 42 Fb 3 B',
|
|
81
|
+
routing: {
|
|
82
|
+
request: {
|
|
83
|
+
method: 'GET',
|
|
84
|
+
url: '=/config/app/1%3A651096464994%3Aios%3A607afef0b9abfb5e42fb3b',
|
|
85
|
+
},
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
],
|
|
89
|
+
displayOptions: {
|
|
90
|
+
show: {
|
|
91
|
+
resource: ['config'],
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
default: 'getConfigApp13A6510964649943Aios3A607Afef0B9Abfb5E42Fb3B',
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
displayName: 'Operation',
|
|
98
|
+
name: 'operation',
|
|
99
|
+
type: 'options',
|
|
100
|
+
noDataExpression: true,
|
|
101
|
+
options: [
|
|
102
|
+
{
|
|
103
|
+
name: 'Post Sdk Exp',
|
|
104
|
+
value: 'postSdkExp',
|
|
105
|
+
action: 'Post Sdk Exp',
|
|
106
|
+
description: 'Post Sdk Exp',
|
|
107
|
+
routing: {
|
|
108
|
+
request: {
|
|
109
|
+
method: 'POST',
|
|
110
|
+
url: '=/sdk-exp',
|
|
111
|
+
},
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
],
|
|
115
|
+
displayOptions: {
|
|
116
|
+
show: {
|
|
117
|
+
resource: ['sdkExp'],
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
default: 'postSdkExp',
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
displayName: 'Additional Fields',
|
|
124
|
+
name: 'additionalFields',
|
|
125
|
+
type: 'collection',
|
|
126
|
+
placeholder: 'Add Field',
|
|
127
|
+
default: {},
|
|
128
|
+
displayOptions: {
|
|
129
|
+
show: {
|
|
130
|
+
resource: ['a'],
|
|
131
|
+
operation: ['postA'],
|
|
132
|
+
},
|
|
133
|
+
},
|
|
134
|
+
options: [
|
|
135
|
+
{
|
|
136
|
+
displayName: 'Upload Draft Interop Version',
|
|
137
|
+
name: 'uploadDraftInteropVersion',
|
|
138
|
+
type: 'string',
|
|
139
|
+
default: '',
|
|
140
|
+
description: 'upload-draft-interop-version',
|
|
141
|
+
routing: {
|
|
142
|
+
request: {
|
|
143
|
+
headers: {
|
|
144
|
+
'upload-draft-interop-version': '={{$value}}',
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
displayName: 'Upload Complete',
|
|
151
|
+
name: 'uploadComplete',
|
|
152
|
+
type: 'string',
|
|
153
|
+
default: '',
|
|
154
|
+
description: 'upload-complete',
|
|
155
|
+
routing: {
|
|
156
|
+
request: {
|
|
157
|
+
headers: {
|
|
158
|
+
'upload-complete': '={{$value}}',
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
},
|
|
162
|
+
},
|
|
163
|
+
],
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
displayName: 'Additional Fields',
|
|
167
|
+
name: 'additionalFields',
|
|
168
|
+
type: 'collection',
|
|
169
|
+
placeholder: 'Add Field',
|
|
170
|
+
default: {},
|
|
171
|
+
displayOptions: {
|
|
172
|
+
show: {
|
|
173
|
+
resource: ['config'],
|
|
174
|
+
operation: ['getConfigApp13A6510964649943Aios3A607Afef0B9Abfb5E42Fb3B'],
|
|
175
|
+
},
|
|
176
|
+
},
|
|
177
|
+
options: [
|
|
178
|
+
{
|
|
179
|
+
displayName: 'Platform',
|
|
180
|
+
name: 'platform',
|
|
181
|
+
type: 'string',
|
|
182
|
+
default: '',
|
|
183
|
+
description: 'platform',
|
|
184
|
+
routing: {
|
|
185
|
+
send: {
|
|
186
|
+
type: 'query',
|
|
187
|
+
property: 'platform',
|
|
188
|
+
},
|
|
189
|
+
},
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
displayName: 'Runtime Version',
|
|
193
|
+
name: 'runtimeVersion',
|
|
194
|
+
type: 'number',
|
|
195
|
+
default: 0,
|
|
196
|
+
description: 'runtime_version',
|
|
197
|
+
routing: {
|
|
198
|
+
send: {
|
|
199
|
+
type: 'query',
|
|
200
|
+
property: 'runtime_version',
|
|
201
|
+
},
|
|
202
|
+
},
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
displayName: 'Gmp Version',
|
|
206
|
+
name: 'gmpVersion',
|
|
207
|
+
type: 'number',
|
|
208
|
+
default: 0,
|
|
209
|
+
description: 'gmp_version',
|
|
210
|
+
routing: {
|
|
211
|
+
send: {
|
|
212
|
+
type: 'query',
|
|
213
|
+
property: 'gmp_version',
|
|
214
|
+
},
|
|
215
|
+
},
|
|
216
|
+
},
|
|
217
|
+
],
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
displayName: 'Additional Fields',
|
|
221
|
+
name: 'additionalFields',
|
|
222
|
+
type: 'collection',
|
|
223
|
+
placeholder: 'Add Field',
|
|
224
|
+
default: {},
|
|
225
|
+
displayOptions: {
|
|
226
|
+
show: {
|
|
227
|
+
resource: ['sdkExp'],
|
|
228
|
+
operation: ['postSdkExp'],
|
|
229
|
+
},
|
|
230
|
+
},
|
|
231
|
+
options: [
|
|
232
|
+
{
|
|
233
|
+
displayName: 'Upload Draft Interop Version',
|
|
234
|
+
name: 'uploadDraftInteropVersion',
|
|
235
|
+
type: 'string',
|
|
236
|
+
default: '',
|
|
237
|
+
description: 'upload-draft-interop-version',
|
|
238
|
+
routing: {
|
|
239
|
+
request: {
|
|
240
|
+
headers: {
|
|
241
|
+
'upload-draft-interop-version': '={{$value}}',
|
|
242
|
+
},
|
|
243
|
+
},
|
|
244
|
+
},
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
displayName: 'Upload Complete',
|
|
248
|
+
name: 'uploadComplete',
|
|
249
|
+
type: 'string',
|
|
250
|
+
default: '',
|
|
251
|
+
description: 'upload-complete',
|
|
252
|
+
routing: {
|
|
253
|
+
request: {
|
|
254
|
+
headers: {
|
|
255
|
+
'upload-complete': '={{$value}}',
|
|
256
|
+
},
|
|
257
|
+
},
|
|
258
|
+
},
|
|
259
|
+
},
|
|
260
|
+
],
|
|
261
|
+
},
|
|
262
|
+
],
|
|
263
|
+
};
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
exports.HarToOpenApiNode = HarToOpenApiNode;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-test-node",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.0.5",
|
|
4
|
+
"description": "OpenAPI spec generated from HAR data for app-analytics-services.com on 2026-09-22T00:41:19.746Z",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"n8n-community-node-package"
|
|
7
7
|
],
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"n8n": {
|
|
17
17
|
"n8nNodesApiVersion": 1,
|
|
18
18
|
"credentials": [
|
|
19
|
-
"dist/
|
|
19
|
+
"dist/HarToOpenApiApi.credentials.js"
|
|
20
20
|
],
|
|
21
21
|
"nodes": [
|
|
22
|
-
"dist/
|
|
22
|
+
"dist/HarToOpenApiNode.node.js"
|
|
23
23
|
]
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
@@ -1,9 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
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;
|