@sp-api-sdk/customer-feedback-api-2024-06-01 1.1.6 → 1.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api-model/api/customer-feedback-api.js +7 -0
- package/dist/cjs/api-model/configuration.js +12 -1
- package/dist/cjs/index.js +0 -1
- package/dist/es/api-model/api/customer-feedback-api.js +7 -0
- package/dist/es/api-model/configuration.js +12 -1
- package/dist/es/index.js +0 -1
- package/dist/types/api-model/configuration.d.ts +24 -0
- package/dist/types/index.d.ts +1 -1
- package/package.json +3 -3
|
@@ -54,6 +54,7 @@ const CustomerFeedbackApiAxiosParamCreator = function (configuration) {
|
|
|
54
54
|
if (marketplaceId !== undefined) {
|
|
55
55
|
localVarQueryParameter['marketplaceId'] = marketplaceId;
|
|
56
56
|
}
|
|
57
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
57
58
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
58
59
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
59
60
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -88,6 +89,7 @@ const CustomerFeedbackApiAxiosParamCreator = function (configuration) {
|
|
|
88
89
|
if (marketplaceId !== undefined) {
|
|
89
90
|
localVarQueryParameter['marketplaceId'] = marketplaceId;
|
|
90
91
|
}
|
|
92
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
91
93
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
92
94
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
93
95
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -128,6 +130,7 @@ const CustomerFeedbackApiAxiosParamCreator = function (configuration) {
|
|
|
128
130
|
if (sortBy !== undefined) {
|
|
129
131
|
localVarQueryParameter['sortBy'] = sortBy;
|
|
130
132
|
}
|
|
133
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
131
134
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
132
135
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
133
136
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -162,6 +165,7 @@ const CustomerFeedbackApiAxiosParamCreator = function (configuration) {
|
|
|
162
165
|
if (marketplaceId !== undefined) {
|
|
163
166
|
localVarQueryParameter['marketplaceId'] = marketplaceId;
|
|
164
167
|
}
|
|
168
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
165
169
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
166
170
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
167
171
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -196,6 +200,7 @@ const CustomerFeedbackApiAxiosParamCreator = function (configuration) {
|
|
|
196
200
|
if (marketplaceId !== undefined) {
|
|
197
201
|
localVarQueryParameter['marketplaceId'] = marketplaceId;
|
|
198
202
|
}
|
|
203
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
199
204
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
200
205
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
201
206
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -236,6 +241,7 @@ const CustomerFeedbackApiAxiosParamCreator = function (configuration) {
|
|
|
236
241
|
if (sortBy !== undefined) {
|
|
237
242
|
localVarQueryParameter['sortBy'] = sortBy;
|
|
238
243
|
}
|
|
244
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
239
245
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
240
246
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
241
247
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -270,6 +276,7 @@ const CustomerFeedbackApiAxiosParamCreator = function (configuration) {
|
|
|
270
276
|
if (marketplaceId !== undefined) {
|
|
271
277
|
localVarQueryParameter['marketplaceId'] = marketplaceId;
|
|
272
278
|
}
|
|
279
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
273
280
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
274
281
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
275
282
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
3
|
/**
|
|
5
4
|
* The Selling Partner API for CustomerFeedback
|
|
6
5
|
* 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.
|
|
@@ -34,6 +33,17 @@ class Configuration {
|
|
|
34
33
|
* @param scopes oauth2 scope
|
|
35
34
|
*/
|
|
36
35
|
accessToken;
|
|
36
|
+
/**
|
|
37
|
+
* parameter for aws4 signature security
|
|
38
|
+
* @param {Object} AWS4Signature - AWS4 Signature security
|
|
39
|
+
* @param {string} options.region - aws region
|
|
40
|
+
* @param {string} options.service - name of the service.
|
|
41
|
+
* @param {string} credentials.accessKeyId - aws access key id
|
|
42
|
+
* @param {string} credentials.secretAccessKey - aws access key
|
|
43
|
+
* @param {string} credentials.sessionToken - aws session token
|
|
44
|
+
* @memberof Configuration
|
|
45
|
+
*/
|
|
46
|
+
awsv4;
|
|
37
47
|
/**
|
|
38
48
|
* override base path
|
|
39
49
|
*/
|
|
@@ -59,6 +69,7 @@ class Configuration {
|
|
|
59
69
|
this.username = param.username;
|
|
60
70
|
this.password = param.password;
|
|
61
71
|
this.accessToken = param.accessToken;
|
|
72
|
+
this.awsv4 = param.awsv4;
|
|
62
73
|
this.basePath = param.basePath;
|
|
63
74
|
this.serverIndex = param.serverIndex;
|
|
64
75
|
this.baseOptions = {
|
package/dist/cjs/index.js
CHANGED
|
@@ -16,4 +16,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./client"), exports);
|
|
18
18
|
__exportStar(require("./api-model/api"), exports);
|
|
19
|
-
__exportStar(require("./api-model/models"), exports);
|
|
@@ -48,6 +48,7 @@ export const CustomerFeedbackApiAxiosParamCreator = function (configuration) {
|
|
|
48
48
|
if (marketplaceId !== undefined) {
|
|
49
49
|
localVarQueryParameter['marketplaceId'] = marketplaceId;
|
|
50
50
|
}
|
|
51
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
51
52
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
52
53
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
53
54
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -82,6 +83,7 @@ export const CustomerFeedbackApiAxiosParamCreator = function (configuration) {
|
|
|
82
83
|
if (marketplaceId !== undefined) {
|
|
83
84
|
localVarQueryParameter['marketplaceId'] = marketplaceId;
|
|
84
85
|
}
|
|
86
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
85
87
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
86
88
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
87
89
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -122,6 +124,7 @@ export const CustomerFeedbackApiAxiosParamCreator = function (configuration) {
|
|
|
122
124
|
if (sortBy !== undefined) {
|
|
123
125
|
localVarQueryParameter['sortBy'] = sortBy;
|
|
124
126
|
}
|
|
127
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
125
128
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
126
129
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
127
130
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -156,6 +159,7 @@ export const CustomerFeedbackApiAxiosParamCreator = function (configuration) {
|
|
|
156
159
|
if (marketplaceId !== undefined) {
|
|
157
160
|
localVarQueryParameter['marketplaceId'] = marketplaceId;
|
|
158
161
|
}
|
|
162
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
159
163
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
160
164
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
161
165
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -190,6 +194,7 @@ export const CustomerFeedbackApiAxiosParamCreator = function (configuration) {
|
|
|
190
194
|
if (marketplaceId !== undefined) {
|
|
191
195
|
localVarQueryParameter['marketplaceId'] = marketplaceId;
|
|
192
196
|
}
|
|
197
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
193
198
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
194
199
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
195
200
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -230,6 +235,7 @@ export const CustomerFeedbackApiAxiosParamCreator = function (configuration) {
|
|
|
230
235
|
if (sortBy !== undefined) {
|
|
231
236
|
localVarQueryParameter['sortBy'] = sortBy;
|
|
232
237
|
}
|
|
238
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
233
239
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
234
240
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
235
241
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -264,6 +270,7 @@ export const CustomerFeedbackApiAxiosParamCreator = function (configuration) {
|
|
|
264
270
|
if (marketplaceId !== undefined) {
|
|
265
271
|
localVarQueryParameter['marketplaceId'] = marketplaceId;
|
|
266
272
|
}
|
|
273
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
267
274
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
268
275
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
269
276
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
2
|
/**
|
|
4
3
|
* The Selling Partner API for CustomerFeedback
|
|
5
4
|
* 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.
|
|
@@ -31,6 +30,17 @@ export class Configuration {
|
|
|
31
30
|
* @param scopes oauth2 scope
|
|
32
31
|
*/
|
|
33
32
|
accessToken;
|
|
33
|
+
/**
|
|
34
|
+
* parameter for aws4 signature security
|
|
35
|
+
* @param {Object} AWS4Signature - AWS4 Signature security
|
|
36
|
+
* @param {string} options.region - aws region
|
|
37
|
+
* @param {string} options.service - name of the service.
|
|
38
|
+
* @param {string} credentials.accessKeyId - aws access key id
|
|
39
|
+
* @param {string} credentials.secretAccessKey - aws access key
|
|
40
|
+
* @param {string} credentials.sessionToken - aws session token
|
|
41
|
+
* @memberof Configuration
|
|
42
|
+
*/
|
|
43
|
+
awsv4;
|
|
34
44
|
/**
|
|
35
45
|
* override base path
|
|
36
46
|
*/
|
|
@@ -56,6 +66,7 @@ export class Configuration {
|
|
|
56
66
|
this.username = param.username;
|
|
57
67
|
this.password = param.password;
|
|
58
68
|
this.accessToken = param.accessToken;
|
|
69
|
+
this.awsv4 = param.awsv4;
|
|
59
70
|
this.basePath = param.basePath;
|
|
60
71
|
this.serverIndex = param.serverIndex;
|
|
61
72
|
this.baseOptions = {
|
package/dist/es/index.js
CHANGED
|
@@ -9,11 +9,23 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
interface AWSv4Configuration {
|
|
13
|
+
options?: {
|
|
14
|
+
region?: string;
|
|
15
|
+
service?: string;
|
|
16
|
+
};
|
|
17
|
+
credentials?: {
|
|
18
|
+
accessKeyId?: string;
|
|
19
|
+
secretAccessKey?: string;
|
|
20
|
+
sessionToken?: string;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
12
23
|
export interface ConfigurationParameters {
|
|
13
24
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
14
25
|
username?: string;
|
|
15
26
|
password?: string;
|
|
16
27
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
28
|
+
awsv4?: AWSv4Configuration;
|
|
17
29
|
basePath?: string;
|
|
18
30
|
serverIndex?: number;
|
|
19
31
|
baseOptions?: any;
|
|
@@ -39,6 +51,17 @@ export declare class Configuration {
|
|
|
39
51
|
* @param scopes oauth2 scope
|
|
40
52
|
*/
|
|
41
53
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
54
|
+
/**
|
|
55
|
+
* parameter for aws4 signature security
|
|
56
|
+
* @param {Object} AWS4Signature - AWS4 Signature security
|
|
57
|
+
* @param {string} options.region - aws region
|
|
58
|
+
* @param {string} options.service - name of the service.
|
|
59
|
+
* @param {string} credentials.accessKeyId - aws access key id
|
|
60
|
+
* @param {string} credentials.secretAccessKey - aws access key
|
|
61
|
+
* @param {string} credentials.sessionToken - aws session token
|
|
62
|
+
* @memberof Configuration
|
|
63
|
+
*/
|
|
64
|
+
awsv4?: AWSv4Configuration;
|
|
42
65
|
/**
|
|
43
66
|
* override base path
|
|
44
67
|
*/
|
|
@@ -72,3 +95,4 @@ export declare class Configuration {
|
|
|
72
95
|
*/
|
|
73
96
|
isJsonMime(mime: string): boolean;
|
|
74
97
|
}
|
|
98
|
+
export {};
|
package/dist/types/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/customer-feedback-api-2024-06-01",
|
|
3
3
|
"author": "Bertrand Marron <bertrand@bizon.solutions>",
|
|
4
4
|
"description": "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.",
|
|
5
|
-
"version": "1.1.
|
|
5
|
+
"version": "1.1.10",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"dist/**/*.d.ts"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@sp-api-sdk/common": "2.1.
|
|
21
|
+
"@sp-api-sdk/common": "2.1.25",
|
|
22
22
|
"axios": "^1.13.2"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"sp sdk",
|
|
41
41
|
"customer feedback api"
|
|
42
42
|
],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "a2d6b5c570bab3a534b05abe073c9fd91ed2229c"
|
|
44
44
|
}
|