@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
|
@@ -629,6 +629,57 @@ export interface KickPlayerFromCommunityVoiceChatResponse {
|
|
|
629
629
|
export interface KickPlayerFromCommunityVoiceChatResponse_Ok {
|
|
630
630
|
message: string;
|
|
631
631
|
}
|
|
632
|
+
/** Reject speak request in community voice chat */
|
|
633
|
+
export interface RejectSpeakRequestInCommunityVoiceChatPayload {
|
|
634
|
+
communityId: string;
|
|
635
|
+
userAddress: string;
|
|
636
|
+
}
|
|
637
|
+
export interface RejectSpeakRequestInCommunityVoiceChatResponse {
|
|
638
|
+
response?: {
|
|
639
|
+
$case: "ok";
|
|
640
|
+
ok: RejectSpeakRequestInCommunityVoiceChatResponse_Ok;
|
|
641
|
+
} | {
|
|
642
|
+
$case: "invalidRequest";
|
|
643
|
+
invalidRequest: InvalidRequest;
|
|
644
|
+
} | {
|
|
645
|
+
$case: "forbiddenError";
|
|
646
|
+
forbiddenError: ForbiddenError;
|
|
647
|
+
} | {
|
|
648
|
+
$case: "notFoundError";
|
|
649
|
+
notFoundError: NotFoundError;
|
|
650
|
+
} | {
|
|
651
|
+
$case: "internalServerError";
|
|
652
|
+
internalServerError: InternalServerError;
|
|
653
|
+
} | undefined;
|
|
654
|
+
}
|
|
655
|
+
export interface RejectSpeakRequestInCommunityVoiceChatResponse_Ok {
|
|
656
|
+
message: string;
|
|
657
|
+
}
|
|
658
|
+
/** End community voice chat (moderator/owner only) */
|
|
659
|
+
export interface EndCommunityVoiceChatPayload {
|
|
660
|
+
communityId: string;
|
|
661
|
+
}
|
|
662
|
+
export interface EndCommunityVoiceChatResponse {
|
|
663
|
+
response?: {
|
|
664
|
+
$case: "ok";
|
|
665
|
+
ok: EndCommunityVoiceChatResponse_Ok;
|
|
666
|
+
} | {
|
|
667
|
+
$case: "invalidRequest";
|
|
668
|
+
invalidRequest: InvalidRequest;
|
|
669
|
+
} | {
|
|
670
|
+
$case: "forbiddenError";
|
|
671
|
+
forbiddenError: ForbiddenError;
|
|
672
|
+
} | {
|
|
673
|
+
$case: "notFoundError";
|
|
674
|
+
notFoundError: NotFoundError;
|
|
675
|
+
} | {
|
|
676
|
+
$case: "internalServerError";
|
|
677
|
+
internalServerError: InternalServerError;
|
|
678
|
+
} | undefined;
|
|
679
|
+
}
|
|
680
|
+
export interface EndCommunityVoiceChatResponse_Ok {
|
|
681
|
+
message: string;
|
|
682
|
+
}
|
|
632
683
|
/** Community voice chat updates/events - 'started' and 'ended' status */
|
|
633
684
|
export interface CommunityVoiceChatUpdate {
|
|
634
685
|
communityId: string;
|
|
@@ -1336,6 +1387,54 @@ export declare namespace KickPlayerFromCommunityVoiceChatResponse_Ok {
|
|
|
1336
1387
|
function create<I extends Exact<DeepPartial<KickPlayerFromCommunityVoiceChatResponse_Ok>, I>>(base?: I): KickPlayerFromCommunityVoiceChatResponse_Ok;
|
|
1337
1388
|
function fromPartial<I extends Exact<DeepPartial<KickPlayerFromCommunityVoiceChatResponse_Ok>, I>>(object: I): KickPlayerFromCommunityVoiceChatResponse_Ok;
|
|
1338
1389
|
}
|
|
1390
|
+
export declare namespace RejectSpeakRequestInCommunityVoiceChatPayload {
|
|
1391
|
+
function encode(message: RejectSpeakRequestInCommunityVoiceChatPayload, writer?: _m0.Writer): _m0.Writer;
|
|
1392
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): RejectSpeakRequestInCommunityVoiceChatPayload;
|
|
1393
|
+
function fromJSON(object: any): RejectSpeakRequestInCommunityVoiceChatPayload;
|
|
1394
|
+
function toJSON(message: RejectSpeakRequestInCommunityVoiceChatPayload): unknown;
|
|
1395
|
+
function create<I extends Exact<DeepPartial<RejectSpeakRequestInCommunityVoiceChatPayload>, I>>(base?: I): RejectSpeakRequestInCommunityVoiceChatPayload;
|
|
1396
|
+
function fromPartial<I extends Exact<DeepPartial<RejectSpeakRequestInCommunityVoiceChatPayload>, I>>(object: I): RejectSpeakRequestInCommunityVoiceChatPayload;
|
|
1397
|
+
}
|
|
1398
|
+
export declare namespace RejectSpeakRequestInCommunityVoiceChatResponse {
|
|
1399
|
+
function encode(message: RejectSpeakRequestInCommunityVoiceChatResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1400
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): RejectSpeakRequestInCommunityVoiceChatResponse;
|
|
1401
|
+
function fromJSON(object: any): RejectSpeakRequestInCommunityVoiceChatResponse;
|
|
1402
|
+
function toJSON(message: RejectSpeakRequestInCommunityVoiceChatResponse): unknown;
|
|
1403
|
+
function create<I extends Exact<DeepPartial<RejectSpeakRequestInCommunityVoiceChatResponse>, I>>(base?: I): RejectSpeakRequestInCommunityVoiceChatResponse;
|
|
1404
|
+
function fromPartial<I extends Exact<DeepPartial<RejectSpeakRequestInCommunityVoiceChatResponse>, I>>(object: I): RejectSpeakRequestInCommunityVoiceChatResponse;
|
|
1405
|
+
}
|
|
1406
|
+
export declare namespace RejectSpeakRequestInCommunityVoiceChatResponse_Ok {
|
|
1407
|
+
function encode(message: RejectSpeakRequestInCommunityVoiceChatResponse_Ok, writer?: _m0.Writer): _m0.Writer;
|
|
1408
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): RejectSpeakRequestInCommunityVoiceChatResponse_Ok;
|
|
1409
|
+
function fromJSON(object: any): RejectSpeakRequestInCommunityVoiceChatResponse_Ok;
|
|
1410
|
+
function toJSON(message: RejectSpeakRequestInCommunityVoiceChatResponse_Ok): unknown;
|
|
1411
|
+
function create<I extends Exact<DeepPartial<RejectSpeakRequestInCommunityVoiceChatResponse_Ok>, I>>(base?: I): RejectSpeakRequestInCommunityVoiceChatResponse_Ok;
|
|
1412
|
+
function fromPartial<I extends Exact<DeepPartial<RejectSpeakRequestInCommunityVoiceChatResponse_Ok>, I>>(object: I): RejectSpeakRequestInCommunityVoiceChatResponse_Ok;
|
|
1413
|
+
}
|
|
1414
|
+
export declare namespace EndCommunityVoiceChatPayload {
|
|
1415
|
+
function encode(message: EndCommunityVoiceChatPayload, writer?: _m0.Writer): _m0.Writer;
|
|
1416
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): EndCommunityVoiceChatPayload;
|
|
1417
|
+
function fromJSON(object: any): EndCommunityVoiceChatPayload;
|
|
1418
|
+
function toJSON(message: EndCommunityVoiceChatPayload): unknown;
|
|
1419
|
+
function create<I extends Exact<DeepPartial<EndCommunityVoiceChatPayload>, I>>(base?: I): EndCommunityVoiceChatPayload;
|
|
1420
|
+
function fromPartial<I extends Exact<DeepPartial<EndCommunityVoiceChatPayload>, I>>(object: I): EndCommunityVoiceChatPayload;
|
|
1421
|
+
}
|
|
1422
|
+
export declare namespace EndCommunityVoiceChatResponse {
|
|
1423
|
+
function encode(message: EndCommunityVoiceChatResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1424
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): EndCommunityVoiceChatResponse;
|
|
1425
|
+
function fromJSON(object: any): EndCommunityVoiceChatResponse;
|
|
1426
|
+
function toJSON(message: EndCommunityVoiceChatResponse): unknown;
|
|
1427
|
+
function create<I extends Exact<DeepPartial<EndCommunityVoiceChatResponse>, I>>(base?: I): EndCommunityVoiceChatResponse;
|
|
1428
|
+
function fromPartial<I extends Exact<DeepPartial<EndCommunityVoiceChatResponse>, I>>(object: I): EndCommunityVoiceChatResponse;
|
|
1429
|
+
}
|
|
1430
|
+
export declare namespace EndCommunityVoiceChatResponse_Ok {
|
|
1431
|
+
function encode(message: EndCommunityVoiceChatResponse_Ok, writer?: _m0.Writer): _m0.Writer;
|
|
1432
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): EndCommunityVoiceChatResponse_Ok;
|
|
1433
|
+
function fromJSON(object: any): EndCommunityVoiceChatResponse_Ok;
|
|
1434
|
+
function toJSON(message: EndCommunityVoiceChatResponse_Ok): unknown;
|
|
1435
|
+
function create<I extends Exact<DeepPartial<EndCommunityVoiceChatResponse_Ok>, I>>(base?: I): EndCommunityVoiceChatResponse_Ok;
|
|
1436
|
+
function fromPartial<I extends Exact<DeepPartial<EndCommunityVoiceChatResponse_Ok>, I>>(object: I): EndCommunityVoiceChatResponse_Ok;
|
|
1437
|
+
}
|
|
1339
1438
|
export declare namespace CommunityVoiceChatUpdate {
|
|
1340
1439
|
function encode(message: CommunityVoiceChatUpdate, writer?: _m0.Writer): _m0.Writer;
|
|
1341
1440
|
function decode(input: _m0.Reader | Uint8Array, length?: number): CommunityVoiceChatUpdate;
|
|
@@ -1605,6 +1704,24 @@ export declare const SocialServiceDefinition: {
|
|
|
1605
1704
|
readonly responseStream: false;
|
|
1606
1705
|
readonly options: {};
|
|
1607
1706
|
};
|
|
1707
|
+
/** Reject speak request in community voice chat (moderator only) */
|
|
1708
|
+
readonly rejectSpeakRequestInCommunityVoiceChat: {
|
|
1709
|
+
readonly name: "RejectSpeakRequestInCommunityVoiceChat";
|
|
1710
|
+
readonly requestType: typeof RejectSpeakRequestInCommunityVoiceChatPayload;
|
|
1711
|
+
readonly requestStream: false;
|
|
1712
|
+
readonly responseType: typeof RejectSpeakRequestInCommunityVoiceChatResponse;
|
|
1713
|
+
readonly responseStream: false;
|
|
1714
|
+
readonly options: {};
|
|
1715
|
+
};
|
|
1716
|
+
/** End community voice chat (moderator/owner only) */
|
|
1717
|
+
readonly endCommunityVoiceChat: {
|
|
1718
|
+
readonly name: "EndCommunityVoiceChat";
|
|
1719
|
+
readonly requestType: typeof EndCommunityVoiceChatPayload;
|
|
1720
|
+
readonly requestStream: false;
|
|
1721
|
+
readonly responseType: typeof EndCommunityVoiceChatResponse;
|
|
1722
|
+
readonly responseStream: false;
|
|
1723
|
+
readonly options: {};
|
|
1724
|
+
};
|
|
1608
1725
|
/** Subscribe to community voice chat updates (only 'started' events) */
|
|
1609
1726
|
readonly subscribeToCommunityVoiceChatUpdates: {
|
|
1610
1727
|
readonly name: "SubscribeToCommunityVoiceChatUpdates";
|