mezon-js-protobuf 1.5.61 → 1.5.63
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 +4 -36
- package/dist/mezon-js-protobuf/api/api.d.ts +0 -10
- package/dist/mezon-js-protobuf/rtapi/realtime.d.ts +987 -236
- package/dist/mezon-js-protobuf.cjs.js +29 -124
- package/dist/mezon-js-protobuf.esm.mjs +29 -124
- package/package.json +1 -1
- package/rtapi/realtime.ts +33 -155
package/api/api.ts
CHANGED
|
@@ -2476,9 +2476,7 @@ export interface ClanEmojiDeleteRequest {
|
|
|
2476
2476
|
|
|
2477
2477
|
export interface ClanEmojiUpdateRequest {
|
|
2478
2478
|
id: string;
|
|
2479
|
-
source: string;
|
|
2480
2479
|
shortname: string;
|
|
2481
|
-
category: string;
|
|
2482
2480
|
clan_id: string;
|
|
2483
2481
|
}
|
|
2484
2482
|
|
|
@@ -22246,7 +22244,7 @@ export const ClanEmojiDeleteRequest = {
|
|
|
22246
22244
|
};
|
|
22247
22245
|
|
|
22248
22246
|
function createBaseClanEmojiUpdateRequest(): ClanEmojiUpdateRequest {
|
|
22249
|
-
return { id: "",
|
|
22247
|
+
return { id: "", shortname: "", clan_id: "" };
|
|
22250
22248
|
}
|
|
22251
22249
|
|
|
22252
22250
|
export const ClanEmojiUpdateRequest = {
|
|
@@ -22254,17 +22252,11 @@ export const ClanEmojiUpdateRequest = {
|
|
|
22254
22252
|
if (message.id !== "") {
|
|
22255
22253
|
writer.uint32(10).string(message.id);
|
|
22256
22254
|
}
|
|
22257
|
-
if (message.source !== "") {
|
|
22258
|
-
writer.uint32(18).string(message.source);
|
|
22259
|
-
}
|
|
22260
22255
|
if (message.shortname !== "") {
|
|
22261
|
-
writer.uint32(
|
|
22262
|
-
}
|
|
22263
|
-
if (message.category !== "") {
|
|
22264
|
-
writer.uint32(34).string(message.category);
|
|
22256
|
+
writer.uint32(18).string(message.shortname);
|
|
22265
22257
|
}
|
|
22266
22258
|
if (message.clan_id !== "") {
|
|
22267
|
-
writer.uint32(
|
|
22259
|
+
writer.uint32(26).string(message.clan_id);
|
|
22268
22260
|
}
|
|
22269
22261
|
return writer;
|
|
22270
22262
|
},
|
|
@@ -22288,27 +22280,13 @@ export const ClanEmojiUpdateRequest = {
|
|
|
22288
22280
|
break;
|
|
22289
22281
|
}
|
|
22290
22282
|
|
|
22291
|
-
message.
|
|
22283
|
+
message.shortname = reader.string();
|
|
22292
22284
|
continue;
|
|
22293
22285
|
case 3:
|
|
22294
22286
|
if (tag !== 26) {
|
|
22295
22287
|
break;
|
|
22296
22288
|
}
|
|
22297
22289
|
|
|
22298
|
-
message.shortname = reader.string();
|
|
22299
|
-
continue;
|
|
22300
|
-
case 4:
|
|
22301
|
-
if (tag !== 34) {
|
|
22302
|
-
break;
|
|
22303
|
-
}
|
|
22304
|
-
|
|
22305
|
-
message.category = reader.string();
|
|
22306
|
-
continue;
|
|
22307
|
-
case 5:
|
|
22308
|
-
if (tag !== 42) {
|
|
22309
|
-
break;
|
|
22310
|
-
}
|
|
22311
|
-
|
|
22312
22290
|
message.clan_id = reader.string();
|
|
22313
22291
|
continue;
|
|
22314
22292
|
}
|
|
@@ -22323,9 +22301,7 @@ export const ClanEmojiUpdateRequest = {
|
|
|
22323
22301
|
fromJSON(object: any): ClanEmojiUpdateRequest {
|
|
22324
22302
|
return {
|
|
22325
22303
|
id: isSet(object.id) ? globalThis.String(object.id) : "",
|
|
22326
|
-
source: isSet(object.source) ? globalThis.String(object.source) : "",
|
|
22327
22304
|
shortname: isSet(object.shortname) ? globalThis.String(object.shortname) : "",
|
|
22328
|
-
category: isSet(object.category) ? globalThis.String(object.category) : "",
|
|
22329
22305
|
clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
22330
22306
|
};
|
|
22331
22307
|
},
|
|
@@ -22335,15 +22311,9 @@ export const ClanEmojiUpdateRequest = {
|
|
|
22335
22311
|
if (message.id !== "") {
|
|
22336
22312
|
obj.id = message.id;
|
|
22337
22313
|
}
|
|
22338
|
-
if (message.source !== "") {
|
|
22339
|
-
obj.source = message.source;
|
|
22340
|
-
}
|
|
22341
22314
|
if (message.shortname !== "") {
|
|
22342
22315
|
obj.shortname = message.shortname;
|
|
22343
22316
|
}
|
|
22344
|
-
if (message.category !== "") {
|
|
22345
|
-
obj.category = message.category;
|
|
22346
|
-
}
|
|
22347
22317
|
if (message.clan_id !== "") {
|
|
22348
22318
|
obj.clan_id = message.clan_id;
|
|
22349
22319
|
}
|
|
@@ -22356,9 +22326,7 @@ export const ClanEmojiUpdateRequest = {
|
|
|
22356
22326
|
fromPartial<I extends Exact<DeepPartial<ClanEmojiUpdateRequest>, I>>(object: I): ClanEmojiUpdateRequest {
|
|
22357
22327
|
const message = createBaseClanEmojiUpdateRequest();
|
|
22358
22328
|
message.id = object.id ?? "";
|
|
22359
|
-
message.source = object.source ?? "";
|
|
22360
22329
|
message.shortname = object.shortname ?? "";
|
|
22361
|
-
message.category = object.category ?? "";
|
|
22362
22330
|
message.clan_id = object.clan_id ?? "";
|
|
22363
22331
|
return message;
|
|
22364
22332
|
},
|
|
@@ -1926,9 +1926,7 @@ export interface ClanEmojiDeleteRequest {
|
|
|
1926
1926
|
}
|
|
1927
1927
|
export interface ClanEmojiUpdateRequest {
|
|
1928
1928
|
id: string;
|
|
1929
|
-
source: string;
|
|
1930
1929
|
shortname: string;
|
|
1931
|
-
category: string;
|
|
1932
1930
|
clan_id: string;
|
|
1933
1931
|
}
|
|
1934
1932
|
export interface Webhook {
|
|
@@ -12857,28 +12855,20 @@ export declare const ClanEmojiUpdateRequest: {
|
|
|
12857
12855
|
toJSON(message: ClanEmojiUpdateRequest): unknown;
|
|
12858
12856
|
create<I extends {
|
|
12859
12857
|
id?: string | undefined;
|
|
12860
|
-
source?: string | undefined;
|
|
12861
12858
|
shortname?: string | undefined;
|
|
12862
|
-
category?: string | undefined;
|
|
12863
12859
|
clan_id?: string | undefined;
|
|
12864
12860
|
} & {
|
|
12865
12861
|
id?: string | undefined;
|
|
12866
|
-
source?: string | undefined;
|
|
12867
12862
|
shortname?: string | undefined;
|
|
12868
|
-
category?: string | undefined;
|
|
12869
12863
|
clan_id?: string | undefined;
|
|
12870
12864
|
} & { [K in Exclude<keyof I, keyof ClanEmojiUpdateRequest>]: never; }>(base?: I | undefined): ClanEmojiUpdateRequest;
|
|
12871
12865
|
fromPartial<I_1 extends {
|
|
12872
12866
|
id?: string | undefined;
|
|
12873
|
-
source?: string | undefined;
|
|
12874
12867
|
shortname?: string | undefined;
|
|
12875
|
-
category?: string | undefined;
|
|
12876
12868
|
clan_id?: string | undefined;
|
|
12877
12869
|
} & {
|
|
12878
12870
|
id?: string | undefined;
|
|
12879
|
-
source?: string | undefined;
|
|
12880
12871
|
shortname?: string | undefined;
|
|
12881
|
-
category?: string | undefined;
|
|
12882
12872
|
clan_id?: string | undefined;
|
|
12883
12873
|
} & { [K_1 in Exclude<keyof I_1, keyof ClanEmojiUpdateRequest>]: never; }>(object: I_1): ClanEmojiUpdateRequest;
|
|
12884
12874
|
};
|