@sp-api-sdk/application-integrations-api-2024-04-01 3.0.16 → 3.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/application-integrations-api.js +1 -1
- package/dist/cjs/api-model/configuration.js +2 -2
- package/dist/cjs/api-model/models/delete-notifications-request.js +1 -1
- package/dist/cjs/api-model/models/record-action-feedback-request.js +1 -1
- package/dist/es/api-model/api/application-integrations-api.js +1 -1
- package/dist/es/api-model/configuration.js +2 -2
- package/dist/es/api-model/models/delete-notifications-request.js +1 -1
- package/dist/es/api-model/models/record-action-feedback-request.js +1 -1
- package/package.json +4 -4
|
@@ -101,7 +101,7 @@ const ApplicationIntegrationsApiAxiosParamCreator = function (configuration) {
|
|
|
101
101
|
// verify required parameter 'body' is not null or undefined
|
|
102
102
|
(0, common_1.assertParamExists)('recordActionFeedback', 'body', body);
|
|
103
103
|
const localVarPath = `/appIntegrations/2024-04-01/notifications/{notificationId}/feedback`
|
|
104
|
-
.replace(
|
|
104
|
+
.replace('{notificationId}', encodeURIComponent(String(notificationId)));
|
|
105
105
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
106
106
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
107
107
|
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;
|
|
@@ -16,5 +16,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.DeleteNotificationsRequestDeletionReasonEnum = void 0;
|
|
17
17
|
exports.DeleteNotificationsRequestDeletionReasonEnum = {
|
|
18
18
|
IncorrectContent: 'INCORRECT_CONTENT',
|
|
19
|
-
IncorrectRecipient: 'INCORRECT_RECIPIENT'
|
|
19
|
+
IncorrectRecipient: 'INCORRECT_RECIPIENT',
|
|
20
20
|
};
|
|
@@ -15,5 +15,5 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.RecordActionFeedbackRequestFeedbackActionCodeEnum = void 0;
|
|
17
17
|
exports.RecordActionFeedbackRequestFeedbackActionCodeEnum = {
|
|
18
|
-
SellerActionCompleted: 'SELLER_ACTION_COMPLETED'
|
|
18
|
+
SellerActionCompleted: 'SELLER_ACTION_COMPLETED',
|
|
19
19
|
};
|
|
@@ -95,7 +95,7 @@ export const ApplicationIntegrationsApiAxiosParamCreator = function (configurati
|
|
|
95
95
|
// verify required parameter 'body' is not null or undefined
|
|
96
96
|
assertParamExists('recordActionFeedback', 'body', body);
|
|
97
97
|
const localVarPath = `/appIntegrations/2024-04-01/notifications/{notificationId}/feedback`
|
|
98
|
-
.replace(
|
|
98
|
+
.replace('{notificationId}', encodeURIComponent(String(notificationId)));
|
|
99
99
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
100
100
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
101
101
|
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/application-integrations-api-2024-04-01",
|
|
3
3
|
"author": "Bertrand Marron <bertrand@bizon.solutions>",
|
|
4
4
|
"description": "With the AppIntegrations API v2024-04-01, you can send notifications to Amazon Selling Partners and display the notifications in Seller Central.",
|
|
5
|
-
"version": "3.0.
|
|
5
|
+
"version": "3.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
|
"application integrations api"
|
|
42
42
|
],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "cc3ed7e58346bf7a4110ed8f1353aae840f294e2"
|
|
44
44
|
}
|