dataforseo-client 1.0.8 → 1.0.10

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 +380 -336
  2. package/main.js +326 -296
  3. package/main.js.map +1 -1
  4. package/main.ts +816 -742
  5. package/package.json +1 -1
package/main.ts CHANGED
@@ -32853,6 +32853,8 @@ export class PopularProductsElement implements IPopularProductsElement {
32853
32853
  title?: string | undefined;
32854
32854
  /** description */
32855
32855
  description?: string | undefined;
32856
+ /** seller of the product */
32857
+ seller?: string | undefined;
32856
32858
  /** price indicated in the element */
32857
32859
  price?: PriceInfo | undefined;
32858
32860
  /** the item’s rating
@@ -32879,6 +32881,7 @@ the popularity rate based on reviews and displayed in SERP */
32879
32881
  this.type = _data["type"];
32880
32882
  this.title = _data["title"];
32881
32883
  this.description = _data["description"];
32884
+ this.seller = _data["seller"];
32882
32885
  this.price = _data["price"] ? PriceInfo.fromJS(_data["price"]) : <any>undefined;
32883
32886
  this.rating = _data["rating"] ? RatingInfo.fromJS(_data["rating"]) : <any>undefined;
32884
32887
  }
@@ -32900,6 +32903,7 @@ the popularity rate based on reviews and displayed in SERP */
32900
32903
  data["type"] = this.type;
32901
32904
  data["title"] = this.title;
32902
32905
  data["description"] = this.description;
32906
+ data["seller"] = this.seller;
32903
32907
  data["price"] = this.price ? this.price.toJSON() : <any>undefined;
32904
32908
  data["rating"] = this.rating ? this.rating.toJSON() : <any>undefined;
32905
32909
  return data;
@@ -32913,6 +32917,8 @@ export interface IPopularProductsElement {
32913
32917
  title?: string | undefined;
32914
32918
  /** description */
32915
32919
  description?: string | undefined;
32920
+ /** seller of the product */
32921
+ seller?: string | undefined;
32916
32922
  /** price indicated in the element */
32917
32923
  price?: PriceInfo | undefined;
32918
32924
  /** the item’s rating
@@ -43874,7 +43880,8 @@ top_stories, news_search */
43874
43880
  se_results_count?: number | undefined;
43875
43881
  /** the number of results returned in the items array */
43876
43882
  items_count?: number | undefined;
43877
- /** elements of search results found in SERP */
43883
+ /** additional items present in the element
43884
+ if there are none, equals null */
43878
43885
  items?: (BaseSerpElementItem | undefined)[] | undefined;
43879
43886
 
43880
43887
  [key: string]: any;
@@ -43986,7 +43993,8 @@ top_stories, news_search */
43986
43993
  se_results_count?: number | undefined;
43987
43994
  /** the number of results returned in the items array */
43988
43995
  items_count?: number | undefined;
43989
- /** elements of search results found in SERP */
43996
+ /** additional items present in the element
43997
+ if there are none, equals null */
43990
43998
  items?: (BaseSerpElementItem | undefined)[] | undefined;
43991
43999
 
43992
44000
  [key: string]: any;
@@ -67126,7 +67134,8 @@ featured_snippet, images, local_pack, hotels_pack, organic, paid, people_also_as
67126
67134
  se_results_count?: number | undefined;
67127
67135
  /** the number of results returned in the items array */
67128
67136
  items_count?: number | undefined;
67129
- /** items featured in the faq_box */
67137
+ /** additional items present in the element
67138
+ if there are none, equals null */
67130
67139
  items?: (BaseSerpElementItem | undefined)[] | undefined;
67131
67140
 
67132
67141
  [key: string]: any;
@@ -67238,7 +67247,8 @@ featured_snippet, images, local_pack, hotels_pack, organic, paid, people_also_as
67238
67247
  se_results_count?: number | undefined;
67239
67248
  /** the number of results returned in the items array */
67240
67249
  items_count?: number | undefined;
67241
- /** items featured in the faq_box */
67250
+ /** additional items present in the element
67251
+ if there are none, equals null */
67242
67252
  items?: (BaseSerpElementItem | undefined)[] | undefined;
67243
67253
 
67244
67254
  [key: string]: any;
@@ -93607,7 +93617,7 @@ left, right */
93607
93617
  xpath?: string | undefined;
93608
93618
  /** title of the result in SERP */
93609
93619
  title?: string | undefined;
93610
- /** URL link */
93620
+ /** relevant URL of the Ad element in SERP */
93611
93621
  url?: string | undefined;
93612
93622
  /** elements of search results found in SERP */
93613
93623
  items?: (TwitterElement | undefined)[] | undefined;
@@ -93688,7 +93698,7 @@ left, right */
93688
93698
  xpath?: string | undefined;
93689
93699
  /** title of the result in SERP */
93690
93700
  title?: string | undefined;
93691
- /** URL link */
93701
+ /** relevant URL of the Ad element in SERP */
93692
93702
  url?: string | undefined;
93693
93703
  /** elements of search results found in SERP */
93694
93704
  items?: (TwitterElement | undefined)[] | undefined;
@@ -94227,7 +94237,7 @@ left, right */
94227
94237
  description?: string | undefined;
94228
94238
  /** card id */
94229
94239
  card_id?: string | undefined;
94230
- /** URL link */
94240
+ /** relevant URL of the Ad element in SERP */
94231
94241
  url?: string | undefined;
94232
94242
  /** URL of the image from knowledge graph */
94233
94243
  image_url?: string | undefined;
@@ -94332,7 +94342,7 @@ left, right */
94332
94342
  description?: string | undefined;
94333
94343
  /** card id */
94334
94344
  card_id?: string | undefined;
94335
- /** URL link */
94345
+ /** relevant URL of the Ad element in SERP */
94336
94346
  url?: string | undefined;
94337
94347
  /** URL of the image from knowledge graph */
94338
94348
  image_url?: string | undefined;
@@ -95394,7 +95404,7 @@ left, right */
95394
95404
  xpath?: string | undefined;
95395
95405
  /** title of the result in SERP */
95396
95406
  title?: string | undefined;
95397
- /** URL link */
95407
+ /** relevant URL of the Ad element in SERP */
95398
95408
  url?: string | undefined;
95399
95409
 
95400
95410
  [key: string]: any;
@@ -95459,7 +95469,7 @@ left, right */
95459
95469
  xpath?: string | undefined;
95460
95470
  /** title of the result in SERP */
95461
95471
  title?: string | undefined;
95462
- /** URL link */
95472
+ /** relevant URL of the Ad element in SERP */
95463
95473
  url?: string | undefined;
95464
95474
 
95465
95475
  [key: string]: any;
@@ -95510,7 +95520,7 @@ learn more about how the metric is calculated in this help center article */
95510
95520
  contains information about the ranking changes of the SERP element since the previous_updated_time */
95511
95521
  rank_changes?: RankChanges | undefined;
95512
95522
  /** backlinks information for the target website */
95513
- backlinks_info?: AvgBacklinksInfo | undefined;
95523
+ backlinks_info?: BacklinksInfo | undefined;
95514
95524
  /** page and domain rank information */
95515
95525
  rank_info?: RankInfo | undefined;
95516
95526
 
@@ -95544,7 +95554,7 @@ contains information about the ranking changes of the SERP element since the pre
95544
95554
  this.etv = _data["etv"];
95545
95555
  this.estimated_paid_traffic_cost = _data["estimated_paid_traffic_cost"];
95546
95556
  this.rank_changes = _data["rank_changes"] ? RankChanges.fromJS(_data["rank_changes"]) : <any>undefined;
95547
- this.backlinks_info = _data["backlinks_info"] ? AvgBacklinksInfo.fromJS(_data["backlinks_info"]) : <any>undefined;
95557
+ this.backlinks_info = _data["backlinks_info"] ? BacklinksInfo.fromJS(_data["backlinks_info"]) : <any>undefined;
95548
95558
  this.rank_info = _data["rank_info"] ? RankInfo.fromJS(_data["rank_info"]) : <any>undefined;
95549
95559
  }
95550
95560
  }
@@ -95630,7 +95640,7 @@ learn more about how the metric is calculated in this help center article */
95630
95640
  contains information about the ranking changes of the SERP element since the previous_updated_time */
95631
95641
  rank_changes?: RankChanges | undefined;
95632
95642
  /** backlinks information for the target website */
95633
- backlinks_info?: AvgBacklinksInfo | undefined;
95643
+ backlinks_info?: BacklinksInfo | undefined;
95634
95644
  /** page and domain rank information */
95635
95645
  rank_info?: RankInfo | undefined;
95636
95646
 
@@ -95658,7 +95668,7 @@ left, right */
95658
95668
  domain?: string | undefined;
95659
95669
  /** phone number */
95660
95670
  phone?: string | undefined;
95661
- /** URL link */
95671
+ /** relevant URL of the Ad element in SERP */
95662
95672
  url?: string | undefined;
95663
95673
  /** indicates whether the element is an ad */
95664
95674
  is_paid?: boolean | undefined;
@@ -95691,7 +95701,7 @@ Note: the changes are calculated even if the preceding month is not included in
95691
95701
  /** search engine type */
95692
95702
  se_type?: string | undefined;
95693
95703
  /** backlinks information for the target website */
95694
- backlinks_info?: AvgBacklinksInfo | undefined;
95704
+ backlinks_info?: BacklinksInfo | undefined;
95695
95705
  /** page and domain rank information */
95696
95706
  rank_info?: RankInfo | undefined;
95697
95707
 
@@ -95727,7 +95737,7 @@ Note: the changes are calculated even if the preceding month is not included in
95727
95737
  this.estimated_paid_traffic_cost = _data["estimated_paid_traffic_cost"];
95728
95738
  this.rank_changes = _data["rank_changes"] ? RankChanges.fromJS(_data["rank_changes"]) : <any>undefined;
95729
95739
  this.se_type = _data["se_type"];
95730
- this.backlinks_info = _data["backlinks_info"] ? AvgBacklinksInfo.fromJS(_data["backlinks_info"]) : <any>undefined;
95740
+ this.backlinks_info = _data["backlinks_info"] ? BacklinksInfo.fromJS(_data["backlinks_info"]) : <any>undefined;
95731
95741
  this.rank_info = _data["rank_info"] ? RankInfo.fromJS(_data["rank_info"]) : <any>undefined;
95732
95742
  }
95733
95743
  }
@@ -95791,7 +95801,7 @@ left, right */
95791
95801
  domain?: string | undefined;
95792
95802
  /** phone number */
95793
95803
  phone?: string | undefined;
95794
- /** URL link */
95804
+ /** relevant URL of the Ad element in SERP */
95795
95805
  url?: string | undefined;
95796
95806
  /** indicates whether the element is an ad */
95797
95807
  is_paid?: boolean | undefined;
@@ -95824,7 +95834,7 @@ Note: the changes are calculated even if the preceding month is not included in
95824
95834
  /** search engine type */
95825
95835
  se_type?: string | undefined;
95826
95836
  /** backlinks information for the target website */
95827
- backlinks_info?: AvgBacklinksInfo | undefined;
95837
+ backlinks_info?: BacklinksInfo | undefined;
95828
95838
  /** page and domain rank information */
95829
95839
  rank_info?: RankInfo | undefined;
95830
95840
 
@@ -96404,7 +96414,7 @@ left, right */
96404
96414
  description?: string | undefined;
96405
96415
  /** breadcrumb of the Ad element in SERP */
96406
96416
  breadcrumb?: string | undefined;
96407
- /** URL link */
96417
+ /** relevant URL of the Ad element in SERP */
96408
96418
  url?: string | undefined;
96409
96419
  /** words highlighted in bold within the results description */
96410
96420
  highlighted?: (string | undefined)[] | undefined;
@@ -96581,7 +96591,7 @@ left, right */
96581
96591
  description?: string | undefined;
96582
96592
  /** breadcrumb of the Ad element in SERP */
96583
96593
  breadcrumb?: string | undefined;
96584
- /** URL link */
96594
+ /** relevant URL of the Ad element in SERP */
96585
96595
  url?: string | undefined;
96586
96596
  /** words highlighted in bold within the results description */
96587
96597
  highlighted?: (string | undefined)[] | undefined;
@@ -96838,7 +96848,7 @@ left, right */
96838
96848
  xpath?: string | undefined;
96839
96849
  /** title of the result in SERP */
96840
96850
  title?: string | undefined;
96841
- /** URL link */
96851
+ /** relevant URL of the Ad element in SERP */
96842
96852
  url?: string | undefined;
96843
96853
  /** elements of search results found in SERP */
96844
96854
  items?: (GoogleFlightsElement | undefined)[] | undefined;
@@ -96915,7 +96925,7 @@ left, right */
96915
96925
  xpath?: string | undefined;
96916
96926
  /** title of the result in SERP */
96917
96927
  title?: string | undefined;
96918
- /** URL link */
96928
+ /** relevant URL of the Ad element in SERP */
96919
96929
  url?: string | undefined;
96920
96930
  /** elements of search results found in SERP */
96921
96931
  items?: (GoogleFlightsElement | undefined)[] | undefined;
@@ -96938,7 +96948,7 @@ left, right */
96938
96948
  xpath?: string | undefined;
96939
96949
  /** title of the result in SERP */
96940
96950
  title?: string | undefined;
96941
- /** URL link */
96951
+ /** relevant URL of the Ad element in SERP */
96942
96952
  url?: string | undefined;
96943
96953
  /** elements of search results found in SERP */
96944
96954
  items?: (ImagesElement | undefined)[] | undefined;
@@ -97028,7 +97038,7 @@ left, right */
97028
97038
  xpath?: string | undefined;
97029
97039
  /** title of the result in SERP */
97030
97040
  title?: string | undefined;
97031
- /** URL link */
97041
+ /** relevant URL of the Ad element in SERP */
97032
97042
  url?: string | undefined;
97033
97043
  /** elements of search results found in SERP */
97034
97044
  items?: (ImagesElement | undefined)[] | undefined;
@@ -97148,7 +97158,7 @@ left, right */
97148
97158
  xpath?: string | undefined;
97149
97159
  /** title of the result in SERP */
97150
97160
  title?: string | undefined;
97151
- /** URL link */
97161
+ /** relevant URL of the Ad element in SERP */
97152
97162
  url?: string | undefined;
97153
97163
  /** elements of search results found in SERP */
97154
97164
  items?: (JobsElement | undefined)[] | undefined;
@@ -97225,7 +97235,7 @@ left, right */
97225
97235
  xpath?: string | undefined;
97226
97236
  /** title of the result in SERP */
97227
97237
  title?: string | undefined;
