@dcl/protocol 1.0.0-14033082444.commit-84b403d → 1.0.0-14129719212.commit-3bf30a3
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/social_service/v2/social_service_v2.gen.d.ts +476 -22
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +3343 -992
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js.map +1 -1
- package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +3651 -1016
- package/package.json +2 -2
- package/proto/decentraland/sdk/components/light_source.proto +35 -0
- package/proto/decentraland/sdk/components/virtual_camera.proto +2 -0
- package/proto/decentraland/social_service/v2/social_service_v2.proto +189 -9
|
@@ -17,34 +17,71 @@ export declare enum FriendshipStatus {
|
|
|
17
17
|
REJECTED = 4,
|
|
18
18
|
DELETED = 5,
|
|
19
19
|
BLOCKED = 6,
|
|
20
|
+
NONE = 7,
|
|
21
|
+
BLOCKED_BY = 8,
|
|
20
22
|
UNRECOGNIZED = -1
|
|
21
23
|
}
|
|
22
24
|
export declare function friendshipStatusFromJSON(object: any): FriendshipStatus;
|
|
23
25
|
export declare function friendshipStatusToJSON(object: FriendshipStatus): string;
|
|
26
|
+
export declare enum PrivateMessagePrivacySetting {
|
|
27
|
+
ALL = 0,
|
|
28
|
+
ONLY_FRIENDS = 1,
|
|
29
|
+
UNRECOGNIZED = -1
|
|
30
|
+
}
|
|
31
|
+
export declare function privateMessagePrivacySettingFromJSON(object: any): PrivateMessagePrivacySetting;
|
|
32
|
+
export declare function privateMessagePrivacySettingToJSON(object: PrivateMessagePrivacySetting): string;
|
|
33
|
+
export declare enum BlockedUsersMessagesVisibilitySetting {
|
|
34
|
+
SHOW_MESSAGES = 0,
|
|
35
|
+
DO_NOT_SHOW_MESSAGES = 1,
|
|
36
|
+
UNRECOGNIZED = -1
|
|
37
|
+
}
|
|
38
|
+
export declare function blockedUsersMessagesVisibilitySettingFromJSON(object: any): BlockedUsersMessagesVisibilitySetting;
|
|
39
|
+
export declare function blockedUsersMessagesVisibilitySettingToJSON(object: BlockedUsersMessagesVisibilitySetting): string;
|
|
24
40
|
/** Errors */
|
|
25
41
|
export interface InvalidFriendshipAction {
|
|
42
|
+
message?: string | undefined;
|
|
26
43
|
}
|
|
27
44
|
export interface InternalServerError {
|
|
45
|
+
message?: string | undefined;
|
|
46
|
+
}
|
|
47
|
+
export interface InvalidRequest {
|
|
48
|
+
message?: string | undefined;
|
|
49
|
+
}
|
|
50
|
+
export interface ProfileNotFound {
|
|
51
|
+
message?: string | undefined;
|
|
28
52
|
}
|
|
29
53
|
/** Types */
|
|
30
54
|
export interface User {
|
|
31
55
|
address: string;
|
|
32
56
|
}
|
|
57
|
+
export interface FriendProfile {
|
|
58
|
+
address: string;
|
|
59
|
+
name: string;
|
|
60
|
+
hasClaimedName: boolean;
|
|
61
|
+
profilePictureUrl: string;
|
|
62
|
+
}
|
|
63
|
+
export interface BlockedUserProfile {
|
|
64
|
+
address: string;
|
|
65
|
+
name: string;
|
|
66
|
+
hasClaimedName: boolean;
|
|
67
|
+
profilePictureUrl: string;
|
|
68
|
+
blockedAt?: number | undefined;
|
|
69
|
+
}
|
|
33
70
|
export interface Pagination {
|
|
34
71
|
limit: number;
|
|
35
72
|
offset: number;
|
|
36
73
|
}
|
|
37
74
|
export interface FriendshipRequestResponse {
|
|
38
|
-
|
|
75
|
+
friend: FriendProfile | undefined;
|
|
39
76
|
createdAt: number;
|
|
40
77
|
message?: string | undefined;
|
|
78
|
+
id: string;
|
|
41
79
|
}
|
|
42
80
|
export interface FriendshipRequests {
|
|
43
81
|
requests: FriendshipRequestResponse[];
|
|
44
82
|
}
|
|
45
83
|
export interface GetFriendsPayload {
|
|
46
84
|
pagination?: Pagination | undefined;
|
|
47
|
-
status?: ConnectivityStatus | undefined;
|
|
48
85
|
}
|
|
49
86
|
export interface GetFriendshipRequestsPayload {
|
|
50
87
|
pagination?: Pagination | undefined;
|
|
@@ -91,8 +128,8 @@ export interface PaginatedResponse {
|
|
|
91
128
|
total: number;
|
|
92
129
|
page: number;
|
|
93
130
|
}
|
|
94
|
-
export interface
|
|
95
|
-
|
|
131
|
+
export interface PaginatedFriendsProfilesResponse {
|
|
132
|
+
friends: FriendProfile[];
|
|
96
133
|
paginationData: PaginatedResponse | undefined;
|
|
97
134
|
}
|
|
98
135
|
export interface PaginatedFriendshipRequestsResponse {
|
|
@@ -120,11 +157,13 @@ export interface UpsertFriendshipResponse {
|
|
|
120
157
|
export interface UpsertFriendshipResponse_Accepted {
|
|
121
158
|
id: string;
|
|
122
159
|
createdAt: number;
|
|
160
|
+
friend: FriendProfile | undefined;
|
|
161
|
+
message?: string | undefined;
|
|
123
162
|
}
|
|
124
163
|
export interface FriendshipUpdate {
|
|
125
164
|
update?: {
|
|
126
165
|
$case: "request";
|
|
127
|
-
request:
|
|
166
|
+
request: FriendshipUpdate_RequestResponse;
|
|
128
167
|
} | {
|
|
129
168
|
$case: "accept";
|
|
130
169
|
accept: FriendshipUpdate_AcceptResponse;
|
|
@@ -137,8 +176,17 @@ export interface FriendshipUpdate {
|
|
|
137
176
|
} | {
|
|
138
177
|
$case: "cancel";
|
|
139
178
|
cancel: FriendshipUpdate_CancelResponse;
|
|
179
|
+
} | {
|
|
180
|
+
$case: "block";
|
|
181
|
+
block: FriendshipUpdate_BlockResponse;
|
|
140
182
|
} | undefined;
|
|
141
183
|
}
|
|
184
|
+
export interface FriendshipUpdate_RequestResponse {
|
|
185
|
+
friend: FriendProfile | undefined;
|
|
186
|
+
createdAt: number;
|
|
187
|
+
message?: string | undefined;
|
|
188
|
+
id: string;
|
|
189
|
+
}
|
|
142
190
|
export interface FriendshipUpdate_AcceptResponse {
|
|
143
191
|
user: User | undefined;
|
|
144
192
|
}
|
|
@@ -151,6 +199,13 @@ export interface FriendshipUpdate_DeleteResponse {
|
|
|
151
199
|
export interface FriendshipUpdate_CancelResponse {
|
|
152
200
|
user: User | undefined;
|
|
153
201
|
}
|
|
202
|
+
export interface FriendshipUpdate_BlockResponse {
|
|
203
|
+
user: User | undefined;
|
|
204
|
+
}
|
|
205
|
+
export interface FriendConnectivityUpdate {
|
|
206
|
+
friend: FriendProfile | undefined;
|
|
207
|
+
status: ConnectivityStatus;
|
|
208
|
+
}
|
|
154
209
|
export interface GetFriendshipStatusPayload {
|
|
155
210
|
user: User | undefined;
|
|
156
211
|
}
|
|
@@ -167,21 +222,151 @@ export interface GetFriendshipStatusResponse_Ok {
|
|
|
167
222
|
status: FriendshipStatus;
|
|
168
223
|
message?: string | undefined;
|
|
169
224
|
}
|
|
225
|
+
export interface BlockUserPayload {
|
|
226
|
+
user: User | undefined;
|
|
227
|
+
}
|
|
228
|
+
export interface BlockUserResponse {
|
|
229
|
+
response?: {
|
|
230
|
+
$case: "ok";
|
|
231
|
+
ok: BlockUserResponse_Ok;
|
|
232
|
+
} | {
|
|
233
|
+
$case: "internalServerError";
|
|
234
|
+
internalServerError: InternalServerError;
|
|
235
|
+
} | {
|
|
236
|
+
$case: "invalidRequest";
|
|
237
|
+
invalidRequest: InvalidRequest;
|
|
238
|
+
} | {
|
|
239
|
+
$case: "profileNotFound";
|
|
240
|
+
profileNotFound: ProfileNotFound;
|
|
241
|
+
} | undefined;
|
|
242
|
+
}
|
|
243
|
+
export interface BlockUserResponse_Ok {
|
|
244
|
+
profile: BlockedUserProfile | undefined;
|
|
245
|
+
}
|
|
246
|
+
export interface UnblockUserPayload {
|
|
247
|
+
user: User | undefined;
|
|
248
|
+
}
|
|
249
|
+
export interface UnblockUserResponse {
|
|
250
|
+
response?: {
|
|
251
|
+
$case: "ok";
|
|
252
|
+
ok: UnblockUserResponse_Ok;
|
|
253
|
+
} | {
|
|
254
|
+
$case: "internalServerError";
|
|
255
|
+
internalServerError: InternalServerError;
|
|
256
|
+
} | {
|
|
257
|
+
$case: "invalidRequest";
|
|
258
|
+
invalidRequest: InvalidRequest;
|
|
259
|
+
} | {
|
|
260
|
+
$case: "profileNotFound";
|
|
261
|
+
profileNotFound: ProfileNotFound;
|
|
262
|
+
} | undefined;
|
|
263
|
+
}
|
|
264
|
+
export interface UnblockUserResponse_Ok {
|
|
265
|
+
profile: BlockedUserProfile | undefined;
|
|
266
|
+
}
|
|
267
|
+
export interface SocialSettings {
|
|
268
|
+
privateMessagesPrivacy: PrivateMessagePrivacySetting;
|
|
269
|
+
blockedUsersMessagesVisibility: BlockedUsersMessagesVisibilitySetting;
|
|
270
|
+
}
|
|
271
|
+
export interface GetSocialSettingsResponse {
|
|
272
|
+
response?: {
|
|
273
|
+
$case: "ok";
|
|
274
|
+
ok: GetSocialSettingsResponse_Ok;
|
|
275
|
+
} | {
|
|
276
|
+
$case: "internalServerError";
|
|
277
|
+
internalServerError: InternalServerError;
|
|
278
|
+
} | undefined;
|
|
279
|
+
}
|
|
280
|
+
export interface GetSocialSettingsResponse_Ok {
|
|
281
|
+
settings: SocialSettings | undefined;
|
|
282
|
+
}
|
|
283
|
+
export interface UpsertSocialSettingsPayload {
|
|
284
|
+
privateMessagesPrivacy?: PrivateMessagePrivacySetting | undefined;
|
|
285
|
+
blockedUsersMessagesVisibility?: BlockedUsersMessagesVisibilitySetting | undefined;
|
|
286
|
+
}
|
|
287
|
+
export interface UpsertSocialSettingsResponse {
|
|
288
|
+
response?: {
|
|
289
|
+
$case: "ok";
|
|
290
|
+
ok: SocialSettings;
|
|
291
|
+
} | {
|
|
292
|
+
$case: "internalServerError";
|
|
293
|
+
internalServerError: InternalServerError;
|
|
294
|
+
} | {
|
|
295
|
+
$case: "invalidRequest";
|
|
296
|
+
invalidRequest: InvalidRequest;
|
|
297
|
+
} | undefined;
|
|
298
|
+
}
|
|
299
|
+
export interface GetPrivateMessagesSettingsPayload {
|
|
300
|
+
user: User[];
|
|
301
|
+
}
|
|
302
|
+
export interface GetPrivateMessagesSettingsResponse {
|
|
303
|
+
response?: {
|
|
304
|
+
$case: "ok";
|
|
305
|
+
ok: GetPrivateMessagesSettingsResponse_Ok;
|
|
306
|
+
} | {
|
|
307
|
+
$case: "internalServerError";
|
|
308
|
+
internalServerError: InternalServerError;
|
|
309
|
+
} | {
|
|
310
|
+
$case: "invalidRequest";
|
|
311
|
+
invalidRequest: InvalidRequest;
|
|
312
|
+
} | {
|
|
313
|
+
$case: "profileNotFound";
|
|
314
|
+
profileNotFound: ProfileNotFound;
|
|
315
|
+
} | undefined;
|
|
316
|
+
}
|
|
317
|
+
export interface GetPrivateMessagesSettingsResponse_PrivateMessagesSettings {
|
|
318
|
+
user: User | undefined;
|
|
319
|
+
privateMessagesPrivacy: PrivateMessagePrivacySetting;
|
|
320
|
+
}
|
|
321
|
+
export interface GetPrivateMessagesSettingsResponse_Ok {
|
|
322
|
+
settings: GetPrivateMessagesSettingsResponse_PrivateMessagesSettings[];
|
|
323
|
+
}
|
|
324
|
+
export interface GetBlockedUsersPayload {
|
|
325
|
+
pagination?: Pagination | undefined;
|
|
326
|
+
}
|
|
327
|
+
export interface GetBlockedUsersResponse {
|
|
328
|
+
profiles: BlockedUserProfile[];
|
|
329
|
+
paginationData: PaginatedResponse | undefined;
|
|
330
|
+
}
|
|
331
|
+
export interface GetBlockingStatusResponse {
|
|
332
|
+
blockedUsers: string[];
|
|
333
|
+
blockedByUsers: string[];
|
|
334
|
+
}
|
|
335
|
+
export interface BlockUpdate {
|
|
336
|
+
address: string;
|
|
337
|
+
isBlocked: boolean;
|
|
338
|
+
}
|
|
170
339
|
export declare namespace InvalidFriendshipAction {
|
|
171
|
-
function encode(
|
|
340
|
+
function encode(message: InvalidFriendshipAction, writer?: _m0.Writer): _m0.Writer;
|
|
172
341
|
function decode(input: _m0.Reader | Uint8Array, length?: number): InvalidFriendshipAction;
|
|
173
|
-
function fromJSON(
|
|
174
|
-
function toJSON(
|
|
342
|
+
function fromJSON(object: any): InvalidFriendshipAction;
|
|
343
|
+
function toJSON(message: InvalidFriendshipAction): unknown;
|
|
175
344
|
function create<I extends Exact<DeepPartial<InvalidFriendshipAction>, I>>(base?: I): InvalidFriendshipAction;
|
|
176
|
-
function fromPartial<I extends Exact<DeepPartial<InvalidFriendshipAction>, I>>(
|
|
345
|
+
function fromPartial<I extends Exact<DeepPartial<InvalidFriendshipAction>, I>>(object: I): InvalidFriendshipAction;
|
|
177
346
|
}
|
|
178
347
|
export declare namespace InternalServerError {
|
|
179
|
-
function encode(
|
|
348
|
+
function encode(message: InternalServerError, writer?: _m0.Writer): _m0.Writer;
|
|
180
349
|
function decode(input: _m0.Reader | Uint8Array, length?: number): InternalServerError;
|
|
181
|
-
function fromJSON(
|
|
182
|
-
function toJSON(
|
|
350
|
+
function fromJSON(object: any): InternalServerError;
|
|
351
|
+
function toJSON(message: InternalServerError): unknown;
|
|
183
352
|
function create<I extends Exact<DeepPartial<InternalServerError>, I>>(base?: I): InternalServerError;
|
|
184
|
-
function fromPartial<I extends Exact<DeepPartial<InternalServerError>, I>>(
|
|
353
|
+
function fromPartial<I extends Exact<DeepPartial<InternalServerError>, I>>(object: I): InternalServerError;
|
|
354
|
+
}
|
|
355
|
+
export declare namespace InvalidRequest {
|
|
356
|
+
function encode(message: InvalidRequest, writer?: _m0.Writer): _m0.Writer;
|
|
357
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): InvalidRequest;
|
|
358
|
+
function fromJSON(object: any): InvalidRequest;
|
|
359
|
+
function toJSON(message: InvalidRequest): unknown;
|
|
360
|
+
function create<I extends Exact<DeepPartial<InvalidRequest>, I>>(base?: I): InvalidRequest;
|
|
361
|
+
function fromPartial<I extends Exact<DeepPartial<InvalidRequest>, I>>(object: I): InvalidRequest;
|
|
362
|
+
}
|
|
363
|
+
export declare namespace ProfileNotFound {
|
|
364
|
+
function encode(message: ProfileNotFound, writer?: _m0.Writer): _m0.Writer;
|
|
365
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): ProfileNotFound;
|
|
366
|
+
function fromJSON(object: any): ProfileNotFound;
|
|
367
|
+
function toJSON(message: ProfileNotFound): unknown;
|
|
368
|
+
function create<I extends Exact<DeepPartial<ProfileNotFound>, I>>(base?: I): ProfileNotFound;
|
|
369
|
+
function fromPartial<I extends Exact<DeepPartial<ProfileNotFound>, I>>(object: I): ProfileNotFound;
|
|
185
370
|
}
|
|
186
371
|
export declare namespace User {
|
|
187
372
|
function encode(message: User, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -191,6 +376,22 @@ export declare namespace User {
|
|
|
191
376
|
function create<I extends Exact<DeepPartial<User>, I>>(base?: I): User;
|
|
192
377
|
function fromPartial<I extends Exact<DeepPartial<User>, I>>(object: I): User;
|
|
193
378
|
}
|
|
379
|
+
export declare namespace FriendProfile {
|
|
380
|
+
function encode(message: FriendProfile, writer?: _m0.Writer): _m0.Writer;
|
|
381
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): FriendProfile;
|
|
382
|
+
function fromJSON(object: any): FriendProfile;
|
|
383
|
+
function toJSON(message: FriendProfile): unknown;
|
|
384
|
+
function create<I extends Exact<DeepPartial<FriendProfile>, I>>(base?: I): FriendProfile;
|
|
385
|
+
function fromPartial<I extends Exact<DeepPartial<FriendProfile>, I>>(object: I): FriendProfile;
|
|
386
|
+
}
|
|
387
|
+
export declare namespace BlockedUserProfile {
|
|
388
|
+
function encode(message: BlockedUserProfile, writer?: _m0.Writer): _m0.Writer;
|
|
389
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): BlockedUserProfile;
|
|
390
|
+
function fromJSON(object: any): BlockedUserProfile;
|
|
391
|
+
function toJSON(message: BlockedUserProfile): unknown;
|
|
392
|
+
function create<I extends Exact<DeepPartial<BlockedUserProfile>, I>>(base?: I): BlockedUserProfile;
|
|
393
|
+
function fromPartial<I extends Exact<DeepPartial<BlockedUserProfile>, I>>(object: I): BlockedUserProfile;
|
|
394
|
+
}
|
|
194
395
|
export declare namespace Pagination {
|
|
195
396
|
function encode(message: Pagination, writer?: _m0.Writer): _m0.Writer;
|
|
196
397
|
function decode(input: _m0.Reader | Uint8Array, length?: number): Pagination;
|
|
@@ -295,13 +496,13 @@ export declare namespace PaginatedResponse {
|
|
|
295
496
|
function create<I extends Exact<DeepPartial<PaginatedResponse>, I>>(base?: I): PaginatedResponse;
|
|
296
497
|
function fromPartial<I extends Exact<DeepPartial<PaginatedResponse>, I>>(object: I): PaginatedResponse;
|
|
297
498
|
}
|
|
298
|
-
export declare namespace
|
|
299
|
-
function encode(message:
|
|
300
|
-
function decode(input: _m0.Reader | Uint8Array, length?: number):
|
|
301
|
-
function fromJSON(object: any):
|
|
302
|
-
function toJSON(message:
|
|
303
|
-
function create<I extends Exact<DeepPartial<
|
|
304
|
-
function fromPartial<I extends Exact<DeepPartial<
|
|
499
|
+
export declare namespace PaginatedFriendsProfilesResponse {
|
|
500
|
+
function encode(message: PaginatedFriendsProfilesResponse, writer?: _m0.Writer): _m0.Writer;
|
|
501
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PaginatedFriendsProfilesResponse;
|
|
502
|
+
function fromJSON(object: any): PaginatedFriendsProfilesResponse;
|
|
503
|
+
function toJSON(message: PaginatedFriendsProfilesResponse): unknown;
|
|
504
|
+
function create<I extends Exact<DeepPartial<PaginatedFriendsProfilesResponse>, I>>(base?: I): PaginatedFriendsProfilesResponse;
|
|
505
|
+
function fromPartial<I extends Exact<DeepPartial<PaginatedFriendsProfilesResponse>, I>>(object: I): PaginatedFriendsProfilesResponse;
|
|
305
506
|
}
|
|
306
507
|
export declare namespace PaginatedFriendshipRequestsResponse {
|
|
307
508
|
function encode(message: PaginatedFriendshipRequestsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -335,6 +536,14 @@ export declare namespace FriendshipUpdate {
|
|
|
335
536
|
function create<I extends Exact<DeepPartial<FriendshipUpdate>, I>>(base?: I): FriendshipUpdate;
|
|
336
537
|
function fromPartial<I extends Exact<DeepPartial<FriendshipUpdate>, I>>(object: I): FriendshipUpdate;
|
|
337
538
|
}
|
|
539
|
+
export declare namespace FriendshipUpdate_RequestResponse {
|
|
540
|
+
function encode(message: FriendshipUpdate_RequestResponse, writer?: _m0.Writer): _m0.Writer;
|
|
541
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): FriendshipUpdate_RequestResponse;
|
|
542
|
+
function fromJSON(object: any): FriendshipUpdate_RequestResponse;
|
|
543
|
+
function toJSON(message: FriendshipUpdate_RequestResponse): unknown;
|
|
544
|
+
function create<I extends Exact<DeepPartial<FriendshipUpdate_RequestResponse>, I>>(base?: I): FriendshipUpdate_RequestResponse;
|
|
545
|
+
function fromPartial<I extends Exact<DeepPartial<FriendshipUpdate_RequestResponse>, I>>(object: I): FriendshipUpdate_RequestResponse;
|
|
546
|
+
}
|
|
338
547
|
export declare namespace FriendshipUpdate_AcceptResponse {
|
|
339
548
|
function encode(message: FriendshipUpdate_AcceptResponse, writer?: _m0.Writer): _m0.Writer;
|
|
340
549
|
function decode(input: _m0.Reader | Uint8Array, length?: number): FriendshipUpdate_AcceptResponse;
|
|
@@ -367,6 +576,22 @@ export declare namespace FriendshipUpdate_CancelResponse {
|
|
|
367
576
|
function create<I extends Exact<DeepPartial<FriendshipUpdate_CancelResponse>, I>>(base?: I): FriendshipUpdate_CancelResponse;
|
|
368
577
|
function fromPartial<I extends Exact<DeepPartial<FriendshipUpdate_CancelResponse>, I>>(object: I): FriendshipUpdate_CancelResponse;
|
|
369
578
|
}
|
|
579
|
+
export declare namespace FriendshipUpdate_BlockResponse {
|
|
580
|
+
function encode(message: FriendshipUpdate_BlockResponse, writer?: _m0.Writer): _m0.Writer;
|
|
581
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): FriendshipUpdate_BlockResponse;
|
|
582
|
+
function fromJSON(object: any): FriendshipUpdate_BlockResponse;
|
|
583
|
+
function toJSON(message: FriendshipUpdate_BlockResponse): unknown;
|
|
584
|
+
function create<I extends Exact<DeepPartial<FriendshipUpdate_BlockResponse>, I>>(base?: I): FriendshipUpdate_BlockResponse;
|
|
585
|
+
function fromPartial<I extends Exact<DeepPartial<FriendshipUpdate_BlockResponse>, I>>(object: I): FriendshipUpdate_BlockResponse;
|
|
586
|
+
}
|
|
587
|
+
export declare namespace FriendConnectivityUpdate {
|
|
588
|
+
function encode(message: FriendConnectivityUpdate, writer?: _m0.Writer): _m0.Writer;
|
|
589
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): FriendConnectivityUpdate;
|
|
590
|
+
function fromJSON(object: any): FriendConnectivityUpdate;
|
|
591
|
+
function toJSON(message: FriendConnectivityUpdate): unknown;
|
|
592
|
+
function create<I extends Exact<DeepPartial<FriendConnectivityUpdate>, I>>(base?: I): FriendConnectivityUpdate;
|
|
593
|
+
function fromPartial<I extends Exact<DeepPartial<FriendConnectivityUpdate>, I>>(object: I): FriendConnectivityUpdate;
|
|
594
|
+
}
|
|
370
595
|
export declare namespace GetFriendshipStatusPayload {
|
|
371
596
|
function encode(message: GetFriendshipStatusPayload, writer?: _m0.Writer): _m0.Writer;
|
|
372
597
|
function decode(input: _m0.Reader | Uint8Array, length?: number): GetFriendshipStatusPayload;
|
|
@@ -391,6 +616,158 @@ export declare namespace GetFriendshipStatusResponse_Ok {
|
|
|
391
616
|
function create<I extends Exact<DeepPartial<GetFriendshipStatusResponse_Ok>, I>>(base?: I): GetFriendshipStatusResponse_Ok;
|
|
392
617
|
function fromPartial<I extends Exact<DeepPartial<GetFriendshipStatusResponse_Ok>, I>>(object: I): GetFriendshipStatusResponse_Ok;
|
|
393
618
|
}
|
|
619
|
+
export declare namespace BlockUserPayload {
|
|
620
|
+
function encode(message: BlockUserPayload, writer?: _m0.Writer): _m0.Writer;
|
|
621
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): BlockUserPayload;
|
|
622
|
+
function fromJSON(object: any): BlockUserPayload;
|
|
623
|
+
function toJSON(message: BlockUserPayload): unknown;
|
|
624
|
+
function create<I extends Exact<DeepPartial<BlockUserPayload>, I>>(base?: I): BlockUserPayload;
|
|
625
|
+
function fromPartial<I extends Exact<DeepPartial<BlockUserPayload>, I>>(object: I): BlockUserPayload;
|
|
626
|
+
}
|
|
627
|
+
export declare namespace BlockUserResponse {
|
|
628
|
+
function encode(message: BlockUserResponse, writer?: _m0.Writer): _m0.Writer;
|
|
629
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): BlockUserResponse;
|
|
630
|
+
function fromJSON(object: any): BlockUserResponse;
|
|
631
|
+
function toJSON(message: BlockUserResponse): unknown;
|
|
632
|
+
function create<I extends Exact<DeepPartial<BlockUserResponse>, I>>(base?: I): BlockUserResponse;
|
|
633
|
+
function fromPartial<I extends Exact<DeepPartial<BlockUserResponse>, I>>(object: I): BlockUserResponse;
|
|
634
|
+
}
|
|
635
|
+
export declare namespace BlockUserResponse_Ok {
|
|
636
|
+
function encode(message: BlockUserResponse_Ok, writer?: _m0.Writer): _m0.Writer;
|
|
637
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): BlockUserResponse_Ok;
|
|
638
|
+
function fromJSON(object: any): BlockUserResponse_Ok;
|
|
639
|
+
function toJSON(message: BlockUserResponse_Ok): unknown;
|
|
640
|
+
function create<I extends Exact<DeepPartial<BlockUserResponse_Ok>, I>>(base?: I): BlockUserResponse_Ok;
|
|
641
|
+
function fromPartial<I extends Exact<DeepPartial<BlockUserResponse_Ok>, I>>(object: I): BlockUserResponse_Ok;
|
|
642
|
+
}
|
|
643
|
+
export declare namespace UnblockUserPayload {
|
|
644
|
+
function encode(message: UnblockUserPayload, writer?: _m0.Writer): _m0.Writer;
|
|
645
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): UnblockUserPayload;
|
|
646
|
+
function fromJSON(object: any): UnblockUserPayload;
|
|
647
|
+
function toJSON(message: UnblockUserPayload): unknown;
|
|
648
|
+
function create<I extends Exact<DeepPartial<UnblockUserPayload>, I>>(base?: I): UnblockUserPayload;
|
|
649
|
+
function fromPartial<I extends Exact<DeepPartial<UnblockUserPayload>, I>>(object: I): UnblockUserPayload;
|
|
650
|
+
}
|
|
651
|
+
export declare namespace UnblockUserResponse {
|
|
652
|
+
function encode(message: UnblockUserResponse, writer?: _m0.Writer): _m0.Writer;
|
|
653
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): UnblockUserResponse;
|
|
654
|
+
function fromJSON(object: any): UnblockUserResponse;
|
|
655
|
+
function toJSON(message: UnblockUserResponse): unknown;
|
|
656
|
+
function create<I extends Exact<DeepPartial<UnblockUserResponse>, I>>(base?: I): UnblockUserResponse;
|
|
657
|
+
function fromPartial<I extends Exact<DeepPartial<UnblockUserResponse>, I>>(object: I): UnblockUserResponse;
|
|
658
|
+
}
|
|
659
|
+
export declare namespace UnblockUserResponse_Ok {
|
|
660
|
+
function encode(message: UnblockUserResponse_Ok, writer?: _m0.Writer): _m0.Writer;
|
|
661
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): UnblockUserResponse_Ok;
|
|
662
|
+
function fromJSON(object: any): UnblockUserResponse_Ok;
|
|
663
|
+
function toJSON(message: UnblockUserResponse_Ok): unknown;
|
|
664
|
+
function create<I extends Exact<DeepPartial<UnblockUserResponse_Ok>, I>>(base?: I): UnblockUserResponse_Ok;
|
|
665
|
+
function fromPartial<I extends Exact<DeepPartial<UnblockUserResponse_Ok>, I>>(object: I): UnblockUserResponse_Ok;
|
|
666
|
+
}
|
|
667
|
+
export declare namespace SocialSettings {
|
|
668
|
+
function encode(message: SocialSettings, writer?: _m0.Writer): _m0.Writer;
|
|
669
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): SocialSettings;
|
|
670
|
+
function fromJSON(object: any): SocialSettings;
|
|
671
|
+
function toJSON(message: SocialSettings): unknown;
|
|
672
|
+
function create<I extends Exact<DeepPartial<SocialSettings>, I>>(base?: I): SocialSettings;
|
|
673
|
+
function fromPartial<I extends Exact<DeepPartial<SocialSettings>, I>>(object: I): SocialSettings;
|
|
674
|
+
}
|
|
675
|
+
export declare namespace GetSocialSettingsResponse {
|
|
676
|
+
function encode(message: GetSocialSettingsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
677
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): GetSocialSettingsResponse;
|
|
678
|
+
function fromJSON(object: any): GetSocialSettingsResponse;
|
|
679
|
+
function toJSON(message: GetSocialSettingsResponse): unknown;
|
|
680
|
+
function create<I extends Exact<DeepPartial<GetSocialSettingsResponse>, I>>(base?: I): GetSocialSettingsResponse;
|
|
681
|
+
function fromPartial<I extends Exact<DeepPartial<GetSocialSettingsResponse>, I>>(object: I): GetSocialSettingsResponse;
|
|
682
|
+
}
|
|
683
|
+
export declare namespace GetSocialSettingsResponse_Ok {
|
|
684
|
+
function encode(message: GetSocialSettingsResponse_Ok, writer?: _m0.Writer): _m0.Writer;
|
|
685
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): GetSocialSettingsResponse_Ok;
|
|
686
|
+
function fromJSON(object: any): GetSocialSettingsResponse_Ok;
|
|
687
|
+
function toJSON(message: GetSocialSettingsResponse_Ok): unknown;
|
|
688
|
+
function create<I extends Exact<DeepPartial<GetSocialSettingsResponse_Ok>, I>>(base?: I): GetSocialSettingsResponse_Ok;
|
|
689
|
+
function fromPartial<I extends Exact<DeepPartial<GetSocialSettingsResponse_Ok>, I>>(object: I): GetSocialSettingsResponse_Ok;
|
|
690
|
+
}
|
|
691
|
+
export declare namespace UpsertSocialSettingsPayload {
|
|
692
|
+
function encode(message: UpsertSocialSettingsPayload, writer?: _m0.Writer): _m0.Writer;
|
|
693
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): UpsertSocialSettingsPayload;
|
|
694
|
+
function fromJSON(object: any): UpsertSocialSettingsPayload;
|
|
695
|
+
function toJSON(message: UpsertSocialSettingsPayload): unknown;
|
|
696
|
+
function create<I extends Exact<DeepPartial<UpsertSocialSettingsPayload>, I>>(base?: I): UpsertSocialSettingsPayload;
|
|
697
|
+
function fromPartial<I extends Exact<DeepPartial<UpsertSocialSettingsPayload>, I>>(object: I): UpsertSocialSettingsPayload;
|
|
698
|
+
}
|
|
699
|
+
export declare namespace UpsertSocialSettingsResponse {
|
|
700
|
+
function encode(message: UpsertSocialSettingsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
701
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): UpsertSocialSettingsResponse;
|
|
702
|
+
function fromJSON(object: any): UpsertSocialSettingsResponse;
|
|
703
|
+
function toJSON(message: UpsertSocialSettingsResponse): unknown;
|
|
704
|
+
function create<I extends Exact<DeepPartial<UpsertSocialSettingsResponse>, I>>(base?: I): UpsertSocialSettingsResponse;
|
|
705
|
+
function fromPartial<I extends Exact<DeepPartial<UpsertSocialSettingsResponse>, I>>(object: I): UpsertSocialSettingsResponse;
|
|
706
|
+
}
|
|
707
|
+
export declare namespace GetPrivateMessagesSettingsPayload {
|
|
708
|
+
function encode(message: GetPrivateMessagesSettingsPayload, writer?: _m0.Writer): _m0.Writer;
|
|
709
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): GetPrivateMessagesSettingsPayload;
|
|
710
|
+
function fromJSON(object: any): GetPrivateMessagesSettingsPayload;
|
|
711
|
+
function toJSON(message: GetPrivateMessagesSettingsPayload): unknown;
|
|
712
|
+
function create<I extends Exact<DeepPartial<GetPrivateMessagesSettingsPayload>, I>>(base?: I): GetPrivateMessagesSettingsPayload;
|
|
713
|
+
function fromPartial<I extends Exact<DeepPartial<GetPrivateMessagesSettingsPayload>, I>>(object: I): GetPrivateMessagesSettingsPayload;
|
|
714
|
+
}
|
|
715
|
+
export declare namespace GetPrivateMessagesSettingsResponse {
|
|
716
|
+
function encode(message: GetPrivateMessagesSettingsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
717
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): GetPrivateMessagesSettingsResponse;
|
|
718
|
+
function fromJSON(object: any): GetPrivateMessagesSettingsResponse;
|
|
719
|
+
function toJSON(message: GetPrivateMessagesSettingsResponse): unknown;
|
|
720
|
+
function create<I extends Exact<DeepPartial<GetPrivateMessagesSettingsResponse>, I>>(base?: I): GetPrivateMessagesSettingsResponse;
|
|
721
|
+
function fromPartial<I extends Exact<DeepPartial<GetPrivateMessagesSettingsResponse>, I>>(object: I): GetPrivateMessagesSettingsResponse;
|
|
722
|
+
}
|
|
723
|
+
export declare namespace GetPrivateMessagesSettingsResponse_PrivateMessagesSettings {
|
|
724
|
+
function encode(message: GetPrivateMessagesSettingsResponse_PrivateMessagesSettings, writer?: _m0.Writer): _m0.Writer;
|
|
725
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): GetPrivateMessagesSettingsResponse_PrivateMessagesSettings;
|
|
726
|
+
function fromJSON(object: any): GetPrivateMessagesSettingsResponse_PrivateMessagesSettings;
|
|
727
|
+
function toJSON(message: GetPrivateMessagesSettingsResponse_PrivateMessagesSettings): unknown;
|
|
728
|
+
function create<I extends Exact<DeepPartial<GetPrivateMessagesSettingsResponse_PrivateMessagesSettings>, I>>(base?: I): GetPrivateMessagesSettingsResponse_PrivateMessagesSettings;
|
|
729
|
+
function fromPartial<I extends Exact<DeepPartial<GetPrivateMessagesSettingsResponse_PrivateMessagesSettings>, I>>(object: I): GetPrivateMessagesSettingsResponse_PrivateMessagesSettings;
|
|
730
|
+
}
|
|
731
|
+
export declare namespace GetPrivateMessagesSettingsResponse_Ok {
|
|
732
|
+
function encode(message: GetPrivateMessagesSettingsResponse_Ok, writer?: _m0.Writer): _m0.Writer;
|
|
733
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): GetPrivateMessagesSettingsResponse_Ok;
|
|
734
|
+
function fromJSON(object: any): GetPrivateMessagesSettingsResponse_Ok;
|
|
735
|
+
function toJSON(message: GetPrivateMessagesSettingsResponse_Ok): unknown;
|
|
736
|
+
function create<I extends Exact<DeepPartial<GetPrivateMessagesSettingsResponse_Ok>, I>>(base?: I): GetPrivateMessagesSettingsResponse_Ok;
|
|
737
|
+
function fromPartial<I extends Exact<DeepPartial<GetPrivateMessagesSettingsResponse_Ok>, I>>(object: I): GetPrivateMessagesSettingsResponse_Ok;
|
|
738
|
+
}
|
|
739
|
+
export declare namespace GetBlockedUsersPayload {
|
|
740
|
+
function encode(message: GetBlockedUsersPayload, writer?: _m0.Writer): _m0.Writer;
|
|
741
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockedUsersPayload;
|
|
742
|
+
function fromJSON(object: any): GetBlockedUsersPayload;
|
|
743
|
+
function toJSON(message: GetBlockedUsersPayload): unknown;
|
|
744
|
+
function create<I extends Exact<DeepPartial<GetBlockedUsersPayload>, I>>(base?: I): GetBlockedUsersPayload;
|
|
745
|
+
function fromPartial<I extends Exact<DeepPartial<GetBlockedUsersPayload>, I>>(object: I): GetBlockedUsersPayload;
|
|
746
|
+
}
|
|
747
|
+
export declare namespace GetBlockedUsersResponse {
|
|
748
|
+
function encode(message: GetBlockedUsersResponse, writer?: _m0.Writer): _m0.Writer;
|
|
749
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockedUsersResponse;
|
|
750
|
+
function fromJSON(object: any): GetBlockedUsersResponse;
|
|
751
|
+
function toJSON(message: GetBlockedUsersResponse): unknown;
|
|
752
|
+
function create<I extends Exact<DeepPartial<GetBlockedUsersResponse>, I>>(base?: I): GetBlockedUsersResponse;
|
|
753
|
+
function fromPartial<I extends Exact<DeepPartial<GetBlockedUsersResponse>, I>>(object: I): GetBlockedUsersResponse;
|
|
754
|
+
}
|
|
755
|
+
export declare namespace GetBlockingStatusResponse {
|
|
756
|
+
function encode(message: GetBlockingStatusResponse, writer?: _m0.Writer): _m0.Writer;
|
|
757
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockingStatusResponse;
|
|
758
|
+
function fromJSON(object: any): GetBlockingStatusResponse;
|
|
759
|
+
function toJSON(message: GetBlockingStatusResponse): unknown;
|
|
760
|
+
function create<I extends Exact<DeepPartial<GetBlockingStatusResponse>, I>>(base?: I): GetBlockingStatusResponse;
|
|
761
|
+
function fromPartial<I extends Exact<DeepPartial<GetBlockingStatusResponse>, I>>(object: I): GetBlockingStatusResponse;
|
|
762
|
+
}
|
|
763
|
+
export declare namespace BlockUpdate {
|
|
764
|
+
function encode(message: BlockUpdate, writer?: _m0.Writer): _m0.Writer;
|
|
765
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): BlockUpdate;
|
|
766
|
+
function fromJSON(object: any): BlockUpdate;
|
|
767
|
+
function toJSON(message: BlockUpdate): unknown;
|
|
768
|
+
function create<I extends Exact<DeepPartial<BlockUpdate>, I>>(base?: I): BlockUpdate;
|
|
769
|
+
function fromPartial<I extends Exact<DeepPartial<BlockUpdate>, I>>(object: I): BlockUpdate;
|
|
770
|
+
}
|
|
394
771
|
export type SocialServiceDefinition = typeof SocialServiceDefinition;
|
|
395
772
|
export declare const SocialServiceDefinition: {
|
|
396
773
|
readonly name: "SocialService";
|
|
@@ -401,7 +778,7 @@ export declare const SocialServiceDefinition: {
|
|
|
401
778
|
readonly name: "GetFriends";
|
|
402
779
|
readonly requestType: typeof GetFriendsPayload;
|
|
403
780
|
readonly requestStream: false;
|
|
404
|
-
readonly responseType: typeof
|
|
781
|
+
readonly responseType: typeof PaginatedFriendsProfilesResponse;
|
|
405
782
|
readonly responseStream: false;
|
|
406
783
|
readonly options: {};
|
|
407
784
|
};
|
|
@@ -410,7 +787,7 @@ export declare const SocialServiceDefinition: {
|
|
|
410
787
|
readonly name: "GetMutualFriends";
|
|
411
788
|
readonly requestType: typeof GetMutualFriendsPayload;
|
|
412
789
|
readonly requestStream: false;
|
|
413
|
-
readonly responseType: typeof
|
|
790
|
+
readonly responseType: typeof PaginatedFriendsProfilesResponse;
|
|
414
791
|
readonly responseStream: false;
|
|
415
792
|
readonly options: {};
|
|
416
793
|
};
|
|
@@ -450,6 +827,7 @@ export declare const SocialServiceDefinition: {
|
|
|
450
827
|
readonly responseStream: true;
|
|
451
828
|
readonly options: {};
|
|
452
829
|
};
|
|
830
|
+
/** Get the friendship status between the authenticated user and the one in the parameter */
|
|
453
831
|
readonly getFriendshipStatus: {
|
|
454
832
|
readonly name: "GetFriendshipStatus";
|
|
455
833
|
readonly requestType: typeof GetFriendshipStatusPayload;
|
|
@@ -458,6 +836,82 @@ export declare const SocialServiceDefinition: {
|
|
|
458
836
|
readonly responseStream: false;
|
|
459
837
|
readonly options: {};
|
|
460
838
|
};
|
|
839
|
+
/** Subscribe to connectivity updates of friends: ONLINE, OFFLINE, AWAY */
|
|
840
|
+
readonly subscribeToFriendConnectivityUpdates: {
|
|
841
|
+
readonly name: "SubscribeToFriendConnectivityUpdates";
|
|
842
|
+
readonly requestType: typeof Empty;
|
|
843
|
+
readonly requestStream: false;
|
|
844
|
+
readonly responseType: typeof FriendConnectivityUpdate;
|
|
845
|
+
readonly responseStream: true;
|
|
846
|
+
readonly options: {};
|
|
847
|
+
};
|
|
848
|
+
readonly blockUser: {
|
|
849
|
+
readonly name: "BlockUser";
|
|
850
|
+
readonly requestType: typeof BlockUserPayload;
|
|
851
|
+
readonly requestStream: false;
|
|
852
|
+
readonly responseType: typeof BlockUserResponse;
|
|
853
|
+
readonly responseStream: false;
|
|
854
|
+
readonly options: {};
|
|
855
|
+
};
|
|
856
|
+
readonly unblockUser: {
|
|
857
|
+
readonly name: "UnblockUser";
|
|
858
|
+
readonly requestType: typeof UnblockUserPayload;
|
|
859
|
+
readonly requestStream: false;
|
|
860
|
+
readonly responseType: typeof UnblockUserResponse;
|
|
861
|
+
readonly responseStream: false;
|
|
862
|
+
readonly options: {};
|
|
863
|
+
};
|
|
864
|
+
readonly getBlockedUsers: {
|
|
865
|
+
readonly name: "GetBlockedUsers";
|
|
866
|
+
readonly requestType: typeof GetBlockedUsersPayload;
|
|
867
|
+
readonly requestStream: false;
|
|
868
|
+
readonly responseType: typeof GetBlockedUsersResponse;
|
|
869
|
+
readonly responseStream: false;
|
|
870
|
+
readonly options: {};
|
|
871
|
+
};
|
|
872
|
+
readonly getBlockingStatus: {
|
|
873
|
+
readonly name: "GetBlockingStatus";
|
|
874
|
+
readonly requestType: typeof Empty;
|
|
875
|
+
readonly requestStream: false;
|
|
876
|
+
readonly responseType: typeof GetBlockingStatusResponse;
|
|
877
|
+
readonly responseStream: false;
|
|
878
|
+
readonly options: {};
|
|
879
|
+
};
|
|
880
|
+
readonly subscribeToBlockUpdates: {
|
|
881
|
+
readonly name: "SubscribeToBlockUpdates";
|
|
882
|
+
readonly requestType: typeof Empty;
|
|
883
|
+
readonly requestStream: false;
|
|
884
|
+
readonly responseType: typeof BlockUpdate;
|
|
885
|
+
readonly responseStream: true;
|
|
886
|
+
readonly options: {};
|
|
887
|
+
};
|
|
888
|
+
/** Get all the social settings for the authenticated user */
|
|
889
|
+
readonly getSocialSettings: {
|
|
890
|
+
readonly name: "GetSocialSettings";
|
|
891
|
+
readonly requestType: typeof Empty;
|
|
892
|
+
readonly requestStream: false;
|
|
893
|
+
readonly responseType: typeof GetSocialSettingsResponse;
|
|
894
|
+
readonly responseStream: false;
|
|
895
|
+
readonly options: {};
|
|
896
|
+
};
|
|
897
|
+
/** Insert or update the social settings for the authenticated user */
|
|
898
|
+
readonly upsertSocialSettings: {
|
|
899
|
+
readonly name: "UpsertSocialSettings";
|
|
900
|
+
readonly requestType: typeof UpsertSocialSettingsPayload;
|
|
901
|
+
readonly requestStream: false;
|
|
902
|
+
readonly responseType: typeof UpsertSocialSettingsResponse;
|
|
903
|
+
readonly responseStream: false;
|
|
904
|
+
readonly options: {};
|
|
905
|
+
};
|
|
906
|
+
/** Get the private messages privacy settings for the requested users */
|
|
907
|
+
readonly getPrivateMessagesSettings: {
|
|
908
|
+
readonly name: "GetPrivateMessagesSettings";
|
|
909
|
+
readonly requestType: typeof GetPrivateMessagesSettingsPayload;
|
|
910
|
+
readonly requestStream: false;
|
|
911
|
+
readonly responseType: typeof GetPrivateMessagesSettingsResponse;
|
|
912
|
+
readonly responseStream: false;
|
|
913
|
+
readonly options: {};
|
|
914
|
+
};
|
|
461
915
|
};
|
|
462
916
|
};
|
|
463
917
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|