@seranking/n8n-nodes-seranking 1.4.0 → 1.5.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.
Files changed (60) hide show
  1. package/README.md +198 -5
  2. package/dist/nodes/SeRanking/SeRanking.node.js +200 -1
  3. package/dist/nodes/SeRanking/projectApi/descriptions/AccountSystemDescription.d.ts +3 -0
  4. package/dist/nodes/SeRanking/projectApi/descriptions/AccountSystemDescription.js +38 -0
  5. package/dist/nodes/SeRanking/projectApi/descriptions/AiResultTrackerDescription.d.ts +3 -0
  6. package/dist/nodes/SeRanking/projectApi/descriptions/AiResultTrackerDescription.js +389 -0
  7. package/dist/nodes/SeRanking/projectApi/descriptions/AnalyticsTrafficDescription.d.ts +3 -0
  8. package/dist/nodes/SeRanking/projectApi/descriptions/AnalyticsTrafficDescription.js +84 -0
  9. package/dist/nodes/SeRanking/projectApi/descriptions/BacklinkCheckerDescription.d.ts +3 -0
  10. package/dist/nodes/SeRanking/projectApi/descriptions/BacklinkCheckerDescription.js +541 -0
  11. package/dist/nodes/SeRanking/projectApi/descriptions/CompetitorsDescription.d.ts +3 -0
  12. package/dist/nodes/SeRanking/projectApi/descriptions/CompetitorsDescription.js +283 -0
  13. package/dist/nodes/SeRanking/projectApi/descriptions/GeneralDataDescription.d.ts +3 -0
  14. package/dist/nodes/SeRanking/projectApi/descriptions/GeneralDataDescription.js +74 -0
  15. package/dist/nodes/SeRanking/projectApi/descriptions/KeywordGroupsDescription.d.ts +3 -0
  16. package/dist/nodes/SeRanking/projectApi/descriptions/KeywordGroupsDescription.js +124 -0
  17. package/dist/nodes/SeRanking/projectApi/descriptions/MarketingPlanDescription.d.ts +3 -0
  18. package/dist/nodes/SeRanking/projectApi/descriptions/MarketingPlanDescription.js +186 -0
  19. package/dist/nodes/SeRanking/projectApi/descriptions/ProjectGroupsDescription.d.ts +3 -0
  20. package/dist/nodes/SeRanking/projectApi/descriptions/ProjectGroupsDescription.js +110 -0
  21. package/dist/nodes/SeRanking/projectApi/descriptions/ProjectManagementDescription.d.ts +3 -0
  22. package/dist/nodes/SeRanking/projectApi/descriptions/ProjectManagementDescription.js +810 -0
  23. package/dist/nodes/SeRanking/projectApi/descriptions/SearchVolumeDescription.d.ts +3 -0
  24. package/dist/nodes/SeRanking/projectApi/descriptions/SearchVolumeDescription.js +74 -0
  25. package/dist/nodes/SeRanking/projectApi/descriptions/SubAccountDescription.d.ts +3 -0
  26. package/dist/nodes/SeRanking/projectApi/descriptions/SubAccountDescription.js +329 -0
  27. package/dist/nodes/SeRanking/projectApi/descriptions/UrlTagsDescription.d.ts +3 -0
  28. package/dist/nodes/SeRanking/projectApi/descriptions/UrlTagsDescription.js +164 -0
  29. package/dist/nodes/SeRanking/projectApi/descriptions/WebsiteAuditDescription.d.ts +3 -0
  30. package/dist/nodes/SeRanking/projectApi/descriptions/WebsiteAuditDescription.js +379 -0
  31. package/dist/nodes/SeRanking/projectApi/operations/AccountSystemOperations.d.ts +2 -0
  32. package/dist/nodes/SeRanking/projectApi/operations/AccountSystemOperations.js +20 -0
  33. package/dist/nodes/SeRanking/projectApi/operations/AiResultTrackerOperations.d.ts +2 -0
  34. package/dist/nodes/SeRanking/projectApi/operations/AiResultTrackerOperations.js +114 -0
  35. package/dist/nodes/SeRanking/projectApi/operations/AnalyticsTrafficOperations.d.ts +2 -0
  36. package/dist/nodes/SeRanking/projectApi/operations/AnalyticsTrafficOperations.js +26 -0
  37. package/dist/nodes/SeRanking/projectApi/operations/BacklinkCheckerOperations.d.ts +2 -0
  38. package/dist/nodes/SeRanking/projectApi/operations/BacklinkCheckerOperations.js +134 -0
  39. package/dist/nodes/SeRanking/projectApi/operations/CompetitorsOperations.d.ts +2 -0
  40. package/dist/nodes/SeRanking/projectApi/operations/CompetitorsOperations.js +94 -0
  41. package/dist/nodes/SeRanking/projectApi/operations/GeneralDataOperations.d.ts +2 -0
  42. package/dist/nodes/SeRanking/projectApi/operations/GeneralDataOperations.js +27 -0
  43. package/dist/nodes/SeRanking/projectApi/operations/KeywordGroupsOperations.d.ts +2 -0
  44. package/dist/nodes/SeRanking/projectApi/operations/KeywordGroupsOperations.js +51 -0
  45. package/dist/nodes/SeRanking/projectApi/operations/MarketingPlanOperations.d.ts +2 -0
  46. package/dist/nodes/SeRanking/projectApi/operations/MarketingPlanOperations.js +49 -0
  47. package/dist/nodes/SeRanking/projectApi/operations/ProjectGroupsOperations.d.ts +2 -0
  48. package/dist/nodes/SeRanking/projectApi/operations/ProjectGroupsOperations.js +44 -0
  49. package/dist/nodes/SeRanking/projectApi/operations/ProjectManagementOperations.d.ts +2 -0
  50. package/dist/nodes/SeRanking/projectApi/operations/ProjectManagementOperations.js +228 -0
  51. package/dist/nodes/SeRanking/projectApi/operations/SearchVolumeOperations.d.ts +2 -0
  52. package/dist/nodes/SeRanking/projectApi/operations/SearchVolumeOperations.js +28 -0
  53. package/dist/nodes/SeRanking/projectApi/operations/SubAccountOperations.d.ts +2 -0
  54. package/dist/nodes/SeRanking/projectApi/operations/SubAccountOperations.js +98 -0
  55. package/dist/nodes/SeRanking/projectApi/operations/UrlTagsOperations.d.ts +2 -0
  56. package/dist/nodes/SeRanking/projectApi/operations/UrlTagsOperations.js +49 -0
  57. package/dist/nodes/SeRanking/projectApi/operations/WebsiteAuditOperations.d.ts +2 -0
  58. package/dist/nodes/SeRanking/projectApi/operations/WebsiteAuditOperations.js +127 -0
  59. package/dist/nodes/SeRanking/utils/apiRequest.js +14 -2
  60. package/package.json +18 -3
