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.
48 lines (36 loc) • 1.63 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 RateParam extends jspb.Message {
getParamId(): number;
setParamId(value: number): RateParam;
getMinReferees(): number;
setMinReferees(value: number): RateParam;
getDescription(): string;
setDescription(value: string): RateParam;
getIsActive(): boolean;
setIsActive(value: boolean): RateParam;
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): RateParam;
hasCreatedAt(): boolean;
clearCreatedAt(): RateParam;
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): RateParam;
hasUpdatedAt(): boolean;
clearUpdatedAt(): RateParam;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): RateParam.AsObject;
static toObject(includeInstance: boolean, msg: RateParam): RateParam.AsObject;
static serializeBinaryToWriter(message: RateParam, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): RateParam;
static deserializeBinaryFromReader(message: RateParam, reader: jspb.BinaryReader): RateParam;
}
export namespace RateParam {
export type AsObject = {
paramId: number,
minReferees: number,
description: string,
isActive: boolean,
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
updatedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
}
}