97228
- /** URL link */
97238
+ /** relevant URL of the Ad element in SERP */
97229
97239
  url?: string | undefined;
97230
97240
  /** elements of search results found in SERP */
97231
97241
  items?: (JobsElement | undefined)[] | undefined;
@@ -97248,7 +97258,7 @@ left, right */
97248
97258
  xpath?: string | undefined;
97249
97259
  /** title of the result in SERP */
97250
97260
  title?: string | undefined;
97251
- /** URL link */
97261
+ /** relevant URL of the Ad element in SERP */
97252
97262
  url?: string | undefined;
97253
97263
  /** elements of search results found in SERP */
97254
97264
  items?: (EventsElement | undefined)[] | undefined;
@@ -97325,7 +97335,7 @@ left, right */
97325
97335
  xpath?: string | undefined;
97326
97336
  /** title of the result in SERP */
97327
97337
  title?: string | undefined;
97328
- /** URL link */
97338
+ /** relevant URL of the Ad element in SERP */
97329
97339
  url?: string | undefined;
97330
97340
  /** elements of search results found in SERP */
97331
97341
  items?: (EventsElement | undefined)[] | undefined;
@@ -97624,7 +97634,7 @@ left, right */
97624
97634
  xpath?: string | undefined;
97625
97635
  /** title of the result in SERP */
97626
97636
  title?: string | undefined;
97627
- /** URL link */
97637
+ /** relevant URL of the Ad element in SERP */
97628
97638
  url?: string | undefined;
97629
97639
  /** elements of search results found in SERP */
97630
97640
  items?: (ScholarlyArticlesElement | undefined)[] | undefined;
@@ -97701,7 +97711,7 @@ left, right */
97701
97711
  xpath?: string | undefined;
97702
97712
  /** title of the result in SERP */
97703
97713
  title?: string | undefined;
97704
- /** URL link */
97714
+ /** relevant URL of the Ad element in SERP */
97705
97715
  url?: string | undefined;
97706
97716
  /** elements of search results found in SERP */
97707
97717
  items?: (ScholarlyArticlesElement | undefined)[] | undefined;
@@ -98083,7 +98093,7 @@ indicates the source of information included in the shopping_element */
98083
98093
  snippet?: string | undefined;
98084
98094
  /** price of the shopping element */
98085
98095
  price?: PriceInfo | undefined;
98086
- /** URL link */
98096
+ /** relevant URL of the Ad element in SERP */
98087
98097
  url?: string | undefined;
98088
98098
  /** domain where a link points */
98089
98099
  domain?: string | undefined;
@@ -98174,7 +98184,7 @@ indicates the source of information included in the shopping_element */
98174
98184
  snippet?: string | undefined;
98175
98185
  /** price of the shopping element */
98176
98186
  price?: PriceInfo | undefined;
98177
- /** URL link */
98187
+ /** relevant URL of the Ad element in SERP */
98178
98188
  url?: string | undefined;
98179
98189
  /** domain where a link points */
98180
98190
  domain?: string | undefined;
@@ -98384,7 +98394,7 @@ left, right */
98384
98394
  xpath?: string | undefined;
98385
98395
  /** title of the result in SERP */
98386
98396
  title?: string | undefined;
98387
- /** URL link */
98397
+ /** relevant URL of the Ad element in SERP */
98388
98398
  url?: string | undefined;
98389
98399
  /** domain where a link points */
98390
98400
  domain?: string | undefined;
@@ -98465,7 +98475,7 @@ left, right */
98465
98475
  xpath?: string | undefined;
98466
98476
  /** title of the result in SERP */
98467
98477
  title?: string | undefined;
98468
- /** URL link */
98478
+ /** relevant URL of the Ad element in SERP */
98469
98479
  url?: string | undefined;
98470
98480
  /** domain where a link points */
98471
98481
  domain?: string | undefined;
@@ -98492,7 +98502,7 @@ left, right */
98492
98502
  unique hotel identifier assigned by Google;
98493
98503
  example: "CgoIjaeSlI6CnNpVEAE" */
98494
98504
  hotel_identifier?: string | undefined;
98495
- /** URL link */
98505
+ /** relevant URL of the Ad element in SERP */
98496
98506
  url?: string | undefined;
98497
98507
 
98498
98508
  [key: string]: any;
@@ -98559,7 +98569,7 @@ left, right */
98559
98569
  unique hotel identifier assigned by Google;
98560
98570
  example: "CgoIjaeSlI6CnNpVEAE" */
98561
98571
  hotel_identifier?: string | undefined;
98562
- /** URL link */
98572
+ /** relevant URL of the Ad element in SERP */
98563
98573
  url?: string | undefined;
98564
98574
 
98565
98575
  [key: string]: any;
@@ -102584,214 +102594,6 @@ export interface IDataforseoLabsAmazonRankedKeywordsLiveItem {
102584
102594
  [key: string]: any;
102585
102595
  }
102586
102596
 
102587
- export class AmazonAmazonPaidSerpElementItem extends BaseAmazonSerpElementItem implements IAmazonAmazonPaidSerpElementItem {
102588
- /** search engine type */
102589
- se_type?: string | undefined;
102590
- /** position within a group of elements with identical type values
102591
- positions of elements with different type values are omitted from rank_group */
102592
- rank_group?: number | undefined;
102593
- /** absolute rank in Amazon SERP
102594
- absolute position among all the elements in SERP */
102595
- rank_absolute?: number | undefined;
102596
- /** the alignment of the element in Amazon SERP
102597
- can take the following values:
102598
- left, right */
102599
- position?: string | undefined;
102600
- /** the XPath of the element */
102601
- xpath?: string | undefined;
102602
- /** Amazon domain */
102603
- domain?: string | undefined;
102604
- /** product title */
102605
- title?: string | undefined;
102606
- /** URL of the product page */
102607
- url?: string | undefined;
102608
- /** ASIN of the product
102609
- learn more about ASIN in this help center guide */
102610
- asin?: string | undefined;
102611
- /** URL of the product image featured in the results */
102612
- image_url?: string | undefined;
102613
- /** the regular price of a product
102614
- example:
102615
- 49.98 */
102616
- price_from?: number | undefined;
102617
- /** the upper limit of the product price range
102618
- example:
102619
- 384.99 */
102620
- price_to?: number | undefined;
102621
- /** currency in the ISO format
102622
- example:
102623
- USD */
102624
- currency?: string | undefined;
102625
- /** special offer details
102626
- contains special offer details, including coupon and Subscribe & Save discounts */
102627
- special_offers?: (string | undefined)[] | undefined;
102628
- /** “Best Seller” label
102629
- if the value is true, the product is marked with the “Best Seller” label */
102630
- is_best_seller?: boolean | undefined;
102631
- /** “Amazon’s choice” label
102632
- if the value is true, the product is marked with the “Amazon’s choice” label */
102633
- is_amazon_choice?: boolean | undefined;
102634
- /** the item’s rating
102635
- the popularity rate based on reviews and displayed in SERP */
102636
- rating?: RatingInfo | undefined;
102637
- /** delivery information
102638
- delivery information including free and fast delivery date ranges */
102639
- delivery_info?: AmazonDeliveryInfo | undefined;
102640
- /** number of product purchases in the past month */
102641
- bought_past_month?: number | undefined;
102642
- /** unique product identifier on Amazon
102643
- note that there is no full list of possible values as the data_asin is a dynamic value assigned by Amazon
102644
- example:
102645
- B07G82D89J */
102646
- data_asin?: string | undefined;
102647
-
102648
- [key: string]: any;
102649
-
102650
- constructor(data?: IAmazonAmazonPaidSerpElementItem) {
102651
- super(data);
102652
- this._discriminator = "amazon_paid";
102653
- }
102654
-
102655
- init(_data?: any) {
102656
- super.init(_data);
102657
- if (_data) {
102658
- for (var property in _data) {
102659
- if (_data.hasOwnProperty(property))
102660
- this[property] = _data[property];
102661
- }
102662
- this.se_type = _data["se_type"];
102663
- this.rank_group = _data["rank_group"];
102664
- this.rank_absolute = _data["rank_absolute"];
102665
- this.position = _data["position"];
102666
- this.xpath = _data["xpath"];
102667
- this.domain = _data["domain"];
102668
- this.title = _data["title"];
102669
- this.url = _data["url"];
102670
- this.asin = _data["asin"];
102671
- this.image_url = _data["image_url"];
102672
- this.price_from = _data["price_from"];
102673
- this.price_to = _data["price_to"];
102674
- this.currency = _data["currency"];
102675
- if (Array.isArray(_data["special_offers"])) {
102676
- this.special_offers = [] as any;
102677
- for (let item of _data["special_offers"])
102678
- this.special_offers!.push(item);
102679
- }
102680
- this.is_best_seller = _data["is_best_seller"];
102681
- this.is_amazon_choice = _data["is_amazon_choice"];
102682
- this.rating = _data["rating"] ? RatingInfo.fromJS(_data["rating"]) : <any>undefined;
102683
- this.delivery_info = _data["delivery_info"] ? AmazonDeliveryInfo.fromJS(_data["delivery_info"]) : <any>undefined;
102684
- this.bought_past_month = _data["bought_past_month"];
102685
- this.data_asin = _data["data_asin"];
102686
- }
102687
- }
102688
-
102689
- static fromJS(data: any): AmazonAmazonPaidSerpElementItem {
102690
- data = typeof data === 'object' ? data : {};
102691
- let result = new AmazonAmazonPaidSerpElementItem();
102692
- result.init(data);
102693
- return result;
102694
- }
102695
-
102696
- toJSON(data?: any) {
102697
- data = typeof data === 'object' ? data : {};
102698
- for (var property in this) {
102699
- if (this.hasOwnProperty(property))
102700
- data[property] = this[property];
102701
- }
102702
- data["se_type"] = this.se_type;
102703
- data["rank_group"] = this.rank_group;
102704
- data["rank_absolute"] = this.rank_absolute;
102705
- data["position"] = this.position;
102706
- data["xpath"] = this.xpath;
102707
- data["domain"] = this.domain;
102708
- data["title"] = this.title;
102709
- data["url"] = this.url;
102710
- data["asin"] = this.asin;
102711
- data["image_url"] = this.image_url;
102712
- data["price_from"] = this.price_from;
102713
- data["price_to"] = this.price_to;
102714
- data["currency"] = this.currency;
102715
- if (Array.isArray(this.special_offers)) {
102716
- data["special_offers"] = [];
102717
- for (let item of this.special_offers)
102718
- data["special_offers"].push(item);
102719
- }
102720
- data["is_best_seller"] = this.is_best_seller;
102721
- data["is_amazon_choice"] = this.is_amazon_choice;
102722
- data["rating"] = this.rating ? this.rating.toJSON() : <any>undefined;
102723
- data["delivery_info"] = this.delivery_info ? this.delivery_info.toJSON() : <any>undefined;
102724
- data["bought_past_month"] = this.bought_past_month;
102725
- data["data_asin"] = this.data_asin;
102726
- super.toJSON(data);
102727
- return data;
102728
- }
102729
- }
102730
-
102731
- export interface IAmazonAmazonPaidSerpElementItem extends IBaseAmazonSerpElementItem {
102732
- /** search engine type */
102733
- se_type?: string | undefined;
102734
- /** position within a group of elements with identical type values
102735
- positions of elements with different type values are omitted from rank_group */
102736
- rank_group?: number | undefined;
102737
- /** absolute rank in Amazon SERP
102738
- absolute position among all the elements in SERP */
102739
- rank_absolute?: number | undefined;
102740
- /** the alignment of the element in Amazon SERP
102741
- can take the following values:
102742
- left, right */
102743
- position?: string | undefined;
102744
- /** the XPath of the element */
102745
- xpath?: string | undefined;
102746
- /** Amazon domain */
102747
- domain?: string | undefined;
102748
- /** product title */
102749
- title?: string | undefined;
102750
- /** URL of the product page */
102751
- url?: string | undefined;
102752
- /** ASIN of the product
102753
- learn more about ASIN in this help center guide */
102754
- asin?: string | undefined;
102755
- /** URL of the product image featured in the results */
102756
- image_url?: string | undefined;
102757
- /** the regular price of a product
102758
- example:
102759
- 49.98 */
102760
- price_from?: number | undefined;
102761
- /** the upper limit of the product price range
102762
- example:
102763
- 384.99 */
102764
- price_to?: number | undefined;
102765
- /** currency in the ISO format
102766
- example:
102767
- USD */
102768
- currency?: string | undefined;
102769
- /** special offer details
102770
- contains special offer details, including coupon and Subscribe & Save discounts */
102771
- special_offers?: (string | undefined)[] | undefined;
102772
- /** “Best Seller” label
102773
- if the value is true, the product is marked with the “Best Seller” label */
102774
- is_best_seller?: boolean | undefined;
102775
- /** “Amazon’s choice” label
102776
- if the value is true, the product is marked with the “Amazon’s choice” label */
102777
- is_amazon_choice?: boolean | undefined;
102778
- /** the item’s rating
102779
- the popularity rate based on reviews and displayed in SERP */
102780
- rating?: RatingInfo | undefined;
102781
- /** delivery information
102782
- delivery information including free and fast delivery date ranges */
102783
- delivery_info?: AmazonDeliveryInfo | undefined;
102784
- /** number of product purchases in the past month */
102785
- bought_past_month?: number | undefined;
102786
- /** unique product identifier on Amazon
102787
- note that there is no full list of possible values as the data_asin is a dynamic value assigned by Amazon
102788
- example:
102789
- B07G82D89J */
102790
- data_asin?: string | undefined;
102791
-
102792
- [key: string]: any;
102793
- }
102794
-
102795
102597
  export class DataforseoLabsAmazonRankedKeywordsLiveResultInfo implements IDataforseoLabsAmazonRankedKeywordsLiveResultInfo {
102796
102598
  /** search engine type */
102797
102599
  se_type?: string | undefined;
@@ -123159,6 +122961,181 @@ the data included in the google_trends_graph element is based on the keywords li
123159
122961
  [key: string]: any;
123160
122962
  }
123161
122963
 
