mezon-js-protobuf 1.5.35 → 1.5.38
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
CHANGED
|
@@ -562,10 +562,10 @@ export interface ChannelMessage {
|
|
|
562
562
|
update_time_seconds: number;
|
|
563
563
|
/** channel mode */
|
|
564
564
|
mode: number;
|
|
565
|
-
/** is public */
|
|
566
|
-
is_public: boolean;
|
|
567
565
|
/** hide editted */
|
|
568
566
|
hide_editted: boolean;
|
|
567
|
+
/** is public */
|
|
568
|
+
is_public: boolean;
|
|
569
569
|
}
|
|
570
570
|
|
|
571
571
|
/** Mention to message */
|
|
@@ -5457,8 +5457,8 @@ function createBaseChannelMessage(): ChannelMessage {
|
|
|
5457
5457
|
create_time_seconds: 0,
|
|
5458
5458
|
update_time_seconds: 0,
|
|
5459
5459
|
mode: 0,
|
|
5460
|
-
is_public: false,
|
|
5461
5460
|
hide_editted: false,
|
|
5461
|
+
is_public: false,
|
|
5462
5462
|
};
|
|
5463
5463
|
}
|
|
5464
5464
|
|
|
@@ -5536,11 +5536,11 @@ export const ChannelMessage = {
|
|
|
5536
5536
|
if (message.mode !== 0) {
|
|
5537
5537
|
writer.uint32(192).int32(message.mode);
|
|
5538
5538
|
}
|
|
5539
|
-
if (message.is_public === true) {
|
|
5540
|
-
writer.uint32(200).bool(message.is_public);
|
|
5541
|
-
}
|
|
5542
5539
|
if (message.hide_editted === true) {
|
|
5543
|
-
writer.uint32(
|
|
5540
|
+
writer.uint32(200).bool(message.hide_editted);
|
|
5541
|
+
}
|
|
5542
|
+
if (message.is_public === true) {
|
|
5543
|
+
writer.uint32(208).bool(message.is_public);
|
|
5544
5544
|
}
|
|
5545
5545
|
return writer;
|
|
5546
5546
|
},
|
|
@@ -5625,10 +5625,10 @@ export const ChannelMessage = {
|
|
|
5625
5625
|
message.mode = reader.int32();
|
|
5626
5626
|
break;
|
|
5627
5627
|
case 25:
|
|
5628
|
-
message.
|
|
5628
|
+
message.hide_editted = reader.bool();
|
|
5629
5629
|
break;
|
|
5630
5630
|
case 26:
|
|
5631
|
-
message.
|
|
5631
|
+
message.is_public = reader.bool();
|
|
5632
5632
|
break;
|
|
5633
5633
|
default:
|
|
5634
5634
|
reader.skipType(tag & 7);
|
|
@@ -5664,8 +5664,8 @@ export const ChannelMessage = {
|
|
|
5664
5664
|
create_time_seconds: isSet(object.create_time_seconds) ? Number(object.create_time_seconds) : 0,
|
|
5665
5665
|
update_time_seconds: isSet(object.update_time_seconds) ? Number(object.update_time_seconds) : 0,
|
|
5666
5666
|
mode: isSet(object.mode) ? Number(object.mode) : 0,
|
|
5667
|
-
is_public: isSet(object.is_public) ? Boolean(object.is_public) : false,
|
|
5668
5667
|
hide_editted: isSet(object.hide_editted) ? Boolean(object.hide_editted) : false,
|
|
5668
|
+
is_public: isSet(object.is_public) ? Boolean(object.is_public) : false,
|
|
5669
5669
|
};
|
|
5670
5670
|
},
|
|
5671
5671
|
|
|
@@ -5695,8 +5695,8 @@ export const ChannelMessage = {
|
|
|
5695
5695
|
message.create_time_seconds !== undefined && (obj.create_time_seconds = Math.round(message.create_time_seconds));
|
|
5696
5696
|
message.update_time_seconds !== undefined && (obj.update_time_seconds = Math.round(message.update_time_seconds));
|
|
5697
5697
|
message.mode !== undefined && (obj.mode = Math.round(message.mode));
|
|
5698
|
-
message.is_public !== undefined && (obj.is_public = message.is_public);
|
|
5699
5698
|
message.hide_editted !== undefined && (obj.hide_editted = message.hide_editted);
|
|
5699
|
+
message.is_public !== undefined && (obj.is_public = message.is_public);
|
|
5700
5700
|
return obj;
|
|
5701
5701
|
},
|
|
5702
5702
|
|
|
@@ -5730,8 +5730,8 @@ export const ChannelMessage = {
|
|
|
5730
5730
|
message.create_time_seconds = object.create_time_seconds ?? 0;
|
|
5731
5731
|
message.update_time_seconds = object.update_time_seconds ?? 0;
|
|
5732
5732
|
message.mode = object.mode ?? 0;
|
|
5733
|
-
message.is_public = object.is_public ?? false;
|
|
5734
5733
|
message.hide_editted = object.hide_editted ?? false;
|
|
5734
|
+
message.is_public = object.is_public ?? false;
|
|
5735
5735
|
return message;
|
|
5736
5736
|
},
|
|
5737
5737
|
};
|
|
@@ -387,6 +387,8 @@ export interface ChannelMessage {
|
|
|
387
387
|
mode: number;
|
|
388
388
|
/** hide editted */
|
|
389
389
|
hide_editted: boolean;
|
|
390
|
+
/** is public */
|
|
391
|
+
is_public: boolean;
|
|
390
392
|
}
|
|
391
393
|
/** Mention to message */
|
|
392
394
|
export interface MessageMention {
|
|
@@ -3618,6 +3620,7 @@ export declare const ChannelMessage: {
|
|
|
3618
3620
|
update_time_seconds?: number | undefined;
|
|
3619
3621
|
mode?: number | undefined;
|
|
3620
3622
|
hide_editted?: boolean | undefined;
|
|
3623
|
+
is_public?: boolean | undefined;
|
|
3621
3624
|
} & {
|
|
3622
3625
|
clan_id?: string | undefined;
|
|
3623
3626
|
channel_id?: string | undefined;
|
|
@@ -3644,6 +3647,7 @@ export declare const ChannelMessage: {
|
|
|
3644
3647
|
update_time_seconds?: number | undefined;
|
|
3645
3648
|
mode?: number | undefined;
|
|
3646
3649
|
hide_editted?: boolean | undefined;
|
|
3650
|
+
is_public?: boolean | undefined;
|
|
3647
3651
|
} & { [K in Exclude<keyof I, keyof ChannelMessage>]: never; }>(base?: I | undefined): ChannelMessage;
|
|
3648
3652
|
fromPartial<I_1 extends {
|
|
3649
3653
|
clan_id?: string | undefined;
|
|
@@ -3671,6 +3675,7 @@ export declare const ChannelMessage: {
|
|
|
3671
3675
|
update_time_seconds?: number | undefined;
|
|
3672
3676
|
mode?: number | undefined;
|
|
3673
3677
|
hide_editted?: boolean | undefined;
|
|
3678
|
+
is_public?: boolean | undefined;
|
|
3674
3679
|
} & {
|
|
3675
3680
|
clan_id?: string | undefined;
|
|
3676
3681
|
channel_id?: string | undefined;
|
|
@@ -3697,6 +3702,7 @@ export declare const ChannelMessage: {
|
|
|
3697
3702
|
update_time_seconds?: number | undefined;
|
|
3698
3703
|
mode?: number | undefined;
|
|
3699
3704
|
hide_editted?: boolean | undefined;
|
|
3705
|
+
is_public?: boolean | undefined;
|
|
3700
3706
|
} & { [K_1 in Exclude<keyof I_1, keyof ChannelMessage>]: never; }>(object: I_1): ChannelMessage;
|
|
3701
3707
|
};
|
|
3702
3708
|
export declare const MessageMention: {
|
|
@@ -4003,6 +4009,7 @@ export declare const ChannelMessageList: {
|
|
|
4003
4009
|
update_time_seconds?: number | undefined;
|
|
4004
4010
|
mode?: number | undefined;
|
|
4005
4011
|
hide_editted?: boolean | undefined;
|
|
4012
|
+
is_public?: boolean | undefined;
|
|
4006
4013
|
}[] | undefined;
|
|
4007
4014
|
last_seen_message?: {
|
|
4008
4015
|
id?: string | undefined;
|
|
@@ -4051,6 +4058,7 @@ export declare const ChannelMessageList: {
|
|
|
4051
4058
|
update_time_seconds?: number | undefined;
|
|
4052
4059
|
mode?: number | undefined;
|
|
4053
4060
|
hide_editted?: boolean | undefined;
|
|
4061
|
+
is_public?: boolean | undefined;
|
|
4054
4062
|
}[] & ({
|
|
4055
4063
|
clan_id?: string | undefined;
|
|
4056
4064
|
channel_id?: string | undefined;
|
|
@@ -4077,6 +4085,7 @@ export declare const ChannelMessageList: {
|
|
|
4077
4085
|
update_time_seconds?: number | undefined;
|
|
4078
4086
|
mode?: number | undefined;
|
|
4079
4087
|
hide_editted?: boolean | undefined;
|
|
4088
|
+
is_public?: boolean | undefined;
|
|
4080
4089
|
} & {
|
|
4081
4090
|
clan_id?: string | undefined;
|
|
4082
4091
|
channel_id?: string | undefined;
|
|
@@ -4103,6 +4112,7 @@ export declare const ChannelMessageList: {
|
|
|
4103
4112
|
update_time_seconds?: number | undefined;
|
|
4104
4113
|
mode?: number | undefined;
|
|
4105
4114
|
hide_editted?: boolean | undefined;
|
|
4115
|
+
is_public?: boolean | undefined;
|
|
4106
4116
|
} & { [K in Exclude<keyof I["messages"][number], keyof ChannelMessage>]: never; })[] & { [K_1 in Exclude<keyof I["messages"], keyof {
|
|
4107
4117
|
clan_id?: string | undefined;
|
|
4108
4118
|
channel_id?: string | undefined;
|
|
@@ -4129,6 +4139,7 @@ export declare const ChannelMessageList: {
|
|
|
4129
4139
|
update_time_seconds?: number | undefined;
|
|
4130
4140
|
mode?: number | undefined;
|
|
4131
4141
|
hide_editted?: boolean | undefined;
|
|
4142
|
+
is_public?: boolean | undefined;
|
|
4132
4143
|
}[]>]: never; }) | undefined;
|
|
4133
4144
|
last_seen_message?: ({
|
|
4134
4145
|
id?: string | undefined;
|
|
@@ -4196,6 +4207,7 @@ export declare const ChannelMessageList: {
|
|
|
4196
4207
|
update_time_seconds?: number | undefined;
|
|
4197
4208
|
mode?: number | undefined;
|
|
4198
4209
|
hide_editted?: boolean | undefined;
|
|
4210
|
+
is_public?: boolean | undefined;
|
|
4199
4211
|
}[] | undefined;
|
|
4200
4212
|
last_seen_message?: {
|
|
4201
4213
|
id?: string | undefined;
|
|
@@ -4244,6 +4256,7 @@ export declare const ChannelMessageList: {
|
|
|
4244
4256
|
update_time_seconds?: number | undefined;
|
|
4245
4257
|
mode?: number | undefined;
|
|
4246
4258
|
hide_editted?: boolean | undefined;
|
|
4259
|
+
is_public?: boolean | undefined;
|
|
4247
4260
|
}[] & ({
|
|
4248
4261
|
clan_id?: string | undefined;
|
|
4249
4262
|
channel_id?: string | undefined;
|
|
@@ -4270,6 +4283,7 @@ export declare const ChannelMessageList: {
|
|
|
4270
4283
|
update_time_seconds?: number | undefined;
|
|
4271
4284
|
mode?: number | undefined;
|
|
4272
4285
|
hide_editted?: boolean | undefined;
|
|
4286
|
+
is_public?: boolean | undefined;
|
|
4273
4287
|
} & {
|
|
4274
4288
|
clan_id?: string | undefined;
|
|
4275
4289
|
channel_id?: string | undefined;
|
|
@@ -4296,6 +4310,7 @@ export declare const ChannelMessageList: {
|
|
|
4296
4310
|
update_time_seconds?: number | undefined;
|
|
4297
4311
|
mode?: number | undefined;
|
|
4298
4312
|
hide_editted?: boolean | undefined;
|
|
4313
|
+
is_public?: boolean | undefined;
|
|
4299
4314
|
} & { [K_5 in Exclude<keyof I_1["messages"][number], keyof ChannelMessage>]: never; })[] & { [K_6 in Exclude<keyof I_1["messages"], keyof {
|
|
4300
4315
|
clan_id?: string | undefined;
|
|
4301
4316
|
channel_id?: string | undefined;
|
|
@@ -4322,6 +4337,7 @@ export declare const ChannelMessageList: {
|
|
|
4322
4337
|
update_time_seconds?: number | undefined;
|
|
4323
4338
|
mode?: number | undefined;
|
|
4324
4339
|
hide_editted?: boolean | undefined;
|
|
4340
|
+
is_public?: boolean | undefined;
|
|
4325
4341
|
}[]>]: never; }) | undefined;
|
|
4326
4342
|
last_seen_message?: ({
|
|
4327
4343
|
id?: string | undefined;
|
|
@@ -591,6 +591,8 @@ export interface ChannelUpdatedEvent {
|
|
|
591
591
|
status: number;
|
|
592
592
|
/** meeting code */
|
|
593
593
|
meeting_code: string;
|
|
594
|
+
/** error */
|
|
595
|
+
is_error: boolean;
|
|
594
596
|
}
|
|
595
597
|
/** Stop receiving status updates for some set of users. */
|
|
596
598
|
export interface StatusUnfollow {
|
|
@@ -892,6 +894,7 @@ export declare const Envelope: {
|
|
|
892
894
|
update_time_seconds?: number | undefined;
|
|
893
895
|
mode?: number | undefined;
|
|
894
896
|
hide_editted?: boolean | undefined;
|
|
897
|
+
is_public?: boolean | undefined;
|
|
895
898
|
} | undefined;
|
|
896
899
|
channel_message_ack?: {
|
|
897
900
|
channel_id?: string | undefined;
|
|
@@ -1184,6 +1187,7 @@ export declare const Envelope: {
|
|
|
1184
1187
|
channel_type?: number | undefined;
|
|
1185
1188
|
status?: number | undefined;
|
|
1186
1189
|
meeting_code?: string | undefined;
|
|
1190
|
+
is_error?: boolean | undefined;
|
|
1187
1191
|
} | undefined;
|
|
1188
1192
|
last_pin_message_event?: {
|
|
1189
1193
|
clan_id?: string | undefined;
|
|
@@ -1583,6 +1587,7 @@ export declare const Envelope: {
|
|
|
1583
1587
|
update_time_seconds?: number | undefined;
|
|
1584
1588
|
mode?: number | undefined;
|
|
1585
1589
|
hide_editted?: boolean | undefined;
|
|
1590
|
+
is_public?: boolean | undefined;
|
|
1586
1591
|
} & {
|
|
1587
1592
|
clan_id?: string | undefined;
|
|
1588
1593
|
channel_id?: string | undefined;
|
|
@@ -1609,6 +1614,7 @@ export declare const Envelope: {
|
|
|
1609
1614
|
update_time_seconds?: number | undefined;
|
|
1610
1615
|
mode?: number | undefined;
|
|
1611
1616
|
hide_editted?: boolean | undefined;
|
|
1617
|
+
is_public?: boolean | undefined;
|
|
1612
1618
|
} & { [K_7 in Exclude<keyof I["channel_message"], keyof ChannelMessage>]: never; }) | undefined;
|
|
1613
1619
|
channel_message_ack?: ({
|
|
1614
1620
|
channel_id?: string | undefined;
|
|
@@ -2465,6 +2471,7 @@ export declare const Envelope: {
|
|
|
2465
2471
|
channel_type?: number | undefined;
|
|
2466
2472
|
status?: number | undefined;
|
|
2467
2473
|
meeting_code?: string | undefined;
|
|
2474
|
+
is_error?: boolean | undefined;
|
|
2468
2475
|
} & {
|
|
2469
2476
|
clan_id?: string | undefined;
|
|
2470
2477
|
category_id?: string | undefined;
|
|
@@ -2475,6 +2482,7 @@ export declare const Envelope: {
|
|
|
2475
2482
|
channel_type?: number | undefined;
|
|
2476
2483
|
status?: number | undefined;
|
|
2477
2484
|
meeting_code?: string | undefined;
|
|
2485
|
+
is_error?: boolean | undefined;
|
|
2478
2486
|
} & { [K_67 in Exclude<keyof I["channel_updated_event"], keyof ChannelUpdatedEvent>]: never; }) | undefined;
|
|
2479
2487
|
last_pin_message_event?: ({
|
|
2480
2488
|
clan_id?: string | undefined;
|
|
@@ -3596,6 +3604,7 @@ export declare const Envelope: {
|
|
|
3596
3604
|
update_time_seconds?: number | undefined;
|
|
3597
3605
|
mode?: number | undefined;
|
|
3598
3606
|
hide_editted?: boolean | undefined;
|
|
3607
|
+
is_public?: boolean | undefined;
|
|
3599
3608
|
} | undefined;
|
|
3600
3609
|
channel_message_ack?: {
|
|
3601
3610
|
channel_id?: string | undefined;
|
|
@@ -3888,6 +3897,7 @@ export declare const Envelope: {
|
|
|
3888
3897
|
channel_type?: number | undefined;
|
|
3889
3898
|
status?: number | undefined;
|
|
3890
3899
|
meeting_code?: string | undefined;
|
|
3900
|
+
is_error?: boolean | undefined;
|
|
3891
3901
|
} | undefined;
|
|
3892
3902
|
last_pin_message_event?: {
|
|
3893
3903
|
clan_id?: string | undefined;
|
|
@@ -4287,6 +4297,7 @@ export declare const Envelope: {
|
|
|
4287
4297
|
update_time_seconds?: number | undefined;
|
|
4288
4298
|
mode?: number | undefined;
|
|
4289
4299
|
hide_editted?: boolean | undefined;
|
|
4300
|
+
is_public?: boolean | undefined;
|
|
4290
4301
|
} & {
|
|
4291
4302
|
clan_id?: string | undefined;
|
|
4292
4303
|
channel_id?: string | undefined;
|
|
@@ -4313,6 +4324,7 @@ export declare const Envelope: {
|
|
|
4313
4324
|
update_time_seconds?: number | undefined;
|
|
4314
4325
|
mode?: number | undefined;
|
|
4315
4326
|
hide_editted?: boolean | undefined;
|
|
4327
|
+
is_public?: boolean | undefined;
|
|
4316
4328
|
} & { [K_139 in Exclude<keyof I_1["channel_message"], keyof ChannelMessage>]: never; }) | undefined;
|
|
4317
4329
|
channel_message_ack?: ({
|
|
4318
4330
|
channel_id?: string | undefined;
|
|
@@ -5169,6 +5181,7 @@ export declare const Envelope: {
|
|
|
5169
5181
|
channel_type?: number | undefined;
|
|
5170
5182
|
status?: number | undefined;
|
|
5171
5183
|
meeting_code?: string | undefined;
|
|
5184
|
+
is_error?: boolean | undefined;
|
|
5172
5185
|
} & {
|
|
5173
5186
|
clan_id?: string | undefined;
|
|
5174
5187
|
category_id?: string | undefined;
|
|
@@ -5179,6 +5192,7 @@ export declare const Envelope: {
|
|
|
5179
5192
|
channel_type?: number | undefined;
|
|
5180
5193
|
status?: number | undefined;
|
|
5181
5194
|
meeting_code?: string | undefined;
|
|
5195
|
+
is_error?: boolean | undefined;
|
|
5182
5196
|
} & { [K_199 in Exclude<keyof I_1["channel_updated_event"], keyof ChannelUpdatedEvent>]: never; }) | undefined;
|
|
5183
5197
|
last_pin_message_event?: ({
|
|
5184
5198
|
clan_id?: string | undefined;
|
|
@@ -9850,6 +9864,7 @@ export declare const ChannelUpdatedEvent: {
|
|
|
9850
9864
|
channel_type?: number | undefined;
|
|
9851
9865
|
status?: number | undefined;
|
|
9852
9866
|
meeting_code?: string | undefined;
|
|
9867
|
+
is_error?: boolean | undefined;
|
|
9853
9868
|
} & {
|
|
9854
9869
|
clan_id?: string | undefined;
|
|
9855
9870
|
category_id?: string | undefined;
|
|
@@ -9860,6 +9875,7 @@ export declare const ChannelUpdatedEvent: {
|
|
|
9860
9875
|
channel_type?: number | undefined;
|
|
9861
9876
|
status?: number | undefined;
|
|
9862
9877
|
meeting_code?: string | undefined;
|
|
9878
|
+
is_error?: boolean | undefined;
|
|
9863
9879
|
} & { [K in Exclude<keyof I, keyof ChannelUpdatedEvent>]: never; }>(base?: I | undefined): ChannelUpdatedEvent;
|
|
9864
9880
|
fromPartial<I_1 extends {
|
|
9865
9881
|
clan_id?: string | undefined;
|
|
@@ -9871,6 +9887,7 @@ export declare const ChannelUpdatedEvent: {
|
|
|
9871
9887
|
channel_type?: number | undefined;
|
|
9872
9888
|
status?: number | undefined;
|
|
9873
9889
|
meeting_code?: string | undefined;
|
|
9890
|
+
is_error?: boolean | undefined;
|
|
9874
9891
|
} & {
|
|
9875
9892
|
clan_id?: string | undefined;
|
|
9876
9893
|
category_id?: string | undefined;
|
|
@@ -9881,6 +9898,7 @@ export declare const ChannelUpdatedEvent: {
|
|
|
9881
9898
|
channel_type?: number | undefined;
|
|
9882
9899
|
status?: number | undefined;
|
|
9883
9900
|
meeting_code?: string | undefined;
|
|
9901
|
+
is_error?: boolean | undefined;
|
|
9884
9902
|
} & { [K_1 in Exclude<keyof I_1, keyof ChannelUpdatedEvent>]: never; }>(object: I_1): ChannelUpdatedEvent;
|
|
9885
9903
|
};
|
|
9886
9904
|
export declare const StatusUnfollow: {
|
|
@@ -2554,7 +2554,8 @@ function createBaseChannelMessage() {
|
|
|
2554
2554
|
create_time_seconds: 0,
|
|
2555
2555
|
update_time_seconds: 0,
|
|
2556
2556
|
mode: 0,
|
|
2557
|
-
hide_editted: false
|
|
2557
|
+
hide_editted: false,
|
|
2558
|
+
is_public: false
|
|
2558
2559
|
};
|
|
2559
2560
|
}
|
|
2560
2561
|
var ChannelMessage = {
|
|
@@ -2634,6 +2635,9 @@ var ChannelMessage = {
|
|
|
2634
2635
|
if (message.hide_editted === true) {
|
|
2635
2636
|
writer.uint32(200).bool(message.hide_editted);
|
|
2636
2637
|
}
|
|
2638
|
+
if (message.is_public === true) {
|
|
2639
|
+
writer.uint32(208).bool(message.is_public);
|
|
2640
|
+
}
|
|
2637
2641
|
return writer;
|
|
2638
2642
|
},
|
|
2639
2643
|
decode(input, length) {
|
|
@@ -2718,6 +2722,9 @@ var ChannelMessage = {
|
|
|
2718
2722
|
case 25:
|
|
2719
2723
|
message.hide_editted = reader.bool();
|
|
2720
2724
|
break;
|
|
2725
|
+
case 26:
|
|
2726
|
+
message.is_public = reader.bool();
|
|
2727
|
+
break;
|
|
2721
2728
|
default:
|
|
2722
2729
|
reader.skipType(tag & 7);
|
|
2723
2730
|
break;
|
|
@@ -2751,7 +2758,8 @@ var ChannelMessage = {
|
|
|
2751
2758
|
create_time_seconds: isSet3(object.create_time_seconds) ? Number(object.create_time_seconds) : 0,
|
|
2752
2759
|
update_time_seconds: isSet3(object.update_time_seconds) ? Number(object.update_time_seconds) : 0,
|
|
2753
2760
|
mode: isSet3(object.mode) ? Number(object.mode) : 0,
|
|
2754
|
-
hide_editted: isSet3(object.hide_editted) ? Boolean(object.hide_editted) : false
|
|
2761
|
+
hide_editted: isSet3(object.hide_editted) ? Boolean(object.hide_editted) : false,
|
|
2762
|
+
is_public: isSet3(object.is_public) ? Boolean(object.is_public) : false
|
|
2755
2763
|
};
|
|
2756
2764
|
},
|
|
2757
2765
|
toJSON(message) {
|
|
@@ -2781,13 +2789,14 @@ var ChannelMessage = {
|
|
|
2781
2789
|
message.update_time_seconds !== void 0 && (obj.update_time_seconds = Math.round(message.update_time_seconds));
|
|
2782
2790
|
message.mode !== void 0 && (obj.mode = Math.round(message.mode));
|
|
2783
2791
|
message.hide_editted !== void 0 && (obj.hide_editted = message.hide_editted);
|
|
2792
|
+
message.is_public !== void 0 && (obj.is_public = message.is_public);
|
|
2784
2793
|
return obj;
|
|
2785
2794
|
},
|
|
2786
2795
|
create(base) {
|
|
2787
2796
|
return ChannelMessage.fromPartial(base != null ? base : {});
|
|
2788
2797
|
},
|
|
2789
2798
|
fromPartial(object) {
|
|
2790
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y;
|
|
2799
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
|
|
2791
2800
|
const message = createBaseChannelMessage();
|
|
2792
2801
|
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
2793
2802
|
message.channel_id = (_b = object.channel_id) != null ? _b : "";
|
|
@@ -2814,6 +2823,7 @@ var ChannelMessage = {
|
|
|
2814
2823
|
message.update_time_seconds = (_w = object.update_time_seconds) != null ? _w : 0;
|
|
2815
2824
|
message.mode = (_x = object.mode) != null ? _x : 0;
|
|
2816
2825
|
message.hide_editted = (_y = object.hide_editted) != null ? _y : false;
|
|
2826
|
+
message.is_public = (_z = object.is_public) != null ? _z : false;
|
|
2817
2827
|
return message;
|
|
2818
2828
|
}
|
|
2819
2829
|
};
|
|
@@ -8504,7 +8514,8 @@ function createBaseChannelUpdatedEvent() {
|
|
|
8504
8514
|
channel_label: "",
|
|
8505
8515
|
channel_type: void 0,
|
|
8506
8516
|
status: 0,
|
|
8507
|
-
meeting_code: ""
|
|
8517
|
+
meeting_code: "",
|
|
8518
|
+
is_error: false
|
|
8508
8519
|
};
|
|
8509
8520
|
}
|
|
8510
8521
|
var ChannelUpdatedEvent = {
|
|
@@ -8536,6 +8547,9 @@ var ChannelUpdatedEvent = {
|
|
|
8536
8547
|
if (message.meeting_code !== "") {
|
|
8537
8548
|
writer.uint32(74).string(message.meeting_code);
|
|
8538
8549
|
}
|
|
8550
|
+
if (message.is_error === true) {
|
|
8551
|
+
writer.uint32(80).bool(message.is_error);
|
|
8552
|
+
}
|
|
8539
8553
|
return writer;
|
|
8540
8554
|
},
|
|
8541
8555
|
decode(input, length) {
|
|
@@ -8572,6 +8586,9 @@ var ChannelUpdatedEvent = {
|
|
|
8572
8586
|
case 9:
|
|
8573
8587
|
message.meeting_code = reader.string();
|
|
8574
8588
|
break;
|
|
8589
|
+
case 10:
|
|
8590
|
+
message.is_error = reader.bool();
|
|
8591
|
+
break;
|
|
8575
8592
|
default:
|
|
8576
8593
|
reader.skipType(tag & 7);
|
|
8577
8594
|
break;
|
|
@@ -8589,7 +8606,8 @@ var ChannelUpdatedEvent = {
|
|
|
8589
8606
|
channel_label: isSet4(object.channel_label) ? String(object.channel_label) : "",
|
|
8590
8607
|
channel_type: isSet4(object.channel_type) ? Number(object.channel_type) : void 0,
|
|
8591
8608
|
status: isSet4(object.status) ? Number(object.status) : 0,
|
|
8592
|
-
meeting_code: isSet4(object.meeting_code) ? String(object.meeting_code) : ""
|
|
8609
|
+
meeting_code: isSet4(object.meeting_code) ? String(object.meeting_code) : "",
|
|
8610
|
+
is_error: isSet4(object.is_error) ? Boolean(object.is_error) : false
|
|
8593
8611
|
};
|
|
8594
8612
|
},
|
|
8595
8613
|
toJSON(message) {
|
|
@@ -8603,13 +8621,14 @@ var ChannelUpdatedEvent = {
|
|
|
8603
8621
|
message.channel_type !== void 0 && (obj.channel_type = message.channel_type);
|
|
8604
8622
|
message.status !== void 0 && (obj.status = Math.round(message.status));
|
|
8605
8623
|
message.meeting_code !== void 0 && (obj.meeting_code = message.meeting_code);
|
|
8624
|
+
message.is_error !== void 0 && (obj.is_error = message.is_error);
|
|
8606
8625
|
return obj;
|
|
8607
8626
|
},
|
|
8608
8627
|
create(base) {
|
|
8609
8628
|
return ChannelUpdatedEvent.fromPartial(base != null ? base : {});
|
|
8610
8629
|
},
|
|
8611
8630
|
fromPartial(object) {
|
|
8612
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
8631
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
8613
8632
|
const message = createBaseChannelUpdatedEvent();
|
|
8614
8633
|
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
8615
8634
|
message.category_id = (_b = object.category_id) != null ? _b : "";
|
|
@@ -8620,6 +8639,7 @@ var ChannelUpdatedEvent = {
|
|
|
8620
8639
|
message.channel_type = (_g = object.channel_type) != null ? _g : void 0;
|
|
8621
8640
|
message.status = (_h = object.status) != null ? _h : 0;
|
|
8622
8641
|
message.meeting_code = (_i = object.meeting_code) != null ? _i : "";
|
|
8642
|
+
message.is_error = (_j = object.is_error) != null ? _j : false;
|
|
8623
8643
|
return message;
|
|
8624
8644
|
}
|
|
8625
8645
|
};
|
|
@@ -2541,7 +2541,8 @@ function createBaseChannelMessage() {
|
|
|
2541
2541
|
create_time_seconds: 0,
|
|
2542
2542
|
update_time_seconds: 0,
|
|
2543
2543
|
mode: 0,
|
|
2544
|
-
hide_editted: false
|
|
2544
|
+
hide_editted: false,
|
|
2545
|
+
is_public: false
|
|
2545
2546
|
};
|
|
2546
2547
|
}
|
|
2547
2548
|
var ChannelMessage = {
|
|
@@ -2621,6 +2622,9 @@ var ChannelMessage = {
|
|
|
2621
2622
|
if (message.hide_editted === true) {
|
|
2622
2623
|
writer.uint32(200).bool(message.hide_editted);
|
|
2623
2624
|
}
|
|
2625
|
+
if (message.is_public === true) {
|
|
2626
|
+
writer.uint32(208).bool(message.is_public);
|
|
2627
|
+
}
|
|
2624
2628
|
return writer;
|
|
2625
2629
|
},
|
|
2626
2630
|
decode(input, length) {
|
|
@@ -2705,6 +2709,9 @@ var ChannelMessage = {
|
|
|
2705
2709
|
case 25:
|
|
2706
2710
|
message.hide_editted = reader.bool();
|
|
2707
2711
|
break;
|
|
2712
|
+
case 26:
|
|
2713
|
+
message.is_public = reader.bool();
|
|
2714
|
+
break;
|
|
2708
2715
|
default:
|
|
2709
2716
|
reader.skipType(tag & 7);
|
|
2710
2717
|
break;
|
|
@@ -2738,7 +2745,8 @@ var ChannelMessage = {
|
|
|
2738
2745
|
create_time_seconds: isSet3(object.create_time_seconds) ? Number(object.create_time_seconds) : 0,
|
|
2739
2746
|
update_time_seconds: isSet3(object.update_time_seconds) ? Number(object.update_time_seconds) : 0,
|
|
2740
2747
|
mode: isSet3(object.mode) ? Number(object.mode) : 0,
|
|
2741
|
-
hide_editted: isSet3(object.hide_editted) ? Boolean(object.hide_editted) : false
|
|
2748
|
+
hide_editted: isSet3(object.hide_editted) ? Boolean(object.hide_editted) : false,
|
|
2749
|
+
is_public: isSet3(object.is_public) ? Boolean(object.is_public) : false
|
|
2742
2750
|
};
|
|
2743
2751
|
},
|
|
2744
2752
|
toJSON(message) {
|
|
@@ -2768,13 +2776,14 @@ var ChannelMessage = {
|
|
|
2768
2776
|
message.update_time_seconds !== void 0 && (obj.update_time_seconds = Math.round(message.update_time_seconds));
|
|
2769
2777
|
message.mode !== void 0 && (obj.mode = Math.round(message.mode));
|
|
2770
2778
|
message.hide_editted !== void 0 && (obj.hide_editted = message.hide_editted);
|
|
2779
|
+
message.is_public !== void 0 && (obj.is_public = message.is_public);
|
|
2771
2780
|
return obj;
|
|
2772
2781
|
},
|
|
2773
2782
|
create(base) {
|
|
2774
2783
|
return ChannelMessage.fromPartial(base != null ? base : {});
|
|
2775
2784
|
},
|
|
2776
2785
|
fromPartial(object) {
|
|
2777
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y;
|
|
2786
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
|
|
2778
2787
|
const message = createBaseChannelMessage();
|
|
2779
2788
|
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
2780
2789
|
message.channel_id = (_b = object.channel_id) != null ? _b : "";
|
|
@@ -2801,6 +2810,7 @@ var ChannelMessage = {
|
|
|
2801
2810
|
message.update_time_seconds = (_w = object.update_time_seconds) != null ? _w : 0;
|
|
2802
2811
|
message.mode = (_x = object.mode) != null ? _x : 0;
|
|
2803
2812
|
message.hide_editted = (_y = object.hide_editted) != null ? _y : false;
|
|
2813
|
+
message.is_public = (_z = object.is_public) != null ? _z : false;
|
|
2804
2814
|
return message;
|
|
2805
2815
|
}
|
|
2806
2816
|
};
|
|
@@ -8491,7 +8501,8 @@ function createBaseChannelUpdatedEvent() {
|
|
|
8491
8501
|
channel_label: "",
|
|
8492
8502
|
channel_type: void 0,
|
|
8493
8503
|
status: 0,
|
|
8494
|
-
meeting_code: ""
|
|
8504
|
+
meeting_code: "",
|
|
8505
|
+
is_error: false
|
|
8495
8506
|
};
|
|
8496
8507
|
}
|
|
8497
8508
|
var ChannelUpdatedEvent = {
|
|
@@ -8523,6 +8534,9 @@ var ChannelUpdatedEvent = {
|
|
|
8523
8534
|
if (message.meeting_code !== "") {
|
|
8524
8535
|
writer.uint32(74).string(message.meeting_code);
|
|
8525
8536
|
}
|
|
8537
|
+
if (message.is_error === true) {
|
|
8538
|
+
writer.uint32(80).bool(message.is_error);
|
|
8539
|
+
}
|
|
8526
8540
|
return writer;
|
|
8527
8541
|
},
|
|
8528
8542
|
decode(input, length) {
|
|
@@ -8559,6 +8573,9 @@ var ChannelUpdatedEvent = {
|
|
|
8559
8573
|
case 9:
|
|
8560
8574
|
message.meeting_code = reader.string();
|
|
8561
8575
|
break;
|
|
8576
|
+
case 10:
|
|
8577
|
+
message.is_error = reader.bool();
|
|
8578
|
+
break;
|
|
8562
8579
|
default:
|
|
8563
8580
|
reader.skipType(tag & 7);
|
|
8564
8581
|
break;
|
|
@@ -8576,7 +8593,8 @@ var ChannelUpdatedEvent = {
|
|
|
8576
8593
|
channel_label: isSet4(object.channel_label) ? String(object.channel_label) : "",
|
|
8577
8594
|
channel_type: isSet4(object.channel_type) ? Number(object.channel_type) : void 0,
|
|
8578
8595
|
status: isSet4(object.status) ? Number(object.status) : 0,
|
|
8579
|
-
meeting_code: isSet4(object.meeting_code) ? String(object.meeting_code) : ""
|
|
8596
|
+
meeting_code: isSet4(object.meeting_code) ? String(object.meeting_code) : "",
|
|
8597
|
+
is_error: isSet4(object.is_error) ? Boolean(object.is_error) : false
|
|
8580
8598
|
};
|
|
8581
8599
|
},
|
|
8582
8600
|
toJSON(message) {
|
|
@@ -8590,13 +8608,14 @@ var ChannelUpdatedEvent = {
|
|
|
8590
8608
|
message.channel_type !== void 0 && (obj.channel_type = message.channel_type);
|
|
8591
8609
|
message.status !== void 0 && (obj.status = Math.round(message.status));
|
|
8592
8610
|
message.meeting_code !== void 0 && (obj.meeting_code = message.meeting_code);
|
|
8611
|
+
message.is_error !== void 0 && (obj.is_error = message.is_error);
|
|
8593
8612
|
return obj;
|
|
8594
8613
|
},
|
|
8595
8614
|
create(base) {
|
|
8596
8615
|
return ChannelUpdatedEvent.fromPartial(base != null ? base : {});
|
|
8597
8616
|
},
|
|
8598
8617
|
fromPartial(object) {
|
|
8599
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
8618
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
8600
8619
|
const message = createBaseChannelUpdatedEvent();
|
|
8601
8620
|
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
8602
8621
|
message.category_id = (_b = object.category_id) != null ? _b : "";
|
|
@@ -8607,6 +8626,7 @@ var ChannelUpdatedEvent = {
|
|
|
8607
8626
|
message.channel_type = (_g = object.channel_type) != null ? _g : void 0;
|
|
8608
8627
|
message.status = (_h = object.status) != null ? _h : 0;
|
|
8609
8628
|
message.meeting_code = (_i = object.meeting_code) != null ? _i : "";
|
|
8629
|
+
message.is_error = (_j = object.is_error) != null ? _j : false;
|
|
8610
8630
|
return message;
|
|
8611
8631
|
}
|
|
8612
8632
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mezon-js-protobuf",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.38",
|
|
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",
|
package/rtapi/realtime.ts
CHANGED
|
@@ -835,6 +835,8 @@ export interface ChannelUpdatedEvent {
|
|
|
835
835
|
status: number;
|
|
836
836
|
/** meeting code */
|
|
837
837
|
meeting_code: string;
|
|
838
|
+
/** error */
|
|
839
|
+
is_error: boolean;
|
|
838
840
|
}
|
|
839
841
|
|
|
840
842
|
/** Stop receiving status updates for some set of users. */
|
|
@@ -5542,6 +5544,7 @@ function createBaseChannelUpdatedEvent(): ChannelUpdatedEvent {
|
|
|
5542
5544
|
channel_type: undefined,
|
|
5543
5545
|
status: 0,
|
|
5544
5546
|
meeting_code: "",
|
|
5547
|
+
is_error: false,
|
|
5545
5548
|
};
|
|
5546
5549
|
}
|
|
5547
5550
|
|
|
@@ -5574,6 +5577,9 @@ export const ChannelUpdatedEvent = {
|
|
|
5574
5577
|
if (message.meeting_code !== "") {
|
|
5575
5578
|
writer.uint32(74).string(message.meeting_code);
|
|
5576
5579
|
}
|
|
5580
|
+
if (message.is_error === true) {
|
|
5581
|
+
writer.uint32(80).bool(message.is_error);
|
|
5582
|
+
}
|
|
5577
5583
|
return writer;
|
|
5578
5584
|
},
|
|
5579
5585
|
|
|
@@ -5611,6 +5617,9 @@ export const ChannelUpdatedEvent = {
|
|
|
5611
5617
|
case 9:
|
|
5612
5618
|
message.meeting_code = reader.string();
|
|
5613
5619
|
break;
|
|
5620
|
+
case 10:
|
|
5621
|
+
message.is_error = reader.bool();
|
|
5622
|
+
break;
|
|
5614
5623
|
default:
|
|
5615
5624
|
reader.skipType(tag & 7);
|
|
5616
5625
|
break;
|
|
@@ -5630,6 +5639,7 @@ export const ChannelUpdatedEvent = {
|
|
|
5630
5639
|
channel_type: isSet(object.channel_type) ? Number(object.channel_type) : undefined,
|
|
5631
5640
|
status: isSet(object.status) ? Number(object.status) : 0,
|
|
5632
5641
|
meeting_code: isSet(object.meeting_code) ? String(object.meeting_code) : "",
|
|
5642
|
+
is_error: isSet(object.is_error) ? Boolean(object.is_error) : false,
|
|
5633
5643
|
};
|
|
5634
5644
|
},
|
|
5635
5645
|
|
|
@@ -5644,6 +5654,7 @@ export const ChannelUpdatedEvent = {
|
|
|
5644
5654
|
message.channel_type !== undefined && (obj.channel_type = message.channel_type);
|
|
5645
5655
|
message.status !== undefined && (obj.status = Math.round(message.status));
|
|
5646
5656
|
message.meeting_code !== undefined && (obj.meeting_code = message.meeting_code);
|
|
5657
|
+
message.is_error !== undefined && (obj.is_error = message.is_error);
|
|
5647
5658
|
return obj;
|
|
5648
5659
|
},
|
|
5649
5660
|
|
|
@@ -5662,6 +5673,7 @@ export const ChannelUpdatedEvent = {
|
|
|
5662
5673
|
message.channel_type = object.channel_type ?? undefined;
|
|
5663
5674
|
message.status = object.status ?? 0;
|
|
5664
5675
|
message.meeting_code = object.meeting_code ?? "";
|
|
5676
|
+
message.is_error = object.is_error ?? false;
|
|
5665
5677
|
return message;
|
|
5666
5678
|
},
|
|
5667
5679
|
};
|