mezon-js-protobuf 1.4.21 → 1.4.22
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.
|
@@ -1507,6 +1507,17 @@ export interface NotificationUserChannel {
|
|
|
1507
1507
|
notification_setting_type: string;
|
|
1508
1508
|
/** */
|
|
1509
1509
|
time_mute: Date | undefined;
|
|
1510
|
+
/** */
|
|
1511
|
+
active: number;
|
|
1512
|
+
}
|
|
1513
|
+
/** Notification channel */
|
|
1514
|
+
export interface NotifiReactMessage {
|
|
1515
|
+
/** Notification id */
|
|
1516
|
+
id: string;
|
|
1517
|
+
/** */
|
|
1518
|
+
user_id: string;
|
|
1519
|
+
/** */
|
|
1520
|
+
channel_id: string;
|
|
1510
1521
|
}
|
|
1511
1522
|
/** */
|
|
1512
1523
|
export interface DefaultNotificationClan {
|
|
@@ -1534,6 +1545,12 @@ export interface SetNotificationRequest {
|
|
|
1534
1545
|
notification_type: string;
|
|
1535
1546
|
time_mute: Date | undefined;
|
|
1536
1547
|
}
|
|
1548
|
+
/** set notification */
|
|
1549
|
+
export interface SetMuteNotificationRequest {
|
|
1550
|
+
channel_id: string;
|
|
1551
|
+
notification_type: string;
|
|
1552
|
+
active: number;
|
|
1553
|
+
}
|
|
1537
1554
|
/** set default notification */
|
|
1538
1555
|
export interface SetDefaultNotificationRequest {
|
|
1539
1556
|
clan_id: string;
|
|
@@ -10035,21 +10052,49 @@ export declare const NotificationUserChannel: {
|
|
|
10035
10052
|
id?: string | undefined;
|
|
10036
10053
|
notification_setting_type?: string | undefined;
|
|
10037
10054
|
time_mute?: Date | undefined;
|
|
10055
|
+
active?: number | undefined;
|
|
10038
10056
|
} & {
|
|
10039
10057
|
id?: string | undefined;
|
|
10040
10058
|
notification_setting_type?: string | undefined;
|
|
10041
10059
|
time_mute?: Date | undefined;
|
|
10060
|
+
active?: number | undefined;
|
|
10042
10061
|
} & { [K in Exclude<keyof I, keyof NotificationUserChannel>]: never; }>(base?: I | undefined): NotificationUserChannel;
|
|
10043
10062
|
fromPartial<I_1 extends {
|
|
10044
10063
|
id?: string | undefined;
|
|
10045
10064
|
notification_setting_type?: string | undefined;
|
|
10046
10065
|
time_mute?: Date | undefined;
|
|
10066
|
+
active?: number | undefined;
|
|
10047
10067
|
} & {
|
|
10048
10068
|
id?: string | undefined;
|
|
10049
10069
|
notification_setting_type?: string | undefined;
|
|
10050
10070
|
time_mute?: Date | undefined;
|
|
10071
|
+
active?: number | undefined;
|
|
10051
10072
|
} & { [K_1 in Exclude<keyof I_1, keyof NotificationUserChannel>]: never; }>(object: I_1): NotificationUserChannel;
|
|
10052
10073
|
};
|
|
10074
|
+
export declare const NotifiReactMessage: {
|
|
10075
|
+
encode(message: NotifiReactMessage, writer?: _m0.Writer): _m0.Writer;
|
|
10076
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): NotifiReactMessage;
|
|
10077
|
+
fromJSON(object: any): NotifiReactMessage;
|
|
10078
|
+
toJSON(message: NotifiReactMessage): unknown;
|
|
10079
|
+
create<I extends {
|
|
10080
|
+
id?: string | undefined;
|
|
10081
|
+
user_id?: string | undefined;
|
|
10082
|
+
channel_id?: string | undefined;
|
|
10083
|
+
} & {
|
|
10084
|
+
id?: string | undefined;
|
|
10085
|
+
user_id?: string | undefined;
|
|
10086
|
+
channel_id?: string | undefined;
|
|
10087
|
+
} & { [K in Exclude<keyof I, keyof NotifiReactMessage>]: never; }>(base?: I | undefined): NotifiReactMessage;
|
|
10088
|
+
fromPartial<I_1 extends {
|
|
10089
|
+
id?: string | undefined;
|
|
10090
|
+
user_id?: string | undefined;
|
|
10091
|
+
channel_id?: string | undefined;
|
|
10092
|
+
} & {
|
|
10093
|
+
id?: string | undefined;
|
|
10094
|
+
user_id?: string | undefined;
|
|
10095
|
+
channel_id?: string | undefined;
|
|
10096
|
+
} & { [K_1 in Exclude<keyof I_1, keyof NotifiReactMessage>]: never; }>(object: I_1): NotifiReactMessage;
|
|
10097
|
+
};
|
|
10053
10098
|
export declare const DefaultNotificationClan: {
|
|
10054
10099
|
encode(message: DefaultNotificationClan, writer?: _m0.Writer): _m0.Writer;
|
|
10055
10100
|
decode(input: _m0.Reader | Uint8Array, length?: number): DefaultNotificationClan;
|
|
@@ -10168,6 +10213,30 @@ export declare const SetNotificationRequest: {
|
|
|
10168
10213
|
time_mute?: Date | undefined;
|
|
10169
10214
|
} & { [K_1 in Exclude<keyof I_1, keyof SetNotificationRequest>]: never; }>(object: I_1): SetNotificationRequest;
|
|
10170
10215
|
};
|
|
10216
|
+
export declare const SetMuteNotificationRequest: {
|
|
10217
|
+
encode(message: SetMuteNotificationRequest, writer?: _m0.Writer): _m0.Writer;
|
|
10218
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): SetMuteNotificationRequest;
|
|
10219
|
+
fromJSON(object: any): SetMuteNotificationRequest;
|
|
10220
|
+
toJSON(message: SetMuteNotificationRequest): unknown;
|
|
10221
|
+
create<I extends {
|
|
10222
|
+
channel_id?: string | undefined;
|
|
10223
|
+
notification_type?: string | undefined;
|
|
10224
|
+
active?: number | undefined;
|
|
10225
|
+
} & {
|
|
10226
|
+
channel_id?: string | undefined;
|
|
10227
|
+
notification_type?: string | undefined;
|
|
10228
|
+
active?: number | undefined;
|
|
10229
|
+
} & { [K in Exclude<keyof I, keyof SetMuteNotificationRequest>]: never; }>(base?: I | undefined): SetMuteNotificationRequest;
|
|
10230
|
+
fromPartial<I_1 extends {
|
|
10231
|
+
channel_id?: string | undefined;
|
|
10232
|
+
notification_type?: string | undefined;
|
|
10233
|
+
active?: number | undefined;
|
|
10234
|
+
} & {
|
|
10235
|
+
channel_id?: string | undefined;
|
|
10236
|
+
notification_type?: string | undefined;
|
|
10237
|
+
active?: number | undefined;
|
|
10238
|
+
} & { [K_1 in Exclude<keyof I_1, keyof SetMuteNotificationRequest>]: never; }>(object: I_1): SetMuteNotificationRequest;
|
|
10239
|
+
};
|
|
10171
10240
|
export declare const SetDefaultNotificationRequest: {
|
|
10172
10241
|
encode(message: SetDefaultNotificationRequest, writer?: _m0.Writer): _m0.Writer;
|
|
10173
10242
|
decode(input: _m0.Reader | Uint8Array, length?: number): SetDefaultNotificationRequest;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mezon-js-protobuf",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.22",
|
|
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",
|