You've already forked npm-core-sdk
77 lines
3.7 KiB
TypeScript
77 lines
3.7 KiB
TypeScript
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix
|
|
// @generated from protobuf file "executionflowQuery.proto" (package "api", syntax proto3)
|
|
// tslint:disable
|
|
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
import { ExecutionflowQuery } from "./executionflowQuery";
|
|
import type { ExecutionflowByFilterResult } from "./executionflowQuery";
|
|
import type { ExecutionflowByFilterQuery } from "./executionflowQuery";
|
|
import type { CountLinesResult } from "./shared";
|
|
import type { CountLinesQuery } from "./shared";
|
|
import type { GetKPIDataResult } from "./clickhouse";
|
|
import type { GetKPIDataQuery } from "./clickhouse";
|
|
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
import type { ExecutionflowByIdResult } from "./executionflowQuery";
|
|
import type { ExecutionflowByIdQuery } from "./executionflowQuery";
|
|
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
/**
|
|
* @generated from protobuf service api.ExecutionflowQuery
|
|
*/
|
|
export interface IExecutionflowQueryClient {
|
|
/**
|
|
* @generated from protobuf rpc: GetByIds
|
|
*/
|
|
getByIds(input: ExecutionflowByIdQuery, options?: RpcOptions): UnaryCall<ExecutionflowByIdQuery, ExecutionflowByIdResult>;
|
|
/**
|
|
* @generated from protobuf rpc: GetKPIData
|
|
*/
|
|
getKPIData(input: GetKPIDataQuery, options?: RpcOptions): UnaryCall<GetKPIDataQuery, GetKPIDataResult>;
|
|
/**
|
|
* @generated from protobuf rpc: CountLines
|
|
*/
|
|
countLines(input: CountLinesQuery, options?: RpcOptions): UnaryCall<CountLinesQuery, CountLinesResult>;
|
|
/**
|
|
* @generated from protobuf rpc: Find
|
|
*/
|
|
find(input: ExecutionflowByFilterQuery, options?: RpcOptions): UnaryCall<ExecutionflowByFilterQuery, ExecutionflowByFilterResult>;
|
|
}
|
|
/**
|
|
* @generated from protobuf service api.ExecutionflowQuery
|
|
*/
|
|
export class ExecutionflowQueryClient implements IExecutionflowQueryClient, ServiceInfo {
|
|
typeName = ExecutionflowQuery.typeName;
|
|
methods = ExecutionflowQuery.methods;
|
|
options = ExecutionflowQuery.options;
|
|
constructor(private readonly _transport: RpcTransport) {
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: GetByIds
|
|
*/
|
|
getByIds(input: ExecutionflowByIdQuery, options?: RpcOptions): UnaryCall<ExecutionflowByIdQuery, ExecutionflowByIdResult> {
|
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ExecutionflowByIdQuery, ExecutionflowByIdResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: GetKPIData
|
|
*/
|
|
getKPIData(input: GetKPIDataQuery, options?: RpcOptions): UnaryCall<GetKPIDataQuery, GetKPIDataResult> {
|
|
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<GetKPIDataQuery, GetKPIDataResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: CountLines
|
|
*/
|
|
countLines(input: CountLinesQuery, options?: RpcOptions): UnaryCall<CountLinesQuery, CountLinesResult> {
|
|
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<CountLinesQuery, CountLinesResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: Find
|
|
*/
|
|
find(input: ExecutionflowByFilterQuery, options?: RpcOptions): UnaryCall<ExecutionflowByFilterQuery, ExecutionflowByFilterResult> {
|
|
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ExecutionflowByFilterQuery, ExecutionflowByFilterResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
}
|