@sp-api-sdk/notifications-api-v1 3.0.9 → 3.0.10

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.
@@ -294,53 +294,53 @@ export declare class NotificationsApi extends BaseAPI {
294
294
  * @param {*} [options] Override http request option.
295
295
  * @throws {RequiredError}
296
296
  */
297
- createDestination(requestParameters: NotificationsApiCreateDestinationRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateDestinationResponse, any>>;
297
+ createDestination(requestParameters: NotificationsApiCreateDestinationRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateDestinationResponse, any, {}>>;
298
298
  /**
299
299
  * Creates a subscription for the specified notification type to be delivered to the specified destination. Before you can subscribe, you must first create the destination by calling the `createDestination` operation. In cases where the specified notification type supports multiple payload versions, you can utilize this API to subscribe to a different payload version if you already have an existing subscription for a different payload version. **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 table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe 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).
300
300
  * @param {NotificationsApiCreateSubscriptionRequest} requestParameters Request parameters.
301
301
  * @param {*} [options] Override http request option.
302
302
  * @throws {RequiredError}
303
303
  */
304
- createSubscription(requestParameters: NotificationsApiCreateSubscriptionRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateSubscriptionResponse, any>>;
304
+ createSubscription(requestParameters: NotificationsApiCreateSubscriptionRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateSubscriptionResponse, any, {}>>;
305
305
  /**
306
306
  * Deletes the destination that you specify. The `deleteDestination` operation is grantless. For more information, refer to [Grantless operations](https://developer-docs.amazon.com/sp-api/docs/grantless-operations). **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 table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe 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).
307
307
  * @param {NotificationsApiDeleteDestinationRequest} requestParameters Request parameters.
308
308
  * @param {*} [options] Override http request option.
309
309
  * @throws {RequiredError}
310
310
  */
311
- deleteDestination(requestParameters: NotificationsApiDeleteDestinationRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<DeleteDestinationResponse, any>>;
311
+ deleteDestination(requestParameters: NotificationsApiDeleteDestinationRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<DeleteDestinationResponse, any, {}>>;
312
312
  /**
313
313
  * Deletes the subscription indicated by the subscription identifier and notification type that you specify. The subscription identifier can be for any subscription associated with your application. After you successfully call this operation, notifications will stop being sent for the associated subscription. The `deleteSubscriptionById` operation is grantless. For more information, refer to [Grantless operations](https://developer-docs.amazon.com/sp-api/docs/grantless-operations). **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 table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe 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).
314
314
  * @param {NotificationsApiDeleteSubscriptionByIdRequest} requestParameters Request parameters.
315
315
  * @param {*} [options] Override http request option.
316
316
  * @throws {RequiredError}
317
317
  */
318
- deleteSubscriptionById(requestParameters: NotificationsApiDeleteSubscriptionByIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<DeleteSubscriptionByIdResponse, any>>;
318
+ deleteSubscriptionById(requestParameters: NotificationsApiDeleteSubscriptionByIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<DeleteSubscriptionByIdResponse, any, {}>>;
319
319
  /**
320
320
  * Returns information about the destination that you specify. The `getDestination` operation is grantless. For more information, refer to [Grantless operations](https://developer-docs.amazon.com/sp-api/docs/grantless-operations). **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 table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe 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).
321
321
  * @param {NotificationsApiGetDestinationRequest} requestParameters Request parameters.
322
322
  * @param {*} [options] Override http request option.
323
323
  * @throws {RequiredError}
324
324
  */
325
- getDestination(requestParameters: NotificationsApiGetDestinationRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetDestinationResponse, any>>;
325
+ getDestination(requestParameters: NotificationsApiGetDestinationRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetDestinationResponse, any, {}>>;
326
326
  /**
327
327
  * Returns information about all destinations. The `getDestinations` operation is grantless. For more information, refer to [Grantless operations](https://developer-docs.amazon.com/sp-api/docs/grantless-operations). **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 table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe 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).
328
328
  * @param {*} [options] Override http request option.
329
329
  * @throws {RequiredError}
330
330
  */
331
- getDestinations(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetDestinationsResponse, any>>;
331
+ getDestinations(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetDestinationsResponse, any, {}>>;
332
332
  /**
333
333
  * Returns information about subscription of the specified notification type and payload version. `payloadVersion` is an optional parameter. When `payloadVersion` is not provided, it will return latest payload version subscription\'s information. You can use this API to get subscription information when you do not have a subscription identifier. **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 table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe 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).
334
334
  * @param {NotificationsApiGetSubscriptionRequest} requestParameters Request parameters.
335
335
  * @param {*} [options] Override http request option.
336
336
  * @throws {RequiredError}
337
337
  */
338
- getSubscription(requestParameters: NotificationsApiGetSubscriptionRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetSubscriptionResponse, any>>;
338
+ getSubscription(requestParameters: NotificationsApiGetSubscriptionRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetSubscriptionResponse, any, {}>>;
339
339
  /**
340
340
  * Returns information about a subscription for the specified notification type. The `getSubscriptionById` operation is grantless. For more information, refer to [Grantless operations](https://developer-docs.amazon.com/sp-api/docs/grantless-operations). **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 table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may observe 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).
341
341
  * @param {NotificationsApiGetSubscriptionByIdRequest} requestParameters Request parameters.
342
342
  * @param {*} [options] Override http request option.
343
343
  * @throws {RequiredError}
344
344
  */
345
- getSubscriptionById(requestParameters: NotificationsApiGetSubscriptionByIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetSubscriptionByIdResponse, any>>;
345
+ getSubscriptionById(requestParameters: NotificationsApiGetSubscriptionByIdRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetSubscriptionByIdResponse, any, {}>>;
346
346
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sp-api-sdk/notifications-api-v1",
3
3
  "author": "Bertrand Marron <bertrand@bizon.solutions>",
4
4
  "description": "The Selling Partner API for Notifications lets you subscribe to notifications that are relevant to a selling partner's business. Using this API you can create a destination to receive notifications, subscribe to notifications, delete notification subscriptions, and more. For more information, refer to the Notifications Use Case Guide.",
5
- "version": "3.0.9",
5
+ "version": "3.0.10",
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.18",
22
- "axios": "^1.11.0"
21
+ "@sp-api-sdk/common": "2.1.19",
22
+ "axios": "^1.12.2"
23
23
  },
24
24
  "repository": {
25
25
  "type": "git",
@@ -40,26 +40,5 @@
40
40
  "sp sdk",
41
41
  "notifications api"
42
42
  ],
43
- "xo": {
44
- "extends": [
45
- "xo-bizon"
46
- ],
47
- "settings": {
48
- "import/internal-regex": "^@sp-api-sdk/"
49
- },
50
- "semicolon": false,
51
- "space": 2,
52
- "prettier": true,
53
- "ignores": [
54
- "src/api-model/**"
55
- ],
56
- "rules": {
57
- "unicorn/prevent-abbreviations": "off"
58
- }
59
- },
60
- "prettier": {
61
- "printWidth": 100,
62
- "jsxSingleQuote": true
63
- },
64
- "gitHead": "4c9d1270205ee00090d635b31eeabb323860546d"
43
+ "gitHead": "95f22690de1d02f4739da49cffb24bef8b5b61c9"
65
44
  }