mezon-js-protobuf 1.4.30 → 1.4.31
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 +12 -0
- package/dist/mezon-js-protobuf/api/api.d.ts +16 -0
- package/dist/mezon-js-protobuf/rtapi/realtime.d.ts +227 -79
- package/dist/mezon-js-protobuf.cjs.js +168 -8
- package/dist/mezon-js-protobuf.esm.mjs +168 -8
- package/package.json +1 -1
- package/rtapi/realtime.ts +208 -5
package/api/api.ts
CHANGED
|
@@ -1206,6 +1206,8 @@ export interface Notification {
|
|
|
1206
1206
|
channel_id: string;
|
|
1207
1207
|
/** mode of */
|
|
1208
1208
|
channel_type: string;
|
|
1209
|
+
/** */
|
|
1210
|
+
avatar_url: string;
|
|
1209
1211
|
}
|
|
1210
1212
|
|
|
1211
1213
|
/** A collection of zero or more notifications. */
|
|
@@ -8807,6 +8809,7 @@ function createBaseNotification(): Notification {
|
|
|
8807
8809
|
clan_id: "",
|
|
8808
8810
|
channel_id: "",
|
|
8809
8811
|
channel_type: "",
|
|
8812
|
+
avatar_url: "",
|
|
8810
8813
|
};
|
|
8811
8814
|
}
|
|
8812
8815
|
|
|
@@ -8842,6 +8845,9 @@ export const Notification = {
|
|
|
8842
8845
|
if (message.channel_type !== "") {
|
|
8843
8846
|
writer.uint32(82).string(message.channel_type);
|
|
8844
8847
|
}
|
|
8848
|
+
if (message.avatar_url !== "") {
|
|
8849
|
+
writer.uint32(90).string(message.avatar_url);
|
|
8850
|
+
}
|
|
8845
8851
|
return writer;
|
|
8846
8852
|
},
|
|
8847
8853
|
|
|
@@ -8882,6 +8888,9 @@ export const Notification = {
|
|
|
8882
8888
|
case 10:
|
|
8883
8889
|
message.channel_type = reader.string();
|
|
8884
8890
|
break;
|
|
8891
|
+
case 11:
|
|
8892
|
+
message.avatar_url = reader.string();
|
|
8893
|
+
break;
|
|
8885
8894
|
default:
|
|
8886
8895
|
reader.skipType(tag & 7);
|
|
8887
8896
|
break;
|
|
@@ -8902,6 +8911,7 @@ export const Notification = {
|
|
|
8902
8911
|
clan_id: isSet(object.clan_id) ? String(object.clan_id) : "",
|
|
8903
8912
|
channel_id: isSet(object.channel_id) ? String(object.channel_id) : "",
|
|
8904
8913
|
channel_type: isSet(object.channel_type) ? String(object.channel_type) : "",
|
|
8914
|
+
avatar_url: isSet(object.avatar_url) ? String(object.avatar_url) : "",
|
|
8905
8915
|
};
|
|
8906
8916
|
},
|
|
8907
8917
|
|
|
@@ -8917,6 +8927,7 @@ export const Notification = {
|
|
|
8917
8927
|
message.clan_id !== undefined && (obj.clan_id = message.clan_id);
|
|
8918
8928
|
message.channel_id !== undefined && (obj.channel_id = message.channel_id);
|
|
8919
8929
|
message.channel_type !== undefined && (obj.channel_type = message.channel_type);
|
|
8930
|
+
message.avatar_url !== undefined && (obj.avatar_url = message.avatar_url);
|
|
8920
8931
|
return obj;
|
|
8921
8932
|
},
|
|
8922
8933
|
|
|
@@ -8936,6 +8947,7 @@ export const Notification = {
|
|
|
8936
8947
|
message.clan_id = object.clan_id ?? "";
|
|
8937
8948
|
message.channel_id = object.channel_id ?? "";
|
|
8938
8949
|
message.channel_type = object.channel_type ?? "";
|
|
8950
|
+
message.avatar_url = object.avatar_url ?? "";
|
|
8939
8951
|
return message;
|
|
8940
8952
|
},
|
|
8941
8953
|
};
|
|
@@ -858,6 +858,8 @@ export interface Notification {
|
|
|
858
858
|
channel_id: string;
|
|
859
859
|
/** mode of */
|
|
860
860
|
channel_type: string;
|
|
861
|
+
/** */
|
|
862
|
+
avatar_url: string;
|
|
861
863
|
}
|
|
862
864
|
/** A collection of zero or more notifications. */
|
|
863
865
|
export interface NotificationList {
|
|
@@ -6730,6 +6732,7 @@ export declare const Notification: {
|
|
|
6730
6732
|
clan_id?: string | undefined;
|
|
6731
6733
|
channel_id?: string | undefined;
|
|
6732
6734
|
channel_type?: string | undefined;
|
|
6735
|
+
avatar_url?: string | undefined;
|
|
6733
6736
|
} & {
|
|
6734
6737
|
id?: string | undefined;
|
|
6735
6738
|
subject?: string | undefined;
|
|
@@ -6741,6 +6744,7 @@ export declare const Notification: {
|
|
|
6741
6744
|
clan_id?: string | undefined;
|
|
6742
6745
|
channel_id?: string | undefined;
|
|
6743
6746
|
channel_type?: string | undefined;
|
|
6747
|
+
avatar_url?: string | undefined;
|
|
6744
6748
|
} & { [K in Exclude<keyof I, keyof Notification>]: never; }>(base?: I | undefined): Notification;
|
|
6745
6749
|
fromPartial<I_1 extends {
|
|
6746
6750
|
id?: string | undefined;
|
|
@@ -6753,6 +6757,7 @@ export declare const Notification: {
|
|
|
6753
6757
|
clan_id?: string | undefined;
|
|
6754
6758
|
channel_id?: string | undefined;
|
|
6755
6759
|
channel_type?: string | undefined;
|
|
6760
|
+
avatar_url?: string | undefined;
|
|
6756
6761
|
} & {
|
|
6757
6762
|
id?: string | undefined;
|
|
6758
6763
|
subject?: string | undefined;
|
|
@@ -6764,6 +6769,7 @@ export declare const Notification: {
|
|
|
6764
6769
|
clan_id?: string | undefined;
|
|
6765
6770
|
channel_id?: string | undefined;
|
|
6766
6771
|
channel_type?: string | undefined;
|
|
6772
|
+
avatar_url?: string | undefined;
|
|
6767
6773
|
} & { [K_1 in Exclude<keyof I_1, keyof Notification>]: never; }>(object: I_1): Notification;
|
|
6768
6774
|
};
|
|
6769
6775
|
export declare const NotificationList: {
|
|
@@ -6783,6 +6789,7 @@ export declare const NotificationList: {
|
|
|
6783
6789
|
clan_id?: string | undefined;
|
|
6784
6790
|
channel_id?: string | undefined;
|
|
6785
6791
|
channel_type?: string | undefined;
|
|
6792
|
+
avatar_url?: string | undefined;
|
|
6786
6793
|
}[] | undefined;
|
|
6787
6794
|
cacheable_cursor?: string | undefined;
|
|
6788
6795
|
} & {
|
|
@@ -6797,6 +6804,7 @@ export declare const NotificationList: {
|
|
|
6797
6804
|
clan_id?: string | undefined;
|
|
6798
6805
|
channel_id?: string | undefined;
|
|
6799
6806
|
channel_type?: string | undefined;
|
|
6807
|
+
avatar_url?: string | undefined;
|
|
6800
6808
|
}[] & ({
|
|
6801
6809
|
id?: string | undefined;
|
|
6802
6810
|
subject?: string | undefined;
|
|
@@ -6808,6 +6816,7 @@ export declare const NotificationList: {
|
|
|
6808
6816
|
clan_id?: string | undefined;
|
|
6809
6817
|
channel_id?: string | undefined;
|
|
6810
6818
|
channel_type?: string | undefined;
|
|
6819
|
+
avatar_url?: string | undefined;
|
|
6811
6820
|
} & {
|
|
6812
6821
|
id?: string | undefined;
|
|
6813
6822
|
subject?: string | undefined;
|
|
@@ -6819,6 +6828,7 @@ export declare const NotificationList: {
|
|
|
6819
6828
|
clan_id?: string | undefined;
|
|
6820
6829
|
channel_id?: string | undefined;
|
|
6821
6830
|
channel_type?: string | undefined;
|
|
6831
|
+
avatar_url?: string | undefined;
|
|
6822
6832
|
} & { [K in Exclude<keyof I["notifications"][number], keyof Notification>]: never; })[] & { [K_1 in Exclude<keyof I["notifications"], keyof {
|
|
6823
6833
|
id?: string | undefined;
|
|
6824
6834
|
subject?: string | undefined;
|
|
@@ -6830,6 +6840,7 @@ export declare const NotificationList: {
|
|
|
6830
6840
|
clan_id?: string | undefined;
|
|
6831
6841
|
channel_id?: string | undefined;
|
|
6832
6842
|
channel_type?: string | undefined;
|
|
6843
|
+
avatar_url?: string | undefined;
|
|
6833
6844
|
}[]>]: never; }) | undefined;
|
|
6834
6845
|
cacheable_cursor?: string | undefined;
|
|
6835
6846
|
} & { [K_2 in Exclude<keyof I, keyof NotificationList>]: never; }>(base?: I | undefined): NotificationList;
|
|
@@ -6845,6 +6856,7 @@ export declare const NotificationList: {
|
|
|
6845
6856
|
clan_id?: string | undefined;
|
|
6846
6857
|
channel_id?: string | undefined;
|
|
6847
6858
|
channel_type?: string | undefined;
|
|
6859
|
+
avatar_url?: string | undefined;
|
|
6848
6860
|
}[] | undefined;
|
|
6849
6861
|
cacheable_cursor?: string | undefined;
|
|
6850
6862
|
} & {
|
|
@@ -6859,6 +6871,7 @@ export declare const NotificationList: {
|
|
|
6859
6871
|
clan_id?: string | undefined;
|
|
6860
6872
|
channel_id?: string | undefined;
|
|
6861
6873
|
channel_type?: string | undefined;
|
|
6874
|
+
avatar_url?: string | undefined;
|
|
6862
6875
|
}[] & ({
|
|
6863
6876
|
id?: string | undefined;
|
|
6864
6877
|
subject?: string | undefined;
|
|
@@ -6870,6 +6883,7 @@ export declare const NotificationList: {
|
|
|
6870
6883
|
clan_id?: string | undefined;
|
|
6871
6884
|
channel_id?: string | undefined;
|
|
6872
6885
|
channel_type?: string | undefined;
|
|
6886
|
+
avatar_url?: string | undefined;
|
|
6873
6887
|
} & {
|
|
6874
6888
|
id?: string | undefined;
|
|
6875
6889
|
subject?: string | undefined;
|
|
@@ -6881,6 +6895,7 @@ export declare const NotificationList: {
|
|
|
6881
6895
|
clan_id?: string | undefined;
|
|
6882
6896
|
channel_id?: string | undefined;
|
|
6883
6897
|
channel_type?: string | undefined;
|
|
6898
|
+
avatar_url?: string | undefined;
|
|
6884
6899
|
} & { [K_3 in Exclude<keyof I_1["notifications"][number], keyof Notification>]: never; })[] & { [K_4 in Exclude<keyof I_1["notifications"], keyof {
|
|
6885
6900
|
id?: string | undefined;
|
|
6886
6901
|
subject?: string | undefined;
|
|
@@ -6892,6 +6907,7 @@ export declare const NotificationList: {
|
|
|
6892
6907
|
clan_id?: string | undefined;
|
|
6893
6908
|
channel_id?: string | undefined;
|
|
6894
6909
|
channel_type?: string | undefined;
|
|
6910
|
+
avatar_url?: string | undefined;
|
|
6895
6911
|
}[]>]: never; }) | undefined;
|
|
6896
6912
|
cacheable_cursor?: string | undefined;
|
|
6897
6913
|
} & { [K_5 in Exclude<keyof I_1, keyof NotificationList>]: never; }>(object: I_1): NotificationList;
|