@sp-api-sdk/notifications-api-v1 1.8.0 → 1.9.2

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.
Files changed (75) hide show
  1. package/README.md +42 -21
  2. package/dist/cjs/src/api-model/api/notifications-api.js +13 -13
  3. package/dist/cjs/src/api-model/api.js +1 -1
  4. package/dist/cjs/src/api-model/base.js +1 -1
  5. package/dist/cjs/src/api-model/common.js +1 -1
  6. package/dist/cjs/src/api-model/configuration.js +1 -1
  7. package/dist/cjs/src/api-model/index.js +1 -1
  8. package/dist/cjs/src/api-model/models/create-destination-request.js +1 -1
  9. package/dist/cjs/src/api-model/models/create-destination-response.js +1 -1
  10. package/dist/cjs/src/api-model/models/create-subscription-request.js +1 -1
  11. package/dist/cjs/src/api-model/models/create-subscription-response.js +1 -1
  12. package/dist/cjs/src/api-model/models/delete-destination-response.js +1 -1
  13. package/dist/cjs/src/api-model/models/delete-subscription-by-id-response.js +1 -1
  14. package/dist/cjs/src/api-model/models/destination-resource-specification.js +1 -1
  15. package/dist/cjs/src/api-model/models/destination-resource.js +1 -1
  16. package/dist/cjs/src/api-model/models/destination.js +1 -1
  17. package/dist/cjs/src/api-model/models/event-bridge-resource-specification.js +1 -1
  18. package/dist/cjs/src/api-model/models/event-bridge-resource.js +1 -1
  19. package/dist/cjs/src/api-model/models/get-destination-response.js +1 -1
  20. package/dist/cjs/src/api-model/models/get-destinations-response.js +1 -1
  21. package/dist/cjs/src/api-model/models/get-subscription-by-id-response.js +1 -1
  22. package/dist/cjs/src/api-model/models/get-subscription-response.js +1 -1
  23. package/dist/cjs/src/api-model/models/model-error.js +1 -1
  24. package/dist/cjs/src/api-model/models/sqs-resource.js +1 -1
  25. package/dist/cjs/src/api-model/models/subscription.js +1 -1
  26. package/dist/es/src/api-model/api/notifications-api.js +13 -13
  27. package/dist/es/src/api-model/api.js +1 -1
  28. package/dist/es/src/api-model/base.js +1 -1
  29. package/dist/es/src/api-model/common.js +1 -1
  30. package/dist/es/src/api-model/configuration.js +1 -1
  31. package/dist/es/src/api-model/index.js +1 -1
  32. package/dist/es/src/api-model/models/create-destination-request.js +1 -1
  33. package/dist/es/src/api-model/models/create-destination-response.js +1 -1
  34. package/dist/es/src/api-model/models/create-subscription-request.js +1 -1
  35. package/dist/es/src/api-model/models/create-subscription-response.js +1 -1
  36. package/dist/es/src/api-model/models/delete-destination-response.js +1 -1
  37. package/dist/es/src/api-model/models/delete-subscription-by-id-response.js +1 -1
  38. package/dist/es/src/api-model/models/destination-resource-specification.js +1 -1
  39. package/dist/es/src/api-model/models/destination-resource.js +1 -1
  40. package/dist/es/src/api-model/models/destination.js +1 -1
  41. package/dist/es/src/api-model/models/event-bridge-resource-specification.js +1 -1
  42. package/dist/es/src/api-model/models/event-bridge-resource.js +1 -1
  43. package/dist/es/src/api-model/models/get-destination-response.js +1 -1
  44. package/dist/es/src/api-model/models/get-destinations-response.js +1 -1
  45. package/dist/es/src/api-model/models/get-subscription-by-id-response.js +1 -1
  46. package/dist/es/src/api-model/models/get-subscription-response.js +1 -1
  47. package/dist/es/src/api-model/models/model-error.js +1 -1
  48. package/dist/es/src/api-model/models/sqs-resource.js +1 -1
  49. package/dist/es/src/api-model/models/subscription.js +1 -1
  50. package/dist/types/src/api-model/api/notifications-api.d.ts +45 -45
  51. package/dist/types/src/api-model/api.d.ts +1 -1
  52. package/dist/types/src/api-model/base.d.ts +1 -1
  53. package/dist/types/src/api-model/common.d.ts +2 -2
  54. package/dist/types/src/api-model/configuration.d.ts +1 -1
  55. package/dist/types/src/api-model/index.d.ts +1 -1
  56. package/dist/types/src/api-model/models/create-destination-request.d.ts +1 -1
  57. package/dist/types/src/api-model/models/create-destination-response.d.ts +1 -1
  58. package/dist/types/src/api-model/models/create-subscription-request.d.ts +1 -1
  59. package/dist/types/src/api-model/models/create-subscription-response.d.ts +1 -1
  60. package/dist/types/src/api-model/models/delete-destination-response.d.ts +1 -1
  61. package/dist/types/src/api-model/models/delete-subscription-by-id-response.d.ts +1 -1
  62. package/dist/types/src/api-model/models/destination-resource-specification.d.ts +1 -1
  63. package/dist/types/src/api-model/models/destination-resource.d.ts +1 -1
  64. package/dist/types/src/api-model/models/destination.d.ts +1 -1
  65. package/dist/types/src/api-model/models/event-bridge-resource-specification.d.ts +1 -1
  66. package/dist/types/src/api-model/models/event-bridge-resource.d.ts +1 -1
  67. package/dist/types/src/api-model/models/get-destination-response.d.ts +1 -1
  68. package/dist/types/src/api-model/models/get-destinations-response.d.ts +1 -1
  69. package/dist/types/src/api-model/models/get-subscription-by-id-response.d.ts +1 -1
  70. package/dist/types/src/api-model/models/get-subscription-response.d.ts +1 -1
  71. package/dist/types/src/api-model/models/model-error.d.ts +1 -1
  72. package/dist/types/src/api-model/models/sqs-resource.d.ts +1 -1
  73. package/dist/types/src/api-model/models/subscription.d.ts +1 -1
  74. package/dist/types/src/client.d.ts +2 -3
  75. package/package.json +6 -6
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Selling Partner API for Notifications
3
- * 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.
3
+ * 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, see the [Notifications Use Case Guide](https://github.com/amzn/selling-partner-api-docs/blob/main/guides/en-US/use-case-guides/notifications-api-use-case-guide/notifications-use-case-guide-v1.md)
4
4
  *
5
5
  * The version of the OpenAPI document: v1
6
6
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Selling Partner API for Notifications
3
- * 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.
3
+ * 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, see the [Notifications Use Case Guide](https://github.com/amzn/selling-partner-api-docs/blob/main/guides/en-US/use-case-guides/notifications-api-use-case-guide/notifications-use-case-guide-v1.md)
4
4
  *
5
5
  * The version of the OpenAPI document: v1
6
6
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Selling Partner API for Notifications
3
- * 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.
3
+ * 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, see the [Notifications Use Case Guide](https://github.com/amzn/selling-partner-api-docs/blob/main/guides/en-US/use-case-guides/notifications-api-use-case-guide/notifications-use-case-guide-v1.md)
4
4
  *
5
5
  * The version of the OpenAPI document: v1
6
6
  *
@@ -1,11 +1,10 @@
1
- import { onRetry } from '@sp-api-sdk/common';
2
- import type { ClientConfiguration, RateLimit } from '@sp-api-sdk/common';
1
+ import type { ClientConfiguration, RateLimit, OnRetryHandler } from '@sp-api-sdk/common';
3
2
  import { NotificationsApi } from './api-model';
4
3
  export declare const RATE_LIMITS: RateLimit[];
5
4
  export interface ClientParameters extends Omit<ClientConfiguration, 'rateLimits' | 'onRetry'> {
6
5
  rateLimiting?: {
7
6
  retry: boolean;
8
- onRetry?: onRetry;
7
+ onRetry?: OnRetryHandler;
9
8
  };
10
9
  }
11
10
  export declare class NotificationsApiClient extends NotificationsApi {
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@sp-api-sdk/notifications-api-v1",
3
3
  "author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
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.",
5
- "version": "1.8.0",
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, see the Notifications Use Case Guide",
5
+ "version": "1.9.2",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/es/index.js",
8
8
  "types": "dist/types/index.d.ts",
@@ -25,9 +25,9 @@
25
25
  "test": "NODE_ENV='test' yarn jest"
26
26
  },
27
27
  "dependencies": {
28
- "@sp-api-sdk/auth": "^1.9.3",
29
- "@sp-api-sdk/common": "^1.7.4",
30
- "axios": "^0.21.1"
28
+ "@sp-api-sdk/auth": "^1.9.5",
29
+ "@sp-api-sdk/common": "^1.7.7",
30
+ "axios": "^0.24.0"
31
31
  },
32
32
  "repository": {
33
33
  "type": "git",
@@ -48,5 +48,5 @@
48
48
  "sp sdk",
49
49
  "notifications api"
50
50
  ],
51
- "gitHead": "30d4f1399133a7e6a08f9a2ec2cb9ce4641a623b"
51
+ "gitHead": "e8c21d7d481263e8a6663ee11f6708d4dc6968b6"
52
52
  }