122964
+ export class KeywordsDataGoogleTrendsExploreTaskGetResultInfo implements IKeywordsDataGoogleTrendsExploreTaskGetResultInfo {
122965
+ /** keywords in a POST array */
122966
+ keywords?: (string | undefined)[] | undefined;
122967
+ /** type of element */
122968
+ type?: string | undefined;
122969
+ /** location code in a POST array
122970
+ if there is no data, then the value is null */
122971
+ location_code?: number | undefined;
122972
+ /** language code in a POST array
122973
+ if there is no data, then the value is null */
122974
+ language_code?: string | undefined;
122975
+ /** direct URL to the Google Trends results
122976
+ you can use it to make sure that we provided accurate results */
122977
+ check_url?: string | undefined;
122978
+ /** date and time when the result was received
122979
+ in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00”
122980
+ example:
122981
+ 2019-11-15 12:57:46 +00:00 */
122982
+ datetime?: string | undefined;
122983
+ /** the number of results returned in the items array */
122984
+ items_count?: number | undefined;
122985
+ /** items on the Google Trends page */
122986
+ items?: (BaseGoogleTrendsItem | undefined)[] | undefined;
122987
+
122988
+ [key: string]: any;
122989
+
122990
+ constructor(data?: IKeywordsDataGoogleTrendsExploreTaskGetResultInfo) {
122991
+ if (data) {
122992
+ for (var property in data) {
122993
+ if (data.hasOwnProperty(property))
122994
+ (<any>this)[property] = (<any>data)[property];
122995
+ }
122996
+ }
122997
+ }
122998
+
122999
+ init(_data?: any) {
123000
+ if (_data) {
123001
+ for (var property in _data) {
123002
+ if (_data.hasOwnProperty(property))
123003
+ this[property] = _data[property];
123004
+ }
123005
+ if (Array.isArray(_data["keywords"])) {
123006
+ this.keywords = [] as any;
123007
+ for (let item of _data["keywords"])
123008
+ this.keywords!.push(item);
123009
+ }
123010
+ this.type = _data["type"];
123011
+ this.location_code = _data["location_code"];
123012
+ this.language_code = _data["language_code"];
123013
+ this.check_url = _data["check_url"];
123014
+ this.datetime = _data["datetime"];
123015
+ this.items_count = _data["items_count"];
123016
+ if (Array.isArray(_data["items"])) {
123017
+ this.items = [] as any;
123018
+ for (let item of _data["items"])
123019
+ this.items!.push(BaseGoogleTrendsItem.fromJS(item));
123020
+ }
123021
+ }
123022
+ }
123023
+
123024
+ static fromJS(data: any): KeywordsDataGoogleTrendsExploreTaskGetResultInfo {
123025
+ data = typeof data === 'object' ? data : {};
123026
+ let result = new KeywordsDataGoogleTrendsExploreTaskGetResultInfo();
123027
+ result.init(data);
123028
+ return result;
123029
+ }
123030
+
123031
+ toJSON(data?: any) {
123032
+ data = typeof data === 'object' ? data : {};
123033
+ for (var property in this) {
123034
+ if (this.hasOwnProperty(property))
123035
+ data[property] = this[property];
123036
+ }
123037
+ if (Array.isArray(this.keywords)) {
123038
+ data["keywords"] = [];
123039
+ for (let item of this.keywords)
123040
+ data["keywords"].push(item);
123041
+ }
123042
+ data["type"] = this.type;
123043
+ data["location_code"] = this.location_code;
123044
+ data["language_code"] = this.language_code;
123045
+ data["check_url"] = this.check_url;
123046
+ data["datetime"] = this.datetime;
123047
+ data["items_count"] = this.items_count;
123048
+ if (Array.isArray(this.items)) {
123049
+ data["items"] = [];
123050
+ for (let item of this.items)
123051
+ data["items"].push(item.toJSON());
123052
+ }
123053
+ return data;
123054
+ }
123055
+ }
123056
+
123057
+ export interface IKeywordsDataGoogleTrendsExploreTaskGetResultInfo {
123058
+ /** keywords in a POST array */
123059
+ keywords?: (string | undefined)[] | undefined;
123060
+ /** type of element */
123061
+ type?: string | undefined;
123062
+ /** location code in a POST array
123063
+ if there is no data, then the value is null */
123064
+ location_code?: number | undefined;
123065
+ /** language code in a POST array
123066
+ if there is no data, then the value is null */
123067
+ language_code?: string | undefined;
123068
+ /** direct URL to the Google Trends results
123069
+ you can use it to make sure that we provided accurate results */
123070
+ check_url?: string | undefined;
123071
+ /** date and time when the result was received
123072
+ in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00”
123073
+ example:
123074
+ 2019-11-15 12:57:46 +00:00 */
123075
+ datetime?: string | undefined;
123076
+ /** the number of results returned in the items array */
123077
+ items_count?: number | undefined;
123078
+ /** items on the Google Trends page */
123079
+ items?: (BaseGoogleTrendsItem | undefined)[] | undefined;
123080
+
123081
+ [key: string]: any;
123082
+ }
123083
+
123084
+ export class KeywordsDataGoogleTrendsExploreTaskGetTaskInfo extends BaseResponseTaskInfo implements IKeywordsDataGoogleTrendsExploreTaskGetTaskInfo {
123085
+ /** array of results */
123086
+ result?: (KeywordsDataGoogleTrendsExploreTaskGetResultInfo | undefined)[] | undefined;
123087
+
123088
+ [key: string]: any;
123089
+
123090
+ constructor(data?: IKeywordsDataGoogleTrendsExploreTaskGetTaskInfo) {
123091
+ super(data);
123092
+ }
123093
+
123094
+ init(_data?: any) {
123095
+ super.init(_data);
123096
+ if (_data) {
123097
+ for (var property in _data) {
123098
+ if (_data.hasOwnProperty(property))
123099
+ this[property] = _data[property];
123100
+ }
123101
+ if (Array.isArray(_data["result"])) {
123102
+ this.result = [] as any;
123103
+ for (let item of _data["result"])
123104
+ this.result!.push(KeywordsDataGoogleTrendsExploreTaskGetResultInfo.fromJS(item));
123105
+ }
123106
+ }
123107
+ }
123108
+
123109
+ static fromJS(data: any): KeywordsDataGoogleTrendsExploreTaskGetTaskInfo {
123110
+ data = typeof data === 'object' ? data : {};
123111
+ let result = new KeywordsDataGoogleTrendsExploreTaskGetTaskInfo();
123112
+ result.init(data);
123113
+ return result;
123114
+ }
123115
+
123116
+ toJSON(data?: any) {
123117
+ data = typeof data === 'object' ? data : {};
123118
+ for (var property in this) {
123119
+ if (this.hasOwnProperty(property))
123120
+ data[property] = this[property];
123121
+ }
123122
+ if (Array.isArray(this.result)) {
123123
+ data["result"] = [];
123124
+ for (let item of this.result)
123125
+ data["result"].push(item.toJSON());
123126
+ }
123127
+ super.toJSON(data);
123128
+ return data;
123129
+ }
123130
+ }
123131
+
123132
+ export interface IKeywordsDataGoogleTrendsExploreTaskGetTaskInfo extends IBaseResponseTaskInfo {
123133
+ /** array of results */
123134
+ result?: (KeywordsDataGoogleTrendsExploreTaskGetResultInfo | undefined)[] | undefined;
123135
+
123136
+ [key: string]: any;
123137
+ }
123138
+
123162
123139
  export class TrendsMapDataInfo implements ITrendsMapDataInfo {
123163
123140
  /** Google Trends location identifier
123164
123141
  you can use this field for matching obtained results with location parameters specified in the request
@@ -123174,7 +123151,7 @@ if you specify more than one keyword, the values will be averaged to the highest
123174
123151
  a value of 100 is the peak popularity for the term
123175
123152
  a value of 50 means that the term is half as popular
123176
123153
  a value of 0 means there was not enough data for this term */
123177
- values?: (number | undefined)[] | undefined;
123154
+ values?: (any | undefined)[] | undefined;
123178
123155
  /** max value among comparable terms
123179
123156
  represents the maximum value if you specified more than two keywords in a POST array
123180
123157
  if you specified only one keyword, the value will be null */
@@ -123248,7 +123225,7 @@ if you specify more than one keyword, the values will be averaged to the highest
123248
123225
  a value of 100 is the peak popularity for the term
123249
123226
  a value of 50 means that the term is half as popular
123250
123227
  a value of 0 means there was not enough data for this term */
123251
- values?: (number | undefined)[] | undefined;
123228
+ values?: (any | undefined)[] | undefined;
123252
123229
  /** max value among comparable terms
123253
123230
  represents the maximum value if you specified more than two keywords in a POST array
123254
123231
  if you specified only one keyword, the value will be null */
@@ -123343,181 +123320,6 @@ the data included in the google_trends_map element is based on the keywords list
123343
123320
  [key: string]: any;
123344
123321
  }
123345
123322
 
123346
- export class KeywordsDataGoogleTrendsExploreTaskGetResultInfo implements IKeywordsDataGoogleTrendsExploreTaskGetResultInfo {
123347
- /** keywords in a POST array */
123348
- keywords?: (string | undefined)[] | undefined;
123349
- /** type of element */
123350
- type?: string | undefined;
123351
- /** location code in a POST array
123352
- if there is no data, then the value is null */
123353
- location_code?: number | undefined;
123354
- /** language code in a POST array
123355
- if there is no data, then the value is null */
123356
- language_code?: string | undefined;
123357
- /** direct URL to the Google Trends results
123358
- you can use it to make sure that we provided accurate results */
123359
- check_url?: string | undefined;
123360
- /** date and time when the result was received
123361
- in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00”
123362
- example:
123363
- 2019-11-15 12:57:46 +00:00 */
123364
- datetime?: string | undefined;
123365
- /** the number of results returned in the items array */
123366
- items_count?: number | undefined;
123367
- /** items on the Google Trends page */
123368
- items?: (BaseGoogleTrendsItem | undefined)[] | undefined;
123369
-
123370
- [key: string]: any;
123371
-
123372
- constructor(data?: IKeywordsDataGoogleTrendsExploreTaskGetResultInfo) {
123373
- if (data) {
123374
- for (var property in data) {
123375
- if (data.hasOwnProperty(property))
123376
- (<any>this)[property] = (<any>data)[property];
123377
- }
123378
- }
123379
- }
123380
-
123381
- init(_data?: any) {
123382
- if (_data) {
123383
- for (var property in _data) {
123384
- if (_data.hasOwnProperty(property))
123385
- this[property] = _data[property];
123386
- }
123387
- if (Array.isArray(_data["keywords"])) {
123388
- this.keywords = [] as any;
123389
- for (let item of _data["keywords"])
123390
- this.keywords!.push(item);
123391
- }
123392
- this.type = _data["type"];
123393
- this.location_code = _data["location_code"];
123394
- this.language_code = _data["language_code"];
123395
- this.check_url = _data["check_url"];
123396
- this.datetime = _data["datetime"];
123397
- this.items_count = _data["items_count"];
123398
- if (Array.isArray(_data["items"])) {
123399
- this.items = [] as any;
123400
- for (let item of _data["items"])
123401
- this.items!.push(BaseGoogleTrendsItem.fromJS(item));
123402
- }
123403
- }
123404
- }
123405
-
123406
- static fromJS(data: any): KeywordsDataGoogleTrendsExploreTaskGetResultInfo {
123407
- data = typeof data === 'object' ? data : {};
123408
- let result = new KeywordsDataGoogleTrendsExploreTaskGetResultInfo();
123409
- result.init(data);
123410
- return result;
123411
- }
123412
-
123413
- toJSON(data?: any) {
123414
- data = typeof data === 'object' ? data : {};
123415
- for (var property in this) {
123416
- if (this.hasOwnProperty(property))
123417
- data[property] = this[property];
123418
- }
123419
- if (Array.isArray(this.keywords)) {
123420
- data["keywords"] = [];
123421
- for (let item of this.keywords)
123422
- data["keywords"].push(item);
123423
- }
123424
- data["type"] = this.type;
123425
- data["location_code"] = this.location_code;
123426
- data["language_code"] = this.language_code;
123427
- data["check_url"] = this.check_url;
123428
- data["datetime"] = this.datetime;
123429
- data["items_count"] = this.items_count;
123430
- if (Array.isArray(this.items)) {
123431
- data["items"] = [];
123432
- for (let item of this.items)
123433
- data["items"].push(item.toJSON());
123434
- }
123435
- return data;
123436
- }
123437
- }
123438
-
123439
- export interface IKeywordsDataGoogleTrendsExploreTaskGetResultInfo {
123440
- /** keywords in a POST array */
123441
- keywords?: (string | undefined)[] | undefined;
123442
- /** type of element */
123443
- type?: string | undefined;
123444
- /** location code in a POST array
123445
- if there is no data, then the value is null */
123446
- location_code?: number | undefined;
123447
- /** language code in a POST array
123448
- if there is no data, then the value is null */
123449
- language_code?: string | undefined;
123450
- /** direct URL to the Google Trends results
123451
- you can use it to make sure that we provided accurate results */
123452
- check_url?: string | undefined;
123453
- /** date and time when the result was received
123454
- in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00”
123455
- example:
123456
- 2019-11-15 12:57:46 +00:00 */
123457
- datetime?: string | undefined;
123458
- /** the number of results returned in the items array */
123459
- items_count?: number | undefined;
123460
- /** items on the Google Trends page */
123461
- items?: (BaseGoogleTrendsItem | undefined)[] | undefined;
123462
-
123463
- [key: string]: any;
123464
- }
123465
-
123466
- export class KeywordsDataGoogleTrendsExploreTaskGetTaskInfo extends BaseResponseTaskInfo implements IKeywordsDataGoogleTrendsExploreTaskGetTaskInfo {
123467
- /** array of results */
123468
- result?: (KeywordsDataGoogleTrendsExploreTaskGetResultInfo | undefined)[] | undefined;
123469
-
123470
- [key: string]: any;
123471
-
123472
- constructor(data?: IKeywordsDataGoogleTrendsExploreTaskGetTaskInfo) {
123473
- super(data);
123474
- }
123475
-
123476
- init(_data?: any) {
123477
- super.init(_data);
123478
- if (_data) {
123479
- for (var property in _data) {
123480
- if (_data.hasOwnProperty(property))
123481
- this[property] = _data[property];
123482
- }
123483
- if (Array.isArray(_data["result"])) {
123484
- this.result = [] as any;
123485
- for (let item of _data["result"])
123486
- this.result!.push(KeywordsDataGoogleTrendsExploreTaskGetResultInfo.fromJS(item));
123487
- }
123488
- }
123489
- }
123490
-
123491
- static fromJS(data: any): KeywordsDataGoogleTrendsExploreTaskGetTaskInfo {
123492
- data = typeof data === 'object' ? data : {};
123493
- let result = new KeywordsDataGoogleTrendsExploreTaskGetTaskInfo();
123494
- result.init(data);
123495
- return result;
123496
- }
123497
-
123498
- toJSON(data?: any) {
123499
- data = typeof data === 'object' ? data : {};
123500
- for (var property in this) {
123501
- if (this.hasOwnProperty(property))
123502
- data[property] = this[property];
123503
- }
123504
- if (Array.isArray(this.result)) {
123505
- data["result"] = [];
123506
- for (let item of this.result)
123507
- data["result"].push(item.toJSON());
123508
- }
123509
- super.toJSON(data);
123510
- return data;
123511
- }
123512
- }
123513
-
123514
- export interface IKeywordsDataGoogleTrendsExploreTaskGetTaskInfo extends IBaseResponseTaskInfo {
123515
- /** array of results */
123516
- result?: (KeywordsDataGoogleTrendsExploreTaskGetResultInfo | undefined)[] | undefined;
123517
-
123518
- [key: string]: any;
123519
- }
123520
-
123521
123323
  export class QueriesListDataItemInfo implements IQueriesListDataItemInfo {
123522
123324
  /** related query */
123523
123325
  query?: string | undefined;
@@ -124047,232 +123849,6 @@ you will find the specified tag value in the data object of the response */
124047
123849
  [key: string]: any;
124048
123850
  }
