dataforseo-client 1.0.10 → 1.0.12
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/main.d.ts +1018 -480
- package/main.js +958 -450
- package/main.js.map +1 -1
- package/main.ts +1961 -943
- package/package.json +1 -1
package/main.ts
CHANGED
|
@@ -11940,6 +11940,48 @@ export class BacklinksApi {
|
|
|
11940
11940
|
}
|
|
11941
11941
|
return Promise.resolve<BacklinksBulkNewLostReferringDomainsLiveResponseInfo | null>(null as any);
|
|
11942
11942
|
}
|
|
11943
|
+
|
|
11944
|
+
/**
|
|
11945
|
+
* @param body (optional)
|
|
11946
|
+
* @return Successful operation
|
|
11947
|
+
*/
|
|
11948
|
+
bulkPagesSummaryLive(body: (BacklinksBulkPagesSummaryLiveRequestInfo | undefined)[] | undefined): Promise<BacklinksBulkPagesSummaryLiveResponseInfo | null> {
|
|
11949
|
+
let url_ = this.baseUrl + "/v3/backlinks/bulk_pages_summary/live";
|
|
11950
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
11951
|
+
|
|
11952
|
+
const content_ = JSON.stringify(body);
|
|
11953
|
+
|
|
11954
|
+
let options_: RequestInit = {
|
|
11955
|
+
body: content_,
|
|
11956
|
+
method: "POST",
|
|
11957
|
+
headers: {
|
|
11958
|
+
"Content-Type": "application/json",
|
|
11959
|
+
"Accept": "application/json"
|
|
11960
|
+
}
|
|
11961
|
+
};
|
|
11962
|
+
|
|
11963
|
+
return this.http.fetch(url_, options_).then((_response: Response) => {
|
|
11964
|
+
return this.processBulkPagesSummaryLive(_response);
|
|
11965
|
+
});
|
|
11966
|
+
}
|
|
11967
|
+
|
|
11968
|
+
protected processBulkPagesSummaryLive(response: Response): Promise<BacklinksBulkPagesSummaryLiveResponseInfo | null> {
|
|
11969
|
+
const status = response.status;
|
|
11970
|
+
let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
|
|
11971
|
+
if (status === 200) {
|
|
11972
|
+
return response.text().then((_responseText) => {
|
|
11973
|
+
let result200: any = null;
|
|
11974
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
11975
|
+
result200 = resultData200 ? BacklinksBulkPagesSummaryLiveResponseInfo.fromJS(resultData200) : <any>null;
|
|
11976
|
+
return result200;
|
|
11977
|
+
});
|
|
11978
|
+
} else if (status !== 200 && status !== 204) {
|
|
11979
|
+
return response.text().then((_responseText) => {
|
|
11980
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
11981
|
+
});
|
|
11982
|
+
}
|
|
11983
|
+
return Promise.resolve<BacklinksBulkPagesSummaryLiveResponseInfo | null>(null as any);
|
|
11984
|
+
}
|
|
11943
11985
|
}
|
|
11944
11986
|
|
|
11945
11987
|
export class OnPageApi {
|
|
@@ -20196,6 +20238,11 @@ export class BaseDataforseoLabsSerpElementItem implements IBaseDataforseoLabsSer
|
|
|
20196
20238
|
result.init(data);
|
|
20197
20239
|
return result;
|
|
20198
20240
|
}
|
|
20241
|
+
if (data["type"] === "paid") {
|
|
20242
|
+
let result = new PaidDataforseoLabsSerpElementItem();
|
|
20243
|
+
result.init(data);
|
|
20244
|
+
return result;
|
|
20245
|
+
}
|
|
20199
20246
|
if (data["type"] === "people_also_ask") {
|
|
20200
20247
|
let result = new PeopleAlsoAskDataforseoLabsSerpElementItem();
|
|
20201
20248
|
result.init(data);
|
|
@@ -20311,11 +20358,6 @@ export class BaseDataforseoLabsSerpElementItem implements IBaseDataforseoLabsSer
|
|
|
20311
20358
|
result.init(data);
|
|
20312
20359
|
return result;
|
|
20313
20360
|
}
|
|
20314
|
-
if (data["type"] === "paid") {
|
|
20315
|
-
let result = new PaidDataforseoLabsSerpElementItem();
|
|
20316
|
-
result.init(data);
|
|
20317
|
-
return result;
|
|
20318
|
-
}
|
|
20319
20361
|
if (data["type"] === "google_reviews") {
|
|
20320
20362
|
let result = new GoogleReviewsDataforseoLabsSerpElementItem();
|
|
20321
20363
|
result.init(data);
|
|
@@ -20525,6 +20567,92 @@ export interface IBaseMerchantSerpElementItem {
|
|
|
20525
20567
|
[key: string]: any;
|
|
20526
20568
|
}
|
|
20527
20569
|
|
|
20570
|
+
export class RatingElement implements IRatingElement {
|
|
20571
|
+
/** type of element */
|
|
20572
|
+
type?: string | undefined;
|
|
20573
|
+
/** the alignment of the element in Google Shopping SERP
|
|
20574
|
+
possible values:
|
|
20575
|
+
left, right */
|
|
20576
|
+
position?: string | undefined;
|
|
20577
|
+
/** the type of rating
|
|
20578
|
+
here you can find the following elements: Max5, Percents, CustomMax */
|
|
20579
|
+
rating_type?: string | undefined;
|
|
20580
|
+
/** value of the rating */
|
|
20581
|
+
value?: string | undefined;
|
|
20582
|
+
/** the amount of feedback */
|
|
20583
|
+
votes_count?: number | undefined;
|
|
20584
|
+
/** the maximum value for a rating_type */
|
|
20585
|
+
rating_max?: number | undefined;
|
|
20586
|
+
|
|
20587
|
+
[key: string]: any;
|
|
20588
|
+
|
|
20589
|
+
constructor(data?: IRatingElement) {
|
|
20590
|
+
if (data) {
|
|
20591
|
+
for (var property in data) {
|
|
20592
|
+
if (data.hasOwnProperty(property))
|
|
20593
|
+
(<any>this)[property] = (<any>data)[property];
|
|
20594
|
+
}
|
|
20595
|
+
}
|
|
20596
|
+
}
|
|
20597
|
+
|
|
20598
|
+
init(_data?: any) {
|
|
20599
|
+
if (_data) {
|
|
20600
|
+
for (var property in _data) {
|
|
20601
|
+
if (_data.hasOwnProperty(property))
|
|
20602
|
+
this[property] = _data[property];
|
|
20603
|
+
}
|
|
20604
|
+
this.type = _data["type"];
|
|
20605
|
+
this.position = _data["position"];
|
|
20606
|
+
this.rating_type = _data["rating_type"];
|
|
20607
|
+
this.value = _data["value"];
|
|
20608
|
+
this.votes_count = _data["votes_count"];
|
|
20609
|
+
this.rating_max = _data["rating_max"];
|
|
20610
|
+
}
|
|
20611
|
+
}
|
|
20612
|
+
|
|
20613
|
+
static fromJS(data: any): RatingElement {
|
|
20614
|
+
data = typeof data === 'object' ? data : {};
|
|
20615
|
+
let result = new RatingElement();
|
|
20616
|
+
result.init(data);
|
|
20617
|
+
return result;
|
|
20618
|
+
}
|
|
20619
|
+
|
|
20620
|
+
toJSON(data?: any) {
|
|
20621
|
+
data = typeof data === 'object' ? data : {};
|
|
20622
|
+
for (var property in this) {
|
|
20623
|
+
if (this.hasOwnProperty(property))
|
|
20624
|
+
data[property] = this[property];
|
|
20625
|
+
}
|
|
20626
|
+
data["type"] = this.type;
|
|
20627
|
+
data["position"] = this.position;
|
|
20628
|
+
data["rating_type"] = this.rating_type;
|
|
20629
|
+
data["value"] = this.value;
|
|
20630
|
+
data["votes_count"] = this.votes_count;
|
|
20631
|
+
data["rating_max"] = this.rating_max;
|
|
20632
|
+
return data;
|
|
20633
|
+
}
|
|
20634
|
+
}
|
|
20635
|
+
|
|
20636
|
+
export interface IRatingElement {
|
|
20637
|
+
/** type of element */
|
|
20638
|
+
type?: string | undefined;
|
|
20639
|
+
/** the alignment of the element in Google Shopping SERP
|
|
20640
|
+
possible values:
|
|
20641
|
+
left, right */
|
|
20642
|
+
position?: string | undefined;
|
|
20643
|
+
/** the type of rating
|
|
20644
|
+
here you can find the following elements: Max5, Percents, CustomMax */
|
|
20645
|
+
rating_type?: string | undefined;
|
|
20646
|
+
/** value of the rating */
|
|
20647
|
+
value?: string | undefined;
|
|
20648
|
+
/** the amount of feedback */
|
|
20649
|
+
votes_count?: number | undefined;
|
|
20650
|
+
/** the maximum value for a rating_type */
|
|
20651
|
+
rating_max?: number | undefined;
|
|
20652
|
+
|
|
20653
|
+
[key: string]: any;
|
|
20654
|
+
}
|
|
20655
|
+
|
|
20528
20656
|
export class BaseBusinessDataSerpElementItem implements IBaseBusinessDataSerpElementItem {
|
|
20529
20657
|
|
|
20530
20658
|
[key: string]: any;
|
|
@@ -20660,13 +20788,13 @@ export class BaseOnPageResourceItemInfo implements IBaseOnPageResourceItemInfo {
|
|
|
20660
20788
|
result.init(data);
|
|
20661
20789
|
return result;
|
|
20662
20790
|
}
|
|
20663
|
-
if (data["resource_type"] === "
|
|
20664
|
-
let result = new
|
|
20791
|
+
if (data["resource_type"] === "stylesheet") {
|
|
20792
|
+
let result = new StylesheetResourceElementItem();
|
|
20665
20793
|
result.init(data);
|
|
20666
20794
|
return result;
|
|
20667
20795
|
}
|
|
20668
|
-
if (data["resource_type"] === "
|
|
20669
|
-
let result = new
|
|
20796
|
+
if (data["resource_type"] === "script") {
|
|
20797
|
+
let result = new ScriptResourceElementItem();
|
|
20670
20798
|
result.init(data);
|
|
20671
20799
|
return result;
|
|
20672
20800
|
}
|
|
@@ -32855,6 +32983,8 @@ export class PopularProductsElement implements IPopularProductsElement {
|
|
|
32855
32983
|
description?: string | undefined;
|
|
32856
32984
|
/** seller of the product */
|
|
32857
32985
|
seller?: string | undefined;
|
|
32986
|
+
/** URL of the image */
|
|
32987
|
+
image_url?: string | undefined;
|
|
32858
32988
|
/** price indicated in the element */
|
|
32859
32989
|
price?: PriceInfo | undefined;
|
|
32860
32990
|
/** the item’s rating
|
|
@@ -32882,6 +33012,7 @@ the popularity rate based on reviews and displayed in SERP */
|
|
|
32882
33012
|
this.title = _data["title"];
|
|
32883
33013
|
this.description = _data["description"];
|
|
32884
33014
|
this.seller = _data["seller"];
|
|
33015
|
+
this.image_url = _data["image_url"];
|
|
32885
33016
|
this.price = _data["price"] ? PriceInfo.fromJS(_data["price"]) : <any>undefined;
|
|
32886
33017
|
this.rating = _data["rating"] ? RatingInfo.fromJS(_data["rating"]) : <any>undefined;
|
|
32887
33018
|
}
|
|
@@ -32904,6 +33035,7 @@ the popularity rate based on reviews and displayed in SERP */
|
|
|
32904
33035
|
data["title"] = this.title;
|
|
32905
33036
|
data["description"] = this.description;
|
|
32906
33037
|
data["seller"] = this.seller;
|
|
33038
|
+
data["image_url"] = this.image_url;
|
|
32907
33039
|
data["price"] = this.price ? this.price.toJSON() : <any>undefined;
|
|
32908
33040
|
data["rating"] = this.rating ? this.rating.toJSON() : <any>undefined;
|
|
32909
33041
|
return data;
|
|
@@ -32919,6 +33051,8 @@ export interface IPopularProductsElement {
|
|
|
32919
33051
|
description?: string | undefined;
|
|
32920
33052
|
/** seller of the product */
|
|
32921
33053
|
seller?: string | undefined;
|
|
33054
|
+
/** URL of the image */
|
|
33055
|
+
image_url?: string | undefined;
|
|
32922
33056
|
/** price indicated in the element */
|
|
32923
33057
|
price?: PriceInfo | undefined;
|
|
32924
33058
|
/** the item’s rating
|
|
@@ -32944,6 +33078,8 @@ left, right */
|
|
|
32944
33078
|
position?: string | undefined;
|
|
32945
33079
|
/** the XPath of the element */
|
|
32946
33080
|
xpath?: string | undefined;
|
|
33081
|
+
/** title of the row */
|
|
33082
|
+
title?: string | undefined;
|
|
32947
33083
|
/** additional items present in the element
|
|
32948
33084
|
if there are none, equals null */
|
|
32949
33085
|
items?: (PopularProductsElement | undefined)[] | undefined;
|
|
@@ -32970,6 +33106,7 @@ equals null if calculate_rectangles in the POST request is not set to true */
|
|
|
32970
33106
|
this.rank_absolute = _data["rank_absolute"];
|
|
32971
33107
|
this.position = _data["position"];
|
|
32972
33108
|
this.xpath = _data["xpath"];
|
|
33109
|
+
this.title = _data["title"];
|
|
32973
33110
|
if (Array.isArray(_data["items"])) {
|
|
32974
33111
|
this.items = [] as any;
|
|
32975
33112
|
for (let item of _data["items"])
|
|
@@ -32996,6 +33133,7 @@ equals null if calculate_rectangles in the POST request is not set to true */
|
|
|
32996
33133
|
data["rank_absolute"] = this.rank_absolute;
|
|
32997
33134
|
data["position"] = this.position;
|
|
32998
33135
|
data["xpath"] = this.xpath;
|
|
33136
|
+
data["title"] = this.title;
|
|
32999
33137
|
if (Array.isArray(this.items)) {
|
|
33000
33138
|
data["items"] = [];
|
|
33001
33139
|
for (let item of this.items)
|
|
@@ -33023,6 +33161,8 @@ left, right */
|
|
|
33023
33161
|
position?: string | undefined;
|
|
33024
33162
|
/** the XPath of the element */
|
|
33025
33163
|
xpath?: string | undefined;
|
|
33164
|
+
/** title of the row */
|
|
33165
|
+
title?: string | undefined;
|
|
33026
33166
|
/** additional items present in the element
|
|
33027
33167
|
if there are none, equals null */
|
|
33028
33168
|
items?: (PopularProductsElement | undefined)[] | undefined;
|
|
@@ -57620,7 +57760,8 @@ answer_box, carousel, events, featured_snippet, hotels_pack, images, jobs, local
|
|
|
57620
57760
|
se_results_count?: number | undefined;
|
|
57621
57761
|
/** the number of results returned in the items array */
|
|
57622
57762
|
items_count?: number | undefined;
|
|
57623
|
-
/** items
|
|
57763
|
+
/** additional items present in the element
|
|
57764
|
+
if there are none, equals null */
|
|
57624
57765
|
items?: (BaseSerpElementItem | undefined)[] | undefined;
|
|
57625
57766
|
|
|
57626
57767
|
[key: string]: any;
|
|
@@ -57732,7 +57873,8 @@ answer_box, carousel, events, featured_snippet, hotels_pack, images, jobs, local
|
|
|
57732
57873
|
se_results_count?: number | undefined;
|
|
57733
57874
|
/** the number of results returned in the items array */
|
|
57734
57875
|
items_count?: number | undefined;
|
|
57735
|
-
/** items
|
|
57876
|
+
/** additional items present in the element
|
|
57877
|
+
if there are none, equals null */
|
|
57736
57878
|
items?: (BaseSerpElementItem | undefined)[] | undefined;
|
|
57737
57879
|
|
|
57738
57880
|
[key: string]: any;
|
|
@@ -67134,8 +67276,7 @@ featured_snippet, images, local_pack, hotels_pack, organic, paid, people_also_as
|
|
|
67134
67276
|
se_results_count?: number | undefined;
|
|
67135
67277
|
/** the number of results returned in the items array */
|
|
67136
67278
|
items_count?: number | undefined;
|
|
67137
|
-
/**
|
|
67138
|
-
if there are none, equals null */
|
|
67279
|
+
/** items featured in the faq_box */
|
|
67139
67280
|
items?: (BaseSerpElementItem | undefined)[] | undefined;
|
|
67140
67281
|
|
|
67141
67282
|
[key: string]: any;
|
|
@@ -67247,8 +67388,7 @@ featured_snippet, images, local_pack, hotels_pack, organic, paid, people_also_as
|
|
|
67247
67388
|
se_results_count?: number | undefined;
|
|
67248
67389
|
/** the number of results returned in the items array */
|
|
67249
67390
|
items_count?: number | undefined;
|
|
67250
|
-
/**
|
|
67251
|
-
if there are none, equals null */
|
|
67391
|
+
/** items featured in the faq_box */
|
|
67252
67392
|
items?: (BaseSerpElementItem | undefined)[] | undefined;
|
|
67253
67393
|
|
|
67254
67394
|
[key: string]: any;
|
|
@@ -88744,124 +88884,6 @@ you will find the specified tag value in the data object of the response */
|
|
|
88744
88884
|
[key: string]: any;
|
|
88745
88885
|
}
|
|
88746
88886
|
|
|
88747
|
-
export class KeywordData implements IKeywordData {
|
|
88748
|
-
/** search engine type */
|
|
88749
|
-
se_type?: string | undefined;
|
|
88750
|
-
/** returned keyword */
|
|
88751
|
-
keyword?: string | undefined;
|
|
88752
|
-
/** location code in a POST array */
|
|
88753
|
-
location_code?: number | undefined;
|
|
88754
|
-
/** language code in a POST array */
|
|
88755
|
-
language_code?: string | undefined;
|
|
88756
|
-
/** keyword data for the returned keyword */
|
|
88757
|
-
keyword_info?: KeywordInfo | undefined;
|
|
88758
|
-
/** additional information about the keyword */
|
|
88759
|
-
keyword_properties?: KeywordProperties | undefined;
|
|
88760
|
-
/** impressions data for the returned keyword idea
|
|
88761
|
-
Note that all data in the impressions_info object is deprecated and provided only as legacy to avoid maintenance issues
|
|
88762
|
-
daily_impressions values provide a more accurate alternative to Google search volume data;
|
|
88763
|
-
the 999 bid is used to mitigate account-specific factors Google considers when calculating impressions
|
|
88764
|
-
learn more about impressions in this help center article */
|
|
88765
|
-
impressions_info?: ImpressionsInfo | undefined;
|
|
88766
|
-
/** SERP data
|
|
88767
|
-
the value will be null if you didn’t set the field include_serp_info to true in the POST array or if there is no SERP data for this keyword in our database */
|
|
88768
|
-
serp_info?: SerpInfo | undefined;
|
|
88769
|
-
/** backlink data for the returned keyword
|
|
88770
|
-
this object provides the average number of backlinks, referring pages and domains, as well as the average rank values among the top-10 websites ranking organically for the keyword */
|
|
88771
|
-
avg_backlinks_info?: AvgBacklinksInfo | undefined;
|
|
88772
|
-
/** search intent info for the returned keyword
|
|
88773
|
-
learn about search intent in this help center article */
|
|
88774
|
-
search_intent_info?: SearchIntentInfo | undefined;
|
|
88775
|
-
|
|
88776
|
-
[key: string]: any;
|
|
88777
|
-
|
|
88778
|
-
constructor(data?: IKeywordData) {
|
|
88779
|
-
if (data) {
|
|
88780
|
-
for (var property in data) {
|
|
88781
|
-
if (data.hasOwnProperty(property))
|
|
88782
|
-
(<any>this)[property] = (<any>data)[property];
|
|
88783
|
-
}
|
|
88784
|
-
}
|
|
88785
|
-
}
|
|
88786
|
-
|
|
88787
|
-
init(_data?: any) {
|
|
88788
|
-
if (_data) {
|
|
88789
|
-
for (var property in _data) {
|
|
88790
|
-
if (_data.hasOwnProperty(property))
|
|
88791
|
-
this[property] = _data[property];
|
|
88792
|
-
}
|
|
88793
|
-
this.se_type = _data["se_type"];
|
|
88794
|
-
this.keyword = _data["keyword"];
|
|
88795
|
-
this.location_code = _data["location_code"];
|
|
88796
|
-
this.language_code = _data["language_code"];
|
|
88797
|
-
this.keyword_info = _data["keyword_info"] ? KeywordInfo.fromJS(_data["keyword_info"]) : <any>undefined;
|
|
88798
|
-
this.keyword_properties = _data["keyword_properties"] ? KeywordProperties.fromJS(_data["keyword_properties"]) : <any>undefined;
|
|
88799
|
-
this.impressions_info = _data["impressions_info"] ? ImpressionsInfo.fromJS(_data["impressions_info"]) : <any>undefined;
|
|
88800
|
-
this.serp_info = _data["serp_info"] ? SerpInfo.fromJS(_data["serp_info"]) : <any>undefined;
|
|
88801
|
-
this.avg_backlinks_info = _data["avg_backlinks_info"] ? AvgBacklinksInfo.fromJS(_data["avg_backlinks_info"]) : <any>undefined;
|
|
88802
|
-
this.search_intent_info = _data["search_intent_info"] ? SearchIntentInfo.fromJS(_data["search_intent_info"]) : <any>undefined;
|
|
88803
|
-
}
|
|
88804
|
-
}
|
|
88805
|
-
|
|
88806
|
-
static fromJS(data: any): KeywordData {
|
|
88807
|
-
data = typeof data === 'object' ? data : {};
|
|
88808
|
-
let result = new KeywordData();
|
|
88809
|
-
result.init(data);
|
|
88810
|
-
return result;
|
|
88811
|
-
}
|
|
88812
|
-
|
|
88813
|
-
toJSON(data?: any) {
|
|
88814
|
-
data = typeof data === 'object' ? data : {};
|
|
88815
|
-
for (var property in this) {
|
|
88816
|
-
if (this.hasOwnProperty(property))
|
|
88817
|
-
data[property] = this[property];
|
|
88818
|
-
}
|
|
88819
|
-
data["se_type"] = this.se_type;
|
|
88820
|
-
data["keyword"] = this.keyword;
|
|
88821
|
-
data["location_code"] = this.location_code;
|
|
88822
|
-
data["language_code"] = this.language_code;
|
|
88823
|
-
data["keyword_info"] = this.keyword_info ? this.keyword_info.toJSON() : <any>undefined;
|
|
88824
|
-
data["keyword_properties"] = this.keyword_properties ? this.keyword_properties.toJSON() : <any>undefined;
|
|
88825
|
-
data["impressions_info"] = this.impressions_info ? this.impressions_info.toJSON() : <any>undefined;
|
|
88826
|
-
data["serp_info"] = this.serp_info ? this.serp_info.toJSON() : <any>undefined;
|
|
88827
|
-
data["avg_backlinks_info"] = this.avg_backlinks_info ? this.avg_backlinks_info.toJSON() : <any>undefined;
|
|
88828
|
-
data["search_intent_info"] = this.search_intent_info ? this.search_intent_info.toJSON() : <any>undefined;
|
|
88829
|
-
return data;
|
|
88830
|
-
}
|
|
88831
|
-
}
|
|
88832
|
-
|
|
88833
|
-
export interface IKeywordData {
|
|
88834
|
-
/** search engine type */
|
|
88835
|
-
se_type?: string | undefined;
|
|
88836
|
-
/** returned keyword */
|
|
88837
|
-
keyword?: string | undefined;
|
|
88838
|
-
/** location code in a POST array */
|
|
88839
|
-
location_code?: number | undefined;
|
|
88840
|
-
/** language code in a POST array */
|
|
88841
|
-
language_code?: string | undefined;
|
|
88842
|
-
/** keyword data for the returned keyword */
|
|
88843
|
-
keyword_info?: KeywordInfo | undefined;
|
|
88844
|
-
/** additional information about the keyword */
|
|
88845
|
-
keyword_properties?: KeywordProperties | undefined;
|
|
88846
|
-
/** impressions data for the returned keyword idea
|
|
88847
|
-
Note that all data in the impressions_info object is deprecated and provided only as legacy to avoid maintenance issues
|
|
88848
|
-
daily_impressions values provide a more accurate alternative to Google search volume data;
|
|
88849
|
-
the 999 bid is used to mitigate account-specific factors Google considers when calculating impressions
|
|
88850
|
-
learn more about impressions in this help center article */
|
|
88851
|
-
impressions_info?: ImpressionsInfo | undefined;
|
|
88852
|
-
/** SERP data
|
|
88853
|
-
the value will be null if you didn’t set the field include_serp_info to true in the POST array or if there is no SERP data for this keyword in our database */
|
|
88854
|
-
serp_info?: SerpInfo | undefined;
|
|
88855
|
-
/** backlink data for the returned keyword
|
|
88856
|
-
this object provides the average number of backlinks, referring pages and domains, as well as the average rank values among the top-10 websites ranking organically for the keyword */
|
|
88857
|
-
avg_backlinks_info?: AvgBacklinksInfo | undefined;
|
|
88858
|
-
/** search intent info for the returned keyword
|
|
88859
|
-
learn about search intent in this help center article */
|
|
88860
|
-
search_intent_info?: SearchIntentInfo | undefined;
|
|
88861
|
-
|
|
88862
|
-
[key: string]: any;
|
|
88863
|
-
}
|
|
88864
|
-
|
|
88865
88887
|
export class RankChanges implements IRankChanges {
|
|
88866
88888
|
/** previous absolute rank in SERP
|
|
88867
88889
|
indicates previous rank of the element in Google SERP;
|
|
@@ -89054,11 +89076,11 @@ the popularity rate based on reviews and displayed in SERP */
|
|
|
89054
89076
|
/** sitelinks
|
|
89055
89077
|
the links shown below some of Google’s search results
|
|
89056
89078
|
if there are none, equals null */
|
|
89057
|
-
links?: (
|
|
89079
|
+
links?: (AdLinkElement | undefined)[] | undefined;
|
|
89058
89080
|
/** contains information from the ‘About this result’ panel
|
|
89059
89081
|
‘About this result’ panel provides additional context about why Google returned this result for the given query;
|
|
89060
89082
|
this feature appears after clicking on the three dots next to most results */
|
|
89061
|
-
about_this_result?:
|
|
89083
|
+
about_this_result?: any | undefined;
|
|
89062
89084
|
/** primary domain name in SERP */
|
|
89063
89085
|
main_domain?: string | undefined;
|
|
89064
89086
|
/** URL in SERP that does not specify the HTTPs protocol and domain name */
|
|
@@ -89126,9 +89148,9 @@ contains information about the ranking changes of the SERP element since the pre
|
|
|
89126
89148
|
if (Array.isArray(_data["links"])) {
|
|
89127
89149
|
this.links = [] as any;
|
|
89128
89150
|
for (let item of _data["links"])
|
|
89129
|
-
this.links!.push(
|
|
89151
|
+
this.links!.push(AdLinkElement.fromJS(item));
|
|
89130
89152
|
}
|
|
89131
|
-
this.about_this_result = _data["about_this_result"]
|
|
89153
|
+
this.about_this_result = _data["about_this_result"];
|
|
89132
89154
|
this.main_domain = _data["main_domain"];
|
|
89133
89155
|
this.relative_url = _data["relative_url"];
|
|
89134
89156
|
this.etv = _data["etv"];
|
|
@@ -89182,7 +89204,7 @@ contains information about the ranking changes of the SERP element since the pre
|
|
|
89182
89204
|
for (let item of this.links)
|
|
89183
89205
|
data["links"].push(item.toJSON());
|
|
89184
89206
|
}
|
|
89185
|
-
data["about_this_result"] = this.about_this_result
|
|
89207
|
+
data["about_this_result"] = this.about_this_result;
|
|
89186
89208
|
data["main_domain"] = this.main_domain;
|
|
89187
89209
|
data["relative_url"] = this.relative_url;
|
|
89188
89210
|
data["etv"] = this.etv;
|
|
@@ -89246,11 +89268,11 @@ the popularity rate based on reviews and displayed in SERP */
|
|
|
89246
89268
|
/** sitelinks
|
|
89247
89269
|
the links shown below some of Google’s search results
|
|
89248
89270
|
if there are none, equals null */
|
|
89249
|
-
links?: (
|
|
89271
|
+
links?: (AdLinkElement | undefined)[] | undefined;
|
|
89250
89272
|
/** contains information from the ‘About this result’ panel
|
|
89251
89273
|
‘About this result’ panel provides additional context about why Google returned this result for the given query;
|
|
89252
89274
|
this feature appears after clicking on the three dots next to most results */
|
|
89253
|
-
about_this_result?:
|
|
89275
|
+
about_this_result?: any | undefined;
|
|
89254
89276
|
/** primary domain name in SERP */
|
|
89255
89277
|
main_domain?: string | undefined;
|
|
89256
89278
|
/** URL in SERP that does not specify the HTTPs protocol and domain name */
|
|
@@ -89422,7 +89444,7 @@ export class DataforseoLabsGoogleRankedKeywordsLiveItem implements IDataforseoLa
|
|
|
89422
89444
|
/** search engine type */
|
|
89423
89445
|
se_type?: string | undefined;
|
|
89424
89446
|
/** keyword data for the returned keyword */
|
|
89425
|
-
keyword_data?:
|
|
89447
|
+
keyword_data?: KeywordDataInfo | undefined;
|
|
89426
89448
|
/** contains data on the domain’s SERP element found for the returned keyword */
|
|
89427
89449
|
ranked_serp_element?: RankedSerpElement | undefined;
|
|
89428
89450
|
|
|
@@ -89444,7 +89466,7 @@ export class DataforseoLabsGoogleRankedKeywordsLiveItem implements IDataforseoLa
|
|
|
89444
89466
|
this[property] = _data[property];
|
|
89445
89467
|
}
|
|
89446
89468
|
this.se_type = _data["se_type"];
|
|
89447
|
-
this.keyword_data = _data["keyword_data"] ?
|
|
89469
|
+
this.keyword_data = _data["keyword_data"] ? KeywordDataInfo.fromJS(_data["keyword_data"]) : <any>undefined;
|
|
89448
89470
|
this.ranked_serp_element = _data["ranked_serp_element"] ? RankedSerpElement.fromJS(_data["ranked_serp_element"]) : <any>undefined;
|
|
89449
89471
|
}
|
|
89450
89472
|
}
|
|
@@ -89473,13 +89495,255 @@ export interface IDataforseoLabsGoogleRankedKeywordsLiveItem {
|
|
|
89473
89495
|
/** search engine type */
|
|
89474
89496
|
se_type?: string | undefined;
|
|
89475
89497
|
/** keyword data for the returned keyword */
|
|
89476
|
-
keyword_data?:
|
|
89498
|
+
keyword_data?: KeywordDataInfo | undefined;
|
|
89477
89499
|
/** contains data on the domain’s SERP element found for the returned keyword */
|
|
89478
89500
|
ranked_serp_element?: RankedSerpElement | undefined;
|
|
89479
89501
|
|
|
89480
89502
|
[key: string]: any;
|
|
89481
89503
|
}
|
|
89482
89504
|
|
|
89505
|
+
export class PaidDataforseoLabsSerpElementItem extends BaseDataforseoLabsSerpElementItem implements IPaidDataforseoLabsSerpElementItem {
|
|
89506
|
+
/** search engine type */
|
|
89507
|
+
se_type?: string | undefined;
|
|
89508
|
+
/** position within a group of elements with identical type values
|
|
89509
|
+
positions of elements with different type values are omitted from rank_group */
|
|
89510
|
+
rank_group?: number | undefined;
|
|
89511
|
+
/** absolute rank in SERP
|
|
89512
|
+
absolute position among all the elements in SERP */
|
|
89513
|
+
rank_absolute?: number | undefined;
|
|
89514
|
+
/** the alignment of the element in SERP
|
|
89515
|
+
can take the following values:
|
|
89516
|
+
left, right */
|
|
89517
|
+
position?: string | undefined;
|
|
89518
|
+
/** the XPath of the element */
|
|
89519
|
+
xpath?: string | undefined;
|
|
89520
|
+
/** title of the result in SERP */
|
|
89521
|
+
title?: string | undefined;
|
|
89522
|
+
/** subdomain in SERP */
|
|
89523
|
+
domain?: string | undefined;
|
|
89524
|
+
/** description of the results element in SERP */
|
|
89525
|
+
description?: string | undefined;
|
|
89526
|
+
/** breadcrumb in SERP */
|
|
89527
|
+
breadcrumb?: string | undefined;
|
|
89528
|
+
/** relevant URL in SERP */
|
|
89529
|
+
url?: string | undefined;
|
|
89530
|
+
/** words highlighted in bold within the results description */
|
|
89531
|
+
highlighted?: (string | undefined)[] | undefined;
|
|
89532
|
+
/** additional information about the result */
|
|
89533
|
+
extra?: { [key: string]: string; } | undefined;
|
|
89534
|
+
/** extended description
|
|
89535
|
+
if there is none, equals null */
|
|
89536
|
+
description_rows?: (string | undefined)[] | undefined;
|
|
89537
|
+
/** sitelinks
|
|
89538
|
+
the links shown below some of Google’s search results
|
|
89539
|
+
if there are none, equals null */
|
|
89540
|
+
links?: (AdLinkElement | undefined)[] | undefined;
|
|
89541
|
+
/** primary domain name in SERP */
|
|
89542
|
+
main_domain?: string | undefined;
|
|
89543
|
+
/** URL in SERP that does not specify the HTTPs protocol and domain name */
|
|
89544
|
+
relative_url?: string | undefined;
|
|
89545
|
+
/** estimated traffic volume
|
|
89546
|
+
estimated paid monthly traffic to the domain
|
|
89547
|
+
calculated as the product of CTR (click-through-rate) and search volume values of all keywords in the category that the domain ranks for
|
|
89548
|
+
learn more about how the metric is calculated in this help center article */
|
|
89549
|
+
etv?: number | undefined;
|
|
89550
|
+
/** estimated traffic volume based on impressions
|
|
89551
|
+
estimated paid monthly traffic to the domain
|
|
89552
|
+
calculated as the product of CTR (click-through-rate) and impressions values of all keywords in the category that the domain ranks for
|
|
89553
|
+
learn more about how the metric is calculated in this help center article */
|
|
89554
|
+
impressions_etv?: number | undefined;
|
|
89555
|
+
/** estimated cost of monthly search traffic
|
|
89556
|
+
represents the estimated cost of paid monthly traffic (USD) based on etv and cpc values of all keywords in the category that the domain ranks for
|
|
89557
|
+
learn more about how the metric is calculated in this help center article */
|
|
89558
|
+
estimated_paid_traffic_cost?: number | undefined;
|
|
89559
|
+
/** changes in rankings
|
|
89560
|
+
contains information about the ranking changes of the SERP element since the previous_updated_time */
|
|
89561
|
+
rank_changes?: RankChanges | undefined;
|
|
89562
|
+
/** backlinks information for the target website */
|
|
89563
|
+
backlinks_info?: BacklinksInfo | undefined;
|
|
89564
|
+
/** page and domain rank information */
|
|
89565
|
+
rank_info?: RankInfo | undefined;
|
|
89566
|
+
|
|
89567
|
+
[key: string]: any;
|
|
89568
|
+
|
|
89569
|
+
constructor(data?: IPaidDataforseoLabsSerpElementItem) {
|
|
89570
|
+
super(data);
|
|
89571
|
+
this._discriminator = "paid";
|
|
89572
|
+
}
|
|
89573
|
+
|
|
89574
|
+
init(_data?: any) {
|
|
89575
|
+
super.init(_data);
|
|
89576
|
+
if (_data) {
|
|
89577
|
+
for (var property in _data) {
|
|
89578
|
+
if (_data.hasOwnProperty(property))
|
|
89579
|
+
this[property] = _data[property];
|
|
89580
|
+
}
|
|
89581
|
+
this.se_type = _data["se_type"];
|
|
89582
|
+
this.rank_group = _data["rank_group"];
|
|
89583
|
+
this.rank_absolute = _data["rank_absolute"];
|
|
89584
|
+
this.position = _data["position"];
|
|
89585
|
+
this.xpath = _data["xpath"];
|
|
89586
|
+
this.title = _data["title"];
|
|
89587
|
+
this.domain = _data["domain"];
|
|
89588
|
+
this.description = _data["description"];
|
|
89589
|
+
this.breadcrumb = _data["breadcrumb"];
|
|
89590
|
+
this.url = _data["url"];
|
|
89591
|
+
if (Array.isArray(_data["highlighted"])) {
|
|
89592
|
+
this.highlighted = [] as any;
|
|
89593
|
+
for (let item of _data["highlighted"])
|
|
89594
|
+
this.highlighted!.push(item);
|
|
89595
|
+
}
|
|
89596
|
+
if (_data["extra"]) {
|
|
89597
|
+
this.extra = {} as any;
|
|
89598
|
+
for (let key in _data["extra"]) {
|
|
89599
|
+
if (_data["extra"].hasOwnProperty(key))
|
|
89600
|
+
(<any>this.extra)![key] = _data["extra"][key];
|
|
89601
|
+
}
|
|
89602
|
+
}
|
|
89603
|
+
if (Array.isArray(_data["description_rows"])) {
|
|
89604
|
+
this.description_rows = [] as any;
|
|
89605
|
+
for (let item of _data["description_rows"])
|
|
89606
|
+
this.description_rows!.push(item);
|
|
89607
|
+
}
|
|
89608
|
+
if (Array.isArray(_data["links"])) {
|
|
89609
|
+
this.links = [] as any;
|
|
89610
|
+
for (let item of _data["links"])
|
|
89611
|
+
this.links!.push(AdLinkElement.fromJS(item));
|
|
89612
|
+
}
|
|
89613
|
+
this.main_domain = _data["main_domain"];
|
|
89614
|
+
this.relative_url = _data["relative_url"];
|
|
89615
|
+
this.etv = _data["etv"];
|
|
89616
|
+
this.impressions_etv = _data["impressions_etv"];
|
|
89617
|
+
this.estimated_paid_traffic_cost = _data["estimated_paid_traffic_cost"];
|
|
89618
|
+
this.rank_changes = _data["rank_changes"] ? RankChanges.fromJS(_data["rank_changes"]) : <any>undefined;
|
|
89619
|
+
this.backlinks_info = _data["backlinks_info"] ? BacklinksInfo.fromJS(_data["backlinks_info"]) : <any>undefined;
|
|
89620
|
+
this.rank_info = _data["rank_info"] ? RankInfo.fromJS(_data["rank_info"]) : <any>undefined;
|
|
89621
|
+
}
|
|
89622
|
+
}
|
|
89623
|
+
|
|
89624
|
+
static fromJS(data: any): PaidDataforseoLabsSerpElementItem {
|
|
89625
|
+
data = typeof data === 'object' ? data : {};
|
|
89626
|
+
let result = new PaidDataforseoLabsSerpElementItem();
|
|
89627
|
+
result.init(data);
|
|
89628
|
+
return result;
|
|
89629
|
+
}
|
|
89630
|
+
|
|
89631
|
+
toJSON(data?: any) {
|
|
89632
|
+
data = typeof data === 'object' ? data : {};
|
|
89633
|
+
for (var property in this) {
|
|
89634
|
+
if (this.hasOwnProperty(property))
|
|
89635
|
+
data[property] = this[property];
|
|
89636
|
+
}
|
|
89637
|
+
data["se_type"] = this.se_type;
|
|
89638
|
+
data["rank_group"] = this.rank_group;
|
|
89639
|
+
data["rank_absolute"] = this.rank_absolute;
|
|
89640
|
+
data["position"] = this.position;
|
|
89641
|
+
data["xpath"] = this.xpath;
|
|
89642
|
+
data["title"] = this.title;
|
|
89643
|
+
data["domain"] = this.domain;
|
|
89644
|
+
data["description"] = this.description;
|
|
89645
|
+
data["breadcrumb"] = this.breadcrumb;
|
|
89646
|
+
data["url"] = this.url;
|
|
89647
|
+
if (Array.isArray(this.highlighted)) {
|
|
89648
|
+
data["highlighted"] = [];
|
|
89649
|
+
for (let item of this.highlighted)
|
|
89650
|
+
data["highlighted"].push(item);
|
|
89651
|
+
}
|
|
89652
|
+
if (this.extra) {
|
|
89653
|
+
data["extra"] = {};
|
|
89654
|
+
for (let key in this.extra) {
|
|
89655
|
+
if (this.extra.hasOwnProperty(key))
|
|
89656
|
+
(<any>data["extra"])[key] = (<any>this.extra)[key];
|
|
89657
|
+
}
|
|
89658
|
+
}
|
|
89659
|
+
if (Array.isArray(this.description_rows)) {
|
|
89660
|
+
data["description_rows"] = [];
|
|
89661
|
+
for (let item of this.description_rows)
|
|
89662
|
+
data["description_rows"].push(item);
|
|
89663
|
+
}
|
|
89664
|
+
if (Array.isArray(this.links)) {
|
|
89665
|
+
data["links"] = [];
|
|
89666
|
+
for (let item of this.links)
|
|
89667
|
+
data["links"].push(item.toJSON());
|
|
89668
|
+
}
|
|
89669
|
+
data["main_domain"] = this.main_domain;
|
|
89670
|
+
data["relative_url"] = this.relative_url;
|
|
89671
|
+
data["etv"] = this.etv;
|
|
89672
|
+
data["impressions_etv"] = this.impressions_etv;
|
|
89673
|
+
data["estimated_paid_traffic_cost"] = this.estimated_paid_traffic_cost;
|
|
89674
|
+
data["rank_changes"] = this.rank_changes ? this.rank_changes.toJSON() : <any>undefined;
|
|
89675
|
+
data["backlinks_info"] = this.backlinks_info ? this.backlinks_info.toJSON() : <any>undefined;
|
|
89676
|
+
data["rank_info"] = this.rank_info ? this.rank_info.toJSON() : <any>undefined;
|
|
89677
|
+
super.toJSON(data);
|
|
89678
|
+
return data;
|
|
89679
|
+
}
|
|
89680
|
+
}
|
|
89681
|
+
|
|
89682
|
+
export interface IPaidDataforseoLabsSerpElementItem extends IBaseDataforseoLabsSerpElementItem {
|
|
89683
|
+
/** search engine type */
|
|
89684
|
+
se_type?: string | undefined;
|
|
89685
|
+
/** position within a group of elements with identical type values
|
|
89686
|
+
positions of elements with different type values are omitted from rank_group */
|
|
89687
|
+
rank_group?: number | undefined;
|
|
89688
|
+
/** absolute rank in SERP
|
|
89689
|
+
absolute position among all the elements in SERP */
|
|
89690
|
+
rank_absolute?: number | undefined;
|
|
89691
|
+
/** the alignment of the element in SERP
|
|
89692
|
+
can take the following values:
|
|
89693
|
+
left, right */
|
|
89694
|
+
position?: string | undefined;
|
|
89695
|
+
/** the XPath of the element */
|
|
89696
|
+
xpath?: string | undefined;
|
|
89697
|
+
/** title of the result in SERP */
|
|
89698
|
+
title?: string | undefined;
|
|
89699
|
+
/** subdomain in SERP */
|
|
89700
|
+
domain?: string | undefined;
|
|
89701
|
+
/** description of the results element in SERP */
|
|
89702
|
+
description?: string | undefined;
|
|
89703
|
+
/** breadcrumb in SERP */
|
|
89704
|
+
breadcrumb?: string | undefined;
|
|
89705
|
+
/** relevant URL in SERP */
|
|
89706
|
+
url?: string | undefined;
|
|
89707
|
+
/** words highlighted in bold within the results description */
|
|
89708
|
+
highlighted?: (string | undefined)[] | undefined;
|
|
89709
|
+
/** additional information about the result */
|
|
89710
|
+
extra?: { [key: string]: string; } | undefined;
|
|
89711
|
+
/** extended description
|
|
89712
|
+
if there is none, equals null */
|
|
89713
|
+
description_rows?: (string | undefined)[] | undefined;
|
|
89714
|
+
/** sitelinks
|
|
89715
|
+
the links shown below some of Google’s search results
|
|
89716
|
+
if there are none, equals null */
|
|
89717
|
+
links?: (AdLinkElement | undefined)[] | undefined;
|
|
89718
|
+
/** primary domain name in SERP */
|
|
89719
|
+
main_domain?: string | undefined;
|
|
89720
|
+
/** URL in SERP that does not specify the HTTPs protocol and domain name */
|
|
89721
|
+
relative_url?: string | undefined;
|
|
89722
|
+
/** estimated traffic volume
|
|
89723
|
+
estimated paid monthly traffic to the domain
|
|
89724
|
+
calculated as the product of CTR (click-through-rate) and search volume values of all keywords in the category that the domain ranks for
|
|
89725
|
+
learn more about how the metric is calculated in this help center article */
|
|
89726
|
+
etv?: number | undefined;
|
|
89727
|
+
/** estimated traffic volume based on impressions
|
|
89728
|
+
estimated paid monthly traffic to the domain
|
|
89729
|
+
calculated as the product of CTR (click-through-rate) and impressions values of all keywords in the category that the domain ranks for
|
|
89730
|
+
learn more about how the metric is calculated in this help center article */
|
|
89731
|
+
impressions_etv?: number | undefined;
|
|
89732
|
+
/** estimated cost of monthly search traffic
|
|
89733
|
+
represents the estimated cost of paid monthly traffic (USD) based on etv and cpc values of all keywords in the category that the domain ranks for
|
|
89734
|
+
learn more about how the metric is calculated in this help center article */
|
|
89735
|
+
estimated_paid_traffic_cost?: number | undefined;
|
|
89736
|
+
/** changes in rankings
|
|
89737
|
+
contains information about the ranking changes of the SERP element since the previous_updated_time */
|
|
89738
|
+
rank_changes?: RankChanges | undefined;
|
|
89739
|
+
/** backlinks information for the target website */
|
|
89740
|
+
backlinks_info?: BacklinksInfo | undefined;
|
|
89741
|
+
/** page and domain rank information */
|
|
89742
|
+
rank_info?: RankInfo | undefined;
|
|
89743
|
+
|
|
89744
|
+
[key: string]: any;
|
|
89745
|
+
}
|
|
89746
|
+
|
|
89483
89747
|
export class DataforseoLabsGoogleRankedKeywordsLiveResultInfo implements IDataforseoLabsGoogleRankedKeywordsLiveResultInfo {
|
|
89484
89748
|
/** search engine type */
|
|
89485
89749
|
se_type?: string | undefined;
|
|
@@ -91414,11 +91678,11 @@ you will find the specified tag value in the data object of the response */
|
|
|
91414
91678
|
[key: string]: any;
|
|
91415
91679
|
}
|
|
91416
91680
|
|
|
91417
|
-
export class
|
|
91681
|
+
export class DataforseoLabsGoogleDomainIntersectionLiveItem implements IDataforseoLabsGoogleDomainIntersectionLiveItem {
|
|
91418
91682
|
/** search engine type */
|
|
91419
91683
|
se_type?: string | undefined;
|
|
91420
91684
|
/** keyword data for the returned keyword */
|
|
91421
|
-
keyword_data?:
|
|
91685
|
+
keyword_data?: KeywordDataInfo | undefined;
|
|
91422
91686
|
/** contains data on the first domain’s SERP element found for the returned keyword
|
|
91423
91687
|
the list of supported SERP elements can be found below */
|
|
91424
91688
|
first_domain_serp_element?: BaseDataforseoLabsSerpElementItem | undefined;
|
|
@@ -91428,7 +91692,7 @@ the list of supported SERP elements can be found below */
|
|
|
91428
91692
|
|
|
91429
91693
|
[key: string]: any;
|
|
91430
91694
|
|
|
91431
|
-
constructor(data?:
|
|
91695
|
+
constructor(data?: IDataforseoLabsGoogleDomainIntersectionLiveItem) {
|
|
91432
91696
|
if (data) {
|
|
91433
91697
|
for (var property in data) {
|
|
91434
91698
|
if (data.hasOwnProperty(property))
|
|
@@ -91444,15 +91708,15 @@ the list of supported SERP elements can be found below */
|
|
|
91444
91708
|
this[property] = _data[property];
|
|
91445
91709
|
}
|
|
91446
91710
|
this.se_type = _data["se_type"];
|
|
91447
|
-
this.keyword_data = _data["keyword_data"] ?
|
|
91711
|
+
this.keyword_data = _data["keyword_data"] ? KeywordDataInfo.fromJS(_data["keyword_data"]) : <any>undefined;
|
|
91448
91712
|
this.first_domain_serp_element = _data["first_domain_serp_element"] ? BaseDataforseoLabsSerpElementItem.fromJS(_data["first_domain_serp_element"]) : <any>undefined;
|
|
91449
91713
|
this.second_domain_serp_element = _data["second_domain_serp_element"] ? BaseDataforseoLabsSerpElementItem.fromJS(_data["second_domain_serp_element"]) : <any>undefined;
|
|
91450
91714
|
}
|
|
91451
91715
|
}
|
|
91452
91716
|
|
|
91453
|
-
static fromJS(data: any):
|
|
91717
|
+
static fromJS(data: any): DataforseoLabsGoogleDomainIntersectionLiveItem {
|
|
91454
91718
|
data = typeof data === 'object' ? data : {};
|
|
91455
|
-
let result = new
|
|
91719
|
+
let result = new DataforseoLabsGoogleDomainIntersectionLiveItem();
|
|
91456
91720
|
result.init(data);
|
|
91457
91721
|
return result;
|
|
91458
91722
|
}
|
|
@@ -91471,11 +91735,11 @@ the list of supported SERP elements can be found below */
|
|
|
91471
91735
|
}
|
|
91472
91736
|
}
|
|
91473
91737
|
|
|
91474
|
-
export interface
|
|
91738
|
+
export interface IDataforseoLabsGoogleDomainIntersectionLiveItem {
|
|
91475
91739
|
/** search engine type */
|
|
91476
91740
|
se_type?: string | undefined;
|
|
91477
91741
|
/** keyword data for the returned keyword */
|
|
91478
|
-
keyword_data?:
|
|
91742
|
+
keyword_data?: KeywordDataInfo | undefined;
|
|
91479
91743
|
/** contains data on the first domain’s SERP element found for the returned keyword
|
|
91480
91744
|
the list of supported SERP elements can be found below */
|
|
91481
91745
|
first_domain_serp_element?: BaseDataforseoLabsSerpElementItem | undefined;
|
|
@@ -91502,7 +91766,7 @@ export class DataforseoLabsGoogleDomainIntersectionLiveResultInfo implements IDa
|
|
|
91502
91766
|
/** the number of results returned in the items array */
|
|
91503
91767
|
items_count?: number | undefined;
|
|
91504
91768
|
/** contains keywords, relevant SERP elements and related data */
|
|
91505
|
-
items?: (
|
|
91769
|
+
items?: (DataforseoLabsGoogleDomainIntersectionLiveItem | undefined)[] | undefined;
|
|
91506
91770
|
|
|
91507
91771
|
[key: string]: any;
|
|
91508
91772
|
|
|
@@ -91531,7 +91795,7 @@ export class DataforseoLabsGoogleDomainIntersectionLiveResultInfo implements IDa
|
|
|
91531
91795
|
if (Array.isArray(_data["items"])) {
|
|
91532
91796
|
this.items = [] as any;
|
|
91533
91797
|
for (let item of _data["items"])
|
|
91534
|
-
this.items!.push(
|
|
91798
|
+
this.items!.push(DataforseoLabsGoogleDomainIntersectionLiveItem.fromJS(item));
|
|
91535
91799
|
}
|
|
91536
91800
|
}
|
|
91537
91801
|
}
|
|
@@ -91581,7 +91845,7 @@ export interface IDataforseoLabsGoogleDomainIntersectionLiveResultInfo {
|
|
|
91581
91845
|
/** the number of results returned in the items array */
|
|
91582
91846
|
items_count?: number | undefined;
|
|
91583
91847
|
/** contains keywords, relevant SERP elements and related data */
|
|
91584
|
-
items?: (
|
|
91848
|
+
items?: (DataforseoLabsGoogleDomainIntersectionLiveItem | undefined)[] | undefined;
|
|
91585
91849
|
|
|
91586
91850
|
[key: string]: any;
|
|
91587
91851
|
}
|
|
@@ -95698,12 +95962,6 @@ learn more about how the metric is calculated in this help center article */
|
|
|
95698
95962
|
ranking changes of the SERP element compared to the preceding month;
|
|
95699
95963
|
Note: the changes are calculated even if the preceding month is not included in a POST request */
|
|
95700
95964
|
rank_changes?: RankChanges | undefined;
|
|
95701
|
-
/** search engine type */
|
|
95702
|
-
se_type?: string | undefined;
|
|
95703
|
-
/** backlinks information for the target website */
|
|
95704
|
-
backlinks_info?: BacklinksInfo | undefined;
|
|
95705
|
-
/** page and domain rank information */
|
|
95706
|
-
rank_info?: RankInfo | undefined;
|
|
95707
95965
|
|
|
95708
95966
|
[key: string]: any;
|
|
95709
95967
|
|
|
@@ -95736,9 +95994,6 @@ Note: the changes are calculated even if the preceding month is not included in
|
|
|
95736
95994
|
this.impressions_etv = _data["impressions_etv"];
|
|
95737
95995
|
this.estimated_paid_traffic_cost = _data["estimated_paid_traffic_cost"];
|
|
95738
95996
|
this.rank_changes = _data["rank_changes"] ? RankChanges.fromJS(_data["rank_changes"]) : <any>undefined;
|
|
95739
|
-
this.se_type = _data["se_type"];
|
|
95740
|
-
this.backlinks_info = _data["backlinks_info"] ? BacklinksInfo.fromJS(_data["backlinks_info"]) : <any>undefined;
|
|
95741
|
-
this.rank_info = _data["rank_info"] ? RankInfo.fromJS(_data["rank_info"]) : <any>undefined;
|
|
95742
95997
|
}
|
|
95743
95998
|
}
|
|
95744
95999
|
|
|
@@ -95772,9 +96027,6 @@ Note: the changes are calculated even if the preceding month is not included in
|
|
|
95772
96027
|
data["impressions_etv"] = this.impressions_etv;
|
|
95773
96028
|
data["estimated_paid_traffic_cost"] = this.estimated_paid_traffic_cost;
|
|
95774
96029
|
data["rank_changes"] = this.rank_changes ? this.rank_changes.toJSON() : <any>undefined;
|
|
95775
|
-
data["se_type"] = this.se_type;
|
|
95776
|
-
data["backlinks_info"] = this.backlinks_info ? this.backlinks_info.toJSON() : <any>undefined;
|
|
95777
|
-
data["rank_info"] = this.rank_info ? this.rank_info.toJSON() : <any>undefined;
|
|
95778
96030
|
super.toJSON(data);
|
|
95779
96031
|
return data;
|
|
95780
96032
|
}
|
|
@@ -95831,12 +96083,6 @@ learn more about how the metric is calculated in this help center article */
|
|
|
95831
96083
|
ranking changes of the SERP element compared to the preceding month;
|
|
95832
96084
|
Note: the changes are calculated even if the preceding month is not included in a POST request */
|
|
95833
96085
|
rank_changes?: RankChanges | undefined;
|
|
95834
|
-
/** search engine type */
|
|
95835
|
-
se_type?: string | undefined;
|
|
95836
|
-
/** backlinks information for the target website */
|
|
95837
|
-
backlinks_info?: BacklinksInfo | undefined;
|
|
95838
|
-
/** page and domain rank information */
|
|
95839
|
-
rank_info?: RankInfo | undefined;
|
|
95840
96086
|
|
|
95841
96087
|
[key: string]: any;
|
|
95842
96088
|
}
|
|
@@ -96393,248 +96639,6 @@ kc:/shopping/gpc:organic-offers */
|
|
|
96393
96639
|
[key: string]: any;
|
|
96394
96640
|
}
|
|
96395
96641
|
|
|
96396
|
-
export class PaidDataforseoLabsSerpElementItem extends BaseDataforseoLabsSerpElementItem implements IPaidDataforseoLabsSerpElementItem {
|
|
96397
|
-
/** position within a group of elements with identical type values
|
|
96398
|
-
positions of elements with different type values are omitted from rank_group */
|
|
96399
|
-
rank_group?: number | undefined;
|
|
96400
|
-
/** absolute rank in SERP
|
|
96401
|
-
absolute position among all the elements in SERP */
|
|
96402
|
-
rank_absolute?: number | undefined;
|
|
96403
|
-
/** the alignment of the element in SERP
|
|
96404
|
-
can take the following values:
|
|
96405
|
-
left, right */
|
|
96406
|
-
position?: string | undefined;
|
|
96407
|
-
/** the XPath of the element */
|
|
96408
|
-
xpath?: string | undefined;
|
|
96409
|
-
/** title of the result in SERP */
|
|
96410
|
-
title?: string | undefined;
|
|
96411
|
-
/** domain where a link points */
|
|
96412
|
-
domain?: string | undefined;
|
|
96413
|
-
/** description of the results element in SERP */
|
|
96414
|
-
description?: string | undefined;
|
|
96415
|
-
/** breadcrumb of the Ad element in SERP */
|
|
96416
|
-
breadcrumb?: string | undefined;
|
|
96417
|
-
/** relevant URL of the Ad element in SERP */
|
|
96418
|
-
url?: string | undefined;
|
|
96419
|
-
/** words highlighted in bold within the results description */
|
|
96420
|
-
highlighted?: (string | undefined)[] | undefined;
|
|
96421
|
-
/** additional information about the result */
|
|
96422
|
-
extra?: { [key: string]: string; } | undefined;
|
|
96423
|
-
/** extended description
|
|
96424
|
-
if there is none, equals null */
|
|
96425
|
-
description_rows?: (string | undefined)[] | undefined;
|
|
96426
|
-
/** link of the element */
|
|
96427
|
-
links?: (AdLinkElement | undefined)[] | undefined;
|
|
96428
|
-
/** primary domain name in SERP */
|
|
96429
|
-
main_domain?: string | undefined;
|
|
96430
|
-
/** URL in SERP that does not specify the HTTPs protocol and domain name */
|
|
96431
|
-
relative_url?: string | undefined;
|
|
96432
|
-
/** estimated traffic volume
|
|
96433
|
-
estimated organic monthly traffic to the domain
|
|
96434
|
-
calculated as the product of CTR (click-through-rate) and search volume values of the returned keyword
|
|
96435
|
-
learn more about how the metric is calculated in this help center article */
|
|
96436
|
-
etv?: number | undefined;
|
|
96437
|
-
/** estimated traffic volume based on impressions
|
|
96438
|
-
estimated organic monthly traffic to the domain
|
|
96439
|
-
calculated as the product of CTR (click-through-rate) and impressions values of the returned keyword
|
|
96440
|
-
learn more about how the metric is calculated in this help center article */
|
|
96441
|
-
impressions_etv?: number | undefined;
|
|
96442
|
-
/** estimated cost of converting organic search traffic into paid
|
|
96443
|
-
represents the estimated monthly cost of running ads for the returned keyword
|
|
96444
|
-
the metric is calculated as the product of organic etv and paid cpc values and indicates the cost of driving the estimated volume of monthly organic traffic through PPC advertising in Google Search
|
|
96445
|
-
learn more about how the metric is calculated in this help center article */
|
|
96446
|
-
estimated_paid_traffic_cost?: number | undefined;
|
|
96447
|
-
/** changes in rankings
|
|
96448
|
-
ranking changes of the SERP element compared to the preceding month;
|
|
96449
|
-
Note: the changes are calculated even if the preceding month is not included in a POST request */
|
|
96450
|
-
rank_changes?: RankChanges | undefined;
|
|
96451
|
-
/** search engine type */
|
|
96452
|
-
se_type?: string | undefined;
|
|
96453
|
-
/** backlinks information for the target website */
|
|
96454
|
-
backlinks_info?: BacklinksInfo | undefined;
|
|
96455
|
-
/** page and domain rank information */
|
|
96456
|
-
rank_info?: RankInfo | undefined;
|
|
96457
|
-
|
|
96458
|
-
[key: string]: any;
|
|
96459
|
-
|
|
96460
|
-
constructor(data?: IPaidDataforseoLabsSerpElementItem) {
|
|
96461
|
-
super(data);
|
|
96462
|
-
this._discriminator = "paid";
|
|
96463
|
-
}
|
|
96464
|
-
|
|
96465
|
-
init(_data?: any) {
|
|
96466
|
-
super.init(_data);
|
|
96467
|
-
if (_data) {
|
|
96468
|
-
for (var property in _data) {
|
|
96469
|
-
if (_data.hasOwnProperty(property))
|
|
96470
|
-
this[property] = _data[property];
|
|
96471
|
-
}
|
|
96472
|
-
this.rank_group = _data["rank_group"];
|
|
96473
|
-
this.rank_absolute = _data["rank_absolute"];
|
|
96474
|
-
this.position = _data["position"];
|
|
96475
|
-
this.xpath = _data["xpath"];
|
|
96476
|
-
this.title = _data["title"];
|
|
96477
|
-
this.domain = _data["domain"];
|
|
96478
|
-
this.description = _data["description"];
|
|
96479
|
-
this.breadcrumb = _data["breadcrumb"];
|
|
96480
|
-
this.url = _data["url"];
|
|
96481
|
-
if (Array.isArray(_data["highlighted"])) {
|
|
96482
|
-
this.highlighted = [] as any;
|
|
96483
|
-
for (let item of _data["highlighted"])
|
|
96484
|
-
this.highlighted!.push(item);
|
|
96485
|
-
}
|
|
96486
|
-
if (_data["extra"]) {
|
|
96487
|
-
this.extra = {} as any;
|
|
96488
|
-
for (let key in _data["extra"]) {
|
|
96489
|
-
if (_data["extra"].hasOwnProperty(key))
|
|
96490
|
-
(<any>this.extra)![key] = _data["extra"][key];
|
|
96491
|
-
}
|
|
96492
|
-
}
|
|
96493
|
-
if (Array.isArray(_data["description_rows"])) {
|
|
96494
|
-
this.description_rows = [] as any;
|
|
96495
|
-
for (let item of _data["description_rows"])
|
|
96496
|
-
this.description_rows!.push(item);
|
|
96497
|
-
}
|
|
96498
|
-
if (Array.isArray(_data["links"])) {
|
|
96499
|
-
this.links = [] as any;
|
|
96500
|
-
for (let item of _data["links"])
|
|
96501
|
-
this.links!.push(AdLinkElement.fromJS(item));
|
|
96502
|
-
}
|
|
96503
|
-
this.main_domain = _data["main_domain"];
|
|
96504
|
-
this.relative_url = _data["relative_url"];
|
|
96505
|
-
this.etv = _data["etv"];
|
|
96506
|
-
this.impressions_etv = _data["impressions_etv"];
|
|
96507
|
-
this.estimated_paid_traffic_cost = _data["estimated_paid_traffic_cost"];
|
|
96508
|
-
this.rank_changes = _data["rank_changes"] ? RankChanges.fromJS(_data["rank_changes"]) : <any>undefined;
|
|
96509
|
-
this.se_type = _data["se_type"];
|
|
96510
|
-
this.backlinks_info = _data["backlinks_info"] ? BacklinksInfo.fromJS(_data["backlinks_info"]) : <any>undefined;
|
|
96511
|
-
this.rank_info = _data["rank_info"] ? RankInfo.fromJS(_data["rank_info"]) : <any>undefined;
|
|
96512
|
-
}
|
|
96513
|
-
}
|
|
96514
|
-
|
|
96515
|
-
static fromJS(data: any): PaidDataforseoLabsSerpElementItem {
|
|
96516
|
-
data = typeof data === 'object' ? data : {};
|
|
96517
|
-
let result = new PaidDataforseoLabsSerpElementItem();
|
|
96518
|
-
result.init(data);
|
|
96519
|
-
return result;
|
|
96520
|
-
}
|
|
96521
|
-
|
|
96522
|
-
toJSON(data?: any) {
|
|
96523
|
-
data = typeof data === 'object' ? data : {};
|
|
96524
|
-
for (var property in this) {
|
|
96525
|
-
if (this.hasOwnProperty(property))
|
|
96526
|
-
data[property] = this[property];
|
|
96527
|
-
}
|
|
96528
|
-
data["rank_group"] = this.rank_group;
|
|
96529
|
-
data["rank_absolute"] = this.rank_absolute;
|
|
96530
|
-
data["position"] = this.position;
|
|
96531
|
-
data["xpath"] = this.xpath;
|
|
96532
|
-
data["title"] = this.title;
|
|
96533
|
-
data["domain"] = this.domain;
|
|
96534
|
-
data["description"] = this.description;
|
|
96535
|
-
data["breadcrumb"] = this.breadcrumb;
|
|
96536
|
-
data["url"] = this.url;
|
|
96537
|
-
if (Array.isArray(this.highlighted)) {
|
|
96538
|
-
data["highlighted"] = [];
|
|
96539
|
-
for (let item of this.highlighted)
|
|
96540
|
-
data["highlighted"].push(item);
|
|
96541
|
-
}
|
|
96542
|
-
if (this.extra) {
|
|
96543
|
-
data["extra"] = {};
|
|
96544
|
-
for (let key in this.extra) {
|
|
96545
|
-
if (this.extra.hasOwnProperty(key))
|
|
96546
|
-
(<any>data["extra"])[key] = (<any>this.extra)[key];
|
|
96547
|
-
}
|
|
96548
|
-
}
|
|
96549
|
-
if (Array.isArray(this.description_rows)) {
|
|
96550
|
-
data["description_rows"] = [];
|
|
96551
|
-
for (let item of this.description_rows)
|
|
96552
|
-
data["description_rows"].push(item);
|
|
96553
|
-
}
|
|
96554
|
-
if (Array.isArray(this.links)) {
|
|
96555
|
-
data["links"] = [];
|
|
96556
|
-
for (let item of this.links)
|
|
96557
|
-
data["links"].push(item.toJSON());
|
|
96558
|
-
}
|
|
96559
|
-
data["main_domain"] = this.main_domain;
|
|
96560
|
-
data["relative_url"] = this.relative_url;
|
|
96561
|
-
data["etv"] = this.etv;
|
|
96562
|
-
data["impressions_etv"] = this.impressions_etv;
|
|
96563
|
-
data["estimated_paid_traffic_cost"] = this.estimated_paid_traffic_cost;
|
|
96564
|
-
data["rank_changes"] = this.rank_changes ? this.rank_changes.toJSON() : <any>undefined;
|
|
96565
|
-
data["se_type"] = this.se_type;
|
|
96566
|
-
data["backlinks_info"] = this.backlinks_info ? this.backlinks_info.toJSON() : <any>undefined;
|
|
96567
|
-
data["rank_info"] = this.rank_info ? this.rank_info.toJSON() : <any>undefined;
|
|
96568
|
-
super.toJSON(data);
|
|
96569
|
-
return data;
|
|
96570
|
-
}
|
|
96571
|
-
}
|
|
96572
|
-
|
|
96573
|
-
export interface IPaidDataforseoLabsSerpElementItem extends IBaseDataforseoLabsSerpElementItem {
|
|
96574
|
-
/** position within a group of elements with identical type values
|
|
96575
|
-
positions of elements with different type values are omitted from rank_group */
|
|
96576
|
-
rank_group?: number | undefined;
|
|
96577
|
-
/** absolute rank in SERP
|
|
96578
|
-
absolute position among all the elements in SERP */
|
|
96579
|
-
rank_absolute?: number | undefined;
|
|
96580
|
-
/** the alignment of the element in SERP
|
|
96581
|
-
can take the following values:
|
|
96582
|
-
left, right */
|
|
96583
|
-
position?: string | undefined;
|
|
96584
|
-
/** the XPath of the element */
|
|
96585
|
-
xpath?: string | undefined;
|
|
96586
|
-
/** title of the result in SERP */
|
|
96587
|
-
title?: string | undefined;
|
|
96588
|
-
/** domain where a link points */
|
|
96589
|
-
domain?: string | undefined;
|
|
96590
|
-
/** description of the results element in SERP */
|
|
96591
|
-
description?: string | undefined;
|
|
96592
|
-
/** breadcrumb of the Ad element in SERP */
|
|
96593
|
-
breadcrumb?: string | undefined;
|
|
96594
|
-
/** relevant URL of the Ad element in SERP */
|
|
96595
|
-
url?: string | undefined;
|
|
96596
|
-
/** words highlighted in bold within the results description */
|
|
96597
|
-
highlighted?: (string | undefined)[] | undefined;
|
|
96598
|
-
/** additional information about the result */
|
|
96599
|
-
extra?: { [key: string]: string; } | undefined;
|
|
96600
|
-
/** extended description
|
|
96601
|
-
if there is none, equals null */
|
|
96602
|
-
description_rows?: (string | undefined)[] | undefined;
|
|
96603
|
-
/** link of the element */
|
|
96604
|
-
links?: (AdLinkElement | undefined)[] | undefined;
|
|
96605
|
-
/** primary domain name in SERP */
|
|
96606
|
-
main_domain?: string | undefined;
|
|
96607
|
-
/** URL in SERP that does not specify the HTTPs protocol and domain name */
|
|
96608
|
-
relative_url?: string | undefined;
|
|
96609
|
-
/** estimated traffic volume
|
|
96610
|
-
estimated organic monthly traffic to the domain
|
|
96611
|
-
calculated as the product of CTR (click-through-rate) and search volume values of the returned keyword
|
|
96612
|
-
learn more about how the metric is calculated in this help center article */
|
|
96613
|
-
etv?: number | undefined;
|
|
96614
|
-
/** estimated traffic volume based on impressions
|
|
96615
|
-
estimated organic monthly traffic to the domain
|
|
96616
|
-
calculated as the product of CTR (click-through-rate) and impressions values of the returned keyword
|
|
96617
|
-
learn more about how the metric is calculated in this help center article */
|
|
96618
|
-
impressions_etv?: number | undefined;
|
|
96619
|
-
/** estimated cost of converting organic search traffic into paid
|
|
96620
|
-
represents the estimated monthly cost of running ads for the returned keyword
|
|
96621
|
-
the metric is calculated as the product of organic etv and paid cpc values and indicates the cost of driving the estimated volume of monthly organic traffic through PPC advertising in Google Search
|
|
96622
|
-
learn more about how the metric is calculated in this help center article */
|
|
96623
|
-
estimated_paid_traffic_cost?: number | undefined;
|
|
96624
|
-
/** changes in rankings
|
|
96625
|
-
ranking changes of the SERP element compared to the preceding month;
|
|
96626
|
-
Note: the changes are calculated even if the preceding month is not included in a POST request */
|
|
96627
|
-
rank_changes?: RankChanges | undefined;
|
|
96628
|
-
/** search engine type */
|
|
96629
|
-
se_type?: string | undefined;
|
|
96630
|
-
/** backlinks information for the target website */
|
|
96631
|
-
backlinks_info?: BacklinksInfo | undefined;
|
|
96632
|
-
/** page and domain rank information */
|
|
96633
|
-
rank_info?: RankInfo | undefined;
|
|
96634
|
-
|
|
96635
|
-
[key: string]: any;
|
|
96636
|
-
}
|
|
96637
|
-
|
|
96638
96642
|
export class GoogleReviewsDataforseoLabsSerpElementItem extends BaseDataforseoLabsSerpElementItem implements IGoogleReviewsDataforseoLabsSerpElementItem {
|
|
96639
96643
|
/** position within a group of elements with identical type values
|
|
96640
96644
|
positions of elements with different type values are omitted from rank_group */
|
|
@@ -98688,6 +98692,11 @@ if you use this parameter, our system will correlate data you obtain now with pr
|
|
|
98688
98692
|
this parameter is intended to mitigate any inconsistencies that may result from changes to our database
|
|
98689
98693
|
we recommend always setting correlate to true */
|
|
98690
98694
|
correlate?: boolean | undefined;
|
|
98695
|
+
/** ignore highly similar keywords
|
|
98696
|
+
optional field
|
|
98697
|
+
if set to true, only data based on core keywords will be returned, data for all highly similar keywords will be excluded;
|
|
98698
|
+
default value: false */
|
|
98699
|
+
ignore_synonyms?: boolean | undefined;
|
|
98691
98700
|
/** user-defined task identifier
|
|
98692
98701
|
optional field
|
|
98693
98702
|
the character limit is 255
|
|
@@ -98720,6 +98729,7 @@ you will find the specified tag value in the data object of the response */
|
|
|
98720
98729
|
this.date_from = _data["date_from"];
|
|
98721
98730
|
this.date_to = _data["date_to"];
|
|
98722
98731
|
this.correlate = _data["correlate"];
|
|
98732
|
+
this.ignore_synonyms = _data["ignore_synonyms"];
|
|
98723
98733
|
this.tag = _data["tag"];
|
|
98724
98734
|
}
|
|
98725
98735
|
}
|
|
@@ -98745,6 +98755,7 @@ you will find the specified tag value in the data object of the response */
|
|
|
98745
98755
|
data["date_from"] = this.date_from;
|
|
98746
98756
|
data["date_to"] = this.date_to;
|
|
98747
98757
|
data["correlate"] = this.correlate;
|
|
98758
|
+
data["ignore_synonyms"] = this.ignore_synonyms;
|
|
98748
98759
|
data["tag"] = this.tag;
|
|
98749
98760
|
return data;
|
|
98750
98761
|
}
|
|
@@ -98808,6 +98819,11 @@ if you use this parameter, our system will correlate data you obtain now with pr
|
|
|
98808
98819
|
this parameter is intended to mitigate any inconsistencies that may result from changes to our database
|
|
98809
98820
|
we recommend always setting correlate to true */
|
|
98810
98821
|
correlate?: boolean | undefined;
|
|
98822
|
+
/** ignore highly similar keywords
|
|
98823
|
+
optional field
|
|
98824
|
+
if set to true, only data based on core keywords will be returned, data for all highly similar keywords will be excluded;
|
|
98825
|
+
default value: false */
|
|
98826
|
+
ignore_synonyms?: boolean | undefined;
|
|
98811
98827
|
/** user-defined task identifier
|
|
98812
98828
|
optional field
|
|
98813
98829
|
the character limit is 255
|
|
@@ -99520,11 +99536,11 @@ you will find the specified tag value in the data object of the response */
|
|
|
99520
99536
|
[key: string]: any;
|
|
99521
99537
|
}
|
|
99522
99538
|
|
|
99523
|
-
export class
|
|
99539
|
+
export class DataforseoLabsGooglePageIntersectionLiveItem implements IDataforseoLabsGooglePageIntersectionLiveItem {
|
|
99524
99540
|
/** search engine type */
|
|
99525
99541
|
se_type?: string | undefined;
|
|
99526
99542
|
/** keyword data for the returned keyword */
|
|
99527
|
-
keyword_data?:
|
|
99543
|
+
keyword_data?: KeywordDataInfo | undefined;
|
|
99528
99544
|
/** contains data on the SERP elements found for the returned keyword
|
|
99529
99545
|
data will be provided in separate arrays for each URL you specified in the pages object when setting a task;
|
|
99530
99546
|
depending on the number of specified URLs, it can contain from 1 to 20 arrays named respectively */
|
|
@@ -99532,7 +99548,7 @@ depending on the number of specified URLs, it can contain from 1 to 20 arrays na
|
|
|
99532
99548
|
|
|
99533
99549
|
[key: string]: any;
|
|
99534
99550
|
|
|
99535
|
-
constructor(data?:
|
|
99551
|
+
constructor(data?: IDataforseoLabsGooglePageIntersectionLiveItem) {
|
|
99536
99552
|
if (data) {
|
|
99537
99553
|
for (var property in data) {
|
|
99538
99554
|
if (data.hasOwnProperty(property))
|
|
@@ -99548,7 +99564,7 @@ depending on the number of specified URLs, it can contain from 1 to 20 arrays na
|
|
|
99548
99564
|
this[property] = _data[property];
|
|
99549
99565
|
}
|
|
99550
99566
|
this.se_type = _data["se_type"];
|
|
99551
|
-
this.keyword_data = _data["keyword_data"] ?
|
|
99567
|
+
this.keyword_data = _data["keyword_data"] ? KeywordDataInfo.fromJS(_data["keyword_data"]) : <any>undefined;
|
|
99552
99568
|
if (_data["intersection_result"]) {
|
|
99553
99569
|
this.intersection_result = {} as any;
|
|
99554
99570
|
for (let key in _data["intersection_result"]) {
|
|
@@ -99559,9 +99575,9 @@ depending on the number of specified URLs, it can contain from 1 to 20 arrays na
|
|
|
99559
99575
|
}
|
|
99560
99576
|
}
|
|
99561
99577
|
|
|
99562
|
-
static fromJS(data: any):
|
|
99578
|
+
static fromJS(data: any): DataforseoLabsGooglePageIntersectionLiveItem {
|
|
99563
99579
|
data = typeof data === 'object' ? data : {};
|
|
99564
|
-
let result = new
|
|
99580
|
+
let result = new DataforseoLabsGooglePageIntersectionLiveItem();
|
|
99565
99581
|
result.init(data);
|
|
99566
99582
|
return result;
|
|
99567
99583
|
}
|
|
@@ -99585,11 +99601,11 @@ depending on the number of specified URLs, it can contain from 1 to 20 arrays na
|
|
|
99585
99601
|
}
|
|
99586
99602
|
}
|
|
99587
99603
|
|
|
99588
|
-
export interface
|
|
99604
|
+
export interface IDataforseoLabsGooglePageIntersectionLiveItem {
|
|
99589
99605
|
/** search engine type */
|
|
99590
99606
|
se_type?: string | undefined;
|
|
99591
99607
|
/** keyword data for the returned keyword */
|
|
99592
|
-
keyword_data?:
|
|
99608
|
+
keyword_data?: KeywordDataInfo | undefined;
|
|
99593
99609
|
/** contains data on the SERP elements found for the returned keyword
|
|
99594
99610
|
data will be provided in separate arrays for each URL you specified in the pages object when setting a task;
|
|
99595
99611
|
depending on the number of specified URLs, it can contain from 1 to 20 arrays named respectively */
|
|
@@ -99614,7 +99630,7 @@ export class DataforseoLabsGooglePageIntersectionLiveResultInfo implements IData
|
|
|
99614
99630
|
/** the number of results returned in the items array */
|
|
99615
99631
|
items_count?: number | undefined;
|
|
99616
99632
|
/** contains keywords, relevant SERP elements and related data */
|
|
99617
|
-
items?: (
|
|
99633
|
+
items?: (DataforseoLabsGooglePageIntersectionLiveItem | undefined)[] | undefined;
|
|
99618
99634
|
|
|
99619
99635
|
[key: string]: any;
|
|
99620
99636
|
|
|
@@ -99653,7 +99669,7 @@ export class DataforseoLabsGooglePageIntersectionLiveResultInfo implements IData
|
|
|
99653
99669
|
if (Array.isArray(_data["items"])) {
|
|
99654
99670
|
this.items = [] as any;
|
|
99655
99671
|
for (let item of _data["items"])
|
|
99656
|
-
this.items!.push(
|
|
99672
|
+
this.items!.push(DataforseoLabsGooglePageIntersectionLiveItem.fromJS(item));
|
|
99657
99673
|
}
|
|
99658
99674
|
}
|
|
99659
99675
|
}
|
|
@@ -99713,7 +99729,7 @@ export interface IDataforseoLabsGooglePageIntersectionLiveResultInfo {
|
|
|
99713
99729
|
/** the number of results returned in the items array */
|
|
99714
99730
|
items_count?: number | undefined;
|
|
99715
99731
|
/** contains keywords, relevant SERP elements and related data */
|
|
99716
|
-
items?: (
|
|
99732
|
+
items?: (DataforseoLabsGooglePageIntersectionLiveItem | undefined)[] | undefined;
|
|
99717
99733
|
|
|
99718
99734
|
[key: string]: any;
|
|
99719
99735
|
}
|
|
@@ -100072,7 +100088,7 @@ learn more about how the metric is calculated in this help center article */
|
|
|
100072
100088
|
[key: string]: any;
|
|
100073
100089
|
}
|
|
100074
100090
|
|
|
100075
|
-
export class
|
|
100091
|
+
export class DataforseoLabsBBulkTrafficEstimationLiveItem implements IDataforseoLabsBBulkTrafficEstimationLiveItem {
|
|
100076
100092
|
/** search engine type */
|
|
100077
100093
|
se_type?: string | undefined;
|
|
100078
100094
|
/** target domain in a POST array */
|
|
@@ -100082,7 +100098,7 @@ export class DataforseoLabsBulkTrafficEstimationLiveItem implements IDataforseoL
|
|
|
100082
100098
|
|
|
100083
100099
|
[key: string]: any;
|
|
100084
100100
|
|
|
100085
|
-
constructor(data?:
|
|
100101
|
+
constructor(data?: IDataforseoLabsBBulkTrafficEstimationLiveItem) {
|
|
100086
100102
|
if (data) {
|
|
100087
100103
|
for (var property in data) {
|
|
100088
100104
|
if (data.hasOwnProperty(property))
|
|
@@ -100109,9 +100125,9 @@ export class DataforseoLabsBulkTrafficEstimationLiveItem implements IDataforseoL
|
|
|
100109
100125
|
}
|
|
100110
100126
|
}
|
|
100111
100127
|
|
|
100112
|
-
static fromJS(data: any):
|
|
100128
|
+
static fromJS(data: any): DataforseoLabsBBulkTrafficEstimationLiveItem {
|
|
100113
100129
|
data = typeof data === 'object' ? data : {};
|
|
100114
|
-
let result = new
|
|
100130
|
+
let result = new DataforseoLabsBBulkTrafficEstimationLiveItem();
|
|
100115
100131
|
result.init(data);
|
|
100116
100132
|
return result;
|
|
100117
100133
|
}
|
|
@@ -100135,7 +100151,7 @@ export class DataforseoLabsBulkTrafficEstimationLiveItem implements IDataforseoL
|
|
|
100135
100151
|
}
|
|
100136
100152
|
}
|
|
100137
100153
|
|
|
100138
|
-
export interface
|
|
100154
|
+
export interface IDataforseoLabsBBulkTrafficEstimationLiveItem {
|
|
100139
100155
|
/** search engine type */
|
|
100140
100156
|
se_type?: string | undefined;
|
|
100141
100157
|
/** target domain in a POST array */
|
|
@@ -100160,7 +100176,7 @@ if there is no data, then the value is null */
|
|
|
100160
100176
|
/** the number of results returned in the items array */
|
|
100161
100177
|
items_count?: number | undefined;
|
|
100162
100178
|
/** array of items with relevant traffic estimation data */
|
|
100163
|
-
items?: (
|
|
100179
|
+
items?: (DataforseoLabsBBulkTrafficEstimationLiveItem | undefined)[] | undefined;
|
|
100164
100180
|
|
|
100165
100181
|
[key: string]: any;
|
|
100166
100182
|
|
|
@@ -100187,7 +100203,7 @@ if there is no data, then the value is null */
|
|
|
100187
100203
|
if (Array.isArray(_data["items"])) {
|
|
100188
100204
|
this.items = [] as any;
|
|
100189
100205
|
for (let item of _data["items"])
|
|
100190
|
-
this.items!.push(
|
|
100206
|
+
this.items!.push(DataforseoLabsBBulkTrafficEstimationLiveItem.fromJS(item));
|
|
100191
100207
|
}
|
|
100192
100208
|
}
|
|
100193
100209
|
}
|
|
@@ -100233,7 +100249,7 @@ if there is no data, then the value is null */
|
|
|
100233
100249
|
/** the number of results returned in the items array */
|
|
100234
100250
|
items_count?: number | undefined;
|
|
100235
100251
|
/** array of items with relevant traffic estimation data */
|
|
100236
|
-
items?: (
|
|
100252
|
+
items?: (DataforseoLabsBBulkTrafficEstimationLiveItem | undefined)[] | undefined;
|
|
100237
100253
|
|
|
100238
100254
|
[key: string]: any;
|
|
100239
100255
|
}
|
|
@@ -100400,6 +100416,11 @@ date format: "yyyy-mm-dd"
|
|
|
100400
100416
|
example:
|
|
100401
100417
|
"2021-04-01" */
|
|
100402
100418
|
date_to?: string | undefined;
|
|
100419
|
+
/** ignore highly similar keywords
|
|
100420
|
+
optional field
|
|
100421
|
+
if set to true only core keywords will be returned, all highly similar keywords will be excluded;
|
|
100422
|
+
default value: false */
|
|
100423
|
+
ignore_synonyms?: boolean | undefined;
|
|
100403
100424
|
/** display results by item type
|
|
100404
100425
|
optional field
|
|
100405
100426
|
indicates the type of search results included in the response;
|
|
@@ -100444,6 +100465,7 @@ you will find the specified tag value in the data object of the response */
|
|
|
100444
100465
|
this.language_code = _data["language_code"];
|
|
100445
100466
|
this.date_from = _data["date_from"];
|
|
100446
100467
|
this.date_to = _data["date_to"];
|
|
100468
|
+
this.ignore_synonyms = _data["ignore_synonyms"];
|
|
100447
100469
|
if (Array.isArray(_data["item_types"])) {
|
|
100448
100470
|
this.item_types = [] as any;
|
|
100449
100471
|
for (let item of _data["item_types"])
|
|
@@ -100477,6 +100499,7 @@ you will find the specified tag value in the data object of the response */
|
|
|
100477
100499
|
data["language_code"] = this.language_code;
|
|
100478
100500
|
data["date_from"] = this.date_from;
|
|
100479
100501
|
data["date_to"] = this.date_to;
|
|
100502
|
+
data["ignore_synonyms"] = this.ignore_synonyms;
|
|
100480
100503
|
if (Array.isArray(this.item_types)) {
|
|
100481
100504
|
data["item_types"] = [];
|
|
100482
100505
|
for (let item of this.item_types)
|
|
@@ -100539,6 +100562,11 @@ date format: "yyyy-mm-dd"
|
|
|
100539
100562
|
example:
|
|
100540
100563
|
"2021-04-01" */
|
|
100541
100564
|
date_to?: string | undefined;
|
|
100565
|
+
/** ignore highly similar keywords
|
|
100566
|
+
optional field
|
|
100567
|
+
if set to true only core keywords will be returned, all highly similar keywords will be excluded;
|
|
100568
|
+
default value: false */
|
|
100569
|
+
ignore_synonyms?: boolean | undefined;
|
|
100542
100570
|
/** display results by item type
|
|
100543
100571
|
optional field
|
|
100544
100572
|
indicates the type of search results included in the response;
|
|
@@ -101664,6 +101692,106 @@ you will find the specified tag value in the data object of the response */
|
|
|
101664
101692
|
[key: string]: any;
|
|
101665
101693
|
}
|
|
101666
101694
|
|
|
101695
|
+
export class KeywordDataKeywordDataInfo implements IKeywordDataKeywordDataInfo {
|
|
101696
|
+
/** search engine type
|
|
101697
|
+
search engine type specified in a POST request;
|
|
101698
|
+
for this endpoint, the field equals bing */
|
|
101699
|
+
se_type?: string | undefined;
|
|
101700
|
+
/** returned keyword */
|
|
101701
|
+
keyword?: string | undefined;
|
|
101702
|
+
/** location code in a POST array */
|
|
101703
|
+
location_code?: number | undefined;
|
|
101704
|
+
/** language code in a POST array */
|
|
101705
|
+
language_code?: string | undefined;
|
|
101706
|
+
/** keyword data for the returned keyword */
|
|
101707
|
+
keyword_info?: KeywordInfo | undefined;
|
|
101708
|
+
/** additional information about the keyword */
|
|
101709
|
+
keyword_properties?: KeywordProperties | undefined;
|
|
101710
|
+
/** SERP data
|
|
101711
|
+
the value will be null if you didn’t set the field include_serp_info to true in the POST array or if there is no SERP data for this keyword in our database */
|
|
101712
|
+
serp_info?: SerpInfo | undefined;
|
|
101713
|
+
/** backlink data for the returned keyword
|
|
101714
|
+
this object provides the average number of backlinks, referring pages and domains, as well as the average rank values among the top-10 websites ranking organically for the keyword */
|
|
101715
|
+
avg_backlinks_info?: AvgBacklinksInfo | undefined;
|
|
101716
|
+
|
|
101717
|
+
[key: string]: any;
|
|
101718
|
+
|
|
101719
|
+
constructor(data?: IKeywordDataKeywordDataInfo) {
|
|
101720
|
+
if (data) {
|
|
101721
|
+
for (var property in data) {
|
|
101722
|
+
if (data.hasOwnProperty(property))
|
|
101723
|
+
(<any>this)[property] = (<any>data)[property];
|
|
101724
|
+
}
|
|
101725
|
+
}
|
|
101726
|
+
}
|
|
101727
|
+
|
|
101728
|
+
init(_data?: any) {
|
|
101729
|
+
if (_data) {
|
|
101730
|
+
for (var property in _data) {
|
|
101731
|
+
if (_data.hasOwnProperty(property))
|
|
101732
|
+
this[property] = _data[property];
|
|
101733
|
+
}
|
|
101734
|
+
this.se_type = _data["se_type"];
|
|
101735
|
+
this.keyword = _data["keyword"];
|
|
101736
|
+
this.location_code = _data["location_code"];
|
|
101737
|
+
this.language_code = _data["language_code"];
|
|
101738
|
+
this.keyword_info = _data["keyword_info"] ? KeywordInfo.fromJS(_data["keyword_info"]) : <any>undefined;
|
|
101739
|
+
this.keyword_properties = _data["keyword_properties"] ? KeywordProperties.fromJS(_data["keyword_properties"]) : <any>undefined;
|
|
101740
|
+
this.serp_info = _data["serp_info"] ? SerpInfo.fromJS(_data["serp_info"]) : <any>undefined;
|
|
101741
|
+
this.avg_backlinks_info = _data["avg_backlinks_info"] ? AvgBacklinksInfo.fromJS(_data["avg_backlinks_info"]) : <any>undefined;
|
|
101742
|
+
}
|
|
101743
|
+
}
|
|
101744
|
+
|
|
101745
|
+
static fromJS(data: any): KeywordDataKeywordDataInfo {
|
|
101746
|
+
data = typeof data === 'object' ? data : {};
|
|
101747
|
+
let result = new KeywordDataKeywordDataInfo();
|
|
101748
|
+
result.init(data);
|
|
101749
|
+
return result;
|
|
101750
|
+
}
|
|
101751
|
+
|
|
101752
|
+
toJSON(data?: any) {
|
|
101753
|
+
data = typeof data === 'object' ? data : {};
|
|
101754
|
+
for (var property in this) {
|
|
101755
|
+
if (this.hasOwnProperty(property))
|
|
101756
|
+
data[property] = this[property];
|
|
101757
|
+
}
|
|
101758
|
+
data["se_type"] = this.se_type;
|
|
101759
|
+
data["keyword"] = this.keyword;
|
|
101760
|
+
data["location_code"] = this.location_code;
|
|
101761
|
+
data["language_code"] = this.language_code;
|
|
101762
|
+
data["keyword_info"] = this.keyword_info ? this.keyword_info.toJSON() : <any>undefined;
|
|
101763
|
+
data["keyword_properties"] = this.keyword_properties ? this.keyword_properties.toJSON() : <any>undefined;
|
|
101764
|
+
data["serp_info"] = this.serp_info ? this.serp_info.toJSON() : <any>undefined;
|
|
101765
|
+
data["avg_backlinks_info"] = this.avg_backlinks_info ? this.avg_backlinks_info.toJSON() : <any>undefined;
|
|
101766
|
+
return data;
|
|
101767
|
+
}
|
|
101768
|
+
}
|
|
101769
|
+
|
|
101770
|
+
export interface IKeywordDataKeywordDataInfo {
|
|
101771
|
+
/** search engine type
|
|
101772
|
+
search engine type specified in a POST request;
|
|
101773
|
+
for this endpoint, the field equals bing */
|
|
101774
|
+
se_type?: string | undefined;
|
|
101775
|
+
/** returned keyword */
|
|
101776
|
+
keyword?: string | undefined;
|
|
101777
|
+
/** location code in a POST array */
|
|
101778
|
+
location_code?: number | undefined;
|
|
101779
|
+
/** language code in a POST array */
|
|
101780
|
+
language_code?: string | undefined;
|
|
101781
|
+
/** keyword data for the returned keyword */
|
|
101782
|
+
keyword_info?: KeywordInfo | undefined;
|
|
101783
|
+
/** additional information about the keyword */
|
|
101784
|
+
keyword_properties?: KeywordProperties | undefined;
|
|
101785
|
+
/** SERP data
|
|
101786
|
+
the value will be null if you didn’t set the field include_serp_info to true in the POST array or if there is no SERP data for this keyword in our database */
|
|
101787
|
+
serp_info?: SerpInfo | undefined;
|
|
101788
|
+
/** backlink data for the returned keyword
|
|
101789
|
+
this object provides the average number of backlinks, referring pages and domains, as well as the average rank values among the top-10 websites ranking organically for the keyword */
|
|
101790
|
+
avg_backlinks_info?: AvgBacklinksInfo | undefined;
|
|
101791
|
+
|
|
101792
|
+
[key: string]: any;
|
|
101793
|
+
}
|
|
101794
|
+
|
|
101667
101795
|
export class DataforseoLabsAmazonRelatedKeywordsLiveItem implements IDataforseoLabsAmazonRelatedKeywordsLiveItem {
|
|
101668
101796
|
/** search engine type */
|
|
101669
101797
|
se_type?: string | undefined;
|
|
@@ -102536,7 +102664,7 @@ export class DataforseoLabsAmazonRankedKeywordsLiveItem implements IDataforseoLa
|
|
|
102536
102664
|
/** search engine type */
|
|
102537
102665
|
se_type?: string | undefined;
|
|
102538
102666
|
/** keyword data for the returned keyword */
|
|
102539
|
-
keyword_data?:
|
|
102667
|
+
keyword_data?: KeywordDataKeywordDataInfo | undefined;
|
|
102540
102668
|
/** contains data on the products’s SERP element found for the returned keyword */
|
|
102541
102669
|
ranked_serp_element?: AmazonRankedSerpElement | undefined;
|
|
102542
102670
|
|
|
@@ -102558,7 +102686,7 @@ export class DataforseoLabsAmazonRankedKeywordsLiveItem implements IDataforseoLa
|
|
|
102558
102686
|
this[property] = _data[property];
|
|
102559
102687
|
}
|
|
102560
102688
|
this.se_type = _data["se_type"];
|
|
102561
|
-
this.keyword_data = _data["keyword_data"] ?
|
|
102689
|
+
this.keyword_data = _data["keyword_data"] ? KeywordDataKeywordDataInfo.fromJS(_data["keyword_data"]) : <any>undefined;
|
|
102562
102690
|
this.ranked_serp_element = _data["ranked_serp_element"] ? AmazonRankedSerpElement.fromJS(_data["ranked_serp_element"]) : <any>undefined;
|
|
102563
102691
|
}
|
|
102564
102692
|
}
|
|
@@ -102587,7 +102715,7 @@ export interface IDataforseoLabsAmazonRankedKeywordsLiveItem {
|
|
|
102587
102715
|
/** search engine type */
|
|
102588
102716
|
se_type?: string | undefined;
|
|
102589
102717
|
/** keyword data for the returned keyword */
|
|
102590
|
-
keyword_data?:
|
|
102718
|
+
keyword_data?: KeywordDataKeywordDataInfo | undefined;
|
|
102591
102719
|
/** contains data on the products’s SERP element found for the returned keyword */
|
|
102592
102720
|
ranked_serp_element?: AmazonRankedSerpElement | undefined;
|
|
102593
102721
|
|
|
@@ -105014,7 +105142,7 @@ if there is no data, then the value is null */
|
|
|
105014
105142
|
/** the number of results returned in the items array */
|
|
105015
105143
|
items_count?: number | undefined;
|
|
105016
105144
|
/** array of items with relevant traffic estimation data */
|
|
105017
|
-
items?: (
|
|
105145
|
+
items?: (DataforseoLabsBBulkTrafficEstimationLiveItem | undefined)[] | undefined;
|
|
105018
105146
|
|
|
105019
105147
|
[key: string]: any;
|
|
105020
105148
|
|
|
@@ -105041,7 +105169,7 @@ if there is no data, then the value is null */
|
|
|
105041
105169
|
if (Array.isArray(_data["items"])) {
|
|
105042
105170
|
this.items = [] as any;
|
|
105043
105171
|
for (let item of _data["items"])
|
|
105044
|
-
this.items!.push(
|
|
105172
|
+
this.items!.push(DataforseoLabsBBulkTrafficEstimationLiveItem.fromJS(item));
|
|
105045
105173
|
}
|
|
105046
105174
|
}
|
|
105047
105175
|
}
|
|
@@ -105087,7 +105215,7 @@ if there is no data, then the value is null */
|
|
|
105087
105215
|
/** the number of results returned in the items array */
|
|
105088
105216
|
items_count?: number | undefined;
|
|
105089
105217
|
/** array of items with relevant traffic estimation data */
|
|
105090
|
-
items?: (
|
|
105218
|
+
items?: (DataforseoLabsBBulkTrafficEstimationLiveItem | undefined)[] | undefined;
|
|
105091
105219
|
|
|
105092
105220
|
[key: string]: any;
|
|
105093
105221
|
}
|
|
@@ -106090,6 +106218,82 @@ you will find the specified tag value in the data object of the response */
|
|
|
106090
106218
|
[key: string]: any;
|
|
106091
106219
|
}
|
|
106092
106220
|
|
|
106221
|
+
export class DataforseoLabsBingDomainIntersectionLiveItem implements IDataforseoLabsBingDomainIntersectionLiveItem {
|
|
106222
|
+
/** search engine type
|
|
106223
|
+
search engine type specified in a POST request;
|
|
106224
|
+
for this endpoint, the field equals bing */
|
|
106225
|
+
se_type?: string | undefined;
|
|
106226
|
+
/** keyword data for the returned keyword */
|
|
106227
|
+
keyword_data?: KeywordDataKeywordDataInfo | undefined;
|
|
106228
|
+
/** contains data on the first domain’s SERP element found for the returned keyword
|
|
106229
|
+
the list of supported SERP elements can be found below */
|
|
106230
|
+
first_domain_serp_element?: BaseDataforseoLabsSerpElementItem | undefined;
|
|
106231
|
+
/** contains data on the second domain’s SERP element found for the returned keyword
|
|
106232
|
+
the list of supported SERP elements can be found below */
|
|
106233
|
+
second_domain_serp_element?: BaseDataforseoLabsSerpElementItem | undefined;
|
|
106234
|
+
|
|
106235
|
+
[key: string]: any;
|
|
106236
|
+
|
|
106237
|
+
constructor(data?: IDataforseoLabsBingDomainIntersectionLiveItem) {
|
|
106238
|
+
if (data) {
|
|
106239
|
+
for (var property in data) {
|
|
106240
|
+
if (data.hasOwnProperty(property))
|
|
106241
|
+
(<any>this)[property] = (<any>data)[property];
|
|
106242
|
+
}
|
|
106243
|
+
}
|
|
106244
|
+
}
|
|
106245
|
+
|
|
106246
|
+
init(_data?: any) {
|
|
106247
|
+
if (_data) {
|
|
106248
|
+
for (var property in _data) {
|
|
106249
|
+
if (_data.hasOwnProperty(property))
|
|
106250
|
+
this[property] = _data[property];
|
|
106251
|
+
}
|
|
106252
|
+
this.se_type = _data["se_type"];
|
|
106253
|
+
this.keyword_data = _data["keyword_data"] ? KeywordDataKeywordDataInfo.fromJS(_data["keyword_data"]) : <any>undefined;
|
|
106254
|
+
this.first_domain_serp_element = _data["first_domain_serp_element"] ? BaseDataforseoLabsSerpElementItem.fromJS(_data["first_domain_serp_element"]) : <any>undefined;
|
|
106255
|
+
this.second_domain_serp_element = _data["second_domain_serp_element"] ? BaseDataforseoLabsSerpElementItem.fromJS(_data["second_domain_serp_element"]) : <any>undefined;
|
|
106256
|
+
}
|
|
106257
|
+
}
|
|
106258
|
+
|
|
106259
|
+
static fromJS(data: any): DataforseoLabsBingDomainIntersectionLiveItem {
|
|
106260
|
+
data = typeof data === 'object' ? data : {};
|
|
106261
|
+
let result = new DataforseoLabsBingDomainIntersectionLiveItem();
|
|
106262
|
+
result.init(data);
|
|
106263
|
+
return result;
|
|
106264
|
+
}
|
|
106265
|
+
|
|
106266
|
+
toJSON(data?: any) {
|
|
106267
|
+
data = typeof data === 'object' ? data : {};
|
|
106268
|
+
for (var property in this) {
|
|
106269
|
+
if (this.hasOwnProperty(property))
|
|
106270
|
+
data[property] = this[property];
|
|
106271
|
+
}
|
|
106272
|
+
data["se_type"] = this.se_type;
|
|
106273
|
+
data["keyword_data"] = this.keyword_data ? this.keyword_data.toJSON() : <any>undefined;
|
|
106274
|
+
data["first_domain_serp_element"] = this.first_domain_serp_element ? this.first_domain_serp_element.toJSON() : <any>undefined;
|
|
106275
|
+
data["second_domain_serp_element"] = this.second_domain_serp_element ? this.second_domain_serp_element.toJSON() : <any>undefined;
|
|
106276
|
+
return data;
|
|
106277
|
+
}
|
|
106278
|
+
}
|
|
106279
|
+
|
|
106280
|
+
export interface IDataforseoLabsBingDomainIntersectionLiveItem {
|
|
106281
|
+
/** search engine type
|
|
106282
|
+
search engine type specified in a POST request;
|
|
106283
|
+
for this endpoint, the field equals bing */
|
|
106284
|
+
se_type?: string | undefined;
|
|
106285
|
+
/** keyword data for the returned keyword */
|
|
106286
|
+
keyword_data?: KeywordDataKeywordDataInfo | undefined;
|
|
106287
|
+
/** contains data on the first domain’s SERP element found for the returned keyword
|
|
106288
|
+
the list of supported SERP elements can be found below */
|
|
106289
|
+
first_domain_serp_element?: BaseDataforseoLabsSerpElementItem | undefined;
|
|
106290
|
+
/** contains data on the second domain’s SERP element found for the returned keyword
|
|
106291
|
+
the list of supported SERP elements can be found below */
|
|
106292
|
+
second_domain_serp_element?: BaseDataforseoLabsSerpElementItem | undefined;
|
|
106293
|
+
|
|
106294
|
+
[key: string]: any;
|
|
106295
|
+
}
|
|
106296
|
+
|
|
106093
106297
|
export class DataforseoLabsBingDomainIntersectionLiveResultInfo implements IDataforseoLabsBingDomainIntersectionLiveResultInfo {
|
|
106094
106298
|
/** search engine type
|
|
106095
106299
|
search engine type specified in a POST request;
|
|
@@ -106108,7 +106312,7 @@ for this endpoint, the field equals bing */
|
|
|
106108
106312
|
/** the number of results returned in the items array */
|
|
106109
106313
|
items_count?: number | undefined;
|
|
106110
106314
|
/** contains keywords, relevant SERP elements and related data */
|
|
106111
|
-
items?: (
|
|
106315
|
+
items?: (DataforseoLabsBingDomainIntersectionLiveItem | undefined)[] | undefined;
|
|
106112
106316
|
|
|
106113
106317
|
[key: string]: any;
|
|
106114
106318
|
|
|
@@ -106137,7 +106341,7 @@ for this endpoint, the field equals bing */
|
|
|
106137
106341
|
if (Array.isArray(_data["items"])) {
|
|
106138
106342
|
this.items = [] as any;
|
|
106139
106343
|
for (let item of _data["items"])
|
|
106140
|
-
this.items!.push(
|
|
106344
|
+
this.items!.push(DataforseoLabsBingDomainIntersectionLiveItem.fromJS(item));
|
|
106141
106345
|
}
|
|
106142
106346
|
}
|
|
106143
106347
|
}
|
|
@@ -106189,7 +106393,7 @@ for this endpoint, the field equals bing */
|
|
|
106189
106393
|
/** the number of results returned in the items array */
|
|
106190
106394
|
items_count?: number | undefined;
|
|
106191
106395
|
/** contains keywords, relevant SERP elements and related data */
|
|
106192
|
-
items?: (
|
|
106396
|
+
items?: (DataforseoLabsBingDomainIntersectionLiveItem | undefined)[] | undefined;
|
|
106193
106397
|
|
|
106194
106398
|
[key: string]: any;
|
|
106195
106399
|
}
|
|
@@ -107106,6 +107310,88 @@ you will find the specified tag value in the data object of the response */
|
|
|
107106
107310
|
[key: string]: any;
|
|
107107
107311
|
}
|
|
107108
107312
|
|
|
107313
|
+
export class DataforseoLabsBingPageIntersectionLiveItem implements IDataforseoLabsBingPageIntersectionLiveItem {
|
|
107314
|
+
/** search engine type
|
|
107315
|
+
search engine type specified in a POST request;
|
|
107316
|
+
for this endpoint, the field equals bing */
|
|
107317
|
+
se_type?: string | undefined;
|
|
107318
|
+
/** keyword data for the returned keyword */
|
|
107319
|
+
keyword_data?: KeywordDataKeywordDataInfo | undefined;
|
|
107320
|
+
/** contains data on the SERP elements found for the returned keyword
|
|
107321
|
+
data will be provided in separate arrays for each URL you specified in the pages object when setting a task;
|
|
107322
|
+
depending on the number of specified URLs, it can contain from 1 to 20 arrays named respectively */
|
|
107323
|
+
intersection_result?: { [key: string]: BaseDataforseoLabsSerpElementItem; } | undefined;
|
|
107324
|
+
|
|
107325
|
+
[key: string]: any;
|
|
107326
|
+
|
|
107327
|
+
constructor(data?: IDataforseoLabsBingPageIntersectionLiveItem) {
|
|
107328
|
+
if (data) {
|
|
107329
|
+
for (var property in data) {
|
|
107330
|
+
if (data.hasOwnProperty(property))
|
|
107331
|
+
(<any>this)[property] = (<any>data)[property];
|
|
107332
|
+
}
|
|
107333
|
+
}
|
|
107334
|
+
}
|
|
107335
|
+
|
|
107336
|
+
init(_data?: any) {
|
|
107337
|
+
if (_data) {
|
|
107338
|
+
for (var property in _data) {
|
|
107339
|
+
if (_data.hasOwnProperty(property))
|
|
107340
|
+
this[property] = _data[property];
|
|
107341
|
+
}
|
|
107342
|
+
this.se_type = _data["se_type"];
|
|
107343
|
+
this.keyword_data = _data["keyword_data"] ? KeywordDataKeywordDataInfo.fromJS(_data["keyword_data"]) : <any>undefined;
|
|
107344
|
+
if (_data["intersection_result"]) {
|
|
107345
|
+
this.intersection_result = {} as any;
|
|
107346
|
+
for (let key in _data["intersection_result"]) {
|
|
107347
|
+
if (_data["intersection_result"].hasOwnProperty(key))
|
|
107348
|
+
(<any>this.intersection_result)![key] = _data["intersection_result"][key] ? BaseDataforseoLabsSerpElementItem.fromJS(_data["intersection_result"][key]) : <any>undefined;
|
|
107349
|
+
}
|
|
107350
|
+
}
|
|
107351
|
+
}
|
|
107352
|
+
}
|
|
107353
|
+
|
|
107354
|
+
static fromJS(data: any): DataforseoLabsBingPageIntersectionLiveItem {
|
|
107355
|
+
data = typeof data === 'object' ? data : {};
|
|
107356
|
+
let result = new DataforseoLabsBingPageIntersectionLiveItem();
|
|
107357
|
+
result.init(data);
|
|
107358
|
+
return result;
|
|
107359
|
+
}
|
|
107360
|
+
|
|
107361
|
+
toJSON(data?: any) {
|
|
107362
|
+
data = typeof data === 'object' ? data : {};
|
|
107363
|
+
for (var property in this) {
|
|
107364
|
+
if (this.hasOwnProperty(property))
|
|
107365
|
+
data[property] = this[property];
|
|
107366
|
+
}
|
|
107367
|
+
data["se_type"] = this.se_type;
|
|
107368
|
+
data["keyword_data"] = this.keyword_data ? this.keyword_data.toJSON() : <any>undefined;
|
|
107369
|
+
if (this.intersection_result) {
|
|
107370
|
+
data["intersection_result"] = {};
|
|
107371
|
+
for (let key in this.intersection_result) {
|
|
107372
|
+
if (this.intersection_result.hasOwnProperty(key))
|
|
107373
|
+
(<any>data["intersection_result"])[key] = this.intersection_result[key] ? this.intersection_result[key].toJSON() : <any>undefined;
|
|
107374
|
+
}
|
|
107375
|
+
}
|
|
107376
|
+
return data;
|
|
107377
|
+
}
|
|
107378
|
+
}
|
|
107379
|
+
|
|
107380
|
+
export interface IDataforseoLabsBingPageIntersectionLiveItem {
|
|
107381
|
+
/** search engine type
|
|
107382
|
+
search engine type specified in a POST request;
|
|
107383
|
+
for this endpoint, the field equals bing */
|
|
107384
|
+
se_type?: string | undefined;
|
|
107385
|
+
/** keyword data for the returned keyword */
|
|
107386
|
+
keyword_data?: KeywordDataKeywordDataInfo | undefined;
|
|
107387
|
+
/** contains data on the SERP elements found for the returned keyword
|
|
107388
|
+
data will be provided in separate arrays for each URL you specified in the pages object when setting a task;
|
|
107389
|
+
depending on the number of specified URLs, it can contain from 1 to 20 arrays named respectively */
|
|
107390
|
+
intersection_result?: { [key: string]: BaseDataforseoLabsSerpElementItem; } | undefined;
|
|
107391
|
+
|
|
107392
|
+
[key: string]: any;
|
|
107393
|
+
}
|
|
107394
|
+
|
|
107109
107395
|
export class DataforseoLabsBingPageIntersectionLiveResultInfo implements IDataforseoLabsBingPageIntersectionLiveResultInfo {
|
|
107110
107396
|
/** search engine type
|
|
107111
107397
|
search engine type specified in a POST request;
|
|
@@ -107124,7 +107410,7 @@ for this endpoint, the field equals bing */
|
|
|
107124
107410
|
/** the number of results returned in the items array */
|
|
107125
107411
|
items_count?: number | undefined;
|
|
107126
107412
|
/** contains keywords, relevant SERP elements and related data */
|
|
107127
|
-
items?: (
|
|
107413
|
+
items?: (DataforseoLabsBingPageIntersectionLiveItem | undefined)[] | undefined;
|
|
107128
107414
|
|
|
107129
107415
|
[key: string]: any;
|
|
107130
107416
|
|
|
@@ -107163,7 +107449,7 @@ for this endpoint, the field equals bing */
|
|
|
107163
107449
|
if (Array.isArray(_data["items"])) {
|
|
107164
107450
|
this.items = [] as any;
|
|
107165
107451
|
for (let item of _data["items"])
|
|
107166
|
-
this.items!.push(
|
|
107452
|
+
this.items!.push(DataforseoLabsBingPageIntersectionLiveItem.fromJS(item));
|
|
107167
107453
|
}
|
|
107168
107454
|
}
|
|
107169
107455
|
}
|
|
@@ -107225,7 +107511,7 @@ for this endpoint, the field equals bing */
|
|
|
107225
107511
|
/** the number of results returned in the items array */
|
|
107226
107512
|
items_count?: number | undefined;
|
|
107227
107513
|
/** contains keywords, relevant SERP elements and related data */
|
|
107228
|
-
items?: (
|
|
107514
|
+
items?: (DataforseoLabsBingPageIntersectionLiveItem | undefined)[] | undefined;
|
|
107229
107515
|
|
|
107230
107516
|
[key: string]: any;
|
|
107231
107517
|
}
|
|
@@ -107696,7 +107982,7 @@ export class DataforseoLabsBingRankedKeywordsLiveItem implements IDataforseoLabs
|
|
|
107696
107982
|
/** search engine type */
|
|
107697
107983
|
se_type?: string | undefined;
|
|
107698
107984
|
/** keyword data for the returned keyword */
|
|
107699
|
-
keyword_data?:
|
|
107985
|
+
keyword_data?: KeywordDataKeywordDataInfo | undefined;
|
|
107700
107986
|
/** contains data on the domain’s SERP element found for the returned keyword */
|
|
107701
107987
|
ranked_serp_element?: RankedSerpElement | undefined;
|
|
107702
107988
|
|
|
@@ -107718,7 +108004,7 @@ export class DataforseoLabsBingRankedKeywordsLiveItem implements IDataforseoLabs
|
|
|
107718
108004
|
this[property] = _data[property];
|
|
107719
108005
|
}
|
|
107720
108006
|
this.se_type = _data["se_type"];
|
|
107721
|
-
this.keyword_data = _data["keyword_data"] ?
|
|
108007
|
+
this.keyword_data = _data["keyword_data"] ? KeywordDataKeywordDataInfo.fromJS(_data["keyword_data"]) : <any>undefined;
|
|
107722
108008
|
this.ranked_serp_element = _data["ranked_serp_element"] ? RankedSerpElement.fromJS(_data["ranked_serp_element"]) : <any>undefined;
|
|
107723
108009
|
}
|
|
107724
108010
|
}
|
|
@@ -107747,7 +108033,7 @@ export interface IDataforseoLabsBingRankedKeywordsLiveItem {
|
|
|
107747
108033
|
/** search engine type */
|
|
107748
108034
|
se_type?: string | undefined;
|
|
107749
108035
|
/** keyword data for the returned keyword */
|
|
107750
|
-
keyword_data?:
|
|
108036
|
+
keyword_data?: KeywordDataKeywordDataInfo | undefined;
|
|
107751
108037
|
/** contains data on the domain’s SERP element found for the returned keyword */
|
|
107752
108038
|
ranked_serp_element?: RankedSerpElement | undefined;
|
|
107753
108039
|
|
|
@@ -108330,7 +108616,7 @@ export class DataforseoLabsBingRelatedKeywordsLiveItem implements IDataforseoLab
|
|
|
108330
108616
|
/** search engine type */
|
|
108331
108617
|
se_type?: string | undefined;
|
|
108332
108618
|
/** keyword data for the returned keyword */
|
|
108333
|
-
keyword_data?:
|
|
108619
|
+
keyword_data?: KeywordDataKeywordDataInfo | undefined;
|
|
108334
108620
|
/** keyword search depth */
|
|
108335
108621
|
depth?: number | undefined;
|
|
108336
108622
|
/** list of related keywords
|
|
@@ -108355,7 +108641,7 @@ represents the list of search queries which are related to the keyword returned
|
|
|
108355
108641
|
this[property] = _data[property];
|
|
108356
108642
|
}
|
|
108357
108643
|
this.se_type = _data["se_type"];
|
|
108358
|
-
this.keyword_data = _data["keyword_data"] ?
|
|
108644
|
+
this.keyword_data = _data["keyword_data"] ? KeywordDataKeywordDataInfo.fromJS(_data["keyword_data"]) : <any>undefined;
|
|
108359
108645
|
this.depth = _data["depth"];
|
|
108360
108646
|
if (Array.isArray(_data["related_keywords"])) {
|
|
108361
108647
|
this.related_keywords = [] as any;
|
|
@@ -108394,7 +108680,7 @@ export interface IDataforseoLabsBingRelatedKeywordsLiveItem {
|
|
|
108394
108680
|
/** search engine type */
|
|
108395
108681
|
se_type?: string | undefined;
|
|
108396
108682
|
/** keyword data for the returned keyword */
|
|
108397
|
-
keyword_data?:
|
|
108683
|
+
keyword_data?: KeywordDataKeywordDataInfo | undefined;
|
|
108398
108684
|
/** keyword search depth */
|
|
108399
108685
|
depth?: number | undefined;
|
|
108400
108686
|
/** list of related keywords
|
|
@@ -108411,7 +108697,7 @@ export class DataforseoLabsBingRelatedKeywordsLiveResultInfo implements IDatafor
|
|
|
108411
108697
|
seed_keyword?: string | undefined;
|
|
108412
108698
|
/** keyword data for the seed keyword
|
|
108413
108699
|
fields in the array are identical to that of keyword_data */
|
|
108414
|
-
seed_keyword_data?:
|
|
108700
|
+
seed_keyword_data?: KeywordDataKeywordDataInfo | undefined;
|
|
108415
108701
|
/** location code in a POST array */
|
|
108416
108702
|
location_code?: number | undefined;
|
|
108417
108703
|
/** language code in a POST array */
|
|
@@ -108442,7 +108728,7 @@ fields in the array are identical to that of keyword_data */
|
|
|
108442
108728
|
}
|
|
108443
108729
|
this.se_type = _data["se_type"];
|
|
108444
108730
|
this.seed_keyword = _data["seed_keyword"];
|
|
108445
|
-
this.seed_keyword_data = _data["seed_keyword_data"] ?
|
|
108731
|
+
this.seed_keyword_data = _data["seed_keyword_data"] ? KeywordDataKeywordDataInfo.fromJS(_data["seed_keyword_data"]) : <any>undefined;
|
|
108446
108732
|
this.location_code = _data["location_code"];
|
|
108447
108733
|
this.language_code = _data["language_code"];
|
|
108448
108734
|
this.total_count = _data["total_count"];
|
|
@@ -108491,7 +108777,7 @@ export interface IDataforseoLabsBingRelatedKeywordsLiveResultInfo {
|
|
|
108491
108777
|
seed_keyword?: string | undefined;
|
|
108492
108778
|
/** keyword data for the seed keyword
|
|
108493
108779
|
fields in the array are identical to that of keyword_data */
|
|
108494
|
-
seed_keyword_data?:
|
|
108780
|
+
seed_keyword_data?: KeywordDataKeywordDataInfo | undefined;
|
|
108495
108781
|
/** location code in a POST array */
|
|
108496
108782
|
location_code?: number | undefined;
|
|
108497
108783
|
/** language code in a POST array */
|
|
@@ -111092,7 +111378,7 @@ export class DataforseoLabsleKeywordsForAppLiveItem implements IDataforseoLabsle
|
|
|
111092
111378
|
/** search engine type */
|
|
111093
111379
|
se_type?: string | undefined;
|
|
111094
111380
|
/** keyword data for the returned keyword */
|
|
111095
|
-
keyword_data?:
|
|
111381
|
+
keyword_data?: KeywordDataKeywordDataInfo | undefined;
|
|
111096
111382
|
/** contains data on the domain’s SERP element found for the returned keyword */
|
|
111097
111383
|
ranked_serp_element?: AppRankedSerpElementInfo | undefined;
|
|
111098
111384
|
|
|
@@ -111114,7 +111400,7 @@ export class DataforseoLabsleKeywordsForAppLiveItem implements IDataforseoLabsle
|
|
|
111114
111400
|
this[property] = _data[property];
|
|
111115
111401
|
}
|
|
111116
111402
|
this.se_type = _data["se_type"];
|
|
111117
|
-
this.keyword_data = _data["keyword_data"] ?
|
|
111403
|
+
this.keyword_data = _data["keyword_data"] ? KeywordDataKeywordDataInfo.fromJS(_data["keyword_data"]) : <any>undefined;
|
|
111118
111404
|
this.ranked_serp_element = _data["ranked_serp_element"] ? AppRankedSerpElementInfo.fromJS(_data["ranked_serp_element"]) : <any>undefined;
|
|
111119
111405
|
}
|
|
111120
111406
|
}
|
|
@@ -111143,7 +111429,7 @@ export interface IDataforseoLabsleKeywordsForAppLiveItem {
|
|
|
111143
111429
|
/** search engine type */
|
|
111144
111430
|
se_type?: string | undefined;
|
|
111145
111431
|
/** keyword data for the returned keyword */
|
|
111146
|
-
keyword_data?:
|
|
111432
|
+
keyword_data?: KeywordDataKeywordDataInfo | undefined;
|
|
111147
111433
|
/** contains data on the domain’s SERP element found for the returned keyword */
|
|
111148
111434
|
ranked_serp_element?: AppRankedSerpElementInfo | undefined;
|
|
111149
111435
|
|
|
@@ -112256,7 +112542,7 @@ export class DataforseoLabsleAppIntersectionLiveItem implements IDataforseoLabsl
|
|
|
112256
112542
|
/** search engine type */
|
|
112257
112543
|
se_type?: string | undefined;
|
|
112258
112544
|
/** keyword data for the returned keyword */
|
|
112259
|
-
keyword_data?:
|
|
112545
|
+
keyword_data?: KeywordDataKeywordDataInfo | undefined;
|
|
112260
112546
|
/** contains SERP data for the returned keyword
|
|
112261
112547
|
data will be provided in separate arrays for each app ID you specified in the app_ids object when setting a task;
|
|
112262
112548
|
depending on the number of specified app IDs, it can contain from 1 to 20 arrays named respectively */
|
|
@@ -112280,7 +112566,7 @@ depending on the number of specified app IDs, it can contain from 1 to 20 arrays
|
|
|
112280
112566
|
this[property] = _data[property];
|
|
112281
112567
|
}
|
|
112282
112568
|
this.se_type = _data["se_type"];
|
|
112283
|
-
this.keyword_data = _data["keyword_data"] ?
|
|
112569
|
+
this.keyword_data = _data["keyword_data"] ? KeywordDataKeywordDataInfo.fromJS(_data["keyword_data"]) : <any>undefined;
|
|
112284
112570
|
if (_data["intersection_result"]) {
|
|
112285
112571
|
this.intersection_result = {} as any;
|
|
112286
112572
|
for (let key in _data["intersection_result"]) {
|
|
@@ -112321,7 +112607,7 @@ export interface IDataforseoLabsleAppIntersectionLiveItem {
|
|
|
112321
112607
|
/** search engine type */
|
|
112322
112608
|
se_type?: string | undefined;
|
|
112323
112609
|
/** keyword data for the returned keyword */
|
|
112324
|
-
keyword_data?:
|
|
112610
|
+
keyword_data?: KeywordDataKeywordDataInfo | undefined;
|
|
112325
112611
|
/** contains SERP data for the returned keyword
|
|
112326
112612
|
data will be provided in separate arrays for each app ID you specified in the app_ids object when setting a task;
|
|
112327
112613
|
depending on the number of specified app IDs, it can contain from 1 to 20 arrays named respectively */
|
|
@@ -134920,8 +135206,6 @@ indicates ISO country codes of the domains where the referring links are located
|
|
|
134920
135206
|
referring_links_countries?: { [key: string]: number; } | undefined;
|
|
134921
135207
|
/** number of referring pages pointing at least one nofollow link to the target */
|
|
134922
135208
|
referring_pages_nofollow?: number | undefined;
|
|
134923
|
-
/** number of nofollow backlinks pointing to the target */
|
|
134924
|
-
backlinks_nofollow?: number | undefined;
|
|
134925
135209
|
|
|
134926
135210
|
[key: string]: any;
|
|
134927
135211
|
|
|
@@ -135002,7 +135286,6 @@ indicates ISO country codes of the domains where the referring links are located
|
|
|
135002
135286
|
}
|
|
135003
135287
|
}
|
|
135004
135288
|
this.referring_pages_nofollow = _data["referring_pages_nofollow"];
|
|
135005
|
-
this.backlinks_nofollow = _data["backlinks_nofollow"];
|
|
135006
135289
|
}
|
|
135007
135290
|
}
|
|
135008
135291
|
|
|
@@ -135081,7 +135364,6 @@ indicates ISO country codes of the domains where the referring links are located
|
|
|
135081
135364
|
}
|
|
135082
135365
|
}
|
|
135083
135366
|
data["referring_pages_nofollow"] = this.referring_pages_nofollow;
|
|
135084
|
-
data["backlinks_nofollow"] = this.backlinks_nofollow;
|
|
135085
135367
|
return data;
|
|
135086
135368
|
}
|
|
135087
135369
|
}
|
|
@@ -135171,8 +135453,6 @@ indicates ISO country codes of the domains where the referring links are located
|
|
|
135171
135453
|
referring_links_countries?: { [key: string]: number; } | undefined;
|
|
135172
135454
|
/** number of referring pages pointing at least one nofollow link to the target */
|
|
135173
135455
|
referring_pages_nofollow?: number | undefined;
|
|
135174
|
-
/** number of nofollow backlinks pointing to the target */
|
|
135175
|
-
backlinks_nofollow?: number | undefined;
|
|
135176
135456
|
|
|
135177
135457
|
[key: string]: any;
|
|
135178
135458
|
}
|
|
@@ -143819,6 +144099,11 @@ for example, if you specify:
|
|
|
143819
144099
|
we will return items falling between 2022-03-01 and 2022-05-31, namely, three items corresponding to the following dates: 2022-03-31, 2022-04-30, 2022-05-31
|
|
143820
144100
|
if there is no data for a certain day/week/month/year, we will return 0 */
|
|
143821
144101
|
group_range?: string | undefined;
|
|
144102
|
+
/** indicates if the subdomains of the target will be included in the search
|
|
144103
|
+
optional field
|
|
144104
|
+
if set to false, the subdomains will be ignored
|
|
144105
|
+
default value: true */
|
|
144106
|
+
include_subdomains?: boolean | undefined;
|
|
143822
144107
|
/** user-defined task identifier
|
|
143823
144108
|
optional field
|
|
143824
144109
|
the character limit is 255
|
|
@@ -143847,6 +144132,7 @@ you will find the specified tag value in the data object of the response */
|
|
|
143847
144132
|
this.date_from = _data["date_from"];
|
|
143848
144133
|
this.date_to = _data["date_to"];
|
|
143849
144134
|
this.group_range = _data["group_range"];
|
|
144135
|
+
this.include_subdomains = _data["include_subdomains"];
|
|
143850
144136
|
this.tag = _data["tag"];
|
|
143851
144137
|
}
|
|
143852
144138
|
}
|
|
@@ -143868,6 +144154,7 @@ you will find the specified tag value in the data object of the response */
|
|
|
143868
144154
|
data["date_from"] = this.date_from;
|
|
143869
144155
|
data["date_to"] = this.date_to;
|
|
143870
144156
|
data["group_range"] = this.group_range;
|
|
144157
|
+
data["include_subdomains"] = this.include_subdomains;
|
|
143871
144158
|
data["tag"] = this.tag;
|
|
143872
144159
|
return data;
|
|
143873
144160
|
}
|
|
@@ -143911,6 +144198,11 @@ for example, if you specify:
|
|
|
143911
144198
|
we will return items falling between 2022-03-01 and 2022-05-31, namely, three items corresponding to the following dates: 2022-03-31, 2022-04-30, 2022-05-31
|
|
143912
144199
|
if there is no data for a certain day/week/month/year, we will return 0 */
|
|
143913
144200
|
group_range?: string | undefined;
|
|
144201
|
+
/** indicates if the subdomains of the target will be included in the search
|
|
144202
|
+
optional field
|
|
144203
|
+
if set to false, the subdomains will be ignored
|
|
144204
|
+
default value: true */
|
|
144205
|
+
include_subdomains?: boolean | undefined;
|
|
143914
144206
|
/** user-defined task identifier
|
|
143915
144207
|
optional field
|
|
143916
144208
|
the character limit is 255
|
|
@@ -144305,6 +144597,11 @@ for example, if you specify:
|
|
|
144305
144597
|
we will return items falling between 2022-03-01 and 2022-05-31, namely, three items corresponding to the following dates: 2022-03-31, 2022-04-30, 2022-05-31
|
|
144306
144598
|
if there is no data for a certain day/week/month/year, we will return 0 */
|
|
144307
144599
|
group_range?: string | undefined;
|
|
144600
|
+
/** indicates if the subdomains of the target will be included in the search
|
|
144601
|
+
optional field
|
|
144602
|
+
if set to false, the subdomains will be ignored
|
|
144603
|
+
default value: true */
|
|
144604
|
+
include_subdomains?: boolean | undefined;
|
|
144308
144605
|
/** user-defined task identifier
|
|
144309
144606
|
optional field
|
|
144310
144607
|
the character limit is 255
|
|
@@ -144333,6 +144630,7 @@ you will find the specified tag value in the data object of the response */
|
|
|
144333
144630
|
this.date_from = _data["date_from"];
|
|
144334
144631
|
this.date_to = _data["date_to"];
|
|
144335
144632
|
this.group_range = _data["group_range"];
|
|
144633
|
+
this.include_subdomains = _data["include_subdomains"];
|
|
144336
144634
|
this.tag = _data["tag"];
|
|
144337
144635
|
}
|
|
144338
144636
|
}
|
|
@@ -144354,6 +144652,7 @@ you will find the specified tag value in the data object of the response */
|
|
|
144354
144652
|
data["date_from"] = this.date_from;
|
|
144355
144653
|
data["date_to"] = this.date_to;
|
|
144356
144654
|
data["group_range"] = this.group_range;
|
|
144655
|
+
data["include_subdomains"] = this.include_subdomains;
|
|
144357
144656
|
data["tag"] = this.tag;
|
|
144358
144657
|
return data;
|
|
144359
144658
|
}
|
|
@@ -144399,6 +144698,11 @@ for example, if you specify:
|
|
|
144399
144698
|
we will return items falling between 2022-03-01 and 2022-05-31, namely, three items corresponding to the following dates: 2022-03-31, 2022-04-30, 2022-05-31
|
|
144400
144699
|
if there is no data for a certain day/week/month/year, we will return 0 */
|
|
144401
144700
|
group_range?: string | undefined;
|
|
144701
|
+
/** indicates if the subdomains of the target will be included in the search
|
|
144702
|
+
optional field
|
|
144703
|
+
if set to false, the subdomains will be ignored
|
|
144704
|
+
default value: true */
|
|
144705
|
+
include_subdomains?: boolean | undefined;
|
|
144402
144706
|
/** user-defined task identifier
|
|
144403
144707
|
optional field
|
|
144404
144708
|
the character limit is 255
|
|
@@ -146867,6 +147171,796 @@ export interface IBacklinksBulkNewLostReferringDomainsLiveResponseInfo extends I
|
|
|
146867
147171
|
[key: string]: any;
|
|
146868
147172
|
}
|
|
146869
147173
|
|
|
147174
|
+
export class BacklinksBulkPagesSummaryLiveRequestInfo implements IBacklinksBulkPagesSummaryLiveRequestInfo {
|
|
147175
|
+
/** domains, subdomains or webpages to get summary data for
|
|
147176
|
+
required field
|
|
147177
|
+
a domain or a subdomain should be specified without https:// and www.
|
|
147178
|
+
a page should be specified with absolute URL (including http:// or https://)
|
|
147179
|
+
you can specify up to 1000 pages, domains, or subdomains in each request.
|
|
147180
|
+
note that the URLs you set in a single request cannot belong to more than 100 different domains. */
|
|
147181
|
+
targets?: string[];
|
|
147182
|
+
/** the maximum number of returned pages
|
|
147183
|
+
optional field
|
|
147184
|
+
default value: 100
|
|
147185
|
+
maximum value: 1000 */
|
|
147186
|
+
limit?: number | undefined;
|
|
147187
|
+
/** offset in the results array of returned pages
|
|
147188
|
+
optional field
|
|
147189
|
+
default value: 0
|
|
147190
|
+
if you specify the 10 value, the first ten pages in the results array will be omitted and the data will be provided for the successive pages */
|
|
147191
|
+
offset?: number | undefined;
|
|
147192
|
+
/** maximum number of elements within internal arrays
|
|
147193
|
+
optional field
|
|
147194
|
+
you can use this field to limit the number of elements within the following arrays:
|
|
147195
|
+
referring_links_tld
|
|
147196
|
+
referring_links_types
|
|
147197
|
+
referring_links_attributes
|
|
147198
|
+
referring_links_platform_types
|
|
147199
|
+
referring_links_semantic_locations
|
|
147200
|
+
default value: 10
|
|
147201
|
+
maximum value: 1000 */
|
|
147202
|
+
internal_list_limit?: number | undefined;
|
|
147203
|
+
/** set what backlinks to return and count
|
|
147204
|
+
optional field
|
|
147205
|
+
you can use this field to choose what backlinks will be returned and used for aggregated metrics for your target;
|
|
147206
|
+
possible values:
|
|
147207
|
+
all – all backlinks will be returned and counted;
|
|
147208
|
+
live – backlinks found during the last check will be returned and counted;
|
|
147209
|
+
lost – lost backlinks will be returned and counted;
|
|
147210
|
+
default value: live */
|
|
147211
|
+
backlinks_status_type?: string | undefined;
|
|
147212
|
+
/** array of results filtering parameters
|
|
147213
|
+
optional field
|
|
147214
|
+
you can add several filters at once (8 filters maximum)
|
|
147215
|
+
you should set a logical operator and, or between the conditions
|
|
147216
|
+
the following operators are supported:
|
|
147217
|
+
regex, =, <>, in, not_in, like, not_like, ilike, not_ilike
|
|
147218
|
+
you can use the % operator with like and not_like to match any string of zero or more characters
|
|
147219
|
+
example:
|
|
147220
|
+
["referring_links_types.anchors",">","1"]
|
|
147221
|
+
[["broken_pages",">","2"],
|
|
147222
|
+
"and",
|
|
147223
|
+
["backlinks",">","10"]]
|
|
147224
|
+
[["first_seen",">","2017-10-23 11:31:45 +00:00"],
|
|
147225
|
+
"and",
|
|
147226
|
+
[["anchor","like","%seo%"],"or",["referring_domains",">","10"]]]
|
|
147227
|
+
The full list of possible filters is available here. */
|
|
147228
|
+
filters?: (any | undefined)[] | undefined;
|
|
147229
|
+
/** results sorting rules
|
|
147230
|
+
optional field
|
|
147231
|
+
you can use the same values as in the filters array to sort the results
|
|
147232
|
+
possible sorting types:
|
|
147233
|
+
asc – results will be sorted in the ascending order
|
|
147234
|
+
desc – results will be sorted in the descending order
|
|
147235
|
+
you should use a comma to set up a sorting type
|
|
147236
|
+
example:
|
|
147237
|
+
["backlinks,desc"]
|
|
147238
|
+
note that you can set no more than three sorting rules in a single request
|
|
147239
|
+
you should use a comma to separate several sorting rules
|
|
147240
|
+
example:
|
|
147241
|
+
["backlinks,desc","rank,asc"] */
|
|
147242
|
+
order_by?: string[] | undefined;
|
|
147243
|
+
/** filter the backlinks of your target
|
|
147244
|
+
optional field
|
|
147245
|
+
you can use this field to filter the initial backlinks that will be included in the dataset for aggregated metrics for your target
|
|
147246
|
+
you can filter the backlinks by all fields available in the response of this endpoint
|
|
147247
|
+
using this parameter, you can include only dofollow backlinks in the response and create a flexible backlinks dataset to calculate the metrics for
|
|
147248
|
+
example:
|
|
147249
|
+
"backlinks_filters": [["dofollow", "=", true]] */
|
|
147250
|
+
backlinks_filters?: (any | undefined)[] | undefined;
|
|
147251
|
+
/** indicates if the subdomains of the target will be included in the search
|
|
147252
|
+
optional field
|
|
147253
|
+
if set to false, the subdomains will be ignored
|
|
147254
|
+
default value: true */
|
|
147255
|
+
include_subdomains?: boolean | undefined;
|
|
147256
|
+
/** indicates if indirect links to the target will be included in the results
|
|
147257
|
+
optional field
|
|
147258
|
+
if set to true, the results will include data on indirect links pointing to a page that either redirects to the target, or points to a canonical page
|
|
147259
|
+
if set to false, indirect links will be ignored
|
|
147260
|
+
default value: true */
|
|
147261
|
+
include_indirect_links?: boolean | undefined;
|
|
147262
|
+
/** indicates whether the backlinks from subdomains of the target are excluded
|
|
147263
|
+
optional field
|
|
147264
|
+
if set to false, the backlinks from subdomains of the target will be ommited and you won’t receive the same domain in the response;
|
|
147265
|
+
default value: true */
|
|
147266
|
+
exclude_internal_backlinks?: boolean | undefined;
|
|
147267
|
+
/** user-defined task identifier
|
|
147268
|
+
optional field
|
|
147269
|
+
the character limit is 255
|
|
147270
|
+
you can use this parameter to identify the task and match it with the result
|
|
147271
|
+
you will find the specified tag value in the data object of the response */
|
|
147272
|
+
tag?: string | undefined;
|
|
147273
|
+
|
|
147274
|
+
[key: string]: any;
|
|
147275
|
+
|
|
147276
|
+
constructor(data?: IBacklinksBulkPagesSummaryLiveRequestInfo) {
|
|
147277
|
+
if (data) {
|
|
147278
|
+
for (var property in data) {
|
|
147279
|
+
if (data.hasOwnProperty(property))
|
|
147280
|
+
(<any>this)[property] = (<any>data)[property];
|
|
147281
|
+
}
|
|
147282
|
+
}
|
|
147283
|
+
}
|
|
147284
|
+
|
|
147285
|
+
init(_data?: any) {
|
|
147286
|
+
if (_data) {
|
|
147287
|
+
for (var property in _data) {
|
|
147288
|
+
if (_data.hasOwnProperty(property))
|
|
147289
|
+
this[property] = _data[property];
|
|
147290
|
+
}
|
|
147291
|
+
if (Array.isArray(_data["targets"])) {
|
|
147292
|
+
this.targets = [] as any;
|
|
147293
|
+
for (let item of _data["targets"])
|
|
147294
|
+
this.targets!.push(item);
|
|
147295
|
+
}
|
|
147296
|
+
this.limit = _data["limit"];
|
|
147297
|
+
this.offset = _data["offset"];
|
|
147298
|
+
this.internal_list_limit = _data["internal_list_limit"];
|
|
147299
|
+
this.backlinks_status_type = _data["backlinks_status_type"];
|
|
147300
|
+
if (Array.isArray(_data["filters"])) {
|
|
147301
|
+
this.filters = [] as any;
|
|
147302
|
+
for (let item of _data["filters"])
|
|
147303
|
+
this.filters!.push(item);
|
|
147304
|
+
}
|
|
147305
|
+
if (Array.isArray(_data["order_by"])) {
|
|
147306
|
+
this.order_by = [] as any;
|
|
147307
|
+
for (let item of _data["order_by"])
|
|
147308
|
+
this.order_by!.push(item);
|
|
147309
|
+
}
|
|
147310
|
+
if (Array.isArray(_data["backlinks_filters"])) {
|
|
147311
|
+
this.backlinks_filters = [] as any;
|
|
147312
|
+
for (let item of _data["backlinks_filters"])
|
|
147313
|
+
this.backlinks_filters!.push(item);
|
|
147314
|
+
}
|
|
147315
|
+
this.include_subdomains = _data["include_subdomains"];
|
|
147316
|
+
this.include_indirect_links = _data["include_indirect_links"];
|
|
147317
|
+
this.exclude_internal_backlinks = _data["exclude_internal_backlinks"];
|
|
147318
|
+
this.tag = _data["tag"];
|
|
147319
|
+
}
|
|
147320
|
+
}
|
|
147321
|
+
|
|
147322
|
+
static fromJS(data: any): BacklinksBulkPagesSummaryLiveRequestInfo {
|
|
147323
|
+
data = typeof data === 'object' ? data : {};
|
|
147324
|
+
let result = new BacklinksBulkPagesSummaryLiveRequestInfo();
|
|
147325
|
+
result.init(data);
|
|
147326
|
+
return result;
|
|
147327
|
+
}
|
|
147328
|
+
|
|
147329
|
+
toJSON(data?: any) {
|
|
147330
|
+
data = typeof data === 'object' ? data : {};
|
|
147331
|
+
for (var property in this) {
|
|
147332
|
+
if (this.hasOwnProperty(property))
|
|
147333
|
+
data[property] = this[property];
|
|
147334
|
+
}
|
|
147335
|
+
if (Array.isArray(this.targets)) {
|
|
147336
|
+
data["targets"] = [];
|
|
147337
|
+
for (let item of this.targets)
|
|
147338
|
+
data["targets"].push(item);
|
|
147339
|
+
}
|
|
147340
|
+
data["limit"] = this.limit;
|
|
147341
|
+
data["offset"] = this.offset;
|
|
147342
|
+
data["internal_list_limit"] = this.internal_list_limit;
|
|
147343
|
+
data["backlinks_status_type"] = this.backlinks_status_type;
|
|
147344
|
+
if (Array.isArray(this.filters)) {
|
|
147345
|
+
data["filters"] = [];
|
|
147346
|
+
for (let item of this.filters)
|
|
147347
|
+
data["filters"].push(item);
|
|
147348
|
+
}
|
|
147349
|
+
if (Array.isArray(this.order_by)) {
|
|
147350
|
+
data["order_by"] = [];
|
|
147351
|
+
for (let item of this.order_by)
|
|
147352
|
+
data["order_by"].push(item);
|
|
147353
|
+
}
|
|
147354
|
+
if (Array.isArray(this.backlinks_filters)) {
|
|
147355
|
+
data["backlinks_filters"] = [];
|
|
147356
|
+
for (let item of this.backlinks_filters)
|
|
147357
|
+
data["backlinks_filters"].push(item);
|
|
147358
|
+
}
|
|
147359
|
+
data["include_subdomains"] = this.include_subdomains;
|
|
147360
|
+
data["include_indirect_links"] = this.include_indirect_links;
|
|
147361
|
+
data["exclude_internal_backlinks"] = this.exclude_internal_backlinks;
|
|
147362
|
+
data["tag"] = this.tag;
|
|
147363
|
+
return data;
|
|
147364
|
+
}
|
|
147365
|
+
}
|
|
147366
|
+
|
|
147367
|
+
export interface IBacklinksBulkPagesSummaryLiveRequestInfo {
|
|
147368
|
+
/** domains, subdomains or webpages to get summary data for
|
|
147369
|
+
required field
|
|
147370
|
+
a domain or a subdomain should be specified without https:// and www.
|
|
147371
|
+
a page should be specified with absolute URL (including http:// or https://)
|
|
147372
|
+
you can specify up to 1000 pages, domains, or subdomains in each request.
|
|
147373
|
+
note that the URLs you set in a single request cannot belong to more than 100 different domains. */
|
|
147374
|
+
targets?: string[];
|
|
147375
|
+
/** the maximum number of returned pages
|
|
147376
|
+
optional field
|
|
147377
|
+
default value: 100
|
|
147378
|
+
maximum value: 1000 */
|
|
147379
|
+
limit?: number | undefined;
|
|
147380
|
+
/** offset in the results array of returned pages
|
|
147381
|
+
optional field
|
|
147382
|
+
default value: 0
|
|
147383
|
+
if you specify the 10 value, the first ten pages in the results array will be omitted and the data will be provided for the successive pages */
|
|
147384
|
+
offset?: number | undefined;
|
|
147385
|
+
/** maximum number of elements within internal arrays
|
|
147386
|
+
optional field
|
|
147387
|
+
you can use this field to limit the number of elements within the following arrays:
|
|
147388
|
+
referring_links_tld
|
|
147389
|
+
referring_links_types
|
|
147390
|
+
referring_links_attributes
|
|
147391
|
+
referring_links_platform_types
|
|
147392
|
+
referring_links_semantic_locations
|
|
147393
|
+
default value: 10
|
|
147394
|
+
maximum value: 1000 */
|
|
147395
|
+
internal_list_limit?: number | undefined;
|
|
147396
|
+
/** set what backlinks to return and count
|
|
147397
|
+
optional field
|
|
147398
|
+
you can use this field to choose what backlinks will be returned and used for aggregated metrics for your target;
|
|
147399
|
+
possible values:
|
|
147400
|
+
all – all backlinks will be returned and counted;
|
|
147401
|
+
live – backlinks found during the last check will be returned and counted;
|
|
147402
|
+
lost – lost backlinks will be returned and counted;
|
|
147403
|
+
default value: live */
|
|
147404
|
+
backlinks_status_type?: string | undefined;
|
|
147405
|
+
/** array of results filtering parameters
|
|
147406
|
+
optional field
|
|
147407
|
+
you can add several filters at once (8 filters maximum)
|
|
147408
|
+
you should set a logical operator and, or between the conditions
|
|
147409
|
+
the following operators are supported:
|
|
147410
|
+
regex, =, <>, in, not_in, like, not_like, ilike, not_ilike
|
|
147411
|
+
you can use the % operator with like and not_like to match any string of zero or more characters
|
|
147412
|
+
example:
|
|
147413
|
+
["referring_links_types.anchors",">","1"]
|
|
147414
|
+
[["broken_pages",">","2"],
|
|
147415
|
+
"and",
|
|
147416
|
+
["backlinks",">","10"]]
|
|
147417
|
+
[["first_seen",">","2017-10-23 11:31:45 +00:00"],
|
|
147418
|
+
"and",
|
|
147419
|
+
[["anchor","like","%seo%"],"or",["referring_domains",">","10"]]]
|
|
147420
|
+
The full list of possible filters is available here. */
|
|
147421
|
+
filters?: (any | undefined)[] | undefined;
|
|
147422
|
+
/** results sorting rules
|
|
147423
|
+
optional field
|
|
147424
|
+
you can use the same values as in the filters array to sort the results
|
|
147425
|
+
possible sorting types:
|
|
147426
|
+
asc – results will be sorted in the ascending order
|
|
147427
|
+
desc – results will be sorted in the descending order
|
|
147428
|
+
you should use a comma to set up a sorting type
|
|
147429
|
+
example:
|
|
147430
|
+
["backlinks,desc"]
|
|
147431
|
+
note that you can set no more than three sorting rules in a single request
|
|
147432
|
+
you should use a comma to separate several sorting rules
|
|
147433
|
+
example:
|
|
147434
|
+
["backlinks,desc","rank,asc"] */
|
|
147435
|
+
order_by?: string[] | undefined;
|
|
147436
|
+
/** filter the backlinks of your target
|
|
147437
|
+
optional field
|
|
147438
|
+
you can use this field to filter the initial backlinks that will be included in the dataset for aggregated metrics for your target
|
|
147439
|
+
you can filter the backlinks by all fields available in the response of this endpoint
|
|
147440
|
+
using this parameter, you can include only dofollow backlinks in the response and create a flexible backlinks dataset to calculate the metrics for
|
|
147441
|
+
example:
|
|
147442
|
+
"backlinks_filters": [["dofollow", "=", true]] */
|
|
147443
|
+
backlinks_filters?: (any | undefined)[] | undefined;
|
|
147444
|
+
/** indicates if the subdomains of the target will be included in the search
|
|
147445
|
+
optional field
|
|
147446
|
+
if set to false, the subdomains will be ignored
|
|
147447
|
+
default value: true */
|
|
147448
|
+
include_subdomains?: boolean | undefined;
|
|
147449
|
+
/** indicates if indirect links to the target will be included in the results
|
|
147450
|
+
optional field
|
|
147451
|
+
if set to true, the results will include data on indirect links pointing to a page that either redirects to the target, or points to a canonical page
|
|
147452
|
+
if set to false, indirect links will be ignored
|
|
147453
|
+
default value: true */
|
|
147454
|
+
include_indirect_links?: boolean | undefined;
|
|
147455
|
+
/** indicates whether the backlinks from subdomains of the target are excluded
|
|
147456
|
+
optional field
|
|
147457
|
+
if set to false, the backlinks from subdomains of the target will be ommited and you won’t receive the same domain in the response;
|
|
147458
|
+
default value: true */
|
|
147459
|
+
exclude_internal_backlinks?: boolean | undefined;
|
|
147460
|
+
/** user-defined task identifier
|
|
147461
|
+
optional field
|
|
147462
|
+
the character limit is 255
|
|
147463
|
+
you can use this parameter to identify the task and match it with the result
|
|
147464
|
+
you will find the specified tag value in the data object of the response */
|
|
147465
|
+
tag?: string | undefined;
|
|
147466
|
+
|
|
147467
|
+
[key: string]: any;
|
|
147468
|
+
}
|
|
147469
|
+
|
|
147470
|
+
export class BacklinksBulkPagesSummaryLiveItem implements IBacklinksBulkPagesSummaryLiveItem {
|
|
147471
|
+
/** type of element */
|
|
147472
|
+
type?: string | undefined;
|
|
147473
|
+
/** page URL */
|
|
147474
|
+
url?: string | undefined;
|
|
147475
|
+
/** page rank
|
|
147476
|
+
rank of the page on the target website
|
|
147477
|
+
rank is calculated based on the method for node ranking in a linked database – a principle used in the original Google PageRank algorithm
|
|
147478
|
+
learn more about the metric and how it is calculated in this help center article */
|
|
147479
|
+
rank?: number | undefined;
|
|
147480
|
+
/** rank of the main domain
|
|
147481
|
+
rank of the main domain is calculated based on the method for node ranking in a linked database – a principle used in the original Google PageRank algorithm
|
|
147482
|
+
learn more about the metric and how it is calculated in this help center article */
|
|
147483
|
+
main_domain_rank?: number | undefined;
|
|
147484
|
+
/** number of backlinks */
|
|
147485
|
+
backlinks?: number | undefined;
|
|
147486
|
+
/** date and time when our crawler found a backlink to this page for the first time
|
|
147487
|
+
in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00”
|
|
147488
|
+
example:
|
|
147489
|
+
2019-11-15 12:57:46 +00:00 */
|
|
147490
|
+
first_seen?: string | undefined;
|
|
147491
|
+
/** date and time when the last backlink to this page was lost
|
|
147492
|
+
indicates the date and time when our crawler visited the page and it responded with 4xx or 5xx status code or the last backlink was removed
|
|
147493
|
+
in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00”
|
|
147494
|
+
example:
|
|
147495
|
+
2017-01-24 13:20:59 +00:00 */
|
|
147496
|
+
lost_date?: string | undefined;
|
|
147497
|
+
/** average spam score of the backlinks pointing to the page
|
|
147498
|
+
learn more about how the metric is calculated on this help center page */
|
|
147499
|
+
backlinks_spam_score?: number | undefined;
|
|
147500
|
+
/** number of broken backlinks
|
|
147501
|
+
number of broken backlinks pointing to the page */
|
|
147502
|
+
broken_backlinks?: number | undefined;
|
|
147503
|
+
/** number of broken pages
|
|
147504
|
+
number of pages that respond with 4xx or 5xx status codes where backlinks are pointing to */
|
|
147505
|
+
broken_pages?: number | undefined;
|
|
147506
|
+
/** indicates the number domains referring to the page */
|
|
147507
|
+
referring_domains?: number | undefined;
|
|
147508
|
+
/** number of domains pointing at least one nofollow link to the target */
|
|
147509
|
+
referring_domains_nofollow?: number | undefined;
|
|
147510
|
+
/** indicates the number of referring main domains */
|
|
147511
|
+
referring_main_domains?: number | undefined;
|
|
147512
|
+
/** number of main domains pointing at least one nofollow link to the target */
|
|
147513
|
+
referring_main_domains_nofollow?: number | undefined;
|
|
147514
|
+
/** number of referring IP addresses
|
|
147515
|
+
number of IP addresses pointing to this page */
|
|
147516
|
+
referring_ips?: number | undefined;
|
|
147517
|
+
/** number of referring subnetworks */
|
|
147518
|
+
referring_subnets?: number | undefined;
|
|
147519
|
+
/** indicates the number of pages pointing to the relevant url */
|
|
147520
|
+
referring_pages?: number | undefined;
|
|
147521
|
+
/** number of referring pages pointing at least one nofollow link to the target */
|
|
147522
|
+
referring_pages_nofollow?: number | undefined;
|
|
147523
|
+
/** top-level domains of the referring links
|
|
147524
|
+
contains top level domains and referring link count per each */
|
|
147525
|
+
referring_links_tld?: { [key: string]: number; } | undefined;
|
|
147526
|
+
/** types of referring links
|
|
147527
|
+
indicates the types of the referring links and link count per each type
|
|
147528
|
+
possible values:
|
|
147529
|
+
anchor, image, link, meta, canonical, alternate, redirect */
|
|
147530
|
+
referring_links_types?: { [key: string]: number; } | undefined;
|
|
147531
|
+
/** link attributes of the referring links
|
|
147532
|
+
indicates link attributes of the referring links and link count per each attribute */
|
|
147533
|
+
referring_links_attributes?: { [key: string]: number; } | undefined;
|
|
147534
|
+
/** types of referring platforms
|
|
147535
|
+
indicates referring platform types and and link count per each platform */
|
|
147536
|
+
referring_links_platform_types?: { [key: string]: number; } | undefined;
|
|
147537
|
+
/** semantic locations of the referring links
|
|
147538
|
+
indicates semantic elements in HTML where the referring links are located and link count per each semantic location
|
|
147539
|
+
you can get the full list of semantic elements here
|
|
147540
|
+
examples:
|
|
147541
|
+
article, section, footer */
|
|
147542
|
+
referring_links_semantic_locations?: { [key: string]: number; } | undefined;
|
|
147543
|
+
/** ISO country codes of the referring links
|
|
147544
|
+
indicates ISO country codes of the domains where the referring links are located and the link count per each country */
|
|
147545
|
+
referring_links_countries?: { [key: string]: number; } | undefined;
|
|
147546
|
+
|
|
147547
|
+
[key: string]: any;
|
|
147548
|
+
|
|
147549
|
+
constructor(data?: IBacklinksBulkPagesSummaryLiveItem) {
|
|
147550
|
+
if (data) {
|
|
147551
|
+
for (var property in data) {
|
|
147552
|
+
if (data.hasOwnProperty(property))
|
|
147553
|
+
(<any>this)[property] = (<any>data)[property];
|
|
147554
|
+
}
|
|
147555
|
+
}
|
|
147556
|
+
}
|
|
147557
|
+
|
|
147558
|
+
init(_data?: any) {
|
|
147559
|
+
if (_data) {
|
|
147560
|
+
for (var property in _data) {
|
|
147561
|
+
if (_data.hasOwnProperty(property))
|
|
147562
|
+
this[property] = _data[property];
|
|
147563
|
+
}
|
|
147564
|
+
this.type = _data["type"];
|
|
147565
|
+
this.url = _data["url"];
|
|
147566
|
+
this.rank = _data["rank"];
|
|
147567
|
+
this.main_domain_rank = _data["main_domain_rank"];
|
|
147568
|
+
this.backlinks = _data["backlinks"];
|
|
147569
|
+
this.first_seen = _data["first_seen"];
|
|
147570
|
+
this.lost_date = _data["lost_date"];
|
|
147571
|
+
this.backlinks_spam_score = _data["backlinks_spam_score"];
|
|
147572
|
+
this.broken_backlinks = _data["broken_backlinks"];
|
|
147573
|
+
this.broken_pages = _data["broken_pages"];
|
|
147574
|
+
this.referring_domains = _data["referring_domains"];
|
|
147575
|
+
this.referring_domains_nofollow = _data["referring_domains_nofollow"];
|
|
147576
|
+
this.referring_main_domains = _data["referring_main_domains"];
|
|
147577
|
+
this.referring_main_domains_nofollow = _data["referring_main_domains_nofollow"];
|
|
147578
|
+
this.referring_ips = _data["referring_ips"];
|
|
147579
|
+
this.referring_subnets = _data["referring_subnets"];
|
|
147580
|
+
this.referring_pages = _data["referring_pages"];
|
|
147581
|
+
this.referring_pages_nofollow = _data["referring_pages_nofollow"];
|
|
147582
|
+
if (_data["referring_links_tld"]) {
|
|
147583
|
+
this.referring_links_tld = {} as any;
|
|
147584
|
+
for (let key in _data["referring_links_tld"]) {
|
|
147585
|
+
if (_data["referring_links_tld"].hasOwnProperty(key))
|
|
147586
|
+
(<any>this.referring_links_tld)![key] = _data["referring_links_tld"][key];
|
|
147587
|
+
}
|
|
147588
|
+
}
|
|
147589
|
+
if (_data["referring_links_types"]) {
|
|
147590
|
+
this.referring_links_types = {} as any;
|
|
147591
|
+
for (let key in _data["referring_links_types"]) {
|
|
147592
|
+
if (_data["referring_links_types"].hasOwnProperty(key))
|
|
147593
|
+
(<any>this.referring_links_types)![key] = _data["referring_links_types"][key];
|
|
147594
|
+
}
|
|
147595
|
+
}
|
|
147596
|
+
if (_data["referring_links_attributes"]) {
|
|
147597
|
+
this.referring_links_attributes = {} as any;
|
|
147598
|
+
for (let key in _data["referring_links_attributes"]) {
|
|
147599
|
+
if (_data["referring_links_attributes"].hasOwnProperty(key))
|
|
147600
|
+
(<any>this.referring_links_attributes)![key] = _data["referring_links_attributes"][key];
|
|
147601
|
+
}
|
|
147602
|
+
}
|
|
147603
|
+
if (_data["referring_links_platform_types"]) {
|
|
147604
|
+
this.referring_links_platform_types = {} as any;
|
|
147605
|
+
for (let key in _data["referring_links_platform_types"]) {
|
|
147606
|
+
if (_data["referring_links_platform_types"].hasOwnProperty(key))
|
|
147607
|
+
(<any>this.referring_links_platform_types)![key] = _data["referring_links_platform_types"][key];
|
|
147608
|
+
}
|
|
147609
|
+
}
|
|
147610
|
+
if (_data["referring_links_semantic_locations"]) {
|
|
147611
|
+
this.referring_links_semantic_locations = {} as any;
|
|
147612
|
+
for (let key in _data["referring_links_semantic_locations"]) {
|
|
147613
|
+
if (_data["referring_links_semantic_locations"].hasOwnProperty(key))
|
|
147614
|
+
(<any>this.referring_links_semantic_locations)![key] = _data["referring_links_semantic_locations"][key];
|
|
147615
|
+
}
|
|
147616
|
+
}
|
|
147617
|
+
if (_data["referring_links_countries"]) {
|
|
147618
|
+
this.referring_links_countries = {} as any;
|
|
147619
|
+
for (let key in _data["referring_links_countries"]) {
|
|
147620
|
+
if (_data["referring_links_countries"].hasOwnProperty(key))
|
|
147621
|
+
(<any>this.referring_links_countries)![key] = _data["referring_links_countries"][key];
|
|
147622
|
+
}
|
|
147623
|
+
}
|
|
147624
|
+
}
|
|
147625
|
+
}
|
|
147626
|
+
|
|
147627
|
+
static fromJS(data: any): BacklinksBulkPagesSummaryLiveItem {
|
|
147628
|
+
data = typeof data === 'object' ? data : {};
|
|
147629
|
+
let result = new BacklinksBulkPagesSummaryLiveItem();
|
|
147630
|
+
result.init(data);
|
|
147631
|
+
return result;
|
|
147632
|
+
}
|
|
147633
|
+
|
|
147634
|
+
toJSON(data?: any) {
|
|
147635
|
+
data = typeof data === 'object' ? data : {};
|
|
147636
|
+
for (var property in this) {
|
|
147637
|
+
if (this.hasOwnProperty(property))
|
|
147638
|
+
data[property] = this[property];
|
|
147639
|
+
}
|
|
147640
|
+
data["type"] = this.type;
|
|
147641
|
+
data["url"] = this.url;
|
|
147642
|
+
data["rank"] = this.rank;
|
|
147643
|
+
data["main_domain_rank"] = this.main_domain_rank;
|
|
147644
|
+
data["backlinks"] = this.backlinks;
|
|
147645
|
+
data["first_seen"] = this.first_seen;
|
|
147646
|
+
data["lost_date"] = this.lost_date;
|
|
147647
|
+
data["backlinks_spam_score"] = this.backlinks_spam_score;
|
|
147648
|
+
data["broken_backlinks"] = this.broken_backlinks;
|
|
147649
|
+
data["broken_pages"] = this.broken_pages;
|
|
147650
|
+
data["referring_domains"] = this.referring_domains;
|
|
147651
|
+
data["referring_domains_nofollow"] = this.referring_domains_nofollow;
|
|
147652
|
+
data["referring_main_domains"] = this.referring_main_domains;
|
|
147653
|
+
data["referring_main_domains_nofollow"] = this.referring_main_domains_nofollow;
|
|
147654
|
+
data["referring_ips"] = this.referring_ips;
|
|
147655
|
+
data["referring_subnets"] = this.referring_subnets;
|
|
147656
|
+
data["referring_pages"] = this.referring_pages;
|
|
147657
|
+
data["referring_pages_nofollow"] = this.referring_pages_nofollow;
|
|
147658
|
+
if (this.referring_links_tld) {
|
|
147659
|
+
data["referring_links_tld"] = {};
|
|
147660
|
+
for (let key in this.referring_links_tld) {
|
|
147661
|
+
if (this.referring_links_tld.hasOwnProperty(key))
|
|
147662
|
+
(<any>data["referring_links_tld"])[key] = (<any>this.referring_links_tld)[key];
|
|
147663
|
+
}
|
|
147664
|
+
}
|
|
147665
|
+
if (this.referring_links_types) {
|
|
147666
|
+
data["referring_links_types"] = {};
|
|
147667
|
+
for (let key in this.referring_links_types) {
|
|
147668
|
+
if (this.referring_links_types.hasOwnProperty(key))
|
|
147669
|
+
(<any>data["referring_links_types"])[key] = (<any>this.referring_links_types)[key];
|
|
147670
|
+
}
|
|
147671
|
+
}
|
|
147672
|
+
if (this.referring_links_attributes) {
|
|
147673
|
+
data["referring_links_attributes"] = {};
|
|
147674
|
+
for (let key in this.referring_links_attributes) {
|
|
147675
|
+
if (this.referring_links_attributes.hasOwnProperty(key))
|
|
147676
|
+
(<any>data["referring_links_attributes"])[key] = (<any>this.referring_links_attributes)[key];
|
|
147677
|
+
}
|
|
147678
|
+
}
|
|
147679
|
+
if (this.referring_links_platform_types) {
|
|
147680
|
+
data["referring_links_platform_types"] = {};
|
|
147681
|
+
for (let key in this.referring_links_platform_types) {
|
|
147682
|
+
if (this.referring_links_platform_types.hasOwnProperty(key))
|
|
147683
|
+
(<any>data["referring_links_platform_types"])[key] = (<any>this.referring_links_platform_types)[key];
|
|
147684
|
+
}
|
|
147685
|
+
}
|
|
147686
|
+
if (this.referring_links_semantic_locations) {
|
|
147687
|
+
data["referring_links_semantic_locations"] = {};
|
|
147688
|
+
for (let key in this.referring_links_semantic_locations) {
|
|
147689
|
+
if (this.referring_links_semantic_locations.hasOwnProperty(key))
|
|
147690
|
+
(<any>data["referring_links_semantic_locations"])[key] = (<any>this.referring_links_semantic_locations)[key];
|
|
147691
|
+
}
|
|
147692
|
+
}
|
|
147693
|
+
if (this.referring_links_countries) {
|
|
147694
|
+
data["referring_links_countries"] = {};
|
|
147695
|
+
for (let key in this.referring_links_countries) {
|
|
147696
|
+
if (this.referring_links_countries.hasOwnProperty(key))
|
|
147697
|
+
(<any>data["referring_links_countries"])[key] = (<any>this.referring_links_countries)[key];
|
|
147698
|
+
}
|
|
147699
|
+
}
|
|
147700
|
+
return data;
|
|
147701
|
+
}
|
|
147702
|
+
}
|
|
147703
|
+
|
|
147704
|
+
export interface IBacklinksBulkPagesSummaryLiveItem {
|
|
147705
|
+
/** type of element */
|
|
147706
|
+
type?: string | undefined;
|
|
147707
|
+
/** page URL */
|
|
147708
|
+
url?: string | undefined;
|
|
147709
|
+
/** page rank
|
|
147710
|
+
rank of the page on the target website
|
|
147711
|
+
rank is calculated based on the method for node ranking in a linked database – a principle used in the original Google PageRank algorithm
|
|
147712
|
+
learn more about the metric and how it is calculated in this help center article */
|
|
147713
|
+
rank?: number | undefined;
|
|
147714
|
+
/** rank of the main domain
|
|
147715
|
+
rank of the main domain is calculated based on the method for node ranking in a linked database – a principle used in the original Google PageRank algorithm
|
|
147716
|
+
learn more about the metric and how it is calculated in this help center article */
|
|
147717
|
+
main_domain_rank?: number | undefined;
|
|
147718
|
+
/** number of backlinks */
|
|
147719
|
+
backlinks?: number | undefined;
|
|
147720
|
+
/** date and time when our crawler found a backlink to this page for the first time
|
|
147721
|
+
in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00”
|
|
147722
|
+
example:
|
|
147723
|
+
2019-11-15 12:57:46 +00:00 */
|
|
147724
|
+
first_seen?: string | undefined;
|
|
147725
|
+
/** date and time when the last backlink to this page was lost
|
|
147726
|
+
indicates the date and time when our crawler visited the page and it responded with 4xx or 5xx status code or the last backlink was removed
|
|
147727
|
+
in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00”
|
|
147728
|
+
example:
|
|
147729
|
+
2017-01-24 13:20:59 +00:00 */
|
|
147730
|
+
lost_date?: string | undefined;
|
|
147731
|
+
/** average spam score of the backlinks pointing to the page
|
|
147732
|
+
learn more about how the metric is calculated on this help center page */
|
|
147733
|
+
backlinks_spam_score?: number | undefined;
|
|
147734
|
+
/** number of broken backlinks
|
|
147735
|
+
number of broken backlinks pointing to the page */
|
|
147736
|
+
broken_backlinks?: number | undefined;
|
|
147737
|
+
/** number of broken pages
|
|
147738
|
+
number of pages that respond with 4xx or 5xx status codes where backlinks are pointing to */
|
|
147739
|
+
broken_pages?: number | undefined;
|
|
147740
|
+
/** indicates the number domains referring to the page */
|
|
147741
|
+
referring_domains?: number | undefined;
|
|
147742
|
+
/** number of domains pointing at least one nofollow link to the target */
|
|
147743
|
+
referring_domains_nofollow?: number | undefined;
|
|
147744
|
+
/** indicates the number of referring main domains */
|
|
147745
|
+
referring_main_domains?: number | undefined;
|
|
147746
|
+
/** number of main domains pointing at least one nofollow link to the target */
|
|
147747
|
+
referring_main_domains_nofollow?: number | undefined;
|
|
147748
|
+
/** number of referring IP addresses
|
|
147749
|
+
number of IP addresses pointing to this page */
|
|
147750
|
+
referring_ips?: number | undefined;
|
|
147751
|
+
/** number of referring subnetworks */
|
|
147752
|
+
referring_subnets?: number | undefined;
|
|
147753
|
+
/** indicates the number of pages pointing to the relevant url */
|
|
147754
|
+
referring_pages?: number | undefined;
|
|
147755
|
+
/** number of referring pages pointing at least one nofollow link to the target */
|
|
147756
|
+
referring_pages_nofollow?: number | undefined;
|
|
147757
|
+
/** top-level domains of the referring links
|
|
147758
|
+
contains top level domains and referring link count per each */
|
|
147759
|
+
referring_links_tld?: { [key: string]: number; } | undefined;
|
|
147760
|
+
/** types of referring links
|
|
147761
|
+
indicates the types of the referring links and link count per each type
|
|
147762
|
+
possible values:
|
|
147763
|
+
anchor, image, link, meta, canonical, alternate, redirect */
|
|
147764
|
+
referring_links_types?: { [key: string]: number; } | undefined;
|
|
147765
|
+
/** link attributes of the referring links
|
|
147766
|
+
indicates link attributes of the referring links and link count per each attribute */
|
|
147767
|
+
referring_links_attributes?: { [key: string]: number; } | undefined;
|
|
147768
|
+
/** types of referring platforms
|
|
147769
|
+
indicates referring platform types and and link count per each platform */
|
|
147770
|
+
referring_links_platform_types?: { [key: string]: number; } | undefined;
|
|
147771
|
+
/** semantic locations of the referring links
|
|
147772
|
+
indicates semantic elements in HTML where the referring links are located and link count per each semantic location
|
|
147773
|
+
you can get the full list of semantic elements here
|
|
147774
|
+
examples:
|
|
147775
|
+
article, section, footer */
|
|
147776
|
+
referring_links_semantic_locations?: { [key: string]: number; } | undefined;
|
|
147777
|
+
/** ISO country codes of the referring links
|
|
147778
|
+
indicates ISO country codes of the domains where the referring links are located and the link count per each country */
|
|
147779
|
+
referring_links_countries?: { [key: string]: number; } | undefined;
|
|
147780
|
+
|
|
147781
|
+
[key: string]: any;
|
|
147782
|
+
}
|
|
147783
|
+
|
|
147784
|
+
export class BacklinksBulkPagesSummaryLiveResultInfo implements IBacklinksBulkPagesSummaryLiveResultInfo {
|
|
147785
|
+
/** total number of relevant items in the database */
|
|
147786
|
+
total_count?: number | undefined;
|
|
147787
|
+
/** number of items in the results array */
|
|
147788
|
+
items_count?: number | undefined;
|
|
147789
|
+
/** items array */
|
|
147790
|
+
items?: (BacklinksBulkPagesSummaryLiveItem | undefined)[] | undefined;
|
|
147791
|
+
|
|
147792
|
+
[key: string]: any;
|
|
147793
|
+
|
|
147794
|
+
constructor(data?: IBacklinksBulkPagesSummaryLiveResultInfo) {
|
|
147795
|
+
if (data) {
|
|
147796
|
+
for (var property in data) {
|
|
147797
|
+
if (data.hasOwnProperty(property))
|
|
147798
|
+
(<any>this)[property] = (<any>data)[property];
|
|
147799
|
+
}
|
|
147800
|
+
}
|
|
147801
|
+
}
|
|
147802
|
+
|
|
147803
|
+
init(_data?: any) {
|
|
147804
|
+
if (_data) {
|
|
147805
|
+
for (var property in _data) {
|
|
147806
|
+
if (_data.hasOwnProperty(property))
|
|
147807
|
+
this[property] = _data[property];
|
|
147808
|
+
}
|
|
147809
|
+
this.total_count = _data["total_count"];
|
|
147810
|
+
this.items_count = _data["items_count"];
|
|
147811
|
+
if (Array.isArray(_data["items"])) {
|
|
147812
|
+
this.items = [] as any;
|
|
147813
|
+
for (let item of _data["items"])
|
|
147814
|
+
this.items!.push(BacklinksBulkPagesSummaryLiveItem.fromJS(item));
|
|
147815
|
+
}
|
|
147816
|
+
}
|
|
147817
|
+
}
|
|
147818
|
+
|
|
147819
|
+
static fromJS(data: any): BacklinksBulkPagesSummaryLiveResultInfo {
|
|
147820
|
+
data = typeof data === 'object' ? data : {};
|
|
147821
|
+
let result = new BacklinksBulkPagesSummaryLiveResultInfo();
|
|
147822
|
+
result.init(data);
|
|
147823
|
+
return result;
|
|
147824
|
+
}
|
|
147825
|
+
|
|
147826
|
+
toJSON(data?: any) {
|
|
147827
|
+
data = typeof data === 'object' ? data : {};
|
|
147828
|
+
for (var property in this) {
|
|
147829
|
+
if (this.hasOwnProperty(property))
|
|
147830
|
+
data[property] = this[property];
|
|
147831
|
+
}
|
|
147832
|
+
data["total_count"] = this.total_count;
|
|
147833
|
+
data["items_count"] = this.items_count;
|
|
147834
|
+
if (Array.isArray(this.items)) {
|
|
147835
|
+
data["items"] = [];
|
|
147836
|
+
for (let item of this.items)
|
|
147837
|
+
data["items"].push(item.toJSON());
|
|
147838
|
+
}
|
|
147839
|
+
return data;
|
|
147840
|
+
}
|
|
147841
|
+
}
|
|
147842
|
+
|
|
147843
|
+
export interface IBacklinksBulkPagesSummaryLiveResultInfo {
|
|
147844
|
+
/** total number of relevant items in the database */
|
|
147845
|
+
total_count?: number | undefined;
|
|
147846
|
+
/** number of items in the results array */
|
|
147847
|
+
items_count?: number | undefined;
|
|
147848
|
+
/** items array */
|
|
147849
|
+
items?: (BacklinksBulkPagesSummaryLiveItem | undefined)[] | undefined;
|
|
147850
|
+
|
|
147851
|
+
[key: string]: any;
|
|
147852
|
+
}
|
|
147853
|
+
|
|
147854
|
+
export class BacklinksBulkPagesSummaryLiveTaskInfo extends BaseResponseTaskInfo implements IBacklinksBulkPagesSummaryLiveTaskInfo {
|
|
147855
|
+
/** array of results */
|
|
147856
|
+
result?: (BacklinksBulkPagesSummaryLiveResultInfo | undefined)[] | undefined;
|
|
147857
|
+
|
|
147858
|
+
[key: string]: any;
|
|
147859
|
+
|
|
147860
|
+
constructor(data?: IBacklinksBulkPagesSummaryLiveTaskInfo) {
|
|
147861
|
+
super(data);
|
|
147862
|
+
}
|
|
147863
|
+
|
|
147864
|
+
init(_data?: any) {
|
|
147865
|
+
super.init(_data);
|
|
147866
|
+
if (_data) {
|
|
147867
|
+
for (var property in _data) {
|
|
147868
|
+
if (_data.hasOwnProperty(property))
|
|
147869
|
+
this[property] = _data[property];
|
|
147870
|
+
}
|
|
147871
|
+
if (Array.isArray(_data["result"])) {
|
|
147872
|
+
this.result = [] as any;
|
|
147873
|
+
for (let item of _data["result"])
|
|
147874
|
+
this.result!.push(BacklinksBulkPagesSummaryLiveResultInfo.fromJS(item));
|
|
147875
|
+
}
|
|
147876
|
+
}
|
|
147877
|
+
}
|
|
147878
|
+
|
|
147879
|
+
static fromJS(data: any): BacklinksBulkPagesSummaryLiveTaskInfo {
|
|
147880
|
+
data = typeof data === 'object' ? data : {};
|
|
147881
|
+
let result = new BacklinksBulkPagesSummaryLiveTaskInfo();
|
|
147882
|
+
result.init(data);
|
|
147883
|
+
return result;
|
|
147884
|
+
}
|
|
147885
|
+
|
|
147886
|
+
toJSON(data?: any) {
|
|
147887
|
+
data = typeof data === 'object' ? data : {};
|
|
147888
|
+
for (var property in this) {
|
|
147889
|
+
if (this.hasOwnProperty(property))
|
|
147890
|
+
data[property] = this[property];
|
|
147891
|
+
}
|
|
147892
|
+
if (Array.isArray(this.result)) {
|
|
147893
|
+
data["result"] = [];
|
|
147894
|
+
for (let item of this.result)
|
|
147895
|
+
data["result"].push(item.toJSON());
|
|
147896
|
+
}
|
|
147897
|
+
super.toJSON(data);
|
|
147898
|
+
return data;
|
|
147899
|
+
}
|
|
147900
|
+
}
|
|
147901
|
+
|
|
147902
|
+
export interface IBacklinksBulkPagesSummaryLiveTaskInfo extends IBaseResponseTaskInfo {
|
|
147903
|
+
/** array of results */
|
|
147904
|
+
result?: (BacklinksBulkPagesSummaryLiveResultInfo | undefined)[] | undefined;
|
|
147905
|
+
|
|
147906
|
+
[key: string]: any;
|
|
147907
|
+
}
|
|
147908
|
+
|
|
147909
|
+
export class BacklinksBulkPagesSummaryLiveResponseInfo extends BaseResponseInfo implements IBacklinksBulkPagesSummaryLiveResponseInfo {
|
|
147910
|
+
/** array of tasks */
|
|
147911
|
+
tasks?: (BacklinksBulkPagesSummaryLiveTaskInfo | undefined)[] | undefined;
|
|
147912
|
+
|
|
147913
|
+
[key: string]: any;
|
|
147914
|
+
|
|
147915
|
+
constructor(data?: IBacklinksBulkPagesSummaryLiveResponseInfo) {
|
|
147916
|
+
super(data);
|
|
147917
|
+
}
|
|
147918
|
+
|
|
147919
|
+
init(_data?: any) {
|
|
147920
|
+
super.init(_data);
|
|
147921
|
+
if (_data) {
|
|
147922
|
+
for (var property in _data) {
|
|
147923
|
+
if (_data.hasOwnProperty(property))
|
|
147924
|
+
this[property] = _data[property];
|
|
147925
|
+
}
|
|
147926
|
+
if (Array.isArray(_data["tasks"])) {
|
|
147927
|
+
this.tasks = [] as any;
|
|
147928
|
+
for (let item of _data["tasks"])
|
|
147929
|
+
this.tasks!.push(BacklinksBulkPagesSummaryLiveTaskInfo.fromJS(item));
|
|
147930
|
+
}
|
|
147931
|
+
}
|
|
147932
|
+
}
|
|
147933
|
+
|
|
147934
|
+
static fromJS(data: any): BacklinksBulkPagesSummaryLiveResponseInfo {
|
|
147935
|
+
data = typeof data === 'object' ? data : {};
|
|
147936
|
+
let result = new BacklinksBulkPagesSummaryLiveResponseInfo();
|
|
147937
|
+
result.init(data);
|
|
147938
|
+
return result;
|
|
147939
|
+
}
|
|
147940
|
+
|
|
147941
|
+
toJSON(data?: any) {
|
|
147942
|
+
data = typeof data === 'object' ? data : {};
|
|
147943
|
+
for (var property in this) {
|
|
147944
|
+
if (this.hasOwnProperty(property))
|
|
147945
|
+
data[property] = this[property];
|
|
147946
|
+
}
|
|
147947
|
+
if (Array.isArray(this.tasks)) {
|
|
147948
|
+
data["tasks"] = [];
|
|
147949
|
+
for (let item of this.tasks)
|
|
147950
|
+
data["tasks"].push(item.toJSON());
|
|
147951
|
+
}
|
|
147952
|
+
super.toJSON(data);
|
|
147953
|
+
return data;
|
|
147954
|
+
}
|
|
147955
|
+
}
|
|
147956
|
+
|
|
147957
|
+
export interface IBacklinksBulkPagesSummaryLiveResponseInfo extends IBaseResponseInfo {
|
|
147958
|
+
/** array of tasks */
|
|
147959
|
+
tasks?: (BacklinksBulkPagesSummaryLiveTaskInfo | undefined)[] | undefined;
|
|
147960
|
+
|
|
147961
|
+
[key: string]: any;
|
|
147962
|
+
}
|
|
147963
|
+
|
|
146870
147964
|
export class OnPageIdListRequestInfo implements IOnPageIdListRequestInfo {
|
|
146871
147965
|
/** start time for filtering results
|
|
146872
147966
|
required field
|
|
@@ -151509,7 +152603,7 @@ the amount of time a browser needs to complete downloading a resource */
|
|
|
151509
152603
|
[key: string]: any;
|
|
151510
152604
|
}
|
|
151511
152605
|
|
|
151512
|
-
export class
|
|
152606
|
+
export class StylesheetResourceElementItem extends BaseOnPageResourceItemInfo implements IStylesheetResourceElementItem {
|
|
151513
152607
|
/** resource properties
|
|
151514
152608
|
the value depends on the resource_type
|
|
151515
152609
|
note that if you do not indicate a url when setting a task, resource’s meta is returned based on the data from the page where our crawler first saw the resource;
|
|
@@ -151559,12 +152653,24 @@ any, none, image, sitemap, robots, script, stylesheet, redirect, html, text, oth
|
|
|
151559
152653
|
/** contains data on changes related to the resource
|
|
151560
152654
|
if there is no data, the value will be null */
|
|
151561
152655
|
last_modified?: LastModified | undefined;
|
|
152656
|
+
/** resource initiator */
|
|
152657
|
+
initiator?: string | undefined;
|
|
152658
|
+
/** total time it takes until a browser receives a complete response from a server (in milliseconds) */
|
|
152659
|
+
duration_time?: number | undefined;
|
|
152660
|
+
/** time to start downloading the resource
|
|
152661
|
+
the amount of time the browser needs to start downloading a resource */
|
|
152662
|
+
fetch_start?: number | undefined;
|
|
152663
|
+
/** time to complete downloading the resource
|
|
152664
|
+
the amount of time the browser needs to complete downloading a resource */
|
|
152665
|
+
fetch_end?: number | undefined;
|
|
152666
|
+
/** indicates whether the resource blocks rendering */
|
|
152667
|
+
is_render_blocking?: boolean | undefined;
|
|
151562
152668
|
|
|
151563
152669
|
[key: string]: any;
|
|
151564
152670
|
|
|
151565
|
-
constructor(data?:
|
|
152671
|
+
constructor(data?: IStylesheetResourceElementItem) {
|
|
151566
152672
|
super(data);
|
|
151567
|
-
this._discriminator = "
|
|
152673
|
+
this._discriminator = "stylesheet";
|
|
151568
152674
|
}
|
|
151569
152675
|
|
|
151570
152676
|
init(_data?: any) {
|
|
@@ -151597,12 +152703,17 @@ if there is no data, the value will be null */
|
|
|
151597
152703
|
this.accept_type = _data["accept_type"];
|
|
151598
152704
|
this.server = _data["server"];
|
|
151599
152705
|
this.last_modified = _data["last_modified"] ? LastModified.fromJS(_data["last_modified"]) : <any>undefined;
|
|
152706
|
+
this.initiator = _data["initiator"];
|
|
152707
|
+
this.duration_time = _data["duration_time"];
|
|
152708
|
+
this.fetch_start = _data["fetch_start"];
|
|
152709
|
+
this.fetch_end = _data["fetch_end"];
|
|
152710
|
+
this.is_render_blocking = _data["is_render_blocking"];
|
|
151600
152711
|
}
|
|
151601
152712
|
}
|
|
151602
152713
|
|
|
151603
|
-
static fromJS(data: any):
|
|
152714
|
+
static fromJS(data: any): StylesheetResourceElementItem {
|
|
151604
152715
|
data = typeof data === 'object' ? data : {};
|
|
151605
|
-
let result = new
|
|
152716
|
+
let result = new StylesheetResourceElementItem();
|
|
151606
152717
|
result.init(data);
|
|
151607
152718
|
return result;
|
|
151608
152719
|
}
|
|
@@ -151636,12 +152747,17 @@ if there is no data, the value will be null */
|
|
|
151636
152747
|
data["accept_type"] = this.accept_type;
|
|
151637
152748
|
data["server"] = this.server;
|
|
151638
152749
|
data["last_modified"] = this.last_modified ? this.last_modified.toJSON() : <any>undefined;
|
|
152750
|
+
data["initiator"] = this.initiator;
|
|
152751
|
+
data["duration_time"] = this.duration_time;
|
|
152752
|
+
data["fetch_start"] = this.fetch_start;
|
|
152753
|
+
data["fetch_end"] = this.fetch_end;
|
|
152754
|
+
data["is_render_blocking"] = this.is_render_blocking;
|
|
151639
152755
|
super.toJSON(data);
|
|
151640
152756
|
return data;
|
|
151641
152757
|
}
|
|
151642
152758
|
}
|
|
151643
152759
|
|
|
151644
|
-
export interface
|
|
152760
|
+
export interface IStylesheetResourceElementItem extends IBaseOnPageResourceItemInfo {
|
|
151645
152761
|
/** resource properties
|
|
151646
152762
|
the value depends on the resource_type
|
|
151647
152763
|
note that if you do not indicate a url when setting a task, resource’s meta is returned based on the data from the page where our crawler first saw the resource;
|
|
@@ -151691,11 +152807,162 @@ any, none, image, sitemap, robots, script, stylesheet, redirect, html, text, oth
|
|
|
151691
152807
|
/** contains data on changes related to the resource
|
|
151692
152808
|
if there is no data, the value will be null */
|
|
151693
152809
|
last_modified?: LastModified | undefined;
|
|
152810
|
+
/** resource initiator */
|
|
152811
|
+
initiator?: string | undefined;
|
|
152812
|
+
/** total time it takes until a browser receives a complete response from a server (in milliseconds) */
|
|
152813
|
+
duration_time?: number | undefined;
|
|
152814
|
+
/** time to start downloading the resource
|
|
152815
|
+
the amount of time the browser needs to start downloading a resource */
|
|
152816
|
+
fetch_start?: number | undefined;
|
|
152817
|
+
/** time to complete downloading the resource
|
|
152818
|
+
the amount of time the browser needs to complete downloading a resource */
|
|
152819
|
+
fetch_end?: number | undefined;
|
|
152820
|
+
/** indicates whether the resource blocks rendering */
|
|
152821
|
+
is_render_blocking?: boolean | undefined;
|
|
151694
152822
|
|
|
151695
152823
|
[key: string]: any;
|
|
151696
152824
|
}
|
|
151697
152825
|
|
|
151698
|
-
export class
|
|
152826
|
+
export class OnPageResourcesResultInfo implements IOnPageResourcesResultInfo {
|
|
152827
|
+
/** status of the crawling session
|
|
152828
|
+
possible values: in_progress, finished */
|
|
152829
|
+
crawl_progress?: string | undefined;
|
|
152830
|
+
/** details of the crawling session */
|
|
152831
|
+
crawl_status?: CrawlStatusInfo | undefined;
|
|
152832
|
+
/** total number of relevant items crawled */
|
|
152833
|
+
total_items_count?: number | undefined;
|
|
152834
|
+
/** number of items in the results array */
|
|
152835
|
+
items_count?: number | undefined;
|
|
152836
|
+
/** items array */
|
|
152837
|
+
items?: (BaseOnPageResourceItemInfo | undefined)[] | undefined;
|
|
152838
|
+
|
|
152839
|
+
[key: string]: any;
|
|
152840
|
+
|
|
152841
|
+
constructor(data?: IOnPageResourcesResultInfo) {
|
|
152842
|
+
if (data) {
|
|
152843
|
+
for (var property in data) {
|
|
152844
|
+
if (data.hasOwnProperty(property))
|
|
152845
|
+
(<any>this)[property] = (<any>data)[property];
|
|
152846
|
+
}
|
|
152847
|
+
}
|
|
152848
|
+
}
|
|
152849
|
+
|
|
152850
|
+
init(_data?: any) {
|
|
152851
|
+
if (_data) {
|
|
152852
|
+
for (var property in _data) {
|
|
152853
|
+
if (_data.hasOwnProperty(property))
|
|
152854
|
+
this[property] = _data[property];
|
|
152855
|
+
}
|
|
152856
|
+
this.crawl_progress = _data["crawl_progress"];
|
|
152857
|
+
this.crawl_status = _data["crawl_status"] ? CrawlStatusInfo.fromJS(_data["crawl_status"]) : <any>undefined;
|
|
152858
|
+
this.total_items_count = _data["total_items_count"];
|
|
152859
|
+
this.items_count = _data["items_count"];
|
|
152860
|
+
if (Array.isArray(_data["items"])) {
|
|
152861
|
+
this.items = [] as any;
|
|
152862
|
+
for (let item of _data["items"])
|
|
152863
|
+
this.items!.push(BaseOnPageResourceItemInfo.fromJS(item));
|
|
152864
|
+
}
|
|
152865
|
+
}
|
|
152866
|
+
}
|
|
152867
|
+
|
|
152868
|
+
static fromJS(data: any): OnPageResourcesResultInfo {
|
|
152869
|
+
data = typeof data === 'object' ? data : {};
|
|
152870
|
+
let result = new OnPageResourcesResultInfo();
|
|
152871
|
+
result.init(data);
|
|
152872
|
+
return result;
|
|
152873
|
+
}
|
|
152874
|
+
|
|
152875
|
+
toJSON(data?: any) {
|
|
152876
|
+
data = typeof data === 'object' ? data : {};
|
|
152877
|
+
for (var property in this) {
|
|
152878
|
+
if (this.hasOwnProperty(property))
|
|
152879
|
+
data[property] = this[property];
|
|
152880
|
+
}
|
|
152881
|
+
data["crawl_progress"] = this.crawl_progress;
|
|
152882
|
+
data["crawl_status"] = this.crawl_status ? this.crawl_status.toJSON() : <any>undefined;
|
|
152883
|
+
data["total_items_count"] = this.total_items_count;
|
|
152884
|
+
data["items_count"] = this.items_count;
|
|
152885
|
+
if (Array.isArray(this.items)) {
|
|
152886
|
+
data["items"] = [];
|
|
152887
|
+
for (let item of this.items)
|
|
152888
|
+
data["items"].push(item.toJSON());
|
|
152889
|
+
}
|
|
152890
|
+
return data;
|
|
152891
|
+
}
|
|
152892
|
+
}
|
|
152893
|
+
|
|
152894
|
+
export interface IOnPageResourcesResultInfo {
|
|
152895
|
+
/** status of the crawling session
|
|
152896
|
+
possible values: in_progress, finished */
|
|
152897
|
+
crawl_progress?: string | undefined;
|
|
152898
|
+
/** details of the crawling session */
|
|
152899
|
+
crawl_status?: CrawlStatusInfo | undefined;
|
|
152900
|
+
/** total number of relevant items crawled */
|
|
152901
|
+
total_items_count?: number | undefined;
|
|
152902
|
+
/** number of items in the results array */
|
|
152903
|
+
items_count?: number | undefined;
|
|
152904
|
+
/** items array */
|
|
152905
|
+
items?: (BaseOnPageResourceItemInfo | undefined)[] | undefined;
|
|
152906
|
+
|
|
152907
|
+
[key: string]: any;
|
|
152908
|
+
}
|
|
152909
|
+
|
|
152910
|
+
export class OnPageResourcesTaskInfo extends BaseResponseTaskInfo implements IOnPageResourcesTaskInfo {
|
|
152911
|
+
/** array of results */
|
|
152912
|
+
result?: (OnPageResourcesResultInfo | undefined)[] | undefined;
|
|
152913
|
+
|
|
152914
|
+
[key: string]: any;
|
|
152915
|
+
|
|
152916
|
+
constructor(data?: IOnPageResourcesTaskInfo) {
|
|
152917
|
+
super(data);
|
|
152918
|
+
}
|
|
152919
|
+
|
|
152920
|
+
init(_data?: any) {
|
|
152921
|
+
super.init(_data);
|
|
152922
|
+
if (_data) {
|
|
152923
|
+
for (var property in _data) {
|
|
152924
|
+
if (_data.hasOwnProperty(property))
|
|
152925
|
+
this[property] = _data[property];
|
|
152926
|
+
}
|
|
152927
|
+
if (Array.isArray(_data["result"])) {
|
|
152928
|
+
this.result = [] as any;
|
|
152929
|
+
for (let item of _data["result"])
|
|
152930
|
+
this.result!.push(OnPageResourcesResultInfo.fromJS(item));
|
|
152931
|
+
}
|
|
152932
|
+
}
|
|
152933
|
+
}
|
|
152934
|
+
|
|
152935
|
+
static fromJS(data: any): OnPageResourcesTaskInfo {
|
|
152936
|
+
data = typeof data === 'object' ? data : {};
|
|
152937
|
+
let result = new OnPageResourcesTaskInfo();
|
|
152938
|
+
result.init(data);
|
|
152939
|
+
return result;
|
|
152940
|
+
}
|
|
152941
|
+
|
|
152942
|
+
toJSON(data?: any) {
|
|
152943
|
+
data = typeof data === 'object' ? data : {};
|
|
152944
|
+
for (var property in this) {
|
|
152945
|
+
if (this.hasOwnProperty(property))
|
|
152946
|
+
data[property] = this[property];
|
|
152947
|
+
}
|
|
152948
|
+
if (Array.isArray(this.result)) {
|
|
152949
|
+
data["result"] = [];
|
|
152950
|
+
for (let item of this.result)
|
|
152951
|
+
data["result"].push(item.toJSON());
|
|
152952
|
+
}
|
|
152953
|
+
super.toJSON(data);
|
|
152954
|
+
return data;
|
|
152955
|
+
}
|
|
152956
|
+
}
|
|
152957
|
+
|
|
152958
|
+
export interface IOnPageResourcesTaskInfo extends IBaseResponseTaskInfo {
|
|
152959
|
+
/** array of results */
|
|
152960
|
+
result?: (OnPageResourcesResultInfo | undefined)[] | undefined;
|
|
152961
|
+
|
|
152962
|
+
[key: string]: any;
|
|
152963
|
+
}
|
|
152964
|
+
|
|
152965
|
+
export class ScriptResourceElementItem extends BaseOnPageResourceItemInfo implements IScriptResourceElementItem {
|
|
151699
152966
|
/** resource properties
|
|
151700
152967
|
the value depends on the resource_type
|
|
151701
152968
|
note that if you do not indicate a url when setting a task, resource’s meta is returned based on the data from the page where our crawler first saw the resource;
|
|
@@ -151729,8 +152996,6 @@ example:
|
|
|
151729
152996
|
/** resource check-ups
|
|
151730
152997
|
contents of the array depend on the resource_type */
|
|
151731
152998
|
checks?: { [key: string]: boolean; } | undefined;
|
|
151732
|
-
/** resource errors and warnings */
|
|
151733
|
-
resource_errors?: OnPageResourceIssueInfo | undefined;
|
|
151734
152999
|
/** type of encoding */
|
|
151735
153000
|
content_encoding?: string | undefined;
|
|
151736
153001
|
/** types of media used to display a resource */
|
|
@@ -151745,24 +153010,14 @@ any, none, image, sitemap, robots, script, stylesheet, redirect, html, text, oth
|
|
|
151745
153010
|
/** contains data on changes related to the resource
|
|
151746
153011
|
if there is no data, the value will be null */
|
|
151747
153012
|
last_modified?: LastModified | undefined;
|
|
151748
|
-
/** resource
|
|
151749
|
-
|
|
151750
|
-
/** total time it takes until a browser receives a complete response from a server (in milliseconds) */
|
|
151751
|
-
duration_time?: number | undefined;
|
|
151752
|
-
/** time to start downloading the resource
|
|
151753
|
-
the amount of time the browser needs to start downloading a resource */
|
|
151754
|
-
fetch_start?: number | undefined;
|
|
151755
|
-
/** time to complete downloading the resource
|
|
151756
|
-
the amount of time the browser needs to complete downloading a resource */
|
|
151757
|
-
fetch_end?: number | undefined;
|
|
151758
|
-
/** indicates whether the resource blocks rendering */
|
|
151759
|
-
is_render_blocking?: boolean | undefined;
|
|
153013
|
+
/** resource errors and warnings */
|
|
153014
|
+
resource_errors?: OnPageResourceIssueInfo | undefined;
|
|
151760
153015
|
|
|
151761
153016
|
[key: string]: any;
|
|
151762
153017
|
|
|
151763
|
-
constructor(data?:
|
|
153018
|
+
constructor(data?: IScriptResourceElementItem) {
|
|
151764
153019
|
super(data);
|
|
151765
|
-
this._discriminator = "
|
|
153020
|
+
this._discriminator = "script";
|
|
151766
153021
|
}
|
|
151767
153022
|
|
|
151768
153023
|
init(_data?: any) {
|
|
@@ -151789,23 +153044,18 @@ the amount of time the browser needs to complete downloading a resource */
|
|
|
151789
153044
|
(<any>this.checks)![key] = _data["checks"][key];
|
|
151790
153045
|
}
|
|
151791
153046
|
}
|
|
151792
|
-
this.resource_errors = _data["resource_errors"] ? OnPageResourceIssueInfo.fromJS(_data["resource_errors"]) : <any>undefined;
|
|
151793
153047
|
this.content_encoding = _data["content_encoding"];
|
|
151794
153048
|
this.media_type = _data["media_type"];
|
|
151795
153049
|
this.accept_type = _data["accept_type"];
|
|
151796
153050
|
this.server = _data["server"];
|
|
151797
153051
|
this.last_modified = _data["last_modified"] ? LastModified.fromJS(_data["last_modified"]) : <any>undefined;
|
|
151798
|
-
this.
|
|
151799
|
-
this.duration_time = _data["duration_time"];
|
|
151800
|
-
this.fetch_start = _data["fetch_start"];
|
|
151801
|
-
this.fetch_end = _data["fetch_end"];
|
|
151802
|
-
this.is_render_blocking = _data["is_render_blocking"];
|
|
153052
|
+
this.resource_errors = _data["resource_errors"] ? OnPageResourceIssueInfo.fromJS(_data["resource_errors"]) : <any>undefined;
|
|
151803
153053
|
}
|
|
151804
153054
|
}
|
|
151805
153055
|
|
|
151806
|
-
static fromJS(data: any):
|
|
153056
|
+
static fromJS(data: any): ScriptResourceElementItem {
|
|
151807
153057
|
data = typeof data === 'object' ? data : {};
|
|
151808
|
-
let result = new
|
|
153058
|
+
let result = new ScriptResourceElementItem();
|
|
151809
153059
|
result.init(data);
|
|
151810
153060
|
return result;
|
|
151811
153061
|
}
|
|
@@ -151833,23 +153083,18 @@ the amount of time the browser needs to complete downloading a resource */
|
|
|
151833
153083
|
(<any>data["checks"])[key] = (<any>this.checks)[key];
|
|
151834
153084
|
}
|
|
151835
153085
|
}
|
|
151836
|
-
data["resource_errors"] = this.resource_errors ? this.resource_errors.toJSON() : <any>undefined;
|
|
151837
153086
|
data["content_encoding"] = this.content_encoding;
|
|
151838
153087
|
data["media_type"] = this.media_type;
|
|
151839
153088
|
data["accept_type"] = this.accept_type;
|
|
151840
153089
|
data["server"] = this.server;
|
|
151841
153090
|
data["last_modified"] = this.last_modified ? this.last_modified.toJSON() : <any>undefined;
|
|
151842
|
-
data["
|
|
151843
|
-
data["duration_time"] = this.duration_time;
|
|
151844
|
-
data["fetch_start"] = this.fetch_start;
|
|
151845
|
-
data["fetch_end"] = this.fetch_end;
|
|
151846
|
-
data["is_render_blocking"] = this.is_render_blocking;
|
|
153091
|
+
data["resource_errors"] = this.resource_errors ? this.resource_errors.toJSON() : <any>undefined;
|
|
151847
153092
|
super.toJSON(data);
|
|
151848
153093
|
return data;
|
|
151849
153094
|
}
|
|
151850
153095
|
}
|
|
151851
153096
|
|
|
151852
|
-
export interface
|
|
153097
|
+
export interface IScriptResourceElementItem extends IBaseOnPageResourceItemInfo {
|
|
151853
153098
|
/** resource properties
|
|
151854
153099
|
the value depends on the resource_type
|
|
151855
153100
|
note that if you do not indicate a url when setting a task, resource’s meta is returned based on the data from the page where our crawler first saw the resource;
|
|
@@ -151883,8 +153128,6 @@ example:
|
|
|
151883
153128
|
/** resource check-ups
|
|
151884
153129
|
contents of the array depend on the resource_type */
|
|
151885
153130
|
checks?: { [key: string]: boolean; } | undefined;
|
|
151886
|
-
/** resource errors and warnings */
|
|
151887
|
-
resource_errors?: OnPageResourceIssueInfo | undefined;
|
|
151888
153131
|
/** type of encoding */
|
|
151889
153132
|
content_encoding?: string | undefined;
|
|
151890
153133
|
/** types of media used to display a resource */
|
|
@@ -151899,157 +153142,8 @@ any, none, image, sitemap, robots, script, stylesheet, redirect, html, text, oth
|
|
|
151899
153142
|
/** contains data on changes related to the resource
|
|
151900
153143
|
if there is no data, the value will be null */
|
|
151901
153144
|
last_modified?: LastModified | undefined;
|
|
151902
|
-
/** resource
|
|
151903
|
-
|
|
151904
|
-
/** total time it takes until a browser receives a complete response from a server (in milliseconds) */
|
|
151905
|
-
duration_time?: number | undefined;
|
|
151906
|
-
/** time to start downloading the resource
|
|
151907
|
-
the amount of time the browser needs to start downloading a resource */
|
|
151908
|
-
fetch_start?: number | undefined;
|
|
151909
|
-
/** time to complete downloading the resource
|
|
151910
|
-
the amount of time the browser needs to complete downloading a resource */
|
|
151911
|
-
fetch_end?: number | undefined;
|
|
151912
|
-
/** indicates whether the resource blocks rendering */
|
|
151913
|
-
is_render_blocking?: boolean | undefined;
|
|
151914
|
-
|
|
151915
|
-
[key: string]: any;
|
|
151916
|
-
}
|
|
151917
|
-
|
|
151918
|
-
export class OnPageResourcesResultInfo implements IOnPageResourcesResultInfo {
|
|
151919
|
-
/** status of the crawling session
|
|
151920
|
-
possible values: in_progress, finished */
|
|
151921
|
-
crawl_progress?: string | undefined;
|
|
151922
|
-
/** details of the crawling session */
|
|
151923
|
-
crawl_status?: CrawlStatusInfo | undefined;
|
|
151924
|
-
/** total number of relevant items crawled */
|
|
151925
|
-
total_items_count?: number | undefined;
|
|
151926
|
-
/** number of items in the results array */
|
|
151927
|
-
items_count?: number | undefined;
|
|
151928
|
-
/** items array */
|
|
151929
|
-
items?: (BaseOnPageResourceItemInfo | undefined)[] | undefined;
|
|
151930
|
-
|
|
151931
|
-
[key: string]: any;
|
|
151932
|
-
|
|
151933
|
-
constructor(data?: IOnPageResourcesResultInfo) {
|
|
151934
|
-
if (data) {
|
|
151935
|
-
for (var property in data) {
|
|
151936
|
-
if (data.hasOwnProperty(property))
|
|
151937
|
-
(<any>this)[property] = (<any>data)[property];
|
|
151938
|
-
}
|
|
151939
|
-
}
|
|
151940
|
-
}
|
|
151941
|
-
|
|
151942
|
-
init(_data?: any) {
|
|
151943
|
-
if (_data) {
|
|
151944
|
-
for (var property in _data) {
|
|
151945
|
-
if (_data.hasOwnProperty(property))
|
|
151946
|
-
this[property] = _data[property];
|
|
151947
|
-
}
|
|
151948
|
-
this.crawl_progress = _data["crawl_progress"];
|
|
151949
|
-
this.crawl_status = _data["crawl_status"] ? CrawlStatusInfo.fromJS(_data["crawl_status"]) : <any>undefined;
|
|
151950
|
-
this.total_items_count = _data["total_items_count"];
|
|
151951
|
-
this.items_count = _data["items_count"];
|
|
151952
|
-
if (Array.isArray(_data["items"])) {
|
|
151953
|
-
this.items = [] as any;
|
|
151954
|
-
for (let item of _data["items"])
|
|
151955
|
-
this.items!.push(BaseOnPageResourceItemInfo.fromJS(item));
|
|
151956
|
-
}
|
|
151957
|
-
}
|
|
151958
|
-
}
|
|
151959
|
-
|
|
151960
|
-
static fromJS(data: any): OnPageResourcesResultInfo {
|
|
151961
|
-
data = typeof data === 'object' ? data : {};
|
|
151962
|
-
let result = new OnPageResourcesResultInfo();
|
|
151963
|
-
result.init(data);
|
|
151964
|
-
return result;
|
|
151965
|
-
}
|
|
151966
|
-
|
|
151967
|
-
toJSON(data?: any) {
|
|
151968
|
-
data = typeof data === 'object' ? data : {};
|
|
151969
|
-
for (var property in this) {
|
|
151970
|
-
if (this.hasOwnProperty(property))
|
|
151971
|
-
data[property] = this[property];
|
|
151972
|
-
}
|
|
151973
|
-
data["crawl_progress"] = this.crawl_progress;
|
|
151974
|
-
data["crawl_status"] = this.crawl_status ? this.crawl_status.toJSON() : <any>undefined;
|
|
151975
|
-
data["total_items_count"] = this.total_items_count;
|
|
151976
|
-
data["items_count"] = this.items_count;
|
|
151977
|
-
if (Array.isArray(this.items)) {
|
|
151978
|
-
data["items"] = [];
|
|
151979
|
-
for (let item of this.items)
|
|
151980
|
-
data["items"].push(item.toJSON());
|
|
151981
|
-
}
|
|
151982
|
-
return data;
|
|
151983
|
-
}
|
|
151984
|
-
}
|
|
151985
|
-
|
|
151986
|
-
export interface IOnPageResourcesResultInfo {
|
|
151987
|
-
/** status of the crawling session
|
|
151988
|
-
possible values: in_progress, finished */
|
|
151989
|
-
crawl_progress?: string | undefined;
|
|
151990
|
-
/** details of the crawling session */
|
|
151991
|
-
crawl_status?: CrawlStatusInfo | undefined;
|
|
151992
|
-
/** total number of relevant items crawled */
|
|
151993
|
-
total_items_count?: number | undefined;
|
|
151994
|
-
/** number of items in the results array */
|
|
151995
|
-
items_count?: number | undefined;
|
|
151996
|
-
/** items array */
|
|
151997
|
-
items?: (BaseOnPageResourceItemInfo | undefined)[] | undefined;
|
|
151998
|
-
|
|
151999
|
-
[key: string]: any;
|
|
152000
|
-
}
|
|
152001
|
-
|
|
152002
|
-
export class OnPageResourcesTaskInfo extends BaseResponseTaskInfo implements IOnPageResourcesTaskInfo {
|
|
152003
|
-
/** array of results */
|
|
152004
|
-
result?: (OnPageResourcesResultInfo | undefined)[] | undefined;
|
|
152005
|
-
|
|
152006
|
-
[key: string]: any;
|
|
152007
|
-
|
|
152008
|
-
constructor(data?: IOnPageResourcesTaskInfo) {
|
|
152009
|
-
super(data);
|
|
152010
|
-
}
|
|
152011
|
-
|
|
152012
|
-
init(_data?: any) {
|
|
152013
|
-
super.init(_data);
|
|
152014
|
-
if (_data) {
|
|
152015
|
-
for (var property in _data) {
|
|
152016
|
-
if (_data.hasOwnProperty(property))
|
|
152017
|
-
this[property] = _data[property];
|
|
152018
|
-
}
|
|
152019
|
-
if (Array.isArray(_data["result"])) {
|
|
152020
|
-
this.result = [] as any;
|
|
152021
|
-
for (let item of _data["result"])
|
|
152022
|
-
this.result!.push(OnPageResourcesResultInfo.fromJS(item));
|
|
152023
|
-
}
|
|
152024
|
-
}
|
|
152025
|
-
}
|
|
152026
|
-
|
|
152027
|
-
static fromJS(data: any): OnPageResourcesTaskInfo {
|
|
152028
|
-
data = typeof data === 'object' ? data : {};
|
|
152029
|
-
let result = new OnPageResourcesTaskInfo();
|
|
152030
|
-
result.init(data);
|
|
152031
|
-
return result;
|
|
152032
|
-
}
|
|
152033
|
-
|
|
152034
|
-
toJSON(data?: any) {
|
|
152035
|
-
data = typeof data === 'object' ? data : {};
|
|
152036
|
-
for (var property in this) {
|
|
152037
|
-
if (this.hasOwnProperty(property))
|
|
152038
|
-
data[property] = this[property];
|
|
152039
|
-
}
|
|
152040
|
-
if (Array.isArray(this.result)) {
|
|
152041
|
-
data["result"] = [];
|
|
152042
|
-
for (let item of this.result)
|
|
152043
|
-
data["result"].push(item.toJSON());
|
|
152044
|
-
}
|
|
152045
|
-
super.toJSON(data);
|
|
152046
|
-
return data;
|
|
152047
|
-
}
|
|
152048
|
-
}
|
|
152049
|
-
|
|
152050
|
-
export interface IOnPageResourcesTaskInfo extends IBaseResponseTaskInfo {
|
|
152051
|
-
/** array of results */
|
|
152052
|
-
result?: (OnPageResourcesResultInfo | undefined)[] | undefined;
|
|
153145
|
+
/** resource errors and warnings */
|
|
153146
|
+
resource_errors?: OnPageResourceIssueInfo | undefined;
|
|
152053
153147
|
|
|
152054
153148
|
[key: string]: any;
|
|
152055
153149
|
}
|
|
@@ -153635,6 +154729,186 @@ status code of the page to which the link is pointing */
|
|
|
153635
154729
|
[key: string]: any;
|
|
153636
154730
|
}
|
|
153637
154731
|
|
|
154732
|
+
export class ImageLinkElementItem extends BaseOnPageLinkItemInfo implements IImageLinkElementItem {
|
|
154733
|
+
/** referring domain
|
|
154734
|
+
the link was found on this domain */
|
|
154735
|
+
domain_from?: string | undefined;
|
|
154736
|
+
/** referenced domain
|
|
154737
|
+
the link is pointing to this domain */
|
|
154738
|
+
domain_to?: string | undefined;
|
|
154739
|
+
/** referring page
|
|
154740
|
+
relative URL of the page on which the link was found */
|
|
154741
|
+
page_from?: string | undefined;
|
|
154742
|
+
/** referenced page
|
|
154743
|
+
relative URL of the page to which the link is pointing */
|
|
154744
|
+
page_to?: string | undefined;
|
|
154745
|
+
/** referring page
|
|
154746
|
+
absolute URL of the page on which the link was found */
|
|
154747
|
+
link_from?: string | undefined;
|
|
154748
|
+
/** referenced page
|
|
154749
|
+
absolute URL of the page to which the link is pointing */
|
|
154750
|
+
link_to?: string | undefined;
|
|
154751
|
+
/** link attribute added to external link
|
|
154752
|
+
indicates link attributes added to the link_to on the page_from
|
|
154753
|
+
example:
|
|
154754
|
+
["ugc","noopener"] */
|
|
154755
|
+
link_attribute?: (string | undefined)[] | undefined;
|
|
154756
|
+
/** indicates whether the link is dofollow
|
|
154757
|
+
if the value is true, the link doesn’t have a rel="nofollow" attribute */
|
|
154758
|
+
dofollow?: boolean | undefined;
|
|
154759
|
+
/** url scheme of the referring page */
|
|
154760
|
+
page_from_scheme?: string | undefined;
|
|
154761
|
+
/** url scheme of the referenced page */
|
|
154762
|
+
page_to_scheme?: string | undefined;
|
|
154763
|
+
/** direction of the link
|
|
154764
|
+
possible values: internal, external */
|
|
154765
|
+
direction?: string | undefined;
|
|
154766
|
+
/** link is broken
|
|
154767
|
+
indicates whether a link is directing to a broken page or resource */
|
|
154768
|
+
is_broken?: boolean | undefined;
|
|
154769
|
+
/** anchor text */
|
|
154770
|
+
text?: string | undefined;
|
|
154771
|
+
/** alternative text for the image */
|
|
154772
|
+
image_alt?: string | undefined;
|
|
154773
|
+
/** url of the image */
|
|
154774
|
+
image_src?: string | undefined;
|
|
154775
|
+
/** indicates that the link may have a conflict with another link
|
|
154776
|
+
if true, at least one link pointing to link_to has a rel="nofollow" attribute and at least one is dofollow */
|
|
154777
|
+
is_link_relation_conflict?: boolean | undefined;
|
|
154778
|
+
/** status code of the referenced page
|
|
154779
|
+
status code of the page to which the link is pointing */
|
|
154780
|
+
page_to_status_code?: number | undefined;
|
|
154781
|
+
|
|
154782
|
+
[key: string]: any;
|
|
154783
|
+
|
|
154784
|
+
constructor(data?: IImageLinkElementItem) {
|
|
154785
|
+
super(data);
|
|
154786
|
+
this._discriminator = "image";
|
|
154787
|
+
}
|
|
154788
|
+
|
|
154789
|
+
init(_data?: any) {
|
|
154790
|
+
super.init(_data);
|
|
154791
|
+
if (_data) {
|
|
154792
|
+
for (var property in _data) {
|
|
154793
|
+
if (_data.hasOwnProperty(property))
|
|
154794
|
+
this[property] = _data[property];
|
|
154795
|
+
}
|
|
154796
|
+
this.domain_from = _data["domain_from"];
|
|
154797
|
+
this.domain_to = _data["domain_to"];
|
|
154798
|
+
this.page_from = _data["page_from"];
|
|
154799
|
+
this.page_to = _data["page_to"];
|
|
154800
|
+
this.link_from = _data["link_from"];
|
|
154801
|
+
this.link_to = _data["link_to"];
|
|
154802
|
+
if (Array.isArray(_data["link_attribute"])) {
|
|
154803
|
+
this.link_attribute = [] as any;
|
|
154804
|
+
for (let item of _data["link_attribute"])
|
|
154805
|
+
this.link_attribute!.push(item);
|
|
154806
|
+
}
|
|
154807
|
+
this.dofollow = _data["dofollow"];
|
|
154808
|
+
this.page_from_scheme = _data["page_from_scheme"];
|
|
154809
|
+
this.page_to_scheme = _data["page_to_scheme"];
|
|
154810
|
+
this.direction = _data["direction"];
|
|
154811
|
+
this.is_broken = _data["is_broken"];
|
|
154812
|
+
this.text = _data["text"];
|
|
154813
|
+
this.image_alt = _data["image_alt"];
|
|
154814
|
+
this.image_src = _data["image_src"];
|
|
154815
|
+
this.is_link_relation_conflict = _data["is_link_relation_conflict"];
|
|
154816
|
+
this.page_to_status_code = _data["page_to_status_code"];
|
|
154817
|
+
}
|
|
154818
|
+
}
|
|
154819
|
+
|
|
154820
|
+
static fromJS(data: any): ImageLinkElementItem {
|
|
154821
|
+
data = typeof data === 'object' ? data : {};
|
|
154822
|
+
let result = new ImageLinkElementItem();
|
|
154823
|
+
result.init(data);
|
|
154824
|
+
return result;
|
|
154825
|
+
}
|
|
154826
|
+
|
|
154827
|
+
toJSON(data?: any) {
|
|
154828
|
+
data = typeof data === 'object' ? data : {};
|
|
154829
|
+
for (var property in this) {
|
|
154830
|
+
if (this.hasOwnProperty(property))
|
|
154831
|
+
data[property] = this[property];
|
|
154832
|
+
}
|
|
154833
|
+
data["domain_from"] = this.domain_from;
|
|
154834
|
+
data["domain_to"] = this.domain_to;
|
|
154835
|
+
data["page_from"] = this.page_from;
|
|
154836
|
+
data["page_to"] = this.page_to;
|
|
154837
|
+
data["link_from"] = this.link_from;
|
|
154838
|
+
data["link_to"] = this.link_to;
|
|
154839
|
+
if (Array.isArray(this.link_attribute)) {
|
|
154840
|
+
data["link_attribute"] = [];
|
|
154841
|
+
for (let item of this.link_attribute)
|
|
154842
|
+
data["link_attribute"].push(item);
|
|
154843
|
+
}
|
|
154844
|
+
data["dofollow"] = this.dofollow;
|
|
154845
|
+
data["page_from_scheme"] = this.page_from_scheme;
|
|
154846
|
+
data["page_to_scheme"] = this.page_to_scheme;
|
|
154847
|
+
data["direction"] = this.direction;
|
|
154848
|
+
data["is_broken"] = this.is_broken;
|
|
154849
|
+
data["text"] = this.text;
|
|
154850
|
+
data["image_alt"] = this.image_alt;
|
|
154851
|
+
data["image_src"] = this.image_src;
|
|
154852
|
+
data["is_link_relation_conflict"] = this.is_link_relation_conflict;
|
|
154853
|
+
data["page_to_status_code"] = this.page_to_status_code;
|
|
154854
|
+
super.toJSON(data);
|
|
154855
|
+
return data;
|
|
154856
|
+
}
|
|
154857
|
+
}
|
|
154858
|
+
|
|
154859
|
+
export interface IImageLinkElementItem extends IBaseOnPageLinkItemInfo {
|
|
154860
|
+
/** referring domain
|
|
154861
|
+
the link was found on this domain */
|
|
154862
|
+
domain_from?: string | undefined;
|
|
154863
|
+
/** referenced domain
|
|
154864
|
+
the link is pointing to this domain */
|
|
154865
|
+
domain_to?: string | undefined;
|
|
154866
|
+
/** referring page
|
|
154867
|
+
relative URL of the page on which the link was found */
|
|
154868
|
+
page_from?: string | undefined;
|
|
154869
|
+
/** referenced page
|
|
154870
|
+
relative URL of the page to which the link is pointing */
|
|
154871
|
+
page_to?: string | undefined;
|
|
154872
|
+
/** referring page
|
|
154873
|
+
absolute URL of the page on which the link was found */
|
|
154874
|
+
link_from?: string | undefined;
|
|
154875
|
+
/** referenced page
|
|
154876
|
+
absolute URL of the page to which the link is pointing */
|
|
154877
|
+
link_to?: string | undefined;
|
|
154878
|
+
/** link attribute added to external link
|
|
154879
|
+
indicates link attributes added to the link_to on the page_from
|
|
154880
|
+
example:
|
|
154881
|
+
["ugc","noopener"] */
|
|
154882
|
+
link_attribute?: (string | undefined)[] | undefined;
|
|
154883
|
+
/** indicates whether the link is dofollow
|
|
154884
|
+
if the value is true, the link doesn’t have a rel="nofollow" attribute */
|
|
154885
|
+
dofollow?: boolean | undefined;
|
|
154886
|
+
/** url scheme of the referring page */
|
|
154887
|
+
page_from_scheme?: string | undefined;
|
|
154888
|
+
/** url scheme of the referenced page */
|
|
154889
|
+
page_to_scheme?: string | undefined;
|
|
154890
|
+
/** direction of the link
|
|
154891
|
+
possible values: internal, external */
|
|
154892
|
+
direction?: string | undefined;
|
|
154893
|
+
/** link is broken
|
|
154894
|
+
indicates whether a link is directing to a broken page or resource */
|
|
154895
|
+
is_broken?: boolean | undefined;
|
|
154896
|
+
/** anchor text */
|
|
154897
|
+
text?: string | undefined;
|
|
154898
|
+
/** alternative text for the image */
|
|
154899
|
+
image_alt?: string | undefined;
|
|
154900
|
+
/** url of the image */
|
|
154901
|
+
image_src?: string | undefined;
|
|
154902
|
+
/** indicates that the link may have a conflict with another link
|
|
154903
|
+
if true, at least one link pointing to link_to has a rel="nofollow" attribute and at least one is dofollow */
|
|
154904
|
+
is_link_relation_conflict?: boolean | undefined;
|
|
154905
|
+
/** status code of the referenced page
|
|
154906
|
+
status code of the page to which the link is pointing */
|
|
154907
|
+
page_to_status_code?: number | undefined;
|
|
154908
|
+
|
|
154909
|
+
[key: string]: any;
|
|
154910
|
+
}
|
|
154911
|
+
|
|
153638
154912
|
export class OnPageLinksResultInfo implements IOnPageLinksResultInfo {
|
|
153639
154913
|
/** status of the crawling session
|
|
153640
154914
|
possible values: in_progress, finished */
|
|
@@ -153774,186 +155048,6 @@ export interface IOnPageLinksTaskInfo extends IBaseResponseTaskInfo {
|
|
|
153774
155048
|
[key: string]: any;
|
|
153775
155049
|
}
|
|
153776
155050
|
|
|
153777
|
-
export class ImageLinkElementItem extends BaseOnPageLinkItemInfo implements IImageLinkElementItem {
|
|
153778
|
-
/** referring domain
|
|
153779
|
-
the link was found on this domain */
|
|
153780
|
-
domain_from?: string | undefined;
|
|
153781
|
-
/** referenced domain
|
|
153782
|
-
the link is pointing to this domain */
|
|
153783
|
-
domain_to?: string | undefined;
|
|
153784
|
-
/** referring page
|
|
153785
|
-
relative URL of the page on which the link was found */
|
|
153786
|
-
page_from?: string | undefined;
|
|
153787
|
-
/** referenced page
|
|
153788
|
-
relative URL of the page to which the link is pointing */
|
|
153789
|
-
page_to?: string | undefined;
|
|
153790
|
-
/** referring page
|
|
153791
|
-
absolute URL of the page on which the link was found */
|
|
153792
|
-
link_from?: string | undefined;
|
|
153793
|
-
/** referenced page
|
|
153794
|
-
absolute URL of the page to which the link is pointing */
|
|
153795
|
-
link_to?: string | undefined;
|
|
153796
|
-
/** link attribute added to external link
|
|
153797
|
-
indicates link attributes added to the link_to on the page_from
|
|
153798
|
-
example:
|
|
153799
|
-
["ugc","noopener"] */
|
|
153800
|
-
link_attribute?: (string | undefined)[] | undefined;
|
|
153801
|
-
/** indicates whether the link is dofollow
|
|
153802
|
-
if the value is true, the link doesn’t have a rel="nofollow" attribute */
|
|
153803
|
-
dofollow?: boolean | undefined;
|
|
153804
|
-
/** url scheme of the referring page */
|
|
153805
|
-
page_from_scheme?: string | undefined;
|
|
153806
|
-
/** url scheme of the referenced page */
|
|
153807
|
-
page_to_scheme?: string | undefined;
|
|
153808
|
-
/** direction of the link
|
|
153809
|
-
possible values: internal, external */
|
|
153810
|
-
direction?: string | undefined;
|
|
153811
|
-
/** link is broken
|
|
153812
|
-
indicates whether a link is directing to a broken page or resource */
|
|
153813
|
-
is_broken?: boolean | undefined;
|
|
153814
|
-
/** anchor text */
|
|
153815
|
-
text?: string | undefined;
|
|
153816
|
-
/** alternative text for the image */
|
|
153817
|
-
image_alt?: string | undefined;
|
|
153818
|
-
/** url of the image */
|
|
153819
|
-
image_src?: string | undefined;
|
|
153820
|
-
/** indicates that the link may have a conflict with another link
|
|
153821
|
-
if true, at least one link pointing to link_to has a rel="nofollow" attribute and at least one is dofollow */
|
|
153822
|
-
is_link_relation_conflict?: boolean | undefined;
|
|
153823
|
-
/** status code of the referenced page
|
|
153824
|
-
status code of the page to which the link is pointing */
|
|
153825
|
-
page_to_status_code?: number | undefined;
|
|
153826
|
-
|
|
153827
|
-
[key: string]: any;
|
|
153828
|
-
|
|
153829
|
-
constructor(data?: IImageLinkElementItem) {
|
|
153830
|
-
super(data);
|
|
153831
|
-
this._discriminator = "image";
|
|
153832
|
-
}
|
|
153833
|
-
|
|
153834
|
-
init(_data?: any) {
|
|
153835
|
-
super.init(_data);
|
|
153836
|
-
if (_data) {
|
|
153837
|
-
for (var property in _data) {
|
|
153838
|
-
if (_data.hasOwnProperty(property))
|
|
153839
|
-
this[property] = _data[property];
|
|
153840
|
-
}
|
|
153841
|
-
this.domain_from = _data["domain_from"];
|
|
153842
|
-
this.domain_to = _data["domain_to"];
|
|
153843
|
-
this.page_from = _data["page_from"];
|
|
153844
|
-
this.page_to = _data["page_to"];
|
|
153845
|
-
this.link_from = _data["link_from"];
|
|
153846
|
-
this.link_to = _data["link_to"];
|
|
153847
|
-
if (Array.isArray(_data["link_attribute"])) {
|
|
153848
|
-
this.link_attribute = [] as any;
|
|
153849
|
-
for (let item of _data["link_attribute"])
|
|
153850
|
-
this.link_attribute!.push(item);
|
|
153851
|
-
}
|
|
153852
|
-
this.dofollow = _data["dofollow"];
|
|
153853
|
-
this.page_from_scheme = _data["page_from_scheme"];
|
|
153854
|
-
this.page_to_scheme = _data["page_to_scheme"];
|
|
153855
|
-
this.direction = _data["direction"];
|
|
153856
|
-
this.is_broken = _data["is_broken"];
|
|
153857
|
-
this.text = _data["text"];
|
|
153858
|
-
this.image_alt = _data["image_alt"];
|
|
153859
|
-
this.image_src = _data["image_src"];
|
|
153860
|
-
this.is_link_relation_conflict = _data["is_link_relation_conflict"];
|
|
153861
|
-
this.page_to_status_code = _data["page_to_status_code"];
|
|
153862
|
-
}
|
|
153863
|
-
}
|
|
153864
|
-
|
|
153865
|
-
static fromJS(data: any): ImageLinkElementItem {
|
|
153866
|
-
data = typeof data === 'object' ? data : {};
|
|
153867
|
-
let result = new ImageLinkElementItem();
|
|
153868
|
-
result.init(data);
|
|
153869
|
-
return result;
|
|
153870
|
-
}
|
|
153871
|
-
|
|
153872
|
-
toJSON(data?: any) {
|
|
153873
|
-
data = typeof data === 'object' ? data : {};
|
|
153874
|
-
for (var property in this) {
|
|
153875
|
-
if (this.hasOwnProperty(property))
|
|
153876
|
-
data[property] = this[property];
|
|
153877
|
-
}
|
|
153878
|
-
data["domain_from"] = this.domain_from;
|
|
153879
|
-
data["domain_to"] = this.domain_to;
|
|
153880
|
-
data["page_from"] = this.page_from;
|
|
153881
|
-
data["page_to"] = this.page_to;
|
|
153882
|
-
data["link_from"] = this.link_from;
|
|
153883
|
-
data["link_to"] = this.link_to;
|
|
153884
|
-
if (Array.isArray(this.link_attribute)) {
|
|
153885
|
-
data["link_attribute"] = [];
|
|
153886
|
-
for (let item of this.link_attribute)
|
|
153887
|
-
data["link_attribute"].push(item);
|
|
153888
|
-
}
|
|
153889
|
-
data["dofollow"] = this.dofollow;
|
|
153890
|
-
data["page_from_scheme"] = this.page_from_scheme;
|
|
153891
|
-
data["page_to_scheme"] = this.page_to_scheme;
|
|
153892
|
-
data["direction"] = this.direction;
|
|
153893
|
-
data["is_broken"] = this.is_broken;
|
|
153894
|
-
data["text"] = this.text;
|
|
153895
|
-
data["image_alt"] = this.image_alt;
|
|
153896
|
-
data["image_src"] = this.image_src;
|
|
153897
|
-
data["is_link_relation_conflict"] = this.is_link_relation_conflict;
|
|
153898
|
-
data["page_to_status_code"] = this.page_to_status_code;
|
|
153899
|
-
super.toJSON(data);
|
|
153900
|
-
return data;
|
|
153901
|
-
}
|
|
153902
|
-
}
|
|
153903
|
-
|
|
153904
|
-
export interface IImageLinkElementItem extends IBaseOnPageLinkItemInfo {
|
|
153905
|
-
/** referring domain
|
|
153906
|
-
the link was found on this domain */
|
|
153907
|
-
domain_from?: string | undefined;
|
|
153908
|
-
/** referenced domain
|
|
153909
|
-
the link is pointing to this domain */
|
|
153910
|
-
domain_to?: string | undefined;
|
|
153911
|
-
/** referring page
|
|
153912
|
-
relative URL of the page on which the link was found */
|
|
153913
|
-
page_from?: string | undefined;
|
|
153914
|
-
/** referenced page
|
|
153915
|
-
relative URL of the page to which the link is pointing */
|
|
153916
|
-
page_to?: string | undefined;
|
|
153917
|
-
/** referring page
|
|
153918
|
-
absolute URL of the page on which the link was found */
|
|
153919
|
-
link_from?: string | undefined;
|
|
153920
|
-
/** referenced page
|
|
153921
|
-
absolute URL of the page to which the link is pointing */
|
|
153922
|
-
link_to?: string | undefined;
|
|
153923
|
-
/** link attribute added to external link
|
|
153924
|
-
indicates link attributes added to the link_to on the page_from
|
|
153925
|
-
example:
|
|
153926
|
-
["ugc","noopener"] */
|
|
153927
|
-
link_attribute?: (string | undefined)[] | undefined;
|
|
153928
|
-
/** indicates whether the link is dofollow
|
|
153929
|
-
if the value is true, the link doesn’t have a rel="nofollow" attribute */
|
|
153930
|
-
dofollow?: boolean | undefined;
|
|
153931
|
-
/** url scheme of the referring page */
|
|
153932
|
-
page_from_scheme?: string | undefined;
|
|
153933
|
-
/** url scheme of the referenced page */
|
|
153934
|
-
page_to_scheme?: string | undefined;
|
|
153935
|
-
/** direction of the link
|
|
153936
|
-
possible values: internal, external */
|
|
153937
|
-
direction?: string | undefined;
|
|
153938
|
-
/** link is broken
|
|
153939
|
-
indicates whether a link is directing to a broken page or resource */
|
|
153940
|
-
is_broken?: boolean | undefined;
|
|
153941
|
-
/** anchor text */
|
|
153942
|
-
text?: string | undefined;
|
|
153943
|
-
/** alternative text for the image */
|
|
153944
|
-
image_alt?: string | undefined;
|
|
153945
|
-
/** url of the image */
|
|
153946
|
-
image_src?: string | undefined;
|
|
153947
|
-
/** indicates that the link may have a conflict with another link
|
|
153948
|
-
if true, at least one link pointing to link_to has a rel="nofollow" attribute and at least one is dofollow */
|
|
153949
|
-
is_link_relation_conflict?: boolean | undefined;
|
|
153950
|
-
/** status code of the referenced page
|
|
153951
|
-
status code of the page to which the link is pointing */
|
|
153952
|
-
page_to_status_code?: number | undefined;
|
|
153953
|
-
|
|
153954
|
-
[key: string]: any;
|
|
153955
|
-
}
|
|
153956
|
-
|
|
153957
155051
|
export class AlternateLinkElementItem extends BaseOnPageLinkItemInfo implements IAlternateLinkElementItem {
|
|
153958
155052
|
/** referring domain
|
|
153959
155053
|
the link was found on this domain */
|
|
@@ -158420,10 +159514,10 @@ export interface IOnPageContentParsingLiveResponseInfo extends IBaseResponseInfo
|
|
|
158420
159514
|
export class OnPageInstantPagesRequestInfo implements IOnPageInstantPagesRequestInfo {
|
|
158421
159515
|
/** target page url
|
|
158422
159516
|
required field
|
|
158423
|
-
absolute URL of the target page
|
|
158424
|
-
Note: results will be returned for the specified URL only
|
|
158425
|
-
Note: to prevent denial-of-service events, tasks that contain a duplicate crawl host will be returned with a 40501 error;
|
|
158426
|
-
to prevent this error from
|
|
159517
|
+
absolute URL of the target page;
|
|
159518
|
+
Note #1: results will be returned for the specified URL only;
|
|
159519
|
+
Note #2: to prevent denial-of-service events, tasks that contain a duplicate crawl host will be returned with a 40501 error;
|
|
159520
|
+
to prevent this error from occurring, avoid setting tasks with the same domain if at least one of your previous tasks with this domain (including a page URL on the domain) is still in a crawling queue */
|
|
158427
159521
|
url?: string;
|
|
158428
159522
|
/** custom user agent
|
|
158429
159523
|
optional field
|
|
@@ -158622,10 +159716,10 @@ Note: only integer threshold values can be modified; */
|
|
|
158622
159716
|
export interface IOnPageInstantPagesRequestInfo {
|
|
158623
159717
|
/** target page url
|
|
158624
159718
|
required field
|
|
158625
|
-
absolute URL of the target page
|
|
158626
|
-
Note: results will be returned for the specified URL only
|
|
158627
|
-
Note: to prevent denial-of-service events, tasks that contain a duplicate crawl host will be returned with a 40501 error;
|
|
158628
|
-
to prevent this error from
|
|
159719
|
+
absolute URL of the target page;
|
|
159720
|
+
Note #1: results will be returned for the specified URL only;
|
|
159721
|
+
Note #2: to prevent denial-of-service events, tasks that contain a duplicate crawl host will be returned with a 40501 error;
|
|
159722
|
+
to prevent this error from occurring, avoid setting tasks with the same domain if at least one of your previous tasks with this domain (including a page URL on the domain) is still in a crawling queue */
|
|
158629
159723
|
url?: string;
|
|
158630
159724
|
/** custom user agent
|
|
158631
159725
|
optional field
|
|
@@ -161509,7 +162603,7 @@ default value: as_is */
|
|
|
161509
162603
|
/** the maximum number of returned citations
|
|
161510
162604
|
optional field
|
|
161511
162605
|
default value: 100
|
|
161512
|
-
maximum value:
|
|
162606
|
+
maximum value: 1000 */
|
|
161513
162607
|
limit?: number | undefined;
|
|
161514
162608
|
/** array of results filtering parameters
|
|
161515
162609
|
optional field
|
|
@@ -161695,7 +162789,7 @@ default value: as_is */
|
|
|
161695
162789
|
/** the maximum number of returned citations
|
|
161696
162790
|
optional field
|
|
161697
162791
|
default value: 100
|
|
161698
|
-
maximum value:
|
|
162792
|
+
maximum value: 1000 */
|
|
161699
162793
|
limit?: number | undefined;
|
|
161700
162794
|
/** array of results filtering parameters
|
|
161701
162795
|
optional field
|
|
@@ -169859,92 +170953,6 @@ export interface IMerchantGoogleProductsTasksReadyResponseInfo extends IBaseResp
|
|
|
169859
170953
|
[key: string]: any;
|
|
169860
170954
|
}
|
|
169861
170955
|
|
|
169862
|
-
export class RatingElement implements IRatingElement {
|
|
169863
|
-
/** type of element */
|
|
169864
|
-
type?: string | undefined;
|
|
169865
|
-
/** the alignment of the element in Google Shopping SERP
|
|
169866
|
-
possible values:
|
|
169867
|
-
left, right */
|
|
169868
|
-
position?: string | undefined;
|
|
169869
|
-
/** the type of rating
|
|
169870
|
-
here you can find the following elements: Max5, Percents, CustomMax */
|
|
169871
|
-
rating_type?: string | undefined;
|
|
169872
|
-
/** value of the rating */
|
|
169873
|
-
value?: string | undefined;
|
|
169874
|
-
/** the amount of feedback */
|
|
169875
|
-
votes_count?: number | undefined;
|
|
169876
|
-
/** the maximum value for a rating_type */
|
|
169877
|
-
rating_max?: number | undefined;
|
|
169878
|
-
|
|
169879
|
-
[key: string]: any;
|
|
169880
|
-
|
|
169881
|
-
constructor(data?: IRatingElement) {
|
|
169882
|
-
if (data) {
|
|
169883
|
-
for (var property in data) {
|
|
169884
|
-
if (data.hasOwnProperty(property))
|
|
169885
|
-
(<any>this)[property] = (<any>data)[property];
|
|
169886
|
-
}
|
|
169887
|
-
}
|
|
169888
|
-
}
|
|
169889
|
-
|
|
169890
|
-
init(_data?: any) {
|
|
169891
|
-
if (_data) {
|
|
169892
|
-
for (var property in _data) {
|
|
169893
|
-
if (_data.hasOwnProperty(property))
|
|
169894
|
-
this[property] = _data[property];
|
|
169895
|
-
}
|
|
169896
|
-
this.type = _data["type"];
|
|
169897
|
-
this.position = _data["position"];
|
|
169898
|
-
this.rating_type = _data["rating_type"];
|
|
169899
|
-
this.value = _data["value"];
|
|
169900
|
-
this.votes_count = _data["votes_count"];
|
|
169901
|
-
this.rating_max = _data["rating_max"];
|
|
169902
|
-
}
|
|
169903
|
-
}
|
|
169904
|
-
|
|
169905
|
-
static fromJS(data: any): RatingElement {
|
|
169906
|
-
data = typeof data === 'object' ? data : {};
|
|
169907
|
-
let result = new RatingElement();
|
|
169908
|
-
result.init(data);
|
|
169909
|
-
return result;
|
|
169910
|
-
}
|
|
169911
|
-
|
|
169912
|
-
toJSON(data?: any) {
|
|
169913
|
-
data = typeof data === 'object' ? data : {};
|
|
169914
|
-
for (var property in this) {
|
|
169915
|
-
if (this.hasOwnProperty(property))
|
|
169916
|
-
data[property] = this[property];
|
|
169917
|
-
}
|
|
169918
|
-
data["type"] = this.type;
|
|
169919
|
-
data["position"] = this.position;
|
|
169920
|
-
data["rating_type"] = this.rating_type;
|
|
169921
|
-
data["value"] = this.value;
|
|
169922
|
-
data["votes_count"] = this.votes_count;
|
|
169923
|
-
data["rating_max"] = this.rating_max;
|
|
169924
|
-
return data;
|
|
169925
|
-
}
|
|
169926
|
-
}
|
|
169927
|
-
|
|
169928
|
-
export interface IRatingElement {
|
|
169929
|
-
/** type of element */
|
|
169930
|
-
type?: string | undefined;
|
|
169931
|
-
/** the alignment of the element in Google Shopping SERP
|
|
169932
|
-
possible values:
|
|
169933
|
-
left, right */
|
|
169934
|
-
position?: string | undefined;
|
|
169935
|
-
/** the type of rating
|
|
169936
|
-
here you can find the following elements: Max5, Percents, CustomMax */
|
|
169937
|
-
rating_type?: string | undefined;
|
|
169938
|
-
/** value of the rating */
|
|
169939
|
-
value?: string | undefined;
|
|
169940
|
-
/** the amount of feedback */
|
|
169941
|
-
votes_count?: number | undefined;
|
|
169942
|
-
/** the maximum value for a rating_type */
|
|
169943
|
-
rating_max?: number | undefined;
|
|
169944
|
-
|
|
169945
|
-
[key: string]: any;
|
|
169946
|
-
}
|
|
169947
|
-
|
|
169948
170956
|
export class DeliveryInfo implements IDeliveryInfo {
|
|
169949
170957
|
/** delivery information
|
|
169950
170958
|
message accompanying the delivery information as posted by the seller */
|
|
@@ -188588,7 +189596,8 @@ required field if you don’t specify location_name or location_code
|
|
|
188588
189596
|
if you use this field, you don’t need to specify location_name or location_code
|
|
188589
189597
|
location_coordinate parameter should be specified in the “latitude,longitude,radius” format
|
|
188590
189598
|
the maximum number of decimal digits for “latitude” and “longitude”: 7
|
|
188591
|
-
the minimum value for “radius”: 199.9
|
|
189599
|
+
the minimum value for “radius”: 199.9 (mm)
|
|
189600
|
+
the maximum value for “radius”: 199999 (mm)
|
|
188592
189601
|
example:
|
|
188593
189602
|
53.476225,-2.243572,200 */
|
|
188594
189603
|
location_coordinate?: string | undefined;
|
|
@@ -188734,7 +189743,8 @@ required field if you don’t specify location_name or location_code
|
|
|
188734
189743
|
if you use this field, you don’t need to specify location_name or location_code
|
|
188735
189744
|
location_coordinate parameter should be specified in the “latitude,longitude,radius” format
|
|
188736
189745
|
the maximum number of decimal digits for “latitude” and “longitude”: 7
|
|
188737
|
-
the minimum value for “radius”: 199.9
|
|
189746
|
+
the minimum value for “radius”: 199.9 (mm)
|
|
189747
|
+
the maximum value for “radius”: 199999 (mm)
|
|
188738
189748
|
example:
|
|
188739
189749
|
53.476225,-2.243572,200 */
|
|
188740
189750
|
location_coordinate?: string | undefined;
|
|
@@ -213655,6 +214665,7 @@ export class AppendixBacklinksLimitsRatesDataInfo implements IAppendixBacklinksL
|
|
|
213655
214665
|
timeseries_summary?: AppendixFunctionInfo | undefined;
|
|
213656
214666
|
timeseries_new_lost_summary?: AppendixFunctionInfo | undefined;
|
|
213657
214667
|
competitors?: AppendixFunctionInfo | undefined;
|
|
214668
|
+
bulk_pages_summary?: AppendixFunctionInfo | undefined;
|
|
213658
214669
|
|
|
213659
214670
|
[key: string]: any;
|
|
213660
214671
|
|
|
@@ -213693,6 +214704,7 @@ export class AppendixBacklinksLimitsRatesDataInfo implements IAppendixBacklinksL
|
|
|
213693
214704
|
this.timeseries_summary = _data["timeseries_summary"] ? AppendixFunctionInfo.fromJS(_data["timeseries_summary"]) : <any>undefined;
|
|
213694
214705
|
this.timeseries_new_lost_summary = _data["timeseries_new_lost_summary"] ? AppendixFunctionInfo.fromJS(_data["timeseries_new_lost_summary"]) : <any>undefined;
|
|
213695
214706
|
this.competitors = _data["competitors"] ? AppendixFunctionInfo.fromJS(_data["competitors"]) : <any>undefined;
|
|
214707
|
+
this.bulk_pages_summary = _data["bulk_pages_summary"] ? AppendixFunctionInfo.fromJS(_data["bulk_pages_summary"]) : <any>undefined;
|
|
213696
214708
|
}
|
|
213697
214709
|
}
|
|
213698
214710
|
|
|
@@ -213729,6 +214741,7 @@ export class AppendixBacklinksLimitsRatesDataInfo implements IAppendixBacklinksL
|
|
|
213729
214741
|
data["timeseries_summary"] = this.timeseries_summary ? this.timeseries_summary.toJSON() : <any>undefined;
|
|
213730
214742
|
data["timeseries_new_lost_summary"] = this.timeseries_new_lost_summary ? this.timeseries_new_lost_summary.toJSON() : <any>undefined;
|
|
213731
214743
|
data["competitors"] = this.competitors ? this.competitors.toJSON() : <any>undefined;
|
|
214744
|
+
data["bulk_pages_summary"] = this.bulk_pages_summary ? this.bulk_pages_summary.toJSON() : <any>undefined;
|
|
213732
214745
|
return data;
|
|
213733
214746
|
}
|
|
213734
214747
|
}
|
|
@@ -213754,6 +214767,7 @@ export interface IAppendixBacklinksLimitsRatesDataInfo {
|
|
|
213754
214767
|
timeseries_summary?: AppendixFunctionInfo | undefined;
|
|
213755
214768
|
timeseries_new_lost_summary?: AppendixFunctionInfo | undefined;
|
|
213756
214769
|
competitors?: AppendixFunctionInfo | undefined;
|
|
214770
|
+
bulk_pages_summary?: AppendixFunctionInfo | undefined;
|
|
213757
214771
|
|
|
213758
214772
|
[key: string]: any;
|
|
213759
214773
|
}
|
|
@@ -216138,8 +217152,8 @@ export interface IAppendixMerchantPriceData {
|
|
|
216138
217152
|
|
|
216139
217153
|
export class AppendixSerpPriceDataInfo implements IAppendixSerpPriceDataInfo {
|
|
216140
217154
|
advanced?: AppendixTaskKeywordsDataPriceDataInfo | undefined;
|
|
216141
|
-
regular?: AppendixTaskKeywordsDataPriceDataInfo | undefined;
|
|
216142
217155
|
html?: AppendixTaskKeywordsDataPriceDataInfo | undefined;
|
|
217156
|
+
regular?: AppendixTaskKeywordsDataPriceDataInfo | undefined;
|
|
216143
217157
|
|
|
216144
217158
|
[key: string]: any;
|
|
216145
217159
|
|
|
@@ -216159,8 +217173,8 @@ export class AppendixSerpPriceDataInfo implements IAppendixSerpPriceDataInfo {
|
|
|
216159
217173
|
this[property] = _data[property];
|
|
216160
217174
|
}
|
|
216161
217175
|
this.advanced = _data["advanced"] ? AppendixTaskKeywordsDataPriceDataInfo.fromJS(_data["advanced"]) : <any>undefined;
|
|
216162
|
-
this.regular = _data["regular"] ? AppendixTaskKeywordsDataPriceDataInfo.fromJS(_data["regular"]) : <any>undefined;
|
|
216163
217176
|
this.html = _data["html"] ? AppendixTaskKeywordsDataPriceDataInfo.fromJS(_data["html"]) : <any>undefined;
|
|
217177
|
+
this.regular = _data["regular"] ? AppendixTaskKeywordsDataPriceDataInfo.fromJS(_data["regular"]) : <any>undefined;
|
|
216164
217178
|
}
|
|
216165
217179
|
}
|
|
216166
217180
|
|
|
@@ -216178,16 +217192,16 @@ export class AppendixSerpPriceDataInfo implements IAppendixSerpPriceDataInfo {
|
|
|
216178
217192
|
data[property] = this[property];
|
|
216179
217193
|
}
|
|
216180
217194
|
data["advanced"] = this.advanced ? this.advanced.toJSON() : <any>undefined;
|
|
216181
|
-
data["regular"] = this.regular ? this.regular.toJSON() : <any>undefined;
|
|
216182
217195
|
data["html"] = this.html ? this.html.toJSON() : <any>undefined;
|
|
217196
|
+
data["regular"] = this.regular ? this.regular.toJSON() : <any>undefined;
|
|
216183
217197
|
return data;
|
|
216184
217198
|
}
|
|
216185
217199
|
}
|
|
216186
217200
|
|
|
216187
217201
|
export interface IAppendixSerpPriceDataInfo {
|
|
216188
217202
|
advanced?: AppendixTaskKeywordsDataPriceDataInfo | undefined;
|
|
216189
|
-
regular?: AppendixTaskKeywordsDataPriceDataInfo | undefined;
|
|
216190
217203
|
html?: AppendixTaskKeywordsDataPriceDataInfo | undefined;
|
|
217204
|
+
regular?: AppendixTaskKeywordsDataPriceDataInfo | undefined;
|
|
216191
217205
|
|
|
216192
217206
|
[key: string]: any;
|
|
216193
217207
|
}
|
|
@@ -216410,6 +217424,7 @@ export class AppendixBacklinksPriceData implements IAppendixBacklinksPriceData {
|
|
|
216410
217424
|
bulk_backlinks?: AppendixKeywordBingKeywordsDataPriceDataInfo | undefined;
|
|
216411
217425
|
bulk_new_lost_backlinks?: AppendixKeywordBingKeywordsDataPriceDataInfo | undefined;
|
|
216412
217426
|
bulk_new_lost_referring_domains?: AppendixKeywordBingKeywordsDataPriceDataInfo | undefined;
|
|
217427
|
+
bulk_pages_summary?: AppendixKeywordBingKeywordsDataPriceDataInfo | undefined;
|
|
216413
217428
|
bulk_ranks?: AppendixKeywordBingKeywordsDataPriceDataInfo | undefined;
|
|
216414
217429
|
bulk_referring_domains?: AppendixKeywordBingKeywordsDataPriceDataInfo | undefined;
|
|
216415
217430
|
competitors?: AppendixKeywordBingKeywordsDataPriceDataInfo | undefined;
|
|
@@ -216448,6 +217463,7 @@ export class AppendixBacklinksPriceData implements IAppendixBacklinksPriceData {
|
|
|
216448
217463
|
this.bulk_backlinks = _data["bulk_backlinks"] ? AppendixKeywordBingKeywordsDataPriceDataInfo.fromJS(_data["bulk_backlinks"]) : <any>undefined;
|
|
216449
217464
|
this.bulk_new_lost_backlinks = _data["bulk_new_lost_backlinks"] ? AppendixKeywordBingKeywordsDataPriceDataInfo.fromJS(_data["bulk_new_lost_backlinks"]) : <any>undefined;
|
|
216450
217465
|
this.bulk_new_lost_referring_domains = _data["bulk_new_lost_referring_domains"] ? AppendixKeywordBingKeywordsDataPriceDataInfo.fromJS(_data["bulk_new_lost_referring_domains"]) : <any>undefined;
|
|
217466
|
+
this.bulk_pages_summary = _data["bulk_pages_summary"] ? AppendixKeywordBingKeywordsDataPriceDataInfo.fromJS(_data["bulk_pages_summary"]) : <any>undefined;
|
|
216451
217467
|
this.bulk_ranks = _data["bulk_ranks"] ? AppendixKeywordBingKeywordsDataPriceDataInfo.fromJS(_data["bulk_ranks"]) : <any>undefined;
|
|
216452
217468
|
this.bulk_referring_domains = _data["bulk_referring_domains"] ? AppendixKeywordBingKeywordsDataPriceDataInfo.fromJS(_data["bulk_referring_domains"]) : <any>undefined;
|
|
216453
217469
|
this.competitors = _data["competitors"] ? AppendixKeywordBingKeywordsDataPriceDataInfo.fromJS(_data["competitors"]) : <any>undefined;
|
|
@@ -216484,6 +217500,7 @@ export class AppendixBacklinksPriceData implements IAppendixBacklinksPriceData {
|
|
|
216484
217500
|
data["bulk_backlinks"] = this.bulk_backlinks ? this.bulk_backlinks.toJSON() : <any>undefined;
|
|
216485
217501
|
data["bulk_new_lost_backlinks"] = this.bulk_new_lost_backlinks ? this.bulk_new_lost_backlinks.toJSON() : <any>undefined;
|
|
216486
217502
|
data["bulk_new_lost_referring_domains"] = this.bulk_new_lost_referring_domains ? this.bulk_new_lost_referring_domains.toJSON() : <any>undefined;
|
|
217503
|
+
data["bulk_pages_summary"] = this.bulk_pages_summary ? this.bulk_pages_summary.toJSON() : <any>undefined;
|
|
216487
217504
|
data["bulk_ranks"] = this.bulk_ranks ? this.bulk_ranks.toJSON() : <any>undefined;
|
|
216488
217505
|
data["bulk_referring_domains"] = this.bulk_referring_domains ? this.bulk_referring_domains.toJSON() : <any>undefined;
|
|
216489
217506
|
data["competitors"] = this.competitors ? this.competitors.toJSON() : <any>undefined;
|
|
@@ -216509,6 +217526,7 @@ export interface IAppendixBacklinksPriceData {
|
|
|
216509
217526
|
bulk_backlinks?: AppendixKeywordBingKeywordsDataPriceDataInfo | undefined;
|
|
216510
217527
|
bulk_new_lost_backlinks?: AppendixKeywordBingKeywordsDataPriceDataInfo | undefined;
|
|
216511
217528
|
bulk_new_lost_referring_domains?: AppendixKeywordBingKeywordsDataPriceDataInfo | undefined;
|
|
217529
|
+
bulk_pages_summary?: AppendixKeywordBingKeywordsDataPriceDataInfo | undefined;
|
|
216512
217530
|
bulk_ranks?: AppendixKeywordBingKeywordsDataPriceDataInfo | undefined;
|
|
216513
217531
|
bulk_referring_domains?: AppendixKeywordBingKeywordsDataPriceDataInfo | undefined;
|
|
216514
217532
|
competitors?: AppendixKeywordBingKeywordsDataPriceDataInfo | undefined;
|
|
@@ -216887,8 +217905,8 @@ export class AppendixBusinessDataPriceData implements IAppendixBusinessDataPrice
|
|
|
216887
217905
|
google?: AppendixGoogleBusinessDataPriceData | undefined;
|
|
216888
217906
|
languages?: AppendixTaskKeywordsDataPriceDataInfo | undefined;
|
|
216889
217907
|
locations?: AppendixTaskKeywordsDataPriceDataInfo | undefined;
|
|
216890
|
-
trustpilot?: AppendixTrBusinessDataPriceDataInfo | undefined;
|
|
216891
217908
|
tripadvisor?: AppendixTrBusinessDataPriceDataInfo | undefined;
|
|
217909
|
+
trustpilot?: AppendixTrBusinessDataPriceDataInfo | undefined;
|
|
216892
217910
|
yelp?: AppendixTrBusinessDataPriceDataInfo | undefined;
|
|
216893
217911
|
|
|
216894
217912
|
[key: string]: any;
|
|
@@ -216914,8 +217932,8 @@ export class AppendixBusinessDataPriceData implements IAppendixBusinessDataPrice
|
|
|
216914
217932
|
this.google = _data["google"] ? AppendixGoogleBusinessDataPriceData.fromJS(_data["google"]) : <any>undefined;
|
|
216915
217933
|
this.languages = _data["languages"] ? AppendixTaskKeywordsDataPriceDataInfo.fromJS(_data["languages"]) : <any>undefined;
|
|
216916
217934
|
this.locations = _data["locations"] ? AppendixTaskKeywordsDataPriceDataInfo.fromJS(_data["locations"]) : <any>undefined;
|
|
216917
|
-
this.trustpilot = _data["trustpilot"] ? AppendixTrBusinessDataPriceDataInfo.fromJS(_data["trustpilot"]) : <any>undefined;
|
|
216918
217935
|
this.tripadvisor = _data["tripadvisor"] ? AppendixTrBusinessDataPriceDataInfo.fromJS(_data["tripadvisor"]) : <any>undefined;
|
|
217936
|
+
this.trustpilot = _data["trustpilot"] ? AppendixTrBusinessDataPriceDataInfo.fromJS(_data["trustpilot"]) : <any>undefined;
|
|
216919
217937
|
this.yelp = _data["yelp"] ? AppendixTrBusinessDataPriceDataInfo.fromJS(_data["yelp"]) : <any>undefined;
|
|
216920
217938
|
}
|
|
216921
217939
|
}
|
|
@@ -216939,8 +217957,8 @@ export class AppendixBusinessDataPriceData implements IAppendixBusinessDataPrice
|
|
|
216939
217957
|
data["google"] = this.google ? this.google.toJSON() : <any>undefined;
|
|
216940
217958
|
data["languages"] = this.languages ? this.languages.toJSON() : <any>undefined;
|
|
216941
217959
|
data["locations"] = this.locations ? this.locations.toJSON() : <any>undefined;
|
|
216942
|
-
data["trustpilot"] = this.trustpilot ? this.trustpilot.toJSON() : <any>undefined;
|
|
216943
217960
|
data["tripadvisor"] = this.tripadvisor ? this.tripadvisor.toJSON() : <any>undefined;
|
|
217961
|
+
data["trustpilot"] = this.trustpilot ? this.trustpilot.toJSON() : <any>undefined;
|
|
216944
217962
|
data["yelp"] = this.yelp ? this.yelp.toJSON() : <any>undefined;
|
|
216945
217963
|
return data;
|
|
216946
217964
|
}
|
|
@@ -216953,8 +217971,8 @@ export interface IAppendixBusinessDataPriceData {
|
|
|
216953
217971
|
google?: AppendixGoogleBusinessDataPriceData | undefined;
|
|
216954
217972
|
languages?: AppendixTaskKeywordsDataPriceDataInfo | undefined;
|
|
216955
217973
|
locations?: AppendixTaskKeywordsDataPriceDataInfo | undefined;
|
|
216956
|
-
trustpilot?: AppendixTrBusinessDataPriceDataInfo | undefined;
|
|
216957
217974
|
tripadvisor?: AppendixTrBusinessDataPriceDataInfo | undefined;
|
|
217975
|
+
trustpilot?: AppendixTrBusinessDataPriceDataInfo | undefined;
|
|
216958
217976
|
yelp?: AppendixTrBusinessDataPriceDataInfo | undefined;
|
|
216959
217977
|
|
|
216960
217978
|
[key: string]: any;
|