Skip to content

Commit 61794e6

Browse files
bizon-bottusbar
andauthored
feat(clients): update models as of 2025-08-05 (#1548)
Co-authored-by: tusbar <[email protected]>
1 parent ddbfab6 commit 61794e6

File tree

4 files changed

+0
-134
lines changed

4 files changed

+0
-134
lines changed

clients/messaging-api-v1/src/api-model/api/messaging-api.ts

Lines changed: 0 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ import type { CreateLegalDisclosureRequest } from '../models';
5050
// @ts-ignore
5151
import type { CreateLegalDisclosureResponse } from '../models';
5252
// @ts-ignore
53-
import type { CreateNegativeFeedbackRemovalResponse } from '../models';
54-
// @ts-ignore
5553
import type { CreateUnexpectedProblemRequest } from '../models';
5654
// @ts-ignore
5755
import type { CreateUnexpectedProblemResponse } from '../models';
@@ -395,46 +393,6 @@ export const MessagingApiAxiosParamCreator = function (configuration?: Configura
395393
options: localVarRequestOptions,
396394
};
397395
},
398-
/**
399-
* Sends a non-critical message that asks a buyer to remove their negative feedback. This message should only be sent after the seller has resolved the buyer\'s problem. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
400-
* @param {string} amazonOrderId An Amazon order identifier. This identifies the order for which a message is sent.
401-
* @param {Array<string>} marketplaceIds A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
402-
* @param {*} [options] Override http request option.
403-
* @throws {RequiredError}
404-
*/
405-
createNegativeFeedbackRemoval: async (amazonOrderId: string, marketplaceIds: Array<string>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
406-
// verify required parameter 'amazonOrderId' is not null or undefined
407-
assertParamExists('createNegativeFeedbackRemoval', 'amazonOrderId', amazonOrderId)
408-
// verify required parameter 'marketplaceIds' is not null or undefined
409-
assertParamExists('createNegativeFeedbackRemoval', 'marketplaceIds', marketplaceIds)
410-
const localVarPath = `/messaging/v1/orders/{amazonOrderId}/messages/negativeFeedbackRemoval`
411-
.replace(`{${"amazonOrderId"}}`, encodeURIComponent(String(amazonOrderId)));
412-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
413-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
414-
let baseOptions;
415-
if (configuration) {
416-
baseOptions = configuration.baseOptions;
417-
}
418-
419-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
420-
const localVarHeaderParameter = {} as any;
421-
const localVarQueryParameter = {} as any;
422-
423-
if (marketplaceIds) {
424-
localVarQueryParameter['marketplaceIds'] = marketplaceIds.join(COLLECTION_FORMATS.csv);
425-
}
426-
427-
428-
429-
setSearchParams(localVarUrlObj, localVarQueryParameter);
430-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
431-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
432-
433-
return {
434-
url: toPathString(localVarUrlObj),
435-
options: localVarRequestOptions,
436-
};
437-
},
438396
/**
439397
* Sends a critical message to a buyer that an unexpected problem was encountered affecting the completion of the order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
440398
* @param {string} amazonOrderId An Amazon order identifier. This identifies the order for which a message is sent.
@@ -761,19 +719,6 @@ export const MessagingApiFp = function(configuration?: Configuration) {
761719
const localVarOperationServerBasePath = operationServerMap['MessagingApi.createLegalDisclosure']?.[localVarOperationServerIndex]?.url;
762720
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
763721
},
764-
/**
765-
* Sends a non-critical message that asks a buyer to remove their negative feedback. This message should only be sent after the seller has resolved the buyer\'s problem. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
766-
* @param {string} amazonOrderId An Amazon order identifier. This identifies the order for which a message is sent.
767-
* @param {Array<string>} marketplaceIds A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
768-
* @param {*} [options] Override http request option.
769-
* @throws {RequiredError}
770-
*/
771-
async createNegativeFeedbackRemoval(amazonOrderId: string, marketplaceIds: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateNegativeFeedbackRemovalResponse>> {
772-
const localVarAxiosArgs = await localVarAxiosParamCreator.createNegativeFeedbackRemoval(amazonOrderId, marketplaceIds, options);
773-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
774-
const localVarOperationServerBasePath = operationServerMap['MessagingApi.createNegativeFeedbackRemoval']?.[localVarOperationServerIndex]?.url;
775-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
776-
},
777722
/**
778723
* Sends a critical message to a buyer that an unexpected problem was encountered affecting the completion of the order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
779724
* @param {string} amazonOrderId An Amazon order identifier. This identifies the order for which a message is sent.
@@ -915,15 +860,6 @@ export const MessagingApiFactory = function (configuration?: Configuration, base
915860
createLegalDisclosure(requestParameters: MessagingApiCreateLegalDisclosureRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateLegalDisclosureResponse> {
916861
return localVarFp.createLegalDisclosure(requestParameters.amazonOrderId, requestParameters.marketplaceIds, requestParameters.body, options).then((request) => request(axios, basePath));
917862
},
918-
/**
919-
* Sends a non-critical message that asks a buyer to remove their negative feedback. This message should only be sent after the seller has resolved the buyer\'s problem. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
920-
* @param {MessagingApiCreateNegativeFeedbackRemovalRequest} requestParameters Request parameters.
921-
* @param {*} [options] Override http request option.
922-
* @throws {RequiredError}
923-
*/
924-
createNegativeFeedbackRemoval(requestParameters: MessagingApiCreateNegativeFeedbackRemovalRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateNegativeFeedbackRemovalResponse> {
925-
return localVarFp.createNegativeFeedbackRemoval(requestParameters.amazonOrderId, requestParameters.marketplaceIds, options).then((request) => request(axios, basePath));
926-
},
927863
/**
928864
* Sends a critical message to a buyer that an unexpected problem was encountered affecting the completion of the order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
929865
* @param {MessagingApiCreateUnexpectedProblemRequest} requestParameters Request parameters.
@@ -1168,27 +1104,6 @@ export interface MessagingApiCreateLegalDisclosureRequest {
11681104
readonly body: CreateLegalDisclosureRequest
11691105
}
11701106

1171-
/**
1172-
* Request parameters for createNegativeFeedbackRemoval operation in MessagingApi.
1173-
* @export
1174-
* @interface MessagingApiCreateNegativeFeedbackRemovalRequest
1175-
*/
1176-
export interface MessagingApiCreateNegativeFeedbackRemovalRequest {
1177-
/**
1178-
* An Amazon order identifier. This identifies the order for which a message is sent.
1179-
* @type {string}
1180-
* @memberof MessagingApiCreateNegativeFeedbackRemoval
1181-
*/
1182-
readonly amazonOrderId: string
1183-
1184-
/**
1185-
* A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
1186-
* @type {Array<string>}
1187-
* @memberof MessagingApiCreateNegativeFeedbackRemoval
1188-
*/
1189-
readonly marketplaceIds: Array<string>
1190-
}
1191-
11921107
/**
11931108
* Request parameters for createUnexpectedProblem operation in MessagingApi.
11941109
* @export
@@ -1399,17 +1314,6 @@ export class MessagingApi extends BaseAPI {
13991314
return MessagingApiFp(this.configuration).createLegalDisclosure(requestParameters.amazonOrderId, requestParameters.marketplaceIds, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
14001315
}
14011316

1402-
/**
1403-
* Sends a non-critical message that asks a buyer to remove their negative feedback. This message should only be sent after the seller has resolved the buyer\'s problem. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1404-
* @param {MessagingApiCreateNegativeFeedbackRemovalRequest} requestParameters Request parameters.
1405-
* @param {*} [options] Override http request option.
1406-
* @throws {RequiredError}
1407-
* @memberof MessagingApi
1408-
*/
1409-
public createNegativeFeedbackRemoval(requestParameters: MessagingApiCreateNegativeFeedbackRemovalRequest, options?: RawAxiosRequestConfig) {
1410-
return MessagingApiFp(this.configuration).createNegativeFeedbackRemoval(requestParameters.amazonOrderId, requestParameters.marketplaceIds, options).then((request) => request(this.axios, this.basePath));
1411-
}
1412-
14131317
/**
14141318
* Sends a critical message to a buyer that an unexpected problem was encountered affecting the completion of the order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
14151319
* @param {MessagingApiCreateUnexpectedProblemRequest} requestParameters Request parameters.

clients/messaging-api-v1/src/api-model/models/create-negative-feedback-removal-response.ts

Lines changed: 0 additions & 30 deletions
This file was deleted.

clients/messaging-api-v1/src/api-model/models/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ export * from './create-digital-access-key-request';
1313
export * from './create-digital-access-key-response';
1414
export * from './create-legal-disclosure-request';
1515
export * from './create-legal-disclosure-response';
16-
export * from './create-negative-feedback-removal-response';
1716
export * from './create-unexpected-problem-request';
1817
export * from './create-unexpected-problem-response';
1918
export * from './create-warranty-request';

clients/messaging-api-v1/src/client.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,6 @@ export const clientRateLimits: RateLimit[] = [
3131
rate: 1,
3232
burst: 5,
3333
},
34-
{
35-
method: 'post',
36-
// eslint-disable-next-line prefer-regex-literals
37-
urlRegex: new RegExp('^/messaging/v1/orders/[^/]*/messages/negativeFeedbackRemoval$'),
38-
rate: 1,
39-
burst: 5,
40-
},
4134
{
4235
method: 'post',
4336
// eslint-disable-next-line prefer-regex-literals

0 commit comments

Comments
 (0)