@dcl/protocol 1.0.0-16571562775.commit-b0f1f6b → 1.0.0-16670787325.commit-554f0f2

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.
@@ -3,9 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.UnblockUserResponse = exports.UnblockUserPayload = exports.BlockUserResponse_Ok = exports.BlockUserResponse = exports.BlockUserPayload = exports.GetFriendshipStatusResponse_Ok = exports.GetFriendshipStatusResponse = exports.GetFriendshipStatusPayload = exports.FriendConnectivityUpdate = exports.FriendshipUpdate_BlockResponse = exports.FriendshipUpdate_CancelResponse = exports.FriendshipUpdate_DeleteResponse = exports.FriendshipUpdate_RejectResponse = exports.FriendshipUpdate_AcceptResponse = exports.FriendshipUpdate_RequestResponse = exports.FriendshipUpdate = exports.UpsertFriendshipResponse_Accepted = exports.UpsertFriendshipResponse = exports.PaginatedFriendshipRequestsResponse = exports.PaginatedFriendsProfilesResponse = exports.PaginatedResponse = exports.GetMutualFriendsPayload = exports.UpsertFriendshipPayload_CancelPayload = exports.UpsertFriendshipPayload_DeletePayload = exports.UpsertFriendshipPayload_RejectPayload = exports.UpsertFriendshipPayload_AcceptPayload = exports.UpsertFriendshipPayload_RequestPayload = exports.UpsertFriendshipPayload = exports.GetFriendshipRequestsPayload = exports.GetFriendsPayload = exports.FriendshipRequests = exports.FriendshipRequestResponse = exports.Pagination = exports.BlockedUserProfile = exports.FriendProfile = exports.User = exports.NotFoundError = exports.ForbiddenError = exports.ConflictingError = exports.ProfileNotFound = exports.InvalidRequest = exports.InternalServerError = exports.InvalidFriendshipAction = exports.CommunityVoiceChatStatus = exports.PrivateVoiceChatStatus = exports.BlockedUsersMessagesVisibilitySetting = exports.PrivateMessagePrivacySetting = exports.FriendshipStatus = exports.ConnectivityStatus = exports.protobufPackage = void 0;
7
- exports.KickPlayerFromCommunityVoiceChatResponse_Ok = exports.KickPlayerFromCommunityVoiceChatResponse = exports.KickPlayerFromCommunityVoiceChatPayload = exports.DemoteSpeakerInCommunityVoiceChatResponse_Ok = exports.DemoteSpeakerInCommunityVoiceChatResponse = exports.DemoteSpeakerInCommunityVoiceChatPayload = exports.PromoteSpeakerInCommunityVoiceChatResponse_Ok = exports.PromoteSpeakerInCommunityVoiceChatResponse = exports.PromoteSpeakerInCommunityVoiceChatPayload = exports.RequestToSpeakInCommunityVoiceChatResponse_Ok = exports.RequestToSpeakInCommunityVoiceChatResponse = exports.RequestToSpeakInCommunityVoiceChatPayload = exports.JoinCommunityVoiceChatResponse_Ok = exports.JoinCommunityVoiceChatResponse = exports.JoinCommunityVoiceChatPayload = exports.StartCommunityVoiceChatResponse_Ok = exports.StartCommunityVoiceChatResponse = exports.StartCommunityVoiceChatPayload = exports.CommunityVoiceChatCredentials = exports.GetIncomingPrivateVoiceChatRequestResponse_Ok = exports.GetIncomingPrivateVoiceChatRequestResponse = exports.EndPrivateVoiceChatResponse_Ok = exports.EndPrivateVoiceChatResponse = exports.EndPrivateVoiceChatPayload = exports.PrivateVoiceChatUpdate = exports.PrivateVoiceChatCredentials = exports.RejectPrivateVoiceChatResponse_Ok = exports.RejectPrivateVoiceChatResponse = exports.RejectPrivateVoiceChatPayload = exports.AcceptPrivateVoiceChatResponse_Ok = exports.AcceptPrivateVoiceChatResponse = exports.AcceptPrivateVoiceChatPayload = exports.StartPrivateVoiceChatResponse_Ok = exports.StartPrivateVoiceChatResponse = exports.StartPrivateVoiceChatPayload = exports.CommunityMemberConnectivityUpdate = exports.BlockUpdate = exports.GetBlockingStatusResponse = exports.GetBlockedUsersResponse = exports.GetBlockedUsersPayload = exports.GetPrivateMessagesSettingsResponse_Ok = exports.GetPrivateMessagesSettingsResponse_PrivateMessagesSettings = exports.GetPrivateMessagesSettingsResponse = exports.GetPrivateMessagesSettingsPayload = exports.UpsertSocialSettingsResponse = exports.UpsertSocialSettingsPayload = exports.GetSocialSettingsResponse_Ok = exports.GetSocialSettingsResponse = exports.SocialSettings = exports.UnblockUserResponse_Ok = void 0;
8
- exports.SocialServiceDefinition = exports.CommunityVoiceChatUpdate = void 0;
6
+ exports.GetPrivateMessagesSettingsPayload = exports.UpsertSocialSettingsResponse = exports.UpsertSocialSettingsPayload = exports.GetSocialSettingsResponse_Ok = exports.GetSocialSettingsResponse = exports.SocialSettings = exports.UnblockUserResponse_Ok = exports.UnblockUserResponse = exports.UnblockUserPayload = exports.BlockUserResponse_Ok = exports.BlockUserResponse = exports.BlockUserPayload = exports.GetFriendshipStatusResponse_Ok = exports.GetFriendshipStatusResponse = exports.GetFriendshipStatusPayload = exports.FriendConnectivityUpdate = exports.FriendshipUpdate_BlockResponse = exports.FriendshipUpdate_CancelResponse = exports.FriendshipUpdate_DeleteResponse = exports.FriendshipUpdate_RejectResponse = exports.FriendshipUpdate_AcceptResponse = exports.FriendshipUpdate_RequestResponse = exports.FriendshipUpdate = exports.UpsertFriendshipResponse_Accepted = exports.UpsertFriendshipResponse = exports.PaginatedFriendshipRequestsResponse = exports.PaginatedFriendsProfilesResponse = exports.PaginatedResponse = exports.GetMutualFriendsPayload = exports.UpsertFriendshipPayload_CancelPayload = exports.UpsertFriendshipPayload_DeletePayload = exports.UpsertFriendshipPayload_RejectPayload = exports.UpsertFriendshipPayload_AcceptPayload = exports.UpsertFriendshipPayload_RequestPayload = exports.UpsertFriendshipPayload = exports.GetFriendshipRequestsPayload = exports.GetFriendsPayload = exports.FriendshipRequests = exports.FriendshipRequestResponse = exports.Pagination = exports.BlockedUserProfile = exports.FriendProfile = exports.User = exports.CommunityVoiceChatStatus = exports.PrivateVoiceChatStatus = exports.BlockedUsersMessagesVisibilitySetting = exports.PrivateMessagePrivacySetting = exports.FriendshipStatus = exports.ConnectivityStatus = exports.protobufPackage = void 0;
7
+ exports.SocialServiceDefinition = exports.CommunityVoiceChatUpdate = exports.KickPlayerFromCommunityVoiceChatResponse_Ok = exports.KickPlayerFromCommunityVoiceChatResponse = exports.KickPlayerFromCommunityVoiceChatPayload = exports.DemoteSpeakerInCommunityVoiceChatResponse_Ok = exports.DemoteSpeakerInCommunityVoiceChatResponse = exports.DemoteSpeakerInCommunityVoiceChatPayload = exports.PromoteSpeakerInCommunityVoiceChatResponse_Ok = exports.PromoteSpeakerInCommunityVoiceChatResponse = exports.PromoteSpeakerInCommunityVoiceChatPayload = exports.RequestToSpeakInCommunityVoiceChatResponse_Ok = exports.RequestToSpeakInCommunityVoiceChatResponse = exports.RequestToSpeakInCommunityVoiceChatPayload = exports.JoinCommunityVoiceChatResponse_Ok = exports.JoinCommunityVoiceChatResponse = exports.JoinCommunityVoiceChatPayload = exports.StartCommunityVoiceChatResponse_Ok = exports.StartCommunityVoiceChatResponse = exports.StartCommunityVoiceChatPayload = exports.CommunityVoiceChatCredentials = exports.GetIncomingPrivateVoiceChatRequestResponse_Ok = exports.GetIncomingPrivateVoiceChatRequestResponse = exports.EndPrivateVoiceChatResponse_Ok = exports.EndPrivateVoiceChatResponse = exports.EndPrivateVoiceChatPayload = exports.PrivateVoiceChatUpdate = exports.PrivateVoiceChatCredentials = exports.RejectPrivateVoiceChatResponse_Ok = exports.RejectPrivateVoiceChatResponse = exports.RejectPrivateVoiceChatPayload = exports.AcceptPrivateVoiceChatResponse_Ok = exports.AcceptPrivateVoiceChatResponse = exports.AcceptPrivateVoiceChatPayload = exports.StartPrivateVoiceChatResponse_Ok = exports.StartPrivateVoiceChatResponse = exports.StartPrivateVoiceChatPayload = exports.CommunityMemberConnectivityUpdate = exports.BlockUpdate = exports.GetBlockingStatusResponse = exports.GetBlockedUsersResponse = exports.GetBlockedUsersPayload = exports.GetPrivateMessagesSettingsResponse_Ok = exports.GetPrivateMessagesSettingsResponse_PrivateMessagesSettings = exports.GetPrivateMessagesSettingsResponse = void 0;
9
8
  exports.connectivityStatusFromJSON = connectivityStatusFromJSON;
10
9
  exports.connectivityStatusToJSON = connectivityStatusToJSON;
11
10
  exports.friendshipStatusFromJSON = friendshipStatusFromJSON;
@@ -22,6 +21,7 @@ exports.communityVoiceChatStatusToJSON = communityVoiceChatStatusToJSON;
22
21
  const long_1 = __importDefault(require("long"));
23
22
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
24
23
  const empty_gen_1 = require("../../../google/protobuf/empty.gen");
24
+ const errors_gen_1 = require("../errors.gen");
25
25
  exports.protobufPackage = "decentraland.social_service.v2";
26
26
  var ConnectivityStatus;
27
27
  (function (ConnectivityStatus) {
@@ -275,398 +275,6 @@ function communityVoiceChatStatusToJSON(object) {
275
275
  return "UNRECOGNIZED";
276
276
  }
277
277
  }
278
- function createBaseInvalidFriendshipAction() {
279
- return { message: undefined };
280
- }
281
- var InvalidFriendshipAction;
282
- (function (InvalidFriendshipAction) {
283
- function encode(message, writer = minimal_1.default.Writer.create()) {
284
- if (message.message !== undefined) {
285
- writer.uint32(10).string(message.message);
286
- }
287
- return writer;
288
- }
289
- InvalidFriendshipAction.encode = encode;
290
- function decode(input, length) {
291
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
292
- let end = length === undefined ? reader.len : reader.pos + length;
293
- const message = createBaseInvalidFriendshipAction();
294
- while (reader.pos < end) {
295
- const tag = reader.uint32();
296
- switch (tag >>> 3) {
297
- case 1:
298
- if (tag !== 10) {
299
- break;
300
- }
301
- message.message = reader.string();
302
- continue;
303
- }
304
- if ((tag & 7) === 4 || tag === 0) {
305
- break;
306
- }
307
- reader.skipType(tag & 7);
308
- }
309
- return message;
310
- }
311
- InvalidFriendshipAction.decode = decode;
312
- function fromJSON(object) {
313
- return { message: isSet(object.message) ? String(object.message) : undefined };
314
- }
315
- InvalidFriendshipAction.fromJSON = fromJSON;
316
- function toJSON(message) {
317
- const obj = {};
318
- message.message !== undefined && (obj.message = message.message);
319
- return obj;
320
- }
321
- InvalidFriendshipAction.toJSON = toJSON;
322
- function create(base) {
323
- return InvalidFriendshipAction.fromPartial(base !== null && base !== void 0 ? base : {});
324
- }
325
- InvalidFriendshipAction.create = create;
326
- function fromPartial(object) {
327
- var _a;
328
- const message = createBaseInvalidFriendshipAction();
329
- message.message = (_a = object.message) !== null && _a !== void 0 ? _a : undefined;
330
- return message;
331
- }
332
- InvalidFriendshipAction.fromPartial = fromPartial;
333
- })(InvalidFriendshipAction || (exports.InvalidFriendshipAction = InvalidFriendshipAction = {}));
334
- function createBaseInternalServerError() {
335
- return { message: undefined };
336
- }
337
- var InternalServerError;
338
- (function (InternalServerError) {
339
- function encode(message, writer = minimal_1.default.Writer.create()) {
340
- if (message.message !== undefined) {
341
- writer.uint32(10).string(message.message);
342
- }
343
- return writer;
344
- }
345
- InternalServerError.encode = encode;
346
- function decode(input, length) {
347
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
348
- let end = length === undefined ? reader.len : reader.pos + length;
349
- const message = createBaseInternalServerError();
350
- while (reader.pos < end) {
351
- const tag = reader.uint32();
352
- switch (tag >>> 3) {
353
- case 1:
354
- if (tag !== 10) {
355
- break;
356
- }
357
- message.message = reader.string();
358
- continue;
359
- }
360
- if ((tag & 7) === 4 || tag === 0) {
361
- break;
362
- }
363
- reader.skipType(tag & 7);
364
- }
365
- return message;
366
- }
367
- InternalServerError.decode = decode;
368
- function fromJSON(object) {
369
- return { message: isSet(object.message) ? String(object.message) : undefined };
370
- }
371
- InternalServerError.fromJSON = fromJSON;
372
- function toJSON(message) {
373
- const obj = {};
374
- message.message !== undefined && (obj.message = message.message);
375
- return obj;
376
- }
377
- InternalServerError.toJSON = toJSON;
378
- function create(base) {
379
- return InternalServerError.fromPartial(base !== null && base !== void 0 ? base : {});
380
- }
381
- InternalServerError.create = create;
382
- function fromPartial(object) {
383
- var _a;
384
- const message = createBaseInternalServerError();
385
- message.message = (_a = object.message) !== null && _a !== void 0 ? _a : undefined;
386
- return message;
387
- }
388
- InternalServerError.fromPartial = fromPartial;
389
- })(InternalServerError || (exports.InternalServerError = InternalServerError = {}));
390
- function createBaseInvalidRequest() {
391
- return { message: undefined };
392
- }
393
- var InvalidRequest;
394
- (function (InvalidRequest) {
395
- function encode(message, writer = minimal_1.default.Writer.create()) {
396
- if (message.message !== undefined) {
397
- writer.uint32(10).string(message.message);
398
- }
399
- return writer;
400
- }
401
- InvalidRequest.encode = encode;
402
- function decode(input, length) {
403
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
404
- let end = length === undefined ? reader.len : reader.pos + length;
405
- const message = createBaseInvalidRequest();
406
- while (reader.pos < end) {
407
- const tag = reader.uint32();
408
- switch (tag >>> 3) {
409
- case 1:
410
- if (tag !== 10) {
411
- break;
412
- }
413
- message.message = reader.string();
414
- continue;
415
- }
416
- if ((tag & 7) === 4 || tag === 0) {
417
- break;
418
- }
419
- reader.skipType(tag & 7);
420
- }
421
- return message;
422
- }
423
- InvalidRequest.decode = decode;
424
- function fromJSON(object) {
425
- return { message: isSet(object.message) ? String(object.message) : undefined };
426
- }
427
- InvalidRequest.fromJSON = fromJSON;
428
- function toJSON(message) {
429
- const obj = {};
430
- message.message !== undefined && (obj.message = message.message);
431
- return obj;
432
- }
433
- InvalidRequest.toJSON = toJSON;
434
- function create(base) {
435
- return InvalidRequest.fromPartial(base !== null && base !== void 0 ? base : {});
436
- }
437
- InvalidRequest.create = create;
438
- function fromPartial(object) {
439
- var _a;
440
- const message = createBaseInvalidRequest();
441
- message.message = (_a = object.message) !== null && _a !== void 0 ? _a : undefined;
442
- return message;
443
- }
444
- InvalidRequest.fromPartial = fromPartial;
445
- })(InvalidRequest || (exports.InvalidRequest = InvalidRequest = {}));
446
- function createBaseProfileNotFound() {
447
- return { message: undefined };
448
- }
449
- var ProfileNotFound;
450
- (function (ProfileNotFound) {
451
- function encode(message, writer = minimal_1.default.Writer.create()) {
452
- if (message.message !== undefined) {
453
- writer.uint32(10).string(message.message);
454
- }
455
- return writer;
456
- }
457
- ProfileNotFound.encode = encode;
458
- function decode(input, length) {
459
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
460
- let end = length === undefined ? reader.len : reader.pos + length;
461
- const message = createBaseProfileNotFound();
462
- while (reader.pos < end) {
463
- const tag = reader.uint32();
464
- switch (tag >>> 3) {
465
- case 1:
466
- if (tag !== 10) {
467
- break;
468
- }
469
- message.message = reader.string();
470
- continue;
471
- }
472
- if ((tag & 7) === 4 || tag === 0) {
473
- break;
474
- }
475
- reader.skipType(tag & 7);
476
- }
477
- return message;
478
- }
479
- ProfileNotFound.decode = decode;
480
- function fromJSON(object) {
481
- return { message: isSet(object.message) ? String(object.message) : undefined };
482
- }
483
- ProfileNotFound.fromJSON = fromJSON;
484
- function toJSON(message) {
485
- const obj = {};
486
- message.message !== undefined && (obj.message = message.message);
487
- return obj;
488
- }
489
- ProfileNotFound.toJSON = toJSON;
490
- function create(base) {
491
- return ProfileNotFound.fromPartial(base !== null && base !== void 0 ? base : {});
492
- }
493
- ProfileNotFound.create = create;
494
- function fromPartial(object) {
495
- var _a;
496
- const message = createBaseProfileNotFound();
497
- message.message = (_a = object.message) !== null && _a !== void 0 ? _a : undefined;
498
- return message;
499
- }
500
- ProfileNotFound.fromPartial = fromPartial;
501
- })(ProfileNotFound || (exports.ProfileNotFound = ProfileNotFound = {}));
502
- function createBaseConflictingError() {
503
- return { message: undefined };
504
- }
505
- var ConflictingError;
506
- (function (ConflictingError) {
507
- function encode(message, writer = minimal_1.default.Writer.create()) {
508
- if (message.message !== undefined) {
509
- writer.uint32(10).string(message.message);
510
- }
511
- return writer;
512
- }
513
- ConflictingError.encode = encode;
514
- function decode(input, length) {
515
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
516
- let end = length === undefined ? reader.len : reader.pos + length;
517
- const message = createBaseConflictingError();
518
- while (reader.pos < end) {
519
- const tag = reader.uint32();
520
- switch (tag >>> 3) {
521
- case 1:
522
- if (tag !== 10) {
523
- break;
524
- }
525
- message.message = reader.string();
526
- continue;
527
- }
528
- if ((tag & 7) === 4 || tag === 0) {
529
- break;
530
- }
531
- reader.skipType(tag & 7);
532
- }
533
- return message;
534
- }
535
- ConflictingError.decode = decode;
536
- function fromJSON(object) {
537
- return { message: isSet(object.message) ? String(object.message) : undefined };
538
- }
539
- ConflictingError.fromJSON = fromJSON;
540
- function toJSON(message) {
541
- const obj = {};
542
- message.message !== undefined && (obj.message = message.message);
543
- return obj;
544
- }
545
- ConflictingError.toJSON = toJSON;
546
- function create(base) {
547
- return ConflictingError.fromPartial(base !== null && base !== void 0 ? base : {});
548
- }
549
- ConflictingError.create = create;
550
- function fromPartial(object) {
551
- var _a;
552
- const message = createBaseConflictingError();
553
- message.message = (_a = object.message) !== null && _a !== void 0 ? _a : undefined;
554
- return message;
555
- }
556
- ConflictingError.fromPartial = fromPartial;
557
- })(ConflictingError || (exports.ConflictingError = ConflictingError = {}));
558
- function createBaseForbiddenError() {
559
- return { message: undefined };
560
- }
561
- var ForbiddenError;
562
- (function (ForbiddenError) {
563
- function encode(message, writer = minimal_1.default.Writer.create()) {
564
- if (message.message !== undefined) {
565
- writer.uint32(10).string(message.message);
566
- }
567
- return writer;
568
- }
569
- ForbiddenError.encode = encode;
570
- function decode(input, length) {
571
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
572
- let end = length === undefined ? reader.len : reader.pos + length;
573
- const message = createBaseForbiddenError();
574
- while (reader.pos < end) {
575
- const tag = reader.uint32();
576
- switch (tag >>> 3) {
577
- case 1:
578
- if (tag !== 10) {
579
- break;
580
- }
581
- message.message = reader.string();
582
- continue;
583
- }
584
- if ((tag & 7) === 4 || tag === 0) {
585
- break;
586
- }
587
- reader.skipType(tag & 7);
588
- }
589
- return message;
590
- }
591
- ForbiddenError.decode = decode;
592
- function fromJSON(object) {
593
- return { message: isSet(object.message) ? String(object.message) : undefined };
594
- }
595
- ForbiddenError.fromJSON = fromJSON;
596
- function toJSON(message) {
597
- const obj = {};
598
- message.message !== undefined && (obj.message = message.message);
599
- return obj;
600
- }
601
- ForbiddenError.toJSON = toJSON;
602
- function create(base) {
603
- return ForbiddenError.fromPartial(base !== null && base !== void 0 ? base : {});
604
- }
605
- ForbiddenError.create = create;
606
- function fromPartial(object) {
607
- var _a;
608
- const message = createBaseForbiddenError();
609
- message.message = (_a = object.message) !== null && _a !== void 0 ? _a : undefined;
610
- return message;
611
- }
612
- ForbiddenError.fromPartial = fromPartial;
613
- })(ForbiddenError || (exports.ForbiddenError = ForbiddenError = {}));
614
- function createBaseNotFoundError() {
615
- return { message: undefined };
616
- }
617
- var NotFoundError;
618
- (function (NotFoundError) {
619
- function encode(message, writer = minimal_1.default.Writer.create()) {
620
- if (message.message !== undefined) {
621
- writer.uint32(10).string(message.message);
622
- }
623
- return writer;
624
- }
625
- NotFoundError.encode = encode;
626
- function decode(input, length) {
627
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
628
- let end = length === undefined ? reader.len : reader.pos + length;
629
- const message = createBaseNotFoundError();
630
- while (reader.pos < end) {
631
- const tag = reader.uint32();
632
- switch (tag >>> 3) {
633
- case 1:
634
- if (tag !== 10) {
635
- break;
636
- }
637
- message.message = reader.string();
638
- continue;
639
- }
640
- if ((tag & 7) === 4 || tag === 0) {
641
- break;
642
- }
643
- reader.skipType(tag & 7);
644
- }
645
- return message;
646
- }
647
- NotFoundError.decode = decode;
648
- function fromJSON(object) {
649
- return { message: isSet(object.message) ? String(object.message) : undefined };
650
- }
651
- NotFoundError.fromJSON = fromJSON;
652
- function toJSON(message) {
653
- const obj = {};
654
- message.message !== undefined && (obj.message = message.message);
655
- return obj;
656
- }
657
- NotFoundError.toJSON = toJSON;
658
- function create(base) {
659
- return NotFoundError.fromPartial(base !== null && base !== void 0 ? base : {});
660
- }
661
- NotFoundError.create = create;
662
- function fromPartial(object) {
663
- var _a;
664
- const message = createBaseNotFoundError();
665
- message.message = (_a = object.message) !== null && _a !== void 0 ? _a : undefined;
666
- return message;
667
- }
668
- NotFoundError.fromPartial = fromPartial;
669
- })(NotFoundError || (exports.NotFoundError = NotFoundError = {}));
670
278
  function createBaseUser() {
671
279
  return { address: "" };
672
280
  }
@@ -1963,7 +1571,7 @@ var PaginatedFriendshipRequestsResponse;
1963
1571
  FriendshipRequests.encode(message.response.requests, writer.uint32(10).fork()).ldelim();
1964
1572
  break;
1965
1573
  case "internalServerError":
1966
- InternalServerError.encode(message.response.internalServerError, writer.uint32(18).fork()).ldelim();
1574
+ errors_gen_1.InternalServerError.encode(message.response.internalServerError, writer.uint32(18).fork()).ldelim();
1967
1575
  break;
1968
1576
  }
