mezon-js 2.7.92 → 2.7.94

Sign up to get free protection for your applications and to get access to all the features.
package/api.gen.ts CHANGED
@@ -1035,7 +1035,7 @@ export interface ApiNotificationChannelCategoySetting {
1035
1035
  //
1036
1036
  id?: string;
1037
1037
  //
1038
- notification_setting_type?: string;
1038
+ notification_setting_type?: number;
1039
1039
  }
1040
1040
 
1041
1041
  /** */
@@ -1057,7 +1057,7 @@ export interface ApiNotificationSetting {
1057
1057
  //
1058
1058
  id?: string;
1059
1059
  //
1060
- notification_setting_type?: string;
1060
+ notification_setting_type?: number;
1061
1061
  }
1062
1062
 
1063
1063
  /** */
@@ -1067,7 +1067,7 @@ export interface ApiNotificationUserChannel {
1067
1067
  //
1068
1068
  id?: string;
1069
1069
  //
1070
- notification_setting_type?: string;
1070
+ notification_setting_type?: number;
1071
1071
  //
1072
1072
  time_mute?: string;
1073
1073
  }
@@ -1313,7 +1313,7 @@ export interface ApiSetDefaultNotificationRequest {
1313
1313
  //
1314
1314
  clan_id?: string;
1315
1315
  //
1316
- notification_type?: string;
1316
+ notification_type?: number;
1317
1317
  }
1318
1318
 
1319
1319
  /** */
@@ -1323,7 +1323,7 @@ export interface ApiSetMuteNotificationRequest {
1323
1323
  //
1324
1324
  channel_id?: string;
1325
1325
  //
1326
- notification_type?: string;
1326
+ notification_type?: number;
1327
1327
  }
1328
1328
 
1329
1329
  /** */
@@ -1331,7 +1331,7 @@ export interface ApiSetNotificationRequest {
1331
1331
  //
1332
1332
  channel_id?: string;
1333
1333
  //
1334
- notification_type?: string;
1334
+ notification_type?: number;
1335
1335
  //
1336
1336
  time_mute?: string;
1337
1337
  }
@@ -1511,7 +1511,7 @@ export interface ApiVoiceChannelUser {
1511
1511
  //Cursor for the next page of results, if any.
1512
1512
  id?: string;
1513
1513
  //
1514
- channel_id?: string;
1514
+ channel_id?: string;
1515
1515
  //
1516
1516
  participant?: string;
1517
1517
  //User for a channel.
package/client.ts CHANGED
@@ -134,9 +134,9 @@ export enum ChannelStreamMode {
134
134
  }
135
135
 
136
136
  export enum NotificationType {
137
- ALL_MESSAGE = "ALL",
138
- NOTHING_MESSAGE = "NOTHING",
139
- MENTION_MESSAGE = "MENTION",
137
+ ALL_MESSAGE = 1,
138
+ MENTION_MESSAGE = 2,
139
+ NOTHING_MESSAGE = 3,
140
140
  }
141
141
 
142
142
  /** Response for an RPC function executed on the server. */
@@ -1164,6 +1164,8 @@ export class Client {
1164
1164
  },
1165
1165
  role_id: gu!.role_id,
1166
1166
  thread_id: gu.thread_id,
1167
+ clan_avatar: gu.clan_avatar,
1168
+ clan_nick: gu.clan_nick,
1167
1169
  id: gu.id,
1168
1170
  })
1169
1171
  });
package/dist/api.gen.d.ts CHANGED
@@ -594,7 +594,7 @@ export interface ApiNotificationChannelCategoySetting {
594
594
  channel_category_label?: string;
595
595
  channel_category_title?: string;
596
596
  id?: string;
597
- notification_setting_type?: string;
597
+ notification_setting_type?: number;
598
598
  }
599
599
  /** */
