mezon-js-protobuf 1.4.5 → 1.4.7
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/api/api.ts +309 -8
- package/dist/mezon-js-protobuf/api/api.d.ts +222 -29
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -936,6 +936,28 @@ export interface VoiceChannelUserList {
|
|
|
936
936
|
voice_channel_users: VoiceChannelUser[];
|
|
937
937
|
}
|
|
938
938
|
|
|
939
|
+
/** channel attachment */
|
|
940
|
+
export interface ChannelAttachment {
|
|
941
|
+
/** url attachment */
|
|
942
|
+
id: string;
|
|
943
|
+
/** file name */
|
|
944
|
+
filename: string;
|
|
945
|
+
/** filetype */
|
|
946
|
+
filetype: string;
|
|
947
|
+
/** size */
|
|
948
|
+
filesize: string;
|
|
949
|
+
/** url */
|
|
950
|
+
url: string;
|
|
951
|
+
/** uploader */
|
|
952
|
+
uploader: string;
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
/** channel attachment list */
|
|
956
|
+
export interface ChannelAttachmentList {
|
|
957
|
+
/** list attachment */
|
|
958
|
+
attachments: ChannelAttachment[];
|
|
959
|
+
}
|
|
960
|
+
|
|
939
961
|
/** A list of users belonging to a clan, along with their role. */
|
|
940
962
|
export interface ClanUserList {
|
|
941
963
|
/** User-role pairs for a clan. */
|
|
@@ -1086,6 +1108,26 @@ export interface ListChannelUsersRequest {
|
|
|
1086
1108
|
cursor: string;
|
|
1087
1109
|
}
|
|
1088
1110
|
|
|
1111
|
+
/** List all attachments that are part of a channel. */
|
|
1112
|
+
export interface ListChannelAttachmentRequest {
|
|
1113
|
+
/** The clan id */
|
|
1114
|
+
clan_id: string;
|
|
1115
|
+
/** The channel ID to list from. */
|
|
1116
|
+
channel_id: string;
|
|
1117
|
+
/** The channel type */
|
|
1118
|
+
file_type: string;
|
|
1119
|
+
/** Max number of records to return. Between 1 and 100. */
|
|
1120
|
+
limit:
|
|
1121
|
+
| number
|
|
1122
|
+
| undefined;
|
|
1123
|
+
/** The group user state to list. */
|
|
1124
|
+
state:
|
|
1125
|
+
| number
|
|
1126
|
+
| undefined;
|
|
1127
|
+
/** An optional next page cursor. */
|
|
1128
|
+
cursor: string;
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1089
1131
|
/** List all users that are part of a clan. */
|
|
1090
1132
|
export interface ListClanUsersRequest {
|
|
1091
1133
|
/** The clan ID to list from. */
|
|
@@ -1882,7 +1924,7 @@ export interface Role {
|
|
|
1882
1924
|
role_user_list: RoleUserList | undefined;
|
|
1883
1925
|
permission_list: PermissionList | undefined;
|
|
1884
1926
|
role_channel_active: number;
|
|
1885
|
-
|
|
1927
|
+
channel_ids: string[];
|
|
1886
1928
|
}
|
|
1887
1929
|
|
|
1888
1930
|
/** Permission record */
|
|
@@ -7014,6 +7056,163 @@ export const VoiceChannelUserList = {
|
|
|
7014
7056
|
},
|
|
7015
7057
|
};
|
|
7016
7058
|
|
|
7059
|
+
function createBaseChannelAttachment(): ChannelAttachment {
|
|
7060
|
+
return { id: "", filename: "", filetype: "", filesize: "", url: "", uploader: "" };
|
|
7061
|
+
}
|
|
7062
|
+
|
|
7063
|
+
export const ChannelAttachment = {
|
|
7064
|
+
encode(message: ChannelAttachment, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
7065
|
+
if (message.id !== "") {
|
|
7066
|
+
writer.uint32(10).string(message.id);
|
|
7067
|
+
}
|
|
7068
|
+
if (message.filename !== "") {
|
|
7069
|
+
writer.uint32(18).string(message.filename);
|
|
7070
|
+
}
|
|
7071
|
+
if (message.filetype !== "") {
|
|
7072
|
+
writer.uint32(26).string(message.filetype);
|
|
7073
|
+
}
|
|
7074
|
+
if (message.filesize !== "") {
|
|
7075
|
+
writer.uint32(34).string(message.filesize);
|
|
7076
|
+
}
|
|
7077
|
+
if (message.url !== "") {
|
|
7078
|
+
writer.uint32(42).string(message.url);
|
|
7079
|
+
}
|
|
7080
|
+
if (message.uploader !== "") {
|
|
7081
|
+
writer.uint32(50).string(message.uploader);
|
|
7082
|
+
}
|
|
7083
|
+
return writer;
|
|
7084
|
+
},
|
|
7085
|
+
|
|
7086
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ChannelAttachment {
|
|
7087
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
7088
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
7089
|
+
const message = createBaseChannelAttachment();
|
|
7090
|
+
while (reader.pos < end) {
|
|
7091
|
+
const tag = reader.uint32();
|
|
7092
|
+
switch (tag >>> 3) {
|
|
7093
|
+
case 1:
|
|
7094
|
+
message.id = reader.string();
|
|
7095
|
+
break;
|
|
7096
|
+
case 2:
|
|
7097
|
+
message.filename = reader.string();
|
|
7098
|
+
break;
|
|
7099
|
+
case 3:
|
|
7100
|
+
message.filetype = reader.string();
|
|
7101
|
+
break;
|
|
7102
|
+
case 4:
|
|
7103
|
+
message.filesize = reader.string();
|
|
7104
|
+
break;
|
|
7105
|
+
case 5:
|
|
7106
|
+
message.url = reader.string();
|
|
7107
|
+
break;
|
|
7108
|
+
case 6:
|
|
7109
|
+
message.uploader = reader.string();
|
|
7110
|
+
break;
|
|
7111
|
+
default:
|
|
7112
|
+
reader.skipType(tag & 7);
|
|
7113
|
+
break;
|
|
7114
|
+
}
|
|
7115
|
+
}
|
|
7116
|
+
return message;
|
|
7117
|
+
},
|
|
7118
|
+
|
|
7119
|
+
fromJSON(object: any): ChannelAttachment {
|
|
7120
|
+
return {
|
|
7121
|
+
id: isSet(object.id) ? String(object.id) : "",
|
|
7122
|
+
filename: isSet(object.filename) ? String(object.filename) : "",
|
|
7123
|
+
filetype: isSet(object.filetype) ? String(object.filetype) : "",
|
|
7124
|
+
filesize: isSet(object.filesize) ? String(object.filesize) : "",
|
|
7125
|
+
url: isSet(object.url) ? String(object.url) : "",
|
|
7126
|
+
uploader: isSet(object.uploader) ? String(object.uploader) : "",
|
|
7127
|
+
};
|
|
7128
|
+
},
|
|
7129
|
+
|
|
7130
|
+
toJSON(message: ChannelAttachment): unknown {
|
|
7131
|
+
const obj: any = {};
|
|
7132
|
+
message.id !== undefined && (obj.id = message.id);
|
|
7133
|
+
message.filename !== undefined && (obj.filename = message.filename);
|
|
7134
|
+
message.filetype !== undefined && (obj.filetype = message.filetype);
|
|
7135
|
+
message.filesize !== undefined && (obj.filesize = message.filesize);
|
|
7136
|
+
message.url !== undefined && (obj.url = message.url);
|
|
7137
|
+
message.uploader !== undefined && (obj.uploader = message.uploader);
|
|
7138
|
+
return obj;
|
|
7139
|
+
},
|
|
7140
|
+
|
|
7141
|
+
create<I extends Exact<DeepPartial<ChannelAttachment>, I>>(base?: I): ChannelAttachment {
|
|
7142
|
+
return ChannelAttachment.fromPartial(base ?? {});
|
|
7143
|
+
},
|
|
7144
|
+
|
|
7145
|
+
fromPartial<I extends Exact<DeepPartial<ChannelAttachment>, I>>(object: I): ChannelAttachment {
|
|
7146
|
+
const message = createBaseChannelAttachment();
|
|
7147
|
+
message.id = object.id ?? "";
|
|
7148
|
+
message.filename = object.filename ?? "";
|
|
7149
|
+
message.filetype = object.filetype ?? "";
|
|
7150
|
+
message.filesize = object.filesize ?? "";
|
|
7151
|
+
message.url = object.url ?? "";
|
|
7152
|
+
message.uploader = object.uploader ?? "";
|
|
7153
|
+
return message;
|
|
7154
|
+
},
|
|
7155
|
+
};
|
|
7156
|
+
|
|
7157
|
+
function createBaseChannelAttachmentList(): ChannelAttachmentList {
|
|
7158
|
+
return { attachments: [] };
|
|
7159
|
+
}
|
|
7160
|
+
|
|
7161
|
+
export const ChannelAttachmentList = {
|
|
7162
|
+
encode(message: ChannelAttachmentList, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
7163
|
+
for (const v of message.attachments) {
|
|
7164
|
+
ChannelAttachment.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
7165
|
+
}
|
|
7166
|
+
return writer;
|
|
7167
|
+
},
|
|
7168
|
+
|
|
7169
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ChannelAttachmentList {
|
|
7170
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
7171
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
7172
|
+
const message = createBaseChannelAttachmentList();
|
|
7173
|
+
while (reader.pos < end) {
|
|
7174
|
+
const tag = reader.uint32();
|
|
7175
|
+
switch (tag >>> 3) {
|
|
7176
|
+
case 1:
|
|
7177
|
+
message.attachments.push(ChannelAttachment.decode(reader, reader.uint32()));
|
|
7178
|
+
break;
|
|
7179
|
+
default:
|
|
7180
|
+
reader.skipType(tag & 7);
|
|
7181
|
+
break;
|
|
7182
|
+
}
|
|
7183
|
+
}
|
|
7184
|
+
return message;
|
|
7185
|
+
},
|
|
7186
|
+
|
|
7187
|
+
fromJSON(object: any): ChannelAttachmentList {
|
|
7188
|
+
return {
|
|
7189
|
+
attachments: Array.isArray(object?.attachments)
|
|
7190
|
+
? object.attachments.map((e: any) => ChannelAttachment.fromJSON(e))
|
|
7191
|
+
: [],
|
|
7192
|
+
};
|
|
7193
|
+
},
|
|
7194
|
+
|
|
7195
|
+
toJSON(message: ChannelAttachmentList): unknown {
|
|
7196
|
+
const obj: any = {};
|
|
7197
|
+
if (message.attachments) {
|
|
7198
|
+
obj.attachments = message.attachments.map((e) => e ? ChannelAttachment.toJSON(e) : undefined);
|
|
7199
|
+
} else {
|
|
7200
|
+
obj.attachments = [];
|
|
7201
|
+
}
|
|
7202
|
+
return obj;
|
|
7203
|
+
},
|
|
7204
|
+
|
|
7205
|
+
create<I extends Exact<DeepPartial<ChannelAttachmentList>, I>>(base?: I): ChannelAttachmentList {
|
|
7206
|
+
return ChannelAttachmentList.fromPartial(base ?? {});
|
|
7207
|
+
},
|
|
7208
|
+
|
|
7209
|
+
fromPartial<I extends Exact<DeepPartial<ChannelAttachmentList>, I>>(object: I): ChannelAttachmentList {
|
|
7210
|
+
const message = createBaseChannelAttachmentList();
|
|
7211
|
+
message.attachments = object.attachments?.map((e) => ChannelAttachment.fromPartial(e)) || [];
|
|
7212
|
+
return message;
|
|
7213
|
+
},
|
|
7214
|
+
};
|
|
7215
|
+
|
|
7017
7216
|
function createBaseClanUserList(): ClanUserList {
|
|
7018
7217
|
return { clan_users: [], cursor: "", clan_id: "" };
|
|
7019
7218
|
}
|
|
@@ -7889,6 +8088,104 @@ export const ListChannelUsersRequest = {
|
|
|
7889
8088
|
},
|
|
7890
8089
|
};
|
|
7891
8090
|
|
|
8091
|
+
function createBaseListChannelAttachmentRequest(): ListChannelAttachmentRequest {
|
|
8092
|
+
return { clan_id: "", channel_id: "", file_type: "", limit: undefined, state: undefined, cursor: "" };
|
|
8093
|
+
}
|
|
8094
|
+
|
|
8095
|
+
export const ListChannelAttachmentRequest = {
|
|
8096
|
+
encode(message: ListChannelAttachmentRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
8097
|
+
if (message.clan_id !== "") {
|
|
8098
|
+
writer.uint32(10).string(message.clan_id);
|
|
8099
|
+
}
|
|
8100
|
+
if (message.channel_id !== "") {
|
|
8101
|
+
writer.uint32(18).string(message.channel_id);
|
|
8102
|
+
}
|
|
8103
|
+
if (message.file_type !== "") {
|
|
8104
|
+
writer.uint32(26).string(message.file_type);
|
|
8105
|
+
}
|
|
8106
|
+
if (message.limit !== undefined) {
|
|
8107
|
+
Int32Value.encode({ value: message.limit! }, writer.uint32(34).fork()).ldelim();
|
|
8108
|
+
}
|
|
8109
|
+
if (message.state !== undefined) {
|
|
8110
|
+
Int32Value.encode({ value: message.state! }, writer.uint32(42).fork()).ldelim();
|
|
8111
|
+
}
|
|
8112
|
+
if (message.cursor !== "") {
|
|
8113
|
+
writer.uint32(50).string(message.cursor);
|
|
8114
|
+
}
|
|
8115
|
+
return writer;
|
|
8116
|
+
},
|
|
8117
|
+
|
|
8118
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ListChannelAttachmentRequest {
|
|
8119
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
8120
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
8121
|
+
const message = createBaseListChannelAttachmentRequest();
|
|
8122
|
+
while (reader.pos < end) {
|
|
8123
|
+
const tag = reader.uint32();
|
|
8124
|
+
switch (tag >>> 3) {
|
|
8125
|
+
case 1:
|
|
8126
|
+
message.clan_id = reader.string();
|
|
8127
|
+
break;
|
|
8128
|
+
case 2:
|
|
8129
|
+
message.channel_id = reader.string();
|
|
8130
|
+
break;
|
|
8131
|
+
case 3:
|
|
8132
|
+
message.file_type = reader.string();
|
|
8133
|
+
break;
|
|
8134
|
+
case 4:
|
|
8135
|
+
message.limit = Int32Value.decode(reader, reader.uint32()).value;
|
|
8136
|
+
break;
|
|
8137
|
+
case 5:
|
|
8138
|
+
message.state = Int32Value.decode(reader, reader.uint32()).value;
|
|
8139
|
+
break;
|
|
8140
|
+
case 6:
|
|
8141
|
+
message.cursor = reader.string();
|
|
8142
|
+
break;
|
|
8143
|
+
default:
|
|
8144
|
+
reader.skipType(tag & 7);
|
|
8145
|
+
break;
|
|
8146
|
+
}
|
|
8147
|
+
}
|
|
8148
|
+
return message;
|
|
8149
|
+
},
|
|
8150
|
+
|
|
8151
|
+
fromJSON(object: any): ListChannelAttachmentRequest {
|
|
8152
|
+
return {
|
|
8153
|
+
clan_id: isSet(object.clan_id) ? String(object.clan_id) : "",
|
|
8154
|
+
channel_id: isSet(object.channel_id) ? String(object.channel_id) : "",
|
|
8155
|
+
file_type: isSet(object.file_type) ? String(object.file_type) : "",
|
|
8156
|
+
limit: isSet(object.limit) ? Number(object.limit) : undefined,
|
|
8157
|
+
state: isSet(object.state) ? Number(object.state) : undefined,
|
|
8158
|
+
cursor: isSet(object.cursor) ? String(object.cursor) : "",
|
|
8159
|
+
};
|
|
8160
|
+
},
|
|
8161
|
+
|
|
8162
|
+
toJSON(message: ListChannelAttachmentRequest): unknown {
|
|
8163
|
+
const obj: any = {};
|
|
8164
|
+
message.clan_id !== undefined && (obj.clan_id = message.clan_id);
|
|
8165
|
+
message.channel_id !== undefined && (obj.channel_id = message.channel_id);
|
|
8166
|
+
message.file_type !== undefined && (obj.file_type = message.file_type);
|
|
8167
|
+
message.limit !== undefined && (obj.limit = message.limit);
|
|
8168
|
+
message.state !== undefined && (obj.state = message.state);
|
|
8169
|
+
message.cursor !== undefined && (obj.cursor = message.cursor);
|
|
8170
|
+
return obj;
|
|
8171
|
+
},
|
|
8172
|
+
|
|
8173
|
+
create<I extends Exact<DeepPartial<ListChannelAttachmentRequest>, I>>(base?: I): ListChannelAttachmentRequest {
|
|
8174
|
+
return ListChannelAttachmentRequest.fromPartial(base ?? {});
|
|
8175
|
+
},
|
|
8176
|
+
|
|
8177
|
+
fromPartial<I extends Exact<DeepPartial<ListChannelAttachmentRequest>, I>>(object: I): ListChannelAttachmentRequest {
|
|
8178
|
+
const message = createBaseListChannelAttachmentRequest();
|
|
8179
|
+
message.clan_id = object.clan_id ?? "";
|
|
8180
|
+
message.channel_id = object.channel_id ?? "";
|
|
8181
|
+
message.file_type = object.file_type ?? "";
|
|
8182
|
+
message.limit = object.limit ?? undefined;
|
|
8183
|
+
message.state = object.state ?? undefined;
|
|
8184
|
+
message.cursor = object.cursor ?? "";
|
|
8185
|
+
return message;
|
|
8186
|
+
},
|
|
8187
|
+
};
|
|
8188
|
+
|
|
7892
8189
|
function createBaseListClanUsersRequest(): ListClanUsersRequest {
|
|
7893
8190
|
return { clan_id: "" };
|
|
7894
8191
|
}
|
|
@@ -12702,7 +12999,7 @@ function createBaseRole(): Role {
|
|
|
12702
12999
|
role_user_list: undefined,
|
|
12703
13000
|
permission_list: undefined,
|
|
12704
13001
|
role_channel_active: 0,
|
|
12705
|
-
|
|
13002
|
+
channel_ids: [],
|
|
12706
13003
|
};
|
|
12707
13004
|
}
|
|
12708
13005
|
|
|
@@ -12750,8 +13047,8 @@ export const Role = {
|
|
|
12750
13047
|
if (message.role_channel_active !== 0) {
|
|
12751
13048
|
writer.uint32(112).int32(message.role_channel_active);
|
|
12752
13049
|
}
|
|
12753
|
-
|
|
12754
|
-
writer.uint32(122).string(
|
|
13050
|
+
for (const v of message.channel_ids) {
|
|
13051
|
+
writer.uint32(122).string(v!);
|
|
12755
13052
|
}
|
|
12756
13053
|
return writer;
|
|
12757
13054
|
},
|
|
@@ -12806,7 +13103,7 @@ export const Role = {
|
|
|
12806
13103
|
message.role_channel_active = reader.int32();
|
|
12807
13104
|
break;
|
|
12808
13105
|
case 15:
|
|
12809
|
-
message.
|
|
13106
|
+
message.channel_ids.push(reader.string());
|
|
12810
13107
|
break;
|
|
12811
13108
|
default:
|
|
12812
13109
|
reader.skipType(tag & 7);
|
|
@@ -12832,7 +13129,7 @@ export const Role = {
|
|
|
12832
13129
|
role_user_list: isSet(object.role_user_list) ? RoleUserList.fromJSON(object.role_user_list) : undefined,
|
|
12833
13130
|
permission_list: isSet(object.permission_list) ? PermissionList.fromJSON(object.permission_list) : undefined,
|
|
12834
13131
|
role_channel_active: isSet(object.role_channel_active) ? Number(object.role_channel_active) : 0,
|
|
12835
|
-
|
|
13132
|
+
channel_ids: Array.isArray(object?.channel_ids) ? object.channel_ids.map((e: any) => String(e)) : [],
|
|
12836
13133
|
};
|
|
12837
13134
|
},
|
|
12838
13135
|
|
|
@@ -12854,7 +13151,11 @@ export const Role = {
|
|
|
12854
13151
|
message.permission_list !== undefined &&
|
|
12855
13152
|
(obj.permission_list = message.permission_list ? PermissionList.toJSON(message.permission_list) : undefined);
|
|
12856
13153
|
message.role_channel_active !== undefined && (obj.role_channel_active = Math.round(message.role_channel_active));
|
|
12857
|
-
|
|
13154
|
+
if (message.channel_ids) {
|
|
13155
|
+
obj.channel_ids = message.channel_ids.map((e) => e);
|
|
13156
|
+
} else {
|
|
13157
|
+
obj.channel_ids = [];
|
|
13158
|
+
}
|
|
12858
13159
|
return obj;
|
|
12859
13160
|
},
|
|
12860
13161
|
|
|
@@ -12882,7 +13183,7 @@ export const Role = {
|
|
|
12882
13183
|
? PermissionList.fromPartial(object.permission_list)
|
|
12883
13184
|
: undefined;
|
|
12884
13185
|
message.role_channel_active = object.role_channel_active ?? 0;
|
|
12885
|
-
message.
|
|
13186
|
+
message.channel_ids = object.channel_ids?.map((e) => e) || [];
|
|
12886
13187
|
return message;
|
|
12887
13188
|
},
|
|
12888
13189
|
};
|
|
@@ -649,6 +649,26 @@ export interface VoiceChannelUserList {
|
|
|
649
649
|
/** list of voice channel user */
|
|
650
650
|
voice_channel_users: VoiceChannelUser[];
|
|
651
651
|
}
|
|
652
|
+
/** channel attachment */
|
|
653
|
+
export interface ChannelAttachment {
|
|
654
|
+
/** url attachment */
|
|
655
|
+
id: string;
|
|
656
|
+
/** file name */
|
|
657
|
+
filename: string;
|
|
658
|
+
/** filetype */
|
|
659
|
+
filetype: string;
|
|
660
|
+
/** size */
|
|
661
|
+
filesize: string;
|
|
662
|
+
/** url */
|
|
663
|
+
url: string;
|
|
664
|
+
/** uploader */
|
|
665
|
+
uploader: string;
|
|
666
|
+
}
|
|
667
|
+
/** channel attachment list */
|
|
668
|
+
export interface ChannelAttachmentList {
|
|
669
|
+
/** list attachment */
|
|
670
|
+
attachments: ChannelAttachment[];
|
|
671
|
+
}
|
|
652
672
|
/** A list of users belonging to a clan, along with their role. */
|
|
653
673
|
export interface ClanUserList {
|
|
654
674
|
/** User-role pairs for a clan. */
|
|
@@ -759,6 +779,21 @@ export interface ListChannelUsersRequest {
|
|
|
759
779
|
/** An optional next page cursor. */
|
|
760
780
|
cursor: string;
|
|
761
781
|
}
|
|
782
|
+
/** List all attachments that are part of a channel. */
|
|
783
|
+
export interface ListChannelAttachmentRequest {
|
|
784
|
+
/** The clan id */
|
|
785
|
+
clan_id: string;
|
|
786
|
+
/** The channel ID to list from. */
|
|
787
|
+
channel_id: string;
|
|
788
|
+
/** The channel type */
|
|
789
|
+
file_type: string;
|
|
790
|
+
/** Max number of records to return. Between 1 and 100. */
|
|
791
|
+
limit: number | undefined;
|
|
792
|
+
/** The group user state to list. */
|
|
793
|
+
state: number | undefined;
|
|
794
|
+
/** An optional next page cursor. */
|
|
795
|
+
cursor: string;
|
|
796
|
+
}
|
|
762
797
|
/** List all users that are part of a clan. */
|
|
763
798
|
export interface ListClanUsersRequest {
|
|
764
799
|
/** The clan ID to list from. */
|
|
@@ -1396,7 +1431,7 @@ export interface Role {
|
|
|
1396
1431
|
role_user_list: RoleUserList | undefined;
|
|
1397
1432
|
permission_list: PermissionList | undefined;
|
|
1398
1433
|
role_channel_active: number;
|
|
1399
|
-
|
|
1434
|
+
channel_ids: string[];
|
|
1400
1435
|
}
|
|
1401
1436
|
/** Permission record */
|
|
1402
1437
|
export interface Permission {
|
|
@@ -5274,6 +5309,128 @@ export declare const VoiceChannelUserList: {
|
|
|
5274
5309
|
}[]>]: never; }) | undefined;
|
|
5275
5310
|
} & { [K_5 in Exclude<keyof I_1, "voice_channel_users">]: never; }>(object: I_1): VoiceChannelUserList;
|
|
5276
5311
|
};
|
|
5312
|
+
export declare const ChannelAttachment: {
|
|
5313
|
+
encode(message: ChannelAttachment, writer?: _m0.Writer): _m0.Writer;
|
|
5314
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ChannelAttachment;
|
|
5315
|
+
fromJSON(object: any): ChannelAttachment;
|
|
5316
|
+
toJSON(message: ChannelAttachment): unknown;
|
|
5317
|
+
create<I extends {
|
|
5318
|
+
id?: string | undefined;
|
|
5319
|
+
filename?: string | undefined;
|
|
5320
|
+
filetype?: string | undefined;
|
|
5321
|
+
filesize?: string | undefined;
|
|
5322
|
+
url?: string | undefined;
|
|
5323
|
+
uploader?: string | undefined;
|
|
5324
|
+
} & {
|
|
5325
|
+
id?: string | undefined;
|
|
5326
|
+
filename?: string | undefined;
|
|
5327
|
+
filetype?: string | undefined;
|
|
5328
|
+
filesize?: string | undefined;
|
|
5329
|
+
url?: string | undefined;
|
|
5330
|
+
uploader?: string | undefined;
|
|
5331
|
+
} & { [K in Exclude<keyof I, keyof ChannelAttachment>]: never; }>(base?: I | undefined): ChannelAttachment;
|
|
5332
|
+
fromPartial<I_1 extends {
|
|
5333
|
+
id?: string | undefined;
|
|
5334
|
+
filename?: string | undefined;
|
|
5335
|
+
filetype?: string | undefined;
|
|
5336
|
+
filesize?: string | undefined;
|
|
5337
|
+
url?: string | undefined;
|
|
5338
|
+
uploader?: string | undefined;
|
|
5339
|
+
} & {
|
|
5340
|
+
id?: string | undefined;
|
|
5341
|
+
filename?: string | undefined;
|
|
5342
|
+
filetype?: string | undefined;
|
|
5343
|
+
filesize?: string | undefined;
|
|
5344
|
+
url?: string | undefined;
|
|
5345
|
+
uploader?: string | undefined;
|
|
5346
|
+
} & { [K_1 in Exclude<keyof I_1, keyof ChannelAttachment>]: never; }>(object: I_1): ChannelAttachment;
|
|
5347
|
+
};
|
|
5348
|
+
export declare const ChannelAttachmentList: {
|
|
5349
|
+
encode(message: ChannelAttachmentList, writer?: _m0.Writer): _m0.Writer;
|
|
5350
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ChannelAttachmentList;
|
|
5351
|
+
fromJSON(object: any): ChannelAttachmentList;
|
|
5352
|
+
toJSON(message: ChannelAttachmentList): unknown;
|
|
5353
|
+
create<I extends {
|
|
5354
|
+
attachments?: {
|
|
5355
|
+
id?: string | undefined;
|
|
5356
|
+
filename?: string | undefined;
|
|
5357
|
+
filetype?: string | undefined;
|
|
5358
|
+
filesize?: string | undefined;
|
|
5359
|
+
url?: string | undefined;
|
|
5360
|
+
uploader?: string | undefined;
|
|
5361
|
+
}[] | undefined;
|
|
5362
|
+
} & {
|
|
5363
|
+
attachments?: ({
|
|
5364
|
+
id?: string | undefined;
|
|
5365
|
+
filename?: string | undefined;
|
|
5366
|
+
filetype?: string | undefined;
|
|
5367
|
+
filesize?: string | undefined;
|
|
5368
|
+
url?: string | undefined;
|
|
5369
|
+
uploader?: string | undefined;
|
|
5370
|
+
}[] & ({
|
|
5371
|
+
id?: string | undefined;
|
|
5372
|
+
filename?: string | undefined;
|
|
5373
|
+
filetype?: string | undefined;
|
|
5374
|
+
filesize?: string | undefined;
|
|
5375
|
+
url?: string | undefined;
|
|
5376
|
+
uploader?: string | undefined;
|
|
5377
|
+
} & {
|
|
5378
|
+
id?: string | undefined;
|
|
5379
|
+
filename?: string | undefined;
|
|
5380
|
+
filetype?: string | undefined;
|
|
5381
|
+
filesize?: string | undefined;
|
|
5382
|
+
url?: string | undefined;
|
|
5383
|
+
uploader?: string | undefined;
|
|
5384
|
+
} & { [K in Exclude<keyof I["attachments"][number], keyof ChannelAttachment>]: never; })[] & { [K_1 in Exclude<keyof I["attachments"], keyof {
|
|
5385
|
+
id?: string | undefined;
|
|
5386
|
+
filename?: string | undefined;
|
|
5387
|
+
filetype?: string | undefined;
|
|
5388
|
+
filesize?: string | undefined;
|
|
5389
|
+
url?: string | undefined;
|
|
5390
|
+
uploader?: string | undefined;
|
|
5391
|
+
}[]>]: never; }) | undefined;
|
|
5392
|
+
} & { [K_2 in Exclude<keyof I, "attachments">]: never; }>(base?: I | undefined): ChannelAttachmentList;
|
|
5393
|
+
fromPartial<I_1 extends {
|
|
5394
|
+
attachments?: {
|
|
5395
|
+
id?: string | undefined;
|
|
5396
|
+
filename?: string | undefined;
|
|
5397
|
+
filetype?: string | undefined;
|
|
5398
|
+
filesize?: string | undefined;
|
|
5399
|
+
url?: string | undefined;
|
|
5400
|
+
uploader?: string | undefined;
|
|
5401
|
+
}[] | undefined;
|
|
5402
|
+
} & {
|
|
5403
|
+
attachments?: ({
|
|
5404
|
+
id?: string | undefined;
|
|
5405
|
+
filename?: string | undefined;
|
|
5406
|
+
filetype?: string | undefined;
|
|
5407
|
+
filesize?: string | undefined;
|
|
5408
|
+
url?: string | undefined;
|
|
5409
|
+
uploader?: string | undefined;
|
|
5410
|
+
}[] & ({
|
|
5411
|
+
id?: string | undefined;
|
|
5412
|
+
filename?: string | undefined;
|
|
5413
|
+
filetype?: string | undefined;
|
|
5414
|
+
filesize?: string | undefined;
|
|
5415
|
+
url?: string | undefined;
|
|
5416
|
+
uploader?: string | undefined;
|
|
5417
|
+
} & {
|
|
5418
|
+
id?: string | undefined;
|
|
5419
|
+
filename?: string | undefined;
|
|
5420
|
+
filetype?: string | undefined;
|
|
5421
|
+
filesize?: string | undefined;
|
|
5422
|
+
url?: string | undefined;
|
|
5423
|
+
uploader?: string | undefined;
|
|
5424
|
+
} & { [K_3 in Exclude<keyof I_1["attachments"][number], keyof ChannelAttachment>]: never; })[] & { [K_4 in Exclude<keyof I_1["attachments"], keyof {
|
|
5425
|
+
id?: string | undefined;
|
|
5426
|
+
filename?: string | undefined;
|
|
5427
|
+
filetype?: string | undefined;
|
|
5428
|
+
filesize?: string | undefined;
|
|
5429
|
+
url?: string | undefined;
|
|
5430
|
+
uploader?: string | undefined;
|
|
5431
|
+
}[]>]: never; }) | undefined;
|
|
5432
|
+
} & { [K_5 in Exclude<keyof I_1, "attachments">]: never; }>(object: I_1): ChannelAttachmentList;
|
|
5433
|
+
};
|
|
5277
5434
|
export declare const ClanUserList: {
|
|
5278
5435
|
encode(message: ClanUserList, writer?: _m0.Writer): _m0.Writer;
|
|
5279
5436
|
decode(input: _m0.Reader | Uint8Array, length?: number): ClanUserList;
|
|
@@ -6056,6 +6213,42 @@ export declare const ListChannelUsersRequest: {
|
|
|
6056
6213
|
cursor?: string | undefined;
|
|
6057
6214
|
} & { [K_1 in Exclude<keyof I_1, keyof ListChannelUsersRequest>]: never; }>(object: I_1): ListChannelUsersRequest;
|
|
6058
6215
|
};
|
|
6216
|
+
export declare const ListChannelAttachmentRequest: {
|
|
6217
|
+
encode(message: ListChannelAttachmentRequest, writer?: _m0.Writer): _m0.Writer;
|
|
6218
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ListChannelAttachmentRequest;
|
|
6219
|
+
fromJSON(object: any): ListChannelAttachmentRequest;
|
|
6220
|
+
toJSON(message: ListChannelAttachmentRequest): unknown;
|
|
6221
|
+
create<I extends {
|
|
6222
|
+
clan_id?: string | undefined;
|
|
6223
|
+
channel_id?: string | undefined;
|
|
6224
|
+
file_type?: string | undefined;
|
|
6225
|
+
limit?: number | undefined;
|
|
6226
|
+
state?: number | undefined;
|
|
6227
|
+
cursor?: string | undefined;
|
|
6228
|
+
} & {
|
|
6229
|
+
clan_id?: string | undefined;
|
|
6230
|
+
channel_id?: string | undefined;
|
|
6231
|
+
file_type?: string | undefined;
|
|
6232
|
+
limit?: number | undefined;
|
|
6233
|
+
state?: number | undefined;
|
|
6234
|
+
cursor?: string | undefined;
|
|
6235
|
+
} & { [K in Exclude<keyof I, keyof ListChannelAttachmentRequest>]: never; }>(base?: I | undefined): ListChannelAttachmentRequest;
|
|
6236
|
+
fromPartial<I_1 extends {
|
|
6237
|
+
clan_id?: string | undefined;
|
|
6238
|
+
channel_id?: string | undefined;
|
|
6239
|
+
file_type?: string | undefined;
|
|
6240
|
+
limit?: number | undefined;
|
|
6241
|
+
state?: number | undefined;
|
|
6242
|
+
cursor?: string | undefined;
|
|
6243
|
+
} & {
|
|
6244
|
+
clan_id?: string | undefined;
|
|
6245
|
+
channel_id?: string | undefined;
|
|
6246
|
+
file_type?: string | undefined;
|
|
6247
|
+
limit?: number | undefined;
|
|
6248
|
+
state?: number | undefined;
|
|
6249
|
+
cursor?: string | undefined;
|
|
6250
|
+
} & { [K_1 in Exclude<keyof I_1, keyof ListChannelAttachmentRequest>]: never; }>(object: I_1): ListChannelAttachmentRequest;
|
|
6251
|
+
};
|
|
6059
6252
|
export declare const ListClanUsersRequest: {
|
|
6060
6253
|
encode(message: ListClanUsersRequest, writer?: _m0.Writer): _m0.Writer;
|
|
6061
6254
|
decode(input: _m0.Reader | Uint8Array, length?: number): ListClanUsersRequest;
|
|
@@ -9069,7 +9262,7 @@ export declare const Role: {
|
|
|
9069
9262
|
}[] | undefined;
|
|
9070
9263
|
} | undefined;
|
|
9071
9264
|
role_channel_active?: number | undefined;
|
|
9072
|
-
|
|
9265
|
+
channel_ids?: string[] | undefined;
|
|
9073
9266
|
} & {
|
|
9074
9267
|
id?: string | undefined;
|
|
9075
9268
|
title?: string | undefined;
|
|
@@ -9165,8 +9358,8 @@ export declare const Role: {
|
|
|
9165
9358
|
}[]>]: never; }) | undefined;
|
|
9166
9359
|
} & { [K_5 in Exclude<keyof I["permission_list"], "permissions">]: never; }) | undefined;
|
|
9167
9360
|
role_channel_active?: number | undefined;
|
|
9168
|
-
|
|
9169
|
-
} & { [
|
|
9361
|
+
channel_ids?: (string[] & string[] & { [K_6 in Exclude<keyof I["channel_ids"], keyof string[]>]: never; }) | undefined;
|
|
9362
|
+
} & { [K_7 in Exclude<keyof I, keyof Role>]: never; }>(base?: I | undefined): Role;
|
|
9170
9363
|
fromPartial<I_1 extends {
|
|
9171
9364
|
id?: string | undefined;
|
|
9172
9365
|
title?: string | undefined;
|
|
@@ -9201,7 +9394,7 @@ export declare const Role: {
|
|
|
9201
9394
|
}[] | undefined;
|
|
9202
9395
|
} | undefined;
|
|
9203
9396
|
role_channel_active?: number | undefined;
|
|
9204
|
-
|
|
9397
|
+
channel_ids?: string[] | undefined;
|
|
9205
9398
|
} & {
|
|
9206
9399
|
id?: string | undefined;
|
|
9207
9400
|
title?: string | undefined;
|
|
@@ -9250,7 +9443,7 @@ export declare const Role: {
|
|
|
9250
9443
|
lang_tag?: string | undefined;
|
|
9251
9444
|
location?: string | undefined;
|
|
9252
9445
|
online?: boolean | undefined;
|
|
9253
|
-
} & { [
|
|
9446
|
+
} & { [K_8 in Exclude<keyof I_1["role_user_list"]["role_users"][number], keyof RoleUserList_RoleUser>]: never; })[] & { [K_9 in Exclude<keyof I_1["role_user_list"]["role_users"], keyof {
|
|
9254
9447
|
id?: string | undefined;
|
|
9255
9448
|
username?: string | undefined;
|
|
9256
9449
|
display_name?: string | undefined;
|
|
@@ -9260,7 +9453,7 @@ export declare const Role: {
|
|
|
9260
9453
|
online?: boolean | undefined;
|
|
9261
9454
|
}[]>]: never; }) | undefined;
|
|
9262
9455
|
cursor?: string | undefined;
|
|
9263
|
-
} & { [
|
|
9456
|
+
} & { [K_10 in Exclude<keyof I_1["role_user_list"], keyof RoleUserList>]: never; }) | undefined;
|
|
9264
9457
|
permission_list?: ({
|
|
9265
9458
|
permissions?: {
|
|
9266
9459
|
id?: string | undefined;
|
|
@@ -9288,17 +9481,17 @@ export declare const Role: {
|
|
|
9288
9481
|
slug?: string | undefined;
|
|
9289
9482
|
description?: string | undefined;
|
|
9290
9483
|
active?: number | undefined;
|
|
9291
|
-
} & { [
|
|
9484
|
+
} & { [K_11 in Exclude<keyof I_1["permission_list"]["permissions"][number], keyof Permission>]: never; })[] & { [K_12 in Exclude<keyof I_1["permission_list"]["permissions"], keyof {
|
|
9292
9485
|
id?: string | undefined;
|
|
9293
9486
|
title?: string | undefined;
|
|
9294
9487
|
slug?: string | undefined;
|
|
9295
9488
|
description?: string | undefined;
|
|
9296
9489
|
active?: number | undefined;
|
|
9297
9490
|
}[]>]: never; }) | undefined;
|
|
9298
|
-
} & { [
|
|
9491
|
+
} & { [K_13 in Exclude<keyof I_1["permission_list"], "permissions">]: never; }) | undefined;
|
|
9299
9492
|
role_channel_active?: number | undefined;
|
|
9300
|
-
|
|
9301
|
-
} & { [
|
|
9493
|
+
channel_ids?: (string[] & string[] & { [K_14 in Exclude<keyof I_1["channel_ids"], keyof string[]>]: never; }) | undefined;
|
|
9494
|
+
} & { [K_15 in Exclude<keyof I_1, keyof Role>]: never; }>(object: I_1): Role;
|
|
9302
9495
|
};
|
|
9303
9496
|
export declare const Permission: {
|
|
9304
9497
|
encode(message: Permission, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -9372,7 +9565,7 @@ export declare const RoleList: {
|
|
|
9372
9565
|
}[] | undefined;
|
|
9373
9566
|
} | undefined;
|
|
9374
9567
|
role_channel_active?: number | undefined;
|
|
9375
|
-
|
|
9568
|
+
channel_ids?: string[] | undefined;
|
|
9376
9569
|
}[] | undefined;
|
|
9377
9570
|
next_cursor?: string | undefined;
|
|
9378
9571
|
prev_cursor?: string | undefined;
|
|
@@ -9412,7 +9605,7 @@ export declare const RoleList: {
|
|
|
9412
9605
|
}[] | undefined;
|
|
9413
9606
|
} | undefined;
|
|
9414
9607
|
role_channel_active?: number | undefined;
|
|
9415
|
-
|
|
9608
|
+
channel_ids?: string[] | undefined;
|
|
9416
9609
|
}[] & ({
|
|
9417
9610
|
id?: string | undefined;
|
|
9418
9611
|
title?: string | undefined;
|
|
@@ -9447,7 +9640,7 @@ export declare const RoleList: {
|
|
|
9447
9640
|
}[] | undefined;
|
|
9448
9641
|
} | undefined;
|
|
9449
9642
|
role_channel_active?: number | undefined;
|
|
9450
|
-
|
|
9643
|
+
channel_ids?: string[] | undefined;
|
|
9451
9644
|
} & {
|
|
9452
9645
|
id?: string | undefined;
|
|
9453
9646
|
title?: string | undefined;
|
|
@@ -9543,8 +9736,8 @@ export declare const RoleList: {
|
|
|
9543
9736
|
}[]>]: never; }) | undefined;
|
|
9544
9737
|
} & { [K_5 in Exclude<keyof I["roles"][number]["permission_list"], "permissions">]: never; }) | undefined;
|
|
9545
9738
|
role_channel_active?: number | undefined;
|
|
9546
|
-
|
|
9547
|
-
} & { [
|
|
9739
|
+
channel_ids?: (string[] & string[] & { [K_6 in Exclude<keyof I["roles"][number]["channel_ids"], keyof string[]>]: never; }) | undefined;
|
|
9740
|
+
} & { [K_7 in Exclude<keyof I["roles"][number], keyof Role>]: never; })[] & { [K_8 in Exclude<keyof I["roles"], keyof {
|
|
9548
9741
|
id?: string | undefined;
|
|
9549
9742
|
title?: string | undefined;
|
|
9550
9743
|
color?: string | undefined;
|
|
@@ -9578,12 +9771,12 @@ export declare const RoleList: {
|
|
|
9578
9771
|
}[] | undefined;
|
|
9579
9772
|
} | undefined;
|
|
9580
9773
|
role_channel_active?: number | undefined;
|
|
9581
|
-
|
|
9774
|
+
channel_ids?: string[] | undefined;
|
|
9582
9775
|
}[]>]: never; }) | undefined;
|
|
9583
9776
|
next_cursor?: string | undefined;
|
|
9584
9777
|
prev_cursor?: string | undefined;
|
|
9585
9778
|
cacheable_cursor?: string | undefined;
|
|
9586
|
-
} & { [
|
|
9779
|
+
} & { [K_9 in Exclude<keyof I, keyof RoleList>]: never; }>(base?: I | undefined): RoleList;
|
|
9587
9780
|
fromPartial<I_1 extends {
|
|
9588
9781
|
roles?: {
|
|
9589
9782
|
id?: string | undefined;
|
|
@@ -9619,7 +9812,7 @@ export declare const RoleList: {
|
|
|
9619
9812
|
}[] | undefined;
|
|
9620
9813
|
} | undefined;
|
|
9621
9814
|
role_channel_active?: number | undefined;
|
|
9622
|
-
|
|
9815
|
+
channel_ids?: string[] | undefined;
|
|
9623
9816
|
}[] | undefined;
|
|
9624
9817
|
next_cursor?: string | undefined;
|
|
9625
9818
|
prev_cursor?: string | undefined;
|
|
@@ -9659,7 +9852,7 @@ export declare const RoleList: {
|
|
|
9659
9852
|
}[] | undefined;
|
|
9660
9853
|
} | undefined;
|
|
9661
9854
|
role_channel_active?: number | undefined;
|
|
9662
|
-
|
|
9855
|
+
channel_ids?: string[] | undefined;
|
|
9663
9856
|
}[] & ({
|
|
9664
9857
|
id?: string | undefined;
|
|
9665
9858
|
title?: string | undefined;
|
|
@@ -9694,7 +9887,7 @@ export declare const RoleList: {
|
|
|
9694
9887
|
}[] | undefined;
|
|
9695
9888
|
} | undefined;
|
|
9696
9889
|
role_channel_active?: number | undefined;
|
|
9697
|
-
|
|
9890
|
+
channel_ids?: string[] | undefined;
|
|
9698
9891
|
} & {
|
|
9699
9892
|
id?: string | undefined;
|
|
9700
9893
|
title?: string | undefined;
|
|
@@ -9743,7 +9936,7 @@ export declare const RoleList: {
|
|
|
9743
9936
|
lang_tag?: string | undefined;
|
|
9744
9937
|
location?: string | undefined;
|
|
9745
9938
|
online?: boolean | undefined;
|
|
9746
|
-
} & { [
|
|
9939
|
+
} & { [K_10 in Exclude<keyof I_1["roles"][number]["role_user_list"]["role_users"][number], keyof RoleUserList_RoleUser>]: never; })[] & { [K_11 in Exclude<keyof I_1["roles"][number]["role_user_list"]["role_users"], keyof {
|
|
9747
9940
|
id?: string | undefined;
|
|
9748
9941
|
username?: string | undefined;
|
|
9749
9942
|
display_name?: string | undefined;
|
|
@@ -9753,7 +9946,7 @@ export declare const RoleList: {
|
|
|
9753
9946
|
online?: boolean | undefined;
|
|
9754
9947
|
}[]>]: never; }) | undefined;
|
|
9755
9948
|
cursor?: string | undefined;
|
|
9756
|
-
} & { [
|
|
9949
|
+
} & { [K_12 in Exclude<keyof I_1["roles"][number]["role_user_list"], keyof RoleUserList>]: never; }) | undefined;
|
|
9757
9950
|
permission_list?: ({
|
|
9758
9951
|
permissions?: {
|
|
9759
9952
|
id?: string | undefined;
|
|
@@ -9781,17 +9974,17 @@ export declare const RoleList: {
|
|
|
9781
9974
|
slug?: string | undefined;
|
|
9782
9975
|
description?: string | undefined;
|
|
9783
9976
|
active?: number | undefined;
|
|
9784
|
-
} & { [
|
|
9977
|
+
} & { [K_13 in Exclude<keyof I_1["roles"][number]["permission_list"]["permissions"][number], keyof Permission>]: never; })[] & { [K_14 in Exclude<keyof I_1["roles"][number]["permission_list"]["permissions"], keyof {
|
|
9785
9978
|
id?: string | undefined;
|
|
9786
9979
|
title?: string | undefined;
|
|
9787
9980
|
slug?: string | undefined;
|
|
9788
9981
|
description?: string | undefined;
|
|
9789
9982
|
active?: number | undefined;
|
|
9790
9983
|
}[]>]: never; }) | undefined;
|
|
9791
|
-
} & { [
|
|
9984
|
+
} & { [K_15 in Exclude<keyof I_1["roles"][number]["permission_list"], "permissions">]: never; }) | undefined;
|
|
9792
9985
|
role_channel_active?: number | undefined;
|
|
9793
|
-
|
|
9794
|
-
} & { [
|
|
9986
|
+
channel_ids?: (string[] & string[] & { [K_16 in Exclude<keyof I_1["roles"][number]["channel_ids"], keyof string[]>]: never; }) | undefined;
|
|
9987
|
+
} & { [K_17 in Exclude<keyof I_1["roles"][number], keyof Role>]: never; })[] & { [K_18 in Exclude<keyof I_1["roles"], keyof {
|
|
9795
9988
|
id?: string | undefined;
|
|
9796
9989
|
title?: string | undefined;
|
|
9797
9990
|
color?: string | undefined;
|
|
@@ -9825,12 +10018,12 @@ export declare const RoleList: {
|
|
|
9825
10018
|
}[] | undefined;
|
|
9826
10019
|
} | undefined;
|
|
9827
10020
|
role_channel_active?: number | undefined;
|
|
9828
|
-
|
|
10021
|
+
channel_ids?: string[] | undefined;
|
|
9829
10022
|
}[]>]: never; }) | undefined;
|
|
9830
10023
|
next_cursor?: string | undefined;
|
|
9831
10024
|
prev_cursor?: string | undefined;
|
|
9832
10025
|
cacheable_cursor?: string | undefined;
|
|
9833
|
-
} & { [
|
|
10026
|
+
} & { [K_19 in Exclude<keyof I_1, keyof RoleList>]: never; }>(object: I_1): RoleList;
|
|
9834
10027
|
};
|
|
9835
10028
|
export declare const PermissionList: {
|
|
9836
10029
|
encode(message: PermissionList, writer?: _m0.Writer): _m0.Writer;
|
package/package.json
CHANGED