mezon-js-protobuf 1.4.21 → 1.4.23

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.
@@ -643,6 +643,8 @@ export interface VoiceChannelUser {
643
643
  jid: string;
644
644
  /** channel id */
645
645
  channel_id: string;
646
+ /** participant */
647
+ participant: string;
646
648
  }
647
649
  /** A list of users belonging to a channel, along with their role. */
648
650
  export interface VoiceChannelUserList {
@@ -1507,6 +1509,17 @@ export interface NotificationUserChannel {
1507
1509
  notification_setting_type: string;
1508
1510
  /** */
1509
1511
  time_mute: Date | undefined;
1512
+ /** */
1513
+ active: number;
1514
+ }
1515
+ /** Notification channel */
1516
+ export interface NotifiReactMessage {
1517
+ /** Notification id */
1518
+ id: string;
1519
+ /** */
1520
+ user_id: string;
1521
+ /** */
1522
+ channel_id: string;
1510
1523
  }
1511
1524
  /** */
1512
1525
  export interface DefaultNotificationClan {
@@ -1534,6 +1547,12 @@ export interface SetNotificationRequest {
1534
1547
  notification_type: string;
1535
1548
  time_mute: Date | undefined;
1536
1549
  }
1550
+ /** set notification */
1551
+ export interface SetMuteNotificationRequest {
1552
+ channel_id: string;
1553
+ notification_type: string;
1554
+ active: number;
1555
+ }
1537
1556
  /** set default notification */
1538
1557
  export interface SetDefaultNotificationRequest {
1539
1558
  clan_id: string;
@@ -5443,19 +5462,23 @@ export declare const VoiceChannelUser: {
5443
5462
  user_id?: string | undefined;
5444
5463
  jid?: string | undefined;
5445
5464
  channel_id?: string | undefined;
5465
+ participant?: string | undefined;
5446
5466
  } & {
5447
5467
  user_id?: string | undefined;
5448
5468
  jid?: string | undefined;
5449
5469
  channel_id?: string | undefined;
5470
+ participant?: string | undefined;
5450
5471
  } & { [K in Exclude<keyof I, keyof VoiceChannelUser>]: never; }>(base?: I | undefined): VoiceChannelUser;
5451
5472
  fromPartial<I_1 extends {
5452
5473
  user_id?: string | undefined;
5453
5474
  jid?: string | undefined;
5454
5475
  channel_id?: string | undefined;
5476
+ participant?: string | undefined;
5455
5477
  } & {
5456
5478
  user_id?: string | undefined;
5457
5479
  jid?: string | undefined;
5458
5480
  channel_id?: string | undefined;
5481
+ participant?: string | undefined;
5459
5482
  } & { [K_1 in Exclude<keyof I_1, keyof VoiceChannelUser>]: never; }>(object: I_1): VoiceChannelUser;
5460
5483
  };
5461
5484
  export declare const VoiceChannelUserList: {
@@ -5468,24 +5491,29 @@ export declare const VoiceChannelUserList: {
5468
5491
  user_id?: string | undefined;
5469
5492
  jid?: string | undefined;
5470
5493
  channel_id?: string | undefined;
5494
+ participant?: string | undefined;
5471
5495
  }[] | undefined;
5472
5496
  } & {
5473
5497
  voice_channel_users?: ({
5474
5498
  user_id?: string | undefined;
5475
5499
  jid?: string | undefined;
5476
5500
  channel_id?: string | undefined;
5501
+ participant?: string | undefined;
5477
5502
  }[] & ({
5478
5503
  user_id?: string | undefined;
5479
5504
  jid?: string | undefined;
5480
5505
  channel_id?: string | undefined;
5506
+ participant?: string | undefined;
5481
5507
  } & {
5482
5508
  user_id?: string | undefined;
5483
5509
  jid?: string | undefined;
5484
5510
  channel_id?: string | undefined;
5511
+ participant?: string | undefined;
5485
5512
  } & { [K in Exclude<keyof I["voice_channel_users"][number], keyof VoiceChannelUser>]: never; })[] & { [K_1 in Exclude<keyof I["voice_channel_users"], keyof {
5486
5513
  user_id?: string | undefined;
5487
5514
  jid?: string | undefined;
5488
5515
  channel_id?: string | undefined;
5516
+ participant?: string | undefined;
5489
5517
  }[]>]: never; }) | undefined;
5490
5518
  } & { [K_2 in Exclude<keyof I, "voice_channel_users">]: never; }>(base?: I | undefined): VoiceChannelUserList;
5491
5519
  fromPartial<I_1 extends {
@@ -5493,24 +5521,29 @@ export declare const VoiceChannelUserList: {
5493
5521
  user_id?: string | undefined;
5494
5522
  jid?: string | undefined;
5495
5523
  channel_id?: string | undefined;
5524
+ participant?: string | undefined;
5496
5525
  }[] | undefined;
5497
5526
  } & {
5498
5527
  voice_channel_users?: ({
5499
5528
  user_id?: string | undefined;
5500
5529
  jid?: string | undefined;
5501
5530
  channel_id?: string | undefined;
5531
+ participant?: string | undefined;
5502
5532
  }[] & ({
5503
5533
  user_id?: string | undefined;
5504
5534
  jid?: string | undefined;
5505
5535
  channel_id?: string | undefined;
5536
+ participant?: string | undefined;
5506
5537
  } & {
5507
5538
  user_id?: string | undefined;
5508
5539
  jid?: string | undefined;
5509
5540
  channel_id?: string | undefined;
5541
+ participant?: string | undefined;
5510
5542
  } & { [K_3 in Exclude<keyof I_1["voice_channel_users"][number], keyof VoiceChannelUser>]: never; })[] & { [K_4 in Exclude<keyof I_1["voice_channel_users"], keyof {
5511
5543
  user_id?: string | undefined;
5512
5544
  jid?: string | undefined;
5513
5545
  channel_id?: string | undefined;
5546
+ participant?: string | undefined;
5514
5547
  }[]>]: never; }) | undefined;
5515
5548
  } & { [K_5 in Exclude<keyof I_1, "voice_channel_users">]: never; }>(object: I_1): VoiceChannelUserList;
5516
5549
  };
@@ -10035,21 +10068,49 @@ export declare const NotificationUserChannel: {
10035
10068
  id?: string | undefined;
10036
10069
  notification_setting_type?: string | undefined;
10037
10070
  time_mute?: Date | undefined;
10071
+ active?: number | undefined;
10038
10072
  } & {
10039
10073
  id?: string | undefined;
10040
10074
  notification_setting_type?: string | undefined;
10041
10075
  time_mute?: Date | undefined;
10076
+ active?: number | undefined;
10042
10077
  } & { [K in Exclude<keyof I, keyof NotificationUserChannel>]: never; }>(base?: I | undefined): NotificationUserChannel;
10043
10078
  fromPartial<I_1 extends {
10044
10079
  id?: string | undefined;
10045
10080
  notification_setting_type?: string | undefined;
10046
10081
  time_mute?: Date | undefined;
10082
+ active?: number | undefined;
10047
10083
  } & {
10048
10084
  id?: string | undefined;
10049
10085
  notification_setting_type?: string | undefined;
10050
10086
  time_mute?: Date | undefined;
10087
+ active?: number | undefined;
10051
10088
  } & { [K_1 in Exclude<keyof I_1, keyof NotificationUserChannel>]: never; }>(object: I_1): NotificationUserChannel;
10052
10089
  };
