mezon-js 2.7.23 → 2.7.25

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.gen.ts CHANGED
@@ -228,6 +228,10 @@ export interface ApiChannelDescription {
228
228
  last_seen_message?: ApiChannelMessageHeader;
229
229
  //
230
230
  last_sent_message?: ApiChannelMessageHeader;
231
+ //
232
+ meeting_code?: string;
233
+ //
234
+ meeting_uri?: string;
231
235
  //The parrent channel this message belongs to.
232
236
  parrent_id?: string;
233
237
  //The channel type.
package/client.ts CHANGED
@@ -110,6 +110,12 @@ export enum ChannelStreamMode {
110
110
  STREAM_MODE_DM = 4,
111
111
  }
112
112
 
113
+ export enum NotificationType {
114
+ ALL_MESSAGE = "ALL",
115
+ NOTHING_MESSAGE = "NOTHING",
116
+ MENTION_MESSAGE = "MENTION",
117
+ }
118
+
113
119
  /** Response for an RPC function executed on the server. */
114
120
  export interface RpcResponse {
115
121
  /** The identifier of the function. */
package/dist/api.gen.d.ts CHANGED
@@ -131,6 +131,8 @@ export interface ApiChannelDescription {
131
131
  creator_id?: string;
132
132
  last_seen_message?: ApiChannelMessageHeader;
133
133
  last_sent_message?: ApiChannelMessageHeader;
134
+ meeting_code?: string;
135
+ meeting_uri?: string;
134
136
  parrent_id?: string;
135
137
  type?: number;
136
138
  user_id?: Array<string>;
package/dist/client.d.ts CHANGED
@@ -30,6 +30,11 @@ export declare enum ChannelStreamMode {
30
30
  STREAM_MODE_GROUP = 3,
31
31
  STREAM_MODE_DM = 4
32
32
  }
33
+ export declare enum NotificationType {
34
+ ALL_MESSAGE = "ALL",
35
+ NOTHING_MESSAGE = "NOTHING",
36
+ MENTION_MESSAGE = "MENTION"
37
+ }
33
38
  /** Response for an RPC function executed on the server. */
34
39
  export interface RpcResponse {
35
40
  /** The identifier of the function. */
@@ -58,6 +58,7 @@ __export(mezon_js_exports, {
58
58
  ChannelType: () => ChannelType,
59
59
  Client: () => Client,
60
60
  DefaultSocket: () => DefaultSocket,
61
+ NotificationType: () => NotificationType,
61
62
  Session: () => Session,
62
63
  WebSocketAdapterText: () => WebSocketAdapterText
63
64
  });
@@ -4398,6 +4399,12 @@ var ChannelStreamMode = /* @__PURE__ */ ((ChannelStreamMode2) => {
4398
4399
  ChannelStreamMode2[ChannelStreamMode2["STREAM_MODE_DM"] = 4] = "STREAM_MODE_DM";
4399
4400
  return ChannelStreamMode2;
4400
4401
  })(ChannelStreamMode || {});
4402
+ var NotificationType = /* @__PURE__ */ ((NotificationType2) => {
4403
+ NotificationType2["ALL_MESSAGE"] = "ALL";
4404
+ NotificationType2["NOTHING_MESSAGE"] = "NOTHING";
4405
+ NotificationType2["MENTION_MESSAGE"] = "MENTION";
4406
+ return NotificationType2;
4407
+ })(NotificationType || {});
4401
4408
  var Client = class {
4402
4409
  constructor(serverkey = DEFAULT_SERVER_KEY, host = DEFAULT_HOST, port = DEFAULT_PORT, useSSL = false, timeout = DEFAULT_TIMEOUT_MS, autoRefreshSession = true) {
4403
4410
  this.serverkey = serverkey;