@sp-api-sdk/customer-feedback-api-2024-06-01 1.1.0
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/LICENSE +21 -0
- package/README.md +99 -0
- package/dist/cjs/api-model/api/customer-feedback-api.js +539 -0
- package/dist/cjs/api-model/api.js +30 -0
- package/dist/cjs/api-model/base.js +71 -0
- package/dist/cjs/api-model/common.js +145 -0
- package/dist/cjs/api-model/configuration.js +104 -0
- package/dist/cjs/api-model/index.js +32 -0
- package/dist/cjs/api-model/models/browse-node-all-occurrence.js +15 -0
- package/dist/cjs/api-model/models/browse-node-all-star-rating-impact.js +15 -0
- package/dist/cjs/api-model/models/browse-node-occurrence.js +15 -0
- package/dist/cjs/api-model/models/browse-node-response.js +15 -0
- package/dist/cjs/api-model/models/browse-node-return-topics-response.js +15 -0
- package/dist/cjs/api-model/models/browse-node-return-topics.js +15 -0
- package/dist/cjs/api-model/models/browse-node-return-trend-point.js +15 -0
- package/dist/cjs/api-model/models/browse-node-return-trend.js +15 -0
- package/dist/cjs/api-model/models/browse-node-return-trends-response.js +15 -0
- package/dist/cjs/api-model/models/browse-node-review-subtopic-metrics.js +15 -0
- package/dist/cjs/api-model/models/browse-node-review-topic-metrics.js +15 -0
- package/dist/cjs/api-model/models/browse-node-review-topic.js +15 -0
- package/dist/cjs/api-model/models/browse-node-review-topics-response.js +15 -0
- package/dist/cjs/api-model/models/browse-node-review-topics.js +15 -0
- package/dist/cjs/api-model/models/browse-node-review-trend-metrics.js +15 -0
- package/dist/cjs/api-model/models/browse-node-review-trend-point.js +15 -0
- package/dist/cjs/api-model/models/browse-node-review-trend.js +15 -0
- package/dist/cjs/api-model/models/browse-node-review-trends-response.js +15 -0
- package/dist/cjs/api-model/models/browse-node-review-trends.js +15 -0
- package/dist/cjs/api-model/models/browse-node-star-rating-impact.js +15 -0
- package/dist/cjs/api-model/models/browse-node-subtopic.js +15 -0
- package/dist/cjs/api-model/models/browse-node-trend-metrics.js +15 -0
- package/dist/cjs/api-model/models/child-asin-mention-metrics.js +15 -0
- package/dist/cjs/api-model/models/child-asin-metrics.js +15 -0
- package/dist/cjs/api-model/models/date-range.js +15 -0
- package/dist/cjs/api-model/models/error-list.js +15 -0
- package/dist/cjs/api-model/models/index.js +55 -0
- package/dist/cjs/api-model/models/item-review-browse-node-metrics.js +15 -0
- package/dist/cjs/api-model/models/item-review-subtopic-metrics.js +15 -0
- package/dist/cjs/api-model/models/item-review-subtopic.js +15 -0
- package/dist/cjs/api-model/models/item-review-topic-metrics.js +15 -0
- package/dist/cjs/api-model/models/item-review-topic.js +15 -0
- package/dist/cjs/api-model/models/item-review-topics-response.js +15 -0
- package/dist/cjs/api-model/models/item-review-topics.js +15 -0
- package/dist/cjs/api-model/models/item-review-trend-point.js +15 -0
- package/dist/cjs/api-model/models/item-review-trend.js +15 -0
- package/dist/cjs/api-model/models/item-review-trends-response.js +15 -0
- package/dist/cjs/api-model/models/item-review-trends.js +15 -0
- package/dist/cjs/api-model/models/model-error.js +15 -0
- package/dist/cjs/api-model/models/review-trend-metrics.js +15 -0
- package/dist/cjs/client.js +13 -0
- package/dist/cjs/index.js +19 -0
- package/dist/es/api-model/api/customer-feedback-api.js +529 -0
- package/dist/es/api-model/api.js +14 -0
- package/dist/es/api-model/base.js +63 -0
- package/dist/es/api-model/common.js +133 -0
- package/dist/es/api-model/configuration.js +100 -0
- package/dist/es/api-model/index.js +16 -0
- package/dist/es/api-model/models/browse-node-all-occurrence.js +14 -0
- package/dist/es/api-model/models/browse-node-all-star-rating-impact.js +14 -0
- package/dist/es/api-model/models/browse-node-occurrence.js +14 -0
- package/dist/es/api-model/models/browse-node-response.js +14 -0
- package/dist/es/api-model/models/browse-node-return-topics-response.js +14 -0
- package/dist/es/api-model/models/browse-node-return-topics.js +14 -0
- package/dist/es/api-model/models/browse-node-return-trend-point.js +14 -0
- package/dist/es/api-model/models/browse-node-return-trend.js +14 -0
- package/dist/es/api-model/models/browse-node-return-trends-response.js +14 -0
- package/dist/es/api-model/models/browse-node-review-subtopic-metrics.js +14 -0
- package/dist/es/api-model/models/browse-node-review-topic-metrics.js +14 -0
- package/dist/es/api-model/models/browse-node-review-topic.js +14 -0
- package/dist/es/api-model/models/browse-node-review-topics-response.js +14 -0
- package/dist/es/api-model/models/browse-node-review-topics.js +14 -0
- package/dist/es/api-model/models/browse-node-review-trend-metrics.js +14 -0
- package/dist/es/api-model/models/browse-node-review-trend-point.js +14 -0
- package/dist/es/api-model/models/browse-node-review-trend.js +14 -0
- package/dist/es/api-model/models/browse-node-review-trends-response.js +14 -0
- package/dist/es/api-model/models/browse-node-review-trends.js +14 -0
- package/dist/es/api-model/models/browse-node-star-rating-impact.js +14 -0
- package/dist/es/api-model/models/browse-node-subtopic.js +14 -0
- package/dist/es/api-model/models/browse-node-trend-metrics.js +14 -0
- package/dist/es/api-model/models/child-asin-mention-metrics.js +14 -0
- package/dist/es/api-model/models/child-asin-metrics.js +14 -0
- package/dist/es/api-model/models/date-range.js +14 -0
- package/dist/es/api-model/models/error-list.js +14 -0
- package/dist/es/api-model/models/index.js +39 -0
- package/dist/es/api-model/models/item-review-browse-node-metrics.js +14 -0
- package/dist/es/api-model/models/item-review-subtopic-metrics.js +14 -0
- package/dist/es/api-model/models/item-review-subtopic.js +14 -0
- package/dist/es/api-model/models/item-review-topic-metrics.js +14 -0
- package/dist/es/api-model/models/item-review-topic.js +14 -0
- package/dist/es/api-model/models/item-review-topics-response.js +14 -0
- package/dist/es/api-model/models/item-review-topics.js +14 -0
- package/dist/es/api-model/models/item-review-trend-point.js +14 -0
- package/dist/es/api-model/models/item-review-trend.js +14 -0
- package/dist/es/api-model/models/item-review-trends-response.js +14 -0
- package/dist/es/api-model/models/item-review-trends.js +14 -0
- package/dist/es/api-model/models/model-error.js +14 -0
- package/dist/es/api-model/models/review-trend-metrics.js +14 -0
- package/dist/es/client.js +9 -0
- package/dist/es/index.js +3 -0
- package/dist/types/api-model/api/customer-feedback-api.d.ts +414 -0
- package/dist/types/api-model/api.d.ts +12 -0
- package/dist/types/api-model/base.d.ts +66 -0
- package/dist/types/api-model/common.d.ts +65 -0
- package/dist/types/api-model/configuration.d.ts +91 -0
- package/dist/types/api-model/index.d.ts +14 -0
- package/dist/types/api-model/models/browse-node-all-occurrence.d.ts +30 -0
- package/dist/types/api-model/models/browse-node-all-star-rating-impact.d.ts +30 -0
- package/dist/types/api-model/models/browse-node-occurrence.d.ts +24 -0
- package/dist/types/api-model/models/browse-node-response.d.ts +30 -0
- package/dist/types/api-model/models/browse-node-return-topics-response.d.ts +56 -0
- package/dist/types/api-model/models/browse-node-return-topics.d.ts +31 -0
- package/dist/types/api-model/models/browse-node-return-trend-point.d.ts +32 -0
- package/dist/types/api-model/models/browse-node-return-trend.d.ts +31 -0
- package/dist/types/api-model/models/browse-node-return-trends-response.d.ts +56 -0
- package/dist/types/api-model/models/browse-node-review-subtopic-metrics.d.ts +24 -0
- package/dist/types/api-model/models/browse-node-review-topic-metrics.d.ts +32 -0
- package/dist/types/api-model/models/browse-node-review-topic.d.ts +44 -0
- package/dist/types/api-model/models/browse-node-review-topics-response.d.ts +56 -0
- package/dist/types/api-model/models/browse-node-review-topics.d.ts +31 -0
- package/dist/types/api-model/models/browse-node-review-trend-metrics.d.ts +25 -0
- package/dist/types/api-model/models/browse-node-review-trend-point.d.ts +32 -0
- package/dist/types/api-model/models/browse-node-review-trend.d.ts +31 -0
- package/dist/types/api-model/models/browse-node-review-trends-response.d.ts +56 -0
- package/dist/types/api-model/models/browse-node-review-trends.d.ts +31 -0
- package/dist/types/api-model/models/browse-node-star-rating-impact.d.ts +24 -0
- package/dist/types/api-model/models/browse-node-subtopic.d.ts +37 -0
- package/dist/types/api-model/models/browse-node-trend-metrics.d.ts +25 -0
- package/dist/types/api-model/models/child-asin-mention-metrics.d.ts +30 -0
- package/dist/types/api-model/models/child-asin-metrics.d.ts +31 -0
- package/dist/types/api-model/models/date-range.d.ts +30 -0
- package/dist/types/api-model/models/error-list.d.ts +24 -0
- package/dist/types/api-model/models/index.d.ts +39 -0
- package/dist/types/api-model/models/item-review-browse-node-metrics.d.ts +32 -0
- package/dist/types/api-model/models/item-review-subtopic-metrics.d.ts +30 -0
- package/dist/types/api-model/models/item-review-subtopic.d.ts +37 -0
- package/dist/types/api-model/models/item-review-topic-metrics.d.ts +36 -0
- package/dist/types/api-model/models/item-review-topic.d.ts +64 -0
- package/dist/types/api-model/models/item-review-topics-response.d.ts +56 -0
- package/dist/types/api-model/models/item-review-topics.d.ts +31 -0
- package/dist/types/api-model/models/item-review-trend-point.d.ts +45 -0
- package/dist/types/api-model/models/item-review-trend.d.ts +31 -0
- package/dist/types/api-model/models/item-review-trends-response.d.ts +56 -0
- package/dist/types/api-model/models/item-review-trends.d.ts +31 -0
- package/dist/types/api-model/models/model-error.d.ts +36 -0
- package/dist/types/api-model/models/review-trend-metrics.d.ts +24 -0
- package/dist/types/client.d.ts +6 -0
- package/dist/types/index.d.ts +3 -0
- package/package.json +44 -0
|
@@ -0,0 +1,414 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for CustomerFeedback
|
|
3
|
+
* The Selling Partner API for Customer Feedback (Customer Feedback API) provides information about customer reviews and returns at both the item and browse node level.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-06-01
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from '../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import globalAxios from 'axios';
|
|
15
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
16
|
+
import type { BrowseNodeResponse } from '../models';
|
|
17
|
+
import type { BrowseNodeReturnTopicsResponse } from '../models';
|
|
18
|
+
import type { BrowseNodeReturnTrendsResponse } from '../models';
|
|
19
|
+
import type { BrowseNodeReviewTopicsResponse } from '../models';
|
|
20
|
+
import type { BrowseNodeReviewTrendsResponse } from '../models';
|
|
21
|
+
import type { ItemReviewTopicsResponse } from '../models';
|
|
22
|
+
import type { ItemReviewTrendsResponse } from '../models';
|
|
23
|
+
/**
|
|
24
|
+
* CustomerFeedbackApi - axios parameter creator
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
export declare const CustomerFeedbackApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
28
|
+
/**
|
|
29
|
+
* Retrieve the topics that customers mention when they return items in a browse node.
|
|
30
|
+
* @param {string} browseNodeId A browse node ID is a unique identifier for a browse node. A browse node is a named location in a browse tree that is used for navigation, product classification, and website content.
|
|
31
|
+
* @param {string} marketplaceId The MarketplaceId is the globally unique identifier of a marketplace, you can refer to the marketplaceId here : https://developer-docs.amazon.com/sp-api/docs/marketplace-ids.
|
|
32
|
+
* @param {*} [options] Override http request option.
|
|
33
|
+
* @throws {RequiredError}
|
|
34
|
+
*/
|
|
35
|
+
getBrowseNodeReturnTopics: (browseNodeId: string, marketplaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
|
+
/**
|
|
37
|
+
* Retrieve the trends of topics that customers mention when they return items in a browse node.
|
|
38
|
+
* @param {string} browseNodeId A browse node ID is a unique identifier of a browse node. A browse node is a named location in a browse tree that is used for navigation, product classification, and website content.
|
|
39
|
+
* @param {string} marketplaceId The MarketplaceId is the globally unique identifier of a marketplace, you can refer to the marketplaceId here : https://developer-docs.amazon.com/sp-api/docs/marketplace-ids.
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
getBrowseNodeReturnTrends: (browseNodeId: string, marketplaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
|
+
/**
|
|
45
|
+
* Retrieve a browse node\'s ten most positive and ten most negative review topics.
|
|
46
|
+
* @param {string} browseNodeId The ID of a browse node. A browse node is a named location in a browse tree that is used for navigation, product classification, and website content.
|
|
47
|
+
* @param {string} marketplaceId The MarketplaceId is the globally unique identifier of a marketplace, you can refer to the marketplaceId here : https://developer-docs.amazon.com/sp-api/docs/marketplace-ids.
|
|
48
|
+
* @param {string} sortBy The metric by which to sort the data in the response.
|
|
49
|
+
* @param {*} [options] Override http request option.
|
|
50
|
+
* @throws {RequiredError}
|
|
51
|
+
*/
|
|
52
|
+
getBrowseNodeReviewTopics: (browseNodeId: string, marketplaceId: string, sortBy: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
53
|
+
/**
|
|
54
|
+
* Retrieve the positive and negative review trends of items in a browse node for the past six months.
|
|
55
|
+
* @param {string} browseNodeId A browse node ID is a unique identifier of a browse node. A browse node is a named location in a browse tree that is used for navigation, product classification, and website content.
|
|
56
|
+
* @param {string} marketplaceId The marketplace ID is the globally unique identifier of a marketplace. For more information, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
|
|
57
|
+
* @param {*} [options] Override http request option.
|
|
58
|
+
* @throws {RequiredError}
|
|
59
|
+
*/
|
|
60
|
+
getBrowseNodeReviewTrends: (browseNodeId: string, marketplaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
61
|
+
/**
|
|
62
|
+
* This API returns the associated browse node of the requested ASIN. A browse node is a location in a browse tree that is used for navigation, product classification, and website content on the Amazon retail website.
|
|
63
|
+
* @param {string} asin The Amazon Standard Identification Number (ASIN) is the unique identifier of a product within a marketplace.
|
|
64
|
+
* @param {string} marketplaceId The MarketplaceId is the globally unique identifier of a marketplace, you can refer to the marketplaceId here : https://developer-docs.amazon.com/sp-api/docs/marketplace-ids.
|
|
65
|
+
* @param {*} [options] Override http request option.
|
|
66
|
+
* @throws {RequiredError}
|
|
67
|
+
*/
|
|
68
|
+
getItemBrowseNode: (asin: string, marketplaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
|
+
/**
|
|
70
|
+
* Retrieve an item\'s ten most positive and ten most negative review topics.
|
|
71
|
+
* @param {string} asin The Amazon Standard Identification Number (ASIN) is the unique identifier of a product within a marketplace. The value must be a child ASIN.
|
|
72
|
+
* @param {string} marketplaceId The MarketplaceId is the globally unique identifier of a marketplace, you can refer to the marketplaceId here : https://developer-docs.amazon.com/sp-api/docs/marketplace-ids.
|
|
73
|
+
* @param {string} sortBy The metric by which to sort data in the response.
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
getItemReviewTopics: (asin: string, marketplaceId: string, sortBy: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
78
|
+
/**
|
|
79
|
+
* Retrieve an item\'s positive and negative review trends for the past six months.
|
|
80
|
+
* @param {string} asin The Amazon Standard Identification Number (ASIN) is the unique identifier of a product within a marketplace. This API takes child ASIN as an input.
|
|
81
|
+
* @param {string} marketplaceId The MarketplaceId is the globally unique identifier of a marketplace, you can refer to the marketplaceId here : https://developer-docs.amazon.com/sp-api/docs/marketplace-ids.
|
|
82
|
+
* @param {*} [options] Override http request option.
|
|
83
|
+
* @throws {RequiredError}
|
|
84
|
+
*/
|
|
85
|
+
getItemReviewTrends: (asin: string, marketplaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* CustomerFeedbackApi - functional programming interface
|
|
89
|
+
* @export
|
|
90
|
+
*/
|
|
91
|
+
export declare const CustomerFeedbackApiFp: (configuration?: Configuration) => {
|
|
92
|
+
/**
|
|
93
|
+
* Retrieve the topics that customers mention when they return items in a browse node.
|
|
94
|
+
* @param {string} browseNodeId A browse node ID is a unique identifier for a browse node. A browse node is a named location in a browse tree that is used for navigation, product classification, and website content.
|
|
95
|
+
* @param {string} marketplaceId The MarketplaceId is the globally unique identifier of a marketplace, you can refer to the marketplaceId here : https://developer-docs.amazon.com/sp-api/docs/marketplace-ids.
|
|
96
|
+
* @param {*} [options] Override http request option.
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
*/
|
|
99
|
+
getBrowseNodeReturnTopics(browseNodeId: string, marketplaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BrowseNodeReturnTopicsResponse>>;
|
|
100
|
+
/**
|
|
101
|
+
* Retrieve the trends of topics that customers mention when they return items in a browse node.
|
|
102
|
+
* @param {string} browseNodeId A browse node ID is a unique identifier of a browse node. A browse node is a named location in a browse tree that is used for navigation, product classification, and website content.
|
|
103
|
+
* @param {string} marketplaceId The MarketplaceId is the globally unique identifier of a marketplace, you can refer to the marketplaceId here : https://developer-docs.amazon.com/sp-api/docs/marketplace-ids.
|
|
104
|
+
* @param {*} [options] Override http request option.
|
|
105
|
+
* @throws {RequiredError}
|
|
106
|
+
*/
|
|
107
|
+
getBrowseNodeReturnTrends(browseNodeId: string, marketplaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BrowseNodeReturnTrendsResponse>>;
|
|
108
|
+
/**
|
|
109
|
+
* Retrieve a browse node\'s ten most positive and ten most negative review topics.
|
|
110
|
+
* @param {string} browseNodeId The ID of a browse node. A browse node is a named location in a browse tree that is used for navigation, product classification, and website content.
|
|
111
|
+
* @param {string} marketplaceId The MarketplaceId is the globally unique identifier of a marketplace, you can refer to the marketplaceId here : https://developer-docs.amazon.com/sp-api/docs/marketplace-ids.
|
|
112
|
+
* @param {string} sortBy The metric by which to sort the data in the response.
|
|
113
|
+
* @param {*} [options] Override http request option.
|
|
114
|
+
* @throws {RequiredError}
|
|
115
|
+
*/
|
|
116
|
+
getBrowseNodeReviewTopics(browseNodeId: string, marketplaceId: string, sortBy: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BrowseNodeReviewTopicsResponse>>;
|
|
117
|
+
/**
|
|
118
|
+
* Retrieve the positive and negative review trends of items in a browse node for the past six months.
|
|
119
|
+
* @param {string} browseNodeId A browse node ID is a unique identifier of a browse node. A browse node is a named location in a browse tree that is used for navigation, product classification, and website content.
|
|
120
|
+
* @param {string} marketplaceId The marketplace ID is the globally unique identifier of a marketplace. For more information, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
|
|
121
|
+
* @param {*} [options] Override http request option.
|
|
122
|
+
* @throws {RequiredError}
|
|
123
|
+
*/
|
|
124
|
+
getBrowseNodeReviewTrends(browseNodeId: string, marketplaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BrowseNodeReviewTrendsResponse>>;
|
|
125
|
+
/**
|
|
126
|
+
* This API returns the associated browse node of the requested ASIN. A browse node is a location in a browse tree that is used for navigation, product classification, and website content on the Amazon retail website.
|
|
127
|
+
* @param {string} asin The Amazon Standard Identification Number (ASIN) is the unique identifier of a product within a marketplace.
|
|
128
|
+
* @param {string} marketplaceId The MarketplaceId is the globally unique identifier of a marketplace, you can refer to the marketplaceId here : https://developer-docs.amazon.com/sp-api/docs/marketplace-ids.
|
|
129
|
+
* @param {*} [options] Override http request option.
|
|
130
|
+
* @throws {RequiredError}
|
|
131
|
+
*/
|
|
132
|
+
getItemBrowseNode(asin: string, marketplaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BrowseNodeResponse>>;
|
|
133
|
+
/**
|
|
134
|
+
* Retrieve an item\'s ten most positive and ten most negative review topics.
|
|
135
|
+
* @param {string} asin The Amazon Standard Identification Number (ASIN) is the unique identifier of a product within a marketplace. The value must be a child ASIN.
|
|
136
|
+
* @param {string} marketplaceId The MarketplaceId is the globally unique identifier of a marketplace, you can refer to the marketplaceId here : https://developer-docs.amazon.com/sp-api/docs/marketplace-ids.
|
|
137
|
+
* @param {string} sortBy The metric by which to sort data in the response.
|
|
138
|
+
* @param {*} [options] Override http request option.
|
|
139
|
+
* @throws {RequiredError}
|
|
140
|
+
*/
|
|
141
|
+
getItemReviewTopics(asin: string, marketplaceId: string, sortBy: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ItemReviewTopicsResponse>>;
|
|
142
|
+
/**
|
|
143
|
+
* Retrieve an item\'s positive and negative review trends for the past six months.
|
|
144
|
+
* @param {string} asin The Amazon Standard Identification Number (ASIN) is the unique identifier of a product within a marketplace. This API takes child ASIN as an input.
|
|
145
|
+
* @param {string} marketplaceId The MarketplaceId is the globally unique identifier of a marketplace, you can refer to the marketplaceId here : https://developer-docs.amazon.com/sp-api/docs/marketplace-ids.
|
|
146
|
+
* @param {*} [options] Override http request option.
|
|
147
|
+
* @throws {RequiredError}
|
|
148
|
+
*/
|
|
149
|
+
getItemReviewTrends(asin: string, marketplaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ItemReviewTrendsResponse>>;
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* CustomerFeedbackApi - factory interface
|
|
153
|
+
* @export
|
|
154
|
+
*/
|
|
155
|
+
export declare const CustomerFeedbackApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
156
|
+
/**
|
|
157
|
+
* Retrieve the topics that customers mention when they return items in a browse node.
|
|
158
|
+
* @param {CustomerFeedbackApiGetBrowseNodeReturnTopicsRequest} requestParameters Request parameters.
|
|
159
|
+
* @param {*} [options] Override http request option.
|
|
160
|
+
* @throws {RequiredError}
|
|
161
|
+
*/
|
|
162
|
+
getBrowseNodeReturnTopics(requestParameters: CustomerFeedbackApiGetBrowseNodeReturnTopicsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BrowseNodeReturnTopicsResponse>;
|
|
163
|
+
/**
|
|
164
|
+
* Retrieve the trends of topics that customers mention when they return items in a browse node.
|
|
165
|
+
* @param {CustomerFeedbackApiGetBrowseNodeReturnTrendsRequest} requestParameters Request parameters.
|
|
166
|
+
* @param {*} [options] Override http request option.
|
|
167
|
+
* @throws {RequiredError}
|
|
168
|
+
*/
|
|
169
|
+
getBrowseNodeReturnTrends(requestParameters: CustomerFeedbackApiGetBrowseNodeReturnTrendsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BrowseNodeReturnTrendsResponse>;
|
|
170
|
+
/**
|
|
171
|
+
* Retrieve a browse node\'s ten most positive and ten most negative review topics.
|
|
172
|
+
* @param {CustomerFeedbackApiGetBrowseNodeReviewTopicsRequest} requestParameters Request parameters.
|
|
173
|
+
* @param {*} [options] Override http request option.
|
|
174
|
+
* @throws {RequiredError}
|
|
175
|
+
*/
|
|
176
|
+
getBrowseNodeReviewTopics(requestParameters: CustomerFeedbackApiGetBrowseNodeReviewTopicsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BrowseNodeReviewTopicsResponse>;
|
|
177
|
+
/**
|
|
178
|
+
* Retrieve the positive and negative review trends of items in a browse node for the past six months.
|
|
179
|
+
* @param {CustomerFeedbackApiGetBrowseNodeReviewTrendsRequest} requestParameters Request parameters.
|
|
180
|
+
* @param {*} [options] Override http request option.
|
|
181
|
+
* @throws {RequiredError}
|
|
182
|
+
*/
|
|
183
|
+
getBrowseNodeReviewTrends(requestParameters: CustomerFeedbackApiGetBrowseNodeReviewTrendsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BrowseNodeReviewTrendsResponse>;
|
|
184
|
+
/**
|
|
185
|
+
* This API returns the associated browse node of the requested ASIN. A browse node is a location in a browse tree that is used for navigation, product classification, and website content on the Amazon retail website.
|
|
186
|
+
* @param {CustomerFeedbackApiGetItemBrowseNodeRequest} requestParameters Request parameters.
|
|
187
|
+
* @param {*} [options] Override http request option.
|
|
188
|
+
* @throws {RequiredError}
|
|
189
|
+
*/
|
|
190
|
+
getItemBrowseNode(requestParameters: CustomerFeedbackApiGetItemBrowseNodeRequest, options?: RawAxiosRequestConfig): AxiosPromise<BrowseNodeResponse>;
|
|
191
|
+
/**
|
|
192
|
+
* Retrieve an item\'s ten most positive and ten most negative review topics.
|
|
193
|
+
* @param {CustomerFeedbackApiGetItemReviewTopicsRequest} requestParameters Request parameters.
|
|
194
|
+
* @param {*} [options] Override http request option.
|
|
195
|
+
* @throws {RequiredError}
|
|
196
|
+
*/
|
|
197
|
+
getItemReviewTopics(requestParameters: CustomerFeedbackApiGetItemReviewTopicsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ItemReviewTopicsResponse>;
|
|
198
|
+
/**
|
|
199
|
+
* Retrieve an item\'s positive and negative review trends for the past six months.
|
|
200
|
+
* @param {CustomerFeedbackApiGetItemReviewTrendsRequest} requestParameters Request parameters.
|
|
201
|
+
* @param {*} [options] Override http request option.
|
|
202
|
+
* @throws {RequiredError}
|
|
203
|
+
*/
|
|
204
|
+
getItemReviewTrends(requestParameters: CustomerFeedbackApiGetItemReviewTrendsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ItemReviewTrendsResponse>;
|
|
205
|
+
};
|
|
206
|
+
/**
|
|
207
|
+
* Request parameters for getBrowseNodeReturnTopics operation in CustomerFeedbackApi.
|
|
208
|
+
* @export
|
|
209
|
+
* @interface CustomerFeedbackApiGetBrowseNodeReturnTopicsRequest
|
|
210
|
+
*/
|
|
211
|
+
export interface CustomerFeedbackApiGetBrowseNodeReturnTopicsRequest {
|
|
212
|
+
/**
|
|
213
|
+
* A browse node ID is a unique identifier for a browse node. A browse node is a named location in a browse tree that is used for navigation, product classification, and website content.
|
|
214
|
+
* @type {string}
|
|
215
|
+
* @memberof CustomerFeedbackApiGetBrowseNodeReturnTopics
|
|
216
|
+
*/
|
|
217
|
+
readonly browseNodeId: string;
|
|
218
|
+
/**
|
|
219
|
+
* The MarketplaceId is the globally unique identifier of a marketplace, you can refer to the marketplaceId here : https://developer-docs.amazon.com/sp-api/docs/marketplace-ids.
|
|
220
|
+
* @type {string}
|
|
221
|
+
* @memberof CustomerFeedbackApiGetBrowseNodeReturnTopics
|
|
222
|
+
*/
|
|
223
|
+
readonly marketplaceId: string;
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* Request parameters for getBrowseNodeReturnTrends operation in CustomerFeedbackApi.
|
|
227
|
+
* @export
|
|
228
|
+
* @interface CustomerFeedbackApiGetBrowseNodeReturnTrendsRequest
|
|
229
|
+
*/
|
|
230
|
+
export interface CustomerFeedbackApiGetBrowseNodeReturnTrendsRequest {
|
|
231
|
+
/**
|
|
232
|
+
* A browse node ID is a unique identifier of a browse node. A browse node is a named location in a browse tree that is used for navigation, product classification, and website content.
|
|
233
|
+
* @type {string}
|
|
234
|
+
* @memberof CustomerFeedbackApiGetBrowseNodeReturnTrends
|
|
235
|
+
*/
|
|
236
|
+
readonly browseNodeId: string;
|
|
237
|
+
/**
|
|
238
|
+
* The MarketplaceId is the globally unique identifier of a marketplace, you can refer to the marketplaceId here : https://developer-docs.amazon.com/sp-api/docs/marketplace-ids.
|
|
239
|
+
* @type {string}
|
|
240
|
+
* @memberof CustomerFeedbackApiGetBrowseNodeReturnTrends
|
|
241
|
+
*/
|
|
242
|
+
readonly marketplaceId: string;
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* Request parameters for getBrowseNodeReviewTopics operation in CustomerFeedbackApi.
|
|
246
|
+
* @export
|
|
247
|
+
* @interface CustomerFeedbackApiGetBrowseNodeReviewTopicsRequest
|
|
248
|
+
*/
|
|
249
|
+
export interface CustomerFeedbackApiGetBrowseNodeReviewTopicsRequest {
|
|
250
|
+
/**
|
|
251
|
+
* The ID of a browse node. A browse node is a named location in a browse tree that is used for navigation, product classification, and website content.
|
|
252
|
+
* @type {string}
|
|
253
|
+
* @memberof CustomerFeedbackApiGetBrowseNodeReviewTopics
|
|
254
|
+
*/
|
|
255
|
+
readonly browseNodeId: string;
|
|
256
|
+
/**
|
|
257
|
+
* The MarketplaceId is the globally unique identifier of a marketplace, you can refer to the marketplaceId here : https://developer-docs.amazon.com/sp-api/docs/marketplace-ids.
|
|
258
|
+
* @type {string}
|
|
259
|
+
* @memberof CustomerFeedbackApiGetBrowseNodeReviewTopics
|
|
260
|
+
*/
|
|
261
|
+
readonly marketplaceId: string;
|
|
262
|
+
/**
|
|
263
|
+
* The metric by which to sort the data in the response.
|
|
264
|
+
* @type {string}
|
|
265
|
+
* @memberof CustomerFeedbackApiGetBrowseNodeReviewTopics
|
|
266
|
+
*/
|
|
267
|
+
readonly sortBy: string;
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
* Request parameters for getBrowseNodeReviewTrends operation in CustomerFeedbackApi.
|
|
271
|
+
* @export
|
|
272
|
+
* @interface CustomerFeedbackApiGetBrowseNodeReviewTrendsRequest
|
|
273
|
+
*/
|
|
274
|
+
export interface CustomerFeedbackApiGetBrowseNodeReviewTrendsRequest {
|
|
275
|
+
/**
|
|
276
|
+
* A browse node ID is a unique identifier of a browse node. A browse node is a named location in a browse tree that is used for navigation, product classification, and website content.
|
|
277
|
+
* @type {string}
|
|
278
|
+
* @memberof CustomerFeedbackApiGetBrowseNodeReviewTrends
|
|
279
|
+
*/
|
|
280
|
+
readonly browseNodeId: string;
|
|
281
|
+
/**
|
|
282
|
+
* The marketplace ID is the globally unique identifier of a marketplace. For more information, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
|
|
283
|
+
* @type {string}
|
|
284
|
+
* @memberof CustomerFeedbackApiGetBrowseNodeReviewTrends
|
|
285
|
+
*/
|
|
286
|
+
readonly marketplaceId: string;
|
|
287
|
+
}
|
|
288
|
+
/**
|
|
289
|
+
* Request parameters for getItemBrowseNode operation in CustomerFeedbackApi.
|
|
290
|
+
* @export
|
|
291
|
+
* @interface CustomerFeedbackApiGetItemBrowseNodeRequest
|
|
292
|
+
*/
|
|
293
|
+
export interface CustomerFeedbackApiGetItemBrowseNodeRequest {
|
|
294
|
+
/**
|
|
295
|
+
* The Amazon Standard Identification Number (ASIN) is the unique identifier of a product within a marketplace.
|
|
296
|
+
* @type {string}
|
|
297
|
+
* @memberof CustomerFeedbackApiGetItemBrowseNode
|
|
298
|
+
*/
|
|
299
|
+
readonly asin: string;
|
|
300
|
+
/**
|
|
301
|
+
* The MarketplaceId is the globally unique identifier of a marketplace, you can refer to the marketplaceId here : https://developer-docs.amazon.com/sp-api/docs/marketplace-ids.
|
|
302
|
+
* @type {string}
|
|
303
|
+
* @memberof CustomerFeedbackApiGetItemBrowseNode
|
|
304
|
+
*/
|
|
305
|
+
readonly marketplaceId: string;
|
|
306
|
+
}
|
|
307
|
+
/**
|
|
308
|
+
* Request parameters for getItemReviewTopics operation in CustomerFeedbackApi.
|
|
309
|
+
* @export
|
|
310
|
+
* @interface CustomerFeedbackApiGetItemReviewTopicsRequest
|
|
311
|
+
*/
|
|
312
|
+
export interface CustomerFeedbackApiGetItemReviewTopicsRequest {
|
|
313
|
+
/**
|
|
314
|
+
* The Amazon Standard Identification Number (ASIN) is the unique identifier of a product within a marketplace. The value must be a child ASIN.
|
|
315
|
+
* @type {string}
|
|
316
|
+
* @memberof CustomerFeedbackApiGetItemReviewTopics
|
|
317
|
+
*/
|
|
318
|
+
readonly asin: string;
|
|
319
|
+
/**
|
|
320
|
+
* The MarketplaceId is the globally unique identifier of a marketplace, you can refer to the marketplaceId here : https://developer-docs.amazon.com/sp-api/docs/marketplace-ids.
|
|
321
|
+
* @type {string}
|
|
322
|
+
* @memberof CustomerFeedbackApiGetItemReviewTopics
|
|
323
|
+
*/
|
|
324
|
+
readonly marketplaceId: string;
|
|
325
|
+
/**
|
|
326
|
+
* The metric by which to sort data in the response.
|
|
327
|
+
* @type {string}
|
|
328
|
+
* @memberof CustomerFeedbackApiGetItemReviewTopics
|
|
329
|
+
*/
|
|
330
|
+
readonly sortBy: string;
|
|
331
|
+
}
|
|
332
|
+
/**
|
|
333
|
+
* Request parameters for getItemReviewTrends operation in CustomerFeedbackApi.
|
|
334
|
+
* @export
|
|
335
|
+
* @interface CustomerFeedbackApiGetItemReviewTrendsRequest
|
|
336
|
+
*/
|
|
337
|
+
export interface CustomerFeedbackApiGetItemReviewTrendsRequest {
|
|
338
|
+
/**
|
|
339
|
+
* The Amazon Standard Identification Number (ASIN) is the unique identifier of a product within a marketplace. This API takes child ASIN as an input.
|
|
340
|
+
* @type {string}
|
|
341
|
+
* @memberof CustomerFeedbackApiGetItemReviewTrends
|
|
342
|
+
*/
|
|
343
|
+
readonly asin: string;
|
|
344
|
+
/**
|
|
345
|
+
* The MarketplaceId is the globally unique identifier of a marketplace, you can refer to the marketplaceId here : https://developer-docs.amazon.com/sp-api/docs/marketplace-ids.
|
|
346
|
+
* @type {string}
|
|
347
|
+
* @memberof CustomerFeedbackApiGetItemReviewTrends
|
|
348
|
+
*/
|
|
349
|
+
readonly marketplaceId: string;
|
|
350
|
+
}
|
|
351
|
+
/**
|
|
352
|
+
* CustomerFeedbackApi - object-oriented interface
|
|
353
|
+
* @export
|
|
354
|
+
* @class CustomerFeedbackApi
|
|
355
|
+
* @extends {BaseAPI}
|
|
356
|
+
*/
|
|
357
|
+
export declare class CustomerFeedbackApi extends BaseAPI {
|
|
358
|
+
/**
|
|
359
|
+
* Retrieve the topics that customers mention when they return items in a browse node.
|
|
360
|
+
* @param {CustomerFeedbackApiGetBrowseNodeReturnTopicsRequest} requestParameters Request parameters.
|
|
361
|
+
* @param {*} [options] Override http request option.
|
|
362
|
+
* @throws {RequiredError}
|
|
363
|
+
* @memberof CustomerFeedbackApi
|
|
364
|
+
*/
|
|
365
|
+
getBrowseNodeReturnTopics(requestParameters: CustomerFeedbackApiGetBrowseNodeReturnTopicsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BrowseNodeReturnTopicsResponse, any>>;
|
|
366
|
+
/**
|
|
367
|
+
* Retrieve the trends of topics that customers mention when they return items in a browse node.
|
|
368
|
+
* @param {CustomerFeedbackApiGetBrowseNodeReturnTrendsRequest} requestParameters Request parameters.
|
|
369
|
+
* @param {*} [options] Override http request option.
|
|
370
|
+
* @throws {RequiredError}
|
|
371
|
+
* @memberof CustomerFeedbackApi
|
|
372
|
+
*/
|
|
373
|
+
getBrowseNodeReturnTrends(requestParameters: CustomerFeedbackApiGetBrowseNodeReturnTrendsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BrowseNodeReturnTrendsResponse, any>>;
|
|
374
|
+
/**
|
|
375
|
+
* Retrieve a browse node\'s ten most positive and ten most negative review topics.
|
|
376
|
+
* @param {CustomerFeedbackApiGetBrowseNodeReviewTopicsRequest} requestParameters Request parameters.
|
|
377
|
+
* @param {*} [options] Override http request option.
|
|
378
|
+
* @throws {RequiredError}
|
|
379
|
+
* @memberof CustomerFeedbackApi
|
|
380
|
+
*/
|
|
381
|
+
getBrowseNodeReviewTopics(requestParameters: CustomerFeedbackApiGetBrowseNodeReviewTopicsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BrowseNodeReviewTopicsResponse, any>>;
|
|
382
|
+
/**
|
|
383
|
+
* Retrieve the positive and negative review trends of items in a browse node for the past six months.
|
|
384
|
+
* @param {CustomerFeedbackApiGetBrowseNodeReviewTrendsRequest} requestParameters Request parameters.
|
|
385
|
+
* @param {*} [options] Override http request option.
|
|
386
|
+
* @throws {RequiredError}
|
|
387
|
+
* @memberof CustomerFeedbackApi
|
|
388
|
+
*/
|
|
389
|
+
getBrowseNodeReviewTrends(requestParameters: CustomerFeedbackApiGetBrowseNodeReviewTrendsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BrowseNodeReviewTrendsResponse, any>>;
|
|
390
|
+
/**
|
|
391
|
+
* This API returns the associated browse node of the requested ASIN. A browse node is a location in a browse tree that is used for navigation, product classification, and website content on the Amazon retail website.
|
|
392
|
+
* @param {CustomerFeedbackApiGetItemBrowseNodeRequest} requestParameters Request parameters.
|
|
393
|
+
* @param {*} [options] Override http request option.
|
|
394
|
+
* @throws {RequiredError}
|
|
395
|
+
* @memberof CustomerFeedbackApi
|
|
396
|
+
*/
|
|
397
|
+
getItemBrowseNode(requestParameters: CustomerFeedbackApiGetItemBrowseNodeRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BrowseNodeResponse, any>>;
|
|
398
|
+
/**
|
|
399
|
+
* Retrieve an item\'s ten most positive and ten most negative review topics.
|
|
400
|
+
* @param {CustomerFeedbackApiGetItemReviewTopicsRequest} requestParameters Request parameters.
|
|
401
|
+
* @param {*} [options] Override http request option.
|
|
402
|
+
* @throws {RequiredError}
|
|
403
|
+
* @memberof CustomerFeedbackApi
|
|
404
|
+
*/
|
|
405
|
+
getItemReviewTopics(requestParameters: CustomerFeedbackApiGetItemReviewTopicsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ItemReviewTopicsResponse, any>>;
|
|
406
|
+
/**
|
|
407
|
+
* Retrieve an item\'s positive and negative review trends for the past six months.
|
|
408
|
+
* @param {CustomerFeedbackApiGetItemReviewTrendsRequest} requestParameters Request parameters.
|
|
409
|
+
* @param {*} [options] Override http request option.
|
|
410
|
+
* @throws {RequiredError}
|
|
411
|
+
* @memberof CustomerFeedbackApi
|
|
412
|
+
*/
|
|
413
|
+
getItemReviewTrends(requestParameters: CustomerFeedbackApiGetItemReviewTrendsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ItemReviewTrendsResponse, any>>;
|
|
414
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for CustomerFeedback
|
|
3
|
+
* The Selling Partner API for Customer Feedback (Customer Feedback API) provides information about customer reviews and returns at both the item and browse node level.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-06-01
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export * from './api/customer-feedback-api';
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for CustomerFeedback
|
|
3
|
+
* The Selling Partner API for Customer Feedback (Customer Feedback API) provides information about customer reviews and returns at both the item and browse node level.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-06-01
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from './configuration';
|
|
13
|
+
import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
export declare const BASE_PATH: string;
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export declare const COLLECTION_FORMATS: {
|
|
20
|
+
csv: string;
|
|
21
|
+
ssv: string;
|
|
22
|
+
tsv: string;
|
|
23
|
+
pipes: string;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @export
|
|
28
|
+
* @interface RequestArgs
|
|
29
|
+
*/
|
|
30
|
+
export interface RequestArgs {
|
|
31
|
+
url: string;
|
|
32
|
+
options: RawAxiosRequestConfig;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @export
|
|
37
|
+
* @class BaseAPI
|
|
38
|
+
*/
|
|
39
|
+
export declare class BaseAPI {
|
|
40
|
+
protected basePath: string;
|
|
41
|
+
protected axios: AxiosInstance;
|
|
42
|
+
protected configuration: Configuration | undefined;
|
|
43
|
+
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @export
|
|
48
|
+
* @class RequiredError
|
|
49
|
+
* @extends {Error}
|
|
50
|
+
*/
|
|
51
|
+
export declare class RequiredError extends Error {
|
|
52
|
+
field: string;
|
|
53
|
+
constructor(field: string, msg?: string);
|
|
54
|
+
}
|
|
55
|
+
interface ServerMap {
|
|
56
|
+
[key: string]: {
|
|
57
|
+
url: string;
|
|
58
|
+
description: string;
|
|
59
|
+
}[];
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @export
|
|
64
|
+
*/
|
|
65
|
+
export declare const operationServerMap: ServerMap;
|
|
66
|
+
export {};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for CustomerFeedback
|
|
3
|
+
* The Selling Partner API for Customer Feedback (Customer Feedback API) provides information about customer reviews and returns at both the item and browse node level.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-06-01
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from "./configuration";
|
|
13
|
+
import type { RequestArgs } from "./base";
|
|
14
|
+
import type { AxiosInstance, AxiosResponse } from 'axios';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export declare const DUMMY_BASE_URL = "https://example.com";
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @throws {RequiredError}
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @export
|
|
29
|
+
*/
|
|
30
|
+
export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @export
|
|
44
|
+
*/
|
|
45
|
+
export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @export
|
|
49
|
+
*/
|
|
50
|
+
export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @export
|
|
54
|
+
*/
|
|
55
|
+
export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @export
|
|
59
|
+
*/
|
|
60
|
+
export declare const toPathString: (url: URL) => string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @export
|
|
64
|
+
*/
|
|
65
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for CustomerFeedback
|
|
3
|
+
* The Selling Partner API for Customer Feedback (Customer Feedback API) provides information about customer reviews and returns at both the item and browse node level.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-06-01
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface ConfigurationParameters {
|
|
13
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
14
|
+
username?: string;
|
|
15
|
+
password?: string;
|
|
16
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
17
|
+
basePath?: string;
|
|
18
|
+
serverIndex?: number;
|
|
19
|
+
baseOptions?: any;
|
|
20
|
+
formDataCtor?: new () => any;
|
|
21
|
+
}
|
|
22
|
+
export declare class Configuration {
|
|
23
|
+
/**
|
|
24
|
+
* parameter for apiKey security
|
|
25
|
+
* @param name security name
|
|
26
|
+
* @memberof Configuration
|
|
27
|
+
*/
|
|
28
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
29
|
+
/**
|
|
30
|
+
* parameter for basic security
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof Configuration
|
|
34
|
+
*/
|
|
35
|
+
username?: string;
|
|
36
|
+
/**
|
|
37
|
+
* parameter for basic security
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof Configuration
|
|
41
|
+
*/
|
|
42
|
+
password?: string;
|
|
43
|
+
/**
|
|
44
|
+
* parameter for oauth2 security
|
|
45
|
+
* @param name security name
|
|
46
|
+
* @param scopes oauth2 scope
|
|
47
|
+
* @memberof Configuration
|
|
48
|
+
*/
|
|
49
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
50
|
+
/**
|
|
51
|
+
* override base path
|
|
52
|
+
*
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof Configuration
|
|
55
|
+
*/
|
|
56
|
+
basePath?: string;
|
|
57
|
+
/**
|
|
58
|
+
* override server index
|
|
59
|
+
*
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof Configuration
|
|
62
|
+
*/
|
|
63
|
+
serverIndex?: number;
|
|
64
|
+
/**
|
|
65
|
+
* base options for axios calls
|
|
66
|
+
*
|
|
67
|
+
* @type {any}
|
|
68
|
+
* @memberof Configuration
|
|
69
|
+
*/
|
|
70
|
+
baseOptions?: any;
|
|
71
|
+
/**
|
|
72
|
+
* The FormData constructor that will be used to create multipart form data
|
|
73
|
+
* requests. You can inject this here so that execution environments that
|
|
74
|
+
* do not support the FormData class can still run the generated client.
|
|
75
|
+
*
|
|
76
|
+
* @type {new () => FormData}
|
|
77
|
+
*/
|
|
78
|
+
formDataCtor?: new () => any;
|
|
79
|
+
constructor(param?: ConfigurationParameters);
|
|
80
|
+
/**
|
|
81
|
+
* Check if the given MIME is a JSON MIME.
|
|
82
|
+
* JSON MIME examples:
|
|
83
|
+
* application/json
|
|
84
|
+
* application/json; charset=UTF8
|
|
85
|
+
* APPLICATION/JSON
|
|
86
|
+
* application/vnd.company+json
|
|
87
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
88
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
89
|
+
*/
|
|
90
|
+
isJsonMime(mime: string): boolean;
|
|
91
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Selling Partner API for CustomerFeedback
|
|
3
|
+
* The Selling Partner API for Customer Feedback (Customer Feedback API) provides information about customer reviews and returns at both the item and browse node level.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024-06-01
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export * from "./api";
|
|
13
|
+
export * from "./configuration";
|
|
14
|
+
export * from "./models";
|