1969
1577
  if (message.paginationData !== undefined) {
@@ -1991,7 +1599,7 @@ var PaginatedFriendshipRequestsResponse;
1991
1599
  }
1992
1600
  message.response = {
1993
1601
  $case: "internalServerError",
1994
- internalServerError: InternalServerError.decode(reader, reader.uint32()),
1602
+ internalServerError: errors_gen_1.InternalServerError.decode(reader, reader.uint32()),
1995
1603
  };
1996
1604
  continue;
1997
1605
  case 3:
@@ -2016,7 +1624,7 @@ var PaginatedFriendshipRequestsResponse;
2016
1624
  : isSet(object.internalServerError)
2017
1625
  ? {
2018
1626
  $case: "internalServerError",
2019
- internalServerError: InternalServerError.fromJSON(object.internalServerError),
1627
+ internalServerError: errors_gen_1.InternalServerError.fromJSON(object.internalServerError),
2020
1628
  }
2021
1629
  : undefined,
2022
1630
  paginationData: isSet(object.paginationData) ? PaginatedResponse.fromJSON(object.paginationData) : undefined,
@@ -2030,7 +1638,7 @@ var PaginatedFriendshipRequestsResponse;
2030
1638
  (obj.requests = ((_b = message.response) === null || _b === void 0 ? void 0 : _b.requests) ? FriendshipRequests.toJSON((_c = message.response) === null || _c === void 0 ? void 0 : _c.requests) : undefined);
2031
1639
  ((_d = message.response) === null || _d === void 0 ? void 0 : _d.$case) === "internalServerError" &&
2032
1640
  (obj.internalServerError = ((_e = message.response) === null || _e === void 0 ? void 0 : _e.internalServerError)
2033
- ? InternalServerError.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.internalServerError)
1641
+ ? errors_gen_1.InternalServerError.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.internalServerError)
2034
1642
  : undefined);
2035
1643
  message.paginationData !== undefined &&
2036
1644
  (obj.paginationData = message.paginationData ? PaginatedResponse.toJSON(message.paginationData) : undefined);
@@ -2054,7 +1662,7 @@ var PaginatedFriendshipRequestsResponse;
2054
1662
  ((_f = object.response) === null || _f === void 0 ? void 0 : _f.internalServerError) !== null) {
2055
1663
  message.response = {
2056
1664
  $case: "internalServerError",
2057
- internalServerError: InternalServerError.fromPartial(object.response.internalServerError),
1665
+ internalServerError: errors_gen_1.InternalServerError.fromPartial(object.response.internalServerError),
2058
1666
  };
2059
1667
  }
2060
1668
  message.paginationData = (object.paginationData !== undefined && object.paginationData !== null)
@@ -2076,10 +1684,13 @@ var UpsertFriendshipResponse;
2076
1684
  UpsertFriendshipResponse_Accepted.encode(message.response.accepted, writer.uint32(10).fork()).ldelim();
2077
1685
  break;
2078
1686
  case "invalidFriendshipAction":
2079
- InvalidFriendshipAction.encode(message.response.invalidFriendshipAction, writer.uint32(18).fork()).ldelim();
1687
+ errors_gen_1.InvalidFriendshipAction.encode(message.response.invalidFriendshipAction, writer.uint32(18).fork()).ldelim();
2080
1688
  break;
2081
1689
  case "internalServerError":
2082
- InternalServerError.encode(message.response.internalServerError, writer.uint32(26).fork()).ldelim();
1690
+ errors_gen_1.InternalServerError.encode(message.response.internalServerError, writer.uint32(26).fork()).ldelim();
1691
+ break;
1692
+ case "invalidRequest":
1693
+ errors_gen_1.InvalidRequest.encode(message.response.invalidRequest, writer.uint32(34).fork()).ldelim();
2083
1694
  break;
2084
1695
  }
2085
1696
  return writer;
@@ -2107,7 +1718,7 @@ var UpsertFriendshipResponse;
2107
1718
  }
2108
1719
  message.response = {
2109
1720
  $case: "invalidFriendshipAction",
2110
- invalidFriendshipAction: InvalidFriendshipAction.decode(reader, reader.uint32()),
1721
+ invalidFriendshipAction: errors_gen_1.InvalidFriendshipAction.decode(reader, reader.uint32()),
2111
1722
  };
2112
1723
  continue;
2113
1724
  case 3:
@@ -2116,7 +1727,16 @@ var UpsertFriendshipResponse;
2116
1727
  }
2117
1728
  message.response = {
2118
1729
  $case: "internalServerError",
2119
- internalServerError: InternalServerError.decode(reader, reader.uint32()),
1730
+ internalServerError: errors_gen_1.InternalServerError.decode(reader, reader.uint32()),
1731
+ };
1732
+ continue;
1733
+ case 4:
1734
+ if (tag !== 34) {
1735
+ break;
1736
+ }
1737
+ message.response = {
1738
+ $case: "invalidRequest",
1739
+ invalidRequest: errors_gen_1.InvalidRequest.decode(reader, reader.uint32()),
2120
1740
  };
2121
1741
  continue;
2122
1742
  }
@@ -2135,19 +1755,21 @@ var UpsertFriendshipResponse;
2135
1755
  : isSet(object.invalidFriendshipAction)
2136
1756
  ? {
2137
1757
  $case: "invalidFriendshipAction",
2138
- invalidFriendshipAction: InvalidFriendshipAction.fromJSON(object.invalidFriendshipAction),
1758
+ invalidFriendshipAction: errors_gen_1.InvalidFriendshipAction.fromJSON(object.invalidFriendshipAction),
2139
1759
  }
2140
1760
  : isSet(object.internalServerError)
2141
1761
  ? {
2142
1762
  $case: "internalServerError",
2143
- internalServerError: InternalServerError.fromJSON(object.internalServerError),
1763
+ internalServerError: errors_gen_1.InternalServerError.fromJSON(object.internalServerError),
2144
1764
  }
2145
- : undefined,
1765
+ : isSet(object.invalidRequest)
1766
+ ? { $case: "invalidRequest", invalidRequest: errors_gen_1.InvalidRequest.fromJSON(object.invalidRequest) }
1767
+ : undefined,
2146
1768
  };
2147
1769
  }
2148
1770
  UpsertFriendshipResponse.fromJSON = fromJSON;
2149
1771
  function toJSON(message) {
2150
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
1772
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
2151
1773
  const obj = {};
2152
1774
  ((_a = message.response) === null || _a === void 0 ? void 0 : _a.$case) === "accepted" &&
2153
1775
  (obj.accepted = ((_b = message.response) === null || _b === void 0 ? void 0 : _b.accepted)
@@ -2155,11 +1777,15 @@ var UpsertFriendshipResponse;
2155
1777
  : undefined);
2156
1778
  ((_d = message.response) === null || _d === void 0 ? void 0 : _d.$case) === "invalidFriendshipAction" &&
2157
1779
  (obj.invalidFriendshipAction = ((_e = message.response) === null || _e === void 0 ? void 0 : _e.invalidFriendshipAction)
2158
- ? InvalidFriendshipAction.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.invalidFriendshipAction)
1780
+ ? errors_gen_1.InvalidFriendshipAction.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.invalidFriendshipAction)
2159
1781
  : undefined);
2160
1782
  ((_g = message.response) === null || _g === void 0 ? void 0 : _g.$case) === "internalServerError" &&
2161
1783
  (obj.internalServerError = ((_h = message.response) === null || _h === void 0 ? void 0 : _h.internalServerError)
2162
- ? InternalServerError.toJSON((_j = message.response) === null || _j === void 0 ? void 0 : _j.internalServerError)
1784
+ ? errors_gen_1.InternalServerError.toJSON((_j = message.response) === null || _j === void 0 ? void 0 : _j.internalServerError)
1785
+ : undefined);
1786
+ ((_k = message.response) === null || _k === void 0 ? void 0 : _k.$case) === "invalidRequest" &&
1787
+ (obj.invalidRequest = ((_l = message.response) === null || _l === void 0 ? void 0 : _l.invalidRequest)
1788
+ ? errors_gen_1.InvalidRequest.toJSON((_m = message.response) === null || _m === void 0 ? void 0 : _m.invalidRequest)
2163
1789
  : undefined);
2164
1790
  return obj;
2165
1791
  }
@@ -2169,7 +1795,7 @@ var UpsertFriendshipResponse;
2169
1795
  }
2170
1796
  UpsertFriendshipResponse.create = create;
2171
1797
  function fromPartial(object) {
2172
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
1798
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
2173
1799
  const message = createBaseUpsertFriendshipResponse();
2174
1800
  if (((_a = object.response) === null || _a === void 0 ? void 0 : _a.$case) === "accepted" &&
2175
1801
  ((_b = object.response) === null || _b === void 0 ? void 0 : _b.accepted) !== undefined &&
@@ -2184,7 +1810,7 @@ var UpsertFriendshipResponse;
2184
1810
  ((_f = object.response) === null || _f === void 0 ? void 0 : _f.invalidFriendshipAction) !== null) {
2185
1811
  message.response = {
2186
1812
  $case: "invalidFriendshipAction",
2187
- invalidFriendshipAction: InvalidFriendshipAction.fromPartial(object.response.invalidFriendshipAction),
1813
+ invalidFriendshipAction: errors_gen_1.InvalidFriendshipAction.fromPartial(object.response.invalidFriendshipAction),
2188
1814
  };
2189
1815
  }
2190
1816
  if (((_g = object.response) === null || _g === void 0 ? void 0 : _g.$case) === "internalServerError" &&
@@ -2192,7 +1818,15 @@ var UpsertFriendshipResponse;
2192
1818
  ((_j = object.response) === null || _j === void 0 ? void 0 : _j.internalServerError) !== null) {
2193
1819
  message.response = {
2194
1820
  $case: "internalServerError",
2195
- internalServerError: InternalServerError.fromPartial(object.response.internalServerError),
1821
+ internalServerError: errors_gen_1.InternalServerError.fromPartial(object.response.internalServerError),
1822
+ };
1823
+ }
1824
+ if (((_k = object.response) === null || _k === void 0 ? void 0 : _k.$case) === "invalidRequest" &&
1825
+ ((_l = object.response) === null || _l === void 0 ? void 0 : _l.invalidRequest) !== undefined &&
1826
+ ((_m = object.response) === null || _m === void 0 ? void 0 : _m.invalidRequest) !== null) {
1827
+ message.response = {
1828
+ $case: "invalidRequest",
1829
+ invalidRequest: errors_gen_1.InvalidRequest.fromPartial(object.response.invalidRequest),
2196
1830
  };
2197
1831
  }
2198
1832
  return message;
@@ -2968,7 +2602,10 @@ var GetFriendshipStatusResponse;
2968
2602
  GetFriendshipStatusResponse_Ok.encode(message.response.accepted, writer.uint32(10).fork()).ldelim();
2969
2603
  break;
2970
2604
  case "internalServerError":
2971
- InternalServerError.encode(message.response.internalServerError, writer.uint32(18).fork()).ldelim();
2605
+ errors_gen_1.InternalServerError.encode(message.response.internalServerError, writer.uint32(18).fork()).ldelim();
2606
+ break;
2607
+ case "invalidRequest":
2608
+ errors_gen_1.InvalidRequest.encode(message.response.invalidRequest, writer.uint32(26).fork()).ldelim();
2972
2609
  break;
2973
2610
  }
2974
2611
  return writer;
@@ -2996,7 +2633,16 @@ var GetFriendshipStatusResponse;
2996
2633
  }
2997
2634
  message.response = {
2998
2635
  $case: "internalServerError",
2999
- internalServerError: InternalServerError.decode(reader, reader.uint32()),
2636
+ internalServerError: errors_gen_1.InternalServerError.decode(reader, reader.uint32()),
2637
+ };
2638
+ continue;
2639
+ case 3:
2640
+ if (tag !== 26) {
2641
+ break;
2642
+ }
2643
+ message.response = {
2644
+ $case: "invalidRequest",
2645
+ invalidRequest: errors_gen_1.InvalidRequest.decode(reader, reader.uint32()),
3000
2646
  };
3001
2647
  continue;
3002
2648
  }
@@ -3015,14 +2661,16 @@ var GetFriendshipStatusResponse;
3015
2661
  : isSet(object.internalServerError)
3016
2662
  ? {
3017
2663
  $case: "internalServerError",
3018
- internalServerError: InternalServerError.fromJSON(object.internalServerError),
2664
+ internalServerError: errors_gen_1.InternalServerError.fromJSON(object.internalServerError),
3019
2665
  }
3020
- : undefined,
2666
+ : isSet(object.invalidRequest)
2667
+ ? { $case: "invalidRequest", invalidRequest: errors_gen_1.InvalidRequest.fromJSON(object.invalidRequest) }
2668
+ : undefined,
3021
2669
  };
3022
2670
  }
3023
2671
  GetFriendshipStatusResponse.fromJSON = fromJSON;
3024
2672
  function toJSON(message) {
3025
- var _a, _b, _c, _d, _e, _f;
2673
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
3026
2674
  const obj = {};
3027
2675
  ((_a = message.response) === null || _a === void 0 ? void 0 : _a.$case) === "accepted" &&
3028
2676
  (obj.accepted = ((_b = message.response) === null || _b === void 0 ? void 0 : _b.accepted)
@@ -3030,7 +2678,11 @@ var GetFriendshipStatusResponse;
3030
2678
  : undefined);
3031
2679
  ((_d = message.response) === null || _d === void 0 ? void 0 : _d.$case) === "internalServerError" &&
3032
2680
  (obj.internalServerError = ((_e = message.response) === null || _e === void 0 ? void 0 : _e.internalServerError)
3033
- ? InternalServerError.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.internalServerError)
2681
+ ? errors_gen_1.InternalServerError.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.internalServerError)
2682
+ : undefined);
2683
+ ((_g = message.response) === null || _g === void 0 ? void 0 : _g.$case) === "invalidRequest" &&
2684
+ (obj.invalidRequest = ((_h = message.response) === null || _h === void 0 ? void 0 : _h.invalidRequest)
2685
+ ? errors_gen_1.InvalidRequest.toJSON((_j = message.response) === null || _j === void 0 ? void 0 : _j.invalidRequest)
3034
2686
  : undefined);
3035
2687
  return obj;
3036
2688
  }
@@ -3040,7 +2692,7 @@ var GetFriendshipStatusResponse;
3040
2692
  }
3041
2693
  GetFriendshipStatusResponse.create = create;
3042
2694
  function fromPartial(object) {
3043
- var _a, _b, _c, _d, _e, _f;
2695
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
3044
2696
  const message = createBaseGetFriendshipStatusResponse();
3045
2697
  if (((_a = object.response) === null || _a === void 0 ? void 0 : _a.$case) === "accepted" &&
3046
2698
  ((_b = object.response) === null || _b === void 0 ? void 0 : _b.accepted) !== undefined &&
@@ -3055,7 +2707,15 @@ var GetFriendshipStatusResponse;
3055
2707
  ((_f = object.response) === null || _f === void 0 ? void 0 : _f.internalServerError) !== null) {
3056
2708
  message.response = {
3057
2709
  $case: "internalServerError",
3058
- internalServerError: InternalServerError.fromPartial(object.response.internalServerError),
2710
+ internalServerError: errors_gen_1.InternalServerError.fromPartial(object.response.internalServerError),
2711
+ };
2712
+ }
2713
+ if (((_g = object.response) === null || _g === void 0 ? void 0 : _g.$case) === "invalidRequest" &&
2714
+ ((_h = object.response) === null || _h === void 0 ? void 0 : _h.invalidRequest) !== undefined &&
2715
+ ((_j = object.response) === null || _j === void 0 ? void 0 : _j.invalidRequest) !== null) {
2716
+ message.response = {
2717
+ $case: "invalidRequest",
2718
+ invalidRequest: errors_gen_1.InvalidRequest.fromPartial(object.response.invalidRequest),
3059
2719
  };
3060
2720
  }
3061
2721
  return message;
@@ -3199,13 +2859,13 @@ var BlockUserResponse;
3199
2859
  BlockUserResponse_Ok.encode(message.response.ok, writer.uint32(10).fork()).ldelim();
3200
2860
  break;
3201
2861
  case "internalServerError":
3202
- InternalServerError.encode(message.response.internalServerError, writer.uint32(18).fork()).ldelim();
2862
+ errors_gen_1.InternalServerError.encode(message.response.internalServerError, writer.uint32(18).fork()).ldelim();
3203
2863
  break;
3204
2864
  case "invalidRequest":
3205
- InvalidRequest.encode(message.response.invalidRequest, writer.uint32(26).fork()).ldelim();
2865
+ errors_gen_1.InvalidRequest.encode(message.response.invalidRequest, writer.uint32(26).fork()).ldelim();
3206
2866
  break;
3207
2867
  case "profileNotFound":
3208
- ProfileNotFound.encode(message.response.profileNotFound, writer.uint32(34).fork()).ldelim();
2868
+ errors_gen_1.ProfileNotFound.encode(message.response.profileNotFound, writer.uint32(34).fork()).ldelim();
3209
2869
  break;
3210
2870
  }
3211
2871
  return writer;
@@ -3230,7 +2890,7 @@ var BlockUserResponse;
3230
2890
  }
3231
2891
  message.response = {
3232
2892
  $case: "internalServerError",
3233
- internalServerError: InternalServerError.decode(reader, reader.uint32()),
2893
+ internalServerError: errors_gen_1.InternalServerError.decode(reader, reader.uint32()),
3234
2894
  };
3235
2895
  continue;
3236
2896
  case 3:
@@ -3239,7 +2899,7 @@ var BlockUserResponse;
3239
2899
  }
3240
2900
  message.response = {
3241
2901
  $case: "invalidRequest",
3242
- invalidRequest: InvalidRequest.decode(reader, reader.uint32()),
2902
+ invalidRequest: errors_gen_1.InvalidRequest.decode(reader, reader.uint32()),
3243
2903
  };
3244
2904
  continue;
3245
2905
  case 4:
@@ -3248,7 +2908,7 @@ var BlockUserResponse;
3248
2908
  }
3249
2909
  message.response = {
3250
2910
  $case: "profileNotFound",
3251
- profileNotFound: ProfileNotFound.decode(reader, reader.uint32()),
2911
+ profileNotFound: errors_gen_1.ProfileNotFound.decode(reader, reader.uint32()),
3252
2912
  };
3253
2913
  continue;
3254
2914
  }
@@ -3267,12 +2927,12 @@ var BlockUserResponse;
3267
2927
  : isSet(object.internalServerError)
3268
2928
  ? {
3269
2929
  $case: "internalServerError",
3270
- internalServerError: InternalServerError.fromJSON(object.internalServerError),
2930
+ internalServerError: errors_gen_1.InternalServerError.fromJSON(object.internalServerError),
3271
2931
  }
3272
2932
  : isSet(object.invalidRequest)
3273
- ? { $case: "invalidRequest", invalidRequest: InvalidRequest.fromJSON(object.invalidRequest) }
2933
+ ? { $case: "invalidRequest", invalidRequest: errors_gen_1.InvalidRequest.fromJSON(object.invalidRequest) }
3274
2934
  : isSet(object.profileNotFound)
3275
- ? { $case: "profileNotFound", profileNotFound: ProfileNotFound.fromJSON(object.profileNotFound) }
2935
+ ? { $case: "profileNotFound", profileNotFound: errors_gen_1.ProfileNotFound.fromJSON(object.profileNotFound) }
3276
2936
  : undefined,
3277
2937
  };
3278
2938
  }
@@ -3284,15 +2944,15 @@ var BlockUserResponse;
3284
2944
  (obj.ok = ((_b = message.response) === null || _b === void 0 ? void 0 : _b.ok) ? BlockUserResponse_Ok.toJSON((_c = message.response) === null || _c === void 0 ? void 0 : _c.ok) : undefined);
3285
2945
  ((_d = message.response) === null || _d === void 0 ? void 0 : _d.$case) === "internalServerError" &&
3286
2946
  (obj.internalServerError = ((_e = message.response) === null || _e === void 0 ? void 0 : _e.internalServerError)
3287
- ? InternalServerError.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.internalServerError)
2947
+ ? errors_gen_1.InternalServerError.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.internalServerError)
3288
2948
  : undefined);
