dataforseo-client 1.0.11 → 1.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. package/main.d.ts +828 -360
  2. package/main.js +839 -413
  3. package/main.js.map +1 -1
  4. package/main.ts +1562 -694
  5. 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;
@@ -43892,7 +44020,8 @@ top_stories, news_search */
43892
44020
  se_results_count?: number | undefined;
43893
44021
  /** the number of results returned in the items array */
43894
44022
  items_count?: number | undefined;
43895
- /** elements of search results found in SERP */
44023
+ /** additional items present in the element
44024
+ if there are none, equals null */
43896
44025
  items?: (BaseSerpElementItem | undefined)[] | undefined;
43897
44026
 
43898
44027
  [key: string]: any;
@@ -44004,7 +44133,8 @@ top_stories, news_search */
44004
44133
  se_results_count?: number | undefined;
44005
44134
  /** the number of results returned in the items array */
44006
44135
  items_count?: number | undefined;
44007
- /** elements of search results found in SERP */
44136
+ /** additional items present in the element
44137
+ if there are none, equals null */
44008
44138
  items?: (BaseSerpElementItem | undefined)[] | undefined;
44009
44139
 
44010
44140
  [key: string]: any;
@@ -67146,8 +67276,7 @@ featured_snippet, images, local_pack, hotels_pack, organic, paid, people_also_as
67146
67276
  se_results_count?: number | undefined;
67147
67277
  /** the number of results returned in the items array */
67148
67278
  items_count?: number | undefined;
67149
- /** additional items present in the element
67150
- if there are none, equals null */
67279
+ /** items featured in the faq_box */
67151
67280
  items?: (BaseSerpElementItem | undefined)[] | undefined;
67152
67281
 
67153
67282
  [key: string]: any;
@@ -67259,8 +67388,7 @@ featured_snippet, images, local_pack, hotels_pack, organic, paid, people_also_as
67259
67388
  se_results_count?: number | undefined;
67260
67389
  /** the number of results returned in the items array */
67261
67390
  items_count?: number | undefined;
67262
- /** additional items present in the element
67263
- if there are none, equals null */
67391
+ /** items featured in the faq_box */
67264
67392
  items?: (BaseSerpElementItem | undefined)[] | undefined;
67265
67393
 
67266
67394
  [key: string]: any;
@@ -88948,7 +89076,7 @@ the popularity rate based on reviews and displayed in SERP */
88948
89076
  /** sitelinks
88949
89077
  the links shown below some of Google’s search results
88950
89078
  if there are none, equals null */
88951
- links?: any | undefined;
89079
+ links?: (AdLinkElement | undefined)[] | undefined;
88952
89080
  /** contains information from the ‘About this result’ panel
88953
89081
  ‘About this result’ panel provides additional context about why Google returned this result for the given query;
88954
89082
  this feature appears after clicking on the three dots next to most results */
@@ -89017,7 +89145,11 @@ contains information about the ranking changes of the SERP element since the pre
89017
89145
  for (let item of _data["highlighted"])
89018
89146
  this.highlighted!.push(item);
89019
89147
  }
89020
- this.links = _data["links"];
89148
+ if (Array.isArray(_data["links"])) {
89149
+ this.links = [] as any;
89150
+ for (let item of _data["links"])
89151
+ this.links!.push(AdLinkElement.fromJS(item));
89152
+ }
89021
89153
  this.about_this_result = _data["about_this_result"];
89022
89154
  this.main_domain = _data["main_domain"];
89023
89155
  this.relative_url = _data["relative_url"];
@@ -89067,7 +89199,11 @@ contains information about the ranking changes of the SERP element since the pre
89067
89199
  for (let item of this.highlighted)
89068
89200
  data["highlighted"].push(item);
89069
89201
  }
89070
- data["links"] = this.links;
89202
+ if (Array.isArray(this.links)) {
89203
+ data["links"] = [];
89204
+ for (let item of this.links)
89205
+ data["links"].push(item.toJSON());
89206
+ }
89071
89207
  data["about_this_result"] = this.about_this_result;
89072
89208
  data["main_domain"] = this.main_domain;
89073
89209
  data["relative_url"] = this.relative_url;
@@ -89132,7 +89268,7 @@ the popularity rate based on reviews and displayed in SERP */
89132
89268
  /** sitelinks
89133
89269
  the links shown below some of Google’s search results
89134
89270
  if there are none, equals null */
89135
- links?: any | undefined;
89271
+ links?: (AdLinkElement | undefined)[] | undefined;
89136
89272
  /** contains information from the ‘About this result’ panel
89137
89273
  ‘About this result’ panel provides additional context about why Google returned this result for the given query;
89138
89274
  this feature appears after clicking on the three dots next to most results */
@@ -89366,6 +89502,248 @@ export interface IDataforseoLabsGoogleRankedKeywordsLiveItem {
89366
89502
  [key: string]: any;
89367
89503
  }
89368
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
+
89369
89747
  export class DataforseoLabsGoogleRankedKeywordsLiveResultInfo implements IDataforseoLabsGoogleRankedKeywordsLiveResultInfo {
89370
89748
  /** search engine type */
89371
89749
  se_type?: string | undefined;
@@ -96261,248 +96639,6 @@ kc:/shopping/gpc:organic-offers */
96261
96639
  [key: string]: any;
96262
96640
  }
96263
96641
 
