Files
npm-core-sdk/executionflowQuery.client.ts
2025-03-18 15:41:49 +00:00

77 lines
4.2 KiB
TypeScript

// @generated by protobuf-ts 2.9.5
// @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(api.ExecutionflowByIdQuery) returns (api.ExecutionflowByIdResult);
*/
getByIds(input: ExecutionflowByIdQuery, options?: RpcOptions): UnaryCall<ExecutionflowByIdQuery, ExecutionflowByIdResult>;
/**
* @generated from protobuf rpc: GetKPIData(api.GetKPIDataQuery) returns (api.GetKPIDataResult);
*/
getKPIData(input: GetKPIDataQuery, options?: RpcOptions): UnaryCall<GetKPIDataQuery, GetKPIDataResult>;
/**
* @generated from protobuf rpc: CountLines(api.CountLinesQuery) returns (api.CountLinesResult);
*/
countLines(input: CountLinesQuery, options?: RpcOptions): UnaryCall<CountLinesQuery, CountLinesResult>;
/**
* @generated from protobuf rpc: Find(api.ExecutionflowByFilterQuery) returns (api.ExecutionflowByFilterResult);
*/
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(api.ExecutionflowByIdQuery) returns (api.ExecutionflowByIdResult);
*/
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(api.GetKPIDataQuery) returns (api.GetKPIDataResult);
*/
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(api.CountLinesQuery) returns (api.CountLinesResult);
*/
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(api.ExecutionflowByFilterQuery) returns (api.ExecutionflowByFilterResult);
*/
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);
}
}