3289
2949
  ((_g = message.response) === null || _g === void 0 ? void 0 : _g.$case) === "invalidRequest" &&
3290
2950
  (obj.invalidRequest = ((_h = message.response) === null || _h === void 0 ? void 0 : _h.invalidRequest)
3291
- ? InvalidRequest.toJSON((_j = message.response) === null || _j === void 0 ? void 0 : _j.invalidRequest)
2951
+ ? errors_gen_1.InvalidRequest.toJSON((_j = message.response) === null || _j === void 0 ? void 0 : _j.invalidRequest)
3292
2952
  : undefined);
3293
2953
  ((_k = message.response) === null || _k === void 0 ? void 0 : _k.$case) === "profileNotFound" &&
3294
2954
  (obj.profileNotFound = ((_l = message.response) === null || _l === void 0 ? void 0 : _l.profileNotFound)
3295
- ? ProfileNotFound.toJSON((_m = message.response) === null || _m === void 0 ? void 0 : _m.profileNotFound)
2955
+ ? errors_gen_1.ProfileNotFound.toJSON((_m = message.response) === null || _m === void 0 ? void 0 : _m.profileNotFound)
3296
2956
  : undefined);
3297
2957
  return obj;
3298
2958
  }
@@ -3312,7 +2972,7 @@ var BlockUserResponse;
3312
2972
  ((_f = object.response) === null || _f === void 0 ? void 0 : _f.internalServerError) !== null) {
3313
2973
  message.response = {
3314
2974
  $case: "internalServerError",
3315
- internalServerError: InternalServerError.fromPartial(object.response.internalServerError),
2975
+ internalServerError: errors_gen_1.InternalServerError.fromPartial(object.response.internalServerError),
3316
2976
  };
3317
2977
  }
3318
2978
  if (((_g = object.response) === null || _g === void 0 ? void 0 : _g.$case) === "invalidRequest" &&
@@ -3320,7 +2980,7 @@ var BlockUserResponse;
3320
2980
  ((_j = object.response) === null || _j === void 0 ? void 0 : _j.invalidRequest) !== null) {
3321
2981
  message.response = {
3322
2982
  $case: "invalidRequest",
3323
- invalidRequest: InvalidRequest.fromPartial(object.response.invalidRequest),
2983
+ invalidRequest: errors_gen_1.InvalidRequest.fromPartial(object.response.invalidRequest),
3324
2984
  };
3325
2985
  }
3326
2986
  if (((_k = object.response) === null || _k === void 0 ? void 0 : _k.$case) === "profileNotFound" &&
@@ -3328,7 +2988,7 @@ var BlockUserResponse;
3328
2988
  ((_m = object.response) === null || _m === void 0 ? void 0 : _m.profileNotFound) !== null) {
3329
2989
  message.response = {
3330
2990
  $case: "profileNotFound",
3331
- profileNotFound: ProfileNotFound.fromPartial(object.response.profileNotFound),
2991
+ profileNotFound: errors_gen_1.ProfileNotFound.fromPartial(object.response.profileNotFound),
3332
2992
  };
3333
2993
  }
3334
2994
  return message;
@@ -3460,13 +3120,13 @@ var UnblockUserResponse;
3460
3120
  UnblockUserResponse_Ok.encode(message.response.ok, writer.uint32(10).fork()).ldelim();
3461
3121
  break;
3462
3122
  case "internalServerError":
3463
- InternalServerError.encode(message.response.internalServerError, writer.uint32(18).fork()).ldelim();
3123
+ errors_gen_1.InternalServerError.encode(message.response.internalServerError, writer.uint32(18).fork()).ldelim();
3464
3124
  break;
3465
3125
  case "invalidRequest":
3466
- InvalidRequest.encode(message.response.invalidRequest, writer.uint32(26).fork()).ldelim();
3126
+ errors_gen_1.InvalidRequest.encode(message.response.invalidRequest, writer.uint32(26).fork()).ldelim();
3467
3127
  break;
3468
3128
  case "profileNotFound":
3469
- ProfileNotFound.encode(message.response.profileNotFound, writer.uint32(34).fork()).ldelim();
3129
+ errors_gen_1.ProfileNotFound.encode(message.response.profileNotFound, writer.uint32(34).fork()).ldelim();
3470
3130
  break;
3471
3131
  }
3472
3132
  return writer;
@@ -3491,7 +3151,7 @@ var UnblockUserResponse;
3491
3151
  }
3492
3152
  message.response = {
3493
3153
  $case: "internalServerError",
3494
- internalServerError: InternalServerError.decode(reader, reader.uint32()),
3154
+ internalServerError: errors_gen_1.InternalServerError.decode(reader, reader.uint32()),
3495
3155
  };
3496
3156
  continue;
3497
3157
  case 3:
@@ -3500,7 +3160,7 @@ var UnblockUserResponse;
3500
3160
  }
3501
3161
  message.response = {
3502
3162
  $case: "invalidRequest",
3503
- invalidRequest: InvalidRequest.decode(reader, reader.uint32()),
3163
+ invalidRequest: errors_gen_1.InvalidRequest.decode(reader, reader.uint32()),
3504
3164
  };
3505
3165
  continue;
3506
3166
  case 4:
@@ -3509,7 +3169,7 @@ var UnblockUserResponse;
3509
3169
  }
3510
3170
  message.response = {
3511
3171
  $case: "profileNotFound",
3512
- profileNotFound: ProfileNotFound.decode(reader, reader.uint32()),
3172
+ profileNotFound: errors_gen_1.ProfileNotFound.decode(reader, reader.uint32()),
3513
3173
  };
3514
3174
  continue;
3515
3175
  }
@@ -3528,12 +3188,12 @@ var UnblockUserResponse;
3528
3188
  : isSet(object.internalServerError)
3529
3189
  ? {
3530
3190
  $case: "internalServerError",
3531
- internalServerError: InternalServerError.fromJSON(object.internalServerError),
3191
+ internalServerError: errors_gen_1.InternalServerError.fromJSON(object.internalServerError),
3532
3192
  }
3533
3193
  : isSet(object.invalidRequest)
3534
- ? { $case: "invalidRequest", invalidRequest: InvalidRequest.fromJSON(object.invalidRequest) }
3194
+ ? { $case: "invalidRequest", invalidRequest: errors_gen_1.InvalidRequest.fromJSON(object.invalidRequest) }
3535
3195
  : isSet(object.profileNotFound)
3536
- ? { $case: "profileNotFound", profileNotFound: ProfileNotFound.fromJSON(object.profileNotFound) }
3196
+ ? { $case: "profileNotFound", profileNotFound: errors_gen_1.ProfileNotFound.fromJSON(object.profileNotFound) }
3537
3197
  : undefined,
3538
3198
  };
3539
3199
  }
@@ -3545,15 +3205,15 @@ var UnblockUserResponse;
3545
3205
  (obj.ok = ((_b = message.response) === null || _b === void 0 ? void 0 : _b.ok) ? UnblockUserResponse_Ok.toJSON((_c = message.response) === null || _c === void 0 ? void 0 : _c.ok) : undefined);
3546
3206
  ((_d = message.response) === null || _d === void 0 ? void 0 : _d.$case) === "internalServerError" &&
3547
3207
  (obj.internalServerError = ((_e = message.response) === null || _e === void 0 ? void 0 : _e.internalServerError)
3548
- ? InternalServerError.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.internalServerError)
3208
+ ? errors_gen_1.InternalServerError.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.internalServerError)
3549
3209
  : undefined);
3550
3210
  ((_g = message.response) === null || _g === void 0 ? void 0 : _g.$case) === "invalidRequest" &&
3551
3211
  (obj.invalidRequest = ((_h = message.response) === null || _h === void 0 ? void 0 : _h.invalidRequest)
3552
- ? InvalidRequest.toJSON((_j = message.response) === null || _j === void 0 ? void 0 : _j.invalidRequest)
3212
+ ? errors_gen_1.InvalidRequest.toJSON((_j = message.response) === null || _j === void 0 ? void 0 : _j.invalidRequest)
3553
3213
  : undefined);
3554
3214
  ((_k = message.response) === null || _k === void 0 ? void 0 : _k.$case) === "profileNotFound" &&
3555
3215
  (obj.profileNotFound = ((_l = message.response) === null || _l === void 0 ? void 0 : _l.profileNotFound)
3556
- ? ProfileNotFound.toJSON((_m = message.response) === null || _m === void 0 ? void 0 : _m.profileNotFound)
3216
+ ? errors_gen_1.ProfileNotFound.toJSON((_m = message.response) === null || _m === void 0 ? void 0 : _m.profileNotFound)
3557
3217
  : undefined);
3558
3218
  return obj;
3559
3219
  }
@@ -3573,7 +3233,7 @@ var UnblockUserResponse;
3573
3233
  ((_f = object.response) === null || _f === void 0 ? void 0 : _f.internalServerError) !== null) {
3574
3234
  message.response = {
3575
3235
  $case: "internalServerError",
3576
- internalServerError: InternalServerError.fromPartial(object.response.internalServerError),
3236
+ internalServerError: errors_gen_1.InternalServerError.fromPartial(object.response.internalServerError),
3577
3237
  };
3578
3238
  }
3579
3239
  if (((_g = object.response) === null || _g === void 0 ? void 0 : _g.$case) === "invalidRequest" &&
@@ -3581,7 +3241,7 @@ var UnblockUserResponse;
3581
3241
  ((_j = object.response) === null || _j === void 0 ? void 0 : _j.invalidRequest) !== null) {
3582
3242
  message.response = {
3583
3243
  $case: "invalidRequest",
3584
- invalidRequest: InvalidRequest.fromPartial(object.response.invalidRequest),
3244
+ invalidRequest: errors_gen_1.InvalidRequest.fromPartial(object.response.invalidRequest),
3585
3245
  };
3586
3246
  }
3587
3247
  if (((_k = object.response) === null || _k === void 0 ? void 0 : _k.$case) === "profileNotFound" &&
@@ -3589,7 +3249,7 @@ var UnblockUserResponse;
3589
3249
  ((_m = object.response) === null || _m === void 0 ? void 0 : _m.profileNotFound) !== null) {
3590
3250
  message.response = {
3591
3251
  $case: "profileNotFound",
3592
- profileNotFound: ProfileNotFound.fromPartial(object.response.profileNotFound),
3252
+ profileNotFound: errors_gen_1.ProfileNotFound.fromPartial(object.response.profileNotFound),
3593
3253
  };
3594
3254
  }
3595
3255
  return message;
@@ -3742,7 +3402,7 @@ var GetSocialSettingsResponse;
3742
3402
  GetSocialSettingsResponse_Ok.encode(message.response.ok, writer.uint32(10).fork()).ldelim();
3743
3403
  break;
3744
3404
  case "internalServerError":
3745
- InternalServerError.encode(message.response.internalServerError, writer.uint32(18).fork()).ldelim();
3405
+ errors_gen_1.InternalServerError.encode(message.response.internalServerError, writer.uint32(18).fork()).ldelim();
3746
3406
  break;
3747
3407
  }
3748
3408
  return writer;
@@ -3767,7 +3427,7 @@ var GetSocialSettingsResponse;
3767
3427
  }
3768
3428
  message.response = {
3769
3429
  $case: "internalServerError",
3770
- internalServerError: InternalServerError.decode(reader, reader.uint32()),
3430
+ internalServerError: errors_gen_1.InternalServerError.decode(reader, reader.uint32()),
3771
3431
  };
3772
3432
  continue;
3773
3433
  }
@@ -3786,7 +3446,7 @@ var GetSocialSettingsResponse;
3786
3446
  : isSet(object.internalServerError)
3787
3447
  ? {
3788
3448
  $case: "internalServerError",
3789
- internalServerError: InternalServerError.fromJSON(object.internalServerError),
3449
+ internalServerError: errors_gen_1.InternalServerError.fromJSON(object.internalServerError),
3790
3450
  }
3791
3451
  : undefined,
3792
3452
  };
@@ -3799,7 +3459,7 @@ var GetSocialSettingsResponse;
3799
3459
  (obj.ok = ((_b = message.response) === null || _b === void 0 ? void 0 : _b.ok) ? GetSocialSettingsResponse_Ok.toJSON((_c = message.response) === null || _c === void 0 ? void 0 : _c.ok) : undefined);
3800
3460
  ((_d = message.response) === null || _d === void 0 ? void 0 : _d.$case) === "internalServerError" &&
3801
3461
  (obj.internalServerError = ((_e = message.response) === null || _e === void 0 ? void 0 : _e.internalServerError)
3802
- ? InternalServerError.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.internalServerError)
3462
+ ? errors_gen_1.InternalServerError.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.internalServerError)
3803
3463
  : undefined);
3804
3464
  return obj;
3805
3465
  }
@@ -3819,7 +3479,7 @@ var GetSocialSettingsResponse;
3819
3479
  ((_f = object.response) === null || _f === void 0 ? void 0 : _f.internalServerError) !== null) {
3820
3480
  message.response = {
3821
3481
  $case: "internalServerError",
3822
- internalServerError: InternalServerError.fromPartial(object.response.internalServerError),
3482
+ internalServerError: errors_gen_1.InternalServerError.fromPartial(object.response.internalServerError),
3823
3483
  };
3824
3484
  }
3825
3485
  return message;
@@ -3976,10 +3636,10 @@ var UpsertSocialSettingsResponse;
3976
3636
  SocialSettings.encode(message.response.ok, writer.uint32(10).fork()).ldelim();
3977
3637
  break;
3978
3638
  case "internalServerError":
3979
- InternalServerError.encode(message.response.internalServerError, writer.uint32(18).fork()).ldelim();
3639
+ errors_gen_1.InternalServerError.encode(message.response.internalServerError, writer.uint32(18).fork()).ldelim();
3980
3640
  break;
3981
3641
  case "invalidRequest":
3982
- InvalidRequest.encode(message.response.invalidRequest, writer.uint32(26).fork()).ldelim();
3642
+ errors_gen_1.InvalidRequest.encode(message.response.invalidRequest, writer.uint32(26).fork()).ldelim();
3983
3643
  break;
3984
3644
  }
3985
3645
  return writer;
@@ -4004,7 +3664,7 @@ var UpsertSocialSettingsResponse;
4004
3664
  }
4005
3665
  message.response = {
4006
3666
  $case: "internalServerError",
4007
- internalServerError: InternalServerError.decode(reader, reader.uint32()),
3667
+ internalServerError: errors_gen_1.InternalServerError.decode(reader, reader.uint32()),
4008
3668
  };
4009
3669
  continue;
4010
3670
  case 3:
@@ -4013,7 +3673,7 @@ var UpsertSocialSettingsResponse;
4013
3673
  }
4014
3674
  message.response = {
4015
3675
  $case: "invalidRequest",
4016
- invalidRequest: InvalidRequest.decode(reader, reader.uint32()),
3676
+ invalidRequest: errors_gen_1.InvalidRequest.decode(reader, reader.uint32()),
4017
3677
  };
4018
3678
  continue;
4019
3679
  }
@@ -4032,10 +3692,10 @@ var UpsertSocialSettingsResponse;
4032
3692
  : isSet(object.internalServerError)
4033
3693
  ? {
4034
3694
  $case: "internalServerError",
4035
- internalServerError: InternalServerError.fromJSON(object.internalServerError),
3695
+ internalServerError: errors_gen_1.InternalServerError.fromJSON(object.internalServerError),
4036
3696
  }
4037
3697
  : isSet(object.invalidRequest)
4038
- ? { $case: "invalidRequest", invalidRequest: InvalidRequest.fromJSON(object.invalidRequest) }
3698
+ ? { $case: "invalidRequest", invalidRequest: errors_gen_1.InvalidRequest.fromJSON(object.invalidRequest) }
4039
3699
  : undefined,
4040
3700
  };
4041
3701
  }
@@ -4047,11 +3707,11 @@ var UpsertSocialSettingsResponse;
4047
3707
  (obj.ok = ((_b = message.response) === null || _b === void 0 ? void 0 : _b.ok) ? SocialSettings.toJSON((_c = message.response) === null || _c === void 0 ? void 0 : _c.ok) : undefined);
4048
3708
  ((_d = message.response) === null || _d === void 0 ? void 0 : _d.$case) === "internalServerError" &&
4049
3709
  (obj.internalServerError = ((_e = message.response) === null || _e === void 0 ? void 0 : _e.internalServerError)
4050
- ? InternalServerError.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.internalServerError)
3710
+ ? errors_gen_1.InternalServerError.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.internalServerError)
4051
3711
  : undefined);
4052
3712
  ((_g = message.response) === null || _g === void 0 ? void 0 : _g.$case) === "invalidRequest" &&
4053
3713
  (obj.invalidRequest = ((_h = message.response) === null || _h === void 0 ? void 0 : _h.invalidRequest)
4054
- ? InvalidRequest.toJSON((_j = message.response) === null || _j === void 0 ? void 0 : _j.invalidRequest)
3714
+ ? errors_gen_1.InvalidRequest.toJSON((_j = message.response) === null || _j === void 0 ? void 0 : _j.invalidRequest)
4055
3715
  : undefined);
4056
3716
  return obj;
4057
3717
  }
@@ -4071,7 +3731,7 @@ var UpsertSocialSettingsResponse;
4071
3731
  ((_f = object.response) === null || _f === void 0 ? void 0 : _f.internalServerError) !== null) {
4072
3732
  message.response = {
4073
3733
  $case: "internalServerError",
4074
- internalServerError: InternalServerError.fromPartial(object.response.internalServerError),
3734
+ internalServerError: errors_gen_1.InternalServerError.fromPartial(object.response.internalServerError),
4075
3735
  };
4076
3736
  }
4077
3737
  if (((_g = object.response) === null || _g === void 0 ? void 0 : _g.$case) === "invalidRequest" &&
@@ -4079,7 +3739,7 @@ var UpsertSocialSettingsResponse;
4079
3739
  ((_j = object.response) === null || _j === void 0 ? void 0 : _j.invalidRequest) !== null) {
4080
3740
  message.response = {
4081
3741
  $case: "invalidRequest",
4082
- invalidRequest: InvalidRequest.fromPartial(object.response.invalidRequest),
3742
+ invalidRequest: errors_gen_1.InvalidRequest.fromPartial(object.response.invalidRequest),
4083
3743
  };
4084
3744
  }
4085
3745
  return message;
@@ -4159,13 +3819,13 @@ var GetPrivateMessagesSettingsResponse;
4159
3819
  GetPrivateMessagesSettingsResponse_Ok.encode(message.response.ok, writer.uint32(10).fork()).ldelim();
4160
3820
  break;
4161
3821
  case "internalServerError":
4162
- InternalServerError.encode(message.response.internalServerError, writer.uint32(18).fork()).ldelim();
3822
+ errors_gen_1.InternalServerError.encode(message.response.internalServerError, writer.uint32(18).fork()).ldelim();
4163
3823
  break;
4164
3824
  case "invalidRequest":
4165
- InvalidRequest.encode(message.response.invalidRequest, writer.uint32(26).fork()).ldelim();
3825
+ errors_gen_1.InvalidRequest.encode(message.response.invalidRequest, writer.uint32(26).fork()).ldelim();
4166
3826
  break;
4167
3827
  case "profileNotFound":
4168
- ProfileNotFound.encode(message.response.profileNotFound, writer.uint32(34).fork()).ldelim();
3828
+ errors_gen_1.ProfileNotFound.encode(message.response.profileNotFound, writer.uint32(34).fork()).ldelim();
4169
3829
  break;
4170
3830
  }
4171
3831
  return writer;
@@ -4190,7 +3850,7 @@ var GetPrivateMessagesSettingsResponse;
4190
3850
  }
4191
3851
  message.response = {
4192
3852
  $case: "internalServerError",
4193
- internalServerError: InternalServerError.decode(reader, reader.uint32()),
3853
+ internalServerError: errors_gen_1.InternalServerError.decode(reader, reader.uint32()),
4194
3854
  };
4195
3855
  continue;
4196
3856
  case 3:
@@ -4199,7 +3859,7 @@ var GetPrivateMessagesSettingsResponse;
4199
3859
  }
4200
3860
  message.response = {
4201
3861
  $case: "invalidRequest",
4202
- invalidRequest: InvalidRequest.decode(reader, reader.uint32()),
3862
+ invalidRequest: errors_gen_1.InvalidRequest.decode(reader, reader.uint32()),
4203
3863
  };
4204
3864
  continue;
4205
3865
  case 4:
@@ -4208,7 +3868,7 @@ var GetPrivateMessagesSettingsResponse;
4208
3868
  }
4209
3869
  message.response = {
4210
3870
  $case: "profileNotFound",
4211
- profileNotFound: ProfileNotFound.decode(reader, reader.uint32()),
3871
+ profileNotFound: errors_gen_1.ProfileNotFound.decode(reader, reader.uint32()),
4212
3872
  };
4213
3873
  continue;
4214
3874
  }
@@ -4227,12 +3887,12 @@ var GetPrivateMessagesSettingsResponse;
4227
3887
  : isSet(object.internalServerError)
4228
3888
  ? {
4229
3889
  $case: "internalServerError",
4230
- internalServerError: InternalServerError.fromJSON(object.internalServerError),
3890
+ internalServerError: errors_gen_1.InternalServerError.fromJSON(object.internalServerError),
4231
3891
  }
4232
3892
  : isSet(object.invalidRequest)
4233
- ? { $case: "invalidRequest", invalidRequest: InvalidRequest.fromJSON(object.invalidRequest) }
3893
+ ? { $case: "invalidRequest", invalidRequest: errors_gen_1.InvalidRequest.fromJSON(object.invalidRequest) }
4234
3894
  : isSet(object.profileNotFound)
4235
- ? { $case: "profileNotFound", profileNotFound: ProfileNotFound.fromJSON(object.profileNotFound) }
3895
+ ? { $case: "profileNotFound", profileNotFound: errors_gen_1.ProfileNotFound.fromJSON(object.profileNotFound) }
4236
3896
  : undefined,
4237
3897
  };
4238
3898
  }
@@ -4244,15 +3904,15 @@ var GetPrivateMessagesSettingsResponse;
4244
3904
  (obj.ok = ((_b = message.response) === null || _b === void 0 ? void 0 : _b.ok) ? GetPrivateMessagesSettingsResponse_Ok.toJSON((_c = message.response) === null || _c === void 0 ? void 0 : _c.ok) : undefined);