96264
- export class PaidDataforseoLabsSerpElementItem extends BaseDataforseoLabsSerpElementItem implements IPaidDataforseoLabsSerpElementItem {
96265
- /** position within a group of elements with identical type values
96266
- positions of elements with different type values are omitted from rank_group */
96267
- rank_group?: number | undefined;
96268
- /** absolute rank in SERP
96269
- absolute position among all the elements in SERP */
96270
- rank_absolute?: number | undefined;
96271
- /** the alignment of the element in SERP
96272
- can take the following values:
96273
- left, right */
96274
- position?: string | undefined;
96275
- /** the XPath of the element */
96276
- xpath?: string | undefined;
96277
- /** title of the result in SERP */
96278
- title?: string | undefined;
96279
- /** domain where a link points */
96280
- domain?: string | undefined;
96281
- /** description of the results element in SERP */
96282
- description?: string | undefined;
96283
- /** breadcrumb of the Ad element in SERP */
96284
- breadcrumb?: string | undefined;
96285
- /** relevant URL of the Ad element in SERP */
96286
- url?: string | undefined;
96287
- /** words highlighted in bold within the results description */
96288
- highlighted?: (string | undefined)[] | undefined;
96289
- /** additional information about the result */
96290
- extra?: { [key: string]: string; } | undefined;
96291
- /** extended description
96292
- if there is none, equals null */
96293
- description_rows?: (string | undefined)[] | undefined;
96294
- /** link of the element */
96295
- links?: (AdLinkElement | undefined)[] | undefined;
96296
- /** primary domain name in SERP */
96297
- main_domain?: string | undefined;
96298
- /** URL in SERP that does not specify the HTTPs protocol and domain name */
96299
- relative_url?: string | undefined;
96300
- /** estimated traffic volume
96301
- estimated organic monthly traffic to the domain
96302
- calculated as the product of CTR (click-through-rate) and search volume values of the returned keyword
96303
- learn more about how the metric is calculated in this help center article */
96304
- etv?: number | undefined;
96305
- /** estimated traffic volume based on impressions
96306
- estimated organic monthly traffic to the domain
96307
- calculated as the product of CTR (click-through-rate) and impressions values of the returned keyword
96308
- learn more about how the metric is calculated in this help center article */
96309
- impressions_etv?: number | undefined;
96310
- /** estimated cost of converting organic search traffic into paid
96311
- represents the estimated monthly cost of running ads for the returned keyword
96312
- 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
96313
- learn more about how the metric is calculated in this help center article */
96314
- estimated_paid_traffic_cost?: number | undefined;
96315
- /** changes in rankings
96316
- ranking changes of the SERP element compared to the preceding month;
96317
- Note: the changes are calculated even if the preceding month is not included in a POST request */
96318
- rank_changes?: RankChanges | undefined;
96319
- /** search engine type */
96320
- se_type?: string | undefined;
96321
- /** backlinks information for the target website */
96322
- backlinks_info?: BacklinksInfo | undefined;
96323
- /** page and domain rank information */
96324
- rank_info?: RankInfo | undefined;
96325
-
96326
- [key: string]: any;
96327
-
96328
- constructor(data?: IPaidDataforseoLabsSerpElementItem) {
96329
- super(data);
96330
- this._discriminator = "paid";
96331
- }
96332
-
96333
- init(_data?: any) {
96334
- super.init(_data);
96335
- if (_data) {
96336
- for (var property in _data) {
96337
- if (_data.hasOwnProperty(property))
96338
- this[property] = _data[property];
96339
- }
96340
- this.rank_group = _data["rank_group"];
96341
- this.rank_absolute = _data["rank_absolute"];
96342
- this.position = _data["position"];
96343
- this.xpath = _data["xpath"];
96344
- this.title = _data["title"];
96345
- this.domain = _data["domain"];
96346
- this.description = _data["description"];
96347
- this.breadcrumb = _data["breadcrumb"];
96348
- this.url = _data["url"];
96349
- if (Array.isArray(_data["highlighted"])) {
96350
- this.highlighted = [] as any;
96351
- for (let item of _data["highlighted"])
96352
- this.highlighted!.push(item);
96353
- }
96354
- if (_data["extra"]) {
96355
- this.extra = {} as any;
96356
- for (let key in _data["extra"]) {
96357
- if (_data["extra"].hasOwnProperty(key))
96358
- (<any>this.extra)![key] = _data["extra"][key];
96359
- }
96360
- }
96361
- if (Array.isArray(_data["description_rows"])) {
96362
- this.description_rows = [] as any;
96363
- for (let item of _data["description_rows"])
96364
- this.description_rows!.push(item);
96365
- }
96366
- if (Array.isArray(_data["links"])) {
96367
- this.links = [] as any;
96368
- for (let item of _data["links"])
96369
- this.links!.push(AdLinkElement.fromJS(item));
96370
- }
96371
- this.main_domain = _data["main_domain"];
96372
- this.relative_url = _data["relative_url"];
96373
- this.etv = _data["etv"];
96374
- this.impressions_etv = _data["impressions_etv"];
96375
- this.estimated_paid_traffic_cost = _data["estimated_paid_traffic_cost"];
96376
- this.rank_changes = _data["rank_changes"] ? RankChanges.fromJS(_data["rank_changes"]) : <any>undefined;
96377
- this.se_type = _data["se_type"];
96378
- this.backlinks_info = _data["backlinks_info"] ? BacklinksInfo.fromJS(_data["backlinks_info"]) : <any>undefined;
96379
- this.rank_info = _data["rank_info"] ? RankInfo.fromJS(_data["rank_info"]) : <any>undefined;
96380
- }
96381
- }
96382
-
96383
- static fromJS(data: any): PaidDataforseoLabsSerpElementItem {
96384
- data = typeof data === 'object' ? data : {};
96385
- let result = new PaidDataforseoLabsSerpElementItem();
96386
- result.init(data);
96387
- return result;
96388
- }
96389
-
96390
- toJSON(data?: any) {
96391
- data = typeof data === 'object' ? data : {};
96392
- for (var property in this) {
96393
- if (this.hasOwnProperty(property))
96394
- data[property] = this[property];
96395
- }
96396
- data["rank_group"] = this.rank_group;
96397
- data["rank_absolute"] = this.rank_absolute;
96398
- data["position"] = this.position;
96399
- data["xpath"] = this.xpath;
96400
- data["title"] = this.title;
96401
- data["domain"] = this.domain;
96402
- data["description"] = this.description;
96403
- data["breadcrumb"] = this.breadcrumb;
96404
- data["url"] = this.url;
96405
- if (Array.isArray(this.highlighted)) {
96406
- data["highlighted"] = [];
96407
- for (let item of this.highlighted)
96408
- data["highlighted"].push(item);
96409
- }
96410
- if (this.extra) {
96411
- data["extra"] = {};
96412
- for (let key in this.extra) {
96413
- if (this.extra.hasOwnProperty(key))
96414
- (<any>data["extra"])[key] = (<any>this.extra)[key];
96415
- }
96416
- }
96417
- if (Array.isArray(this.description_rows)) {
96418
- data["description_rows"] = [];
96419
- for (let item of this.description_rows)
96420
- data["description_rows"].push(item);
96421
- }
96422
- if (Array.isArray(this.links)) {
96423
- data["links"] = [];
96424
- for (let item of this.links)
96425
- data["links"].push(item.toJSON());
96426
- }
96427
- data["main_domain"] = this.main_domain;
96428
- data["relative_url"] = this.relative_url;
96429
- data["etv"] = this.etv;
96430
- data["impressions_etv"] = this.impressions_etv;
96431
- data["estimated_paid_traffic_cost"] = this.estimated_paid_traffic_cost;
96432
- data["rank_changes"] = this.rank_changes ? this.rank_changes.toJSON() : <any>undefined;
96433
- data["se_type"] = this.se_type;
96434
- data["backlinks_info"] = this.backlinks_info ? this.backlinks_info.toJSON() : <any>undefined;
96435
- data["rank_info"] = this.rank_info ? this.rank_info.toJSON() : <any>undefined;
96436
- super.toJSON(data);
96437
- return data;
96438
- }
96439
- }
96440
-
96441
- export interface IPaidDataforseoLabsSerpElementItem extends IBaseDataforseoLabsSerpElementItem {
96442
- /** position within a group of elements with identical type values
96443
- positions of elements with different type values are omitted from rank_group */
96444
- rank_group?: number | undefined;
96445
- /** absolute rank in SERP
96446
- absolute position among all the elements in SERP */
96447
- rank_absolute?: number | undefined;
96448
- /** the alignment of the element in SERP
96449
- can take the following values:
96450
- left, right */
96451
- position?: string | undefined;
96452
- /** the XPath of the element */
96453
- xpath?: string | undefined;
96454
- /** title of the result in SERP */
96455
- title?: string | undefined;
96456
- /** domain where a link points */
96457
- domain?: string | undefined;
96458
- /** description of the results element in SERP */
96459
- description?: string | undefined;
96460
- /** breadcrumb of the Ad element in SERP */
96461
- breadcrumb?: string | undefined;
96462
- /** relevant URL of the Ad element in SERP */
96463
- url?: string | undefined;
96464
- /** words highlighted in bold within the results description */
96465
- highlighted?: (string | undefined)[] | undefined;
96466
- /** additional information about the result */
96467
- extra?: { [key: string]: string; } | undefined;
96468
- /** extended description
96469
- if there is none, equals null */
96470
- description_rows?: (string | undefined)[] | undefined;
96471
- /** link of the element */
96472
- links?: (AdLinkElement | undefined)[] | undefined;
96473
- /** primary domain name in SERP */
96474
- main_domain?: string | undefined;
96475
- /** URL in SERP that does not specify the HTTPs protocol and domain name */
96476
- relative_url?: string | undefined;
96477
- /** estimated traffic volume
96478
- estimated organic monthly traffic to the domain
96479
- calculated as the product of CTR (click-through-rate) and search volume values of the returned keyword
96480
- learn more about how the metric is calculated in this help center article */
96481
- etv?: number | undefined;
96482
- /** estimated traffic volume based on impressions
96483
- estimated organic monthly traffic to the domain
96484
- calculated as the product of CTR (click-through-rate) and impressions values of the returned keyword
96485
- learn more about how the metric is calculated in this help center article */
96486
- impressions_etv?: number | undefined;
96487
- /** estimated cost of converting organic search traffic into paid
96488
- represents the estimated monthly cost of running ads for the returned keyword
96489
- 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
96490
- learn more about how the metric is calculated in this help center article */
96491
- estimated_paid_traffic_cost?: number | undefined;
96492
- /** changes in rankings
96493
- ranking changes of the SERP element compared to the preceding month;
96494
- Note: the changes are calculated even if the preceding month is not included in a POST request */
96495
- rank_changes?: RankChanges | undefined;
96496
- /** search engine type */
96497
- se_type?: string | undefined;
96498
- /** backlinks information for the target website */
96499
- backlinks_info?: BacklinksInfo | undefined;
96500
- /** page and domain rank information */
96501
- rank_info?: RankInfo | undefined;
96502
-
96503
- [key: string]: any;
96504
- }
96505
-
96506
96642
  export class GoogleReviewsDataforseoLabsSerpElementItem extends BaseDataforseoLabsSerpElementItem implements IGoogleReviewsDataforseoLabsSerpElementItem {
96507
96643
  /** position within a group of elements with identical type values
96508
96644
  positions of elements with different type values are omitted from rank_group */
@@ -135070,8 +135206,6 @@ indicates ISO country codes of the domains where the referring links are located
135070
135206
  referring_links_countries?: { [key: string]: number; } | undefined;
135071
135207
  /** number of referring pages pointing at least one nofollow link to the target */
135072
135208
  referring_pages_nofollow?: number | undefined;
135073
- /** number of nofollow backlinks pointing to the target */
135074
- backlinks_nofollow?: number | undefined;
135075
135209
 
135076
135210
  [key: string]: any;
135077
135211
 
@@ -135152,7 +135286,6 @@ indicates ISO country codes of the domains where the referring links are located
135152
135286
  }
