@sp-api-sdk/application-integrations-api-2024-04-01 2.0.4 → 3.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.
@@ -16,7 +16,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
16
16
  return (mod && mod.__esModule) ? mod : { "default": mod };
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.AppIntegrationsApi = exports.AppIntegrationsApiFactory = exports.AppIntegrationsApiFp = exports.AppIntegrationsApiAxiosParamCreator = void 0;
19
+ exports.ApplicationIntegrationsApi = exports.ApplicationIntegrationsApiFactory = exports.ApplicationIntegrationsApiFp = exports.ApplicationIntegrationsApiAxiosParamCreator = void 0;
20
20
  const axios_1 = __importDefault(require("axios"));
21
21
  // Some imports not used depending on template conditions
22
22
  // @ts-ignore
@@ -24,10 +24,10 @@ const common_1 = require("../common");
24
24
  // @ts-ignore
25
25
  const base_1 = require("../base");
26
26
  /**
27
- * AppIntegrationsApi - axios parameter creator
27
+ * ApplicationIntegrationsApi - axios parameter creator
28
28
  * @export
29
29
  */
30
- const AppIntegrationsApiAxiosParamCreator = function (configuration) {
30
+ const ApplicationIntegrationsApiAxiosParamCreator = function (configuration) {
31
31
  return {
32
32
  /**
33
33
  * 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).
@@ -122,13 +122,13 @@ const AppIntegrationsApiAxiosParamCreator = function (configuration) {
122
122
  },
123
123
  };
124
124
  };
125
- exports.AppIntegrationsApiAxiosParamCreator = AppIntegrationsApiAxiosParamCreator;
125
+ exports.ApplicationIntegrationsApiAxiosParamCreator = ApplicationIntegrationsApiAxiosParamCreator;
126
126
  /**
127
- * AppIntegrationsApi - functional programming interface
127
+ * ApplicationIntegrationsApi - functional programming interface
128
128
  * @export
129
129
  */
130
- const AppIntegrationsApiFp = function (configuration) {
131
- const localVarAxiosParamCreator = (0, exports.AppIntegrationsApiAxiosParamCreator)(configuration);
130
+ const ApplicationIntegrationsApiFp = function (configuration) {
131
+ const localVarAxiosParamCreator = (0, exports.ApplicationIntegrationsApiAxiosParamCreator)(configuration);
132
132
  return {
133
133
  /**
134
134
  * 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).
@@ -139,7 +139,7 @@ const AppIntegrationsApiFp = function (configuration) {
139
139
  async createNotification(body, options) {
140
140
  const localVarAxiosArgs = await localVarAxiosParamCreator.createNotification(body, options);
141
141
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
142
- const localVarOperationServerBasePath = base_1.operationServerMap['AppIntegrationsApi.createNotification']?.[localVarOperationServerIndex]?.url;
142
+ const localVarOperationServerBasePath = base_1.operationServerMap['ApplicationIntegrationsApi.createNotification']?.[localVarOperationServerIndex]?.url;
143
143
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
144
144
  },
145
145
  /**
@@ -151,7 +151,7 @@ const AppIntegrationsApiFp = function (configuration) {
151
151
  async deleteNotifications(body, options) {
152
152
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteNotifications(body, options);
153
153
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
154
- const localVarOperationServerBasePath = base_1.operationServerMap['AppIntegrationsApi.deleteNotifications']?.[localVarOperationServerIndex]?.url;
154
+ const localVarOperationServerBasePath = base_1.operationServerMap['ApplicationIntegrationsApi.deleteNotifications']?.[localVarOperationServerIndex]?.url;
155
155
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
156
156
  },
157
157
  /**
@@ -164,22 +164,22 @@ const AppIntegrationsApiFp = function (configuration) {
164
164
  async recordActionFeedback(notificationId, body, options) {
165
165
  const localVarAxiosArgs = await localVarAxiosParamCreator.recordActionFeedback(notificationId, body, options);
166
166
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
167
- const localVarOperationServerBasePath = base_1.operationServerMap['AppIntegrationsApi.recordActionFeedback']?.[localVarOperationServerIndex]?.url;
167
+ const localVarOperationServerBasePath = base_1.operationServerMap['ApplicationIntegrationsApi.recordActionFeedback']?.[localVarOperationServerIndex]?.url;
168
168
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
169
169
  },
170
170
  };
171
171
  };
172
- exports.AppIntegrationsApiFp = AppIntegrationsApiFp;
172
+ exports.ApplicationIntegrationsApiFp = ApplicationIntegrationsApiFp;
173
173
  /**
174
- * AppIntegrationsApi - factory interface
174
+ * ApplicationIntegrationsApi - factory interface
175
175
  * @export
176
176
  */
177
- const AppIntegrationsApiFactory = function (configuration, basePath, axios) {
178
- const localVarFp = (0, exports.AppIntegrationsApiFp)(configuration);
177
+ const ApplicationIntegrationsApiFactory = function (configuration, basePath, axios) {
178
+ const localVarFp = (0, exports.ApplicationIntegrationsApiFp)(configuration);
179
179
  return {
180
180
  /**
181
181
  * 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).
182
- * @param {AppIntegrationsApiCreateNotificationRequest} requestParameters Request parameters.
182
+ * @param {ApplicationIntegrationsApiCreateNotificationRequest} requestParameters Request parameters.
183
183
  * @param {*} [options] Override http request option.
184
184
  * @throws {RequiredError}
185
185
  */
@@ -188,7 +188,7 @@ const AppIntegrationsApiFactory = function (configuration, basePath, axios) {
188
188
  },
189
189
  /**
190
190
  * 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).
191
- * @param {AppIntegrationsApiDeleteNotificationsRequest} requestParameters Request parameters.
191
+ * @param {ApplicationIntegrationsApiDeleteNotificationsRequest} requestParameters Request parameters.
192
192
  * @param {*} [options] Override http request option.
193
193
  * @throws {RequiredError}
194
194
  */
@@ -197,7 +197,7 @@ const AppIntegrationsApiFactory = function (configuration, basePath, axios) {
197
197
  },
198
198
  /**
199
199
  * 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).
200
- * @param {AppIntegrationsApiRecordActionFeedbackRequest} requestParameters Request parameters.
200
+ * @param {ApplicationIntegrationsApiRecordActionFeedbackRequest} requestParameters Request parameters.
201
201
  * @param {*} [options] Override http request option.
202
202
  * @throws {RequiredError}
203
203
  */
@@ -206,43 +206,43 @@ const AppIntegrationsApiFactory = function (configuration, basePath, axios) {
206
206
  },
207
207
  };
208
208
  };
209
- exports.AppIntegrationsApiFactory = AppIntegrationsApiFactory;
209
+ exports.ApplicationIntegrationsApiFactory = ApplicationIntegrationsApiFactory;
210
210
  /**
211
- * AppIntegrationsApi - object-oriented interface
211
+ * ApplicationIntegrationsApi - object-oriented interface
212
212
  * @export
213
- * @class AppIntegrationsApi
213
+ * @class ApplicationIntegrationsApi
214
214
  * @extends {BaseAPI}
215
215
  */
216
- class AppIntegrationsApi extends base_1.BaseAPI {
216
+ class ApplicationIntegrationsApi extends base_1.BaseAPI {
217
217
  /**
218
218
  * 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).
219
- * @param {AppIntegrationsApiCreateNotificationRequest} requestParameters Request parameters.
219
+ * @param {ApplicationIntegrationsApiCreateNotificationRequest} requestParameters Request parameters.
220
220
  * @param {*} [options] Override http request option.
221
221
  * @throws {RequiredError}
222
- * @memberof AppIntegrationsApi
222
+ * @memberof ApplicationIntegrationsApi
223
223
  */
224
224
  createNotification(requestParameters, options) {
225
- return (0, exports.AppIntegrationsApiFp)(this.configuration).createNotification(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
225
+ return (0, exports.ApplicationIntegrationsApiFp)(this.configuration).createNotification(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
226
226
  }
227
227
  /**
228
228
  * 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).
229
- * @param {AppIntegrationsApiDeleteNotificationsRequest} requestParameters Request parameters.
229
+ * @param {ApplicationIntegrationsApiDeleteNotificationsRequest} requestParameters Request parameters.
230
230
  * @param {*} [options] Override http request option.
231
231
  * @throws {RequiredError}
232
- * @memberof AppIntegrationsApi
232
+ * @memberof ApplicationIntegrationsApi
233
233
  */
234
234
  deleteNotifications(requestParameters, options) {
235
- return (0, exports.AppIntegrationsApiFp)(this.configuration).deleteNotifications(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
235
+ return (0, exports.ApplicationIntegrationsApiFp)(this.configuration).deleteNotifications(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
236
236
  }
237
237
  /**
238
238
  * 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).
239
- * @param {AppIntegrationsApiRecordActionFeedbackRequest} requestParameters Request parameters.
239
+ * @param {ApplicationIntegrationsApiRecordActionFeedbackRequest} requestParameters Request parameters.
240
240
  * @param {*} [options] Override http request option.
241
241
  * @throws {RequiredError}
242
- * @memberof AppIntegrationsApi
242
+ * @memberof ApplicationIntegrationsApi
243
243
  */
244
244
  recordActionFeedback(requestParameters, options) {
245
- return (0, exports.AppIntegrationsApiFp)(this.configuration).recordActionFeedback(requestParameters.notificationId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
245
+ return (0, exports.ApplicationIntegrationsApiFp)(this.configuration).recordActionFeedback(requestParameters.notificationId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
246
246
  }
247
247
  }
248
- exports.AppIntegrationsApi = AppIntegrationsApi;
248
+ exports.ApplicationIntegrationsApi = ApplicationIntegrationsApi;
@@ -27,4 +27,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
27
27
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
28
28
  };
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
- __exportStar(require("./api/app-integrations-api"), exports);
30
+ __exportStar(require("./api/application-integrations-api"), exports);
@@ -26,7 +26,7 @@ exports.clientRateLimits = [
26
26
  burst: 5,
27
27
  },
28
28
  ];
29
- class ApplicationIntegrationsApiClient extends api_model_1.AppIntegrationsApi {
29
+ class ApplicationIntegrationsApiClient extends api_model_1.ApplicationIntegrationsApi {
30
30
  constructor(configuration) {
31
31
  const { axios, endpoint } = (0, common_1.createAxiosInstance)(configuration, exports.clientRateLimits);
32
32
  super(new api_model_1.Configuration(), endpoint, axios);
@@ -18,10 +18,10 @@ import { DUMMY_BASE_URL, assertParamExists, setSearchParams, serializeDataIfNeed
18
18
  // @ts-ignore
19
19
  import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
20
20
  /**
21
- * AppIntegrationsApi - axios parameter creator
21
+ * ApplicationIntegrationsApi - axios parameter creator
22
22
  * @export
23
23
  */
24
- export const AppIntegrationsApiAxiosParamCreator = function (configuration) {
24
+ export const ApplicationIntegrationsApiAxiosParamCreator = function (configuration) {
25
25
  return {
26
26
  /**
27
27
  * 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).
@@ -117,11 +117,11 @@ export const AppIntegrationsApiAxiosParamCreator = function (configuration) {
117
117
  };
118
118
  };
119
119
  /**
120
- * AppIntegrationsApi - functional programming interface
120
+ * ApplicationIntegrationsApi - functional programming interface
121
121
  * @export
122
122
  */
123
- export const AppIntegrationsApiFp = function (configuration) {
124
- const localVarAxiosParamCreator = AppIntegrationsApiAxiosParamCreator(configuration);
123
+ export const ApplicationIntegrationsApiFp = function (configuration) {
124
+ const localVarAxiosParamCreator = ApplicationIntegrationsApiAxiosParamCreator(configuration);
125
125
  return {
126
126
  /**
127
127
  * 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).
@@ -132,7 +132,7 @@ export const AppIntegrationsApiFp = function (configuration) {
132
132
  async createNotification(body, options) {
133
133
  const localVarAxiosArgs = await localVarAxiosParamCreator.createNotification(body, options);
134
134
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
135
- const localVarOperationServerBasePath = operationServerMap['AppIntegrationsApi.createNotification']?.[localVarOperationServerIndex]?.url;
135
+ const localVarOperationServerBasePath = operationServerMap['ApplicationIntegrationsApi.createNotification']?.[localVarOperationServerIndex]?.url;
136
136
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
137
137
  },
138
138
  /**
@@ -144,7 +144,7 @@ export const AppIntegrationsApiFp = function (configuration) {
144
144
  async deleteNotifications(body, options) {
145
145
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteNotifications(body, options);
146
146
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
147
- const localVarOperationServerBasePath = operationServerMap['AppIntegrationsApi.deleteNotifications']?.[localVarOperationServerIndex]?.url;
147
+ const localVarOperationServerBasePath = operationServerMap['ApplicationIntegrationsApi.deleteNotifications']?.[localVarOperationServerIndex]?.url;
148
148
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
149
149
  },
150
150
  /**
@@ -157,21 +157,21 @@ export const AppIntegrationsApiFp = function (configuration) {
157
157
  async recordActionFeedback(notificationId, body, options) {
158
158
  const localVarAxiosArgs = await localVarAxiosParamCreator.recordActionFeedback(notificationId, body, options);
159
159
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
160
- const localVarOperationServerBasePath = operationServerMap['AppIntegrationsApi.recordActionFeedback']?.[localVarOperationServerIndex]?.url;
160
+ const localVarOperationServerBasePath = operationServerMap['ApplicationIntegrationsApi.recordActionFeedback']?.[localVarOperationServerIndex]?.url;
161
161
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
162
162
  },
163
163
  };
164
164
  };
165
165
  /**
166
- * AppIntegrationsApi - factory interface
166
+ * ApplicationIntegrationsApi - factory interface
167
167
  * @export
168
168
  */
169
- export const AppIntegrationsApiFactory = function (configuration, basePath, axios) {
170
- const localVarFp = AppIntegrationsApiFp(configuration);
169
+ export const ApplicationIntegrationsApiFactory = function (configuration, basePath, axios) {
170
+ const localVarFp = ApplicationIntegrationsApiFp(configuration);
171
171
  return {
172
172
  /**
173
173
  * 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).
174
- * @param {AppIntegrationsApiCreateNotificationRequest} requestParameters Request parameters.
174
+ * @param {ApplicationIntegrationsApiCreateNotificationRequest} requestParameters Request parameters.
175
175
  * @param {*} [options] Override http request option.
176
176
  * @throws {RequiredError}
177
177
  */
@@ -180,7 +180,7 @@ export const AppIntegrationsApiFactory = function (configuration, basePath, axio
180
180
  },
181
181
  /**
182
182
  * 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).
183
- * @param {AppIntegrationsApiDeleteNotificationsRequest} requestParameters Request parameters.
183
+ * @param {ApplicationIntegrationsApiDeleteNotificationsRequest} requestParameters Request parameters.
184
184
  * @param {*} [options] Override http request option.
185
185
  * @throws {RequiredError}
186
186
  */
@@ -189,7 +189,7 @@ export const AppIntegrationsApiFactory = function (configuration, basePath, axio
189
189
  },
190
190
  /**
191
191
  * 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).
192
- * @param {AppIntegrationsApiRecordActionFeedbackRequest} requestParameters Request parameters.
192
+ * @param {ApplicationIntegrationsApiRecordActionFeedbackRequest} requestParameters Request parameters.
193
193
  * @param {*} [options] Override http request option.
194
194
  * @throws {RequiredError}
195
195
  */
@@ -199,40 +199,40 @@ export const AppIntegrationsApiFactory = function (configuration, basePath, axio
199
199
  };
200
200
  };
201
201
  /**
202
- * AppIntegrationsApi - object-oriented interface
202
+ * ApplicationIntegrationsApi - object-oriented interface
203
203
  * @export
204
- * @class AppIntegrationsApi
204
+ * @class ApplicationIntegrationsApi
205
205
  * @extends {BaseAPI}
206
206
  */
207
- export class AppIntegrationsApi extends BaseAPI {
207
+ export class ApplicationIntegrationsApi extends BaseAPI {
208
208
  /**
209
209
  * 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).
210
- * @param {AppIntegrationsApiCreateNotificationRequest} requestParameters Request parameters.
210
+ * @param {ApplicationIntegrationsApiCreateNotificationRequest} requestParameters Request parameters.
211
211
  * @param {*} [options] Override http request option.
212
212
  * @throws {RequiredError}
213
- * @memberof AppIntegrationsApi
213
+ * @memberof ApplicationIntegrationsApi
214
214
  */
215
215
  createNotification(requestParameters, options) {
216
- return AppIntegrationsApiFp(this.configuration).createNotification(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
216
+ return ApplicationIntegrationsApiFp(this.configuration).createNotification(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
217
217
  }
218
218
  /**
219
219
  * 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).
220
- * @param {AppIntegrationsApiDeleteNotificationsRequest} requestParameters Request parameters.
220
+ * @param {ApplicationIntegrationsApiDeleteNotificationsRequest} requestParameters Request parameters.
221
221
  * @param {*} [options] Override http request option.
222
222
  * @throws {RequiredError}
223
- * @memberof AppIntegrationsApi
223
+ * @memberof ApplicationIntegrationsApi
224
224
  */
225
225
  deleteNotifications(requestParameters, options) {
226
- return AppIntegrationsApiFp(this.configuration).deleteNotifications(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
226
+ return ApplicationIntegrationsApiFp(this.configuration).deleteNotifications(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
227
227
  }
228
228
  /**
229
229
  * 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).
230
- * @param {AppIntegrationsApiRecordActionFeedbackRequest} requestParameters Request parameters.
230
+ * @param {ApplicationIntegrationsApiRecordActionFeedbackRequest} requestParameters Request parameters.
231
231
  * @param {*} [options] Override http request option.
232
232
  * @throws {RequiredError}
233
- * @memberof AppIntegrationsApi
233
+ * @memberof ApplicationIntegrationsApi
234
234
  */
235
235
  recordActionFeedback(requestParameters, options) {
236
- return AppIntegrationsApiFp(this.configuration).recordActionFeedback(requestParameters.notificationId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
236
+ return ApplicationIntegrationsApiFp(this.configuration).recordActionFeedback(requestParameters.notificationId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
237
237
  }
238
238
  }
@@ -11,4 +11,4 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- export * from './api/app-integrations-api';
14
+ export * from './api/application-integrations-api';
package/dist/es/client.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { createAxiosInstance } from '@sp-api-sdk/common';
2
- import { AppIntegrationsApi, Configuration } from './api-model';
2
+ import { ApplicationIntegrationsApi, Configuration } from './api-model';
3
3
  export const clientRateLimits = [
4
4
  {
5
5
  method: 'post',
@@ -23,7 +23,7 @@ export const clientRateLimits = [
23
23
  burst: 5,
24
24
  },
25
25
  ];
26
- export class ApplicationIntegrationsApiClient extends AppIntegrationsApi {
26
+ export class ApplicationIntegrationsApiClient extends ApplicationIntegrationsApi {
27
27
  constructor(configuration) {
28
28
  const { axios, endpoint } = createAxiosInstance(configuration, clientRateLimits);
29
29
  super(new Configuration(), endpoint, axios);
@@ -18,10 +18,10 @@ import type { CreateNotificationResponse } from '../models';
18
18
  import type { DeleteNotificationsRequest } from '../models';
19
19
  import type { RecordActionFeedbackRequest } from '../models';
20
20
  /**
21
- * AppIntegrationsApi - axios parameter creator
21
+ * ApplicationIntegrationsApi - axios parameter creator
22
22
  * @export
23
23
  */
24
- export declare const AppIntegrationsApiAxiosParamCreator: (configuration?: Configuration) => {
24
+ export declare const ApplicationIntegrationsApiAxiosParamCreator: (configuration?: Configuration) => {
25
25
  /**
26
26
  * 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).
27
27
  * @param {CreateNotificationRequest} body The request body for the `createNotification` operation.
@@ -46,10 +46,10 @@ export declare const AppIntegrationsApiAxiosParamCreator: (configuration?: Confi
46
46
  recordActionFeedback: (notificationId: string, body: RecordActionFeedbackRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
47
47
  };
48
48
  /**
49
- * AppIntegrationsApi - functional programming interface
49
+ * ApplicationIntegrationsApi - functional programming interface
50
50
  * @export
51
51
  */
52
- export declare const AppIntegrationsApiFp: (configuration?: Configuration) => {
52
+ export declare const ApplicationIntegrationsApiFp: (configuration?: Configuration) => {
53
53
  /**
54
54
  * 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).
55
55
  * @param {CreateNotificationRequest} body The request body for the &#x60;createNotification&#x60; operation.
@@ -74,106 +74,106 @@ export declare const AppIntegrationsApiFp: (configuration?: Configuration) => {
74
74
  recordActionFeedback(notificationId: string, body: RecordActionFeedbackRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
75
75
  };
76
76
  /**
77
- * AppIntegrationsApi - factory interface
77
+ * ApplicationIntegrationsApi - factory interface
78
78
  * @export
79
79
  */
80
- export declare const AppIntegrationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
80
+ export declare const ApplicationIntegrationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
81
81
  /**
82
82
  * 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).
83
- * @param {AppIntegrationsApiCreateNotificationRequest} requestParameters Request parameters.
83
+ * @param {ApplicationIntegrationsApiCreateNotificationRequest} requestParameters Request parameters.
84
84
  * @param {*} [options] Override http request option.
85
85
  * @throws {RequiredError}
86
86
  */
87
- createNotification(requestParameters: AppIntegrationsApiCreateNotificationRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateNotificationResponse>;
87
+ createNotification(requestParameters: ApplicationIntegrationsApiCreateNotificationRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateNotificationResponse>;
88
88
  /**
89
89
  * 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).
90
- * @param {AppIntegrationsApiDeleteNotificationsRequest} requestParameters Request parameters.
90
+ * @param {ApplicationIntegrationsApiDeleteNotificationsRequest} requestParameters Request parameters.
91
91
  * @param {*} [options] Override http request option.
92
92
  * @throws {RequiredError}
93
93
  */
94
- deleteNotifications(requestParameters: AppIntegrationsApiDeleteNotificationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
94
+ deleteNotifications(requestParameters: ApplicationIntegrationsApiDeleteNotificationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
95
95
  /**
96
96
  * 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).
97
- * @param {AppIntegrationsApiRecordActionFeedbackRequest} requestParameters Request parameters.
97
+ * @param {ApplicationIntegrationsApiRecordActionFeedbackRequest} requestParameters Request parameters.
98
98
  * @param {*} [options] Override http request option.
99
99
  * @throws {RequiredError}
100
100
  */
101
- recordActionFeedback(requestParameters: AppIntegrationsApiRecordActionFeedbackRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
101
+ recordActionFeedback(requestParameters: ApplicationIntegrationsApiRecordActionFeedbackRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
102
102
  };
103
103
  /**
104
- * Request parameters for createNotification operation in AppIntegrationsApi.
104
+ * Request parameters for createNotification operation in ApplicationIntegrationsApi.
105
105
  * @export
106
- * @interface AppIntegrationsApiCreateNotificationRequest
106
+ * @interface ApplicationIntegrationsApiCreateNotificationRequest
107
107
  */
108
- export interface AppIntegrationsApiCreateNotificationRequest {
108
+ export interface ApplicationIntegrationsApiCreateNotificationRequest {
109
109
  /**
110
110
  * The request body for the &#x60;createNotification&#x60; operation.
111
111
  * @type {CreateNotificationRequest}
112
- * @memberof AppIntegrationsApiCreateNotification
112
+ * @memberof ApplicationIntegrationsApiCreateNotification
113
113
  */
114
114
  readonly body: CreateNotificationRequest;
115
115
  }
116
116
  /**
117
- * Request parameters for deleteNotifications operation in AppIntegrationsApi.
117
+ * Request parameters for deleteNotifications operation in ApplicationIntegrationsApi.
118
118
  * @export
119
- * @interface AppIntegrationsApiDeleteNotificationsRequest
119
+ * @interface ApplicationIntegrationsApiDeleteNotificationsRequest
120
120
  */
121
- export interface AppIntegrationsApiDeleteNotificationsRequest {
121
+ export interface ApplicationIntegrationsApiDeleteNotificationsRequest {
122
122
  /**
123
123
  * The request body for the &#x60;deleteNotifications&#x60; operation.
124
124
  * @type {DeleteNotificationsRequest}
125
- * @memberof AppIntegrationsApiDeleteNotifications
125
+ * @memberof ApplicationIntegrationsApiDeleteNotifications
126
126
  */
127
127
  readonly body: DeleteNotificationsRequest;
128
128
  }
129
129
  /**
130
- * Request parameters for recordActionFeedback operation in AppIntegrationsApi.
130
+ * Request parameters for recordActionFeedback operation in ApplicationIntegrationsApi.
131
131
  * @export
132
- * @interface AppIntegrationsApiRecordActionFeedbackRequest
132
+ * @interface ApplicationIntegrationsApiRecordActionFeedbackRequest
133
133
  */
134
- export interface AppIntegrationsApiRecordActionFeedbackRequest {
134
+ export interface ApplicationIntegrationsApiRecordActionFeedbackRequest {
135
135
  /**
136
136
  * A &#x60;notificationId&#x60; uniquely identifies a notification.
137
137
  * @type {string}
138
- * @memberof AppIntegrationsApiRecordActionFeedback
138
+ * @memberof ApplicationIntegrationsApiRecordActionFeedback
139
139
  */
140
140
  readonly notificationId: string;
141
141
  /**
142
142
  * The request body for the &#x60;recordActionFeedback&#x60; operation.
143
143
  * @type {RecordActionFeedbackRequest}
144
- * @memberof AppIntegrationsApiRecordActionFeedback
144
+ * @memberof ApplicationIntegrationsApiRecordActionFeedback
145
145
  */
146
146
  readonly body: RecordActionFeedbackRequest;
147
147
  }
148
148
  /**
149
- * AppIntegrationsApi - object-oriented interface
149
+ * ApplicationIntegrationsApi - object-oriented interface
150
150
  * @export
151
- * @class AppIntegrationsApi
151
+ * @class ApplicationIntegrationsApi
152
152
  * @extends {BaseAPI}
153
153
  */
154
- export declare class AppIntegrationsApi extends BaseAPI {
154
+ export declare class ApplicationIntegrationsApi extends BaseAPI {
155
155
  /**
156
156
  * 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).
157
- * @param {AppIntegrationsApiCreateNotificationRequest} requestParameters Request parameters.
157
+ * @param {ApplicationIntegrationsApiCreateNotificationRequest} requestParameters Request parameters.
158
158
  * @param {*} [options] Override http request option.
159
159
  * @throws {RequiredError}
160
- * @memberof AppIntegrationsApi
160
+ * @memberof ApplicationIntegrationsApi
161
161
  */
162
- createNotification(requestParameters: AppIntegrationsApiCreateNotificationRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateNotificationResponse, any>>;
162
+ createNotification(requestParameters: ApplicationIntegrationsApiCreateNotificationRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateNotificationResponse, any>>;
163
163
  /**
164
164
  * 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).
165
- * @param {AppIntegrationsApiDeleteNotificationsRequest} requestParameters Request parameters.
165
+ * @param {ApplicationIntegrationsApiDeleteNotificationsRequest} requestParameters Request parameters.
166
166
  * @param {*} [options] Override http request option.
167
167
  * @throws {RequiredError}
168
- * @memberof AppIntegrationsApi
168
+ * @memberof ApplicationIntegrationsApi
169
169
  */
170
- deleteNotifications(requestParameters: AppIntegrationsApiDeleteNotificationsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any>>;
170
+ deleteNotifications(requestParameters: ApplicationIntegrationsApiDeleteNotificationsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any>>;
171
171
  /**
172
172
  * 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).
173
- * @param {AppIntegrationsApiRecordActionFeedbackRequest} requestParameters Request parameters.
173
+ * @param {ApplicationIntegrationsApiRecordActionFeedbackRequest} requestParameters Request parameters.
174
174
  * @param {*} [options] Override http request option.
175
175
  * @throws {RequiredError}
176
- * @memberof AppIntegrationsApi
176
+ * @memberof ApplicationIntegrationsApi
177
177
  */
178
- recordActionFeedback(requestParameters: AppIntegrationsApiRecordActionFeedbackRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any>>;
178
+ recordActionFeedback(requestParameters: ApplicationIntegrationsApiRecordActionFeedbackRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any>>;
179
179
  }
@@ -9,4 +9,4 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export * from './api/app-integrations-api';
12
+ export * from './api/application-integrations-api';
@@ -1,6 +1,6 @@
1
1
  import { type ClientConfiguration, type RateLimit } from '@sp-api-sdk/common';
2
- import { AppIntegrationsApi } from './api-model';
2
+ import { ApplicationIntegrationsApi } from './api-model';
3
3
  export declare const clientRateLimits: RateLimit[];
4
- export declare class ApplicationIntegrationsApiClient extends AppIntegrationsApi {
4
+ export declare class ApplicationIntegrationsApiClient extends ApplicationIntegrationsApi {
5
5
  constructor(configuration: ClientConfiguration);
6
6
  }
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": "2.0.4",
5
+ "version": "3.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,8 +18,8 @@
18
18
  "dist/**/*.d.ts"
19
19
  ],
20
20
  "dependencies": {
21
- "@sp-api-sdk/common": "2.1.13",
22
- "axios": "^1.8.4"
21
+ "@sp-api-sdk/common": "2.1.15",
22
+ "axios": "^1.10.0"
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": "287508bdc050a25bac20889ed0afb6d3f6518cd6"
43
+ "gitHead": "b36600f33d62a2b6c3a9035968a93bc83e9838a9"
44
44
  }