4245
3905
  ((_d = message.response) === null || _d === void 0 ? void 0 : _d.$case) === "internalServerError" &&
4246
3906
  (obj.internalServerError = ((_e = message.response) === null || _e === void 0 ? void 0 : _e.internalServerError)
4247
- ? InternalServerError.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.internalServerError)
3907
+ ? errors_gen_1.InternalServerError.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.internalServerError)
4248
3908
  : undefined);
4249
3909
  ((_g = message.response) === null || _g === void 0 ? void 0 : _g.$case) === "invalidRequest" &&
4250
3910
  (obj.invalidRequest = ((_h = message.response) === null || _h === void 0 ? void 0 : _h.invalidRequest)
4251
- ? InvalidRequest.toJSON((_j = message.response) === null || _j === void 0 ? void 0 : _j.invalidRequest)
3911
+ ? errors_gen_1.InvalidRequest.toJSON((_j = message.response) === null || _j === void 0 ? void 0 : _j.invalidRequest)
4252
3912
  : undefined);
4253
3913
  ((_k = message.response) === null || _k === void 0 ? void 0 : _k.$case) === "profileNotFound" &&
4254
3914
  (obj.profileNotFound = ((_l = message.response) === null || _l === void 0 ? void 0 : _l.profileNotFound)
4255
- ? ProfileNotFound.toJSON((_m = message.response) === null || _m === void 0 ? void 0 : _m.profileNotFound)
3915
+ ? errors_gen_1.ProfileNotFound.toJSON((_m = message.response) === null || _m === void 0 ? void 0 : _m.profileNotFound)
4256
3916
  : undefined);
4257
3917
  return obj;
4258
3918
  }
@@ -4272,7 +3932,7 @@ var GetPrivateMessagesSettingsResponse;
4272
3932
  ((_f = object.response) === null || _f === void 0 ? void 0 : _f.internalServerError) !== null) {
4273
3933
  message.response = {
4274
3934
  $case: "internalServerError",
4275
- internalServerError: InternalServerError.fromPartial(object.response.internalServerError),
3935
+ internalServerError: errors_gen_1.InternalServerError.fromPartial(object.response.internalServerError),
4276
3936
  };
4277
3937
  }
4278
3938
  if (((_g = object.response) === null || _g === void 0 ? void 0 : _g.$case) === "invalidRequest" &&
@@ -4280,7 +3940,7 @@ var GetPrivateMessagesSettingsResponse;
4280
3940
  ((_j = object.response) === null || _j === void 0 ? void 0 : _j.invalidRequest) !== null) {
4281
3941
  message.response = {
4282
3942
  $case: "invalidRequest",
4283
- invalidRequest: InvalidRequest.fromPartial(object.response.invalidRequest),
3943
+ invalidRequest: errors_gen_1.InvalidRequest.fromPartial(object.response.invalidRequest),
4284
3944
  };
4285
3945
  }
4286
3946
  if (((_k = object.response) === null || _k === void 0 ? void 0 : _k.$case) === "profileNotFound" &&
@@ -4288,7 +3948,7 @@ var GetPrivateMessagesSettingsResponse;
4288
3948
  ((_m = object.response) === null || _m === void 0 ? void 0 : _m.profileNotFound) !== null) {
4289
3949
  message.response = {
4290
3950
  $case: "profileNotFound",
4291
- profileNotFound: ProfileNotFound.fromPartial(object.response.profileNotFound),
3951
+ profileNotFound: errors_gen_1.ProfileNotFound.fromPartial(object.response.profileNotFound),
4292
3952
  };
4293
3953
  }
4294
3954
  return message;
@@ -4885,16 +4545,16 @@ var StartPrivateVoiceChatResponse;
4885
4545
  StartPrivateVoiceChatResponse_Ok.encode(message.response.ok, writer.uint32(10).fork()).ldelim();
4886
4546
  break;
4887
4547
  case "internalServerError":
4888
- InternalServerError.encode(message.response.internalServerError, writer.uint32(18).fork()).ldelim();
4548
+ errors_gen_1.InternalServerError.encode(message.response.internalServerError, writer.uint32(18).fork()).ldelim();
4889
4549
  break;
4890
4550
  case "invalidRequest":
4891
- InvalidRequest.encode(message.response.invalidRequest, writer.uint32(26).fork()).ldelim();
4551
+ errors_gen_1.InvalidRequest.encode(message.response.invalidRequest, writer.uint32(26).fork()).ldelim();
4892
4552
  break;
4893
4553
  case "conflictingError":
4894
- ConflictingError.encode(message.response.conflictingError, writer.uint32(34).fork()).ldelim();
4554
+ errors_gen_1.ConflictingError.encode(message.response.conflictingError, writer.uint32(34).fork()).ldelim();
4895
4555
  break;
4896
4556
  case "forbiddenError":
4897
- ForbiddenError.encode(message.response.forbiddenError, writer.uint32(42).fork()).ldelim();
4557
+ errors_gen_1.ForbiddenError.encode(message.response.forbiddenError, writer.uint32(42).fork()).ldelim();
4898
4558
  break;
4899
4559
  }
4900
4560
  return writer;
@@ -4919,7 +4579,7 @@ var StartPrivateVoiceChatResponse;
4919
4579
  }
4920
4580
  message.response = {
4921
4581
  $case: "internalServerError",
4922
- internalServerError: InternalServerError.decode(reader, reader.uint32()),
4582
+ internalServerError: errors_gen_1.InternalServerError.decode(reader, reader.uint32()),
4923
4583
  };
4924
4584
  continue;
4925
4585
  case 3:
@@ -4928,7 +4588,7 @@ var StartPrivateVoiceChatResponse;
4928
4588
  }
4929
4589
  message.response = {
4930
4590
  $case: "invalidRequest",
4931
- invalidRequest: InvalidRequest.decode(reader, reader.uint32()),
4591
+ invalidRequest: errors_gen_1.InvalidRequest.decode(reader, reader.uint32()),
4932
4592
  };
4933
4593
  continue;
4934
4594
  case 4:
@@ -4937,7 +4597,7 @@ var StartPrivateVoiceChatResponse;
4937
4597
  }
4938
4598
  message.response = {
4939
4599
  $case: "conflictingError",
4940
- conflictingError: ConflictingError.decode(reader, reader.uint32()),
4600
+ conflictingError: errors_gen_1.ConflictingError.decode(reader, reader.uint32()),
4941
4601
  };
4942
4602
  continue;
4943
4603
  case 5:
@@ -4946,7 +4606,7 @@ var StartPrivateVoiceChatResponse;
4946
4606
  }
4947
4607
  message.response = {
4948
4608
  $case: "forbiddenError",
4949
- forbiddenError: ForbiddenError.decode(reader, reader.uint32()),
4609
+ forbiddenError: errors_gen_1.ForbiddenError.decode(reader, reader.uint32()),
4950
4610
  };
4951
4611
  continue;
4952
4612
  }
@@ -4965,14 +4625,14 @@ var StartPrivateVoiceChatResponse;
4965
4625
  : isSet(object.internalServerError)
4966
4626
  ? {
4967
4627
  $case: "internalServerError",
4968
- internalServerError: InternalServerError.fromJSON(object.internalServerError),
4628
+ internalServerError: errors_gen_1.InternalServerError.fromJSON(object.internalServerError),
4969
4629
  }
4970
4630
  : isSet(object.invalidRequest)
4971
- ? { $case: "invalidRequest", invalidRequest: InvalidRequest.fromJSON(object.invalidRequest) }
4631
+ ? { $case: "invalidRequest", invalidRequest: errors_gen_1.InvalidRequest.fromJSON(object.invalidRequest) }
4972
4632
  : isSet(object.conflictingError)
4973
- ? { $case: "conflictingError", conflictingError: ConflictingError.fromJSON(object.conflictingError) }
4633
+ ? { $case: "conflictingError", conflictingError: errors_gen_1.ConflictingError.fromJSON(object.conflictingError) }
4974
4634
  : isSet(object.forbiddenError)
4975
- ? { $case: "forbiddenError", forbiddenError: ForbiddenError.fromJSON(object.forbiddenError) }
4635
+ ? { $case: "forbiddenError", forbiddenError: errors_gen_1.ForbiddenError.fromJSON(object.forbiddenError) }
4976
4636
  : undefined,
4977
4637
  };
4978
4638
  }
@@ -4984,19 +4644,19 @@ var StartPrivateVoiceChatResponse;
4984
4644
  (obj.ok = ((_b = message.response) === null || _b === void 0 ? void 0 : _b.ok) ? StartPrivateVoiceChatResponse_Ok.toJSON((_c = message.response) === null || _c === void 0 ? void 0 : _c.ok) : undefined);
4985
4645
  ((_d = message.response) === null || _d === void 0 ? void 0 : _d.$case) === "internalServerError" &&
4986
4646
  (obj.internalServerError = ((_e = message.response) === null || _e === void 0 ? void 0 : _e.internalServerError)
4987
- ? InternalServerError.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.internalServerError)
4647
+ ? errors_gen_1.InternalServerError.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.internalServerError)
4988
4648
  : undefined);
4989
4649
  ((_g = message.response) === null || _g === void 0 ? void 0 : _g.$case) === "invalidRequest" &&
4990
4650
  (obj.invalidRequest = ((_h = message.response) === null || _h === void 0 ? void 0 : _h.invalidRequest)
4991
- ? InvalidRequest.toJSON((_j = message.response) === null || _j === void 0 ? void 0 : _j.invalidRequest)
4651
+ ? errors_gen_1.InvalidRequest.toJSON((_j = message.response) === null || _j === void 0 ? void 0 : _j.invalidRequest)
4992
4652
  : undefined);
4993
4653
  ((_k = message.response) === null || _k === void 0 ? void 0 : _k.$case) === "conflictingError" &&
4994
4654
  (obj.conflictingError = ((_l = message.response) === null || _l === void 0 ? void 0 : _l.conflictingError)
4995
- ? ConflictingError.toJSON((_m = message.response) === null || _m === void 0 ? void 0 : _m.conflictingError)
4655
+ ? errors_gen_1.ConflictingError.toJSON((_m = message.response) === null || _m === void 0 ? void 0 : _m.conflictingError)
4996
4656
  : undefined);
4997
4657
  ((_o = message.response) === null || _o === void 0 ? void 0 : _o.$case) === "forbiddenError" &&
4998
4658
  (obj.forbiddenError = ((_p = message.response) === null || _p === void 0 ? void 0 : _p.forbiddenError)
4999
- ? ForbiddenError.toJSON((_q = message.response) === null || _q === void 0 ? void 0 : _q.forbiddenError)
4659
+ ? errors_gen_1.ForbiddenError.toJSON((_q = message.response) === null || _q === void 0 ? void 0 : _q.forbiddenError)
5000
4660
  : undefined);
5001
4661
  return obj;
5002
4662
  }
@@ -5016,7 +4676,7 @@ var StartPrivateVoiceChatResponse;
5016
4676
  ((_f = object.response) === null || _f === void 0 ? void 0 : _f.internalServerError) !== null) {
5017
4677
  message.response = {
5018
4678
  $case: "internalServerError",
5019
- internalServerError: InternalServerError.fromPartial(object.response.internalServerError),
4679
+ internalServerError: errors_gen_1.InternalServerError.fromPartial(object.response.internalServerError),
5020
4680
  };
5021
4681
  }
5022
4682
  if (((_g = object.response) === null || _g === void 0 ? void 0 : _g.$case) === "invalidRequest" &&
@@ -5024,7 +4684,7 @@ var StartPrivateVoiceChatResponse;
5024
4684
  ((_j = object.response) === null || _j === void 0 ? void 0 : _j.invalidRequest) !== null) {
5025
4685
  message.response = {
5026
4686
  $case: "invalidRequest",
5027
- invalidRequest: InvalidRequest.fromPartial(object.response.invalidRequest),
4687
+ invalidRequest: errors_gen_1.InvalidRequest.fromPartial(object.response.invalidRequest),
5028
4688
  };
5029
4689
  }
5030
4690
  if (((_k = object.response) === null || _k === void 0 ? void 0 : _k.$case) === "conflictingError" &&
@@ -5032,7 +4692,7 @@ var StartPrivateVoiceChatResponse;
5032
4692
  ((_m = object.response) === null || _m === void 0 ? void 0 : _m.conflictingError) !== null) {
5033
4693
  message.response = {
5034
4694
  $case: "conflictingError",
5035
- conflictingError: ConflictingError.fromPartial(object.response.conflictingError),
4695
+ conflictingError: errors_gen_1.ConflictingError.fromPartial(object.response.conflictingError),
5036
4696
  };
5037
4697
  }
5038
4698
  if (((_o = object.response) === null || _o === void 0 ? void 0 : _o.$case) === "forbiddenError" &&
@@ -5040,7 +4700,7 @@ var StartPrivateVoiceChatResponse;
5040
4700
  ((_q = object.response) === null || _q === void 0 ? void 0 : _q.forbiddenError) !== null) {
5041
4701
  message.response = {
5042
4702
  $case: "forbiddenError",
5043
- forbiddenError: ForbiddenError.fromPartial(object.response.forbiddenError),
4703
+ forbiddenError: errors_gen_1.ForbiddenError.fromPartial(object.response.forbiddenError),
5044
4704
  };
5045
4705
  }
5046
4706
  return message;
@@ -5171,16 +4831,16 @@ var AcceptPrivateVoiceChatResponse;
5171
4831
  AcceptPrivateVoiceChatResponse_Ok.encode(message.response.ok, writer.uint32(10).fork()).ldelim();
5172
4832
  break;
5173
4833
  case "internalServerError":
5174
- InternalServerError.encode(message.response.internalServerError, writer.uint32(18).fork()).ldelim();
4834
+ errors_gen_1.InternalServerError.encode(message.response.internalServerError, writer.uint32(18).fork()).ldelim();
5175
4835
  break;
5176
4836
  case "invalidRequest":
5177
- InvalidRequest.encode(message.response.invalidRequest, writer.uint32(26).fork()).ldelim();
4837
+ errors_gen_1.InvalidRequest.encode(message.response.invalidRequest, writer.uint32(26).fork()).ldelim();
5178
4838
  break;
5179
4839
  case "notFound":
5180
- NotFoundError.encode(message.response.notFound, writer.uint32(34).fork()).ldelim();
4840
+ errors_gen_1.NotFoundError.encode(message.response.notFound, writer.uint32(34).fork()).ldelim();
5181
4841
  break;
5182
4842
  case "forbiddenError":
5183
- ForbiddenError.encode(message.response.forbiddenError, writer.uint32(42).fork()).ldelim();
4843
+ errors_gen_1.ForbiddenError.encode(message.response.forbiddenError, writer.uint32(42).fork()).ldelim();
5184
4844
  break;
5185
4845
  }
5186
4846
  return writer;
@@ -5205,7 +4865,7 @@ var AcceptPrivateVoiceChatResponse;
5205
4865
  }
5206
4866
  message.response = {
5207
4867
  $case: "internalServerError",
5208
- internalServerError: InternalServerError.decode(reader, reader.uint32()),
4868
+ internalServerError: errors_gen_1.InternalServerError.decode(reader, reader.uint32()),
5209
4869
  };
5210
4870
  continue;
5211
4871
  case 3:
@@ -5214,14 +4874,14 @@ var AcceptPrivateVoiceChatResponse;
5214
4874
  }
5215
4875
  message.response = {
5216
4876
  $case: "invalidRequest",
5217
- invalidRequest: InvalidRequest.decode(reader, reader.uint32()),
4877
+ invalidRequest: errors_gen_1.InvalidRequest.decode(reader, reader.uint32()),
5218
4878
  };
5219
4879
  continue;
5220
4880
  case 4:
5221
4881
  if (tag !== 34) {
5222
4882
  break;
5223
4883
  }
5224
- message.response = { $case: "notFound", notFound: NotFoundError.decode(reader, reader.uint32()) };
4884
+ message.response = { $case: "notFound", notFound: errors_gen_1.NotFoundError.decode(reader, reader.uint32()) };
5225
4885
  continue;
5226
4886
  case 5:
5227
4887
  if (tag !== 42) {
@@ -5229,7 +4889,7 @@ var AcceptPrivateVoiceChatResponse;
5229
4889
  }
5230
4890
  message.response = {
5231
4891
  $case: "forbiddenError",
5232
- forbiddenError: ForbiddenError.decode(reader, reader.uint32()),
4892
+ forbiddenError: errors_gen_1.ForbiddenError.decode(reader, reader.uint32()),
5233
4893
  };
5234
4894
  continue;
5235
4895
  }
@@ -5248,14 +4908,14 @@ var AcceptPrivateVoiceChatResponse;
5248
4908
  : isSet(object.internalServerError)
5249
4909
  ? {
5250
4910
  $case: "internalServerError",
5251
- internalServerError: InternalServerError.fromJSON(object.internalServerError),
4911
+ internalServerError: errors_gen_1.InternalServerError.fromJSON(object.internalServerError),
5252
4912
  }
5253
4913
  : isSet(object.invalidRequest)
5254
- ? { $case: "invalidRequest", invalidRequest: InvalidRequest.fromJSON(object.invalidRequest) }
4914
+ ? { $case: "invalidRequest", invalidRequest: errors_gen_1.InvalidRequest.fromJSON(object.invalidRequest) }
5255
4915
  : isSet(object.notFound)
5256
- ? { $case: "notFound", notFound: NotFoundError.fromJSON(object.notFound) }
4916
+ ? { $case: "notFound", notFound: errors_gen_1.NotFoundError.fromJSON(object.notFound) }
5257
4917
  : isSet(object.forbiddenError)
5258
- ? { $case: "forbiddenError", forbiddenError: ForbiddenError.fromJSON(object.forbiddenError) }
4918
+ ? { $case: "forbiddenError", forbiddenError: errors_gen_1.ForbiddenError.fromJSON(object.forbiddenError) }
5259
4919
  : undefined,
5260
4920
  };
5261
4921
  }
@@ -5267,17 +4927,17 @@ var AcceptPrivateVoiceChatResponse;
5267
4927
  (obj.ok = ((_b = message.response) === null || _b === void 0 ? void 0 : _b.ok) ? AcceptPrivateVoiceChatResponse_Ok.toJSON((_c = message.response) === null || _c === void 0 ? void 0 : _c.ok) : undefined);
5268
4928
  ((_d = message.response) === null || _d === void 0 ? void 0 : _d.$case) === "internalServerError" &&
5269
4929
  (obj.internalServerError = ((_e = message.response) === null || _e === void 0 ? void 0 : _e.internalServerError)
5270
- ? InternalServerError.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.internalServerError)
4930
+ ? errors_gen_1.InternalServerError.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.internalServerError)
5271
4931
  : undefined);
5272
4932
  ((_g = message.response) === null || _g === void 0 ? void 0 : _g.$case) === "invalidRequest" &&
5273
4933
  (obj.invalidRequest = ((_h = message.response) === null || _h === void 0 ? void 0 : _h.invalidRequest)
5274
- ? InvalidRequest.toJSON((_j = message.response) === null || _j === void 0 ? void 0 : _j.invalidRequest)
4934
+ ? errors_gen_1.InvalidRequest.toJSON((_j = message.response) === null || _j === void 0 ? void 0 : _j.invalidRequest)
5275
4935
  : undefined);
5276
4936
  ((_k = message.response) === null || _k === void 0 ? void 0 : _k.$case) === "notFound" &&
5277
- (obj.notFound = ((_l = message.response) === null || _l === void 0 ? void 0 : _l.notFound) ? NotFoundError.toJSON((_m = message.response) === null || _m === void 0 ? void 0 : _m.notFound) : undefined);
4937
+ (obj.notFound = ((_l = message.response) === null || _l === void 0 ? void 0 : _l.notFound) ? errors_gen_1.NotFoundError.toJSON((_m = message.response) === null || _m === void 0 ? void 0 : _m.notFound) : undefined);
5278
4938
  ((_o = message.response) === null || _o === void 0 ? void 0 : _o.$case) === "forbiddenError" &&
5279
4939
  (obj.forbiddenError = ((_p = message.response) === null || _p === void 0 ? void 0 : _p.forbiddenError)
5280
- ? ForbiddenError.toJSON((_q = message.response) === null || _q === void 0 ? void 0 : _q.forbiddenError)
4940
+ ? errors_gen_1.ForbiddenError.toJSON((_q = message.response) === null || _q === void 0 ? void 0 : _q.forbiddenError)
5281
4941
  : undefined);
5282
4942
  return obj;
5283
4943
  }
@@ -5297,7 +4957,7 @@ var AcceptPrivateVoiceChatResponse;
5297
4957
  ((_f = object.response) === null || _f === void 0 ? void 0 : _f.internalServerError) !== null) {
5298
4958
  message.response = {
5299
4959
  $case: "internalServerError",
5300
- internalServerError: InternalServerError.fromPartial(object.response.internalServerError),
4960
+ internalServerError: errors_gen_1.InternalServerError.fromPartial(object.response.internalServerError),
5301
4961
  };
5302
4962
  }
5303
4963
  if (((_g = object.response) === null || _g === void 0 ? void 0 : _g.$case) === "invalidRequest" &&
@@ -5305,20 +4965,20 @@ var AcceptPrivateVoiceChatResponse;
5305
4965
  ((_j = object.response) === null || _j === void 0 ? void 0 : _j.invalidRequest) !== null) {
5306
4966
  message.response = {
5307
4967
  $case: "invalidRequest",
5308
- invalidRequest: InvalidRequest.fromPartial(object.response.invalidRequest),
4968
+ invalidRequest: errors_gen_1.InvalidRequest.fromPartial(object.response.invalidRequest),
5309
4969
  };
5310
4970
  }
5311
4971
  if (((_k = object.response) === null || _k === void 0 ? void 0 : _k.$case) === "notFound" &&
5312
4972
  ((_l = object.response) === null || _l === void 0 ? void 0 : _l.notFound) !== undefined &&
5313
4973
  ((_m = object.response) === null || _m === void 0 ? void 0 : _m.notFound) !== null) {
5314
- message.response = { $case: "notFound", notFound: NotFoundError.fromPartial(object.response.notFound) };
4974
+ message.response = { $case: "notFound", notFound: errors_gen_1.NotFoundError.fromPartial(object.response.notFound) };
5315
4975
  }
