// @generated by protoc-gen-connect-es v0.13.0 with parameter "target=ts"
// @generated from file stockQuery.proto (package api, syntax proto3)
/* eslint-disable */
// @ts-nocheck

import { StockByFilterQuery, StockByFilterResult, StockByIdQuery, StockByIdResult, StockByMatchQuery, StockByMatchResult } from "./stockQuery_pb.js";
import { MethodKind } from "@bufbuild/protobuf";
import { CountLinesQuery, CountLinesResult, ElementByMatchQuery, ElementByMatchResult } from "./shared_pb.js";
import { ExtractKPIQuery, ExtractKPIResult, FindKPIDataQuery, FindKPIDataResult, GetKPIDataForUserQuery, GetKPIDataQuery, GetKPIDataResult } from "./clickhouse_pb.js";

/**
 *
 * Stock cannot be queried using id because the id is generated and not publicly-known.
 * Stock is only queryable by expressing conditions on Goods 'key' attributes (itemID, LVBranchID, PriorityDate and SegmentationKeys) and the ActorID.
 *
 * @generated from service api.StockQuery
 */
export const StockQuery = {
  typeName: "api.StockQuery",
  methods: {
    /**
     * @generated from rpc api.StockQuery.GetByIds
     * @deprecated
     */
    getByIds: {
      name: "GetByIds",
      I: StockByIdQuery,
      O: StockByIdResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.StockQuery.Find
     * @deprecated
     */
    find: {
      name: "Find",
      I: StockByFilterQuery,
      O: StockByFilterResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.StockQuery.FindMatchingFieldValues
     */
    findMatchingFieldValues: {
      name: "FindMatchingFieldValues",
      I: StockByMatchQuery,
      O: StockByMatchResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.StockQuery.FindMatchingFieldElements
     */
    findMatchingFieldElements: {
      name: "FindMatchingFieldElements",
      I: ElementByMatchQuery,
      O: ElementByMatchResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.StockQuery.GetKPIData
     */
    getKPIData: {
      name: "GetKPIData",
      I: GetKPIDataQuery,
      O: GetKPIDataResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.StockQuery.GetKPIDataForUser
     */
    getKPIDataForUser: {
      name: "GetKPIDataForUser",
      I: GetKPIDataForUserQuery,
      O: GetKPIDataResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.StockQuery.ExtractKPI
     */
    extractKPI: {
      name: "ExtractKPI",
      I: ExtractKPIQuery,
      O: ExtractKPIResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.StockQuery.CountLines
     */
    countLines: {
      name: "CountLines",
      I: CountLinesQuery,
      O: CountLinesResult,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc api.StockQuery.FindKPIData
     */
    findKPIData: {
      name: "FindKPIData",
      I: FindKPIDataQuery,
      O: FindKPIDataResult,
      kind: MethodKind.Unary,
    },
  }
} as const;

