mezon-sdk 2.8.40 → 2.8.42
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/dist/cjs/api/api.d.ts +17 -2
- package/dist/cjs/api/api.js +131 -22
- package/dist/cjs/api/api.js.map +1 -1
- package/dist/cjs/constants/enum.d.ts +5 -2
- package/dist/cjs/constants/enum.js +3 -0
- package/dist/cjs/constants/enum.js.map +1 -1
- package/dist/cjs/interfaces/client.d.ts +3 -1
- package/dist/cjs/interfaces/client.js.map +1 -1
- package/dist/cjs/interfaces/socket.d.ts +6 -1
- package/dist/cjs/mezon-client/client/MezonClient.d.ts +2 -1
- package/dist/cjs/mezon-client/client/MezonClient.js +4 -0
- package/dist/cjs/mezon-client/client/MezonClient.js.map +1 -1
- package/dist/cjs/mezon-client/manager/socket_manager.js +0 -2
- package/dist/cjs/mezon-client/manager/socket_manager.js.map +1 -1
- package/dist/cjs/mezon-client/structures/Clan.js +1 -0
- package/dist/cjs/mezon-client/structures/Clan.js.map +1 -1
- package/dist/cjs/mezon-client/structures/TextChannel.d.ts +1 -1
- package/dist/cjs/mezon-client/structures/TextChannel.js.map +1 -1
- package/dist/cjs/rtapi/realtime.d.ts +20 -69
- package/dist/cjs/rtapi/realtime.js +288 -1277
- package/dist/cjs/rtapi/realtime.js.map +1 -1
- package/dist/cjs/socket.d.ts +1 -1
- package/dist/cjs/socket.js +2 -1
- package/dist/cjs/socket.js.map +1 -1
- package/dist/esm/api/api.d.ts +17 -2
- package/dist/esm/api/api.js +127 -19
- package/dist/esm/api/api.js.map +1 -1
- package/dist/esm/constants/enum.d.ts +5 -2
- package/dist/esm/constants/enum.js +3 -0
- package/dist/esm/constants/enum.js.map +1 -1
- package/dist/esm/interfaces/client.d.ts +3 -1
- package/dist/esm/interfaces/client.js.map +1 -1
- package/dist/esm/interfaces/socket.d.ts +6 -1
- package/dist/esm/mezon-client/client/MezonClient.d.ts +2 -1
- package/dist/esm/mezon-client/client/MezonClient.js +4 -0
- package/dist/esm/mezon-client/client/MezonClient.js.map +1 -1
- package/dist/esm/mezon-client/manager/socket_manager.js +0 -2
- package/dist/esm/mezon-client/manager/socket_manager.js.map +1 -1
- package/dist/esm/mezon-client/structures/Clan.js +1 -0
- package/dist/esm/mezon-client/structures/Clan.js.map +1 -1
- package/dist/esm/mezon-client/structures/TextChannel.d.ts +1 -1
- package/dist/esm/mezon-client/structures/TextChannel.js.map +1 -1
- package/dist/esm/rtapi/realtime.d.ts +20 -69
- package/dist/esm/rtapi/realtime.js +285 -1277
- package/dist/esm/rtapi/realtime.js.map +1 -1
- package/dist/esm/socket.d.ts +1 -1
- package/dist/esm/socket.js +2 -1
- package/dist/esm/socket.js.map +1 -1
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -10,6 +10,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
11
|
exports.StreamingJoinedEvent = exports.StreamingLeavedEvent = exports.VoiceEndedEvent = exports.VoiceStartedEvent = exports.VoiceJoinedEvent = exports.VoiceLeavedEvent = exports.MessageTypingEvent = exports.LastSeenMessageEvent = exports.LastPinMessageEvent = exports.StatusPresenceEvent = exports.StatusFollow = exports.Status = exports.Pong = exports.Ping = exports.UnblockFriend = exports.BlockFriend = exports.RemoveFriend = exports.AddFriend = exports.Notifications = exports.Error_ContextEntry = exports.Error = exports.ChannelPresenceEvent = exports.ChannelMessageRemove = exports.ChannelMessageUpdate = exports.ChannelMessageSend = exports.MarkAsRead = exports.VoiceReactionSend = exports.QuickMenuDataEvent = exports.EphemeralMessageSend = exports.ChannelMessageAck = exports.ChannelLeave = exports.ChannelJoin = exports.ClanJoin = exports.Channel = exports.ClanEmoji = exports.ChannelDescription = exports.HashtagDm = exports.PermissionRoleChannel = exports.RoleAssignedEvent = exports.AddClanUserEvent = exports.SFUSignalingFwd = exports.WebrtcSignalingFwd = exports.IncomingCallPush = exports.ChannelCanvas = exports.BannedUserEvent = exports.FollowEvent = exports.UpdateLocalCacheEvent = exports.Envelope = exports.Error_Code = exports.protobufPackage = void 0;
|
|
12
12
|
exports.FcmDataPayload = exports.AllowAnonymousEvent = exports.ActiveArchivedThread = exports.TransferOwnershipEvent = exports.MeetParticipantEvent = exports.ListDataSocket = exports.DeleteAccountEvent = exports.HandleParticipantMeetStateEvent = exports.UnpinMessageEvent = exports.JoinChannelAppData = exports.UserStatusEvent = exports.ChannelAppEvent = exports.SdTopicEvent = exports.DropdownBoxSelected = exports.ListActivity = exports.UnmuteEvent = exports.MessageButtonClicked = exports.PermissionChangedEvent = exports.PermissionSetEvent = exports.EventEmoji = exports.NotificationChannelCategorySetting = exports.CheckNameExistedEvent = exports.FCMTokens = exports.UserProfileRedis = exports.ConfirmLinkMezonOTPData = exports.UserProfileUpdatedEvent = exports.ClanProfileUpdatedEvent = exports.ClanUpdatedEvent = exports.ClanCreatedEvent = exports.UserClanRemoved = exports.UserChannelRemoved = exports.UserChannelAdded = exports.CustomStatusEvent = exports.UserPresence = exports.StreamPresenceEvent = exports.StreamData = exports.Stream = exports.StatusUpdate = exports.StatusUnfollow = exports.ChannelUpdatedEvent = exports.StickerDeleteEvent = exports.StickerUpdateEvent = exports.StickerCreateEvent = exports.ClanDeletedEvent = exports.ChannelDeletedEvent = exports.RoleEvent = exports.CategoryEvent = exports.ChannelCreatedEvent = exports.StreamingEndedEvent = exports.StreamingStartedEvent = void 0;
|
|
13
|
+
exports.AIAgentEnabledEvent = void 0;
|
|
13
14
|
exports.error_CodeFromJSON = error_CodeFromJSON;
|
|
14
15
|
exports.error_CodeToJSON = error_CodeToJSON;
|
|
15
16
|
/* eslint-disable */
|
|
@@ -189,6 +190,7 @@ function createBaseEnvelope() {
|
|
|
189
190
|
allow_anonymous_event: undefined,
|
|
190
191
|
update_localcache_event: undefined,
|
|
191
192
|
clan_created_event: undefined,
|
|
193
|
+
aiagent_enabled_event: undefined,
|
|
192
194
|
};
|
|
193
195
|
}
|
|
194
196
|
exports.Envelope = {
|
|
@@ -473,6 +475,9 @@ exports.Envelope = {
|
|
|
473
475
|
if (message.clan_created_event !== undefined) {
|
|
474
476
|
exports.ClanCreatedEvent.encode(message.clan_created_event, writer.uint32(746).fork()).ldelim();
|
|
475
477
|
}
|
|
478
|
+
if (message.aiagent_enabled_event !== undefined) {
|
|
479
|
+
exports.AIAgentEnabledEvent.encode(message.aiagent_enabled_event, writer.uint32(754).fork()).ldelim();
|
|
480
|
+
}
|
|
476
481
|
return writer;
|
|
477
482
|
},
|
|
478
483
|
decode(input, length) {
|
|
@@ -1040,6 +1045,12 @@ exports.Envelope = {
|
|
|
1040
1045
|
}
|
|
1041
1046
|
message.clan_created_event = exports.ClanCreatedEvent.decode(reader, reader.uint32());
|
|
1042
1047
|
continue;
|
|
1048
|
+
case 94:
|
|
1049
|
+
if (tag !== 754) {
|
|
1050
|
+
break;
|
|
1051
|
+
}
|
|
1052
|
+
message.aiagent_enabled_event = exports.AIAgentEnabledEvent.decode(reader, reader.uint32());
|
|
1053
|
+
continue;
|
|
1043
1054
|
}
|
|
1044
1055
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1045
1056
|
break;
|
|
@@ -1263,6 +1274,9 @@ exports.Envelope = {
|
|
|
1263
1274
|
clan_created_event: isSet(object.clan_created_event)
|
|
1264
1275
|
? exports.ClanCreatedEvent.fromJSON(object.clan_created_event)
|
|
1265
1276
|
: undefined,
|
|
1277
|
+
aiagent_enabled_event: isSet(object.aiagent_enabled_event)
|
|
1278
|
+
? exports.AIAgentEnabledEvent.fromJSON(object.aiagent_enabled_event)
|
|
1279
|
+
: undefined,
|
|
1266
1280
|
};
|
|
1267
1281
|
},
|
|
1268
1282
|
toJSON(message) {
|
|
@@ -1546,6 +1560,9 @@ exports.Envelope = {
|
|
|
1546
1560
|
if (message.clan_created_event !== undefined) {
|
|
1547
1561
|
obj.clan_created_event = exports.ClanCreatedEvent.toJSON(message.clan_created_event);
|
|
1548
1562
|
}
|
|
1563
|
+
if (message.aiagent_enabled_event !== undefined) {
|
|
1564
|
+
obj.aiagent_enabled_event = exports.AIAgentEnabledEvent.toJSON(message.aiagent_enabled_event);
|
|
1565
|
+
}
|
|
1549
1566
|
return obj;
|
|
1550
1567
|
},
|
|
1551
1568
|
create(base) {
|
|
@@ -1855,21 +1872,25 @@ exports.Envelope = {
|
|
|
1855
1872
|
message.clan_created_event = (object.clan_created_event !== undefined && object.clan_created_event !== null)
|
|
1856
1873
|
? exports.ClanCreatedEvent.fromPartial(object.clan_created_event)
|
|
1857
1874
|
: undefined;
|
|
1875
|
+
message.aiagent_enabled_event =
|
|
1876
|
+
(object.aiagent_enabled_event !== undefined && object.aiagent_enabled_event !== null)
|
|
1877
|
+
? exports.AIAgentEnabledEvent.fromPartial(object.aiagent_enabled_event)
|
|
1878
|
+
: undefined;
|
|
1858
1879
|
return message;
|
|
1859
1880
|
},
|
|
1860
1881
|
};
|
|
1861
1882
|
function createBaseUpdateLocalCacheEvent() {
|
|
1862
|
-
return {
|
|
1883
|
+
return { params1: [], params2: [] };
|
|
1863
1884
|
}
|
|
1864
1885
|
exports.UpdateLocalCacheEvent = {
|
|
1865
1886
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1866
1887
|
writer.uint32(10).fork();
|
|
1867
|
-
for (const v of message.
|
|
1888
|
+
for (const v of message.params1) {
|
|
1868
1889
|
writer.int64(v);
|
|
1869
1890
|
}
|
|
1870
1891
|
writer.ldelim();
|
|
1871
1892
|
writer.uint32(18).fork();
|
|
1872
|
-
for (const v of message.
|
|
1893
|
+
for (const v of message.params2) {
|
|
1873
1894
|
writer.int64(v);
|
|
1874
1895
|
}
|
|
1875
1896
|
writer.ldelim();
|
|
@@ -1884,26 +1905,26 @@ exports.UpdateLocalCacheEvent = {
|
|
|
1884
1905
|
switch (tag >>> 3) {
|
|
1885
1906
|
case 1:
|
|
1886
1907
|
if (tag === 8) {
|
|
1887
|
-
message.
|
|
1908
|
+
message.params1.push(longToString(reader.int64()));
|
|
1888
1909
|
continue;
|
|
1889
1910
|
}
|
|
1890
1911
|
if (tag === 10) {
|
|
1891
1912
|
const end2 = reader.uint32() + reader.pos;
|
|
1892
1913
|
while (reader.pos < end2) {
|
|
1893
|
-
message.
|
|
1914
|
+
message.params1.push(longToString(reader.int64()));
|
|
1894
1915
|
}
|
|
1895
1916
|
continue;
|
|
1896
1917
|
}
|
|
1897
1918
|
break;
|
|
1898
1919
|
case 2:
|
|
1899
1920
|
if (tag === 16) {
|
|
1900
|
-
message.
|
|
1921
|
+
message.params2.push(longToString(reader.int64()));
|
|
1901
1922
|
continue;
|
|
1902
1923
|
}
|
|
1903
1924
|
if (tag === 18) {
|
|
1904
1925
|
const end2 = reader.uint32() + reader.pos;
|
|
1905
1926
|
while (reader.pos < end2) {
|
|
1906
|
-
message.
|
|
1927
|
+
message.params2.push(longToString(reader.int64()));
|
|
1907
1928
|
}
|
|
1908
1929
|
continue;
|
|
1909
1930
|
}
|
|
@@ -1918,20 +1939,18 @@ exports.UpdateLocalCacheEvent = {
|
|
|
1918
1939
|
},
|
|
1919
1940
|
fromJSON(object) {
|
|
1920
1941
|
return {
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
? object.channel_ids.map((e) => globalThis.String(e))
|
|
1924
|
-
: [],
|
|
1942
|
+
params1: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.params1) ? object.params1.map((e) => globalThis.String(e)) : [],
|
|
1943
|
+
params2: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.params2) ? object.params2.map((e) => globalThis.String(e)) : [],
|
|
1925
1944
|
};
|
|
1926
1945
|
},
|
|
1927
1946
|
toJSON(message) {
|
|
1928
1947
|
var _a, _b;
|
|
1929
1948
|
const obj = {};
|
|
1930
|
-
if ((_a = message.
|
|
1931
|
-
obj.
|
|
1949
|
+
if ((_a = message.params1) === null || _a === void 0 ? void 0 : _a.length) {
|
|
1950
|
+
obj.params1 = message.params1;
|
|
1932
1951
|
}
|
|
1933
|
-
if ((_b = message.
|
|
1934
|
-
obj.
|
|
1952
|
+
if ((_b = message.params2) === null || _b === void 0 ? void 0 : _b.length) {
|
|
1953
|
+
obj.params2 = message.params2;
|
|
1935
1954
|
}
|
|
1936
1955
|
return obj;
|
|
1937
1956
|
},
|
|
@@ -1941,8 +1960,8 @@ exports.UpdateLocalCacheEvent = {
|
|
|
1941
1960
|
fromPartial(object) {
|
|
1942
1961
|
var _a, _b;
|
|
1943
1962
|
const message = createBaseUpdateLocalCacheEvent();
|
|
1944
|
-
message.
|
|
1945
|
-
message.
|
|
1963
|
+
message.params1 = ((_a = object.params1) === null || _a === void 0 ? void 0 : _a.map((e) => e)) || [];
|
|
1964
|
+
message.params2 = ((_b = object.params2) === null || _b === void 0 ? void 0 : _b.map((e) => e)) || [];
|
|
1946
1965
|
return message;
|
|
1947
1966
|
},
|
|
1948
1967
|
};
|
|
@@ -3892,16 +3911,18 @@ exports.ChannelMessageAck = {
|
|
|
3892
3911
|
},
|
|
3893
3912
|
};
|
|
3894
3913
|
function createBaseEphemeralMessageSend() {
|
|
3895
|
-
return { message: undefined,
|
|
3914
|
+
return { message: undefined, receiver_ids: [] };
|
|
3896
3915
|
}
|
|
3897
3916
|
exports.EphemeralMessageSend = {
|
|
3898
3917
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
3899
3918
|
if (message.message !== undefined) {
|
|
3900
3919
|
exports.ChannelMessageSend.encode(message.message, writer.uint32(10).fork()).ldelim();
|
|
3901
3920
|
}
|
|
3902
|
-
|
|
3903
|
-
|
|
3921
|
+
writer.uint32(18).fork();
|
|
3922
|
+
for (const v of message.receiver_ids) {
|
|
3923
|
+
writer.int64(v);
|
|
3904
3924
|
}
|
|
3925
|
+
writer.ldelim();
|
|
3905
3926
|
return writer;
|
|
3906
3927
|
},
|
|
3907
3928
|
decode(input, length) {
|
|
@@ -3918,11 +3939,18 @@ exports.EphemeralMessageSend = {
|
|
|
3918
3939
|
message.message = exports.ChannelMessageSend.decode(reader, reader.uint32());
|
|
3919
3940
|
continue;
|
|
3920
3941
|
case 2:
|
|
3921
|
-
if (tag
|
|
3922
|
-
|
|
3942
|
+
if (tag === 16) {
|
|
3943
|
+
message.receiver_ids.push(longToString(reader.int64()));
|
|
3944
|
+
continue;
|
|
3923
3945
|
}
|
|
3924
|
-
|
|
3925
|
-
|
|
3946
|
+
if (tag === 18) {
|
|
3947
|
+
const end2 = reader.uint32() + reader.pos;
|
|
3948
|
+
while (reader.pos < end2) {
|
|
3949
|
+
message.receiver_ids.push(longToString(reader.int64()));
|
|
3950
|
+
}
|
|
3951
|
+
continue;
|
|
3952
|
+
}
|
|
3953
|
+
break;
|
|
3926
3954
|
}
|
|
3927
3955
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3928
3956
|
break;
|
|
@@ -3934,16 +3962,19 @@ exports.EphemeralMessageSend = {
|
|
|
3934
3962
|
fromJSON(object) {
|
|
3935
3963
|
return {
|
|
3936
3964
|
message: isSet(object.message) ? exports.ChannelMessageSend.fromJSON(object.message) : undefined,
|
|
3937
|
-
|
|
3965
|
+
receiver_ids: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.receiver_ids)
|
|
3966
|
+
? object.receiver_ids.map((e) => globalThis.String(e))
|
|
3967
|
+
: [],
|
|
3938
3968
|
};
|
|
3939
3969
|
},
|
|
3940
3970
|
toJSON(message) {
|
|
3971
|
+
var _a;
|
|
3941
3972
|
const obj = {};
|
|
3942
3973
|
if (message.message !== undefined) {
|
|
3943
3974
|
obj.message = exports.ChannelMessageSend.toJSON(message.message);
|
|
3944
3975
|
}
|
|
3945
|
-
if (message.
|
|
3946
|
-
obj.
|
|
3976
|
+
if ((_a = message.receiver_ids) === null || _a === void 0 ? void 0 : _a.length) {
|
|
3977
|
+
obj.receiver_ids = message.receiver_ids;
|
|
3947
3978
|
}
|
|
3948
3979
|
return obj;
|
|
3949
3980
|
},
|
|
@@ -3956,7 +3987,7 @@ exports.EphemeralMessageSend = {
|
|
|
3956
3987
|
message.message = (object.message !== undefined && object.message !== null)
|
|
3957
3988
|
? exports.ChannelMessageSend.fromPartial(object.message)
|
|
3958
3989
|
: undefined;
|
|
3959
|
-
message.
|
|
3990
|
+
message.receiver_ids = ((_a = object.receiver_ids) === null || _a === void 0 ? void 0 : _a.map((e) => e)) || [];
|
|
3960
3991
|
return message;
|
|
3961
3992
|
},
|
|
3962
3993
|
};
|
|
@@ -12191,71 +12222,11 @@ exports.DeleteAccountEvent = {
|
|
|
12191
12222
|
function createBaseListDataSocket() {
|
|
12192
12223
|
return {
|
|
12193
12224
|
api_name: "",
|
|
12194
|
-
list_clan_req: undefined,
|
|
12195
|
-
clan_desc_list: undefined,
|
|
12196
|
-
list_thread_req: undefined,
|
|
12197
|
-
channel_desc_list: undefined,
|
|
12198
|
-
list_channel_users_uc_req: undefined,
|
|
12199
|
-
channel_users_uc_list: undefined,
|
|
12200
|
-
list_channel_detail_req: undefined,
|
|
12201
|
-
channel_desc: undefined,
|
|
12202
|
-
list_channel_req: undefined,
|
|
12203
|
-
list_channel_message_req: undefined,
|
|
12204
|
-
channel_message_list: undefined,
|
|
12205
|
-
list_channel_users_req: undefined,
|
|
12206
|
-
voice_user_list: undefined,
|
|
12207
|
-
channel_user_list: undefined,
|
|
12208
|
-
list_channel_attachment_req: undefined,
|
|
12209
|
-
channel_attachment_list: undefined,
|
|
12210
|
-
channel_setting_req: undefined,
|
|
12211
|
-
channel_setting_list: undefined,
|
|
12212
|
-
favorite_channel_req: undefined,
|
|
12213
|
-
favorite_channel_list: undefined,
|
|
12214
|
-
search_thread_req: undefined,
|
|
12215
|
-
notification_channel: undefined,
|
|
12216
|
-
notificaion_user_channel: undefined,
|
|
12217
|
-
notification_category: undefined,
|
|
12218
|
-
notification_clan: undefined,
|
|
12219
|
-
notification_setting: undefined,
|
|
12220
|
-
notification_message: undefined,
|
|
12221
|
-
noti_channel_cat_setting_list: undefined,
|
|
12222
|
-
list_notification_req: undefined,
|
|
12223
|
-
notification_list: undefined,
|
|
12224
|
-
sticker_list: undefined,
|
|
12225
|
-
emoji_recent_list: undefined,
|
|
12226
|
-
clan_webhook_req: undefined,
|
|
12227
|
-
clan_webhook_list: undefined,
|
|
12228
|
-
webhook_list_req: undefined,
|
|
12229
|
-
webhook_list: undefined,
|
|
12230
|
-
permission_list_req: undefined,
|
|
12231
|
-
permission_list: undefined,
|
|
12232
|
-
role_user_req: undefined,
|
|
12233
|
-
role_user_list: undefined,
|
|
12234
|
-
permission_user_req: undefined,
|
|
12235
|
-
role_list: undefined,
|
|
12236
|
-
role_list_event_req: undefined,
|
|
12237
|
-
role_event_list: undefined,
|
|
12238
|
-
user_permission_req: undefined,
|
|
12239
|
-
user_permission_list: undefined,
|
|
12240
|
-
permission_role_req: undefined,
|
|
12241
|
-
permission_role_list: undefined,
|
|
12242
|
-
emoji_list: undefined,
|
|
12243
|
-
list_friend_req: undefined,
|
|
12244
|
-
friend_list: undefined,
|
|
12245
|
-
list_apps_req: undefined,
|
|
12246
|
-
channel_apps_list: undefined,
|
|
12247
|
-
user_activity_list: undefined,
|
|
12248
|
-
list_clan_user_req: undefined,
|
|
12249
|
-
clan_user_list: undefined,
|
|
12250
|
-
list_event_req: undefined,
|
|
12251
|
-
event_list: undefined,
|
|
12252
|
-
list_category_req: undefined,
|
|
12253
|
-
category_list: undefined,
|
|
12254
|
-
stream_user_list: undefined,
|
|
12255
12225
|
list_unread_msg_indicator_req: undefined,
|
|
12256
12226
|
unread_msg_indicator: undefined,
|
|
12257
12227
|
list_clan_badge_count_req: undefined,
|
|
12258
12228
|
clan_badge_count: undefined,
|
|
12229
|
+
list_loged_device: undefined,
|
|
12259
12230
|
};
|
|
12260
12231
|
}
|
|
12261
12232
|
exports.ListDataSocket = {
|
|
@@ -12263,202 +12234,21 @@ exports.ListDataSocket = {
|
|
|
12263
12234
|
if (message.api_name !== "") {
|
|
12264
12235
|
writer.uint32(10).string(message.api_name);
|
|
12265
12236
|
}
|
|
12266
|
-
if (message.list_clan_req !== undefined) {
|
|
12267
|
-
api_1.ListClanDescRequest.encode(message.list_clan_req, writer.uint32(18).fork()).ldelim();
|
|
12268
|
-
}
|
|
12269
|
-
if (message.clan_desc_list !== undefined) {
|
|
12270
|
-
api_1.ClanDescList.encode(message.clan_desc_list, writer.uint32(26).fork()).ldelim();
|
|
12271
|
-
}
|
|
12272
|
-
if (message.list_thread_req !== undefined) {
|
|
12273
|
-
api_1.ListThreadRequest.encode(message.list_thread_req, writer.uint32(34).fork()).ldelim();
|
|
12274
|
-
}
|
|
12275
|
-
if (message.channel_desc_list !== undefined) {
|
|
12276
|
-
api_1.ChannelDescList.encode(message.channel_desc_list, writer.uint32(42).fork()).ldelim();
|
|
12277
|
-
}
|
|
12278
|
-
if (message.list_channel_users_uc_req !== undefined) {
|
|
12279
|
-
api_1.AllUsersAddChannelRequest.encode(message.list_channel_users_uc_req, writer.uint32(50).fork()).ldelim();
|
|
12280
|
-
}
|
|
12281
|
-
if (message.channel_users_uc_list !== undefined) {
|
|
12282
|
-
api_1.AllUsersAddChannelResponse.encode(message.channel_users_uc_list, writer.uint32(58).fork()).ldelim();
|
|
12283
|
-
}
|
|
12284
|
-
if (message.list_channel_detail_req !== undefined) {
|
|
12285
|
-
api_1.ListChannelDetailRequest.encode(message.list_channel_detail_req, writer.uint32(66).fork()).ldelim();
|
|
12286
|
-
}
|
|
12287
|
-
if (message.channel_desc !== undefined) {
|
|
12288
|
-
api_1.ChannelDescription.encode(message.channel_desc, writer.uint32(74).fork()).ldelim();
|
|
12289
|
-
}
|
|
12290
|
-
if (message.list_channel_req !== undefined) {
|
|
12291
|
-
api_1.ListChannelDescsRequest.encode(message.list_channel_req, writer.uint32(82).fork()).ldelim();
|
|
12292
|
-
}
|
|
12293
|
-
if (message.list_channel_message_req !== undefined) {
|
|
12294
|
-
api_1.ListChannelMessagesRequest.encode(message.list_channel_message_req, writer.uint32(90).fork()).ldelim();
|
|
12295
|
-
}
|
|
12296
|
-
if (message.channel_message_list !== undefined) {
|
|
12297
|
-
api_1.ChannelMessageList.encode(message.channel_message_list, writer.uint32(98).fork()).ldelim();
|
|
12298
|
-
}
|
|
12299
|
-
if (message.list_channel_users_req !== undefined) {
|
|
12300
|
-
api_1.ListChannelUsersRequest.encode(message.list_channel_users_req, writer.uint32(106).fork()).ldelim();
|
|
12301
|
-
}
|
|
12302
|
-
if (message.voice_user_list !== undefined) {
|
|
12303
|
-
api_1.VoiceChannelUserList.encode(message.voice_user_list, writer.uint32(114).fork()).ldelim();
|
|
12304
|
-
}
|
|
12305
|
-
if (message.channel_user_list !== undefined) {
|
|
12306
|
-
api_1.ChannelUserList.encode(message.channel_user_list, writer.uint32(122).fork()).ldelim();
|
|
12307
|
-
}
|
|
12308
|
-
if (message.list_channel_attachment_req !== undefined) {
|
|
12309
|
-
api_1.ListChannelAttachmentRequest.encode(message.list_channel_attachment_req, writer.uint32(130).fork()).ldelim();
|
|
12310
|
-
}
|
|
12311
|
-
if (message.channel_attachment_list !== undefined) {
|
|
12312
|
-
api_1.ChannelAttachmentList.encode(message.channel_attachment_list, writer.uint32(138).fork()).ldelim();
|
|
12313
|
-
}
|
|
12314
|
-
if (message.channel_setting_req !== undefined) {
|
|
12315
|
-
api_1.ChannelSettingListRequest.encode(message.channel_setting_req, writer.uint32(162).fork()).ldelim();
|
|
12316
|
-
}
|
|
12317
|
-
if (message.channel_setting_list !== undefined) {
|
|
12318
|
-
api_1.ChannelSettingListResponse.encode(message.channel_setting_list, writer.uint32(170).fork()).ldelim();
|
|
12319
|
-
}
|
|
12320
|
-
if (message.favorite_channel_req !== undefined) {
|
|
12321
|
-
api_1.ListFavoriteChannelRequest.encode(message.favorite_channel_req, writer.uint32(178).fork()).ldelim();
|
|
12322
|
-
}
|
|
12323
|
-
if (message.favorite_channel_list !== undefined) {
|
|
12324
|
-
api_1.ListFavoriteChannelResponse.encode(message.favorite_channel_list, writer.uint32(186).fork()).ldelim();
|
|
12325
|
-
}
|
|
12326
|
-
if (message.search_thread_req !== undefined) {
|
|
12327
|
-
api_1.SearchThreadRequest.encode(message.search_thread_req, writer.uint32(194).fork()).ldelim();
|
|
12328
|
-
}
|
|
12329
|
-
if (message.notification_channel !== undefined) {
|
|
12330
|
-
api_1.NotificationChannel.encode(message.notification_channel, writer.uint32(202).fork()).ldelim();
|
|
12331
|
-
}
|
|
12332
|
-
if (message.notificaion_user_channel !== undefined) {
|
|
12333
|
-
api_1.NotificationUserChannel.encode(message.notificaion_user_channel, writer.uint32(210).fork()).ldelim();
|
|
12334
|
-
}
|
|
12335
|
-
if (message.notification_category !== undefined) {
|
|
12336
|
-
api_1.DefaultNotificationCategory.encode(message.notification_category, writer.uint32(218).fork()).ldelim();
|
|
12337
|
-
}
|
|
12338
|
-
if (message.notification_clan !== undefined) {
|
|
12339
|
-
api_1.NotificationClan.encode(message.notification_clan, writer.uint32(226).fork()).ldelim();
|
|
12340
|
-
}
|
|
12341
|
-
if (message.notification_setting !== undefined) {
|
|
12342
|
-
api_1.NotificationSetting.encode(message.notification_setting, writer.uint32(234).fork()).ldelim();
|
|
12343
|
-
}
|
|
12344
|
-
if (message.notification_message !== undefined) {
|
|
12345
|
-
api_1.NotifiReactMessage.encode(message.notification_message, writer.uint32(242).fork()).ldelim();
|
|
12346
|
-
}
|
|
12347
|
-
if (message.noti_channel_cat_setting_list !== undefined) {
|
|
12348
|
-
api_1.NotificationChannelCategorySettingList.encode(message.noti_channel_cat_setting_list, writer.uint32(250).fork())
|
|
12349
|
-
.ldelim();
|
|
12350
|
-
}
|
|
12351
|
-
if (message.list_notification_req !== undefined) {
|
|
12352
|
-
api_1.ListNotificationsRequest.encode(message.list_notification_req, writer.uint32(258).fork()).ldelim();
|
|
12353
|
-
}
|
|
12354
|
-
if (message.notification_list !== undefined) {
|
|
12355
|
-
api_1.NotificationList.encode(message.notification_list, writer.uint32(266).fork()).ldelim();
|
|
12356
|
-
}
|
|
12357
|
-
if (message.sticker_list !== undefined) {
|
|
12358
|
-
api_1.StickerListedResponse.encode(message.sticker_list, writer.uint32(274).fork()).ldelim();
|
|
12359
|
-
}
|
|
12360
|
-
if (message.emoji_recent_list !== undefined) {
|
|
12361
|
-
api_1.EmojiRecentList.encode(message.emoji_recent_list, writer.uint32(282).fork()).ldelim();
|
|
12362
|
-
}
|
|
12363
|
-
if (message.clan_webhook_req !== undefined) {
|
|
12364
|
-
api_1.ListClanWebhookRequest.encode(message.clan_webhook_req, writer.uint32(290).fork()).ldelim();
|
|
12365
|
-
}
|
|
12366
|
-
if (message.clan_webhook_list !== undefined) {
|
|
12367
|
-
api_1.ListClanWebhookResponse.encode(message.clan_webhook_list, writer.uint32(298).fork()).ldelim();
|
|
12368
|
-
}
|
|
12369
|
-
if (message.webhook_list_req !== undefined) {
|
|
12370
|
-
api_1.WebhookListRequest.encode(message.webhook_list_req, writer.uint32(306).fork()).ldelim();
|
|
12371
|
-
}
|
|
12372
|
-
if (message.webhook_list !== undefined) {
|
|
12373
|
-
api_1.WebhookListResponse.encode(message.webhook_list, writer.uint32(314).fork()).ldelim();
|
|
12374
|
-
}
|
|
12375
|
-
if (message.permission_list_req !== undefined) {
|
|
12376
|
-
api_1.ListPermissionsRequest.encode(message.permission_list_req, writer.uint32(322).fork()).ldelim();
|
|
12377
|
-
}
|
|
12378
|
-
if (message.permission_list !== undefined) {
|
|
12379
|
-
api_1.PermissionList.encode(message.permission_list, writer.uint32(330).fork()).ldelim();
|
|
12380
|
-
}
|
|
12381
|
-
if (message.role_user_req !== undefined) {
|
|
12382
|
-
api_1.ListRoleUsersRequest.encode(message.role_user_req, writer.uint32(338).fork()).ldelim();
|
|
12383
|
-
}
|
|
12384
|
-
if (message.role_user_list !== undefined) {
|
|
12385
|
-
api_1.RoleUserList.encode(message.role_user_list, writer.uint32(346).fork()).ldelim();
|
|
12386
|
-
}
|
|
12387
|
-
if (message.permission_user_req !== undefined) {
|
|
12388
|
-
api_1.ListPermissionOfUsersRequest.encode(message.permission_user_req, writer.uint32(354).fork()).ldelim();
|
|
12389
|
-
}
|
|
12390
|
-
if (message.role_list !== undefined) {
|
|
12391
|
-
api_1.RoleList.encode(message.role_list, writer.uint32(362).fork()).ldelim();
|
|
12392
|
-
}
|
|
12393
|
-
if (message.role_list_event_req !== undefined) {
|
|
12394
|
-
api_1.RoleListEventRequest.encode(message.role_list_event_req, writer.uint32(370).fork()).ldelim();
|
|
12395
|
-
}
|
|
12396
|
-
if (message.role_event_list !== undefined) {
|
|
12397
|
-
api_1.RoleListEventResponse.encode(message.role_event_list, writer.uint32(378).fork()).ldelim();
|
|
12398
|
-
}
|
|
12399
|
-
if (message.user_permission_req !== undefined) {
|
|
12400
|
-
api_1.UserPermissionInChannelListRequest.encode(message.user_permission_req, writer.uint32(386).fork()).ldelim();
|
|
12401
|
-
}
|
|
12402
|
-
if (message.user_permission_list !== undefined) {
|
|
12403
|
-
api_1.UserPermissionInChannelListResponse.encode(message.user_permission_list, writer.uint32(394).fork()).ldelim();
|
|
12404
|
-
}
|
|
12405
|
-
if (message.permission_role_req !== undefined) {
|
|
12406
|
-
api_1.PermissionRoleChannelListEventRequest.encode(message.permission_role_req, writer.uint32(402).fork()).ldelim();
|
|
12407
|
-
}
|
|
12408
|
-
if (message.permission_role_list !== undefined) {
|
|
12409
|
-
api_1.PermissionRoleChannelListEventResponse.encode(message.permission_role_list, writer.uint32(410).fork()).ldelim();
|
|
12410
|
-
}
|
|
12411
|
-
if (message.emoji_list !== undefined) {
|
|
12412
|
-
api_1.EmojiListedResponse.encode(message.emoji_list, writer.uint32(418).fork()).ldelim();
|
|
12413
|
-
}
|
|
12414
|
-
if (message.list_friend_req !== undefined) {
|
|
12415
|
-
api_1.ListFriendsRequest.encode(message.list_friend_req, writer.uint32(426).fork()).ldelim();
|
|
12416
|
-
}
|
|
12417
|
-
if (message.friend_list !== undefined) {
|
|
12418
|
-
api_1.FriendList.encode(message.friend_list, writer.uint32(434).fork()).ldelim();
|
|
12419
|
-
}
|
|
12420
|
-
if (message.list_apps_req !== undefined) {
|
|
12421
|
-
api_1.ListChannelAppsRequest.encode(message.list_apps_req, writer.uint32(442).fork()).ldelim();
|
|
12422
|
-
}
|
|
12423
|
-
if (message.channel_apps_list !== undefined) {
|
|
12424
|
-
api_1.ListChannelAppsResponse.encode(message.channel_apps_list, writer.uint32(450).fork()).ldelim();
|
|
12425
|
-
}
|
|
12426
|
-
if (message.user_activity_list !== undefined) {
|
|
12427
|
-
api_1.ListUserActivity.encode(message.user_activity_list, writer.uint32(458).fork()).ldelim();
|
|
12428
|
-
}
|
|
12429
|
-
if (message.list_clan_user_req !== undefined) {
|
|
12430
|
-
api_1.ListClanUsersRequest.encode(message.list_clan_user_req, writer.uint32(466).fork()).ldelim();
|
|
12431
|
-
}
|
|
12432
|
-
if (message.clan_user_list !== undefined) {
|
|
12433
|
-
api_1.ClanUserList.encode(message.clan_user_list, writer.uint32(474).fork()).ldelim();
|
|
12434
|
-
}
|
|
12435
|
-
if (message.list_event_req !== undefined) {
|
|
12436
|
-
api_1.ListEventsRequest.encode(message.list_event_req, writer.uint32(482).fork()).ldelim();
|
|
12437
|
-
}
|
|
12438
|
-
if (message.event_list !== undefined) {
|
|
12439
|
-
api_1.EventList.encode(message.event_list, writer.uint32(490).fork()).ldelim();
|
|
12440
|
-
}
|
|
12441
|
-
if (message.list_category_req !== undefined) {
|
|
12442
|
-
api_1.CategoryDesc.encode(message.list_category_req, writer.uint32(498).fork()).ldelim();
|
|
12443
|
-
}
|
|
12444
|
-
if (message.category_list !== undefined) {
|
|
12445
|
-
api_1.CategoryDescList.encode(message.category_list, writer.uint32(506).fork()).ldelim();
|
|
12446
|
-
}
|
|
12447
|
-
if (message.stream_user_list !== undefined) {
|
|
12448
|
-
api_1.StreamingChannelUserList.encode(message.stream_user_list, writer.uint32(514).fork()).ldelim();
|
|
12449
|
-
}
|
|
12450
12237
|
if (message.list_unread_msg_indicator_req !== undefined) {
|
|
12451
|
-
api_1.ListClanUnreadMsgIndicatorRequest.encode(message.list_unread_msg_indicator_req, writer.uint32(
|
|
12238
|
+
api_1.ListClanUnreadMsgIndicatorRequest.encode(message.list_unread_msg_indicator_req, writer.uint32(18).fork())
|
|
12452
12239
|
.ldelim();
|
|
12453
12240
|
}
|
|
12454
12241
|
if (message.unread_msg_indicator !== undefined) {
|
|
12455
|
-
api_1.ListClanUnreadMsgIndicatorResponse.encode(message.unread_msg_indicator, writer.uint32(
|
|
12242
|
+
api_1.ListClanUnreadMsgIndicatorResponse.encode(message.unread_msg_indicator, writer.uint32(26).fork()).ldelim();
|
|
12456
12243
|
}
|
|
12457
12244
|
if (message.list_clan_badge_count_req !== undefined) {
|
|
12458
|
-
api_1.ListClanBadgeCountRequest.encode(message.list_clan_badge_count_req, writer.uint32(
|
|
12245
|
+
api_1.ListClanBadgeCountRequest.encode(message.list_clan_badge_count_req, writer.uint32(34).fork()).ldelim();
|
|
12459
12246
|
}
|
|
12460
12247
|
if (message.clan_badge_count !== undefined) {
|
|
12461
|
-
api_1.ListClanBadgeCountResponse.encode(message.clan_badge_count, writer.uint32(
|
|
12248
|
+
api_1.ListClanBadgeCountResponse.encode(message.clan_badge_count, writer.uint32(42).fork()).ldelim();
|
|
12249
|
+
}
|
|
12250
|
+
if (message.list_loged_device !== undefined) {
|
|
12251
|
+
api_1.LogedDeviceList.encode(message.list_loged_device, writer.uint32(50).fork()).ldelim();
|
|
12462
12252
|
}
|
|
12463
12253
|
return writer;
|
|
12464
12254
|
},
|
|
@@ -12479,1041 +12269,167 @@ exports.ListDataSocket = {
|
|
|
12479
12269
|
if (tag !== 18) {
|
|
12480
12270
|
break;
|
|
12481
12271
|
}
|
|
12482
|
-
message.
|
|
12272
|
+
message.list_unread_msg_indicator_req = api_1.ListClanUnreadMsgIndicatorRequest.decode(reader, reader.uint32());
|
|
12483
12273
|
continue;
|
|
12484
12274
|
case 3:
|
|
12485
12275
|
if (tag !== 26) {
|
|
12486
12276
|
break;
|
|
12487
12277
|
}
|
|
12488
|
-
message.
|
|
12278
|
+
message.unread_msg_indicator = api_1.ListClanUnreadMsgIndicatorResponse.decode(reader, reader.uint32());
|
|
12489
12279
|
continue;
|
|
12490
12280
|
case 4:
|
|
12491
12281
|
if (tag !== 34) {
|
|
12492
12282
|
break;
|
|
12493
12283
|
}
|
|
12494
|
-
message.
|
|
12284
|
+
message.list_clan_badge_count_req = api_1.ListClanBadgeCountRequest.decode(reader, reader.uint32());
|
|
12495
12285
|
continue;
|
|
12496
12286
|
case 5:
|
|
12497
12287
|
if (tag !== 42) {
|
|
12498
12288
|
break;
|
|
12499
12289
|
}
|
|
12500
|
-
message.
|
|
12290
|
+
message.clan_badge_count = api_1.ListClanBadgeCountResponse.decode(reader, reader.uint32());
|
|
12501
12291
|
continue;
|
|
12502
12292
|
case 6:
|
|
12503
12293
|
if (tag !== 50) {
|
|
12504
12294
|
break;
|
|
12505
12295
|
}
|
|
12506
|
-
message.
|
|
12507
|
-
continue;
|
|
12508
|
-
case 7:
|
|
12509
|
-
if (tag !== 58) {
|
|
12510
|
-
break;
|
|
12511
|
-
}
|
|
12512
|
-
message.channel_users_uc_list = api_1.AllUsersAddChannelResponse.decode(reader, reader.uint32());
|
|
12513
|
-
continue;
|
|
12514
|
-
case 8:
|
|
12515
|
-
if (tag !== 66) {
|
|
12516
|
-
break;
|
|
12517
|
-
}
|
|
12518
|
-
message.list_channel_detail_req = api_1.ListChannelDetailRequest.decode(reader, reader.uint32());
|
|
12519
|
-
continue;
|
|
12520
|
-
case 9:
|
|
12521
|
-
if (tag !== 74) {
|
|
12522
|
-
break;
|
|
12523
|
-
}
|
|
12524
|
-
message.channel_desc = api_1.ChannelDescription.decode(reader, reader.uint32());
|
|
12525
|
-
continue;
|
|
12526
|
-
case 10:
|
|
12527
|
-
if (tag !== 82) {
|
|
12528
|
-
break;
|
|
12529
|
-
}
|
|
12530
|
-
message.list_channel_req = api_1.ListChannelDescsRequest.decode(reader, reader.uint32());
|
|
12296
|
+
message.list_loged_device = api_1.LogedDeviceList.decode(reader, reader.uint32());
|
|
12531
12297
|
continue;
|
|
12532
|
-
|
|
12533
|
-
|
|
12298
|
+
}
|
|
12299
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
12300
|
+
break;
|
|
12301
|
+
}
|
|
12302
|
+
reader.skipType(tag & 7);
|
|
12303
|
+
}
|
|
12304
|
+
return message;
|
|
12305
|
+
},
|
|
12306
|
+
fromJSON(object) {
|
|
12307
|
+
return {
|
|
12308
|
+
api_name: isSet(object.api_name) ? globalThis.String(object.api_name) : "",
|
|
12309
|
+
list_unread_msg_indicator_req: isSet(object.list_unread_msg_indicator_req)
|
|
12310
|
+
? api_1.ListClanUnreadMsgIndicatorRequest.fromJSON(object.list_unread_msg_indicator_req)
|
|
12311
|
+
: undefined,
|
|
12312
|
+
unread_msg_indicator: isSet(object.unread_msg_indicator)
|
|
12313
|
+
? api_1.ListClanUnreadMsgIndicatorResponse.fromJSON(object.unread_msg_indicator)
|
|
12314
|
+
: undefined,
|
|
12315
|
+
list_clan_badge_count_req: isSet(object.list_clan_badge_count_req)
|
|
12316
|
+
? api_1.ListClanBadgeCountRequest.fromJSON(object.list_clan_badge_count_req)
|
|
12317
|
+
: undefined,
|
|
12318
|
+
clan_badge_count: isSet(object.clan_badge_count)
|
|
12319
|
+
? api_1.ListClanBadgeCountResponse.fromJSON(object.clan_badge_count)
|
|
12320
|
+
: undefined,
|
|
12321
|
+
list_loged_device: isSet(object.list_loged_device)
|
|
12322
|
+
? api_1.LogedDeviceList.fromJSON(object.list_loged_device)
|
|
12323
|
+
: undefined,
|
|
12324
|
+
};
|
|
12325
|
+
},
|
|
12326
|
+
toJSON(message) {
|
|
12327
|
+
const obj = {};
|
|
12328
|
+
if (message.api_name !== "") {
|
|
12329
|
+
obj.api_name = message.api_name;
|
|
12330
|
+
}
|
|
12331
|
+
if (message.list_unread_msg_indicator_req !== undefined) {
|
|
12332
|
+
obj.list_unread_msg_indicator_req = api_1.ListClanUnreadMsgIndicatorRequest.toJSON(message.list_unread_msg_indicator_req);
|
|
12333
|
+
}
|
|
12334
|
+
if (message.unread_msg_indicator !== undefined) {
|
|
12335
|
+
obj.unread_msg_indicator = api_1.ListClanUnreadMsgIndicatorResponse.toJSON(message.unread_msg_indicator);
|
|
12336
|
+
}
|
|
12337
|
+
if (message.list_clan_badge_count_req !== undefined) {
|
|
12338
|
+
obj.list_clan_badge_count_req = api_1.ListClanBadgeCountRequest.toJSON(message.list_clan_badge_count_req);
|
|
12339
|
+
}
|
|
12340
|
+
if (message.clan_badge_count !== undefined) {
|
|
12341
|
+
obj.clan_badge_count = api_1.ListClanBadgeCountResponse.toJSON(message.clan_badge_count);
|
|
12342
|
+
}
|
|
12343
|
+
if (message.list_loged_device !== undefined) {
|
|
12344
|
+
obj.list_loged_device = api_1.LogedDeviceList.toJSON(message.list_loged_device);
|
|
12345
|
+
}
|
|
12346
|
+
return obj;
|
|
12347
|
+
},
|
|
12348
|
+
create(base) {
|
|
12349
|
+
return exports.ListDataSocket.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
12350
|
+
},
|
|
12351
|
+
fromPartial(object) {
|
|
12352
|
+
var _a;
|
|
12353
|
+
const message = createBaseListDataSocket();
|
|
12354
|
+
message.api_name = (_a = object.api_name) !== null && _a !== void 0 ? _a : "";
|
|
12355
|
+
message.list_unread_msg_indicator_req =
|
|
12356
|
+
(object.list_unread_msg_indicator_req !== undefined && object.list_unread_msg_indicator_req !== null)
|
|
12357
|
+
? api_1.ListClanUnreadMsgIndicatorRequest.fromPartial(object.list_unread_msg_indicator_req)
|
|
12358
|
+
: undefined;
|
|
12359
|
+
message.unread_msg_indicator = (object.unread_msg_indicator !== undefined && object.unread_msg_indicator !== null)
|
|
12360
|
+
? api_1.ListClanUnreadMsgIndicatorResponse.fromPartial(object.unread_msg_indicator)
|
|
12361
|
+
: undefined;
|
|
12362
|
+
message.list_clan_badge_count_req =
|
|
12363
|
+
(object.list_clan_badge_count_req !== undefined && object.list_clan_badge_count_req !== null)
|
|
12364
|
+
? api_1.ListClanBadgeCountRequest.fromPartial(object.list_clan_badge_count_req)
|
|
12365
|
+
: undefined;
|
|
12366
|
+
message.clan_badge_count = (object.clan_badge_count !== undefined && object.clan_badge_count !== null)
|
|
12367
|
+
? api_1.ListClanBadgeCountResponse.fromPartial(object.clan_badge_count)
|
|
12368
|
+
: undefined;
|
|
12369
|
+
message.list_loged_device = (object.list_loged_device !== undefined && object.list_loged_device !== null)
|
|
12370
|
+
? api_1.LogedDeviceList.fromPartial(object.list_loged_device)
|
|
12371
|
+
: undefined;
|
|
12372
|
+
return message;
|
|
12373
|
+
},
|
|
12374
|
+
};
|
|
12375
|
+
function createBaseMeetParticipantEvent() {
|
|
12376
|
+
return { username: "", room_name: "", channel_id: "0", clan_id: "0", action: 0 };
|
|
12377
|
+
}
|
|
12378
|
+
exports.MeetParticipantEvent = {
|
|
12379
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
12380
|
+
if (message.username !== "") {
|
|
12381
|
+
writer.uint32(10).string(message.username);
|
|
12382
|
+
}
|
|
12383
|
+
if (message.room_name !== "") {
|
|
12384
|
+
writer.uint32(18).string(message.room_name);
|
|
12385
|
+
}
|
|
12386
|
+
if (message.channel_id !== "0") {
|
|
12387
|
+
writer.uint32(24).int64(message.channel_id);
|
|
12388
|
+
}
|
|
12389
|
+
if (message.clan_id !== "0") {
|
|
12390
|
+
writer.uint32(32).int64(message.clan_id);
|
|
12391
|
+
}
|
|
12392
|
+
if (message.action !== 0) {
|
|
12393
|
+
writer.uint32(40).int32(message.action);
|
|
12394
|
+
}
|
|
12395
|
+
return writer;
|
|
12396
|
+
},
|
|
12397
|
+
decode(input, length) {
|
|
12398
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
12399
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
12400
|
+
const message = createBaseMeetParticipantEvent();
|
|
12401
|
+
while (reader.pos < end) {
|
|
12402
|
+
const tag = reader.uint32();
|
|
12403
|
+
switch (tag >>> 3) {
|
|
12404
|
+
case 1:
|
|
12405
|
+
if (tag !== 10) {
|
|
12534
12406
|
break;
|
|
12535
12407
|
}
|
|
12536
|
-
message.
|
|
12408
|
+
message.username = reader.string();
|
|
12537
12409
|
continue;
|
|
12538
|
-
case
|
|
12539
|
-
if (tag !==
|
|
12410
|
+
case 2:
|
|
12411
|
+
if (tag !== 18) {
|
|
12540
12412
|
break;
|
|
12541
12413
|
}
|
|
12542
|
-
message.
|
|
12414
|
+
message.room_name = reader.string();
|
|
12543
12415
|
continue;
|
|
12544
|
-
case
|
|
12545
|
-
if (tag !==
|
|
12416
|
+
case 3:
|
|
12417
|
+
if (tag !== 24) {
|
|
12546
12418
|
break;
|
|
12547
12419
|
}
|
|
12548
|
-
message.
|
|
12420
|
+
message.channel_id = longToString(reader.int64());
|
|
12549
12421
|
continue;
|
|
12550
|
-
case
|
|
12551
|
-
if (tag !==
|
|
12422
|
+
case 4:
|
|
12423
|
+
if (tag !== 32) {
|
|
12552
12424
|
break;
|
|
12553
12425
|
}
|
|
12554
|
-
message.
|
|
12426
|
+
message.clan_id = longToString(reader.int64());
|
|
12555
12427
|
continue;
|
|
12556
|
-
case
|
|
12557
|
-
if (tag !==
|
|
12428
|
+
case 5:
|
|
12429
|
+
if (tag !== 40) {
|
|
12558
12430
|
break;
|
|
12559
12431
|
}
|
|
12560
|
-
message.
|
|
12561
|
-
continue;
|
|
12562
|
-
case 16:
|
|
12563
|
-
if (tag !== 130) {
|
|
12564
|
-
break;
|
|
12565
|
-
}
|
|
12566
|
-
message.list_channel_attachment_req = api_1.ListChannelAttachmentRequest.decode(reader, reader.uint32());
|
|
12567
|
-
continue;
|
|
12568
|
-
case 17:
|
|
12569
|
-
if (tag !== 138) {
|
|
12570
|
-
break;
|
|
12571
|
-
}
|
|
12572
|
-
message.channel_attachment_list = api_1.ChannelAttachmentList.decode(reader, reader.uint32());
|
|
12573
|
-
continue;
|
|
12574
|
-
case 20:
|
|
12575
|
-
if (tag !== 162) {
|
|
12576
|
-
break;
|
|
12577
|
-
}
|
|
12578
|
-
message.channel_setting_req = api_1.ChannelSettingListRequest.decode(reader, reader.uint32());
|
|
12579
|
-
continue;
|
|
12580
|
-
case 21:
|
|
12581
|
-
if (tag !== 170) {
|
|
12582
|
-
break;
|
|
12583
|
-
}
|
|
12584
|
-
message.channel_setting_list = api_1.ChannelSettingListResponse.decode(reader, reader.uint32());
|
|
12585
|
-
continue;
|
|
12586
|
-
case 22:
|
|
12587
|
-
if (tag !== 178) {
|
|
12588
|
-
break;
|
|
12589
|
-
}
|
|
12590
|
-
message.favorite_channel_req = api_1.ListFavoriteChannelRequest.decode(reader, reader.uint32());
|
|
12591
|
-
continue;
|
|
12592
|
-
case 23:
|
|
12593
|
-
if (tag !== 186) {
|
|
12594
|
-
break;
|
|
12595
|
-
}
|
|
12596
|
-
message.favorite_channel_list = api_1.ListFavoriteChannelResponse.decode(reader, reader.uint32());
|
|
12597
|
-
continue;
|
|
12598
|
-
case 24:
|
|
12599
|
-
if (tag !== 194) {
|
|
12600
|
-
break;
|
|
12601
|
-
}
|
|
12602
|
-
message.search_thread_req = api_1.SearchThreadRequest.decode(reader, reader.uint32());
|
|
12603
|
-
continue;
|
|
12604
|
-
case 25:
|
|
12605
|
-
if (tag !== 202) {
|
|
12606
|
-
break;
|
|
12607
|
-
}
|
|
12608
|
-
message.notification_channel = api_1.NotificationChannel.decode(reader, reader.uint32());
|
|
12609
|
-
continue;
|
|
12610
|
-
case 26:
|
|
12611
|
-
if (tag !== 210) {
|
|
12612
|
-
break;
|
|
12613
|
-
}
|
|
12614
|
-
message.notificaion_user_channel = api_1.NotificationUserChannel.decode(reader, reader.uint32());
|
|
12615
|
-
continue;
|
|
12616
|
-
case 27:
|
|
12617
|
-
if (tag !== 218) {
|
|
12618
|
-
break;
|
|
12619
|
-
}
|
|
12620
|
-
message.notification_category = api_1.DefaultNotificationCategory.decode(reader, reader.uint32());
|
|
12621
|
-
continue;
|
|
12622
|
-
case 28:
|
|
12623
|
-
if (tag !== 226) {
|
|
12624
|
-
break;
|
|
12625
|
-
}
|
|
12626
|
-
message.notification_clan = api_1.NotificationClan.decode(reader, reader.uint32());
|
|
12627
|
-
continue;
|
|
12628
|
-
case 29:
|
|
12629
|
-
if (tag !== 234) {
|
|
12630
|
-
break;
|
|
12631
|
-
}
|
|
12632
|
-
message.notification_setting = api_1.NotificationSetting.decode(reader, reader.uint32());
|
|
12633
|
-
continue;
|
|
12634
|
-
case 30:
|
|
12635
|
-
if (tag !== 242) {
|
|
12636
|
-
break;
|
|
12637
|
-
}
|
|
12638
|
-
message.notification_message = api_1.NotifiReactMessage.decode(reader, reader.uint32());
|
|
12639
|
-
continue;
|
|
12640
|
-
case 31:
|
|
12641
|
-
if (tag !== 250) {
|
|
12642
|
-
break;
|
|
12643
|
-
}
|
|
12644
|
-
message.noti_channel_cat_setting_list = api_1.NotificationChannelCategorySettingList.decode(reader, reader.uint32());
|
|
12645
|
-
continue;
|
|
12646
|
-
case 32:
|
|
12647
|
-
if (tag !== 258) {
|
|
12648
|
-
break;
|
|
12649
|
-
}
|
|
12650
|
-
message.list_notification_req = api_1.ListNotificationsRequest.decode(reader, reader.uint32());
|
|
12651
|
-
continue;
|
|
12652
|
-
case 33:
|
|
12653
|
-
if (tag !== 266) {
|
|
12654
|
-
break;
|
|
12655
|
-
}
|
|
12656
|
-
message.notification_list = api_1.NotificationList.decode(reader, reader.uint32());
|
|
12657
|
-
continue;
|
|
12658
|
-
case 34:
|
|
12659
|
-
if (tag !== 274) {
|
|
12660
|
-
break;
|
|
12661
|
-
}
|
|
12662
|
-
message.sticker_list = api_1.StickerListedResponse.decode(reader, reader.uint32());
|
|
12663
|
-
continue;
|
|
12664
|
-
case 35:
|
|
12665
|
-
if (tag !== 282) {
|
|
12666
|
-
break;
|
|
12667
|
-
}
|
|
12668
|
-
message.emoji_recent_list = api_1.EmojiRecentList.decode(reader, reader.uint32());
|
|
12669
|
-
continue;
|
|
12670
|
-
case 36:
|
|
12671
|
-
if (tag !== 290) {
|
|
12672
|
-
break;
|
|
12673
|
-
}
|
|
12674
|
-
message.clan_webhook_req = api_1.ListClanWebhookRequest.decode(reader, reader.uint32());
|
|
12675
|
-
continue;
|
|
12676
|
-
case 37:
|
|
12677
|
-
if (tag !== 298) {
|
|
12678
|
-
break;
|
|
12679
|
-
}
|
|
12680
|
-
message.clan_webhook_list = api_1.ListClanWebhookResponse.decode(reader, reader.uint32());
|
|
12681
|
-
continue;
|
|
12682
|
-
case 38:
|
|
12683
|
-
if (tag !== 306) {
|
|
12684
|
-
break;
|
|
12685
|
-
}
|
|
12686
|
-
message.webhook_list_req = api_1.WebhookListRequest.decode(reader, reader.uint32());
|
|
12687
|
-
continue;
|
|
12688
|
-
case 39:
|
|
12689
|
-
if (tag !== 314) {
|
|
12690
|
-
break;
|
|
12691
|
-
}
|
|
12692
|
-
message.webhook_list = api_1.WebhookListResponse.decode(reader, reader.uint32());
|
|
12693
|
-
continue;
|
|
12694
|
-
case 40:
|
|
12695
|
-
if (tag !== 322) {
|
|
12696
|
-
break;
|
|
12697
|
-
}
|
|
12698
|
-
message.permission_list_req = api_1.ListPermissionsRequest.decode(reader, reader.uint32());
|
|
12699
|
-
continue;
|
|
12700
|
-
case 41:
|
|
12701
|
-
if (tag !== 330) {
|
|
12702
|
-
break;
|
|
12703
|
-
}
|
|
12704
|
-
message.permission_list = api_1.PermissionList.decode(reader, reader.uint32());
|
|
12705
|
-
continue;
|
|
12706
|
-
case 42:
|
|
12707
|
-
if (tag !== 338) {
|
|
12708
|
-
break;
|
|
12709
|
-
}
|
|
12710
|
-
message.role_user_req = api_1.ListRoleUsersRequest.decode(reader, reader.uint32());
|
|
12711
|
-
continue;
|
|
12712
|
-
case 43:
|
|
12713
|
-
if (tag !== 346) {
|
|
12714
|
-
break;
|
|
12715
|
-
}
|
|
12716
|
-
message.role_user_list = api_1.RoleUserList.decode(reader, reader.uint32());
|
|
12717
|
-
continue;
|
|
12718
|
-
case 44:
|
|
12719
|
-
if (tag !== 354) {
|
|
12720
|
-
break;
|
|
12721
|
-
}
|
|
12722
|
-
message.permission_user_req = api_1.ListPermissionOfUsersRequest.decode(reader, reader.uint32());
|
|
12723
|
-
continue;
|
|
12724
|
-
case 45:
|
|
12725
|
-
if (tag !== 362) {
|
|
12726
|
-
break;
|
|
12727
|
-
}
|
|
12728
|
-
message.role_list = api_1.RoleList.decode(reader, reader.uint32());
|
|
12729
|
-
continue;
|
|
12730
|
-
case 46:
|
|
12731
|
-
if (tag !== 370) {
|
|
12732
|
-
break;
|
|
12733
|
-
}
|
|
12734
|
-
message.role_list_event_req = api_1.RoleListEventRequest.decode(reader, reader.uint32());
|
|
12735
|
-
continue;
|
|
12736
|
-
case 47:
|
|
12737
|
-
if (tag !== 378) {
|
|
12738
|
-
break;
|
|
12739
|
-
}
|
|
12740
|
-
message.role_event_list = api_1.RoleListEventResponse.decode(reader, reader.uint32());
|
|
12741
|
-
continue;
|
|
12742
|
-
case 48:
|
|
12743
|
-
if (tag !== 386) {
|
|
12744
|
-
break;
|
|
12745
|
-
}
|
|
12746
|
-
message.user_permission_req = api_1.UserPermissionInChannelListRequest.decode(reader, reader.uint32());
|
|
12747
|
-
continue;
|
|
12748
|
-
case 49:
|
|
12749
|
-
if (tag !== 394) {
|
|
12750
|
-
break;
|
|
12751
|
-
}
|
|
12752
|
-
message.user_permission_list = api_1.UserPermissionInChannelListResponse.decode(reader, reader.uint32());
|
|
12753
|
-
continue;
|
|
12754
|
-
case 50:
|
|
12755
|
-
if (tag !== 402) {
|
|
12756
|
-
break;
|
|
12757
|
-
}
|
|
12758
|
-
message.permission_role_req = api_1.PermissionRoleChannelListEventRequest.decode(reader, reader.uint32());
|
|
12759
|
-
continue;
|
|
12760
|
-
case 51:
|
|
12761
|
-
if (tag !== 410) {
|
|
12762
|
-
break;
|
|
12763
|
-
}
|
|
12764
|
-
message.permission_role_list = api_1.PermissionRoleChannelListEventResponse.decode(reader, reader.uint32());
|
|
12765
|
-
continue;
|
|
12766
|
-
case 52:
|
|
12767
|
-
if (tag !== 418) {
|
|
12768
|
-
break;
|
|
12769
|
-
}
|
|
12770
|
-
message.emoji_list = api_1.EmojiListedResponse.decode(reader, reader.uint32());
|
|
12771
|
-
continue;
|
|
12772
|
-
case 53:
|
|
12773
|
-
if (tag !== 426) {
|
|
12774
|
-
break;
|
|
12775
|
-
}
|
|
12776
|
-
message.list_friend_req = api_1.ListFriendsRequest.decode(reader, reader.uint32());
|
|
12777
|
-
continue;
|
|
12778
|
-
case 54:
|
|
12779
|
-
if (tag !== 434) {
|
|
12780
|
-
break;
|
|
12781
|
-
}
|
|
12782
|
-
message.friend_list = api_1.FriendList.decode(reader, reader.uint32());
|
|
12783
|
-
continue;
|
|
12784
|
-
case 55:
|
|
12785
|
-
if (tag !== 442) {
|
|
12786
|
-
break;
|
|
12787
|
-
}
|
|
12788
|
-
message.list_apps_req = api_1.ListChannelAppsRequest.decode(reader, reader.uint32());
|
|
12789
|
-
continue;
|
|
12790
|
-
case 56:
|
|
12791
|
-
if (tag !== 450) {
|
|
12792
|
-
break;
|
|
12793
|
-
}
|
|
12794
|
-
message.channel_apps_list = api_1.ListChannelAppsResponse.decode(reader, reader.uint32());
|
|
12795
|
-
continue;
|
|
12796
|
-
case 57:
|
|
12797
|
-
if (tag !== 458) {
|
|
12798
|
-
break;
|
|
12799
|
-
}
|
|
12800
|
-
message.user_activity_list = api_1.ListUserActivity.decode(reader, reader.uint32());
|
|
12801
|
-
continue;
|
|
12802
|
-
case 58:
|
|
12803
|
-
if (tag !== 466) {
|
|
12804
|
-
break;
|
|
12805
|
-
}
|
|
12806
|
-
message.list_clan_user_req = api_1.ListClanUsersRequest.decode(reader, reader.uint32());
|
|
12807
|
-
continue;
|
|
12808
|
-
case 59:
|
|
12809
|
-
if (tag !== 474) {
|
|
12810
|
-
break;
|
|
12811
|
-
}
|
|
12812
|
-
message.clan_user_list = api_1.ClanUserList.decode(reader, reader.uint32());
|
|
12813
|
-
continue;
|
|
12814
|
-
case 60:
|
|
12815
|
-
if (tag !== 482) {
|
|
12816
|
-
break;
|
|
12817
|
-
}
|
|
12818
|
-
message.list_event_req = api_1.ListEventsRequest.decode(reader, reader.uint32());
|
|
12819
|
-
continue;
|
|
12820
|
-
case 61:
|
|
12821
|
-
if (tag !== 490) {
|
|
12822
|
-
break;
|
|
12823
|
-
}
|
|
12824
|
-
message.event_list = api_1.EventList.decode(reader, reader.uint32());
|
|
12825
|
-
continue;
|
|
12826
|
-
case 62:
|
|
12827
|
-
if (tag !== 498) {
|
|
12828
|
-
break;
|
|
12829
|
-
}
|
|
12830
|
-
message.list_category_req = api_1.CategoryDesc.decode(reader, reader.uint32());
|
|
12831
|
-
continue;
|
|
12832
|
-
case 63:
|
|
12833
|
-
if (tag !== 506) {
|
|
12834
|
-
break;
|
|
12835
|
-
}
|
|
12836
|
-
message.category_list = api_1.CategoryDescList.decode(reader, reader.uint32());
|
|
12837
|
-
continue;
|
|
12838
|
-
case 64:
|
|
12839
|
-
if (tag !== 514) {
|
|
12840
|
-
break;
|
|
12841
|
-
}
|
|
12842
|
-
message.stream_user_list = api_1.StreamingChannelUserList.decode(reader, reader.uint32());
|
|
12843
|
-
continue;
|
|
12844
|
-
case 65:
|
|
12845
|
-
if (tag !== 522) {
|
|
12846
|
-
break;
|
|
12847
|
-
}
|
|
12848
|
-
message.list_unread_msg_indicator_req = api_1.ListClanUnreadMsgIndicatorRequest.decode(reader, reader.uint32());
|
|
12849
|
-
continue;
|
|
12850
|
-
case 66:
|
|
12851
|
-
if (tag !== 530) {
|
|
12852
|
-
break;
|
|
12853
|
-
}
|
|
12854
|
-
message.unread_msg_indicator = api_1.ListClanUnreadMsgIndicatorResponse.decode(reader, reader.uint32());
|
|
12855
|
-
continue;
|
|
12856
|
-
case 67:
|
|
12857
|
-
if (tag !== 538) {
|
|
12858
|
-
break;
|
|
12859
|
-
}
|
|
12860
|
-
message.list_clan_badge_count_req = api_1.ListClanBadgeCountRequest.decode(reader, reader.uint32());
|
|
12861
|
-
continue;
|
|
12862
|
-
case 68:
|
|
12863
|
-
if (tag !== 546) {
|
|
12864
|
-
break;
|
|
12865
|
-
}
|
|
12866
|
-
message.clan_badge_count = api_1.ListClanBadgeCountResponse.decode(reader, reader.uint32());
|
|
12867
|
-
continue;
|
|
12868
|
-
}
|
|
12869
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
12870
|
-
break;
|
|
12871
|
-
}
|
|
12872
|
-
reader.skipType(tag & 7);
|
|
12873
|
-
}
|
|
12874
|
-
return message;
|
|
12875
|
-
},
|
|
12876
|
-
fromJSON(object) {
|
|
12877
|
-
return {
|
|
12878
|
-
api_name: isSet(object.api_name) ? globalThis.String(object.api_name) : "",
|
|
12879
|
-
list_clan_req: isSet(object.list_clan_req) ? api_1.ListClanDescRequest.fromJSON(object.list_clan_req) : undefined,
|
|
12880
|
-
clan_desc_list: isSet(object.clan_desc_list) ? api_1.ClanDescList.fromJSON(object.clan_desc_list) : undefined,
|
|
12881
|
-
list_thread_req: isSet(object.list_thread_req) ? api_1.ListThreadRequest.fromJSON(object.list_thread_req) : undefined,
|
|
12882
|
-
channel_desc_list: isSet(object.channel_desc_list)
|
|
12883
|
-
? api_1.ChannelDescList.fromJSON(object.channel_desc_list)
|
|
12884
|
-
: undefined,
|
|
12885
|
-
list_channel_users_uc_req: isSet(object.list_channel_users_uc_req)
|
|
12886
|
-
? api_1.AllUsersAddChannelRequest.fromJSON(object.list_channel_users_uc_req)
|
|
12887
|
-
: undefined,
|
|
12888
|
-
channel_users_uc_list: isSet(object.channel_users_uc_list)
|
|
12889
|
-
? api_1.AllUsersAddChannelResponse.fromJSON(object.channel_users_uc_list)
|
|
12890
|
-
: undefined,
|
|
12891
|
-
list_channel_detail_req: isSet(object.list_channel_detail_req)
|
|
12892
|
-
? api_1.ListChannelDetailRequest.fromJSON(object.list_channel_detail_req)
|
|
12893
|
-
: undefined,
|
|
12894
|
-
channel_desc: isSet(object.channel_desc) ? api_1.ChannelDescription.fromJSON(object.channel_desc) : undefined,
|
|
12895
|
-
list_channel_req: isSet(object.list_channel_req)
|
|
12896
|
-
? api_1.ListChannelDescsRequest.fromJSON(object.list_channel_req)
|
|
12897
|
-
: undefined,
|
|
12898
|
-
list_channel_message_req: isSet(object.list_channel_message_req)
|
|
12899
|
-
? api_1.ListChannelMessagesRequest.fromJSON(object.list_channel_message_req)
|
|
12900
|
-
: undefined,
|
|
12901
|
-
channel_message_list: isSet(object.channel_message_list)
|
|
12902
|
-
? api_1.ChannelMessageList.fromJSON(object.channel_message_list)
|
|
12903
|
-
: undefined,
|
|
12904
|
-
list_channel_users_req: isSet(object.list_channel_users_req)
|
|
12905
|
-
? api_1.ListChannelUsersRequest.fromJSON(object.list_channel_users_req)
|
|
12906
|
-
: undefined,
|
|
12907
|
-
voice_user_list: isSet(object.voice_user_list)
|
|
12908
|
-
? api_1.VoiceChannelUserList.fromJSON(object.voice_user_list)
|
|
12909
|
-
: undefined,
|
|
12910
|
-
channel_user_list: isSet(object.channel_user_list)
|
|
12911
|
-
? api_1.ChannelUserList.fromJSON(object.channel_user_list)
|
|
12912
|
-
: undefined,
|
|
12913
|
-
list_channel_attachment_req: isSet(object.list_channel_attachment_req)
|
|
12914
|
-
? api_1.ListChannelAttachmentRequest.fromJSON(object.list_channel_attachment_req)
|
|
12915
|
-
: undefined,
|
|
12916
|
-
channel_attachment_list: isSet(object.channel_attachment_list)
|
|
12917
|
-
? api_1.ChannelAttachmentList.fromJSON(object.channel_attachment_list)
|
|
12918
|
-
: undefined,
|
|
12919
|
-
channel_setting_req: isSet(object.channel_setting_req)
|
|
12920
|
-
? api_1.ChannelSettingListRequest.fromJSON(object.channel_setting_req)
|
|
12921
|
-
: undefined,
|
|
12922
|
-
channel_setting_list: isSet(object.channel_setting_list)
|
|
12923
|
-
? api_1.ChannelSettingListResponse.fromJSON(object.channel_setting_list)
|
|
12924
|
-
: undefined,
|
|
12925
|
-
favorite_channel_req: isSet(object.favorite_channel_req)
|
|
12926
|
-
? api_1.ListFavoriteChannelRequest.fromJSON(object.favorite_channel_req)
|
|
12927
|
-
: undefined,
|
|
12928
|
-
favorite_channel_list: isSet(object.favorite_channel_list)
|
|
12929
|
-
? api_1.ListFavoriteChannelResponse.fromJSON(object.favorite_channel_list)
|
|
12930
|
-
: undefined,
|
|
12931
|
-
search_thread_req: isSet(object.search_thread_req)
|
|
12932
|
-
? api_1.SearchThreadRequest.fromJSON(object.search_thread_req)
|
|
12933
|
-
: undefined,
|
|
12934
|
-
notification_channel: isSet(object.notification_channel)
|
|
12935
|
-
? api_1.NotificationChannel.fromJSON(object.notification_channel)
|
|
12936
|
-
: undefined,
|
|
12937
|
-
notificaion_user_channel: isSet(object.notificaion_user_channel)
|
|
12938
|
-
? api_1.NotificationUserChannel.fromJSON(object.notificaion_user_channel)
|
|
12939
|
-
: undefined,
|
|
12940
|
-
notification_category: isSet(object.notification_category)
|
|
12941
|
-
? api_1.DefaultNotificationCategory.fromJSON(object.notification_category)
|
|
12942
|
-
: undefined,
|
|
12943
|
-
notification_clan: isSet(object.notification_clan)
|
|
12944
|
-
? api_1.NotificationClan.fromJSON(object.notification_clan)
|
|
12945
|
-
: undefined,
|
|
12946
|
-
notification_setting: isSet(object.notification_setting)
|
|
12947
|
-
? api_1.NotificationSetting.fromJSON(object.notification_setting)
|
|
12948
|
-
: undefined,
|
|
12949
|
-
notification_message: isSet(object.notification_message)
|
|
12950
|
-
? api_1.NotifiReactMessage.fromJSON(object.notification_message)
|
|
12951
|
-
: undefined,
|
|
12952
|
-
noti_channel_cat_setting_list: isSet(object.noti_channel_cat_setting_list)
|
|
12953
|
-
? api_1.NotificationChannelCategorySettingList.fromJSON(object.noti_channel_cat_setting_list)
|
|
12954
|
-
: undefined,
|
|
12955
|
-
list_notification_req: isSet(object.list_notification_req)
|
|
12956
|
-
? api_1.ListNotificationsRequest.fromJSON(object.list_notification_req)
|
|
12957
|
-
: undefined,
|
|
12958
|
-
notification_list: isSet(object.notification_list)
|
|
12959
|
-
? api_1.NotificationList.fromJSON(object.notification_list)
|
|
12960
|
-
: undefined,
|
|
12961
|
-
sticker_list: isSet(object.sticker_list) ? api_1.StickerListedResponse.fromJSON(object.sticker_list) : undefined,
|
|
12962
|
-
emoji_recent_list: isSet(object.emoji_recent_list)
|
|
12963
|
-
? api_1.EmojiRecentList.fromJSON(object.emoji_recent_list)
|
|
12964
|
-
: undefined,
|
|
12965
|
-
clan_webhook_req: isSet(object.clan_webhook_req)
|
|
12966
|
-
? api_1.ListClanWebhookRequest.fromJSON(object.clan_webhook_req)
|
|
12967
|
-
: undefined,
|
|
12968
|
-
clan_webhook_list: isSet(object.clan_webhook_list)
|
|
12969
|
-
? api_1.ListClanWebhookResponse.fromJSON(object.clan_webhook_list)
|
|
12970
|
-
: undefined,
|
|
12971
|
-
webhook_list_req: isSet(object.webhook_list_req)
|
|
12972
|
-
? api_1.WebhookListRequest.fromJSON(object.webhook_list_req)
|
|
12973
|
-
: undefined,
|
|
12974
|
-
webhook_list: isSet(object.webhook_list) ? api_1.WebhookListResponse.fromJSON(object.webhook_list) : undefined,
|
|
12975
|
-
permission_list_req: isSet(object.permission_list_req)
|
|
12976
|
-
? api_1.ListPermissionsRequest.fromJSON(object.permission_list_req)
|
|
12977
|
-
: undefined,
|
|
12978
|
-
permission_list: isSet(object.permission_list) ? api_1.PermissionList.fromJSON(object.permission_list) : undefined,
|
|
12979
|
-
role_user_req: isSet(object.role_user_req) ? api_1.ListRoleUsersRequest.fromJSON(object.role_user_req) : undefined,
|
|
12980
|
-
role_user_list: isSet(object.role_user_list) ? api_1.RoleUserList.fromJSON(object.role_user_list) : undefined,
|
|
12981
|
-
permission_user_req: isSet(object.permission_user_req)
|
|
12982
|
-
? api_1.ListPermissionOfUsersRequest.fromJSON(object.permission_user_req)
|
|
12983
|
-
: undefined,
|
|
12984
|
-
role_list: isSet(object.role_list) ? api_1.RoleList.fromJSON(object.role_list) : undefined,
|
|
12985
|
-
role_list_event_req: isSet(object.role_list_event_req)
|
|
12986
|
-
? api_1.RoleListEventRequest.fromJSON(object.role_list_event_req)
|
|
12987
|
-
: undefined,
|
|
12988
|
-
role_event_list: isSet(object.role_event_list)
|
|
12989
|
-
? api_1.RoleListEventResponse.fromJSON(object.role_event_list)
|
|
12990
|
-
: undefined,
|
|
12991
|
-
user_permission_req: isSet(object.user_permission_req)
|
|
12992
|
-
? api_1.UserPermissionInChannelListRequest.fromJSON(object.user_permission_req)
|
|
12993
|
-
: undefined,
|
|
12994
|
-
user_permission_list: isSet(object.user_permission_list)
|
|
12995
|
-
? api_1.UserPermissionInChannelListResponse.fromJSON(object.user_permission_list)
|
|
12996
|
-
: undefined,
|
|
12997
|
-
permission_role_req: isSet(object.permission_role_req)
|
|
12998
|
-
? api_1.PermissionRoleChannelListEventRequest.fromJSON(object.permission_role_req)
|
|
12999
|
-
: undefined,
|
|
13000
|
-
permission_role_list: isSet(object.permission_role_list)
|
|
13001
|
-
? api_1.PermissionRoleChannelListEventResponse.fromJSON(object.permission_role_list)
|
|
13002
|
-
: undefined,
|
|
13003
|
-
emoji_list: isSet(object.emoji_list) ? api_1.EmojiListedResponse.fromJSON(object.emoji_list) : undefined,
|
|
13004
|
-
list_friend_req: isSet(object.list_friend_req) ? api_1.ListFriendsRequest.fromJSON(object.list_friend_req) : undefined,
|
|
13005
|
-
friend_list: isSet(object.friend_list) ? api_1.FriendList.fromJSON(object.friend_list) : undefined,
|
|
13006
|
-
list_apps_req: isSet(object.list_apps_req) ? api_1.ListChannelAppsRequest.fromJSON(object.list_apps_req) : undefined,
|
|
13007
|
-
channel_apps_list: isSet(object.channel_apps_list)
|
|
13008
|
-
? api_1.ListChannelAppsResponse.fromJSON(object.channel_apps_list)
|
|
13009
|
-
: undefined,
|
|
13010
|
-
user_activity_list: isSet(object.user_activity_list)
|
|
13011
|
-
? api_1.ListUserActivity.fromJSON(object.user_activity_list)
|
|
13012
|
-
: undefined,
|
|
13013
|
-
list_clan_user_req: isSet(object.list_clan_user_req)
|
|
13014
|
-
? api_1.ListClanUsersRequest.fromJSON(object.list_clan_user_req)
|
|
13015
|
-
: undefined,
|
|
13016
|
-
clan_user_list: isSet(object.clan_user_list) ? api_1.ClanUserList.fromJSON(object.clan_user_list) : undefined,
|
|
13017
|
-
list_event_req: isSet(object.list_event_req) ? api_1.ListEventsRequest.fromJSON(object.list_event_req) : undefined,
|
|
13018
|
-
event_list: isSet(object.event_list) ? api_1.EventList.fromJSON(object.event_list) : undefined,
|
|
13019
|
-
list_category_req: isSet(object.list_category_req) ? api_1.CategoryDesc.fromJSON(object.list_category_req) : undefined,
|
|
13020
|
-
category_list: isSet(object.category_list) ? api_1.CategoryDescList.fromJSON(object.category_list) : undefined,
|
|
13021
|
-
stream_user_list: isSet(object.stream_user_list)
|
|
13022
|
-
? api_1.StreamingChannelUserList.fromJSON(object.stream_user_list)
|
|
13023
|
-
: undefined,
|
|
13024
|
-
list_unread_msg_indicator_req: isSet(object.list_unread_msg_indicator_req)
|
|
13025
|
-
? api_1.ListClanUnreadMsgIndicatorRequest.fromJSON(object.list_unread_msg_indicator_req)
|
|
13026
|
-
: undefined,
|
|
13027
|
-
unread_msg_indicator: isSet(object.unread_msg_indicator)
|
|
13028
|
-
? api_1.ListClanUnreadMsgIndicatorResponse.fromJSON(object.unread_msg_indicator)
|
|
13029
|
-
: undefined,
|
|
13030
|
-
list_clan_badge_count_req: isSet(object.list_clan_badge_count_req)
|
|
13031
|
-
? api_1.ListClanBadgeCountRequest.fromJSON(object.list_clan_badge_count_req)
|
|
13032
|
-
: undefined,
|
|
13033
|
-
clan_badge_count: isSet(object.clan_badge_count)
|
|
13034
|
-
? api_1.ListClanBadgeCountResponse.fromJSON(object.clan_badge_count)
|
|
13035
|
-
: undefined,
|
|
13036
|
-
};
|
|
13037
|
-
},
|
|
13038
|
-
toJSON(message) {
|
|
13039
|
-
const obj = {};
|
|
13040
|
-
if (message.api_name !== "") {
|
|
13041
|
-
obj.api_name = message.api_name;
|
|
13042
|
-
}
|
|
13043
|
-
if (message.list_clan_req !== undefined) {
|
|
13044
|
-
obj.list_clan_req = api_1.ListClanDescRequest.toJSON(message.list_clan_req);
|
|
13045
|
-
}
|
|
13046
|
-
if (message.clan_desc_list !== undefined) {
|
|
13047
|
-
obj.clan_desc_list = api_1.ClanDescList.toJSON(message.clan_desc_list);
|
|
13048
|
-
}
|
|
13049
|
-
if (message.list_thread_req !== undefined) {
|
|
13050
|
-
obj.list_thread_req = api_1.ListThreadRequest.toJSON(message.list_thread_req);
|
|
13051
|
-
}
|
|
13052
|
-
if (message.channel_desc_list !== undefined) {
|
|
13053
|
-
obj.channel_desc_list = api_1.ChannelDescList.toJSON(message.channel_desc_list);
|
|
13054
|
-
}
|
|
13055
|
-
if (message.list_channel_users_uc_req !== undefined) {
|
|
13056
|
-
obj.list_channel_users_uc_req = api_1.AllUsersAddChannelRequest.toJSON(message.list_channel_users_uc_req);
|
|
13057
|
-
}
|
|
13058
|
-
if (message.channel_users_uc_list !== undefined) {
|
|
13059
|
-
obj.channel_users_uc_list = api_1.AllUsersAddChannelResponse.toJSON(message.channel_users_uc_list);
|
|
13060
|
-
}
|
|
13061
|
-
if (message.list_channel_detail_req !== undefined) {
|
|
13062
|
-
obj.list_channel_detail_req = api_1.ListChannelDetailRequest.toJSON(message.list_channel_detail_req);
|
|
13063
|
-
}
|
|
13064
|
-
if (message.channel_desc !== undefined) {
|
|
13065
|
-
obj.channel_desc = api_1.ChannelDescription.toJSON(message.channel_desc);
|
|
13066
|
-
}
|
|
13067
|
-
if (message.list_channel_req !== undefined) {
|
|
13068
|
-
obj.list_channel_req = api_1.ListChannelDescsRequest.toJSON(message.list_channel_req);
|
|
13069
|
-
}
|
|
13070
|
-
if (message.list_channel_message_req !== undefined) {
|
|
13071
|
-
obj.list_channel_message_req = api_1.ListChannelMessagesRequest.toJSON(message.list_channel_message_req);
|
|
13072
|
-
}
|
|
13073
|
-
if (message.channel_message_list !== undefined) {
|
|
13074
|
-
obj.channel_message_list = api_1.ChannelMessageList.toJSON(message.channel_message_list);
|
|
13075
|
-
}
|
|
13076
|
-
if (message.list_channel_users_req !== undefined) {
|
|
13077
|
-
obj.list_channel_users_req = api_1.ListChannelUsersRequest.toJSON(message.list_channel_users_req);
|
|
13078
|
-
}
|
|
13079
|
-
if (message.voice_user_list !== undefined) {
|
|
13080
|
-
obj.voice_user_list = api_1.VoiceChannelUserList.toJSON(message.voice_user_list);
|
|
13081
|
-
}
|
|
13082
|
-
if (message.channel_user_list !== undefined) {
|
|
13083
|
-
obj.channel_user_list = api_1.ChannelUserList.toJSON(message.channel_user_list);
|
|
13084
|
-
}
|
|
13085
|
-
if (message.list_channel_attachment_req !== undefined) {
|
|
13086
|
-
obj.list_channel_attachment_req = api_1.ListChannelAttachmentRequest.toJSON(message.list_channel_attachment_req);
|
|
13087
|
-
}
|
|
13088
|
-
if (message.channel_attachment_list !== undefined) {
|
|
13089
|
-
obj.channel_attachment_list = api_1.ChannelAttachmentList.toJSON(message.channel_attachment_list);
|
|
13090
|
-
}
|
|
13091
|
-
if (message.channel_setting_req !== undefined) {
|
|
13092
|
-
obj.channel_setting_req = api_1.ChannelSettingListRequest.toJSON(message.channel_setting_req);
|
|
13093
|
-
}
|
|
13094
|
-
if (message.channel_setting_list !== undefined) {
|
|
13095
|
-
obj.channel_setting_list = api_1.ChannelSettingListResponse.toJSON(message.channel_setting_list);
|
|
13096
|
-
}
|
|
13097
|
-
if (message.favorite_channel_req !== undefined) {
|
|
13098
|
-
obj.favorite_channel_req = api_1.ListFavoriteChannelRequest.toJSON(message.favorite_channel_req);
|
|
13099
|
-
}
|
|
13100
|
-
if (message.favorite_channel_list !== undefined) {
|
|
13101
|
-
obj.favorite_channel_list = api_1.ListFavoriteChannelResponse.toJSON(message.favorite_channel_list);
|
|
13102
|
-
}
|
|
13103
|
-
if (message.search_thread_req !== undefined) {
|
|
13104
|
-
obj.search_thread_req = api_1.SearchThreadRequest.toJSON(message.search_thread_req);
|
|
13105
|
-
}
|
|
13106
|
-
if (message.notification_channel !== undefined) {
|
|
13107
|
-
obj.notification_channel = api_1.NotificationChannel.toJSON(message.notification_channel);
|
|
13108
|
-
}
|
|
13109
|
-
if (message.notificaion_user_channel !== undefined) {
|
|
13110
|
-
obj.notificaion_user_channel = api_1.NotificationUserChannel.toJSON(message.notificaion_user_channel);
|
|
13111
|
-
}
|
|
13112
|
-
if (message.notification_category !== undefined) {
|
|
13113
|
-
obj.notification_category = api_1.DefaultNotificationCategory.toJSON(message.notification_category);
|
|
13114
|
-
}
|
|
13115
|
-
if (message.notification_clan !== undefined) {
|
|
13116
|
-
obj.notification_clan = api_1.NotificationClan.toJSON(message.notification_clan);
|
|
13117
|
-
}
|
|
13118
|
-
if (message.notification_setting !== undefined) {
|
|
13119
|
-
obj.notification_setting = api_1.NotificationSetting.toJSON(message.notification_setting);
|
|
13120
|
-
}
|
|
13121
|
-
if (message.notification_message !== undefined) {
|
|
13122
|
-
obj.notification_message = api_1.NotifiReactMessage.toJSON(message.notification_message);
|
|
13123
|
-
}
|
|
13124
|
-
if (message.noti_channel_cat_setting_list !== undefined) {
|
|
13125
|
-
obj.noti_channel_cat_setting_list = api_1.NotificationChannelCategorySettingList.toJSON(message.noti_channel_cat_setting_list);
|
|
13126
|
-
}
|
|
13127
|
-
if (message.list_notification_req !== undefined) {
|
|
13128
|
-
obj.list_notification_req = api_1.ListNotificationsRequest.toJSON(message.list_notification_req);
|
|
13129
|
-
}
|
|
13130
|
-
if (message.notification_list !== undefined) {
|
|
13131
|
-
obj.notification_list = api_1.NotificationList.toJSON(message.notification_list);
|
|
13132
|
-
}
|
|
13133
|
-
if (message.sticker_list !== undefined) {
|
|
13134
|
-
obj.sticker_list = api_1.StickerListedResponse.toJSON(message.sticker_list);
|
|
13135
|
-
}
|
|
13136
|
-
if (message.emoji_recent_list !== undefined) {
|
|
13137
|
-
obj.emoji_recent_list = api_1.EmojiRecentList.toJSON(message.emoji_recent_list);
|
|
13138
|
-
}
|
|
13139
|
-
if (message.clan_webhook_req !== undefined) {
|
|
13140
|
-
obj.clan_webhook_req = api_1.ListClanWebhookRequest.toJSON(message.clan_webhook_req);
|
|
13141
|
-
}
|
|
13142
|
-
if (message.clan_webhook_list !== undefined) {
|
|
13143
|
-
obj.clan_webhook_list = api_1.ListClanWebhookResponse.toJSON(message.clan_webhook_list);
|
|
13144
|
-
}
|
|
13145
|
-
if (message.webhook_list_req !== undefined) {
|
|
13146
|
-
obj.webhook_list_req = api_1.WebhookListRequest.toJSON(message.webhook_list_req);
|
|
13147
|
-
}
|
|
13148
|
-
if (message.webhook_list !== undefined) {
|
|
13149
|
-
obj.webhook_list = api_1.WebhookListResponse.toJSON(message.webhook_list);
|
|
13150
|
-
}
|
|
13151
|
-
if (message.permission_list_req !== undefined) {
|
|
13152
|
-
obj.permission_list_req = api_1.ListPermissionsRequest.toJSON(message.permission_list_req);
|
|
13153
|
-
}
|
|
13154
|
-
if (message.permission_list !== undefined) {
|
|
13155
|
-
obj.permission_list = api_1.PermissionList.toJSON(message.permission_list);
|
|
13156
|
-
}
|
|
13157
|
-
if (message.role_user_req !== undefined) {
|
|
13158
|
-
obj.role_user_req = api_1.ListRoleUsersRequest.toJSON(message.role_user_req);
|
|
13159
|
-
}
|
|
13160
|
-
if (message.role_user_list !== undefined) {
|
|
13161
|
-
obj.role_user_list = api_1.RoleUserList.toJSON(message.role_user_list);
|
|
13162
|
-
}
|
|
13163
|
-
if (message.permission_user_req !== undefined) {
|
|
13164
|
-
obj.permission_user_req = api_1.ListPermissionOfUsersRequest.toJSON(message.permission_user_req);
|
|
13165
|
-
}
|
|
13166
|
-
if (message.role_list !== undefined) {
|
|
13167
|
-
obj.role_list = api_1.RoleList.toJSON(message.role_list);
|
|
13168
|
-
}
|
|
13169
|
-
if (message.role_list_event_req !== undefined) {
|
|
13170
|
-
obj.role_list_event_req = api_1.RoleListEventRequest.toJSON(message.role_list_event_req);
|
|
13171
|
-
}
|
|
13172
|
-
if (message.role_event_list !== undefined) {
|
|
13173
|
-
obj.role_event_list = api_1.RoleListEventResponse.toJSON(message.role_event_list);
|
|
13174
|
-
}
|
|
13175
|
-
if (message.user_permission_req !== undefined) {
|
|
13176
|
-
obj.user_permission_req = api_1.UserPermissionInChannelListRequest.toJSON(message.user_permission_req);
|
|
13177
|
-
}
|
|
13178
|
-
if (message.user_permission_list !== undefined) {
|
|
13179
|
-
obj.user_permission_list = api_1.UserPermissionInChannelListResponse.toJSON(message.user_permission_list);
|
|
13180
|
-
}
|
|
13181
|
-
if (message.permission_role_req !== undefined) {
|
|
13182
|
-
obj.permission_role_req = api_1.PermissionRoleChannelListEventRequest.toJSON(message.permission_role_req);
|
|
13183
|
-
}
|
|
13184
|
-
if (message.permission_role_list !== undefined) {
|
|
13185
|
-
obj.permission_role_list = api_1.PermissionRoleChannelListEventResponse.toJSON(message.permission_role_list);
|
|
13186
|
-
}
|
|
13187
|
-
if (message.emoji_list !== undefined) {
|
|
13188
|
-
obj.emoji_list = api_1.EmojiListedResponse.toJSON(message.emoji_list);
|
|
13189
|
-
}
|
|
13190
|
-
if (message.list_friend_req !== undefined) {
|
|
13191
|
-
obj.list_friend_req = api_1.ListFriendsRequest.toJSON(message.list_friend_req);
|
|
13192
|
-
}
|
|
13193
|
-
if (message.friend_list !== undefined) {
|
|
13194
|
-
obj.friend_list = api_1.FriendList.toJSON(message.friend_list);
|
|
13195
|
-
}
|
|
13196
|
-
if (message.list_apps_req !== undefined) {
|
|
13197
|
-
obj.list_apps_req = api_1.ListChannelAppsRequest.toJSON(message.list_apps_req);
|
|
13198
|
-
}
|
|
13199
|
-
if (message.channel_apps_list !== undefined) {
|
|
13200
|
-
obj.channel_apps_list = api_1.ListChannelAppsResponse.toJSON(message.channel_apps_list);
|
|
13201
|
-
}
|
|
13202
|
-
if (message.user_activity_list !== undefined) {
|
|
13203
|
-
obj.user_activity_list = api_1.ListUserActivity.toJSON(message.user_activity_list);
|
|
13204
|
-
}
|
|
13205
|
-
if (message.list_clan_user_req !== undefined) {
|
|
13206
|
-
obj.list_clan_user_req = api_1.ListClanUsersRequest.toJSON(message.list_clan_user_req);
|
|
13207
|
-
}
|
|
13208
|
-
if (message.clan_user_list !== undefined) {
|
|
13209
|
-
obj.clan_user_list = api_1.ClanUserList.toJSON(message.clan_user_list);
|
|
13210
|
-
}
|
|
13211
|
-
if (message.list_event_req !== undefined) {
|
|
13212
|
-
obj.list_event_req = api_1.ListEventsRequest.toJSON(message.list_event_req);
|
|
13213
|
-
}
|
|
13214
|
-
if (message.event_list !== undefined) {
|
|
13215
|
-
obj.event_list = api_1.EventList.toJSON(message.event_list);
|
|
13216
|
-
}
|
|
13217
|
-
if (message.list_category_req !== undefined) {
|
|
13218
|
-
obj.list_category_req = api_1.CategoryDesc.toJSON(message.list_category_req);
|
|
13219
|
-
}
|
|
13220
|
-
if (message.category_list !== undefined) {
|
|
13221
|
-
obj.category_list = api_1.CategoryDescList.toJSON(message.category_list);
|
|
13222
|
-
}
|
|
13223
|
-
if (message.stream_user_list !== undefined) {
|
|
13224
|
-
obj.stream_user_list = api_1.StreamingChannelUserList.toJSON(message.stream_user_list);
|
|
13225
|
-
}
|
|
13226
|
-
if (message.list_unread_msg_indicator_req !== undefined) {
|
|
13227
|
-
obj.list_unread_msg_indicator_req = api_1.ListClanUnreadMsgIndicatorRequest.toJSON(message.list_unread_msg_indicator_req);
|
|
13228
|
-
}
|
|
13229
|
-
if (message.unread_msg_indicator !== undefined) {
|
|
13230
|
-
obj.unread_msg_indicator = api_1.ListClanUnreadMsgIndicatorResponse.toJSON(message.unread_msg_indicator);
|
|
13231
|
-
}
|
|
13232
|
-
if (message.list_clan_badge_count_req !== undefined) {
|
|
13233
|
-
obj.list_clan_badge_count_req = api_1.ListClanBadgeCountRequest.toJSON(message.list_clan_badge_count_req);
|
|
13234
|
-
}
|
|
13235
|
-
if (message.clan_badge_count !== undefined) {
|
|
13236
|
-
obj.clan_badge_count = api_1.ListClanBadgeCountResponse.toJSON(message.clan_badge_count);
|
|
13237
|
-
}
|
|
13238
|
-
return obj;
|
|
13239
|
-
},
|
|
13240
|
-
create(base) {
|
|
13241
|
-
return exports.ListDataSocket.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
13242
|
-
},
|
|
13243
|
-
fromPartial(object) {
|
|
13244
|
-
var _a;
|
|
13245
|
-
const message = createBaseListDataSocket();
|
|
13246
|
-
message.api_name = (_a = object.api_name) !== null && _a !== void 0 ? _a : "";
|
|
13247
|
-
message.list_clan_req = (object.list_clan_req !== undefined && object.list_clan_req !== null)
|
|
13248
|
-
? api_1.ListClanDescRequest.fromPartial(object.list_clan_req)
|
|
13249
|
-
: undefined;
|
|
13250
|
-
message.clan_desc_list = (object.clan_desc_list !== undefined && object.clan_desc_list !== null)
|
|
13251
|
-
? api_1.ClanDescList.fromPartial(object.clan_desc_list)
|
|
13252
|
-
: undefined;
|
|
13253
|
-
message.list_thread_req = (object.list_thread_req !== undefined && object.list_thread_req !== null)
|
|
13254
|
-
? api_1.ListThreadRequest.fromPartial(object.list_thread_req)
|
|
13255
|
-
: undefined;
|
|
13256
|
-
message.channel_desc_list = (object.channel_desc_list !== undefined && object.channel_desc_list !== null)
|
|
13257
|
-
? api_1.ChannelDescList.fromPartial(object.channel_desc_list)
|
|
13258
|
-
: undefined;
|
|
13259
|
-
message.list_channel_users_uc_req =
|
|
13260
|
-
(object.list_channel_users_uc_req !== undefined && object.list_channel_users_uc_req !== null)
|
|
13261
|
-
? api_1.AllUsersAddChannelRequest.fromPartial(object.list_channel_users_uc_req)
|
|
13262
|
-
: undefined;
|
|
13263
|
-
message.channel_users_uc_list =
|
|
13264
|
-
(object.channel_users_uc_list !== undefined && object.channel_users_uc_list !== null)
|
|
13265
|
-
? api_1.AllUsersAddChannelResponse.fromPartial(object.channel_users_uc_list)
|
|
13266
|
-
: undefined;
|
|
13267
|
-
message.list_channel_detail_req =
|
|
13268
|
-
(object.list_channel_detail_req !== undefined && object.list_channel_detail_req !== null)
|
|
13269
|
-
? api_1.ListChannelDetailRequest.fromPartial(object.list_channel_detail_req)
|
|
13270
|
-
: undefined;
|
|
13271
|
-
message.channel_desc = (object.channel_desc !== undefined && object.channel_desc !== null)
|
|
13272
|
-
? api_1.ChannelDescription.fromPartial(object.channel_desc)
|
|
13273
|
-
: undefined;
|
|
13274
|
-
message.list_channel_req = (object.list_channel_req !== undefined && object.list_channel_req !== null)
|
|
13275
|
-
? api_1.ListChannelDescsRequest.fromPartial(object.list_channel_req)
|
|
13276
|
-
: undefined;
|
|
13277
|
-
message.list_channel_message_req =
|
|
13278
|
-
(object.list_channel_message_req !== undefined && object.list_channel_message_req !== null)
|
|
13279
|
-
? api_1.ListChannelMessagesRequest.fromPartial(object.list_channel_message_req)
|
|
13280
|
-
: undefined;
|
|
13281
|
-
message.channel_message_list = (object.channel_message_list !== undefined && object.channel_message_list !== null)
|
|
13282
|
-
? api_1.ChannelMessageList.fromPartial(object.channel_message_list)
|
|
13283
|
-
: undefined;
|
|
13284
|
-
message.list_channel_users_req =
|
|
13285
|
-
(object.list_channel_users_req !== undefined && object.list_channel_users_req !== null)
|
|
13286
|
-
? api_1.ListChannelUsersRequest.fromPartial(object.list_channel_users_req)
|
|
13287
|
-
: undefined;
|
|
13288
|
-
message.voice_user_list = (object.voice_user_list !== undefined && object.voice_user_list !== null)
|
|
13289
|
-
? api_1.VoiceChannelUserList.fromPartial(object.voice_user_list)
|
|
13290
|
-
: undefined;
|
|
13291
|
-
message.channel_user_list = (object.channel_user_list !== undefined && object.channel_user_list !== null)
|
|
13292
|
-
? api_1.ChannelUserList.fromPartial(object.channel_user_list)
|
|
13293
|
-
: undefined;
|
|
13294
|
-
message.list_channel_attachment_req =
|
|
13295
|
-
(object.list_channel_attachment_req !== undefined && object.list_channel_attachment_req !== null)
|
|
13296
|
-
? api_1.ListChannelAttachmentRequest.fromPartial(object.list_channel_attachment_req)
|
|
13297
|
-
: undefined;
|
|
13298
|
-
message.channel_attachment_list =
|
|
13299
|
-
(object.channel_attachment_list !== undefined && object.channel_attachment_list !== null)
|
|
13300
|
-
? api_1.ChannelAttachmentList.fromPartial(object.channel_attachment_list)
|
|
13301
|
-
: undefined;
|
|
13302
|
-
message.channel_setting_req = (object.channel_setting_req !== undefined && object.channel_setting_req !== null)
|
|
13303
|
-
? api_1.ChannelSettingListRequest.fromPartial(object.channel_setting_req)
|
|
13304
|
-
: undefined;
|
|
13305
|
-
message.channel_setting_list = (object.channel_setting_list !== undefined && object.channel_setting_list !== null)
|
|
13306
|
-
? api_1.ChannelSettingListResponse.fromPartial(object.channel_setting_list)
|
|
13307
|
-
: undefined;
|
|
13308
|
-
message.favorite_channel_req = (object.favorite_channel_req !== undefined && object.favorite_channel_req !== null)
|
|
13309
|
-
? api_1.ListFavoriteChannelRequest.fromPartial(object.favorite_channel_req)
|
|
13310
|
-
: undefined;
|
|
13311
|
-
message.favorite_channel_list =
|
|
13312
|
-
(object.favorite_channel_list !== undefined && object.favorite_channel_list !== null)
|
|
13313
|
-
? api_1.ListFavoriteChannelResponse.fromPartial(object.favorite_channel_list)
|
|
13314
|
-
: undefined;
|
|
13315
|
-
message.search_thread_req = (object.search_thread_req !== undefined && object.search_thread_req !== null)
|
|
13316
|
-
? api_1.SearchThreadRequest.fromPartial(object.search_thread_req)
|
|
13317
|
-
: undefined;
|
|
13318
|
-
message.notification_channel = (object.notification_channel !== undefined && object.notification_channel !== null)
|
|
13319
|
-
? api_1.NotificationChannel.fromPartial(object.notification_channel)
|
|
13320
|
-
: undefined;
|
|
13321
|
-
message.notificaion_user_channel =
|
|
13322
|
-
(object.notificaion_user_channel !== undefined && object.notificaion_user_channel !== null)
|
|
13323
|
-
? api_1.NotificationUserChannel.fromPartial(object.notificaion_user_channel)
|
|
13324
|
-
: undefined;
|
|
13325
|
-
message.notification_category =
|
|
13326
|
-
(object.notification_category !== undefined && object.notification_category !== null)
|
|
13327
|
-
? api_1.DefaultNotificationCategory.fromPartial(object.notification_category)
|
|
13328
|
-
: undefined;
|
|
13329
|
-
message.notification_clan = (object.notification_clan !== undefined && object.notification_clan !== null)
|
|
13330
|
-
? api_1.NotificationClan.fromPartial(object.notification_clan)
|
|
13331
|
-
: undefined;
|
|
13332
|
-
message.notification_setting = (object.notification_setting !== undefined && object.notification_setting !== null)
|
|
13333
|
-
? api_1.NotificationSetting.fromPartial(object.notification_setting)
|
|
13334
|
-
: undefined;
|
|
13335
|
-
message.notification_message = (object.notification_message !== undefined && object.notification_message !== null)
|
|
13336
|
-
? api_1.NotifiReactMessage.fromPartial(object.notification_message)
|
|
13337
|
-
: undefined;
|
|
13338
|
-
message.noti_channel_cat_setting_list =
|
|
13339
|
-
(object.noti_channel_cat_setting_list !== undefined && object.noti_channel_cat_setting_list !== null)
|
|
13340
|
-
? api_1.NotificationChannelCategorySettingList.fromPartial(object.noti_channel_cat_setting_list)
|
|
13341
|
-
: undefined;
|
|
13342
|
-
message.list_notification_req =
|
|
13343
|
-
(object.list_notification_req !== undefined && object.list_notification_req !== null)
|
|
13344
|
-
? api_1.ListNotificationsRequest.fromPartial(object.list_notification_req)
|
|
13345
|
-
: undefined;
|
|
13346
|
-
message.notification_list = (object.notification_list !== undefined && object.notification_list !== null)
|
|
13347
|
-
? api_1.NotificationList.fromPartial(object.notification_list)
|
|
13348
|
-
: undefined;
|
|
13349
|
-
message.sticker_list = (object.sticker_list !== undefined && object.sticker_list !== null)
|
|
13350
|
-
? api_1.StickerListedResponse.fromPartial(object.sticker_list)
|
|
13351
|
-
: undefined;
|
|
13352
|
-
message.emoji_recent_list = (object.emoji_recent_list !== undefined && object.emoji_recent_list !== null)
|
|
13353
|
-
? api_1.EmojiRecentList.fromPartial(object.emoji_recent_list)
|
|
13354
|
-
: undefined;
|
|
13355
|
-
message.clan_webhook_req = (object.clan_webhook_req !== undefined && object.clan_webhook_req !== null)
|
|
13356
|
-
? api_1.ListClanWebhookRequest.fromPartial(object.clan_webhook_req)
|
|
13357
|
-
: undefined;
|
|
13358
|
-
message.clan_webhook_list = (object.clan_webhook_list !== undefined && object.clan_webhook_list !== null)
|
|
13359
|
-
? api_1.ListClanWebhookResponse.fromPartial(object.clan_webhook_list)
|
|
13360
|
-
: undefined;
|
|
13361
|
-
message.webhook_list_req = (object.webhook_list_req !== undefined && object.webhook_list_req !== null)
|
|
13362
|
-
? api_1.WebhookListRequest.fromPartial(object.webhook_list_req)
|
|
13363
|
-
: undefined;
|
|
13364
|
-
message.webhook_list = (object.webhook_list !== undefined && object.webhook_list !== null)
|
|
13365
|
-
? api_1.WebhookListResponse.fromPartial(object.webhook_list)
|
|
13366
|
-
: undefined;
|
|
13367
|
-
message.permission_list_req = (object.permission_list_req !== undefined && object.permission_list_req !== null)
|
|
13368
|
-
? api_1.ListPermissionsRequest.fromPartial(object.permission_list_req)
|
|
13369
|
-
: undefined;
|
|
13370
|
-
message.permission_list = (object.permission_list !== undefined && object.permission_list !== null)
|
|
13371
|
-
? api_1.PermissionList.fromPartial(object.permission_list)
|
|
13372
|
-
: undefined;
|
|
13373
|
-
message.role_user_req = (object.role_user_req !== undefined && object.role_user_req !== null)
|
|
13374
|
-
? api_1.ListRoleUsersRequest.fromPartial(object.role_user_req)
|
|
13375
|
-
: undefined;
|
|
13376
|
-
message.role_user_list = (object.role_user_list !== undefined && object.role_user_list !== null)
|
|
13377
|
-
? api_1.RoleUserList.fromPartial(object.role_user_list)
|
|
13378
|
-
: undefined;
|
|
13379
|
-
message.permission_user_req = (object.permission_user_req !== undefined && object.permission_user_req !== null)
|
|
13380
|
-
? api_1.ListPermissionOfUsersRequest.fromPartial(object.permission_user_req)
|
|
13381
|
-
: undefined;
|
|
13382
|
-
message.role_list = (object.role_list !== undefined && object.role_list !== null)
|
|
13383
|
-
? api_1.RoleList.fromPartial(object.role_list)
|
|
13384
|
-
: undefined;
|
|
13385
|
-
message.role_list_event_req = (object.role_list_event_req !== undefined && object.role_list_event_req !== null)
|
|
13386
|
-
? api_1.RoleListEventRequest.fromPartial(object.role_list_event_req)
|
|
13387
|
-
: undefined;
|
|
13388
|
-
message.role_event_list = (object.role_event_list !== undefined && object.role_event_list !== null)
|
|
13389
|
-
? api_1.RoleListEventResponse.fromPartial(object.role_event_list)
|
|
13390
|
-
: undefined;
|
|
13391
|
-
message.user_permission_req = (object.user_permission_req !== undefined && object.user_permission_req !== null)
|
|
13392
|
-
? api_1.UserPermissionInChannelListRequest.fromPartial(object.user_permission_req)
|
|
13393
|
-
: undefined;
|
|
13394
|
-
message.user_permission_list = (object.user_permission_list !== undefined && object.user_permission_list !== null)
|
|
13395
|
-
? api_1.UserPermissionInChannelListResponse.fromPartial(object.user_permission_list)
|
|
13396
|
-
: undefined;
|
|
13397
|
-
message.permission_role_req = (object.permission_role_req !== undefined && object.permission_role_req !== null)
|
|
13398
|
-
? api_1.PermissionRoleChannelListEventRequest.fromPartial(object.permission_role_req)
|
|
13399
|
-
: undefined;
|
|
13400
|
-
message.permission_role_list = (object.permission_role_list !== undefined && object.permission_role_list !== null)
|
|
13401
|
-
? api_1.PermissionRoleChannelListEventResponse.fromPartial(object.permission_role_list)
|
|
13402
|
-
: undefined;
|
|
13403
|
-
message.emoji_list = (object.emoji_list !== undefined && object.emoji_list !== null)
|
|
13404
|
-
? api_1.EmojiListedResponse.fromPartial(object.emoji_list)
|
|
13405
|
-
: undefined;
|
|
13406
|
-
message.list_friend_req = (object.list_friend_req !== undefined && object.list_friend_req !== null)
|
|
13407
|
-
? api_1.ListFriendsRequest.fromPartial(object.list_friend_req)
|
|
13408
|
-
: undefined;
|
|
13409
|
-
message.friend_list = (object.friend_list !== undefined && object.friend_list !== null)
|
|
13410
|
-
? api_1.FriendList.fromPartial(object.friend_list)
|
|
13411
|
-
: undefined;
|
|
13412
|
-
message.list_apps_req = (object.list_apps_req !== undefined && object.list_apps_req !== null)
|
|
13413
|
-
? api_1.ListChannelAppsRequest.fromPartial(object.list_apps_req)
|
|
13414
|
-
: undefined;
|
|
13415
|
-
message.channel_apps_list = (object.channel_apps_list !== undefined && object.channel_apps_list !== null)
|
|
13416
|
-
? api_1.ListChannelAppsResponse.fromPartial(object.channel_apps_list)
|
|
13417
|
-
: undefined;
|
|
13418
|
-
message.user_activity_list = (object.user_activity_list !== undefined && object.user_activity_list !== null)
|
|
13419
|
-
? api_1.ListUserActivity.fromPartial(object.user_activity_list)
|
|
13420
|
-
: undefined;
|
|
13421
|
-
message.list_clan_user_req = (object.list_clan_user_req !== undefined && object.list_clan_user_req !== null)
|
|
13422
|
-
? api_1.ListClanUsersRequest.fromPartial(object.list_clan_user_req)
|
|
13423
|
-
: undefined;
|
|
13424
|
-
message.clan_user_list = (object.clan_user_list !== undefined && object.clan_user_list !== null)
|
|
13425
|
-
? api_1.ClanUserList.fromPartial(object.clan_user_list)
|
|
13426
|
-
: undefined;
|
|
13427
|
-
message.list_event_req = (object.list_event_req !== undefined && object.list_event_req !== null)
|
|
13428
|
-
? api_1.ListEventsRequest.fromPartial(object.list_event_req)
|
|
13429
|
-
: undefined;
|
|
13430
|
-
message.event_list = (object.event_list !== undefined && object.event_list !== null)
|
|
13431
|
-
? api_1.EventList.fromPartial(object.event_list)
|
|
13432
|
-
: undefined;
|
|
13433
|
-
message.list_category_req = (object.list_category_req !== undefined && object.list_category_req !== null)
|
|
13434
|
-
? api_1.CategoryDesc.fromPartial(object.list_category_req)
|
|
13435
|
-
: undefined;
|
|
13436
|
-
message.category_list = (object.category_list !== undefined && object.category_list !== null)
|
|
13437
|
-
? api_1.CategoryDescList.fromPartial(object.category_list)
|
|
13438
|
-
: undefined;
|
|
13439
|
-
message.stream_user_list = (object.stream_user_list !== undefined && object.stream_user_list !== null)
|
|
13440
|
-
? api_1.StreamingChannelUserList.fromPartial(object.stream_user_list)
|
|
13441
|
-
: undefined;
|
|
13442
|
-
message.list_unread_msg_indicator_req =
|
|
13443
|
-
(object.list_unread_msg_indicator_req !== undefined && object.list_unread_msg_indicator_req !== null)
|
|
13444
|
-
? api_1.ListClanUnreadMsgIndicatorRequest.fromPartial(object.list_unread_msg_indicator_req)
|
|
13445
|
-
: undefined;
|
|
13446
|
-
message.unread_msg_indicator = (object.unread_msg_indicator !== undefined && object.unread_msg_indicator !== null)
|
|
13447
|
-
? api_1.ListClanUnreadMsgIndicatorResponse.fromPartial(object.unread_msg_indicator)
|
|
13448
|
-
: undefined;
|
|
13449
|
-
message.list_clan_badge_count_req =
|
|
13450
|
-
(object.list_clan_badge_count_req !== undefined && object.list_clan_badge_count_req !== null)
|
|
13451
|
-
? api_1.ListClanBadgeCountRequest.fromPartial(object.list_clan_badge_count_req)
|
|
13452
|
-
: undefined;
|
|
13453
|
-
message.clan_badge_count = (object.clan_badge_count !== undefined && object.clan_badge_count !== null)
|
|
13454
|
-
? api_1.ListClanBadgeCountResponse.fromPartial(object.clan_badge_count)
|
|
13455
|
-
: undefined;
|
|
13456
|
-
return message;
|
|
13457
|
-
},
|
|
13458
|
-
};
|
|
13459
|
-
function createBaseMeetParticipantEvent() {
|
|
13460
|
-
return { username: "", room_name: "", channel_id: "0", clan_id: "0", action: 0 };
|
|
13461
|
-
}
|
|
13462
|
-
exports.MeetParticipantEvent = {
|
|
13463
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
13464
|
-
if (message.username !== "") {
|
|
13465
|
-
writer.uint32(10).string(message.username);
|
|
13466
|
-
}
|
|
13467
|
-
if (message.room_name !== "") {
|
|
13468
|
-
writer.uint32(18).string(message.room_name);
|
|
13469
|
-
}
|
|
13470
|
-
if (message.channel_id !== "0") {
|
|
13471
|
-
writer.uint32(24).int64(message.channel_id);
|
|
13472
|
-
}
|
|
13473
|
-
if (message.clan_id !== "0") {
|
|
13474
|
-
writer.uint32(32).int64(message.clan_id);
|
|
13475
|
-
}
|
|
13476
|
-
if (message.action !== 0) {
|
|
13477
|
-
writer.uint32(40).int32(message.action);
|
|
13478
|
-
}
|
|
13479
|
-
return writer;
|
|
13480
|
-
},
|
|
13481
|
-
decode(input, length) {
|
|
13482
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
13483
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
13484
|
-
const message = createBaseMeetParticipantEvent();
|
|
13485
|
-
while (reader.pos < end) {
|
|
13486
|
-
const tag = reader.uint32();
|
|
13487
|
-
switch (tag >>> 3) {
|
|
13488
|
-
case 1:
|
|
13489
|
-
if (tag !== 10) {
|
|
13490
|
-
break;
|
|
13491
|
-
}
|
|
13492
|
-
message.username = reader.string();
|
|
13493
|
-
continue;
|
|
13494
|
-
case 2:
|
|
13495
|
-
if (tag !== 18) {
|
|
13496
|
-
break;
|
|
13497
|
-
}
|
|
13498
|
-
message.room_name = reader.string();
|
|
13499
|
-
continue;
|
|
13500
|
-
case 3:
|
|
13501
|
-
if (tag !== 24) {
|
|
13502
|
-
break;
|
|
13503
|
-
}
|
|
13504
|
-
message.channel_id = longToString(reader.int64());
|
|
13505
|
-
continue;
|
|
13506
|
-
case 4:
|
|
13507
|
-
if (tag !== 32) {
|
|
13508
|
-
break;
|
|
13509
|
-
}
|
|
13510
|
-
message.clan_id = longToString(reader.int64());
|
|
13511
|
-
continue;
|
|
13512
|
-
case 5:
|
|
13513
|
-
if (tag !== 40) {
|
|
13514
|
-
break;
|
|
13515
|
-
}
|
|
13516
|
-
message.action = reader.int32();
|
|
12432
|
+
message.action = reader.int32();
|
|
13517
12433
|
continue;
|
|
13518
12434
|
}
|
|
13519
12435
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -14061,6 +12977,101 @@ exports.FcmDataPayload = {
|
|
|
14061
12977
|
return message;
|
|
14062
12978
|
},
|
|
14063
12979
|
};
|
|
12980
|
+
function createBaseAIAgentEnabledEvent() {
|
|
12981
|
+
return { clan_id: "0", channel_id: "0", room_name: "", enabled: false };
|
|
12982
|
+
}
|
|
12983
|
+
exports.AIAgentEnabledEvent = {
|
|
12984
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
12985
|
+
if (message.clan_id !== "0") {
|
|
12986
|
+
writer.uint32(8).int64(message.clan_id);
|
|
12987
|
+
}
|
|
12988
|
+
if (message.channel_id !== "0") {
|
|
12989
|
+
writer.uint32(16).int64(message.channel_id);
|
|
12990
|
+
}
|
|
12991
|
+
if (message.room_name !== "") {
|
|
12992
|
+
writer.uint32(26).string(message.room_name);
|
|
12993
|
+
}
|
|
12994
|
+
if (message.enabled !== false) {
|
|
12995
|
+
writer.uint32(32).bool(message.enabled);
|
|
12996
|
+
}
|
|
12997
|
+
return writer;
|
|
12998
|
+
},
|
|
12999
|
+
decode(input, length) {
|
|
13000
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
13001
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
13002
|
+
const message = createBaseAIAgentEnabledEvent();
|
|
13003
|
+
while (reader.pos < end) {
|
|
13004
|
+
const tag = reader.uint32();
|
|
13005
|
+
switch (tag >>> 3) {
|
|
13006
|
+
case 1:
|
|
13007
|
+
if (tag !== 8) {
|
|
13008
|
+
break;
|
|
13009
|
+
}
|
|
13010
|
+
message.clan_id = longToString(reader.int64());
|
|
13011
|
+
continue;
|
|
13012
|
+
case 2:
|
|
13013
|
+
if (tag !== 16) {
|
|
13014
|
+
break;
|
|
13015
|
+
}
|
|
13016
|
+
message.channel_id = longToString(reader.int64());
|
|
13017
|
+
continue;
|
|
13018
|
+
case 3:
|
|
13019
|
+
if (tag !== 26) {
|
|
13020
|
+
break;
|
|
13021
|
+
}
|
|
13022
|
+
message.room_name = reader.string();
|
|
13023
|
+
continue;
|
|
13024
|
+
case 4:
|
|
13025
|
+
if (tag !== 32) {
|
|
13026
|
+
break;
|
|
13027
|
+
}
|
|
13028
|
+
message.enabled = reader.bool();
|
|
13029
|
+
continue;
|
|
13030
|
+
}
|
|
13031
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13032
|
+
break;
|
|
13033
|
+
}
|
|
13034
|
+
reader.skipType(tag & 7);
|
|
13035
|
+
}
|
|
13036
|
+
return message;
|
|
13037
|
+
},
|
|
13038
|
+
fromJSON(object) {
|
|
13039
|
+
return {
|
|
13040
|
+
clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "0",
|
|
13041
|
+
channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "0",
|
|
13042
|
+
room_name: isSet(object.room_name) ? globalThis.String(object.room_name) : "",
|
|
13043
|
+
enabled: isSet(object.enabled) ? globalThis.Boolean(object.enabled) : false,
|
|
13044
|
+
};
|
|
13045
|
+
},
|
|
13046
|
+
toJSON(message) {
|
|
13047
|
+
const obj = {};
|
|
13048
|
+
if (message.clan_id !== "0") {
|
|
13049
|
+
obj.clan_id = message.clan_id;
|
|
13050
|
+
}
|
|
13051
|
+
if (message.channel_id !== "0") {
|
|
13052
|
+
obj.channel_id = message.channel_id;
|
|
13053
|
+
}
|
|
13054
|
+
if (message.room_name !== "") {
|
|
13055
|
+
obj.room_name = message.room_name;
|
|
13056
|
+
}
|
|
13057
|
+
if (message.enabled !== false) {
|
|
13058
|
+
obj.enabled = message.enabled;
|
|
13059
|
+
}
|
|
13060
|
+
return obj;
|
|
13061
|
+
},
|
|
13062
|
+
create(base) {
|
|
13063
|
+
return exports.AIAgentEnabledEvent.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
13064
|
+
},
|
|
13065
|
+
fromPartial(object) {
|
|
13066
|
+
var _a, _b, _c, _d;
|
|
13067
|
+
const message = createBaseAIAgentEnabledEvent();
|
|
13068
|
+
message.clan_id = (_a = object.clan_id) !== null && _a !== void 0 ? _a : "0";
|
|
13069
|
+
message.channel_id = (_b = object.channel_id) !== null && _b !== void 0 ? _b : "0";
|
|
13070
|
+
message.room_name = (_c = object.room_name) !== null && _c !== void 0 ? _c : "";
|
|
13071
|
+
message.enabled = (_d = object.enabled) !== null && _d !== void 0 ? _d : false;
|
|
13072
|
+
return message;
|
|
13073
|
+
},
|
|
13074
|
+
};
|
|
14064
13075
|
function bytesFromBase64(b64) {
|
|
14065
13076
|
if (globalThis.Buffer) {
|
|
14066
13077
|
return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
|