Files
npm-core-sdk/kpi.client.ts
2025-11-18 13:55:13 +00:00

129 lines
6.3 KiB
TypeScript

// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix
// @generated from protobuf file "kpi.proto" (package "api", syntax proto3)
// tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import { KpiService } from "./kpi";
import type { PopulateMVResult } from "./kpi";
import type { PopulateMVRequest } from "./kpi";
import type { DropMVResult } from "./kpi";
import type { DropMVRequest } from "./kpi";
import type { CreateMVResult } from "./kpi";
import type { CreateMVRequest } from "./kpi";
import type { ClearKpiEntityResult } from "./kpi";
import type { ClearKpiEntityRequest } from "./kpi";
import type { GetKpiEntitiesResult } from "./kpi";
import type { GetKpiEntitiesRequest } from "./kpi";
import type { UpdateKpiTableStructureResult } from "./kpi";
import type { UpdateKpiTableStructureRequest } from "./kpi";
import type { GetKpiTableStructureResult } from "./kpi";
import type { GetKpiTableStructureRequest } from "./kpi";
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
import type { GetKpisResult } from "./kpi";
import type { GetKpisRequest } from "./kpi";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
* @generated from protobuf service api.KpiService
*/
export interface IKpiServiceClient {
/**
* @generated from protobuf rpc: GetKpis
*/
getKpis(input: GetKpisRequest, options?: RpcOptions): UnaryCall<GetKpisRequest, GetKpisResult>;
/**
* @generated from protobuf rpc: GetKpiTableStructure
*/
getKpiTableStructure(input: GetKpiTableStructureRequest, options?: RpcOptions): UnaryCall<GetKpiTableStructureRequest, GetKpiTableStructureResult>;
/**
* @generated from protobuf rpc: UpdateKpiTableStructure
*/
updateKpiTableStructure(input: UpdateKpiTableStructureRequest, options?: RpcOptions): UnaryCall<UpdateKpiTableStructureRequest, UpdateKpiTableStructureResult>;
/**
* @generated from protobuf rpc: GetKpiEntities
*/
getKpiEntities(input: GetKpiEntitiesRequest, options?: RpcOptions): UnaryCall<GetKpiEntitiesRequest, GetKpiEntitiesResult>;
/**
* @generated from protobuf rpc: ClearKpiEntity
*/
clearKpiEntity(input: ClearKpiEntityRequest, options?: RpcOptions): UnaryCall<ClearKpiEntityRequest, ClearKpiEntityResult>;
/**
* @generated from protobuf rpc: CreateMV
*/
createMV(input: CreateMVRequest, options?: RpcOptions): UnaryCall<CreateMVRequest, CreateMVResult>;
/**
* @generated from protobuf rpc: DropMV
*/
dropMV(input: DropMVRequest, options?: RpcOptions): UnaryCall<DropMVRequest, DropMVResult>;
/**
* @generated from protobuf rpc: PopulateMV
*/
populateMV(input: PopulateMVRequest, options?: RpcOptions): UnaryCall<PopulateMVRequest, PopulateMVResult>;
}
/**
* @generated from protobuf service api.KpiService
*/
export class KpiServiceClient implements IKpiServiceClient, ServiceInfo {
typeName = KpiService.typeName;
methods = KpiService.methods;
options = KpiService.options;
constructor(private readonly _transport: RpcTransport) {
}
/**
* @generated from protobuf rpc: GetKpis
*/
getKpis(input: GetKpisRequest, options?: RpcOptions): UnaryCall<GetKpisRequest, GetKpisResult> {
const method = this.methods[0], opt = this._transport.mergeOptions(options);
return stackIntercept<GetKpisRequest, GetKpisResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: GetKpiTableStructure
*/
getKpiTableStructure(input: GetKpiTableStructureRequest, options?: RpcOptions): UnaryCall<GetKpiTableStructureRequest, GetKpiTableStructureResult> {
const method = this.methods[1], opt = this._transport.mergeOptions(options);
return stackIntercept<GetKpiTableStructureRequest, GetKpiTableStructureResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: UpdateKpiTableStructure
*/
updateKpiTableStructure(input: UpdateKpiTableStructureRequest, options?: RpcOptions): UnaryCall<UpdateKpiTableStructureRequest, UpdateKpiTableStructureResult> {
const method = this.methods[2], opt = this._transport.mergeOptions(options);
return stackIntercept<UpdateKpiTableStructureRequest, UpdateKpiTableStructureResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: GetKpiEntities
*/
getKpiEntities(input: GetKpiEntitiesRequest, options?: RpcOptions): UnaryCall<GetKpiEntitiesRequest, GetKpiEntitiesResult> {
const method = this.methods[3], opt = this._transport.mergeOptions(options);
return stackIntercept<GetKpiEntitiesRequest, GetKpiEntitiesResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ClearKpiEntity
*/
clearKpiEntity(input: ClearKpiEntityRequest, options?: RpcOptions): UnaryCall<ClearKpiEntityRequest, ClearKpiEntityResult> {
const method = this.methods[4], opt = this._transport.mergeOptions(options);
return stackIntercept<ClearKpiEntityRequest, ClearKpiEntityResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: CreateMV
*/
createMV(input: CreateMVRequest, options?: RpcOptions): UnaryCall<CreateMVRequest, CreateMVResult> {
const method = this.methods[5], opt = this._transport.mergeOptions(options);
return stackIntercept<CreateMVRequest, CreateMVResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: DropMV
*/
dropMV(input: DropMVRequest, options?: RpcOptions): UnaryCall<DropMVRequest, DropMVResult> {
const method = this.methods[6], opt = this._transport.mergeOptions(options);
return stackIntercept<DropMVRequest, DropMVResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: PopulateMV
*/
populateMV(input: PopulateMVRequest, options?: RpcOptions): UnaryCall<PopulateMVRequest, PopulateMVResult> {
const method = this.methods[7], opt = this._transport.mergeOptions(options);
return stackIntercept<PopulateMVRequest, PopulateMVResult>("unary", this._transport, method, opt, input);
}
}