Skip to content

Commit

Permalink
chore: update api models
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyentoanit authored and Scale Bot committed Dec 8, 2024
1 parent bfc0ab9 commit 7f77771
Show file tree
Hide file tree
Showing 70 changed files with 2,479 additions and 1,722 deletions.
4 changes: 2 additions & 2 deletions src/api-clients/catalog-items-api-client-v20220401.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { CatalogApi, Configuration } from '../api-models/catalog-items-api-model-v20220401'
import { CatalogItemsApi, Configuration } from '../api-models/catalog-items-api-model-v20220401'
import { ApiClientHelpers } from '../helpers'
import { DEFAULT_API_BASE_PATH } from '../types'
import { APIConfigurationParameters } from '../types/api-clients/api-configuration-parameters'

export class CatalogItemsApiClientV20220401 extends CatalogApi {
export class CatalogItemsApiClientV20220401 extends CatalogItemsApi {
constructor(parameters: APIConfigurationParameters) {
const axios = ApiClientHelpers.getAxiosInstance(parameters)

Expand Down
7 changes: 5 additions & 2 deletions src/api-clients/fulfillment-inbound-api-client-v20240320.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
import { Configuration, FbaInboundApi } from '../api-models/fulfillment-inbound-api-model-v20240320'
import {
Configuration,
FulfillmentInboundApi,
} from '../api-models/fulfillment-inbound-api-model-v20240320'
import { ApiClientHelpers } from '../helpers'
import { DEFAULT_API_BASE_PATH } from '../types'
import { APIConfigurationParameters } from '../types/api-clients/api-configuration-parameters'

export class FulfillmentInboundApiClientV20240320 extends FbaInboundApi {
export class FulfillmentInboundApiClientV20240320 extends FulfillmentInboundApi {
constructor(parameters: APIConfigurationParameters) {
const axios = ApiClientHelpers.getAxiosInstance(parameters)

Expand Down
4 changes: 2 additions & 2 deletions src/api-clients/listings-items-api-client-v20210801.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Configuration, ListingsApi } from '../api-models/listings-items-api-model-v20210801'
import { Configuration, ListingsItemsApi } from '../api-models/listings-items-api-model-v20210801'
import { ApiClientHelpers } from '../helpers'
import { DEFAULT_API_BASE_PATH } from '../types'
import { APIConfigurationParameters } from '../types/api-clients/api-configuration-parameters'

export class ListingsItemsApiClientV20210801 extends ListingsApi {
export class ListingsItemsApiClientV20210801 extends ListingsItemsApi {
constructor(parameters: APIConfigurationParameters) {
const axios = ApiClientHelpers.getAxiosInstance(parameters)

Expand Down
9 changes: 3 additions & 6 deletions src/api-clients/orders-api-client.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Configuration, OrdersV0Api, ShipmentApi } from '../api-models/orders-api-model'
import { ApiClientHelpers, applyMixins } from '../helpers'
import { Configuration, OrdersApi } from '../api-models/orders-api-model'
import { ApiClientHelpers } from '../helpers'
import { DEFAULT_API_BASE_PATH } from '../types'
import { APIConfigurationParameters } from '../types/api-clients/api-configuration-parameters'

export class OrdersApiClient extends OrdersV0Api {
export class OrdersApiClient extends OrdersApi {
constructor(parameters: APIConfigurationParameters) {
const axios = ApiClientHelpers.getAxiosInstance(parameters)

Expand All @@ -12,6 +12,3 @@ export class OrdersApiClient extends OrdersV0Api {
super(configuration, DEFAULT_API_BASE_PATH, axios)
}
}

export interface OrdersApiClient extends OrdersV0Api, ShipmentApi {}
applyMixins(OrdersApiClient, [OrdersV0Api, ShipmentApi])
4 changes: 2 additions & 2 deletions src/api-clients/vendor-invoices-api-client.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Configuration, VendorPaymentsApi } from '../api-models/vendor-invoices-api-model'
import { Configuration, VendorInvoicesApi } from '../api-models/vendor-invoices-api-model'
import { ApiClientHelpers } from '../helpers'
import { DEFAULT_API_BASE_PATH } from '../types'
import { APIConfigurationParameters } from '../types/api-clients/api-configuration-parameters'

export class VendorInvoicesApiClient extends VendorPaymentsApi {
export class VendorInvoicesApiClient extends VendorInvoicesApi {
constructor(parameters: APIConfigurationParameters) {
const axios = ApiClientHelpers.getAxiosInstance(parameters)

Expand Down
4 changes: 2 additions & 2 deletions src/api-clients/vendor-shipments-api-client.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Configuration, VendorShippingApi } from '../api-models/vendor-shipments-api-model'
import { Configuration, VendorShipmentsApi } from '../api-models/vendor-shipments-api-model'
import { ApiClientHelpers } from '../helpers'
import { DEFAULT_API_BASE_PATH } from '../types'
import { APIConfigurationParameters } from '../types/api-clients/api-configuration-parameters'

export class VendorShipmentsApiClient extends VendorShippingApi {
export class VendorShipmentsApiClient extends VendorShipmentsApi {
constructor(parameters: APIConfigurationParameters) {
const axios = ApiClientHelpers.getAxiosInstance(parameters)

Expand Down
92 changes: 50 additions & 42 deletions src/api-models/catalog-items-api-model-v20220401/api.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/api-models/catalog-items-api-model-v20220401/base.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* tslint:disable */
/* eslint-disable */
/**
* Selling Partner API for Catalog Items
* Catalog Items v2022-04-01
* The Selling Partner API for Catalog Items provides programmatic access to information about items in the Amazon catalog. For more information, refer to the [Catalog Items API Use Case Guide](doc:catalog-items-api-v2022-04-01-use-case-guide).
*
* The version of the OpenAPI document: 2022-04-01
Expand Down
2 changes: 1 addition & 1 deletion src/api-models/catalog-items-api-model-v20220401/common.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* tslint:disable */
/* eslint-disable */
/**
* Selling Partner API for Catalog Items
* Catalog Items v2022-04-01
* The Selling Partner API for Catalog Items provides programmatic access to information about items in the Amazon catalog. For more information, refer to the [Catalog Items API Use Case Guide](doc:catalog-items-api-v2022-04-01-use-case-guide).
*
* The version of the OpenAPI document: 2022-04-01
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* tslint:disable */
/* eslint-disable */
/**
* Selling Partner API for Catalog Items
* Catalog Items v2022-04-01
* The Selling Partner API for Catalog Items provides programmatic access to information about items in the Amazon catalog. For more information, refer to the [Catalog Items API Use Case Guide](doc:catalog-items-api-v2022-04-01-use-case-guide).
*
* The version of the OpenAPI document: 2022-04-01
Expand Down
2 changes: 1 addition & 1 deletion src/api-models/catalog-items-api-model-v20220401/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* tslint:disable */
/* eslint-disable */
/**
* Selling Partner API for Catalog Items
* Catalog Items v2022-04-01
* The Selling Partner API for Catalog Items provides programmatic access to information about items in the Amazon catalog. For more information, refer to the [Catalog Items API Use Case Guide](doc:catalog-items-api-v2022-04-01-use-case-guide).
*
* The version of the OpenAPI document: 2022-04-01
Expand Down
Loading

0 comments on commit 7f77771

Please sign in to comment.