@sp-api-sdk/application-integrations-api-2024-04-01 1.2.8 → 2.0.1
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/README.md +4 -2
- package/dist/cjs/api-model/configuration.js +7 -1
- package/dist/cjs/api-model/models/delete-notifications-request.js +2 -2
- package/dist/es/api-model/configuration.js +7 -1
- package/dist/es/api-model/models/delete-notifications-request.js +2 -2
- package/dist/types/api-model/models/delete-notifications-request.d.ts +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
With the AppIntegrations API v2024-04-01, you can send notifications to Amazon Selling Partners and display the notifications in Seller Central.
|
|
4
4
|
|
|
5
|
-
[](https://www.npmjs.com/package/@sp-api-sdk/application-integrations-api-2024-04-01)
|
|
6
|
+
[](https://github.com/xojs/xo)
|
|
7
|
+
|
|
8
|
+
[<img src="https://files.bizon.solutions/images/logo/bizon-horizontal.png" alt="Bizon" width="250"/>](https://www.bizon.solutions?utm_source=github&utm_medium=readme&utm_campaign=selling-partner-api-sdk)
|
|
7
9
|
|
|
8
10
|
## Documentation
|
|
9
11
|
|
|
@@ -78,7 +78,13 @@ class Configuration {
|
|
|
78
78
|
this.accessToken = param.accessToken;
|
|
79
79
|
this.basePath = param.basePath;
|
|
80
80
|
this.serverIndex = param.serverIndex;
|
|
81
|
-
this.baseOptions =
|
|
81
|
+
this.baseOptions = {
|
|
82
|
+
headers: {
|
|
83
|
+
...param.baseOptions?.headers,
|
|
84
|
+
'User-Agent': "OpenAPI-Generator/typescript-axios"
|
|
85
|
+
},
|
|
86
|
+
...param.baseOptions
|
|
87
|
+
};
|
|
82
88
|
this.formDataCtor = param.formDataCtor;
|
|
83
89
|
}
|
|
84
90
|
/**
|
|
@@ -15,6 +15,6 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.DeleteNotificationsRequestDeletionReasonEnum = void 0;
|
|
17
17
|
exports.DeleteNotificationsRequestDeletionReasonEnum = {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
IncorrectContent: 'INCORRECT_CONTENT',
|
|
19
|
+
IncorrectRecipient: 'INCORRECT_RECIPIENT'
|
|
20
20
|
};
|
|
@@ -75,7 +75,13 @@ export class Configuration {
|
|
|
75
75
|
this.accessToken = param.accessToken;
|
|
76
76
|
this.basePath = param.basePath;
|
|
77
77
|
this.serverIndex = param.serverIndex;
|
|
78
|
-
this.baseOptions =
|
|
78
|
+
this.baseOptions = {
|
|
79
|
+
headers: {
|
|
80
|
+
...param.baseOptions?.headers,
|
|
81
|
+
'User-Agent': "OpenAPI-Generator/typescript-axios"
|
|
82
|
+
},
|
|
83
|
+
...param.baseOptions
|
|
84
|
+
};
|
|
79
85
|
this.formDataCtor = param.formDataCtor;
|
|
80
86
|
}
|
|
81
87
|
/**
|
|
@@ -12,6 +12,6 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
export const DeleteNotificationsRequestDeletionReasonEnum = {
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
IncorrectContent: 'INCORRECT_CONTENT',
|
|
16
|
+
IncorrectRecipient: 'INCORRECT_RECIPIENT'
|
|
17
17
|
};
|
|
@@ -29,7 +29,7 @@ export interface DeleteNotificationsRequest {
|
|
|
29
29
|
'deletionReason': DeleteNotificationsRequestDeletionReasonEnum;
|
|
30
30
|
}
|
|
31
31
|
export declare const DeleteNotificationsRequestDeletionReasonEnum: {
|
|
32
|
-
readonly
|
|
33
|
-
readonly
|
|
32
|
+
readonly IncorrectContent: "INCORRECT_CONTENT";
|
|
33
|
+
readonly IncorrectRecipient: "INCORRECT_RECIPIENT";
|
|
34
34
|
};
|
|
35
35
|
export type DeleteNotificationsRequestDeletionReasonEnum = typeof DeleteNotificationsRequestDeletionReasonEnum[keyof typeof DeleteNotificationsRequestDeletionReasonEnum];
|
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": "
|
|
5
|
+
"version": "2.0.1",
|
|
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.10",
|
|
22
22
|
"axios": "^1.7.9"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"sp sdk",
|
|
41
41
|
"application integrations api"
|
|
42
42
|
],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "4098c9f3375b3b56212baa3bf21c18dd987baab2"
|
|
44
44
|
}
|