135153
135287
  }
135154
135288
  this.referring_pages_nofollow = _data["referring_pages_nofollow"];
135155
- this.backlinks_nofollow = _data["backlinks_nofollow"];
135156
135289
  }
135157
135290
  }
135158
135291
 
@@ -135231,7 +135364,6 @@ indicates ISO country codes of the domains where the referring links are located
135231
135364
  }
135232
135365
  }
135233
135366
  data["referring_pages_nofollow"] = this.referring_pages_nofollow;
135234
- data["backlinks_nofollow"] = this.backlinks_nofollow;
135235
135367
  return data;
135236
135368
  }
135237
135369
  }
@@ -135321,8 +135453,6 @@ indicates ISO country codes of the domains where the referring links are located
135321
135453
  referring_links_countries?: { [key: string]: number; } | undefined;
135322
135454
  /** number of referring pages pointing at least one nofollow link to the target */
135323
135455
  referring_pages_nofollow?: number | undefined;
135324
- /** number of nofollow backlinks pointing to the target */
135325
- backlinks_nofollow?: number | undefined;
135326
135456
 
135327
135457
  [key: string]: any;
135328
135458
  }
@@ -143969,6 +144099,11 @@ for example, if you specify:
143969
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
143970
144100
  if there is no data for a certain day/week/month/year, we will return 0 */
143971
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;
143972
144107
  /** user-defined task identifier
143973
144108
  optional field
143974
144109
  the character limit is 255
@@ -143997,6 +144132,7 @@ you will find the specified tag value in the data object of the response */
143997
144132
  this.date_from = _data["date_from"];
143998
144133
  this.date_to = _data["date_to"];
143999
144134
  this.group_range = _data["group_range"];
144135
+ this.include_subdomains = _data["include_subdomains"];
144000
144136
  this.tag = _data["tag"];
144001
144137
  }
144002
144138
  }
@@ -144018,6 +144154,7 @@ you will find the specified tag value in the data object of the response */
144018
144154
  data["date_from"] = this.date_from;
144019
144155
  data["date_to"] = this.date_to;
144020
144156
  data["group_range"] = this.group_range;
144157
+ data["include_subdomains"] = this.include_subdomains;
144021
144158
  data["tag"] = this.tag;
144022
144159
  return data;
144023
144160
  }
@@ -144061,6 +144198,11 @@ for example, if you specify:
144061
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
144062
144199
  if there is no data for a certain day/week/month/year, we will return 0 */
144063
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;
144064
144206
  /** user-defined task identifier
144065
144207
  optional field
144066
144208
  the character limit is 255
@@ -144455,6 +144597,11 @@ for example, if you specify:
144455
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
144456
144598
  if there is no data for a certain day/week/month/year, we will return 0 */
144457
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;
144458
144605
  /** user-defined task identifier
144459
144606
  optional field
144460
144607
  the character limit is 255
@@ -144483,6 +144630,7 @@ you will find the specified tag value in the data object of the response */
144483
144630
  this.date_from = _data["date_from"];
144484
144631
  this.date_to = _data["date_to"];
144485
144632
  this.group_range = _data["group_range"];
144633
+ this.include_subdomains = _data["include_subdomains"];
144486
144634
  this.tag = _data["tag"];
144487
144635
  }
144488
144636
  }
@@ -144504,6 +144652,7 @@ you will find the specified tag value in the data object of the response */
144504
144652
  data["date_from"] = this.date_from;
144505
144653
  data["date_to"] = this.date_to;
144506
144654
  data["group_range"] = this.group_range;
144655
+ data["include_subdomains"] = this.include_subdomains;
144507
144656
  data["tag"] = this.tag;
144508
144657
  return data;
144509
144658
  }
@@ -144549,6 +144698,11 @@ for example, if you specify:
144549
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
144550
144699
  if there is no data for a certain day/week/month/year, we will return 0 */
144551
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;
144552
144706
  /** user-defined task identifier
144553
144707
  optional field
144554
144708
  the character limit is 255
@@ -147017,6 +147171,796 @@ export interface IBacklinksBulkNewLostReferringDomainsLiveResponseInfo extends I
147017
147171
  [key: string]: any;
147018
147172
  }
147019
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
+
147020
147964
  export class OnPageIdListRequestInfo implements IOnPageIdListRequestInfo {
147021
147965
  /** start time for filtering results
147022
147966
  required field
@@ -151879,6 +152823,145 @@ the amount of time the browser needs to complete downloading a resource */
151879
152823
  [key: string]: any;
151880
152824
  }
