@sp-api-sdk/customer-feedback-api-2024-06-01 1.1.0 → 1.1.2
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
|
@@ -22,7 +22,6 @@ import type { ItemReviewTopicsResponse } from '../models';
|
|
|
22
22
|
import type { ItemReviewTrendsResponse } from '../models';
|
|
23
23
|
/**
|
|
24
24
|
* CustomerFeedbackApi - axios parameter creator
|
|
25
|
-
* @export
|
|
26
25
|
*/
|
|
27
26
|
export declare const CustomerFeedbackApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
28
27
|
/**
|
|
@@ -86,7 +85,6 @@ export declare const CustomerFeedbackApiAxiosParamCreator: (configuration?: Conf
|
|
|
86
85
|
};
|
|
87
86
|
/**
|
|
88
87
|
* CustomerFeedbackApi - functional programming interface
|
|
89
|
-
* @export
|
|
90
88
|
*/
|
|
91
89
|
export declare const CustomerFeedbackApiFp: (configuration?: Configuration) => {
|
|
92
90
|
/**
|
|
@@ -150,7 +148,6 @@ export declare const CustomerFeedbackApiFp: (configuration?: Configuration) => {
|
|
|
150
148
|
};
|
|
151
149
|
/**
|
|
152
150
|
* CustomerFeedbackApi - factory interface
|
|
153
|
-
* @export
|
|
154
151
|
*/
|
|
155
152
|
export declare const CustomerFeedbackApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
156
153
|
/**
|
|
@@ -205,154 +202,105 @@ export declare const CustomerFeedbackApiFactory: (configuration?: Configuration,
|
|
|
205
202
|
};
|
|
206
203
|
/**
|
|
207
204
|
* Request parameters for getBrowseNodeReturnTopics operation in CustomerFeedbackApi.
|
|
208
|
-
* @export
|
|
209
|
-
* @interface CustomerFeedbackApiGetBrowseNodeReturnTopicsRequest
|
|
210
205
|
*/
|
|
211
206
|
export interface CustomerFeedbackApiGetBrowseNodeReturnTopicsRequest {
|
|
212
207
|
/**
|
|
213
208
|
* 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
209
|
*/
|
|
217
210
|
readonly browseNodeId: string;
|
|
218
211
|
/**
|
|
219
212
|
* 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
213
|
*/
|
|
223
214
|
readonly marketplaceId: string;
|
|
224
215
|
}
|
|
225
216
|
/**
|
|
226
217
|
* Request parameters for getBrowseNodeReturnTrends operation in CustomerFeedbackApi.
|
|
227
|
-
* @export
|
|
228
|
-
* @interface CustomerFeedbackApiGetBrowseNodeReturnTrendsRequest
|
|
229
218
|
*/
|
|
230
219
|
export interface CustomerFeedbackApiGetBrowseNodeReturnTrendsRequest {
|
|
231
220
|
/**
|
|
232
221
|
* 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
222
|
*/
|
|
236
223
|
readonly browseNodeId: string;
|
|
237
224
|
/**
|
|
238
225
|
* 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
226
|
*/
|
|
242
227
|
readonly marketplaceId: string;
|
|
243
228
|
}
|
|
244
229
|
/**
|
|
245
230
|
* Request parameters for getBrowseNodeReviewTopics operation in CustomerFeedbackApi.
|
|
246
|
-
* @export
|
|
247
|
-
* @interface CustomerFeedbackApiGetBrowseNodeReviewTopicsRequest
|
|
248
231
|
*/
|
|
249
232
|
export interface CustomerFeedbackApiGetBrowseNodeReviewTopicsRequest {
|
|
250
233
|
/**
|
|
251
234
|
* 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
235
|
*/
|
|
255
236
|
readonly browseNodeId: string;
|
|
256
237
|
/**
|
|
257
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.
|
|
258
|
-
* @type {string}
|
|
259
|
-
* @memberof CustomerFeedbackApiGetBrowseNodeReviewTopics
|
|
260
239
|
*/
|
|
261
240
|
readonly marketplaceId: string;
|
|
262
241
|
/**
|
|
263
242
|
* The metric by which to sort the data in the response.
|
|
264
|
-
* @type {string}
|
|
265
|
-
* @memberof CustomerFeedbackApiGetBrowseNodeReviewTopics
|
|
266
243
|
*/
|
|
267
244
|
readonly sortBy: string;
|
|
268
245
|
}
|
|
269
246
|
/**
|
|
270
247
|
* Request parameters for getBrowseNodeReviewTrends operation in CustomerFeedbackApi.
|
|
271
|
-
* @export
|
|
272
|
-
* @interface CustomerFeedbackApiGetBrowseNodeReviewTrendsRequest
|
|
273
248
|
*/
|
|
274
249
|
export interface CustomerFeedbackApiGetBrowseNodeReviewTrendsRequest {
|
|
275
250
|
/**
|
|
276
251
|
* 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
252
|
*/
|
|
280
253
|
readonly browseNodeId: string;
|
|
281
254
|
/**
|
|
282
255
|
* 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
256
|
*/
|
|
286
257
|
readonly marketplaceId: string;
|
|
287
258
|
}
|
|
288
259
|
/**
|
|
289
260
|
* Request parameters for getItemBrowseNode operation in CustomerFeedbackApi.
|
|
290
|
-
* @export
|
|
291
|
-
* @interface CustomerFeedbackApiGetItemBrowseNodeRequest
|
|
292
261
|
*/
|
|
293
262
|
export interface CustomerFeedbackApiGetItemBrowseNodeRequest {
|
|
294
263
|
/**
|
|
295
264
|
* The Amazon Standard Identification Number (ASIN) is the unique identifier of a product within a marketplace.
|
|
296
|
-
* @type {string}
|
|
297
|
-
* @memberof CustomerFeedbackApiGetItemBrowseNode
|
|
298
265
|
*/
|
|
299
266
|
readonly asin: string;
|
|
300
267
|
/**
|
|
301
268
|
* 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
269
|
*/
|
|
305
270
|
readonly marketplaceId: string;
|
|
306
271
|
}
|
|
307
272
|
/**
|
|
308
273
|
* Request parameters for getItemReviewTopics operation in CustomerFeedbackApi.
|
|
309
|
-
* @export
|
|
310
|
-
* @interface CustomerFeedbackApiGetItemReviewTopicsRequest
|
|
311
274
|
*/
|
|
312
275
|
export interface CustomerFeedbackApiGetItemReviewTopicsRequest {
|
|
313
276
|
/**
|
|
314
277
|
* 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
278
|
*/
|
|
318
279
|
readonly asin: string;
|
|
319
280
|
/**
|
|
320
281
|
* 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
282
|
*/
|
|
324
283
|
readonly marketplaceId: string;
|
|
325
284
|
/**
|
|
326
285
|
* The metric by which to sort data in the response.
|
|
327
|
-
* @type {string}
|
|
328
|
-
* @memberof CustomerFeedbackApiGetItemReviewTopics
|
|
329
286
|
*/
|
|
330
287
|
readonly sortBy: string;
|
|
331
288
|
}
|
|
332
289
|
/**
|
|
333
290
|
* Request parameters for getItemReviewTrends operation in CustomerFeedbackApi.
|
|
334
|
-
* @export
|
|
335
|
-
* @interface CustomerFeedbackApiGetItemReviewTrendsRequest
|
|
336
291
|
*/
|
|
337
292
|
export interface CustomerFeedbackApiGetItemReviewTrendsRequest {
|
|
338
293
|
/**
|
|
339
294
|
* 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
295
|
*/
|
|
343
296
|
readonly asin: string;
|
|
344
297
|
/**
|
|
345
298
|
* 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
299
|
*/
|
|
349
300
|
readonly marketplaceId: string;
|
|
350
301
|
}
|
|
351
302
|
/**
|
|
352
303
|
* CustomerFeedbackApi - object-oriented interface
|
|
353
|
-
* @export
|
|
354
|
-
* @class CustomerFeedbackApi
|
|
355
|
-
* @extends {BaseAPI}
|
|
356
304
|
*/
|
|
357
305
|
export declare class CustomerFeedbackApi extends BaseAPI {
|
|
358
306
|
/**
|
|
@@ -360,7 +308,6 @@ export declare class CustomerFeedbackApi extends BaseAPI {
|
|
|
360
308
|
* @param {CustomerFeedbackApiGetBrowseNodeReturnTopicsRequest} requestParameters Request parameters.
|
|
361
309
|
* @param {*} [options] Override http request option.
|
|
362
310
|
* @throws {RequiredError}
|
|
363
|
-
* @memberof CustomerFeedbackApi
|
|
364
311
|
*/
|
|
365
312
|
getBrowseNodeReturnTopics(requestParameters: CustomerFeedbackApiGetBrowseNodeReturnTopicsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BrowseNodeReturnTopicsResponse, any>>;
|
|
366
313
|
/**
|
|
@@ -368,7 +315,6 @@ export declare class CustomerFeedbackApi extends BaseAPI {
|
|
|
368
315
|
* @param {CustomerFeedbackApiGetBrowseNodeReturnTrendsRequest} requestParameters Request parameters.
|
|
369
316
|
* @param {*} [options] Override http request option.
|
|
370
317
|
* @throws {RequiredError}
|
|
371
|
-
* @memberof CustomerFeedbackApi
|
|
372
318
|
*/
|
|
373
319
|
getBrowseNodeReturnTrends(requestParameters: CustomerFeedbackApiGetBrowseNodeReturnTrendsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BrowseNodeReturnTrendsResponse, any>>;
|
|
374
320
|
/**
|
|
@@ -376,7 +322,6 @@ export declare class CustomerFeedbackApi extends BaseAPI {
|
|
|
376
322
|
* @param {CustomerFeedbackApiGetBrowseNodeReviewTopicsRequest} requestParameters Request parameters.
|
|
377
323
|
* @param {*} [options] Override http request option.
|
|
378
324
|
* @throws {RequiredError}
|
|
379
|
-
* @memberof CustomerFeedbackApi
|
|
380
325
|
*/
|
|
381
326
|
getBrowseNodeReviewTopics(requestParameters: CustomerFeedbackApiGetBrowseNodeReviewTopicsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BrowseNodeReviewTopicsResponse, any>>;
|
|
382
327
|
/**
|
|
@@ -384,7 +329,6 @@ export declare class CustomerFeedbackApi extends BaseAPI {
|
|
|
384
329
|
* @param {CustomerFeedbackApiGetBrowseNodeReviewTrendsRequest} requestParameters Request parameters.
|
|
385
330
|
* @param {*} [options] Override http request option.
|
|
386
331
|
* @throws {RequiredError}
|
|
387
|
-
* @memberof CustomerFeedbackApi
|
|
388
332
|
*/
|
|
389
333
|
getBrowseNodeReviewTrends(requestParameters: CustomerFeedbackApiGetBrowseNodeReviewTrendsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BrowseNodeReviewTrendsResponse, any>>;
|
|
390
334
|
/**
|
|
@@ -392,7 +336,6 @@ export declare class CustomerFeedbackApi extends BaseAPI {
|
|
|
392
336
|
* @param {CustomerFeedbackApiGetItemBrowseNodeRequest} requestParameters Request parameters.
|
|
393
337
|
* @param {*} [options] Override http request option.
|
|
394
338
|
* @throws {RequiredError}
|
|
395
|
-
* @memberof CustomerFeedbackApi
|
|
396
339
|
*/
|
|
397
340
|
getItemBrowseNode(requestParameters: CustomerFeedbackApiGetItemBrowseNodeRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<BrowseNodeResponse, any>>;
|
|
398
341
|
/**
|
|
@@ -400,7 +343,6 @@ export declare class CustomerFeedbackApi extends BaseAPI {
|
|
|
400
343
|
* @param {CustomerFeedbackApiGetItemReviewTopicsRequest} requestParameters Request parameters.
|
|
401
344
|
* @param {*} [options] Override http request option.
|
|
402
345
|
* @throws {RequiredError}
|
|
403
|
-
* @memberof CustomerFeedbackApi
|
|
404
346
|
*/
|
|
405
347
|
getItemReviewTopics(requestParameters: CustomerFeedbackApiGetItemReviewTopicsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ItemReviewTopicsResponse, any>>;
|
|
406
348
|
/**
|
|
@@ -408,7 +350,6 @@ export declare class CustomerFeedbackApi extends BaseAPI {
|
|
|
408
350
|
* @param {CustomerFeedbackApiGetItemReviewTrendsRequest} requestParameters Request parameters.
|
|
409
351
|
* @param {*} [options] Override http request option.
|
|
410
352
|
* @throws {RequiredError}
|
|
411
|
-
* @memberof CustomerFeedbackApi
|
|
412
353
|
*/
|
|
413
354
|
getItemReviewTrends(requestParameters: CustomerFeedbackApiGetItemReviewTrendsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ItemReviewTrendsResponse, any>>;
|
|
414
355
|
}
|
|
@@ -12,42 +12,22 @@
|
|
|
12
12
|
import type { Configuration } from './configuration';
|
|
13
13
|
import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
export declare const BASE_PATH: string;
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
15
|
export declare const COLLECTION_FORMATS: {
|
|
20
16
|
csv: string;
|
|
21
17
|
ssv: string;
|
|
22
18
|
tsv: string;
|
|
23
19
|
pipes: string;
|
|
24
20
|
};
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @export
|
|
28
|
-
* @interface RequestArgs
|
|
29
|
-
*/
|
|
30
21
|
export interface RequestArgs {
|
|
31
22
|
url: string;
|
|
32
23
|
options: RawAxiosRequestConfig;
|
|
33
24
|
}
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @export
|
|
37
|
-
* @class BaseAPI
|
|
38
|
-
*/
|
|
39
25
|
export declare class BaseAPI {
|
|
40
26
|
protected basePath: string;
|
|
41
27
|
protected axios: AxiosInstance;
|
|
42
28
|
protected configuration: Configuration | undefined;
|
|
43
29
|
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
44
30
|
}
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @export
|
|
48
|
-
* @class RequiredError
|
|
49
|
-
* @extends {Error}
|
|
50
|
-
*/
|
|
51
31
|
export declare class RequiredError extends Error {
|
|
52
32
|
field: string;
|
|
53
33
|
constructor(field: string, msg?: string);
|
|
@@ -58,9 +38,5 @@ interface ServerMap {
|
|
|
58
38
|
description: string;
|
|
59
39
|
}[];
|
|
60
40
|
}
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
41
|
export declare const operationServerMap: ServerMap;
|
|
66
42
|
export {};
|
|
@@ -12,54 +12,17 @@
|
|
|
12
12
|
import type { Configuration } from "./configuration";
|
|
13
13
|
import type { RequestArgs } from "./base";
|
|
14
14
|
import type { AxiosInstance, AxiosResponse } from 'axios';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
15
|
export declare const DUMMY_BASE_URL = "https://example.com";
|
|
20
16
|
/**
|
|
21
17
|
*
|
|
22
18
|
* @throws {RequiredError}
|
|
23
|
-
* @export
|
|
24
19
|
*/
|
|
25
20
|
export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @export
|
|
29
|
-
*/
|
|
30
21
|
export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @export
|
|
34
|
-
*/
|
|
35
22
|
export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @export
|
|
39
|
-
*/
|
|
40
23
|
export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @export
|
|
44
|
-
*/
|
|
45
24
|
export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @export
|
|
49
|
-
*/
|
|
50
25
|
export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @export
|
|
54
|
-
*/
|
|
55
26
|
export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @export
|
|
59
|
-
*/
|
|
60
27
|
export declare const toPathString: (url: URL) => string;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
28
|
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
@@ -23,49 +23,32 @@ export declare class Configuration {
|
|
|
23
23
|
/**
|
|
24
24
|
* parameter for apiKey security
|
|
25
25
|
* @param name security name
|
|
26
|
-
* @memberof Configuration
|
|
27
26
|
*/
|
|
28
27
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
29
28
|
/**
|
|
30
29
|
* parameter for basic security
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof Configuration
|
|
34
30
|
*/
|
|
35
31
|
username?: string;
|
|
36
32
|
/**
|
|
37
33
|
* parameter for basic security
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof Configuration
|
|
41
34
|
*/
|
|
42
35
|
password?: string;
|
|
43
36
|
/**
|
|
44
37
|
* parameter for oauth2 security
|
|
45
38
|
* @param name security name
|
|
46
39
|
* @param scopes oauth2 scope
|
|
47
|
-
* @memberof Configuration
|
|
48
40
|
*/
|
|
49
41
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
50
42
|
/**
|
|
51
43
|
* override base path
|
|
52
|
-
*
|
|
53
|
-
* @type {string}
|
|
54
|
-
* @memberof Configuration
|
|
55
44
|
*/
|
|
56
45
|
basePath?: string;
|
|
57
46
|
/**
|
|
58
47
|
* override server index
|
|
59
|
-
*
|
|
60
|
-
* @type {number}
|
|
61
|
-
* @memberof Configuration
|
|
62
48
|
*/
|
|
63
49
|
serverIndex?: number;
|
|
64
50
|
/**
|
|
65
51
|
* base options for axios calls
|
|
66
|
-
*
|
|
67
|
-
* @type {any}
|
|
68
|
-
* @memberof Configuration
|
|
69
52
|
*/
|
|
70
53
|
baseOptions?: any;
|
|
71
54
|
/**
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The browse node review occurrence metrics.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface BrowseNodeAllOccurrence
|
|
16
14
|
*/
|
|
17
15
|
export interface BrowseNodeAllOccurrence {
|
|
18
16
|
/**
|
|
19
17
|
* The percentage of reviews of the top 25 percent of products in the browse node that mention the topic.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof BrowseNodeAllOccurrence
|
|
22
18
|
*/
|
|
23
19
|
'topTwentyFivePercentProducts': number;
|
|
24
20
|
/**
|
|
25
21
|
* The percentage of reviews of products in the browse node that mention the topic.
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof BrowseNodeAllOccurrence
|
|
28
22
|
*/
|
|
29
23
|
'allProducts': number;
|
|
30
24
|
}
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The effects of a topic on the star ratings in a browse node.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface BrowseNodeAllStarRatingImpact
|
|
16
14
|
*/
|
|
17
15
|
export interface BrowseNodeAllStarRatingImpact {
|
|
18
16
|
/**
|
|
19
17
|
* The effect of the topic on the star rating of the top 25 percent of products in the browse node. This value can be positive or negative.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof BrowseNodeAllStarRatingImpact
|
|
22
18
|
*/
|
|
23
19
|
'topTwentyFivePercentProducts': number;
|
|
24
20
|
/**
|
|
25
21
|
* The effect of the topic on the star rating of all products in the browse node. This value can be positive or negative.
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof BrowseNodeAllStarRatingImpact
|
|
28
22
|
*/
|
|
29
23
|
'allProducts': number;
|
|
30
24
|
}
|
|
@@ -11,14 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The browse node review trend occurrence metrics.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface BrowseNodeOccurrence
|
|
16
14
|
*/
|
|
17
15
|
export interface BrowseNodeOccurrence {
|
|
18
16
|
/**
|
|
19
17
|
* The percentage of reviews of products in the browse node that mention a topic.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof BrowseNodeOccurrence
|
|
22
18
|
*/
|
|
23
19
|
'allProducts': number;
|
|
24
20
|
}
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The response for the `getItemBrowseNode` operation.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface BrowseNodeResponse
|
|
16
14
|
*/
|
|
17
15
|
export interface BrowseNodeResponse {
|
|
18
16
|
/**
|
|
19
17
|
* A browse node id is the unique identifier of a given browse node. A browse node is a location in a browse tree that is used for navigation, product classification, and website content.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof BrowseNodeResponse
|
|
22
18
|
*/
|
|
23
19
|
'browseNodeId': string;
|
|
24
20
|
/**
|
|
25
21
|
* The display name of the browse node as visible on the Amazon retail website.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof BrowseNodeResponse
|
|
28
22
|
*/
|
|
29
23
|
'displayName': string;
|
|
30
24
|
}
|
|
@@ -13,44 +13,27 @@ import type { BrowseNodeReturnTopics } from './browse-node-return-topics';
|
|
|
13
13
|
import type { DateRange } from './date-range';
|
|
14
14
|
/**
|
|
15
15
|
* The response for the `getBrowseNodeReturnTopics` operation.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface BrowseNodeReturnTopicsResponse
|
|
18
16
|
*/
|
|
19
17
|
export interface BrowseNodeReturnTopicsResponse {
|
|
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 BrowseNodeReturnTopicsResponse
|
|
24
20
|
*/
|
|
25
21
|
'browseNodeId': string;
|
|
26
22
|
/**
|
|
27
23
|
* The display name of the browse node, as visible on the Amazon retail website.
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof BrowseNodeReturnTopicsResponse
|
|
30
24
|
*/
|
|
31
25
|
'displayName': string;
|
|
32
26
|
/**
|
|
33
27
|
* The requested marketplace id.
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof BrowseNodeReturnTopicsResponse
|
|
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 BrowseNodeReturnTopicsResponse
|
|
42
32
|
*/
|
|
43
33
|
'countryCode': string;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {DateRange}
|
|
47
|
-
* @memberof BrowseNodeReturnTopicsResponse
|
|
48
|
-
*/
|
|
49
34
|
'dateRange': DateRange;
|
|
50
35
|
/**
|
|
51
36
|
* The list of browse node return topics.
|
|
52
|
-
* @type {Array<BrowseNodeReturnTopics>}
|
|
53
|
-
* @memberof BrowseNodeReturnTopicsResponse
|
|
54
37
|
*/
|
|
55
38
|
'topics': Array<BrowseNodeReturnTopics>;
|
|
56
39
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { BrowseNodeTrendMetrics } from './browse-node-trend-metrics';
|
|
13
13
|
/**
|
|
14
14
|
* Topics from returns for all items in a browse node.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface BrowseNodeReturnTopics
|
|
17
15
|
*/
|
|
18
16
|
export interface BrowseNodeReturnTopics {
|
|
19
17
|
/**
|
|
20
18
|
* The name of the return feedback topic .
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof BrowseNodeReturnTopics
|
|
23
19
|
*/
|
|
24
20
|
'topic': string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {BrowseNodeTrendMetrics}
|
|
28
|
-
* @memberof BrowseNodeReturnTopics
|
|
29
|
-
*/
|
|
30
21
|
'browseNodeMetrics': BrowseNodeTrendMetrics;
|
|
31
22
|
}
|
|
@@ -13,20 +13,8 @@ import type { BrowseNodeTrendMetrics } from './browse-node-trend-metrics';
|
|
|
13
13
|
import type { DateRange } from './date-range';
|
|
14
14
|
/**
|
|
15
15
|
* The return metrics for a certain month.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface BrowseNodeReturnTrendPoint
|
|
18
16
|
*/
|
|
19
17
|
export interface BrowseNodeReturnTrendPoint {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {DateRange}
|
|
23
|
-
* @memberof BrowseNodeReturnTrendPoint
|
|
24
|
-
*/
|
|
25
18
|
'dateRange': DateRange;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {BrowseNodeTrendMetrics}
|
|
29
|
-
* @memberof BrowseNodeReturnTrendPoint
|
|
30
|
-
*/
|
|
31
19
|
'browseNodeMetrics': BrowseNodeTrendMetrics;
|
|
32
20
|
}
|
|
@@ -12,20 +12,14 @@
|
|
|
12
12
|
import type { BrowseNodeReturnTrendPoint } from './browse-node-return-trend-point';
|
|
13
13
|
/**
|
|
14
14
|
* The trend of return topic metrics for all items in the requested browse node.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface BrowseNodeReturnTrend
|
|
17
15
|
*/
|
|
18
16
|
export interface BrowseNodeReturnTrend {
|
|
19
17
|
/**
|
|
20
18
|
* The name of the topic.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof BrowseNodeReturnTrend
|
|
23
19
|
*/
|
|
24
20
|
'topic': string;
|
|
25
21
|
/**
|
|
26
22
|
* The browse node return trend metrics.
|
|
27
|
-
* @type {Array<BrowseNodeReturnTrendPoint>}
|
|
28
|
-
* @memberof BrowseNodeReturnTrend
|
|
29
23
|
*/
|
|
30
24
|
'trendMetrics': Array<BrowseNodeReturnTrendPoint>;
|
|
31
25
|
}
|
|
@@ -13,44 +13,27 @@ import type { BrowseNodeReturnTrend } from './browse-node-return-trend';
|
|
|
13
13
|
import type { DateRange } from './date-range';
|
|
14
14
|
/**
|
|
15
15
|
* The response for the `getBrowseNodeReturnTrends` operation.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface BrowseNodeReturnTrendsResponse
|
|
18
16
|
*/
|
|
19
17
|
export interface BrowseNodeReturnTrendsResponse {
|
|
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 BrowseNodeReturnTrendsResponse
|
|
24
20
|
*/
|
|
25
21
|
'browseNodeId': string;
|
|
26
22
|
/**
|
|
27
23
|
* The display name of the browse node, as visible on the Amazon retail website.
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof BrowseNodeReturnTrendsResponse
|
|
30
24
|
*/
|
|
31
25
|
'displayName': string;
|
|
32
26
|
/**
|
|
33
27
|
* The requested marketplace id.
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof BrowseNodeReturnTrendsResponse
|
|
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 BrowseNodeReturnTrendsResponse
|
|
42
32
|
*/
|
|
43
33
|
'countryCode': string;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {DateRange}
|
|
47
|
-
* @memberof BrowseNodeReturnTrendsResponse
|
|
48
|
-
*/
|
|
49
34
|
'dateRange': DateRange;
|
|
50
35
|
/**
|
|
51
36
|
* The browse node return trends.
|
|
52
|
-
* @type {Array<BrowseNodeReturnTrend>}
|
|
53
|
-
* @memberof BrowseNodeReturnTrendsResponse
|
|
54
37
|
*/
|
|
55
38
|
'returnTrends': Array<BrowseNodeReturnTrend>;
|
|
56
39
|
}
|
|
@@ -11,14 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The browse node review subtopic metrics.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface BrowseNodeReviewSubtopicMetrics
|
|
16
14
|
*/
|
|
17
15
|
export interface BrowseNodeReviewSubtopicMetrics {
|
|
18
16
|
/**
|
|
19
17
|
* The percentage of reviews that mention the subtopic.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof BrowseNodeReviewSubtopicMetrics
|
|
22
18
|
*/
|
|
23
19
|
'occurrencePercentage': number;
|
|
24
20
|
}
|
|
@@ -13,20 +13,8 @@ import type { BrowseNodeAllOccurrence } from './browse-node-all-occurrence';
|
|
|
13
13
|
import type { BrowseNodeAllStarRatingImpact } from './browse-node-all-star-rating-impact';
|
|
14
14
|
/**
|
|
15
15
|
* The browse node review topic metrics.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface BrowseNodeReviewTopicMetrics
|
|
18
16
|
*/
|
|
19
17
|
export interface BrowseNodeReviewTopicMetrics {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {BrowseNodeAllOccurrence}
|
|
23
|
-
* @memberof BrowseNodeReviewTopicMetrics
|
|
24
|
-
*/
|
|
25
18
|
'occurrencePercentage'?: BrowseNodeAllOccurrence;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {BrowseNodeAllStarRatingImpact}
|
|
29
|
-
* @memberof BrowseNodeReviewTopicMetrics
|
|
30
|
-
*/
|
|
31
19
|
'starRatingImpact'?: BrowseNodeAllStarRatingImpact;
|
|
32
20
|
}
|