UNPKG

echofi-client

Version:

A comprehensive TypeScript/JavaScript client library for EchoFi services with automatic gRPC-Web code generation, unified service access, and real-time WebSocket communication.

35 lines 2.96 kB
/** * @fileoverview gRPC-Web generated client stub for stats * @enhanceable * @public */ import * as grpcWeb from 'grpc-web'; import * as stats_service_pb from './service_pb'; export declare class StatsServiceClient { client_: grpcWeb.AbstractClientBase; hostname_: string; credentials_: null | { [index: string]: string; }; options_: null | { [index: string]: any; }; constructor(hostname: string, credentials?: null | { [index: string]: string; }, options?: null | { [index: string]: any; }); methodDescriptorGetUserStatistics: grpcWeb.MethodDescriptor<stats_service_pb.GetUserStatisticsRequest, stats_service_pb.GetUserStatisticsResponse>; getUserStatistics(request: stats_service_pb.GetUserStatisticsRequest, metadata?: grpcWeb.Metadata | null): Promise<stats_service_pb.GetUserStatisticsResponse>; getUserStatistics(request: stats_service_pb.GetUserStatisticsRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: stats_service_pb.GetUserStatisticsResponse) => void): grpcWeb.ClientReadableStream<stats_service_pb.GetUserStatisticsResponse>; methodDescriptorListUserStatistics: grpcWeb.MethodDescriptor<stats_service_pb.ListUserStatisticsRequest, stats_service_pb.ListUserStatisticsResponse>; listUserStatistics(request: stats_service_pb.ListUserStatisticsRequest, metadata?: grpcWeb.Metadata | null): Promise<stats_service_pb.ListUserStatisticsResponse>; listUserStatistics(request: stats_service_pb.ListUserStatisticsRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: stats_service_pb.ListUserStatisticsResponse) => void): grpcWeb.ClientReadableStream<stats_service_pb.ListUserStatisticsResponse>; methodDescriptorGetPointBoost: grpcWeb.MethodDescriptor<stats_service_pb.GetPointBoostRequest, stats_service_pb.GetPointBoostResponse>; getPointBoost(request: stats_service_pb.GetPointBoostRequest, metadata?: grpcWeb.Metadata | null): Promise<stats_service_pb.GetPointBoostResponse>; getPointBoost(request: stats_service_pb.GetPointBoostRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: stats_service_pb.GetPointBoostResponse) => void): grpcWeb.ClientReadableStream<stats_service_pb.GetPointBoostResponse>; methodDescriptorListPointBoosts: grpcWeb.MethodDescriptor<stats_service_pb.ListPointBoostsRequest, stats_service_pb.ListPointBoostsResponse>; listPointBoosts(request: stats_service_pb.ListPointBoostsRequest, metadata?: grpcWeb.Metadata | null): Promise<stats_service_pb.ListPointBoostsResponse>; listPointBoosts(request: stats_service_pb.ListPointBoostsRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: stats_service_pb.ListPointBoostsResponse) => void): grpcWeb.ClientReadableStream<stats_service_pb.ListPointBoostsResponse>; } //# sourceMappingURL=ServiceServiceClientPb.d.ts.map