Skip to content

Commit

Permalink
feat: add shipment invoicing, product type definitions and listings i…
Browse files Browse the repository at this point in the history
…tems api model

Co-authored-by: nguyentoanit <nguyentoanit@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and nguyentoanit authored Jun 3, 2021
1 parent c349dc4 commit 623872e
Show file tree
Hide file tree
Showing 20 changed files with 3,041 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/api-clients/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,19 @@ export * from './feeds-api-client'
export * from './finances-api-client'
export * from './fulfillment-inbound-api-client'
export * from './fulfillment-outbound-api-client'
export * from './listings-items-api-client'
export * from './merchant-fulfillment-api-client'
export * from './messaging-api-client'
export * from './notifications-api-client'
export * from './orders-api-client'
export * from './product-fees-api-client'
export * from './product-pricing-api-client'
export * from './product-type-definitions-api-client'
export * from './reports-api-client'
export * from './sales-api-client'
export * from './sellers-api-client'
export * from './services-api-client'
export * from './shipment-invoicing-api-client'
export * from './shipping-api-client'
export * from './solicitations-api-client'
export * from './tokens-api-client'
Expand Down
14 changes: 14 additions & 0 deletions src/api-clients/listings-items-api-client.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { Configuration, ListingsApi } from '../api-models/listings-items-api-model'
import { ApiClientHelpers } from '../helpers'
import { DEFAULT_API_BASE_PATH } from '../types'
import { APIConfigurationParameters } from '../types/api-clients/api-configuration-parameters'

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

const configuration = new Configuration(parameters)

super(configuration, DEFAULT_API_BASE_PATH, axios)
}
}
14 changes: 14 additions & 0 deletions src/api-clients/product-type-definitions-api-client.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { Configuration, DefinitionsApi } from '../api-models/product-type-definitions-api-model'
import { ApiClientHelpers } from '../helpers'
import { DEFAULT_API_BASE_PATH } from '../types'
import { APIConfigurationParameters } from '../types/api-clients/api-configuration-parameters'

export class ProductTypeDefinitionsApiClient extends DefinitionsApi {
constructor(parameters: APIConfigurationParameters) {
const axios = ApiClientHelpers.getAxiosInstance(parameters)

const configuration = new Configuration(parameters)

super(configuration, DEFAULT_API_BASE_PATH, axios)
}
}
14 changes: 14 additions & 0 deletions src/api-clients/shipment-invoicing-api-client.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { Configuration, ShipmentInvoiceApi } from '../api-models/shipment-invoicing-api-model'
import { ApiClientHelpers } from '../helpers'
import { DEFAULT_API_BASE_PATH } from '../types'
import { APIConfigurationParameters } from '../types/api-clients/api-configuration-parameters'

