// package: emerald // file: insights.proto /* tslint:disable */ /* eslint-disable */ import * as grpc from "grpc"; import * as insights_pb from "./insights_pb"; import * as common_pb from "./common_pb"; interface IInsightsService extends grpc.ServiceDefinition { getData: IInsightsService_IGetData; getSummary: IInsightsService_IGetSummary; } interface IInsightsService_IGetData extends grpc.MethodDefinition { path: "/emerald.Insights/GetData"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } interface IInsightsService_IGetSummary extends grpc.MethodDefinition { path: "/emerald.Insights/GetSummary"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } export const InsightsService: IInsightsService; export interface IInsightsServer { getData: grpc.handleUnaryCall; getSummary: grpc.handleUnaryCall; } export interface IInsightsClient { getData(request: insights_pb.GetDataRequest, callback: (error: grpc.ServiceError | null, response: insights_pb.GetDataResponse) => void): grpc.ClientUnaryCall; getData(request: insights_pb.GetDataRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: insights_pb.GetDataResponse) => void): grpc.ClientUnaryCall; getData(request: insights_pb.GetDataRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: insights_pb.GetDataResponse) => void): grpc.ClientUnaryCall; getSummary(request: insights_pb.GetSummaryRequest, callback: (error: grpc.ServiceError | null, response: insights_pb.GetSummaryResponse) => void): grpc.ClientUnaryCall; getSummary(request: insights_pb.GetSummaryRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: insights_pb.GetSummaryResponse) => void): grpc.ClientUnaryCall; getSummary(request: insights_pb.GetSummaryRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: insights_pb.GetSummaryResponse) => void): grpc.ClientUnaryCall; } export class InsightsClient extends grpc.Client implements IInsightsClient { constructor(address: string, credentials: grpc.ChannelCredentials, options?: object); public getData(request: insights_pb.GetDataRequest, callback: (error: grpc.ServiceError | null, response: insights_pb.GetDataResponse) => void): grpc.ClientUnaryCall; public getData(request: insights_pb.GetDataRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: insights_pb.GetDataResponse) => void): grpc.ClientUnaryCall; public getData(request: insights_pb.GetDataRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: insights_pb.GetDataResponse) => void): grpc.ClientUnaryCall; public getSummary(request: insights_pb.GetSummaryRequest, callback: (error: grpc.ServiceError | null, response: insights_pb.GetSummaryResponse) => void): grpc.ClientUnaryCall; public getSummary(request: insights_pb.GetSummaryRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: insights_pb.GetSummaryResponse) => void): grpc.ClientUnaryCall; public getSummary(request: insights_pb.GetSummaryRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: insights_pb.GetSummaryResponse) => void): grpc.ClientUnaryCall; }