600
600
  export interface ApiNotificationChannelCategoySettingsList {
@@ -608,13 +608,13 @@ export interface ApiNotificationList {
608
608
  /** */
609
609
  export interface ApiNotificationSetting {
610
610
  id?: string;
611
- notification_setting_type?: string;
611
+ notification_setting_type?: number;
612
612
  }
613
613
  /** */
614
614
  export interface ApiNotificationUserChannel {
615
615
  active?: number;
616
616
  id?: string;
617
- notification_setting_type?: string;
617
+ notification_setting_type?: number;
618
618
  time_mute?: string;
619
619
  }
620
620
  /** */
@@ -756,18 +756,18 @@ export interface ApiSessionRefreshRequest {
756
756
  export interface ApiSetDefaultNotificationRequest {
757
757
  category_id?: string;
758
758
  clan_id?: string;
759
- notification_type?: string;
759
+ notification_type?: number;
760
760
  }
761
761
  /** */
762
762
  export interface ApiSetMuteNotificationRequest {
763
763
  active?: number;
764
764
  channel_id?: string;
765
- notification_type?: string;
765
+ notification_type?: number;
766
766
  }
767
767
  /** */
768
768
  export interface ApiSetNotificationRequest {
769
769
  channel_id?: string;
770
- notification_type?: string;
770
+ notification_type?: number;
771
771
  time_mute?: string;
772
772
  }
773
773
  /** */
package/dist/client.d.ts CHANGED
@@ -31,9 +31,9 @@ export declare enum ChannelStreamMode {
31
31
  STREAM_MODE_DM = 4
32
32
  }
33
33
  export declare enum NotificationType {
34
- ALL_MESSAGE = "ALL",
35
- NOTHING_MESSAGE = "NOTHING",
36
- MENTION_MESSAGE = "MENTION"
34
+ ALL_MESSAGE = 1,
35
+ MENTION_MESSAGE = 2,
36
+ NOTHING_MESSAGE = 3
37
37
  }
38
38
  /** Response for an RPC function executed on the server. */
39
39
  export interface RpcResponse {
@@ -5190,9 +5190,9 @@ var ChannelStreamMode = /* @__PURE__ */ ((ChannelStreamMode2) => {
5190
5190
  return ChannelStreamMode2;
5191
5191
  })(ChannelStreamMode || {});
5192
5192
  var NotificationType = /* @__PURE__ */ ((NotificationType2) => {
5193
- NotificationType2["ALL_MESSAGE"] = "ALL";
5194
- NotificationType2["NOTHING_MESSAGE"] = "NOTHING";
5195
- NotificationType2["MENTION_MESSAGE"] = "MENTION";
5193
+ NotificationType2[NotificationType2["ALL_MESSAGE"] = 1] = "ALL_MESSAGE";
5194
+ NotificationType2[NotificationType2["MENTION_MESSAGE"] = 2] = "MENTION_MESSAGE";
5195
+ NotificationType2[NotificationType2["NOTHING_MESSAGE"] = 3] = "NOTHING_MESSAGE";
5196
5196
  return NotificationType2;
5197
5197
  })(NotificationType || {});
5198
5198
  var Client = class {
@@ -5780,6 +5780,8 @@ var Client = class {
5780
5780
  },
5781
5781
  role_id: gu.role_id,
5782
5782
  thread_id: gu.thread_id,
5783
+ clan_avatar: gu.clan_avatar,
5784
+ clan_nick: gu.clan_nick,
5783
5785
  id: gu.id
5784
5786
  });
5785
5787
  });
@@ -5161,9 +5161,9 @@ var ChannelStreamMode = /* @__PURE__ */ ((ChannelStreamMode2) => {
5161
5161
  return ChannelStreamMode2;
5162
5162
  })(ChannelStreamMode || {});
5163
5163
  var NotificationType = /* @__PURE__ */ ((NotificationType2) => {
5164
- NotificationType2["ALL_MESSAGE"] = "ALL";
5165
- NotificationType2["NOTHING_MESSAGE"] = "NOTHING";
5166
- NotificationType2["MENTION_MESSAGE"] = "MENTION";
5164
+ NotificationType2[NotificationType2["ALL_MESSAGE"] = 1] = "ALL_MESSAGE";
5165
+ NotificationType2[NotificationType2["MENTION_MESSAGE"] = 2] = "MENTION_MESSAGE";
5166
+ NotificationType2[NotificationType2["NOTHING_MESSAGE"] = 3] = "NOTHING_MESSAGE";
5167
5167
  return NotificationType2;
5168
5168
  })(NotificationType || {});
5169
5169
  var Client = class {
@@ -5751,6 +5751,8 @@ var Client = class {
5751
5751
  },
5752
5752
  role_id: gu.role_id,
5753
5753
  thread_id: gu.thread_id,
5754
+ clan_avatar: gu.clan_avatar,
5755
+ clan_nick: gu.clan_nick,
5754
5756
  id: gu.id
5755
5757
  });
5756
5758
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js",
3
- "version": "2.7.92",
3
+ "version": "2.7.94",
4
4
  "scripts": {
5
5
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
6
6
  },