@sp-api-sdk/application-integrations-api-2024-04-01 3.0.16 → 4.0.0
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 -4
- package/dist/index.cjs +459 -0
- package/dist/index.cjs.map +1 -0
- package/dist/{types/api-model/api/application-integrations-api.d.ts → index.d.cts} +288 -18
- package/dist/index.d.ts +426 -0
- package/dist/index.js +415 -0
- package/dist/index.js.map +1 -0
- package/package.json +23 -12
- package/dist/cjs/api-model/api/application-integrations-api.js +0 -242
- package/dist/cjs/api-model/api.js +0 -30
- package/dist/cjs/api-model/base.js +0 -52
- package/dist/cjs/api-model/common.js +0 -123
- package/dist/cjs/api-model/configuration.js +0 -98
- package/dist/cjs/api-model/index.js +0 -32
- package/dist/cjs/api-model/models/create-notification-request.js +0 -15
- package/dist/cjs/api-model/models/create-notification-response.js +0 -15
- package/dist/cjs/api-model/models/delete-notifications-request.js +0 -20
- package/dist/cjs/api-model/models/error-list.js +0 -15
- package/dist/cjs/api-model/models/index.js +0 -22
- package/dist/cjs/api-model/models/model-error.js +0 -15
- package/dist/cjs/api-model/models/record-action-feedback-request.js +0 -19
- package/dist/cjs/client.js +0 -35
- package/dist/cjs/index.js +0 -19
- package/dist/es/api-model/api/application-integrations-api.js +0 -232
- package/dist/es/api-model/api.js +0 -14
- package/dist/es/api-model/base.js +0 -44
- package/dist/es/api-model/common.js +0 -110
- package/dist/es/api-model/configuration.js +0 -94
- package/dist/es/api-model/index.js +0 -16
- package/dist/es/api-model/models/create-notification-request.js +0 -14
- package/dist/es/api-model/models/create-notification-response.js +0 -14
- package/dist/es/api-model/models/delete-notifications-request.js +0 -17
- package/dist/es/api-model/models/error-list.js +0 -14
- package/dist/es/api-model/models/index.js +0 -6
- package/dist/es/api-model/models/model-error.js +0 -14
- package/dist/es/api-model/models/record-action-feedback-request.js +0 -16
- package/dist/es/client.js +0 -31
- package/dist/es/index.js +0 -3
- package/dist/types/api-model/api.d.ts +0 -12
- package/dist/types/api-model/base.d.ts +0 -42
- package/dist/types/api-model/common.d.ts +0 -34
- package/dist/types/api-model/configuration.d.ts +0 -98
- package/dist/types/api-model/index.d.ts +0 -14
- package/dist/types/api-model/models/create-notification-request.d.ts +0 -30
- package/dist/types/api-model/models/create-notification-response.d.ts +0 -20
- package/dist/types/api-model/models/delete-notifications-request.d.ts +0 -29
- package/dist/types/api-model/models/error-list.d.ts +0 -20
- package/dist/types/api-model/models/index.d.ts +0 -6
- package/dist/types/api-model/models/model-error.d.ts +0 -28
- package/dist/types/api-model/models/record-action-feedback-request.d.ts +0 -24
- package/dist/types/client.d.ts +0 -6
- package/dist/types/index.d.ts +0 -3
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,426 @@
|
|
|
1
|
+
import { ClientConfiguration, RateLimit } from '@sp-api-sdk/common';
|
|
2
|
+
import * as axios from 'axios';
|
|
3
|
+
import { AxiosInstance, RawAxiosRequestConfig, AxiosPromise } from 'axios';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* The Selling Partner API for third party application integrations.
|
|
7
|
+
* With the AppIntegrations API v2024-04-01, you can send notifications to Amazon Selling Partners and display the notifications in Seller Central.
|
|
8
|
+
*
|
|
9
|
+
* The version of the OpenAPI document: 2024-04-01
|
|
10
|
+
*
|
|
11
|
+
*
|
|
12
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
13
|
+
* https://openapi-generator.tech
|
|
14
|
+
* Do not edit the class manually.
|
|
15
|
+
*/
|
|
16
|
+
interface AWSv4Configuration {
|
|
17
|
+
options?: {
|
|
18
|
+
region?: string;
|
|
19
|
+
service?: string;
|
|
20
|
+
};
|
|
21
|
+
credentials?: {
|
|
22
|
+
accessKeyId?: string;
|
|
23
|
+
secretAccessKey?: string;
|
|
24
|
+
sessionToken?: string;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
interface ConfigurationParameters {
|
|
28
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
29
|
+
username?: string;
|
|
30
|
+
password?: string;
|
|
31
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
32
|
+
awsv4?: AWSv4Configuration;
|
|
33
|
+
basePath?: string;
|
|
34
|
+
serverIndex?: number;
|
|
35
|
+
baseOptions?: any;
|
|
36
|
+
formDataCtor?: new () => any;
|
|
37
|
+
}
|
|
38
|
+
declare class Configuration {
|
|
39
|
+
/**
|
|
40
|
+
* parameter for apiKey security
|
|
41
|
+
* @param name security name
|
|
42
|
+
*/
|
|
43
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
44
|
+
/**
|
|
45
|
+
* parameter for basic security
|
|
46
|
+
*/
|
|
47
|
+
username?: string;
|
|
48
|
+
/**
|
|
49
|
+
* parameter for basic security
|
|
50
|
+
*/
|
|
51
|
+
password?: string;
|
|
52
|
+
/**
|
|
53
|
+
* parameter for oauth2 security
|
|
54
|
+
* @param name security name
|
|
55
|
+
* @param scopes oauth2 scope
|
|
56
|
+
*/
|
|
57
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
58
|
+
/**
|
|
59
|
+
* parameter for aws4 signature security
|
|
60
|
+
* @param {Object} AWS4Signature - AWS4 Signature security
|
|
61
|
+
* @param {string} options.region - aws region
|
|
62
|
+
* @param {string} options.service - name of the service.
|
|
63
|
+
* @param {string} credentials.accessKeyId - aws access key id
|
|
64
|
+
* @param {string} credentials.secretAccessKey - aws access key
|
|
65
|
+
* @param {string} credentials.sessionToken - aws session token
|
|
66
|
+
* @memberof Configuration
|
|
67
|
+
*/
|
|
68
|
+
awsv4?: AWSv4Configuration;
|
|
69
|
+
/**
|
|
70
|
+
* override base path
|
|
71
|
+
*/
|
|
72
|
+
basePath?: string;
|
|
73
|
+
/**
|
|
74
|
+
* override server index
|
|
75
|
+
*/
|
|
76
|
+
serverIndex?: number;
|
|
77
|
+
/**
|
|
78
|
+
* base options for axios calls
|
|
79
|
+
*/
|
|
80
|
+
baseOptions?: any;
|
|
81
|
+
/**
|
|
82
|
+
* The FormData constructor that will be used to create multipart form data
|
|
83
|
+
* requests. You can inject this here so that execution environments that
|
|
84
|
+
* do not support the FormData class can still run the generated client.
|
|
85
|
+
*
|
|
86
|
+
* @type {new () => FormData}
|
|
87
|
+
*/
|
|
88
|
+
formDataCtor?: new () => any;
|
|
89
|
+
constructor(param?: ConfigurationParameters);
|
|
90
|
+
/**
|
|
91
|
+
* Check if the given MIME is a JSON MIME.
|
|
92
|
+
* JSON MIME examples:
|
|
93
|
+
* application/json
|
|
94
|
+
* application/json; charset=UTF8
|
|
95
|
+
* APPLICATION/JSON
|
|
96
|
+
* application/vnd.company+json
|
|
97
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
98
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
99
|
+
*/
|
|
100
|
+
isJsonMime(mime: string): boolean;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* The Selling Partner API for third party application integrations.
|
|
105
|
+
* With the AppIntegrations API v2024-04-01, you can send notifications to Amazon Selling Partners and display the notifications in Seller Central.
|
|
106
|
+
*
|
|
107
|
+
* The version of the OpenAPI document: 2024-04-01
|
|
108
|
+
*
|
|
109
|
+
*
|
|
110
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
111
|
+
* https://openapi-generator.tech
|
|
112
|
+
* Do not edit the class manually.
|
|
113
|
+
*/
|
|
114
|
+
|
|
115
|
+
interface RequestArgs {
|
|
116
|
+
url: string;
|
|
117
|
+
options: RawAxiosRequestConfig;
|
|
118
|
+
}
|
|
119
|
+
declare class BaseAPI {
|
|
120
|
+
protected basePath: string;
|
|
121
|
+
protected axios: AxiosInstance;
|
|
122
|
+
protected configuration: Configuration | undefined;
|
|
123
|
+
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* The Selling Partner API for third party application integrations.
|
|
128
|
+
* With the AppIntegrations API v2024-04-01, you can send notifications to Amazon Selling Partners and display the notifications in Seller Central.
|
|
129
|
+
*
|
|
130
|
+
* The version of the OpenAPI document: 2024-04-01
|
|
131
|
+
*
|
|
132
|
+
*
|
|
133
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
134
|
+
* https://openapi-generator.tech
|
|
135
|
+
* Do not edit the class manually.
|
|
136
|
+
*/
|
|
137
|
+
/**
|
|
138
|
+
* The request for the `createNotification` operation.
|
|
139
|
+
*/
|
|
140
|
+
interface CreateNotificationRequest {
|
|
141
|
+
/**
|
|
142
|
+
* The unique identifier of the notification template you used to onboard your application.
|
|
143
|
+
*/
|
|
144
|
+
'templateId': string;
|
|
145
|
+
/**
|
|
146
|
+
* The dynamic parameters required by the notification templated specified by `templateId`.
|
|
147
|
+
*/
|
|
148
|
+
'notificationParameters': {
|
|
149
|
+
[key: string]: object;
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* An encrypted marketplace identifier for the posted notification.
|
|
153
|
+
*/
|
|
154
|
+
'marketplaceId'?: string;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* The Selling Partner API for third party application integrations.
|
|
159
|
+
* With the AppIntegrations API v2024-04-01, you can send notifications to Amazon Selling Partners and display the notifications in Seller Central.
|
|
160
|
+
*
|
|
161
|
+
* The version of the OpenAPI document: 2024-04-01
|
|
162
|
+
*
|
|
163
|
+
*
|
|
164
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
165
|
+
* https://openapi-generator.tech
|
|
166
|
+
* Do not edit the class manually.
|
|
167
|
+
*/
|
|
168
|
+
/**
|
|
169
|
+
* The response for the `createNotification` operation.
|
|
170
|
+
*/
|
|
171
|
+
interface CreateNotificationResponse {
|
|
172
|
+
/**
|
|
173
|
+
* The unique identifier assigned to each notification.
|
|
174
|
+
*/
|
|
175
|
+
'notificationId'?: string;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* The Selling Partner API for third party application integrations.
|
|
180
|
+
* With the AppIntegrations API v2024-04-01, you can send notifications to Amazon Selling Partners and display the notifications in Seller Central.
|
|
181
|
+
*
|
|
182
|
+
* The version of the OpenAPI document: 2024-04-01
|
|
183
|
+
*
|
|
184
|
+
*
|
|
185
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
186
|
+
* https://openapi-generator.tech
|
|
187
|
+
* Do not edit the class manually.
|
|
188
|
+
*/
|
|
189
|
+
/**
|
|
190
|
+
* The request for the `deleteNotifications` operation.
|
|
191
|
+
*/
|
|
192
|
+
interface DeleteNotificationsRequest {
|
|
193
|
+
/**
|
|
194
|
+
* The unique identifier of the notification template you used to onboard your application.
|
|
195
|
+
*/
|
|
196
|
+
'templateId': string;
|
|
197
|
+
/**
|
|
198
|
+
* The unique identifier that maps each notification status to a reason code.
|
|
199
|
+
*/
|
|
200
|
+
'deletionReason': DeleteNotificationsRequestDeletionReasonEnum;
|
|
201
|
+
}
|
|
202
|
+
declare const DeleteNotificationsRequestDeletionReasonEnum: {
|
|
203
|
+
readonly IncorrectContent: "INCORRECT_CONTENT";
|
|
204
|
+
readonly IncorrectRecipient: "INCORRECT_RECIPIENT";
|
|
205
|
+
};
|
|
206
|
+
type DeleteNotificationsRequestDeletionReasonEnum = typeof DeleteNotificationsRequestDeletionReasonEnum[keyof typeof DeleteNotificationsRequestDeletionReasonEnum];
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* The Selling Partner API for third party application integrations.
|
|
210
|
+
* With the AppIntegrations API v2024-04-01, you can send notifications to Amazon Selling Partners and display the notifications in Seller Central.
|
|
211
|
+
*
|
|
212
|
+
* The version of the OpenAPI document: 2024-04-01
|
|
213
|
+
*
|
|
214
|
+
*
|
|
215
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
216
|
+
* https://openapi-generator.tech
|
|
217
|
+
* Do not edit the class manually.
|
|
218
|
+
*/
|
|
219
|
+
/**
|
|
220
|
+
* A list of error responses returned when a request is unsuccessful.
|
|
221
|
+
*/
|
|
222
|
+
interface ErrorList {
|
|
223
|
+
/**
|
|
224
|
+
* Error response returned when the request is unsuccessful.
|
|
225
|
+
*/
|
|
226
|
+
'errors': Array<Error>;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* The Selling Partner API for third party application integrations.
|
|
231
|
+
* With the AppIntegrations API v2024-04-01, you can send notifications to Amazon Selling Partners and display the notifications in Seller Central.
|
|
232
|
+
*
|
|
233
|
+
* The version of the OpenAPI document: 2024-04-01
|
|
234
|
+
*
|
|
235
|
+
*
|
|
236
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
237
|
+
* https://openapi-generator.tech
|
|
238
|
+
* Do not edit the class manually.
|
|
239
|
+
*/
|
|
240
|
+
/**
|
|
241
|
+
* Error response returned when the request is unsuccessful.
|
|
242
|
+
*/
|
|
243
|
+
interface ModelError {
|
|
244
|
+
/**
|
|
245
|
+
* An error code that identifies the type of error that occurred.
|
|
246
|
+
*/
|
|
247
|
+
'code': string;
|
|
248
|
+
/**
|
|
249
|
+
* A message that describes the error condition.
|
|
250
|
+
*/
|
|
251
|
+
'message': string;
|
|
252
|
+
/**
|
|
253
|
+
* Additional details that can help the caller understand or fix the issue.
|
|
254
|
+
*/
|
|
255
|
+
'details'?: string;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* The Selling Partner API for third party application integrations.
|
|
260
|
+
* With the AppIntegrations API v2024-04-01, you can send notifications to Amazon Selling Partners and display the notifications in Seller Central.
|
|
261
|
+
*
|
|
262
|
+
* The version of the OpenAPI document: 2024-04-01
|
|
263
|
+
*
|
|
264
|
+
*
|
|
265
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
266
|
+
* https://openapi-generator.tech
|
|
267
|
+
* Do not edit the class manually.
|
|
268
|
+
*/
|
|
269
|
+
/**
|
|
270
|
+
* The request for the `recordActionFeedback` operation.
|
|
271
|
+
*/
|
|
272
|
+
interface RecordActionFeedbackRequest {
|
|
273
|
+
/**
|
|
274
|
+
* The unique identifier for each notification status.
|
|
275
|
+
*/
|
|
276
|
+
'feedbackActionCode': RecordActionFeedbackRequestFeedbackActionCodeEnum;
|
|
277
|
+
}
|
|
278
|
+
declare const RecordActionFeedbackRequestFeedbackActionCodeEnum: {
|
|
279
|
+
readonly SellerActionCompleted: "SELLER_ACTION_COMPLETED";
|
|
280
|
+
};
|
|
281
|
+
type RecordActionFeedbackRequestFeedbackActionCodeEnum = typeof RecordActionFeedbackRequestFeedbackActionCodeEnum[keyof typeof RecordActionFeedbackRequestFeedbackActionCodeEnum];
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* ApplicationIntegrationsApi - axios parameter creator
|
|
285
|
+
*/
|
|
286
|
+
declare const ApplicationIntegrationsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
287
|
+
/**
|
|
288
|
+
* Create a notification for sellers in Seller Central. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Sellers whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
289
|
+
* @param {CreateNotificationRequest} body The request body for the `createNotification` operation.
|
|
290
|
+
* @param {*} [options] Override http request option.
|
|
291
|
+
* @throws {RequiredError}
|
|
292
|
+
*/
|
|
293
|
+
createNotification: (body: CreateNotificationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
294
|
+
/**
|
|
295
|
+
* Remove your application\'s notifications from the Appstore notifications dashboard. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Sellers whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
296
|
+
* @param {DeleteNotificationsRequest} body The request body for the `deleteNotifications` operation.
|
|
297
|
+
* @param {*} [options] Override http request option.
|
|
298
|
+
* @throws {RequiredError}
|
|
299
|
+
*/
|
|
300
|
+
deleteNotifications: (body: DeleteNotificationsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
301
|
+
/**
|
|
302
|
+
* Records the seller\'s response to a notification. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Sellers whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
303
|
+
* @param {string} notificationId A `notificationId` uniquely identifies a notification.
|
|
304
|
+
* @param {RecordActionFeedbackRequest} body The request body for the `recordActionFeedback` operation.
|
|
305
|
+
* @param {*} [options] Override http request option.
|
|
306
|
+
* @throws {RequiredError}
|
|
307
|
+
*/
|
|
308
|
+
recordActionFeedback: (notificationId: string, body: RecordActionFeedbackRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
309
|
+
};
|
|
310
|
+
/**
|
|
311
|
+
* ApplicationIntegrationsApi - functional programming interface
|
|
312
|
+
*/
|
|
313
|
+
declare const ApplicationIntegrationsApiFp: (configuration?: Configuration) => {
|
|
314
|
+
/**
|
|
315
|
+
* Create a notification for sellers in Seller Central. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Sellers whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
316
|
+
* @param {CreateNotificationRequest} body The request body for the `createNotification` operation.
|
|
317
|
+
* @param {*} [options] Override http request option.
|
|
318
|
+
* @throws {RequiredError}
|
|
319
|
+
*/
|
|
320
|
+
createNotification(body: CreateNotificationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateNotificationResponse>>;
|
|
321
|
+
/**
|
|
322
|
+
* Remove your application\'s notifications from the Appstore notifications dashboard. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Sellers whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
323
|
+
* @param {DeleteNotificationsRequest} body The request body for the `deleteNotifications` operation.
|
|
324
|
+
* @param {*} [options] Override http request option.
|
|
325
|
+
* @throws {RequiredError}
|
|
326
|
+
*/
|
|
327
|
+
deleteNotifications(body: DeleteNotificationsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
328
|
+
/**
|
|
329
|
+
* Records the seller\'s response to a notification. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Sellers whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
330
|
+
* @param {string} notificationId A `notificationId` uniquely identifies a notification.
|
|
331
|
+
* @param {RecordActionFeedbackRequest} body The request body for the `recordActionFeedback` operation.
|
|
332
|
+
* @param {*} [options] Override http request option.
|
|
333
|
+
* @throws {RequiredError}
|
|
334
|
+
*/
|
|
335
|
+
recordActionFeedback(notificationId: string, body: RecordActionFeedbackRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
336
|
+
};
|
|
337
|
+
/**
|
|
338
|
+
* ApplicationIntegrationsApi - factory interface
|
|
339
|
+
*/
|
|
340
|
+
declare const ApplicationIntegrationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
341
|
+
/**
|
|
342
|
+
* Create a notification for sellers in Seller Central. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Sellers whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
343
|
+
* @param {ApplicationIntegrationsApiCreateNotificationRequest} requestParameters Request parameters.
|
|
344
|
+
* @param {*} [options] Override http request option.
|
|
345
|
+
* @throws {RequiredError}
|
|
346
|
+
*/
|
|
347
|
+
createNotification(requestParameters: ApplicationIntegrationsApiCreateNotificationRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateNotificationResponse>;
|
|
348
|
+
/**
|
|
349
|
+
* Remove your application\'s notifications from the Appstore notifications dashboard. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Sellers whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
350
|
+
* @param {ApplicationIntegrationsApiDeleteNotificationsRequest} requestParameters Request parameters.
|
|
351
|
+
* @param {*} [options] Override http request option.
|
|
352
|
+
* @throws {RequiredError}
|
|
353
|
+
*/
|
|
354
|
+
deleteNotifications(requestParameters: ApplicationIntegrationsApiDeleteNotificationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
355
|
+
/**
|
|
356
|
+
* Records the seller\'s response to a notification. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Sellers whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
357
|
+
* @param {ApplicationIntegrationsApiRecordActionFeedbackRequest} requestParameters Request parameters.
|
|
358
|
+
* @param {*} [options] Override http request option.
|
|
359
|
+
* @throws {RequiredError}
|
|
360
|
+
*/
|
|
361
|
+
recordActionFeedback(requestParameters: ApplicationIntegrationsApiRecordActionFeedbackRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
362
|
+
};
|
|
363
|
+
/**
|
|
364
|
+
* Request parameters for createNotification operation in ApplicationIntegrationsApi.
|
|
365
|
+
*/
|
|
366
|
+
interface ApplicationIntegrationsApiCreateNotificationRequest {
|
|
367
|
+
/**
|
|
368
|
+
* The request body for the `createNotification` operation.
|
|
369
|
+
*/
|
|
370
|
+
readonly body: CreateNotificationRequest;
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
* Request parameters for deleteNotifications operation in ApplicationIntegrationsApi.
|
|
374
|
+
*/
|
|
375
|
+
interface ApplicationIntegrationsApiDeleteNotificationsRequest {
|
|
376
|
+
/**
|
|
377
|
+
* The request body for the `deleteNotifications` operation.
|
|
378
|
+
*/
|
|
379
|
+
readonly body: DeleteNotificationsRequest;
|
|
380
|
+
}
|
|
381
|
+
/**
|
|
382
|
+
* Request parameters for recordActionFeedback operation in ApplicationIntegrationsApi.
|
|
383
|
+
*/
|
|
384
|
+
interface ApplicationIntegrationsApiRecordActionFeedbackRequest {
|
|
385
|
+
/**
|
|
386
|
+
* A `notificationId` uniquely identifies a notification.
|
|
387
|
+
*/
|
|
388
|
+
readonly notificationId: string;
|
|
389
|
+
/**
|
|
390
|
+
* The request body for the `recordActionFeedback` operation.
|
|
391
|
+
*/
|
|
392
|
+
readonly body: RecordActionFeedbackRequest;
|
|
393
|
+
}
|
|
394
|
+
/**
|
|
395
|
+
* ApplicationIntegrationsApi - object-oriented interface
|
|
396
|
+
*/
|
|
397
|
+
declare class ApplicationIntegrationsApi extends BaseAPI {
|
|
398
|
+
/**
|
|
399
|
+
* Create a notification for sellers in Seller Central. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Sellers whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
400
|
+
* @param {ApplicationIntegrationsApiCreateNotificationRequest} requestParameters Request parameters.
|
|
401
|
+
* @param {*} [options] Override http request option.
|
|
402
|
+
* @throws {RequiredError}
|
|
403
|
+
*/
|
|
404
|
+
createNotification(requestParameters: ApplicationIntegrationsApiCreateNotificationRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<CreateNotificationResponse, any, {}>>;
|
|
405
|
+
/**
|
|
406
|
+
* Remove your application\'s notifications from the Appstore notifications dashboard. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Sellers whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
407
|
+
* @param {ApplicationIntegrationsApiDeleteNotificationsRequest} requestParameters Request parameters.
|
|
408
|
+
* @param {*} [options] Override http request option.
|
|
409
|
+
* @throws {RequiredError}
|
|
410
|
+
*/
|
|
411
|
+
deleteNotifications(requestParameters: ApplicationIntegrationsApiDeleteNotificationsRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any, {}>>;
|
|
412
|
+
/**
|
|
413
|
+
* Records the seller\'s response to a notification. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Sellers whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
414
|
+
* @param {ApplicationIntegrationsApiRecordActionFeedbackRequest} requestParameters Request parameters.
|
|
415
|
+
* @param {*} [options] Override http request option.
|
|
416
|
+
* @throws {RequiredError}
|
|
417
|
+
*/
|
|
418
|
+
recordActionFeedback(requestParameters: ApplicationIntegrationsApiRecordActionFeedbackRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any, {}>>;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
declare const clientRateLimits: RateLimit[];
|
|
422
|
+
declare class ApplicationIntegrationsApiClient extends ApplicationIntegrationsApi {
|
|
423
|
+
constructor(configuration: ClientConfiguration);
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
export { ApplicationIntegrationsApi, ApplicationIntegrationsApiAxiosParamCreator, ApplicationIntegrationsApiClient, type ApplicationIntegrationsApiCreateNotificationRequest, type ApplicationIntegrationsApiDeleteNotificationsRequest, ApplicationIntegrationsApiFactory, ApplicationIntegrationsApiFp, type ApplicationIntegrationsApiRecordActionFeedbackRequest, type CreateNotificationRequest, type CreateNotificationResponse, type DeleteNotificationsRequest, DeleteNotificationsRequestDeletionReasonEnum, type ErrorList, type ModelError, type RecordActionFeedbackRequest, RecordActionFeedbackRequestFeedbackActionCodeEnum, clientRateLimits };
|