Skip to content

Commit

Permalink
fix(): update for SDK (#582)
Browse files Browse the repository at this point in the history
Co-authored-by: app-services-ci <[email protected]>
  • Loading branch information
app-services-ci and app-services-ci authored Nov 23, 2022
1 parent 092e798 commit ff6dd2d
Show file tree
Hide file tree
Showing 40 changed files with 80 additions and 709 deletions.
3 changes: 1 addition & 2 deletions packages/smart-events-management-sdk/src/generated/api.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* tslint:disable */
/* eslint-disable */
/**
* Red Hat Openshift SmartEvents Fleet Manager
* Red Hat Openshift SmartEvents Fleet Manager V2
* The API exposed by the fleet manager of the SmartEvents service.
*
* The version of the OpenAPI document: 0.0.1
Expand All @@ -18,5 +18,4 @@ export * from './api/bridges-api';
export * from './api/cloud-providers-api';
export * from './api/error-catalog-api';
export * from './api/processors-api';
export * from './api/schema-catalog-api';

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* tslint:disable */
/* eslint-disable */
/**
* Red Hat Openshift SmartEvents Fleet Manager
* Red Hat Openshift SmartEvents Fleet Manager V2
* The API exposed by the fleet manager of the SmartEvents service.
*
* The version of the OpenAPI document: 0.0.1
Expand Down Expand Up @@ -44,7 +44,7 @@ export const BridgesApiAxiosParamCreator = function (configuration?: Configurati
* @throws {RequiredError}
*/
createBridge: async (bridgeRequest?: BridgeRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
const localVarPath = `/api/smartevents_mgmt/v1/bridges`;
const localVarPath = `/api/smartevents_mgmt/v2/bridges`;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
let baseOptions;
Expand Down Expand Up @@ -84,7 +84,7 @@ export const BridgesApiAxiosParamCreator = function (configuration?: Configurati
deleteBridge: async (bridgeId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'bridgeId' is not null or undefined
assertParamExists('deleteBridge', 'bridgeId', bridgeId)
const localVarPath = `/api/smartevents_mgmt/v1/bridges/{bridgeId}`
const localVarPath = `/api/smartevents_mgmt/v2/bridges/{bridgeId}`
.replace(`{${"bridgeId"}}`, encodeURIComponent(String(bridgeId)));
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
Expand Down Expand Up @@ -122,7 +122,7 @@ export const BridgesApiAxiosParamCreator = function (configuration?: Configurati
getBridge: async (bridgeId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'bridgeId' is not null or undefined
assertParamExists('getBridge', 'bridgeId', bridgeId)
const localVarPath = `/api/smartevents_mgmt/v1/bridges/{bridgeId}`
const localVarPath = `/api/smartevents_mgmt/v2/bridges/{bridgeId}`
.replace(`{${"bridgeId"}}`, encodeURIComponent(String(bridgeId)));
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
Expand Down Expand Up @@ -161,7 +161,7 @@ export const BridgesApiAxiosParamCreator = function (configuration?: Configurati
* @throws {RequiredError}
*/
getBridges: async (name?: string, page?: number, size?: number, status?: Set<ManagedResourceStatus>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
const localVarPath = `/api/smartevents_mgmt/v1/bridges`;
const localVarPath = `/api/smartevents_mgmt/v2/bridges`;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
let baseOptions;
Expand Down Expand Up @@ -215,7 +215,7 @@ export const BridgesApiAxiosParamCreator = function (configuration?: Configurati
updateBridge: async (bridgeId: string, bridgeRequest?: BridgeRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'bridgeId' is not null or undefined
assertParamExists('updateBridge', 'bridgeId', bridgeId)
const localVarPath = `/api/smartevents_mgmt/v1/bridges/{bridgeId}`
const localVarPath = `/api/smartevents_mgmt/v2/bridges/{bridgeId}`
.replace(`{${"bridgeId"}}`, encodeURIComponent(String(bridgeId)));
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* tslint:disable */
/* eslint-disable */
/**
* Red Hat Openshift SmartEvents Fleet Manager
* Red Hat Openshift SmartEvents Fleet Manager V2
* The API exposed by the fleet manager of the SmartEvents service.
*
* The version of the OpenAPI document: 0.0.1
Expand Down Expand Up @@ -42,7 +42,7 @@ export const CloudProvidersApiAxiosParamCreator = function (configuration?: Conf
getCloudProvider: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'id' is not null or undefined
assertParamExists('getCloudProvider', 'id', id)
const localVarPath = `/api/smartevents_mgmt/v1/cloud_providers/{id}`
const localVarPath = `/api/smartevents_mgmt/v2/cloud_providers/{id}`
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
Expand Down Expand Up @@ -78,7 +78,7 @@ export const CloudProvidersApiAxiosParamCreator = function (configuration?: Conf
listCloudProviderRegions: async (id: string, page?: number, size?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'id' is not null or undefined
assertParamExists('listCloudProviderRegions', 'id', id)
const localVarPath = `/api/smartevents_mgmt/v1/cloud_providers/{id}/regions`
const localVarPath = `/api/smartevents_mgmt/v2/cloud_providers/{id}/regions`
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
Expand Down Expand Up @@ -119,7 +119,7 @@ export const CloudProvidersApiAxiosParamCreator = function (configuration?: Conf
* @throws {RequiredError}
*/
listCloudProviders: async (page?: number, size?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
const localVarPath = `/api/smartevents_mgmt/v1/cloud_providers`;
const localVarPath = `/api/smartevents_mgmt/v2/cloud_providers`;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
let baseOptions;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* tslint:disable */
/* eslint-disable */
/**
* Red Hat Openshift SmartEvents Fleet Manager
* Red Hat Openshift SmartEvents Fleet Manager V2
* The API exposed by the fleet manager of the SmartEvents service.
*
* The version of the OpenAPI document: 0.0.1
Expand Down Expand Up @@ -42,7 +42,7 @@ export const ErrorCatalogApiAxiosParamCreator = function (configuration?: Config
getError: async (id: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'id' is not null or undefined
assertParamExists('getError', 'id', id)
const localVarPath = `/api/smartevents_mgmt/v1/errors/{id}`
const localVarPath = `/api/smartevents_mgmt/v2/errors/{id}`
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
Expand Down Expand Up @@ -75,7 +75,7 @@ export const ErrorCatalogApiAxiosParamCreator = function (configuration?: Config
* @throws {RequiredError}
*/
getErrors: async (page?: number, size?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
const localVarPath = `/api/smartevents_mgmt/v1/errors`;
const localVarPath = `/api/smartevents_mgmt/v2/errors`;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
let baseOptions;
Expand Down
Loading

0 comments on commit ff6dd2d

Please sign in to comment.