@dcl/protocol 1.0.0-16564528964.commit-5630df7 → 1.0.0-16564746732.commit-501dda6
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 +402 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +2286 -205
- 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 +2585 -157
- package/package.json +2 -2
- package/proto/decentraland/social_service/v2/social_service_v2.proto +160 -0
|
@@ -47,6 +47,13 @@ export declare enum PrivateVoiceChatStatus {
|
|
|
47
47
|
}
|
|
48
48
|
export declare function privateVoiceChatStatusFromJSON(object: any): PrivateVoiceChatStatus;
|
|
49
49
|
export declare function privateVoiceChatStatusToJSON(object: PrivateVoiceChatStatus): string;
|
|
50
|
+
export declare enum CommunityVoiceChatStatus {
|
|
51
|
+
COMMUNITY_VOICE_CHAT_STARTED = 0,
|
|
52
|
+
COMMUNITY_VOICE_CHAT_ENDED = 1,
|
|
53
|
+
UNRECOGNIZED = -1
|
|
54
|
+
}
|
|
55
|
+
export declare function communityVoiceChatStatusFromJSON(object: any): CommunityVoiceChatStatus;
|
|
56
|
+
export declare function communityVoiceChatStatusToJSON(object: CommunityVoiceChatStatus): string;
|
|
50
57
|
/** Errors */
|
|
51
58
|
export interface InvalidFriendshipAction {
|
|
52
59
|
message?: string | undefined;
|
|
@@ -475,6 +482,178 @@ export interface GetIncomingPrivateVoiceChatRequestResponse_Ok {
|
|
|
475
482
|
caller: User | undefined;
|
|
476
483
|
callId: string;
|
|
477
484
|
}
|
|
485
|
+
/** Community voice chat credentials - specific type for community chats */
|
|
486
|
+
export interface CommunityVoiceChatCredentials {
|
|
487
|
+
connectionUrl: string;
|
|
488
|
+
}
|
|
489
|
+
/** Starting a community voice chat */
|
|
490
|
+
export interface StartCommunityVoiceChatPayload {
|
|
491
|
+
communityId: string;
|
|
492
|
+
}
|
|
493
|
+
export interface StartCommunityVoiceChatResponse {
|
|
494
|
+
response?: {
|
|
495
|
+
$case: "ok";
|
|
496
|
+
ok: StartCommunityVoiceChatResponse_Ok;
|
|
497
|
+
} | {
|
|
498
|
+
$case: "invalidRequest";
|
|
499
|
+
invalidRequest: InvalidRequest;
|
|
500
|
+
} | {
|
|
501
|
+
$case: "forbiddenError";
|
|
502
|
+
forbiddenError: ForbiddenError;
|
|
503
|
+
} | {
|
|
504
|
+
$case: "conflictingError";
|
|
505
|
+
conflictingError: ConflictingError;
|
|
506
|
+
} | {
|
|
507
|
+
$case: "internalServerError";
|
|
508
|
+
internalServerError: InternalServerError;
|
|
509
|
+
} | undefined;
|
|
510
|
+
}
|
|
511
|
+
export interface StartCommunityVoiceChatResponse_Ok {
|
|
512
|
+
/** Moderator gets credentials immediately */
|
|
513
|
+
credentials: CommunityVoiceChatCredentials | undefined;
|
|
514
|
+
}
|
|
515
|
+
/** Joining a community voice chat */
|
|
516
|
+
export interface JoinCommunityVoiceChatPayload {
|
|
517
|
+
communityId: string;
|
|
518
|
+
}
|
|
519
|
+
export interface JoinCommunityVoiceChatResponse {
|
|
520
|
+
response?: {
|
|
521
|
+
$case: "ok";
|
|
522
|
+
ok: JoinCommunityVoiceChatResponse_Ok;
|
|
523
|
+
} | {
|
|
524
|
+
$case: "invalidRequest";
|
|
525
|
+
invalidRequest: InvalidRequest;
|
|
526
|
+
} | {
|
|
527
|
+
$case: "forbiddenError";
|
|
528
|
+
forbiddenError: ForbiddenError;
|
|
529
|
+
} | {
|
|
530
|
+
$case: "notFoundError";
|
|
531
|
+
notFoundError: NotFoundError;
|
|
532
|
+
} | {
|
|
533
|
+
$case: "conflictingError";
|
|
534
|
+
conflictingError: ConflictingError;
|
|
535
|
+
} | {
|
|
536
|
+
$case: "internalServerError";
|
|
537
|
+
internalServerError: InternalServerError;
|
|
538
|
+
} | undefined;
|
|
539
|
+
}
|
|
540
|
+
export interface JoinCommunityVoiceChatResponse_Ok {
|
|
541
|
+
voiceChatId: string;
|
|
542
|
+
credentials: CommunityVoiceChatCredentials | undefined;
|
|
543
|
+
}
|
|
544
|
+
/** Request to speak in community voice chat */
|
|
545
|
+
export interface RequestToSpeakInCommunityVoiceChatPayload {
|
|
546
|
+
communityId: string;
|
|
547
|
+
}
|
|
548
|
+
export interface RequestToSpeakInCommunityVoiceChatResponse {
|
|
549
|
+
response?: {
|
|
550
|
+
$case: "ok";
|
|
551
|
+
ok: RequestToSpeakInCommunityVoiceChatResponse_Ok;
|
|
552
|
+
} | {
|
|
553
|
+
$case: "invalidRequest";
|
|
554
|
+
invalidRequest: InvalidRequest;
|
|
555
|
+
} | {
|
|
556
|
+
$case: "forbiddenError";
|
|
557
|
+
forbiddenError: ForbiddenError;
|
|
558
|
+
} | {
|
|
559
|
+
$case: "notFoundError";
|
|
560
|
+
notFoundError: NotFoundError;
|
|
561
|
+
} | {
|
|
562
|
+
$case: "internalServerError";
|
|
563
|
+
internalServerError: InternalServerError;
|
|
564
|
+
} | undefined;
|
|
565
|
+
}
|
|
566
|
+
export interface RequestToSpeakInCommunityVoiceChatResponse_Ok {
|
|
567
|
+
message: string;
|
|
568
|
+
}
|
|
569
|
+
/** Promote speaker in community voice chat */
|
|
570
|
+
export interface PromoteSpeakerInCommunityVoiceChatPayload {
|
|
571
|
+
communityId: string;
|
|
572
|
+
userAddress: string;
|
|
573
|
+
}
|
|
574
|
+
export interface PromoteSpeakerInCommunityVoiceChatResponse {
|
|
575
|
+
response?: {
|
|
576
|
+
$case: "ok";
|
|
577
|
+
ok: PromoteSpeakerInCommunityVoiceChatResponse_Ok;
|
|
578
|
+
} | {
|
|
579
|
+
$case: "invalidRequest";
|
|
580
|
+
invalidRequest: InvalidRequest;
|
|
581
|
+
} | {
|
|
582
|
+
$case: "forbiddenError";
|
|
583
|
+
forbiddenError: ForbiddenError;
|
|
584
|
+
} | {
|
|
585
|
+
$case: "notFoundError";
|
|
586
|
+
notFoundError: NotFoundError;
|
|
587
|
+
} | {
|
|
588
|
+
$case: "internalServerError";
|
|
589
|
+
internalServerError: InternalServerError;
|
|
590
|
+
} | undefined;
|
|
591
|
+
}
|
|
592
|
+
export interface PromoteSpeakerInCommunityVoiceChatResponse_Ok {
|
|
593
|
+
message: string;
|
|
594
|
+
}
|
|
595
|
+
/** Demote speaker in community voice chat */
|
|
596
|
+
export interface DemoteSpeakerInCommunityVoiceChatPayload {
|
|
597
|
+
communityId: string;
|
|
598
|
+
userAddress: string;
|
|
599
|
+
}
|
|
600
|
+
export interface DemoteSpeakerInCommunityVoiceChatResponse {
|
|
601
|
+
response?: {
|
|
602
|
+
$case: "ok";
|
|
603
|
+
ok: DemoteSpeakerInCommunityVoiceChatResponse_Ok;
|
|
604
|
+
} | {
|
|
605
|
+
$case: "invalidRequest";
|
|
606
|
+
invalidRequest: InvalidRequest;
|
|
607
|
+
} | {
|
|
608
|
+
$case: "forbiddenError";
|
|
609
|
+
forbiddenError: ForbiddenError;
|
|
610
|
+
} | {
|
|
611
|
+
$case: "notFoundError";
|
|
612
|
+
notFoundError: NotFoundError;
|
|
613
|
+
} | {
|
|
614
|
+
$case: "internalServerError";
|
|
615
|
+
internalServerError: InternalServerError;
|
|
616
|
+
} | undefined;
|
|
617
|
+
}
|
|
618
|
+
export interface DemoteSpeakerInCommunityVoiceChatResponse_Ok {
|
|
619
|
+
message: string;
|
|
620
|
+
}
|
|
621
|
+
/** Kick player from community voice chat */
|
|
622
|
+
export interface KickPlayerFromCommunityVoiceChatPayload {
|
|
623
|
+
communityId: string;
|
|
624
|
+
userAddress: string;
|
|
625
|
+
}
|
|
626
|
+
export interface KickPlayerFromCommunityVoiceChatResponse {
|
|
627
|
+
response?: {
|
|
628
|
+
$case: "ok";
|
|
629
|
+
ok: KickPlayerFromCommunityVoiceChatResponse_Ok;
|
|
630
|
+
} | {
|
|
631
|
+
$case: "invalidRequest";
|
|
632
|
+
invalidRequest: InvalidRequest;
|
|
633
|
+
} | {
|
|
634
|
+
$case: "forbiddenError";
|
|
635
|
+
forbiddenError: ForbiddenError;
|
|
636
|
+
} | {
|
|
637
|
+
$case: "notFoundError";
|
|
638
|
+
notFoundError: NotFoundError;
|
|
639
|
+
} | {
|
|
640
|
+
$case: "internalServerError";
|
|
641
|
+
internalServerError: InternalServerError;
|
|
642
|
+
} | undefined;
|
|
643
|
+
}
|
|
644
|
+
export interface KickPlayerFromCommunityVoiceChatResponse_Ok {
|
|
645
|
+
message: string;
|
|
646
|
+
}
|
|
647
|
+
/** Community voice chat updates/events - 'started' and 'ended' status */
|
|
648
|
+
export interface CommunityVoiceChatUpdate {
|
|
649
|
+
communityId: string;
|
|
650
|
+
voiceChatId: string;
|
|
651
|
+
createdAt: number;
|
|
652
|
+
/** 'started' or 'ended' */
|
|
653
|
+
status: CommunityVoiceChatStatus;
|
|
654
|
+
/** Only present when status is 'ended' */
|
|
655
|
+
endedAt?: number | undefined;
|
|
656
|
+
}
|
|
478
657
|
export declare namespace InvalidFriendshipAction {
|
|
479
658
|
function encode(message: InvalidFriendshipAction, writer?: _m0.Writer): _m0.Writer;
|
|
480
659
|
function decode(input: _m0.Reader | Uint8Array, length?: number): InvalidFriendshipAction;
|
|
@@ -1067,6 +1246,166 @@ export declare namespace GetIncomingPrivateVoiceChatRequestResponse_Ok {
|
|
|
1067
1246
|
function create<I extends Exact<DeepPartial<GetIncomingPrivateVoiceChatRequestResponse_Ok>, I>>(base?: I): GetIncomingPrivateVoiceChatRequestResponse_Ok;
|
|
1068
1247
|
function fromPartial<I extends Exact<DeepPartial<GetIncomingPrivateVoiceChatRequestResponse_Ok>, I>>(object: I): GetIncomingPrivateVoiceChatRequestResponse_Ok;
|
|
1069
1248
|
}
|
|
1249
|
+
export declare namespace CommunityVoiceChatCredentials {
|
|
1250
|
+
function encode(message: CommunityVoiceChatCredentials, writer?: _m0.Writer): _m0.Writer;
|
|
1251
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): CommunityVoiceChatCredentials;
|
|
1252
|
+
function fromJSON(object: any): CommunityVoiceChatCredentials;
|
|
1253
|
+
function toJSON(message: CommunityVoiceChatCredentials): unknown;
|
|
1254
|
+
function create<I extends Exact<DeepPartial<CommunityVoiceChatCredentials>, I>>(base?: I): CommunityVoiceChatCredentials;
|
|
1255
|
+
function fromPartial<I extends Exact<DeepPartial<CommunityVoiceChatCredentials>, I>>(object: I): CommunityVoiceChatCredentials;
|
|
1256
|
+
}
|
|
1257
|
+
export declare namespace StartCommunityVoiceChatPayload {
|
|
1258
|
+
function encode(message: StartCommunityVoiceChatPayload, writer?: _m0.Writer): _m0.Writer;
|
|
1259
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): StartCommunityVoiceChatPayload;
|
|
1260
|
+
function fromJSON(object: any): StartCommunityVoiceChatPayload;
|
|
1261
|
+
function toJSON(message: StartCommunityVoiceChatPayload): unknown;
|
|
1262
|
+
function create<I extends Exact<DeepPartial<StartCommunityVoiceChatPayload>, I>>(base?: I): StartCommunityVoiceChatPayload;
|
|
1263
|
+
function fromPartial<I extends Exact<DeepPartial<StartCommunityVoiceChatPayload>, I>>(object: I): StartCommunityVoiceChatPayload;
|
|
1264
|
+
}
|
|
1265
|
+
export declare namespace StartCommunityVoiceChatResponse {
|
|
1266
|
+
function encode(message: StartCommunityVoiceChatResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1267
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): StartCommunityVoiceChatResponse;
|
|
1268
|
+
function fromJSON(object: any): StartCommunityVoiceChatResponse;
|
|
1269
|
+
function toJSON(message: StartCommunityVoiceChatResponse): unknown;
|
|
1270
|
+
function create<I extends Exact<DeepPartial<StartCommunityVoiceChatResponse>, I>>(base?: I): StartCommunityVoiceChatResponse;
|
|
1271
|
+
function fromPartial<I extends Exact<DeepPartial<StartCommunityVoiceChatResponse>, I>>(object: I): StartCommunityVoiceChatResponse;
|
|
1272
|
+
}
|
|
1273
|
+
export declare namespace StartCommunityVoiceChatResponse_Ok {
|
|
1274
|
+
function encode(message: StartCommunityVoiceChatResponse_Ok, writer?: _m0.Writer): _m0.Writer;
|
|
1275
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): StartCommunityVoiceChatResponse_Ok;
|
|
1276
|
+
function fromJSON(object: any): StartCommunityVoiceChatResponse_Ok;
|
|
1277
|
+
function toJSON(message: StartCommunityVoiceChatResponse_Ok): unknown;
|
|
1278
|
+
function create<I extends Exact<DeepPartial<StartCommunityVoiceChatResponse_Ok>, I>>(base?: I): StartCommunityVoiceChatResponse_Ok;
|
|
1279
|
+
function fromPartial<I extends Exact<DeepPartial<StartCommunityVoiceChatResponse_Ok>, I>>(object: I): StartCommunityVoiceChatResponse_Ok;
|
|
1280
|
+
}
|
|
1281
|
+
export declare namespace JoinCommunityVoiceChatPayload {
|
|
1282
|
+
function encode(message: JoinCommunityVoiceChatPayload, writer?: _m0.Writer): _m0.Writer;
|
|
1283
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): JoinCommunityVoiceChatPayload;
|
|
1284
|
+
function fromJSON(object: any): JoinCommunityVoiceChatPayload;
|
|
1285
|
+
function toJSON(message: JoinCommunityVoiceChatPayload): unknown;
|
|
1286
|
+
function create<I extends Exact<DeepPartial<JoinCommunityVoiceChatPayload>, I>>(base?: I): JoinCommunityVoiceChatPayload;
|
|
1287
|
+
function fromPartial<I extends Exact<DeepPartial<JoinCommunityVoiceChatPayload>, I>>(object: I): JoinCommunityVoiceChatPayload;
|
|
1288
|
+
}
|
|
1289
|
+
export declare namespace JoinCommunityVoiceChatResponse {
|
|
1290
|
+
function encode(message: JoinCommunityVoiceChatResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1291
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): JoinCommunityVoiceChatResponse;
|
|
1292
|
+
function fromJSON(object: any): JoinCommunityVoiceChatResponse;
|
|
1293
|
+
function toJSON(message: JoinCommunityVoiceChatResponse): unknown;
|
|
1294
|
+
function create<I extends Exact<DeepPartial<JoinCommunityVoiceChatResponse>, I>>(base?: I): JoinCommunityVoiceChatResponse;
|
|
1295
|
+
function fromPartial<I extends Exact<DeepPartial<JoinCommunityVoiceChatResponse>, I>>(object: I): JoinCommunityVoiceChatResponse;
|
|
1296
|
+
}
|
|
1297
|
+
export declare namespace JoinCommunityVoiceChatResponse_Ok {
|
|
1298
|
+
function encode(message: JoinCommunityVoiceChatResponse_Ok, writer?: _m0.Writer): _m0.Writer;
|
|
1299
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): JoinCommunityVoiceChatResponse_Ok;
|
|
1300
|
+
function fromJSON(object: any): JoinCommunityVoiceChatResponse_Ok;
|
|
1301
|
+
function toJSON(message: JoinCommunityVoiceChatResponse_Ok): unknown;
|
|
1302
|
+
function create<I extends Exact<DeepPartial<JoinCommunityVoiceChatResponse_Ok>, I>>(base?: I): JoinCommunityVoiceChatResponse_Ok;
|
|
1303
|
+
function fromPartial<I extends Exact<DeepPartial<JoinCommunityVoiceChatResponse_Ok>, I>>(object: I): JoinCommunityVoiceChatResponse_Ok;
|
|
1304
|
+
}
|
|
1305
|
+
export declare namespace RequestToSpeakInCommunityVoiceChatPayload {
|
|
1306
|
+
function encode(message: RequestToSpeakInCommunityVoiceChatPayload, writer?: _m0.Writer): _m0.Writer;
|
|
1307
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): RequestToSpeakInCommunityVoiceChatPayload;
|
|
1308
|
+
function fromJSON(object: any): RequestToSpeakInCommunityVoiceChatPayload;
|
|
1309
|
+
function toJSON(message: RequestToSpeakInCommunityVoiceChatPayload): unknown;
|
|
1310
|
+
function create<I extends Exact<DeepPartial<RequestToSpeakInCommunityVoiceChatPayload>, I>>(base?: I): RequestToSpeakInCommunityVoiceChatPayload;
|
|
1311
|
+
function fromPartial<I extends Exact<DeepPartial<RequestToSpeakInCommunityVoiceChatPayload>, I>>(object: I): RequestToSpeakInCommunityVoiceChatPayload;
|
|
1312
|
+
}
|
|
1313
|
+
export declare namespace RequestToSpeakInCommunityVoiceChatResponse {
|
|
1314
|
+
function encode(message: RequestToSpeakInCommunityVoiceChatResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1315
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): RequestToSpeakInCommunityVoiceChatResponse;
|
|
1316
|
+
function fromJSON(object: any): RequestToSpeakInCommunityVoiceChatResponse;
|
|
1317
|
+
function toJSON(message: RequestToSpeakInCommunityVoiceChatResponse): unknown;
|
|
1318
|
+
function create<I extends Exact<DeepPartial<RequestToSpeakInCommunityVoiceChatResponse>, I>>(base?: I): RequestToSpeakInCommunityVoiceChatResponse;
|
|
1319
|
+
function fromPartial<I extends Exact<DeepPartial<RequestToSpeakInCommunityVoiceChatResponse>, I>>(object: I): RequestToSpeakInCommunityVoiceChatResponse;
|
|
1320
|
+
}
|
|
1321
|
+
export declare namespace RequestToSpeakInCommunityVoiceChatResponse_Ok {
|
|
1322
|
+
function encode(message: RequestToSpeakInCommunityVoiceChatResponse_Ok, writer?: _m0.Writer): _m0.Writer;
|
|
1323
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): RequestToSpeakInCommunityVoiceChatResponse_Ok;
|
|
1324
|
+
function fromJSON(object: any): RequestToSpeakInCommunityVoiceChatResponse_Ok;
|
|
1325
|
+
function toJSON(message: RequestToSpeakInCommunityVoiceChatResponse_Ok): unknown;
|
|
1326
|
+
function create<I extends Exact<DeepPartial<RequestToSpeakInCommunityVoiceChatResponse_Ok>, I>>(base?: I): RequestToSpeakInCommunityVoiceChatResponse_Ok;
|
|
1327
|
+
function fromPartial<I extends Exact<DeepPartial<RequestToSpeakInCommunityVoiceChatResponse_Ok>, I>>(object: I): RequestToSpeakInCommunityVoiceChatResponse_Ok;
|
|
1328
|
+
}
|
|
1329
|
+
export declare namespace PromoteSpeakerInCommunityVoiceChatPayload {
|
|
1330
|
+
function encode(message: PromoteSpeakerInCommunityVoiceChatPayload, writer?: _m0.Writer): _m0.Writer;
|
|
1331
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PromoteSpeakerInCommunityVoiceChatPayload;
|
|
1332
|
+
function fromJSON(object: any): PromoteSpeakerInCommunityVoiceChatPayload;
|
|
1333
|
+
function toJSON(message: PromoteSpeakerInCommunityVoiceChatPayload): unknown;
|
|
1334
|
+
function create<I extends Exact<DeepPartial<PromoteSpeakerInCommunityVoiceChatPayload>, I>>(base?: I): PromoteSpeakerInCommunityVoiceChatPayload;
|
|
1335
|
+
function fromPartial<I extends Exact<DeepPartial<PromoteSpeakerInCommunityVoiceChatPayload>, I>>(object: I): PromoteSpeakerInCommunityVoiceChatPayload;
|
|
1336
|
+
}
|
|
1337
|
+
export declare namespace PromoteSpeakerInCommunityVoiceChatResponse {
|
|
1338
|
+
function encode(message: PromoteSpeakerInCommunityVoiceChatResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1339
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PromoteSpeakerInCommunityVoiceChatResponse;
|
|
1340
|
+
function fromJSON(object: any): PromoteSpeakerInCommunityVoiceChatResponse;
|
|
1341
|
+
function toJSON(message: PromoteSpeakerInCommunityVoiceChatResponse): unknown;
|
|
1342
|
+
function create<I extends Exact<DeepPartial<PromoteSpeakerInCommunityVoiceChatResponse>, I>>(base?: I): PromoteSpeakerInCommunityVoiceChatResponse;
|
|
1343
|
+
function fromPartial<I extends Exact<DeepPartial<PromoteSpeakerInCommunityVoiceChatResponse>, I>>(object: I): PromoteSpeakerInCommunityVoiceChatResponse;
|
|
1344
|
+
}
|
|
1345
|
+
export declare namespace PromoteSpeakerInCommunityVoiceChatResponse_Ok {
|
|
1346
|
+
function encode(message: PromoteSpeakerInCommunityVoiceChatResponse_Ok, writer?: _m0.Writer): _m0.Writer;
|
|
1347
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PromoteSpeakerInCommunityVoiceChatResponse_Ok;
|
|
1348
|
+
function fromJSON(object: any): PromoteSpeakerInCommunityVoiceChatResponse_Ok;
|
|
1349
|
+
function toJSON(message: PromoteSpeakerInCommunityVoiceChatResponse_Ok): unknown;
|
|
1350
|
+
function create<I extends Exact<DeepPartial<PromoteSpeakerInCommunityVoiceChatResponse_Ok>, I>>(base?: I): PromoteSpeakerInCommunityVoiceChatResponse_Ok;
|
|
1351
|
+
function fromPartial<I extends Exact<DeepPartial<PromoteSpeakerInCommunityVoiceChatResponse_Ok>, I>>(object: I): PromoteSpeakerInCommunityVoiceChatResponse_Ok;
|
|
1352
|
+
}
|
|
1353
|
+
export declare namespace DemoteSpeakerInCommunityVoiceChatPayload {
|
|
1354
|
+
function encode(message: DemoteSpeakerInCommunityVoiceChatPayload, writer?: _m0.Writer): _m0.Writer;
|
|
1355
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): DemoteSpeakerInCommunityVoiceChatPayload;
|
|
1356
|
+
function fromJSON(object: any): DemoteSpeakerInCommunityVoiceChatPayload;
|
|
1357
|
+
function toJSON(message: DemoteSpeakerInCommunityVoiceChatPayload): unknown;
|
|
1358
|
+
function create<I extends Exact<DeepPartial<DemoteSpeakerInCommunityVoiceChatPayload>, I>>(base?: I): DemoteSpeakerInCommunityVoiceChatPayload;
|
|
1359
|
+
function fromPartial<I extends Exact<DeepPartial<DemoteSpeakerInCommunityVoiceChatPayload>, I>>(object: I): DemoteSpeakerInCommunityVoiceChatPayload;
|
|
1360
|
+
}
|
|
1361
|
+
export declare namespace DemoteSpeakerInCommunityVoiceChatResponse {
|
|
1362
|
+
function encode(message: DemoteSpeakerInCommunityVoiceChatResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1363
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): DemoteSpeakerInCommunityVoiceChatResponse;
|
|
1364
|
+
function fromJSON(object: any): DemoteSpeakerInCommunityVoiceChatResponse;
|
|
1365
|
+
function toJSON(message: DemoteSpeakerInCommunityVoiceChatResponse): unknown;
|
|
1366
|
+
function create<I extends Exact<DeepPartial<DemoteSpeakerInCommunityVoiceChatResponse>, I>>(base?: I): DemoteSpeakerInCommunityVoiceChatResponse;
|
|
1367
|
+
function fromPartial<I extends Exact<DeepPartial<DemoteSpeakerInCommunityVoiceChatResponse>, I>>(object: I): DemoteSpeakerInCommunityVoiceChatResponse;
|
|
1368
|
+
}
|
|
1369
|
+
export declare namespace DemoteSpeakerInCommunityVoiceChatResponse_Ok {
|
|
1370
|
+
function encode(message: DemoteSpeakerInCommunityVoiceChatResponse_Ok, writer?: _m0.Writer): _m0.Writer;
|
|
1371
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): DemoteSpeakerInCommunityVoiceChatResponse_Ok;
|
|
1372
|
+
function fromJSON(object: any): DemoteSpeakerInCommunityVoiceChatResponse_Ok;
|
|
1373
|
+
function toJSON(message: DemoteSpeakerInCommunityVoiceChatResponse_Ok): unknown;
|
|
1374
|
+
function create<I extends Exact<DeepPartial<DemoteSpeakerInCommunityVoiceChatResponse_Ok>, I>>(base?: I): DemoteSpeakerInCommunityVoiceChatResponse_Ok;
|
|
1375
|
+
function fromPartial<I extends Exact<DeepPartial<DemoteSpeakerInCommunityVoiceChatResponse_Ok>, I>>(object: I): DemoteSpeakerInCommunityVoiceChatResponse_Ok;
|
|
1376
|
+
}
|
|
1377
|
+
export declare namespace KickPlayerFromCommunityVoiceChatPayload {
|
|
1378
|
+
function encode(message: KickPlayerFromCommunityVoiceChatPayload, writer?: _m0.Writer): _m0.Writer;
|
|
1379
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): KickPlayerFromCommunityVoiceChatPayload;
|
|
1380
|
+
function fromJSON(object: any): KickPlayerFromCommunityVoiceChatPayload;
|
|
1381
|
+
function toJSON(message: KickPlayerFromCommunityVoiceChatPayload): unknown;
|
|
1382
|
+
function create<I extends Exact<DeepPartial<KickPlayerFromCommunityVoiceChatPayload>, I>>(base?: I): KickPlayerFromCommunityVoiceChatPayload;
|
|
1383
|
+
function fromPartial<I extends Exact<DeepPartial<KickPlayerFromCommunityVoiceChatPayload>, I>>(object: I): KickPlayerFromCommunityVoiceChatPayload;
|
|
1384
|
+
}
|
|
1385
|
+
export declare namespace KickPlayerFromCommunityVoiceChatResponse {
|
|
1386
|
+
function encode(message: KickPlayerFromCommunityVoiceChatResponse, writer?: _m0.Writer): _m0.Writer;
|
|
1387
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): KickPlayerFromCommunityVoiceChatResponse;
|
|
1388
|
+
function fromJSON(object: any): KickPlayerFromCommunityVoiceChatResponse;
|
|
1389
|
+
function toJSON(message: KickPlayerFromCommunityVoiceChatResponse): unknown;
|
|
1390
|
+
function create<I extends Exact<DeepPartial<KickPlayerFromCommunityVoiceChatResponse>, I>>(base?: I): KickPlayerFromCommunityVoiceChatResponse;
|
|
1391
|
+
function fromPartial<I extends Exact<DeepPartial<KickPlayerFromCommunityVoiceChatResponse>, I>>(object: I): KickPlayerFromCommunityVoiceChatResponse;
|
|
1392
|
+
}
|
|
1393
|
+
export declare namespace KickPlayerFromCommunityVoiceChatResponse_Ok {
|
|
1394
|
+
function encode(message: KickPlayerFromCommunityVoiceChatResponse_Ok, writer?: _m0.Writer): _m0.Writer;
|
|
1395
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): KickPlayerFromCommunityVoiceChatResponse_Ok;
|
|
1396
|
+
function fromJSON(object: any): KickPlayerFromCommunityVoiceChatResponse_Ok;
|
|
1397
|
+
function toJSON(message: KickPlayerFromCommunityVoiceChatResponse_Ok): unknown;
|
|
1398
|
+
function create<I extends Exact<DeepPartial<KickPlayerFromCommunityVoiceChatResponse_Ok>, I>>(base?: I): KickPlayerFromCommunityVoiceChatResponse_Ok;
|
|
1399
|
+
function fromPartial<I extends Exact<DeepPartial<KickPlayerFromCommunityVoiceChatResponse_Ok>, I>>(object: I): KickPlayerFromCommunityVoiceChatResponse_Ok;
|
|
1400
|
+
}
|
|
1401
|
+
export declare namespace CommunityVoiceChatUpdate {
|
|
1402
|
+
function encode(message: CommunityVoiceChatUpdate, writer?: _m0.Writer): _m0.Writer;
|
|
1403
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): CommunityVoiceChatUpdate;
|
|
1404
|
+
function fromJSON(object: any): CommunityVoiceChatUpdate;
|
|
1405
|
+
function toJSON(message: CommunityVoiceChatUpdate): unknown;
|
|
1406
|
+
function create<I extends Exact<DeepPartial<CommunityVoiceChatUpdate>, I>>(base?: I): CommunityVoiceChatUpdate;
|
|
1407
|
+
function fromPartial<I extends Exact<DeepPartial<CommunityVoiceChatUpdate>, I>>(object: I): CommunityVoiceChatUpdate;
|
|
1408
|
+
}
|
|
1070
1409
|
export type SocialServiceDefinition = typeof SocialServiceDefinition;
|
|
1071
1410
|
export declare const SocialServiceDefinition: {
|
|
1072
1411
|
readonly name: "SocialService";
|
|
@@ -1274,6 +1613,69 @@ export declare const SocialServiceDefinition: {
|
|
|
1274
1613
|
readonly responseStream: true;
|
|
1275
1614
|
readonly options: {};
|
|
1276
1615
|
};
|
|
1616
|
+
/** Start a community voice chat (moderator/owner only) */
|
|
1617
|
+
readonly startCommunityVoiceChat: {
|
|
1618
|
+
readonly name: "StartCommunityVoiceChat";
|
|
1619
|
+
readonly requestType: typeof StartCommunityVoiceChatPayload;
|
|
1620
|
+
readonly requestStream: false;
|
|
1621
|
+
readonly responseType: typeof StartCommunityVoiceChatResponse;
|
|
1622
|
+
readonly responseStream: false;
|
|
1623
|
+
readonly options: {};
|
|
1624
|
+
};
|
|
1625
|
+
/** Join a community voice chat */
|
|
1626
|
+
readonly joinCommunityVoiceChat: {
|
|
1627
|
+
readonly name: "JoinCommunityVoiceChat";
|
|
1628
|
+
readonly requestType: typeof JoinCommunityVoiceChatPayload;
|
|
1629
|
+
readonly requestStream: false;
|
|
1630
|
+
readonly responseType: typeof JoinCommunityVoiceChatResponse;
|
|
1631
|
+
readonly responseStream: false;
|
|
1632
|
+
readonly options: {};
|
|
1633
|
+
};
|
|
1634
|
+
/** Request to speak in community voice chat */
|
|
1635
|
+
readonly requestToSpeakInCommunityVoiceChat: {
|
|
1636
|
+
readonly name: "RequestToSpeakInCommunityVoiceChat";
|
|
1637
|
+
readonly requestType: typeof RequestToSpeakInCommunityVoiceChatPayload;
|
|
1638
|
+
readonly requestStream: false;
|
|
1639
|
+
readonly responseType: typeof RequestToSpeakInCommunityVoiceChatResponse;
|
|
1640
|
+
readonly responseStream: false;
|
|
1641
|
+
readonly options: {};
|
|
1642
|
+
};
|
|
1643
|
+
/** Promote speaker in community voice chat (moderator only) */
|
|
1644
|
+
readonly promoteSpeakerInCommunityVoiceChat: {
|
|
1645
|
+
readonly name: "PromoteSpeakerInCommunityVoiceChat";
|
|
1646
|
+
readonly requestType: typeof PromoteSpeakerInCommunityVoiceChatPayload;
|
|
1647
|
+
readonly requestStream: false;
|
|
1648
|
+
readonly responseType: typeof PromoteSpeakerInCommunityVoiceChatResponse;
|
|
1649
|
+
readonly responseStream: false;
|
|
1650
|
+
readonly options: {};
|
|
1651
|
+
};
|
|
1652
|
+
/** Demote speaker in community voice chat (moderator only) */
|
|
1653
|
+
readonly demoteSpeakerInCommunityVoiceChat: {
|
|
1654
|
+
readonly name: "DemoteSpeakerInCommunityVoiceChat";
|
|
1655
|
+
readonly requestType: typeof DemoteSpeakerInCommunityVoiceChatPayload;
|
|
1656
|
+
readonly requestStream: false;
|
|
1657
|
+
readonly responseType: typeof DemoteSpeakerInCommunityVoiceChatResponse;
|
|
1658
|
+
readonly responseStream: false;
|
|
1659
|
+
readonly options: {};
|
|
1660
|
+
};
|
|
1661
|
+
/** Kick player from community voice chat (moderator only) */
|
|
1662
|
+
readonly kickPlayerFromCommunityVoiceChat: {
|
|
1663
|
+
readonly name: "KickPlayerFromCommunityVoiceChat";
|
|
1664
|
+
readonly requestType: typeof KickPlayerFromCommunityVoiceChatPayload;
|
|
1665
|
+
readonly requestStream: false;
|
|
1666
|
+
readonly responseType: typeof KickPlayerFromCommunityVoiceChatResponse;
|
|
1667
|
+
readonly responseStream: false;
|
|
1668
|
+
readonly options: {};
|
|
1669
|
+
};
|
|
1670
|
+
/** Subscribe to community voice chat updates (only 'started' events) */
|
|
1671
|
+
readonly subscribeToCommunityVoiceChatUpdates: {
|
|
1672
|
+
readonly name: "SubscribeToCommunityVoiceChatUpdates";
|
|
1673
|
+
readonly requestType: typeof Empty;
|
|
1674
|
+
readonly requestStream: false;
|
|
1675
|
+
readonly responseType: typeof CommunityVoiceChatUpdate;
|
|
1676
|
+
readonly responseStream: true;
|
|
1677
|
+
readonly options: {};
|
|
1678
|
+
};
|
|
1277
1679
|
};
|
|
1278
1680
|
};
|
|
1279
1681
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|