151881
152825
 
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
+
151882
152965
  export class ScriptResourceElementItem extends BaseOnPageResourceItemInfo implements IScriptResourceElementItem {
151883
152966
  /** resource properties
151884
152967
  the value depends on the resource_type
@@ -151913,8 +152996,6 @@ example:
151913
152996
  /** resource check-ups
151914
152997
  contents of the array depend on the resource_type */
151915
152998
  checks?: { [key: string]: boolean; } | undefined;
151916
- /** resource errors and warnings */
151917
- resource_errors?: OnPageResourceIssueInfo | undefined;
151918
152999
  /** type of encoding */
151919
153000
  content_encoding?: string | undefined;
151920
153001
  /** types of media used to display a resource */
@@ -151929,6 +153010,8 @@ any, none, image, sitemap, robots, script, stylesheet, redirect, html, text, oth
151929
153010
  /** contains data on changes related to the resource
151930
153011
  if there is no data, the value will be null */
151931
153012
  last_modified?: LastModified | undefined;
153013
+ /** resource errors and warnings */
153014
+ resource_errors?: OnPageResourceIssueInfo | undefined;
151932
153015
 
151933
153016
  [key: string]: any;
151934
153017
 
@@ -151961,12 +153044,12 @@ if there is no data, the value will be null */
151961
153044
  (<any>this.checks)![key] = _data["checks"][key];
151962
153045
  }
151963
153046
  }
151964
- this.resource_errors = _data["resource_errors"] ? OnPageResourceIssueInfo.fromJS(_data["resource_errors"]) : <any>undefined;
151965
153047
  this.content_encoding = _data["content_encoding"];
151966
153048
  this.media_type = _data["media_type"];
151967
153049
  this.accept_type = _data["accept_type"];
151968
153050
  this.server = _data["server"];
151969
153051
  this.last_modified = _data["last_modified"] ? LastModified.fromJS(_data["last_modified"]) : <any>undefined;
153052
+ this.resource_errors = _data["resource_errors"] ? OnPageResourceIssueInfo.fromJS(_data["resource_errors"]) : <any>undefined;
151970
153053
  }
151971
153054
  }
151972
153055
 
@@ -152000,12 +153083,12 @@ if there is no data, the value will be null */
152000
153083
  (<any>data["checks"])[key] = (<any>this.checks)[key];
152001
153084
  }
152002
153085
  }
152003
- data["resource_errors"] = this.resource_errors ? this.resource_errors.toJSON() : <any>undefined;
152004
153086
  data["content_encoding"] = this.content_encoding;
152005
153087
  data["media_type"] = this.media_type;
152006
153088
  data["accept_type"] = this.accept_type;
152007
153089
  data["server"] = this.server;
152008
153090
  data["last_modified"] = this.last_modified ? this.last_modified.toJSON() : <any>undefined;
153091
+ data["resource_errors"] = this.resource_errors ? this.resource_errors.toJSON() : <any>undefined;
152009
153092
  super.toJSON(data);
152010
153093
  return data;
152011
153094
  }
@@ -152045,8 +153128,6 @@ example:
152045
153128
  /** resource check-ups
152046
153129
  contents of the array depend on the resource_type */
152047
153130
  checks?: { [key: string]: boolean; } | undefined;
152048
- /** resource errors and warnings */
152049
- resource_errors?: OnPageResourceIssueInfo | undefined;
152050
153131
  /** type of encoding */
152051
153132
  content_encoding?: string | undefined;
152052
153133
  /** types of media used to display a resource */
@@ -152061,145 +153142,8 @@ any, none, image, sitemap, robots, script, stylesheet, redirect, html, text, oth
152061
153142
  /** contains data on changes related to the resource
152062
153143
  if there is no data, the value will be null */
152063
153144
  last_modified?: LastModified | undefined;
152064
-
152065
- [key: string]: any;
152066
- }
152067
-
152068
- export class OnPageResourcesResultInfo implements IOnPageResourcesResultInfo {
152069
- /** status of the crawling session
152070
- possible values: in_progress, finished */
152071
- crawl_progress?: string | undefined;
152072
- /** details of the crawling session */
152073
- crawl_status?: CrawlStatusInfo | undefined;
152074
- /** total number of relevant items crawled */
152075
- total_items_count?: number | undefined;
152076
- /** number of items in the results array */
152077
- items_count?: number | undefined;
152078
- /** items array */
152079
- items?: (BaseOnPageResourceItemInfo | undefined)[] | undefined;
152080
-
152081
- [key: string]: any;
152082
-
152083
- constructor(data?: IOnPageResourcesResultInfo) {
152084
- if (data) {
152085
- for (var property in data) {
152086
- if (data.hasOwnProperty(property))
152087
- (<any>this)[property] = (<any>data)[property];
152088
- }
152089
- }
152090
- }
152091
-
152092
- init(_data?: any) {
152093
- if (_data) {
152094
- for (var property in _data) {
152095
- if (_data.hasOwnProperty(property))
152096
- this[property] = _data[property];
152097
- }
152098
- this.crawl_progress = _data["crawl_progress"];
152099
- this.crawl_status = _data["crawl_status"] ? CrawlStatusInfo.fromJS(_data["crawl_status"]) : <any>undefined;
152100
- this.total_items_count = _data["total_items_count"];
152101
- this.items_count = _data["items_count"];
152102
- if (Array.isArray(_data["items"])) {
152103
- this.items = [] as any;
152104
- for (let item of _data["items"])
152105
- this.items!.push(BaseOnPageResourceItemInfo.fromJS(item));
152106
- }
152107
- }
152108
- }
152109
-
152110
- static fromJS(data: any): OnPageResourcesResultInfo {
152111
- data = typeof data === 'object' ? data : {};
152112
- let result = new OnPageResourcesResultInfo();
152113
- result.init(data);
152114
- return result;
152115
- }
152116
-
152117
- toJSON(data?: any) {
152118
- data = typeof data === 'object' ? data : {};
152119
- for (var property in this) {
152120
- if (this.hasOwnProperty(property))
152121
- data[property] = this[property];
152122
- }
152123
- data["crawl_progress"] = this.crawl_progress;
152124
- data["crawl_status"] = this.crawl_status ? this.crawl_status.toJSON() : <any>undefined;
152125
- data["total_items_count"] = this.total_items_count;
152126
- data["items_count"] = this.items_count;
152127
- if (Array.isArray(this.items)) {
152128
- data["items"] = [];
152129
- for (let item of this.items)
152130
- data["items"].push(item.toJSON());
152131
- }
152132
- return data;
152133
- }
152134
- }
152135
-
152136
- export interface IOnPageResourcesResultInfo {
152137
- /** status of the crawling session
152138
- possible values: in_progress, finished */
152139
- crawl_progress?: string | undefined;
152140
- /** details of the crawling session */
152141
- crawl_status?: CrawlStatusInfo | undefined;
152142
- /** total number of relevant items crawled */
152143
- total_items_count?: number | undefined;
152144
- /** number of items in the results array */
152145
- items_count?: number | undefined;
152146
- /** items array */
152147
- items?: (BaseOnPageResourceItemInfo | undefined)[] | undefined;
152148
-
152149
- [key: string]: any;
152150
- }
152151
-
152152
- export class OnPageResourcesTaskInfo extends BaseResponseTaskInfo implements IOnPageResourcesTaskInfo {
152153
- /** array of results */
152154
- result?: (OnPageResourcesResultInfo | undefined)[] | undefined;
152155
-
152156
- [key: string]: any;
152157
-
152158
- constructor(data?: IOnPageResourcesTaskInfo) {
152159
- super(data);
152160
- }
152161
-
152162
- init(_data?: any) {
152163
- super.init(_data);
152164
- if (_data) {
152165
- for (var property in _data) {
152166
- if (_data.hasOwnProperty(property))
152167
- this[property] = _data[property];
152168
- }
152169
- if (Array.isArray(_data["result"])) {
152170
- this.result = [] as any;
152171
- for (let item of _data["result"])
152172
- this.result!.push(OnPageResourcesResultInfo.fromJS(item));
152173
- }
152174
- }
152175
- }
152176
-
152177
- static fromJS(data: any): OnPageResourcesTaskInfo {
152178
- data = typeof data === 'object' ? data : {};
152179
- let result = new OnPageResourcesTaskInfo();
152180
- result.init(data);
152181
- return result;
152182
- }
152183
-
152184
- toJSON(data?: any) {
152185
- data = typeof data === 'object' ? data : {};
152186
- for (var property in this) {
152187
- if (this.hasOwnProperty(property))
152188
- data[property] = this[property];
152189
- }
152190
- if (Array.isArray(this.result)) {
152191
- data["result"] = [];
152192
- for (let item of this.result)
152193
- data["result"].push(item.toJSON());
152194
- }
152195
- super.toJSON(data);
152196
- return data;
152197
- }
152198
- }
152199
-
152200
- export interface IOnPageResourcesTaskInfo extends IBaseResponseTaskInfo {
152201
- /** array of results */
152202
- result?: (OnPageResourcesResultInfo | undefined)[] | undefined;
153145
+ /** resource errors and warnings */
153146
+ resource_errors?: OnPageResourceIssueInfo | undefined;
152203
153147
 
152204
153148
  [key: string]: any;
152205
153149
  }
