@sp-api-sdk/fulfillment-inbound-api-v0 4.1.5 → 4.1.9
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/fulfillment-inbound-api.js +6 -0
- package/dist/cjs/api-model/configuration.js +12 -1
- package/dist/es/api-model/api/fulfillment-inbound-api.js +6 -0
- package/dist/es/api-model/configuration.js +12 -1
- package/dist/types/api-model/configuration.d.ts +24 -0
- package/package.json +3 -3
|
@@ -48,6 +48,7 @@ const FulfillmentInboundApiAxiosParamCreator = function (configuration) {
|
|
|
48
48
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
49
49
|
const localVarHeaderParameter = {};
|
|
50
50
|
const localVarQueryParameter = {};
|
|
51
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
51
52
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
52
53
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
53
54
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -108,6 +109,7 @@ const FulfillmentInboundApiAxiosParamCreator = function (configuration) {
|
|
|
108
109
|
if (pageStartIndex !== undefined) {
|
|
109
110
|
localVarQueryParameter['PageStartIndex'] = pageStartIndex;
|
|
110
111
|
}
|
|
112
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
111
113
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
112
114
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
113
115
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -146,6 +148,7 @@ const FulfillmentInboundApiAxiosParamCreator = function (configuration) {
|
|
|
146
148
|
if (aSINList) {
|
|
147
149
|
localVarQueryParameter['ASINList'] = aSINList.join(base_1.COLLECTION_FORMATS.csv);
|
|
148
150
|
}
|
|
151
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
149
152
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
150
153
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
151
154
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -198,6 +201,7 @@ const FulfillmentInboundApiAxiosParamCreator = function (configuration) {
|
|
|
198
201
|
if (marketplaceId !== undefined) {
|
|
199
202
|
localVarQueryParameter['MarketplaceId'] = marketplaceId;
|
|
200
203
|
}
|
|
204
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
201
205
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
202
206
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
203
207
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -230,6 +234,7 @@ const FulfillmentInboundApiAxiosParamCreator = function (configuration) {
|
|
|
230
234
|
if (marketplaceId !== undefined) {
|
|
231
235
|
localVarQueryParameter['MarketplaceId'] = marketplaceId;
|
|
232
236
|
}
|
|
237
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
233
238
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
234
239
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
235
240
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -290,6 +295,7 @@ const FulfillmentInboundApiAxiosParamCreator = function (configuration) {
|
|
|
290
295
|
if (marketplaceId !== undefined) {
|
|
291
296
|
localVarQueryParameter['MarketplaceId'] = marketplaceId;
|
|
292
297
|
}
|
|
298
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
293
299
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
294
300
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
295
301
|
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
|
* Selling Partner API for Fulfillment Inbound
|
|
6
5
|
* The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
|
|
@@ -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 = {
|
|
@@ -42,6 +42,7 @@ export const FulfillmentInboundApiAxiosParamCreator = function (configuration) {
|
|
|
42
42
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
43
43
|
const localVarHeaderParameter = {};
|
|
44
44
|
const localVarQueryParameter = {};
|
|
45
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
45
46
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
46
47
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
47
48
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -102,6 +103,7 @@ export const FulfillmentInboundApiAxiosParamCreator = function (configuration) {
|
|
|
102
103
|
if (pageStartIndex !== undefined) {
|
|
103
104
|
localVarQueryParameter['PageStartIndex'] = pageStartIndex;
|
|
104
105
|
}
|
|
106
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
105
107
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
106
108
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
107
109
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -140,6 +142,7 @@ export const FulfillmentInboundApiAxiosParamCreator = function (configuration) {
|
|
|
140
142
|
if (aSINList) {
|
|
141
143
|
localVarQueryParameter['ASINList'] = aSINList.join(COLLECTION_FORMATS.csv);
|
|
142
144
|
}
|
|
145
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
143
146
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
144
147
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
145
148
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -192,6 +195,7 @@ export const FulfillmentInboundApiAxiosParamCreator = function (configuration) {
|
|
|
192
195
|
if (marketplaceId !== undefined) {
|
|
193
196
|
localVarQueryParameter['MarketplaceId'] = marketplaceId;
|
|
194
197
|
}
|
|
198
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
195
199
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
196
200
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
197
201
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -224,6 +228,7 @@ export const FulfillmentInboundApiAxiosParamCreator = function (configuration) {
|
|
|
224
228
|
if (marketplaceId !== undefined) {
|
|
225
229
|
localVarQueryParameter['MarketplaceId'] = marketplaceId;
|
|
226
230
|
}
|
|
231
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
227
232
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
228
233
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
229
234
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -284,6 +289,7 @@ export const FulfillmentInboundApiAxiosParamCreator = function (configuration) {
|
|
|
284
289
|
if (marketplaceId !== undefined) {
|
|
285
290
|
localVarQueryParameter['MarketplaceId'] = marketplaceId;
|
|
286
291
|
}
|
|
292
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
287
293
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
288
294
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
289
295
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
2
|
/**
|
|
4
3
|
* Selling Partner API for Fulfillment Inbound
|
|
5
4
|
* The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
|
|
@@ -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 = {
|
|
@@ -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/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/fulfillment-inbound-api-v0",
|
|
3
3
|
"author": "Bertrand Marron <bertrand@bizon.solutions>",
|
|
4
4
|
"description": "The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon's fulfillment network.",
|
|
5
|
-
"version": "4.1.
|
|
5
|
+
"version": "4.1.9",
|
|
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
|
"fulfillment inbound api"
|
|
42
42
|
],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "a2d6b5c570bab3a534b05abe073c9fd91ed2229c"
|
|
44
44
|
}
|