Skip to content

Commit 296aab0

Browse files
bizon-bottusbar
andauthored
feat(clients): update models as of 2025-09-10 (#1583)
Co-authored-by: tusbar <[email protected]>
1 parent 1e044bb commit 296aab0

File tree

8 files changed

+0
-260
lines changed

8 files changed

+0
-260
lines changed

clients/fulfillment-outbound-api-2020-07-01/src/api-model/api/fulfillment-outbound-api.ts

Lines changed: 0 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ import type { CreateFulfillmentReturnRequest } from '../models';
3232
// @ts-ignore
3333
import type { CreateFulfillmentReturnResponse } from '../models';
3434
// @ts-ignore
35-
import type { GetDeliveryOfferingsRequest } from '../models';
36-
// @ts-ignore
37-
import type { GetDeliveryOfferingsResponse } from '../models';
38-
// @ts-ignore
3935
import type { GetDeliveryOffersRequest } from '../models';
4036
// @ts-ignore
4137
import type { GetDeliveryOffersResponse } from '../models';
@@ -165,41 +161,6 @@ export const FulfillmentOutboundApiAxiosParamCreator = function (configuration?:
165161

166162

167163

168-
localVarHeaderParameter['Content-Type'] = 'application/json';
169-
170-
setSearchParams(localVarUrlObj, localVarQueryParameter);
171-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
172-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
173-
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
174-
175-
return {
176-
url: toPathString(localVarUrlObj),
177-
options: localVarRequestOptions,
178-
};
179-
},
180-
/**
181-
* Returns fast delivery estimates for Product Detail and Collection pages, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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 {GetDeliveryOfferingsRequest} body GetDeliveryOfferingsRequest parameter
183-
* @param {*} [options] Override http request option.
184-
* @throws {RequiredError}
185-
*/
186-
deliveryOfferings: async (body: GetDeliveryOfferingsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
187-
// verify required parameter 'body' is not null or undefined
188-
assertParamExists('deliveryOfferings', 'body', body)
189-
const localVarPath = `/fba/outbound/2020-07-01/deliveryOfferings`;
190-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
191-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
192-
let baseOptions;
193-
if (configuration) {
194-
baseOptions = configuration.baseOptions;
195-
}
196-
197-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
198-
const localVarHeaderParameter = {} as any;
199-
const localVarQueryParameter = {} as any;
200-
201-
202-
203164
localVarHeaderParameter['Content-Type'] = 'application/json';
204165

205166
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -702,18 +663,6 @@ export const FulfillmentOutboundApiFp = function(configuration?: Configuration)
702663
const localVarOperationServerBasePath = operationServerMap['FulfillmentOutboundApi.createFulfillmentReturn']?.[localVarOperationServerIndex]?.url;
703664
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
704665
},
705-
/**
706-
* Returns fast delivery estimates for Product Detail and Collection pages, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
707-
* @param {GetDeliveryOfferingsRequest} body GetDeliveryOfferingsRequest parameter
708-
* @param {*} [options] Override http request option.
709-
* @throws {RequiredError}
710-
*/
711-
async deliveryOfferings(body: GetDeliveryOfferingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDeliveryOfferingsResponse>> {
712-
const localVarAxiosArgs = await localVarAxiosParamCreator.deliveryOfferings(body, options);
713-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
714-
const localVarOperationServerBasePath = operationServerMap['FulfillmentOutboundApi.deliveryOfferings']?.[localVarOperationServerIndex]?.url;
715-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
716-
},
717666
/**
718667
* Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
719668
* @param {GetDeliveryOffersRequest} body GetDeliveryOffersRequest parameter
@@ -894,15 +843,6 @@ export const FulfillmentOutboundApiFactory = function (configuration?: Configura
894843
createFulfillmentReturn(requestParameters: FulfillmentOutboundApiCreateFulfillmentReturnRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateFulfillmentReturnResponse> {
895844
return localVarFp.createFulfillmentReturn(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(axios, basePath));
896845
},
897-
/**
898-
* Returns fast delivery estimates for Product Detail and Collection pages, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
899-
* @param {FulfillmentOutboundApiDeliveryOfferingsRequest} requestParameters Request parameters.
900-
* @param {*} [options] Override http request option.
901-
* @throws {RequiredError}
902-
*/
903-
deliveryOfferings(requestParameters: FulfillmentOutboundApiDeliveryOfferingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetDeliveryOfferingsResponse> {
904-
return localVarFp.deliveryOfferings(requestParameters.body, options).then((request) => request(axios, basePath));
905-
},
906846
/**
907847
* Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
908848
* @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
@@ -1040,16 +980,6 @@ export interface FulfillmentOutboundApiCreateFulfillmentReturnRequest {
1040980
readonly body: CreateFulfillmentReturnRequest
1041981
}
1042982

1043-
/**
1044-
* Request parameters for deliveryOfferings operation in FulfillmentOutboundApi.
1045-
*/
1046-
export interface FulfillmentOutboundApiDeliveryOfferingsRequest {
1047-
/**
1048-
* GetDeliveryOfferingsRequest parameter
1049-
*/
1050-
readonly body: GetDeliveryOfferingsRequest
1051-
}
1052-
1053983
/**
1054984
* Request parameters for deliveryOffers operation in FulfillmentOutboundApi.
1055985
*/
@@ -1254,16 +1184,6 @@ export class FulfillmentOutboundApi extends BaseAPI {
12541184
return FulfillmentOutboundApiFp(this.configuration).createFulfillmentReturn(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
12551185
}
12561186

1257-
/**
1258-
* Returns fast delivery estimates for Product Detail and Collection pages, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
1259-
* @param {FulfillmentOutboundApiDeliveryOfferingsRequest} requestParameters Request parameters.
1260-
* @param {*} [options] Override http request option.
1261-
* @throws {RequiredError}
1262-
*/
1263-
public deliveryOfferings(requestParameters: FulfillmentOutboundApiDeliveryOfferingsRequest, options?: RawAxiosRequestConfig) {
1264-
return FulfillmentOutboundApiFp(this.configuration).deliveryOfferings(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
1265-
}
1266-
12671187
/**
12681188
* Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 30 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may 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).
12691189
* @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.

clients/fulfillment-outbound-api-2020-07-01/src/api-model/models/delivery-offering.ts

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

clients/fulfillment-outbound-api-2020-07-01/src/api-model/models/delivery-quantity.ts

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

clients/fulfillment-outbound-api-2020-07-01/src/api-model/models/get-delivery-offerings-request.ts

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

clients/fulfillment-outbound-api-2020-07-01/src/api-model/models/get-delivery-offerings-response.ts

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

clients/fulfillment-outbound-api-2020-07-01/src/api-model/models/get-delivery-offerings-result.ts

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

clients/fulfillment-outbound-api-2020-07-01/src/api-model/models/index.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@ export * from './delivery-document';
1616
export * from './delivery-information';
1717
export * from './delivery-message';
1818
export * from './delivery-offer';
19-
export * from './delivery-offering';
2019
export * from './delivery-policy';
2120
export * from './delivery-preferences';
22-
export * from './delivery-quantity';
2321
export * from './delivery-window';
2422
export * from './destination';
2523
export * from './drop-off-location';
@@ -40,9 +38,6 @@ export * from './fulfillment-return-item-status';
4038
export * from './fulfillment-shipment';
4139
export * from './fulfillment-shipment-item';
4240
export * from './fulfillment-shipment-package';
43-
export * from './get-delivery-offerings-request';
44-
export * from './get-delivery-offerings-response';
45-
export * from './get-delivery-offerings-result';
4641
export * from './get-delivery-offers-product';
4742
export * from './get-delivery-offers-request';
4843
export * from './get-delivery-offers-response';

clients/fulfillment-outbound-api-2020-07-01/src/client.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,6 @@ export const clientRateLimits: RateLimit[] = [
1010
rate: 2,
1111
burst: 30,
1212
},
13-
{
14-
method: 'post',
15-
// eslint-disable-next-line prefer-regex-literals
16-
urlRegex: new RegExp('^/fba/outbound/2020-07-01/deliveryOfferings$'),
17-
rate: 5,
18-
burst: 30,
19-
},
2013
{
2114
method: 'post',
2215
// eslint-disable-next-line prefer-regex-literals

0 commit comments

Comments
 (0)