124049
123851
 
124050
- export class TopicListDataItemInfo implements ITopicListDataItemInfo {
124051
- /** unique topic identifier in Google Trends */
124052
- topic_id?: string | undefined;
124053
- /** title of the topic */
124054
- topic_title?: string | undefined;
124055
- /** type of the topic
124056
- represents the general type of the topic */
124057
- topic_type?: string | undefined;
124058
- /** search term popularity
124059
- represents the popularity of the topic. Scoring is on a relative scale where a value of 100 is the most commonly searched topic and a value of 50 is a topic searched half as often as the most popular term, and so on. */
124060
- value?: string | undefined;
124061
-
124062
- [key: string]: any;
124063
-
124064
- constructor(data?: ITopicListDataItemInfo) {
124065
- if (data) {
124066
- for (var property in data) {
124067
- if (data.hasOwnProperty(property))
124068
- (<any>this)[property] = (<any>data)[property];
124069
- }
124070
- }
124071
- }
124072
-
124073
- init(_data?: any) {
124074
- if (_data) {
124075
- for (var property in _data) {
124076
- if (_data.hasOwnProperty(property))
124077
- this[property] = _data[property];
124078
- }
124079
- this.topic_id = _data["topic_id"];
124080
- this.topic_title = _data["topic_title"];
124081
- this.topic_type = _data["topic_type"];
124082
- this.value = _data["value"];
124083
- }
124084
- }
124085
-
124086
- static fromJS(data: any): TopicListDataItemInfo {
124087
- data = typeof data === 'object' ? data : {};
124088
- let result = new TopicListDataItemInfo();
124089
- result.init(data);
124090
- return result;
124091
- }
124092
-
124093
- toJSON(data?: any) {
124094
- data = typeof data === 'object' ? data : {};
124095
- for (var property in this) {
124096
- if (this.hasOwnProperty(property))
124097
- data[property] = this[property];
124098
- }
124099
- data["topic_id"] = this.topic_id;
124100
- data["topic_title"] = this.topic_title;
124101
- data["topic_type"] = this.topic_type;
124102
- data["value"] = this.value;
124103
- return data;
124104
- }
124105
- }
124106
-
124107
- export interface ITopicListDataItemInfo {
124108
- /** unique topic identifier in Google Trends */
124109
- topic_id?: string | undefined;
124110
- /** title of the topic */
124111
- topic_title?: string | undefined;
124112
- /** type of the topic
124113
- represents the general type of the topic */
124114
- topic_type?: string | undefined;
124115
- /** search term popularity
124116
- represents the popularity of the topic. Scoring is on a relative scale where a value of 100 is the most commonly searched topic and a value of 50 is a topic searched half as often as the most popular term, and so on. */
124117
- value?: string | undefined;
124118
-
124119
- [key: string]: any;
124120
- }
124121
-
124122
- export class TrendsTopicListDataInfo implements ITrendsTopicListDataInfo {
124123
- /** the most popular related topics
124124
- represents the list of the most popular related topics */
124125
- top?: (TopicListDataItemInfo | undefined)[] | undefined;
124126
- /** emerging related topics
124127
- represents the list of related topics with the biggest increase in search frequency since the last time period */
124128
- rising?: (TopicListDataItemInfo | undefined)[] | undefined;
124129
-
124130
- [key: string]: any;
124131
-
124132
- constructor(data?: ITrendsTopicListDataInfo) {
124133
- if (data) {
124134
- for (var property in data) {
124135
- if (data.hasOwnProperty(property))
124136
- (<any>this)[property] = (<any>data)[property];
124137
- }
124138
- }
124139
- }
124140
-
124141
- init(_data?: any) {
124142
- if (_data) {
124143
- for (var property in _data) {
124144
- if (_data.hasOwnProperty(property))
124145
- this[property] = _data[property];
124146
- }
124147
- if (Array.isArray(_data["top"])) {
124148
- this.top = [] as any;
124149
- for (let item of _data["top"])
124150
- this.top!.push(TopicListDataItemInfo.fromJS(item));
124151
- }
124152
- if (Array.isArray(_data["rising"])) {
124153
- this.rising = [] as any;
124154
- for (let item of _data["rising"])
124155
- this.rising!.push(TopicListDataItemInfo.fromJS(item));
124156
- }
124157
- }
124158
- }
124159
-
124160
- static fromJS(data: any): TrendsTopicListDataInfo {
124161
- data = typeof data === 'object' ? data : {};
124162
- let result = new TrendsTopicListDataInfo();
124163
- result.init(data);
124164
- return result;
124165
- }
124166
-
124167
- toJSON(data?: any) {
124168
- data = typeof data === 'object' ? data : {};
124169
- for (var property in this) {
124170
- if (this.hasOwnProperty(property))
124171
- data[property] = this[property];
124172
- }
124173
- if (Array.isArray(this.top)) {
124174
- data["top"] = [];
124175
- for (let item of this.top)
124176
- data["top"].push(item.toJSON());
124177
- }
124178
- if (Array.isArray(this.rising)) {
124179
- data["rising"] = [];
124180
- for (let item of this.rising)
124181
- data["rising"].push(item.toJSON());
124182
- }
124183
- return data;
124184
- }
124185
- }
124186
-
124187
- export interface ITrendsTopicListDataInfo {
124188
- /** the most popular related topics
124189
- represents the list of the most popular related topics */
124190
- top?: (TopicListDataItemInfo | undefined)[] | undefined;
124191
- /** emerging related topics
124192
- represents the list of related topics with the biggest increase in search frequency since the last time period */
124193
- rising?: (TopicListDataItemInfo | undefined)[] | undefined;
124194
-
124195
- [key: string]: any;
124196
- }
124197
-
124198
- export class GoogleTrendsTopicsListElementItem extends BaseGoogleTrendsItem implements IGoogleTrendsTopicsListElementItem {
124199
- /** the alignment of the element in Google Trends
124200
- can take the following values: 1, 2, 3, 4, etc. */
124201
- position?: number | undefined;
124202
- /** title of the element in Google Trends */
124203
- title?: string | undefined;
124204
- /** relevant keywords
124205
- the data included in the google_trends_topics_list element is based on the keywords listed in this array */
124206
- keywords?: (string | undefined)[] | undefined;
124207
- /** Google Trends data from the corresponding item */
124208
- data?: TrendsTopicListDataInfo | undefined;
124209
-
124210
- [key: string]: any;
124211
-
124212
- constructor(data?: IGoogleTrendsTopicsListElementItem) {
124213
- super(data);
124214
- this._discriminator = "google_trends_topics_list";
124215
- }
124216
-
124217
- init(_data?: any) {
124218
- super.init(_data);
124219
- if (_data) {
124220
- for (var property in _data) {
124221
- if (_data.hasOwnProperty(property))
124222
- this[property] = _data[property];
124223
- }
124224
- this.position = _data["position"];
124225
- this.title = _data["title"];
124226
- if (Array.isArray(_data["keywords"])) {
124227
- this.keywords = [] as any;
124228
- for (let item of _data["keywords"])
124229
- this.keywords!.push(item);
124230
- }
124231
- this.data = _data["data"] ? TrendsTopicListDataInfo.fromJS(_data["data"]) : <any>undefined;
124232
- }
124233
- }
124234
-
124235
- static fromJS(data: any): GoogleTrendsTopicsListElementItem {
124236
- data = typeof data === 'object' ? data : {};
124237
- let result = new GoogleTrendsTopicsListElementItem();
124238
- result.init(data);
124239
- return result;
124240
- }
124241
-
124242
- toJSON(data?: any) {
124243
- data = typeof data === 'object' ? data : {};
124244
- for (var property in this) {
124245
- if (this.hasOwnProperty(property))
124246
- data[property] = this[property];
124247
- }
124248
- data["position"] = this.position;
124249
- data["title"] = this.title;
124250
- if (Array.isArray(this.keywords)) {
124251
- data["keywords"] = [];
124252
- for (let item of this.keywords)
124253
- data["keywords"].push(item);
124254
- }
124255
- data["data"] = this.data ? this.data.toJSON() : <any>undefined;
124256
- super.toJSON(data);
124257
- return data;
124258
- }
124259
- }
124260
-
124261
- export interface IGoogleTrendsTopicsListElementItem extends IBaseGoogleTrendsItem {
124262
- /** the alignment of the element in Google Trends
124263
- can take the following values: 1, 2, 3, 4, etc. */
124264
- position?: number | undefined;
124265
- /** title of the element in Google Trends */
124266
- title?: string | undefined;
124267
- /** relevant keywords
124268
- the data included in the google_trends_topics_list element is based on the keywords listed in this array */
124269
- keywords?: (string | undefined)[] | undefined;
124270
- /** Google Trends data from the corresponding item */
124271
- data?: TrendsTopicListDataInfo | undefined;
124272
-
124273
- [key: string]: any;
124274
- }
124275
-
124276
123852
  export class KeywordsDataGoogleTrendsExploreLiveResultInfo implements IKeywordsDataGoogleTrendsExploreLiveResultInfo {
124277
123853
  /** keywords in a POST array */
124278
123854
  keywords?: (string | undefined)[] | undefined;
@@ -124448,6 +124024,232 @@ export interface IKeywordsDataGoogleTrendsExploreLiveTaskInfo extends IBaseRespo
124448
124024
  [key: string]: any;
124449
124025
  }
124450
124026
 
