@modernlock/common 1.0.59 → 1.0.62

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.
@@ -5,6 +5,7 @@ interface User {
5
5
  propertyId: string;
6
6
  allowed: boolean;
7
7
  accountType: "client" | "owner" | "superAdmin" | "developer" | "supportAgent";
8
+ businessAccount: boolean;
8
9
  }
9
10
  declare module "express-serve-static-core" {
10
11
  interface Request {
@@ -1,4 +1,5 @@
1
1
  export declare enum Exchanges {
2
2
  mainExchange = "mainExchange",
3
- topicExchange = "topicExchange"
3
+ topicExchange = "topicExchange",
4
+ notificationExchange = "notification_exchange"
4
5
  }
@@ -5,5 +5,6 @@ var Exchanges;
5
5
  (function (Exchanges) {
6
6
  Exchanges["mainExchange"] = "mainExchange";
7
7
  Exchanges["topicExchange"] = "topicExchange";
8
+ Exchanges["notificationExchange"] = "notification_exchange";
8
9
  })(Exchanges = exports.Exchanges || (exports.Exchanges = {}));
9
10
  ;
@@ -26,5 +26,6 @@ export declare enum RoutingKeys {
26
26
  groupNotificationAppWorkers = "groupNotification:app-workers",
27
27
  chatNotificationAppWorkers = "chatNotification:app-workers",
28
28
  thingsNotification = "things:notification",
29
- saveMessageOnDb = "saveMessageOnDb"
29
+ saveMessageOnDb = "saveMessageOnDb",
30
+ chatSmartReply = "chat.smart.reply"
30
31
  }
@@ -40,5 +40,7 @@ var RoutingKeys;
40
40
  //chat service routing keys
41
41
  RoutingKeys["thingsNotification"] = "things:notification";
42
42
  RoutingKeys["saveMessageOnDb"] = "saveMessageOnDb";
43
+ // ai service routing keys
44
+ RoutingKeys["chatSmartReply"] = "chat.smart.reply";
43
45
  })(RoutingKeys = exports.RoutingKeys || (exports.RoutingKeys = {}));
44
46
  ;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modernlock/common",
3
- "version": "1.0.59",
3
+ "version": "1.0.62",
4
4
  "main": "./build/index.js",
5
5
  "types": "./build/index.d.ts",
6
6
  "files": [