10090
+ export declare const NotifiReactMessage: {
10091
+ encode(message: NotifiReactMessage, writer?: _m0.Writer): _m0.Writer;
10092
+ decode(input: _m0.Reader | Uint8Array, length?: number): NotifiReactMessage;
10093
+ fromJSON(object: any): NotifiReactMessage;
10094
+ toJSON(message: NotifiReactMessage): unknown;
10095
+ create<I extends {
10096
+ id?: string | undefined;
10097
+ user_id?: string | undefined;
10098
+ channel_id?: string | undefined;
10099
+ } & {
10100
+ id?: string | undefined;
10101
+ user_id?: string | undefined;
10102
+ channel_id?: string | undefined;
10103
+ } & { [K in Exclude<keyof I, keyof NotifiReactMessage>]: never; }>(base?: I | undefined): NotifiReactMessage;
10104
+ fromPartial<I_1 extends {
10105
+ id?: string | undefined;
10106
+ user_id?: string | undefined;
10107
+ channel_id?: string | undefined;
10108
+ } & {
10109
+ id?: string | undefined;
10110
+ user_id?: string | undefined;
10111
+ channel_id?: string | undefined;
10112
+ } & { [K_1 in Exclude<keyof I_1, keyof NotifiReactMessage>]: never; }>(object: I_1): NotifiReactMessage;
10113
+ };
10053
10114
  export declare const DefaultNotificationClan: {
10054
10115
  encode(message: DefaultNotificationClan, writer?: _m0.Writer): _m0.Writer;
10055
10116
  decode(input: _m0.Reader | Uint8Array, length?: number): DefaultNotificationClan;
@@ -10168,6 +10229,30 @@ export declare const SetNotificationRequest: {
10168
10229
  time_mute?: Date | undefined;
10169
10230
  } & { [K_1 in Exclude<keyof I_1, keyof SetNotificationRequest>]: never; }>(object: I_1): SetNotificationRequest;
10170
10231
  };
10232
+ export declare const SetMuteNotificationRequest: {
10233
+ encode(message: SetMuteNotificationRequest, writer?: _m0.Writer): _m0.Writer;
10234
+ decode(input: _m0.Reader | Uint8Array, length?: number): SetMuteNotificationRequest;
10235
+ fromJSON(object: any): SetMuteNotificationRequest;
10236
+ toJSON(message: SetMuteNotificationRequest): unknown;
10237
+ create<I extends {
10238
+ channel_id?: string | undefined;
10239
+ notification_type?: string | undefined;
10240
+ active?: number | undefined;
10241
+ } & {
10242
+ channel_id?: string | undefined;
10243
+ notification_type?: string | undefined;
10244
+ active?: number | undefined;
10245
+ } & { [K in Exclude<keyof I, keyof SetMuteNotificationRequest>]: never; }>(base?: I | undefined): SetMuteNotificationRequest;
10246
+ fromPartial<I_1 extends {
10247
+ channel_id?: string | undefined;
10248
+ notification_type?: string | undefined;
10249
+ active?: number | undefined;
10250
+ } & {
10251
+ channel_id?: string | undefined;
10252
+ notification_type?: string | undefined;
10253
+ active?: number | undefined;
10254
+ } & { [K_1 in Exclude<keyof I_1, keyof SetMuteNotificationRequest>]: never; }>(object: I_1): SetMuteNotificationRequest;
10255
+ };
10171
10256
  export declare const SetDefaultNotificationRequest: {
10172
10257
  encode(message: SetDefaultNotificationRequest, writer?: _m0.Writer): _m0.Writer;
10173
10258
  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.21",
3
+ "version": "1.4.23",
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",