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.
38 lines (28 loc) • 1.25 kB
TypeScript
import * as jspb from 'google-protobuf'
import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb'; // proto import: "google/protobuf/timestamp.proto"
export class UserPoints extends jspb.Message {
getUserId(): string;
setUserId(value: string): UserPoints;
getPointRate(): number;
setPointRate(value: number): UserPoints;
getPoint(): number;
setPoint(value: number): UserPoints;
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): UserPoints;
hasUpdatedAt(): boolean;
clearUpdatedAt(): UserPoints;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): UserPoints.AsObject;
static toObject(includeInstance: boolean, msg: UserPoints): UserPoints.AsObject;
static serializeBinaryToWriter(message: UserPoints, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): UserPoints;
static deserializeBinaryFromReader(message: UserPoints, reader: jspb.BinaryReader): UserPoints;
}
export namespace UserPoints {
export type AsObject = {
userId: string,
pointRate: number,
point: number,
updatedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
}
}