From 4c0fad829b6647bda218a3d6969340452012a3a5 Mon Sep 17 00:00:00 2001 From: Lance Gliser Date: Wed, 18 Sep 2024 09:56:37 -0500 Subject: [PATCH] Removed now unused types/apis --- src/client/wasm/client.ts | 11 +-- src/types/apis/TraineeOperationsApi.ts | 115 ------------------------- src/types/apis/index.ts | 1 - src/types/index.ts | 1 - 4 files changed, 4 insertions(+), 124 deletions(-) delete mode 100644 src/types/apis/TraineeOperationsApi.ts delete mode 100644 src/types/apis/index.ts diff --git a/src/client/wasm/client.ts b/src/client/wasm/client.ts index 8ef8e2a..6ef37db 100644 --- a/src/client/wasm/client.ts +++ b/src/client/wasm/client.ts @@ -9,6 +9,7 @@ import { v4 as uuid } from "uuid"; import { AnalyzeRequest, AnalyzeRequestToJSON, + AutoAblationParams, CaseCountResponse, Cases, CasesRequest, @@ -45,7 +46,6 @@ import { Session, SessionIdentity, SessionToJSON, - SetAutoAblationParamsRequest, SetAutoAnalyzeParamsRequest, SetAutoAnalyzeParamsRequestToJSON, Trainee, @@ -650,12 +650,9 @@ export class WasmClient extends BaseClient implements ITraineeClient, ISessionCl /** * Set the parameters use by auto analyze. * @param traineeId The trainee identifier. - * @param request The analysis parameters. + * @param params The analysis parameters. */ - public async setAutoAblationParams( - traineeId: string, - request: Omit, - ): Promise { + public async setAutoAblationParams(traineeId: string, params: AutoAblationParams): Promise { await this.autoResolveTrainee(traineeId); await this.execute( @@ -663,7 +660,7 @@ export class WasmClient extends BaseClient implements ITraineeClient, ISessionCl "set_auto_ablation_params", JSON.stringify({ trainee_id: traineeId, - ...request, + ...params, }), ); await this.autoPersistTrainee(traineeId); diff --git a/src/types/apis/TraineeOperationsApi.ts b/src/types/apis/TraineeOperationsApi.ts deleted file mode 100644 index 636c7cc..0000000 --- a/src/types/apis/TraineeOperationsApi.ts +++ /dev/null @@ -1,115 +0,0 @@ -/** - * Howso API - * OpenAPI implementation for interacting with the Howso API. - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -import type { - AnalyzeRequest, - AppendToSeriesStoreRequest, - AutoAblationParams, - EvaluateRequest, - ImputeRequest, - ReactAggregateRequest, - ReactGroupRequest, - ReactIntoFeaturesRequest, - ReactRequest, - ReactSeriesRequest, - ReduceDataParams, - RemoveSeriesStoreRequest, - SetAutoAnalyzeParamsRequest, - TrainRequest, - TraineeWorkflowAttributes, - TraineeWorkflowAttributesRequest, -} from "../models"; - -export interface AnalyzeOperationRequest { - trainee_id: string; - AnalyzeRequest: AnalyzeRequest; -} - -export interface AppendToSeriesStoreOperationRequest { - trainee_id: string; - AppendToSeriesStoreRequest: AppendToSeriesStoreRequest; -} - -export interface AutoAnalyzeRequest { - trainee_id: string; -} - -export interface EvaluateOperationRequest { - trainee_id: string; - EvaluateRequest: EvaluateRequest; -} - -export interface GetAutoAblationParamsRequest { - trainee_id: string; -} - -export interface GetWorkflowAttributesRequest { - trainee_id: string; - TraineeWorkflowAttributesRequest: TraineeWorkflowAttributesRequest; -} - -export interface ImputeOperationRequest { - trainee_id: string; - ImputeRequest?: ImputeRequest; -} - -export interface ReactOperationRequest { - trainee_id: string; - ReactRequest: ReactRequest; -} - -export interface ReactAggregateOperationRequest { - trainee_id: string; - ReactAggregateRequest: ReactAggregateRequest; -} - -export interface ReactGroupOperationRequest { - trainee_id: string; - ReactGroupRequest: ReactGroupRequest; -} - -export interface ReactIntoFeaturesOperationRequest { - trainee_id: string; - ReactIntoFeaturesRequest: ReactIntoFeaturesRequest; -} - -export interface ReactSeriesOperationRequest { - trainee_id: string; - ReactSeriesRequest: ReactSeriesRequest; -} - -export interface ReduceDataRequest { - trainee_id: string; - ReduceDataParams: ReduceDataParams; -} - -export interface RemoveSeriesStoreOperationRequest { - trainee_id: string; - RemoveSeriesStoreRequest: RemoveSeriesStoreRequest; -} - -export interface SetAutoAblationParamsRequest { - trainee_id: string; - AutoAblationParams: AutoAblationParams; -} - -export interface SetAutoAnalyzeParamsOperationRequest { - trainee_id: string; - SetAutoAnalyzeParamsRequest: SetAutoAnalyzeParamsRequest; -} - -export interface SetWorkflowAttributesRequest { - trainee_id: string; - TraineeWorkflowAttributes: TraineeWorkflowAttributes; -} - -export interface TrainOperationRequest { - trainee_id: string; - TrainRequest?: TrainRequest; -} diff --git a/src/types/apis/index.ts b/src/types/apis/index.ts deleted file mode 100644 index 5808edb..0000000 --- a/src/types/apis/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./TraineeOperationsApi"; diff --git a/src/types/index.ts b/src/types/index.ts index 27f1183..609c2bb 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -1,2 +1 @@ -export * from "./apis"; export * from "./models";