@@ -0,0 +1,389 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.aiResultTrackerFields = exports.aiResultTrackerOperations = void 0;
4
+ exports.aiResultTrackerOperations = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: ['aiResultTracker'],
13
+ },
14
+ },
15
+ options: [
16
+ {
17
+ name: 'Add Prompts',
18
+ value: 'addPrompts',
19
+ description: 'Add prompts (keywords) to an LLM engine',
20
+ action: 'Add prompts',
21
+ },
22
+ {
23
+ name: 'Create LLM Engine',
24
+ value: 'createLlmEngine',
25
+ description: 'Add a new LLM engine to a site',
26
+ action: 'Create LLM engine',
27
+ },
28
+ {
29
+ name: 'Delete LLM Engine',
30
+ value: 'deleteLlmEngine',
31
+ description: 'Remove an LLM engine from a site',
32
+ action: 'Delete LLM engine',
33
+ },
34
+ {
35
+ name: 'Delete Prompts',
36
+ value: 'deletePrompts',
37
+ description: 'Delete prompts from an LLM engine',
38
+ action: 'Delete prompts',
39
+ },
40
+ {
41
+ name: 'Get LLM Engine',
42
+ value: 'getLlmEngine',
43
+ description: 'Get details of a specific LLM engine',
44
+ action: 'Get LLM engine',
45
+ },
46
+ {
47
+ name: 'Get LLM Statistics',
48
+ value: 'getLlmStatistics',
49
+ description: 'Get presence and overlap statistics for an LLM engine',
50
+ action: 'Get LLM statistics',
51
+ },
52
+ {
53
+ name: 'Get LLM Status',
54
+ value: 'getLlmStatus',
55
+ description: 'Get tracking status and progress for an LLM engine',
56
+ action: 'Get LLM status',
57
+ },
58
+ {
59
+ name: 'Get Prompt Rankings',
60
+ value: 'getPromptRankings',
61
+ description: 'Get ranking data for prompts tracked by an LLM engine',
62
+ action: 'Get prompt rankings',
63
+ },
64
+ {
65
+ name: 'Get Site Brand',
66
+ value: 'getSiteBrand',
67
+ description: 'Get the brand configured for a site',
68
+ action: 'Get site brand',
69
+ },
70
+ {
71
+ name: 'List LLM Engines',
72
+ value: 'listLlmEngines',
73
+ description: 'Get all LLM engines configured for a site',
74
+ action: 'List LLM engines',
75
+ },
76
+ {
77
+ name: 'List Prompts',
78
+ value: 'listPrompts',
79
+ description: 'List prompts tracked by an LLM engine',
80
+ action: 'List prompts',
81
+ },
82
+ {
83
+ name: 'Save Site Brand',
84
+ value: 'saveSiteBrand',
85
+ description: 'Configure or overwrite the brand for a site',
86
+ action: 'Save site brand',
87
+ },
88
+ {
89
+ name: 'Update LLM Engine',
90
+ value: 'updateLlmEngine',
91
+ description: 'Update region or language of an LLM engine',
92
+ action: 'Update LLM engine',
93
+ },
94
+ ],
95
+ default: 'getSiteBrand',
96
+ },
97
+ ];
98
+ exports.aiResultTrackerFields = [
99
+ {
100
+ displayName: 'Site ID',
101
+ name: 'siteId',
102
+ type: 'number',
103
+ required: true,
104
+ displayOptions: {
105
+ show: {
106
+ resource: ['aiResultTracker'],
107
+ },
108
+ },
109
+ default: 0,
110
+ description: 'Unique project (site) ID',
111
+ },
112
+ {
113
+ displayName: 'LLM Engine ID',
114
+ name: 'llmId',
115
+ type: 'number',
116
+ required: true,
117
+ displayOptions: {
118
+ show: {
119
+ resource: ['aiResultTracker'],
120
+ operation: [
121
+ 'getLlmEngine',
122
+ 'updateLlmEngine',
123
+ 'deleteLlmEngine',
124
+ 'getLlmStatus',
125
+ 'getLlmStatistics',
126
+ 'listPrompts',
127
+ 'addPrompts',
128
+ 'deletePrompts',
129
+ 'getPromptRankings',
130
+ ],
131
+ },
132
+ },
133
+ default: 0,
134
+ description: 'LLM engine ID',
135
+ },
136
+ {
137
+ displayName: 'Brand Name',
138
+ name: 'brandName',
139
+ type: 'string',
140
+ required: true,
141
+ displayOptions: {
142
+ show: {
143
+ resource: ['aiResultTracker'],
144
+ operation: ['saveSiteBrand'],
145
+ },
146
+ },
147
+ default: '',
148
+ placeholder: 'SE Ranking',
149
+ description: 'Brand name to configure (max 255 characters). Shared across all AI search engines.',
150
+ },
151
+ {
152
+ displayName: 'Base Name',
153
+ name: 'baseName',
154
+ type: 'options',
155
+ required: true,
156
+ displayOptions: {
157
+ show: {
158
+ resource: ['aiResultTracker'],
159
+ operation: ['createLlmEngine'],
160
+ },
161
+ },
162
+ options: [
163
+ { name: 'ChatGPT', value: 'chatgpt' },
164
+ { name: 'Gemini', value: 'gemini' },
165
+ { name: 'Google AI Mode', value: 'google_ai_mode' },
166
+ { name: 'Google AI Overview', value: 'google_ai_overview' },
167
+ { name: 'Perplexity', value: 'perplexity' },
168
+ ],
169
+ default: 'chatgpt',
170
+ description: 'LLM engine type',
171
+ },
172
+ {
173
+ displayName: 'Country Code',
174
+ name: 'countryCode',
175
+ type: 'string',
176
+ required: true,
177
+ displayOptions: {
178
+ show: {
179
+ resource: ['aiResultTracker'],
180
+ operation: ['createLlmEngine'],
181
+ },
182
+ },
183
+ default: '',
184
+ placeholder: 'us',
185
+ description: 'ISO 3166-1 alpha-2 country code',
186
+ },
187
+ {
188
+ displayName: 'Additional Fields',
189
+ name: 'additionalFields',
190
+ type: 'collection',
191
+ placeholder: 'Add Field',
192
+ default: {},
193
+ displayOptions: {
194
+ show: {
195
+ resource: ['aiResultTracker'],
196
+ operation: ['createLlmEngine'],
197
+ },
198
+ },
199
+ options: [
200
+ {
201
+ displayName: 'Region Name',
202
+ name: 'regionName',
203
+ type: 'string',
204
+ default: '',
205
+ description: 'Specific region or locality (must match country for Google engines)',
206
+ },
207
+ {
208
+ displayName: 'Language Code',
209
+ name: 'langCode',
210
+ type: 'string',
211
+ default: '',
212
+ placeholder: 'en',
213
+ description: 'ISO 639-1 language code',
214
+ },
215
+ ],
216
+ },
217
+ {
218
+ displayName: 'Update Fields',
219
+ name: 'updateFields',
220
+ type: 'collection',
221
+ placeholder: 'Add Field',
222
+ default: {},
223
+ displayOptions: {
224
+ show: {
225
+ resource: ['aiResultTracker'],
226
+ operation: ['updateLlmEngine'],
227
+ },
228
+ },
229
+ options: [
230
+ {
231
+ displayName: 'Region Name',
232
+ name: 'regionName',
233
+ type: 'string',
234
+ default: '',
235
+ description: 'New region or locality name. Leave empty to clear.',
236
+ },
237
+ {
238
+ displayName: 'Language Code',
239
+ name: 'langCode',
240
+ type: 'string',
241
+ default: '',
242
+ placeholder: 'en',
243
+ description: 'New language code. Leave empty to clear.',
244
+ },
245
+ ],
246
+ },
247
+ {
248
+ displayName: 'Additional Fields',
249
+ name: 'additionalFields',
250
+ type: 'collection',
251
+ placeholder: 'Add Field',
252
+ default: {},
253
+ displayOptions: {
254
+ show: {
255
+ resource: ['aiResultTracker'],
256
+ operation: ['getLlmStatistics'],
257
+ },
258
+ },
259
+ options: [
260
+ {
261
+ displayName: 'From',
262
+ name: 'from',
263
+ type: 'string',
264
+ default: '',
265
+ placeholder: '2024-01-01',
266
+ description: 'Start date (YYYY-MM-DD). Defaults to current date.',
267
+ },
268
+ {
269
+ displayName: 'To',
270
+ name: 'to',
271
+ type: 'string',
272
+ default: '',
273
+ placeholder: '2024-01-31',
274
+ description: 'End date (YYYY-MM-DD). Defaults to current date.',
275
+ },
276
+ {
277
+ displayName: 'Top',
278
+ name: 'top',
279
+ type: 'number',
280
+ default: 0,
281
+ description: 'Top N positions to analyze (0=all, 3=top 3, 10=top 10)',
282
+ },
283
+ ],
284
+ },
285
+ {
286
+ displayName: 'Additional Fields',
287
+ name: 'additionalFields',
288
+ type: 'collection',
289
+ placeholder: 'Add Field',
290
+ default: {},
291
+ displayOptions: {
292
+ show: {
293
+ resource: ['aiResultTracker'],
294
+ operation: ['listPrompts'],
295
+ },
296
+ },
297
+ options: [
298
+ {
299
+ displayName: 'Limit',
300
+ name: 'limit',
301
+ type: 'number',
302
+ default: 100,
303
+ description: 'Number of items per page (1–1000)',
304
+ },
305
+ {
306
+ displayName: 'Offset',
307
+ name: 'offset',
308
+ type: 'number',
309
+ default: 0,
310
+ description: 'Offset from the beginning of the list',
311
+ },
312
+ ],
313
+ },
314
+ {
315
+ displayName: 'Prompts',
316
+ name: 'prompts',
317
+ type: 'string',
318
+ required: true,
319
+ displayOptions: {
320
+ show: {
321
+ resource: ['aiResultTracker'],
322
+ operation: ['addPrompts'],
323
+ },
324
+ },
325
+ default: '',
326
+ placeholder: 'best seo tool,seo rank tracker,website audit tool',
327
+ description: 'Comma-separated list of keyword prompts to add (max 255 chars each)',
328
+ },
329
+ {
330
+ displayName: 'Keyword-LLM Link IDs',
331
+ name: 'k2siteLlmIds',
332
+ type: 'string',
333
+ required: true,
334
+ displayOptions: {
335
+ show: {
336
+ resource: ['aiResultTracker'],
337
+ operation: ['deletePrompts'],
338
+ },
339
+ },
340
+ default: '',
341
+ placeholder: '1411621,1411624',
342
+ description: 'Comma-separated k2site_llm_id values (get these from List Prompts)',
343
+ },
344
+ {
345
+ displayName: 'Additional Fields',
346
+ name: 'additionalFields',
347
+ type: 'collection',
348
+ placeholder: 'Add Field',
349
+ default: {},
350
+ displayOptions: {
351
+ show: {
352
+ resource: ['aiResultTracker'],
353
+ operation: ['getPromptRankings'],
354
+ },
355
+ },
356
+ options: [
357
+ {
358
+ displayName: 'Date From',
359
+ name: 'dateFrom',
360
+ type: 'string',
361
+ default: '',
362
+ placeholder: '2024-01-01',
363
+ description: 'Start date (YYYY-MM-DD). Defaults to current date.',
364
+ },
365
+ {
366
+ displayName: 'Date To',
367
+ name: 'dateTo',
368
+ type: 'string',
369
+ default: '',
370
+ placeholder: '2024-01-31',
371
+ description: 'End date (YYYY-MM-DD). Defaults to current date.',
372
+ },
373
+ {
374
+ displayName: 'Limit',
375
+ name: 'limit',
376
+ type: 'number',
377
+ default: 100,
378
+ description: 'Number of items per page (1–1000)',
379
+ },
380
+ {
381
+ displayName: 'Offset',
382
+ name: 'offset',
383
+ type: 'number',
384
+ default: 0,
385
+ description: 'Offset from the beginning of the list',
386
+ },
387
+ ],
388
+ },
389
+ ];
@@ -0,0 +1,3 @@
1
+ import { INodeProperties } from 'n8n-workflow';
2
+ export declare const analyticsTrafficOperations: INodeProperties[];
3
+ export declare const analyticsTrafficFields: INodeProperties[];
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.analyticsTrafficFields = exports.analyticsTrafficOperations = void 0;
4
+ exports.analyticsTrafficOperations = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: ['analyticsTraffic'],
13
+ },
14
+ },
15
+ options: [
16
+ {
17
+ name: 'Calculate SEO Potential',
18
+ value: 'getSeoPotential',
19
+ description: 'Estimate traffic, cost, and potential leads for a site',
20
+ action: 'Calculate SEO potential',
21
+ },
22
+ {
23
+ name: 'Get Google Search Console Data',
24
+ value: 'getGscData',
25
+ description: 'Get popular queries and performance metrics from Google Search Console',
26
+ action: 'Get Google Search Console data',
27
+ },
28
+ ],
29
+ default: 'getGscData',
30
+ },
31
+ ];
32
+ exports.analyticsTrafficFields = [
33
+ {
34
+ displayName: 'Site ID',
35
+ name: 'siteId',
36
+ type: 'number',
37
+ required: true,
38
+ displayOptions: {
39
+ show: {
40
+ resource: ['analyticsTraffic'],
41
+ },
42
+ },
43
+ default: 0,
44
+ description: 'Unique project (site) ID',
45
+ },
46
+ {
47
+ displayName: 'Additional Fields',
48
+ name: 'additionalFields',
49
+ type: 'collection',
50
+ placeholder: 'Add Field',
51
+ default: {},
52
+ displayOptions: {
53
+ show: {
54
+ resource: ['analyticsTraffic'],
55
+ operation: ['getSeoPotential'],
56
+ },
57
+ },
58
+ options: [
59
+ {
60
+ displayName: 'Top N',
61
+ name: 'topN',
62
+ type: 'number',
63
+ default: 0,
64
+ description: 'Calculate potential traffic assuming all queries reach this TOP position. If omitted, returns current traffic estimate.',
65
+ },
66
+ {
67
+ displayName: 'Lead Price',
68
+ name: 'leadPrice',
69
+ type: 'number',
70
+ typeOptions: { numberPrecision: 2 },
71
+ default: 0,
72
+ description: 'Estimated income per client',
73
+ },
74
+ {
75
+ displayName: 'Conversion Rate',
76
+ name: 'conversionRate',
77
+ type: 'number',
78
+ typeOptions: { numberPrecision: 2 },
79
+ default: 0,
80
+ description: 'Conversion rate to sales (%)',
81
+ },
82
+ ],
83
+ },
84
+ ];
@@ -0,0 +1,3 @@
1
+ import { INodeProperties } from 'n8n-workflow';
2
+ export declare const backlinkCheckerOperations: INodeProperties[];
3
+ export declare const backlinkCheckerFields: INodeProperties[];