5316
4976
  if (((_o = object.response) === null || _o === void 0 ? void 0 : _o.$case) === "forbiddenError" &&
5317
4977
  ((_p = object.response) === null || _p === void 0 ? void 0 : _p.forbiddenError) !== undefined &&
5318
4978
  ((_q = object.response) === null || _q === void 0 ? void 0 : _q.forbiddenError) !== null) {
5319
4979
  message.response = {
5320
4980
  $case: "forbiddenError",
5321
- forbiddenError: ForbiddenError.fromPartial(object.response.forbiddenError),
4981
+ forbiddenError: errors_gen_1.ForbiddenError.fromPartial(object.response.forbiddenError),
5322
4982
  };
5323
4983
  }
5324
4984
  return message;
@@ -5466,13 +5126,13 @@ var RejectPrivateVoiceChatResponse;
5466
5126
  RejectPrivateVoiceChatResponse_Ok.encode(message.response.ok, writer.uint32(10).fork()).ldelim();
5467
5127
  break;
5468
5128
  case "internalServerError":
5469
- InternalServerError.encode(message.response.internalServerError, writer.uint32(18).fork()).ldelim();
5129
+ errors_gen_1.InternalServerError.encode(message.response.internalServerError, writer.uint32(18).fork()).ldelim();
5470
5130
  break;
5471
5131
  case "invalidRequest":
5472
- InvalidRequest.encode(message.response.invalidRequest, writer.uint32(26).fork()).ldelim();
5132
+ errors_gen_1.InvalidRequest.encode(message.response.invalidRequest, writer.uint32(26).fork()).ldelim();
5473
5133
  break;
5474
5134
  case "notFound":
5475
- NotFoundError.encode(message.response.notFound, writer.uint32(34).fork()).ldelim();
5135
+ errors_gen_1.NotFoundError.encode(message.response.notFound, writer.uint32(34).fork()).ldelim();
5476
5136
  break;
5477
5137
  }
5478
5138
  return writer;
@@ -5497,7 +5157,7 @@ var RejectPrivateVoiceChatResponse;
5497
5157
  }
5498
5158
  message.response = {
5499
5159
  $case: "internalServerError",
5500
- internalServerError: InternalServerError.decode(reader, reader.uint32()),
5160
+ internalServerError: errors_gen_1.InternalServerError.decode(reader, reader.uint32()),
5501
5161
  };
5502
5162
  continue;
5503
5163
  case 3:
@@ -5506,14 +5166,14 @@ var RejectPrivateVoiceChatResponse;
5506
5166
  }
5507
5167
  message.response = {
5508
5168
  $case: "invalidRequest",
5509
- invalidRequest: InvalidRequest.decode(reader, reader.uint32()),
5169
+ invalidRequest: errors_gen_1.InvalidRequest.decode(reader, reader.uint32()),
5510
5170
  };
5511
5171
  continue;
5512
5172
  case 4:
5513
5173
  if (tag !== 34) {
5514
5174
  break;
5515
5175
  }
5516
- message.response = { $case: "notFound", notFound: NotFoundError.decode(reader, reader.uint32()) };
5176
+ message.response = { $case: "notFound", notFound: errors_gen_1.NotFoundError.decode(reader, reader.uint32()) };
5517
5177
  continue;
5518
5178
  }
5519
5179
  if ((tag & 7) === 4 || tag === 0) {
@@ -5531,12 +5191,12 @@ var RejectPrivateVoiceChatResponse;
5531
5191
  : isSet(object.internalServerError)
5532
5192
  ? {
5533
5193
  $case: "internalServerError",
5534
- internalServerError: InternalServerError.fromJSON(object.internalServerError),
5194
+ internalServerError: errors_gen_1.InternalServerError.fromJSON(object.internalServerError),
5535
5195
  }
5536
5196
  : isSet(object.invalidRequest)
5537
- ? { $case: "invalidRequest", invalidRequest: InvalidRequest.fromJSON(object.invalidRequest) }
5197
+ ? { $case: "invalidRequest", invalidRequest: errors_gen_1.InvalidRequest.fromJSON(object.invalidRequest) }
5538
5198
  : isSet(object.notFound)
5539
- ? { $case: "notFound", notFound: NotFoundError.fromJSON(object.notFound) }
5199
+ ? { $case: "notFound", notFound: errors_gen_1.NotFoundError.fromJSON(object.notFound) }
5540
5200
  : undefined,
5541
5201
  };
5542
5202
  }
@@ -5548,14 +5208,14 @@ var RejectPrivateVoiceChatResponse;
5548
5208
  (obj.ok = ((_b = message.response) === null || _b === void 0 ? void 0 : _b.ok) ? RejectPrivateVoiceChatResponse_Ok.toJSON((_c = message.response) === null || _c === void 0 ? void 0 : _c.ok) : undefined);
5549
5209
  ((_d = message.response) === null || _d === void 0 ? void 0 : _d.$case) === "internalServerError" &&
5550
5210
  (obj.internalServerError = ((_e = message.response) === null || _e === void 0 ? void 0 : _e.internalServerError)
5551
- ? InternalServerError.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.internalServerError)
5211
+ ? errors_gen_1.InternalServerError.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.internalServerError)
5552
5212
  : undefined);
5553
5213
  ((_g = message.response) === null || _g === void 0 ? void 0 : _g.$case) === "invalidRequest" &&
5554
5214
  (obj.invalidRequest = ((_h = message.response) === null || _h === void 0 ? void 0 : _h.invalidRequest)
5555
- ? InvalidRequest.toJSON((_j = message.response) === null || _j === void 0 ? void 0 : _j.invalidRequest)
5215
+ ? errors_gen_1.InvalidRequest.toJSON((_j = message.response) === null || _j === void 0 ? void 0 : _j.invalidRequest)
5556
5216
  : undefined);
5557
5217
  ((_k = message.response) === null || _k === void 0 ? void 0 : _k.$case) === "notFound" &&
5558
- (obj.notFound = ((_l = message.response) === null || _l === void 0 ? void 0 : _l.notFound) ? NotFoundError.toJSON((_m = message.response) === null || _m === void 0 ? void 0 : _m.notFound) : undefined);
5218
+ (obj.notFound = ((_l = message.response) === null || _l === void 0 ? void 0 : _l.notFound) ? errors_gen_1.NotFoundError.toJSON((_m = message.response) === null || _m === void 0 ? void 0 : _m.notFound) : undefined);
5559
5219
  return obj;
5560
5220
  }
5561
5221
  RejectPrivateVoiceChatResponse.toJSON = toJSON;
@@ -5574,7 +5234,7 @@ var RejectPrivateVoiceChatResponse;
5574
5234
  ((_f = object.response) === null || _f === void 0 ? void 0 : _f.internalServerError) !== null) {
5575
5235
  message.response = {
5576
5236
  $case: "internalServerError",
5577
- internalServerError: InternalServerError.fromPartial(object.response.internalServerError),
5237
+ internalServerError: errors_gen_1.InternalServerError.fromPartial(object.response.internalServerError),
5578
5238
  };
5579
5239
  }
5580
5240
  if (((_g = object.response) === null || _g === void 0 ? void 0 : _g.$case) === "invalidRequest" &&
@@ -5582,13 +5242,13 @@ var RejectPrivateVoiceChatResponse;
5582
5242
  ((_j = object.response) === null || _j === void 0 ? void 0 : _j.invalidRequest) !== null) {
5583
5243
  message.response = {
5584
5244
  $case: "invalidRequest",
5585
- invalidRequest: InvalidRequest.fromPartial(object.response.invalidRequest),
5245
+ invalidRequest: errors_gen_1.InvalidRequest.fromPartial(object.response.invalidRequest),
5586
5246
  };
5587
5247
  }
5588
5248
  if (((_k = object.response) === null || _k === void 0 ? void 0 : _k.$case) === "notFound" &&
5589
5249
  ((_l = object.response) === null || _l === void 0 ? void 0 : _l.notFound) !== undefined &&
5590
5250
  ((_m = object.response) === null || _m === void 0 ? void 0 : _m.notFound) !== null) {
5591
- message.response = { $case: "notFound", notFound: NotFoundError.fromPartial(object.response.notFound) };
5251
+ message.response = { $case: "notFound", notFound: errors_gen_1.NotFoundError.fromPartial(object.response.notFound) };
5592
5252
  }
5593
5253
  return message;
5594
5254
  }
@@ -5887,10 +5547,10 @@ var EndPrivateVoiceChatResponse;
5887
5547
  EndPrivateVoiceChatResponse_Ok.encode(message.response.ok, writer.uint32(10).fork()).ldelim();
5888
5548
  break;
5889
5549
  case "internalServerError":
5890
- InternalServerError.encode(message.response.internalServerError, writer.uint32(18).fork()).ldelim();
5550
+ errors_gen_1.InternalServerError.encode(message.response.internalServerError, writer.uint32(18).fork()).ldelim();
5891
5551
  break;
5892
5552
  case "notFound":
5893
- NotFoundError.encode(message.response.notFound, writer.uint32(26).fork()).ldelim();
5553
+ errors_gen_1.NotFoundError.encode(message.response.notFound, writer.uint32(26).fork()).ldelim();
5894
5554
  break;
5895
5555
  }
5896
5556
  return writer;
@@ -5915,14 +5575,14 @@ var EndPrivateVoiceChatResponse;
5915
5575
  }
5916
5576
  message.response = {
5917
5577
  $case: "internalServerError",
5918
- internalServerError: InternalServerError.decode(reader, reader.uint32()),
5578
+ internalServerError: errors_gen_1.InternalServerError.decode(reader, reader.uint32()),
5919
5579
  };
5920
5580
  continue;
5921
5581
  case 3:
5922
5582
  if (tag !== 26) {
5923
5583
  break;
5924
5584
  }
5925
- message.response = { $case: "notFound", notFound: NotFoundError.decode(reader, reader.uint32()) };
5585
+ message.response = { $case: "notFound", notFound: errors_gen_1.NotFoundError.decode(reader, reader.uint32()) };
5926
5586
  continue;
5927
5587
  }
5928
5588
  if ((tag & 7) === 4 || tag === 0) {
@@ -5940,10 +5600,10 @@ var EndPrivateVoiceChatResponse;
5940
5600
  : isSet(object.internalServerError)
5941
5601
  ? {
5942
5602
  $case: "internalServerError",
5943
- internalServerError: InternalServerError.fromJSON(object.internalServerError),
5603
+ internalServerError: errors_gen_1.InternalServerError.fromJSON(object.internalServerError),
5944
5604
  }
5945
5605
  : isSet(object.notFound)
5946
- ? { $case: "notFound", notFound: NotFoundError.fromJSON(object.notFound) }
5606
+ ? { $case: "notFound", notFound: errors_gen_1.NotFoundError.fromJSON(object.notFound) }
5947
5607
  : undefined,
5948
5608
  };
5949
5609
  }
@@ -5955,10 +5615,10 @@ var EndPrivateVoiceChatResponse;
5955
5615
  (obj.ok = ((_b = message.response) === null || _b === void 0 ? void 0 : _b.ok) ? EndPrivateVoiceChatResponse_Ok.toJSON((_c = message.response) === null || _c === void 0 ? void 0 : _c.ok) : undefined);
5956
5616
  ((_d = message.response) === null || _d === void 0 ? void 0 : _d.$case) === "internalServerError" &&
5957
5617
  (obj.internalServerError = ((_e = message.response) === null || _e === void 0 ? void 0 : _e.internalServerError)
5958
- ? InternalServerError.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.internalServerError)
5618
+ ? errors_gen_1.InternalServerError.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.internalServerError)
5959
5619
  : undefined);
5960
5620
  ((_g = message.response) === null || _g === void 0 ? void 0 : _g.$case) === "notFound" &&
5961
- (obj.notFound = ((_h = message.response) === null || _h === void 0 ? void 0 : _h.notFound) ? NotFoundError.toJSON((_j = message.response) === null || _j === void 0 ? void 0 : _j.notFound) : undefined);
5621
+ (obj.notFound = ((_h = message.response) === null || _h === void 0 ? void 0 : _h.notFound) ? errors_gen_1.NotFoundError.toJSON((_j = message.response) === null || _j === void 0 ? void 0 : _j.notFound) : undefined);
5962
5622
  return obj;
5963
5623
  }
5964
5624
  EndPrivateVoiceChatResponse.toJSON = toJSON;
@@ -5977,13 +5637,13 @@ var EndPrivateVoiceChatResponse;
5977
5637
  ((_f = object.response) === null || _f === void 0 ? void 0 : _f.internalServerError) !== null) {
5978
5638
  message.response = {
5979
5639
  $case: "internalServerError",
5980
- internalServerError: InternalServerError.fromPartial(object.response.internalServerError),
5640
+ internalServerError: errors_gen_1.InternalServerError.fromPartial(object.response.internalServerError),
5981
5641
  };
5982
5642
  }
5983
5643
  if (((_g = object.response) === null || _g === void 0 ? void 0 : _g.$case) === "notFound" &&
5984
5644
  ((_h = object.response) === null || _h === void 0 ? void 0 : _h.notFound) !== undefined &&
5985
5645
  ((_j = object.response) === null || _j === void 0 ? void 0 : _j.notFound) !== null) {
5986
- message.response = { $case: "notFound", notFound: NotFoundError.fromPartial(object.response.notFound) };
5646
+ message.response = { $case: "notFound", notFound: errors_gen_1.NotFoundError.fromPartial(object.response.notFound) };
5987
5647
  }
5988
5648
  return message;
5989
5649
  }
@@ -6057,10 +5717,10 @@ var GetIncomingPrivateVoiceChatRequestResponse;
6057
5717
  GetIncomingPrivateVoiceChatRequestResponse_Ok.encode(message.response.ok, writer.uint32(10).fork()).ldelim();
6058
5718
  break;
6059
5719
  case "notFound":
6060
- NotFoundError.encode(message.response.notFound, writer.uint32(18).fork()).ldelim();
5720
+ errors_gen_1.NotFoundError.encode(message.response.notFound, writer.uint32(18).fork()).ldelim();
6061
5721
  break;
6062
5722
  case "internalServerError":
6063
- InternalServerError.encode(message.response.internalServerError, writer.uint32(26).fork()).ldelim();
5723
+ errors_gen_1.InternalServerError.encode(message.response.internalServerError, writer.uint32(26).fork()).ldelim();
6064
5724
  break;
6065
5725
  }
6066
5726
  return writer;
@@ -6086,7 +5746,7 @@ var GetIncomingPrivateVoiceChatRequestResponse;
6086
5746
  if (tag !== 18) {
6087
5747
  break;
6088
5748
  }
6089
- message.response = { $case: "notFound", notFound: NotFoundError.decode(reader, reader.uint32()) };
5749
+ message.response = { $case: "notFound", notFound: errors_gen_1.NotFoundError.decode(reader, reader.uint32()) };
6090
5750
  continue;
6091
5751
  case 3:
6092
5752
  if (tag !== 26) {
@@ -6094,7 +5754,7 @@ var GetIncomingPrivateVoiceChatRequestResponse;
6094
5754
  }
6095
5755
  message.response = {
6096
5756
  $case: "internalServerError",
6097
- internalServerError: InternalServerError.decode(reader, reader.uint32()),
5757
+ internalServerError: errors_gen_1.InternalServerError.decode(reader, reader.uint32()),
6098
5758
  };
6099
5759
  continue;
6100
5760
  }
@@ -6111,11 +5771,11 @@ var GetIncomingPrivateVoiceChatRequestResponse;
6111
5771
  response: isSet(object.ok)
6112
5772
  ? { $case: "ok", ok: GetIncomingPrivateVoiceChatRequestResponse_Ok.fromJSON(object.ok) }
6113
5773
  : isSet(object.notFound)
6114
- ? { $case: "notFound", notFound: NotFoundError.fromJSON(object.notFound) }
5774
+ ? { $case: "notFound", notFound: errors_gen_1.NotFoundError.fromJSON(object.notFound) }
6115
5775
  : isSet(object.internalServerError)
6116
5776
  ? {
6117
5777
  $case: "internalServerError",
6118
- internalServerError: InternalServerError.fromJSON(object.internalServerError),
5778
+ internalServerError: errors_gen_1.InternalServerError.fromJSON(object.internalServerError),
6119
5779
  }
6120
5780
  : undefined,
6121
5781
  };
@@ -6129,10 +5789,10 @@ var GetIncomingPrivateVoiceChatRequestResponse;
6129
5789
  ? GetIncomingPrivateVoiceChatRequestResponse_Ok.toJSON((_c = message.response) === null || _c === void 0 ? void 0 : _c.ok)
6130
5790
  : undefined);
6131
5791
  ((_d = message.response) === null || _d === void 0 ? void 0 : _d.$case) === "notFound" &&
6132
- (obj.notFound = ((_e = message.response) === null || _e === void 0 ? void 0 : _e.notFound) ? NotFoundError.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.notFound) : undefined);
5792
+ (obj.notFound = ((_e = message.response) === null || _e === void 0 ? void 0 : _e.notFound) ? errors_gen_1.NotFoundError.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.notFound) : undefined);
6133
5793
  ((_g = message.response) === null || _g === void 0 ? void 0 : _g.$case) === "internalServerError" &&
6134
5794
  (obj.internalServerError = ((_h = message.response) === null || _h === void 0 ? void 0 : _h.internalServerError)
6135
- ? InternalServerError.toJSON((_j = message.response) === null || _j === void 0 ? void 0 : _j.internalServerError)
5795
+ ? errors_gen_1.InternalServerError.toJSON((_j = message.response) === null || _j === void 0 ? void 0 : _j.internalServerError)
6136
5796
  : undefined);
6137
5797
  return obj;
6138
5798
  }
@@ -6153,14 +5813,14 @@ var GetIncomingPrivateVoiceChatRequestResponse;
6153
5813
  if (((_d = object.response) === null || _d === void 0 ? void 0 : _d.$case) === "notFound" &&
6154
5814
  ((_e = object.response) === null || _e === void 0 ? void 0 : _e.notFound) !== undefined &&
6155
5815
  ((_f = object.response) === null || _f === void 0 ? void 0 : _f.notFound) !== null) {
6156
- message.response = { $case: "notFound", notFound: NotFoundError.fromPartial(object.response.notFound) };
5816
+ message.response = { $case: "notFound", notFound: errors_gen_1.NotFoundError.fromPartial(object.response.notFound) };
6157
5817
  }
6158
5818
  if (((_g = object.response) === null || _g === void 0 ? void 0 : _g.$case) === "internalServerError" &&
6159
5819
  ((_h = object.response) === null || _h === void 0 ? void 0 : _h.internalServerError) !== undefined &&
6160
5820
  ((_j = object.response) === null || _j === void 0 ? void 0 : _j.internalServerError) !== null) {
6161
5821
  message.response = {
6162
5822
  $case: "internalServerError",
6163
- internalServerError: InternalServerError.fromPartial(object.response.internalServerError),
5823
+ internalServerError: errors_gen_1.InternalServerError.fromPartial(object.response.internalServerError),
6164
5824
  };
6165
5825
  }
6166
5826
  return message;
@@ -6363,16 +6023,16 @@ var StartCommunityVoiceChatResponse;
6363
6023
  StartCommunityVoiceChatResponse_Ok.encode(message.response.ok, writer.uint32(10).fork()).ldelim();
6364
6024
  break;
6365
6025
  case "invalidRequest":
6366
- InvalidRequest.encode(message.response.invalidRequest, writer.uint32(18).fork()).ldelim();
6026
+ errors_gen_1.InvalidRequest.encode(message.response.invalidRequest, writer.uint32(18).fork()).ldelim();
6367
6027
  break;
6368
6028
  case "forbiddenError":
6369
- ForbiddenError.encode(message.response.forbiddenError, writer.uint32(26).fork()).ldelim();
6029
+ errors_gen_1.ForbiddenError.encode(message.response.forbiddenError, writer.uint32(26).fork()).ldelim();
6370
6030
  break;
6371
6031
  case "conflictingError":
6372
- ConflictingError.encode(message.response.conflictingError, writer.uint32(34).fork()).ldelim();
6032
+ errors_gen_1.ConflictingError.encode(message.response.conflictingError, writer.uint32(34).fork()).ldelim();
6373
6033
  break;
6374
6034
  case "internalServerError":
6375
- InternalServerError.encode(message.response.internalServerError, writer.uint32(42).fork()).ldelim();
6035
+ errors_gen_1.InternalServerError.encode(message.response.internalServerError, writer.uint32(42).fork()).ldelim();
6376
6036
  break;
6377
6037
  }
6378
6038
  return writer;
@@ -6397,7 +6057,7 @@ var StartCommunityVoiceChatResponse;
6397
6057
  }
6398
6058
  message.response = {
6399
6059
  $case: "invalidRequest",
6400
- invalidRequest: InvalidRequest.decode(reader, reader.uint32()),
6060
+ invalidRequest: errors_gen_1.InvalidRequest.decode(reader, reader.uint32()),
6401
6061
  };
6402
6062
  continue;
6403
6063
  case 3:
@@ -6406,7 +6066,7 @@ var StartCommunityVoiceChatResponse;
6406
6066
  }
6407
6067
  message.response = {
6408
6068
  $case: "forbiddenError",
6409
- forbiddenError: ForbiddenError.decode(reader, reader.uint32()),
6069
+ forbiddenError: errors_gen_1.ForbiddenError.decode(reader, reader.uint32()),
6410
6070
  };
6411
6071
  continue;
6412
6072
  case 4:
@@ -6415,7 +6075,7 @@ var StartCommunityVoiceChatResponse;
6415
6075
  }
6416
6076
  message.response = {
6417
6077
  $case: "conflictingError",
6418
- conflictingError: ConflictingError.decode(reader, reader.uint32()),
6078
+ conflictingError: errors_gen_1.ConflictingError.decode(reader, reader.uint32()),
6419
6079
  };
6420
6080
  continue;
6421
6081
  case 5:
@@ -6424,7 +6084,7 @@ var StartCommunityVoiceChatResponse;
6424
6084
  }
6425
6085
  message.response = {
6426
6086
  $case: "internalServerError",
6427
- internalServerError: InternalServerError.decode(reader, reader.uint32()),
6087
+ internalServerError: errors_gen_1.InternalServerError.decode(reader, reader.uint32()),
6428
6088
  };
6429
6089
  continue;
6430
6090
  }
@@ -6441,15 +6101,15 @@ var StartCommunityVoiceChatResponse;
6441
6101
  response: isSet(object.ok)
6442
6102
  ? { $case: "ok", ok: StartCommunityVoiceChatResponse_Ok.fromJSON(object.ok) }
