mezon-js-protobuf 1.8.85 → 1.8.86
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 +9 -9
- package/dist/mezon-js/utils.d.ts +0 -2
- package/dist/mezon-js-protobuf/api/api.d.ts +5 -5
- package/dist/mezon-js-protobuf/index.d.ts +0 -1
- package/dist/mezon-js-protobuf/rtapi/realtime.d.ts +14 -14
- package/dist/mezon-js-protobuf.cjs.js +9 -613
- package/dist/mezon-js-protobuf.esm.mjs +9 -613
- package/index.ts +0 -1
- package/package.json +1 -1
- package/web_socket_adapter_pb.ts +123 -123
- package/utils.ts +0 -40
package/api/api.ts
CHANGED
|
@@ -2889,7 +2889,7 @@ export interface ChannelSettingListRequest {
|
|
|
2889
2889
|
/** category id */
|
|
2890
2890
|
category_id: string;
|
|
2891
2891
|
/** is private channel */
|
|
2892
|
-
|
|
2892
|
+
private_channel:
|
|
2893
2893
|
| number
|
|
2894
2894
|
| undefined;
|
|
2895
2895
|
/** is active */
|
|
@@ -29085,7 +29085,7 @@ function createBaseChannelSettingListRequest(): ChannelSettingListRequest {
|
|
|
29085
29085
|
clan_id: "",
|
|
29086
29086
|
parent_id: "",
|
|
29087
29087
|
category_id: "",
|
|
29088
|
-
|
|
29088
|
+
private_channel: undefined,
|
|
29089
29089
|
active: undefined,
|
|
29090
29090
|
status: undefined,
|
|
29091
29091
|
type: undefined,
|
|
@@ -29106,8 +29106,8 @@ export const ChannelSettingListRequest = {
|
|
|
29106
29106
|
if (message.category_id !== "") {
|
|
29107
29107
|
writer.uint32(26).string(message.category_id);
|
|
29108
29108
|
}
|
|
29109
|
-
if (message.
|
|
29110
|
-
Int32Value.encode({ value: message.
|
|
29109
|
+
if (message.private_channel !== undefined) {
|
|
29110
|
+
Int32Value.encode({ value: message.private_channel! }, writer.uint32(34).fork()).ldelim();
|
|
29111
29111
|
}
|
|
29112
29112
|
if (message.active !== undefined) {
|
|
29113
29113
|
Int32Value.encode({ value: message.active! }, writer.uint32(42).fork()).ldelim();
|
|
@@ -29163,7 +29163,7 @@ export const ChannelSettingListRequest = {
|
|
|
29163
29163
|
break;
|
|
29164
29164
|
}
|
|
29165
29165
|
|
|
29166
|
-
message.
|
|
29166
|
+
message.private_channel = Int32Value.decode(reader, reader.uint32()).value;
|
|
29167
29167
|
continue;
|
|
29168
29168
|
case 5:
|
|
29169
29169
|
if (tag !== 42) {
|
|
@@ -29221,7 +29221,7 @@ export const ChannelSettingListRequest = {
|
|
|
29221
29221
|
clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
29222
29222
|
parent_id: isSet(object.parent_id) ? globalThis.String(object.parent_id) : "",
|
|
29223
29223
|
category_id: isSet(object.category_id) ? globalThis.String(object.category_id) : "",
|
|
29224
|
-
|
|
29224
|
+
private_channel: isSet(object.private_channel) ? Number(object.private_channel) : undefined,
|
|
29225
29225
|
active: isSet(object.active) ? Number(object.active) : undefined,
|
|
29226
29226
|
status: isSet(object.status) ? Number(object.status) : undefined,
|
|
29227
29227
|
type: isSet(object.type) ? Number(object.type) : undefined,
|
|
@@ -29242,8 +29242,8 @@ export const ChannelSettingListRequest = {
|
|
|
29242
29242
|
if (message.category_id !== "") {
|
|
29243
29243
|
obj.category_id = message.category_id;
|
|
29244
29244
|
}
|
|
29245
|
-
if (message.
|
|
29246
|
-
obj.
|
|
29245
|
+
if (message.private_channel !== undefined) {
|
|
29246
|
+
obj.private_channel = message.private_channel;
|
|
29247
29247
|
}
|
|
29248
29248
|
if (message.active !== undefined) {
|
|
29249
29249
|
obj.active = message.active;
|
|
@@ -29274,7 +29274,7 @@ export const ChannelSettingListRequest = {
|
|
|
29274
29274
|
message.clan_id = object.clan_id ?? "";
|
|
29275
29275
|
message.parent_id = object.parent_id ?? "";
|
|
29276
29276
|
message.category_id = object.category_id ?? "";
|
|
29277
|
-
message.
|
|
29277
|
+
message.private_channel = object.private_channel ?? undefined;
|
|
29278
29278
|
message.active = object.active ?? undefined;
|
|
29279
29279
|
message.status = object.status ?? undefined;
|
|
29280
29280
|
message.type = object.type ?? undefined;
|
package/dist/mezon-js/utils.d.ts
CHANGED
|
@@ -2,5 +2,3 @@ export declare function buildFetchOptions(method: string, options: any, bodyJson
|
|
|
2
2
|
export declare function b64EncodeUnicode(str: string): string;
|
|
3
3
|
export declare function b64DecodeUnicode(str: string): string;
|
|
4
4
|
export declare function safeJSONParse(jsonStr: string): any;
|
|
5
|
-
export declare function mapToSnakeCase(obj: any): any;
|
|
6
|
-
export declare function mapToCamelCase(obj: any): any;
|
|
@@ -2394,7 +2394,7 @@ export interface ChannelSettingListRequest {
|
|
|
2394
2394
|
/** category id */
|
|
2395
2395
|
category_id: string;
|
|
2396
2396
|
/** is private channel */
|
|
2397
|
-
|
|
2397
|
+
private_channel: number | undefined;
|
|
2398
2398
|
/** is active */
|
|
2399
2399
|
active: number | undefined;
|
|
2400
2400
|
/** status */
|
|
@@ -18248,7 +18248,7 @@ export declare const ChannelSettingListRequest: {
|
|
|
18248
18248
|
clan_id?: string | undefined;
|
|
18249
18249
|
parent_id?: string | undefined;
|
|
18250
18250
|
category_id?: string | undefined;
|
|
18251
|
-
|
|
18251
|
+
private_channel?: number | undefined;
|
|
18252
18252
|
active?: number | undefined;
|
|
18253
18253
|
status?: number | undefined;
|
|
18254
18254
|
type?: number | undefined;
|
|
@@ -18259,7 +18259,7 @@ export declare const ChannelSettingListRequest: {
|
|
|
18259
18259
|
clan_id?: string | undefined;
|
|
18260
18260
|
parent_id?: string | undefined;
|
|
18261
18261
|
category_id?: string | undefined;
|
|
18262
|
-
|
|
18262
|
+
private_channel?: number | undefined;
|
|
18263
18263
|
active?: number | undefined;
|
|
18264
18264
|
status?: number | undefined;
|
|
18265
18265
|
type?: number | undefined;
|
|
@@ -18271,7 +18271,7 @@ export declare const ChannelSettingListRequest: {
|
|
|
18271
18271
|
clan_id?: string | undefined;
|
|
18272
18272
|
parent_id?: string | undefined;
|
|
18273
18273
|
category_id?: string | undefined;
|
|
18274
|
-
|
|
18274
|
+
private_channel?: number | undefined;
|
|
18275
18275
|
active?: number | undefined;
|
|
18276
18276
|
status?: number | undefined;
|
|
18277
18277
|
type?: number | undefined;
|
|
@@ -18282,7 +18282,7 @@ export declare const ChannelSettingListRequest: {
|
|
|
18282
18282
|
clan_id?: string | undefined;
|
|
18283
18283
|
parent_id?: string | undefined;
|
|
18284
18284
|
category_id?: string | undefined;
|
|
18285
|
-
|
|
18285
|
+
private_channel?: number | undefined;
|
|
18286
18286
|
active?: number | undefined;
|
|
18287
18287
|
status?: number | undefined;
|
|
18288
18288
|
type?: number | undefined;
|
|
@@ -2658,7 +2658,7 @@ export declare const Envelope: {
|
|
|
2658
2658
|
clan_id?: string | undefined;
|
|
2659
2659
|
parent_id?: string | undefined;
|
|
2660
2660
|
category_id?: string | undefined;
|
|
2661
|
-
|
|
2661
|
+
private_channel?: number | undefined;
|
|
2662
2662
|
active?: number | undefined;
|
|
2663
2663
|
status?: number | undefined;
|
|
2664
2664
|
type?: number | undefined;
|
|
@@ -6666,7 +6666,7 @@ export declare const Envelope: {
|
|
|
6666
6666
|
clan_id?: string | undefined;
|
|
6667
6667
|
parent_id?: string | undefined;
|
|
6668
6668
|
category_id?: string | undefined;
|
|
6669
|
-
|
|
6669
|
+
private_channel?: number | undefined;
|
|
6670
6670
|
active?: number | undefined;
|
|
6671
6671
|
status?: number | undefined;
|
|
6672
6672
|
type?: number | undefined;
|
|
@@ -8139,7 +8139,7 @@ export declare const Envelope: {
|
|
|
8139
8139
|
clan_id?: string | undefined;
|
|
8140
8140
|
parent_id?: string | undefined;
|
|
8141
8141
|
category_id?: string | undefined;
|
|
8142
|
-
|
|
8142
|
+
private_channel?: number | undefined;
|
|
8143
8143
|
active?: number | undefined;
|
|
8144
8144
|
status?: number | undefined;
|
|
8145
8145
|
type?: number | undefined;
|
|
@@ -8150,7 +8150,7 @@ export declare const Envelope: {
|
|
|
8150
8150
|
clan_id?: string | undefined;
|
|
8151
8151
|
parent_id?: string | undefined;
|
|
8152
8152
|
category_id?: string | undefined;
|
|
8153
|
-
|
|
8153
|
+
private_channel?: number | undefined;
|
|
8154
8154
|
active?: number | undefined;
|
|
8155
8155
|
status?: number | undefined;
|
|
8156
8156
|
type?: number | undefined;
|
|
@@ -12150,7 +12150,7 @@ export declare const Envelope: {
|
|
|
12150
12150
|
clan_id?: string | undefined;
|
|
12151
12151
|
parent_id?: string | undefined;
|
|
12152
12152
|
category_id?: string | undefined;
|
|
12153
|
-
|
|
12153
|
+
private_channel?: number | undefined;
|
|
12154
12154
|
active?: number | undefined;
|
|
12155
12155
|
status?: number | undefined;
|
|
12156
12156
|
type?: number | undefined;
|
|
@@ -16158,7 +16158,7 @@ export declare const Envelope: {
|
|
|
16158
16158
|
clan_id?: string | undefined;
|
|
16159
16159
|
parent_id?: string | undefined;
|
|
16160
16160
|
category_id?: string | undefined;
|
|
16161
|
-
|
|
16161
|
+
private_channel?: number | undefined;
|
|
16162
16162
|
active?: number | undefined;
|
|
16163
16163
|
status?: number | undefined;
|
|
16164
16164
|
type?: number | undefined;
|
|
@@ -17631,7 +17631,7 @@ export declare const Envelope: {
|
|
|
17631
17631
|
clan_id?: string | undefined;
|
|
17632
17632
|
parent_id?: string | undefined;
|
|
17633
17633
|
category_id?: string | undefined;
|
|
17634
|
-
|
|
17634
|
+
private_channel?: number | undefined;
|
|
17635
17635
|
active?: number | undefined;
|
|
17636
17636
|
status?: number | undefined;
|
|
17637
17637
|
type?: number | undefined;
|
|
@@ -17642,7 +17642,7 @@ export declare const Envelope: {
|
|
|
17642
17642
|
clan_id?: string | undefined;
|
|
17643
17643
|
parent_id?: string | undefined;
|
|
17644
17644
|
category_id?: string | undefined;
|
|
17645
|
-
|
|
17645
|
+
private_channel?: number | undefined;
|
|
17646
17646
|
active?: number | undefined;
|
|
17647
17647
|
status?: number | undefined;
|
|
17648
17648
|
type?: number | undefined;
|
|
@@ -27841,7 +27841,7 @@ export declare const ListDataSocket: {
|
|
|
27841
27841
|
clan_id?: string | undefined;
|
|
27842
27842
|
parent_id?: string | undefined;
|
|
27843
27843
|
category_id?: string | undefined;
|
|
27844
|
-
|
|
27844
|
+
private_channel?: number | undefined;
|
|
27845
27845
|
active?: number | undefined;
|
|
27846
27846
|
status?: number | undefined;
|
|
27847
27847
|
type?: number | undefined;
|
|
@@ -29314,7 +29314,7 @@ export declare const ListDataSocket: {
|
|
|
29314
29314
|
clan_id?: string | undefined;
|
|
29315
29315
|
parent_id?: string | undefined;
|
|
29316
29316
|
category_id?: string | undefined;
|
|
29317
|
-
|
|
29317
|
+
private_channel?: number | undefined;
|
|
29318
29318
|
active?: number | undefined;
|
|
29319
29319
|
status?: number | undefined;
|
|
29320
29320
|
type?: number | undefined;
|
|
@@ -29325,7 +29325,7 @@ export declare const ListDataSocket: {
|
|
|
29325
29325
|
clan_id?: string | undefined;
|
|
29326
29326
|
parent_id?: string | undefined;
|
|
29327
29327
|
category_id?: string | undefined;
|
|
29328
|
-
|
|
29328
|
+
private_channel?: number | undefined;
|
|
29329
29329
|
active?: number | undefined;
|
|
29330
29330
|
status?: number | undefined;
|
|
29331
29331
|
type?: number | undefined;
|
|
@@ -31975,7 +31975,7 @@ export declare const ListDataSocket: {
|
|
|
31975
31975
|
clan_id?: string | undefined;
|
|
31976
31976
|
parent_id?: string | undefined;
|
|
31977
31977
|
category_id?: string | undefined;
|
|
31978
|
-
|
|
31978
|
+
private_channel?: number | undefined;
|
|
31979
31979
|
active?: number | undefined;
|
|
31980
31980
|
status?: number | undefined;
|
|
31981
31981
|
type?: number | undefined;
|
|
@@ -33448,7 +33448,7 @@ export declare const ListDataSocket: {
|
|
|
33448
33448
|
clan_id?: string | undefined;
|
|
33449
33449
|
parent_id?: string | undefined;
|
|
33450
33450
|
category_id?: string | undefined;
|
|
33451
|
-
|
|
33451
|
+
private_channel?: number | undefined;
|
|
33452
33452
|
active?: number | undefined;
|
|
33453
33453
|
status?: number | undefined;
|
|
33454
33454
|
type?: number | undefined;
|
|
@@ -33459,7 +33459,7 @@ export declare const ListDataSocket: {
|
|
|
33459
33459
|
clan_id?: string | undefined;
|
|
33460
33460
|
parent_id?: string | undefined;
|
|
33461
33461
|
category_id?: string | undefined;
|
|
33462
|
-
|
|
33462
|
+
private_channel?: number | undefined;
|
|
33463
33463
|
active?: number | undefined;
|
|
33464
33464
|
status?: number | undefined;
|
|
33465
33465
|
type?: number | undefined;
|