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.
52 lines (39 loc) • 1.71 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 PointBoost extends jspb.Message {
getBoostId(): number;
setBoostId(value: number): PointBoost;
getUserId(): string;
setUserId(value: string): PointBoost;
getBoostRate(): number;
setBoostRate(value: number): PointBoost;
getStartTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
setStartTime(value?: google_protobuf_timestamp_pb.Timestamp): PointBoost;
hasStartTime(): boolean;
clearStartTime(): PointBoost;
getEndTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
setEndTime(value?: google_protobuf_timestamp_pb.Timestamp): PointBoost;
hasEndTime(): boolean;
clearEndTime(): PointBoost;
getBoostReason(): string;
setBoostReason(value: string): PointBoost;
getIsActive(): boolean;
setIsActive(value: boolean): PointBoost;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PointBoost.AsObject;
static toObject(includeInstance: boolean, msg: PointBoost): PointBoost.AsObject;
static serializeBinaryToWriter(message: PointBoost, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): PointBoost;
static deserializeBinaryFromReader(message: PointBoost, reader: jspb.BinaryReader): PointBoost;
}
export namespace PointBoost {
export type AsObject = {
boostId: number,
userId: string,
boostRate: number,
startTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
endTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
boostReason: string,
isActive: boolean,
}
}