6443
6103
  : isSet(object.invalidRequest)
6444
- ? { $case: "invalidRequest", invalidRequest: InvalidRequest.fromJSON(object.invalidRequest) }
6104
+ ? { $case: "invalidRequest", invalidRequest: errors_gen_1.InvalidRequest.fromJSON(object.invalidRequest) }
6445
6105
  : isSet(object.forbiddenError)
6446
- ? { $case: "forbiddenError", forbiddenError: ForbiddenError.fromJSON(object.forbiddenError) }
6106
+ ? { $case: "forbiddenError", forbiddenError: errors_gen_1.ForbiddenError.fromJSON(object.forbiddenError) }
6447
6107
  : isSet(object.conflictingError)
6448
- ? { $case: "conflictingError", conflictingError: ConflictingError.fromJSON(object.conflictingError) }
6108
+ ? { $case: "conflictingError", conflictingError: errors_gen_1.ConflictingError.fromJSON(object.conflictingError) }
6449
6109
  : isSet(object.internalServerError)
6450
6110
  ? {
6451
6111
  $case: "internalServerError",
6452
- internalServerError: InternalServerError.fromJSON(object.internalServerError),
6112
+ internalServerError: errors_gen_1.InternalServerError.fromJSON(object.internalServerError),
6453
6113
  }
6454
6114
  : undefined,
6455
6115
  };
@@ -6462,19 +6122,19 @@ var StartCommunityVoiceChatResponse;
6462
6122
  (obj.ok = ((_b = message.response) === null || _b === void 0 ? void 0 : _b.ok) ? StartCommunityVoiceChatResponse_Ok.toJSON((_c = message.response) === null || _c === void 0 ? void 0 : _c.ok) : undefined);
6463
6123
  ((_d = message.response) === null || _d === void 0 ? void 0 : _d.$case) === "invalidRequest" &&
6464
6124
  (obj.invalidRequest = ((_e = message.response) === null || _e === void 0 ? void 0 : _e.invalidRequest)
6465
- ? InvalidRequest.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.invalidRequest)
6125
+ ? errors_gen_1.InvalidRequest.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.invalidRequest)
6466
6126
  : undefined);
6467
6127
  ((_g = message.response) === null || _g === void 0 ? void 0 : _g.$case) === "forbiddenError" &&
6468
6128
  (obj.forbiddenError = ((_h = message.response) === null || _h === void 0 ? void 0 : _h.forbiddenError)
6469
- ? ForbiddenError.toJSON((_j = message.response) === null || _j === void 0 ? void 0 : _j.forbiddenError)
6129
+ ? errors_gen_1.ForbiddenError.toJSON((_j = message.response) === null || _j === void 0 ? void 0 : _j.forbiddenError)
6470
6130
  : undefined);
6471
6131
  ((_k = message.response) === null || _k === void 0 ? void 0 : _k.$case) === "conflictingError" &&
6472
6132
  (obj.conflictingError = ((_l = message.response) === null || _l === void 0 ? void 0 : _l.conflictingError)
6473
- ? ConflictingError.toJSON((_m = message.response) === null || _m === void 0 ? void 0 : _m.conflictingError)
6133
+ ? errors_gen_1.ConflictingError.toJSON((_m = message.response) === null || _m === void 0 ? void 0 : _m.conflictingError)
6474
6134
  : undefined);
6475
6135
  ((_o = message.response) === null || _o === void 0 ? void 0 : _o.$case) === "internalServerError" &&
6476
6136
  (obj.internalServerError = ((_p = message.response) === null || _p === void 0 ? void 0 : _p.internalServerError)
6477
- ? InternalServerError.toJSON((_q = message.response) === null || _q === void 0 ? void 0 : _q.internalServerError)
6137
+ ? errors_gen_1.InternalServerError.toJSON((_q = message.response) === null || _q === void 0 ? void 0 : _q.internalServerError)
6478
6138
  : undefined);
6479
6139
  return obj;
6480
6140
  }
@@ -6494,7 +6154,7 @@ var StartCommunityVoiceChatResponse;
6494
6154
  ((_f = object.response) === null || _f === void 0 ? void 0 : _f.invalidRequest) !== null) {
6495
6155
  message.response = {
6496
6156
  $case: "invalidRequest",
6497
- invalidRequest: InvalidRequest.fromPartial(object.response.invalidRequest),
6157
+ invalidRequest: errors_gen_1.InvalidRequest.fromPartial(object.response.invalidRequest),
6498
6158
  };
6499
6159
  }
6500
6160
  if (((_g = object.response) === null || _g === void 0 ? void 0 : _g.$case) === "forbiddenError" &&
@@ -6502,7 +6162,7 @@ var StartCommunityVoiceChatResponse;
6502
6162
  ((_j = object.response) === null || _j === void 0 ? void 0 : _j.forbiddenError) !== null) {
6503
6163
  message.response = {
6504
6164
  $case: "forbiddenError",
6505
- forbiddenError: ForbiddenError.fromPartial(object.response.forbiddenError),
6165
+ forbiddenError: errors_gen_1.ForbiddenError.fromPartial(object.response.forbiddenError),
6506
6166
  };
6507
6167
  }
6508
6168
  if (((_k = object.response) === null || _k === void 0 ? void 0 : _k.$case) === "conflictingError" &&
@@ -6510,7 +6170,7 @@ var StartCommunityVoiceChatResponse;
6510
6170
  ((_m = object.response) === null || _m === void 0 ? void 0 : _m.conflictingError) !== null) {
6511
6171
  message.response = {
6512
6172
  $case: "conflictingError",
6513
- conflictingError: ConflictingError.fromPartial(object.response.conflictingError),
6173
+ conflictingError: errors_gen_1.ConflictingError.fromPartial(object.response.conflictingError),
6514
6174
  };
6515
6175
  }
6516
6176
  if (((_o = object.response) === null || _o === void 0 ? void 0 : _o.$case) === "internalServerError" &&
@@ -6518,7 +6178,7 @@ var StartCommunityVoiceChatResponse;
6518
6178
  ((_q = object.response) === null || _q === void 0 ? void 0 : _q.internalServerError) !== null) {
6519
6179
  message.response = {
6520
6180
  $case: "internalServerError",
6521
- internalServerError: InternalServerError.fromPartial(object.response.internalServerError),
6181
+ internalServerError: errors_gen_1.InternalServerError.fromPartial(object.response.internalServerError),
6522
6182
  };
6523
6183
  }
6524
6184
  return message;
@@ -6653,19 +6313,19 @@ var JoinCommunityVoiceChatResponse;
6653
6313
  JoinCommunityVoiceChatResponse_Ok.encode(message.response.ok, writer.uint32(10).fork()).ldelim();
6654
6314
  break;
6655
6315
  case "invalidRequest":
6656
- InvalidRequest.encode(message.response.invalidRequest, writer.uint32(18).fork()).ldelim();
6316
+ errors_gen_1.InvalidRequest.encode(message.response.invalidRequest, writer.uint32(18).fork()).ldelim();
6657
6317
  break;
6658
6318
  case "forbiddenError":
6659
- ForbiddenError.encode(message.response.forbiddenError, writer.uint32(26).fork()).ldelim();
6319
+ errors_gen_1.ForbiddenError.encode(message.response.forbiddenError, writer.uint32(26).fork()).ldelim();
6660
6320
  break;
6661
6321
  case "notFoundError":
6662
- NotFoundError.encode(message.response.notFoundError, writer.uint32(34).fork()).ldelim();
6322
+ errors_gen_1.NotFoundError.encode(message.response.notFoundError, writer.uint32(34).fork()).ldelim();
6663
6323
  break;
6664
6324
  case "conflictingError":
6665
- ConflictingError.encode(message.response.conflictingError, writer.uint32(42).fork()).ldelim();
6325
+ errors_gen_1.ConflictingError.encode(message.response.conflictingError, writer.uint32(42).fork()).ldelim();
6666
6326
  break;
6667
6327
  case "internalServerError":
6668
- InternalServerError.encode(message.response.internalServerError, writer.uint32(50).fork()).ldelim();
6328
+ errors_gen_1.InternalServerError.encode(message.response.internalServerError, writer.uint32(50).fork()).ldelim();
6669
6329
  break;
6670
6330
  }
6671
6331
  return writer;
@@ -6690,7 +6350,7 @@ var JoinCommunityVoiceChatResponse;
6690
6350
  }
6691
6351
  message.response = {
6692
6352
  $case: "invalidRequest",
6693
- invalidRequest: InvalidRequest.decode(reader, reader.uint32()),
6353
+ invalidRequest: errors_gen_1.InvalidRequest.decode(reader, reader.uint32()),
6694
6354
  };
6695
6355
  continue;
6696
6356
  case 3:
@@ -6699,14 +6359,14 @@ var JoinCommunityVoiceChatResponse;
6699
6359
  }
6700
6360
  message.response = {
6701
6361
  $case: "forbiddenError",
6702
- forbiddenError: ForbiddenError.decode(reader, reader.uint32()),
6362
+ forbiddenError: errors_gen_1.ForbiddenError.decode(reader, reader.uint32()),
6703
6363
  };
6704
6364
  continue;
6705
6365
  case 4:
6706
6366
  if (tag !== 34) {
6707
6367
  break;
6708
6368
  }
6709
- message.response = { $case: "notFoundError", notFoundError: NotFoundError.decode(reader, reader.uint32()) };
6369
+ message.response = { $case: "notFoundError", notFoundError: errors_gen_1.NotFoundError.decode(reader, reader.uint32()) };
6710
6370
  continue;
6711
6371
  case 5:
6712
6372
  if (tag !== 42) {
@@ -6714,7 +6374,7 @@ var JoinCommunityVoiceChatResponse;
6714
6374
  }
6715
6375
  message.response = {
6716
6376
  $case: "conflictingError",
6717
- conflictingError: ConflictingError.decode(reader, reader.uint32()),
6377
+ conflictingError: errors_gen_1.ConflictingError.decode(reader, reader.uint32()),
6718
6378
  };
6719
6379
  continue;
6720
6380
  case 6:
@@ -6723,7 +6383,7 @@ var JoinCommunityVoiceChatResponse;
6723
6383
  }
6724
6384
  message.response = {
6725
6385
  $case: "internalServerError",
6726
- internalServerError: InternalServerError.decode(reader, reader.uint32()),
6386
+ internalServerError: errors_gen_1.InternalServerError.decode(reader, reader.uint32()),
6727
6387
  };
6728
6388
  continue;
6729
6389
  }
@@ -6740,17 +6400,17 @@ var JoinCommunityVoiceChatResponse;
6740
6400
  response: isSet(object.ok)
6741
6401
  ? { $case: "ok", ok: JoinCommunityVoiceChatResponse_Ok.fromJSON(object.ok) }
6742
6402
  : isSet(object.invalidRequest)
6743
- ? { $case: "invalidRequest", invalidRequest: InvalidRequest.fromJSON(object.invalidRequest) }
6403
+ ? { $case: "invalidRequest", invalidRequest: errors_gen_1.InvalidRequest.fromJSON(object.invalidRequest) }
6744
6404
  : isSet(object.forbiddenError)
6745
- ? { $case: "forbiddenError", forbiddenError: ForbiddenError.fromJSON(object.forbiddenError) }
6405
+ ? { $case: "forbiddenError", forbiddenError: errors_gen_1.ForbiddenError.fromJSON(object.forbiddenError) }
6746
6406
  : isSet(object.notFoundError)
6747
- ? { $case: "notFoundError", notFoundError: NotFoundError.fromJSON(object.notFoundError) }
6407
+ ? { $case: "notFoundError", notFoundError: errors_gen_1.NotFoundError.fromJSON(object.notFoundError) }
6748
6408
  : isSet(object.conflictingError)
6749
- ? { $case: "conflictingError", conflictingError: ConflictingError.fromJSON(object.conflictingError) }
6409
+ ? { $case: "conflictingError", conflictingError: errors_gen_1.ConflictingError.fromJSON(object.conflictingError) }
6750
6410
  : isSet(object.internalServerError)
6751
6411
  ? {
6752
6412
  $case: "internalServerError",
6753
- internalServerError: InternalServerError.fromJSON(object.internalServerError),
6413
+ internalServerError: errors_gen_1.InternalServerError.fromJSON(object.internalServerError),
6754
6414
  }
6755
6415
  : undefined,
6756
6416
  };
@@ -6763,23 +6423,23 @@ var JoinCommunityVoiceChatResponse;
6763
6423
  (obj.ok = ((_b = message.response) === null || _b === void 0 ? void 0 : _b.ok) ? JoinCommunityVoiceChatResponse_Ok.toJSON((_c = message.response) === null || _c === void 0 ? void 0 : _c.ok) : undefined);
6764
6424
  ((_d = message.response) === null || _d === void 0 ? void 0 : _d.$case) === "invalidRequest" &&
6765
6425
  (obj.invalidRequest = ((_e = message.response) === null || _e === void 0 ? void 0 : _e.invalidRequest)
6766
- ? InvalidRequest.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.invalidRequest)
6426
+ ? errors_gen_1.InvalidRequest.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.invalidRequest)
6767
6427
  : undefined);
6768
6428
  ((_g = message.response) === null || _g === void 0 ? void 0 : _g.$case) === "forbiddenError" &&
6769
6429
  (obj.forbiddenError = ((_h = message.response) === null || _h === void 0 ? void 0 : _h.forbiddenError)
6770
- ? ForbiddenError.toJSON((_j = message.response) === null || _j === void 0 ? void 0 : _j.forbiddenError)
6430
+ ? errors_gen_1.ForbiddenError.toJSON((_j = message.response) === null || _j === void 0 ? void 0 : _j.forbiddenError)
6771
6431
  : undefined);
6772
6432
  ((_k = message.response) === null || _k === void 0 ? void 0 : _k.$case) === "notFoundError" &&
6773
6433
  (obj.notFoundError = ((_l = message.response) === null || _l === void 0 ? void 0 : _l.notFoundError)
6774
- ? NotFoundError.toJSON((_m = message.response) === null || _m === void 0 ? void 0 : _m.notFoundError)
6434
+ ? errors_gen_1.NotFoundError.toJSON((_m = message.response) === null || _m === void 0 ? void 0 : _m.notFoundError)
6775
6435
  : undefined);
6776
6436
  ((_o = message.response) === null || _o === void 0 ? void 0 : _o.$case) === "conflictingError" &&
6777
6437
  (obj.conflictingError = ((_p = message.response) === null || _p === void 0 ? void 0 : _p.conflictingError)
6778
- ? ConflictingError.toJSON((_q = message.response) === null || _q === void 0 ? void 0 : _q.conflictingError)
6438
+ ? errors_gen_1.ConflictingError.toJSON((_q = message.response) === null || _q === void 0 ? void 0 : _q.conflictingError)
6779
6439
  : undefined);
6780
6440
  ((_r = message.response) === null || _r === void 0 ? void 0 : _r.$case) === "internalServerError" &&
6781
6441
  (obj.internalServerError = ((_s = message.response) === null || _s === void 0 ? void 0 : _s.internalServerError)
6782
- ? InternalServerError.toJSON((_t = message.response) === null || _t === void 0 ? void 0 : _t.internalServerError)
6442
+ ? errors_gen_1.InternalServerError.toJSON((_t = message.response) === null || _t === void 0 ? void 0 : _t.internalServerError)
6783
6443
  : undefined);
6784
6444
  return obj;
6785
6445
  }
@@ -6799,7 +6459,7 @@ var JoinCommunityVoiceChatResponse;
6799
6459
  ((_f = object.response) === null || _f === void 0 ? void 0 : _f.invalidRequest) !== null) {
6800
6460
  message.response = {
6801
6461
  $case: "invalidRequest",
6802
- invalidRequest: InvalidRequest.fromPartial(object.response.invalidRequest),
6462
+ invalidRequest: errors_gen_1.InvalidRequest.fromPartial(object.response.invalidRequest),
6803
6463
  };
6804
6464
  }
6805
6465
  if (((_g = object.response) === null || _g === void 0 ? void 0 : _g.$case) === "forbiddenError" &&
@@ -6807,7 +6467,7 @@ var JoinCommunityVoiceChatResponse;
6807
6467
  ((_j = object.response) === null || _j === void 0 ? void 0 : _j.forbiddenError) !== null) {
6808
6468
  message.response = {
6809
6469
  $case: "forbiddenError",
6810
- forbiddenError: ForbiddenError.fromPartial(object.response.forbiddenError),
6470
+ forbiddenError: errors_gen_1.ForbiddenError.fromPartial(object.response.forbiddenError),
6811
6471
  };
6812
6472
  }
6813
6473
  if (((_k = object.response) === null || _k === void 0 ? void 0 : _k.$case) === "notFoundError" &&
@@ -6815,7 +6475,7 @@ var JoinCommunityVoiceChatResponse;
6815
6475
  ((_m = object.response) === null || _m === void 0 ? void 0 : _m.notFoundError) !== null) {
6816
6476
  message.response = {
6817
6477
  $case: "notFoundError",
6818
- notFoundError: NotFoundError.fromPartial(object.response.notFoundError),
6478
+ notFoundError: errors_gen_1.NotFoundError.fromPartial(object.response.notFoundError),
6819
6479
  };
6820
6480
  }
6821
6481
  if (((_o = object.response) === null || _o === void 0 ? void 0 : _o.$case) === "conflictingError" &&
@@ -6823,7 +6483,7 @@ var JoinCommunityVoiceChatResponse;
6823
6483
  ((_q = object.response) === null || _q === void 0 ? void 0 : _q.conflictingError) !== null) {
6824
6484
  message.response = {
6825
6485
  $case: "conflictingError",
6826
- conflictingError: ConflictingError.fromPartial(object.response.conflictingError),
6486
+ conflictingError: errors_gen_1.ConflictingError.fromPartial(object.response.conflictingError),
6827
6487
  };
6828
6488
  }
6829
6489
  if (((_r = object.response) === null || _r === void 0 ? void 0 : _r.$case) === "internalServerError" &&
@@ -6831,7 +6491,7 @@ var JoinCommunityVoiceChatResponse;
6831
6491
  ((_t = object.response) === null || _t === void 0 ? void 0 : _t.internalServerError) !== null) {
6832
6492
  message.response = {
6833
6493
  $case: "internalServerError",
6834
- internalServerError: InternalServerError.fromPartial(object.response.internalServerError),
6494
+ internalServerError: errors_gen_1.InternalServerError.fromPartial(object.response.internalServerError),
6835
6495
  };
6836
6496
  }
6837
6497
  return message;
@@ -6979,16 +6639,16 @@ var RequestToSpeakInCommunityVoiceChatResponse;
6979
6639
  RequestToSpeakInCommunityVoiceChatResponse_Ok.encode(message.response.ok, writer.uint32(10).fork()).ldelim();
6980
6640
  break;
6981
6641
  case "invalidRequest":
6982
- InvalidRequest.encode(message.response.invalidRequest, writer.uint32(18).fork()).ldelim();
6642
+ errors_gen_1.InvalidRequest.encode(message.response.invalidRequest, writer.uint32(18).fork()).ldelim();
6983
6643
  break;
6984
6644
  case "forbiddenError":
6985
- ForbiddenError.encode(message.response.forbiddenError, writer.uint32(26).fork()).ldelim();
6645
+ errors_gen_1.ForbiddenError.encode(message.response.forbiddenError, writer.uint32(26).fork()).ldelim();
6986
6646
  break;
6987
6647
  case "notFoundError":
6988
- NotFoundError.encode(message.response.notFoundError, writer.uint32(34).fork()).ldelim();
6648
+ errors_gen_1.NotFoundError.encode(message.response.notFoundError, writer.uint32(34).fork()).ldelim();
6989
6649
  break;
6990
6650
  case "internalServerError":
6991
- InternalServerError.encode(message.response.internalServerError, writer.uint32(42).fork()).ldelim();
6651
+ errors_gen_1.InternalServerError.encode(message.response.internalServerError, writer.uint32(42).fork()).ldelim();
6992
6652
  break;
6993
6653
  }
6994
6654
  return writer;
@@ -7016,7 +6676,7 @@ var RequestToSpeakInCommunityVoiceChatResponse;
7016
6676
  }
7017
6677
  message.response = {
7018
6678
  $case: "invalidRequest",
7019
- invalidRequest: InvalidRequest.decode(reader, reader.uint32()),
6679
+ invalidRequest: errors_gen_1.InvalidRequest.decode(reader, reader.uint32()),
7020
6680
  };
7021
6681
  continue;
7022
6682
  case 3:
@@ -7025,14 +6685,14 @@ var RequestToSpeakInCommunityVoiceChatResponse;
7025
6685
  }
7026
6686
  message.response = {
7027
6687
  $case: "forbiddenError",
7028
- forbiddenError: ForbiddenError.decode(reader, reader.uint32()),
6688
+ forbiddenError: errors_gen_1.ForbiddenError.decode(reader, reader.uint32()),
7029
6689
  };
7030
6690
  continue;
7031
6691
  case 4:
7032
6692
  if (tag !== 34) {
7033
6693
  break;
7034
6694
  }
7035
- message.response = { $case: "notFoundError", notFoundError: NotFoundError.decode(reader, reader.uint32()) };
6695
+ message.response = { $case: "notFoundError", notFoundError: errors_gen_1.NotFoundError.decode(reader, reader.uint32()) };
7036
6696
  continue;
7037
6697
  case 5:
7038
6698
  if (tag !== 42) {
@@ -7040,7 +6700,7 @@ var RequestToSpeakInCommunityVoiceChatResponse;
7040
6700
  }
7041
6701
  message.response = {
7042
6702
  $case: "internalServerError",
7043
- internalServerError: InternalServerError.decode(reader, reader.uint32()),
6703
+ internalServerError: errors_gen_1.InternalServerError.decode(reader, reader.uint32()),
7044
6704
  };
7045
6705
  continue;
7046
6706
  }
@@ -7057,15 +6717,15 @@ var RequestToSpeakInCommunityVoiceChatResponse;
7057
6717
  response: isSet(object.ok)
7058
6718
  ? { $case: "ok", ok: RequestToSpeakInCommunityVoiceChatResponse_Ok.fromJSON(object.ok) }
7059
6719
  : isSet(object.invalidRequest)
