// @generated by protobuf-ts 2.9.6
// @generated from protobuf file "stockInput.proto" (package "api", syntax proto3)
// tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import { StockInputAPI } from "./stockInput";
import type { StockDeletedResponse } from "./stockInput";
import type { StockDeletedRequest } from "./stockInput";
import type { StockSnapshottedResponse } from "./stockInput";
import type { StockSnapshottedRequest } from "./stockInput";
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
import type { StockMovedResponse } from "./stockInput";
import type { StockMovedRequest } from "./stockInput";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
 *
 * API-server services
 *
 * @generated from protobuf service api.StockInputAPI
 */
export interface IStockInputAPIClient {
    /**
     * @generated from protobuf rpc: Moved(api.StockMovedRequest) returns (api.StockMovedResponse);
     */
    moved(input: StockMovedRequest, options?: RpcOptions): UnaryCall<StockMovedRequest, StockMovedResponse>;
    /**
     * @generated from protobuf rpc: Snapshotted(api.StockSnapshottedRequest) returns (api.StockSnapshottedResponse);
     */
    snapshotted(input: StockSnapshottedRequest, options?: RpcOptions): UnaryCall<StockSnapshottedRequest, StockSnapshottedResponse>;
    /**
     * @deprecated
     * @generated from protobuf rpc: Deleted(api.StockDeletedRequest) returns (api.StockDeletedResponse);
     */
    deleted(input: StockDeletedRequest, options?: RpcOptions): UnaryCall<StockDeletedRequest, StockDeletedResponse>;
}
/**
 *
 * API-server services
 *
 * @generated from protobuf service api.StockInputAPI
 */
export class StockInputAPIClient implements IStockInputAPIClient, ServiceInfo {
    typeName = StockInputAPI.typeName;
    methods = StockInputAPI.methods;
    options = StockInputAPI.options;
    constructor(private readonly _transport: RpcTransport) {
    }
    /**
     * @generated from protobuf rpc: Moved(api.StockMovedRequest) returns (api.StockMovedResponse);
     */
    moved(input: StockMovedRequest, options?: RpcOptions): UnaryCall<StockMovedRequest, StockMovedResponse> {
        const method = this.methods[0], opt = this._transport.mergeOptions(options);
        return stackIntercept<StockMovedRequest, StockMovedResponse>("unary", this._transport, method, opt, input);
    }
    /**
     * @generated from protobuf rpc: Snapshotted(api.StockSnapshottedRequest) returns (api.StockSnapshottedResponse);
     */
    snapshotted(input: StockSnapshottedRequest, options?: RpcOptions): UnaryCall<StockSnapshottedRequest, StockSnapshottedResponse> {
        const method = this.methods[1], opt = this._transport.mergeOptions(options);
        return stackIntercept<StockSnapshottedRequest, StockSnapshottedResponse>("unary", this._transport, method, opt, input);
    }
    /**
     * @deprecated
     * @generated from protobuf rpc: Deleted(api.StockDeletedRequest) returns (api.StockDeletedResponse);
     */
    deleted(input: StockDeletedRequest, options?: RpcOptions): UnaryCall<StockDeletedRequest, StockDeletedResponse> {
        const method = this.methods[2], opt = this._transport.mergeOptions(options);
        return stackIntercept<StockDeletedRequest, StockDeletedResponse>("unary", this._transport, method, opt, input);
    }
}
