-
Notifications
You must be signed in to change notification settings - Fork 6
/
user_pb.d.ts
67 lines (54 loc) · 2.53 KB
/
user_pb.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
import * as jspb from 'google-protobuf'
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
import * as google_protobuf_struct_pb from 'google-protobuf/google/protobuf/struct_pb';
import * as response_pb from './response_pb';
export class UserRequest extends jspb.Message {
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): UserRequest.AsObject;
static toObject(includeInstance: boolean, msg: UserRequest): UserRequest.AsObject;
static serializeBinaryToWriter(message: UserRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): UserRequest;
static deserializeBinaryFromReader(message: UserRequest, reader: jspb.BinaryReader): UserRequest;
}
export namespace UserRequest {
export type AsObject = {
}
}
export class UpdateUserRequest extends jspb.Message {
getUsername(): string;
setUsername(value: string): UpdateUserRequest;
getData(): google_protobuf_struct_pb.Struct | undefined;
setData(value?: google_protobuf_struct_pb.Struct): UpdateUserRequest;
hasData(): boolean;
clearData(): UpdateUserRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): UpdateUserRequest.AsObject;
static toObject(includeInstance: boolean, msg: UpdateUserRequest): UpdateUserRequest.AsObject;
static serializeBinaryToWriter(message: UpdateUserRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): UpdateUserRequest;
static deserializeBinaryFromReader(message: UpdateUserRequest, reader: jspb.BinaryReader): UpdateUserRequest;
}
export namespace UpdateUserRequest {
export type AsObject = {
username: string,
data?: google_protobuf_struct_pb.Struct.AsObject,
}
}
export class ChangePasswordRequest extends jspb.Message {
getPassword(): string;
setPassword(value: string): ChangePasswordRequest;
getNewPassword(): string;
setNewPassword(value: string): ChangePasswordRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ChangePasswordRequest.AsObject;
static toObject(includeInstance: boolean, msg: ChangePasswordRequest): ChangePasswordRequest.AsObject;
static serializeBinaryToWriter(message: ChangePasswordRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ChangePasswordRequest;
static deserializeBinaryFromReader(message: ChangePasswordRequest, reader: jspb.BinaryReader): ChangePasswordRequest;
}
export namespace ChangePasswordRequest {
export type AsObject = {
password: string,
newPassword: string,
}
}