@sp-api-sdk/vendor-direct-fulfillment-transactions-api-v1 4.0.16 → 4.0.17
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/vendor-direct-fulfillment-transactions-api.js +1 -1
- package/dist/cjs/api-model/configuration.js +2 -2
- package/dist/cjs/api-model/models/transaction.js +1 -1
- package/dist/es/api-model/api/vendor-direct-fulfillment-transactions-api.js +1 -1
- package/dist/es/api-model/configuration.js +2 -2
- package/dist/es/api-model/models/transaction.js +1 -1
- package/package.json +4 -4
|
@@ -38,7 +38,7 @@ const VendorDirectFulfillmentTransactionsApiAxiosParamCreator = function (config
|
|
|
38
38
|
// verify required parameter 'transactionId' is not null or undefined
|
|
39
39
|
(0, common_1.assertParamExists)('getTransactionStatus', 'transactionId', transactionId);
|
|
40
40
|
const localVarPath = `/vendor/directFulfillment/transactions/v1/transactions/{transactionId}`
|
|
41
|
-
.replace(
|
|
41
|
+
.replace('{transactionId}', encodeURIComponent(String(transactionId)));
|
|
42
42
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43
43
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
44
44
|
let baseOptions;
|
|
@@ -91,8 +91,8 @@ class Configuration {
|
|
|
91
91
|
* @return True if the given MIME is JSON, false otherwise.
|
|
92
92
|
*/
|
|
93
93
|
isJsonMime(mime) {
|
|
94
|
-
const jsonMime =
|
|
95
|
-
return mime !== null &&
|
|
94
|
+
const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
|
|
95
|
+
return mime !== null && jsonMime.test(mime);
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
exports.Configuration = Configuration;
|
|
@@ -32,7 +32,7 @@ export const VendorDirectFulfillmentTransactionsApiAxiosParamCreator = function
|
|
|
32
32
|
// verify required parameter 'transactionId' is not null or undefined
|
|
33
33
|
assertParamExists('getTransactionStatus', 'transactionId', transactionId);
|
|
34
34
|
const localVarPath = `/vendor/directFulfillment/transactions/v1/transactions/{transactionId}`
|
|
35
|
-
.replace(
|
|
35
|
+
.replace('{transactionId}', encodeURIComponent(String(transactionId)));
|
|
36
36
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37
37
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38
38
|
let baseOptions;
|
|
@@ -88,7 +88,7 @@ export class Configuration {
|
|
|
88
88
|
* @return True if the given MIME is JSON, false otherwise.
|
|
89
89
|
*/
|
|
90
90
|
isJsonMime(mime) {
|
|
91
|
-
const jsonMime =
|
|
92
|
-
return mime !== null &&
|
|
91
|
+
const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
|
|
92
|
+
return mime !== null && jsonMime.test(mime);
|
|
93
93
|
}
|
|
94
94
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/vendor-direct-fulfillment-transactions-api-v1",
|
|
3
3
|
"author": "Bertrand Marron <bertrand@bizon.solutions>",
|
|
4
4
|
"description": "The Selling Partner API for Direct Fulfillment Transaction Status provides programmatic access to a direct fulfillment vendor's transaction status.",
|
|
5
|
-
"version": "4.0.
|
|
5
|
+
"version": "4.0.17",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"dist/**/*.d.ts"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@sp-api-sdk/common": "2.1.
|
|
22
|
-
"axios": "^1.
|
|
21
|
+
"@sp-api-sdk/common": "2.1.31",
|
|
22
|
+
"axios": "^1.15.2"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"sp sdk",
|
|
41
41
|
"vendor direct fulfillment transactions api"
|
|
42
42
|
],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "cc3ed7e58346bf7a4110ed8f1353aae840f294e2"
|
|
44
44
|
}
|