n8n-nodes-test-node 1.0.6 → 1.0.7

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "n8n-nodes-test-node",
3
- "version": "1.0.6",
4
- "description": "IPstack offers a powerful, real-time IP to geolocation API capable of looking up accurate location data and assessing security threats originating from risky IP addresses. Results are delivered within milliseconds in JSON or XML format.",
3
+ "version": "1.0.7",
4
+ "description": "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.",
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/IPstackAPIApi.credentials.js"
19
+ "dist/SwaggerPetstoreApi.credentials.js"
20
20
  ],
21
21
  "nodes": [
22
- "dist/IPstackAPINode.node.js"
22
+ "dist/SwaggerPetstoreNode.node.js"
23
23
  ]
24
24
  },
25
25
  "devDependencies": {
@@ -1,8 +0,0 @@
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
- }
@@ -1,28 +0,0 @@
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;
@@ -1,266 +0,0 @@
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;
@@ -1,7 +0,0 @@
1
- import type { ICredentialType, INodeProperties } from 'n8n-workflow';
2
- export declare class IPstackAPIApi implements ICredentialType {
3
- name: string;
4
- displayName: string;
5
- documentationUrl: string;
6
- properties: INodeProperties[];
7
- }
@@ -1,25 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IPstackAPIApi = void 0;
4
- class IPstackAPIApi {
5
- constructor() {
6
- this.name = 'iPstackAPIApi';
7
- this.displayName = 'IPstack API';
8
- this.documentationUrl = '';
9
- this.properties = [
10
- {
11
- displayName: 'Base URL',
12
- name: 'baseUrl',
13
- type: 'string',
14
- default: 'https://api.ipstack.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
- /* No safe zero-parameter GET endpoint (e.g. a health/status/version route)
20
- was found in the spec to test against, so no "test" block is defined here --
21
- the credential still works for real requests, it just won't show a "Test"
22
- button in n8n's credential UI. */
23
- }
24
- }
25
- exports.IPstackAPIApi = IPstackAPIApi;
@@ -1,4 +0,0 @@
1
- import type { INodeType, INodeTypeDescription } from 'n8n-workflow';
2
- export declare class IPstackAPINode implements INodeType {
3
- description: INodeTypeDescription;
4
- }