mezon-js-protobuf 1.5.93 → 1.5.94
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 +18 -1
- package/dist/mezon-js-protobuf/api/api.d.ts +6 -0
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -1870,6 +1870,8 @@ export interface ListThreadRequest {
|
|
|
1870
1870
|
clan_id: string;
|
|
1871
1871
|
/** channel id */
|
|
1872
1872
|
channel_id: string;
|
|
1873
|
+
/** thread id */
|
|
1874
|
+
thread_id: string;
|
|
1873
1875
|
}
|
|
1874
1876
|
|
|
1875
1877
|
/** List (and optionally filter) channels. */
|
|
@@ -16283,7 +16285,7 @@ export const ChannelDescList = {
|
|
|
16283
16285
|
};
|
|
16284
16286
|
|
|
16285
16287
|
function createBaseListThreadRequest(): ListThreadRequest {
|
|
16286
|
-
return { limit: undefined, state: undefined, clan_id: "", channel_id: "" };
|
|
16288
|
+
return { limit: undefined, state: undefined, clan_id: "", channel_id: "", thread_id: "" };
|
|
16287
16289
|
}
|
|
16288
16290
|
|
|
16289
16291
|
export const ListThreadRequest = {
|
|
@@ -16300,6 +16302,9 @@ export const ListThreadRequest = {
|
|
|
16300
16302
|
if (message.channel_id !== "") {
|
|
16301
16303
|
writer.uint32(34).string(message.channel_id);
|
|
16302
16304
|
}
|
|
16305
|
+
if (message.thread_id !== "") {
|
|
16306
|
+
writer.uint32(42).string(message.thread_id);
|
|
16307
|
+
}
|
|
16303
16308
|
return writer;
|
|
16304
16309
|
},
|
|
16305
16310
|
|
|
@@ -16338,6 +16343,13 @@ export const ListThreadRequest = {
|
|
|
16338
16343
|
|
|
16339
16344
|
message.channel_id = reader.string();
|
|
16340
16345
|
continue;
|
|
16346
|
+
case 5:
|
|
16347
|
+
if (tag !== 42) {
|
|
16348
|
+
break;
|
|
16349
|
+
}
|
|
16350
|
+
|
|
16351
|
+
message.thread_id = reader.string();
|
|
16352
|
+
continue;
|
|
16341
16353
|
}
|
|
16342
16354
|
if ((tag & 7) === 4 || tag === 0) {
|
|
16343
16355
|
break;
|
|
@@ -16353,6 +16365,7 @@ export const ListThreadRequest = {
|
|
|
16353
16365
|
state: isSet(object.state) ? Number(object.state) : undefined,
|
|
16354
16366
|
clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
16355
16367
|
channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
16368
|
+
thread_id: isSet(object.thread_id) ? globalThis.String(object.thread_id) : "",
|
|
16356
16369
|
};
|
|
16357
16370
|
},
|
|
16358
16371
|
|
|
@@ -16370,6 +16383,9 @@ export const ListThreadRequest = {
|
|
|
16370
16383
|
if (message.channel_id !== "") {
|
|
16371
16384
|
obj.channel_id = message.channel_id;
|
|
16372
16385
|
}
|
|
16386
|
+
if (message.thread_id !== "") {
|
|
16387
|
+
obj.thread_id = message.thread_id;
|
|
16388
|
+
}
|
|
16373
16389
|
return obj;
|
|
16374
16390
|
},
|
|
16375
16391
|
|
|
@@ -16382,6 +16398,7 @@ export const ListThreadRequest = {
|
|
|
16382
16398
|
message.state = object.state ?? undefined;
|
|
16383
16399
|
message.clan_id = object.clan_id ?? "";
|
|
16384
16400
|
message.channel_id = object.channel_id ?? "";
|
|
16401
|
+
message.thread_id = object.thread_id ?? "";
|
|
16385
16402
|
return message;
|
|
16386
16403
|
},
|
|
16387
16404
|
};
|
|
@@ -1394,6 +1394,8 @@ export interface ListThreadRequest {
|
|
|
1394
1394
|
clan_id: string;
|
|
1395
1395
|
/** channel id */
|
|
1396
1396
|
channel_id: string;
|
|
1397
|
+
/** thread id */
|
|
1398
|
+
thread_id: string;
|
|
1397
1399
|
}
|
|
1398
1400
|
/** List (and optionally filter) channels. */
|
|
1399
1401
|
export interface ListChannelDescsRequest {
|
|
@@ -9995,22 +9997,26 @@ export declare const ListThreadRequest: {
|
|
|
9995
9997
|
state?: number | undefined;
|
|
9996
9998
|
clan_id?: string | undefined;
|
|
9997
9999
|
channel_id?: string | undefined;
|
|
10000
|
+
thread_id?: string | undefined;
|
|
9998
10001
|
} & {
|
|
9999
10002
|
limit?: number | undefined;
|
|
10000
10003
|
state?: number | undefined;
|
|
10001
10004
|
clan_id?: string | undefined;
|
|
10002
10005
|
channel_id?: string | undefined;
|
|
10006
|
+
thread_id?: string | undefined;
|
|
10003
10007
|
} & { [K in Exclude<keyof I, keyof ListThreadRequest>]: never; }>(base?: I | undefined): ListThreadRequest;
|
|
10004
10008
|
fromPartial<I_1 extends {
|
|
10005
10009
|
limit?: number | undefined;
|
|
10006
10010
|
state?: number | undefined;
|
|
10007
10011
|
clan_id?: string | undefined;
|
|
10008
10012
|
channel_id?: string | undefined;
|
|
10013
|
+
thread_id?: string | undefined;
|
|
10009
10014
|
} & {
|
|
10010
10015
|
limit?: number | undefined;
|
|
10011
10016
|
state?: number | undefined;
|
|
10012
10017
|
clan_id?: string | undefined;
|
|
10013
10018
|
channel_id?: string | undefined;
|
|
10019
|
+
thread_id?: string | undefined;
|
|
10014
10020
|
} & { [K_1 in Exclude<keyof I_1, keyof ListThreadRequest>]: never; }>(object: I_1): ListThreadRequest;
|
|
10015
10021
|
};
|
|
10016
10022
|
export declare const ListChannelDescsRequest: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mezon-js-protobuf",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.94",
|
|
4
4
|
"description": "Websocket adapter adding protocol buffer support to the Mezon Javascript client.",
|
|
5
5
|
"main": "dist/mezon-js-protobuf.cjs.js",
|
|
6
6
|
"module": "dist/mezon-js-protobuf.esm.mjs",
|