mezon-js-protobuf 1.6.82 → 1.6.83
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 +2 -2
- package/dist/mezon-js-protobuf/rtapi/realtime.d.ts +12 -0
- package/dist/mezon-js-protobuf.cjs.js +25 -3
- package/dist/mezon-js-protobuf.esm.mjs +25 -3
- package/google/protobuf/struct.ts +554 -554
- package/google/protobuf/timestamp.ts +223 -223
- package/google/protobuf/wrappers.ts +670 -670
- package/package.json +1 -1
- package/rtapi/realtime.ts +28 -3
package/api/api.ts
CHANGED
|
@@ -843,6 +843,8 @@ export interface UserProfileUpdatedEvent {
|
|
|
843
843
|
channel_id: string;
|
|
844
844
|
/** the clan_id */
|
|
845
845
|
clan_id: string;
|
|
846
|
+
/** the clan_id */
|
|
847
|
+
encrypt_private_key: string;
|
|
846
848
|
}
|
|
847
849
|
/** A event when user is added to channel */
|
|
848
850
|
export interface UserProfileRedis {
|
|
@@ -1552,6 +1554,7 @@ export declare const Envelope: {
|
|
|
1552
1554
|
about_me?: string | undefined;
|
|
1553
1555
|
channel_id?: string | undefined;
|
|
1554
1556
|
clan_id?: string | undefined;
|
|
1557
|
+
encrypt_private_key?: string | undefined;
|
|
1555
1558
|
} | undefined;
|
|
1556
1559
|
add_clan_user_event?: {
|
|
1557
1560
|
clan_id?: string | undefined;
|
|
@@ -3396,6 +3399,7 @@ export declare const Envelope: {
|
|
|
3396
3399
|
about_me?: string | undefined;
|
|
3397
3400
|
channel_id?: string | undefined;
|
|
3398
3401
|
clan_id?: string | undefined;
|
|
3402
|
+
encrypt_private_key?: string | undefined;
|
|
3399
3403
|
} & {
|
|
3400
3404
|
user_id?: string | undefined;
|
|
3401
3405
|
display_name?: string | undefined;
|
|
@@ -3403,6 +3407,7 @@ export declare const Envelope: {
|
|
|
3403
3407
|
about_me?: string | undefined;
|
|
3404
3408
|
channel_id?: string | undefined;
|
|
3405
3409
|
clan_id?: string | undefined;
|
|
3410
|
+
encrypt_private_key?: string | undefined;
|
|
3406
3411
|
} & { [K_95 in Exclude<keyof I["user_profile_updated_event"], keyof UserProfileUpdatedEvent>]: never; }) | undefined;
|
|
3407
3412
|
add_clan_user_event?: ({
|
|
3408
3413
|
clan_id?: string | undefined;
|
|
@@ -4687,6 +4692,7 @@ export declare const Envelope: {
|
|
|
4687
4692
|
about_me?: string | undefined;
|
|
4688
4693
|
channel_id?: string | undefined;
|
|
4689
4694
|
clan_id?: string | undefined;
|
|
4695
|
+
encrypt_private_key?: string | undefined;
|
|
4690
4696
|
} | undefined;
|
|
4691
4697
|
add_clan_user_event?: {
|
|
4692
4698
|
clan_id?: string | undefined;
|
|
@@ -6531,6 +6537,7 @@ export declare const Envelope: {
|
|
|
6531
6537
|
about_me?: string | undefined;
|
|
6532
6538
|
channel_id?: string | undefined;
|
|
6533
6539
|
clan_id?: string | undefined;
|
|
6540
|
+
encrypt_private_key?: string | undefined;
|
|
6534
6541
|
} & {
|
|
6535
6542
|
user_id?: string | undefined;
|
|
6536
6543
|
display_name?: string | undefined;
|
|
@@ -6538,6 +6545,7 @@ export declare const Envelope: {
|
|
|
6538
6545
|
about_me?: string | undefined;
|
|
6539
6546
|
channel_id?: string | undefined;
|
|
6540
6547
|
clan_id?: string | undefined;
|
|
6548
|
+
encrypt_private_key?: string | undefined;
|
|
6541
6549
|
} & { [K_250 in Exclude<keyof I_1["user_profile_updated_event"], keyof UserProfileUpdatedEvent>]: never; }) | undefined;
|
|
6542
6550
|
add_clan_user_event?: ({
|
|
6543
6551
|
clan_id?: string | undefined;
|
|
@@ -11577,6 +11585,7 @@ export declare const UserProfileUpdatedEvent: {
|
|
|
11577
11585
|
about_me?: string | undefined;
|
|
11578
11586
|
channel_id?: string | undefined;
|
|
11579
11587
|
clan_id?: string | undefined;
|
|
11588
|
+
encrypt_private_key?: string | undefined;
|
|
11580
11589
|
} & {
|
|
11581
11590
|
user_id?: string | undefined;
|
|
11582
11591
|
display_name?: string | undefined;
|
|
@@ -11584,6 +11593,7 @@ export declare const UserProfileUpdatedEvent: {
|
|
|
11584
11593
|
about_me?: string | undefined;
|
|
11585
11594
|
channel_id?: string | undefined;
|
|
11586
11595
|
clan_id?: string | undefined;
|
|
11596
|
+
encrypt_private_key?: string | undefined;
|
|
11587
11597
|
} & { [K in Exclude<keyof I, keyof UserProfileUpdatedEvent>]: never; }>(base?: I | undefined): UserProfileUpdatedEvent;
|
|
11588
11598
|
fromPartial<I_1 extends {
|
|
11589
11599
|
user_id?: string | undefined;
|
|
@@ -11592,6 +11602,7 @@ export declare const UserProfileUpdatedEvent: {
|
|
|
11592
11602
|
about_me?: string | undefined;
|
|
11593
11603
|
channel_id?: string | undefined;
|
|
11594
11604
|
clan_id?: string | undefined;
|
|
11605
|
+
encrypt_private_key?: string | undefined;
|
|
11595
11606
|
} & {
|
|
11596
11607
|
user_id?: string | undefined;
|
|
11597
11608
|
display_name?: string | undefined;
|
|
@@ -11599,6 +11610,7 @@ export declare const UserProfileUpdatedEvent: {
|
|
|
11599
11610
|
about_me?: string | undefined;
|
|
11600
11611
|
channel_id?: string | undefined;
|
|
11601
11612
|
clan_id?: string | undefined;
|
|
11613
|
+
encrypt_private_key?: string | undefined;
|
|
11602
11614
|
} & { [K_1 in Exclude<keyof I_1, keyof UserProfileUpdatedEvent>]: never; }>(object: I_1): UserProfileUpdatedEvent;
|
|
11603
11615
|
};
|
|
11604
11616
|
export declare const UserProfileRedis: {
|
|
@@ -12746,7 +12746,15 @@ var ClanProfileUpdatedEvent = {
|
|
|
12746
12746
|
}
|
|
12747
12747
|
};
|
|
12748
12748
|
function createBaseUserProfileUpdatedEvent() {
|
|
12749
|
-
return {
|
|
12749
|
+
return {
|
|
12750
|
+
user_id: "",
|
|
12751
|
+
display_name: "",
|
|
12752
|
+
avatar: "",
|
|
12753
|
+
about_me: "",
|
|
12754
|
+
channel_id: "",
|
|
12755
|
+
clan_id: "",
|
|
12756
|
+
encrypt_private_key: ""
|
|
12757
|
+
};
|
|
12750
12758
|
}
|
|
12751
12759
|
var UserProfileUpdatedEvent = {
|
|
12752
12760
|
encode(message, writer = import_minimal5.default.Writer.create()) {
|
|
@@ -12768,6 +12776,9 @@ var UserProfileUpdatedEvent = {
|
|
|
12768
12776
|
if (message.clan_id !== "") {
|
|
12769
12777
|
writer.uint32(50).string(message.clan_id);
|
|
12770
12778
|
}
|
|
12779
|
+
if (message.encrypt_private_key !== "") {
|
|
12780
|
+
writer.uint32(58).string(message.encrypt_private_key);
|
|
12781
|
+
}
|
|
12771
12782
|
return writer;
|
|
12772
12783
|
},
|
|
12773
12784
|
decode(input, length) {
|
|
@@ -12813,6 +12824,12 @@ var UserProfileUpdatedEvent = {
|
|
|
12813
12824
|
}
|
|
12814
12825
|
message.clan_id = reader.string();
|
|
12815
12826
|
continue;
|
|
12827
|
+
case 7:
|
|
12828
|
+
if (tag !== 58) {
|
|
12829
|
+
break;
|
|
12830
|
+
}
|
|
12831
|
+
message.encrypt_private_key = reader.string();
|
|
12832
|
+
continue;
|
|
12816
12833
|
}
|
|
12817
12834
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12818
12835
|
break;
|
|
@@ -12828,7 +12845,8 @@ var UserProfileUpdatedEvent = {
|
|
|
12828
12845
|
avatar: isSet4(object.avatar) ? globalThis.String(object.avatar) : "",
|
|
12829
12846
|
about_me: isSet4(object.about_me) ? globalThis.String(object.about_me) : "",
|
|
12830
12847
|
channel_id: isSet4(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
12831
|
-
clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : ""
|
|
12848
|
+
clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
12849
|
+
encrypt_private_key: isSet4(object.encrypt_private_key) ? globalThis.String(object.encrypt_private_key) : ""
|
|
12832
12850
|
};
|
|
12833
12851
|
},
|
|
12834
12852
|
toJSON(message) {
|
|
@@ -12851,13 +12869,16 @@ var UserProfileUpdatedEvent = {
|
|
|
12851
12869
|
if (message.clan_id !== "") {
|
|
12852
12870
|
obj.clan_id = message.clan_id;
|
|
12853
12871
|
}
|
|
12872
|
+
if (message.encrypt_private_key !== "") {
|
|
12873
|
+
obj.encrypt_private_key = message.encrypt_private_key;
|
|
12874
|
+
}
|
|
12854
12875
|
return obj;
|
|
12855
12876
|
},
|
|
12856
12877
|
create(base) {
|
|
12857
12878
|
return UserProfileUpdatedEvent.fromPartial(base != null ? base : {});
|
|
12858
12879
|
},
|
|
12859
12880
|
fromPartial(object) {
|
|
12860
|
-
var _a, _b, _c, _d, _e, _f;
|
|
12881
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
12861
12882
|
const message = createBaseUserProfileUpdatedEvent();
|
|
12862
12883
|
message.user_id = (_a = object.user_id) != null ? _a : "";
|
|
12863
12884
|
message.display_name = (_b = object.display_name) != null ? _b : "";
|
|
@@ -12865,6 +12886,7 @@ var UserProfileUpdatedEvent = {
|
|
|
12865
12886
|
message.about_me = (_d = object.about_me) != null ? _d : "";
|
|
12866
12887
|
message.channel_id = (_e = object.channel_id) != null ? _e : "";
|
|
12867
12888
|
message.clan_id = (_f = object.clan_id) != null ? _f : "";
|
|
12889
|
+
message.encrypt_private_key = (_g = object.encrypt_private_key) != null ? _g : "";
|
|
12868
12890
|
return message;
|
|
12869
12891
|
}
|
|
12870
12892
|
};
|
|
@@ -12733,7 +12733,15 @@ var ClanProfileUpdatedEvent = {
|
|
|
12733
12733
|
}
|
|
12734
12734
|
};
|
|
12735
12735
|
function createBaseUserProfileUpdatedEvent() {
|
|
12736
|
-
return {
|
|
12736
|
+
return {
|
|
12737
|
+
user_id: "",
|
|
12738
|
+
display_name: "",
|
|
12739
|
+
avatar: "",
|
|
12740
|
+
about_me: "",
|
|
12741
|
+
channel_id: "",
|
|
12742
|
+
clan_id: "",
|
|
12743
|
+
encrypt_private_key: ""
|
|
12744
|
+
};
|
|
12737
12745
|
}
|
|
12738
12746
|
var UserProfileUpdatedEvent = {
|
|
12739
12747
|
encode(message, writer = import_minimal5.default.Writer.create()) {
|
|
@@ -12755,6 +12763,9 @@ var UserProfileUpdatedEvent = {
|
|
|
12755
12763
|
if (message.clan_id !== "") {
|
|
12756
12764
|
writer.uint32(50).string(message.clan_id);
|
|
12757
12765
|
}
|
|
12766
|
+
if (message.encrypt_private_key !== "") {
|
|
12767
|
+
writer.uint32(58).string(message.encrypt_private_key);
|
|
12768
|
+
}
|
|
12758
12769
|
return writer;
|
|
12759
12770
|
},
|
|
12760
12771
|
decode(input, length) {
|
|
@@ -12800,6 +12811,12 @@ var UserProfileUpdatedEvent = {
|
|
|
12800
12811
|
}
|
|
12801
12812
|
message.clan_id = reader.string();
|
|
12802
12813
|
continue;
|
|
12814
|
+
case 7:
|
|
12815
|
+
if (tag !== 58) {
|
|
12816
|
+
break;
|
|
12817
|
+
}
|
|
12818
|
+
message.encrypt_private_key = reader.string();
|
|
12819
|
+
continue;
|
|
12803
12820
|
}
|
|
12804
12821
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12805
12822
|
break;
|
|
@@ -12815,7 +12832,8 @@ var UserProfileUpdatedEvent = {
|
|
|
12815
12832
|
avatar: isSet4(object.avatar) ? globalThis.String(object.avatar) : "",
|
|
12816
12833
|
about_me: isSet4(object.about_me) ? globalThis.String(object.about_me) : "",
|
|
12817
12834
|
channel_id: isSet4(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
12818
|
-
clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : ""
|
|
12835
|
+
clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
12836
|
+
encrypt_private_key: isSet4(object.encrypt_private_key) ? globalThis.String(object.encrypt_private_key) : ""
|
|
12819
12837
|
};
|
|
12820
12838
|
},
|
|
12821
12839
|
toJSON(message) {
|
|
@@ -12838,13 +12856,16 @@ var UserProfileUpdatedEvent = {
|
|
|
12838
12856
|
if (message.clan_id !== "") {
|
|
12839
12857
|
obj.clan_id = message.clan_id;
|
|
12840
12858
|
}
|
|
12859
|
+
if (message.encrypt_private_key !== "") {
|
|
12860
|
+
obj.encrypt_private_key = message.encrypt_private_key;
|
|
12861
|
+
}
|
|
12841
12862
|
return obj;
|
|
12842
12863
|
},
|
|
12843
12864
|
create(base) {
|
|
12844
12865
|
return UserProfileUpdatedEvent.fromPartial(base != null ? base : {});
|
|
12845
12866
|
},
|
|
12846
12867
|
fromPartial(object) {
|
|
12847
|
-
var _a, _b, _c, _d, _e, _f;
|
|
12868
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
12848
12869
|
const message = createBaseUserProfileUpdatedEvent();
|
|
12849
12870
|
message.user_id = (_a = object.user_id) != null ? _a : "";
|
|
12850
12871
|
message.display_name = (_b = object.display_name) != null ? _b : "";
|
|
@@ -12852,6 +12873,7 @@ var UserProfileUpdatedEvent = {
|
|
|
12852
12873
|
message.about_me = (_d = object.about_me) != null ? _d : "";
|
|
12853
12874
|
message.channel_id = (_e = object.channel_id) != null ? _e : "";
|
|
12854
12875
|
message.clan_id = (_f = object.clan_id) != null ? _f : "";
|
|
12876
|
+
message.encrypt_private_key = (_g = object.encrypt_private_key) != null ? _g : "";
|
|
12855
12877
|
return message;
|
|
12856
12878
|
}
|
|
12857
12879
|
};
|