-
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: support preview API versions (#149)
Co-authored-by: nguyentoanit <nguyentoanit@users.noreply.github.com>
- Loading branch information
1 parent
9c5d448
commit 5aa37d9
Showing
20 changed files
with
4,066 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { CatalogApi, Configuration } from '../api-models/catalog-items-api-model-v20201201' | ||
import { ApiClientHelpers } from '../helpers' | ||
import { DEFAULT_API_BASE_PATH } from '../types' | ||
import { APIConfigurationParameters } from '../types/api-clients/api-configuration-parameters' | ||
|
||
export class CatalogItemsApiClientV20201201 extends CatalogApi { | ||
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, FeedsApi } from '../api-models/feeds-api-model-v20210630' | ||
import { ApiClientHelpers } from '../helpers' | ||
import { DEFAULT_API_BASE_PATH } from '../types' | ||
import { APIConfigurationParameters } from '../types/api-clients/api-configuration-parameters' | ||
|
||
export class FeedsApiClientV20210630 extends FeedsApi { | ||
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
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, ReportsApi } from '../api-models/reports-api-model-v20210630' | ||
import { ApiClientHelpers } from '../helpers' | ||
import { DEFAULT_API_BASE_PATH } from '../types' | ||
import { APIConfigurationParameters } from '../types/api-clients/api-configuration-parameters' | ||
|
||
export class ReportsApiClientV20210630 extends ReportsApi { | ||
constructor(parameters: APIConfigurationParameters) { | ||
const axios = ApiClientHelpers.getAxiosInstance(parameters) | ||
|
||
const configuration = new Configuration(parameters) | ||
|
||
super(configuration, DEFAULT_API_BASE_PATH, axios) | ||
} | ||
} |
Oops, something went wrong.