@uniswap/client-platform-service 0.0.8 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/uniswap/platformservice/v1/apiKeyService-ApiKeyService_connectquery.js +1 -1
- package/dist/uniswap/platformservice/v1/apiKeyService_connect.js +1 -1
- package/dist/uniswap/platformservice/v1/apiKeyService_pb.d.ts +8 -0
- package/dist/uniswap/platformservice/v1/apiKeyService_pb.js +7 -1
- package/dist/uniswap/platformservice/v1/organizationService-OrganizationService_connectquery.d.ts +14 -1
- package/dist/uniswap/platformservice/v1/organizationService-OrganizationService_connectquery.js +15 -2
- package/dist/uniswap/platformservice/v1/organizationService_connect.d.ts +10 -1
- package/dist/uniswap/platformservice/v1/organizationService_connect.js +11 -2
- package/dist/uniswap/platformservice/v1/organizationService_pb.d.ts +42 -0
- package/dist/uniswap/platformservice/v1/organizationService_pb.js +70 -1
- package/dist/uniswap/platformservice/v1/personaService-PersonaService_connectquery.d.ts +2 -43
- package/dist/uniswap/platformservice/v1/personaService-PersonaService_connectquery.js +3 -44
- package/dist/uniswap/platformservice/v1/personaService_connect.d.ts +2 -31
- package/dist/uniswap/platformservice/v1/personaService_connect.js +3 -32
- package/dist/uniswap/platformservice/v1/personaService_pb.d.ts +4 -150
- package/dist/uniswap/platformservice/v1/personaService_pb.js +8 -232
- package/dist/uniswap/platformservice/v1/sessionService-SessionService_connectquery.d.ts +2 -18
- package/dist/uniswap/platformservice/v1/sessionService-SessionService_connectquery.js +3 -19
- package/dist/uniswap/platformservice/v1/sessionService_connect.d.ts +2 -14
- package/dist/uniswap/platformservice/v1/sessionService_connect.js +3 -15
- package/dist/uniswap/platformservice/v1/sessionService_pb.d.ts +124 -43
- package/dist/uniswap/platformservice/v1/sessionService_pb.js +149 -51
- package/dist/uniswap/platformservice/v1/userService-UserService_connectquery.d.ts +73 -0
- package/dist/uniswap/platformservice/v1/userService-UserService_connectquery.js +77 -0
- package/dist/uniswap/platformservice/v1/userService_connect.d.ts +61 -0
- package/dist/uniswap/platformservice/v1/userService_connect.js +65 -0
- package/dist/uniswap/platformservice/v1/userService_pb.d.ts +261 -0
- package/dist/uniswap/platformservice/v1/userService_pb.js +382 -0
- package/dist/uniswap/platformservice/v1/workerService-WorkerService_connectquery.js +1 -1
- package/dist/uniswap/platformservice/v1/workerService_connect.js +1 -1
- package/dist/uniswap/platformservice/v1/workerService_pb.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { CreateUserRequest, CreateUserResponse, DeleteUserRequest, DeleteUserResponse, GetUserByEmailRequest, GetUserByEmailResponse, GetUserRequest, GetUserResponse, ModifyUserRequest, ModifyUserResponse } from "./userService_pb.js";
|
|
2
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* @generated from service uniswap.platformservice.v1.UserService
|
|
5
|
+
*/
|
|
6
|
+
export declare const UserService: {
|
|
7
|
+
readonly typeName: "uniswap.platformservice.v1.UserService";
|
|
8
|
+
readonly methods: {
|
|
9
|
+
/**
|
|
10
|
+
* External facing & Authed endpoints - get UserID directly through ctx.auth.userID header
|
|
11
|
+
*
|
|
12
|
+
* @generated from rpc uniswap.platformservice.v1.UserService.CreateUser
|
|
13
|
+
*/
|
|
14
|
+
readonly createUser: {
|
|
15
|
+
readonly name: "CreateUser";
|
|
16
|
+
readonly I: typeof CreateUserRequest;
|
|
17
|
+
readonly O: typeof CreateUserResponse;
|
|
18
|
+
readonly kind: MethodKind.Unary;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* @generated from rpc uniswap.platformservice.v1.UserService.ModifyUser
|
|
22
|
+
*/
|
|
23
|
+
readonly modifyUser: {
|
|
24
|
+
readonly name: "ModifyUser";
|
|
25
|
+
readonly I: typeof ModifyUserRequest;
|
|
26
|
+
readonly O: typeof ModifyUserResponse;
|
|
27
|
+
readonly kind: MethodKind.Unary;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Gets current user details and session info
|
|
31
|
+
*
|
|
32
|
+
* @generated from rpc uniswap.platformservice.v1.UserService.GetUser
|
|
33
|
+
*/
|
|
34
|
+
readonly getUser: {
|
|
35
|
+
readonly name: "GetUser";
|
|
36
|
+
readonly I: typeof GetUserRequest;
|
|
37
|
+
readonly O: typeof GetUserResponse;
|
|
38
|
+
readonly kind: MethodKind.Unary;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* @generated from rpc uniswap.platformservice.v1.UserService.DeleteUser
|
|
42
|
+
*/
|
|
43
|
+
readonly deleteUser: {
|
|
44
|
+
readonly name: "DeleteUser";
|
|
45
|
+
readonly I: typeof DeleteUserRequest;
|
|
46
|
+
readonly O: typeof DeleteUserResponse;
|
|
47
|
+
readonly kind: MethodKind.Unary;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Internal service-to-service endpoint - get user by email
|
|
51
|
+
*
|
|
52
|
+
* @generated from rpc uniswap.platformservice.v1.UserService.GetUserByEmail
|
|
53
|
+
*/
|
|
54
|
+
readonly getUserByEmail: {
|
|
55
|
+
readonly name: "GetUserByEmail";
|
|
56
|
+
readonly I: typeof GetUserByEmailRequest;
|
|
57
|
+
readonly O: typeof GetUserByEmailResponse;
|
|
58
|
+
readonly kind: MethodKind.Unary;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.7.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file uniswap/platformservice/v1/userService.proto (package uniswap.platformservice.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
import { CreateUserRequest, CreateUserResponse, DeleteUserRequest, DeleteUserResponse, GetUserByEmailRequest, GetUserByEmailResponse, GetUserRequest, GetUserResponse, ModifyUserRequest, ModifyUserResponse } from "./userService_pb.js";
|
|
6
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
|
+
/**
|
|
8
|
+
* @generated from service uniswap.platformservice.v1.UserService
|
|
9
|
+
*/
|
|
10
|
+
export const UserService = {
|
|
11
|
+
typeName: "uniswap.platformservice.v1.UserService",
|
|
12
|
+
methods: {
|
|
13
|
+
/**
|
|
14
|
+
* External facing & Authed endpoints - get UserID directly through ctx.auth.userID header
|
|
15
|
+
*
|
|
16
|
+
* @generated from rpc uniswap.platformservice.v1.UserService.CreateUser
|
|
17
|
+
*/
|
|
18
|
+
createUser: {
|
|
19
|
+
name: "CreateUser",
|
|
20
|
+
I: CreateUserRequest,
|
|
21
|
+
O: CreateUserResponse,
|
|
22
|
+
kind: MethodKind.Unary,
|
|
23
|
+
},
|
|
24
|
+
/**
|
|
25
|
+
* @generated from rpc uniswap.platformservice.v1.UserService.ModifyUser
|
|
26
|
+
*/
|
|
27
|
+
modifyUser: {
|
|
28
|
+
name: "ModifyUser",
|
|
29
|
+
I: ModifyUserRequest,
|
|
30
|
+
O: ModifyUserResponse,
|
|
31
|
+
kind: MethodKind.Unary,
|
|
32
|
+
},
|
|
33
|
+
/**
|
|
34
|
+
* Gets current user details and session info
|
|
35
|
+
*
|
|
36
|
+
* @generated from rpc uniswap.platformservice.v1.UserService.GetUser
|
|
37
|
+
*/
|
|
38
|
+
getUser: {
|
|
39
|
+
name: "GetUser",
|
|
40
|
+
I: GetUserRequest,
|
|
41
|
+
O: GetUserResponse,
|
|
42
|
+
kind: MethodKind.Unary,
|
|
43
|
+
},
|
|
44
|
+
/**
|
|
45
|
+
* @generated from rpc uniswap.platformservice.v1.UserService.DeleteUser
|
|
46
|
+
*/
|
|
47
|
+
deleteUser: {
|
|
48
|
+
name: "DeleteUser",
|
|
49
|
+
I: DeleteUserRequest,
|
|
50
|
+
O: DeleteUserResponse,
|
|
51
|
+
kind: MethodKind.Unary,
|
|
52
|
+
},
|
|
53
|
+
/**
|
|
54
|
+
* Internal service-to-service endpoint - get user by email
|
|
55
|
+
*
|
|
56
|
+
* @generated from rpc uniswap.platformservice.v1.UserService.GetUserByEmail
|
|
57
|
+
*/
|
|
58
|
+
getUserByEmail: {
|
|
59
|
+
name: "GetUserByEmail",
|
|
60
|
+
I: GetUserByEmailRequest,
|
|
61
|
+
O: GetUserByEmailResponse,
|
|
62
|
+
kind: MethodKind.Unary,
|
|
63
|
+
},
|
|
64
|
+
}
|
|
65
|
+
};
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Represents an agreement
|
|
5
|
+
*
|
|
6
|
+
* @generated from message uniswap.platformservice.v1.Agreement
|
|
7
|
+
*/
|
|
8
|
+
export declare class Agreement extends Message<Agreement> {
|
|
9
|
+
/**
|
|
10
|
+
* @generated from field: string name = 1;
|
|
11
|
+
*/
|
|
12
|
+
name: string;
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: string version = 2;
|
|
15
|
+
*/
|
|
16
|
+
version: string;
|
|
17
|
+
/**
|
|
18
|
+
* Timestamp when the user agreed (milliseconds since epoch). If present and non-zero, the user has agreed.
|
|
19
|
+
*
|
|
20
|
+
* @generated from field: optional int64 agreed_at = 3;
|
|
21
|
+
*/
|
|
22
|
+
agreedAt?: bigint;
|
|
23
|
+
constructor(data?: PartialMessage<Agreement>);
|
|
24
|
+
static readonly runtime: typeof proto3;
|
|
25
|
+
static readonly typeName = "uniswap.platformservice.v1.Agreement";
|
|
26
|
+
static readonly fields: FieldList;
|
|
27
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Agreement;
|
|
28
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Agreement;
|
|
29
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Agreement;
|
|
30
|
+
static equals(a: Agreement | PlainMessage<Agreement> | undefined, b: Agreement | PlainMessage<Agreement> | undefined): boolean;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Request to create a new user
|
|
34
|
+
*
|
|
35
|
+
* @generated from message uniswap.platformservice.v1.CreateUserRequest
|
|
36
|
+
*/
|
|
37
|
+
export declare class CreateUserRequest extends Message<CreateUserRequest> {
|
|
38
|
+
/**
|
|
39
|
+
* User's email address (required)
|
|
40
|
+
*
|
|
41
|
+
* @generated from field: string email = 1;
|
|
42
|
+
*/
|
|
43
|
+
email: string;
|
|
44
|
+
constructor(data?: PartialMessage<CreateUserRequest>);
|
|
45
|
+
static readonly runtime: typeof proto3;
|
|
46
|
+
static readonly typeName = "uniswap.platformservice.v1.CreateUserRequest";
|
|
47
|
+
static readonly fields: FieldList;
|
|
48
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateUserRequest;
|
|
49
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateUserRequest;
|
|
50
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateUserRequest;
|
|
51
|
+
static equals(a: CreateUserRequest | PlainMessage<CreateUserRequest> | undefined, b: CreateUserRequest | PlainMessage<CreateUserRequest> | undefined): boolean;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Response for create user
|
|
55
|
+
*
|
|
56
|
+
* @generated from message uniswap.platformservice.v1.CreateUserResponse
|
|
57
|
+
*/
|
|
58
|
+
export declare class CreateUserResponse extends Message<CreateUserResponse> {
|
|
59
|
+
/**
|
|
60
|
+
* @generated from field: string user_id = 1;
|
|
61
|
+
*/
|
|
62
|
+
userId: string;
|
|
63
|
+
constructor(data?: PartialMessage<CreateUserResponse>);
|
|
64
|
+
static readonly runtime: typeof proto3;
|
|
65
|
+
static readonly typeName = "uniswap.platformservice.v1.CreateUserResponse";
|
|
66
|
+
static readonly fields: FieldList;
|
|
67
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateUserResponse;
|
|
68
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateUserResponse;
|
|
69
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateUserResponse;
|
|
70
|
+
static equals(a: CreateUserResponse | PlainMessage<CreateUserResponse> | undefined, b: CreateUserResponse | PlainMessage<CreateUserResponse> | undefined): boolean;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Request to modify an existing user
|
|
74
|
+
*
|
|
75
|
+
* @generated from message uniswap.platformservice.v1.ModifyUserRequest
|
|
76
|
+
*/
|
|
77
|
+
export declare class ModifyUserRequest extends Message<ModifyUserRequest> {
|
|
78
|
+
/**
|
|
79
|
+
* @generated from field: optional string name = 1;
|
|
80
|
+
*/
|
|
81
|
+
name?: string;
|
|
82
|
+
/**
|
|
83
|
+
* Multiple agreements can be updated at once
|
|
84
|
+
*
|
|
85
|
+
* @generated from field: repeated uniswap.platformservice.v1.Agreement agreements = 2;
|
|
86
|
+
*/
|
|
87
|
+
agreements: Agreement[];
|
|
88
|
+
/**
|
|
89
|
+
* Organization ID (optional, for linking user to org)
|
|
90
|
+
*
|
|
91
|
+
* @generated from field: optional string org_id = 3;
|
|
92
|
+
*/
|
|
93
|
+
orgId?: string;
|
|
94
|
+
constructor(data?: PartialMessage<ModifyUserRequest>);
|
|
95
|
+
static readonly runtime: typeof proto3;
|
|
96
|
+
static readonly typeName = "uniswap.platformservice.v1.ModifyUserRequest";
|
|
97
|
+
static readonly fields: FieldList;
|
|
98
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ModifyUserRequest;
|
|
99
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ModifyUserRequest;
|
|
100
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ModifyUserRequest;
|
|
101
|
+
static equals(a: ModifyUserRequest | PlainMessage<ModifyUserRequest> | undefined, b: ModifyUserRequest | PlainMessage<ModifyUserRequest> | undefined): boolean;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Response for modify user
|
|
105
|
+
*
|
|
106
|
+
* @generated from message uniswap.platformservice.v1.ModifyUserResponse
|
|
107
|
+
*/
|
|
108
|
+
export declare class ModifyUserResponse extends Message<ModifyUserResponse> {
|
|
109
|
+
constructor(data?: PartialMessage<ModifyUserResponse>);
|
|
110
|
+
static readonly runtime: typeof proto3;
|
|
111
|
+
static readonly typeName = "uniswap.platformservice.v1.ModifyUserResponse";
|
|
112
|
+
static readonly fields: FieldList;
|
|
113
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ModifyUserResponse;
|
|
114
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ModifyUserResponse;
|
|
115
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ModifyUserResponse;
|
|
116
|
+
static equals(a: ModifyUserResponse | PlainMessage<ModifyUserResponse> | undefined, b: ModifyUserResponse | PlainMessage<ModifyUserResponse> | undefined): boolean;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Request to get user details
|
|
120
|
+
*
|
|
121
|
+
* @generated from message uniswap.platformservice.v1.GetUserRequest
|
|
122
|
+
*/
|
|
123
|
+
export declare class GetUserRequest extends Message<GetUserRequest> {
|
|
124
|
+
constructor(data?: PartialMessage<GetUserRequest>);
|
|
125
|
+
static readonly runtime: typeof proto3;
|
|
126
|
+
static readonly typeName = "uniswap.platformservice.v1.GetUserRequest";
|
|
127
|
+
static readonly fields: FieldList;
|
|
128
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetUserRequest;
|
|
129
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetUserRequest;
|
|
130
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetUserRequest;
|
|
131
|
+
static equals(a: GetUserRequest | PlainMessage<GetUserRequest> | undefined, b: GetUserRequest | PlainMessage<GetUserRequest> | undefined): boolean;
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Represents a user's basic information
|
|
135
|
+
*
|
|
136
|
+
* @generated from message uniswap.platformservice.v1.User
|
|
137
|
+
*/
|
|
138
|
+
export declare class User extends Message<User> {
|
|
139
|
+
/**
|
|
140
|
+
* @generated from field: string user_id = 1;
|
|
141
|
+
*/
|
|
142
|
+
userId: string;
|
|
143
|
+
/**
|
|
144
|
+
* @generated from field: optional string name = 2;
|
|
145
|
+
*/
|
|
146
|
+
name?: string;
|
|
147
|
+
/**
|
|
148
|
+
* @generated from field: optional string email = 3;
|
|
149
|
+
*/
|
|
150
|
+
email?: string;
|
|
151
|
+
/**
|
|
152
|
+
* @generated from field: optional string org_id = 4;
|
|
153
|
+
*/
|
|
154
|
+
orgId?: string;
|
|
155
|
+
/**
|
|
156
|
+
* User's agreements to terms, policies, etc.
|
|
157
|
+
*
|
|
158
|
+
* @generated from field: repeated uniswap.platformservice.v1.Agreement agreements = 5;
|
|
159
|
+
*/
|
|
160
|
+
agreements: Agreement[];
|
|
161
|
+
constructor(data?: PartialMessage<User>);
|
|
162
|
+
static readonly runtime: typeof proto3;
|
|
163
|
+
static readonly typeName = "uniswap.platformservice.v1.User";
|
|
164
|
+
static readonly fields: FieldList;
|
|
165
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): User;
|
|
166
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): User;
|
|
167
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): User;
|
|
168
|
+
static equals(a: User | PlainMessage<User> | undefined, b: User | PlainMessage<User> | undefined): boolean;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* Response for get user
|
|
172
|
+
*
|
|
173
|
+
* @generated from message uniswap.platformservice.v1.GetUserResponse
|
|
174
|
+
*/
|
|
175
|
+
export declare class GetUserResponse extends Message<GetUserResponse> {
|
|
176
|
+
/**
|
|
177
|
+
* @generated from field: uniswap.platformservice.v1.User user = 1;
|
|
178
|
+
*/
|
|
179
|
+
user?: User;
|
|
180
|
+
constructor(data?: PartialMessage<GetUserResponse>);
|
|
181
|
+
static readonly runtime: typeof proto3;
|
|
182
|
+
static readonly typeName = "uniswap.platformservice.v1.GetUserResponse";
|
|
183
|
+
static readonly fields: FieldList;
|
|
184
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetUserResponse;
|
|
185
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetUserResponse;
|
|
186
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetUserResponse;
|
|
187
|
+
static equals(a: GetUserResponse | PlainMessage<GetUserResponse> | undefined, b: GetUserResponse | PlainMessage<GetUserResponse> | undefined): boolean;
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* Request to delete a user account
|
|
191
|
+
*
|
|
192
|
+
* @generated from message uniswap.platformservice.v1.DeleteUserRequest
|
|
193
|
+
*/
|
|
194
|
+
export declare class DeleteUserRequest extends Message<DeleteUserRequest> {
|
|
195
|
+
constructor(data?: PartialMessage<DeleteUserRequest>);
|
|
196
|
+
static readonly runtime: typeof proto3;
|
|
197
|
+
static readonly typeName = "uniswap.platformservice.v1.DeleteUserRequest";
|
|
198
|
+
static readonly fields: FieldList;
|
|
199
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteUserRequest;
|
|
200
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteUserRequest;
|
|
201
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteUserRequest;
|
|
202
|
+
static equals(a: DeleteUserRequest | PlainMessage<DeleteUserRequest> | undefined, b: DeleteUserRequest | PlainMessage<DeleteUserRequest> | undefined): boolean;
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* Response for delete user
|
|
206
|
+
*
|
|
207
|
+
* @generated from message uniswap.platformservice.v1.DeleteUserResponse
|
|
208
|
+
*/
|
|
209
|
+
export declare class DeleteUserResponse extends Message<DeleteUserResponse> {
|
|
210
|
+
constructor(data?: PartialMessage<DeleteUserResponse>);
|
|
211
|
+
static readonly runtime: typeof proto3;
|
|
212
|
+
static readonly typeName = "uniswap.platformservice.v1.DeleteUserResponse";
|
|
213
|
+
static readonly fields: FieldList;
|
|
214
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteUserResponse;
|
|
215
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteUserResponse;
|
|
216
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteUserResponse;
|
|
217
|
+
static equals(a: DeleteUserResponse | PlainMessage<DeleteUserResponse> | undefined, b: DeleteUserResponse | PlainMessage<DeleteUserResponse> | undefined): boolean;
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* Request to get user by email
|
|
221
|
+
*
|
|
222
|
+
* @generated from message uniswap.platformservice.v1.GetUserByEmailRequest
|
|
223
|
+
*/
|
|
224
|
+
export declare class GetUserByEmailRequest extends Message<GetUserByEmailRequest> {
|
|
225
|
+
/**
|
|
226
|
+
* User's email address
|
|
227
|
+
*
|
|
228
|
+
* @generated from field: string email = 1;
|
|
229
|
+
*/
|
|
230
|
+
email: string;
|
|
231
|
+
constructor(data?: PartialMessage<GetUserByEmailRequest>);
|
|
232
|
+
static readonly runtime: typeof proto3;
|
|
233
|
+
static readonly typeName = "uniswap.platformservice.v1.GetUserByEmailRequest";
|
|
234
|
+
static readonly fields: FieldList;
|
|
235
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetUserByEmailRequest;
|
|
236
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetUserByEmailRequest;
|
|
237
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetUserByEmailRequest;
|
|
238
|
+
static equals(a: GetUserByEmailRequest | PlainMessage<GetUserByEmailRequest> | undefined, b: GetUserByEmailRequest | PlainMessage<GetUserByEmailRequest> | undefined): boolean;
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* Response for get user by email
|
|
242
|
+
* Throws NotFound if user does not exist
|
|
243
|
+
*
|
|
244
|
+
* @generated from message uniswap.platformservice.v1.GetUserByEmailResponse
|
|
245
|
+
*/
|
|
246
|
+
export declare class GetUserByEmailResponse extends Message<GetUserByEmailResponse> {
|
|
247
|
+
/**
|
|
248
|
+
* User details
|
|
249
|
+
*
|
|
250
|
+
* @generated from field: uniswap.platformservice.v1.User user = 1;
|
|
251
|
+
*/
|
|
252
|
+
user?: User;
|
|
253
|
+
constructor(data?: PartialMessage<GetUserByEmailResponse>);
|
|
254
|
+
static readonly runtime: typeof proto3;
|
|
255
|
+
static readonly typeName = "uniswap.platformservice.v1.GetUserByEmailResponse";
|
|
256
|
+
static readonly fields: FieldList;
|
|
257
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetUserByEmailResponse;
|
|
258
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetUserByEmailResponse;
|
|
259
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetUserByEmailResponse;
|
|
260
|
+
static equals(a: GetUserByEmailResponse | PlainMessage<GetUserByEmailResponse> | undefined, b: GetUserByEmailResponse | PlainMessage<GetUserByEmailResponse> | undefined): boolean;
|
|
261
|
+
}
|