From ff6dd2d0fb3c6386d857a33ffa6d249aab113651 Mon Sep 17 00:00:00 2001 From: Red Hat Application Services CI <84090353+app-services-ci@users.noreply.github.com> Date: Wed, 23 Nov 2022 14:52:13 +0000 Subject: [PATCH] fix(): update for SDK (#582) Co-authored-by: app-services-ci --- .../src/generated/api.ts | 3 +- .../src/generated/api/bridges-api.ts | 12 +- .../src/generated/api/cloud-providers-api.ts | 8 +- .../src/generated/api/error-catalog-api.ts | 6 +- .../src/generated/api/processors-api.ts | 79 ++--- .../src/generated/api/schema-catalog-api.ts | 305 ------------------ .../src/generated/base.ts | 2 +- .../src/generated/common.ts | 2 +- .../src/generated/configuration.ts | 2 +- .../src/generated/index.ts | 2 +- .../src/generated/model/action.ts | 36 --- .../src/generated/model/base-filter.ts | 36 --- .../generated/model/bridge-error-instance.ts | 2 +- .../src/generated/model/bridge-error-type.ts | 2 +- .../src/generated/model/bridge-error.ts | 2 +- .../generated/model/bridge-list-response.ts | 2 +- .../src/generated/model/bridge-request.ts | 9 +- .../src/generated/model/bridge-response.ts | 9 +- .../model/cloud-provider-list-response.ts | 2 +- .../model/cloud-provider-response.ts | 2 +- .../model/cloud-region-list-response.ts | 2 +- .../generated/model/cloud-region-response.ts | 2 +- .../generated/model/error-list-response.ts | 2 +- .../src/generated/model/errors-list.ts | 2 +- .../src/generated/model/index.ts | 6 - .../src/generated/model/list-all-of.ts | 2 +- .../src/generated/model/list-response.ts | 2 +- .../src/generated/model/list.ts | 2 +- .../model/managed-resource-status.ts | 2 +- .../src/generated/model/model-error.ts | 2 +- .../src/generated/model/object-reference.ts | 2 +- .../model/processing-error-list-response.ts | 2 +- .../model/processing-error-response.ts | 2 +- .../model/processor-catalog-response.ts | 37 --- .../model/processor-list-response.ts | 2 +- .../src/generated/model/processor-request.ts | 27 +- .../src/generated/model/processor-response.ts | 42 +-- .../model/processor-schema-entry-response.ts | 60 ---- .../src/generated/model/processor-type.ts | 32 -- .../src/generated/model/source.ts | 36 --- 40 files changed, 80 insertions(+), 709 deletions(-) delete mode 100644 packages/smart-events-management-sdk/src/generated/api/schema-catalog-api.ts delete mode 100644 packages/smart-events-management-sdk/src/generated/model/action.ts delete mode 100644 packages/smart-events-management-sdk/src/generated/model/base-filter.ts delete mode 100644 packages/smart-events-management-sdk/src/generated/model/processor-catalog-response.ts delete mode 100644 packages/smart-events-management-sdk/src/generated/model/processor-schema-entry-response.ts delete mode 100644 packages/smart-events-management-sdk/src/generated/model/processor-type.ts delete mode 100644 packages/smart-events-management-sdk/src/generated/model/source.ts diff --git a/packages/smart-events-management-sdk/src/generated/api.ts b/packages/smart-events-management-sdk/src/generated/api.ts index 47e06e33..cc46bb97 100644 --- a/packages/smart-events-management-sdk/src/generated/api.ts +++ b/packages/smart-events-management-sdk/src/generated/api.ts @@ -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 @@ -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'; diff --git a/packages/smart-events-management-sdk/src/generated/api/bridges-api.ts b/packages/smart-events-management-sdk/src/generated/api/bridges-api.ts index 3bc1ad47..b11b4bb0 100644 --- a/packages/smart-events-management-sdk/src/generated/api/bridges-api.ts +++ b/packages/smart-events-management-sdk/src/generated/api/bridges-api.ts @@ -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 @@ -44,7 +44,7 @@ export const BridgesApiAxiosParamCreator = function (configuration?: Configurati * @throws {RequiredError} */ createBridge: async (bridgeRequest?: BridgeRequest, options: AxiosRequestConfig = {}): Promise => { - 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; @@ -84,7 +84,7 @@ export const BridgesApiAxiosParamCreator = function (configuration?: Configurati deleteBridge: async (bridgeId: string, options: AxiosRequestConfig = {}): Promise => { // 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); @@ -122,7 +122,7 @@ export const BridgesApiAxiosParamCreator = function (configuration?: Configurati getBridge: async (bridgeId: string, options: AxiosRequestConfig = {}): Promise => { // 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); @@ -161,7 +161,7 @@ export const BridgesApiAxiosParamCreator = function (configuration?: Configurati * @throws {RequiredError} */ getBridges: async (name?: string, page?: number, size?: number, status?: Set, options: AxiosRequestConfig = {}): Promise => { - 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; @@ -215,7 +215,7 @@ export const BridgesApiAxiosParamCreator = function (configuration?: Configurati updateBridge: async (bridgeId: string, bridgeRequest?: BridgeRequest, options: AxiosRequestConfig = {}): Promise => { // 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); diff --git a/packages/smart-events-management-sdk/src/generated/api/cloud-providers-api.ts b/packages/smart-events-management-sdk/src/generated/api/cloud-providers-api.ts index 963e0852..0c39f0cd 100644 --- a/packages/smart-events-management-sdk/src/generated/api/cloud-providers-api.ts +++ b/packages/smart-events-management-sdk/src/generated/api/cloud-providers-api.ts @@ -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 @@ -42,7 +42,7 @@ export const CloudProvidersApiAxiosParamCreator = function (configuration?: Conf getCloudProvider: async (id: string, options: AxiosRequestConfig = {}): Promise => { // 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); @@ -78,7 +78,7 @@ export const CloudProvidersApiAxiosParamCreator = function (configuration?: Conf listCloudProviderRegions: async (id: string, page?: number, size?: number, options: AxiosRequestConfig = {}): Promise => { // 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); @@ -119,7 +119,7 @@ export const CloudProvidersApiAxiosParamCreator = function (configuration?: Conf * @throws {RequiredError} */ listCloudProviders: async (page?: number, size?: number, options: AxiosRequestConfig = {}): Promise => { - 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; diff --git a/packages/smart-events-management-sdk/src/generated/api/error-catalog-api.ts b/packages/smart-events-management-sdk/src/generated/api/error-catalog-api.ts index 6593ce5a..d8ed83b7 100644 --- a/packages/smart-events-management-sdk/src/generated/api/error-catalog-api.ts +++ b/packages/smart-events-management-sdk/src/generated/api/error-catalog-api.ts @@ -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 @@ -42,7 +42,7 @@ export const ErrorCatalogApiAxiosParamCreator = function (configuration?: Config getError: async (id: number, options: AxiosRequestConfig = {}): Promise => { // 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); @@ -75,7 +75,7 @@ export const ErrorCatalogApiAxiosParamCreator = function (configuration?: Config * @throws {RequiredError} */ getErrors: async (page?: number, size?: number, options: AxiosRequestConfig = {}): Promise => { - 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; diff --git a/packages/smart-events-management-sdk/src/generated/api/processors-api.ts b/packages/smart-events-management-sdk/src/generated/api/processors-api.ts index b7e6510e..08689d3b 100644 --- a/packages/smart-events-management-sdk/src/generated/api/processors-api.ts +++ b/packages/smart-events-management-sdk/src/generated/api/processors-api.ts @@ -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 @@ -30,8 +30,6 @@ import { ProcessorListResponse } from '../model'; import { ProcessorRequest } from '../model'; // @ts-ignore import { ProcessorResponse } from '../model'; -// @ts-ignore -import { ProcessorType } from '../model'; /** * ProcessorsApi - axios parameter creator * @export @@ -46,10 +44,10 @@ export const ProcessorsApiAxiosParamCreator = function (configuration?: Configur * @param {*} [options] Override http request option. * @throws {RequiredError} */ - addProcessorToBridge: async (bridgeId: string, processorRequest?: ProcessorRequest, options: AxiosRequestConfig = {}): Promise => { + createProcessor: async (bridgeId: string, processorRequest?: ProcessorRequest, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'bridgeId' is not null or undefined - assertParamExists('addProcessorToBridge', 'bridgeId', bridgeId) - const localVarPath = `/api/smartevents_mgmt/v1/bridges/{bridgeId}/processors` + assertParamExists('createProcessor', 'bridgeId', bridgeId) + const localVarPath = `/api/smartevents_mgmt/v2/bridges/{bridgeId}/processors` .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); @@ -93,7 +91,7 @@ export const ProcessorsApiAxiosParamCreator = function (configuration?: Configur assertParamExists('deleteProcessor', 'bridgeId', bridgeId) // verify required parameter 'processorId' is not null or undefined assertParamExists('deleteProcessor', 'processorId', processorId) - const localVarPath = `/api/smartevents_mgmt/v1/bridges/{bridgeId}/processors/{processorId}` + const localVarPath = `/api/smartevents_mgmt/v2/bridges/{bridgeId}/processors/{processorId}` .replace(`{${"bridgeId"}}`, encodeURIComponent(String(bridgeId))) .replace(`{${"processorId"}}`, encodeURIComponent(String(processorId))); // use dummy base URL string because the URL constructor only accepts absolute URLs. @@ -135,7 +133,7 @@ export const ProcessorsApiAxiosParamCreator = function (configuration?: Configur assertParamExists('getProcessor', 'bridgeId', bridgeId) // verify required parameter 'processorId' is not null or undefined assertParamExists('getProcessor', 'processorId', processorId) - const localVarPath = `/api/smartevents_mgmt/v1/bridges/{bridgeId}/processors/{processorId}` + const localVarPath = `/api/smartevents_mgmt/v2/bridges/{bridgeId}/processors/{processorId}` .replace(`{${"bridgeId"}}`, encodeURIComponent(String(bridgeId))) .replace(`{${"processorId"}}`, encodeURIComponent(String(processorId))); // use dummy base URL string because the URL constructor only accepts absolute URLs. @@ -172,14 +170,13 @@ export const ProcessorsApiAxiosParamCreator = function (configuration?: Configur * @param {number} [page] * @param {number} [size] * @param {Set} [status] - * @param {ProcessorType} [type] * @param {*} [options] Override http request option. * @throws {RequiredError} */ - listProcessors: async (bridgeId: string, name?: string, page?: number, size?: number, status?: Set, type?: ProcessorType, options: AxiosRequestConfig = {}): Promise => { + getProcessors: async (bridgeId: string, name?: string, page?: number, size?: number, status?: Set, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'bridgeId' is not null or undefined - assertParamExists('listProcessors', 'bridgeId', bridgeId) - const localVarPath = `/api/smartevents_mgmt/v1/bridges/{bridgeId}/processors` + assertParamExists('getProcessors', 'bridgeId', bridgeId) + const localVarPath = `/api/smartevents_mgmt/v2/bridges/{bridgeId}/processors` .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); @@ -212,10 +209,6 @@ export const ProcessorsApiAxiosParamCreator = function (configuration?: Configur localVarQueryParameter['status'] = Array.from(status); } - if (type !== undefined) { - localVarQueryParameter['type'] = type; - } - setSearchParams(localVarUrlObj, localVarQueryParameter); @@ -228,8 +221,8 @@ export const ProcessorsApiAxiosParamCreator = function (configuration?: Configur }; }, /** - * Update a Processor instance Filter definition or Transformation template for the authenticated user. - * @summary Update a Processor instance Filter definition or Transformation template. + * Update a Processor instance for the authenticated user. + * @summary Update a Processor instance. * @param {string} bridgeId * @param {string} processorId * @param {ProcessorRequest} [processorRequest] @@ -241,7 +234,7 @@ export const ProcessorsApiAxiosParamCreator = function (configuration?: Configur assertParamExists('updateProcessor', 'bridgeId', bridgeId) // verify required parameter 'processorId' is not null or undefined assertParamExists('updateProcessor', 'processorId', processorId) - const localVarPath = `/api/smartevents_mgmt/v1/bridges/{bridgeId}/processors/{processorId}` + const localVarPath = `/api/smartevents_mgmt/v2/bridges/{bridgeId}/processors/{processorId}` .replace(`{${"bridgeId"}}`, encodeURIComponent(String(bridgeId))) .replace(`{${"processorId"}}`, encodeURIComponent(String(processorId))); // use dummy base URL string because the URL constructor only accepts absolute URLs. @@ -291,8 +284,8 @@ export const ProcessorsApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async addProcessorToBridge(bridgeId: string, processorRequest?: ProcessorRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.addProcessorToBridge(bridgeId, processorRequest, options); + async createProcessor(bridgeId: string, processorRequest?: ProcessorRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.createProcessor(bridgeId, processorRequest, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -327,17 +320,16 @@ export const ProcessorsApiFp = function(configuration?: Configuration) { * @param {number} [page] * @param {number} [size] * @param {Set} [status] - * @param {ProcessorType} [type] * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async listProcessors(bridgeId: string, name?: string, page?: number, size?: number, status?: Set, type?: ProcessorType, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.listProcessors(bridgeId, name, page, size, status, type, options); + async getProcessors(bridgeId: string, name?: string, page?: number, size?: number, status?: Set, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getProcessors(bridgeId, name, page, size, status, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** - * Update a Processor instance Filter definition or Transformation template for the authenticated user. - * @summary Update a Processor instance Filter definition or Transformation template. + * Update a Processor instance for the authenticated user. + * @summary Update a Processor instance. * @param {string} bridgeId * @param {string} processorId * @param {ProcessorRequest} [processorRequest] @@ -366,8 +358,8 @@ export const ProcessorsApiFactory = function (configuration?: Configuration, bas * @param {*} [options] Override http request option. * @throws {RequiredError} */ - addProcessorToBridge(bridgeId: string, processorRequest?: ProcessorRequest, options?: any): AxiosPromise { - return localVarFp.addProcessorToBridge(bridgeId, processorRequest, options).then((request) => request(axios, basePath)); + createProcessor(bridgeId: string, processorRequest?: ProcessorRequest, options?: any): AxiosPromise { + return localVarFp.createProcessor(bridgeId, processorRequest, options).then((request) => request(axios, basePath)); }, /** * Delete a Processor of a Bridge instance for the authenticated user. @@ -399,16 +391,15 @@ export const ProcessorsApiFactory = function (configuration?: Configuration, bas * @param {number} [page] * @param {number} [size] * @param {Set} [status] - * @param {ProcessorType} [type] * @param {*} [options] Override http request option. * @throws {RequiredError} */ - listProcessors(bridgeId: string, name?: string, page?: number, size?: number, status?: Set, type?: ProcessorType, options?: any): AxiosPromise { - return localVarFp.listProcessors(bridgeId, name, page, size, status, type, options).then((request) => request(axios, basePath)); + getProcessors(bridgeId: string, name?: string, page?: number, size?: number, status?: Set, options?: any): AxiosPromise { + return localVarFp.getProcessors(bridgeId, name, page, size, status, options).then((request) => request(axios, basePath)); }, /** - * Update a Processor instance Filter definition or Transformation template for the authenticated user. - * @summary Update a Processor instance Filter definition or Transformation template. + * Update a Processor instance for the authenticated user. + * @summary Update a Processor instance. * @param {string} bridgeId * @param {string} processorId * @param {ProcessorRequest} [processorRequest] @@ -436,7 +427,7 @@ export interface ProcessorsApiInterface { * @throws {RequiredError} * @memberof ProcessorsApiInterface */ - addProcessorToBridge(bridgeId: string, processorRequest?: ProcessorRequest, options?: AxiosRequestConfig): AxiosPromise; + createProcessor(bridgeId: string, processorRequest?: ProcessorRequest, options?: AxiosRequestConfig): AxiosPromise; /** * Delete a Processor of a Bridge instance for the authenticated user. @@ -468,16 +459,15 @@ export interface ProcessorsApiInterface { * @param {number} [page] * @param {number} [size] * @param {Set} [status] - * @param {ProcessorType} [type] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ProcessorsApiInterface */ - listProcessors(bridgeId: string, name?: string, page?: number, size?: number, status?: Set, type?: ProcessorType, options?: AxiosRequestConfig): AxiosPromise; + getProcessors(bridgeId: string, name?: string, page?: number, size?: number, status?: Set, options?: AxiosRequestConfig): AxiosPromise; /** - * Update a Processor instance Filter definition or Transformation template for the authenticated user. - * @summary Update a Processor instance Filter definition or Transformation template. + * Update a Processor instance for the authenticated user. + * @summary Update a Processor instance. * @param {string} bridgeId * @param {string} processorId * @param {ProcessorRequest} [processorRequest] @@ -505,8 +495,8 @@ export class ProcessorsApi extends BaseAPI implements ProcessorsApiInterface { * @throws {RequiredError} * @memberof ProcessorsApi */ - public addProcessorToBridge(bridgeId: string, processorRequest?: ProcessorRequest, options?: AxiosRequestConfig) { - return ProcessorsApiFp(this.configuration).addProcessorToBridge(bridgeId, processorRequest, options).then((request) => request(this.axios, this.basePath)); + public createProcessor(bridgeId: string, processorRequest?: ProcessorRequest, options?: AxiosRequestConfig) { + return ProcessorsApiFp(this.configuration).createProcessor(bridgeId, processorRequest, options).then((request) => request(this.axios, this.basePath)); } /** @@ -543,18 +533,17 @@ export class ProcessorsApi extends BaseAPI implements ProcessorsApiInterface { * @param {number} [page] * @param {number} [size] * @param {Set} [status] - * @param {ProcessorType} [type] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ProcessorsApi */ - public listProcessors(bridgeId: string, name?: string, page?: number, size?: number, status?: Set, type?: ProcessorType, options?: AxiosRequestConfig) { - return ProcessorsApiFp(this.configuration).listProcessors(bridgeId, name, page, size, status, type, options).then((request) => request(this.axios, this.basePath)); + public getProcessors(bridgeId: string, name?: string, page?: number, size?: number, status?: Set, options?: AxiosRequestConfig) { + return ProcessorsApiFp(this.configuration).getProcessors(bridgeId, name, page, size, status, options).then((request) => request(this.axios, this.basePath)); } /** - * Update a Processor instance Filter definition or Transformation template for the authenticated user. - * @summary Update a Processor instance Filter definition or Transformation template. + * Update a Processor instance for the authenticated user. + * @summary Update a Processor instance. * @param {string} bridgeId * @param {string} processorId * @param {ProcessorRequest} [processorRequest] diff --git a/packages/smart-events-management-sdk/src/generated/api/schema-catalog-api.ts b/packages/smart-events-management-sdk/src/generated/api/schema-catalog-api.ts deleted file mode 100644 index 4de98866..00000000 --- a/packages/smart-events-management-sdk/src/generated/api/schema-catalog-api.ts +++ /dev/null @@ -1,305 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Red Hat Openshift SmartEvents Fleet Manager - * The API exposed by the fleet manager of the SmartEvents service. - * - * The version of the OpenAPI document: 0.0.1 - * Contact: openbridge-dev@redhat.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios'; -import { Configuration } from '../configuration'; -// Some imports not used depending on template conditions -// @ts-ignore -import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common'; -// @ts-ignore -import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base'; -// @ts-ignore -import { ErrorsList } from '../model'; -// @ts-ignore -import { ProcessorCatalogResponse } from '../model'; -/** - * SchemaCatalogApi - axios parameter creator - * @export - */ -export const SchemaCatalogApiAxiosParamCreator = function (configuration?: Configuration) { - return { - /** - * Get the action processor JSON schema. - * @summary Get action processor schema - * @param {string} id - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - getActionProcessorSchema: async (id: string, options: AxiosRequestConfig = {}): Promise => { - // verify required parameter 'id' is not null or undefined - assertParamExists('getActionProcessorSchema', 'id', id) - const localVarPath = `/api/smartevents_mgmt/v1/schemas/actions/{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); - let baseOptions; - if (configuration) { - baseOptions = configuration.baseOptions; - } - - const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; - const localVarHeaderParameter = {} as any; - const localVarQueryParameter = {} as any; - - // authentication bearer required - // http bearer authentication required - await setBearerAuthToObject(localVarHeaderParameter, configuration) - - - - setSearchParams(localVarUrlObj, localVarQueryParameter); - let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; - localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; - - return { - url: toPathString(localVarUrlObj), - options: localVarRequestOptions, - }; - }, - /** - * Get the processor catalog with all the available sources and actions. - * @summary Get processor catalog - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - getCatalog: async (options: AxiosRequestConfig = {}): Promise => { - const localVarPath = `/api/smartevents_mgmt/v1/schemas`; - // use dummy base URL string because the URL constructor only accepts absolute URLs. - const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); - let baseOptions; - if (configuration) { - baseOptions = configuration.baseOptions; - } - - const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; - const localVarHeaderParameter = {} as any; - const localVarQueryParameter = {} as any; - - // authentication bearer required - // http bearer authentication required - await setBearerAuthToObject(localVarHeaderParameter, configuration) - - - - setSearchParams(localVarUrlObj, localVarQueryParameter); - let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; - localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; - - return { - url: toPathString(localVarUrlObj), - options: localVarRequestOptions, - }; - }, - /** - * Get the source processor JSON schema. - * @summary Get source processor schema - * @param {string} id - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - getSourceProcessorSchema: async (id: string, options: AxiosRequestConfig = {}): Promise => { - // verify required parameter 'id' is not null or undefined - assertParamExists('getSourceProcessorSchema', 'id', id) - const localVarPath = `/api/smartevents_mgmt/v1/schemas/sources/{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); - let baseOptions; - if (configuration) { - baseOptions = configuration.baseOptions; - } - - const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; - const localVarHeaderParameter = {} as any; - const localVarQueryParameter = {} as any; - - // authentication bearer required - // http bearer authentication required - await setBearerAuthToObject(localVarHeaderParameter, configuration) - - - - setSearchParams(localVarUrlObj, localVarQueryParameter); - let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; - localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; - - return { - url: toPathString(localVarUrlObj), - options: localVarRequestOptions, - }; - }, - } -}; - -/** - * SchemaCatalogApi - functional programming interface - * @export - */ -export const SchemaCatalogApiFp = function(configuration?: Configuration) { - const localVarAxiosParamCreator = SchemaCatalogApiAxiosParamCreator(configuration) - return { - /** - * Get the action processor JSON schema. - * @summary Get action processor schema - * @param {string} id - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - async getActionProcessorSchema(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getActionProcessorSchema(id, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); - }, - /** - * Get the processor catalog with all the available sources and actions. - * @summary Get processor catalog - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - async getCatalog(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getCatalog(options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); - }, - /** - * Get the source processor JSON schema. - * @summary Get source processor schema - * @param {string} id - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - async getSourceProcessorSchema(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getSourceProcessorSchema(id, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); - }, - } -}; - -/** - * SchemaCatalogApi - factory interface - * @export - */ -export const SchemaCatalogApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { - const localVarFp = SchemaCatalogApiFp(configuration) - return { - /** - * Get the action processor JSON schema. - * @summary Get action processor schema - * @param {string} id - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - getActionProcessorSchema(id: string, options?: any): AxiosPromise { - return localVarFp.getActionProcessorSchema(id, options).then((request) => request(axios, basePath)); - }, - /** - * Get the processor catalog with all the available sources and actions. - * @summary Get processor catalog - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - getCatalog(options?: any): AxiosPromise { - return localVarFp.getCatalog(options).then((request) => request(axios, basePath)); - }, - /** - * Get the source processor JSON schema. - * @summary Get source processor schema - * @param {string} id - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - getSourceProcessorSchema(id: string, options?: any): AxiosPromise { - return localVarFp.getSourceProcessorSchema(id, options).then((request) => request(axios, basePath)); - }, - }; -}; - -/** - * SchemaCatalogApi - interface - * @export - * @interface SchemaCatalogApi - */ -export interface SchemaCatalogApiInterface { - /** - * Get the action processor JSON schema. - * @summary Get action processor schema - * @param {string} id - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof SchemaCatalogApiInterface - */ - getActionProcessorSchema(id: string, options?: AxiosRequestConfig): AxiosPromise; - - /** - * Get the processor catalog with all the available sources and actions. - * @summary Get processor catalog - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof SchemaCatalogApiInterface - */ - getCatalog(options?: AxiosRequestConfig): AxiosPromise; - - /** - * Get the source processor JSON schema. - * @summary Get source processor schema - * @param {string} id - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof SchemaCatalogApiInterface - */ - getSourceProcessorSchema(id: string, options?: AxiosRequestConfig): AxiosPromise; - -} - -/** - * SchemaCatalogApi - object-oriented interface - * @export - * @class SchemaCatalogApi - * @extends {BaseAPI} - */ -export class SchemaCatalogApi extends BaseAPI implements SchemaCatalogApiInterface { - /** - * Get the action processor JSON schema. - * @summary Get action processor schema - * @param {string} id - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof SchemaCatalogApi - */ - public getActionProcessorSchema(id: string, options?: AxiosRequestConfig) { - return SchemaCatalogApiFp(this.configuration).getActionProcessorSchema(id, options).then((request) => request(this.axios, this.basePath)); - } - - /** - * Get the processor catalog with all the available sources and actions. - * @summary Get processor catalog - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof SchemaCatalogApi - */ - public getCatalog(options?: AxiosRequestConfig) { - return SchemaCatalogApiFp(this.configuration).getCatalog(options).then((request) => request(this.axios, this.basePath)); - } - - /** - * Get the source processor JSON schema. - * @summary Get source processor schema - * @param {string} id - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof SchemaCatalogApi - */ - public getSourceProcessorSchema(id: string, options?: AxiosRequestConfig) { - return SchemaCatalogApiFp(this.configuration).getSourceProcessorSchema(id, options).then((request) => request(this.axios, this.basePath)); - } -} diff --git a/packages/smart-events-management-sdk/src/generated/base.ts b/packages/smart-events-management-sdk/src/generated/base.ts index de2f7f77..a4f46ec3 100644 --- a/packages/smart-events-management-sdk/src/generated/base.ts +++ b/packages/smart-events-management-sdk/src/generated/base.ts @@ -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 diff --git a/packages/smart-events-management-sdk/src/generated/common.ts b/packages/smart-events-management-sdk/src/generated/common.ts index 72f48875..a713e4d4 100644 --- a/packages/smart-events-management-sdk/src/generated/common.ts +++ b/packages/smart-events-management-sdk/src/generated/common.ts @@ -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 diff --git a/packages/smart-events-management-sdk/src/generated/configuration.ts b/packages/smart-events-management-sdk/src/generated/configuration.ts index f2791256..ca564c95 100644 --- a/packages/smart-events-management-sdk/src/generated/configuration.ts +++ b/packages/smart-events-management-sdk/src/generated/configuration.ts @@ -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 diff --git a/packages/smart-events-management-sdk/src/generated/index.ts b/packages/smart-events-management-sdk/src/generated/index.ts index f85cbfe6..cc4feab5 100644 --- a/packages/smart-events-management-sdk/src/generated/index.ts +++ b/packages/smart-events-management-sdk/src/generated/index.ts @@ -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 diff --git a/packages/smart-events-management-sdk/src/generated/model/action.ts b/packages/smart-events-management-sdk/src/generated/model/action.ts deleted file mode 100644 index 2c9ad273..00000000 --- a/packages/smart-events-management-sdk/src/generated/model/action.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Red Hat Openshift SmartEvents Fleet Manager - * The API exposed by the fleet manager of the SmartEvents service. - * - * The version of the OpenAPI document: 0.0.1 - * Contact: openbridge-dev@redhat.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface Action - */ -export interface Action { - /** - * - * @type {string} - * @memberof Action - */ - 'type': string; - /** - * - * @type {object} - * @memberof Action - */ - 'parameters': object; -} - diff --git a/packages/smart-events-management-sdk/src/generated/model/base-filter.ts b/packages/smart-events-management-sdk/src/generated/model/base-filter.ts deleted file mode 100644 index eb651510..00000000 --- a/packages/smart-events-management-sdk/src/generated/model/base-filter.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Red Hat Openshift SmartEvents Fleet Manager - * The API exposed by the fleet manager of the SmartEvents service. - * - * The version of the OpenAPI document: 0.0.1 - * Contact: openbridge-dev@redhat.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface BaseFilter - */ -export interface BaseFilter { - /** - * - * @type {string} - * @memberof BaseFilter - */ - 'type'?: string; - /** - * - * @type {string} - * @memberof BaseFilter - */ - 'key': string; -} - diff --git a/packages/smart-events-management-sdk/src/generated/model/bridge-error-instance.ts b/packages/smart-events-management-sdk/src/generated/model/bridge-error-instance.ts index 90d370bd..f8d2e694 100644 --- a/packages/smart-events-management-sdk/src/generated/model/bridge-error-instance.ts +++ b/packages/smart-events-management-sdk/src/generated/model/bridge-error-instance.ts @@ -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 diff --git a/packages/smart-events-management-sdk/src/generated/model/bridge-error-type.ts b/packages/smart-events-management-sdk/src/generated/model/bridge-error-type.ts index aacbd615..98486bdc 100644 --- a/packages/smart-events-management-sdk/src/generated/model/bridge-error-type.ts +++ b/packages/smart-events-management-sdk/src/generated/model/bridge-error-type.ts @@ -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 diff --git a/packages/smart-events-management-sdk/src/generated/model/bridge-error.ts b/packages/smart-events-management-sdk/src/generated/model/bridge-error.ts index 770c6b77..2db79427 100644 --- a/packages/smart-events-management-sdk/src/generated/model/bridge-error.ts +++ b/packages/smart-events-management-sdk/src/generated/model/bridge-error.ts @@ -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 diff --git a/packages/smart-events-management-sdk/src/generated/model/bridge-list-response.ts b/packages/smart-events-management-sdk/src/generated/model/bridge-list-response.ts index 49747256..35559218 100644 --- a/packages/smart-events-management-sdk/src/generated/model/bridge-list-response.ts +++ b/packages/smart-events-management-sdk/src/generated/model/bridge-list-response.ts @@ -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 diff --git a/packages/smart-events-management-sdk/src/generated/model/bridge-request.ts b/packages/smart-events-management-sdk/src/generated/model/bridge-request.ts index 1ad8b6fd..23888d9d 100644 --- a/packages/smart-events-management-sdk/src/generated/model/bridge-request.ts +++ b/packages/smart-events-management-sdk/src/generated/model/bridge-request.ts @@ -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 @@ -13,7 +13,6 @@ */ -import { Action } from './action'; /** * @@ -27,12 +26,6 @@ export interface BridgeRequest { * @memberof BridgeRequest */ 'name': string; - /** - * - * @type {Action} - * @memberof BridgeRequest - */ - 'error_handler'?: Action; /** * * @type {string} diff --git a/packages/smart-events-management-sdk/src/generated/model/bridge-response.ts b/packages/smart-events-management-sdk/src/generated/model/bridge-response.ts index fa444d30..e268446f 100644 --- a/packages/smart-events-management-sdk/src/generated/model/bridge-response.ts +++ b/packages/smart-events-management-sdk/src/generated/model/bridge-response.ts @@ -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 @@ -13,7 +13,6 @@ */ -import { Action } from './action'; import { ManagedResourceStatus } from './managed-resource-status'; /** @@ -82,12 +81,6 @@ export interface BridgeResponse { * @memberof BridgeResponse */ 'endpoint'?: string; - /** - * - * @type {Action} - * @memberof BridgeResponse - */ - 'error_handler'?: Action; /** * * @type {string} diff --git a/packages/smart-events-management-sdk/src/generated/model/cloud-provider-list-response.ts b/packages/smart-events-management-sdk/src/generated/model/cloud-provider-list-response.ts index bb6f072c..a2e124c9 100644 --- a/packages/smart-events-management-sdk/src/generated/model/cloud-provider-list-response.ts +++ b/packages/smart-events-management-sdk/src/generated/model/cloud-provider-list-response.ts @@ -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 diff --git a/packages/smart-events-management-sdk/src/generated/model/cloud-provider-response.ts b/packages/smart-events-management-sdk/src/generated/model/cloud-provider-response.ts index d28b18ee..7050b9a9 100644 --- a/packages/smart-events-management-sdk/src/generated/model/cloud-provider-response.ts +++ b/packages/smart-events-management-sdk/src/generated/model/cloud-provider-response.ts @@ -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 diff --git a/packages/smart-events-management-sdk/src/generated/model/cloud-region-list-response.ts b/packages/smart-events-management-sdk/src/generated/model/cloud-region-list-response.ts index 86cda0c2..671bb4df 100644 --- a/packages/smart-events-management-sdk/src/generated/model/cloud-region-list-response.ts +++ b/packages/smart-events-management-sdk/src/generated/model/cloud-region-list-response.ts @@ -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 diff --git a/packages/smart-events-management-sdk/src/generated/model/cloud-region-response.ts b/packages/smart-events-management-sdk/src/generated/model/cloud-region-response.ts index 0b06acb7..b85fc798 100644 --- a/packages/smart-events-management-sdk/src/generated/model/cloud-region-response.ts +++ b/packages/smart-events-management-sdk/src/generated/model/cloud-region-response.ts @@ -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 diff --git a/packages/smart-events-management-sdk/src/generated/model/error-list-response.ts b/packages/smart-events-management-sdk/src/generated/model/error-list-response.ts index c2f350bb..9a464052 100644 --- a/packages/smart-events-management-sdk/src/generated/model/error-list-response.ts +++ b/packages/smart-events-management-sdk/src/generated/model/error-list-response.ts @@ -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 diff --git a/packages/smart-events-management-sdk/src/generated/model/errors-list.ts b/packages/smart-events-management-sdk/src/generated/model/errors-list.ts index 5d6fb37b..bba73bb0 100644 --- a/packages/smart-events-management-sdk/src/generated/model/errors-list.ts +++ b/packages/smart-events-management-sdk/src/generated/model/errors-list.ts @@ -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 diff --git a/packages/smart-events-management-sdk/src/generated/model/index.ts b/packages/smart-events-management-sdk/src/generated/model/index.ts index 9bf6c989..9b25386a 100644 --- a/packages/smart-events-management-sdk/src/generated/model/index.ts +++ b/packages/smart-events-management-sdk/src/generated/model/index.ts @@ -1,5 +1,3 @@ -export * from './action'; -export * from './base-filter'; export * from './bridge-error'; export * from './bridge-error-instance'; export * from './bridge-error-type'; @@ -20,10 +18,6 @@ export * from './model-error'; export * from './object-reference'; export * from './processing-error-list-response'; export * from './processing-error-response'; -export * from './processor-catalog-response'; export * from './processor-list-response'; export * from './processor-request'; export * from './processor-response'; -export * from './processor-schema-entry-response'; -export * from './processor-type'; -export * from './source'; diff --git a/packages/smart-events-management-sdk/src/generated/model/list-all-of.ts b/packages/smart-events-management-sdk/src/generated/model/list-all-of.ts index cb4a5a0c..782f9c91 100644 --- a/packages/smart-events-management-sdk/src/generated/model/list-all-of.ts +++ b/packages/smart-events-management-sdk/src/generated/model/list-all-of.ts @@ -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 diff --git a/packages/smart-events-management-sdk/src/generated/model/list-response.ts b/packages/smart-events-management-sdk/src/generated/model/list-response.ts index 54ea2f18..189a6ff6 100644 --- a/packages/smart-events-management-sdk/src/generated/model/list-response.ts +++ b/packages/smart-events-management-sdk/src/generated/model/list-response.ts @@ -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 diff --git a/packages/smart-events-management-sdk/src/generated/model/list.ts b/packages/smart-events-management-sdk/src/generated/model/list.ts index 79614982..c487c22a 100644 --- a/packages/smart-events-management-sdk/src/generated/model/list.ts +++ b/packages/smart-events-management-sdk/src/generated/model/list.ts @@ -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 diff --git a/packages/smart-events-management-sdk/src/generated/model/managed-resource-status.ts b/packages/smart-events-management-sdk/src/generated/model/managed-resource-status.ts index 0233afed..382f5948 100644 --- a/packages/smart-events-management-sdk/src/generated/model/managed-resource-status.ts +++ b/packages/smart-events-management-sdk/src/generated/model/managed-resource-status.ts @@ -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 diff --git a/packages/smart-events-management-sdk/src/generated/model/model-error.ts b/packages/smart-events-management-sdk/src/generated/model/model-error.ts index bf529178..bd526893 100644 --- a/packages/smart-events-management-sdk/src/generated/model/model-error.ts +++ b/packages/smart-events-management-sdk/src/generated/model/model-error.ts @@ -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 diff --git a/packages/smart-events-management-sdk/src/generated/model/object-reference.ts b/packages/smart-events-management-sdk/src/generated/model/object-reference.ts index e06d448d..ae5a8135 100644 --- a/packages/smart-events-management-sdk/src/generated/model/object-reference.ts +++ b/packages/smart-events-management-sdk/src/generated/model/object-reference.ts @@ -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 diff --git a/packages/smart-events-management-sdk/src/generated/model/processing-error-list-response.ts b/packages/smart-events-management-sdk/src/generated/model/processing-error-list-response.ts index 513ed04d..ca2bb23f 100644 --- a/packages/smart-events-management-sdk/src/generated/model/processing-error-list-response.ts +++ b/packages/smart-events-management-sdk/src/generated/model/processing-error-list-response.ts @@ -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 diff --git a/packages/smart-events-management-sdk/src/generated/model/processing-error-response.ts b/packages/smart-events-management-sdk/src/generated/model/processing-error-response.ts index 56589c18..2d37f9ed 100644 --- a/packages/smart-events-management-sdk/src/generated/model/processing-error-response.ts +++ b/packages/smart-events-management-sdk/src/generated/model/processing-error-response.ts @@ -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 diff --git a/packages/smart-events-management-sdk/src/generated/model/processor-catalog-response.ts b/packages/smart-events-management-sdk/src/generated/model/processor-catalog-response.ts deleted file mode 100644 index 45d6b491..00000000 --- a/packages/smart-events-management-sdk/src/generated/model/processor-catalog-response.ts +++ /dev/null @@ -1,37 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Red Hat Openshift SmartEvents Fleet Manager - * The API exposed by the fleet manager of the SmartEvents service. - * - * The version of the OpenAPI document: 0.0.1 - * Contact: openbridge-dev@redhat.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -import { ProcessorSchemaEntryResponse } from './processor-schema-entry-response'; - -/** - * - * @export - * @interface ProcessorCatalogResponse - */ -export interface ProcessorCatalogResponse { - /** - * - * @type {string} - * @memberof ProcessorCatalogResponse - */ - 'kind': string; - /** - * - * @type {Array} - * @memberof ProcessorCatalogResponse - */ - 'items'?: Array; -} - diff --git a/packages/smart-events-management-sdk/src/generated/model/processor-list-response.ts b/packages/smart-events-management-sdk/src/generated/model/processor-list-response.ts index 6ba5c2d9..6a5dc4d3 100644 --- a/packages/smart-events-management-sdk/src/generated/model/processor-list-response.ts +++ b/packages/smart-events-management-sdk/src/generated/model/processor-list-response.ts @@ -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 diff --git a/packages/smart-events-management-sdk/src/generated/model/processor-request.ts b/packages/smart-events-management-sdk/src/generated/model/processor-request.ts index d22ebce0..df8a59c7 100644 --- a/packages/smart-events-management-sdk/src/generated/model/processor-request.ts +++ b/packages/smart-events-management-sdk/src/generated/model/processor-request.ts @@ -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 @@ -13,9 +13,6 @@ */ -import { Action } from './action'; -import { BaseFilter } from './base-filter'; -import { Source } from './source'; /** * @@ -31,27 +28,9 @@ export interface ProcessorRequest { 'name': string; /** * - * @type {Set} + * @type {object} * @memberof ProcessorRequest */ - 'filters'?: Set; - /** - * - * @type {string} - * @memberof ProcessorRequest - */ - 'transformationTemplate'?: string; - /** - * - * @type {Action} - * @memberof ProcessorRequest - */ - 'action'?: Action; - /** - * - * @type {Source} - * @memberof ProcessorRequest - */ - 'source'?: Source; + 'flows': object; } diff --git a/packages/smart-events-management-sdk/src/generated/model/processor-response.ts b/packages/smart-events-management-sdk/src/generated/model/processor-response.ts index e51fef9b..9002b162 100644 --- a/packages/smart-events-management-sdk/src/generated/model/processor-response.ts +++ b/packages/smart-events-management-sdk/src/generated/model/processor-response.ts @@ -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 @@ -13,11 +13,7 @@ */ -import { Action } from './action'; -import { BaseFilter } from './base-filter'; import { ManagedResourceStatus } from './managed-resource-status'; -import { ProcessorType } from './processor-type'; -import { Source } from './source'; /** * @@ -37,12 +33,6 @@ export interface ProcessorResponse { * @memberof ProcessorResponse */ 'id': string; - /** - * - * @type {string} - * @memberof ProcessorResponse - */ - 'name'?: string; /** * * @type {string} @@ -79,41 +69,17 @@ export interface ProcessorResponse { * @memberof ProcessorResponse */ 'owner': string; - /** - * - * @type {ProcessorType} - * @memberof ProcessorResponse - */ - 'type': ProcessorType; - /** - * - * @type {Set} - * @memberof ProcessorResponse - */ - 'filters'?: Set; /** * * @type {string} * @memberof ProcessorResponse */ - 'transformationTemplate'?: string; - /** - * - * @type {Action} - * @memberof ProcessorResponse - */ - 'action'?: Action; + 'name': string; /** * - * @type {Source} - * @memberof ProcessorResponse - */ - 'source'?: Source; - /** - * - * @type {string} + * @type {object} * @memberof ProcessorResponse */ - 'status_message'?: string; + 'flows': object; } diff --git a/packages/smart-events-management-sdk/src/generated/model/processor-schema-entry-response.ts b/packages/smart-events-management-sdk/src/generated/model/processor-schema-entry-response.ts deleted file mode 100644 index c5f2374b..00000000 --- a/packages/smart-events-management-sdk/src/generated/model/processor-schema-entry-response.ts +++ /dev/null @@ -1,60 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Red Hat Openshift SmartEvents Fleet Manager - * The API exposed by the fleet manager of the SmartEvents service. - * - * The version of the OpenAPI document: 0.0.1 - * Contact: openbridge-dev@redhat.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface ProcessorSchemaEntryResponse - */ -export interface ProcessorSchemaEntryResponse { - /** - * - * @type {string} - * @memberof ProcessorSchemaEntryResponse - */ - 'kind': string; - /** - * - * @type {string} - * @memberof ProcessorSchemaEntryResponse - */ - 'id': string; - /** - * - * @type {string} - * @memberof ProcessorSchemaEntryResponse - */ - 'name': string; - /** - * - * @type {string} - * @memberof ProcessorSchemaEntryResponse - */ - 'description': string; - /** - * - * @type {string} - * @memberof ProcessorSchemaEntryResponse - */ - 'type': string; - /** - * - * @type {string} - * @memberof ProcessorSchemaEntryResponse - */ - 'href': string; -} - diff --git a/packages/smart-events-management-sdk/src/generated/model/processor-type.ts b/packages/smart-events-management-sdk/src/generated/model/processor-type.ts deleted file mode 100644 index ffa2c347..00000000 --- a/packages/smart-events-management-sdk/src/generated/model/processor-type.ts +++ /dev/null @@ -1,32 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Red Hat Openshift SmartEvents Fleet Manager - * The API exposed by the fleet manager of the SmartEvents service. - * - * The version of the OpenAPI document: 0.0.1 - * Contact: openbridge-dev@redhat.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @enum {string} - */ - -export const ProcessorType = { - Source: 'source', - Sink: 'sink', - ErrorHandler: 'error_handler' -} as const; - -export type ProcessorType = typeof ProcessorType[keyof typeof ProcessorType]; - - - diff --git a/packages/smart-events-management-sdk/src/generated/model/source.ts b/packages/smart-events-management-sdk/src/generated/model/source.ts deleted file mode 100644 index b052521d..00000000 --- a/packages/smart-events-management-sdk/src/generated/model/source.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Red Hat Openshift SmartEvents Fleet Manager - * The API exposed by the fleet manager of the SmartEvents service. - * - * The version of the OpenAPI document: 0.0.1 - * Contact: openbridge-dev@redhat.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface Source - */ -export interface Source { - /** - * - * @type {string} - * @memberof Source - */ - 'type': string; - /** - * - * @type {object} - * @memberof Source - */ - 'parameters': object; -} -