@sp-api-sdk/application-integrations-api-2024-04-01 4.0.0 → 4.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,415 +1,418 @@
1
- // src/client.ts
2
1
  import { createAxiosInstance } from "@sp-api-sdk/common";
3
-
4
- // src/api-model/api/application-integrations-api.ts
5
- import globalAxios2 from "axios";
6
-
7
- // src/api-model/base.ts
8
2
  import globalAxios from "axios";
9
- var BASE_PATH = "https://sellingpartnerapi-na.amazon.com".replace(/\/+$/, "");
3
+ //#region src/api-model/base.ts
4
+ const BASE_PATH = "https://sellingpartnerapi-na.amazon.com".replace(/\/+$/, "");
10
5
  var BaseAPI = class {
11
- constructor(configuration, basePath = BASE_PATH, axios = globalAxios) {
12
- this.basePath = basePath;
13
- this.axios = axios;
14
- if (configuration) {
15
- this.configuration = configuration;
16
- this.basePath = configuration.basePath ?? basePath;
17
- }
18
- }
19
- basePath;
20
- axios;
21
- configuration;
6
+ basePath;
7
+ axios;
8
+ configuration;
9
+ constructor(configuration, basePath = BASE_PATH, axios = globalAxios) {
10
+ this.basePath = basePath;
11
+ this.axios = axios;
12
+ if (configuration) {
13
+ this.configuration = configuration;
14
+ this.basePath = configuration.basePath ?? basePath;
15
+ }
16
+ }
22
17
  };
23
18
  var RequiredError = class extends Error {
24
- constructor(field, msg) {
25
- super(msg);
26
- this.field = field;
27
- this.name = "RequiredError";
28
- }
29
- field;
19
+ field;
20
+ constructor(field, msg) {
21
+ super(msg);
22
+ this.field = field;
23
+ this.name = "RequiredError";
24
+ }
30
25
  };
31
- var operationServerMap = {};
32
-
33
- // src/api-model/common.ts
34
- var DUMMY_BASE_URL = "https://example.com";
35
- var assertParamExists = function(functionName, paramName, paramValue) {
36
- if (paramValue === null || paramValue === void 0) {
37
- throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
38
- }
26
+ const operationServerMap = {};
27
+ //#endregion
28
+ //#region src/api-model/common.ts
29
+ const DUMMY_BASE_URL = "https://example.com";
30
+ /**
31
+ *
32
+ * @throws {RequiredError}
33
+ */
34
+ const assertParamExists = function(functionName, paramName, paramValue) {
35
+ if (paramValue === null || paramValue === void 0) throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
39
36
  };
40
37
  function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
41
- if (parameter == null) return;
42
- if (typeof parameter === "object") {
43
- if (Array.isArray(parameter) || parameter instanceof Set) {
44
- parameter.forEach((item) => setFlattenedQueryParams(urlSearchParams, item, key));
45
- } else {
46
- Object.keys(parameter).forEach(
47
- (currentKey) => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== "" ? "." : ""}${currentKey}`)
48
- );
49
- }
50
- } else {
51
- if (urlSearchParams.has(key)) {
52
- urlSearchParams.append(key, parameter);
53
- } else {
54
- urlSearchParams.set(key, parameter);
55
- }
56
- }
38
+ if (parameter == null) return;
39
+ if (typeof parameter === "object") if (Array.isArray(parameter) || parameter instanceof Set) parameter.forEach((item) => setFlattenedQueryParams(urlSearchParams, item, key));
40
+ else Object.keys(parameter).forEach((currentKey) => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== "" ? "." : ""}${currentKey}`));
41
+ else if (urlSearchParams.has(key)) urlSearchParams.append(key, parameter);
42
+ else urlSearchParams.set(key, parameter);
57
43
  }
