@dcl/protocol 1.0.0-16564746732.commit-501dda6 → 1.0.0-16571544774.commit-3f0ec22

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.
@@ -17,97 +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
- export declare enum PrivateVoiceChatStatus {
41
- VOICE_CHAT_REQUESTED = 0,
42
- VOICE_CHAT_ACCEPTED = 1,
43
- VOICE_CHAT_REJECTED = 2,
44
- VOICE_CHAT_ENDED = 3,
45
- VOICE_CHAT_EXPIRED = 4,
46
- UNRECOGNIZED = -1
47
- }
48
- export declare function privateVoiceChatStatusFromJSON(object: any): PrivateVoiceChatStatus;
49
- export declare function privateVoiceChatStatusToJSON(object: PrivateVoiceChatStatus): string;
50
- export declare enum CommunityVoiceChatStatus {
51
- COMMUNITY_VOICE_CHAT_STARTED = 0,
52
- COMMUNITY_VOICE_CHAT_ENDED = 1,
53
- UNRECOGNIZED = -1
54
- }
55
- export declare function communityVoiceChatStatusFromJSON(object: any): CommunityVoiceChatStatus;
56
- export declare function communityVoiceChatStatusToJSON(object: CommunityVoiceChatStatus): string;
57
24
  /** Errors */
58
25
  export interface InvalidFriendshipAction {
59
- message?: string | undefined;
60
26
  }
61
27
  export interface InternalServerError {
62
- message?: string | undefined;
63
- }
64
- export interface InvalidRequest {
65
- message?: string | undefined;
66
- }
67
- export interface ProfileNotFound {
68
- message?: string | undefined;
69
- }
70
- export interface ConflictingError {
71
- message?: string | undefined;
72
- }
73
- export interface ForbiddenError {
74
- message?: string | undefined;
75
- }
76
- export interface NotFoundError {
77
- message?: string | undefined;
78
28
  }
79
29
  /** Types */
80
30
  export interface User {
81
31
  address: string;
82
32
  }
83
- export interface FriendProfile {
84
- address: string;
85
- name: string;
86
- hasClaimedName: boolean;
87
- profilePictureUrl: string;
88
- }
89
- export interface BlockedUserProfile {
90
- address: string;
91
- name: string;
92
- hasClaimedName: boolean;
93
- profilePictureUrl: string;
94
- blockedAt?: number | undefined;
95
- }
96
33
  export interface Pagination {
97
34
  limit: number;
98
35
  offset: number;
99
36
  }
100
37
  export interface FriendshipRequestResponse {
101
- friend: FriendProfile | undefined;
38
+ user: User | undefined;
102
39
  createdAt: number;
103
40
  message?: string | undefined;
104
- id: string;
105
41
  }
106
42
  export interface FriendshipRequests {
107
43
  requests: FriendshipRequestResponse[];
108
44
  }
109
45
  export interface GetFriendsPayload {
110
46
  pagination?: Pagination | undefined;
47
+ status?: ConnectivityStatus | undefined;
111
48
  }
