You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -18,6 +18,10 @@ import type { UpdateKpiTableStructureResult } from "./kpi";
|
||||
import type { UpdateKpiTableStructureRequest } from "./kpi";
|
||||
import type { GetKpiTableStructureResult } from "./kpi";
|
||||
import type { GetKpiTableStructureRequest } from "./kpi";
|
||||
import type { GetSiteKpisResult } from "./kpi";
|
||||
import type { GetSiteKpisRequest } from "./kpi";
|
||||
import type { GetProjectKpisResult } from "./kpi";
|
||||
import type { GetProjectKpisRequest } from "./kpi";
|
||||
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
||||
import type { GetKpisResult } from "./kpi";
|
||||
import type { GetKpisRequest } from "./kpi";
|
||||
@@ -28,9 +32,18 @@ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
||||
*/
|
||||
export interface IKpiServiceClient {
|
||||
/**
|
||||
* @deprecated
|
||||
* @generated from protobuf rpc: GetKpis
|
||||
*/
|
||||
getKpis(input: GetKpisRequest, options?: RpcOptions): UnaryCall<GetKpisRequest, GetKpisResult>;
|
||||
/**
|
||||
* @generated from protobuf rpc: GetProjectKpis
|
||||
*/
|
||||
getProjectKpis(input: GetProjectKpisRequest, options?: RpcOptions): UnaryCall<GetProjectKpisRequest, GetProjectKpisResult>;
|
||||
/**
|
||||
* @generated from protobuf rpc: GetSiteKpis
|
||||
*/
|
||||
getSiteKpis(input: GetSiteKpisRequest, options?: RpcOptions): UnaryCall<GetSiteKpisRequest, GetSiteKpisResult>;
|
||||
/**
|
||||
* @generated from protobuf rpc: GetKpiTableStructure
|
||||
*/
|
||||
@@ -70,59 +83,74 @@ export class KpiServiceClient implements IKpiServiceClient, ServiceInfo {
|
||||
constructor(private readonly _transport: RpcTransport) {
|
||||
}
|
||||
/**
|
||||
* @deprecated
|
||||
* @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: GetProjectKpis
|
||||
*/
|
||||
getProjectKpis(input: GetProjectKpisRequest, options?: RpcOptions): UnaryCall<GetProjectKpisRequest, GetProjectKpisResult> {
|
||||
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<GetProjectKpisRequest, GetProjectKpisResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: GetSiteKpis
|
||||
*/
|
||||
getSiteKpis(input: GetSiteKpisRequest, options?: RpcOptions): UnaryCall<GetSiteKpisRequest, GetSiteKpisResult> {
|
||||
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<GetSiteKpisRequest, GetSiteKpisResult>("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);
|
||||
const method = this.methods[3], 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);
|
||||
const method = this.methods[4], 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);
|
||||
const method = this.methods[5], 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);
|
||||
const method = this.methods[6], 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);
|
||||
const method = this.methods[7], 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);
|
||||
const method = this.methods[8], 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);
|
||||
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<PopulateMVRequest, PopulateMVResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user