124027
+ export class TopicListDataItemInfo implements ITopicListDataItemInfo {
124028
+ /** unique topic identifier in Google Trends */
124029
+ topic_id?: string | undefined;
124030
+ /** title of the topic */
124031
+ topic_title?: string | undefined;
124032
+ /** type of the topic
124033
+ represents the general type of the topic */
124034
+ topic_type?: string | undefined;
124035
+ /** search term popularity
124036
+ represents the popularity of the topic. Scoring is on a relative scale where a value of 100 is the most commonly searched topic and a value of 50 is a topic searched half as often as the most popular term, and so on. */
124037
+ value?: string | undefined;
124038
+
124039
+ [key: string]: any;
124040
+
124041
+ constructor(data?: ITopicListDataItemInfo) {
124042
+ if (data) {
124043
+ for (var property in data) {
124044
+ if (data.hasOwnProperty(property))
124045
+ (<any>this)[property] = (<any>data)[property];
124046
+ }
124047
+ }
124048
+ }
124049
+
124050
+ init(_data?: any) {
124051
+ if (_data) {
124052
+ for (var property in _data) {
124053
+ if (_data.hasOwnProperty(property))
124054
+ this[property] = _data[property];
124055
+ }
124056
+ this.topic_id = _data["topic_id"];
124057
+ this.topic_title = _data["topic_title"];
124058
+ this.topic_type = _data["topic_type"];
124059
+ this.value = _data["value"];
124060
+ }
124061
+ }
124062
+
124063
+ static fromJS(data: any): TopicListDataItemInfo {
124064
+ data = typeof data === 'object' ? data : {};
124065
+ let result = new TopicListDataItemInfo();
124066
+ result.init(data);
124067
+ return result;
124068
+ }
124069
+
124070
+ toJSON(data?: any) {
124071
+ data = typeof data === 'object' ? data : {};
124072
+ for (var property in this) {
124073
+ if (this.hasOwnProperty(property))
124074
+ data[property] = this[property];
124075
+ }
124076
+ data["topic_id"] = this.topic_id;
124077
+ data["topic_title"] = this.topic_title;
124078
+ data["topic_type"] = this.topic_type;
124079
+ data["value"] = this.value;
124080
+ return data;
124081
+ }
124082
+ }
124083
+
124084
+ export interface ITopicListDataItemInfo {
124085
+ /** unique topic identifier in Google Trends */
124086
+ topic_id?: string | undefined;
124087
+ /** title of the topic */
124088
+ topic_title?: string | undefined;
124089
+ /** type of the topic
124090
+ represents the general type of the topic */
124091
+ topic_type?: string | undefined;
124092
+ /** search term popularity
124093
+ represents the popularity of the topic. Scoring is on a relative scale where a value of 100 is the most commonly searched topic and a value of 50 is a topic searched half as often as the most popular term, and so on. */
124094
+ value?: string | undefined;
124095
+
124096
+ [key: string]: any;
124097
+ }
124098
+
124099
+ export class TrendsTopicListDataInfo implements ITrendsTopicListDataInfo {
124100
+ /** the most popular related topics
124101
+ represents the list of the most popular related topics */
124102
+ top?: (TopicListDataItemInfo | undefined)[] | undefined;
124103
+ /** emerging related topics
124104
+ represents the list of related topics with the biggest increase in search frequency since the last time period */
124105
+ rising?: (TopicListDataItemInfo | undefined)[] | undefined;
124106
+
124107
+ [key: string]: any;
124108
+
124109
+ constructor(data?: ITrendsTopicListDataInfo) {
124110
+ if (data) {
124111
+ for (var property in data) {
124112
+ if (data.hasOwnProperty(property))
124113
+ (<any>this)[property] = (<any>data)[property];
124114
+ }
124115
+ }
124116
+ }
124117
+
124118
+ init(_data?: any) {
124119
+ if (_data) {
124120
+ for (var property in _data) {
124121
+ if (_data.hasOwnProperty(property))
124122
+ this[property] = _data[property];
124123
+ }
124124
+ if (Array.isArray(_data["top"])) {
124125
+ this.top = [] as any;
124126
+ for (let item of _data["top"])
124127
+ this.top!.push(TopicListDataItemInfo.fromJS(item));
124128
+ }
124129
+ if (Array.isArray(_data["rising"])) {
124130
+ this.rising = [] as any;
124131
+ for (let item of _data["rising"])
124132
+ this.rising!.push(TopicListDataItemInfo.fromJS(item));
124133
+ }
124134
+ }
124135
+ }
124136
+
124137
+ static fromJS(data: any): TrendsTopicListDataInfo {
124138
+ data = typeof data === 'object' ? data : {};
124139
+ let result = new TrendsTopicListDataInfo();
124140
+ result.init(data);
124141
+ return result;
124142
+ }
124143
+
124144
+ toJSON(data?: any) {
124145
+ data = typeof data === 'object' ? data : {};
124146
+ for (var property in this) {
124147
+ if (this.hasOwnProperty(property))
124148
+ data[property] = this[property];
124149
+ }
124150
+ if (Array.isArray(this.top)) {
124151
+ data["top"] = [];
124152
+ for (let item of this.top)
124153
+ data["top"].push(item.toJSON());
124154
+ }
124155
+ if (Array.isArray(this.rising)) {
124156
+ data["rising"] = [];
124157
+ for (let item of this.rising)
124158
+ data["rising"].push(item.toJSON());
124159
+ }
124160
+ return data;
124161
+ }
124162
+ }
124163
+
124164
+ export interface ITrendsTopicListDataInfo {
124165
+ /** the most popular related topics
124166
+ represents the list of the most popular related topics */
124167
+ top?: (TopicListDataItemInfo | undefined)[] | undefined;
124168
+ /** emerging related topics
124169
+ represents the list of related topics with the biggest increase in search frequency since the last time period */
124170
+ rising?: (TopicListDataItemInfo | undefined)[] | undefined;
124171
+
124172
+ [key: string]: any;
124173
+ }
124174
+
124175
+ export class GoogleTrendsTopicsListElementItem extends BaseGoogleTrendsItem implements IGoogleTrendsTopicsListElementItem {
124176
+ /** the alignment of the element in Google Trends
124177
+ can take the following values: 1, 2, 3, 4, etc. */
124178
+ position?: number | undefined;
124179
+ /** title of the element in Google Trends */
124180
+ title?: string | undefined;
124181
+ /** relevant keywords
124182
+ the data included in the google_trends_topics_list element is based on the keywords listed in this array */
124183
+ keywords?: (string | undefined)[] | undefined;
124184
+ /** Google Trends data from the corresponding item */
124185
+ data?: TrendsTopicListDataInfo | undefined;
124186
+
124187
+ [key: string]: any;
124188
+
124189
+ constructor(data?: IGoogleTrendsTopicsListElementItem) {
124190
+ super(data);
124191
+ this._discriminator = "google_trends_topics_list";
124192
+ }
124193
+
124194
+ init(_data?: any) {
124195
+ super.init(_data);
124196
+ if (_data) {
124197
+ for (var property in _data) {
124198
+ if (_data.hasOwnProperty(property))
124199
+ this[property] = _data[property];
124200
+ }
124201
+ this.position = _data["position"];
124202
+ this.title = _data["title"];
124203
+ if (Array.isArray(_data["keywords"])) {
124204
+ this.keywords = [] as any;
124205
+ for (let item of _data["keywords"])
124206
+ this.keywords!.push(item);
124207
+ }
124208
+ this.data = _data["data"] ? TrendsTopicListDataInfo.fromJS(_data["data"]) : <any>undefined;
124209
+ }
124210
+ }
124211
+
124212
+ static fromJS(data: any): GoogleTrendsTopicsListElementItem {
124213
+ data = typeof data === 'object' ? data : {};
124214
+ let result = new GoogleTrendsTopicsListElementItem();
124215
+ result.init(data);
124216
+ return result;
124217
+ }
124218
+
124219
+ toJSON(data?: any) {
124220
+ data = typeof data === 'object' ? data : {};
124221
+ for (var property in this) {
124222
+ if (this.hasOwnProperty(property))
124223
+ data[property] = this[property];
124224
+ }
124225
+ data["position"] = this.position;
124226
+ data["title"] = this.title;
124227
+ if (Array.isArray(this.keywords)) {
124228
+ data["keywords"] = [];
124229
+ for (let item of this.keywords)
124230
+ data["keywords"].push(item);
124231
+ }
124232
+ data["data"] = this.data ? this.data.toJSON() : <any>undefined;
124233
+ super.toJSON(data);
124234
+ return data;
124235
+ }
124236
+ }
124237
+
124238
+ export interface IGoogleTrendsTopicsListElementItem extends IBaseGoogleTrendsItem {
124239
+ /** the alignment of the element in Google Trends
124240
+ can take the following values: 1, 2, 3, 4, etc. */
124241
+ position?: number | undefined;
124242
+ /** title of the element in Google Trends */
124243
+ title?: string | undefined;
124244
+ /** relevant keywords
124245
+ the data included in the google_trends_topics_list element is based on the keywords listed in this array */
124246
+ keywords?: (string | undefined)[] | undefined;
124247
+ /** Google Trends data from the corresponding item */
124248
+ data?: TrendsTopicListDataInfo | undefined;
124249
+
124250
+ [key: string]: any;
124251
+ }
124252
+
124451
124253
  export class KeywordsDataGoogleTrendsExploreLiveResponseInfo extends BaseResponseInfo implements IKeywordsDataGoogleTrendsExploreLiveResponseInfo {
124452
124254
  /** array of tasks */
124453
124255
  tasks?: (KeywordsDataGoogleTrendsExploreLiveTaskInfo | undefined)[] | undefined;
@@ -135116,6 +134918,10 @@ article, section, summary, "" */
135116
134918
  /** ISO country codes of the referring links
135117
134919
  indicates ISO country codes of the domains where the referring links are located and the link count per each country */
135118
134920
  referring_links_countries?: { [key: string]: number; } | undefined;
134921
+ /** number of referring pages pointing at least one nofollow link to the target */
134922
+ referring_pages_nofollow?: number | undefined;
134923
+ /** number of nofollow backlinks pointing to the target */
134924
+ backlinks_nofollow?: number | undefined;
135119
134925
 
135120
134926
  [key: string]: any;
135121
134927
 
@@ -135195,6 +135001,8 @@ indicates ISO country codes of the domains where the referring links are located
135195
135001
  (<any>this.referring_links_countries)![key] = _data["referring_links_countries"][key];
135196
135002
  }
135197
135003
  }
135004
+ this.referring_pages_nofollow = _data["referring_pages_nofollow"];
135005
+ this.backlinks_nofollow = _data["backlinks_nofollow"];
135198
135006
  }
135199
135007
  }
135200
135008
 
@@ -135272,6 +135080,8 @@ indicates ISO country codes of the domains where the referring links are located
135272
135080
  (<any>data["referring_links_countries"])[key] = (<any>this.referring_links_countries)[key];
135273
135081
  }
135274
135082
  }
135083
+ data["referring_pages_nofollow"] = this.referring_pages_nofollow;
135084
+ data["backlinks_nofollow"] = this.backlinks_nofollow;
135275
135085
  return data;
135276
135086
  }
135277
135087
  }
@@ -135359,6 +135169,10 @@ article, section, summary, "" */
135359
135169
  /** ISO country codes of the referring links
135360
135170
  indicates ISO country codes of the domains where the referring links are located and the link count per each country */
135361
135171
  referring_links_countries?: { [key: string]: number; } | undefined;
135172
+ /** number of referring pages pointing at least one nofollow link to the target */
135173
+ referring_pages_nofollow?: number | undefined;
135174
+ /** number of nofollow backlinks pointing to the target */
135175
+ backlinks_nofollow?: number | undefined;
135362
135176
 
135363
135177
  [key: string]: any;
135364
135178
  }
@@ -135591,22 +135405,22 @@ learn more about the metric and how it is calculated in this help center article
135591
135405
  /** number of new backlinks for the target
135592
135406
  data is provided based in a comparison with the previous period
135593
135407
  Note: this data is available from May 2021;
135594
- if the date range specified in the POST request preceds May 2021, the field will equal 0 */
135408
+ if the date range specified in the POST request precedes May 2021, the field will equal 0 */
135595
135409
  new_backlinks?: number | undefined;
135596
135410
  /** number of lost backlinks for the target
135597
135411
  data is provided based in a comparison with the previous period
135598
135412
  Note: this data is available from May 2021;
135599
- if the date range specified in the POST request preceds May 2021, the field will equal 0 */
135413
+ if the date range specified in the POST request precedes May 2021, the field will equal 0 */
135600
135414
  lost_backlinks?: number | undefined;
135601
135415
  /** number of new referring domains for the target
135602
135416
  data is provided based in a comparison with the previous period
135603
135417
  Note: this data is available from May 2021;
135604
- if the date range specified in the POST request preceds May 2021, the field will equal 0 */
135418
+ if the date range specified in the POST request precedes May 2021, the field will equal 0 */
135605
135419
  new_referring_domains?: number | undefined;
135606
135420
  /** number of lost referring domains for the target
135607
135421
  data is provided based in a comparison with the previous period
135608
135422
  Note: this data is available from May 2021;
135609
- if the date range specified in the POST request preceds May 2021, the field will equal 0 */
135423
+ if the date range specified in the POST request precedes May 2021, the field will equal 0 */
135610
135424
  lost_referring_domains?: number | undefined;
135611
135425
  /** number of crawled pages for the target */
135612
135426
  crawled_pages?: number | undefined;
@@ -135640,6 +135454,8 @@ number of IP addresses pointing to this page */
135640
135454
  referring_subnets?: number | undefined;
135641
135455
  /** number of pages pointing to the target */
135642
135456
  referring_pages?: number | undefined;
135457
+ /** number of referring pages pointing at least one nofollow link to the target */
135458
+ referring_pages_nofollow?: number | undefined;
135643
135459
  /** top-level domains of the referring links
135644
135460
  contains top-level domains and referring link count per each */
135645
135461
  referring_links_tld?: { [key: string]: number; } | undefined;
@@ -135702,6 +135518,7 @@ indicates ISO country codes of the domains where the referring links are located
135702
135518
  this.referring_ips = _data["referring_ips"];
135703
135519
  this.referring_subnets = _data["referring_subnets"];
135704
135520
  this.referring_pages = _data["referring_pages"];