7060
- ? { $case: "invalidRequest", invalidRequest: InvalidRequest.fromJSON(object.invalidRequest) }
6720
+ ? { $case: "invalidRequest", invalidRequest: errors_gen_1.InvalidRequest.fromJSON(object.invalidRequest) }
7061
6721
  : isSet(object.forbiddenError)
7062
- ? { $case: "forbiddenError", forbiddenError: ForbiddenError.fromJSON(object.forbiddenError) }
6722
+ ? { $case: "forbiddenError", forbiddenError: errors_gen_1.ForbiddenError.fromJSON(object.forbiddenError) }
7063
6723
  : isSet(object.notFoundError)
7064
- ? { $case: "notFoundError", notFoundError: NotFoundError.fromJSON(object.notFoundError) }
6724
+ ? { $case: "notFoundError", notFoundError: errors_gen_1.NotFoundError.fromJSON(object.notFoundError) }
7065
6725
  : isSet(object.internalServerError)
7066
6726
  ? {
7067
6727
  $case: "internalServerError",
7068
- internalServerError: InternalServerError.fromJSON(object.internalServerError),
6728
+ internalServerError: errors_gen_1.InternalServerError.fromJSON(object.internalServerError),
7069
6729
  }
7070
6730
  : undefined,
7071
6731
  };
@@ -7080,19 +6740,19 @@ var RequestToSpeakInCommunityVoiceChatResponse;
7080
6740
  : undefined);
7081
6741
  ((_d = message.response) === null || _d === void 0 ? void 0 : _d.$case) === "invalidRequest" &&
7082
6742
  (obj.invalidRequest = ((_e = message.response) === null || _e === void 0 ? void 0 : _e.invalidRequest)
7083
- ? InvalidRequest.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.invalidRequest)
6743
+ ? errors_gen_1.InvalidRequest.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.invalidRequest)
7084
6744
  : undefined);
7085
6745
  ((_g = message.response) === null || _g === void 0 ? void 0 : _g.$case) === "forbiddenError" &&
7086
6746
  (obj.forbiddenError = ((_h = message.response) === null || _h === void 0 ? void 0 : _h.forbiddenError)
7087
- ? ForbiddenError.toJSON((_j = message.response) === null || _j === void 0 ? void 0 : _j.forbiddenError)
6747
+ ? errors_gen_1.ForbiddenError.toJSON((_j = message.response) === null || _j === void 0 ? void 0 : _j.forbiddenError)
7088
6748
  : undefined);
7089
6749
  ((_k = message.response) === null || _k === void 0 ? void 0 : _k.$case) === "notFoundError" &&
7090
6750
  (obj.notFoundError = ((_l = message.response) === null || _l === void 0 ? void 0 : _l.notFoundError)
7091
- ? NotFoundError.toJSON((_m = message.response) === null || _m === void 0 ? void 0 : _m.notFoundError)
6751
+ ? errors_gen_1.NotFoundError.toJSON((_m = message.response) === null || _m === void 0 ? void 0 : _m.notFoundError)
7092
6752
  : undefined);
7093
6753
  ((_o = message.response) === null || _o === void 0 ? void 0 : _o.$case) === "internalServerError" &&
7094
6754
  (obj.internalServerError = ((_p = message.response) === null || _p === void 0 ? void 0 : _p.internalServerError)
7095
- ? InternalServerError.toJSON((_q = message.response) === null || _q === void 0 ? void 0 : _q.internalServerError)
6755
+ ? errors_gen_1.InternalServerError.toJSON((_q = message.response) === null || _q === void 0 ? void 0 : _q.internalServerError)
7096
6756
  : undefined);
7097
6757
  return obj;
7098
6758
  }
@@ -7115,7 +6775,7 @@ var RequestToSpeakInCommunityVoiceChatResponse;
7115
6775
  ((_f = object.response) === null || _f === void 0 ? void 0 : _f.invalidRequest) !== null) {
7116
6776
  message.response = {
7117
6777
  $case: "invalidRequest",
7118
- invalidRequest: InvalidRequest.fromPartial(object.response.invalidRequest),
6778
+ invalidRequest: errors_gen_1.InvalidRequest.fromPartial(object.response.invalidRequest),
7119
6779
  };
7120
6780
  }
7121
6781
  if (((_g = object.response) === null || _g === void 0 ? void 0 : _g.$case) === "forbiddenError" &&
@@ -7123,7 +6783,7 @@ var RequestToSpeakInCommunityVoiceChatResponse;
7123
6783
  ((_j = object.response) === null || _j === void 0 ? void 0 : _j.forbiddenError) !== null) {
7124
6784
  message.response = {
7125
6785
  $case: "forbiddenError",
7126
- forbiddenError: ForbiddenError.fromPartial(object.response.forbiddenError),
6786
+ forbiddenError: errors_gen_1.ForbiddenError.fromPartial(object.response.forbiddenError),
7127
6787
  };
7128
6788
  }
7129
6789
  if (((_k = object.response) === null || _k === void 0 ? void 0 : _k.$case) === "notFoundError" &&
@@ -7131,7 +6791,7 @@ var RequestToSpeakInCommunityVoiceChatResponse;
7131
6791
  ((_m = object.response) === null || _m === void 0 ? void 0 : _m.notFoundError) !== null) {
7132
6792
  message.response = {
7133
6793
  $case: "notFoundError",
7134
- notFoundError: NotFoundError.fromPartial(object.response.notFoundError),
6794
+ notFoundError: errors_gen_1.NotFoundError.fromPartial(object.response.notFoundError),
7135
6795
  };
7136
6796
  }
7137
6797
  if (((_o = object.response) === null || _o === void 0 ? void 0 : _o.$case) === "internalServerError" &&
@@ -7139,7 +6799,7 @@ var RequestToSpeakInCommunityVoiceChatResponse;
7139
6799
  ((_q = object.response) === null || _q === void 0 ? void 0 : _q.internalServerError) !== null) {
7140
6800
  message.response = {
7141
6801
  $case: "internalServerError",
7142
- internalServerError: InternalServerError.fromPartial(object.response.internalServerError),
6802
+ internalServerError: errors_gen_1.InternalServerError.fromPartial(object.response.internalServerError),
7143
6803
  };
7144
6804
  }
7145
6805
  return message;
@@ -7284,16 +6944,16 @@ var PromoteSpeakerInCommunityVoiceChatResponse;
7284
6944
  PromoteSpeakerInCommunityVoiceChatResponse_Ok.encode(message.response.ok, writer.uint32(10).fork()).ldelim();
7285
6945
  break;
7286
6946
  case "invalidRequest":
7287
- InvalidRequest.encode(message.response.invalidRequest, writer.uint32(18).fork()).ldelim();
6947
+ errors_gen_1.InvalidRequest.encode(message.response.invalidRequest, writer.uint32(18).fork()).ldelim();
7288
6948
  break;
7289
6949
  case "forbiddenError":
7290
- ForbiddenError.encode(message.response.forbiddenError, writer.uint32(26).fork()).ldelim();
6950
+ errors_gen_1.ForbiddenError.encode(message.response.forbiddenError, writer.uint32(26).fork()).ldelim();
7291
6951
  break;
7292
6952
  case "notFoundError":
7293
- NotFoundError.encode(message.response.notFoundError, writer.uint32(34).fork()).ldelim();
6953
+ errors_gen_1.NotFoundError.encode(message.response.notFoundError, writer.uint32(34).fork()).ldelim();
7294
6954
  break;
7295
6955
  case "internalServerError":
7296
- InternalServerError.encode(message.response.internalServerError, writer.uint32(42).fork()).ldelim();
6956
+ errors_gen_1.InternalServerError.encode(message.response.internalServerError, writer.uint32(42).fork()).ldelim();
7297
6957
  break;
7298
6958
  }
7299
6959
  return writer;
@@ -7321,7 +6981,7 @@ var PromoteSpeakerInCommunityVoiceChatResponse;
7321
6981
  }
7322
6982
  message.response = {
7323
6983
  $case: "invalidRequest",
7324
- invalidRequest: InvalidRequest.decode(reader, reader.uint32()),
6984
+ invalidRequest: errors_gen_1.InvalidRequest.decode(reader, reader.uint32()),
7325
6985
  };
7326
6986
  continue;
7327
6987
  case 3:
@@ -7330,14 +6990,14 @@ var PromoteSpeakerInCommunityVoiceChatResponse;
7330
6990
  }
7331
6991
  message.response = {
7332
6992
  $case: "forbiddenError",
7333
- forbiddenError: ForbiddenError.decode(reader, reader.uint32()),
6993
+ forbiddenError: errors_gen_1.ForbiddenError.decode(reader, reader.uint32()),
7334
6994
  };
7335
6995
  continue;
7336
6996
  case 4:
7337
6997
  if (tag !== 34) {
7338
6998
  break;
7339
6999
  }
7340
- message.response = { $case: "notFoundError", notFoundError: NotFoundError.decode(reader, reader.uint32()) };
7000
+ message.response = { $case: "notFoundError", notFoundError: errors_gen_1.NotFoundError.decode(reader, reader.uint32()) };
7341
7001
  continue;
7342
7002
  case 5:
7343
7003
  if (tag !== 42) {
@@ -7345,7 +7005,7 @@ var PromoteSpeakerInCommunityVoiceChatResponse;
7345
7005
  }
7346
7006
  message.response = {
7347
7007
  $case: "internalServerError",
7348
- internalServerError: InternalServerError.decode(reader, reader.uint32()),
7008
+ internalServerError: errors_gen_1.InternalServerError.decode(reader, reader.uint32()),
7349
7009
  };
7350
7010
  continue;
7351
7011
  }
@@ -7362,15 +7022,15 @@ var PromoteSpeakerInCommunityVoiceChatResponse;
7362
7022
  response: isSet(object.ok)
7363
7023
  ? { $case: "ok", ok: PromoteSpeakerInCommunityVoiceChatResponse_Ok.fromJSON(object.ok) }
7364
7024
  : isSet(object.invalidRequest)
7365
- ? { $case: "invalidRequest", invalidRequest: InvalidRequest.fromJSON(object.invalidRequest) }
7025
+ ? { $case: "invalidRequest", invalidRequest: errors_gen_1.InvalidRequest.fromJSON(object.invalidRequest) }
7366
7026
  : isSet(object.forbiddenError)
7367
- ? { $case: "forbiddenError", forbiddenError: ForbiddenError.fromJSON(object.forbiddenError) }
7027
+ ? { $case: "forbiddenError", forbiddenError: errors_gen_1.ForbiddenError.fromJSON(object.forbiddenError) }
7368
7028
  : isSet(object.notFoundError)
7369
- ? { $case: "notFoundError", notFoundError: NotFoundError.fromJSON(object.notFoundError) }
7029
+ ? { $case: "notFoundError", notFoundError: errors_gen_1.NotFoundError.fromJSON(object.notFoundError) }
7370
7030
  : isSet(object.internalServerError)
7371
7031
  ? {
7372
7032
  $case: "internalServerError",
7373
- internalServerError: InternalServerError.fromJSON(object.internalServerError),
7033
+ internalServerError: errors_gen_1.InternalServerError.fromJSON(object.internalServerError),
7374
7034
  }
7375
7035
  : undefined,
7376
7036
  };
@@ -7385,19 +7045,19 @@ var PromoteSpeakerInCommunityVoiceChatResponse;
7385
7045
  : undefined);
7386
7046
  ((_d = message.response) === null || _d === void 0 ? void 0 : _d.$case) === "invalidRequest" &&
7387
7047
  (obj.invalidRequest = ((_e = message.response) === null || _e === void 0 ? void 0 : _e.invalidRequest)
7388
- ? InvalidRequest.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.invalidRequest)
7048
+ ? errors_gen_1.InvalidRequest.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.invalidRequest)
7389
7049
  : undefined);
7390
7050
  ((_g = message.response) === null || _g === void 0 ? void 0 : _g.$case) === "forbiddenError" &&
7391
7051
  (obj.forbiddenError = ((_h = message.response) === null || _h === void 0 ? void 0 : _h.forbiddenError)
7392
- ? ForbiddenError.toJSON((_j = message.response) === null || _j === void 0 ? void 0 : _j.forbiddenError)
7052
+ ? errors_gen_1.ForbiddenError.toJSON((_j = message.response) === null || _j === void 0 ? void 0 : _j.forbiddenError)
7393
7053
  : undefined);
7394
7054
  ((_k = message.response) === null || _k === void 0 ? void 0 : _k.$case) === "notFoundError" &&
7395
7055
  (obj.notFoundError = ((_l = message.response) === null || _l === void 0 ? void 0 : _l.notFoundError)
7396
- ? NotFoundError.toJSON((_m = message.response) === null || _m === void 0 ? void 0 : _m.notFoundError)
7056
+ ? errors_gen_1.NotFoundError.toJSON((_m = message.response) === null || _m === void 0 ? void 0 : _m.notFoundError)
7397
7057
  : undefined);
7398
7058
  ((_o = message.response) === null || _o === void 0 ? void 0 : _o.$case) === "internalServerError" &&
7399
7059
  (obj.internalServerError = ((_p = message.response) === null || _p === void 0 ? void 0 : _p.internalServerError)
7400
- ? InternalServerError.toJSON((_q = message.response) === null || _q === void 0 ? void 0 : _q.internalServerError)
7060
+ ? errors_gen_1.InternalServerError.toJSON((_q = message.response) === null || _q === void 0 ? void 0 : _q.internalServerError)
7401
7061
  : undefined);
7402
7062
  return obj;
7403
7063
  }
@@ -7420,7 +7080,7 @@ var PromoteSpeakerInCommunityVoiceChatResponse;
7420
7080
  ((_f = object.response) === null || _f === void 0 ? void 0 : _f.invalidRequest) !== null) {
7421
7081
  message.response = {
7422
7082
  $case: "invalidRequest",
7423
- invalidRequest: InvalidRequest.fromPartial(object.response.invalidRequest),
7083
+ invalidRequest: errors_gen_1.InvalidRequest.fromPartial(object.response.invalidRequest),
7424
7084
  };
7425
7085
  }
7426
7086
  if (((_g = object.response) === null || _g === void 0 ? void 0 : _g.$case) === "forbiddenError" &&
@@ -7428,7 +7088,7 @@ var PromoteSpeakerInCommunityVoiceChatResponse;
7428
7088
  ((_j = object.response) === null || _j === void 0 ? void 0 : _j.forbiddenError) !== null) {
7429
7089
  message.response = {
7430
7090
  $case: "forbiddenError",
7431
- forbiddenError: ForbiddenError.fromPartial(object.response.forbiddenError),
7091
+ forbiddenError: errors_gen_1.ForbiddenError.fromPartial(object.response.forbiddenError),
7432
7092
  };
7433
7093
  }
7434
7094
  if (((_k = object.response) === null || _k === void 0 ? void 0 : _k.$case) === "notFoundError" &&
@@ -7436,7 +7096,7 @@ var PromoteSpeakerInCommunityVoiceChatResponse;
7436
7096
  ((_m = object.response) === null || _m === void 0 ? void 0 : _m.notFoundError) !== null) {
7437
7097
  message.response = {
7438
7098
  $case: "notFoundError",
7439
- notFoundError: NotFoundError.fromPartial(object.response.notFoundError),
7099
+ notFoundError: errors_gen_1.NotFoundError.fromPartial(object.response.notFoundError),
7440
7100
  };
7441
7101
  }
7442
7102
  if (((_o = object.response) === null || _o === void 0 ? void 0 : _o.$case) === "internalServerError" &&
@@ -7444,7 +7104,7 @@ var PromoteSpeakerInCommunityVoiceChatResponse;
7444
7104
  ((_q = object.response) === null || _q === void 0 ? void 0 : _q.internalServerError) !== null) {
7445
7105
  message.response = {
7446
7106
  $case: "internalServerError",
7447
- internalServerError: InternalServerError.fromPartial(object.response.internalServerError),
7107
+ internalServerError: errors_gen_1.InternalServerError.fromPartial(object.response.internalServerError),
7448
7108
  };
7449
7109
  }
7450
7110
  return message;
@@ -7589,16 +7249,16 @@ var DemoteSpeakerInCommunityVoiceChatResponse;
7589
7249
  DemoteSpeakerInCommunityVoiceChatResponse_Ok.encode(message.response.ok, writer.uint32(10).fork()).ldelim();
7590
7250
  break;
7591
7251
  case "invalidRequest":
7592
- InvalidRequest.encode(message.response.invalidRequest, writer.uint32(18).fork()).ldelim();
7252
+ errors_gen_1.InvalidRequest.encode(message.response.invalidRequest, writer.uint32(18).fork()).ldelim();
7593
7253
  break;
7594
7254
  case "forbiddenError":
7595
- ForbiddenError.encode(message.response.forbiddenError, writer.uint32(26).fork()).ldelim();
7255
+ errors_gen_1.ForbiddenError.encode(message.response.forbiddenError, writer.uint32(26).fork()).ldelim();
7596
7256
  break;
7597
7257
  case "notFoundError":
7598
- NotFoundError.encode(message.response.notFoundError, writer.uint32(34).fork()).ldelim();
7258
+ errors_gen_1.NotFoundError.encode(message.response.notFoundError, writer.uint32(34).fork()).ldelim();
7599
7259
  break;
7600
7260
  case "internalServerError":
7601
- InternalServerError.encode(message.response.internalServerError, writer.uint32(42).fork()).ldelim();
7261
+ errors_gen_1.InternalServerError.encode(message.response.internalServerError, writer.uint32(42).fork()).ldelim();
7602
7262
  break;
7603
7263
  }
7604
7264
  return writer;
@@ -7626,7 +7286,7 @@ var DemoteSpeakerInCommunityVoiceChatResponse;
7626
7286
  }
7627
7287
  message.response = {
7628
7288
  $case: "invalidRequest",
7629
- invalidRequest: InvalidRequest.decode(reader, reader.uint32()),
7289
+ invalidRequest: errors_gen_1.InvalidRequest.decode(reader, reader.uint32()),
7630
7290
  };
7631
7291
  continue;
7632
7292
  case 3:
@@ -7635,14 +7295,14 @@ var DemoteSpeakerInCommunityVoiceChatResponse;
7635
7295
  }
7636
7296
  message.response = {
7637
7297
  $case: "forbiddenError",
7638
- forbiddenError: ForbiddenError.decode(reader, reader.uint32()),
7298
+ forbiddenError: errors_gen_1.ForbiddenError.decode(reader, reader.uint32()),
7639
7299
  };
7640
7300
  continue;
7641
7301
  case 4:
7642
7302
  if (tag !== 34) {
7643
7303
  break;
7644
7304
  }
7645
- message.response = { $case: "notFoundError", notFoundError: NotFoundError.decode(reader, reader.uint32()) };
7305
+ message.response = { $case: "notFoundError", notFoundError: errors_gen_1.NotFoundError.decode(reader, reader.uint32()) };
7646
7306
  continue;
7647
7307
  case 5:
7648
7308
  if (tag !== 42) {
@@ -7650,7 +7310,7 @@ var DemoteSpeakerInCommunityVoiceChatResponse;
7650
7310
  }
7651
7311
  message.response = {
7652
7312
  $case: "internalServerError",
7653
- internalServerError: InternalServerError.decode(reader, reader.uint32()),
7313
+ internalServerError: errors_gen_1.InternalServerError.decode(reader, reader.uint32()),
7654
7314
  };
7655
7315
  continue;
7656
7316
  }
@@ -7667,15 +7327,15 @@ var DemoteSpeakerInCommunityVoiceChatResponse;
7667
7327
  response: isSet(object.ok)
7668
7328
  ? { $case: "ok", ok: DemoteSpeakerInCommunityVoiceChatResponse_Ok.fromJSON(object.ok) }
7669
7329
  : isSet(object.invalidRequest)
7670
- ? { $case: "invalidRequest", invalidRequest: InvalidRequest.fromJSON(object.invalidRequest) }
7330
+ ? { $case: "invalidRequest", invalidRequest: errors_gen_1.InvalidRequest.fromJSON(object.invalidRequest) }
7671
7331
  : isSet(object.forbiddenError)
7672
- ? { $case: "forbiddenError", forbiddenError: ForbiddenError.fromJSON(object.forbiddenError) }
7332
+ ? { $case: "forbiddenError", forbiddenError: errors_gen_1.ForbiddenError.fromJSON(object.forbiddenError) }
7673
7333
  : isSet(object.notFoundError)
7674
- ? { $case: "notFoundError", notFoundError: NotFoundError.fromJSON(object.notFoundError) }
7334
+ ? { $case: "notFoundError", notFoundError: errors_gen_1.NotFoundError.fromJSON(object.notFoundError) }
7675
7335
  : isSet(object.internalServerError)
7676
7336
  ? {
7677
7337
  $case: "internalServerError",
7678
- internalServerError: InternalServerError.fromJSON(object.internalServerError),
7338
+ internalServerError: errors_gen_1.InternalServerError.fromJSON(object.internalServerError),
7679
7339
  }
7680
7340
  : undefined,
7681
7341
  };
@@ -7690,19 +7350,19 @@ var DemoteSpeakerInCommunityVoiceChatResponse;
7690
7350
  : undefined);
7691
7351
  ((_d = message.response) === null || _d === void 0 ? void 0 : _d.$case) === "invalidRequest" &&
7692
7352
  (obj.invalidRequest = ((_e = message.response) === null || _e === void 0 ? void 0 : _e.invalidRequest)
7693
- ? InvalidRequest.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.invalidRequest)
7353
+ ? errors_gen_1.InvalidRequest.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.invalidRequest)
7694
7354
  : undefined);
7695
7355
  ((_g = message.response) === null || _g === void 0 ? void 0 : _g.$case) === "forbiddenError" &&
7696
7356
  (obj.forbiddenError = ((_h = message.response) === null || _h === void 0 ? void 0 : _h.forbiddenError)
7697
- ? ForbiddenError.toJSON((_j = message.response) === null || _j === void 0 ? void 0 : _j.forbiddenError)
7357
+ ? errors_gen_1.ForbiddenError.toJSON((_j = message.response) === null || _j === void 0 ? void 0 : _j.forbiddenError)
7698
7358
  : undefined);
7699
7359
  ((_k = message.response) === null || _k === void 0 ? void 0 : _k.$case) === "notFoundError" &&
7700
7360
  (obj.notFoundError = ((_l = message.response) === null || _l === void 0 ? void 0 : _l.notFoundError)
7701
- ? NotFoundError.toJSON((_m = message.response) === null || _m === void 0 ? void 0 : _m.notFoundError)
7361
+ ? errors_gen_1.NotFoundError.toJSON((_m = message.response) === null || _m === void 0 ? void 0 : _m.notFoundError)
7702
7362
  : undefined);