@@ -153785,6 +154729,186 @@ status code of the page to which the link is pointing */
153785
154729
  [key: string]: any;
153786
154730
  }
153787
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
+
153788
154912
  export class OnPageLinksResultInfo implements IOnPageLinksResultInfo {
153789
154913
  /** status of the crawling session
153790
154914
  possible values: in_progress, finished */
@@ -153924,186 +155048,6 @@ export interface IOnPageLinksTaskInfo extends IBaseResponseTaskInfo {
153924
155048
  [key: string]: any;
153925
155049
  }
153926
155050
 
153927
- export class ImageLinkElementItem extends BaseOnPageLinkItemInfo implements IImageLinkElementItem {
153928
- /** referring domain
153929
- the link was found on this domain */
153930
- domain_from?: string | undefined;
153931
- /** referenced domain
153932
- the link is pointing to this domain */
153933
- domain_to?: string | undefined;
153934
- /** referring page
153935
- relative URL of the page on which the link was found */
153936
- page_from?: string | undefined;
153937
- /** referenced page
153938
- relative URL of the page to which the link is pointing */
153939
- page_to?: string | undefined;
153940
- /** referring page
153941
- absolute URL of the page on which the link was found */
153942
- link_from?: string | undefined;
153943
- /** referenced page
153944
- absolute URL of the page to which the link is pointing */
153945
- link_to?: string | undefined;
153946
- /** link attribute added to external link
153947
- indicates link attributes added to the link_to on the page_from
153948
- example:
153949
- ["ugc","noopener"] */
153950
- link_attribute?: (string | undefined)[] | undefined;
153951
- /** indicates whether the link is dofollow
153952
- if the value is true, the link doesn’t have a rel="nofollow" attribute */
153953
- dofollow?: boolean | undefined;
153954
- /** url scheme of the referring page */
153955
- page_from_scheme?: string | undefined;
153956
- /** url scheme of the referenced page */
153957
- page_to_scheme?: string | undefined;
153958
- /** direction of the link
153959
- possible values: internal, external */
153960
- direction?: string | undefined;
153961
- /** link is broken
153962
- indicates whether a link is directing to a broken page or resource */
153963
- is_broken?: boolean | undefined;
153964
- /** anchor text */
153965
- text?: string | undefined;
153966
- /** alternative text for the image */
153967
- image_alt?: string | undefined;
153968
- /** url of the image */
153969
- image_src?: string | undefined;
153970
- /** indicates that the link may have a conflict with another link
153971
- if true, at least one link pointing to link_to has a rel="nofollow" attribute and at least one is dofollow */
153972
- is_link_relation_conflict?: boolean | undefined;
153973
- /** status code of the referenced page
153974
- status code of the page to which the link is pointing */
153975
- page_to_status_code?: number | undefined;
153976
-
153977
- [key: string]: any;
153978
-
153979
- constructor(data?: IImageLinkElementItem) {
153980
- super(data);
153981
- this._discriminator = "image";
153982
- }
153983
-
153984
- init(_data?: any) {
153985
- super.init(_data);
153986
- if (_data) {
153987
- for (var property in _data) {
153988
- if (_data.hasOwnProperty(property))
153989
- this[property] = _data[property];
153990
- }
153991
- this.domain_from = _data["domain_from"];
153992
- this.domain_to = _data["domain_to"];
153993
- this.page_from = _data["page_from"];
153994
- this.page_to = _data["page_to"];
153995
- this.link_from = _data["link_from"];
153996
- this.link_to = _data["link_to"];
153997
- if (Array.isArray(_data["link_attribute"])) {
153998
- this.link_attribute = [] as any;
153999
- for (let item of _data["link_attribute"])
154000
- this.link_attribute!.push(item);
154001
- }
154002
- this.dofollow = _data["dofollow"];
154003
- this.page_from_scheme = _data["page_from_scheme"];
154004
- this.page_to_scheme = _data["page_to_scheme"];
154005
- this.direction = _data["direction"];
154006
- this.is_broken = _data["is_broken"];
154007
- this.text = _data["text"];
154008
- this.image_alt = _data["image_alt"];
154009
- this.image_src = _data["image_src"];
154010
- this.is_link_relation_conflict = _data["is_link_relation_conflict"];
154011
- this.page_to_status_code = _data["page_to_status_code"];
154012
- }
154013
- }
154014
-
154015
- static fromJS(data: any): ImageLinkElementItem {
154016
- data = typeof data === 'object' ? data : {};
154017
- let result = new ImageLinkElementItem();
154018
- result.init(data);
154019
- return result;
154020
- }
154021
-
154022
- toJSON(data?: any) {
154023
- data = typeof data === 'object' ? data : {};
154024
- for (var property in this) {
154025
- if (this.hasOwnProperty(property))
154026
- data[property] = this[property];
154027
- }
154028
- data["domain_from"] = this.domain_from;
154029
- data["domain_to"] = this.domain_to;
154030
- data["page_from"] = this.page_from;
154031
- data["page_to"] = this.page_to;
154032
- data["link_from"] = this.link_from;
154033
- data["link_to"] = this.link_to;
154034
- if (Array.isArray(this.link_attribute)) {
154035
- data["link_attribute"] = [];
154036
- for (let item of this.link_attribute)
154037
- data["link_attribute"].push(item);
154038
- }
154039
- data["dofollow"] = this.dofollow;
154040
- data["page_from_scheme"] = this.page_from_scheme;
154041
- data["page_to_scheme"] = this.page_to_scheme;
154042
- data["direction"] = this.direction;
154043
- data["is_broken"] = this.is_broken;
154044
- data["text"] = this.text;
154045
- data["image_alt"] = this.image_alt;
154046
- data["image_src"] = this.image_src;
154047
- data["is_link_relation_conflict"] = this.is_link_relation_conflict;
154048
- data["page_to_status_code"] = this.page_to_status_code;
154049
- super.toJSON(data);
154050
- return data;
154051
- }
154052
- }
154053
-
154054
- export interface IImageLinkElementItem extends IBaseOnPageLinkItemInfo {
154055
- /** referring domain
154056
- the link was found on this domain */
154057
- domain_from?: string | undefined;
154058
- /** referenced domain
154059
- the link is pointing to this domain */
154060
- domain_to?: string | undefined;
154061
- /** referring page
154062
- relative URL of the page on which the link was found */
154063
- page_from?: string | undefined;
154064
- /** referenced page
154065
- relative URL of the page to which the link is pointing */
154066
- page_to?: string | undefined;
154067
- /** referring page
154068
- absolute URL of the page on which the link was found */
154069
- link_from?: string | undefined;
154070
- /** referenced page
154071
- absolute URL of the page to which the link is pointing */
154072
- link_to?: string | undefined;
154073
- /** link attribute added to external link
154074
- indicates link attributes added to the link_to on the page_from
154075
- example:
154076
- ["ugc","noopener"] */
154077
- link_attribute?: (string | undefined)[] | undefined;
154078
- /** indicates whether the link is dofollow
154079
- if the value is true, the link doesn’t have a rel="nofollow" attribute */
154080
- dofollow?: boolean | undefined;
154081
- /** url scheme of the referring page */
154082
- page_from_scheme?: string | undefined;
154083
- /** url scheme of the referenced page */
154084
- page_to_scheme?: string | undefined;
154085
- /** direction of the link
154086
- possible values: internal, external */
154087
- direction?: string | undefined;
154088
- /** link is broken
154089
- indicates whether a link is directing to a broken page or resource */
154090
- is_broken?: boolean | undefined;
154091
- /** anchor text */
154092
- text?: string | undefined;
154093
- /** alternative text for the image */
154094
- image_alt?: string | undefined;
154095
- /** url of the image */
154096
- image_src?: string | undefined;
154097
- /** indicates that the link may have a conflict with another link
154098
- if true, at least one link pointing to link_to has a rel="nofollow" attribute and at least one is dofollow */
154099
- is_link_relation_conflict?: boolean | undefined;
154100
- /** status code of the referenced page
154101
- status code of the page to which the link is pointing */
154102
- page_to_status_code?: number | undefined;
154103
-
154104
- [key: string]: any;
154105
- }
154106
-
154107
155051
  export class AlternateLinkElementItem extends BaseOnPageLinkItemInfo implements IAlternateLinkElementItem {
154108
155052
  /** referring domain
154109
155053
  the link was found on this domain */
@@ -158570,10 +159514,10 @@ export interface IOnPageContentParsingLiveResponseInfo extends IBaseResponseInfo
158570
159514
  export class OnPageInstantPagesRequestInfo implements IOnPageInstantPagesRequestInfo {
158571
159515
  /** target page url
158572
159516
  required field
158573
- absolute URL of the target page
158574
- Note: results will be returned for the specified URL only
158575
- Note: to prevent denial-of-service events, tasks that contain a duplicate crawl host will be returned with a 40501 error;
158576
- to prevent this error from occuring, 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 */
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 */
158577
159521
  url?: string;
158578
159522
  /** custom user agent
158579
159523
  optional field
@@ -158772,10 +159716,10 @@ Note: only integer threshold values can be modified; */
158772
159716
  export interface IOnPageInstantPagesRequestInfo {
158773
159717
  /** target page url
158774
159718
  required field
158775
- absolute URL of the target page
158776
- Note: results will be returned for the specified URL only
158777
- Note: to prevent denial-of-service events, tasks that contain a duplicate crawl host will be returned with a 40501 error;
158778
- to prevent this error from occuring, 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 */
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 */
158779
159723
  url?: string;
158780
159724
  /** custom user agent
158781
159725
  optional field
@@ -161659,7 +162603,7 @@ default value: as_is */
161659
162603
  /** the maximum number of returned citations
161660
162604
  optional field
161661
162605
  default value: 100
161662
- maximum value: 20000 */
162606
+ maximum value: 1000 */
161663
162607
  limit?: number | undefined;
161664
162608
  /** array of results filtering parameters
161665
162609
  optional field
@@ -161845,7 +162789,7 @@ default value: as_is */
161845
162789
  /** the maximum number of returned citations
161846
162790
  optional field
161847
162791
  default value: 100
161848
- maximum value: 20000 */
162792
+ maximum value: 1000 */
161849
162793
  limit?: number | undefined;
161850
162794
  /** array of results filtering parameters
161851
162795
  optional field
@@ -170009,92 +170953,6 @@ export interface IMerchantGoogleProductsTasksReadyResponseInfo extends IBaseResp
170009
170953
  [key: string]: any;
170010
170954
  }
170011
170955
 
170012
- export class RatingElement implements IRatingElement {
170013
- /** type of element */
170014
- type?: string | undefined;
170015
- /** the alignment of the element in Google Shopping SERP
170016
- possible values:
170017
- left, right */
170018
- position?: string | undefined;
170019
- /** the type of rating
170020
- here you can find the following elements: Max5, Percents, CustomMax */
170021
- rating_type?: string | undefined;
170022
- /** value of the rating */
170023
- value?: string | undefined;
170024
- /** the amount of feedback */
170025
- votes_count?: number | undefined;
170026
- /** the maximum value for a rating_type */
170027
- rating_max?: number | undefined;
170028
-
170029
- [key: string]: any;
170030
-
170031
- constructor(data?: IRatingElement) {
170032
- if (data) {
170033
- for (var property in data) {
170034
- if (data.hasOwnProperty(property))
170035
- (<any>this)[property] = (<any>data)[property];
170036
- }
170037
- }
170038
- }
170039
-
170040
- init(_data?: any) {
170041
- if (_data) {
170042
- for (var property in _data) {
170043
- if (_data.hasOwnProperty(property))
170044
- this[property] = _data[property];
170045
- }
170046
- this.type = _data["type"];
170047
- this.position = _data["position"];
170048
- this.rating_type = _data["rating_type"];
170049
- this.value = _data["value"];
170050
- this.votes_count = _data["votes_count"];
170051
- this.rating_max = _data["rating_max"];
170052
- }
170053
- }
170054
-
170055
- static fromJS(data: any): RatingElement {
170056
- data = typeof data === 'object' ? data : {};
170057
- let result = new RatingElement();
170058
- result.init(data);
170059
- return result;
170060
- }
170061
-
170062
- toJSON(data?: any) {
170063
- data = typeof data === 'object' ? data : {};
170064
- for (var property in this) {
170065
- if (this.hasOwnProperty(property))
170066
- data[property] = this[property];
170067
- }
170068
- data["type"] = this.type;
170069
- data["position"] = this.position;
170070
- data["rating_type"] = this.rating_type;
170071
- data["value"] = this.value;
170072
- data["votes_count"] = this.votes_count;
170073
- data["rating_max"] = this.rating_max;
170074
- return data;
170075
- }
170076
- }
170077
-
170078
- export interface IRatingElement {
170079
- /** type of element */
170080
- type?: string | undefined;
170081
- /** the alignment of the element in Google Shopping SERP
170082
- possible values:
170083
- left, right */
170084
- position?: string | undefined;
170085
- /** the type of rating
170086
- here you can find the following elements: Max5, Percents, CustomMax */
170087
- rating_type?: string | undefined;
170088
- /** value of the rating */
170089
- value?: string | undefined;
170090
- /** the amount of feedback */
170091
- votes_count?: number | undefined;
170092
- /** the maximum value for a rating_type */
170093
- rating_max?: number | undefined;
170094
-
170095
- [key: string]: any;
170096
- }
170097
-
170098
170956
  export class DeliveryInfo implements IDeliveryInfo {
170099
170957
  /** delivery information
170100
170958
  message accompanying the delivery information as posted by the seller */
@@ -188738,7 +189596,8 @@ required field if you don’t specify location_name or location_code
188738
189596
  if you use this field, you don’t need to specify location_name or location_code
188739
189597
  location_coordinate parameter should be specified in the “latitude,longitude,radius” format
188740
189598
  the maximum number of decimal digits for “latitude” and “longitude”: 7
188741
- the minimum value for “radius”: 199.9
189599
+ the minimum value for “radius”: 199.9 (mm)
189600
+ the maximum value for “radius”: 199999 (mm)
188742
189601
  example:
188743
189602
  53.476225,-2.243572,200 */
188744
189603
  location_coordinate?: string | undefined;
@@ -188884,7 +189743,8 @@ required field if you don’t specify location_name or location_code
188884
189743
  if you use this field, you don’t need to specify location_name or location_code
188885
189744
  location_coordinate parameter should be specified in the “latitude,longitude,radius” format
188886
189745
  the maximum number of decimal digits for “latitude” and “longitude”: 7
188887
- the minimum value for “radius”: 199.9
189746
+ the minimum value for “radius”: 199.9 (mm)
189747
+ the maximum value for “radius”: 199999 (mm)
188888
189748
  example:
188889
189749
  53.476225,-2.243572,200 */
188890
189750
  location_coordinate?: string | undefined;
@@ -213805,6 +214665,7 @@ export class AppendixBacklinksLimitsRatesDataInfo implements IAppendixBacklinksL
213805
214665
  timeseries_summary?: AppendixFunctionInfo | undefined;
213806
214666
  timeseries_new_lost_summary?: AppendixFunctionInfo | undefined;
213807
214667
  competitors?: AppendixFunctionInfo | undefined;
214668
+ bulk_pages_summary?: AppendixFunctionInfo | undefined;
213808
214669
 
213809
214670
  [key: string]: any;
213810
214671
 
@@ -213843,6 +214704,7 @@ export class AppendixBacklinksLimitsRatesDataInfo implements IAppendixBacklinksL
213843
214704
  this.timeseries_summary = _data["timeseries_summary"] ? AppendixFunctionInfo.fromJS(_data["timeseries_summary"]) : <any>undefined;
213844
214705
  this.timeseries_new_lost_summary = _data["timeseries_new_lost_summary"] ? AppendixFunctionInfo.fromJS(_data["timeseries_new_lost_summary"]) : <any>undefined;
213845
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;
213846
214708
  }
213847
214709
  }
213848
214710
 
@@ -213879,6 +214741,7 @@ export class AppendixBacklinksLimitsRatesDataInfo implements IAppendixBacklinksL
213879
214741
  data["timeseries_summary"] = this.timeseries_summary ? this.timeseries_summary.toJSON() : <any>undefined;
213880
214742
  data["timeseries_new_lost_summary"] = this.timeseries_new_lost_summary ? this.timeseries_new_lost_summary.toJSON() : <any>undefined;
213881
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;
213882
214745
  return data;
213883
214746
  }
213884
214747
  }
