dataforseo-client 1.0.9 → 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.
- package/main.d.ts +98 -98
- package/main.js +84 -84
- package/main.js.map +1 -1
- package/main.ts +208 -208
- package/package.json +1 -1
package/main.d.ts
CHANGED
|
@@ -8482,6 +8482,8 @@ export declare class PopularProductsElement implements IPopularProductsElement {
|
|
|
8482
8482
|
title?: string | undefined;
|
|
8483
8483
|
/** description */
|
|
8484
8484
|
description?: string | undefined;
|
|
8485
|
+
/** seller of the product */
|
|
8486
|
+
seller?: string | undefined;
|
|
8485
8487
|
/** price indicated in the element */
|
|
8486
8488
|
price?: PriceInfo | undefined;
|
|
8487
8489
|
/** the item’s rating
|
|
@@ -8500,6 +8502,8 @@ export interface IPopularProductsElement {
|
|
|
8500
8502
|
title?: string | undefined;
|
|
8501
8503
|
/** description */
|
|
8502
8504
|
description?: string | undefined;
|
|
8505
|
+
/** seller of the product */
|
|
8506
|
+
seller?: string | undefined;
|
|
8503
8507
|
/** price indicated in the element */
|
|
8504
8508
|
price?: PriceInfo | undefined;
|
|
8505
8509
|
/** the item’s rating
|
|
@@ -13825,7 +13829,8 @@ top_stories, news_search */
|
|
|
13825
13829
|
se_results_count?: number | undefined;
|
|
13826
13830
|
/** the number of results returned in the items array */
|
|
13827
13831
|
items_count?: number | undefined;
|
|
13828
|
-
/**
|
|
13832
|
+
/** additional items present in the element
|
|
13833
|
+
if there are none, equals null */
|
|
13829
13834
|
items?: (BaseSerpElementItem | undefined)[] | undefined;
|
|
13830
13835
|
[key: string]: any;
|
|
13831
13836
|
constructor(data?: ISerpGoogleNewsLiveAdvancedResultInfo);
|
|
@@ -13865,7 +13870,8 @@ top_stories, news_search */
|
|
|
13865
13870
|
se_results_count?: number | undefined;
|
|
13866
13871
|
/** the number of results returned in the items array */
|
|
13867
13872
|
items_count?: number | undefined;
|
|
13868
|
-
/**
|
|
13873
|
+
/** additional items present in the element
|
|
13874
|
+
if there are none, equals null */
|
|
13869
13875
|
items?: (BaseSerpElementItem | undefined)[] | undefined;
|
|
13870
13876
|
[key: string]: any;
|
|
13871
13877
|
}
|
|
@@ -66009,7 +66015,7 @@ the amount of time a browser needs to complete downloading a resource */
|
|
|
66009
66015
|
fetch_end?: number | undefined;
|
|
66010
66016
|
[key: string]: any;
|
|
66011
66017
|
}
|
|
66012
|
-
export declare class
|
|
66018
|
+
export declare class ScriptResourceElementItem extends BaseOnPageResourceItemInfo implements IScriptResourceElementItem {
|
|
66013
66019
|
/** resource properties
|
|
66014
66020
|
the value depends on the resource_type
|
|
66015
66021
|
note that if you do not indicate a url when setting a task, resource’s meta is returned based on the data from the page where our crawler first saw the resource;
|
|
@@ -66061,25 +66067,13 @@ any, none, image, sitemap, robots, script, stylesheet, redirect, html, text, oth
|
|
|
66061
66067
|
/** contains data on changes related to the resource
|
|
66062
66068
|
if there is no data, the value will be null */
|
|
66063
66069
|
last_modified?: LastModified | undefined;
|
|
66064
|
-
/** resource initiator */
|
|
66065
|
-
initiator?: string | undefined;
|
|
66066
|
-
/** total time it takes until a browser receives a complete response from a server (in milliseconds) */
|
|
66067
|
-
duration_time?: number | undefined;
|
|
66068
|
-
/** time to start downloading the resource
|
|
66069
|
-
the amount of time the browser needs to start downloading a resource */
|
|
66070
|
-
fetch_start?: number | undefined;
|
|
66071
|
-
/** time to complete downloading the resource
|
|
66072
|
-
the amount of time the browser needs to complete downloading a resource */
|
|
66073
|
-
fetch_end?: number | undefined;
|
|
66074
|
-
/** indicates whether the resource blocks rendering */
|
|
66075
|
-
is_render_blocking?: boolean | undefined;
|
|
66076
66070
|
[key: string]: any;
|
|
66077
|
-
constructor(data?:
|
|
66071
|
+
constructor(data?: IScriptResourceElementItem);
|
|
66078
66072
|
init(_data?: any): void;
|
|
66079
|
-
static fromJS(data: any):
|
|
66073
|
+
static fromJS(data: any): ScriptResourceElementItem;
|
|
66080
66074
|
toJSON(data?: any): any;
|
|
66081
66075
|
}
|
|
66082
|
-
export interface
|
|
66076
|
+
export interface IScriptResourceElementItem extends IBaseOnPageResourceItemInfo {
|
|
66083
66077
|
/** resource properties
|
|
66084
66078
|
the value depends on the resource_type
|
|
66085
66079
|
note that if you do not indicate a url when setting a task, resource’s meta is returned based on the data from the page where our crawler first saw the resource;
|
|
@@ -66131,67 +66125,9 @@ any, none, image, sitemap, robots, script, stylesheet, redirect, html, text, oth
|
|
|
66131
66125
|
/** contains data on changes related to the resource
|
|
66132
66126
|
if there is no data, the value will be null */
|
|
66133
66127
|
last_modified?: LastModified | undefined;
|
|
66134
|
-
/** resource initiator */
|
|
66135
|
-
initiator?: string | undefined;
|
|
66136
|
-
/** total time it takes until a browser receives a complete response from a server (in milliseconds) */
|
|
66137
|
-
duration_time?: number | undefined;
|
|
66138
|
-
/** time to start downloading the resource
|
|
66139
|
-
the amount of time the browser needs to start downloading a resource */
|
|
66140
|
-
fetch_start?: number | undefined;
|
|
66141
|
-
/** time to complete downloading the resource
|
|
66142
|
-
the amount of time the browser needs to complete downloading a resource */
|
|
66143
|
-
fetch_end?: number | undefined;
|
|
66144
|
-
/** indicates whether the resource blocks rendering */
|
|
66145
|
-
is_render_blocking?: boolean | undefined;
|
|
66146
66128
|
[key: string]: any;
|
|
66147
66129
|
}
|
|
66148
|
-
export declare class
|
|
66149
|
-
/** status of the crawling session
|
|
66150
|
-
possible values: in_progress, finished */
|
|
66151
|
-
crawl_progress?: string | undefined;
|
|
66152
|
-
/** details of the crawling session */
|
|
66153
|
-
crawl_status?: CrawlStatusInfo | undefined;
|
|
66154
|
-
/** total number of relevant items crawled */
|
|
66155
|
-
total_items_count?: number | undefined;
|
|
66156
|
-
/** number of items in the results array */
|
|
66157
|
-
items_count?: number | undefined;
|
|
66158
|
-
/** items array */
|
|
66159
|
-
items?: (BaseOnPageResourceItemInfo | undefined)[] | undefined;
|
|
66160
|
-
[key: string]: any;
|
|
66161
|
-
constructor(data?: IOnPageResourcesResultInfo);
|
|
66162
|
-
init(_data?: any): void;
|
|
66163
|
-
static fromJS(data: any): OnPageResourcesResultInfo;
|
|
66164
|
-
toJSON(data?: any): any;
|
|
66165
|
-
}
|
|
66166
|
-
export interface IOnPageResourcesResultInfo {
|
|
66167
|
-
/** status of the crawling session
|
|
66168
|
-
possible values: in_progress, finished */
|
|
66169
|
-
crawl_progress?: string | undefined;
|
|
66170
|
-
/** details of the crawling session */
|
|
66171
|
-
crawl_status?: CrawlStatusInfo | undefined;
|
|
66172
|
-
/** total number of relevant items crawled */
|
|
66173
|
-
total_items_count?: number | undefined;
|
|
66174
|
-
/** number of items in the results array */
|
|
66175
|
-
items_count?: number | undefined;
|
|
66176
|
-
/** items array */
|
|
66177
|
-
items?: (BaseOnPageResourceItemInfo | undefined)[] | undefined;
|
|
66178
|
-
[key: string]: any;
|
|
66179
|
-
}
|
|
66180
|
-
export declare class OnPageResourcesTaskInfo extends BaseResponseTaskInfo implements IOnPageResourcesTaskInfo {
|
|
66181
|
-
/** array of results */
|
|
66182
|
-
result?: (OnPageResourcesResultInfo | undefined)[] | undefined;
|
|
66183
|
-
[key: string]: any;
|
|
66184
|
-
constructor(data?: IOnPageResourcesTaskInfo);
|
|
66185
|
-
init(_data?: any): void;
|
|
66186
|
-
static fromJS(data: any): OnPageResourcesTaskInfo;
|
|
66187
|
-
toJSON(data?: any): any;
|
|
66188
|
-
}
|
|
66189
|
-
export interface IOnPageResourcesTaskInfo extends IBaseResponseTaskInfo {
|
|
66190
|
-
/** array of results */
|
|
66191
|
-
result?: (OnPageResourcesResultInfo | undefined)[] | undefined;
|
|
66192
|
-
[key: string]: any;
|
|
66193
|
-
}
|
|
66194
|
-
export declare class ScriptResourceElementItem extends BaseOnPageResourceItemInfo implements IScriptResourceElementItem {
|
|
66130
|
+
export declare class StylesheetResourceElementItem extends BaseOnPageResourceItemInfo implements IStylesheetResourceElementItem {
|
|
66195
66131
|
/** resource properties
|
|
66196
66132
|
the value depends on the resource_type
|
|
66197
66133
|
note that if you do not indicate a url when setting a task, resource’s meta is returned based on the data from the page where our crawler first saw the resource;
|
|
@@ -66227,6 +66163,8 @@ contents of the array depend on the resource_type */
|
|
|
66227
66163
|
checks?: {
|
|
66228
66164
|
[key: string]: boolean;
|
|
66229
66165
|
} | undefined;
|
|
66166
|
+
/** resource errors and warnings */
|
|
66167
|
+
resource_errors?: OnPageResourceIssueInfo | undefined;
|
|
66230
66168
|
/** type of encoding */
|
|
66231
66169
|
content_encoding?: string | undefined;
|
|
66232
66170
|
/** types of media used to display a resource */
|
|
@@ -66241,15 +66179,25 @@ any, none, image, sitemap, robots, script, stylesheet, redirect, html, text, oth
|
|
|
66241
66179
|
/** contains data on changes related to the resource
|
|
66242
66180
|
if there is no data, the value will be null */
|
|
66243
66181
|
last_modified?: LastModified | undefined;
|
|
66244
|
-
/** resource
|
|
66245
|
-
|
|
66182
|
+
/** resource initiator */
|
|
66183
|
+
initiator?: string | undefined;
|
|
66184
|
+
/** total time it takes until a browser receives a complete response from a server (in milliseconds) */
|
|
66185
|
+
duration_time?: number | undefined;
|
|
66186
|
+
/** time to start downloading the resource
|
|
66187
|
+
the amount of time the browser needs to start downloading a resource */
|
|
66188
|
+
fetch_start?: number | undefined;
|
|
66189
|
+
/** time to complete downloading the resource
|
|
66190
|
+
the amount of time the browser needs to complete downloading a resource */
|
|
66191
|
+
fetch_end?: number | undefined;
|
|
66192
|
+
/** indicates whether the resource blocks rendering */
|
|
66193
|
+
is_render_blocking?: boolean | undefined;
|
|
66246
66194
|
[key: string]: any;
|
|
66247
|
-
constructor(data?:
|
|
66195
|
+
constructor(data?: IStylesheetResourceElementItem);
|
|
66248
66196
|
init(_data?: any): void;
|
|
66249
|
-
static fromJS(data: any):
|
|
66197
|
+
static fromJS(data: any): StylesheetResourceElementItem;
|
|
66250
66198
|
toJSON(data?: any): any;
|
|
66251
66199
|
}
|
|
66252
|
-
export interface
|
|
66200
|
+
export interface IStylesheetResourceElementItem extends IBaseOnPageResourceItemInfo {
|
|
66253
66201
|
/** resource properties
|
|
66254
66202
|
the value depends on the resource_type
|
|
66255
66203
|
note that if you do not indicate a url when setting a task, resource’s meta is returned based on the data from the page where our crawler first saw the resource;
|
|
@@ -66285,6 +66233,8 @@ contents of the array depend on the resource_type */
|
|
|
66285
66233
|
checks?: {
|
|
66286
66234
|
[key: string]: boolean;
|
|
66287
66235
|
} | undefined;
|
|
66236
|
+
/** resource errors and warnings */
|
|
66237
|
+
resource_errors?: OnPageResourceIssueInfo | undefined;
|
|
66288
66238
|
/** type of encoding */
|
|
66289
66239
|
content_encoding?: string | undefined;
|
|
66290
66240
|
/** types of media used to display a resource */
|
|
@@ -66299,8 +66249,64 @@ any, none, image, sitemap, robots, script, stylesheet, redirect, html, text, oth
|
|
|
66299
66249
|
/** contains data on changes related to the resource
|
|
66300
66250
|
if there is no data, the value will be null */
|
|
66301
66251
|
last_modified?: LastModified | undefined;
|
|
66302
|
-
/** resource
|
|
66303
|
-
|
|
66252
|
+
/** resource initiator */
|
|
66253
|
+
initiator?: string | undefined;
|
|
66254
|
+
/** total time it takes until a browser receives a complete response from a server (in milliseconds) */
|
|
66255
|
+
duration_time?: number | undefined;
|
|
66256
|
+
/** time to start downloading the resource
|
|
66257
|
+
the amount of time the browser needs to start downloading a resource */
|
|
66258
|
+
fetch_start?: number | undefined;
|
|
66259
|
+
/** time to complete downloading the resource
|
|
66260
|
+
the amount of time the browser needs to complete downloading a resource */
|
|
66261
|
+
fetch_end?: number | undefined;
|
|
66262
|
+
/** indicates whether the resource blocks rendering */
|
|
66263
|
+
is_render_blocking?: boolean | undefined;
|
|
66264
|
+
[key: string]: any;
|
|
66265
|
+
}
|
|
66266
|
+
export declare class OnPageResourcesResultInfo implements IOnPageResourcesResultInfo {
|
|
66267
|
+
/** status of the crawling session
|
|
66268
|
+
possible values: in_progress, finished */
|
|
66269
|
+
crawl_progress?: string | undefined;
|
|
66270
|
+
/** details of the crawling session */
|
|
66271
|
+
crawl_status?: CrawlStatusInfo | undefined;
|
|
66272
|
+
/** total number of relevant items crawled */
|
|
66273
|
+
total_items_count?: number | undefined;
|
|
66274
|
+
/** number of items in the results array */
|
|
66275
|
+
items_count?: number | undefined;
|
|
66276
|
+
/** items array */
|
|
66277
|
+
items?: (BaseOnPageResourceItemInfo | undefined)[] | undefined;
|
|
66278
|
+
[key: string]: any;
|
|
66279
|
+
constructor(data?: IOnPageResourcesResultInfo);
|
|
66280
|
+
init(_data?: any): void;
|
|
66281
|
+
static fromJS(data: any): OnPageResourcesResultInfo;
|
|
66282
|
+
toJSON(data?: any): any;
|
|
66283
|
+
}
|
|
66284
|
+
export interface IOnPageResourcesResultInfo {
|
|
66285
|
+
/** status of the crawling session
|
|
66286
|
+
possible values: in_progress, finished */
|
|
66287
|
+
crawl_progress?: string | undefined;
|
|
66288
|
+
/** details of the crawling session */
|
|
66289
|
+
crawl_status?: CrawlStatusInfo | undefined;
|
|
66290
|
+
/** total number of relevant items crawled */
|
|
66291
|
+
total_items_count?: number | undefined;
|
|
66292
|
+
/** number of items in the results array */
|
|
66293
|
+
items_count?: number | undefined;
|
|
66294
|
+
/** items array */
|
|
66295
|
+
items?: (BaseOnPageResourceItemInfo | undefined)[] | undefined;
|
|
66296
|
+
[key: string]: any;
|
|
66297
|
+
}
|
|
66298
|
+
export declare class OnPageResourcesTaskInfo extends BaseResponseTaskInfo implements IOnPageResourcesTaskInfo {
|
|
66299
|
+
/** array of results */
|
|
66300
|
+
result?: (OnPageResourcesResultInfo | undefined)[] | undefined;
|
|
66301
|
+
[key: string]: any;
|
|
66302
|
+
constructor(data?: IOnPageResourcesTaskInfo);
|
|
66303
|
+
init(_data?: any): void;
|
|
66304
|
+
static fromJS(data: any): OnPageResourcesTaskInfo;
|
|
66305
|
+
toJSON(data?: any): any;
|
|
66306
|
+
}
|
|
66307
|
+
export interface IOnPageResourcesTaskInfo extends IBaseResponseTaskInfo {
|
|
66308
|
+
/** array of results */
|
|
66309
|
+
result?: (OnPageResourcesResultInfo | undefined)[] | undefined;
|
|
66304
66310
|
[key: string]: any;
|
|
66305
66311
|
}
|
|
66306
66312
|
export declare class ImageResourceElementItem extends BaseOnPageResourceItemInfo implements IImageResourceElementItem {
|
|
@@ -75364,8 +75370,8 @@ positions of elements with different type values are omitted from rank_group */
|
|
|
75364
75370
|
/** absolute rank in SERP
|
|
75365
75371
|
absolute position among all the elements found in Google Shopping SERP */
|
|
75366
75372
|
rank_absolute?: number | undefined;
|
|
75367
|
-
/**
|
|
75368
|
-
|
|
75373
|
+
/** alignment of the element in SERP
|
|
75374
|
+
can take the following values:
|
|
75369
75375
|
left, right */
|
|
75370
75376
|
position?: string | undefined;
|
|
75371
75377
|
/** XPath of the element */
|
|
@@ -75422,8 +75428,8 @@ positions of elements with different type values are omitted from rank_group */
|
|
|
75422
75428
|
/** absolute rank in SERP
|
|
75423
75429
|
absolute position among all the elements found in Google Shopping SERP */
|
|
75424
75430
|
rank_absolute?: number | undefined;
|
|
75425
|
-
/**
|
|
75426
|
-
|
|
75431
|
+
/** alignment of the element in SERP
|
|
75432
|
+
can take the following values:
|
|
75427
75433
|
left, right */
|
|
75428
75434
|
position?: string | undefined;
|
|
75429
75435
|
/** XPath of the element */
|
|
@@ -75476,8 +75482,8 @@ positions of elements with different type values are omitted from rank_group */
|
|
|
75476
75482
|
/** absolute rank in SERP
|
|
75477
75483
|
absolute position among all the elements found in Google Shopping SERP */
|
|
75478
75484
|
rank_absolute?: number | undefined;
|
|
75479
|
-
/**
|
|
75480
|
-
|
|
75485
|
+
/** alignment of the element in SERP
|
|
75486
|
+
can take the following values:
|
|
75481
75487
|
left, right */
|
|
75482
75488
|
position?: string | undefined;
|
|
75483
75489
|
/** XPath of the element */
|
|
@@ -75514,9 +75520,6 @@ the shop popularity rate based on product reviews */
|
|
|
75514
75520
|
using this parameter you can get a URL of the advertisement in Google Shopping Sellers Ad URL
|
|
75515
75521
|
in this case, the value equals null */
|
|
75516
75522
|
shop_ad_aclk?: string | undefined;
|
|
75517
|
-
/** indicated condition of the product
|
|
75518
|
-
possible values: Used, Refurbished, New, null */
|
|
75519
|
-
product_condition?: string | undefined;
|
|
75520
75523
|
[key: string]: any;
|
|
75521
75524
|
constructor(data?: IBuyOnGoogleMerchantSerpElementItem);
|
|
75522
75525
|
init(_data?: any): void;
|
|
@@ -75530,8 +75533,8 @@ positions of elements with different type values are omitted from rank_group */
|
|
|
75530
75533
|
/** absolute rank in SERP
|
|
75531
75534
|
absolute position among all the elements found in Google Shopping SERP */
|
|
75532
75535
|
rank_absolute?: number | undefined;
|
|
75533
|
-
/**
|
|
75534
|
-
|
|
75536
|
+
/** alignment of the element in SERP
|
|
75537
|
+
can take the following values:
|
|
75535
75538
|
left, right */
|
|
75536
75539
|
position?: string | undefined;
|
|
75537
75540
|
/** XPath of the element */
|
|
@@ -75568,9 +75571,6 @@ the shop popularity rate based on product reviews */
|
|
|
75568
75571
|
using this parameter you can get a URL of the advertisement in Google Shopping Sellers Ad URL
|
|
75569
75572
|
in this case, the value equals null */
|
|
75570
75573
|
shop_ad_aclk?: string | undefined;
|
|
75571
|
-
/** indicated condition of the product
|
|
75572
|
-
possible values: Used, Refurbished, New, null */
|
|
75573
|
-
product_condition?: string | undefined;
|
|
75574
75574
|
[key: string]: any;
|
|
75575
75575
|
}
|
|
75576
75576
|
export declare class MerchantGoogleSellersTaskGetAdvancedResultInfo implements IMerchantGoogleSellersTaskGetAdvancedResultInfo {
|
package/main.js
CHANGED
|
@@ -32,7 +32,7 @@ exports.KeywordsDataBingKeywordPerformanceLiveResultInfo = exports.KeywordsDataB
|
|
|
32
32
|
exports.BacklinksDomainPagesSummaryLiveTaskInfo = exports.BacklinksDomainPagesSummaryLiveResultInfo = exports.BacklinksDomainPagesSummaryLiveItem = exports.BacklinksDomainPagesSummaryLiveRequestInfo = exports.BacklinksDomainPagesLiveResponseInfo = exports.BacklinksDomainPagesLiveTaskInfo = exports.BacklinksDomainPagesLiveResultInfo = exports.BacklinksDomainPagesLiveItem = exports.PageSummary = exports.BacklinksPageMeta = exports.BacklinksDomainPagesLiveRequestInfo = exports.BacklinksAnchorsLiveResponseInfo = exports.BacklinksAnchorsLiveTaskInfo = exports.BacklinksAnchorsLiveResultInfo = exports.BacklinksAnchorsLiveItem = exports.BacklinksAnchorsLiveRequestInfo = exports.BacklinksBacklinksLiveResponseInfo = exports.BacklinksBacklinksLiveTaskInfo = exports.BacklinksBacklinksLiveResultInfo = exports.BacklinksBacklinksLiveItem = exports.Redirect = exports.RankedKeywordsInfo = exports.BacklinksBacklinksLiveRequestInfo = exports.BacklinksHistoryLiveResponseInfo = exports.BacklinksHistoryLiveTaskInfo = exports.BacklinksHistoryLiveResultInfo = exports.BacklinksHistoryLiveItem = exports.BacklinksHistoryLiveRequestInfo = exports.BacklinksSummaryLiveResponseInfo = exports.BacklinksSummaryLiveTaskInfo = exports.BacklinksSummaryLiveResultInfo = exports.TargetInfo = exports.BacklinksSummaryLiveRequestInfo = exports.BacklinksIndexResponseInfo = exports.BacklinksIndexTaskInfo = exports.BacklinksIndexResultInfo = exports.IndexHistory = exports.BacklinksAvailableFiltersResponseInfo = exports.BacklinksAvailableFiltersTaskInfo = exports.BacklinksAvailableFiltersResultInfo = exports.BacklinksErrorsResponseInfo = exports.BacklinksErrorsTaskInfo = exports.BacklinksErrorsResultInfo = exports.BacklinksErrorsRequestInfo = exports.BacklinksIdListResponseInfo = exports.BacklinksIdListTaskInfo = exports.BacklinksIdListResultInfo = exports.BacklinksIdListRequestInfo = exports.KeywordsDataBingKeywordPerformanceLiveResponseInfo = exports.KeywordsDataBingKeywordPerformanceLiveTaskInfo = void 0;
|
|
33
33
|
exports.BacklinksBulkSpamScoreLiveRequestInfo = exports.BacklinksBulkBacklinksLiveResponseInfo = exports.BacklinksBulkBacklinksLiveTaskInfo = exports.BacklinksBulkBacklinksLiveResultInfo = exports.BacklinksBulkBacklinksLiveItem = exports.BacklinksBulkBacklinksLiveRequestInfo = exports.BacklinksBulkRanksLiveResponseInfo = exports.BacklinksBulkRanksLiveTaskInfo = exports.BacklinksBulkRanksLiveResultInfo = exports.BacklinksBulkRanksLiveItem = exports.BacklinksBulkRanksLiveRequestInfo = exports.BacklinksTimeseriesNewLostSummaryLiveResponseInfo = exports.BacklinksTimeseriesNewLostSummaryLiveTaskInfo = exports.BacklinksTimeseriesNewLostSummaryLiveResultInfo = exports.BacklinksTimeseriesNewLostSummaryLiveItem = exports.BacklinksTimeseriesNewLostSummaryLiveRequestInfo = exports.BacklinksTimeseriesSummaryLiveResponseInfo = exports.BacklinksTimeseriesSummaryLiveTaskInfo = exports.BacklinksTimeseriesSummaryLiveResultInfo = exports.BacklinksTimeseriesSummaryLiveItem = exports.BacklinksTimeseriesSummaryLiveRequestInfo = exports.BacklinksPageIntersectionLiveResponseInfo = exports.BacklinksPageIntersectionLiveTaskInfo = exports.BacklinksPageIntersectionLiveResultInfo = exports.BacklinksPageIntersectionLiveItem = exports.BacklinksPageIntersectionInfo = exports.BacklinksPageIntersectionLiveRequestInfo = exports.BacklinksDomainIntersectionLiveResponseInfo = exports.BacklinksDomainIntersectionLiveTaskInfo = exports.BacklinksDomainIntersectionLiveResultInfo = exports.BacklinksDomainIntersectionLiveItem = exports.IntersectionSummaryInfo = exports.BacklinksDomainIntersectionInfo = exports.BacklinksDomainIntersectionLiveRequestInfo = exports.BacklinksCompetitorsLiveResponseInfo = exports.BacklinksCompetitorsLiveTaskInfo = exports.BacklinksCompetitorsLiveResultInfo = exports.BacklinksCompetitorsLiveItem = exports.BacklinksCompetitorsLiveRequestInfo = exports.BacklinksReferringNetworksLiveResponseInfo = exports.BacklinksReferringNetworksLiveTaskInfo = exports.BacklinksReferringNetworksLiveResultInfo = exports.BacklinksReferringNetworksLiveItem = exports.BacklinksReferringNetworksLiveRequestInfo = exports.BacklinksReferringDomainsLiveResponseInfo = exports.BacklinksReferringDomainsLiveTaskInfo = exports.BacklinksReferringDomainsLiveResultInfo = exports.BacklinksReferringDomainsLiveItem = exports.BacklinksReferringDomainsLiveRequestInfo = exports.BacklinksDomainPagesSummaryLiveResponseInfo = void 0;
|
|
34
34
|
exports.OnPageResourceIssueItemInfo = exports.PageTiming = exports.PageMetaInfo = exports.HtmlContentInfo = exports.OnPagePagesRequestInfo = exports.OnPageSummaryResponseInfo = exports.OnPageSummaryTaskInfo = exports.OnPageSummaryResultInfo = exports.PageMetrics = exports.DomainInfo = exports.SslInfo = exports.OnPageTasksReadyResponseInfo = exports.OnPageTasksReadyTaskInfo = exports.OnPageTasksReadyResultInfo = exports.OnPageTaskPostResponseInfo = exports.OnPageTaskPostTaskInfo = exports.MerchantTaskRequestInfo = exports.OnPageAvailableFiltersResponseInfo = exports.OnPageAvailableFiltersTaskInfo = exports.OnPageAvailableFiltersResultInfo = exports.OnPageForceStopResponseInfo = exports.OnPageForceStopTaskInfo = exports.OnPageForceStopRequestInfo = exports.OnPageErrorsResponseInfo = exports.OnPageErrorsTaskInfo = exports.OnPageErrorsResultInfo = exports.OnPageErrorsRequestInfo = exports.OnPageIdListResponseInfo = exports.OnPageIdListTaskInfo = exports.OnPageIdListResultInfo = exports.OnPageIdListRequestInfo = exports.BacklinksBulkNewLostReferringDomainsLiveResponseInfo = exports.BacklinksBulkNewLostReferringDomainsLiveTaskInfo = exports.BacklinksBulkNewLostReferringDomainsLiveResultInfo = exports.BacklinksBulkNewLostReferringDomainsLiveItem = exports.BacklinksBulkNewLostReferringDomainsLiveRequestInfo = exports.BacklinksBulkNewLostBacklinksLiveResponseInfo = exports.BacklinksBulkNewLostBacklinksLiveTaskInfo = exports.BacklinksBulkNewLostBacklinksLiveResultInfo = exports.BacklinksBulkNewLostBacklinksLiveItem = exports.BacklinksBulkNewLostBacklinksLiveRequestInfo = exports.BacklinksBulkReferringDomainsLiveResponseInfo = exports.BacklinksBulkReferringDomainsLiveTaskInfo = exports.BacklinksBulkReferringDomainsLiveResultInfo = exports.BacklinksBulkReferringDomainsLiveItem = exports.BacklinksBulkReferringDomainsLiveRequestInfo = exports.BacklinksBulkSpamScoreLiveResponseInfo = exports.BacklinksBulkSpamScoreLiveTaskInfo = exports.BacklinksBulkSpamScoreLiveResultInfo = exports.BacklinksBulkSpamScoreLiveItem = void 0;
|
|
35
|
-
exports.OnPageNonIndexableResponseInfo = exports.OnPageNonIndexableTaskInfo = exports.OnPageNonIndexableResultInfo = exports.OnPageNonIndexableItem = exports.OnPageNonIndexableRequestInfo = exports.OnPageRedirectChainsResponseInfo = exports.OnPageRedirectChainsTaskInfo = exports.OnPageRedirectChainsResultInfo = exports.OnPageRedirectChainsItem = exports.RedirectLinkElementItem = exports.OnPageRedirectChainsRequestInfo = exports.OnPageLinksResponseInfo = exports.AlternateLinkElementItem = exports.ImageLinkElementItem = exports.OnPageLinksTaskInfo = exports.OnPageLinksResultInfo = exports.AnchorLinkElementItem = exports.OnPageLinksRequestInfo = exports.OnPageDuplicateContentResponseInfo = exports.OnPageDuplicateContentTaskInfo = exports.OnPageDuplicateContentResultInfo = exports.OnPageDuplicateContentItem = exports.Pages = exports.OnPageDuplicateContentRequestInfo = exports.OnPageDuplicateTagsResponseInfo = exports.OnPageDuplicateTagsTaskInfo = exports.OnPageDuplicateTagsResultInfo = exports.OnPageDuplicateTagsItem = exports.OnPageDuplicateTagsRequestInfo = exports.OnPageResourcesResponseInfo = exports.BrokenResourceElementItem = exports.ImageResourceElementItem = exports.
|
|
35
|
+
exports.OnPageNonIndexableResponseInfo = exports.OnPageNonIndexableTaskInfo = exports.OnPageNonIndexableResultInfo = exports.OnPageNonIndexableItem = exports.OnPageNonIndexableRequestInfo = exports.OnPageRedirectChainsResponseInfo = exports.OnPageRedirectChainsTaskInfo = exports.OnPageRedirectChainsResultInfo = exports.OnPageRedirectChainsItem = exports.RedirectLinkElementItem = exports.OnPageRedirectChainsRequestInfo = exports.OnPageLinksResponseInfo = exports.AlternateLinkElementItem = exports.ImageLinkElementItem = exports.OnPageLinksTaskInfo = exports.OnPageLinksResultInfo = exports.AnchorLinkElementItem = exports.OnPageLinksRequestInfo = exports.OnPageDuplicateContentResponseInfo = exports.OnPageDuplicateContentTaskInfo = exports.OnPageDuplicateContentResultInfo = exports.OnPageDuplicateContentItem = exports.Pages = exports.OnPageDuplicateContentRequestInfo = exports.OnPageDuplicateTagsResponseInfo = exports.OnPageDuplicateTagsTaskInfo = exports.OnPageDuplicateTagsResultInfo = exports.OnPageDuplicateTagsItem = exports.OnPageDuplicateTagsRequestInfo = exports.OnPageResourcesResponseInfo = exports.BrokenResourceElementItem = exports.ImageResourceElementItem = exports.OnPageResourcesTaskInfo = exports.OnPageResourcesResultInfo = exports.StylesheetResourceElementItem = exports.ScriptResourceElementItem = exports.FetchTiming = exports.ResourceMetaInfo = exports.OnPageResourcesRequestInfo = exports.OnPagePagesByResourceResponseInfo = exports.OnPagePagesByResourceTaskInfo = exports.OnPagePagesByResourceResultInfo = exports.OnPagePagesByResourceRequestInfo = exports.OnPagePagesResponseInfo = exports.OnPagePagesTaskInfo = exports.OnPagePagesResultInfo = exports.HtmlResourceElementItem = exports.LastModified = exports.CacheControl = exports.OnPageResourceIssueInfo = void 0;
|
|
36
36
|
exports.OnPageLighthouseAuditsTaskInfo = exports.OnPageLighthouseAuditsResultInfo = exports.OnPageLighthouseLanguagesResponseInfo = exports.OnPageLighthouseLanguagesTaskInfo = exports.OnPageLighthouseLanguagesResultInfo = exports.OnPageInstantPagesResponseInfo = exports.OnPageInstantPagesTaskInfo = exports.OnPageInstantPagesResultInfo = exports.OnPageInstantPagesRequestInfo = exports.OnPageContentParsingLiveResponseInfo = exports.OnPageContentParsingLiveTaskInfo = exports.OnPageContentParsingLiveResultInfo = exports.OnPageContentParsingLiveRequestInfo = exports.OnPageContentParsingResponseInfo = exports.OnPageContentParsingTaskInfo = exports.OnPageContentParsingResultInfo = exports.OnPageContentParsingItem = exports.PageContentInfo = exports.TopicInfo = exports.PageSectionContentInfo = exports.ContentItemInfo = exports.OnPageContentParsingRequestInfo = exports.OnPagePageScreenshotResponseInfo = exports.OnPagePageScreenshotTaskInfo = exports.OnPagePageScreenshotResultInfo = exports.OnPagePageScreenshotRequestInfo = exports.OnPageRawHtmlResponseInfo = exports.OnPageRawHtmlTaskInfo = exports.OnPageRawHtmlResultInfo = exports.OnPageRawHtmlItem = exports.OnPageRawHtmlRequestInfo = exports.OnPageMicrodataResponseInfo = exports.OnPageMicrodataTaskInfo = exports.OnPageMicrodataResultInfo = exports.OnPageMicrodataItem = exports.MicrodataInspectionInfo = exports.MicrodataFieldsInfo = exports.MicrodataTestResultsInfo = exports.TestSummary = exports.OnPageMicrodataRequestInfo = exports.OnPageKeywordDensityResponseInfo = exports.OnPageKeywordDensityTaskInfo = exports.OnPageKeywordDensityResultInfo = exports.OnPageKeywordDensityItem = exports.OnPageKeywordDensityRequestInfo = exports.OnPageWaterfallResponseInfo = exports.OnPageWaterfallTaskInfo = exports.OnPageWaterfallResultInfo = exports.OnPageWaterfallItem = exports.OnPageWaterfallRequestInfo = void 0;
|
|
37
37
|
exports.ContentAnalysisRatingDistributionLiveRequestInfo = exports.ContentAnalysisSentimentAnalysisLiveResponseInfo = exports.ContentAnalysisSentimentAnalysisLiveTaskInfo = exports.ContentAnalysisSentimentAnalysisLiveResultInfo = exports.SentimentConnotationDistribution = exports.PositiveConnotationDistribution = exports.ContentAnalysisSentimentAnalysisLiveRequestInfo = exports.ContentAnalysisSummaryLiveResponseInfo = exports.ContentAnalysisSummaryLiveTaskInfo = exports.ContentAnalysisSummaryInfo = exports.ContentAnalysisSummaryLiveRequestInfo = exports.ContentAnalysisSearchLiveResponseInfo = exports.ContentAnalysisSearchLiveTaskInfo = exports.ContentAnalysisSearchLiveResultInfo = exports.ContentAnalysisSearchLiveItem = exports.AnalysisContentInfo = exports.ContentAnalysisRatingInfo = exports.ContentAnalysisSearchLiveRequestInfo = exports.ContentAnalysisCategoriesResponseInfo = exports.ContentAnalysisCategoriesTaskInfo = exports.ContentAnalysisCategoriesResultInfo = exports.ContentAnalysisLanguagesResponseInfo = exports.ContentAnalysisLanguagesTaskInfo = exports.ContentAnalysisLanguagesResultInfo = exports.ContentAnalysisLocationsResponseInfo = exports.ContentAnalysisLocationsTaskInfo = exports.ContentAnalysisLocationsResultInfo = exports.ContentAnalysisAvailableFiltersResponseInfo = exports.ContentAnalysisAvailableFiltersTaskInfo = exports.ContentAnalysisAvailableFiltersResultInfo = exports.ContentAnalysisIdListResponseInfo = exports.ContentAnalysisIdListTaskInfo = exports.ContentAnalysisIdListResultInfo = exports.ContentAnalysisIdListRequestInfo = exports.OnPageLighthouseLiveJsonResponseInfo = exports.OnPageLighthouseLiveJsonTaskInfo = exports.OnPageLighthouseLiveJsonRequestInfo = exports.OnPageLighthouseTaskGetJsonResponseInfo = exports.OnPageLighthouseTaskGetJsonTaskInfo = exports.OnPageLighthouseTasksReadyResponseInfo = exports.OnPageLighthouseTasksReadyTaskInfo = exports.OnPageLighthouseTasksReadyResultInfo = exports.OnPageLighthouseTaskPostResponseInfo = exports.OnPageLighthouseTaskPostTaskInfo = exports.OnPageLighthouseTaskPostRequestInfo = exports.OnPageLighthouseVersionsResponseInfo = exports.OnPageLighthouseVersionsTaskInfo = exports.OnPageLighthouseVersionsResultInfo = exports.AvailibleVersions = exports.OnPageLighthouseAuditsResponseInfo = void 0;
|
|
38
38
|
exports.MerchantIdListRequestInfo = exports.ContentGenerationTextSummaryLanguagesResponseInfo = exports.ContentGenerationTextSummaryLanguagesTaskInfo = exports.ContentGenerationTextSummaryLanguagesResultInfo = exports.ContentGenerationTextSummaryLiveResponseInfo = exports.ContentGenerationTextSummaryLiveTaskInfo = exports.ContentGenerationTextSummaryLiveResultInfo = exports.ContentGenerationTextSummaryLiveRequestInfo = exports.ContentGenerationGrammarRulesResponseInfo = exports.ContentGenerationGrammarRulesTaskInfo = exports.ContentGenerationGrammarRulesResultInfo = exports.ContentGenerationCheckGrammarLanguagesResponseInfo = exports.ContentGenerationCheckGrammarLanguagesTaskInfo = exports.ContentGenerationCheckGrammarLanguagesResultInfo = exports.ContentGenerationCheckGrammarLiveResponseInfo = exports.ContentGenerationCheckGrammarLiveTaskInfo = exports.ContentGenerationCheckGrammarLiveResultInfo = exports.ContentGenerationCheckGrammarLiveItem = exports.ContentGenerationCheckGrammarLiveRequestInfo = exports.ContentGenerationParaphraseLiveResponseInfo = exports.ContentGenerationParaphraseLiveTaskInfo = exports.ContentGenerationParaphraseLiveResultInfo = exports.ContentGenerationParaphraseLiveRequestInfo = exports.ContentGenerationGenerateSubTopicsLiveResponseInfo = exports.ContentGenerationGenerateSubTopicsLiveTaskInfo = exports.ContentGenerationGenerateSubTopicsLiveResultInfo = exports.ContentGenerationGenerateSubTopicsLiveRequestInfo = exports.ContentGenerationGenerateMetaTagsLiveResponseInfo = exports.ContentGenerationGenerateMetaTagsLiveTaskInfo = exports.ContentGenerationGenerateMetaTagsLiveResultInfo = exports.ContentGenerationGenerateMetaTagsLiveRequestInfo = exports.ContentGenerationGenerateTextLiveResponseInfo = exports.ContentGenerationGenerateTextLiveTaskInfo = exports.ContentGenerationGenerateTextLiveResultInfo = exports.ContentGenerationGenerateTextLiveRequestInfo = exports.ContentGenerationGenerateLiveResponseInfo = exports.ContentGenerationGenerateLiveTaskInfo = exports.ContentGenerationGenerateLiveResultInfo = exports.ContentGenerationGenerateLiveRequestInfo = exports.ContentAnalysisCategoryTrendsLiveResponseInfo = exports.ContentAnalysisCategoryTrendsLiveTaskInfo = exports.ContentAnalysisCategoryTrendsLiveResultInfo = exports.ContentAnalysisCategoryTrendsLiveRequestInfo = exports.ContentAnalysisPhraseTrendsLiveResponseInfo = exports.ContentAnalysisPhraseTrendsLiveTaskInfo = exports.ContentAnalysisPhraseTrendsLiveResultInfo = exports.ContentAnalysisPhraseTrendsLiveRequestInfo = exports.ContentAnalysisRatingDistributionLiveResponseInfo = exports.ContentAnalysisRatingDistributionLiveTaskInfo = exports.ContentAnalysisRatingDistributionLiveResultInfo = void 0;
|
|
@@ -20856,13 +20856,13 @@ class BaseOnPageResourceItemInfo {
|
|
|
20856
20856
|
result.init(data);
|
|
20857
20857
|
return result;
|
|
20858
20858
|
}
|
|
20859
|
-
if (data["resource_type"] === "
|
|
20860
|
-
let result = new
|
|
20859
|
+
if (data["resource_type"] === "script") {
|
|
20860
|
+
let result = new ScriptResourceElementItem();
|
|
20861
20861
|
result.init(data);
|
|
20862
20862
|
return result;
|
|
20863
20863
|
}
|
|
20864
|
-
if (data["resource_type"] === "
|
|
20865
|
-
let result = new
|
|
20864
|
+
if (data["resource_type"] === "stylesheet") {
|
|
20865
|
+
let result = new StylesheetResourceElementItem();
|
|
20866
20866
|
result.init(data);
|
|
20867
20867
|
return result;
|
|
20868
20868
|
}
|
|
@@ -27641,6 +27641,7 @@ class PopularProductsElement {
|
|
|
27641
27641
|
this.type = _data["type"];
|
|
27642
27642
|
this.title = _data["title"];
|
|
27643
27643
|
this.description = _data["description"];
|
|
27644
|
+
this.seller = _data["seller"];
|
|
27644
27645
|
this.price = _data["price"] ? PriceInfo.fromJS(_data["price"]) : undefined;
|
|
27645
27646
|
this.rating = _data["rating"] ? RatingInfo.fromJS(_data["rating"]) : undefined;
|
|
27646
27647
|
}
|
|
@@ -27660,6 +27661,7 @@ class PopularProductsElement {
|
|
|
27660
27661
|
data["type"] = this.type;
|
|
27661
27662
|
data["title"] = this.title;
|
|
27662
27663
|
data["description"] = this.description;
|
|
27664
|
+
data["seller"] = this.seller;
|
|
27663
27665
|
data["price"] = this.price ? this.price.toJSON() : undefined;
|
|
27664
27666
|
data["rating"] = this.rating ? this.rating.toJSON() : undefined;
|
|
27665
27667
|
return data;
|
|
@@ -88259,6 +88261,83 @@ class FetchTiming {
|
|
|
88259
88261
|
}
|
|
88260
88262
|
}
|
|
88261
88263
|
exports.FetchTiming = FetchTiming;
|
|
88264
|
+
class ScriptResourceElementItem extends BaseOnPageResourceItemInfo {
|
|
88265
|
+
constructor(data) {
|
|
88266
|
+
super(data);
|
|
88267
|
+
this._discriminator = "script";
|
|
88268
|
+
}
|
|
88269
|
+
init(_data) {
|
|
88270
|
+
super.init(_data);
|
|
88271
|
+
if (_data) {
|
|
88272
|
+
for (var property in _data) {
|
|
88273
|
+
if (_data.hasOwnProperty(property))
|
|
88274
|
+
this[property] = _data[property];
|
|
88275
|
+
}
|
|
88276
|
+
this.meta = _data["meta"] ? ResourceMetaInfo.fromJS(_data["meta"]) : undefined;
|
|
88277
|
+
this.status_code = _data["status_code"];
|
|
88278
|
+
this.location = _data["location"];
|
|
88279
|
+
this.url = _data["url"];
|
|
88280
|
+
this.size = _data["size"];
|
|
88281
|
+
this.encoded_size = _data["encoded_size"];
|
|
88282
|
+
this.total_transfer_size = _data["total_transfer_size"];
|
|
88283
|
+
this.fetch_time = _data["fetch_time"];
|
|
88284
|
+
this.fetch_timing = _data["fetch_timing"] ? FetchTiming.fromJS(_data["fetch_timing"]) : undefined;
|
|
88285
|
+
this.cache_control = _data["cache_control"] ? CacheControl.fromJS(_data["cache_control"]) : undefined;
|
|
88286
|
+
if (_data["checks"]) {
|
|
88287
|
+
this.checks = {};
|
|
88288
|
+
for (let key in _data["checks"]) {
|
|
88289
|
+
if (_data["checks"].hasOwnProperty(key))
|
|
88290
|
+
this.checks[key] = _data["checks"][key];
|
|
88291
|
+
}
|
|
88292
|
+
}
|
|
88293
|
+
this.resource_errors = _data["resource_errors"] ? OnPageResourceIssueInfo.fromJS(_data["resource_errors"]) : undefined;
|
|
88294
|
+
this.content_encoding = _data["content_encoding"];
|
|
88295
|
+
this.media_type = _data["media_type"];
|
|
88296
|
+
this.accept_type = _data["accept_type"];
|
|
88297
|
+
this.server = _data["server"];
|
|
88298
|
+
this.last_modified = _data["last_modified"] ? LastModified.fromJS(_data["last_modified"]) : undefined;
|
|
88299
|
+
}
|
|
88300
|
+
}
|
|
88301
|
+
static fromJS(data) {
|
|
88302
|
+
data = typeof data === 'object' ? data : {};
|
|
88303
|
+
let result = new ScriptResourceElementItem();
|
|
88304
|
+
result.init(data);
|
|
88305
|
+
return result;
|
|
88306
|
+
}
|
|
88307
|
+
toJSON(data) {
|
|
88308
|
+
data = typeof data === 'object' ? data : {};
|
|
88309
|
+
for (var property in this) {
|
|
88310
|
+
if (this.hasOwnProperty(property))
|
|
88311
|
+
data[property] = this[property];
|
|
88312
|
+
}
|
|
88313
|
+
data["meta"] = this.meta ? this.meta.toJSON() : undefined;
|
|
88314
|
+
data["status_code"] = this.status_code;
|
|
88315
|
+
data["location"] = this.location;
|
|
88316
|
+
data["url"] = this.url;
|
|
88317
|
+
data["size"] = this.size;
|
|
88318
|
+
data["encoded_size"] = this.encoded_size;
|
|
88319
|
+
data["total_transfer_size"] = this.total_transfer_size;
|
|
88320
|
+
data["fetch_time"] = this.fetch_time;
|
|
88321
|
+
data["fetch_timing"] = this.fetch_timing ? this.fetch_timing.toJSON() : undefined;
|
|
88322
|
+
data["cache_control"] = this.cache_control ? this.cache_control.toJSON() : undefined;
|
|
88323
|
+
if (this.checks) {
|
|
88324
|
+
data["checks"] = {};
|
|
88325
|
+
for (let key in this.checks) {
|
|
88326
|
+
if (this.checks.hasOwnProperty(key))
|
|
88327
|
+
data["checks"][key] = this.checks[key];
|
|
88328
|
+
}
|
|
88329
|
+
}
|
|
88330
|
+
data["resource_errors"] = this.resource_errors ? this.resource_errors.toJSON() : undefined;
|
|
88331
|
+
data["content_encoding"] = this.content_encoding;
|
|
88332
|
+
data["media_type"] = this.media_type;
|
|
88333
|
+
data["accept_type"] = this.accept_type;
|
|
88334
|
+
data["server"] = this.server;
|
|
88335
|
+
data["last_modified"] = this.last_modified ? this.last_modified.toJSON() : undefined;
|
|
88336
|
+
super.toJSON(data);
|
|
88337
|
+
return data;
|
|
88338
|
+
}
|
|
88339
|
+
}
|
|
88340
|
+
exports.ScriptResourceElementItem = ScriptResourceElementItem;
|
|
88262
88341
|
class StylesheetResourceElementItem extends BaseOnPageResourceItemInfo {
|
|
88263
88342
|
constructor(data) {
|
|
88264
88343
|
super(data);
|
|
@@ -88437,83 +88516,6 @@ class OnPageResourcesTaskInfo extends BaseResponseTaskInfo {
|
|
|
88437
88516
|
}
|
|
88438
88517
|
}
|
|
88439
88518
|
exports.OnPageResourcesTaskInfo = OnPageResourcesTaskInfo;
|
|
88440
|
-
class ScriptResourceElementItem extends BaseOnPageResourceItemInfo {
|
|
88441
|
-
constructor(data) {
|
|
88442
|
-
super(data);
|
|
88443
|
-
this._discriminator = "script";
|
|
88444
|
-
}
|
|
88445
|
-
init(_data) {
|
|
88446
|
-
super.init(_data);
|
|
88447
|
-
if (_data) {
|
|
88448
|
-
for (var property in _data) {
|
|
88449
|
-
if (_data.hasOwnProperty(property))
|
|
88450
|
-
this[property] = _data[property];
|
|
88451
|
-
}
|
|
88452
|
-
this.meta = _data["meta"] ? ResourceMetaInfo.fromJS(_data["meta"]) : undefined;
|
|
88453
|
-
this.status_code = _data["status_code"];
|
|
88454
|
-
this.location = _data["location"];
|
|
88455
|
-
this.url = _data["url"];
|
|
88456
|
-
this.size = _data["size"];
|
|
88457
|
-
this.encoded_size = _data["encoded_size"];
|
|
88458
|
-
this.total_transfer_size = _data["total_transfer_size"];
|
|
88459
|
-
this.fetch_time = _data["fetch_time"];
|
|
88460
|
-
this.fetch_timing = _data["fetch_timing"] ? FetchTiming.fromJS(_data["fetch_timing"]) : undefined;
|
|
88461
|
-
this.cache_control = _data["cache_control"] ? CacheControl.fromJS(_data["cache_control"]) : undefined;
|
|
88462
|
-
if (_data["checks"]) {
|
|
88463
|
-
this.checks = {};
|
|
88464
|
-
for (let key in _data["checks"]) {
|
|
88465
|
-
if (_data["checks"].hasOwnProperty(key))
|
|
88466
|
-
this.checks[key] = _data["checks"][key];
|
|
88467
|
-
}
|
|
88468
|
-
}
|
|
88469
|
-
this.content_encoding = _data["content_encoding"];
|
|
88470
|
-
this.media_type = _data["media_type"];
|
|
88471
|
-
this.accept_type = _data["accept_type"];
|
|
88472
|
-
this.server = _data["server"];
|
|
88473
|
-
this.last_modified = _data["last_modified"] ? LastModified.fromJS(_data["last_modified"]) : undefined;
|
|
88474
|
-
this.resource_errors = _data["resource_errors"] ? OnPageResourceIssueInfo.fromJS(_data["resource_errors"]) : undefined;
|
|
88475
|
-
}
|
|
88476
|
-
}
|
|
88477
|
-
static fromJS(data) {
|
|
88478
|
-
data = typeof data === 'object' ? data : {};
|
|
88479
|
-
let result = new ScriptResourceElementItem();
|
|
88480
|
-
result.init(data);
|
|
88481
|
-
return result;
|
|
88482
|
-
}
|
|
88483
|
-
toJSON(data) {
|
|
88484
|
-
data = typeof data === 'object' ? data : {};
|
|
88485
|
-
for (var property in this) {
|
|
88486
|
-
if (this.hasOwnProperty(property))
|
|
88487
|
-
data[property] = this[property];
|
|
88488
|
-
}
|
|
88489
|
-
data["meta"] = this.meta ? this.meta.toJSON() : undefined;
|
|
88490
|
-
data["status_code"] = this.status_code;
|
|
88491
|
-
data["location"] = this.location;
|
|
88492
|
-
data["url"] = this.url;
|
|
88493
|
-
data["size"] = this.size;
|
|
88494
|
-
data["encoded_size"] = this.encoded_size;
|
|
88495
|
-
data["total_transfer_size"] = this.total_transfer_size;
|
|
88496
|
-
data["fetch_time"] = this.fetch_time;
|
|
88497
|
-
data["fetch_timing"] = this.fetch_timing ? this.fetch_timing.toJSON() : undefined;
|
|
88498
|
-
data["cache_control"] = this.cache_control ? this.cache_control.toJSON() : undefined;
|
|
88499
|
-
if (this.checks) {
|
|
88500
|
-
data["checks"] = {};
|
|
88501
|
-
for (let key in this.checks) {
|
|
88502
|
-
if (this.checks.hasOwnProperty(key))
|
|
88503
|
-
data["checks"][key] = this.checks[key];
|
|
88504
|
-
}
|
|
88505
|
-
}
|
|
88506
|
-
data["content_encoding"] = this.content_encoding;
|
|
88507
|
-
data["media_type"] = this.media_type;
|
|
88508
|
-
data["accept_type"] = this.accept_type;
|
|
88509
|
-
data["server"] = this.server;
|
|
88510
|
-
data["last_modified"] = this.last_modified ? this.last_modified.toJSON() : undefined;
|
|
88511
|
-
data["resource_errors"] = this.resource_errors ? this.resource_errors.toJSON() : undefined;
|
|
88512
|
-
super.toJSON(data);
|
|
88513
|
-
return data;
|
|
88514
|
-
}
|
|
88515
|
-
}
|
|
88516
|
-
exports.ScriptResourceElementItem = ScriptResourceElementItem;
|
|
88517
88519
|
class ImageResourceElementItem extends BaseOnPageResourceItemInfo {
|
|
88518
88520
|
constructor(data) {
|
|
88519
88521
|
super(data);
|
|
@@ -99287,7 +99289,6 @@ class BuyOnGoogleMerchantSerpElementItem extends BaseMerchantSerpElementItem {
|
|
|
99287
99289
|
this.seller_name = _data["seller_name"];
|
|
99288
99290
|
this.rating = _data["rating"] ? RatingElement.fromJS(_data["rating"]) : undefined;
|
|
99289
99291
|
this.shop_ad_aclk = _data["shop_ad_aclk"];
|
|
99290
|
-
this.product_condition = _data["product_condition"];
|
|
99291
99292
|
}
|
|
99292
99293
|
}
|
|
99293
99294
|
static fromJS(data) {
|
|
@@ -99318,7 +99319,6 @@ class BuyOnGoogleMerchantSerpElementItem extends BaseMerchantSerpElementItem {
|
|
|
99318
99319
|
data["seller_name"] = this.seller_name;
|
|
99319
99320
|
data["rating"] = this.rating ? this.rating.toJSON() : undefined;
|
|
99320
99321
|
data["shop_ad_aclk"] = this.shop_ad_aclk;
|
|
99321
|
-
data["product_condition"] = this.product_condition;
|
|
99322
99322
|
super.toJSON(data);
|
|
99323
99323
|
return data;
|
|
99324
99324
|
}
|