7703
7363
  ((_o = message.response) === null || _o === void 0 ? void 0 : _o.$case) === "internalServerError" &&
7704
7364
  (obj.internalServerError = ((_p = message.response) === null || _p === void 0 ? void 0 : _p.internalServerError)
7705
- ? InternalServerError.toJSON((_q = message.response) === null || _q === void 0 ? void 0 : _q.internalServerError)
7365
+ ? errors_gen_1.InternalServerError.toJSON((_q = message.response) === null || _q === void 0 ? void 0 : _q.internalServerError)
7706
7366
  : undefined);
7707
7367
  return obj;
7708
7368
  }
@@ -7725,7 +7385,7 @@ var DemoteSpeakerInCommunityVoiceChatResponse;
7725
7385
  ((_f = object.response) === null || _f === void 0 ? void 0 : _f.invalidRequest) !== null) {
7726
7386
  message.response = {
7727
7387
  $case: "invalidRequest",
7728
- invalidRequest: InvalidRequest.fromPartial(object.response.invalidRequest),
7388
+ invalidRequest: errors_gen_1.InvalidRequest.fromPartial(object.response.invalidRequest),
7729
7389
  };
7730
7390
  }
7731
7391
  if (((_g = object.response) === null || _g === void 0 ? void 0 : _g.$case) === "forbiddenError" &&
@@ -7733,7 +7393,7 @@ var DemoteSpeakerInCommunityVoiceChatResponse;
7733
7393
  ((_j = object.response) === null || _j === void 0 ? void 0 : _j.forbiddenError) !== null) {
7734
7394
  message.response = {
7735
7395
  $case: "forbiddenError",
7736
- forbiddenError: ForbiddenError.fromPartial(object.response.forbiddenError),
7396
+ forbiddenError: errors_gen_1.ForbiddenError.fromPartial(object.response.forbiddenError),
7737
7397
  };
7738
7398
  }
7739
7399
  if (((_k = object.response) === null || _k === void 0 ? void 0 : _k.$case) === "notFoundError" &&
@@ -7741,7 +7401,7 @@ var DemoteSpeakerInCommunityVoiceChatResponse;
7741
7401
  ((_m = object.response) === null || _m === void 0 ? void 0 : _m.notFoundError) !== null) {
7742
7402
  message.response = {
7743
7403
  $case: "notFoundError",
7744
- notFoundError: NotFoundError.fromPartial(object.response.notFoundError),
7404
+ notFoundError: errors_gen_1.NotFoundError.fromPartial(object.response.notFoundError),
7745
7405
  };
7746
7406
  }
7747
7407
  if (((_o = object.response) === null || _o === void 0 ? void 0 : _o.$case) === "internalServerError" &&
@@ -7749,7 +7409,7 @@ var DemoteSpeakerInCommunityVoiceChatResponse;
7749
7409
  ((_q = object.response) === null || _q === void 0 ? void 0 : _q.internalServerError) !== null) {
7750
7410
  message.response = {
7751
7411
  $case: "internalServerError",
7752
- internalServerError: InternalServerError.fromPartial(object.response.internalServerError),
7412
+ internalServerError: errors_gen_1.InternalServerError.fromPartial(object.response.internalServerError),
7753
7413
  };
7754
7414
  }
7755
7415
  return message;
@@ -7894,16 +7554,16 @@ var KickPlayerFromCommunityVoiceChatResponse;
7894
7554
  KickPlayerFromCommunityVoiceChatResponse_Ok.encode(message.response.ok, writer.uint32(10).fork()).ldelim();
7895
7555
  break;
7896
7556
  case "invalidRequest":
7897
- InvalidRequest.encode(message.response.invalidRequest, writer.uint32(18).fork()).ldelim();
7557
+ errors_gen_1.InvalidRequest.encode(message.response.invalidRequest, writer.uint32(18).fork()).ldelim();
7898
7558
  break;
7899
7559
  case "forbiddenError":
7900
- ForbiddenError.encode(message.response.forbiddenError, writer.uint32(26).fork()).ldelim();
7560
+ errors_gen_1.ForbiddenError.encode(message.response.forbiddenError, writer.uint32(26).fork()).ldelim();
7901
7561
  break;
7902
7562
  case "notFoundError":
7903
- NotFoundError.encode(message.response.notFoundError, writer.uint32(34).fork()).ldelim();
7563
+ errors_gen_1.NotFoundError.encode(message.response.notFoundError, writer.uint32(34).fork()).ldelim();
7904
7564
  break;
7905
7565
  case "internalServerError":
7906
- InternalServerError.encode(message.response.internalServerError, writer.uint32(42).fork()).ldelim();
7566
+ errors_gen_1.InternalServerError.encode(message.response.internalServerError, writer.uint32(42).fork()).ldelim();
7907
7567
  break;
7908
7568
  }
7909
7569
  return writer;
@@ -7931,7 +7591,7 @@ var KickPlayerFromCommunityVoiceChatResponse;
7931
7591
  }
7932
7592
  message.response = {
7933
7593
  $case: "invalidRequest",
7934
- invalidRequest: InvalidRequest.decode(reader, reader.uint32()),
7594
+ invalidRequest: errors_gen_1.InvalidRequest.decode(reader, reader.uint32()),
7935
7595
  };
7936
7596
  continue;
7937
7597
  case 3:
@@ -7940,14 +7600,14 @@ var KickPlayerFromCommunityVoiceChatResponse;
7940
7600
  }
7941
7601
  message.response = {
7942
7602
  $case: "forbiddenError",
7943
- forbiddenError: ForbiddenError.decode(reader, reader.uint32()),
7603
+ forbiddenError: errors_gen_1.ForbiddenError.decode(reader, reader.uint32()),
7944
7604
  };
7945
7605
  continue;
7946
7606
  case 4:
7947
7607
  if (tag !== 34) {
7948
7608
  break;
7949
7609
  }
7950
- message.response = { $case: "notFoundError", notFoundError: NotFoundError.decode(reader, reader.uint32()) };
7610
+ message.response = { $case: "notFoundError", notFoundError: errors_gen_1.NotFoundError.decode(reader, reader.uint32()) };
7951
7611
  continue;
7952
7612
  case 5:
7953
7613
  if (tag !== 42) {
@@ -7955,7 +7615,7 @@ var KickPlayerFromCommunityVoiceChatResponse;
7955
7615
  }
7956
7616
  message.response = {
7957
7617
  $case: "internalServerError",
7958
- internalServerError: InternalServerError.decode(reader, reader.uint32()),
7618
+ internalServerError: errors_gen_1.InternalServerError.decode(reader, reader.uint32()),
7959
7619
  };
7960
7620
  continue;
7961
7621
  }
@@ -7972,15 +7632,15 @@ var KickPlayerFromCommunityVoiceChatResponse;
7972
7632
  response: isSet(object.ok)
7973
7633
  ? { $case: "ok", ok: KickPlayerFromCommunityVoiceChatResponse_Ok.fromJSON(object.ok) }
7974
7634
  : isSet(object.invalidRequest)
7975
- ? { $case: "invalidRequest", invalidRequest: InvalidRequest.fromJSON(object.invalidRequest) }
7635
+ ? { $case: "invalidRequest", invalidRequest: errors_gen_1.InvalidRequest.fromJSON(object.invalidRequest) }
7976
7636
  : isSet(object.forbiddenError)
7977
- ? { $case: "forbiddenError", forbiddenError: ForbiddenError.fromJSON(object.forbiddenError) }
7637
+ ? { $case: "forbiddenError", forbiddenError: errors_gen_1.ForbiddenError.fromJSON(object.forbiddenError) }
7978
7638
  : isSet(object.notFoundError)
7979
- ? { $case: "notFoundError", notFoundError: NotFoundError.fromJSON(object.notFoundError) }
7639
+ ? { $case: "notFoundError", notFoundError: errors_gen_1.NotFoundError.fromJSON(object.notFoundError) }
7980
7640
  : isSet(object.internalServerError)
7981
7641
  ? {
7982
7642
  $case: "internalServerError",
7983
- internalServerError: InternalServerError.fromJSON(object.internalServerError),
7643
+ internalServerError: errors_gen_1.InternalServerError.fromJSON(object.internalServerError),
7984
7644
  }
7985
7645
  : undefined,
7986
7646
  };
@@ -7995,19 +7655,19 @@ var KickPlayerFromCommunityVoiceChatResponse;
7995
7655
  : undefined);
7996
7656
  ((_d = message.response) === null || _d === void 0 ? void 0 : _d.$case) === "invalidRequest" &&
7997
7657
  (obj.invalidRequest = ((_e = message.response) === null || _e === void 0 ? void 0 : _e.invalidRequest)
7998
- ? InvalidRequest.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.invalidRequest)
7658
+ ? errors_gen_1.InvalidRequest.toJSON((_f = message.response) === null || _f === void 0 ? void 0 : _f.invalidRequest)
7999
7659
  : undefined);
8000
7660
  ((_g = message.response) === null || _g === void 0 ? void 0 : _g.$case) === "forbiddenError" &&
8001
7661
  (obj.forbiddenError = ((_h = message.response) === null || _h === void 0 ? void 0 : _h.forbiddenError)
8002
- ? ForbiddenError.toJSON((_j = message.response) === null || _j === void 0 ? void 0 : _j.forbiddenError)
7662
+ ? errors_gen_1.ForbiddenError.toJSON((_j = message.response) === null || _j === void 0 ? void 0 : _j.forbiddenError)
8003
7663
  : undefined);
8004
7664
  ((_k = message.response) === null || _k === void 0 ? void 0 : _k.$case) === "notFoundError" &&
8005
7665
  (obj.notFoundError = ((_l = message.response) === null || _l === void 0 ? void 0 : _l.notFoundError)
8006
- ? NotFoundError.toJSON((_m = message.response) === null || _m === void 0 ? void 0 : _m.notFoundError)
7666
+ ? errors_gen_1.NotFoundError.toJSON((_m = message.response) === null || _m === void 0 ? void 0 : _m.notFoundError)
8007
7667
  : undefined);
8008
7668
  ((_o = message.response) === null || _o === void 0 ? void 0 : _o.$case) === "internalServerError" &&
8009
7669
  (obj.internalServerError = ((_p = message.response) === null || _p === void 0 ? void 0 : _p.internalServerError)
8010
- ? InternalServerError.toJSON((_q = message.response) === null || _q === void 0 ? void 0 : _q.internalServerError)
7670
+ ? errors_gen_1.InternalServerError.toJSON((_q = message.response) === null || _q === void 0 ? void 0 : _q.internalServerError)
8011
7671
  : undefined);
8012
7672
  return obj;
8013
7673
  }
@@ -8030,7 +7690,7 @@ var KickPlayerFromCommunityVoiceChatResponse;
8030
7690
  ((_f = object.response) === null || _f === void 0 ? void 0 : _f.invalidRequest) !== null) {
8031
7691
  message.response = {
8032
7692
  $case: "invalidRequest",
8033
- invalidRequest: InvalidRequest.fromPartial(object.response.invalidRequest),
7693
+ invalidRequest: errors_gen_1.InvalidRequest.fromPartial(object.response.invalidRequest),
8034
7694
  };
8035
7695
  }
8036
7696
  if (((_g = object.response) === null || _g === void 0 ? void 0 : _g.$case) === "forbiddenError" &&
@@ -8038,7 +7698,7 @@ var KickPlayerFromCommunityVoiceChatResponse;
8038
7698
  ((_j = object.response) === null || _j === void 0 ? void 0 : _j.forbiddenError) !== null) {
8039
7699
  message.response = {
8040
7700
  $case: "forbiddenError",
8041
- forbiddenError: ForbiddenError.fromPartial(object.response.forbiddenError),
7701
+ forbiddenError: errors_gen_1.ForbiddenError.fromPartial(object.response.forbiddenError),
8042
7702
  };
8043
7703
  }
8044
7704
  if (((_k = object.response) === null || _k === void 0 ? void 0 : _k.$case) === "notFoundError" &&
@@ -8046,7 +7706,7 @@ var KickPlayerFromCommunityVoiceChatResponse;
8046
7706
  ((_m = object.response) === null || _m === void 0 ? void 0 : _m.notFoundError) !== null) {
8047
7707
  message.response = {
8048
7708
  $case: "notFoundError",
8049
- notFoundError: NotFoundError.fromPartial(object.response.notFoundError),
7709
+ notFoundError: errors_gen_1.NotFoundError.fromPartial(object.response.notFoundError),
8050
7710
  };
8051
7711
  }
8052
7712
  if (((_o = object.response) === null || _o === void 0 ? void 0 : _o.$case) === "internalServerError" &&
@@ -8054,7 +7714,7 @@ var KickPlayerFromCommunityVoiceChatResponse;
8054
7714
  ((_q = object.response) === null || _q === void 0 ? void 0 : _q.internalServerError) !== null) {
8055
7715
  message.response = {
8056
7716
  $case: "internalServerError",
8057
- internalServerError: InternalServerError.fromPartial(object.response.internalServerError),
7717
+ internalServerError: errors_gen_1.InternalServerError.fromPartial(object.response.internalServerError),
8058
7718
  };
8059
7719
  }
8060
7720
  return message;
@@ -8118,7 +7778,17 @@ var KickPlayerFromCommunityVoiceChatResponse_Ok;
8118
7778
  KickPlayerFromCommunityVoiceChatResponse_Ok.fromPartial = fromPartial;
8119
7779
  })(KickPlayerFromCommunityVoiceChatResponse_Ok || (exports.KickPlayerFromCommunityVoiceChatResponse_Ok = KickPlayerFromCommunityVoiceChatResponse_Ok = {}));
8120
7780
  function createBaseCommunityVoiceChatUpdate() {
8121
- return { communityId: "", voiceChatId: "", createdAt: 0, status: 0, endedAt: undefined };
7781
+ return {
7782
+ communityId: "",
7783
+ createdAt: 0,
7784
+ status: 0,
7785
+ endedAt: undefined,
7786
+ positions: [],
7787
+ isMember: false,
7788
+ communityName: "",
7789
+ communityImage: undefined,
7790
+ worlds: [],
7791
+ };
8122
7792
  }
8123
7793
  var CommunityVoiceChatUpdate;
8124
7794
  (function (CommunityVoiceChatUpdate) {
@@ -8126,17 +7796,29 @@ var CommunityVoiceChatUpdate;
8126
7796
  if (message.communityId !== "") {
8127
7797
  writer.uint32(10).string(message.communityId);
8128
7798
  }
8129
- if (message.voiceChatId !== "") {
8130
- writer.uint32(18).string(message.voiceChatId);
8131
- }
8132
7799
  if (message.createdAt !== 0) {
8133
- writer.uint32(24).int64(message.createdAt);
7800
+ writer.uint32(16).int64(message.createdAt);
8134
7801
  }
8135
7802
  if (message.status !== 0) {
8136
- writer.uint32(32).int32(message.status);
7803
+ writer.uint32(24).int32(message.status);
8137
7804
  }
8138
7805
  if (message.endedAt !== undefined) {
8139
- writer.uint32(40).int64(message.endedAt);
7806
+ writer.uint32(32).int64(message.endedAt);
7807
+ }
7808
+ for (const v of message.positions) {
7809
+ writer.uint32(42).string(v);
7810
+ }
7811
+ if (message.isMember === true) {
7812
+ writer.uint32(48).bool(message.isMember);
7813
+ }
7814
+ if (message.communityName !== "") {
7815
+ writer.uint32(58).string(message.communityName);
7816
+ }
7817
+ if (message.communityImage !== undefined) {
7818
+ writer.uint32(66).string(message.communityImage);
7819
+ }
7820
+ for (const v of message.worlds) {
7821
+ writer.uint32(74).string(v);
8140
7822
  }
8141
7823
  return writer;
8142
7824
  }
@@ -8155,28 +7837,52 @@ var CommunityVoiceChatUpdate;
8155
7837
  message.communityId = reader.string();
8156
7838
  continue;
8157
7839
  case 2:
8158
- if (tag !== 18) {
7840
+ if (tag !== 16) {
8159
7841
  break;
8160
7842
  }
8161
- message.voiceChatId = reader.string();
7843
+ message.createdAt = longToNumber(reader.int64());
8162
7844
  continue;
8163
7845
  case 3:
8164
7846
  if (tag !== 24) {
8165
7847
  break;
8166
7848
  }
8167
- message.createdAt = longToNumber(reader.int64());
7849
+ message.status = reader.int32();
8168
7850
  continue;
8169
7851
  case 4:
8170
7852
  if (tag !== 32) {
8171
7853
  break;
8172
7854
  }
8173
- message.status = reader.int32();
7855
+ message.endedAt = longToNumber(reader.int64());
8174
7856
  continue;
8175
7857
  case 5:
8176
- if (tag !== 40) {
7858
+ if (tag !== 42) {
8177
7859
  break;
8178
7860
  }
8179
- message.endedAt = longToNumber(reader.int64());
7861
+ message.positions.push(reader.string());
7862
+ continue;
7863
+ case 6:
7864
+ if (tag !== 48) {
7865
+ break;
7866
+ }
7867
+ message.isMember = reader.bool();
7868
+ continue;
7869
+ case 7:
7870
+ if (tag !== 58) {
7871
+ break;
7872
+ }
7873
+ message.communityName = reader.string();
7874
+ continue;
7875
+ case 8:
7876
+ if (tag !== 66) {
7877
+ break;
7878
+ }
7879
+ message.communityImage = reader.string();
7880
+ continue;
7881
+ case 9:
7882
+ if (tag !== 74) {
7883
+ break;
7884
+ }
7885
+ message.worlds.push(reader.string());
8180
7886
  continue;
8181
7887
  }
8182
7888
  if ((tag & 7) === 4 || tag === 0) {
@@ -8190,20 +7896,38 @@ var CommunityVoiceChatUpdate;
8190
7896
  function fromJSON(object) {
8191
7897
  return {
8192
7898
  communityId: isSet(object.communityId) ? String(object.communityId) : "",
8193
- voiceChatId: isSet(object.voiceChatId) ? String(object.voiceChatId) : "",
8194
7899
  createdAt: isSet(object.createdAt) ? Number(object.createdAt) : 0,
8195
7900
  status: isSet(object.status) ? communityVoiceChatStatusFromJSON(object.status) : 0,
8196
7901
  endedAt: isSet(object.endedAt) ? Number(object.endedAt) : undefined,
7902
+ positions: Array.isArray(object === null || object === void 0 ? void 0 : object.positions) ? object.positions.map((e) => String(e)) : [],
7903
+ isMember: isSet(object.isMember) ? Boolean(object.isMember) : false,
7904
+ communityName: isSet(object.communityName) ? String(object.communityName) : "",
7905
+ communityImage: isSet(object.communityImage) ? String(object.communityImage) : undefined,
7906
+ worlds: Array.isArray(object === null || object === void 0 ? void 0 : object.worlds) ? object.worlds.map((e) => String(e)) : [],
8197
7907
  };
8198
7908
  }
8199
7909
  CommunityVoiceChatUpdate.fromJSON = fromJSON;
8200
7910
  function toJSON(message) {
8201
7911
  const obj = {};
8202
7912
  message.communityId !== undefined && (obj.communityId = message.communityId);
8203
- message.voiceChatId !== undefined && (obj.voiceChatId = message.voiceChatId);
8204
7913
  message.createdAt !== undefined && (obj.createdAt = Math.round(message.createdAt));
8205
7914
  message.status !== undefined && (obj.status = communityVoiceChatStatusToJSON(message.status));
8206
7915
  message.endedAt !== undefined && (obj.endedAt = Math.round(message.endedAt));
7916
+ if (message.positions) {
7917
+ obj.positions = message.positions.map((e) => e);
7918
+ }
7919
+ else {
7920
+ obj.positions = [];
7921
+ }
7922
+ message.isMember !== undefined && (obj.isMember = message.isMember);
7923
+ message.communityName !== undefined && (obj.communityName = message.communityName);
7924
+ message.communityImage !== undefined && (obj.communityImage = message.communityImage);
7925
+ if (message.worlds) {
7926
+ obj.worlds = message.worlds.map((e) => e);
7927
+ }
7928
+ else {
7929
+ obj.worlds = [];
7930
+ }
8207
7931
  return obj;
8208
7932
  }
8209
7933
  CommunityVoiceChatUpdate.toJSON = toJSON;
@@ -8212,13 +7936,17 @@ var CommunityVoiceChatUpdate;
8212
7936
  }
8213
7937
  CommunityVoiceChatUpdate.create = create;
8214
7938
  function fromPartial(object) {
8215
- var _a, _b, _c, _d, _e;
7939
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
8216
7940
  const message = createBaseCommunityVoiceChatUpdate();
8217
7941
  message.communityId = (_a = object.communityId) !== null && _a !== void 0 ? _a : "";
8218
- message.voiceChatId = (_b = object.voiceChatId) !== null && _b !== void 0 ? _b : "";
8219
- message.createdAt = (_c = object.createdAt) !== null && _c !== void 0 ? _c : 0;
8220
- message.status = (_d = object.status) !== null && _d !== void 0 ? _d : 0;
8221
- message.endedAt = (_e = object.endedAt) !== null && _e !== void 0 ? _e : undefined;
7942
+ message.createdAt = (_b = object.createdAt) !== null && _b !== void 0 ? _b : 0;
7943
+ message.status = (_c = object.status) !== null && _c !== void 0 ? _c : 0;
7944
+ message.endedAt = (_d = object.endedAt) !== null && _d !== void 0 ? _d : undefined;
7945
+ message.positions = ((_e = object.positions) === null || _e === void 0 ? void 0 : _e.map((e) => e)) || [];
7946
+ message.isMember = (_f = object.isMember) !== null && _f !== void 0 ? _f : false;
7947
+ message.communityName = (_g = object.communityName) !== null && _g !== void 0 ? _g : "";
7948
+ message.communityImage = (_h = object.communityImage) !== null && _h !== void 0 ? _h : undefined;
7949
+ message.worlds = ((_j = object.worlds) === null || _j === void 0 ? void 0 : _j.map((e) => e)) || [];
8222
7950
  return message;
8223
7951
  }
8224
7952
  CommunityVoiceChatUpdate.fromPartial = fromPartial;