@dcl/protocol 1.0.0-16721006271.commit-e03db90 → 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 +59 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +317 -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 +376 -0
- package/package.json +2 -2
- package/proto/decentraland/social_service/v2/social_service_v2.proto +23 -0
|
@@ -783,6 +783,26 @@ export interface KickPlayerFromCommunityVoiceChatResponse_Ok {
|
|
|
783
783
|
message: string;
|
|
784
784
|
}
|
|
785
785
|
|
|
786
|
+
/** Reject speak request in community voice chat */
|
|
787
|
+
export interface RejectSpeakRequestInCommunityVoiceChatPayload {
|
|
788
|
+
communityId: string;
|
|
789
|
+
userAddress: string;
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
export interface RejectSpeakRequestInCommunityVoiceChatResponse {
|
|
793
|
+
response?:
|
|
794
|
+
| { $case: "ok"; ok: RejectSpeakRequestInCommunityVoiceChatResponse_Ok }
|
|
795
|
+
| { $case: "invalidRequest"; invalidRequest: InvalidRequest }
|
|
796
|
+
| { $case: "forbiddenError"; forbiddenError: ForbiddenError }
|
|
797
|
+
| { $case: "notFoundError"; notFoundError: NotFoundError }
|
|
798
|
+
| { $case: "internalServerError"; internalServerError: InternalServerError }
|
|
799
|
+
| undefined;
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
export interface RejectSpeakRequestInCommunityVoiceChatResponse_Ok {
|
|
803
|
+
message: string;
|
|
804
|
+
}
|
|
805
|
+
|
|
786
806
|
/** End community voice chat (moderator/owner only) */
|
|
787
807
|
export interface EndCommunityVoiceChatPayload {
|
|
788
808
|
communityId: string;
|
|
@@ -8960,6 +8980,353 @@ export namespace KickPlayerFromCommunityVoiceChatResponse_Ok {
|
|
|
8960
8980
|
}
|
|
8961
8981
|
}
|
|
8962
8982
|
|
|
8983
|
+
function createBaseRejectSpeakRequestInCommunityVoiceChatPayload(): RejectSpeakRequestInCommunityVoiceChatPayload {
|
|
8984
|
+
return { communityId: "", userAddress: "" };
|
|
8985
|
+
}
|
|
8986
|
+
|
|
8987
|
+
export namespace RejectSpeakRequestInCommunityVoiceChatPayload {
|
|
8988
|
+
export function encode(
|
|
8989
|
+
message: RejectSpeakRequestInCommunityVoiceChatPayload,
|
|
8990
|
+
writer: _m0.Writer = _m0.Writer.create(),
|
|
8991
|
+
): _m0.Writer {
|
|
8992
|
+
if (message.communityId !== "") {
|
|
8993
|
+
writer.uint32(10).string(message.communityId);
|
|
8994
|
+
}
|
|
8995
|
+
if (message.userAddress !== "") {
|
|
8996
|
+
writer.uint32(18).string(message.userAddress);
|
|
8997
|
+
}
|
|
8998
|
+
return writer;
|
|
8999
|
+
}
|
|
9000
|
+
|
|
9001
|
+
export function decode(
|
|
9002
|
+
input: _m0.Reader | Uint8Array,
|
|
9003
|
+
length?: number,
|
|
9004
|
+
): RejectSpeakRequestInCommunityVoiceChatPayload {
|
|
9005
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
9006
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
9007
|
+
const message = createBaseRejectSpeakRequestInCommunityVoiceChatPayload();
|
|
9008
|
+
while (reader.pos < end) {
|
|
9009
|
+
const tag = reader.uint32();
|
|
9010
|
+
switch (tag >>> 3) {
|
|
9011
|
+
case 1:
|
|
9012
|
+
if (tag !== 10) {
|
|
9013
|
+
break;
|
|
9014
|
+
}
|
|
9015
|
+
|
|
9016
|
+
message.communityId = reader.string();
|
|
9017
|
+
continue;
|
|
9018
|
+
case 2:
|
|
9019
|
+
if (tag !== 18) {
|
|
9020
|
+
break;
|
|
9021
|
+
}
|
|
9022
|
+
|
|
9023
|
+
message.userAddress = reader.string();
|
|
9024
|
+
continue;
|
|
9025
|
+
}
|
|
9026
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
9027
|
+
break;
|
|
9028
|
+
}
|
|
9029
|
+
reader.skipType(tag & 7);
|
|
9030
|
+
}
|
|
9031
|
+
return message;
|
|
9032
|
+
}
|
|
9033
|
+
|
|
9034
|
+
export function fromJSON(object: any): RejectSpeakRequestInCommunityVoiceChatPayload {
|
|
9035
|
+
return {
|
|
9036
|
+
communityId: isSet(object.communityId) ? String(object.communityId) : "",
|
|
9037
|
+
userAddress: isSet(object.userAddress) ? String(object.userAddress) : "",
|
|
9038
|
+
};
|
|
9039
|
+
}
|
|
9040
|
+
|
|
9041
|
+
export function toJSON(message: RejectSpeakRequestInCommunityVoiceChatPayload): unknown {
|
|
9042
|
+
const obj: any = {};
|
|
9043
|
+
message.communityId !== undefined && (obj.communityId = message.communityId);
|
|
9044
|
+
message.userAddress !== undefined && (obj.userAddress = message.userAddress);
|
|
9045
|
+
return obj;
|
|
9046
|
+
}
|
|
9047
|
+
|
|
9048
|
+
export function create<I extends Exact<DeepPartial<RejectSpeakRequestInCommunityVoiceChatPayload>, I>>(
|
|
9049
|
+
base?: I,
|
|
9050
|
+
): RejectSpeakRequestInCommunityVoiceChatPayload {
|
|
9051
|
+
return RejectSpeakRequestInCommunityVoiceChatPayload.fromPartial(base ?? {});
|
|
9052
|
+
}
|
|
9053
|
+
|
|
9054
|
+
export function fromPartial<I extends Exact<DeepPartial<RejectSpeakRequestInCommunityVoiceChatPayload>, I>>(
|
|
9055
|
+
object: I,
|
|
9056
|
+
): RejectSpeakRequestInCommunityVoiceChatPayload {
|
|
9057
|
+
const message = createBaseRejectSpeakRequestInCommunityVoiceChatPayload();
|
|
9058
|
+
message.communityId = object.communityId ?? "";
|
|
9059
|
+
message.userAddress = object.userAddress ?? "";
|
|
9060
|
+
return message;
|
|
9061
|
+
}
|
|
9062
|
+
}
|
|
9063
|
+
|
|
9064
|
+
function createBaseRejectSpeakRequestInCommunityVoiceChatResponse(): RejectSpeakRequestInCommunityVoiceChatResponse {
|
|
9065
|
+
return { response: undefined };
|
|
9066
|
+
}
|
|
9067
|
+
|
|
9068
|
+
export namespace RejectSpeakRequestInCommunityVoiceChatResponse {
|
|
9069
|
+
export function encode(
|
|
9070
|
+
message: RejectSpeakRequestInCommunityVoiceChatResponse,
|
|
9071
|
+
writer: _m0.Writer = _m0.Writer.create(),
|
|
9072
|
+
): _m0.Writer {
|
|
9073
|
+
switch (message.response?.$case) {
|
|
9074
|
+
case "ok":
|
|
9075
|
+
RejectSpeakRequestInCommunityVoiceChatResponse_Ok.encode(message.response.ok, writer.uint32(10).fork())
|
|
9076
|
+
.ldelim();
|
|
9077
|
+
break;
|
|
9078
|
+
case "invalidRequest":
|
|
9079
|
+
InvalidRequest.encode(message.response.invalidRequest, writer.uint32(18).fork()).ldelim();
|
|
9080
|
+
break;
|
|
9081
|
+
case "forbiddenError":
|
|
9082
|
+
ForbiddenError.encode(message.response.forbiddenError, writer.uint32(26).fork()).ldelim();
|
|
9083
|
+
break;
|
|
9084
|
+
case "notFoundError":
|
|
9085
|
+
NotFoundError.encode(message.response.notFoundError, writer.uint32(34).fork()).ldelim();
|
|
9086
|
+
break;
|
|
9087
|
+
case "internalServerError":
|
|
9088
|
+
InternalServerError.encode(message.response.internalServerError, writer.uint32(42).fork()).ldelim();
|
|
9089
|
+
break;
|
|
9090
|
+
}
|
|
9091
|
+
return writer;
|
|
9092
|
+
}
|
|
9093
|
+
|
|
9094
|
+
export function decode(
|
|
9095
|
+
input: _m0.Reader | Uint8Array,
|
|
9096
|
+
length?: number,
|
|
9097
|
+
): RejectSpeakRequestInCommunityVoiceChatResponse {
|
|
9098
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
9099
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
9100
|
+
const message = createBaseRejectSpeakRequestInCommunityVoiceChatResponse();
|
|
9101
|
+
while (reader.pos < end) {
|
|
9102
|
+
const tag = reader.uint32();
|
|
9103
|
+
switch (tag >>> 3) {
|
|
9104
|
+
case 1:
|
|
9105
|
+
if (tag !== 10) {
|
|
9106
|
+
break;
|
|
9107
|
+
}
|
|
9108
|
+
|
|
9109
|
+
message.response = {
|
|
9110
|
+
$case: "ok",
|
|
9111
|
+
ok: RejectSpeakRequestInCommunityVoiceChatResponse_Ok.decode(reader, reader.uint32()),
|
|
9112
|
+
};
|
|
9113
|
+
continue;
|
|
9114
|
+
case 2:
|
|
9115
|
+
if (tag !== 18) {
|
|
9116
|
+
break;
|
|
9117
|
+
}
|
|
9118
|
+
|
|
9119
|
+
message.response = {
|
|
9120
|
+
$case: "invalidRequest",
|
|
9121
|
+
invalidRequest: InvalidRequest.decode(reader, reader.uint32()),
|
|
9122
|
+
};
|
|
9123
|
+
continue;
|
|
9124
|
+
case 3:
|
|
9125
|
+
if (tag !== 26) {
|
|
9126
|
+
break;
|
|
9127
|
+
}
|
|
9128
|
+
|
|
9129
|
+
message.response = {
|
|
9130
|
+
$case: "forbiddenError",
|
|
9131
|
+
forbiddenError: ForbiddenError.decode(reader, reader.uint32()),
|
|
9132
|
+
};
|
|
9133
|
+
continue;
|
|
9134
|
+
case 4:
|
|
9135
|
+
if (tag !== 34) {
|
|
9136
|
+
break;
|
|
9137
|
+
}
|
|
9138
|
+
|
|
9139
|
+
message.response = { $case: "notFoundError", notFoundError: NotFoundError.decode(reader, reader.uint32()) };
|
|
9140
|
+
continue;
|
|
9141
|
+
case 5:
|
|
9142
|
+
if (tag !== 42) {
|
|
9143
|
+
break;
|
|
9144
|
+
}
|
|
9145
|
+
|
|
9146
|
+
message.response = {
|
|
9147
|
+
$case: "internalServerError",
|
|
9148
|
+
internalServerError: InternalServerError.decode(reader, reader.uint32()),
|
|
9149
|
+
};
|
|
9150
|
+
continue;
|
|
9151
|
+
}
|
|
9152
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
9153
|
+
break;
|
|
9154
|
+
}
|
|
9155
|
+
reader.skipType(tag & 7);
|
|
9156
|
+
}
|
|
9157
|
+
return message;
|
|
9158
|
+
}
|
|
9159
|
+
|
|
9160
|
+
export function fromJSON(object: any): RejectSpeakRequestInCommunityVoiceChatResponse {
|
|
9161
|
+
return {
|
|
9162
|
+
response: isSet(object.ok)
|
|
9163
|
+
? { $case: "ok", ok: RejectSpeakRequestInCommunityVoiceChatResponse_Ok.fromJSON(object.ok) }
|
|
9164
|
+
: isSet(object.invalidRequest)
|
|
9165
|
+
? { $case: "invalidRequest", invalidRequest: InvalidRequest.fromJSON(object.invalidRequest) }
|
|
9166
|
+
: isSet(object.forbiddenError)
|
|
9167
|
+
? { $case: "forbiddenError", forbiddenError: ForbiddenError.fromJSON(object.forbiddenError) }
|
|
9168
|
+
: isSet(object.notFoundError)
|
|
9169
|
+
? { $case: "notFoundError", notFoundError: NotFoundError.fromJSON(object.notFoundError) }
|
|
9170
|
+
: isSet(object.internalServerError)
|
|
9171
|
+
? {
|
|
9172
|
+
$case: "internalServerError",
|
|
9173
|
+
internalServerError: InternalServerError.fromJSON(object.internalServerError),
|
|
9174
|
+
}
|
|
9175
|
+
: undefined,
|
|
9176
|
+
};
|
|
9177
|
+
}
|
|
9178
|
+
|
|
9179
|
+
export function toJSON(message: RejectSpeakRequestInCommunityVoiceChatResponse): unknown {
|
|
9180
|
+
const obj: any = {};
|
|
9181
|
+
message.response?.$case === "ok" &&
|
|
9182
|
+
(obj.ok = message.response?.ok
|
|
9183
|
+
? RejectSpeakRequestInCommunityVoiceChatResponse_Ok.toJSON(message.response?.ok)
|
|
9184
|
+
: undefined);
|
|
9185
|
+
message.response?.$case === "invalidRequest" &&
|
|
9186
|
+
(obj.invalidRequest = message.response?.invalidRequest
|
|
9187
|
+
? InvalidRequest.toJSON(message.response?.invalidRequest)
|
|
9188
|
+
: undefined);
|
|
9189
|
+
message.response?.$case === "forbiddenError" &&
|
|
9190
|
+
(obj.forbiddenError = message.response?.forbiddenError
|
|
9191
|
+
? ForbiddenError.toJSON(message.response?.forbiddenError)
|
|
9192
|
+
: undefined);
|
|
9193
|
+
message.response?.$case === "notFoundError" &&
|
|
9194
|
+
(obj.notFoundError = message.response?.notFoundError
|
|
9195
|
+
? NotFoundError.toJSON(message.response?.notFoundError)
|
|
9196
|
+
: undefined);
|
|
9197
|
+
message.response?.$case === "internalServerError" &&
|
|
9198
|
+
(obj.internalServerError = message.response?.internalServerError
|
|
9199
|
+
? InternalServerError.toJSON(message.response?.internalServerError)
|
|
9200
|
+
: undefined);
|
|
9201
|
+
return obj;
|
|
9202
|
+
}
|
|
9203
|
+
|
|
9204
|
+
export function create<I extends Exact<DeepPartial<RejectSpeakRequestInCommunityVoiceChatResponse>, I>>(
|
|
9205
|
+
base?: I,
|
|
9206
|
+
): RejectSpeakRequestInCommunityVoiceChatResponse {
|
|
9207
|
+
return RejectSpeakRequestInCommunityVoiceChatResponse.fromPartial(base ?? {});
|
|
9208
|
+
}
|
|
9209
|
+
|
|
9210
|
+
export function fromPartial<I extends Exact<DeepPartial<RejectSpeakRequestInCommunityVoiceChatResponse>, I>>(
|
|
9211
|
+
object: I,
|
|
9212
|
+
): RejectSpeakRequestInCommunityVoiceChatResponse {
|
|
9213
|
+
const message = createBaseRejectSpeakRequestInCommunityVoiceChatResponse();
|
|
9214
|
+
if (object.response?.$case === "ok" && object.response?.ok !== undefined && object.response?.ok !== null) {
|
|
9215
|
+
message.response = {
|
|
9216
|
+
$case: "ok",
|
|
9217
|
+
ok: RejectSpeakRequestInCommunityVoiceChatResponse_Ok.fromPartial(object.response.ok),
|
|
9218
|
+
};
|
|
9219
|
+
}
|
|
9220
|
+
if (
|
|
9221
|
+
object.response?.$case === "invalidRequest" &&
|
|
9222
|
+
object.response?.invalidRequest !== undefined &&
|
|
9223
|
+
object.response?.invalidRequest !== null
|
|
9224
|
+
) {
|
|
9225
|
+
message.response = {
|
|
9226
|
+
$case: "invalidRequest",
|
|
9227
|
+
invalidRequest: InvalidRequest.fromPartial(object.response.invalidRequest),
|
|
9228
|
+
};
|
|
9229
|
+
}
|
|
9230
|
+
if (
|
|
9231
|
+
object.response?.$case === "forbiddenError" &&
|
|
9232
|
+
object.response?.forbiddenError !== undefined &&
|
|
9233
|
+
object.response?.forbiddenError !== null
|
|
9234
|
+
) {
|
|
9235
|
+
message.response = {
|
|
9236
|
+
$case: "forbiddenError",
|
|
9237
|
+
forbiddenError: ForbiddenError.fromPartial(object.response.forbiddenError),
|
|
9238
|
+
};
|
|
9239
|
+
}
|
|
9240
|
+
if (
|
|
9241
|
+
object.response?.$case === "notFoundError" &&
|
|
9242
|
+
object.response?.notFoundError !== undefined &&
|
|
9243
|
+
object.response?.notFoundError !== null
|
|
9244
|
+
) {
|
|
9245
|
+
message.response = {
|
|
9246
|
+
$case: "notFoundError",
|
|
9247
|
+
notFoundError: NotFoundError.fromPartial(object.response.notFoundError),
|
|
9248
|
+
};
|
|
9249
|
+
}
|
|
9250
|
+
if (
|
|
9251
|
+
object.response?.$case === "internalServerError" &&
|
|
9252
|
+
object.response?.internalServerError !== undefined &&
|
|
9253
|
+
object.response?.internalServerError !== null
|
|
9254
|
+
) {
|
|
9255
|
+
message.response = {
|
|
9256
|
+
$case: "internalServerError",
|
|
9257
|
+
internalServerError: InternalServerError.fromPartial(object.response.internalServerError),
|
|
9258
|
+
};
|
|
9259
|
+
}
|
|
9260
|
+
return message;
|
|
9261
|
+
}
|
|
9262
|
+
}
|
|
9263
|
+
|
|
9264
|
+
function createBaseRejectSpeakRequestInCommunityVoiceChatResponse_Ok(): RejectSpeakRequestInCommunityVoiceChatResponse_Ok {
|
|
9265
|
+
return { message: "" };
|
|
9266
|
+
}
|
|
9267
|
+
|
|
9268
|
+
export namespace RejectSpeakRequestInCommunityVoiceChatResponse_Ok {
|
|
9269
|
+
export function encode(
|
|
9270
|
+
message: RejectSpeakRequestInCommunityVoiceChatResponse_Ok,
|
|
9271
|
+
writer: _m0.Writer = _m0.Writer.create(),
|
|
9272
|
+
): _m0.Writer {
|
|
9273
|
+
if (message.message !== "") {
|
|
9274
|
+
writer.uint32(10).string(message.message);
|
|
9275
|
+
}
|
|
9276
|
+
return writer;
|
|
9277
|
+
}
|
|
9278
|
+
|
|
9279
|
+
export function decode(
|
|
9280
|
+
input: _m0.Reader | Uint8Array,
|
|
9281
|
+
length?: number,
|
|
9282
|
+
): RejectSpeakRequestInCommunityVoiceChatResponse_Ok {
|
|
9283
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
9284
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
9285
|
+
const message = createBaseRejectSpeakRequestInCommunityVoiceChatResponse_Ok();
|
|
9286
|
+
while (reader.pos < end) {
|
|
9287
|
+
const tag = reader.uint32();
|
|
9288
|
+
switch (tag >>> 3) {
|
|
9289
|
+
case 1:
|
|
9290
|
+
if (tag !== 10) {
|
|
9291
|
+
break;
|
|
9292
|
+
}
|
|
9293
|
+
|
|
9294
|
+
message.message = reader.string();
|
|
9295
|
+
continue;
|
|
9296
|
+
}
|
|
9297
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
9298
|
+
break;
|
|
9299
|
+
}
|
|
9300
|
+
reader.skipType(tag & 7);
|
|
9301
|
+
}
|
|
9302
|
+
return message;
|
|
9303
|
+
}
|
|
9304
|
+
|
|
9305
|
+
export function fromJSON(object: any): RejectSpeakRequestInCommunityVoiceChatResponse_Ok {
|
|
9306
|
+
return { message: isSet(object.message) ? String(object.message) : "" };
|
|
9307
|
+
}
|
|
9308
|
+
|
|
9309
|
+
export function toJSON(message: RejectSpeakRequestInCommunityVoiceChatResponse_Ok): unknown {
|
|
9310
|
+
const obj: any = {};
|
|
9311
|
+
message.message !== undefined && (obj.message = message.message);
|
|
9312
|
+
return obj;
|
|
9313
|
+
}
|
|
9314
|
+
|
|
9315
|
+
export function create<I extends Exact<DeepPartial<RejectSpeakRequestInCommunityVoiceChatResponse_Ok>, I>>(
|
|
9316
|
+
base?: I,
|
|
9317
|
+
): RejectSpeakRequestInCommunityVoiceChatResponse_Ok {
|
|
9318
|
+
return RejectSpeakRequestInCommunityVoiceChatResponse_Ok.fromPartial(base ?? {});
|
|
9319
|
+
}
|
|
9320
|
+
|
|
9321
|
+
export function fromPartial<I extends Exact<DeepPartial<RejectSpeakRequestInCommunityVoiceChatResponse_Ok>, I>>(
|
|
9322
|
+
object: I,
|
|
9323
|
+
): RejectSpeakRequestInCommunityVoiceChatResponse_Ok {
|
|
9324
|
+
const message = createBaseRejectSpeakRequestInCommunityVoiceChatResponse_Ok();
|
|
9325
|
+
message.message = object.message ?? "";
|
|
9326
|
+
return message;
|
|
9327
|
+
}
|
|
9328
|
+
}
|
|
9329
|
+
|
|
8963
9330
|
function createBaseEndCommunityVoiceChatPayload(): EndCommunityVoiceChatPayload {
|
|
8964
9331
|
return { communityId: "" };
|
|
8965
9332
|
}
|
|
@@ -9713,6 +10080,15 @@ export const SocialServiceDefinition = {
|
|
|
9713
10080
|
responseStream: false,
|
|
9714
10081
|
options: {},
|
|
9715
10082
|
},
|
|
10083
|
+
/** Reject speak request in community voice chat (moderator only) */
|
|
10084
|
+
rejectSpeakRequestInCommunityVoiceChat: {
|
|
10085
|
+
name: "RejectSpeakRequestInCommunityVoiceChat",
|
|
10086
|
+
requestType: RejectSpeakRequestInCommunityVoiceChatPayload,
|
|
10087
|
+
requestStream: false,
|
|
10088
|
+
responseType: RejectSpeakRequestInCommunityVoiceChatResponse,
|
|
10089
|
+
responseStream: false,
|
|
10090
|
+
options: {},
|
|
10091
|
+
},
|
|
9716
10092
|
/** End community voice chat (moderator/owner only) */
|
|
9717
10093
|
endCommunityVoiceChat: {
|
|
9718
10094
|
name: "EndCommunityVoiceChat",
|
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,26 @@ 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
|
+
|
|
534
554
|
// End community voice chat (moderator/owner only)
|
|
535
555
|
message EndCommunityVoiceChatPayload {
|
|
536
556
|
string community_id = 1;
|
|
@@ -655,6 +675,9 @@ service SocialService {
|
|
|
655
675
|
// Kick player from community voice chat (moderator only)
|
|
656
676
|
rpc KickPlayerFromCommunityVoiceChat(KickPlayerFromCommunityVoiceChatPayload) returns (KickPlayerFromCommunityVoiceChatResponse) {}
|
|
657
677
|
|
|
678
|
+
// Reject speak request in community voice chat (moderator only)
|
|
679
|
+
rpc RejectSpeakRequestInCommunityVoiceChat(RejectSpeakRequestInCommunityVoiceChatPayload) returns (RejectSpeakRequestInCommunityVoiceChatResponse) {}
|
|
680
|
+
|
|
658
681
|
// End community voice chat (moderator/owner only)
|
|
659
682
|
rpc EndCommunityVoiceChat(EndCommunityVoiceChatPayload) returns (EndCommunityVoiceChatResponse) {}
|
|
660
683
|
|