export class ShipmentInvoicingApiClient extends ShipmentInvoiceApi {
constructor(parameters: APIConfigurationParameters) {
const axios = ApiClientHelpers.getAxiosInstance(parameters)

const configuration = new Configuration(parameters)

super(configuration, DEFAULT_API_BASE_PATH, axios)
}
}
52 changes: 52 additions & 0 deletions src/api-models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,22 @@ export {
FbaOutboundApiListReturnReasonCodesRequest as FulfillmentOutboundApiModelFbaOutboundApiListReturnReasonCodesRequest,
FbaOutboundApiUpdateFulfillmentOrderRequest as FulfillmentOutboundApiModelFbaOutboundApiUpdateFulfillmentOrderRequest,
} from './fulfillment-outbound-api-model'
export {
IssueSeverityEnum as ListingsItemsApiModelIssueSeverityEnum,
ListingsItemPutRequestRequirementsEnum as ListingsItemsApiModelListingsItemPutRequestRequirementsEnum,
ListingsItemSubmissionResponseStatusEnum as ListingsItemsApiModelListingsItemSubmissionResponseStatusEnum,
PatchOperationOpEnum as ListingsItemsApiModelPatchOperationOpEnum,
ErrorList as ListingsItemsApiModelErrorList,
Issue as ListingsItemsApiModelIssue,
ListingsItemPatchRequest as ListingsItemsApiModelListingsItemPatchRequest,
ListingsItemPutRequest as ListingsItemsApiModelListingsItemPutRequest,
ListingsItemSubmissionResponse as ListingsItemsApiModelListingsItemSubmissionResponse,
ModelError as ListingsItemsApiModelModelError,
PatchOperation as ListingsItemsApiModelPatchOperation,
ListingsApiDeleteListingsItemRequest as ListingsItemsApiModelListingsApiDeleteListingsItemRequest,
ListingsApiPatchListingsItemRequest as ListingsItemsApiModelListingsApiPatchListingsItemRequest,
ListingsApiPutListingsItemRequest as ListingsItemsApiModelListingsApiPutListingsItemRequest,
} from './listings-items-api-model'
export {
CarrierWillPickUpOption as MerchantFulfillmentApiModelCarrierWillPickUpOption,
DeliveryExperienceOption as MerchantFulfillmentApiModelDeliveryExperienceOption,
Expand Down Expand Up @@ -657,6 +673,22 @@ export {
ProductPricingApiGetListingOffersRequest as ProductPricingApiModelProductPricingApiGetListingOffersRequest,
ProductPricingApiGetPricingRequest as ProductPricingApiModelProductPricingApiGetPricingRequest,
} from './product-pricing-api-model'
export {
ProductTypeDefinitionRequirementsEnum as ProductTypeDefinitionsApiModelProductTypeDefinitionRequirementsEnum,
ProductTypeDefinitionRequirementsEnforcedEnum as ProductTypeDefinitionsApiModelProductTypeDefinitionRequirementsEnforcedEnum,
SchemaLinkLinkVerbEnum as ProductTypeDefinitionsApiModelSchemaLinkLinkVerbEnum,
ErrorList as ProductTypeDefinitionsApiModelErrorList,
ModelError as ProductTypeDefinitionsApiModelModelError,
ProductType as ProductTypeDefinitionsApiModelProductType,
ProductTypeDefinition as ProductTypeDefinitionsApiModelProductTypeDefinition,
ProductTypeList as ProductTypeDefinitionsApiModelProductTypeList,
ProductTypeVersion as ProductTypeDefinitionsApiModelProductTypeVersion,
PropertyGroup as ProductTypeDefinitionsApiModelPropertyGroup,
SchemaLink as ProductTypeDefinitionsApiModelSchemaLink,
SchemaLinkLink as ProductTypeDefinitionsApiModelSchemaLinkLink,
DefinitionsApiGetDefinitionsProductTypeRequest as ProductTypeDefinitionsApiModelDefinitionsApiGetDefinitionsProductTypeRequest,
DefinitionsApiSearchDefinitionsProductTypesRequest as ProductTypeDefinitionsApiModelDefinitionsApiSearchDefinitionsProductTypesRequest,
} from './product-type-definitions-api-model'
export {
CreateReportScheduleSpecificationPeriodEnum as ReportsApiModelCreateReportScheduleSpecificationPeriodEnum,
ReportProcessingStatusEnum as ReportsApiModelReportProcessingStatusEnum,
Expand Down Expand Up @@ -743,6 +775,26 @@ export {
ServiceApiGetServiceJobsRequest as ServicesApiModelServiceApiGetServiceJobsRequest,
ServiceApiRescheduleAppointmentForServiceJobByServiceJobIdRequest as ServicesApiModelServiceApiRescheduleAppointmentForServiceJobByServiceJobIdRequest,
} from './services-api-model'
export {
AddressTypeEnum as ShipmentInvoicingApiModelAddressTypeEnum,
ShipmentInvoiceStatus as ShipmentInvoicingApiModelShipmentInvoiceStatus,
Address as ShipmentInvoicingApiModelAddress,
BuyerTaxInfo as ShipmentInvoicingApiModelBuyerTaxInfo,
GetInvoiceStatusResponse as ShipmentInvoicingApiModelGetInvoiceStatusResponse,
GetShipmentDetailsResponse as ShipmentInvoicingApiModelGetShipmentDetailsResponse,
ModelError as ShipmentInvoicingApiModelModelError,
Money as ShipmentInvoicingApiModelMoney,
ShipmentDetail as ShipmentInvoicingApiModelShipmentDetail,
ShipmentInvoiceStatusInfo as ShipmentInvoicingApiModelShipmentInvoiceStatusInfo,
ShipmentInvoiceStatusResponse as ShipmentInvoicingApiModelShipmentInvoiceStatusResponse,
ShipmentItem as ShipmentInvoicingApiModelShipmentItem,
SubmitInvoiceRequest as ShipmentInvoicingApiModelSubmitInvoiceRequest,
SubmitInvoiceResponse as ShipmentInvoicingApiModelSubmitInvoiceResponse,
TaxClassification as ShipmentInvoicingApiModelTaxClassification,
ShipmentInvoiceApiGetInvoiceStatusRequest as ShipmentInvoicingApiModelShipmentInvoiceApiGetInvoiceStatusRequest,
ShipmentInvoiceApiGetShipmentDetailsRequest as ShipmentInvoicingApiModelShipmentInvoiceApiGetShipmentDetailsRequest,
ShipmentInvoiceApiSubmitInvoiceRequest as ShipmentInvoicingApiModelShipmentInvoiceApiSubmitInvoiceRequest,
} from './shipment-invoicing-api-model'
export {
ContainerContainerTypeEnum as ShippingApiModelContainerContainerTypeEnum,
DimensionsUnitEnum as ShippingApiModelDimensionsUnitEnum,
Expand Down
Loading

0 comments on commit 623872e

Please sign in to comment.