@@ -213904,6 +214767,7 @@ export interface IAppendixBacklinksLimitsRatesDataInfo {
213904
214767
  timeseries_summary?: AppendixFunctionInfo | undefined;
213905
214768
  timeseries_new_lost_summary?: AppendixFunctionInfo | undefined;
213906
214769
  competitors?: AppendixFunctionInfo | undefined;
214770
+ bulk_pages_summary?: AppendixFunctionInfo | undefined;
213907
214771
 
213908
214772
  [key: string]: any;
213909
214773
  }
@@ -216288,8 +217152,8 @@ export interface IAppendixMerchantPriceData {
216288
217152
 
216289
217153
  export class AppendixSerpPriceDataInfo implements IAppendixSerpPriceDataInfo {
216290
217154
  advanced?: AppendixTaskKeywordsDataPriceDataInfo | undefined;
216291
- regular?: AppendixTaskKeywordsDataPriceDataInfo | undefined;
216292
217155
  html?: AppendixTaskKeywordsDataPriceDataInfo | undefined;
217156
+ regular?: AppendixTaskKeywordsDataPriceDataInfo | undefined;
216293
217157
 
216294
217158
  [key: string]: any;
216295
217159
 
@@ -216309,8 +217173,8 @@ export class AppendixSerpPriceDataInfo implements IAppendixSerpPriceDataInfo {
216309
217173
  this[property] = _data[property];
216310
217174
  }
216311
217175
  this.advanced = _data["advanced"] ? AppendixTaskKeywordsDataPriceDataInfo.fromJS(_data["advanced"]) : <any>undefined;
216312
- this.regular = _data["regular"] ? AppendixTaskKeywordsDataPriceDataInfo.fromJS(_data["regular"]) : <any>undefined;
216313
217176
  this.html = _data["html"] ? AppendixTaskKeywordsDataPriceDataInfo.fromJS(_data["html"]) : <any>undefined;
217177
+ this.regular = _data["regular"] ? AppendixTaskKeywordsDataPriceDataInfo.fromJS(_data["regular"]) : <any>undefined;
216314
217178
  }
216315
217179
  }
