n8n-nodes-mangools 0.1.0

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.
@@ -0,0 +1,1599 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.mangoolsOperations = exports.MANGOOLS_BASE_URL = void 0;
4
+ exports.MANGOOLS_BASE_URL = 'https://api.mangools.com/v3';
5
+ exports.mangoolsOperations = [
6
+ {
7
+ displayName: 'Resource',
8
+ name: 'resource',
9
+ type: 'options',
10
+ noDataExpression: true,
11
+ options: [
12
+ {
13
+ name: 'Account',
14
+ value: 'account',
15
+ description: 'Quota and rate-limit state for the API key',
16
+ },
17
+ {
18
+ name: 'AI Search Watcher',
19
+ value: 'aiSearchWatcher',
20
+ description: 'Brand visibility inside AI assistant answers',
21
+ },
22
+ {
23
+ name: 'KWFinder',
24
+ value: 'kwfinder',
25
+ description: 'Keyword research: suggestions, competitor keywords and keyword difficulty',
26
+ },
27
+ {
28
+ name: 'LinkMiner',
29
+ value: 'linkminer',
30
+ description: 'Backlink discovery and link metrics',
31
+ },
32
+ {
33
+ name: 'Location',
34
+ value: 'location',
35
+ description: 'Geotargeting locations shared by every Mangools tool',
36
+ },
37
+ {
38
+ name: 'SERPChecker',
39
+ value: 'serpchecker',
40
+ description: 'Live SERP lookups and per-result SEO metrics',
41
+ },
42
+ {
43
+ name: 'SERPWatcher',
44
+ value: 'serpwatcher',
45
+ description: 'Rank tracking: trackings, tracked keywords and rank statistics',
46
+ },
47
+ {
48
+ name: 'SiteProfiler',
49
+ value: 'siteprofiler',
50
+ description: 'Domain-level SEO profile: authority, competitors, top content',
51
+ },
52
+ ],
53
+ default: 'kwfinder',
54
+ },
55
+ {
56
+ displayName: 'Operation',
57
+ name: 'operation',
58
+ type: 'options',
59
+ noDataExpression: true,
60
+ displayOptions: {
61
+ show: {
62
+ resource: [
63
+ 'account',
64
+ ],
65
+ },
66
+ },
67
+ options: [
68
+ {
69
+ name: 'Get Limits',
70
+ value: 'getLimits',
71
+ action: 'Get account limits and remaining quota',
72
+ description: 'Get remaining quota for every Mangools resource pool. Does not count towards a paid quota pool.',
73
+ routing: {
74
+ request: {
75
+ method: 'GET',
76
+ url: '/kwfinder/limits',
77
+ },
78
+ },
79
+ },
80
+ ],
81
+ default: 'getLimits',
82
+ },
83
+ {
84
+ displayName: 'Operation',
85
+ name: 'operation',
86
+ type: 'options',
87
+ noDataExpression: true,
88
+ displayOptions: {
89
+ show: {
90
+ resource: [
91
+ 'kwfinder',
92
+ ],
93
+ },
94
+ },
95
+ options: [
96
+ {
97
+ name: 'Get Competitor Domains',
98
+ value: 'getCompetitorDomains',
99
+ action: 'Get competitor domains for a URL',
100
+ description: 'Get the domains that compete with a URL in organic search. Does not count towards a paid quota pool.',
101
+ routing: {
102
+ request: {
103
+ method: 'GET',
104
+ url: '/kwfinder/competitor-domain',
105
+ },
106
+ },
107
+ },
108
+ {
109
+ name: 'Get Competitor Keywords',
110
+ value: 'getCompetitorKeywords',
111
+ action: 'Get keywords a domain ranks for',
112
+ description: 'Get the keywords a domain or URL already ranks for. Counts towards a paid quota pool.',
113
+ routing: {
114
+ request: {
115
+ method: 'GET',
116
+ url: '/kwfinder/competitor-keywords',
117
+ },
118
+ output: {
119
+ postReceive: [
120
+ {
121
+ type: 'rootProperty',
122
+ properties: {
123
+ property: 'keywords',
124
+ },
125
+ },
126
+ ],
127
+ },
128
+ },
129
+ },
130
+ {
131
+ name: 'Get Related Keywords',
132
+ value: 'getRelatedKeywords',
133
+ action: 'Get related keywords for a seed keyword',
134
+ description: 'Get keyword suggestions with search volume, CPC and difficulty for a seed keyword. Counts towards a paid quota pool.',
135
+ routing: {
136
+ request: {
137
+ method: 'GET',
138
+ url: '/kwfinder/related-keywords',
139
+ },
140
+ output: {
141
+ postReceive: [
142
+ {
143
+ type: 'rootProperty',
144
+ properties: {
145
+ property: 'keywords',
146
+ },
147
+ },
148
+ ],
149
+ },
150
+ },
151
+ },
152
+ {
153
+ name: 'Get Suggested Keywords',
154
+ value: 'getSuggestedKeywords',
155
+ action: 'Get suggested keywords for a URL',
156
+ description: 'Get keyword suggestions derived from the content of a URL. Counts towards a paid quota pool.',
157
+ routing: {
158
+ request: {
159
+ method: 'GET',
160
+ url: '/kwfinder/suggested-keywords',
161
+ },
162
+ output: {
163
+ postReceive: [
164
+ {
165
+ type: 'rootProperty',
166
+ properties: {
167
+ property: 'keywords',
168
+ },
169
+ },
170
+ ],
171
+ },
172
+ },
173
+ },
174
+ {
175
+ name: 'Get URL Difficulty Metrics',
176
+ value: 'getUrlDifficulty',
177
+ action: 'Get keyword difficulty metrics for a URL',
178
+ description: 'Get the authority and link metrics KWFinder uses to compute keyword difficulty. Counts towards a paid quota pool.',
179
+ routing: {
180
+ request: {
181
+ method: 'GET',
182
+ url: '/kwfinder/kd/url-metrics',
183
+ },
184
+ },
185
+ },
186
+ ],
187
+ default: 'getRelatedKeywords',
188
+ },
189
+ {
190
+ displayName: 'Keyword',
191
+ name: 'kw',
192
+ type: 'string',
193
+ default: '',
194
+ required: true,
195
+ displayOptions: {
196
+ show: {
197
+ resource: [
198
+ 'kwfinder',
199
+ ],
200
+ operation: [
201
+ 'getRelatedKeywords',
202
+ ],
203
+ },
204
+ },
205
+ routing: {
206
+ send: {
207
+ type: 'query',
208
+ property: 'kw',
209
+ },
210
+ },
211
+ },
212
+ {
213
+ displayName: 'Options',
214
+ name: 'options',
215
+ type: 'collection',
216
+ placeholder: 'Add option',
217
+ default: {},
218
+ displayOptions: {
219
+ show: {
220
+ resource: [
221
+ 'kwfinder',
222
+ ],
223
+ operation: [
224
+ 'getRelatedKeywords',
225
+ ],
226
+ },
227
+ },
228
+ options: [
229
+ {
230
+ displayName: 'Language ID',
231
+ name: 'languageId',
232
+ type: 'number',
233
+ default: 0,
234
+ description: 'Language ID, default 0',
235
+ routing: {
236
+ request: {
237
+ qs: {
238
+ language_id: '={{$value}}',
239
+ },
240
+ },
241
+ },
242
+ },
243
+ {
244
+ displayName: 'Location ID',
245
+ name: 'locationId',
246
+ type: 'number',
247
+ default: 0,
248
+ description: 'ID of location, default 0',
249
+ routing: {
250
+ request: {
251
+ qs: {
252
+ location_id: '={{$value}}',
253
+ },
254
+ },
255
+ },
256
+ },
257
+ ],
258
+ },
259
+ {
260
+ displayName: 'Location ID',
261
+ name: 'locationId',
262
+ type: 'number',
263
+ default: 0,
264
+ description: 'ID of location, default 0 (Anywhere)',
265
+ required: true,
266
+ displayOptions: {
267
+ show: {
268
+ resource: [
269
+ 'kwfinder',
270
+ ],
271
+ operation: [
272
+ 'getCompetitorKeywords',
273
+ ],
274
+ },
275
+ },
276
+ routing: {
277
+ send: {
278
+ type: 'query',
279
+ property: 'location_id',
280
+ },
281
+ },
282
+ },
283
+ {
284
+ displayName: 'URL',
285
+ name: 'url',
286
+ type: 'string',
287
+ default: '',
288
+ description: 'Target URL / domain / subdomain',
289
+ required: true,
290
+ displayOptions: {
291
+ show: {
292
+ resource: [
293
+ 'kwfinder',
294
+ ],
295
+ operation: [
296
+ 'getCompetitorKeywords',
297
+ ],
298
+ },
299
+ },
300
+ routing: {
301
+ send: {
302
+ type: 'query',
303
+ property: 'url',
304
+ },
305
+ },
306
+ },
307
+ {
308
+ displayName: 'URL',
309
+ name: 'url',
310
+ type: 'string',
311
+ default: '',
312
+ description: 'Target URL / domain / subdomain',
313
+ placeholder: 'e.g. mangools.com',
314
+ required: true,
315
+ displayOptions: {
316
+ show: {
317
+ resource: [
318
+ 'kwfinder',
319
+ ],
320
+ operation: [
321
+ 'getSuggestedKeywords',
322
+ ],
323
+ },
324
+ },
325
+ routing: {
326
+ send: {
327
+ type: 'query',
328
+ property: 'url',
329
+ },
330
+ },
331
+ },
332
+ {
333
+ displayName: 'Location ID',
334
+ name: 'locationId',
335
+ type: 'number',
336
+ default: 0,
337
+ description: 'ID of location',
338
+ required: true,
339
+ displayOptions: {
340
+ show: {
341
+ resource: [
342
+ 'kwfinder',
343
+ ],
344
+ operation: [
345
+ 'getSuggestedKeywords',
346
+ ],
347
+ },
348
+ },
349
+ routing: {
350
+ send: {
351
+ type: 'query',
352
+ property: 'location_id',
353
+ },
354
+ },
355
+ },
356
+ {
357
+ displayName: 'URL',
358
+ name: 'url',
359
+ type: 'string',
360
+ default: '',
361
+ description: 'Target URL / domain / subdomain',
362
+ placeholder: 'e.g. mangools.com',
363
+ required: true,
364
+ displayOptions: {
365
+ show: {
366
+ resource: [
367
+ 'kwfinder',
368
+ ],
369
+ operation: [
370
+ 'getCompetitorDomains',
371
+ ],
372
+ },
373
+ },
374
+ routing: {
375
+ send: {
376
+ type: 'query',
377
+ property: 'url',
378
+ },
379
+ },
380
+ },
381
+ {
382
+ displayName: 'Location ID',
383
+ name: 'locationId',
384
+ type: 'number',
385
+ default: 0,
386
+ description: 'ID of location',
387
+ required: true,
388
+ displayOptions: {
389
+ show: {
390
+ resource: [
391
+ 'kwfinder',
392
+ ],
393
+ operation: [
394
+ 'getCompetitorDomains',
395
+ ],
396
+ },
397
+ },
398
+ routing: {
399
+ send: {
400
+ type: 'query',
401
+ property: 'location_id',
402
+ },
403
+ },
404
+ },
405
+ {
406
+ displayName: 'URL',
407
+ name: 'url',
408
+ type: 'string',
409
+ default: '',
410
+ description: 'Target URL',
411
+ required: true,
412
+ displayOptions: {
413
+ show: {
414
+ resource: [
415
+ 'kwfinder',
416
+ ],
417
+ operation: [
418
+ 'getUrlDifficulty',
419
+ ],
420
+ },
421
+ },
422
+ routing: {
423
+ send: {
424
+ type: 'query',
425
+ property: 'url',
426
+ },
427
+ },
428
+ },
429
+ {
430
+ displayName: 'Operation',
431
+ name: 'operation',
432
+ type: 'options',
433
+ noDataExpression: true,
434
+ displayOptions: {
435
+ show: {
436
+ resource: [
437
+ 'serpchecker',
438
+ ],
439
+ },
440
+ },
441
+ options: [
442
+ {
443
+ name: 'Get SERP',
444
+ value: 'getSerp',
445
+ action: 'Get the SERP for a keyword',
446
+ description: 'Get the live search results for a keyword with SEO metrics for every result. Counts towards a paid quota pool.',
447
+ routing: {
448
+ request: {
449
+ method: 'GET',
450
+ url: '/serpchecker/serps',
451
+ },
452
+ },
453
+ },
454
+ {
455
+ name: 'Get URL Metrics',
456
+ value: 'getUrlMetrics',
457
+ action: 'Get SEO metrics for a URL',
458
+ description: 'Get authority, trust and link metrics for a single URL. Counts towards a paid quota pool.',
459
+ routing: {
460
+ request: {
461
+ method: 'GET',
462
+ url: '/serpchecker/url-metrics',
463
+ },
464
+ },
465
+ },
466
+ ],
467
+ default: 'getSerp',
468
+ },
469
+ {
470
+ displayName: 'Location ID',
471
+ name: 'locationId',
472
+ type: 'number',
473
+ default: 0,
474
+ description: 'Location ID. 0 or no value means 2840 (United States).',
475
+ required: true,
476
+ displayOptions: {
477
+ show: {
478
+ resource: [
479
+ 'serpchecker',
480
+ ],
481
+ operation: [
482
+ 'getSerp',
483
+ ],
484
+ },
485
+ },
486
+ routing: {
487
+ send: {
488
+ type: 'query',
489
+ property: 'location_id',
490
+ },
491
+ },
492
+ },
493
+ {
494
+ displayName: 'Keyword',
495
+ name: 'kw',
496
+ type: 'string',
497
+ default: '',
498
+ required: true,
499
+ displayOptions: {
500
+ show: {
501
+ resource: [
502
+ 'serpchecker',
503
+ ],
504
+ operation: [
505
+ 'getSerp',
506
+ ],
507
+ },
508
+ },
509
+ routing: {
510
+ send: {
511
+ type: 'query',
512
+ property: 'kw',
513
+ },
514
+ },
515
+ },
516
+ {
517
+ displayName: 'Options',
518
+ name: 'options',
519
+ type: 'collection',
520
+ placeholder: 'Add option',
521
+ default: {},
522
+ displayOptions: {
523
+ show: {
524
+ resource: [
525
+ 'serpchecker',
526
+ ],
527
+ operation: [
528
+ 'getSerp',
529
+ ],
530
+ },
531
+ },
532
+ options: [
533
+ {
534
+ displayName: 'Platform ID',
535
+ name: 'platformId',
536
+ type: 'options',
537
+ default: 1,
538
+ description: 'Platform: 1 = desktop (default), 2 = mobile',
539
+ options: [
540
+ {
541
+ name: 'Desktop',
542
+ value: 1,
543
+ },
544
+ {
545
+ name: 'Mobile',
546
+ value: 2,
547
+ },
548
+ ],
549
+ routing: {
550
+ request: {
551
+ qs: {
552
+ platform_id: '={{$value}}',
553
+ },
554
+ },
555
+ },
556
+ },
557
+ ],
558
+ },
559
+ {
560
+ displayName: 'URL',
561
+ name: 'url',
562
+ type: 'string',
563
+ default: '',
564
+ description: 'Target URL',
565
+ required: true,
566
+ displayOptions: {
567
+ show: {
568
+ resource: [
569
+ 'serpchecker',
570
+ ],
571
+ operation: [
572
+ 'getUrlMetrics',
573
+ ],
574
+ },
575
+ },
576
+ routing: {
577
+ send: {
578
+ type: 'query',
579
+ property: 'url',
580
+ },
581
+ },
582
+ },
583
+ {
584
+ displayName: 'Operation',
585
+ name: 'operation',
586
+ type: 'options',
587
+ noDataExpression: true,
588
+ displayOptions: {
589
+ show: {
590
+ resource: [
591
+ 'serpwatcher',
592
+ ],
593
+ },
594
+ },
595
+ options: [
596
+ {
597
+ name: 'Get Many Tracked Keywords',
598
+ value: 'getManyTrackedKeywords',
599
+ action: 'Get many tracked keywords',
600
+ description: 'Get the tracked keywords of one tracking with their current ranks. Does not count towards a paid quota pool.',
601
+ routing: {
602
+ request: {
603
+ method: 'GET',
604
+ url: '=/serpwatcher/trackings/{{$parameter["trackingId"]}}/tracked-keywords',
605
+ },
606
+ },
607
+ },
608
+ {
609
+ name: 'Get Many Trackings',
610
+ value: 'getManyTrackings',
611
+ action: 'Get many rank trackings',
612
+ description: 'Get every rank tracking on the account. Does not count towards a paid quota pool.',
613
+ routing: {
614
+ request: {
615
+ method: 'GET',
616
+ url: '/serpwatcher/trackings',
617
+ },
618
+ },
619
+ },
620
+ {
621
+ name: 'Get Tracking Detail',
622
+ value: 'getTrackingDetail',
623
+ action: 'Get a rank tracking with its keywords',
624
+ description: 'Get one tracking together with its keywords and their rank history. Does not count towards a paid quota pool.',
625
+ routing: {
626
+ request: {
627
+ method: 'GET',
628
+ url: '=/serpwatcher/trackings/{{$parameter["trackingId"]}}/detail',
629
+ },
630
+ },
631
+ },
632
+ {
633
+ name: 'Get Tracking Stats',
634
+ value: 'getTrackingStats',
635
+ action: 'Get rank statistics for a tracking',
636
+ description: 'Get aggregated rank statistics for a tracking over a date range. Does not count towards a paid quota pool.',
637
+ routing: {
638
+ request: {
639
+ method: 'POST',
640
+ url: '=/serpwatcher/trackings/{{$parameter["trackingId"]}}/stats',
641
+ },
642
+ },
643
+ },
644
+ ],
645
+ default: 'getManyTrackings',
646
+ },
647
+ {
648
+ displayName: 'Options',
649
+ name: 'options',
650
+ type: 'collection',
651
+ placeholder: 'Add option',
652
+ default: {},
653
+ displayOptions: {
654
+ show: {
655
+ resource: [
656
+ 'serpwatcher',
657
+ ],
658
+ operation: [
659
+ 'getManyTrackings',
660
+ ],
661
+ },
662
+ },
663
+ options: [
664
+ {
665
+ displayName: 'From',
666
+ name: 'from',
667
+ type: 'string',
668
+ default: '',
669
+ description: 'Filter from date',
670
+ routing: {
671
+ request: {
672
+ qs: {
673
+ from: '={{$value}}',
674
+ },
675
+ },
676
+ },
677
+ },
678
+ {
679
+ displayName: 'Include Deleted',
680
+ name: 'isWithDeleted',
681
+ type: 'string',
682
+ default: '',
683
+ description: 'Set if return also deleted trackings',
684
+ routing: {
685
+ request: {
686
+ qs: {
687
+ is_with_deleted: '={{$value}}',
688
+ },
689
+ },
690
+ },
691
+ },
692
+ {
693
+ displayName: 'To',
694
+ name: 'to',
695
+ type: 'string',
696
+ default: '',
697
+ description: 'Filter to date',
698
+ routing: {
699
+ request: {
700
+ qs: {
701
+ to: '={{$value}}',
702
+ },
703
+ },
704
+ },
705
+ },
706
+ ],
707
+ },
708
+ {
709
+ displayName: 'Tracking ID',
710
+ name: 'trackingId',
711
+ type: 'string',
712
+ default: '',
713
+ required: true,
714
+ displayOptions: {
715
+ show: {
716
+ resource: [
717
+ 'serpwatcher',
718
+ ],
719
+ operation: [
720
+ 'getTrackingDetail',
721
+ ],
722
+ },
723
+ },
724
+ },
725
+ {
726
+ displayName: 'Options',
727
+ name: 'options',
728
+ type: 'collection',
729
+ placeholder: 'Add option',
730
+ default: {},
731
+ displayOptions: {
732
+ show: {
733
+ resource: [
734
+ 'serpwatcher',
735
+ ],
736
+ operation: [
737
+ 'getTrackingDetail',
738
+ ],
739
+ },
740
+ },
741
+ options: [
742
+ {
743
+ displayName: 'From',
744
+ name: 'from',
745
+ type: 'string',
746
+ default: '',
747
+ description: 'Has no effect on the response',
748
+ routing: {
749
+ request: {
750
+ qs: {
751
+ from: '={{$value}}',
752
+ },
753
+ },
754
+ },
755
+ },
756
+ {
757
+ displayName: 'Include Deleted',
758
+ name: 'isWithDeleted',
759
+ type: 'string',
760
+ default: '',
761
+ description: 'Ability to return deleted kws',
762
+ routing: {
763
+ request: {
764
+ qs: {
765
+ is_with_deleted: '={{$value}}',
766
+ },
767
+ },
768
+ },
769
+ },
770
+ {
771
+ displayName: 'To',
772
+ name: 'to',
773
+ type: 'string',
774
+ default: '',
775
+ description: 'Filter to date',
776
+ routing: {
777
+ request: {
778
+ qs: {
779
+ to: '={{$value}}',
780
+ },
781
+ },
782
+ },
783
+ },
784
+ ],
785
+ },
786
+ {
787
+ displayName: 'Tracking ID',
788
+ name: 'trackingId',
789
+ type: 'string',
790
+ default: '',
791
+ description: 'ID of tracking',
792
+ required: true,
793
+ displayOptions: {
794
+ show: {
795
+ resource: [
796
+ 'serpwatcher',
797
+ ],
798
+ operation: [
799
+ 'getManyTrackedKeywords',
800
+ ],
801
+ },
802
+ },
803
+ },
804
+ {
805
+ displayName: 'Options',
806
+ name: 'options',
807
+ type: 'collection',
808
+ placeholder: 'Add option',
809
+ default: {},
810
+ displayOptions: {
811
+ show: {
812
+ resource: [
813
+ 'serpwatcher',
814
+ ],
815
+ operation: [
816
+ 'getManyTrackedKeywords',
817
+ ],
818
+ },
819
+ },
820
+ options: [
821
+ {
822
+ displayName: 'Fields',
823
+ name: 'fields',
824
+ type: 'string',
825
+ default: '',
826
+ description: 'Filter of attributes for returned objects. Specify in format (separate with comma): tracking_id,keyword_id,kw,location_id,platform_id,rank,sv,active,history.',
827
+ routing: {
828
+ request: {
829
+ qs: {
830
+ fields: '={{$value}}',
831
+ },
832
+ },
833
+ },
834
+ },
835
+ ],
836
+ },
837
+ {
838
+ displayName: 'Tracking ID',
839
+ name: 'trackingId',
840
+ type: 'string',
841
+ default: '',
842
+ required: true,
843
+ displayOptions: {
844
+ show: {
845
+ resource: [
846
+ 'serpwatcher',
847
+ ],
848
+ operation: [
849
+ 'getTrackingStats',
850
+ ],
851
+ },
852
+ },
853
+ },
854
+ {
855
+ displayName: 'Options',
856
+ name: 'options',
857
+ type: 'collection',
858
+ placeholder: 'Add option',
859
+ default: {},
860
+ displayOptions: {
861
+ show: {
862
+ resource: [
863
+ 'serpwatcher',
864
+ ],
865
+ operation: [
866
+ 'getTrackingStats',
867
+ ],
868
+ },
869
+ },
870
+ options: [
871
+ {
872
+ displayName: 'From',
873
+ name: 'from',
874
+ type: 'string',
875
+ default: '',
876
+ description: 'Filter from date',
877
+ routing: {
878
+ request: {
879
+ qs: {
880
+ from: '={{$value}}',
881
+ },
882
+ },
883
+ },
884
+ },
885
+ {
886
+ displayName: 'Keyword IDs',
887
+ name: 'kwIds',
888
+ type: 'string',
889
+ typeOptions: {
890
+ multipleValues: true,
891
+ },
892
+ default: [],
893
+ description: 'Restrict the statistics to these tracked keyword IDs. Omit to cover every keyword in the tracking.',
894
+ routing: {
895
+ request: {
896
+ body: {
897
+ kwIds: '={{$value}}',
898
+ },
899
+ },
900
+ },
901
+ },
902
+ {
903
+ displayName: 'To',
904
+ name: 'to',
905
+ type: 'string',
906
+ default: '',
907
+ description: 'Filter to date',
908
+ routing: {
909
+ request: {
910
+ qs: {
911
+ to: '={{$value}}',
912
+ },
913
+ },
914
+ },
915
+ },
916
+ ],
917
+ },
918
+ {
919
+ displayName: 'Operation',
920
+ name: 'operation',
921
+ type: 'options',
922
+ noDataExpression: true,
923
+ displayOptions: {
924
+ show: {
925
+ resource: [
926
+ 'aiSearchWatcher',
927
+ ],
928
+ },
929
+ },
930
+ options: [
931
+ {
932
+ name: 'Get Many Models',
933
+ value: 'getManyModels',
934
+ action: 'Get many AI models',
935
+ description: 'Get the AI models available to monitor. Does not count towards a paid quota pool.',
936
+ routing: {
937
+ request: {
938
+ method: 'GET',
939
+ url: '/aiwatcher/models',
940
+ },
941
+ output: {
942
+ postReceive: [
943
+ {
944
+ type: 'rootProperty',
945
+ properties: {
946
+ property: 'models',
947
+ },
948
+ },
949
+ ],
950
+ },
951
+ },
952
+ },
953
+ {
954
+ name: 'Get Many Monitor Prompts',
955
+ value: 'getManyMonitorPrompts',
956
+ action: 'Get many prompts of an AI monitor',
957
+ description: 'Get the prompts a monitor asks the AI models. Does not count towards a paid quota pool.',
958
+ routing: {
959
+ request: {
960
+ method: 'GET',
961
+ url: '=/aiwatcher/monitor/{{$parameter["id"]}}/prompts',
962
+ },
963
+ },
964
+ },
965
+ {
966
+ name: 'Get Many Monitors',
967
+ value: 'getManyMonitors',
968
+ action: 'Get many AI monitors',
969
+ description: 'Get every AI Search Watcher monitor on the account. Does not count towards a paid quota pool.',
970
+ routing: {
971
+ request: {
972
+ method: 'GET',
973
+ url: '/aiwatcher/monitors',
974
+ },
975
+ output: {
976
+ postReceive: [
977
+ {
978
+ type: 'rootProperty',
979
+ properties: {
980
+ property: 'monitors',
981
+ },
982
+ },
983
+ ],
984
+ },
985
+ },
986
+ },
987
+ {
988
+ name: 'Get Monitor',
989
+ value: 'getMonitor',
990
+ action: 'Get an AI monitor',
991
+ description: 'Get one monitor with its visibility history and aggregated stats. Does not count towards a paid quota pool.',
992
+ routing: {
993
+ request: {
994
+ method: 'GET',
995
+ url: '=/aiwatcher/monitor/{{$parameter["id"]}}',
996
+ },
997
+ },
998
+ },
999
+ {
1000
+ name: 'Get Prompt',
1001
+ value: 'getPrompt',
1002
+ action: 'Get an AI monitor prompt',
1003
+ description: 'Get one prompt with its per-model metrics, cited domains and time series. Does not count towards a paid quota pool.',
1004
+ routing: {
1005
+ request: {
1006
+ method: 'GET',
1007
+ url: '=/aiwatcher/prompt/{{$parameter["id"]}}',
1008
+ },
1009
+ },
1010
+ },
1011
+ ],
1012
+ default: 'getManyMonitors',
1013
+ },
1014
+ {
1015
+ displayName: 'Monitor ID',
1016
+ name: 'id',
1017
+ type: 'string',
1018
+ default: '',
1019
+ required: true,
1020
+ displayOptions: {
1021
+ show: {
1022
+ resource: [
1023
+ 'aiSearchWatcher',
1024
+ ],
1025
+ operation: [
1026
+ 'getMonitor',
1027
+ ],
1028
+ },
1029
+ },
1030
+ },
1031
+ {
1032
+ displayName: 'Options',
1033
+ name: 'options',
1034
+ type: 'collection',
1035
+ placeholder: 'Add option',
1036
+ default: {},
1037
+ displayOptions: {
1038
+ show: {
1039
+ resource: [
1040
+ 'aiSearchWatcher',
1041
+ ],
1042
+ operation: [
1043
+ 'getMonitor',
1044
+ ],
1045
+ },
1046
+ },
1047
+ options: [
1048
+ {
1049
+ displayName: 'From',
1050
+ name: 'from',
1051
+ type: 'string',
1052
+ default: '',
1053
+ description: 'Start date for data range',
1054
+ routing: {
1055
+ request: {
1056
+ qs: {
1057
+ from: '={{$value}}',
1058
+ },
1059
+ },
1060
+ },
1061
+ },
1062
+ {
1063
+ displayName: 'Models',
1064
+ name: 'models',
1065
+ type: 'string',
1066
+ default: '',
1067
+ description: 'Comma-separated model IDs (0 means all models overview)',
1068
+ routing: {
1069
+ request: {
1070
+ qs: {
1071
+ models: '={{$value}}',
1072
+ },
1073
+ },
1074
+ },
1075
+ },
1076
+ {
1077
+ displayName: 'To',
1078
+ name: 'to',
1079
+ type: 'string',
1080
+ default: '',
1081
+ description: 'End date for data range',
1082
+ routing: {
1083
+ request: {
1084
+ qs: {
1085
+ to: '={{$value}}',
1086
+ },
1087
+ },
1088
+ },
1089
+ },
1090
+ ],
1091
+ },
1092
+ {
1093
+ displayName: 'Monitor ID',
1094
+ name: 'id',
1095
+ type: 'string',
1096
+ default: '',
1097
+ required: true,
1098
+ displayOptions: {
1099
+ show: {
1100
+ resource: [
1101
+ 'aiSearchWatcher',
1102
+ ],
1103
+ operation: [
1104
+ 'getManyMonitorPrompts',
1105
+ ],
1106
+ },
1107
+ },
1108
+ },
1109
+ {
1110
+ displayName: 'Prompt ID',
1111
+ name: 'id',
1112
+ type: 'string',
1113
+ default: '',
1114
+ required: true,
1115
+ displayOptions: {
1116
+ show: {
1117
+ resource: [
1118
+ 'aiSearchWatcher',
1119
+ ],
1120
+ operation: [
1121
+ 'getPrompt',
1122
+ ],
1123
+ },
1124
+ },
1125
+ },
1126
+ {
1127
+ displayName: 'Options',
1128
+ name: 'options',
1129
+ type: 'collection',
1130
+ placeholder: 'Add option',
1131
+ default: {},
1132
+ displayOptions: {
1133
+ show: {
1134
+ resource: [
1135
+ 'aiSearchWatcher',
1136
+ ],
1137
+ operation: [
1138
+ 'getPrompt',
1139
+ ],
1140
+ },
1141
+ },
1142
+ options: [
1143
+ {
1144
+ displayName: 'From',
1145
+ name: 'from',
1146
+ type: 'string',
1147
+ default: '',
1148
+ description: 'Start date for metrics (YYYY-MM-DD)',
1149
+ routing: {
1150
+ request: {
1151
+ qs: {
1152
+ from: '={{$value}}',
1153
+ },
1154
+ },
1155
+ },
1156
+ },
1157
+ {
1158
+ displayName: 'Models',
1159
+ name: 'models',
1160
+ type: 'string',
1161
+ default: '',
1162
+ description: 'Comma-separated model IDs, or 0 for all models',
1163
+ routing: {
1164
+ request: {
1165
+ qs: {
1166
+ models: '={{$value}}',
1167
+ },
1168
+ },
1169
+ },
1170
+ },
1171
+ {
1172
+ displayName: 'To',
1173
+ name: 'to',
1174
+ type: 'string',
1175
+ default: '',
1176
+ description: 'End date for metrics (YYYY-MM-DD)',
1177
+ routing: {
1178
+ request: {
1179
+ qs: {
1180
+ to: '={{$value}}',
1181
+ },
1182
+ },
1183
+ },
1184
+ },
1185
+ ],
1186
+ },
1187
+ {
1188
+ displayName: 'Operation',
1189
+ name: 'operation',
1190
+ type: 'options',
1191
+ noDataExpression: true,
1192
+ displayOptions: {
1193
+ show: {
1194
+ resource: [
1195
+ 'linkminer',
1196
+ ],
1197
+ },
1198
+ },
1199
+ options: [
1200
+ {
1201
+ name: 'Get Many Backlinks',
1202
+ value: 'getManyBacklinks',
1203
+ action: 'Get many backlinks for a URL',
1204
+ description: 'Get the backlinks pointing at a URL or domain. Counts towards a paid quota pool.',
1205
+ routing: {
1206
+ request: {
1207
+ method: 'GET',
1208
+ url: '/linkminer/links',
1209
+ },
1210
+ output: {
1211
+ postReceive: [
1212
+ {
1213
+ type: 'rootProperty',
1214
+ properties: {
1215
+ property: 'links',
1216
+ },
1217
+ },
1218
+ ],
1219
+ },
1220
+ },
1221
+ },
1222
+ {
1223
+ name: 'Get URL Metrics',
1224
+ value: 'getUrlMetrics',
1225
+ action: 'Get link metrics for a URL',
1226
+ description: 'Get link and authority metrics for a single URL. Counts towards a paid quota pool.',
1227
+ routing: {
1228
+ request: {
1229
+ method: 'GET',
1230
+ url: '/linkminer/url-metrics',
1231
+ },
1232
+ },
1233
+ },
1234
+ ],
1235
+ default: 'getManyBacklinks',
1236
+ },
1237
+ {
1238
+ displayName: 'URL',
1239
+ name: 'url',
1240
+ type: 'string',
1241
+ default: '',
1242
+ description: 'The URL, domain or path that we will return backlinks for',
1243
+ required: true,
1244
+ displayOptions: {
1245
+ show: {
1246
+ resource: [
1247
+ 'linkminer',
1248
+ ],
1249
+ operation: [
1250
+ 'getManyBacklinks',
1251
+ ],
1252
+ },
1253
+ },
1254
+ routing: {
1255
+ send: {
1256
+ type: 'query',
1257
+ property: 'url',
1258
+ },
1259
+ },
1260
+ },
1261
+ {
1262
+ displayName: 'Source',
1263
+ name: 'source',
1264
+ type: 'number',
1265
+ default: 0,
1266
+ description: '0 - all (default) 1 - new 2 - lost',
1267
+ required: true,
1268
+ displayOptions: {
1269
+ show: {
1270
+ resource: [
1271
+ 'linkminer',
1272
+ ],
1273
+ operation: [
1274
+ 'getManyBacklinks',
1275
+ ],
1276
+ },
1277
+ },
1278
+ routing: {
1279
+ send: {
1280
+ type: 'query',
1281
+ property: 'source',
1282
+ },
1283
+ },
1284
+ },
1285
+ {
1286
+ displayName: 'Page',
1287
+ name: 'page',
1288
+ type: 'number',
1289
+ default: 0,
1290
+ description: 'Page number, starting at 0. Each page holds up to 500 links.',
1291
+ required: true,
1292
+ displayOptions: {
1293
+ show: {
1294
+ resource: [
1295
+ 'linkminer',
1296
+ ],
1297
+ operation: [
1298
+ 'getManyBacklinks',
1299
+ ],
1300
+ },
1301
+ },
1302
+ routing: {
1303
+ send: {
1304
+ type: 'query',
1305
+ property: 'page',
1306
+ },
1307
+ },
1308
+ },
1309
+ {
1310
+ displayName: 'Links Per Domain',
1311
+ name: 'linksPerDomain',
1312
+ type: 'number',
1313
+ default: 0,
1314
+ description: 'How many backlinks from one referring domain should be returned. 0 for all backlinks from the ref. domain. 1 for one backlink per ref. domain.',
1315
+ required: true,
1316
+ displayOptions: {
1317
+ show: {
1318
+ resource: [
1319
+ 'linkminer',
1320
+ ],
1321
+ operation: [
1322
+ 'getManyBacklinks',
1323
+ ],
1324
+ },
1325
+ },
1326
+ routing: {
1327
+ send: {
1328
+ type: 'query',
1329
+ property: 'links_per_domain',
1330
+ },
1331
+ },
1332
+ },
1333
+ {
1334
+ displayName: 'URL',
1335
+ name: 'url',
1336
+ type: 'string',
1337
+ default: '',
1338
+ description: 'Target URL',
1339
+ required: true,
1340
+ displayOptions: {
1341
+ show: {
1342
+ resource: [
1343
+ 'linkminer',
1344
+ ],
1345
+ operation: [
1346
+ 'getUrlMetrics',
1347
+ ],
1348
+ },
1349
+ },
1350
+ routing: {
1351
+ send: {
1352
+ type: 'query',
1353
+ property: 'url',
1354
+ },
1355
+ },
1356
+ },
1357
+ {
1358
+ displayName: 'Operation',
1359
+ name: 'operation',
1360
+ type: 'options',
1361
+ noDataExpression: true,
1362
+ displayOptions: {
1363
+ show: {
1364
+ resource: [
1365
+ 'siteprofiler',
1366
+ ],
1367
+ },
1368
+ },
1369
+ options: [
1370
+ {
1371
+ name: 'Get Backlink Profile',
1372
+ value: 'getBacklinkProfile',
1373
+ action: 'Get the backlink profile of a domain',
1374
+ description: 'Get the aggregated backlink profile of a domain. Does not count towards a paid quota pool.',
1375
+ routing: {
1376
+ request: {
1377
+ method: 'GET',
1378
+ url: '/siteprofiler/backlink-profile',
1379
+ },
1380
+ },
1381
+ },
1382
+ {
1383
+ name: 'Get Many Competitors',
1384
+ value: 'getManyCompetitors',
1385
+ action: 'Get many competitors of a domain',
1386
+ description: 'Get the domains that compete with a domain in organic search. Does not count towards a paid quota pool.',
1387
+ routing: {
1388
+ request: {
1389
+ method: 'GET',
1390
+ url: '/siteprofiler/competitors',
1391
+ },
1392
+ },
1393
+ },
1394
+ {
1395
+ name: 'Get Many Top Content',
1396
+ value: 'getManyTopContent',
1397
+ action: 'Get the top content of a domain',
1398
+ description: 'Get the best performing pages of a domain. Does not count towards a paid quota pool.',
1399
+ routing: {
1400
+ request: {
1401
+ method: 'GET',
1402
+ url: '/siteprofiler/top-content',
1403
+ },
1404
+ },
1405
+ },
1406
+ {
1407
+ name: 'Get Overview',
1408
+ value: 'getOverview',
1409
+ action: 'Get the SEO overview of a domain',
1410
+ description: 'Get authority, trust and traffic metrics for a domain. Counts towards a paid quota pool.',
1411
+ routing: {
1412
+ request: {
1413
+ method: 'GET',
1414
+ url: '/siteprofiler/overview',
1415
+ },
1416
+ },
1417
+ },
1418
+ ],
1419
+ default: 'getOverview',
1420
+ },
1421
+ {
1422
+ displayName: 'URL',
1423
+ name: 'url',
1424
+ type: 'string',
1425
+ default: '',
1426
+ description: 'Target URL / domain / subdomain',
1427
+ required: true,
1428
+ displayOptions: {
1429
+ show: {
1430
+ resource: [
1431
+ 'siteprofiler',
1432
+ ],
1433
+ operation: [
1434
+ 'getOverview',
1435
+ ],
1436
+ },
1437
+ },
1438
+ routing: {
1439
+ send: {
1440
+ type: 'query',
1441
+ property: 'url',
1442
+ },
1443
+ },
1444
+ },
1445
+ {
1446
+ displayName: 'URL',
1447
+ name: 'url',
1448
+ type: 'string',
1449
+ default: '',
1450
+ description: 'Target URL / domain / subdomain',
1451
+ required: true,
1452
+ displayOptions: {
1453
+ show: {
1454
+ resource: [
1455
+ 'siteprofiler',
1456
+ ],
1457
+ operation: [
1458
+ 'getManyCompetitors',
1459
+ ],
1460
+ },
1461
+ },
1462
+ routing: {
1463
+ send: {
1464
+ type: 'query',
1465
+ property: 'url',
1466
+ },
1467
+ },
1468
+ },
1469
+ {
1470
+ displayName: 'URL',
1471
+ name: 'url',
1472
+ type: 'string',
1473
+ default: '',
1474
+ description: 'Target URL / domain / subdomain',
1475
+ required: true,
1476
+ displayOptions: {
1477
+ show: {
1478
+ resource: [
1479
+ 'siteprofiler',
1480
+ ],
1481
+ operation: [
1482
+ 'getBacklinkProfile',
1483
+ ],
1484
+ },
1485
+ },
1486
+ routing: {
1487
+ send: {
1488
+ type: 'query',
1489
+ property: 'url',
1490
+ },
1491
+ },
1492
+ },
1493
+ {
1494
+ displayName: 'URL',
1495
+ name: 'url',
1496
+ type: 'string',
1497
+ default: '',
1498
+ description: 'Target URL / domain / subdomain',
1499
+ required: true,
1500
+ displayOptions: {
1501
+ show: {
1502
+ resource: [
1503
+ 'siteprofiler',
1504
+ ],
1505
+ operation: [
1506
+ 'getManyTopContent',
1507
+ ],
1508
+ },
1509
+ },
1510
+ routing: {
1511
+ send: {
1512
+ type: 'query',
1513
+ property: 'url',
1514
+ },
1515
+ },
1516
+ },
1517
+ {
1518
+ displayName: 'Operation',
1519
+ name: 'operation',
1520
+ type: 'options',
1521
+ noDataExpression: true,
1522
+ displayOptions: {
1523
+ show: {
1524
+ resource: [
1525
+ 'location',
1526
+ ],
1527
+ },
1528
+ },
1529
+ options: [
1530
+ {
1531
+ name: 'Get',
1532
+ value: 'get',
1533
+ action: 'Get a geotargeting location',
1534
+ description: 'Get one geotargeting location by its ID. Does not count towards a paid quota pool.',
1535
+ routing: {
1536
+ request: {
1537
+ method: 'GET',
1538
+ url: '=/mangools/locations/{{$parameter["location"]}}',
1539
+ },
1540
+ },
1541
+ },
1542
+ {
1543
+ name: 'Search',
1544
+ value: 'search',
1545
+ action: 'Search geotargeting locations',
1546
+ description: 'Search geotargeting locations by name to find a location ID. Does not count towards a paid quota pool.',
1547
+ routing: {
1548
+ request: {
1549
+ method: 'GET',
1550
+ url: '/mangools/locations',
1551
+ },
1552
+ },
1553
+ },
1554
+ ],
1555
+ default: 'search',
1556
+ },
1557
+ {
1558
+ displayName: 'Query',
1559
+ name: 'query',
1560
+ type: 'string',
1561
+ default: '',
1562
+ description: 'Name of location',
1563
+ required: true,
1564
+ displayOptions: {
1565
+ show: {
1566
+ resource: [
1567
+ 'location',
1568
+ ],
1569
+ operation: [
1570
+ 'search',
1571
+ ],
1572
+ },
1573
+ },
1574
+ routing: {
1575
+ send: {
1576
+ type: 'query',
1577
+ property: 'query',
1578
+ },
1579
+ },
1580
+ },
1581
+ {
1582
+ displayName: 'Location ID',
1583
+ name: 'location',
1584
+ type: 'number',
1585
+ default: 0,
1586
+ required: true,
1587
+ displayOptions: {
1588
+ show: {
1589
+ resource: [
1590
+ 'location',
1591
+ ],
1592
+ operation: [
1593
+ 'get',
1594
+ ],
1595
+ },
1596
+ },
1597
+ },
1598
+ ];
1599
+ //# sourceMappingURL=GeneratedOperations.js.map