// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix // @generated from protobuf file "itemQuery.proto" (package "api", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { ItemQuery } from "./itemQuery"; import type { GetLVDetailedQuantityResult } from "./itemQuery"; import type { GetLVDetailedQuantityQuery } from "./itemQuery"; import type { CountLinesResult } from "./shared"; import type { CountLinesQuery } from "./shared"; import type { ExtractResult } from "./shared"; import type { ExtractQuery } from "./shared"; import type { ElementByMatchResult } from "./shared"; import type { ElementByMatchQuery } from "./shared"; import type { ItemByMatchResult } from "./itemQuery"; import type { ItemByMatchQuery } from "./itemQuery"; import type { ItemByFilterResult } from "./itemQuery"; import type { ItemByFilterQuery } from "./itemQuery"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { ItemByIdResult } from "./itemQuery"; import type { ItemByIdQuery } from "./itemQuery"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * @generated from protobuf service api.ItemQuery */ export interface IItemQueryClient { /** * @generated from protobuf rpc: GetByIds */ getByIds(input: ItemByIdQuery, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Find */ find(input: ItemByFilterQuery, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: FindMatchingFieldValues */ findMatchingFieldValues(input: ItemByMatchQuery, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: FindMatchingFieldElements */ findMatchingFieldElements(input: ElementByMatchQuery, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Extract */ extract(input: ExtractQuery, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: CountLines */ countLines(input: CountLinesQuery, options?: RpcOptions): UnaryCall; // // rpc GetKPIData (GetKPIDataQuery) returns (GetKPIDataResult) { // option (tags) = "PROJECT_ACTIVITY"; // option (rscType) = "Project"; // option (roles) = ""; // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { // description: "Get Item KPI data" // summary: "" // tags: "Item Query" // }; // option (google.api.method_visibility).restriction = "PUBLIC"; // }; /** * @generated from protobuf rpc: GetLVDetailedQuantity */ getLVDetailedQuantity(input: GetLVDetailedQuantityQuery, options?: RpcOptions): UnaryCall; } /** * @generated from protobuf service api.ItemQuery */ export class ItemQueryClient implements IItemQueryClient, ServiceInfo { typeName = ItemQuery.typeName; methods = ItemQuery.methods; options = ItemQuery.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: GetByIds */ getByIds(input: ItemByIdQuery, options?: RpcOptions): UnaryCall { const method = this.methods[0], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: Find */ find(input: ItemByFilterQuery, options?: RpcOptions): UnaryCall { const method = this.methods[1], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: FindMatchingFieldValues */ findMatchingFieldValues(input: ItemByMatchQuery, options?: RpcOptions): UnaryCall { const method = this.methods[2], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: FindMatchingFieldElements */ findMatchingFieldElements(input: ElementByMatchQuery, options?: RpcOptions): UnaryCall { const method = this.methods[3], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: Extract */ extract(input: ExtractQuery, options?: RpcOptions): UnaryCall { const method = this.methods[4], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: CountLines */ countLines(input: CountLinesQuery, options?: RpcOptions): UnaryCall { const method = this.methods[5], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } // // rpc GetKPIData (GetKPIDataQuery) returns (GetKPIDataResult) { // option (tags) = "PROJECT_ACTIVITY"; // option (rscType) = "Project"; // option (roles) = ""; // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { // description: "Get Item KPI data" // summary: "" // tags: "Item Query" // }; // option (google.api.method_visibility).restriction = "PUBLIC"; // }; /** * @generated from protobuf rpc: GetLVDetailedQuantity */ getLVDetailedQuantity(input: GetLVDetailedQuantityQuery, options?: RpcOptions): UnaryCall { const method = this.methods[6], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }