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