-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add shipment invoicing, product type definitions and listings i…
…tems api model Co-authored-by: nguyentoanit <nguyentoanit@users.noreply.github.com>
- Loading branch information
1 parent
c349dc4
commit 623872e
Showing
20 changed files
with
3,041 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.