112
49
  export interface GetFriendshipRequestsPayload {
113
50
  pagination?: Pagination | undefined;
@@ -154,8 +91,8 @@ export interface PaginatedResponse {
154
91
  total: number;
155
92
  page: number;
156
93
  }
157
- export interface PaginatedFriendsProfilesResponse {
158
- friends: FriendProfile[];
94
+ export interface PaginatedUsersResponse {
95
+ users: User[];
159
96
  paginationData: PaginatedResponse | undefined;
160
97
  }
161
98
  export interface PaginatedFriendshipRequestsResponse {
@@ -183,13 +120,11 @@ export interface UpsertFriendshipResponse {
183
120
  export interface UpsertFriendshipResponse_Accepted {
184
121
  id: string;
185
122
  createdAt: number;
186
- friend: FriendProfile | undefined;
187
- message?: string | undefined;
188
123
  }
189
124
  export interface FriendshipUpdate {
190
125
  update?: {
191
126
  $case: "request";
192
- request: FriendshipUpdate_RequestResponse;
127
+ request: FriendshipRequestResponse;
193
128
  } | {
194
129
  $case: "accept";
195
130
  accept: FriendshipUpdate_AcceptResponse;
@@ -202,17 +137,8 @@ export interface FriendshipUpdate {
202
137
  } | {
203
138
  $case: "cancel";
204
139
  cancel: FriendshipUpdate_CancelResponse;
205
- } | {
206
- $case: "block";
207
- block: FriendshipUpdate_BlockResponse;
208
140
  } | undefined;
209
141
  }
210
- export interface FriendshipUpdate_RequestResponse {
211
- friend: FriendProfile | undefined;
212
- createdAt: number;
213
- message?: string | undefined;
214
- id: string;
215
- }
216
142
  export interface FriendshipUpdate_AcceptResponse {
217
143
  user: User | undefined;
218
144
  }
@@ -225,13 +151,6 @@ export interface FriendshipUpdate_DeleteResponse {
225
151
  export interface FriendshipUpdate_CancelResponse {
226
152
  user: User | undefined;
227
153
  }
228
- export interface FriendshipUpdate_BlockResponse {
229
- user: User | undefined;
230
- }
231
- export interface FriendConnectivityUpdate {
232
- friend: FriendProfile | undefined;
233
- status: ConnectivityStatus;
234
- }
235
154
  export interface GetFriendshipStatusPayload {
236
155
  user: User | undefined;
237
156
  }
@@ -248,467 +167,21 @@ export interface GetFriendshipStatusResponse_Ok {
248
167
  status: FriendshipStatus;
249
168
  message?: string | undefined;
250
169
  }
251
- export interface BlockUserPayload {
252
- user: User | undefined;
253
- }
254
- export interface BlockUserResponse {
255
- response?: {
256
- $case: "ok";
257
- ok: BlockUserResponse_Ok;
258
- } | {
259
- $case: "internalServerError";
260
- internalServerError: InternalServerError;
261
- } | {
262
- $case: "invalidRequest";
263
- invalidRequest: InvalidRequest;
264
- } | {
265
- $case: "profileNotFound";
266
- profileNotFound: ProfileNotFound;
267
- } | undefined;
268
- }
269
- export interface BlockUserResponse_Ok {
270
- profile: BlockedUserProfile | undefined;
271
- }
272
- export interface UnblockUserPayload {
273
- user: User | undefined;
274
- }
275
- export interface UnblockUserResponse {
276
- response?: {
277
- $case: "ok";
278
- ok: UnblockUserResponse_Ok;
279
- } | {
280
- $case: "internalServerError";
281
- internalServerError: InternalServerError;
282
- } | {
283
- $case: "invalidRequest";
284
- invalidRequest: InvalidRequest;
285
- } | {
286
- $case: "profileNotFound";
287
- profileNotFound: ProfileNotFound;
288
- } | undefined;
289
- }
290
- export interface UnblockUserResponse_Ok {
291
- profile: BlockedUserProfile | undefined;
292
- }
293
- export interface SocialSettings {
294
- privateMessagesPrivacy: PrivateMessagePrivacySetting;
295
- blockedUsersMessagesVisibility: BlockedUsersMessagesVisibilitySetting;
296
- }
297
- export interface GetSocialSettingsResponse {
298
- response?: {
299
- $case: "ok";
300
- ok: GetSocialSettingsResponse_Ok;
301
- } | {
302
- $case: "internalServerError";
303
- internalServerError: InternalServerError;
304
- } | undefined;
305
- }
306
- export interface GetSocialSettingsResponse_Ok {
307
- settings: SocialSettings | undefined;
308
- }
309
- export interface UpsertSocialSettingsPayload {
310
- privateMessagesPrivacy?: PrivateMessagePrivacySetting | undefined;
311
- blockedUsersMessagesVisibility?: BlockedUsersMessagesVisibilitySetting | undefined;
312
- }
313
- export interface UpsertSocialSettingsResponse {
314
- response?: {
315
- $case: "ok";
316
- ok: SocialSettings;
317
- } | {
318
- $case: "internalServerError";
319
- internalServerError: InternalServerError;
320
- } | {
321
- $case: "invalidRequest";
322
- invalidRequest: InvalidRequest;
323
- } | undefined;
324
- }
325
- export interface GetPrivateMessagesSettingsPayload {
326
- user: User[];
327
- }
328
- export interface GetPrivateMessagesSettingsResponse {
329
- response?: {
330
- $case: "ok";
331
- ok: GetPrivateMessagesSettingsResponse_Ok;
332
- } | {
333
- $case: "internalServerError";
334
- internalServerError: InternalServerError;
335
- } | {
336
- $case: "invalidRequest";
337
- invalidRequest: InvalidRequest;
338
- } | {
339
- $case: "profileNotFound";
340
- profileNotFound: ProfileNotFound;
341
- } | undefined;
342
- }
343
- export interface GetPrivateMessagesSettingsResponse_PrivateMessagesSettings {
344
- user: User | undefined;
345
- privateMessagesPrivacy: PrivateMessagePrivacySetting;
346
- isFriend: boolean;
347
- }
348
- export interface GetPrivateMessagesSettingsResponse_Ok {
349
- settings: GetPrivateMessagesSettingsResponse_PrivateMessagesSettings[];
350
- }
351
- export interface GetBlockedUsersPayload {
352
- pagination?: Pagination | undefined;
353
- }
354
- export interface GetBlockedUsersResponse {
355
- profiles: BlockedUserProfile[];
356
- paginationData: PaginatedResponse | undefined;
357
- }
358
- export interface GetBlockingStatusResponse {
359
- blockedUsers: string[];
360
- blockedByUsers: string[];
361
- }
362
- export interface BlockUpdate {
363
- address: string;
364
- isBlocked: boolean;
365
- }
366
- export interface CommunityMemberConnectivityUpdate {
367
- communityId: string;
368
- member: User | undefined;
369
- status: ConnectivityStatus;
370
- }
371
- export interface StartPrivateVoiceChatPayload {
372
- callee: User | undefined;
373
- }
374
- export interface StartPrivateVoiceChatResponse {
375
- response?: {
376
- $case: "ok";
377
- ok: StartPrivateVoiceChatResponse_Ok;
378
- } | {
379
- $case: "internalServerError";
380
- internalServerError: InternalServerError;
381
- } | {
382
- $case: "invalidRequest";
383
- invalidRequest: InvalidRequest;
384
- } | {
385
- $case: "conflictingError";
386
- conflictingError: ConflictingError;
387
- } | {
388
- $case: "forbiddenError";
389
- forbiddenError: ForbiddenError;
390
- } | undefined;
391
- }
392
- export interface StartPrivateVoiceChatResponse_Ok {
393
- callId: string;
394
- }
395
- export interface AcceptPrivateVoiceChatPayload {
396
- callId: string;
397
- }
398
- export interface AcceptPrivateVoiceChatResponse {
399
- response?: {
400
- $case: "ok";
401
- ok: AcceptPrivateVoiceChatResponse_Ok;
402
- } | {
403
- $case: "internalServerError";
404
- internalServerError: InternalServerError;
405
- } | {
406
- $case: "invalidRequest";
407
- invalidRequest: InvalidRequest;
408
- } | {
409
- $case: "notFound";
410
- notFound: NotFoundError;
411
- } | {
412
- $case: "forbiddenError";
413
- forbiddenError: ForbiddenError;
414
- } | undefined;
415
- }
416
- export interface AcceptPrivateVoiceChatResponse_Ok {
417
- callId: string;
418
- credentials: PrivateVoiceChatCredentials | undefined;
419
- }
420
- export interface RejectPrivateVoiceChatPayload {
421
- callId: string;
422
- }
423
- export interface RejectPrivateVoiceChatResponse {
424
- response?: {
425
- $case: "ok";
426
- ok: RejectPrivateVoiceChatResponse_Ok;
427
- } | {
428
- $case: "internalServerError";
429
- internalServerError: InternalServerError;
430
- } | {
431
- $case: "invalidRequest";
432
- invalidRequest: InvalidRequest;
433
- } | {
434
- $case: "notFound";
435
- notFound: NotFoundError;
436
- } | undefined;
437
- }
438
- export interface RejectPrivateVoiceChatResponse_Ok {
439
- callId: string;
440
- }
441
- export interface PrivateVoiceChatCredentials {
442
- connectionUrl: string;
443
- }
444
- export interface PrivateVoiceChatUpdate {
445
- callId: string;
446
- status: PrivateVoiceChatStatus;
447
- caller?: User | undefined;
448
- callee?: User | undefined;
449
- credentials?: PrivateVoiceChatCredentials | undefined;
450
- }
451
- export interface EndPrivateVoiceChatPayload {
452
- callId: string;
453
- }
454
- export interface EndPrivateVoiceChatResponse {
455
- response?: {
456
- $case: "ok";
457
- ok: EndPrivateVoiceChatResponse_Ok;
458
- } | {
459
- $case: "internalServerError";
460
- internalServerError: InternalServerError;
461
- } | {
462
- $case: "notFound";
463
- notFound: NotFoundError;
464
- } | undefined;
465
- }
466
- export interface EndPrivateVoiceChatResponse_Ok {
467
- callId: string;
468
- }
469
- export interface GetIncomingPrivateVoiceChatRequestResponse {
470
- response?: {
471
- $case: "ok";
472
- ok: GetIncomingPrivateVoiceChatRequestResponse_Ok;
473
- } | {
474
- $case: "notFound";
475
- notFound: NotFoundError;
476
- } | {
477
- $case: "internalServerError";
478
- internalServerError: InternalServerError;
479
- } | undefined;
480
- }
481
- export interface GetIncomingPrivateVoiceChatRequestResponse_Ok {
482
- caller: User | undefined;
483
- callId: string;
484
- }
485
- /** Community voice chat credentials - specific type for community chats */
486
- export interface CommunityVoiceChatCredentials {
487
- connectionUrl: string;
488
- }
489
- /** Starting a community voice chat */
490
- export interface StartCommunityVoiceChatPayload {
491
- communityId: string;
492
- }
493
- export interface StartCommunityVoiceChatResponse {
494
- response?: {
495
- $case: "ok";
496
- ok: StartCommunityVoiceChatResponse_Ok;
497
- } | {
498
- $case: "invalidRequest";
499
- invalidRequest: InvalidRequest;
500
- } | {
501
- $case: "forbiddenError";
502
- forbiddenError: ForbiddenError;
503
- } | {
504
- $case: "conflictingError";
505
- conflictingError: ConflictingError;
506
- } | {
507
- $case: "internalServerError";
508
- internalServerError: InternalServerError;
509
- } | undefined;
510
- }
511
- export interface StartCommunityVoiceChatResponse_Ok {
512
- /** Moderator gets credentials immediately */
513
- credentials: CommunityVoiceChatCredentials | undefined;
514
- }
515
- /** Joining a community voice chat */
516
- export interface JoinCommunityVoiceChatPayload {
517
- communityId: string;
518
- }
519
- export interface JoinCommunityVoiceChatResponse {
520
- response?: {
521
- $case: "ok";
522
- ok: JoinCommunityVoiceChatResponse_Ok;
523
- } | {
524
- $case: "invalidRequest";
525
- invalidRequest: InvalidRequest;
526
- } | {
527
- $case: "forbiddenError";
528
- forbiddenError: ForbiddenError;
529
- } | {
530
- $case: "notFoundError";
531
- notFoundError: NotFoundError;
532
- } | {
533
- $case: "conflictingError";
534
- conflictingError: ConflictingError;
535
- } | {
536
- $case: "internalServerError";
537
- internalServerError: InternalServerError;
538
- } | undefined;
539
- }
540
- export interface JoinCommunityVoiceChatResponse_Ok {
541
- voiceChatId: string;
542
- credentials: CommunityVoiceChatCredentials | undefined;
543
- }
544
- /** Request to speak in community voice chat */
545
- export interface RequestToSpeakInCommunityVoiceChatPayload {
546
- communityId: string;
547
- }
548
- export interface RequestToSpeakInCommunityVoiceChatResponse {
549
- response?: {
550
- $case: "ok";
551
- ok: RequestToSpeakInCommunityVoiceChatResponse_Ok;
552
- } | {
553
- $case: "invalidRequest";
554
- invalidRequest: InvalidRequest;
555
- } | {
556
- $case: "forbiddenError";
557
- forbiddenError: ForbiddenError;
558
- } | {
559
- $case: "notFoundError";
560
- notFoundError: NotFoundError;
561
- } | {
562
- $case: "internalServerError";
563
- internalServerError: InternalServerError;
564
- } | undefined;
565
- }
566
- export interface RequestToSpeakInCommunityVoiceChatResponse_Ok {
567
- message: string;
568
- }
569
- /** Promote speaker in community voice chat */
570
- export interface PromoteSpeakerInCommunityVoiceChatPayload {
571
- communityId: string;
572
- userAddress: string;
573
- }
574
- export interface PromoteSpeakerInCommunityVoiceChatResponse {
575
- response?: {
576
- $case: "ok";
577
- ok: PromoteSpeakerInCommunityVoiceChatResponse_Ok;
578
- } | {
579
- $case: "invalidRequest";
580
- invalidRequest: InvalidRequest;
581
- } | {
582
- $case: "forbiddenError";
583
- forbiddenError: ForbiddenError;
584
- } | {
585
- $case: "notFoundError";
586
- notFoundError: NotFoundError;
587
- } | {
588
- $case: "internalServerError";
589
- internalServerError: InternalServerError;
590
- } | undefined;
591
- }
592
- export interface PromoteSpeakerInCommunityVoiceChatResponse_Ok {
593
- message: string;
594
- }
595
- /** Demote speaker in community voice chat */
596
- export interface DemoteSpeakerInCommunityVoiceChatPayload {
597
- communityId: string;
598
- userAddress: string;
599
- }
600
- export interface DemoteSpeakerInCommunityVoiceChatResponse {
601
- response?: {
602
- $case: "ok";
603
- ok: DemoteSpeakerInCommunityVoiceChatResponse_Ok;
604
- } | {
605
- $case: "invalidRequest";
606
- invalidRequest: InvalidRequest;
607
- } | {
608
- $case: "forbiddenError";
609
- forbiddenError: ForbiddenError;
610
- } | {
611
- $case: "notFoundError";
612
- notFoundError: NotFoundError;
613
- } | {
614
- $case: "internalServerError";
615
- internalServerError: InternalServerError;
616
- } | undefined;
617
- }
618
- export interface DemoteSpeakerInCommunityVoiceChatResponse_Ok {
619
- message: string;
620
- }
621
- /** Kick player from community voice chat */
622
- export interface KickPlayerFromCommunityVoiceChatPayload {
623
- communityId: string;
624
- userAddress: string;
625
- }
626
- export interface KickPlayerFromCommunityVoiceChatResponse {
627
- response?: {
628
- $case: "ok";
629
- ok: KickPlayerFromCommunityVoiceChatResponse_Ok;
630
- } | {
631
- $case: "invalidRequest";
632
- invalidRequest: InvalidRequest;
633
- } | {
634
- $case: "forbiddenError";
635
- forbiddenError: ForbiddenError;
636
- } | {
637
- $case: "notFoundError";
638
- notFoundError: NotFoundError;
639
- } | {
640
- $case: "internalServerError";
641
- internalServerError: InternalServerError;
642
- } | undefined;
643
- }
644
- export interface KickPlayerFromCommunityVoiceChatResponse_Ok {
645
- message: string;
646
- }
647
- /** Community voice chat updates/events - 'started' and 'ended' status */
648
- export interface CommunityVoiceChatUpdate {
649
- communityId: string;
650
- voiceChatId: string;
651
- createdAt: number;
652
- /** 'started' or 'ended' */
653
- status: CommunityVoiceChatStatus;
654
- /** Only present when status is 'ended' */
655
- endedAt?: number | undefined;
656
- }
657
170
  export declare namespace InvalidFriendshipAction {
658
- function encode(message: InvalidFriendshipAction, writer?: _m0.Writer): _m0.Writer;
171
+ function encode(_: InvalidFriendshipAction, writer?: _m0.Writer): _m0.Writer;
659
172
  function decode(input: _m0.Reader | Uint8Array, length?: number): InvalidFriendshipAction;
660
- function fromJSON(object: any): InvalidFriendshipAction;
661
- function toJSON(message: InvalidFriendshipAction): unknown;
173
+ function fromJSON(_: any): InvalidFriendshipAction;
174
+ function toJSON(_: InvalidFriendshipAction): unknown;
662
175
  function create<I extends Exact<DeepPartial<InvalidFriendshipAction>, I>>(base?: I): InvalidFriendshipAction;
663
- function fromPartial<I extends Exact<DeepPartial<InvalidFriendshipAction>, I>>(object: I): InvalidFriendshipAction;
176
+ function fromPartial<I extends Exact<DeepPartial<InvalidFriendshipAction>, I>>(_: I): InvalidFriendshipAction;
664
177
  }
665
178
  export declare namespace InternalServerError {
666
- function encode(message: InternalServerError, writer?: _m0.Writer): _m0.Writer;
179
+ function encode(_: InternalServerError, writer?: _m0.Writer): _m0.Writer;
667
180
  function decode(input: _m0.Reader | Uint8Array, length?: number): InternalServerError;
668
- function fromJSON(object: any): InternalServerError;
669
- function toJSON(message: InternalServerError): unknown;
181
+ function fromJSON(_: any): InternalServerError;
182
+ function toJSON(_: InternalServerError): unknown;
670
183
  function create<I extends Exact<DeepPartial<InternalServerError>, I>>(base?: I): InternalServerError;
671
- function fromPartial<I extends Exact<DeepPartial<InternalServerError>, I>>(object: I): InternalServerError;
672
- }
673
- export declare namespace InvalidRequest {
674
- function encode(message: InvalidRequest, writer?: _m0.Writer): _m0.Writer;
675
- function decode(input: _m0.Reader | Uint8Array, length?: number): InvalidRequest;
676
- function fromJSON(object: any): InvalidRequest;
677
- function toJSON(message: InvalidRequest): unknown;
678
- function create<I extends Exact<DeepPartial<InvalidRequest>, I>>(base?: I): InvalidRequest;
679
- function fromPartial<I extends Exact<DeepPartial<InvalidRequest>, I>>(object: I): InvalidRequest;
680
- }
681
- export declare namespace ProfileNotFound {
682
- function encode(message: ProfileNotFound, writer?: _m0.Writer): _m0.Writer;
683
- function decode(input: _m0.Reader | Uint8Array, length?: number): ProfileNotFound;
684
- function fromJSON(object: any): ProfileNotFound;
685
- function toJSON(message: ProfileNotFound): unknown;
686
- function create<I extends Exact<DeepPartial<ProfileNotFound>, I>>(base?: I): ProfileNotFound;
687
- function fromPartial<I extends Exact<DeepPartial<ProfileNotFound>, I>>(object: I): ProfileNotFound;
688
- }
689
- export declare namespace ConflictingError {
690
- function encode(message: ConflictingError, writer?: _m0.Writer): _m0.Writer;
691
- function decode(input: _m0.Reader | Uint8Array, length?: number): ConflictingError;
692
- function fromJSON(object: any): ConflictingError;
693
- function toJSON(message: ConflictingError): unknown;
694
- function create<I extends Exact<DeepPartial<ConflictingError>, I>>(base?: I): ConflictingError;
695
- function fromPartial<I extends Exact<DeepPartial<ConflictingError>, I>>(object: I): ConflictingError;
696
- }
697
- export declare namespace ForbiddenError {
698
- function encode(message: ForbiddenError, writer?: _m0.Writer): _m0.Writer;
699
- function decode(input: _m0.Reader | Uint8Array, length?: number): ForbiddenError;
700
- function fromJSON(object: any): ForbiddenError;
701
- function toJSON(message: ForbiddenError): unknown;
702
- function create<I extends Exact<DeepPartial<ForbiddenError>, I>>(base?: I): ForbiddenError;
703
- function fromPartial<I extends Exact<DeepPartial<ForbiddenError>, I>>(object: I): ForbiddenError;
704
- }
705
- export declare namespace NotFoundError {
706
- function encode(message: NotFoundError, writer?: _m0.Writer): _m0.Writer;
707
- function decode(input: _m0.Reader | Uint8Array, length?: number): NotFoundError;
708
- function fromJSON(object: any): NotFoundError;
709
- function toJSON(message: NotFoundError): unknown;
710
- function create<I extends Exact<DeepPartial<NotFoundError>, I>>(base?: I): NotFoundError;
711
- function fromPartial<I extends Exact<DeepPartial<NotFoundError>, I>>(object: I): NotFoundError;
184
+ function fromPartial<I extends Exact<DeepPartial<InternalServerError>, I>>(_: I): InternalServerError;
712
185
  }
713
186
  export declare namespace User {
714
187
  function encode(message: User, writer?: _m0.Writer): _m0.Writer;
@@ -718,22 +191,6 @@ export declare namespace User {
718
191
  function create<I extends Exact<DeepPartial<User>, I>>(base?: I): User;
719
192
  function fromPartial<I extends Exact<DeepPartial<User>, I>>(object: I): User;
720
193
  }
721
- export declare namespace FriendProfile {
722
- function encode(message: FriendProfile, writer?: _m0.Writer): _m0.Writer;
723
- function decode(input: _m0.Reader | Uint8Array, length?: number): FriendProfile;
724
- function fromJSON(object: any): FriendProfile;
725
- function toJSON(message: FriendProfile): unknown;
726
- function create<I extends Exact<DeepPartial<FriendProfile>, I>>(base?: I): FriendProfile;
727
- function fromPartial<I extends Exact<DeepPartial<FriendProfile>, I>>(object: I): FriendProfile;
728
- }
729
- export declare namespace BlockedUserProfile {
730
- function encode(message: BlockedUserProfile, writer?: _m0.Writer): _m0.Writer;
731
- function decode(input: _m0.Reader | Uint8Array, length?: number): BlockedUserProfile;
732
- function fromJSON(object: any): BlockedUserProfile;
733
- function toJSON(message: BlockedUserProfile): unknown;
734
- function create<I extends Exact<DeepPartial<BlockedUserProfile>, I>>(base?: I): BlockedUserProfile;
735
- function fromPartial<I extends Exact<DeepPartial<BlockedUserProfile>, I>>(object: I): BlockedUserProfile;
736
- }
737
194
  export declare namespace Pagination {
738
195
  function encode(message: Pagination, writer?: _m0.Writer): _m0.Writer;
739
196
  function decode(input: _m0.Reader | Uint8Array, length?: number): Pagination;
@@ -838,13 +295,13 @@ export declare namespace PaginatedResponse {
838
295
  function create<I extends Exact<DeepPartial<PaginatedResponse>, I>>(base?: I): PaginatedResponse;
839
296
  function fromPartial<I extends Exact<DeepPartial<PaginatedResponse>, I>>(object: I): PaginatedResponse;
840
297
  }
841
- export declare namespace PaginatedFriendsProfilesResponse {
842
- function encode(message: PaginatedFriendsProfilesResponse, writer?: _m0.Writer): _m0.Writer;
843
- function decode(input: _m0.Reader | Uint8Array, length?: number): PaginatedFriendsProfilesResponse;
844
- function fromJSON(object: any): PaginatedFriendsProfilesResponse;
845
- function toJSON(message: PaginatedFriendsProfilesResponse): unknown;
846
- function create<I extends Exact<DeepPartial<PaginatedFriendsProfilesResponse>, I>>(base?: I): PaginatedFriendsProfilesResponse;
847
- function fromPartial<I extends Exact<DeepPartial<PaginatedFriendsProfilesResponse>, I>>(object: I): PaginatedFriendsProfilesResponse;
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;
848
305
  }
849
306
  export declare namespace PaginatedFriendshipRequestsResponse {
850
307
  function encode(message: PaginatedFriendshipRequestsResponse, writer?: _m0.Writer): _m0.Writer;
@@ -878,14 +335,6 @@ export declare namespace FriendshipUpdate {
878
335
  function create<I extends Exact<DeepPartial<FriendshipUpdate>, I>>(base?: I): FriendshipUpdate;
879
336
  function fromPartial<I extends Exact<DeepPartial<FriendshipUpdate>, I>>(object: I): FriendshipUpdate;
880
337
  }
881
- export declare namespace FriendshipUpdate_RequestResponse {
882
- function encode(message: FriendshipUpdate_RequestResponse, writer?: _m0.Writer): _m0.Writer;
883
- function decode(input: _m0.Reader | Uint8Array, length?: number): FriendshipUpdate_RequestResponse;
884
- function fromJSON(object: any): FriendshipUpdate_RequestResponse;
885
- function toJSON(message: FriendshipUpdate_RequestResponse): unknown;
886
- function create<I extends Exact<DeepPartial<FriendshipUpdate_RequestResponse>, I>>(base?: I): FriendshipUpdate_RequestResponse;
887
- function fromPartial<I extends Exact<DeepPartial<FriendshipUpdate_RequestResponse>, I>>(object: I): FriendshipUpdate_RequestResponse;
888
- }
889
338
  export declare namespace FriendshipUpdate_AcceptResponse {
890
339
  function encode(message: FriendshipUpdate_AcceptResponse, writer?: _m0.Writer): _m0.Writer;
891
340
  function decode(input: _m0.Reader | Uint8Array, length?: number): FriendshipUpdate_AcceptResponse;
@@ -918,22 +367,6 @@ export declare namespace FriendshipUpdate_CancelResponse {
918
367
  function create<I extends Exact<DeepPartial<FriendshipUpdate_CancelResponse>, I>>(base?: I): FriendshipUpdate_CancelResponse;
919
368
  function fromPartial<I extends Exact<DeepPartial<FriendshipUpdate_CancelResponse>, I>>(object: I): FriendshipUpdate_CancelResponse;
920
369
  }
921
- export declare namespace FriendshipUpdate_BlockResponse {
922
- function encode(message: FriendshipUpdate_BlockResponse, writer?: _m0.Writer): _m0.Writer;
923
- function decode(input: _m0.Reader | Uint8Array, length?: number): FriendshipUpdate_BlockResponse;
924
- function fromJSON(object: any): FriendshipUpdate_BlockResponse;
925
- function toJSON(message: FriendshipUpdate_BlockResponse): unknown;
926
- function create<I extends Exact<DeepPartial<FriendshipUpdate_BlockResponse>, I>>(base?: I): FriendshipUpdate_BlockResponse;
927
- function fromPartial<I extends Exact<DeepPartial<FriendshipUpdate_BlockResponse>, I>>(object: I): FriendshipUpdate_BlockResponse;
928
- }
929
- export declare namespace FriendConnectivityUpdate {
930
- function encode(message: FriendConnectivityUpdate, writer?: _m0.Writer): _m0.Writer;
931
- function decode(input: _m0.Reader | Uint8Array, length?: number): FriendConnectivityUpdate;
932
- function fromJSON(object: any): FriendConnectivityUpdate;
933
- function toJSON(message: FriendConnectivityUpdate): unknown;
934
- function create<I extends Exact<DeepPartial<FriendConnectivityUpdate>, I>>(base?: I): FriendConnectivityUpdate;
935
- function fromPartial<I extends Exact<DeepPartial<FriendConnectivityUpdate>, I>>(object: I): FriendConnectivityUpdate;
936
- }
937
370
  export declare namespace GetFriendshipStatusPayload {
938
371
  function encode(message: GetFriendshipStatusPayload, writer?: _m0.Writer): _m0.Writer;
939
372
  function decode(input: _m0.Reader | Uint8Array, length?: number): GetFriendshipStatusPayload;
@@ -958,454 +391,6 @@ export declare namespace GetFriendshipStatusResponse_Ok {
958
391
  function create<I extends Exact<DeepPartial<GetFriendshipStatusResponse_Ok>, I>>(base?: I): GetFriendshipStatusResponse_Ok;
959
392
  function fromPartial<I extends Exact<DeepPartial<GetFriendshipStatusResponse_Ok>, I>>(object: I): GetFriendshipStatusResponse_Ok;
960
393
  }
961
- export declare namespace BlockUserPayload {
962
- function encode(message: BlockUserPayload, writer?: _m0.Writer): _m0.Writer;
963
- function decode(input: _m0.Reader | Uint8Array, length?: number): BlockUserPayload;
964
- function fromJSON(object: any): BlockUserPayload;
965
- function toJSON(message: BlockUserPayload): unknown;
966
- function create<I extends Exact<DeepPartial<BlockUserPayload>, I>>(base?: I): BlockUserPayload;
967
- function fromPartial<I extends Exact<DeepPartial<BlockUserPayload>, I>>(object: I): BlockUserPayload;
968
- }
969
- export declare namespace BlockUserResponse {
970
- function encode(message: BlockUserResponse, writer?: _m0.Writer): _m0.Writer;
971
- function decode(input: _m0.Reader | Uint8Array, length?: number): BlockUserResponse;
972
- function fromJSON(object: any): BlockUserResponse;
973
- function toJSON(message: BlockUserResponse): unknown;
974
- function create<I extends Exact<DeepPartial<BlockUserResponse>, I>>(base?: I): BlockUserResponse;
975
- function fromPartial<I extends Exact<DeepPartial<BlockUserResponse>, I>>(object: I): BlockUserResponse;
976
- }
977
- export declare namespace BlockUserResponse_Ok {
978
- function encode(message: BlockUserResponse_Ok, writer?: _m0.Writer): _m0.Writer;
979
- function decode(input: _m0.Reader | Uint8Array, length?: number): BlockUserResponse_Ok;
980
- function fromJSON(object: any): BlockUserResponse_Ok;
981
- function toJSON(message: BlockUserResponse_Ok): unknown;
982
- function create<I extends Exact<DeepPartial<BlockUserResponse_Ok>, I>>(base?: I): BlockUserResponse_Ok;
983
- function fromPartial<I extends Exact<DeepPartial<BlockUserResponse_Ok>, I>>(object: I): BlockUserResponse_Ok;
984
- }
985
- export declare namespace UnblockUserPayload {
986
- function encode(message: UnblockUserPayload, writer?: _m0.Writer): _m0.Writer;
987
- function decode(input: _m0.Reader | Uint8Array, length?: number): UnblockUserPayload;
988
- function fromJSON(object: any): UnblockUserPayload;
989
- function toJSON(message: UnblockUserPayload): unknown;
990
- function create<I extends Exact<DeepPartial<UnblockUserPayload>, I>>(base?: I): UnblockUserPayload;
991
- function fromPartial<I extends Exact<DeepPartial<UnblockUserPayload>, I>>(object: I): UnblockUserPayload;
992
- }
993
- export declare namespace UnblockUserResponse {
994
- function encode(message: UnblockUserResponse, writer?: _m0.Writer): _m0.Writer;
995
- function decode(input: _m0.Reader | Uint8Array, length?: number): UnblockUserResponse;
996
- function fromJSON(object: any): UnblockUserResponse;
997
- function toJSON(message: UnblockUserResponse): unknown;
998
- function create<I extends Exact<DeepPartial<UnblockUserResponse>, I>>(base?: I): UnblockUserResponse;
999
- function fromPartial<I extends Exact<DeepPartial<UnblockUserResponse>, I>>(object: I): UnblockUserResponse;
1000
- }
1001
- export declare namespace UnblockUserResponse_Ok {
1002
- function encode(message: UnblockUserResponse_Ok, writer?: _m0.Writer): _m0.Writer;
1003
- function decode(input: _m0.Reader | Uint8Array, length?: number): UnblockUserResponse_Ok;
1004
- function fromJSON(object: any): UnblockUserResponse_Ok;
1005
- function toJSON(message: UnblockUserResponse_Ok): unknown;
1006
- function create<I extends Exact<DeepPartial<UnblockUserResponse_Ok>, I>>(base?: I): UnblockUserResponse_Ok;
1007
- function fromPartial<I extends Exact<DeepPartial<UnblockUserResponse_Ok>, I>>(object: I): UnblockUserResponse_Ok;
1008
- }
1009
- export declare namespace SocialSettings {
1010
- function encode(message: SocialSettings, writer?: _m0.Writer): _m0.Writer;
1011
- function decode(input: _m0.Reader | Uint8Array, length?: number): SocialSettings;
1012
- function fromJSON(object: any): SocialSettings;
1013
- function toJSON(message: SocialSettings): unknown;
1014
- function create<I extends Exact<DeepPartial<SocialSettings>, I>>(base?: I): SocialSettings;
1015
- function fromPartial<I extends Exact<DeepPartial<SocialSettings>, I>>(object: I): SocialSettings;
1016
- }
1017
- export declare namespace GetSocialSettingsResponse {
1018
- function encode(message: GetSocialSettingsResponse, writer?: _m0.Writer): _m0.Writer;
1019
- function decode(input: _m0.Reader | Uint8Array, length?: number): GetSocialSettingsResponse;
1020
- function fromJSON(object: any): GetSocialSettingsResponse;
1021
- function toJSON(message: GetSocialSettingsResponse): unknown;
1022
- function create<I extends Exact<DeepPartial<GetSocialSettingsResponse>, I>>(base?: I): GetSocialSettingsResponse;
1023
- function fromPartial<I extends Exact<DeepPartial<GetSocialSettingsResponse>, I>>(object: I): GetSocialSettingsResponse;
1024
- }
1025
- export declare namespace GetSocialSettingsResponse_Ok {
1026
- function encode(message: GetSocialSettingsResponse_Ok, writer?: _m0.Writer): _m0.Writer;
1027
- function decode(input: _m0.Reader | Uint8Array, length?: number): GetSocialSettingsResponse_Ok;
1028
- function fromJSON(object: any): GetSocialSettingsResponse_Ok;
1029
- function toJSON(message: GetSocialSettingsResponse_Ok): unknown;
1030
- function create<I extends Exact<DeepPartial<GetSocialSettingsResponse_Ok>, I>>(base?: I): GetSocialSettingsResponse_Ok;
1031
- function fromPartial<I extends Exact<DeepPartial<GetSocialSettingsResponse_Ok>, I>>(object: I): GetSocialSettingsResponse_Ok;
1032
- }
1033
- export declare namespace UpsertSocialSettingsPayload {
1034
- function encode(message: UpsertSocialSettingsPayload, writer?: _m0.Writer): _m0.Writer;
1035
- function decode(input: _m0.Reader | Uint8Array, length?: number): UpsertSocialSettingsPayload;
1036
- function fromJSON(object: any): UpsertSocialSettingsPayload;
1037
- function toJSON(message: UpsertSocialSettingsPayload): unknown;
1038
- function create<I extends Exact<DeepPartial<UpsertSocialSettingsPayload>, I>>(base?: I): UpsertSocialSettingsPayload;
1039
- function fromPartial<I extends Exact<DeepPartial<UpsertSocialSettingsPayload>, I>>(object: I): UpsertSocialSettingsPayload;
1040
- }
1041
- export declare namespace UpsertSocialSettingsResponse {
1042
- function encode(message: UpsertSocialSettingsResponse, writer?: _m0.Writer): _m0.Writer;
1043
- function decode(input: _m0.Reader | Uint8Array, length?: number): UpsertSocialSettingsResponse;
1044
- function fromJSON(object: any): UpsertSocialSettingsResponse;
1045
- function toJSON(message: UpsertSocialSettingsResponse): unknown;
1046
- function create<I extends Exact<DeepPartial<UpsertSocialSettingsResponse>, I>>(base?: I): UpsertSocialSettingsResponse;
1047
- function fromPartial<I extends Exact<DeepPartial<UpsertSocialSettingsResponse>, I>>(object: I): UpsertSocialSettingsResponse;
1048
- }
1049
- export declare namespace GetPrivateMessagesSettingsPayload {
1050
- function encode(message: GetPrivateMessagesSettingsPayload, writer?: _m0.Writer): _m0.Writer;
1051
- function decode(input: _m0.Reader | Uint8Array, length?: number): GetPrivateMessagesSettingsPayload;
1052
- function fromJSON(object: any): GetPrivateMessagesSettingsPayload;
1053
- function toJSON(message: GetPrivateMessagesSettingsPayload): unknown;
1054
- function create<I extends Exact<DeepPartial<GetPrivateMessagesSettingsPayload>, I>>(base?: I): GetPrivateMessagesSettingsPayload;
1055
- function fromPartial<I extends Exact<DeepPartial<GetPrivateMessagesSettingsPayload>, I>>(object: I): GetPrivateMessagesSettingsPayload;
1056
- }
1057
- export declare namespace GetPrivateMessagesSettingsResponse {
1058
- function encode(message: GetPrivateMessagesSettingsResponse, writer?: _m0.Writer): _m0.Writer;
1059
- function decode(input: _m0.Reader | Uint8Array, length?: number): GetPrivateMessagesSettingsResponse;
1060
- function fromJSON(object: any): GetPrivateMessagesSettingsResponse;
1061
- function toJSON(message: GetPrivateMessagesSettingsResponse): unknown;
1062
- function create<I extends Exact<DeepPartial<GetPrivateMessagesSettingsResponse>, I>>(base?: I): GetPrivateMessagesSettingsResponse;
1063
- function fromPartial<I extends Exact<DeepPartial<GetPrivateMessagesSettingsResponse>, I>>(object: I): GetPrivateMessagesSettingsResponse;
1064
- }
1065
- export declare namespace GetPrivateMessagesSettingsResponse_PrivateMessagesSettings {
1066
- function encode(message: GetPrivateMessagesSettingsResponse_PrivateMessagesSettings, writer?: _m0.Writer): _m0.Writer;
1067
- function decode(input: _m0.Reader | Uint8Array, length?: number): GetPrivateMessagesSettingsResponse_PrivateMessagesSettings;
1068
- function fromJSON(object: any): GetPrivateMessagesSettingsResponse_PrivateMessagesSettings;
1069
- function toJSON(message: GetPrivateMessagesSettingsResponse_PrivateMessagesSettings): unknown;
1070
- function create<I extends Exact<DeepPartial<GetPrivateMessagesSettingsResponse_PrivateMessagesSettings>, I>>(base?: I): GetPrivateMessagesSettingsResponse_PrivateMessagesSettings;
1071
- function fromPartial<I extends Exact<DeepPartial<GetPrivateMessagesSettingsResponse_PrivateMessagesSettings>, I>>(object: I): GetPrivateMessagesSettingsResponse_PrivateMessagesSettings;
1072
- }
1073
- export declare namespace GetPrivateMessagesSettingsResponse_Ok {
1074
- function encode(message: GetPrivateMessagesSettingsResponse_Ok, writer?: _m0.Writer): _m0.Writer;
1075
- function decode(input: _m0.Reader | Uint8Array, length?: number): GetPrivateMessagesSettingsResponse_Ok;
1076
- function fromJSON(object: any): GetPrivateMessagesSettingsResponse_Ok;
1077
- function toJSON(message: GetPrivateMessagesSettingsResponse_Ok): unknown;
1078
- function create<I extends Exact<DeepPartial<GetPrivateMessagesSettingsResponse_Ok>, I>>(base?: I): GetPrivateMessagesSettingsResponse_Ok;
1079
- function fromPartial<I extends Exact<DeepPartial<GetPrivateMessagesSettingsResponse_Ok>, I>>(object: I): GetPrivateMessagesSettingsResponse_Ok;
1080
- }
1081
- export declare namespace GetBlockedUsersPayload {
1082
- function encode(message: GetBlockedUsersPayload, writer?: _m0.Writer): _m0.Writer;
1083
- function decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockedUsersPayload;
1084
- function fromJSON(object: any): GetBlockedUsersPayload;
1085
- function toJSON(message: GetBlockedUsersPayload): unknown;
1086
- function create<I extends Exact<DeepPartial<GetBlockedUsersPayload>, I>>(base?: I): GetBlockedUsersPayload;
1087
- function fromPartial<I extends Exact<DeepPartial<GetBlockedUsersPayload>, I>>(object: I): GetBlockedUsersPayload;
1088
- }
1089
- export declare namespace GetBlockedUsersResponse {
1090
- function encode(message: GetBlockedUsersResponse, writer?: _m0.Writer): _m0.Writer;
1091
- function decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockedUsersResponse;
1092
- function fromJSON(object: any): GetBlockedUsersResponse;
1093
- function toJSON(message: GetBlockedUsersResponse): unknown;
1094
- function create<I extends Exact<DeepPartial<GetBlockedUsersResponse>, I>>(base?: I): GetBlockedUsersResponse;
1095
- function fromPartial<I extends Exact<DeepPartial<GetBlockedUsersResponse>, I>>(object: I): GetBlockedUsersResponse;
1096
- }
1097
- export declare namespace GetBlockingStatusResponse {
1098
- function encode(message: GetBlockingStatusResponse, writer?: _m0.Writer): _m0.Writer;
1099
- function decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockingStatusResponse;
1100
- function fromJSON(object: any): GetBlockingStatusResponse;
1101
- function toJSON(message: GetBlockingStatusResponse): unknown;
1102
- function create<I extends Exact<DeepPartial<GetBlockingStatusResponse>, I>>(base?: I): GetBlockingStatusResponse;
1103
- function fromPartial<I extends Exact<DeepPartial<GetBlockingStatusResponse>, I>>(object: I): GetBlockingStatusResponse;
1104
- }
1105
- export declare namespace BlockUpdate {
1106
- function encode(message: BlockUpdate, writer?: _m0.Writer): _m0.Writer;
1107
- function decode(input: _m0.Reader | Uint8Array, length?: number): BlockUpdate;
1108
- function fromJSON(object: any): BlockUpdate;
1109
- function toJSON(message: BlockUpdate): unknown;
1110
- function create<I extends Exact<DeepPartial<BlockUpdate>, I>>(base?: I): BlockUpdate;
1111
- function fromPartial<I extends Exact<DeepPartial<BlockUpdate>, I>>(object: I): BlockUpdate;
1112
- }
1113
- export declare namespace CommunityMemberConnectivityUpdate {
1114
- function encode(message: CommunityMemberConnectivityUpdate, writer?: _m0.Writer): _m0.Writer;
1115
- function decode(input: _m0.Reader | Uint8Array, length?: number): CommunityMemberConnectivityUpdate;
1116
- function fromJSON(object: any): CommunityMemberConnectivityUpdate;
1117
- function toJSON(message: CommunityMemberConnectivityUpdate): unknown;
1118
- function create<I extends Exact<DeepPartial<CommunityMemberConnectivityUpdate>, I>>(base?: I): CommunityMemberConnectivityUpdate;
1119
- function fromPartial<I extends Exact<DeepPartial<CommunityMemberConnectivityUpdate>, I>>(object: I): CommunityMemberConnectivityUpdate;
1120
- }
1121
- export declare namespace StartPrivateVoiceChatPayload {
1122
- function encode(message: StartPrivateVoiceChatPayload, writer?: _m0.Writer): _m0.Writer;
1123
- function decode(input: _m0.Reader | Uint8Array, length?: number): StartPrivateVoiceChatPayload;
1124
- function fromJSON(object: any): StartPrivateVoiceChatPayload;
1125
- function toJSON(message: StartPrivateVoiceChatPayload): unknown;
1126
- function create<I extends Exact<DeepPartial<StartPrivateVoiceChatPayload>, I>>(base?: I): StartPrivateVoiceChatPayload;
1127
- function fromPartial<I extends Exact<DeepPartial<StartPrivateVoiceChatPayload>, I>>(object: I): StartPrivateVoiceChatPayload;
1128
- }
1129
- export declare namespace StartPrivateVoiceChatResponse {
1130
- function encode(message: StartPrivateVoiceChatResponse, writer?: _m0.Writer): _m0.Writer;
1131
- function decode(input: _m0.Reader | Uint8Array, length?: number): StartPrivateVoiceChatResponse;
1132
- function fromJSON(object: any): StartPrivateVoiceChatResponse;
1133
- function toJSON(message: StartPrivateVoiceChatResponse): unknown;
1134
- function create<I extends Exact<DeepPartial<StartPrivateVoiceChatResponse>, I>>(base?: I): StartPrivateVoiceChatResponse;
1135
- function fromPartial<I extends Exact<DeepPartial<StartPrivateVoiceChatResponse>, I>>(object: I): StartPrivateVoiceChatResponse;
1136
- }
1137
- export declare namespace StartPrivateVoiceChatResponse_Ok {
1138
- function encode(message: StartPrivateVoiceChatResponse_Ok, writer?: _m0.Writer): _m0.Writer;
1139
- function decode(input: _m0.Reader | Uint8Array, length?: number): StartPrivateVoiceChatResponse_Ok;
1140
- function fromJSON(object: any): StartPrivateVoiceChatResponse_Ok;
1141
- function toJSON(message: StartPrivateVoiceChatResponse_Ok): unknown;
1142
- function create<I extends Exact<DeepPartial<StartPrivateVoiceChatResponse_Ok>, I>>(base?: I): StartPrivateVoiceChatResponse_Ok;
1143
- function fromPartial<I extends Exact<DeepPartial<StartPrivateVoiceChatResponse_Ok>, I>>(object: I): StartPrivateVoiceChatResponse_Ok;
1144
- }
1145
- export declare namespace AcceptPrivateVoiceChatPayload {
1146
- function encode(message: AcceptPrivateVoiceChatPayload, writer?: _m0.Writer): _m0.Writer;
1147
- function decode(input: _m0.Reader | Uint8Array, length?: number): AcceptPrivateVoiceChatPayload;
1148
- function fromJSON(object: any): AcceptPrivateVoiceChatPayload;
1149
- function toJSON(message: AcceptPrivateVoiceChatPayload): unknown;
1150
- function create<I extends Exact<DeepPartial<AcceptPrivateVoiceChatPayload>, I>>(base?: I): AcceptPrivateVoiceChatPayload;
1151
- function fromPartial<I extends Exact<DeepPartial<AcceptPrivateVoiceChatPayload>, I>>(object: I): AcceptPrivateVoiceChatPayload;
1152
- }
1153
- export declare namespace AcceptPrivateVoiceChatResponse {
1154
- function encode(message: AcceptPrivateVoiceChatResponse, writer?: _m0.Writer): _m0.Writer;
1155
- function decode(input: _m0.Reader | Uint8Array, length?: number): AcceptPrivateVoiceChatResponse;
1156
- function fromJSON(object: any): AcceptPrivateVoiceChatResponse;
1157
- function toJSON(message: AcceptPrivateVoiceChatResponse): unknown;
1158
- function create<I extends Exact<DeepPartial<AcceptPrivateVoiceChatResponse>, I>>(base?: I): AcceptPrivateVoiceChatResponse;
1159
- function fromPartial<I extends Exact<DeepPartial<AcceptPrivateVoiceChatResponse>, I>>(object: I): AcceptPrivateVoiceChatResponse;
1160
- }
1161
- export declare namespace AcceptPrivateVoiceChatResponse_Ok {
1162
- function encode(message: AcceptPrivateVoiceChatResponse_Ok, writer?: _m0.Writer): _m0.Writer;
1163
- function decode(input: _m0.Reader | Uint8Array, length?: number): AcceptPrivateVoiceChatResponse_Ok;
1164
- function fromJSON(object: any): AcceptPrivateVoiceChatResponse_Ok;
1165
- function toJSON(message: AcceptPrivateVoiceChatResponse_Ok): unknown;
1166
- function create<I extends Exact<DeepPartial<AcceptPrivateVoiceChatResponse_Ok>, I>>(base?: I): AcceptPrivateVoiceChatResponse_Ok;
1167
- function fromPartial<I extends Exact<DeepPartial<AcceptPrivateVoiceChatResponse_Ok>, I>>(object: I): AcceptPrivateVoiceChatResponse_Ok;
1168
- }
1169
- export declare namespace RejectPrivateVoiceChatPayload {
1170
- function encode(message: RejectPrivateVoiceChatPayload, writer?: _m0.Writer): _m0.Writer;
1171
- function decode(input: _m0.Reader | Uint8Array, length?: number): RejectPrivateVoiceChatPayload;
1172
- function fromJSON(object: any): RejectPrivateVoiceChatPayload;
1173
- function toJSON(message: RejectPrivateVoiceChatPayload): unknown;
1174
- function create<I extends Exact<DeepPartial<RejectPrivateVoiceChatPayload>, I>>(base?: I): RejectPrivateVoiceChatPayload;
1175
- function fromPartial<I extends Exact<DeepPartial<RejectPrivateVoiceChatPayload>, I>>(object: I): RejectPrivateVoiceChatPayload;
1176
- }
1177
- export declare namespace RejectPrivateVoiceChatResponse {
1178
- function encode(message: RejectPrivateVoiceChatResponse, writer?: _m0.Writer): _m0.Writer;
1179
- function decode(input: _m0.Reader | Uint8Array, length?: number): RejectPrivateVoiceChatResponse;
1180
- function fromJSON(object: any): RejectPrivateVoiceChatResponse;
1181
- function toJSON(message: RejectPrivateVoiceChatResponse): unknown;
1182
- function create<I extends Exact<DeepPartial<RejectPrivateVoiceChatResponse>, I>>(base?: I): RejectPrivateVoiceChatResponse;
1183
- function fromPartial<I extends Exact<DeepPartial<RejectPrivateVoiceChatResponse>, I>>(object: I): RejectPrivateVoiceChatResponse;
1184
- }
1185
- export declare namespace RejectPrivateVoiceChatResponse_Ok {
1186
- function encode(message: RejectPrivateVoiceChatResponse_Ok, writer?: _m0.Writer): _m0.Writer;
1187
- function decode(input: _m0.Reader | Uint8Array, length?: number): RejectPrivateVoiceChatResponse_Ok;
1188
- function fromJSON(object: any): RejectPrivateVoiceChatResponse_Ok;
1189
- function toJSON(message: RejectPrivateVoiceChatResponse_Ok): unknown;
1190
- function create<I extends Exact<DeepPartial<RejectPrivateVoiceChatResponse_Ok>, I>>(base?: I): RejectPrivateVoiceChatResponse_Ok;
1191
- function fromPartial<I extends Exact<DeepPartial<RejectPrivateVoiceChatResponse_Ok>, I>>(object: I): RejectPrivateVoiceChatResponse_Ok;
1192
- }
1193
- export declare namespace PrivateVoiceChatCredentials {
1194
- function encode(message: PrivateVoiceChatCredentials, writer?: _m0.Writer): _m0.Writer;
1195
- function decode(input: _m0.Reader | Uint8Array, length?: number): PrivateVoiceChatCredentials;
1196
- function fromJSON(object: any): PrivateVoiceChatCredentials;
1197
- function toJSON(message: PrivateVoiceChatCredentials): unknown;
1198
- function create<I extends Exact<DeepPartial<PrivateVoiceChatCredentials>, I>>(base?: I): PrivateVoiceChatCredentials;
1199
- function fromPartial<I extends Exact<DeepPartial<PrivateVoiceChatCredentials>, I>>(object: I): PrivateVoiceChatCredentials;
1200
- }
1201
- export declare namespace PrivateVoiceChatUpdate {
1202
- function encode(message: PrivateVoiceChatUpdate, writer?: _m0.Writer): _m0.Writer;
1203
- function decode(input: _m0.Reader | Uint8Array, length?: number): PrivateVoiceChatUpdate;
1204
- function fromJSON(object: any): PrivateVoiceChatUpdate;
1205
- function toJSON(message: PrivateVoiceChatUpdate): unknown;
1206
- function create<I extends Exact<DeepPartial<PrivateVoiceChatUpdate>, I>>(base?: I): PrivateVoiceChatUpdate;
1207
- function fromPartial<I extends Exact<DeepPartial<PrivateVoiceChatUpdate>, I>>(object: I): PrivateVoiceChatUpdate;
1208
- }
1209
- export declare namespace EndPrivateVoiceChatPayload {
1210
- function encode(message: EndPrivateVoiceChatPayload, writer?: _m0.Writer): _m0.Writer;
1211
- function decode(input: _m0.Reader | Uint8Array, length?: number): EndPrivateVoiceChatPayload;
1212
- function fromJSON(object: any): EndPrivateVoiceChatPayload;
1213
- function toJSON(message: EndPrivateVoiceChatPayload): unknown;
1214
- function create<I extends Exact<DeepPartial<EndPrivateVoiceChatPayload>, I>>(base?: I): EndPrivateVoiceChatPayload;
1215
- function fromPartial<I extends Exact<DeepPartial<EndPrivateVoiceChatPayload>, I>>(object: I): EndPrivateVoiceChatPayload;
1216
- }
1217
- export declare namespace EndPrivateVoiceChatResponse {
1218
- function encode(message: EndPrivateVoiceChatResponse, writer?: _m0.Writer): _m0.Writer;
1219
- function decode(input: _m0.Reader | Uint8Array, length?: number): EndPrivateVoiceChatResponse;
1220
- function fromJSON(object: any): EndPrivateVoiceChatResponse;
1221
- function toJSON(message: EndPrivateVoiceChatResponse): unknown;
1222
- function create<I extends Exact<DeepPartial<EndPrivateVoiceChatResponse>, I>>(base?: I): EndPrivateVoiceChatResponse;
1223
- function fromPartial<I extends Exact<DeepPartial<EndPrivateVoiceChatResponse>, I>>(object: I): EndPrivateVoiceChatResponse;
1224
- }
1225
- export declare namespace EndPrivateVoiceChatResponse_Ok {
1226
- function encode(message: EndPrivateVoiceChatResponse_Ok, writer?: _m0.Writer): _m0.Writer;
1227
- function decode(input: _m0.Reader | Uint8Array, length?: number): EndPrivateVoiceChatResponse_Ok;
1228
- function fromJSON(object: any): EndPrivateVoiceChatResponse_Ok;
1229
- function toJSON(message: EndPrivateVoiceChatResponse_Ok): unknown;
1230
- function create<I extends Exact<DeepPartial<EndPrivateVoiceChatResponse_Ok>, I>>(base?: I): EndPrivateVoiceChatResponse_Ok;
1231
- function fromPartial<I extends Exact<DeepPartial<EndPrivateVoiceChatResponse_Ok>, I>>(object: I): EndPrivateVoiceChatResponse_Ok;
1232
- }
1233
- export declare namespace GetIncomingPrivateVoiceChatRequestResponse {
1234
- function encode(message: GetIncomingPrivateVoiceChatRequestResponse, writer?: _m0.Writer): _m0.Writer;
1235
- function decode(input: _m0.Reader | Uint8Array, length?: number): GetIncomingPrivateVoiceChatRequestResponse;
1236
- function fromJSON(object: any): GetIncomingPrivateVoiceChatRequestResponse;
1237
- function toJSON(message: GetIncomingPrivateVoiceChatRequestResponse): unknown;
1238
- function create<I extends Exact<DeepPartial<GetIncomingPrivateVoiceChatRequestResponse>, I>>(base?: I): GetIncomingPrivateVoiceChatRequestResponse;
1239
- function fromPartial<I extends Exact<DeepPartial<GetIncomingPrivateVoiceChatRequestResponse>, I>>(object: I): GetIncomingPrivateVoiceChatRequestResponse;
1240
- }
1241
- export declare namespace GetIncomingPrivateVoiceChatRequestResponse_Ok {
1242
- function encode(message: GetIncomingPrivateVoiceChatRequestResponse_Ok, writer?: _m0.Writer): _m0.Writer;
1243
- function decode(input: _m0.Reader | Uint8Array, length?: number): GetIncomingPrivateVoiceChatRequestResponse_Ok;
1244
- function fromJSON(object: any): GetIncomingPrivateVoiceChatRequestResponse_Ok;
1245
- function toJSON(message: GetIncomingPrivateVoiceChatRequestResponse_Ok): unknown;
1246
- function create<I extends Exact<DeepPartial<GetIncomingPrivateVoiceChatRequestResponse_Ok>, I>>(base?: I): GetIncomingPrivateVoiceChatRequestResponse_Ok;
1247
- function fromPartial<I extends Exact<DeepPartial<GetIncomingPrivateVoiceChatRequestResponse_Ok>, I>>(object: I): GetIncomingPrivateVoiceChatRequestResponse_Ok;
1248
- }
1249
- export declare namespace CommunityVoiceChatCredentials {
1250
- function encode(message: CommunityVoiceChatCredentials, writer?: _m0.Writer): _m0.Writer;
1251
- function decode(input: _m0.Reader | Uint8Array, length?: number): CommunityVoiceChatCredentials;
1252
- function fromJSON(object: any): CommunityVoiceChatCredentials;
1253
- function toJSON(message: CommunityVoiceChatCredentials): unknown;
1254
- function create<I extends Exact<DeepPartial<CommunityVoiceChatCredentials>, I>>(base?: I): CommunityVoiceChatCredentials;
1255
- function fromPartial<I extends Exact<DeepPartial<CommunityVoiceChatCredentials>, I>>(object: I): CommunityVoiceChatCredentials;
1256
- }
1257
- export declare namespace StartCommunityVoiceChatPayload {
1258
- function encode(message: StartCommunityVoiceChatPayload, writer?: _m0.Writer): _m0.Writer;
1259
- function decode(input: _m0.Reader | Uint8Array, length?: number): StartCommunityVoiceChatPayload;
1260
- function fromJSON(object: any): StartCommunityVoiceChatPayload;
1261
- function toJSON(message: StartCommunityVoiceChatPayload): unknown;
1262
- function create<I extends Exact<DeepPartial<StartCommunityVoiceChatPayload>, I>>(base?: I): StartCommunityVoiceChatPayload;
1263
- function fromPartial<I extends Exact<DeepPartial<StartCommunityVoiceChatPayload>, I>>(object: I): StartCommunityVoiceChatPayload;
1264
- }
1265
- export declare namespace StartCommunityVoiceChatResponse {
1266
- function encode(message: StartCommunityVoiceChatResponse, writer?: _m0.Writer): _m0.Writer;
1267
- function decode(input: _m0.Reader | Uint8Array, length?: number): StartCommunityVoiceChatResponse;
1268
- function fromJSON(object: any): StartCommunityVoiceChatResponse;
1269
- function toJSON(message: StartCommunityVoiceChatResponse): unknown;
1270
- function create<I extends Exact<DeepPartial<StartCommunityVoiceChatResponse>, I>>(base?: I): StartCommunityVoiceChatResponse;
1271
- function fromPartial<I extends Exact<DeepPartial<StartCommunityVoiceChatResponse>, I>>(object: I): StartCommunityVoiceChatResponse;
1272
- }
1273
- export declare namespace StartCommunityVoiceChatResponse_Ok {
1274
- function encode(message: StartCommunityVoiceChatResponse_Ok, writer?: _m0.Writer): _m0.Writer;
1275
- function decode(input: _m0.Reader | Uint8Array, length?: number): StartCommunityVoiceChatResponse_Ok;
1276
- function fromJSON(object: any): StartCommunityVoiceChatResponse_Ok;
1277
- function toJSON(message: StartCommunityVoiceChatResponse_Ok): unknown;
1278
- function create<I extends Exact<DeepPartial<StartCommunityVoiceChatResponse_Ok>, I>>(base?: I): StartCommunityVoiceChatResponse_Ok;
1279
- function fromPartial<I extends Exact<DeepPartial<StartCommunityVoiceChatResponse_Ok>, I>>(object: I): StartCommunityVoiceChatResponse_Ok;
1280
- }
1281
- export declare namespace JoinCommunityVoiceChatPayload {
1282
- function encode(message: JoinCommunityVoiceChatPayload, writer?: _m0.Writer): _m0.Writer;
1283
- function decode(input: _m0.Reader | Uint8Array, length?: number): JoinCommunityVoiceChatPayload;
1284
- function fromJSON(object: any): JoinCommunityVoiceChatPayload;
1285
- function toJSON(message: JoinCommunityVoiceChatPayload): unknown;
1286
- function create<I extends Exact<DeepPartial<JoinCommunityVoiceChatPayload>, I>>(base?: I): JoinCommunityVoiceChatPayload;
1287
- function fromPartial<I extends Exact<DeepPartial<JoinCommunityVoiceChatPayload>, I>>(object: I): JoinCommunityVoiceChatPayload;
1288
- }
1289
- export declare namespace JoinCommunityVoiceChatResponse {
1290
- function encode(message: JoinCommunityVoiceChatResponse, writer?: _m0.Writer): _m0.Writer;
1291
- function decode(input: _m0.Reader | Uint8Array, length?: number): JoinCommunityVoiceChatResponse;
1292
- function fromJSON(object: any): JoinCommunityVoiceChatResponse;
1293
- function toJSON(message: JoinCommunityVoiceChatResponse): unknown;
1294
- function create<I extends Exact<DeepPartial<JoinCommunityVoiceChatResponse>, I>>(base?: I): JoinCommunityVoiceChatResponse;
1295
- function fromPartial<I extends Exact<DeepPartial<JoinCommunityVoiceChatResponse>, I>>(object: I): JoinCommunityVoiceChatResponse;
1296
- }
1297
- export declare namespace JoinCommunityVoiceChatResponse_Ok {
1298
- function encode(message: JoinCommunityVoiceChatResponse_Ok, writer?: _m0.Writer): _m0.Writer;
1299
- function decode(input: _m0.Reader | Uint8Array, length?: number): JoinCommunityVoiceChatResponse_Ok;
1300
- function fromJSON(object: any): JoinCommunityVoiceChatResponse_Ok;
1301
- function toJSON(message: JoinCommunityVoiceChatResponse_Ok): unknown;
1302
- function create<I extends Exact<DeepPartial<JoinCommunityVoiceChatResponse_Ok>, I>>(base?: I): JoinCommunityVoiceChatResponse_Ok;
1303
- function fromPartial<I extends Exact<DeepPartial<JoinCommunityVoiceChatResponse_Ok>, I>>(object: I): JoinCommunityVoiceChatResponse_Ok;
1304
- }
1305
- export declare namespace RequestToSpeakInCommunityVoiceChatPayload {
1306
- function encode(message: RequestToSpeakInCommunityVoiceChatPayload, writer?: _m0.Writer): _m0.Writer;
1307
- function decode(input: _m0.Reader | Uint8Array, length?: number): RequestToSpeakInCommunityVoiceChatPayload;
1308
- function fromJSON(object: any): RequestToSpeakInCommunityVoiceChatPayload;
1309
- function toJSON(message: RequestToSpeakInCommunityVoiceChatPayload): unknown;
1310
- function create<I extends Exact<DeepPartial<RequestToSpeakInCommunityVoiceChatPayload>, I>>(base?: I): RequestToSpeakInCommunityVoiceChatPayload;
1311
- function fromPartial<I extends Exact<DeepPartial<RequestToSpeakInCommunityVoiceChatPayload>, I>>(object: I): RequestToSpeakInCommunityVoiceChatPayload;
1312
- }
1313
- export declare namespace RequestToSpeakInCommunityVoiceChatResponse {
1314
- function encode(message: RequestToSpeakInCommunityVoiceChatResponse, writer?: _m0.Writer): _m0.Writer;
1315
- function decode(input: _m0.Reader | Uint8Array, length?: number): RequestToSpeakInCommunityVoiceChatResponse;
1316
- function fromJSON(object: any): RequestToSpeakInCommunityVoiceChatResponse;
1317
- function toJSON(message: RequestToSpeakInCommunityVoiceChatResponse): unknown;
1318
- function create<I extends Exact<DeepPartial<RequestToSpeakInCommunityVoiceChatResponse>, I>>(base?: I): RequestToSpeakInCommunityVoiceChatResponse;
1319
- function fromPartial<I extends Exact<DeepPartial<RequestToSpeakInCommunityVoiceChatResponse>, I>>(object: I): RequestToSpeakInCommunityVoiceChatResponse;
1320
- }
1321
- export declare namespace RequestToSpeakInCommunityVoiceChatResponse_Ok {
1322
- function encode(message: RequestToSpeakInCommunityVoiceChatResponse_Ok, writer?: _m0.Writer): _m0.Writer;
1323
- function decode(input: _m0.Reader | Uint8Array, length?: number): RequestToSpeakInCommunityVoiceChatResponse_Ok;
1324
- function fromJSON(object: any): RequestToSpeakInCommunityVoiceChatResponse_Ok;
1325
- function toJSON(message: RequestToSpeakInCommunityVoiceChatResponse_Ok): unknown;
1326
- function create<I extends Exact<DeepPartial<RequestToSpeakInCommunityVoiceChatResponse_Ok>, I>>(base?: I): RequestToSpeakInCommunityVoiceChatResponse_Ok;
1327
- function fromPartial<I extends Exact<DeepPartial<RequestToSpeakInCommunityVoiceChatResponse_Ok>, I>>(object: I): RequestToSpeakInCommunityVoiceChatResponse_Ok;
1328
- }
1329
- export declare namespace PromoteSpeakerInCommunityVoiceChatPayload {
1330
- function encode(message: PromoteSpeakerInCommunityVoiceChatPayload, writer?: _m0.Writer): _m0.Writer;
1331
- function decode(input: _m0.Reader | Uint8Array, length?: number): PromoteSpeakerInCommunityVoiceChatPayload;
1332
- function fromJSON(object: any): PromoteSpeakerInCommunityVoiceChatPayload;
1333
- function toJSON(message: PromoteSpeakerInCommunityVoiceChatPayload): unknown;
1334
- function create<I extends Exact<DeepPartial<PromoteSpeakerInCommunityVoiceChatPayload>, I>>(base?: I): PromoteSpeakerInCommunityVoiceChatPayload;
1335
- function fromPartial<I extends Exact<DeepPartial<PromoteSpeakerInCommunityVoiceChatPayload>, I>>(object: I): PromoteSpeakerInCommunityVoiceChatPayload;
1336
- }
1337
- export declare namespace PromoteSpeakerInCommunityVoiceChatResponse {
1338
- function encode(message: PromoteSpeakerInCommunityVoiceChatResponse, writer?: _m0.Writer): _m0.Writer;
1339
- function decode(input: _m0.Reader | Uint8Array, length?: number): PromoteSpeakerInCommunityVoiceChatResponse;
1340
- function fromJSON(object: any): PromoteSpeakerInCommunityVoiceChatResponse;
1341
- function toJSON(message: PromoteSpeakerInCommunityVoiceChatResponse): unknown;
1342
- function create<I extends Exact<DeepPartial<PromoteSpeakerInCommunityVoiceChatResponse>, I>>(base?: I): PromoteSpeakerInCommunityVoiceChatResponse;
1343
- function fromPartial<I extends Exact<DeepPartial<PromoteSpeakerInCommunityVoiceChatResponse>, I>>(object: I): PromoteSpeakerInCommunityVoiceChatResponse;
1344
- }
1345
- export declare namespace PromoteSpeakerInCommunityVoiceChatResponse_Ok {
1346
- function encode(message: PromoteSpeakerInCommunityVoiceChatResponse_Ok, writer?: _m0.Writer): _m0.Writer;
1347
- function decode(input: _m0.Reader | Uint8Array, length?: number): PromoteSpeakerInCommunityVoiceChatResponse_Ok;
1348
- function fromJSON(object: any): PromoteSpeakerInCommunityVoiceChatResponse_Ok;
1349
- function toJSON(message: PromoteSpeakerInCommunityVoiceChatResponse_Ok): unknown;
1350
- function create<I extends Exact<DeepPartial<PromoteSpeakerInCommunityVoiceChatResponse_Ok>, I>>(base?: I): PromoteSpeakerInCommunityVoiceChatResponse_Ok;
1351
- function fromPartial<I extends Exact<DeepPartial<PromoteSpeakerInCommunityVoiceChatResponse_Ok>, I>>(object: I): PromoteSpeakerInCommunityVoiceChatResponse_Ok;
1352
- }
1353
- export declare namespace DemoteSpeakerInCommunityVoiceChatPayload {
1354
- function encode(message: DemoteSpeakerInCommunityVoiceChatPayload, writer?: _m0.Writer): _m0.Writer;
1355
- function decode(input: _m0.Reader | Uint8Array, length?: number): DemoteSpeakerInCommunityVoiceChatPayload;
1356
- function fromJSON(object: any): DemoteSpeakerInCommunityVoiceChatPayload;
1357
- function toJSON(message: DemoteSpeakerInCommunityVoiceChatPayload): unknown;
1358
- function create<I extends Exact<DeepPartial<DemoteSpeakerInCommunityVoiceChatPayload>, I>>(base?: I): DemoteSpeakerInCommunityVoiceChatPayload;
1359
- function fromPartial<I extends Exact<DeepPartial<DemoteSpeakerInCommunityVoiceChatPayload>, I>>(object: I): DemoteSpeakerInCommunityVoiceChatPayload;
1360
- }
1361
- export declare namespace DemoteSpeakerInCommunityVoiceChatResponse {
1362
- function encode(message: DemoteSpeakerInCommunityVoiceChatResponse, writer?: _m0.Writer): _m0.Writer;
1363
- function decode(input: _m0.Reader | Uint8Array, length?: number): DemoteSpeakerInCommunityVoiceChatResponse;
1364
- function fromJSON(object: any): DemoteSpeakerInCommunityVoiceChatResponse;
1365
- function toJSON(message: DemoteSpeakerInCommunityVoiceChatResponse): unknown;
1366
- function create<I extends Exact<DeepPartial<DemoteSpeakerInCommunityVoiceChatResponse>, I>>(base?: I): DemoteSpeakerInCommunityVoiceChatResponse;
1367
- function fromPartial<I extends Exact<DeepPartial<DemoteSpeakerInCommunityVoiceChatResponse>, I>>(object: I): DemoteSpeakerInCommunityVoiceChatResponse;
1368
- }
1369
- export declare namespace DemoteSpeakerInCommunityVoiceChatResponse_Ok {
1370
- function encode(message: DemoteSpeakerInCommunityVoiceChatResponse_Ok, writer?: _m0.Writer): _m0.Writer;
1371
- function decode(input: _m0.Reader | Uint8Array, length?: number): DemoteSpeakerInCommunityVoiceChatResponse_Ok;
1372
- function fromJSON(object: any): DemoteSpeakerInCommunityVoiceChatResponse_Ok;
1373
- function toJSON(message: DemoteSpeakerInCommunityVoiceChatResponse_Ok): unknown;
1374
- function create<I extends Exact<DeepPartial<DemoteSpeakerInCommunityVoiceChatResponse_Ok>, I>>(base?: I): DemoteSpeakerInCommunityVoiceChatResponse_Ok;
1375
- function fromPartial<I extends Exact<DeepPartial<DemoteSpeakerInCommunityVoiceChatResponse_Ok>, I>>(object: I): DemoteSpeakerInCommunityVoiceChatResponse_Ok;
1376
- }
1377
- export declare namespace KickPlayerFromCommunityVoiceChatPayload {
1378
- function encode(message: KickPlayerFromCommunityVoiceChatPayload, writer?: _m0.Writer): _m0.Writer;
1379
- function decode(input: _m0.Reader | Uint8Array, length?: number): KickPlayerFromCommunityVoiceChatPayload;
1380
- function fromJSON(object: any): KickPlayerFromCommunityVoiceChatPayload;
1381
- function toJSON(message: KickPlayerFromCommunityVoiceChatPayload): unknown;
1382
- function create<I extends Exact<DeepPartial<KickPlayerFromCommunityVoiceChatPayload>, I>>(base?: I): KickPlayerFromCommunityVoiceChatPayload;
1383
- function fromPartial<I extends Exact<DeepPartial<KickPlayerFromCommunityVoiceChatPayload>, I>>(object: I): KickPlayerFromCommunityVoiceChatPayload;
1384
- }
1385
- export declare namespace KickPlayerFromCommunityVoiceChatResponse {
1386
- function encode(message: KickPlayerFromCommunityVoiceChatResponse, writer?: _m0.Writer): _m0.Writer;
1387
- function decode(input: _m0.Reader | Uint8Array, length?: number): KickPlayerFromCommunityVoiceChatResponse;
1388
- function fromJSON(object: any): KickPlayerFromCommunityVoiceChatResponse;
1389
- function toJSON(message: KickPlayerFromCommunityVoiceChatResponse): unknown;
1390
- function create<I extends Exact<DeepPartial<KickPlayerFromCommunityVoiceChatResponse>, I>>(base?: I): KickPlayerFromCommunityVoiceChatResponse;
1391
- function fromPartial<I extends Exact<DeepPartial<KickPlayerFromCommunityVoiceChatResponse>, I>>(object: I): KickPlayerFromCommunityVoiceChatResponse;
1392
- }
1393
- export declare namespace KickPlayerFromCommunityVoiceChatResponse_Ok {
1394
- function encode(message: KickPlayerFromCommunityVoiceChatResponse_Ok, writer?: _m0.Writer): _m0.Writer;
1395
- function decode(input: _m0.Reader | Uint8Array, length?: number): KickPlayerFromCommunityVoiceChatResponse_Ok;
1396
- function fromJSON(object: any): KickPlayerFromCommunityVoiceChatResponse_Ok;
1397
- function toJSON(message: KickPlayerFromCommunityVoiceChatResponse_Ok): unknown;
1398
- function create<I extends Exact<DeepPartial<KickPlayerFromCommunityVoiceChatResponse_Ok>, I>>(base?: I): KickPlayerFromCommunityVoiceChatResponse_Ok;
1399
- function fromPartial<I extends Exact<DeepPartial<KickPlayerFromCommunityVoiceChatResponse_Ok>, I>>(object: I): KickPlayerFromCommunityVoiceChatResponse_Ok;
1400
- }
1401
- export declare namespace CommunityVoiceChatUpdate {
1402
- function encode(message: CommunityVoiceChatUpdate, writer?: _m0.Writer): _m0.Writer;
1403
- function decode(input: _m0.Reader | Uint8Array, length?: number): CommunityVoiceChatUpdate;
1404
- function fromJSON(object: any): CommunityVoiceChatUpdate;
1405
- function toJSON(message: CommunityVoiceChatUpdate): unknown;
1406
- function create<I extends Exact<DeepPartial<CommunityVoiceChatUpdate>, I>>(base?: I): CommunityVoiceChatUpdate;
1407
- function fromPartial<I extends Exact<DeepPartial<CommunityVoiceChatUpdate>, I>>(object: I): CommunityVoiceChatUpdate;
1408
- }
1409
394
  export type SocialServiceDefinition = typeof SocialServiceDefinition;
1410
395
  export declare const SocialServiceDefinition: {
1411
396
  readonly name: "SocialService";
@@ -1416,7 +401,7 @@ export declare const SocialServiceDefinition: {
1416
401
  readonly name: "GetFriends";
1417
402
  readonly requestType: typeof GetFriendsPayload;
1418
403
  readonly requestStream: false;
1419
- readonly responseType: typeof PaginatedFriendsProfilesResponse;
404
+ readonly responseType: typeof PaginatedUsersResponse;
1420
405
  readonly responseStream: false;
1421
406
  readonly options: {};
1422
407
  };
@@ -1425,7 +410,7 @@ export declare const SocialServiceDefinition: {
1425
410
  readonly name: "GetMutualFriends";
1426
411
  readonly requestType: typeof GetMutualFriendsPayload;
1427
412
  readonly requestStream: false;
1428
- readonly responseType: typeof PaginatedFriendsProfilesResponse;
413
+ readonly responseType: typeof PaginatedUsersResponse;
1429
414
  readonly responseStream: false;
1430
415
  readonly options: {};
1431
416
  };
@@ -1465,7 +450,6 @@ export declare const SocialServiceDefinition: {
1465
450
  readonly responseStream: true;
1466
451
  readonly options: {};
1467
452
  };
1468
- /** Get the friendship status between the authenticated user and the one in the parameter */
1469
453
  readonly getFriendshipStatus: {
1470
454
  readonly name: "GetFriendshipStatus";
1471
455
  readonly requestType: typeof GetFriendshipStatusPayload;
@@ -1474,208 +458,6 @@ export declare const SocialServiceDefinition: {
1474
458
  readonly responseStream: false;
1475
459
  readonly options: {};
1476
460
  };
1477
- /** Subscribe to connectivity updates of friends: ONLINE, OFFLINE, AWAY */
1478
- readonly subscribeToFriendConnectivityUpdates: {
1479
- readonly name: "SubscribeToFriendConnectivityUpdates";
1480
- readonly requestType: typeof Empty;
1481
- readonly requestStream: false;
1482
- readonly responseType: typeof FriendConnectivityUpdate;
1483
- readonly responseStream: true;
1484
- readonly options: {};
1485
- };
1486
- readonly blockUser: {
1487
- readonly name: "BlockUser";
1488
- readonly requestType: typeof BlockUserPayload;
1489
- readonly requestStream: false;
1490
- readonly responseType: typeof BlockUserResponse;
1491
- readonly responseStream: false;
1492
- readonly options: {};
1493
- };
1494
- readonly unblockUser: {
1495
- readonly name: "UnblockUser";
1496
- readonly requestType: typeof UnblockUserPayload;
1497
- readonly requestStream: false;
1498
- readonly responseType: typeof UnblockUserResponse;
1499
- readonly responseStream: false;
1500
- readonly options: {};
1501
- };
1502
- readonly getBlockedUsers: {
1503
- readonly name: "GetBlockedUsers";
1504
- readonly requestType: typeof GetBlockedUsersPayload;
1505
- readonly requestStream: false;
1506
- readonly responseType: typeof GetBlockedUsersResponse;
1507
- readonly responseStream: false;
1508
- readonly options: {};
1509
- };
1510
- readonly getBlockingStatus: {
1511
- readonly name: "GetBlockingStatus";
1512
- readonly requestType: typeof Empty;
1513
- readonly requestStream: false;
1514
- readonly responseType: typeof GetBlockingStatusResponse;
1515
- readonly responseStream: false;
1516
- readonly options: {};
1517
- };
1518
- readonly subscribeToBlockUpdates: {
1519
- readonly name: "SubscribeToBlockUpdates";
1520
- readonly requestType: typeof Empty;
1521
- readonly requestStream: false;
1522
- readonly responseType: typeof BlockUpdate;
1523
- readonly responseStream: true;
1524
- readonly options: {};
1525
- };
1526
- /** Get all the social settings for the authenticated user */
1527
- readonly getSocialSettings: {
1528
- readonly name: "GetSocialSettings";
1529
- readonly requestType: typeof Empty;
1530
- readonly requestStream: false;
1531
- readonly responseType: typeof GetSocialSettingsResponse;
1532
- readonly responseStream: false;
1533
- readonly options: {};
1534
- };
1535
- /** Insert or update the social settings for the authenticated user */
1536
- readonly upsertSocialSettings: {
1537
- readonly name: "UpsertSocialSettings";
1538
- readonly requestType: typeof UpsertSocialSettingsPayload;
1539
- readonly requestStream: false;
1540
- readonly responseType: typeof UpsertSocialSettingsResponse;
1541
- readonly responseStream: false;
1542
- readonly options: {};
1543
- };
1544
- /** Get the private messages privacy settings for the requested users */
1545
- readonly getPrivateMessagesSettings: {
1546
- readonly name: "GetPrivateMessagesSettings";
1547
- readonly requestType: typeof GetPrivateMessagesSettingsPayload;
1548
- readonly requestStream: false;
1549
- readonly responseType: typeof GetPrivateMessagesSettingsResponse;
1550
- readonly responseStream: false;
1551
- readonly options: {};
1552
- };
1553
- /** Subscribe to community member connectivity updates: ONLINE, OFFLINE */
1554
- readonly subscribeToCommunityMemberConnectivityUpdates: {
1555
- readonly name: "SubscribeToCommunityMemberConnectivityUpdates";
1556
- readonly requestType: typeof Empty;
1557
- readonly requestStream: false;
1558
- readonly responseType: typeof CommunityMemberConnectivityUpdate;
1559
- readonly responseStream: true;
1560
- readonly options: {};
1561
- };
1562
- /** Start a private voice chat */
1563
- readonly startPrivateVoiceChat: {
1564
- readonly name: "StartPrivateVoiceChat";
1565
- readonly requestType: typeof StartPrivateVoiceChatPayload;
1566
- readonly requestStream: false;
1567
- readonly responseType: typeof StartPrivateVoiceChatResponse;
1568
- readonly responseStream: false;
1569
- readonly options: {};
1570
- };
1571
- /** Accept a private voice chat */
1572
- readonly acceptPrivateVoiceChat: {
1573
- readonly name: "AcceptPrivateVoiceChat";
1574
- readonly requestType: typeof AcceptPrivateVoiceChatPayload;
1575
- readonly requestStream: false;
1576
- readonly responseType: typeof AcceptPrivateVoiceChatResponse;
1577
- readonly responseStream: false;
1578
- readonly options: {};
1579
- };
1580
- /** Reject a private voice chat */
1581
- readonly rejectPrivateVoiceChat: {
1582
- readonly name: "RejectPrivateVoiceChat";
1583
- readonly requestType: typeof RejectPrivateVoiceChatPayload;
1584
- readonly requestStream: false;
1585
- readonly responseType: typeof RejectPrivateVoiceChatResponse;
1586
- readonly responseStream: false;
1587
- readonly options: {};
1588
- };
1589
- /** End a private voice chat */
1590
- readonly endPrivateVoiceChat: {
1591
- readonly name: "EndPrivateVoiceChat";
1592
- readonly requestType: typeof EndPrivateVoiceChatPayload;
1593
- readonly requestStream: false;
1594
- readonly responseType: typeof EndPrivateVoiceChatResponse;
1595
- readonly responseStream: false;
1596
- readonly options: {};
1597
- };
1598
- /** Get the incoming private voice chat request */
1599
- readonly getIncomingPrivateVoiceChatRequest: {
1600
- readonly name: "GetIncomingPrivateVoiceChatRequest";
1601
- readonly requestType: typeof Empty;
1602
- readonly requestStream: false;
1603
- readonly responseType: typeof GetIncomingPrivateVoiceChatRequestResponse;
1604
- readonly responseStream: false;
1605
- readonly options: {};
1606
- };
1607
- /** Subscribe to private voice chat updates */
1608
- readonly subscribeToPrivateVoiceChatUpdates: {
1609
- readonly name: "SubscribeToPrivateVoiceChatUpdates";
1610
- readonly requestType: typeof Empty;
1611
- readonly requestStream: false;
1612
- readonly responseType: typeof PrivateVoiceChatUpdate;
1613
- readonly responseStream: true;
1614
- readonly options: {};
1615
- };
1616
- /** Start a community voice chat (moderator/owner only) */
1617
- readonly startCommunityVoiceChat: {
1618
- readonly name: "StartCommunityVoiceChat";
1619
- readonly requestType: typeof StartCommunityVoiceChatPayload;
1620
- readonly requestStream: false;
1621
- readonly responseType: typeof StartCommunityVoiceChatResponse;
1622
- readonly responseStream: false;
1623
- readonly options: {};
1624
- };
1625
- /** Join a community voice chat */
1626
- readonly joinCommunityVoiceChat: {
1627
- readonly name: "JoinCommunityVoiceChat";
1628
- readonly requestType: typeof JoinCommunityVoiceChatPayload;
1629
- readonly requestStream: false;
1630
- readonly responseType: typeof JoinCommunityVoiceChatResponse;
1631
- readonly responseStream: false;
1632
- readonly options: {};
1633
- };
1634
- /** Request to speak in community voice chat */
1635
- readonly requestToSpeakInCommunityVoiceChat: {
1636
- readonly name: "RequestToSpeakInCommunityVoiceChat";
1637
- readonly requestType: typeof RequestToSpeakInCommunityVoiceChatPayload;
1638
- readonly requestStream: false;
1639
- readonly responseType: typeof RequestToSpeakInCommunityVoiceChatResponse;
1640
- readonly responseStream: false;
1641
- readonly options: {};
1642
- };
1643
- /** Promote speaker in community voice chat (moderator only) */
1644
- readonly promoteSpeakerInCommunityVoiceChat: {
1645
- readonly name: "PromoteSpeakerInCommunityVoiceChat";
1646
- readonly requestType: typeof PromoteSpeakerInCommunityVoiceChatPayload;
1647
- readonly requestStream: false;
1648
- readonly responseType: typeof PromoteSpeakerInCommunityVoiceChatResponse;
1649
- readonly responseStream: false;
1650
- readonly options: {};
1651
- };
1652
- /** Demote speaker in community voice chat (moderator only) */
1653
- readonly demoteSpeakerInCommunityVoiceChat: {
1654
- readonly name: "DemoteSpeakerInCommunityVoiceChat";
1655
- readonly requestType: typeof DemoteSpeakerInCommunityVoiceChatPayload;
1656
- readonly requestStream: false;
1657
- readonly responseType: typeof DemoteSpeakerInCommunityVoiceChatResponse;
1658
- readonly responseStream: false;
1659
- readonly options: {};
1660
- };
1661
- /** Kick player from community voice chat (moderator only) */
1662
- readonly kickPlayerFromCommunityVoiceChat: {
1663
- readonly name: "KickPlayerFromCommunityVoiceChat";
1664
- readonly requestType: typeof KickPlayerFromCommunityVoiceChatPayload;
1665
- readonly requestStream: false;
1666
- readonly responseType: typeof KickPlayerFromCommunityVoiceChatResponse;
1667
- readonly responseStream: false;
1668
- readonly options: {};
1669
- };
1670
- /** Subscribe to community voice chat updates (only 'started' events) */
1671
- readonly subscribeToCommunityVoiceChatUpdates: {
1672
- readonly name: "SubscribeToCommunityVoiceChatUpdates";
1673
- readonly requestType: typeof Empty;
1674
- readonly requestStream: false;
1675
- readonly responseType: typeof CommunityVoiceChatUpdate;
1676
- readonly responseStream: true;
1677
- readonly options: {};
1678
- };
1679
461
  };
1680
462
  };
1681
463
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;