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.

112 lines (89 loc) 2.81 kB
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 User extends jspb.Message { getId(): string; setId(value: string): User; getName(): string; setName(value: string): User; hasName(): boolean; clearName(): User; getEmail(): string; setEmail(value: string): User; hasEmail(): boolean; clearEmail(): User; getEmailVerified(): google_protobuf_timestamp_pb.Timestamp | undefined; setEmailVerified(value?: google_protobuf_timestamp_pb.Timestamp): User; hasEmailVerified(): boolean; clearEmailVerified(): User; getImage(): string; setImage(value: string): User; hasImage(): boolean; clearImage(): User; getBackground(): string; setBackground(value: string): User; hasBackground(): boolean; clearBackground(): User; getUsername(): string; setUsername(value: string): User; hasUsername(): boolean; clearUsername(): User; getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined; setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): User; hasCreatedAt(): boolean; clearCreatedAt(): User; getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined; setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): User; hasUpdatedAt(): boolean; clearUpdatedAt(): User; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): User.AsObject; static toObject(includeInstance: boolean, msg: User): User.AsObject; static serializeBinaryToWriter(message: User, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): User; static deserializeBinaryFromReader(message: User, reader: jspb.BinaryReader): User; } export namespace User { export type AsObject = { id: string, name?: string, email?: string, emailVerified?: google_protobuf_timestamp_pb.Timestamp.AsObject, image?: string, background?: string, username?: string, createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject, updatedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject, } export enum NameCase { _NAME_NOT_SET = 0, NAME = 2, } export enum EmailCase { _EMAIL_NOT_SET = 0, EMAIL = 3, } export enum EmailVerifiedCase { _EMAIL_VERIFIED_NOT_SET = 0, EMAIL_VERIFIED = 4, } export enum ImageCase { _IMAGE_NOT_SET = 0, IMAGE = 5, } export enum BackgroundCase { _BACKGROUND_NOT_SET = 0, BACKGROUND = 6, } export enum UsernameCase { _USERNAME_NOT_SET = 0, USERNAME = 7, } export enum CreatedAtCase { _CREATED_AT_NOT_SET = 0, CREATED_AT = 8, } export enum UpdatedAtCase { _UPDATED_AT_NOT_SET = 0, UPDATED_AT = 9, } }