@seranking/n8n-nodes-seranking 1.4.0 → 1.5.8
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 +205 -6
- package/dist/nodes/SeRanking/SeRanking.node.js +200 -1
- package/dist/nodes/SeRanking/projectApi/descriptions/AccountSystemDescription.d.ts +3 -0
- package/dist/nodes/SeRanking/projectApi/descriptions/AccountSystemDescription.js +38 -0
- package/dist/nodes/SeRanking/projectApi/descriptions/AiResultTrackerDescription.d.ts +3 -0
- package/dist/nodes/SeRanking/projectApi/descriptions/AiResultTrackerDescription.js +433 -0
- package/dist/nodes/SeRanking/projectApi/descriptions/AnalyticsTrafficDescription.d.ts +3 -0
- package/dist/nodes/SeRanking/projectApi/descriptions/AnalyticsTrafficDescription.js +84 -0
- package/dist/nodes/SeRanking/projectApi/descriptions/BacklinkCheckerDescription.d.ts +3 -0
- package/dist/nodes/SeRanking/projectApi/descriptions/BacklinkCheckerDescription.js +541 -0
- package/dist/nodes/SeRanking/projectApi/descriptions/CompetitorsDescription.d.ts +3 -0
- package/dist/nodes/SeRanking/projectApi/descriptions/CompetitorsDescription.js +283 -0
- package/dist/nodes/SeRanking/projectApi/descriptions/GeneralDataDescription.d.ts +3 -0
- package/dist/nodes/SeRanking/projectApi/descriptions/GeneralDataDescription.js +74 -0
- package/dist/nodes/SeRanking/projectApi/descriptions/KeywordGroupsDescription.d.ts +3 -0
- package/dist/nodes/SeRanking/projectApi/descriptions/KeywordGroupsDescription.js +124 -0
- package/dist/nodes/SeRanking/projectApi/descriptions/MarketingPlanDescription.d.ts +3 -0
- package/dist/nodes/SeRanking/projectApi/descriptions/MarketingPlanDescription.js +186 -0
- package/dist/nodes/SeRanking/projectApi/descriptions/ProjectGroupsDescription.d.ts +3 -0
- package/dist/nodes/SeRanking/projectApi/descriptions/ProjectGroupsDescription.js +110 -0
- package/dist/nodes/SeRanking/projectApi/descriptions/ProjectManagementDescription.d.ts +3 -0
- package/dist/nodes/SeRanking/projectApi/descriptions/ProjectManagementDescription.js +810 -0
- package/dist/nodes/SeRanking/projectApi/descriptions/SearchVolumeDescription.d.ts +3 -0
- package/dist/nodes/SeRanking/projectApi/descriptions/SearchVolumeDescription.js +74 -0
- package/dist/nodes/SeRanking/projectApi/descriptions/SubAccountDescription.d.ts +3 -0
- package/dist/nodes/SeRanking/projectApi/descriptions/SubAccountDescription.js +329 -0
- package/dist/nodes/SeRanking/projectApi/descriptions/UrlTagsDescription.d.ts +3 -0
- package/dist/nodes/SeRanking/projectApi/descriptions/UrlTagsDescription.js +164 -0
- package/dist/nodes/SeRanking/projectApi/descriptions/WebsiteAuditDescription.d.ts +3 -0
- package/dist/nodes/SeRanking/projectApi/descriptions/WebsiteAuditDescription.js +379 -0
- package/dist/nodes/SeRanking/projectApi/operations/AccountSystemOperations.d.ts +2 -0
- package/dist/nodes/SeRanking/projectApi/operations/AccountSystemOperations.js +20 -0
- package/dist/nodes/SeRanking/projectApi/operations/AiResultTrackerOperations.d.ts +2 -0
- package/dist/nodes/SeRanking/projectApi/operations/AiResultTrackerOperations.js +123 -0
- package/dist/nodes/SeRanking/projectApi/operations/AnalyticsTrafficOperations.d.ts +2 -0
- package/dist/nodes/SeRanking/projectApi/operations/AnalyticsTrafficOperations.js +26 -0
- package/dist/nodes/SeRanking/projectApi/operations/BacklinkCheckerOperations.d.ts +2 -0
- package/dist/nodes/SeRanking/projectApi/operations/BacklinkCheckerOperations.js +134 -0
- package/dist/nodes/SeRanking/projectApi/operations/CompetitorsOperations.d.ts +2 -0
- package/dist/nodes/SeRanking/projectApi/operations/CompetitorsOperations.js +94 -0
- package/dist/nodes/SeRanking/projectApi/operations/GeneralDataOperations.d.ts +2 -0
- package/dist/nodes/SeRanking/projectApi/operations/GeneralDataOperations.js +27 -0
- package/dist/nodes/SeRanking/projectApi/operations/KeywordGroupsOperations.d.ts +2 -0
- package/dist/nodes/SeRanking/projectApi/operations/KeywordGroupsOperations.js +51 -0
- package/dist/nodes/SeRanking/projectApi/operations/MarketingPlanOperations.d.ts +2 -0
- package/dist/nodes/SeRanking/projectApi/operations/MarketingPlanOperations.js +49 -0
- package/dist/nodes/SeRanking/projectApi/operations/ProjectGroupsOperations.d.ts +2 -0
- package/dist/nodes/SeRanking/projectApi/operations/ProjectGroupsOperations.js +44 -0
- package/dist/nodes/SeRanking/projectApi/operations/ProjectManagementOperations.d.ts +2 -0
- package/dist/nodes/SeRanking/projectApi/operations/ProjectManagementOperations.js +228 -0
- package/dist/nodes/SeRanking/projectApi/operations/SearchVolumeOperations.d.ts +2 -0
- package/dist/nodes/SeRanking/projectApi/operations/SearchVolumeOperations.js +28 -0
- package/dist/nodes/SeRanking/projectApi/operations/SubAccountOperations.d.ts +2 -0
- package/dist/nodes/SeRanking/projectApi/operations/SubAccountOperations.js +98 -0
- package/dist/nodes/SeRanking/projectApi/operations/UrlTagsOperations.d.ts +2 -0
- package/dist/nodes/SeRanking/projectApi/operations/UrlTagsOperations.js +49 -0
- package/dist/nodes/SeRanking/projectApi/operations/WebsiteAuditOperations.d.ts +2 -0
- package/dist/nodes/SeRanking/projectApi/operations/WebsiteAuditOperations.js +127 -0
- package/dist/nodes/SeRanking/utils/apiRequest.js +14 -2
- package/package.json +18 -3
|
@@ -0,0 +1,810 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.projectManagementFields = exports.projectManagementOperations = void 0;
|
|
4
|
+
const searchEngineAdditionalOptions = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Region ID',
|
|
7
|
+
name: 'regionId',
|
|
8
|
+
type: 'number',
|
|
9
|
+
default: 0,
|
|
10
|
+
description: 'Region ID',
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
displayName: 'Region Name',
|
|
14
|
+
name: 'regionName',
|
|
15
|
+
type: 'string',
|
|
16
|
+
default: '',
|
|
17
|
+
description: 'Geographical name (region or city) in English. Only applicable to Google.',
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
displayName: 'Language Code',
|
|
21
|
+
name: 'langCode',
|
|
22
|
+
type: 'string',
|
|
23
|
+
default: '',
|
|
24
|
+
placeholder: 'en',
|
|
25
|
+
description: 'Language code (refer to /system/google-langs)',
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
displayName: 'Google Maps Mode',
|
|
29
|
+
name: 'mergeMap',
|
|
30
|
+
type: 'options',
|
|
31
|
+
options: [
|
|
32
|
+
{ name: "Don't Include", value: 0, description: 'Do not include Google Maps SERPs' },
|
|
33
|
+
{ name: 'Include', value: 1, description: 'Include Google Maps SERPs' },
|
|
34
|
+
{ name: 'Include and Display Separately', value: 2, description: 'Include and display Maps separately' },
|
|
35
|
+
],
|
|
36
|
+
default: 0,
|
|
37
|
+
description: 'Google Maps SERPs handling mode',
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
displayName: 'Business Name',
|
|
41
|
+
name: 'businessName',
|
|
42
|
+
type: 'string',
|
|
43
|
+
default: '',
|
|
44
|
+
description: 'Business name for Google Maps SERPs',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
displayName: 'Phone',
|
|
48
|
+
name: 'phone',
|
|
49
|
+
type: 'string',
|
|
50
|
+
default: '',
|
|
51
|
+
description: 'Company phone number for Google Maps SERPs',
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
displayName: 'Track Paid Results',
|
|
55
|
+
name: 'paidResults',
|
|
56
|
+
type: 'options',
|
|
57
|
+
options: [
|
|
58
|
+
{ name: 'No', value: 0 },
|
|
59
|
+
{ name: 'Yes', value: 1 },
|
|
60
|
+
],
|
|
61
|
+
default: 0,
|
|
62
|
+
description: 'Track rankings in Google Ads',
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
displayName: 'Featured Snippet',
|
|
66
|
+
name: 'featuredSnippet',
|
|
67
|
+
type: 'options',
|
|
68
|
+
options: [
|
|
69
|
+
{ name: 'Exclude', value: 0 },
|
|
70
|
+
{ name: 'Include', value: 1 },
|
|
71
|
+
],
|
|
72
|
+
default: 0,
|
|
73
|
+
description: 'Track Featured Snippet results',
|
|
74
|
+
},
|
|
75
|
+
];
|
|
76
|
+
exports.projectManagementOperations = [
|
|
77
|
+
{
|
|
78
|
+
displayName: 'Operation',
|
|
79
|
+
name: 'operation',
|
|
80
|
+
type: 'options',
|
|
81
|
+
noDataExpression: true,
|
|
82
|
+
displayOptions: {
|
|
83
|
+
show: {
|
|
84
|
+
resource: ['projectManagement'],
|
|
85
|
+
},
|
|
86
|
+
},
|
|
87
|
+
options: [
|
|
88
|
+
{
|
|
89
|
+
name: 'Add Keywords',
|
|
90
|
+
value: 'addKeywords',
|
|
91
|
+
description: 'Add keywords to a project',
|
|
92
|
+
action: 'Add keywords to project',
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
name: 'Add Project',
|
|
96
|
+
value: 'addProject',
|
|
97
|
+
description: 'Create a new project in the account',
|
|
98
|
+
action: 'Add project',
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
name: 'Add Search Engine',
|
|
102
|
+
value: 'addSearchEngine',
|
|
103
|
+
description: 'Add a new search engine configuration to a project',
|
|
104
|
+
action: 'Add search engine to project',
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
name: 'Change Project Settings',
|
|
108
|
+
value: 'changeProject',
|
|
109
|
+
description: 'Update settings of a project',
|
|
110
|
+
action: 'Change project settings',
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
name: 'Change Search Engine',
|
|
114
|
+
value: 'changeSearchEngine',
|
|
115
|
+
description: 'Update a search engine configuration in a project',
|
|
116
|
+
action: 'Change search engine in project',
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
name: 'Delete Keywords',
|
|
120
|
+
value: 'deleteKeywords',
|
|
121
|
+
description: 'Delete keywords from a project',
|
|
122
|
+
action: 'Delete keywords',
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
name: 'Delete Project',
|
|
126
|
+
value: 'deleteProject',
|
|
127
|
+
description: 'Delete a project from the account',
|
|
128
|
+
action: 'Delete project',
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
name: 'Delete Search Engine',
|
|
132
|
+
value: 'deleteSearchEngine',
|
|
133
|
+
description: 'Remove a search engine configuration from a project',
|
|
134
|
+
action: 'Delete search engine from project',
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
name: 'Get Ads Chart',
|
|
138
|
+
value: 'getAds',
|
|
139
|
+
description: 'Get advertisement statistics by date',
|
|
140
|
+
action: 'Get ads chart',
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
name: 'Get Historical Dates',
|
|
144
|
+
value: 'getHistoricalDates',
|
|
145
|
+
description: 'Get historical ranking check dates',
|
|
146
|
+
action: 'Get historical dates',
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
name: 'Get Keyword Statistics',
|
|
150
|
+
value: 'getPositions',
|
|
151
|
+
description: 'Get keyword ranking statistics for a project',
|
|
152
|
+
action: 'Get keyword statistics',
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
name: 'Get Project Stats',
|
|
156
|
+
value: 'getStats',
|
|
157
|
+
description: 'Get summary statistics for a project',
|
|
158
|
+
action: 'Get project stats',
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
name: 'List Keywords',
|
|
162
|
+
value: 'listKeywords',
|
|
163
|
+
description: 'List all keywords for a project',
|
|
164
|
+
action: 'List keywords',
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
name: 'List Projects',
|
|
168
|
+
value: 'listProjects',
|
|
169
|
+
description: 'Get a list of all projects in the account',
|
|
170
|
+
action: 'List all projects',
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
name: 'List Search Engines',
|
|
174
|
+
value: 'listSearchEngines',
|
|
175
|
+
description: 'Get search engines configured for a project',
|
|
176
|
+
action: 'List project search engines',
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
name: 'Run Position Check',
|
|
180
|
+
value: 'runRecheck',
|
|
181
|
+
description: 'Trigger a ranking position check for keywords',
|
|
182
|
+
action: 'Run position check',
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
name: 'Set Manual Position',
|
|
186
|
+
value: 'setManualPosition',
|
|
187
|
+
description: 'Set a ranking position for a keyword on a date',
|
|
188
|
+
action: 'Set manual keyword position',
|
|
189
|
+
},
|
|
190
|
+
],
|
|
191
|
+
default: 'listProjects',
|
|
192
|
+
},
|
|
193
|
+
];
|
|
194
|
+
exports.projectManagementFields = [
|
|
195
|
+
{
|
|
196
|
+
displayName: 'Site ID',
|
|
197
|
+
name: 'siteId',
|
|
198
|
+
type: 'number',
|
|
199
|
+
required: true,
|
|
200
|
+
displayOptions: {
|
|
201
|
+
show: {
|
|
202
|
+
resource: ['projectManagement'],
|
|
203
|
+
operation: [
|
|
204
|
+
'listSearchEngines',
|
|
205
|
+
'addSearchEngine',
|
|
206
|
+
'changeSearchEngine',
|
|
207
|
+
'deleteSearchEngine',
|
|
208
|
+
'listKeywords',
|
|
209
|
+
'getStats',
|
|
210
|
+
'getPositions',
|
|
211
|
+
'getAds',
|
|
212
|
+
'getHistoricalDates',
|
|
213
|
+
'addKeywords',
|
|
214
|
+
'changeProject',
|
|
215
|
+
'deleteProject',
|
|
216
|
+
'deleteKeywords',
|
|
217
|
+
'setManualPosition',
|
|
218
|
+
'runRecheck',
|
|
219
|
+
],
|
|
220
|
+
},
|
|
221
|
+
},
|
|
222
|
+
default: 0,
|
|
223
|
+
description: 'Unique project (site) ID',
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
displayName: 'Site Engine ID',
|
|
227
|
+
name: 'siteEngineId',
|
|
228
|
+
type: 'number',
|
|
229
|
+
required: true,
|
|
230
|
+
displayOptions: {
|
|
231
|
+
show: {
|
|
232
|
+
resource: ['projectManagement'],
|
|
233
|
+
operation: ['changeSearchEngine', 'deleteSearchEngine'],
|
|
234
|
+
},
|
|
235
|
+
},
|
|
236
|
+
default: 0,
|
|
237
|
+
description: 'Unique ID of the search engine configuration within the project',
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
displayName: 'Search Engine ID',
|
|
241
|
+
name: 'searchEngineId',
|
|
242
|
+
type: 'number',
|
|
243
|
+
required: true,
|
|
244
|
+
displayOptions: {
|
|
245
|
+
show: {
|
|
246
|
+
resource: ['projectManagement'],
|
|
247
|
+
operation: ['addSearchEngine'],
|
|
248
|
+
},
|
|
249
|
+
},
|
|
250
|
+
default: 0,
|
|
251
|
+
description: 'Search engine ID (refer to /system/search-engines)',
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
displayName: 'Additional Fields',
|
|
255
|
+
name: 'additionalFields',
|
|
256
|
+
type: 'collection',
|
|
257
|
+
placeholder: 'Add Field',
|
|
258
|
+
default: {},
|
|
259
|
+
displayOptions: {
|
|
260
|
+
show: {
|
|
261
|
+
resource: ['projectManagement'],
|
|
262
|
+
operation: ['addSearchEngine'],
|
|
263
|
+
},
|
|
264
|
+
},
|
|
265
|
+
options: searchEngineAdditionalOptions,
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
displayName: 'Update Fields',
|
|
269
|
+
name: 'updateFields',
|
|
270
|
+
type: 'collection',
|
|
271
|
+
placeholder: 'Add Field',
|
|
272
|
+
default: {},
|
|
273
|
+
displayOptions: {
|
|
274
|
+
show: {
|
|
275
|
+
resource: ['projectManagement'],
|
|
276
|
+
operation: ['changeSearchEngine'],
|
|
277
|
+
},
|
|
278
|
+
},
|
|
279
|
+
options: searchEngineAdditionalOptions,
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
displayName: 'Additional Fields',
|
|
283
|
+
name: 'additionalFields',
|
|
284
|
+
type: 'collection',
|
|
285
|
+
placeholder: 'Add Field',
|
|
286
|
+
default: {},
|
|
287
|
+
displayOptions: {
|
|
288
|
+
show: {
|
|
289
|
+
resource: ['projectManagement'],
|
|
290
|
+
operation: ['listKeywords'],
|
|
291
|
+
},
|
|
292
|
+
},
|
|
293
|
+
options: [
|
|
294
|
+
{
|
|
295
|
+
displayName: 'Site Engine ID',
|
|
296
|
+
name: 'siteEngineId',
|
|
297
|
+
type: 'number',
|
|
298
|
+
default: 0,
|
|
299
|
+
description: 'Search engine config ID. If provided, first_check_date is returned.',
|
|
300
|
+
},
|
|
301
|
+
],
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
displayName: 'Additional Fields',
|
|
305
|
+
name: 'additionalFields',
|
|
306
|
+
type: 'collection',
|
|
307
|
+
placeholder: 'Add Field',
|
|
308
|
+
default: {},
|
|
309
|
+
displayOptions: {
|
|
310
|
+
show: {
|
|
311
|
+
resource: ['projectManagement'],
|
|
312
|
+
operation: ['getPositions'],
|
|
313
|
+
},
|
|
314
|
+
},
|
|
315
|
+
options: [
|
|
316
|
+
{
|
|
317
|
+
displayName: 'Date From',
|
|
318
|
+
name: 'dateFrom',
|
|
319
|
+
type: 'string',
|
|
320
|
+
default: '',
|
|
321
|
+
placeholder: '2024-01-01',
|
|
322
|
+
description: 'Start date (YYYY-MM-DD). Defaults to one week ago.',
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
displayName: 'Date To',
|
|
326
|
+
name: 'dateTo',
|
|
327
|
+
type: 'string',
|
|
328
|
+
default: '',
|
|
329
|
+
placeholder: '2024-01-07',
|
|
330
|
+
description: 'End date (YYYY-MM-DD). Defaults to today.',
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
displayName: 'Site Engine ID',
|
|
334
|
+
name: 'siteEngineId',
|
|
335
|
+
type: 'number',
|
|
336
|
+
default: 0,
|
|
337
|
+
description: 'Search engine config ID. If omitted, all engines are returned.',
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
displayName: 'In Top',
|
|
341
|
+
name: 'inTop',
|
|
342
|
+
type: 'number',
|
|
343
|
+
default: 0,
|
|
344
|
+
description: 'Filter by ranking position (e.g. 10 = TOP 10)',
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
displayName: 'With Landing Pages',
|
|
348
|
+
name: 'withLandingPages',
|
|
349
|
+
type: 'options',
|
|
350
|
+
options: [
|
|
351
|
+
{ name: 'No', value: 0 },
|
|
352
|
+
{ name: 'Yes', value: 1 },
|
|
353
|
+
],
|
|
354
|
+
default: 0,
|
|
355
|
+
description: 'Include landing page URLs found in SERPs',
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
displayName: 'With SERP Features',
|
|
359
|
+
name: 'withSerpFeatures',
|
|
360
|
+
type: 'options',
|
|
361
|
+
options: [
|
|
362
|
+
{ name: 'No', value: 0 },
|
|
363
|
+
{ name: 'Yes', value: 1 },
|
|
364
|
+
],
|
|
365
|
+
default: 0,
|
|
366
|
+
description: 'Include detected SERP features',
|
|
367
|
+
},
|
|
368
|
+
],
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
displayName: 'Additional Fields',
|
|
372
|
+
name: 'additionalFields',
|
|
373
|
+
type: 'collection',
|
|
374
|
+
placeholder: 'Add Field',
|
|
375
|
+
default: {},
|
|
376
|
+
displayOptions: {
|
|
377
|
+
show: {
|
|
378
|
+
resource: ['projectManagement'],
|
|
379
|
+
operation: ['getAds'],
|
|
380
|
+
},
|
|
381
|
+
},
|
|
382
|
+
options: [
|
|
383
|
+
{
|
|
384
|
+
displayName: 'Date From',
|
|
385
|
+
name: 'dateFrom',
|
|
386
|
+
type: 'string',
|
|
387
|
+
default: '',
|
|
388
|
+
placeholder: '2024-01-01',
|
|
389
|
+
description: 'Start date (YYYY-MM-DD)',
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
displayName: 'Date To',
|
|
393
|
+
name: 'dateTo',
|
|
394
|
+
type: 'string',
|
|
395
|
+
default: '',
|
|
396
|
+
placeholder: '2024-01-07',
|
|
397
|
+
description: 'End date (YYYY-MM-DD)',
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
displayName: 'Site Engine IDs',
|
|
401
|
+
name: 'siteEngineIds',
|
|
402
|
+
type: 'string',
|
|
403
|
+
default: '',
|
|
404
|
+
placeholder: '1,2',
|
|
405
|
+
description: 'Comma-separated search engine config IDs',
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
displayName: 'Keyword IDs',
|
|
409
|
+
name: 'keywordsIds',
|
|
410
|
+
type: 'string',
|
|
411
|
+
default: '',
|
|
412
|
+
placeholder: '1,2,3',
|
|
413
|
+
description: 'Comma-separated keyword IDs',
|
|
414
|
+
},
|
|
415
|
+
],
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
displayName: 'Additional Fields',
|
|
419
|
+
name: 'additionalFields',
|
|
420
|
+
type: 'collection',
|
|
421
|
+
placeholder: 'Add Field',
|
|
422
|
+
default: {},
|
|
423
|
+
displayOptions: {
|
|
424
|
+
show: {
|
|
425
|
+
resource: ['projectManagement'],
|
|
426
|
+
operation: ['getHistoricalDates'],
|
|
427
|
+
},
|
|
428
|
+
},
|
|
429
|
+
options: [
|
|
430
|
+
{
|
|
431
|
+
displayName: 'Site Engine ID',
|
|
432
|
+
name: 'siteEngineId',
|
|
433
|
+
type: 'number',
|
|
434
|
+
default: 0,
|
|
435
|
+
description: 'Search engine config ID. If omitted, dates for all engines are returned.',
|
|
436
|
+
},
|
|
437
|
+
],
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
displayName: 'Keywords (JSON)',
|
|
441
|
+
name: 'keywordsJson',
|
|
442
|
+
type: 'json',
|
|
443
|
+
required: true,
|
|
444
|
+
displayOptions: {
|
|
445
|
+
show: {
|
|
446
|
+
resource: ['projectManagement'],
|
|
447
|
+
operation: ['addKeywords'],
|
|
448
|
+
},
|
|
449
|
+
},
|
|
450
|
+
default: '[{"keyword":"example keyword"}]',
|
|
451
|
+
description: 'JSON array of keyword objects. Each: { keyword (required), group_id, target_url, is_strict, comment, site_engine_ids[] }',
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
displayName: 'URL',
|
|
455
|
+
name: 'projectUrl',
|
|
456
|
+
type: 'string',
|
|
457
|
+
required: true,
|
|
458
|
+
displayOptions: {
|
|
459
|
+
show: {
|
|
460
|
+
resource: ['projectManagement'],
|
|
461
|
+
operation: ['addProject'],
|
|
462
|
+
},
|
|
463
|
+
},
|
|
464
|
+
default: '',
|
|
465
|
+
placeholder: 'https://example.com',
|
|
466
|
+
description: 'Website URL for the new project',
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
displayName: 'Title',
|
|
470
|
+
name: 'projectTitle',
|
|
471
|
+
type: 'string',
|
|
472
|
+
required: true,
|
|
473
|
+
displayOptions: {
|
|
474
|
+
show: {
|
|
475
|
+
resource: ['projectManagement'],
|
|
476
|
+
operation: ['addProject'],
|
|
477
|
+
},
|
|
478
|
+
},
|
|
479
|
+
default: '',
|
|
480
|
+
placeholder: 'My SEO Project',
|
|
481
|
+
description: 'Project name',
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
displayName: 'Additional Fields',
|
|
485
|
+
name: 'additionalFields',
|
|
486
|
+
type: 'collection',
|
|
487
|
+
placeholder: 'Add Field',
|
|
488
|
+
default: {},
|
|
489
|
+
displayOptions: {
|
|
490
|
+
show: {
|
|
491
|
+
resource: ['projectManagement'],
|
|
492
|
+
operation: ['addProject'],
|
|
493
|
+
},
|
|
494
|
+
},
|
|
495
|
+
options: [
|
|
496
|
+
{
|
|
497
|
+
displayName: 'Depth',
|
|
498
|
+
name: 'depth',
|
|
499
|
+
type: 'options',
|
|
500
|
+
options: [
|
|
501
|
+
{ name: '100', value: 100 },
|
|
502
|
+
{ name: '200', value: 200 },
|
|
503
|
+
],
|
|
504
|
+
default: 100,
|
|
505
|
+
description: 'Ranking collection depth',
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
displayName: 'Include Subdomains',
|
|
509
|
+
name: 'subdomainMatch',
|
|
510
|
+
type: 'options',
|
|
511
|
+
options: [
|
|
512
|
+
{ name: 'No', value: 0 },
|
|
513
|
+
{ name: 'Yes', value: 1 },
|
|
514
|
+
],
|
|
515
|
+
default: 0,
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
displayName: 'Exact URL Only',
|
|
519
|
+
name: 'exactUrl',
|
|
520
|
+
type: 'options',
|
|
521
|
+
options: [
|
|
522
|
+
{ name: 'No', value: 0 },
|
|
523
|
+
{ name: 'Yes', value: 1 },
|
|
524
|
+
],
|
|
525
|
+
default: 0,
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
displayName: 'Check Frequency',
|
|
529
|
+
name: 'checkFreq',
|
|
530
|
+
type: 'options',
|
|
531
|
+
options: [
|
|
532
|
+
{ name: 'Daily', value: 'check_daily' },
|
|
533
|
+
{ name: 'Every 3 Days', value: 'check_1in3' },
|
|
534
|
+
{ name: 'Weekly', value: 'check_weekly' },
|
|
535
|
+
{ name: 'Monthly', value: 'check_monthly' },
|
|
536
|
+
{ name: 'Manual', value: 'manual' },
|
|
537
|
+
],
|
|
538
|
+
default: 'check_daily',
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
displayName: 'Check Day',
|
|
542
|
+
name: 'checkDay',
|
|
543
|
+
type: 'number',
|
|
544
|
+
default: 0,
|
|
545
|
+
description: 'Day of week (1-7) for weekly or day of month (1-31) for monthly',
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
displayName: 'Group ID',
|
|
549
|
+
name: 'siteGroupId',
|
|
550
|
+
type: 'number',
|
|
551
|
+
default: 0,
|
|
552
|
+
description: 'Project group ID',
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
displayName: 'Auto Reports',
|
|
556
|
+
name: 'autoReports',
|
|
557
|
+
type: 'options',
|
|
558
|
+
options: [
|
|
559
|
+
{ name: 'No', value: 0 },
|
|
560
|
+
{ name: 'Yes', value: 1 },
|
|
561
|
+
],
|
|
562
|
+
default: 1,
|
|
563
|
+
description: 'Enable weekly reports',
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
displayName: 'Disable Audit',
|
|
567
|
+
name: 'disableAudit',
|
|
568
|
+
type: 'options',
|
|
569
|
+
options: [
|
|
570
|
+
{ name: 'No', value: 0 },
|
|
571
|
+
{ name: 'Yes', value: 1 },
|
|
572
|
+
],
|
|
573
|
+
default: 0,
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
displayName: 'Active',
|
|
577
|
+
name: 'isActive',
|
|
578
|
+
type: 'options',
|
|
579
|
+
options: [
|
|
580
|
+
{ name: 'Active', value: 1 },
|
|
581
|
+
{ name: 'Delayed', value: 0 },
|
|
582
|
+
],
|
|
583
|
+
default: 1,
|
|
584
|
+
},
|
|
585
|
+
],
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
displayName: 'Update Fields',
|
|
589
|
+
name: 'updateFields',
|
|
590
|
+
type: 'collection',
|
|
591
|
+
placeholder: 'Add Field',
|
|
592
|
+
default: {},
|
|
593
|
+
displayOptions: {
|
|
594
|
+
show: {
|
|
595
|
+
resource: ['projectManagement'],
|
|
596
|
+
operation: ['changeProject'],
|
|
597
|
+
},
|
|
598
|
+
},
|
|
599
|
+
options: [
|
|
600
|
+
{
|
|
601
|
+
displayName: 'URL',
|
|
602
|
+
name: 'url',
|
|
603
|
+
type: 'string',
|
|
604
|
+
default: '',
|
|
605
|
+
description: 'Website URL',
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
displayName: 'Title',
|
|
609
|
+
name: 'title',
|
|
610
|
+
type: 'string',
|
|
611
|
+
default: '',
|
|
612
|
+
description: 'Project name',
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
displayName: 'Depth',
|
|
616
|
+
name: 'depth',
|
|
617
|
+
type: 'options',
|
|
618
|
+
options: [
|
|
619
|
+
{ name: '100', value: 100 },
|
|
620
|
+
{ name: '200', value: 200 },
|
|
621
|
+
],
|
|
622
|
+
default: 100,
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
displayName: 'Include Subdomains',
|
|
626
|
+
name: 'subdomainMatch',
|
|
627
|
+
type: 'options',
|
|
628
|
+
options: [
|
|
629
|
+
{ name: 'No', value: 0 },
|
|
630
|
+
{ name: 'Yes', value: 1 },
|
|
631
|
+
],
|
|
632
|
+
default: 0,
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
displayName: 'Exact URL Only',
|
|
636
|
+
name: 'exactUrl',
|
|
637
|
+
type: 'options',
|
|
638
|
+
options: [
|
|
639
|
+
{ name: 'No', value: 0 },
|
|
640
|
+
{ name: 'Yes', value: 1 },
|
|
641
|
+
],
|
|
642
|
+
default: 0,
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
displayName: 'Check Frequency',
|
|
646
|
+
name: 'checkFreq',
|
|
647
|
+
type: 'options',
|
|
648
|
+
options: [
|
|
649
|
+
{ name: 'Daily', value: 'check_daily' },
|
|
650
|
+
{ name: 'Every 3 Days', value: 'check_1in3' },
|
|
651
|
+
{ name: 'Weekly', value: 'check_weekly' },
|
|
652
|
+
{ name: 'Monthly', value: 'check_monthly' },
|
|
653
|
+
{ name: 'Manual', value: 'manual' },
|
|
654
|
+
],
|
|
655
|
+
default: 'check_daily',
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
displayName: 'Check Day',
|
|
659
|
+
name: 'checkDay',
|
|
660
|
+
type: 'number',
|
|
661
|
+
default: 0,
|
|
662
|
+
description: 'Day of week (1-7) for weekly or day of month (1-31) for monthly',
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
displayName: 'Group ID',
|
|
666
|
+
name: 'siteGroupId',
|
|
667
|
+
type: 'number',
|
|
668
|
+
default: 0,
|
|
669
|
+
description: 'Project group ID',
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
displayName: 'Active',
|
|
673
|
+
name: 'isActive',
|
|
674
|
+
type: 'options',
|
|
675
|
+
options: [
|
|
676
|
+
{ name: 'Active', value: 1 },
|
|
677
|
+
{ name: 'Delayed', value: 0 },
|
|
678
|
+
],
|
|
679
|
+
default: 1,
|
|
680
|
+
},
|
|
681
|
+
],
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
displayName: 'Keyword IDs',
|
|
685
|
+
name: 'keywordIds',
|
|
686
|
+
type: 'string',
|
|
687
|
+
required: true,
|
|
688
|
+
displayOptions: {
|
|
689
|
+
show: {
|
|
690
|
+
resource: ['projectManagement'],
|
|
691
|
+
operation: ['deleteKeywords'],
|
|
692
|
+
},
|
|
693
|
+
},
|
|
694
|
+
default: '',
|
|
695
|
+
placeholder: '1,2,3',
|
|
696
|
+
description: 'Comma-separated keyword IDs to delete',
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
displayName: 'Keyword ID',
|
|
700
|
+
name: 'keywordId',
|
|
701
|
+
type: 'number',
|
|
702
|
+
required: true,
|
|
703
|
+
displayOptions: {
|
|
704
|
+
show: {
|
|
705
|
+
resource: ['projectManagement'],
|
|
706
|
+
operation: ['setManualPosition'],
|
|
707
|
+
},
|
|
708
|
+
},
|
|
709
|
+
default: 0,
|
|
710
|
+
description: 'Unique keyword ID',
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
displayName: 'Date',
|
|
714
|
+
name: 'date',
|
|
715
|
+
type: 'string',
|
|
716
|
+
required: true,
|
|
717
|
+
displayOptions: {
|
|
718
|
+
show: {
|
|
719
|
+
resource: ['projectManagement'],
|
|
720
|
+
operation: ['setManualPosition'],
|
|
721
|
+
},
|
|
722
|
+
},
|
|
723
|
+
default: '',
|
|
724
|
+
placeholder: '2024-01-01',
|
|
725
|
+
description: 'Date of the ranking record (YYYY-MM-DD)',
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
displayName: 'Site Engine ID',
|
|
729
|
+
name: 'manualSiteEngineId',
|
|
730
|
+
type: 'number',
|
|
731
|
+
required: true,
|
|
732
|
+
displayOptions: {
|
|
733
|
+
show: {
|
|
734
|
+
resource: ['projectManagement'],
|
|
735
|
+
operation: ['setManualPosition'],
|
|
736
|
+
},
|
|
737
|
+
},
|
|
738
|
+
default: 0,
|
|
739
|
+
description: 'Search engine configuration ID',
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
displayName: 'Position',
|
|
743
|
+
name: 'position',
|
|
744
|
+
type: 'number',
|
|
745
|
+
required: true,
|
|
746
|
+
displayOptions: {
|
|
747
|
+
show: {
|
|
748
|
+
resource: ['projectManagement'],
|
|
749
|
+
operation: ['setManualPosition'],
|
|
750
|
+
},
|
|
751
|
+
},
|
|
752
|
+
default: 0,
|
|
753
|
+
description: 'Position (0–200). 0 means "not found".',
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
displayName: 'Check Mode',
|
|
757
|
+
name: 'checkMode',
|
|
758
|
+
type: 'options',
|
|
759
|
+
required: true,
|
|
760
|
+
displayOptions: {
|
|
761
|
+
show: {
|
|
762
|
+
resource: ['projectManagement'],
|
|
763
|
+
operation: ['runRecheck'],
|
|
764
|
+
},
|
|
765
|
+
},
|
|
766
|
+
options: [
|
|
767
|
+
{
|
|
768
|
+
name: 'All Keywords for Engine',
|
|
769
|
+
value: 'byEngine',
|
|
770
|
+
description: 'Recheck all keywords for a specific search engine',
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
name: 'Specific Keywords',
|
|
774
|
+
value: 'byKeywords',
|
|
775
|
+
description: 'Recheck specific keyword + engine pairs',
|
|
776
|
+
},
|
|
777
|
+
],
|
|
778
|
+
default: 'byEngine',
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
displayName: 'Site Engine ID',
|
|
782
|
+
name: 'recheckSiteEngineId',
|
|
783
|
+
type: 'number',
|
|
784
|
+
required: true,
|
|
785
|
+
displayOptions: {
|
|
786
|
+
show: {
|
|
787
|
+
resource: ['projectManagement'],
|
|
788
|
+
operation: ['runRecheck'],
|
|
789
|
+
checkMode: ['byEngine'],
|
|
790
|
+
},
|
|
791
|
+
},
|
|
792
|
+
default: 0,
|
|
793
|
+
description: 'Search engine configuration ID to recheck all keywords for',
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
displayName: 'Keywords (JSON)',
|
|
797
|
+
name: 'recheckKeywords',
|
|
798
|
+
type: 'json',
|
|
799
|
+
required: true,
|
|
800
|
+
displayOptions: {
|
|
801
|
+
show: {
|
|
802
|
+
resource: ['projectManagement'],
|
|
803
|
+
operation: ['runRecheck'],
|
|
804
|
+
checkMode: ['byKeywords'],
|
|
805
|
+
},
|
|
806
|
+
},
|
|
807
|
+
default: '[{"site_engine_id":1,"keyword_id":2}]',
|
|
808
|
+
description: 'JSON array of objects: { site_engine_id, keyword_id }',
|
|
809
|
+
},
|
|
810
|
+
];
|