@dcl/protocol 1.0.0-14033250574.commit-0daf6ca → 1.0.0-14231312268.commit-832f02f
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/out-js/decentraland/common/texture.gen.d.ts +18 -0
- package/out-js/decentraland/common/texture.gen.js +104 -4
- package/out-js/decentraland/common/texture.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +2 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +19 -2
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +41 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +241 -3
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +2 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js +19 -1
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +35 -1
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +172 -3
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +3 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.js +18 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +19 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +90 -3
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/gltf_node.gen.d.ts +66 -0
- package/out-js/decentraland/sdk/components/gltf_node.gen.js +69 -0
- package/out-js/decentraland/sdk/components/gltf_node.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_node_state.gen.d.ts +43 -0
- package/out-js/decentraland/sdk/components/gltf_node_state.gen.js +122 -0
- package/out-js/decentraland/sdk/components/gltf_node_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/material.gen.d.ts +20 -0
- package/out-js/decentraland/sdk/components/material.gen.js +86 -2
- package/out-js/decentraland/sdk/components/material.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +18 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +90 -4
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +19 -3
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +90 -4
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +4 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.js +30 -1
- package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +37 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +201 -2
- package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.d.ts +22 -306
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +75 -1552
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js.map +1 -1
- package/out-ts/decentraland/common/texture.gen.ts +119 -4
- package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +20 -1
- package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +292 -1
- package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +20 -0
- package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +218 -2
- package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +18 -0
- package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +108 -2
- package/out-ts/decentraland/sdk/components/gltf_node.gen.ts +116 -0
- package/out-ts/decentraland/sdk/components/gltf_node_state.gen.ts +139 -0
- package/out-ts/decentraland/sdk/components/material.gen.ts +102 -1
- package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +99 -0
- package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +100 -3
- package/out-ts/decentraland/sdk/components/ui_text.gen.ts +40 -1
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +230 -1
- package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +945 -2589
- package/package.json +6 -3
- package/proto/decentraland/common/texture.proto +8 -1
- package/proto/decentraland/sdk/components/avatar_equipped_data.proto +2 -1
- package/proto/decentraland/sdk/components/avatar_modifier_area.proto +21 -0
- package/proto/decentraland/sdk/components/avatar_shape.proto +1 -0
- package/proto/decentraland/sdk/components/camera_layer.proto +30 -0
- package/proto/decentraland/sdk/components/camera_layers.proto +11 -0
- package/proto/decentraland/sdk/components/camera_mode_area.proto +22 -3
- package/proto/decentraland/sdk/components/common/input_action.proto +3 -0
- package/proto/decentraland/sdk/components/global_light.proto +22 -0
- package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +13 -0
- package/proto/decentraland/sdk/components/gltf_node.proto +42 -0
- package/proto/decentraland/sdk/components/gltf_node_state.proto +20 -0
- package/proto/decentraland/sdk/components/light.proto +42 -0
- package/proto/decentraland/sdk/components/material.proto +13 -1
- package/proto/decentraland/sdk/components/mesh_collider.proto +8 -1
- package/proto/decentraland/sdk/components/mesh_renderer.proto +8 -3
- package/proto/decentraland/sdk/components/primary_pointer_info.proto +25 -0
- package/proto/decentraland/sdk/components/spotlight.proto +21 -0
- package/proto/decentraland/sdk/components/texture_camera.proto +46 -0
- package/proto/decentraland/sdk/components/ui_canvas.proto +16 -0
- package/proto/decentraland/sdk/components/ui_scroll_result.proto +12 -0
- package/proto/decentraland/sdk/components/ui_text.proto +3 -0
- package/proto/decentraland/sdk/components/ui_transform.proto +24 -1
- package/proto/decentraland/sdk/components/virtual_camera.proto +0 -2
- package/proto/decentraland/social_service/v2/social_service_v2.proto +9 -119
- package/public/sdk-components.proto +2 -0
- package/proto/decentraland/sdk/components/light_source.proto +0 -35
|
@@ -17,57 +17,34 @@ export declare enum FriendshipStatus {
|
|
|
17
17
|
REJECTED = 4,
|
|
18
18
|
DELETED = 5,
|
|
19
19
|
BLOCKED = 6,
|
|
20
|
-
NONE = 7,
|
|
21
|
-
BLOCKED_BY = 8,
|
|
22
20
|
UNRECOGNIZED = -1
|
|
23
21
|
}
|
|
24
22
|
export declare function friendshipStatusFromJSON(object: any): FriendshipStatus;
|
|
25
23
|
export declare function friendshipStatusToJSON(object: FriendshipStatus): string;
|
|
26
24
|
/** Errors */
|
|
27
25
|
export interface InvalidFriendshipAction {
|
|
28
|
-
message?: string | undefined;
|
|
29
26
|
}
|
|
30
27
|
export interface InternalServerError {
|
|
31
|
-
message?: string | undefined;
|
|
32
|
-
}
|
|
33
|
-
export interface InvalidRequest {
|
|
34
|
-
message?: string | undefined;
|
|
35
|
-
}
|
|
36
|
-
export interface ProfileNotFound {
|
|
37
|
-
message?: string | undefined;
|
|
38
28
|
}
|
|
39
29
|
/** Types */
|
|
40
30
|
export interface User {
|
|
41
31
|
address: string;
|
|
42
32
|
}
|
|
43
|
-
export interface FriendProfile {
|
|
44
|
-
address: string;
|
|
45
|
-
name: string;
|
|
46
|
-
hasClaimedName: boolean;
|
|
47
|
-
profilePictureUrl: string;
|
|
48
|
-
}
|
|
49
|
-
export interface BlockedUserProfile {
|
|
50
|
-
address: string;
|
|
51
|
-
name: string;
|
|
52
|
-
hasClaimedName: boolean;
|
|
53
|
-
profilePictureUrl: string;
|
|
54
|
-
blockedAt?: number | undefined;
|
|
55
|
-
}
|
|
56
33
|
export interface Pagination {
|
|
57
34
|
limit: number;
|
|
58
35
|
offset: number;
|
|
59
36
|
}
|
|
60
37
|
export interface FriendshipRequestResponse {
|
|
61
|
-
|
|
38
|
+
user: User | undefined;
|
|
62
39
|
createdAt: number;
|
|
63
40
|
message?: string | undefined;
|
|
64
|
-
id: string;
|
|
65
41
|
}
|
|
66
42
|
export interface FriendshipRequests {
|
|
67
43
|
requests: FriendshipRequestResponse[];
|
|
68
44
|
}
|
|
69
45
|
export interface GetFriendsPayload {
|
|
70
46
|
pagination?: Pagination | undefined;
|
|
47
|
+
status?: ConnectivityStatus | undefined;
|
|
71
48
|
}
|
|
72
49
|
export interface GetFriendshipRequestsPayload {
|
|
73
50
|
pagination?: Pagination | undefined;
|
|
@@ -114,8 +91,8 @@ export interface PaginatedResponse {
|
|
|
114
91
|
total: number;
|
|
115
92
|
page: number;
|
|
116
93
|
}
|
|
117
|
-
export interface
|
|
118
|
-
|
|
94
|
+
export interface PaginatedUsersResponse {
|
|
95
|
+
users: User[];
|
|
119
96
|
paginationData: PaginatedResponse | undefined;
|
|
120
97
|
}
|
|
121
98
|
export interface PaginatedFriendshipRequestsResponse {
|
|
@@ -143,13 +120,11 @@ export interface UpsertFriendshipResponse {
|
|
|
143
120
|
export interface UpsertFriendshipResponse_Accepted {
|
|
144
121
|
id: string;
|
|
145
122
|
createdAt: number;
|
|
146
|
-
friend: FriendProfile | undefined;
|
|
147
|
-
message?: string | undefined;
|
|
148
123
|
}
|
|
149
124
|
export interface FriendshipUpdate {
|
|
150
125
|
update?: {
|
|
151
126
|
$case: "request";
|
|
152
|
-
request:
|
|
127
|
+
request: FriendshipRequestResponse;
|
|
153
128
|
} | {
|
|
154
129
|
$case: "accept";
|
|
155
130
|
accept: FriendshipUpdate_AcceptResponse;
|
|
@@ -162,17 +137,8 @@ export interface FriendshipUpdate {
|
|
|
162
137
|
} | {
|
|
163
138
|
$case: "cancel";
|
|
164
139
|
cancel: FriendshipUpdate_CancelResponse;
|
|
165
|
-
} | {
|
|
166
|
-
$case: "block";
|
|
167
|
-
block: FriendshipUpdate_BlockResponse;
|
|
168
140
|
} | undefined;
|
|
169
141
|
}
|
|
170
|
-
export interface FriendshipUpdate_RequestResponse {
|
|
171
|
-
friend: FriendProfile | undefined;
|
|
172
|
-
createdAt: number;
|
|
173
|
-
message?: string | undefined;
|
|
174
|
-
id: string;
|
|
175
|
-
}
|
|
176
142
|
export interface FriendshipUpdate_AcceptResponse {
|
|
177
143
|
user: User | undefined;
|
|
178
144
|
}
|
|
@@ -185,13 +151,6 @@ export interface FriendshipUpdate_DeleteResponse {
|
|
|
185
151
|
export interface FriendshipUpdate_CancelResponse {
|
|
186
152
|
user: User | undefined;
|
|
187
153
|
}
|
|
188
|
-
export interface FriendshipUpdate_BlockResponse {
|
|
189
|
-
user: User | undefined;
|
|
190
|
-
}
|
|
191
|
-
export interface FriendConnectivityUpdate {
|
|
192
|
-
friend: FriendProfile | undefined;
|
|
193
|
-
status: ConnectivityStatus;
|
|
194
|
-
}
|
|
195
154
|
export interface GetFriendshipStatusPayload {
|
|
196
155
|
user: User | undefined;
|
|
197
156
|
}
|
|
@@ -208,94 +167,21 @@ export interface GetFriendshipStatusResponse_Ok {
|
|
|
208
167
|
status: FriendshipStatus;
|
|
209
168
|
message?: string | undefined;
|
|
210
169
|
}
|
|
211
|
-
export interface BlockUserPayload {
|
|
212
|
-
user: User | undefined;
|
|
213
|
-
}
|
|
214
|
-
export interface BlockUserResponse {
|
|
215
|
-
response?: {
|
|
216
|
-
$case: "ok";
|
|
217
|
-
ok: BlockUserResponse_Ok;
|
|
218
|
-
} | {
|
|
219
|
-
$case: "internalServerError";
|
|
220
|
-
internalServerError: InternalServerError;
|
|
221
|
-
} | {
|
|
222
|
-
$case: "invalidRequest";
|
|
223
|
-
invalidRequest: InvalidRequest;
|
|
224
|
-
} | {
|
|
225
|
-
$case: "profileNotFound";
|
|
226
|
-
profileNotFound: ProfileNotFound;
|
|
227
|
-
} | undefined;
|
|
228
|
-
}
|
|
229
|
-
export interface BlockUserResponse_Ok {
|
|
230
|
-
profile: BlockedUserProfile | undefined;
|
|
231
|
-
}
|
|
232
|
-
export interface UnblockUserPayload {
|
|
233
|
-
user: User | undefined;
|
|
234
|
-
}
|
|
235
|
-
export interface UnblockUserResponse {
|
|
236
|
-
response?: {
|
|
237
|
-
$case: "ok";
|
|
238
|
-
ok: UnblockUserResponse_Ok;
|
|
239
|
-
} | {
|
|
240
|
-
$case: "internalServerError";
|
|
241
|
-
internalServerError: InternalServerError;
|
|
242
|
-
} | {
|
|
243
|
-
$case: "invalidRequest";
|
|
244
|
-
invalidRequest: InvalidRequest;
|
|
245
|
-
} | {
|
|
246
|
-
$case: "profileNotFound";
|
|
247
|
-
profileNotFound: ProfileNotFound;
|
|
248
|
-
} | undefined;
|
|
249
|
-
}
|
|
250
|
-
export interface UnblockUserResponse_Ok {
|
|
251
|
-
profile: BlockedUserProfile | undefined;
|
|
252
|
-
}
|
|
253
|
-
export interface GetBlockedUsersPayload {
|
|
254
|
-
pagination?: Pagination | undefined;
|
|
255
|
-
}
|
|
256
|
-
export interface GetBlockedUsersResponse {
|
|
257
|
-
profiles: BlockedUserProfile[];
|
|
258
|
-
paginationData: PaginatedResponse | undefined;
|
|
259
|
-
}
|
|
260
|
-
export interface GetBlockingStatusResponse {
|
|
261
|
-
blockedUsers: string[];
|
|
262
|
-
blockedByUsers: string[];
|
|
263
|
-
}
|
|
264
|
-
export interface BlockUpdate {
|
|
265
|
-
address: string;
|
|
266
|
-
isBlocked: boolean;
|
|
267
|
-
}
|
|
268
170
|
export declare namespace InvalidFriendshipAction {
|
|
269
|
-
function encode(
|
|
171
|
+
function encode(_: InvalidFriendshipAction, writer?: _m0.Writer): _m0.Writer;
|
|
270
172
|
function decode(input: _m0.Reader | Uint8Array, length?: number): InvalidFriendshipAction;
|
|
271
|
-
function fromJSON(
|
|
272
|
-
function toJSON(
|
|
173
|
+
function fromJSON(_: any): InvalidFriendshipAction;
|
|
174
|
+
function toJSON(_: InvalidFriendshipAction): unknown;
|
|
273
175
|
function create<I extends Exact<DeepPartial<InvalidFriendshipAction>, I>>(base?: I): InvalidFriendshipAction;
|
|
274
|
-
function fromPartial<I extends Exact<DeepPartial<InvalidFriendshipAction>, I>>(
|
|
176
|
+
function fromPartial<I extends Exact<DeepPartial<InvalidFriendshipAction>, I>>(_: I): InvalidFriendshipAction;
|
|
275
177
|
}
|
|
276
178
|
export declare namespace InternalServerError {
|
|
277
|
-
function encode(
|
|
179
|
+
function encode(_: InternalServerError, writer?: _m0.Writer): _m0.Writer;
|
|
278
180
|
function decode(input: _m0.Reader | Uint8Array, length?: number): InternalServerError;
|
|
279
|
-
function fromJSON(
|
|
280
|
-
function toJSON(
|
|
181
|
+
function fromJSON(_: any): InternalServerError;
|
|
182
|
+
function toJSON(_: InternalServerError): unknown;
|
|
281
183
|
function create<I extends Exact<DeepPartial<InternalServerError>, I>>(base?: I): InternalServerError;
|
|
282
|
-
function fromPartial<I extends Exact<DeepPartial<InternalServerError>, I>>(
|
|
283
|
-
}
|
|
284
|
-
export declare namespace InvalidRequest {
|
|
285
|
-
function encode(message: InvalidRequest, writer?: _m0.Writer): _m0.Writer;
|
|
286
|
-
function decode(input: _m0.Reader | Uint8Array, length?: number): InvalidRequest;
|
|
287
|
-
function fromJSON(object: any): InvalidRequest;
|
|
288
|
-
function toJSON(message: InvalidRequest): unknown;
|
|
289
|
-
function create<I extends Exact<DeepPartial<InvalidRequest>, I>>(base?: I): InvalidRequest;
|
|
290
|
-
function fromPartial<I extends Exact<DeepPartial<InvalidRequest>, I>>(object: I): InvalidRequest;
|
|
291
|
-
}
|
|
292
|
-
export declare namespace ProfileNotFound {
|
|
293
|
-
function encode(message: ProfileNotFound, writer?: _m0.Writer): _m0.Writer;
|
|
294
|
-
function decode(input: _m0.Reader | Uint8Array, length?: number): ProfileNotFound;
|
|
295
|
-
function fromJSON(object: any): ProfileNotFound;
|
|
296
|
-
function toJSON(message: ProfileNotFound): unknown;
|
|
297
|
-
function create<I extends Exact<DeepPartial<ProfileNotFound>, I>>(base?: I): ProfileNotFound;
|
|
298
|
-
function fromPartial<I extends Exact<DeepPartial<ProfileNotFound>, I>>(object: I): ProfileNotFound;
|
|
184
|
+
function fromPartial<I extends Exact<DeepPartial<InternalServerError>, I>>(_: I): InternalServerError;
|
|
299
185
|
}
|
|
300
186
|
export declare namespace User {
|
|
301
187
|
function encode(message: User, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -305,22 +191,6 @@ export declare namespace User {
|
|
|
305
191
|
function create<I extends Exact<DeepPartial<User>, I>>(base?: I): User;
|
|
306
192
|
function fromPartial<I extends Exact<DeepPartial<User>, I>>(object: I): User;
|
|
307
193
|
}
|
|
308
|
-
export declare namespace FriendProfile {
|
|
309
|
-
function encode(message: FriendProfile, writer?: _m0.Writer): _m0.Writer;
|
|
310
|
-
function decode(input: _m0.Reader | Uint8Array, length?: number): FriendProfile;
|
|
311
|
-
function fromJSON(object: any): FriendProfile;
|
|
312
|
-
function toJSON(message: FriendProfile): unknown;
|
|
313
|
-
function create<I extends Exact<DeepPartial<FriendProfile>, I>>(base?: I): FriendProfile;
|
|
314
|
-
function fromPartial<I extends Exact<DeepPartial<FriendProfile>, I>>(object: I): FriendProfile;
|
|
315
|
-
}
|
|
316
|
-
export declare namespace BlockedUserProfile {
|
|
317
|
-
function encode(message: BlockedUserProfile, writer?: _m0.Writer): _m0.Writer;
|
|
318
|
-
function decode(input: _m0.Reader | Uint8Array, length?: number): BlockedUserProfile;
|
|
319
|
-
function fromJSON(object: any): BlockedUserProfile;
|
|
320
|
-
function toJSON(message: BlockedUserProfile): unknown;
|
|
321
|
-
function create<I extends Exact<DeepPartial<BlockedUserProfile>, I>>(base?: I): BlockedUserProfile;
|
|
322
|
-
function fromPartial<I extends Exact<DeepPartial<BlockedUserProfile>, I>>(object: I): BlockedUserProfile;
|
|
323
|
-
}
|
|
324
194
|
export declare namespace Pagination {
|
|
325
195
|
function encode(message: Pagination, writer?: _m0.Writer): _m0.Writer;
|
|
326
196
|
function decode(input: _m0.Reader | Uint8Array, length?: number): Pagination;
|
|
@@ -425,13 +295,13 @@ export declare namespace PaginatedResponse {
|
|
|
425
295
|
function create<I extends Exact<DeepPartial<PaginatedResponse>, I>>(base?: I): PaginatedResponse;
|
|
426
296
|
function fromPartial<I extends Exact<DeepPartial<PaginatedResponse>, I>>(object: I): PaginatedResponse;
|
|
427
297
|
}
|
|
428
|
-
export declare namespace
|
|
429
|
-
function encode(message:
|
|
430
|
-
function decode(input: _m0.Reader | Uint8Array, length?: number):
|
|
431
|
-
function fromJSON(object: any):
|
|
432
|
-
function toJSON(message:
|
|
433
|
-
function create<I extends Exact<DeepPartial<
|
|
434
|
-
function fromPartial<I extends Exact<DeepPartial<
|
|
298
|
+
export declare namespace PaginatedUsersResponse {
|
|
299
|
+
function encode(message: PaginatedUsersResponse, writer?: _m0.Writer): _m0.Writer;
|
|
300
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PaginatedUsersResponse;
|
|
301
|
+
function fromJSON(object: any): PaginatedUsersResponse;
|
|
302
|
+
function toJSON(message: PaginatedUsersResponse): unknown;
|
|
303
|
+
function create<I extends Exact<DeepPartial<PaginatedUsersResponse>, I>>(base?: I): PaginatedUsersResponse;
|
|
304
|
+
function fromPartial<I extends Exact<DeepPartial<PaginatedUsersResponse>, I>>(object: I): PaginatedUsersResponse;
|
|
435
305
|
}
|
|
436
306
|
export declare namespace PaginatedFriendshipRequestsResponse {
|
|
437
307
|
function encode(message: PaginatedFriendshipRequestsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -465,14 +335,6 @@ export declare namespace FriendshipUpdate {
|
|
|
465
335
|
function create<I extends Exact<DeepPartial<FriendshipUpdate>, I>>(base?: I): FriendshipUpdate;
|
|
466
336
|
function fromPartial<I extends Exact<DeepPartial<FriendshipUpdate>, I>>(object: I): FriendshipUpdate;
|
|
467
337
|
}
|
|
468
|
-
export declare namespace FriendshipUpdate_RequestResponse {
|
|
469
|
-
function encode(message: FriendshipUpdate_RequestResponse, writer?: _m0.Writer): _m0.Writer;
|
|
470
|
-
function decode(input: _m0.Reader | Uint8Array, length?: number): FriendshipUpdate_RequestResponse;
|
|
471
|
-
function fromJSON(object: any): FriendshipUpdate_RequestResponse;
|
|
472
|
-
function toJSON(message: FriendshipUpdate_RequestResponse): unknown;
|
|
473
|
-
function create<I extends Exact<DeepPartial<FriendshipUpdate_RequestResponse>, I>>(base?: I): FriendshipUpdate_RequestResponse;
|
|
474
|
-
function fromPartial<I extends Exact<DeepPartial<FriendshipUpdate_RequestResponse>, I>>(object: I): FriendshipUpdate_RequestResponse;
|
|
475
|
-
}
|
|
476
338
|
export declare namespace FriendshipUpdate_AcceptResponse {
|
|
477
339
|
function encode(message: FriendshipUpdate_AcceptResponse, writer?: _m0.Writer): _m0.Writer;
|
|
478
340
|
function decode(input: _m0.Reader | Uint8Array, length?: number): FriendshipUpdate_AcceptResponse;
|
|
@@ -505,22 +367,6 @@ export declare namespace FriendshipUpdate_CancelResponse {
|
|
|
505
367
|
function create<I extends Exact<DeepPartial<FriendshipUpdate_CancelResponse>, I>>(base?: I): FriendshipUpdate_CancelResponse;
|
|
506
368
|
function fromPartial<I extends Exact<DeepPartial<FriendshipUpdate_CancelResponse>, I>>(object: I): FriendshipUpdate_CancelResponse;
|
|
507
369
|
}
|
|
508
|
-
export declare namespace FriendshipUpdate_BlockResponse {
|
|
509
|
-
function encode(message: FriendshipUpdate_BlockResponse, writer?: _m0.Writer): _m0.Writer;
|
|
510
|
-
function decode(input: _m0.Reader | Uint8Array, length?: number): FriendshipUpdate_BlockResponse;
|
|
511
|
-
function fromJSON(object: any): FriendshipUpdate_BlockResponse;
|
|
512
|
-
function toJSON(message: FriendshipUpdate_BlockResponse): unknown;
|
|
513
|
-
function create<I extends Exact<DeepPartial<FriendshipUpdate_BlockResponse>, I>>(base?: I): FriendshipUpdate_BlockResponse;
|
|
514
|
-
function fromPartial<I extends Exact<DeepPartial<FriendshipUpdate_BlockResponse>, I>>(object: I): FriendshipUpdate_BlockResponse;
|
|
515
|
-
}
|
|
516
|
-
export declare namespace FriendConnectivityUpdate {
|
|
517
|
-
function encode(message: FriendConnectivityUpdate, writer?: _m0.Writer): _m0.Writer;
|
|
518
|
-
function decode(input: _m0.Reader | Uint8Array, length?: number): FriendConnectivityUpdate;
|
|
519
|
-
function fromJSON(object: any): FriendConnectivityUpdate;
|
|
520
|
-
function toJSON(message: FriendConnectivityUpdate): unknown;
|
|
521
|
-
function create<I extends Exact<DeepPartial<FriendConnectivityUpdate>, I>>(base?: I): FriendConnectivityUpdate;
|
|
522
|
-
function fromPartial<I extends Exact<DeepPartial<FriendConnectivityUpdate>, I>>(object: I): FriendConnectivityUpdate;
|
|
523
|
-
}
|
|
524
370
|
export declare namespace GetFriendshipStatusPayload {
|
|
525
371
|
function encode(message: GetFriendshipStatusPayload, writer?: _m0.Writer): _m0.Writer;
|
|
526
372
|
function decode(input: _m0.Reader | Uint8Array, length?: number): GetFriendshipStatusPayload;
|
|
@@ -545,86 +391,6 @@ export declare namespace GetFriendshipStatusResponse_Ok {
|
|
|
545
391
|
function create<I extends Exact<DeepPartial<GetFriendshipStatusResponse_Ok>, I>>(base?: I): GetFriendshipStatusResponse_Ok;
|
|
546
392
|
function fromPartial<I extends Exact<DeepPartial<GetFriendshipStatusResponse_Ok>, I>>(object: I): GetFriendshipStatusResponse_Ok;
|
|
547
393
|
}
|
|
548
|
-
export declare namespace BlockUserPayload {
|
|
549
|
-
function encode(message: BlockUserPayload, writer?: _m0.Writer): _m0.Writer;
|
|
550
|
-
function decode(input: _m0.Reader | Uint8Array, length?: number): BlockUserPayload;
|
|
551
|
-
function fromJSON(object: any): BlockUserPayload;
|
|
552
|
-
function toJSON(message: BlockUserPayload): unknown;
|
|
553
|
-
function create<I extends Exact<DeepPartial<BlockUserPayload>, I>>(base?: I): BlockUserPayload;
|
|
554
|
-
function fromPartial<I extends Exact<DeepPartial<BlockUserPayload>, I>>(object: I): BlockUserPayload;
|
|
555
|
-
}
|
|
556
|
-
export declare namespace BlockUserResponse {
|
|
557
|
-
function encode(message: BlockUserResponse, writer?: _m0.Writer): _m0.Writer;
|
|
558
|
-
function decode(input: _m0.Reader | Uint8Array, length?: number): BlockUserResponse;
|
|
559
|
-
function fromJSON(object: any): BlockUserResponse;
|
|
560
|
-
function toJSON(message: BlockUserResponse): unknown;
|
|
561
|
-
function create<I extends Exact<DeepPartial<BlockUserResponse>, I>>(base?: I): BlockUserResponse;
|
|
562
|
-
function fromPartial<I extends Exact<DeepPartial<BlockUserResponse>, I>>(object: I): BlockUserResponse;
|
|
563
|
-
}
|
|
564
|
-
export declare namespace BlockUserResponse_Ok {
|
|
565
|
-
function encode(message: BlockUserResponse_Ok, writer?: _m0.Writer): _m0.Writer;
|
|
566
|
-
function decode(input: _m0.Reader | Uint8Array, length?: number): BlockUserResponse_Ok;
|
|
567
|
-
function fromJSON(object: any): BlockUserResponse_Ok;
|
|
568
|
-
function toJSON(message: BlockUserResponse_Ok): unknown;
|
|
569
|
-
function create<I extends Exact<DeepPartial<BlockUserResponse_Ok>, I>>(base?: I): BlockUserResponse_Ok;
|
|
570
|
-
function fromPartial<I extends Exact<DeepPartial<BlockUserResponse_Ok>, I>>(object: I): BlockUserResponse_Ok;
|
|
571
|
-
}
|
|
572
|
-
export declare namespace UnblockUserPayload {
|
|
573
|
-
function encode(message: UnblockUserPayload, writer?: _m0.Writer): _m0.Writer;
|
|
574
|
-
function decode(input: _m0.Reader | Uint8Array, length?: number): UnblockUserPayload;
|
|
575
|
-
function fromJSON(object: any): UnblockUserPayload;
|
|
576
|
-
function toJSON(message: UnblockUserPayload): unknown;
|
|
577
|
-
function create<I extends Exact<DeepPartial<UnblockUserPayload>, I>>(base?: I): UnblockUserPayload;
|
|
578
|
-
function fromPartial<I extends Exact<DeepPartial<UnblockUserPayload>, I>>(object: I): UnblockUserPayload;
|
|
579
|
-
}
|
|
580
|
-
export declare namespace UnblockUserResponse {
|
|
581
|
-
function encode(message: UnblockUserResponse, writer?: _m0.Writer): _m0.Writer;
|
|
582
|
-
function decode(input: _m0.Reader | Uint8Array, length?: number): UnblockUserResponse;
|
|
583
|
-
function fromJSON(object: any): UnblockUserResponse;
|
|
584
|
-
function toJSON(message: UnblockUserResponse): unknown;
|
|
585
|
-
function create<I extends Exact<DeepPartial<UnblockUserResponse>, I>>(base?: I): UnblockUserResponse;
|
|
586
|
-
function fromPartial<I extends Exact<DeepPartial<UnblockUserResponse>, I>>(object: I): UnblockUserResponse;
|
|
587
|
-
}
|
|
588
|
-
export declare namespace UnblockUserResponse_Ok {
|
|
589
|
-
function encode(message: UnblockUserResponse_Ok, writer?: _m0.Writer): _m0.Writer;
|
|
590
|
-
function decode(input: _m0.Reader | Uint8Array, length?: number): UnblockUserResponse_Ok;
|
|
591
|
-
function fromJSON(object: any): UnblockUserResponse_Ok;
|
|
592
|
-
function toJSON(message: UnblockUserResponse_Ok): unknown;
|
|
593
|
-
function create<I extends Exact<DeepPartial<UnblockUserResponse_Ok>, I>>(base?: I): UnblockUserResponse_Ok;
|
|
594
|
-
function fromPartial<I extends Exact<DeepPartial<UnblockUserResponse_Ok>, I>>(object: I): UnblockUserResponse_Ok;
|
|
595
|
-
}
|
|
596
|
-
export declare namespace GetBlockedUsersPayload {
|
|
597
|
-
function encode(message: GetBlockedUsersPayload, writer?: _m0.Writer): _m0.Writer;
|
|
598
|
-
function decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockedUsersPayload;
|
|
599
|
-
function fromJSON(object: any): GetBlockedUsersPayload;
|
|
600
|
-
function toJSON(message: GetBlockedUsersPayload): unknown;
|
|
601
|
-
function create<I extends Exact<DeepPartial<GetBlockedUsersPayload>, I>>(base?: I): GetBlockedUsersPayload;
|
|
602
|
-
function fromPartial<I extends Exact<DeepPartial<GetBlockedUsersPayload>, I>>(object: I): GetBlockedUsersPayload;
|
|
603
|
-
}
|
|
604
|
-
export declare namespace GetBlockedUsersResponse {
|
|
605
|
-
function encode(message: GetBlockedUsersResponse, writer?: _m0.Writer): _m0.Writer;
|
|
606
|
-
function decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockedUsersResponse;
|
|
607
|
-
function fromJSON(object: any): GetBlockedUsersResponse;
|
|
608
|
-
function toJSON(message: GetBlockedUsersResponse): unknown;
|
|
609
|
-
function create<I extends Exact<DeepPartial<GetBlockedUsersResponse>, I>>(base?: I): GetBlockedUsersResponse;
|
|
610
|
-
function fromPartial<I extends Exact<DeepPartial<GetBlockedUsersResponse>, I>>(object: I): GetBlockedUsersResponse;
|
|
611
|
-
}
|
|
612
|
-
export declare namespace GetBlockingStatusResponse {
|
|
613
|
-
function encode(message: GetBlockingStatusResponse, writer?: _m0.Writer): _m0.Writer;
|
|
614
|
-
function decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockingStatusResponse;
|
|
615
|
-
function fromJSON(object: any): GetBlockingStatusResponse;
|
|
616
|
-
function toJSON(message: GetBlockingStatusResponse): unknown;
|
|
617
|
-
function create<I extends Exact<DeepPartial<GetBlockingStatusResponse>, I>>(base?: I): GetBlockingStatusResponse;
|
|
618
|
-
function fromPartial<I extends Exact<DeepPartial<GetBlockingStatusResponse>, I>>(object: I): GetBlockingStatusResponse;
|
|
619
|
-
}
|
|
620
|
-
export declare namespace BlockUpdate {
|
|
621
|
-
function encode(message: BlockUpdate, writer?: _m0.Writer): _m0.Writer;
|
|
622
|
-
function decode(input: _m0.Reader | Uint8Array, length?: number): BlockUpdate;
|
|
623
|
-
function fromJSON(object: any): BlockUpdate;
|
|
624
|
-
function toJSON(message: BlockUpdate): unknown;
|
|
625
|
-
function create<I extends Exact<DeepPartial<BlockUpdate>, I>>(base?: I): BlockUpdate;
|
|
626
|
-
function fromPartial<I extends Exact<DeepPartial<BlockUpdate>, I>>(object: I): BlockUpdate;
|
|
627
|
-
}
|
|
628
394
|
export type SocialServiceDefinition = typeof SocialServiceDefinition;
|
|
629
395
|
export declare const SocialServiceDefinition: {
|
|
630
396
|
readonly name: "SocialService";
|
|
@@ -635,7 +401,7 @@ export declare const SocialServiceDefinition: {
|
|
|
635
401
|
readonly name: "GetFriends";
|
|
636
402
|
readonly requestType: typeof GetFriendsPayload;
|
|
637
403
|
readonly requestStream: false;
|
|
638
|
-
readonly responseType: typeof
|
|
404
|
+
readonly responseType: typeof PaginatedUsersResponse;
|
|
639
405
|
readonly responseStream: false;
|
|
640
406
|
readonly options: {};
|
|
641
407
|
};
|
|
@@ -644,7 +410,7 @@ export declare const SocialServiceDefinition: {
|
|
|
644
410
|
readonly name: "GetMutualFriends";
|
|
645
411
|
readonly requestType: typeof GetMutualFriendsPayload;
|
|
646
412
|
readonly requestStream: false;
|
|
647
|
-
readonly responseType: typeof
|
|
413
|
+
readonly responseType: typeof PaginatedUsersResponse;
|
|
648
414
|
readonly responseStream: false;
|
|
649
415
|
readonly options: {};
|
|
650
416
|
};
|
|
@@ -684,7 +450,6 @@ export declare const SocialServiceDefinition: {
|
|
|
684
450
|
readonly responseStream: true;
|
|
685
451
|
readonly options: {};
|
|
686
452
|
};
|
|
687
|
-
/** Get the friendship status between the authenticated user and the one in the parameter */
|
|
688
453
|
readonly getFriendshipStatus: {
|
|
689
454
|
readonly name: "GetFriendshipStatus";
|
|
690
455
|
readonly requestType: typeof GetFriendshipStatusPayload;
|
|
@@ -693,55 +458,6 @@ export declare const SocialServiceDefinition: {
|
|
|
693
458
|
readonly responseStream: false;
|
|
694
459
|
readonly options: {};
|
|
695
460
|
};
|
|
696
|
-
/** Subscribe to connectivity updates of friends: ONLINE, OFFLINE, AWAY */
|
|
697
|
-
readonly subscribeToFriendConnectivityUpdates: {
|
|
698
|
-
readonly name: "SubscribeToFriendConnectivityUpdates";
|
|
699
|
-
readonly requestType: typeof Empty;
|
|
700
|
-
readonly requestStream: false;
|
|
701
|
-
readonly responseType: typeof FriendConnectivityUpdate;
|
|
702
|
-
readonly responseStream: true;
|
|
703
|
-
readonly options: {};
|
|
704
|
-
};
|
|
705
|
-
readonly blockUser: {
|
|
706
|
-
readonly name: "BlockUser";
|
|
707
|
-
readonly requestType: typeof BlockUserPayload;
|
|
708
|
-
readonly requestStream: false;
|
|
709
|
-
readonly responseType: typeof BlockUserResponse;
|
|
710
|
-
readonly responseStream: false;
|
|
711
|
-
readonly options: {};
|
|
712
|
-
};
|
|
713
|
-
readonly unblockUser: {
|
|
714
|
-
readonly name: "UnblockUser";
|
|
715
|
-
readonly requestType: typeof UnblockUserPayload;
|
|
716
|
-
readonly requestStream: false;
|
|
717
|
-
readonly responseType: typeof UnblockUserResponse;
|
|
718
|
-
readonly responseStream: false;
|
|
719
|
-
readonly options: {};
|
|
720
|
-
};
|
|
721
|
-
readonly getBlockedUsers: {
|
|
722
|
-
readonly name: "GetBlockedUsers";
|
|
723
|
-
readonly requestType: typeof GetBlockedUsersPayload;
|
|
724
|
-
readonly requestStream: false;
|
|
725
|
-
readonly responseType: typeof GetBlockedUsersResponse;
|
|
726
|
-
readonly responseStream: false;
|
|
727
|
-
readonly options: {};
|
|
728
|
-
};
|
|
729
|
-
readonly getBlockingStatus: {
|
|
730
|
-
readonly name: "GetBlockingStatus";
|
|
731
|
-
readonly requestType: typeof Empty;
|
|
732
|
-
readonly requestStream: false;
|
|
733
|
-
readonly responseType: typeof GetBlockingStatusResponse;
|
|
734
|
-
readonly responseStream: false;
|
|
735
|
-
readonly options: {};
|
|
736
|
-
};
|
|
737
|
-
readonly subscribeToBlockUpdates: {
|
|
738
|
-
readonly name: "SubscribeToBlockUpdates";
|
|
739
|
-
readonly requestType: typeof Empty;
|
|
740
|
-
readonly requestStream: false;
|
|
741
|
-
readonly responseType: typeof BlockUpdate;
|
|
742
|
-
readonly responseStream: true;
|
|
743
|
-
readonly options: {};
|
|
744
|
-
};
|
|
745
461
|
};
|
|
746
462
|
};
|
|
747
463
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|