@sp-api-sdk/customer-feedback-api-2024-06-01 1.1.0 → 1.1.1
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/dist/cjs/api-model/api/customer-feedback-api.js +0 -13
- package/dist/cjs/api-model/base.js +0 -19
- package/dist/cjs/api-model/common.js +0 -37
- package/dist/cjs/api-model/configuration.js +0 -17
- package/dist/es/api-model/api/customer-feedback-api.js +0 -13
- package/dist/es/api-model/base.js +0 -19
- package/dist/es/api-model/common.js +0 -37
- package/dist/es/api-model/configuration.js +0 -17
- package/dist/types/api-model/api/customer-feedback-api.d.ts +0 -59
- package/dist/types/api-model/base.d.ts +0 -24
- package/dist/types/api-model/common.d.ts +0 -37
- package/dist/types/api-model/configuration.d.ts +0 -17
- package/dist/types/api-model/models/browse-node-all-occurrence.d.ts +0 -6
- package/dist/types/api-model/models/browse-node-all-star-rating-impact.d.ts +0 -6
- package/dist/types/api-model/models/browse-node-occurrence.d.ts +0 -4
- package/dist/types/api-model/models/browse-node-response.d.ts +0 -6
- package/dist/types/api-model/models/browse-node-return-topics-response.d.ts +0 -17
- package/dist/types/api-model/models/browse-node-return-topics.d.ts +0 -9
- package/dist/types/api-model/models/browse-node-return-trend-point.d.ts +0 -12
- package/dist/types/api-model/models/browse-node-return-trend.d.ts +0 -6
- package/dist/types/api-model/models/browse-node-return-trends-response.d.ts +0 -17
- package/dist/types/api-model/models/browse-node-review-subtopic-metrics.d.ts +0 -4
- package/dist/types/api-model/models/browse-node-review-topic-metrics.d.ts +0 -12
- package/dist/types/api-model/models/browse-node-review-topic.d.ts +0 -13
- package/dist/types/api-model/models/browse-node-review-topics-response.d.ts +0 -20
- package/dist/types/api-model/models/browse-node-review-topics.d.ts +0 -6
- package/dist/types/api-model/models/browse-node-review-trend-metrics.d.ts +0 -7
- package/dist/types/api-model/models/browse-node-review-trend-point.d.ts +0 -12
- package/dist/types/api-model/models/browse-node-review-trend.d.ts +0 -6
- package/dist/types/api-model/models/browse-node-review-trends-response.d.ts +0 -20
- package/dist/types/api-model/models/browse-node-review-trends.d.ts +0 -6
- package/dist/types/api-model/models/browse-node-star-rating-impact.d.ts +0 -4
- package/dist/types/api-model/models/browse-node-subtopic.d.ts +0 -11
- package/dist/types/api-model/models/browse-node-trend-metrics.d.ts +0 -7
- package/dist/types/api-model/models/child-asin-mention-metrics.d.ts +0 -6
- package/dist/types/api-model/models/child-asin-metrics.d.ts +0 -12
- package/dist/types/api-model/models/date-range.d.ts +0 -6
- package/dist/types/api-model/models/error-list.d.ts +0 -4
- package/dist/types/api-model/models/item-review-browse-node-metrics.d.ts +0 -12
- package/dist/types/api-model/models/item-review-subtopic-metrics.d.ts +0 -6
- package/dist/types/api-model/models/item-review-subtopic.d.ts +0 -11
- package/dist/types/api-model/models/item-review-topic-metrics.d.ts +0 -8
- package/dist/types/api-model/models/item-review-topic.d.ts +0 -28
- package/dist/types/api-model/models/item-review-topics-response.d.ts +0 -20
- package/dist/types/api-model/models/item-review-topics.d.ts +0 -6
- package/dist/types/api-model/models/item-review-trend-point.d.ts +0 -22
- package/dist/types/api-model/models/item-review-trend.d.ts +0 -6
- package/dist/types/api-model/models/item-review-trends-response.d.ts +0 -20
- package/dist/types/api-model/models/item-review-trends.d.ts +0 -6
- package/dist/types/api-model/models/model-error.d.ts +0 -8
- package/dist/types/api-model/models/review-trend-metrics.d.ts +0 -4
- package/package.json +25 -4
|
@@ -13,32 +13,19 @@ import type { BrowseNodeReviewTopicMetrics } from './browse-node-review-topic-me
|
|
|
13
13
|
import type { BrowseNodeSubtopic } from './browse-node-subtopic';
|
|
14
14
|
/**
|
|
15
15
|
* The browse node review topic.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface BrowseNodeReviewTopic
|
|
18
16
|
*/
|
|
19
17
|
export interface BrowseNodeReviewTopic {
|
|
20
18
|
/**
|
|
21
19
|
* The name browse node review topic.
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof BrowseNodeReviewTopic
|
|
24
20
|
*/
|
|
25
21
|
'topic': string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {BrowseNodeReviewTopicMetrics}
|
|
29
|
-
* @memberof BrowseNodeReviewTopic
|
|
30
|
-
*/
|
|
31
22
|
'browseNodeMetrics': BrowseNodeReviewTopicMetrics;
|
|
32
23
|
/**
|
|
33
24
|
* A list of up to three snippets from reviews that contain the topic. This value is `null` if there aren\'t enough review snippets for the topic.
|
|
34
|
-
* @type {Array<string>}
|
|
35
|
-
* @memberof BrowseNodeReviewTopic
|
|
36
25
|
*/
|
|
37
26
|
'reviewSnippets'?: Array<string>;
|
|
38
27
|
/**
|
|
39
28
|
* A list of the five subtopics that occur most frequently. This value is `null` if there are no subtopics.
|
|
40
|
-
* @type {Array<BrowseNodeSubtopic>}
|
|
41
|
-
* @memberof BrowseNodeReviewTopic
|
|
42
29
|
*/
|
|
43
30
|
'subtopics'?: Array<BrowseNodeSubtopic>;
|
|
44
31
|
}
|
|
@@ -13,44 +13,24 @@ import type { BrowseNodeReviewTopics } from './browse-node-review-topics';
|
|
|
13
13
|
import type { DateRange } from './date-range';
|
|
14
14
|
/**
|
|
15
15
|
* The response for the `getBrowseNodeReviewTopics` operation.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface BrowseNodeReviewTopicsResponse
|
|
18
16
|
*/
|
|
19
17
|
export interface BrowseNodeReviewTopicsResponse {
|
|
20
18
|
/**
|
|
21
19
|
* The requested browse node id. A browse node id is the unique identifier of a given browse node.
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof BrowseNodeReviewTopicsResponse
|
|
24
20
|
*/
|
|
25
21
|
'browseNodeId': string;
|
|
26
22
|
/**
|
|
27
23
|
* The display name of the requested browse node id. The display name of the browse node as visible on the Amazon retail website.
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof BrowseNodeReviewTopicsResponse
|
|
30
24
|
*/
|
|
31
25
|
'displayName': string;
|
|
32
26
|
/**
|
|
33
27
|
* The requested marketplace id.
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof BrowseNodeReviewTopicsResponse
|
|
36
28
|
*/
|
|
37
29
|
'marketplaceId': string;
|
|
38
30
|
/**
|
|
39
31
|
* The two digit country code of requested marketplace id, in ISO 3166-1 alpha-2 format.
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof BrowseNodeReviewTopicsResponse
|
|
42
32
|
*/
|
|
43
33
|
'countryCode': string;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {DateRange}
|
|
47
|
-
* @memberof BrowseNodeReviewTopicsResponse
|
|
48
|
-
*/
|
|
49
34
|
'dateRange': DateRange;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {BrowseNodeReviewTopics}
|
|
53
|
-
* @memberof BrowseNodeReviewTopicsResponse
|
|
54
|
-
*/
|
|
55
35
|
'topics': BrowseNodeReviewTopics;
|
|
56
36
|
}
|
|
@@ -12,20 +12,14 @@
|
|
|
12
12
|
import type { BrowseNodeReviewTopic } from './browse-node-review-topic';
|
|
13
13
|
/**
|
|
14
14
|
* The 10 most positive and most negative review topics for all items in a browse node.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface BrowseNodeReviewTopics
|
|
17
15
|
*/
|
|
18
16
|
export interface BrowseNodeReviewTopics {
|
|
19
17
|
/**
|
|
20
18
|
* A list of the most positive review topics. When the `sortBy` query parameter is set to `MENTIONS`, the number of reviews of items within the requested browse node that mention the topic determine the topic\'s placement in the list. When `sortBy` is set to `STAR_RATING_IMPACT`, the effect that the topic has on the star rating of items within the requested browse node determine placement in the list. This value is `null` if there are not enough positive reviews for the requested browse node. **Max length:** 10
|
|
21
|
-
* @type {Array<BrowseNodeReviewTopic>}
|
|
22
|
-
* @memberof BrowseNodeReviewTopics
|
|
23
19
|
*/
|
|
24
20
|
'positiveTopics'?: Array<BrowseNodeReviewTopic>;
|
|
25
21
|
/**
|
|
26
22
|
* A list of the most negative review topics. When the `sortBy` query parameter is set to `MENTIONS`, the number of reviews of items within the requested browse node that mention the topic determine the topic\'s placement in the list. When `sortBy` is set to `STAR_RATING_IMPACT`, the effect that the topic has on the star rating of items within the requested browse node determine placement in the list. This value is `null` if there are not enough negative reviews for the requested browse node. **Max length:** 10
|
|
27
|
-
* @type {Array<BrowseNodeReviewTopic>}
|
|
28
|
-
* @memberof BrowseNodeReviewTopics
|
|
29
23
|
*/
|
|
30
24
|
'negativeTopics'?: Array<BrowseNodeReviewTopic>;
|
|
31
25
|
}
|
|
@@ -12,14 +12,7 @@
|
|
|
12
12
|
import type { BrowseNodeAllOccurrence } from './browse-node-all-occurrence';
|
|
13
13
|
/**
|
|
14
14
|
* The browse node review topic metrics.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface BrowseNodeReviewTrendMetrics
|
|
17
15
|
*/
|
|
18
16
|
export interface BrowseNodeReviewTrendMetrics {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {BrowseNodeAllOccurrence}
|
|
22
|
-
* @memberof BrowseNodeReviewTrendMetrics
|
|
23
|
-
*/
|
|
24
17
|
'occurrencePercentage': BrowseNodeAllOccurrence;
|
|
25
18
|
}
|
|
@@ -13,20 +13,8 @@ import type { BrowseNodeReviewTrendMetrics } from './browse-node-review-trend-me
|
|
|
13
13
|
import type { DateRange } from './date-range';
|
|
14
14
|
/**
|
|
15
15
|
* The browse node\'s review metrics for a certain month.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface BrowseNodeReviewTrendPoint
|
|
18
16
|
*/
|
|
19
17
|
export interface BrowseNodeReviewTrendPoint {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {DateRange}
|
|
23
|
-
* @memberof BrowseNodeReviewTrendPoint
|
|
24
|
-
*/
|
|
25
18
|
'dateRange': DateRange;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {BrowseNodeReviewTrendMetrics}
|
|
29
|
-
* @memberof BrowseNodeReviewTrendPoint
|
|
30
|
-
*/
|
|
31
19
|
'browseNodeMetrics': BrowseNodeReviewTrendMetrics;
|
|
32
20
|
}
|
|
@@ -12,20 +12,14 @@
|
|
|
12
12
|
import type { BrowseNodeReviewTrendPoint } from './browse-node-review-trend-point';
|
|
13
13
|
/**
|
|
14
14
|
* The trend of review topic metrics for all items in the requested browse node.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface BrowseNodeReviewTrend
|
|
17
15
|
*/
|
|
18
16
|
export interface BrowseNodeReviewTrend {
|
|
19
17
|
/**
|
|
20
18
|
* The name of the topic.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof BrowseNodeReviewTrend
|
|
23
19
|
*/
|
|
24
20
|
'topic': string;
|
|
25
21
|
/**
|
|
26
22
|
* The browse node\'s review trend metrics for the past six months.
|
|
27
|
-
* @type {Array<BrowseNodeReviewTrendPoint>}
|
|
28
|
-
* @memberof BrowseNodeReviewTrend
|
|
29
23
|
*/
|
|
30
24
|
'trendMetrics': Array<BrowseNodeReviewTrendPoint>;
|
|
31
25
|
}
|
|
@@ -13,44 +13,24 @@ import type { BrowseNodeReviewTrends } from './browse-node-review-trends';
|
|
|
13
13
|
import type { DateRange } from './date-range';
|
|
14
14
|
/**
|
|
15
15
|
* The response for the `getBrowseNodeReviewTrends` operation.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface BrowseNodeReviewTrendsResponse
|
|
18
16
|
*/
|
|
19
17
|
export interface BrowseNodeReviewTrendsResponse {
|
|
20
18
|
/**
|
|
21
19
|
* The requested browse node id. A browse node id is the unique identifier of a given browse node.
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof BrowseNodeReviewTrendsResponse
|
|
24
20
|
*/
|
|
25
21
|
'browseNodeId': string;
|
|
26
22
|
/**
|
|
27
23
|
* The display name of the requested browse node id. The display name of the browse node as visible on the Amazon retail website.
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof BrowseNodeReviewTrendsResponse
|
|
30
24
|
*/
|
|
31
25
|
'displayName': string;
|
|
32
26
|
/**
|
|
33
27
|
* The requested marketplace id.
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof BrowseNodeReviewTrendsResponse
|
|
36
28
|
*/
|
|
37
29
|
'marketplaceId': string;
|
|
38
30
|
/**
|
|
39
31
|
* The two digit country code of requested marketplace id, in ISO 3166-1 alpha-2 format.
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof BrowseNodeReviewTrendsResponse
|
|
42
32
|
*/
|
|
43
33
|
'countryCode': string;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {DateRange}
|
|
47
|
-
* @memberof BrowseNodeReviewTrendsResponse
|
|
48
|
-
*/
|
|
49
34
|
'dateRange': DateRange;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {BrowseNodeReviewTrends}
|
|
53
|
-
* @memberof BrowseNodeReviewTrendsResponse
|
|
54
|
-
*/
|
|
55
35
|
'reviewTrends': BrowseNodeReviewTrends;
|
|
56
36
|
}
|
|
@@ -12,20 +12,14 @@
|
|
|
12
12
|
import type { BrowseNodeReviewTrend } from './browse-node-review-trend';
|
|
13
13
|
/**
|
|
14
14
|
* The 10 most positive and most negative review topics for all items in a browse node.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface BrowseNodeReviewTrends
|
|
17
15
|
*/
|
|
18
16
|
export interface BrowseNodeReviewTrends {
|
|
19
17
|
/**
|
|
20
18
|
* The trends of the most positive review topics. The percentage of reviews that contain the topic across all products in the requested browse node determine the topic\'s placement in the list. This value is `null` if there aren\'t enough positive reviews for the requested browse node. **Max length:** 10
|
|
21
|
-
* @type {Array<BrowseNodeReviewTrend>}
|
|
22
|
-
* @memberof BrowseNodeReviewTrends
|
|
23
19
|
*/
|
|
24
20
|
'positiveTopics'?: Array<BrowseNodeReviewTrend>;
|
|
25
21
|
/**
|
|
26
22
|
* The trends of the most negative review topics. The percentage of reviews that contain the topic across all products in the requested browse node determine the topic\'s placement in the list. This value is `null` if there aren\'t enough positive reviews for the requested browse node. **Max length:** 10
|
|
27
|
-
* @type {Array<BrowseNodeReviewTrend>}
|
|
28
|
-
* @memberof BrowseNodeReviewTrends
|
|
29
23
|
*/
|
|
30
24
|
'negativeTopics'?: Array<BrowseNodeReviewTrend>;
|
|
31
25
|
}
|
|
@@ -11,14 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The effects of a topic on a browse node\'s star rating.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface BrowseNodeStarRatingImpact
|
|
16
14
|
*/
|
|
17
15
|
export interface BrowseNodeStarRatingImpact {
|
|
18
16
|
/**
|
|
19
17
|
* The effect of the topic on the star rating for all products in this browse node. This value can be positive or negative.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof BrowseNodeStarRatingImpact
|
|
22
18
|
*/
|
|
23
19
|
'allProducts': number;
|
|
24
20
|
}
|
|
@@ -12,26 +12,15 @@
|
|
|
12
12
|
import type { BrowseNodeReviewSubtopicMetrics } from './browse-node-review-subtopic-metrics';
|
|
13
13
|
/**
|
|
14
14
|
* The browse node review subtopic.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface BrowseNodeSubtopic
|
|
17
15
|
*/
|
|
18
16
|
export interface BrowseNodeSubtopic {
|
|
19
17
|
/**
|
|
20
18
|
* The name of the browse node review subtopic.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof BrowseNodeSubtopic
|
|
23
19
|
*/
|
|
24
20
|
'subtopic': string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {BrowseNodeReviewSubtopicMetrics}
|
|
28
|
-
* @memberof BrowseNodeSubtopic
|
|
29
|
-
*/
|
|
30
21
|
'metrics': BrowseNodeReviewSubtopicMetrics;
|
|
31
22
|
/**
|
|
32
23
|
* A list of up to three snippets from reviews that contain the topic. This value is `null` if there aren\'t enough review snippets for the subtopic.
|
|
33
|
-
* @type {Array<string>}
|
|
34
|
-
* @memberof BrowseNodeSubtopic
|
|
35
24
|
*/
|
|
36
25
|
'reviewSnippets'?: Array<string>;
|
|
37
26
|
}
|
|
@@ -12,14 +12,7 @@
|
|
|
12
12
|
import type { BrowseNodeOccurrence } from './browse-node-occurrence';
|
|
13
13
|
/**
|
|
14
14
|
* A single browse node review or return trend metric.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface BrowseNodeTrendMetrics
|
|
17
15
|
*/
|
|
18
16
|
export interface BrowseNodeTrendMetrics {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {BrowseNodeOccurrence}
|
|
22
|
-
* @memberof BrowseNodeTrendMetrics
|
|
23
|
-
*/
|
|
24
17
|
'occurrencePercentage': BrowseNodeOccurrence;
|
|
25
18
|
}
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The child ASIN review topic mention metrics.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ChildAsinMentionMetrics
|
|
16
14
|
*/
|
|
17
15
|
export interface ChildAsinMentionMetrics {
|
|
18
16
|
/**
|
|
19
17
|
* The child ASIN of the requested item.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ChildAsinMentionMetrics
|
|
22
18
|
*/
|
|
23
19
|
'asin': string;
|
|
24
20
|
/**
|
|
25
21
|
* The number of times reviews of the child ASIN mention the topic.
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof ChildAsinMentionMetrics
|
|
28
22
|
*/
|
|
29
23
|
'numberOfMentions': number;
|
|
30
24
|
}
|
|
@@ -12,20 +12,8 @@
|
|
|
12
12
|
import type { ChildAsinMentionMetrics } from './child-asin-mention-metrics';
|
|
13
13
|
/**
|
|
14
14
|
* The review topic metrics for other child ASINs that have the same parent ASIN. This value is `null` if there isn\'t any child ASIN metric data.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ChildAsinMetrics
|
|
17
15
|
*/
|
|
18
16
|
export interface ChildAsinMetrics {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {ChildAsinMentionMetrics}
|
|
22
|
-
* @memberof ChildAsinMetrics
|
|
23
|
-
*/
|
|
24
17
|
'mostMentions'?: ChildAsinMentionMetrics;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {ChildAsinMentionMetrics}
|
|
28
|
-
* @memberof ChildAsinMetrics
|
|
29
|
-
*/
|
|
30
18
|
'leastMentions'?: ChildAsinMentionMetrics;
|
|
31
19
|
}
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* A date range.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface DateRange
|
|
16
14
|
*/
|
|
17
15
|
export interface DateRange {
|
|
18
16
|
/**
|
|
19
17
|
* The start date of the date range in ISO-8601 date/time format.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof DateRange
|
|
22
18
|
*/
|
|
23
19
|
'startDate': string;
|
|
24
20
|
/**
|
|
25
21
|
* The end date of the date range in ISO-8601 date/time format.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof DateRange
|
|
28
22
|
*/
|
|
29
23
|
'endDate': string;
|
|
30
24
|
}
|
|
@@ -11,14 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* A list of error responses returned when a request is unsuccessful.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ErrorList
|
|
16
14
|
*/
|
|
17
15
|
export interface ErrorList {
|
|
18
16
|
/**
|
|
19
17
|
* List of errors.
|
|
20
|
-
* @type {Array<Error>}
|
|
21
|
-
* @memberof ErrorList
|
|
22
18
|
*/
|
|
23
19
|
'errors': Array<Error>;
|
|
24
20
|
}
|
|
@@ -13,20 +13,8 @@ import type { BrowseNodeOccurrence } from './browse-node-occurrence';
|
|
|
13
13
|
import type { BrowseNodeStarRatingImpact } from './browse-node-star-rating-impact';
|
|
14
14
|
/**
|
|
15
15
|
* The browse node review topic metrics.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface ItemReviewBrowseNodeMetrics
|
|
18
16
|
*/
|
|
19
17
|
export interface ItemReviewBrowseNodeMetrics {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {BrowseNodeOccurrence}
|
|
23
|
-
* @memberof ItemReviewBrowseNodeMetrics
|
|
24
|
-
*/
|
|
25
18
|
'occurrencePercentage'?: BrowseNodeOccurrence;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {BrowseNodeStarRatingImpact}
|
|
29
|
-
* @memberof ItemReviewBrowseNodeMetrics
|
|
30
|
-
*/
|
|
31
19
|
'starRatingImpact'?: BrowseNodeStarRatingImpact;
|
|
32
20
|
}
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The item review subtopic metrics.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ItemReviewSubtopicMetrics
|
|
16
14
|
*/
|
|
17
15
|
export interface ItemReviewSubtopicMetrics {
|
|
18
16
|
/**
|
|
19
17
|
* The number of times that reviews mention the subtopic.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof ItemReviewSubtopicMetrics
|
|
22
18
|
*/
|
|
23
19
|
'numberOfMentions': number;
|
|
24
20
|
/**
|
|
25
21
|
* The percentage of reviews that mention the subtopic.
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof ItemReviewSubtopicMetrics
|
|
28
22
|
*/
|
|
29
23
|
'occurrencePercentage': number;
|
|
30
24
|
}
|
|
@@ -12,26 +12,15 @@
|
|
|
12
12
|
import type { ItemReviewSubtopicMetrics } from './item-review-subtopic-metrics';
|
|
13
13
|
/**
|
|
14
14
|
* Details of the subtopic for an item review topic.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ItemReviewSubtopic
|
|
17
15
|
*/
|
|
18
16
|
export interface ItemReviewSubtopic {
|
|
19
17
|
/**
|
|
20
18
|
* The name of the subtopic.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof ItemReviewSubtopic
|
|
23
19
|
*/
|
|
24
20
|
'subtopic': string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {ItemReviewSubtopicMetrics}
|
|
28
|
-
* @memberof ItemReviewSubtopic
|
|
29
|
-
*/
|
|
30
21
|
'metrics': ItemReviewSubtopicMetrics;
|
|
31
22
|
/**
|
|
32
23
|
* A list of up to three snippets from reviews that contain the subtopic. This value is `null` if there aren\'t enough review snippets for the subtopic.
|
|
33
|
-
* @type {Array<string>}
|
|
34
|
-
* @memberof ItemReviewSubtopic
|
|
35
24
|
*/
|
|
36
25
|
'reviewSnippets'?: Array<string>;
|
|
37
26
|
}
|
|
@@ -11,26 +11,18 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The item review topic metrics.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ItemReviewTopicMetrics
|
|
16
14
|
*/
|
|
17
15
|
export interface ItemReviewTopicMetrics {
|
|
18
16
|
/**
|
|
19
17
|
* The number of times that reviews mention the topic. This value is `null` if reviews do not mention the topic frequently enough.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof ItemReviewTopicMetrics
|
|
22
18
|
*/
|
|
23
19
|
'numberOfMentions'?: number;
|
|
24
20
|
/**
|
|
25
21
|
* The percentage of customer reviews that mention the topic. This value is `null` if reviews do not mention the topic frequently enough.
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof ItemReviewTopicMetrics
|
|
28
22
|
*/
|
|
29
23
|
'occurrencePercentage'?: number;
|
|
30
24
|
/**
|
|
31
25
|
* The effect of the topic on the star rating of the ASIN. This value can be positive or negative. This value is `null` if the topic does\'t affect the star rating of the ASIN.
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof ItemReviewTopicMetrics
|
|
34
26
|
*/
|
|
35
27
|
'starRatingImpact'?: number;
|
|
36
28
|
}
|
|
@@ -15,50 +15,22 @@ import type { ItemReviewSubtopic } from './item-review-subtopic';
|
|
|
15
15
|
import type { ItemReviewTopicMetrics } from './item-review-topic-metrics';
|
|
16
16
|
/**
|
|
17
17
|
* Details of item review topic.
|
|
18
|
-
* @export
|
|
19
|
-
* @interface ItemReviewTopic
|
|
20
18
|
*/
|
|
21
19
|
export interface ItemReviewTopic {
|
|
22
20
|
/**
|
|
23
21
|
* The name of the item review topic.
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ItemReviewTopic
|
|
26
22
|
*/
|
|
27
23
|
'topic': string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {ItemReviewTopicMetrics}
|
|
31
|
-
* @memberof ItemReviewTopic
|
|
32
|
-
*/
|
|
33
24
|
'asinMetrics': ItemReviewTopicMetrics;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {ItemReviewTopicMetrics}
|
|
37
|
-
* @memberof ItemReviewTopic
|
|
38
|
-
*/
|
|
39
25
|
'parentAsinMetrics'?: ItemReviewTopicMetrics;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {ItemReviewBrowseNodeMetrics}
|
|
43
|
-
* @memberof ItemReviewTopic
|
|
44
|
-
*/
|
|
45
26
|
'browseNodeMetrics'?: ItemReviewBrowseNodeMetrics;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {ChildAsinMetrics}
|
|
49
|
-
* @memberof ItemReviewTopic
|
|
50
|
-
*/
|
|
51
27
|
'childAsinMetrics'?: ChildAsinMetrics;
|
|
52
28
|
/**
|
|
53
29
|
* A list of up to three snippets from reviews that contain the topic. This value is `null` if there aren\'t enough review snippets for the topic.
|
|
54
|
-
* @type {Array<string>}
|
|
55
|
-
* @memberof ItemReviewTopic
|
|
56
30
|
*/
|
|
57
31
|
'reviewSnippets'?: Array<string>;
|
|
58
32
|
/**
|
|
59
33
|
* A list of up to five top subtopics for the topic. The percentage of customer reviews that mention the subtopic determine the topic\'s placement in the list. This value is `null` if there are no subtopics.
|
|
60
|
-
* @type {Array<ItemReviewSubtopic>}
|
|
61
|
-
* @memberof ItemReviewTopic
|
|
62
34
|
*/
|
|
63
35
|
'subtopics'?: Array<ItemReviewSubtopic>;
|
|
64
36
|
}
|
|
@@ -13,44 +13,24 @@ import type { DateRange } from './date-range';
|
|
|
13
13
|
import type { ItemReviewTopics } from './item-review-topics';
|
|
14
14
|
/**
|
|
15
15
|
* The response for the `getItemReviewTopics` operation.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface ItemReviewTopicsResponse
|
|
18
16
|
*/
|
|
19
17
|
export interface ItemReviewTopicsResponse {
|
|
20
18
|
/**
|
|
21
19
|
* The requested ASIN. The Amazon Standard Identification Number (ASIN) is the unique identifier of a product within a marketplace.
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof ItemReviewTopicsResponse
|
|
24
20
|
*/
|
|
25
21
|
'asin': string;
|
|
26
22
|
/**
|
|
27
23
|
* The product title of the requested ASIN.
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof ItemReviewTopicsResponse
|
|
30
24
|
*/
|
|
31
25
|
'itemName': string;
|
|
32
26
|
/**
|
|
33
27
|
* The requested marketplace id.
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof ItemReviewTopicsResponse
|
|
36
28
|
*/
|
|
37
29
|
'marketplaceId': string;
|
|
38
30
|
/**
|
|
39
31
|
* The two digit country code of the requested marketplace id, in ISO 3166-1 alpha-2 format.
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof ItemReviewTopicsResponse
|
|
42
32
|
*/
|
|
43
33
|
'countryCode': string;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {DateRange}
|
|
47
|
-
* @memberof ItemReviewTopicsResponse
|
|
48
|
-
*/
|
|
49
34
|
'dateRange': DateRange;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {ItemReviewTopics}
|
|
53
|
-
* @memberof ItemReviewTopicsResponse
|
|
54
|
-
*/
|
|
55
35
|
'topics': ItemReviewTopics;
|
|
56
36
|
}
|
|
@@ -12,20 +12,14 @@
|
|
|
12
12
|
import type { ItemReviewTopic } from './item-review-topic';
|
|
13
13
|
/**
|
|
14
14
|
* The top 10 positive and negative item review topics.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ItemReviewTopics
|
|
17
15
|
*/
|
|
18
16
|
export interface ItemReviewTopics {
|
|
19
17
|
/**
|
|
20
18
|
* A list of the most positive review topics. When the `sortBy` query parameter is set to `MENTIONS`, the number of reviews that mention the topic determines the topic\'s placement in the list. When `sortBy` is set to `STAR_RATING_IMPACT`, the effect that the topic has on the star rating of the item determines placement in the list. This value is `null` if there are not enough positive reviews for the specified ASIN. **Max length:** 10
|
|
21
|
-
* @type {Array<ItemReviewTopic>}
|
|
22
|
-
* @memberof ItemReviewTopics
|
|
23
19
|
*/
|
|
24
20
|
'positiveTopics'?: Array<ItemReviewTopic>;
|
|
25
21
|
/**
|
|
26
22
|
* A list of the most negative review topics. When the `sortBy` query parameter is set to `MENTIONS`, the number of reviews that mention the topic determines the topic\'s placement in the list. When `sortBy` is set to `STAR_RATING_IMPACT`, the effect that the topic has on the star rating of the item determines placement in the list. This value is `null` if there are not enough negative reviews for the specified ASIN. **Max length:** 10
|
|
27
|
-
* @type {Array<ItemReviewTopic>}
|
|
28
|
-
* @memberof ItemReviewTopics
|
|
29
23
|
*/
|
|
30
24
|
'negativeTopics'?: Array<ItemReviewTopic>;
|
|
31
25
|
}
|
|
@@ -14,32 +14,10 @@ import type { DateRange } from './date-range';
|
|
|
14
14
|
import type { ReviewTrendMetrics } from './review-trend-metrics';
|
|
15
15
|
/**
|
|
16
16
|
* The review metrics for a certain month.
|
|
17
|
-
* @export
|
|
18
|
-
* @interface ItemReviewTrendPoint
|
|
19
17
|
*/
|
|
20
18
|
export interface ItemReviewTrendPoint {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {DateRange}
|
|
24
|
-
* @memberof ItemReviewTrendPoint
|
|
25
|
-
*/
|
|
26
19
|
'dateRange': DateRange;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {ReviewTrendMetrics}
|
|
30
|
-
* @memberof ItemReviewTrendPoint
|
|
31
|
-
*/
|
|
32
20
|
'asinMetrics': ReviewTrendMetrics;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {ReviewTrendMetrics}
|
|
36
|
-
* @memberof ItemReviewTrendPoint
|
|
37
|
-
*/
|
|
38
21
|
'parentAsinMetrics'?: ReviewTrendMetrics;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {BrowseNodeTrendMetrics}
|
|
42
|
-
* @memberof ItemReviewTrendPoint
|
|
43
|
-
*/
|
|
44
22
|
'browseNodeMetrics'?: BrowseNodeTrendMetrics;
|
|
45
23
|
}
|
|
@@ -12,20 +12,14 @@
|
|
|
12
12
|
import type { ItemReviewTrendPoint } from './item-review-trend-point';
|
|
13
13
|
/**
|
|
14
14
|
* The trend of review topic metrics for the requested item.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ItemReviewTrend
|
|
17
15
|
*/
|
|
18
16
|
export interface ItemReviewTrend {
|
|
19
17
|
/**
|
|
20
18
|
* The name of the item review topic.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof ItemReviewTrend
|
|
23
19
|
*/
|
|
24
20
|
'topic': string;
|
|
25
21
|
/**
|
|
26
22
|
* The item\'s review trend metrics for the past six months.
|
|
27
|
-
* @type {Array<ItemReviewTrendPoint>}
|
|
28
|
-
* @memberof ItemReviewTrend
|
|
29
23
|
*/
|
|
30
24
|
'trendMetrics': Array<ItemReviewTrendPoint>;
|
|
31
25
|
}
|