@dcl/protocol 1.0.0-16670787325.commit-554f0f2 → 1.0.0-16751971069.commit-16c6dee
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.d.ts +117 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +609 -1
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js.map +1 -1
- package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +808 -96
- package/package.json +2 -2
- package/proto/decentraland/social_service/v2/social_service_v2.proto +45 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/protocol",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-16751971069.commit-16c6dee",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": "decentraland/protocol.git",
|
|
6
6
|
"homepage": "https://github.com/decentraland/protocol#readme",
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"out-js",
|
|
31
31
|
"public"
|
|
32
32
|
],
|
|
33
|
-
"commit": "
|
|
33
|
+
"commit": "16c6dee28cfd6e6eb5d01c0c5f41986567daa0e9"
|
|
34
34
|
}
|
|
@@ -531,6 +531,45 @@ message KickPlayerFromCommunityVoiceChatResponse {
|
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
533
|
|
|
534
|
+
// Reject speak request in community voice chat
|
|
535
|
+
message RejectSpeakRequestInCommunityVoiceChatPayload {
|
|
536
|
+
string community_id = 1;
|
|
537
|
+
string user_address = 2;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
message RejectSpeakRequestInCommunityVoiceChatResponse {
|
|
541
|
+
message Ok {
|
|
542
|
+
string message = 1;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
oneof response {
|
|
546
|
+
Ok ok = 1;
|
|
547
|
+
InvalidRequest invalid_request = 2;
|
|
548
|
+
ForbiddenError forbidden_error = 3;
|
|
549
|
+
NotFoundError not_found_error = 4;
|
|
550
|
+
InternalServerError internal_server_error = 5;
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
// End community voice chat (moderator/owner only)
|
|
555
|
+
message EndCommunityVoiceChatPayload {
|
|
556
|
+
string community_id = 1;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
message EndCommunityVoiceChatResponse {
|
|
560
|
+
message Ok {
|
|
561
|
+
string message = 1;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
oneof response {
|
|
565
|
+
Ok ok = 1;
|
|
566
|
+
InvalidRequest invalid_request = 2;
|
|
567
|
+
ForbiddenError forbidden_error = 3;
|
|
568
|
+
NotFoundError not_found_error = 4;
|
|
569
|
+
InternalServerError internal_server_error = 5;
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
|
|
534
573
|
enum CommunityVoiceChatStatus {
|
|
535
574
|
COMMUNITY_VOICE_CHAT_STARTED = 0;
|
|
536
575
|
COMMUNITY_VOICE_CHAT_ENDED = 1;
|
|
@@ -636,6 +675,12 @@ service SocialService {
|
|
|
636
675
|
// Kick player from community voice chat (moderator only)
|
|
637
676
|
rpc KickPlayerFromCommunityVoiceChat(KickPlayerFromCommunityVoiceChatPayload) returns (KickPlayerFromCommunityVoiceChatResponse) {}
|
|
638
677
|
|
|
678
|
+
// Reject speak request in community voice chat (moderator only)
|
|
679
|
+
rpc RejectSpeakRequestInCommunityVoiceChat(RejectSpeakRequestInCommunityVoiceChatPayload) returns (RejectSpeakRequestInCommunityVoiceChatResponse) {}
|
|
680
|
+
|
|
681
|
+
// End community voice chat (moderator/owner only)
|
|
682
|
+
rpc EndCommunityVoiceChat(EndCommunityVoiceChatPayload) returns (EndCommunityVoiceChatResponse) {}
|
|
683
|
+
|
|
639
684
|
// Subscribe to community voice chat updates (only 'started' events)
|
|
640
685
|
rpc SubscribeToCommunityVoiceChatUpdates(google.protobuf.Empty) returns (stream CommunityVoiceChatUpdate) {}
|
|
641
686
|
}
|