216316
217180
 
@@ -216328,16 +217192,16 @@ export class AppendixSerpPriceDataInfo implements IAppendixSerpPriceDataInfo {
216328
217192
  data[property] = this[property];
216329
217193
  }
216330
217194
  data["advanced"] = this.advanced ? this.advanced.toJSON() : <any>undefined;
216331
- data["regular"] = this.regular ? this.regular.toJSON() : <any>undefined;
216332
217195
  data["html"] = this.html ? this.html.toJSON() : <any>undefined;
217196
+ data["regular"] = this.regular ? this.regular.toJSON() : <any>undefined;
216333
217197
  return data;
216334
217198
  }
216335
217199
  }
216336
217200
 
216337
217201
  export interface IAppendixSerpPriceDataInfo {
216338
217202
  advanced?: AppendixTaskKeywordsDataPriceDataInfo | undefined;
216339
- regular?: AppendixTaskKeywordsDataPriceDataInfo | undefined;
216340
217203
  html?: AppendixTaskKeywordsDataPriceDataInfo | undefined;
217204
+ regular?: AppendixTaskKeywordsDataPriceDataInfo | undefined;
216341
217205
 
216342
217206
  [key: string]: any;
216343
217207
  }
@@ -216560,6 +217424,7 @@ export class AppendixBacklinksPriceData implements IAppendixBacklinksPriceData {
216560
217424
  bulk_backlinks?: AppendixKeywordBingKeywordsDataPriceDataInfo | undefined;
216561
217425
  bulk_new_lost_backlinks?: AppendixKeywordBingKeywordsDataPriceDataInfo | undefined;
216562
217426
  bulk_new_lost_referring_domains?: AppendixKeywordBingKeywordsDataPriceDataInfo | undefined;
217427
+ bulk_pages_summary?: AppendixKeywordBingKeywordsDataPriceDataInfo | undefined;
216563
217428
  bulk_ranks?: AppendixKeywordBingKeywordsDataPriceDataInfo | undefined;
216564
217429
  bulk_referring_domains?: AppendixKeywordBingKeywordsDataPriceDataInfo | undefined;
216565
217430
  competitors?: AppendixKeywordBingKeywordsDataPriceDataInfo | undefined;
@@ -216598,6 +217463,7 @@ export class AppendixBacklinksPriceData implements IAppendixBacklinksPriceData {
216598
217463
  this.bulk_backlinks = _data["bulk_backlinks"] ? AppendixKeywordBingKeywordsDataPriceDataInfo.fromJS(_data["bulk_backlinks"]) : <any>undefined;
216599
217464
  this.bulk_new_lost_backlinks = _data["bulk_new_lost_backlinks"] ? AppendixKeywordBingKeywordsDataPriceDataInfo.fromJS(_data["bulk_new_lost_backlinks"]) : <any>undefined;
216600
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;
216601
217467
  this.bulk_ranks = _data["bulk_ranks"] ? AppendixKeywordBingKeywordsDataPriceDataInfo.fromJS(_data["bulk_ranks"]) : <any>undefined;
216602
217468
  this.bulk_referring_domains = _data["bulk_referring_domains"] ? AppendixKeywordBingKeywordsDataPriceDataInfo.fromJS(_data["bulk_referring_domains"]) : <any>undefined;
216603
217469
  this.competitors = _data["competitors"] ? AppendixKeywordBingKeywordsDataPriceDataInfo.fromJS(_data["competitors"]) : <any>undefined;
@@ -216634,6 +217500,7 @@ export class AppendixBacklinksPriceData implements IAppendixBacklinksPriceData {
216634
217500
  data["bulk_backlinks"] = this.bulk_backlinks ? this.bulk_backlinks.toJSON() : <any>undefined;
216635
217501
  data["bulk_new_lost_backlinks"] = this.bulk_new_lost_backlinks ? this.bulk_new_lost_backlinks.toJSON() : <any>undefined;
216636
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;
216637
217504
  data["bulk_ranks"] = this.bulk_ranks ? this.bulk_ranks.toJSON() : <any>undefined;
216638
217505
  data["bulk_referring_domains"] = this.bulk_referring_domains ? this.bulk_referring_domains.toJSON() : <any>undefined;
216639
217506
  data["competitors"] = this.competitors ? this.competitors.toJSON() : <any>undefined;
@@ -216659,6 +217526,7 @@ export interface IAppendixBacklinksPriceData {
216659
217526
  bulk_backlinks?: AppendixKeywordBingKeywordsDataPriceDataInfo | undefined;
216660
217527
  bulk_new_lost_backlinks?: AppendixKeywordBingKeywordsDataPriceDataInfo | undefined;
216661
217528
  bulk_new_lost_referring_domains?: AppendixKeywordBingKeywordsDataPriceDataInfo | undefined;
217529
+ bulk_pages_summary?: AppendixKeywordBingKeywordsDataPriceDataInfo | undefined;
216662
217530
  bulk_ranks?: AppendixKeywordBingKeywordsDataPriceDataInfo | undefined;
216663
217531
  bulk_referring_domains?: AppendixKeywordBingKeywordsDataPriceDataInfo | undefined;
216664
217532
  competitors?: AppendixKeywordBingKeywordsDataPriceDataInfo | undefined;
@@ -217037,8 +217905,8 @@ export class AppendixBusinessDataPriceData implements IAppendixBusinessDataPrice
217037
217905
  google?: AppendixGoogleBusinessDataPriceData | undefined;
217038
217906
  languages?: AppendixTaskKeywordsDataPriceDataInfo | undefined;
217039
217907
  locations?: AppendixTaskKeywordsDataPriceDataInfo | undefined;
217040
- trustpilot?: AppendixTrBusinessDataPriceDataInfo | undefined;
217041
217908
  tripadvisor?: AppendixTrBusinessDataPriceDataInfo | undefined;
217909
+ trustpilot?: AppendixTrBusinessDataPriceDataInfo | undefined;
217042
217910
  yelp?: AppendixTrBusinessDataPriceDataInfo | undefined;
217043
217911
 
217044
217912
  [key: string]: any;
@@ -217064,8 +217932,8 @@ export class AppendixBusinessDataPriceData implements IAppendixBusinessDataPrice
217064
217932
  this.google = _data["google"] ? AppendixGoogleBusinessDataPriceData.fromJS(_data["google"]) : <any>undefined;
217065
217933
  this.languages = _data["languages"] ? AppendixTaskKeywordsDataPriceDataInfo.fromJS(_data["languages"]) : <any>undefined;
217066
217934
  this.locations = _data["locations"] ? AppendixTaskKeywordsDataPriceDataInfo.fromJS(_data["locations"]) : <any>undefined;
217067
- this.trustpilot = _data["trustpilot"] ? AppendixTrBusinessDataPriceDataInfo.fromJS(_data["trustpilot"]) : <any>undefined;
217068
217935
  this.tripadvisor = _data["tripadvisor"] ? AppendixTrBusinessDataPriceDataInfo.fromJS(_data["tripadvisor"]) : <any>undefined;
217936
+ this.trustpilot = _data["trustpilot"] ? AppendixTrBusinessDataPriceDataInfo.fromJS(_data["trustpilot"]) : <any>undefined;
217069
217937
  this.yelp = _data["yelp"] ? AppendixTrBusinessDataPriceDataInfo.fromJS(_data["yelp"]) : <any>undefined;
217070
217938
  }
217071
217939
  }
@@ -217089,8 +217957,8 @@ export class AppendixBusinessDataPriceData implements IAppendixBusinessDataPrice
217089
217957
  data["google"] = this.google ? this.google.toJSON() : <any>undefined;
217090
217958
  data["languages"] = this.languages ? this.languages.toJSON() : <any>undefined;
217091
217959
  data["locations"] = this.locations ? this.locations.toJSON() : <any>undefined;
217092
- data["trustpilot"] = this.trustpilot ? this.trustpilot.toJSON() : <any>undefined;
217093
217960
  data["tripadvisor"] = this.tripadvisor ? this.tripadvisor.toJSON() : <any>undefined;
217961
+ data["trustpilot"] = this.trustpilot ? this.trustpilot.toJSON() : <any>undefined;
217094
217962
  data["yelp"] = this.yelp ? this.yelp.toJSON() : <any>undefined;
217095
217963
  return data;
217096
217964
  }
@@ -217103,8 +217971,8 @@ export interface IAppendixBusinessDataPriceData {
217103
217971
  google?: AppendixGoogleBusinessDataPriceData | undefined;
217104
217972
  languages?: AppendixTaskKeywordsDataPriceDataInfo | undefined;
217105
217973
  locations?: AppendixTaskKeywordsDataPriceDataInfo | undefined;
217106
- trustpilot?: AppendixTrBusinessDataPriceDataInfo | undefined;
217107
217974
  tripadvisor?: AppendixTrBusinessDataPriceDataInfo | undefined;
217975
+ trustpilot?: AppendixTrBusinessDataPriceDataInfo | undefined;
217108
217976
  yelp?: AppendixTrBusinessDataPriceDataInfo | undefined;
217109
217977
 
217110
217978
  [key: string]: any;