135521
+ this.referring_pages_nofollow = _data["referring_pages_nofollow"];
135705
135522
  if (_data["referring_links_tld"]) {
135706
135523
  this.referring_links_tld = {} as any;
135707
135524
  for (let key in _data["referring_links_tld"]) {
@@ -135781,6 +135598,7 @@ indicates ISO country codes of the domains where the referring links are located
135781
135598
  data["referring_ips"] = this.referring_ips;
135782
135599
  data["referring_subnets"] = this.referring_subnets;
135783
135600
  data["referring_pages"] = this.referring_pages;
135601
+ data["referring_pages_nofollow"] = this.referring_pages_nofollow;
135784
135602
  if (this.referring_links_tld) {
135785
135603
  data["referring_links_tld"] = {};
135786
135604
  for (let key in this.referring_links_tld) {
@@ -135843,22 +135661,22 @@ learn more about the metric and how it is calculated in this help center article
135843
135661
  /** number of new backlinks for the target
135844
135662
  data is provided based in a comparison with the previous period
135845
135663
  Note: this data is available from May 2021;
135846
- if the date range specified in the POST request preceds May 2021, the field will equal 0 */
135664
+ if the date range specified in the POST request precedes May 2021, the field will equal 0 */
135847
135665
  new_backlinks?: number | undefined;
135848
135666
  /** number of lost backlinks for the target
135849
135667
  data is provided based in a comparison with the previous period
135850
135668
  Note: this data is available from May 2021;
135851
- if the date range specified in the POST request preceds May 2021, the field will equal 0 */
135669
+ if the date range specified in the POST request precedes May 2021, the field will equal 0 */
135852
135670
  lost_backlinks?: number | undefined;
135853
135671
  /** number of new referring domains for the target
135854
135672
  data is provided based in a comparison with the previous period
135855
135673
  Note: this data is available from May 2021;
135856
- if the date range specified in the POST request preceds May 2021, the field will equal 0 */
135674
+ if the date range specified in the POST request precedes May 2021, the field will equal 0 */
135857
135675
  new_referring_domains?: number | undefined;
135858
135676
  /** number of lost referring domains for the target
135859
135677
  data is provided based in a comparison with the previous period
135860
135678
  Note: this data is available from May 2021;
135861
- if the date range specified in the POST request preceds May 2021, the field will equal 0 */
135679
+ if the date range specified in the POST request precedes May 2021, the field will equal 0 */
135862
135680
  lost_referring_domains?: number | undefined;
135863
135681
  /** number of crawled pages for the target */
135864
135682
  crawled_pages?: number | undefined;
@@ -135892,6 +135710,8 @@ number of IP addresses pointing to this page */
135892
135710
  referring_subnets?: number | undefined;
135893
135711
  /** number of pages pointing to the target */
135894
135712
  referring_pages?: number | undefined;
135713
+ /** number of referring pages pointing at least one nofollow link to the target */
135714
+ referring_pages_nofollow?: number | undefined;
135895
135715
  /** top-level domains of the referring links
135896
135716
  contains top-level domains and referring link count per each */
135897
135717
  referring_links_tld?: { [key: string]: number; } | undefined;
@@ -137551,7 +137371,7 @@ learn more about the metric and how it is calculated in this help center article
137551
137371
  rank?: number | undefined;
137552
137372
  /** indicates the number of backlinks */
137553
137373
  backlinks?: number | undefined;
137554
- /** date and time when our crawler found the backlink for the first time
137374
+ /** date and time when our crawler found the backlink with this anchor for the first time
137555
137375
  in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00”
137556
137376
  example:
137557
137377
  2019-11-15 12:57:46 +00:00 */
@@ -137586,6 +137406,8 @@ number of IP addresses pointing to this page */
137586
137406
  referring_subnets?: number | undefined;
137587
137407
  /** indicates the number of pages pointing to target with this anchor */
137588
137408
  referring_pages?: number | undefined;
137409
+ /** number of referring pages pointing at least one nofollow link to the target with this anchor */
137410
+ referring_pages_nofollow?: number | undefined;
137589
137411
  /** top-level domains of the referring links
137590
137412
  contains top level domains and referring link count per each */
137591
137413
  referring_links_tld?: { [key: string]: number; } | undefined;
@@ -137643,6 +137465,7 @@ indicates ISO country codes of the domains where the referring links are located
137643
137465
  this.referring_ips = _data["referring_ips"];
137644
137466
  this.referring_subnets = _data["referring_subnets"];
137645
137467
  this.referring_pages = _data["referring_pages"];
137468
+ this.referring_pages_nofollow = _data["referring_pages_nofollow"];
137646
137469
  if (_data["referring_links_tld"]) {
137647
137470
  this.referring_links_tld = {} as any;
137648
137471
  for (let key in _data["referring_links_tld"]) {
@@ -137717,6 +137540,7 @@ indicates ISO country codes of the domains where the referring links are located
137717
137540
  data["referring_ips"] = this.referring_ips;
137718
137541
  data["referring_subnets"] = this.referring_subnets;
137719
137542
  data["referring_pages"] = this.referring_pages;
137543
+ data["referring_pages_nofollow"] = this.referring_pages_nofollow;
137720
137544
  if (this.referring_links_tld) {
137721
137545
  data["referring_links_tld"] = {};
137722
137546
  for (let key in this.referring_links_tld) {
@@ -137775,7 +137599,7 @@ learn more about the metric and how it is calculated in this help center article
137775
137599
  rank?: number | undefined;
137776
137600
  /** indicates the number of backlinks */
137777
137601
  backlinks?: number | undefined;
137778
- /** date and time when our crawler found the backlink for the first time
137602
+ /** date and time when our crawler found the backlink with this anchor for the first time
137779
137603
  in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00”
137780
137604
  example:
137781
137605
  2019-11-15 12:57:46 +00:00 */
@@ -137810,6 +137634,8 @@ number of IP addresses pointing to this page */
137810
137634
  referring_subnets?: number | undefined;
137811
137635
  /** indicates the number of pages pointing to target with this anchor */
137812
137636
  referring_pages?: number | undefined;
137637
+ /** number of referring pages pointing at least one nofollow link to the target with this anchor */
137638
+ referring_pages_nofollow?: number | undefined;
137813
137639
  /** top-level domains of the referring links
137814
137640
  contains top level domains and referring link count per each */
137815
137641
  referring_links_tld?: { [key: string]: number; } | undefined;
@@ -138564,6 +138390,8 @@ number of IP addresses pointing to this page */
138564
138390
  referring_subnets?: number | undefined;
138565
138391
  /** indicates the number of pages pointing to the target */
138566
138392
  referring_pages?: number | undefined;
138393
+ /** number of referring pages pointing at least one nofollow link to the target */
138394
+ referring_pages_nofollow?: number | undefined;
138567
138395
  /** top-level domains of the referring links
138568
138396
  contains top level domains and referring link count per each */
138569
138397
  referring_links_tld?: { [key: string]: number; } | undefined;
@@ -138619,6 +138447,7 @@ indicates ISO country codes of the domains where the referring links are located
138619
138447
  this.referring_ips = _data["referring_ips"];
138620
138448
  this.referring_subnets = _data["referring_subnets"];
138621
138449
  this.referring_pages = _data["referring_pages"];
138450
+ this.referring_pages_nofollow = _data["referring_pages_nofollow"];
138622
138451
  if (_data["referring_links_tld"]) {
138623
138452
  this.referring_links_tld = {} as any;
138624
138453
  for (let key in _data["referring_links_tld"]) {
@@ -138691,6 +138520,7 @@ indicates ISO country codes of the domains where the referring links are located
138691
138520
  data["referring_ips"] = this.referring_ips;
138692
138521
  data["referring_subnets"] = this.referring_subnets;
138693
138522
  data["referring_pages"] = this.referring_pages;
138523
+ data["referring_pages_nofollow"] = this.referring_pages_nofollow;
138694
138524
  if (this.referring_links_tld) {
138695
138525
  data["referring_links_tld"] = {};
138696
138526
  for (let key in this.referring_links_tld) {
@@ -138780,6 +138610,8 @@ number of IP addresses pointing to this page */
138780
138610
  referring_subnets?: number | undefined;
138781
138611
  /** indicates the number of pages pointing to the target */
138782
138612
  referring_pages?: number | undefined;
138613
+ /** number of referring pages pointing at least one nofollow link to the target */
138614
+ referring_pages_nofollow?: number | undefined;
138783
138615
  /** top-level domains of the referring links
138784
138616
  contains top level domains and referring link count per each */
138785
138617
  referring_links_tld?: { [key: string]: number; } | undefined;
@@ -139531,6 +139363,8 @@ article, section, footer */
139531
139363
  /** ISO country codes of the referring links
139532
139364
  indicates ISO country codes of the domains where the referring links are located and the link count per each country */
139533
139365
  referring_links_countries?: { [key: string]: number; } | undefined;
139366
+ /** number of referring pages pointing at least one nofollow link to the target */
139367
+ referring_pages_nofollow?: number | undefined;
139534
139368
 
139535
139369
  [key: string]: any;
139536
139370
 
@@ -139607,6 +139441,7 @@ indicates ISO country codes of the domains where the referring links are located
139607
139441
  (<any>this.referring_links_countries)![key] = _data["referring_links_countries"][key];
139608
139442
  }
139609
139443
  }
139444
+ this.referring_pages_nofollow = _data["referring_pages_nofollow"];
139610
139445
  }
139611
139446
  }
139612
139447
 
@@ -139681,6 +139516,7 @@ indicates ISO country codes of the domains where the referring links are located
139681
139516
  (<any>data["referring_links_countries"])[key] = (<any>this.referring_links_countries)[key];
139682
139517
  }
139683
139518
  }
139519
+ data["referring_pages_nofollow"] = this.referring_pages_nofollow;
139684
139520
  return data;
139685
139521
  }
139686
139522
  }
@@ -139755,6 +139591,8 @@ article, section, footer */
139755
139591
  /** ISO country codes of the referring links
139756
139592
  indicates ISO country codes of the domains where the referring links are located and the link count per each country */
139757
139593
  referring_links_countries?: { [key: string]: number; } | undefined;
139594
+ /** number of referring pages pointing at least one nofollow link to the target */
139595
+ referring_pages_nofollow?: number | undefined;
139758
139596
 
139759
139597
  [key: string]: any;
139760
139598
  }
@@ -140278,6 +140116,8 @@ number of IP addresses pointing to this page */
140278
140116
  referring_subnets?: number | undefined;
140279
140117
  /** indicates the number of pages pointing to the target specified */
140280
140118
  referring_pages?: number | undefined;
140119
+ /** number of referring pages pointing at least one nofollow link to the target */
140120
+ referring_pages_nofollow?: number | undefined;
140281
140121
  /** top-level domains of the referring links
140282
140122
  contains top level domains and referring link count per each */
140283
140123
  referring_links_tld?: { [key: string]: number; } | undefined;
@@ -140335,6 +140175,7 @@ indicates ISO country codes of the domains where the referring links are located
140335
140175
  this.referring_ips = _data["referring_ips"];
140336
140176
  this.referring_subnets = _data["referring_subnets"];
140337
140177
  this.referring_pages = _data["referring_pages"];
140178
+ this.referring_pages_nofollow = _data["referring_pages_nofollow"];
140338
140179
  if (_data["referring_links_tld"]) {
140339
140180
  this.referring_links_tld = {} as any;
140340
140181
  for (let key in _data["referring_links_tld"]) {
@@ -140409,6 +140250,7 @@ indicates ISO country codes of the domains where the referring links are located
140409
140250
  data["referring_ips"] = this.referring_ips;
140410
140251
  data["referring_subnets"] = this.referring_subnets;
140411
140252
  data["referring_pages"] = this.referring_pages;
140253
+ data["referring_pages_nofollow"] = this.referring_pages_nofollow;
140412
140254
  if (this.referring_links_tld) {
140413
140255
  data["referring_links_tld"] = {};
140414
140256
  for (let key in this.referring_links_tld) {
@@ -140504,6 +140346,8 @@ number of IP addresses pointing to this page */
140504
140346
  referring_subnets?: number | undefined;
140505
140347
  /** indicates the number of pages pointing to the target specified */
140506
140348
  referring_pages?: number | undefined;
140349
+ /** number of referring pages pointing at least one nofollow link to the target */
140350
+ referring_pages_nofollow?: number | undefined;
140507
140351
  /** top-level domains of the referring links
140508
140352
  contains top level domains and referring link count per each */
140509
140353
  referring_links_tld?: { [key: string]: number; } | undefined;
@@ -141062,6 +140906,8 @@ number of IP addresses pointing to this page */
141062
140906
  referring_subnets?: number | undefined;
141063
140907
  /** indicates the number of pages pointing to the target specified */
141064
140908
  referring_pages?: number | undefined;
140909
+ /** number of referring pages pointing at least one nofollow link to the target */
140910
+ referring_pages_nofollow?: number | undefined;
141065
140911
  /** top-level domains of the referring links
141066
140912
  contains top level domains and referring link count per each */
141067
140913
  referring_links_tld?: { [key: string]: number; } | undefined;
@@ -141118,6 +140964,7 @@ indicates ISO country codes of the domains where the referring links are located
141118
140964
  this.referring_ips = _data["referring_ips"];
141119
140965
  this.referring_subnets = _data["referring_subnets"];
141120
140966
  this.referring_pages = _data["referring_pages"];
140967
+ this.referring_pages_nofollow = _data["referring_pages_nofollow"];
141121
140968
  if (_data["referring_links_tld"]) {
141122
140969
  this.referring_links_tld = {} as any;
141123
140970
  for (let key in _data["referring_links_tld"]) {
@@ -141191,6 +141038,7 @@ indicates ISO country codes of the domains where the referring links are located
141191
141038
  data["referring_ips"] = this.referring_ips;
141192
141039
  data["referring_subnets"] = this.referring_subnets;
141193
141040
  data["referring_pages"] = this.referring_pages;
141041
+ data["referring_pages_nofollow"] = this.referring_pages_nofollow;
141194
141042
  if (this.referring_links_tld) {
141195
141043
  data["referring_links_tld"] = {};
141196
141044
  for (let key in this.referring_links_tld) {
@@ -141282,6 +141130,8 @@ number of IP addresses pointing to this page */
141282
141130
  referring_subnets?: number | undefined;
141283
141131
  /** indicates the number of pages pointing to the target specified */
141284
141132
  referring_pages?: number | undefined;
141133
+ /** number of referring pages pointing at least one nofollow link to the target */
141134
+ referring_pages_nofollow?: number | undefined;
141285
141135
  /** top-level domains of the referring links
141286
141136
  contains top level domains and referring link count per each */
141287
141137
  referring_links_tld?: { [key: string]: number; } | undefined;
@@ -142342,6 +142192,8 @@ learn more about how the metric is calculated on this help center page */
142342
142192
  referring_subnets?: number | undefined;
142343
142193
  /** indicates the number of pages pointing to the target */
142344
142194
  referring_pages?: number | undefined;
142195
+ /** number of referring pages pointing at least one nofollow link to the target */
142196
+ referring_pages_nofollow?: number | undefined;
142345
142197
  /** top level domains of the referring links
142346
142198
  contains top-level domains and referring link count per each */
142347
142199
  referring_links_tld?: { [key: string]: number; } | undefined;
@@ -142397,6 +142249,7 @@ indicates ISO country codes of the domains where the referring links are located
142397
142249
  this.referring_ips = _data["referring_ips"];
142398
142250
  this.referring_subnets = _data["referring_subnets"];
142399
142251
  this.referring_pages = _data["referring_pages"];
142252
+ this.referring_pages_nofollow = _data["referring_pages_nofollow"];
142400
142253
  if (_data["referring_links_tld"]) {
142401
142254
  this.referring_links_tld = {} as any;
142402
142255
  for (let key in _data["referring_links_tld"]) {
@@ -142471,6 +142324,7 @@ indicates ISO country codes of the domains where the referring links are located
142471
142324
  data["referring_ips"] = this.referring_ips;
142472
142325
  data["referring_subnets"] = this.referring_subnets;
142473
142326
  data["referring_pages"] = this.referring_pages;
142327
+ data["referring_pages_nofollow"] = this.referring_pages_nofollow;
142474
142328
  if (this.referring_links_tld) {
142475
142329
  data["referring_links_tld"] = {};
142476
142330
  for (let key in this.referring_links_tld) {
@@ -142560,6 +142414,8 @@ learn more about how the metric is calculated on this help center page */
142560
142414
  referring_subnets?: number | undefined;
142561
142415
  /** indicates the number of pages pointing to the target */
142562
142416
  referring_pages?: number | undefined;
142417
+ /** number of referring pages pointing at least one nofollow link to the target */
142418
+ referring_pages_nofollow?: number | undefined;
142563
142419
  /** top level domains of the referring links
142564
142420
  contains top-level domains and referring link count per each */
142565
142421
  referring_links_tld?: { [key: string]: number; } | undefined;
@@ -142585,13 +142441,13 @@ indicates ISO country codes of the domains where the referring links are located
142585
142441
  [key: string]: any;
142586
142442
  }
142587
142443
 
142588
- export class Summary implements ISummary {
142444
+ export class IntersectionSummaryInfo implements IIntersectionSummaryInfo {
142589
142445
  /** total number of intersections */
142590
142446
  intersections_count?: number | undefined;
142591
142447
 
142592
142448
  [key: string]: any;
142593
142449
 
142594
- constructor(data?: ISummary) {
142450
+ constructor(data?: IIntersectionSummaryInfo) {
142595
142451
  if (data) {
142596
142452
  for (var property in data) {
142597
142453
  if (data.hasOwnProperty(property))
@@ -142610,9 +142466,9 @@ export class Summary implements ISummary {
142610
142466
  }
142611
142467
  }
142612
142468
 
142613
- static fromJS(data: any): Summary {
142469
+ static fromJS(data: any): IntersectionSummaryInfo {
142614
142470
  data = typeof data === 'object' ? data : {};
142615
- let result = new Summary();
142471
+ let result = new IntersectionSummaryInfo();
142616
142472
  result.init(data);
142617
142473
  return result;
142618
142474
  }
@@ -142628,7 +142484,7 @@ export class Summary implements ISummary {
142628
142484
  }
142629
142485
  }
142630
142486
 
142631
- export interface ISummary {
142487
+ export interface IIntersectionSummaryInfo {
142632
142488
  /** total number of intersections */
142633
142489
  intersections_count?: number | undefined;
142634
142490
 
@@ -142640,7 +142496,7 @@ export class BacklinksDomainIntersectionLiveItem implements IBacklinksDomainInte
142640
142496
  data is provided in separate objects corresponding to domains, subdomains or pages specified in the targets object */
142641
142497
  domain_intersection?: { [key: string]: BacklinksDomainIntersectionInfo; } | undefined;
142642
142498
  /** contains the domain intersections summary */
142643
- summary?: Summary | undefined;
142499
+ summary?: IntersectionSummaryInfo | undefined;
142644
142500
 
142645
142501
  [key: string]: any;
142646
142502
 
@@ -142666,7 +142522,7 @@ data is provided in separate objects corresponding to domains, subdomains or pag
142666
142522
  (<any>this.domain_intersection)![key] = _data["domain_intersection"][key] ? BacklinksDomainIntersectionInfo.fromJS(_data["domain_intersection"][key]) : new BacklinksDomainIntersectionInfo();
142667
142523
  }
142668
142524
  }
142669
- this.summary = _data["summary"] ? Summary.fromJS(_data["summary"]) : <any>undefined;
142525
+ this.summary = _data["summary"] ? IntersectionSummaryInfo.fromJS(_data["summary"]) : <any>undefined;
142670
142526
  }
142671
142527
  }
142672
142528
 
@@ -142700,7 +142556,7 @@ export interface IBacklinksDomainIntersectionLiveItem {
142700
142556
  data is provided in separate objects corresponding to domains, subdomains or pages specified in the targets object */
142701
142557
  domain_intersection?: { [key: string]: BacklinksDomainIntersectionInfo; } | undefined;
142702
142558
  /** contains the domain intersections summary */
142703
- summary?: Summary | undefined;
142559
+ summary?: IntersectionSummaryInfo | undefined;
142704
142560
 
142705
142561
  [key: string]: any;
142706
142562
  }
@@ -143662,7 +143518,7 @@ export class BacklinksPageIntersectionLiveItem implements IBacklinksPageIntersec
143662
143518
  data is provided in separate objects corresponding to pages specified in the targets object */
143663
143519
  page_intersection?: { [key: string]: (BacklinksPageIntersectionInfo | undefined)[]; } | undefined;
143664
143520
  /** contains the page intersections summary */
143665
- summary?: Summary | undefined;
143521
+ summary?: IntersectionSummaryInfo | undefined;
143666
143522
 
143667
143523
  [key: string]: any;
143668
143524
 
@@ -143688,7 +143544,7 @@ data is provided in separate objects corresponding to pages specified in the tar
143688
143544
  (<any>this.page_intersection)![key] = _data["page_intersection"][key] ? _data["page_intersection"][key].map((i: any) => BacklinksPageIntersectionInfo.fromJS(i)) : [];
143689
143545
  }
143690
143546
  }
143691
- this.summary = _data["summary"] ? Summary.fromJS(_data["summary"]) : <any>undefined;
143547
+ this.summary = _data["summary"] ? IntersectionSummaryInfo.fromJS(_data["summary"]) : <any>undefined;
143692
143548
  }
143693
143549
  }
143694
143550
 
@@ -143722,7 +143578,7 @@ export interface IBacklinksPageIntersectionLiveItem {
143722
143578
  data is provided in separate objects corresponding to pages specified in the targets object */
143723
143579
  page_intersection?: { [key: string]: (BacklinksPageIntersectionInfo | undefined)[]; } | undefined;
143724
143580
  /** contains the page intersections summary */
143725
- summary?: Summary | undefined;
143581
+ summary?: IntersectionSummaryInfo | undefined;
143726
143582
 
143727
143583
  [key: string]: any;
143728
143584
  }
@@ -144082,6 +143938,8 @@ learn more about the metric and how it is calculated in this help center article
144082
143938
  backlinks_nofollow?: number | undefined;
144083
143939
  /** number of pages pointing to target for the given date */
144084
143940
  referring_pages?: number | undefined;
143941
+ /** number of referring pages pointing at least one nofollow link to the target for the given date */
143942
+ referring_pages_nofollow?: number | undefined;
144085
143943
  /** number of referring domains for the given date
144086
143944
  referring domains include subdomains that are counted as separate domains for this metric */
144087
143945
  referring_domains?: number | undefined;
@@ -144120,6 +143978,7 @@ number of IP addresses pointing to this page */
144120
143978
  this.backlinks = _data["backlinks"];
144121
143979
  this.backlinks_nofollow = _data["backlinks_nofollow"];
144122
143980
  this.referring_pages = _data["referring_pages"];
143981
+ this.referring_pages_nofollow = _data["referring_pages_nofollow"];
144123
143982
  this.referring_domains = _data["referring_domains"];
144124
143983
  this.referring_domains_nofollow = _data["referring_domains_nofollow"];
144125
143984
  this.referring_main_domains = _data["referring_main_domains"];
@@ -144148,6 +144007,7 @@ number of IP addresses pointing to this page */
144148
144007
  data["backlinks"] = this.backlinks;
144149
144008
  data["backlinks_nofollow"] = this.backlinks_nofollow;
144150
144009
  data["referring_pages"] = this.referring_pages;
144010
+ data["referring_pages_nofollow"] = this.referring_pages_nofollow;
144151
144011
  data["referring_domains"] = this.referring_domains;
144152
144012
  data["referring_domains_nofollow"] = this.referring_domains_nofollow;
144153
144013
  data["referring_main_domains"] = this.referring_main_domains;
@@ -144175,6 +144035,8 @@ learn more about the metric and how it is calculated in this help center article
144175
144035
  backlinks_nofollow?: number | undefined;
144176
144036
  /** number of pages pointing to target for the given date */
144177
144037
  referring_pages?: number | undefined;
144038
+ /** number of referring pages pointing at least one nofollow link to the target for the given date */
144039
+ referring_pages_nofollow?: number | undefined;
144178
144040
  /** number of referring domains for the given date
144179
144041
  referring domains include subdomains that are counted as separate domains for this metric */
144180
144042
  referring_domains?: number | undefined;
@@ -172018,8 +171880,8 @@ positions of elements with different type values are omitted from rank_group */
172018
171880
  /** absolute rank in SERP
172019
171881
  absolute position among all the elements found in Google Shopping SERP */
172020
171882
  rank_absolute?: number | undefined;
172021
- /** the alignment of the element in Google Shopping SERP
172022
- possible values:
171883
+ /** alignment of the element in SERP
171884
+ can take the following values:
172023
171885
  left, right */
172024
171886
  position?: string | undefined;
172025
171887
  /** XPath of the element */
@@ -172142,8 +172004,8 @@ positions of elements with different type values are omitted from rank_group */
172142
172004
  /** absolute rank in SERP
172143
172005
  absolute position among all the elements found in Google Shopping SERP */
172144
172006
  rank_absolute?: number | undefined;
172145
- /** the alignment of the element in Google Shopping SERP
172146
- possible values:
172007
+ /** alignment of the element in SERP
172008
+ can take the following values:
172147
172009
  left, right */
172148
172010
  position?: string | undefined;
172149
172011
  /** XPath of the element */
@@ -172178,67 +172040,64 @@ the name of the company that placed a corresponding product on Google Shopping *
172178
172040
  the shop popularity rate based on product reviews */
172179
172041
  rating?: RatingElement | undefined;
172180
172042
  /** unique ad click referral parameter
172181
- using this parameter you can get a URL of the advertisement in Google Shopping Sellers Ad URL */
172182
- shop_ad_aclk?: string | undefined;
172183
- /** indicated condition of the product
172184
- possible values: Used, Refurbished, New, null */
172185
- product_condition?: string | undefined;
172186
- /** data from annotations and badges with special offers
172187
- if there is no annotation for this product, the value will be null
172188
- examples: LOW PRICE, SPECIAL OFFER, SALE, PRICE DROP */
172189
- product_annotation?: string | undefined;
172190
-
172191
- [key: string]: any;
172192
- }
172193
-
172194
- export class BuyOnGoogleMerchantSerpElementItem extends BaseMerchantSerpElementItem implements IBuyOnGoogleMerchantSerpElementItem {
172195
- /** position within a group of elements with identical type values
172196
- positions of elements with different type values are omitted from rank_group */
172197
- rank_group?: number | undefined;
172198
- /** absolute rank in SERP
172199
- absolute position among all the elements found in Google Shopping SERP */
172200
- rank_absolute?: number | undefined;
172201
- /** the alignment of the element in Google Shopping SERP
172202
- possible values:
172203
- left, right */
172204
- position?: string | undefined;
172205
- /** XPath of the element */
172206
- xpath?: string | undefined;
172207
- /** domain in SERP */
172208
- domain?: string | undefined;
172209
- /** product title */
172210
- title?: string | undefined;
172211
- /** Google Shopping URL forwarding to the product page */
172212
- url?: string | undefined;
172213
- /** details and special offers
172214
- if there are no details, the value will be null */
172215
- details?: string | undefined;
172216
- /** product price without tax and shipping */
172217
- base_price?: number | undefined;
172218
- /** the amount of tax
172219
- tax is specified as the actual amount of money, not as the percentage */
172220
- tax?: number | undefined;
172221
- /** product shipping price */
172222
- shipping_price?: number | undefined;
172223
- /** product price including tax and shipping */
172224
- total_price?: number | undefined;
172225
- /** currency in the ISO format
172226
- example:
172227
- USD */
172228
- currency?: string | undefined;
172229
- /** name of the seller
172230
- the name of the company that placed a corresponding product on Google Shopping */
172231
- seller_name?: string | undefined;
172232
- /** shop rating
172233
- the shop popularity rate based on product reviews */
172234
- rating?: RatingElement | undefined;
172235
- /** unique ad click referral parameter
172236
- using this parameter you can get a URL of the advertisement in Google Shopping Sellers Ad URL
172237
- in this case, the value equals null */
172043
+ using this parameter you can get a URL of the advertisement in Google Shopping Sellers Ad URL */
172238
172044
  shop_ad_aclk?: string | undefined;
172239
172045
  /** indicated condition of the product
172240
172046
  possible values: Used, Refurbished, New, null */
172241
172047
  product_condition?: string | undefined;
172048
+ /** data from annotations and badges with special offers
172049
+ if there is no annotation for this product, the value will be null
172050
+ examples: LOW PRICE, SPECIAL OFFER, SALE, PRICE DROP */
172051
+ product_annotation?: string | undefined;
172052
+
172053
+ [key: string]: any;
172054
+ }
172055
+
172056
+ export class BuyOnGoogleMerchantSerpElementItem extends BaseMerchantSerpElementItem implements IBuyOnGoogleMerchantSerpElementItem {
172057
+ /** position within a group of elements with identical type values
172058
+ positions of elements with different type values are omitted from rank_group */
172059
+ rank_group?: number | undefined;
172060
+ /** absolute rank in SERP
172061
+ absolute position among all the elements found in Google Shopping SERP */
172062
+ rank_absolute?: number | undefined;
172063
+ /** alignment of the element in SERP
172064
+ can take the following values:
172065
+ left, right */
172066
+ position?: string | undefined;
172067
+ /** XPath of the element */
172068
+ xpath?: string | undefined;
172069
+ /** domain in SERP */
172070
+ domain?: string | undefined;
172071
+ /** product title */
172072
+ title?: string | undefined;
172073
+ /** Google Shopping URL forwarding to the product page */
172074
+ url?: string | undefined;
172075
+ /** details and special offers
172076
+ if there are no details, the value will be null */
172077
+ details?: string | undefined;
172078
+ /** product price without tax and shipping */
172079
+ base_price?: number | undefined;
172080
+ /** the amount of tax
172081
+ tax is specified as the actual amount of money, not as the percentage */
172082
+ tax?: number | undefined;
172083
+ /** product shipping price */
172084
+ shipping_price?: number | undefined;
172085
+ /** product price including tax and shipping */
172086
+ total_price?: number | undefined;
172087
+ /** currency in the ISO format
172088
+ example:
172089
+ USD */
172090
+ currency?: string | undefined;
172091
+ /** name of the seller
172092
+ the name of the company that placed a corresponding product on Google Shopping */
172093
+ seller_name?: string | undefined;
172094
+ /** shop rating
172095
+ the shop popularity rate based on product reviews */
172096
+ rating?: RatingElement | undefined;
172097
+ /** unique ad click referral parameter
172098
+ using this parameter you can get a URL of the advertisement in Google Shopping Sellers Ad URL
172099
+ in this case, the value equals null */
172100
+ shop_ad_aclk?: string | undefined;
172242
172101
 
172243
172102
  [key: string]: any;
172244
172103
 
@@ -172270,7 +172129,6 @@ possible values: Used, Refurbished, New, null */
172270
172129
  this.seller_name = _data["seller_name"];
172271
172130
  this.rating = _data["rating"] ? RatingElement.fromJS(_data["rating"]) : <any>undefined;
172272
172131
  this.shop_ad_aclk = _data["shop_ad_aclk"];
172273
- this.product_condition = _data["product_condition"];
172274
172132
  }
172275
172133
  }
172276
172134
 
@@ -172303,7 +172161,6 @@ possible values: Used, Refurbished, New, null */
172303
172161
  data["seller_name"] = this.seller_name;
172304
172162
  data["rating"] = this.rating ? this.rating.toJSON() : <any>undefined;
172305
172163
  data["shop_ad_aclk"] = this.shop_ad_aclk;
172306
- data["product_condition"] = this.product_condition;
172307
172164
  super.toJSON(data);
172308
172165
  return data;
172309
172166
  }
@@ -172316,8 +172173,8 @@ positions of elements with different type values are omitted from rank_group */
172316
172173
  /** absolute rank in SERP
172317
172174
  absolute position among all the elements found in Google Shopping SERP */
172318
172175
  rank_absolute?: number | undefined;
172319
- /** the alignment of the element in Google Shopping SERP
172320
- possible values:
172176
+ /** alignment of the element in SERP
172177
+ can take the following values:
172321
172178
  left, right */
172322
172179
  position?: string | undefined;
172323
172180
  /** XPath of the element */
@@ -172354,9 +172211,6 @@ the shop popularity rate based on product reviews */
172354
172211
  using this parameter you can get a URL of the advertisement in Google Shopping Sellers Ad URL
172355
172212
  in this case, the value equals null */
172356
172213
  shop_ad_aclk?: string | undefined;
172357
- /** indicated condition of the product
172358
- possible values: Used, Refurbished, New, null */
172359
- product_condition?: string | undefined;
172360
172214
 
172361
172215
  [key: string]: any;
172362
172216
  }
@@ -172381,6 +172235,15 @@ in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00”
172381
172235
  example:
172382
172236
  2019-11-15 12:57:46 +00:00 */
172383
172237
  datetime?: string | undefined;
172238
+ /** title of the product */
172239
+ title?: string | undefined;
172240
+ /** URL to the product page */
172241
+ url?: string | undefined;
172242
+ /** URL to the product image */
172243
+ image_url?: string | undefined;
172244
+ /** product rating
172245
+ the product popularity rate based on product reviews */
172246
+ rating?: RatingElement | undefined;
172384
172247
  /** types of search results found in Google Shopping SERP
172385
172248
  contains types of all search results (items) found in the returned SERP
172386
172249
  possible item types:
@@ -172415,6 +172278,10 @@ shops_list, buy_on_google */
172415
172278
  this.language_code = _data["language_code"];
172416
172279
  this.check_url = _data["check_url"];
172417
172280
  this.datetime = _data["datetime"];
172281
+ this.title = _data["title"];
172282
+ this.url = _data["url"];
172283
+ this.image_url = _data["image_url"];
172284
+ this.rating = _data["rating"] ? RatingElement.fromJS(_data["rating"]) : <any>undefined;
172418
172285
  if (Array.isArray(_data["item_types"])) {
172419
172286
  this.item_types = [] as any;
172420
172287
  for (let item of _data["item_types"])
@@ -172449,6 +172316,10 @@ shops_list, buy_on_google */
172449
172316
  data["language_code"] = this.language_code;
172450
172317
  data["check_url"] = this.check_url;
172451
172318
  data["datetime"] = this.datetime;
172319
+ data["title"] = this.title;
172320
+ data["url"] = this.url;
172321
+ data["image_url"] = this.image_url;
172322
+ data["rating"] = this.rating ? this.rating.toJSON() : <any>undefined;
172452
172323
  if (Array.isArray(this.item_types)) {
172453
172324
  data["item_types"] = [];
172454
172325
  for (let item of this.item_types)
@@ -172484,6 +172355,15 @@ in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00”
172484
172355
  example:
172485
172356
  2019-11-15 12:57:46 +00:00 */
172486
172357
  datetime?: string | undefined;
172358
+ /** title of the product */
172359
+ title?: string | undefined;
172360
+ /** URL to the product page */
172361
+ url?: string | undefined;
172362
+ /** URL to the product image */
172363
+ image_url?: string | undefined;
172364
+ /** product rating
172365
+ the product popularity rate based on product reviews */
172366
+ rating?: RatingElement | undefined;
172487
172367
  /** types of search results found in Google Shopping SERP
172488
172368
  contains types of all search results (items) found in the returned SERP
172489
172369
  possible item types:
@@ -176224,6 +176104,188 @@ export interface IMerchantAmazonProductsTasksReadyResponseInfo extends IBaseResp
176224
176104
  [key: string]: any;
176225
176105
  }
176226
176106
 
176107
+ export class AmazonAmazonPaidSerpElementItem extends BaseAmazonSerpElementItem implements IAmazonAmazonPaidSerpElementItem {
176108
+ /** position within a group of elements with identical type values
176109
+ positions of elements with different type values are omitted from rank_group */
176110
+ rank_group?: number | undefined;
176111
+ /** absolute rank in SERP
176112
+ absolute position among all the elements found in Amazon SERP */
176113
+ rank_absolute?: number | undefined;
176114
+ /** the XPath of the element */
176115
+ xpath?: string | undefined;
176116
+ /** Amazon domain */
176117
+ domain?: string | undefined;
176118
+ /** product title */
176119
+ title?: string | undefined;
176120
+ /** the URL of the product page */
176121
+ url?: string | undefined;
176122
+ /** URL of the product image featured in the results */
176123
+ image_url?: string | undefined;
176124
+ /** number of product purchases in the past month */
176125
+ bought_past_month?: number | undefined;
176126
+ /** the regular price of a product
176127
+ example:
176128
+ 49.98 */
176129
+ price_from?: number | undefined;
176130
+ /** the upper limit of the product price range
176131
+ example:
176132
+ 384.99 */
176133
+ price_to?: number | undefined;
176134
+ /** currency in the ISO format
176135
+ example:
176136
+ USD */
176137
+ currency?: string | undefined;
176138
+ /** special offer details
176139
+ contains special offer details, including coupon and Subscribe & Save discounts */
176140
+ special_offers?: (string | undefined)[] | undefined;
176141
+ /** unique product identifier on Amazon
176142
+ note that there is no full list of possible values as the data_asin is a dynamic value assigned by Amazon
176143
+ example:
176144
+ B07G82D89J */
176145
+ data_asin?: string | undefined;
176146
+ /** product rating info */
176147
+ rating?: RatingElement | undefined;
176148
+ /** “Amazon’s choice” label
176149
+ if the value is true, the product is marked with the “Amazon’s choice” label */
176150
+ is_amazon_choice?: boolean | undefined;
176151
+ /** “Best Seller” label
176152
+ if the value is true, the product is marked with the “Best Seller” label */
176153
+ is_best_seller?: boolean | undefined;
176154
+ /** delivery information
176155
+ delivery information including free and fast delivery date ranges */
176156
+ delivery_info?: AmazonDeliveryInfo | undefined;
176157
+
176158
+ [key: string]: any;
176159
+
176160
+ constructor(data?: IAmazonAmazonPaidSerpElementItem) {
176161
+ super(data);
176162
+ this._discriminator = "amazon_paid";
176163
+ }
176164
+
176165
+ init(_data?: any) {
176166
+ super.init(_data);
176167
+ if (_data) {
176168
+ for (var property in _data) {
176169
+ if (_data.hasOwnProperty(property))
176170
+ this[property] = _data[property];
176171
+ }
176172
+ this.rank_group = _data["rank_group"];
176173
+ this.rank_absolute = _data["rank_absolute"];
176174
+ this.xpath = _data["xpath"];
176175
+ this.domain = _data["domain"];
176176
+ this.title = _data["title"];
176177
+ this.url = _data["url"];
176178
+ this.image_url = _data["image_url"];
176179
+ this.bought_past_month = _data["bought_past_month"];
176180
+ this.price_from = _data["price_from"];
176181
+ this.price_to = _data["price_to"];
176182
+ this.currency = _data["currency"];
176183
+ if (Array.isArray(_data["special_offers"])) {
176184
+ this.special_offers = [] as any;
176185
+ for (let item of _data["special_offers"])
176186
+ this.special_offers!.push(item);
176187
+ }
176188
+ this.data_asin = _data["data_asin"];
176189
+ this.rating = _data["rating"] ? RatingElement.fromJS(_data["rating"]) : <any>undefined;
176190
+ this.is_amazon_choice = _data["is_amazon_choice"];
176191
+ this.is_best_seller = _data["is_best_seller"];
176192
+ this.delivery_info = _data["delivery_info"] ? AmazonDeliveryInfo.fromJS(_data["delivery_info"]) : <any>undefined;
176193
+ }
176194
+ }
176195
+
176196
+ static fromJS(data: any): AmazonAmazonPaidSerpElementItem {
176197
+ data = typeof data === 'object' ? data : {};
176198
+ let result = new AmazonAmazonPaidSerpElementItem();
176199
+ result.init(data);
176200
+ return result;
176201
+ }
176202
+
176203
+ toJSON(data?: any) {
176204
+ data = typeof data === 'object' ? data : {};
176205
+ for (var property in this) {
176206
+ if (this.hasOwnProperty(property))
176207
+ data[property] = this[property];
176208
+ }
176209
+ data["rank_group"] = this.rank_group;
176210
+ data["rank_absolute"] = this.rank_absolute;
176211
+ data["xpath"] = this.xpath;
176212
+ data["domain"] = this.domain;
176213
+ data["title"] = this.title;
176214
+ data["url"] = this.url;
176215
+ data["image_url"] = this.image_url;
176216
+ data["bought_past_month"] = this.bought_past_month;
176217
+ data["price_from"] = this.price_from;
176218
+ data["price_to"] = this.price_to;
176219
+ data["currency"] = this.currency;
176220
+ if (Array.isArray(this.special_offers)) {
176221
+ data["special_offers"] = [];
176222
+ for (let item of this.special_offers)
176223
+ data["special_offers"].push(item);
176224
+ }
176225
+ data["data_asin"] = this.data_asin;
176226
+ data["rating"] = this.rating ? this.rating.toJSON() : <any>undefined;
176227
+ data["is_amazon_choice"] = this.is_amazon_choice;
176228
+ data["is_best_seller"] = this.is_best_seller;
176229
+ data["delivery_info"] = this.delivery_info ? this.delivery_info.toJSON() : <any>undefined;
176230
+ super.toJSON(data);
176231
+ return data;
176232
+ }
176233
+ }
176234
+
176235
+ export interface IAmazonAmazonPaidSerpElementItem extends IBaseAmazonSerpElementItem {
176236
+ /** position within a group of elements with identical type values
176237
+ positions of elements with different type values are omitted from rank_group */
176238
+ rank_group?: number | undefined;
176239
+ /** absolute rank in SERP
176240
+ absolute position among all the elements found in Amazon SERP */
176241
+ rank_absolute?: number | undefined;
176242
+ /** the XPath of the element */
176243
+ xpath?: string | undefined;
176244
+ /** Amazon domain */
176245
+ domain?: string | undefined;
176246
+ /** product title */
176247
+ title?: string | undefined;
176248
+ /** the URL of the product page */
176249
+ url?: string | undefined;
176250
+ /** URL of the product image featured in the results */
176251
+ image_url?: string | undefined;
176252
+ /** number of product purchases in the past month */
176253
+ bought_past_month?: number | undefined;
176254
+ /** the regular price of a product
176255
+ example:
176256
+ 49.98 */
176257
+ price_from?: number | undefined;
176258
+ /** the upper limit of the product price range
176259
+ example:
176260
+ 384.99 */
176261
+ price_to?: number | undefined;
176262
+ /** currency in the ISO format
176263
+ example:
176264
+ USD */
176265
+ currency?: string | undefined;
176266
+ /** special offer details
176267
+ contains special offer details, including coupon and Subscribe & Save discounts */
176268
+ special_offers?: (string | undefined)[] | undefined;
176269
+ /** unique product identifier on Amazon
176270
+ note that there is no full list of possible values as the data_asin is a dynamic value assigned by Amazon
176271
+ example:
176272
+ B07G82D89J */
176273
+ data_asin?: string | undefined;
176274
+ /** product rating info */
176275
+ rating?: RatingElement | undefined;
176276
+ /** “Amazon’s choice” label
176277
+ if the value is true, the product is marked with the “Amazon’s choice” label */
176278
+ is_amazon_choice?: boolean | undefined;
176279
+ /** “Best Seller” label
176280
+ if the value is true, the product is marked with the “Best Seller” label */
176281
+ is_best_seller?: boolean | undefined;
176282
+ /** delivery information
176283
+ delivery information including free and fast delivery date ranges */
176284
+ delivery_info?: AmazonDeliveryInfo | undefined;
176285
+
176286
+ [key: string]: any;
176287
+ }
176288
+
176227
176289
  export class AmazonSerpElement implements IAmazonSerpElement {
176228
176290
  /** type of element */
176229
176291
  type?: string | undefined;
@@ -196860,7 +196922,7 @@ information related to busy hours of the business entity */
196860
196922
  popular_times?: PopularTimes | undefined;
196861
196923
  /** available interactions with the business
196862
196924
  list of options to interact with the business directly from search results */
196863
- local_business_links?: BaseLocalBusinessLink | undefined;
196925
+ local_business_links?: (BaseLocalBusinessLink | undefined)[] | undefined;
196864
196926
  /** business establishment is a part of the directory
196865
196927
  indicates whether the business establishment is a part of the directory;
196866
196928
  if true, the item is a part of the larger directory of businesses with the same address (e.g., a mall or a business centre);
@@ -196941,7 +197003,11 @@ includes information about businesses that are located within the target busines
196941
197003
  }
196942
197004
  this.work_time = _data["work_time"] ? WorkInfo.fromJS(_data["work_time"]) : <any>undefined;
196943
197005
  this.popular_times = _data["popular_times"] ? PopularTimes.fromJS(_data["popular_times"]) : <any>undefined;
196944
- this.local_business_links = _data["local_business_links"] ? BaseLocalBusinessLink.fromJS(_data["local_business_links"]) : <any>undefined;
197006
+ if (Array.isArray(_data["local_business_links"])) {
197007
+ this.local_business_links = [] as any;
197008
+ for (let item of _data["local_business_links"])
197009
+ this.local_business_links!.push(BaseLocalBusinessLink.fromJS(item));
197010
+ }
196945
197011
  this.is_directory_item = _data["is_directory_item"];
196946
197012
  this.directory = _data["directory"] ? BusinessDirectoryInfo.fromJS(_data["directory"]) : <any>undefined;
196947
197013
  }
@@ -197017,7 +197083,11 @@ includes information about businesses that are located within the target busines
197017
197083
  }
197018
197084
  data["work_time"] = this.work_time ? this.work_time.toJSON() : <any>undefined;
197019
197085
  data["popular_times"] = this.popular_times ? this.popular_times.toJSON() : <any>undefined;
197020
- data["local_business_links"] = this.local_business_links ? this.local_business_links.toJSON() : <any>undefined;
197086
+ if (Array.isArray(this.local_business_links)) {
197087
+ data["local_business_links"] = [];
197088
+ for (let item of this.local_business_links)
197089
+ data["local_business_links"].push(item.toJSON());
197090
+ }
197021
197091
  data["is_directory_item"] = this.is_directory_item;
197022
197092
  data["directory"] = this.directory ? this.directory.toJSON() : <any>undefined;
197023
197093
  super.toJSON(data);
@@ -197125,7 +197195,7 @@ information related to busy hours of the business entity */
197125
197195
  popular_times?: PopularTimes | undefined;
197126
197196
  /** available interactions with the business
197127
197197
  list of options to interact with the business directly from search results */
197128
- local_business_links?: BaseLocalBusinessLink | undefined;
197198
+ local_business_links?: (BaseLocalBusinessLink | undefined)[] | undefined;
197129
197199
  /** business establishment is a part of the directory
197130
197200
  indicates whether the business establishment is a part of the directory;
197131
197201
  if true, the item is a part of the larger directory of businesses with the same address (e.g., a mall or a business centre);
@@ -218350,7 +218420,9 @@ merchant
218350
218420
  on_page
218351
218421
  business_data
218352
218422
  backlinks
218353
- app_data */
218423
+ app_data
218424
+ content_analysis
218425
+ content_generation */
218354
218426
  api?: string | undefined;
218355
218427
  /** current status
218356
218428
  you can find all information about your API statuses for the last 60 days here
@@ -218428,7 +218500,9 @@ merchant
218428
218500
  on_page
218429
218501
  business_data
218430
218502
  backlinks
218431
- app_data */
218503
+ app_data
218504
+ content_analysis
218505
+ content_generation */
218432
218506
  api?: string | undefined;
218433
218507
  /** current status
218434
218508
  you can find all information about your API statuses for the last 60 days here