58
- var setSearchParams = function(url, ...objects) {
59
- const searchParams = new URLSearchParams(url.search);
60
- setFlattenedQueryParams(searchParams, objects);
61
- url.search = searchParams.toString();
44
+ const setSearchParams = function(url, ...objects) {
45
+ const searchParams = new URLSearchParams(url.search);
46
+ setFlattenedQueryParams(searchParams, objects);
47
+ url.search = searchParams.toString();
62
48
  };
63
- var replaceWithSerializableTypeIfNeeded = function(key, value) {
64
- if (value instanceof Set) {
65
- return Array.from(value);
66
- } else {
67
- return value;
68
- }
49
+ /**
50
+ * JSON serialization helper function which replaces instances of unserializable types with serializable ones.
51
+ * This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
52
+ * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
53
+ */
54
+ const replaceWithSerializableTypeIfNeeded = function(key, value) {
55
+ if (value instanceof Set) return Array.from(value);
56
+ else return value;
69
57
  };
70
- var serializeDataIfNeeded = function(value, requestOptions, configuration) {
71
- const nonString = typeof value !== "string";
72
- const needsSerialization = nonString && configuration && configuration.isJsonMime ? configuration.isJsonMime(requestOptions.headers["Content-Type"]) : nonString;
73
- return needsSerialization ? JSON.stringify(value !== void 0 ? value : {}, replaceWithSerializableTypeIfNeeded) : value || "";
58
+ const serializeDataIfNeeded = function(value, requestOptions, configuration) {
59
+ const nonString = typeof value !== "string";
60
+ return (nonString && configuration && configuration.isJsonMime ? configuration.isJsonMime(requestOptions.headers["Content-Type"]) : nonString) ? JSON.stringify(value !== void 0 ? value : {}, replaceWithSerializableTypeIfNeeded) : value || "";
74
61
  };
75
- var toPathString = function(url) {
76
- return url.pathname + url.search + url.hash;
62
+ const toPathString = function(url) {
63
+ return url.pathname + url.search + url.hash;
77
64
  };
78
- var createRequestFunction = function(axiosArgs, globalAxios3, BASE_PATH2, configuration) {
79
- return (axios = globalAxios3, basePath = BASE_PATH2) => {
80
- const axiosRequestArgs = { ...axiosArgs.options, url: (axios.defaults.baseURL ? "" : configuration?.basePath ?? basePath) + axiosArgs.url };
81
- return axios.request(axiosRequestArgs);
82
- };
65
+ const createRequestFunction = function(axiosArgs, globalAxios, BASE_PATH, configuration) {
66
+ return (axios = globalAxios, basePath = BASE_PATH) => {
67
+ const axiosRequestArgs = {
68
+ ...axiosArgs.options,
69
+ url: (axios.defaults.baseURL ? "" : configuration?.basePath ?? basePath) + axiosArgs.url
70
+ };
71
+ return axios.request(axiosRequestArgs);
72
+ };
83
73
  };
84
-
85
- // src/api-model/api/application-integrations-api.ts
86
- var ApplicationIntegrationsApiAxiosParamCreator = function(configuration) {
87
- return {
88
- /**
89
- * 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).
90
- * @param {CreateNotificationRequest} body The request body for the `createNotification` operation.
91
- * @param {*} [options] Override http request option.
92
- * @throws {RequiredError}
93
- */
94
- createNotification: async (body, options = {}) => {
95
- assertParamExists("createNotification", "body", body);
96
- const localVarPath = `/appIntegrations/2024-04-01/notifications`;
97
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
98
- let baseOptions;
99
- if (configuration) {
100
- baseOptions = configuration.baseOptions;
101
- }
102
- const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
103
- const localVarHeaderParameter = {};
104
- const localVarQueryParameter = {};
105
- localVarHeaderParameter["Content-Type"] = "application/json";
106
- localVarHeaderParameter["Accept"] = "application/json";
107
- setSearchParams(localVarUrlObj, localVarQueryParameter);
108
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
109
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
110
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
111
- return {
112
- url: toPathString(localVarUrlObj),
113
- options: localVarRequestOptions
114
- };
115
- },
116
- /**
117
- * 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).
118
- * @param {DeleteNotificationsRequest} body The request body for the `deleteNotifications` operation.
119
- * @param {*} [options] Override http request option.
120
- * @throws {RequiredError}
121
- */
122
- deleteNotifications: async (body, options = {}) => {
123
- assertParamExists("deleteNotifications", "body", body);
124
- const localVarPath = `/appIntegrations/2024-04-01/notifications/deletion`;
125
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
126
- let baseOptions;
127
- if (configuration) {
128
- baseOptions = configuration.baseOptions;
129
- }
130
- const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
131
- const localVarHeaderParameter = {};
132
- const localVarQueryParameter = {};
133
- localVarHeaderParameter["Content-Type"] = "application/json";
134
- localVarHeaderParameter["Accept"] = "application/json";
135
- setSearchParams(localVarUrlObj, localVarQueryParameter);
136
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
137
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
138
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
139
- return {
140
- url: toPathString(localVarUrlObj),
141
- options: localVarRequestOptions
142
- };
143
- },
144
- /**
145
- * 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).
146
- * @param {string} notificationId A `notificationId` uniquely identifies a notification.
147
- * @param {RecordActionFeedbackRequest} body The request body for the `recordActionFeedback` operation.
148
- * @param {*} [options] Override http request option.
149
- * @throws {RequiredError}
150
- */
151
- recordActionFeedback: async (notificationId, body, options = {}) => {
152
- assertParamExists("recordActionFeedback", "notificationId", notificationId);
153
- assertParamExists("recordActionFeedback", "body", body);
154
- const localVarPath = `/appIntegrations/2024-04-01/notifications/{notificationId}/feedback`.replace("{notificationId}", encodeURIComponent(String(notificationId)));
155
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
156
- let baseOptions;
157
- if (configuration) {
158
- baseOptions = configuration.baseOptions;
159
- }
160
- const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
161
- const localVarHeaderParameter = {};
162
- const localVarQueryParameter = {};
163
- localVarHeaderParameter["Content-Type"] = "application/json";
164
- localVarHeaderParameter["Accept"] = "application/json";
165
- setSearchParams(localVarUrlObj, localVarQueryParameter);
166
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
167
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
168
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
169
- return {
170
- url: toPathString(localVarUrlObj),
171
- options: localVarRequestOptions
172
- };
173
- }
174
- };
74
+ //#endregion
75
+ //#region src/api-model/api/application-integrations-api.ts
76
+ /**
77
+ * ApplicationIntegrationsApi - axios parameter creator
78
+ */
79
+ const ApplicationIntegrationsApiAxiosParamCreator = function(configuration) {
80
+ return {
81
+ /**
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 {CreateNotificationRequest} body The request body for the `createNotification` operation.
84
+ * @param {*} [options] Override http request option.
85
+ * @throws {RequiredError}
86
+ */
87
+ createNotification: async (body, options = {}) => {
88
+ assertParamExists("createNotification", "body", body);
89
+ const localVarUrlObj = new URL(`/appIntegrations/2024-04-01/notifications`, DUMMY_BASE_URL);
90
+ let baseOptions;
91
+ if (configuration) baseOptions = configuration.baseOptions;
92
+ const localVarRequestOptions = {
93
+ method: "POST",
94
+ ...baseOptions,
95
+ ...options
96
+ };
97
+ const localVarHeaderParameter = {};
98
+ const localVarQueryParameter = {};
99
+ localVarHeaderParameter["Content-Type"] = "application/json";
100
+ localVarHeaderParameter["Accept"] = "application/json";
101
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
102
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
103
+ localVarRequestOptions.headers = {
104
+ ...localVarHeaderParameter,
105
+ ...headersFromBaseOptions,
106
+ ...options.headers
107
+ };
108
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
109
+ return {
110
+ url: toPathString(localVarUrlObj),
111
+ options: localVarRequestOptions
112
+ };
113
+ },
114
+ /**
115
+ * 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).
116
+ * @param {DeleteNotificationsRequest} body The request body for the `deleteNotifications` operation.
117
+ * @param {*} [options] Override http request option.
118
+ * @throws {RequiredError}
119
+ */
120
+ deleteNotifications: async (body, options = {}) => {
121
+ assertParamExists("deleteNotifications", "body", body);
122
+ const localVarUrlObj = new URL(`/appIntegrations/2024-04-01/notifications/deletion`, DUMMY_BASE_URL);
123
+ let baseOptions;
124
+ if (configuration) baseOptions = configuration.baseOptions;
125
+ const localVarRequestOptions = {
126
+ method: "POST",
127
+ ...baseOptions,
128
+ ...options
129
+ };
130
+ const localVarHeaderParameter = {};
131
+ const localVarQueryParameter = {};
132
+ localVarHeaderParameter["Content-Type"] = "application/json";
133
+ localVarHeaderParameter["Accept"] = "application/json";
134
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
135
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
136
+ localVarRequestOptions.headers = {
137
+ ...localVarHeaderParameter,
138
+ ...headersFromBaseOptions,
139
+ ...options.headers
140
+ };
141
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
142
+ return {
143
+ url: toPathString(localVarUrlObj),
144
+ options: localVarRequestOptions
145
+ };
146
+ },
147
+ /**
148
+ * 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).
149
+ * @param {string} notificationId A `notificationId` uniquely identifies a notification.
150
+ * @param {RecordActionFeedbackRequest} body The request body for the `recordActionFeedback` operation.
151
+ * @param {*} [options] Override http request option.
152
+ * @throws {RequiredError}
153
+ */
154
+ recordActionFeedback: async (notificationId, body, options = {}) => {
155
+ assertParamExists("recordActionFeedback", "notificationId", notificationId);
156
+ assertParamExists("recordActionFeedback", "body", body);
157
+ const localVarPath = `/appIntegrations/2024-04-01/notifications/{notificationId}/feedback`.replace("{notificationId}", encodeURIComponent(String(notificationId)));
158
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
159
+ let baseOptions;
160
+ if (configuration) baseOptions = configuration.baseOptions;
161
+ const localVarRequestOptions = {
162
+ method: "POST",
163
+ ...baseOptions,
164
+ ...options
165
+ };
166
+ const localVarHeaderParameter = {};
167
+ const localVarQueryParameter = {};
168
+ localVarHeaderParameter["Content-Type"] = "application/json";
169
+ localVarHeaderParameter["Accept"] = "application/json";
170
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
171
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
172
+ localVarRequestOptions.headers = {
173
+ ...localVarHeaderParameter,
174
+ ...headersFromBaseOptions,
175
+ ...options.headers
176
+ };
177
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
178
+ return {
179
+ url: toPathString(localVarUrlObj),
180
+ options: localVarRequestOptions
181
+ };
182
+ }
183
+ };
175
184
  };
176
- var ApplicationIntegrationsApiFp = function(configuration) {
177
- const localVarAxiosParamCreator = ApplicationIntegrationsApiAxiosParamCreator(configuration);
178
- return {
179
- /**
180
- * 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).
181
- * @param {CreateNotificationRequest} body The request body for the `createNotification` operation.
182
- * @param {*} [options] Override http request option.
183
- * @throws {RequiredError}
184
- */
185
- async createNotification(body, options) {
186
- const localVarAxiosArgs = await localVarAxiosParamCreator.createNotification(body, options);
187
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
188
- const localVarOperationServerBasePath = operationServerMap["ApplicationIntegrationsApi.createNotification"]?.[localVarOperationServerIndex]?.url;
189
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
190
- },
191
- /**
192
- * 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).
193
- * @param {DeleteNotificationsRequest} body The request body for the `deleteNotifications` operation.
194
- * @param {*} [options] Override http request option.
195
- * @throws {RequiredError}
196
- */
197
- async deleteNotifications(body, options) {
198
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteNotifications(body, options);
199
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
200
- const localVarOperationServerBasePath = operationServerMap["ApplicationIntegrationsApi.deleteNotifications"]?.[localVarOperationServerIndex]?.url;
201
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
202
- },
203
- /**
204
- * 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).
205
- * @param {string} notificationId A `notificationId` uniquely identifies a notification.
206
- * @param {RecordActionFeedbackRequest} body The request body for the `recordActionFeedback` operation.
207
- * @param {*} [options] Override http request option.
208
- * @throws {RequiredError}
209
- */
210
- async recordActionFeedback(notificationId, body, options) {
211
- const localVarAxiosArgs = await localVarAxiosParamCreator.recordActionFeedback(notificationId, body, options);
212
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
213
- const localVarOperationServerBasePath = operationServerMap["ApplicationIntegrationsApi.recordActionFeedback"]?.[localVarOperationServerIndex]?.url;
214
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
215
- }
216
- };
185
+ /**
186
+ * ApplicationIntegrationsApi - functional programming interface
187
+ */
188
+ const ApplicationIntegrationsApiFp = function(configuration) {
189
+ const localVarAxiosParamCreator = ApplicationIntegrationsApiAxiosParamCreator(configuration);
190
+ return {
191
+ /**
192
+ * 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).
193
+ * @param {CreateNotificationRequest} body The request body for the `createNotification` operation.
194
+ * @param {*} [options] Override http request option.
195
+ * @throws {RequiredError}
196
+ */
197
+ async createNotification(body, options) {
198
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createNotification(body, options);
199
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
200
+ const localVarOperationServerBasePath = operationServerMap["ApplicationIntegrationsApi.createNotification"]?.[localVarOperationServerIndex]?.url;
201
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
202
+ },
203
+ /**
204
+ * 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).
205
+ * @param {DeleteNotificationsRequest} body The request body for the `deleteNotifications` operation.
206
+ * @param {*} [options] Override http request option.
207
+ * @throws {RequiredError}
208
+ */
209
+ async deleteNotifications(body, options) {
210
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteNotifications(body, options);
211
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
212
+ const localVarOperationServerBasePath = operationServerMap["ApplicationIntegrationsApi.deleteNotifications"]?.[localVarOperationServerIndex]?.url;
213
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
214
+ },
215
+ /**
216
+ * 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).
217
+ * @param {string} notificationId A `notificationId` uniquely identifies a notification.
218
+ * @param {RecordActionFeedbackRequest} body The request body for the `recordActionFeedback` operation.
219
+ * @param {*} [options] Override http request option.
220
+ * @throws {RequiredError}
221
+ */
222
+ async recordActionFeedback(notificationId, body, options) {
223
+ const localVarAxiosArgs = await localVarAxiosParamCreator.recordActionFeedback(notificationId, body, options);
224
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
225
+ const localVarOperationServerBasePath = operationServerMap["ApplicationIntegrationsApi.recordActionFeedback"]?.[localVarOperationServerIndex]?.url;
226
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
227
+ }
228
+ };
217
229
  };
218
- var ApplicationIntegrationsApiFactory = function(configuration, basePath, axios) {
219
- const localVarFp = ApplicationIntegrationsApiFp(configuration);
220
- return {
221
- /**
222
- * 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).
223
- * @param {ApplicationIntegrationsApiCreateNotificationRequest} requestParameters Request parameters.
224
- * @param {*} [options] Override http request option.
225
- * @throws {RequiredError}
226
- */
227
- createNotification(requestParameters, options) {
228
- return localVarFp.createNotification(requestParameters.body, options).then((request) => request(axios, basePath));
229
- },
230
- /**
231
- * 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).
232
- * @param {ApplicationIntegrationsApiDeleteNotificationsRequest} requestParameters Request parameters.
233
- * @param {*} [options] Override http request option.
234
- * @throws {RequiredError}
235
- */
236
- deleteNotifications(requestParameters, options) {
237
- return localVarFp.deleteNotifications(requestParameters.body, options).then((request) => request(axios, basePath));
238
- },
239
- /**
240
- * 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).
241
- * @param {ApplicationIntegrationsApiRecordActionFeedbackRequest} requestParameters Request parameters.
242
- * @param {*} [options] Override http request option.
243
- * @throws {RequiredError}
244
- */
245
- recordActionFeedback(requestParameters, options) {
246
- return localVarFp.recordActionFeedback(requestParameters.notificationId, requestParameters.body, options).then((request) => request(axios, basePath));
247
- }
248
- };
230
+ /**
231
+ * ApplicationIntegrationsApi - factory interface
232
+ */
233
+ const ApplicationIntegrationsApiFactory = function(configuration, basePath, axios) {
234
+ const localVarFp = ApplicationIntegrationsApiFp(configuration);
235
+ return {
236
+ /**
237
+ * 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).
238
+ * @param {ApplicationIntegrationsApiCreateNotificationRequest} requestParameters Request parameters.
239
+ * @param {*} [options] Override http request option.
240
+ * @throws {RequiredError}
241
+ */
242
+ createNotification(requestParameters, options) {
243
+ return localVarFp.createNotification(requestParameters.body, options).then((request) => request(axios, basePath));
244
+ },
245
+ /**
246
+ * 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).
247
+ * @param {ApplicationIntegrationsApiDeleteNotificationsRequest} requestParameters Request parameters.
248
+ * @param {*} [options] Override http request option.
249
+ * @throws {RequiredError}
250
+ */
251
+ deleteNotifications(requestParameters, options) {
252
+ return localVarFp.deleteNotifications(requestParameters.body, options).then((request) => request(axios, basePath));
253
+ },
254
+ /**
255
+ * 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).
256
+ * @param {ApplicationIntegrationsApiRecordActionFeedbackRequest} requestParameters Request parameters.
257
+ * @param {*} [options] Override http request option.
258
+ * @throws {RequiredError}
259
+ */
260
+ recordActionFeedback(requestParameters, options) {
261
+ return localVarFp.recordActionFeedback(requestParameters.notificationId, requestParameters.body, options).then((request) => request(axios, basePath));
262
+ }
263
+ };
249
264
  };
265
+ /**
266
+ * ApplicationIntegrationsApi - object-oriented interface
267
+ */
250
268
  var ApplicationIntegrationsApi = class extends BaseAPI {
251
- /**
252
- * 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).
253
- * @param {ApplicationIntegrationsApiCreateNotificationRequest} requestParameters Request parameters.
254
- * @param {*} [options] Override http request option.
255
- * @throws {RequiredError}
256
- */
257
- createNotification(requestParameters, options) {
258
- return ApplicationIntegrationsApiFp(this.configuration).createNotification(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
259
- }
260
- /**
261
- * 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).
262
- * @param {ApplicationIntegrationsApiDeleteNotificationsRequest} requestParameters Request parameters.
263
- * @param {*} [options] Override http request option.
264
- * @throws {RequiredError}
265
- */
266
- deleteNotifications(requestParameters, options) {
267
- return ApplicationIntegrationsApiFp(this.configuration).deleteNotifications(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
268
- }
269
- /**
270
- * 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).
271
- * @param {ApplicationIntegrationsApiRecordActionFeedbackRequest} requestParameters Request parameters.
272
- * @param {*} [options] Override http request option.
273
- * @throws {RequiredError}
274
- */
275
- recordActionFeedback(requestParameters, options) {
276
- return ApplicationIntegrationsApiFp(this.configuration).recordActionFeedback(requestParameters.notificationId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
277
- }
269
+ /**
270
+ * 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).
271
+ * @param {ApplicationIntegrationsApiCreateNotificationRequest} requestParameters Request parameters.
272
+ * @param {*} [options] Override http request option.
273
+ * @throws {RequiredError}
274
+ */
275
+ createNotification(requestParameters, options) {
276
+ return ApplicationIntegrationsApiFp(this.configuration).createNotification(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
277
+ }
278
+ /**
279
+ * 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).
280
+ * @param {ApplicationIntegrationsApiDeleteNotificationsRequest} requestParameters Request parameters.
281
+ * @param {*} [options] Override http request option.
282
+ * @throws {RequiredError}
283
+ */
284
+ deleteNotifications(requestParameters, options) {
285
+ return ApplicationIntegrationsApiFp(this.configuration).deleteNotifications(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
286
+ }
287
+ /**
288
+ * 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).
289
+ * @param {ApplicationIntegrationsApiRecordActionFeedbackRequest} requestParameters Request parameters.
290
+ * @param {*} [options] Override http request option.
291
+ * @throws {RequiredError}
292
+ */
293
+ recordActionFeedback(requestParameters, options) {
294
+ return ApplicationIntegrationsApiFp(this.configuration).recordActionFeedback(requestParameters.notificationId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
295
+ }
278
296
  };
279
-
280
- // src/api-model/configuration.ts
297
+ //#endregion
298
+ //#region src/api-model/configuration.ts
281
299
  var Configuration = class {
282
- /**
283
- * parameter for apiKey security
284
- * @param name security name
285
- */
286
- apiKey;
287
- /**
288
- * parameter for basic security
289
- */
290
- username;
291
- /**
292
- * parameter for basic security
293
- */
294
- password;
295
- /**
296
- * parameter for oauth2 security
297
- * @param name security name
298
- * @param scopes oauth2 scope
299
- */
300
- accessToken;
301
- /**
302
- * parameter for aws4 signature security
303
- * @param {Object} AWS4Signature - AWS4 Signature security
304
- * @param {string} options.region - aws region
305
- * @param {string} options.service - name of the service.
306
- * @param {string} credentials.accessKeyId - aws access key id
307
- * @param {string} credentials.secretAccessKey - aws access key
308
- * @param {string} credentials.sessionToken - aws session token
309
- * @memberof Configuration
310
- */
311
- awsv4;
312
- /**
313
- * override base path
314
- */
315
- basePath;
316
- /**
317
- * override server index
318
- */
319
- serverIndex;
320
- /**
321
- * base options for axios calls
322
- */
323
- baseOptions;
324
- /**
325
- * The FormData constructor that will be used to create multipart form data
326
- * requests. You can inject this here so that execution environments that
327
- * do not support the FormData class can still run the generated client.
328
- *
329
- * @type {new () => FormData}
330
- */
331
- formDataCtor;
332
- constructor(param = {}) {
333
- this.apiKey = param.apiKey;
334
- this.username = param.username;
335
- this.password = param.password;
336
- this.accessToken = param.accessToken;
337
- this.awsv4 = param.awsv4;
338
- this.basePath = param.basePath;
339
- this.serverIndex = param.serverIndex;
340
- this.baseOptions = {
341
- ...param.baseOptions,
342
- headers: {
343
- ...param.baseOptions?.headers
344
- }
345
- };
346
- this.formDataCtor = param.formDataCtor;
347
- }
348
- /**
349
- * Check if the given MIME is a JSON MIME.
350
- * JSON MIME examples:
351
- * application/json
352
- * application/json; charset=UTF8
353
- * APPLICATION/JSON
354
- * application/vnd.company+json
355
- * @param mime - MIME (Multipurpose Internet Mail Extensions)
356
- * @return True if the given MIME is JSON, false otherwise.
357
- */
358
- isJsonMime(mime) {
359
- const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
360
- return mime !== null && jsonMime.test(mime);
361
- }
300
+ /**
301
+ * parameter for apiKey security
302
+ * @param name security name
303
+ */
304
+ apiKey;
305
+ /**
306
+ * parameter for basic security
307
+ */
308
+ username;
309
+ /**
310
+ * parameter for basic security
311
+ */
312
+ password;
313
+ /**
314
+ * parameter for oauth2 security
315
+ * @param name security name
316
+ * @param scopes oauth2 scope
317
+ */
318
+ accessToken;
319
+ /**
320
+ * parameter for aws4 signature security
321
+ * @param {Object} AWS4Signature - AWS4 Signature security
322
+ * @param {string} options.region - aws region
323
+ * @param {string} options.service - name of the service.
324
+ * @param {string} credentials.accessKeyId - aws access key id
325
+ * @param {string} credentials.secretAccessKey - aws access key
326
+ * @param {string} credentials.sessionToken - aws session token
327
+ * @memberof Configuration
328
+ */
329
+ awsv4;
330
+ /**
331
+ * override base path
332
+ */
333
+ basePath;
334
+ /**
335
+ * override server index
336
+ */
337
+ serverIndex;
338
+ /**
339
+ * base options for axios calls
340
+ */
341
+ baseOptions;
342
+ /**
343
+ * The FormData constructor that will be used to create multipart form data
344
+ * requests. You can inject this here so that execution environments that
345
+ * do not support the FormData class can still run the generated client.
346
+ *
347
+ * @type {new () => FormData}
348
+ */
349
+ formDataCtor;
350
+ constructor(param = {}) {
351
+ this.apiKey = param.apiKey;
352
+ this.username = param.username;
353
+ this.password = param.password;
354
+ this.accessToken = param.accessToken;
355
+ this.awsv4 = param.awsv4;
356
+ this.basePath = param.basePath;
357
+ this.serverIndex = param.serverIndex;
358
+ this.baseOptions = {
359
+ ...param.baseOptions,
360
+ headers: { ...param.baseOptions?.headers }
361
+ };
362
+ this.formDataCtor = param.formDataCtor;
363
+ }
364
+ /**
365
+ * Check if the given MIME is a JSON MIME.
366
+ * JSON MIME examples:
367
+ * application/json
368
+ * application/json; charset=UTF8
369
+ * APPLICATION/JSON
370
+ * application/vnd.company+json
371
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
372
+ * @return True if the given MIME is JSON, false otherwise.
373
+ */
374
+ isJsonMime(mime) {
375
+ return mime !== null && /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i.test(mime);
376
+ }
362
377
  };
363
-
364
- // src/api-model/models/delete-notifications-request.ts
365
- var DeleteNotificationsRequestDeletionReasonEnum = {
366
- IncorrectContent: "INCORRECT_CONTENT",
367
- IncorrectRecipient: "INCORRECT_RECIPIENT"
378
+ //#endregion
379
+ //#region src/api-model/models/delete-notifications-request.ts
380
+ const DeleteNotificationsRequestDeletionReasonEnum = {
381
+ IncorrectContent: "INCORRECT_CONTENT",
382
+ IncorrectRecipient: "INCORRECT_RECIPIENT"
368
383
  };
369
-
370
- // src/api-model/models/record-action-feedback-request.ts
371
- var RecordActionFeedbackRequestFeedbackActionCodeEnum = {
372
- SellerActionCompleted: "SELLER_ACTION_COMPLETED"
373
- };
374
-
375
- // src/client.ts
376
- var clientRateLimits = [
377
- {
378
- method: "post",
379
- // eslint-disable-next-line prefer-regex-literals
380
- urlRegex: new RegExp("^/appIntegrations/2024-04-01/notifications$"),
381
- rate: 1,
382
- burst: 5
383
- },
384
- {
385
- method: "post",
386
- // eslint-disable-next-line prefer-regex-literals
387
- urlRegex: new RegExp("^/appIntegrations/2024-04-01/notifications/deletion$"),
388
- rate: 1,
389
- burst: 5
390
- },
391
- {
392
- method: "post",
393
- // eslint-disable-next-line prefer-regex-literals
394
- urlRegex: new RegExp("^/appIntegrations/2024-04-01/notifications/[^/]*/feedback$"),
395
- rate: 1,
396
- burst: 5
397
- }
384
+ //#endregion
385
+ //#region src/api-model/models/record-action-feedback-request.ts
386
+ const RecordActionFeedbackRequestFeedbackActionCodeEnum = { SellerActionCompleted: "SELLER_ACTION_COMPLETED" };
387
+ //#endregion
388
+ //#region src/client.ts
389
+ const clientRateLimits = [
390
+ {
391
+ method: "post",
392
+ urlRegex: /^\/appIntegrations\/2024\u{2D}04\u{2D}01\/notifications$/v,
393
+ rate: 1,
394
+ burst: 5
395
+ },
396
+ {
397
+ method: "post",
398
+ urlRegex: /^\/appIntegrations\/2024\u{2D}04\u{2D}01\/notifications\/deletion$/v,
399
+ rate: 1,
400
+ burst: 5
401
+ },
402
+ {
403
+ method: "post",
404
+ urlRegex: /^\/appIntegrations\/2024\u{2D}04\u{2D}01\/notifications\/[^\/]*\/feedback$/v,
405
+ rate: 1,
406
+ burst: 5
407
+ }
398
408
  ];
399
409
  var ApplicationIntegrationsApiClient = class extends ApplicationIntegrationsApi {
400
- constructor(configuration) {
401
- const { axios, endpoint } = createAxiosInstance(configuration, clientRateLimits);
402
- super(new Configuration(), endpoint, axios);
403
- }
404
- };
405
- export {
406
- ApplicationIntegrationsApi,
407
- ApplicationIntegrationsApiAxiosParamCreator,
408
- ApplicationIntegrationsApiClient,
409
- ApplicationIntegrationsApiFactory,
410
- ApplicationIntegrationsApiFp,
411
- DeleteNotificationsRequestDeletionReasonEnum,
412
- RecordActionFeedbackRequestFeedbackActionCodeEnum,
413
- clientRateLimits
410
+ constructor(configuration) {
411
+ const { axios, endpoint } = createAxiosInstance(configuration, clientRateLimits);
412
+ super(new Configuration(), endpoint, axios);
413
+ }
414
414
  };
415
+ //#endregion
416
+ export { ApplicationIntegrationsApi, ApplicationIntegrationsApiAxiosParamCreator, ApplicationIntegrationsApiClient, ApplicationIntegrationsApiFactory, ApplicationIntegrationsApiFp, DeleteNotificationsRequestDeletionReasonEnum, RecordActionFeedbackRequestFeedbackActionCodeEnum, clientRateLimits };
417
+
415
418
  //# sourceMappingURL=index.js.map