@memori.ai/memori-api-client 6.5.0 → 6.5.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
 
2
2
 
3
+ ## [6.5.2](https://github.com/memori-ai/memori-api-client/compare/v6.5.1...v6.5.2) (2025-06-09)
4
+
5
+
6
+ ### Features
7
+
8
+ * add 'CHATLOG' severity option to Notification type ([85ba375](https://github.com/memori-ai/memori-api-client/commit/85ba375fcc19dd9680c2f4ef2c4564a3c2f13844))
9
+ * add validFrom and validTo fields to Notification type ([57f2ad9](https://github.com/memori-ai/memori-api-client/commit/57f2ad932ffca15e5b24fbd51da8fb0c3066d62c))
10
+
11
+ ## [6.5.1](https://github.com/memori-ai/memori-api-client/compare/v6.5.0...v6.5.1) (2025-05-27)
12
+
13
+
14
+ ### Features
15
+
16
+ * extend Notification type with new fields for type, tenantID, and userID ([c16bf78](https://github.com/memori-ai/memori-api-client/commit/c16bf784565f8947b2aa7d341e3d5864698aef23))
17
+
3
18
  ## [6.5.0](https://github.com/memori-ai/memori-api-client/compare/v6.4.0...v6.5.0) (2025-05-27)
4
19
 
5
20
 
package/dist/types.d.ts CHANGED
@@ -389,7 +389,12 @@ export declare type ConsumptionLog = {
389
389
  export declare type Notification = {
390
390
  notificationID: string;
391
391
  timestamp: string;
392
- severity: 'INFO' | 'WARN' | 'ALERT' | 'AWARD';
392
+ severity: 'INFO' | 'WARN' | 'ALERT' | 'AWARD' | 'CHATLOG';
393
+ type: 'BROADCAST' | 'TENANT' | 'USER';
394
+ tenantID?: string;
395
+ userID?: string;
396
+ validFrom?: string;
397
+ validTo?: string;
393
398
  texts: {
394
399
  'it-IT': string;
395
400
  'en-US': string;
package/esm/types.d.ts CHANGED
@@ -389,7 +389,12 @@ export declare type ConsumptionLog = {
389
389
  export declare type Notification = {
390
390
  notificationID: string;
391
391
  timestamp: string;
392
- severity: 'INFO' | 'WARN' | 'ALERT' | 'AWARD';
392
+ severity: 'INFO' | 'WARN' | 'ALERT' | 'AWARD' | 'CHATLOG';
393
+ type: 'BROADCAST' | 'TENANT' | 'USER';
394
+ tenantID?: string;
395
+ userID?: string;
396
+ validFrom?: string;
397
+ validTo?: string;
393
398
  texts: {
394
399
  'it-IT': string;
395
400
  'en-US': string;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "6.5.0",
2
+ "version": "6.5.2",
3
3
  "name": "@memori.ai/memori-api-client",
4
4
  "description": "React library to integrate a Memori in your app or website",
5
5
  "license": "Apache-2.0",
package/src/types.ts CHANGED
@@ -630,7 +630,12 @@ export declare type ConsumptionLog = {
630
630
  export declare type Notification = {
631
631
  notificationID: string;
632
632
  timestamp: string;
633
- severity: 'INFO' | 'WARN' | 'ALERT' | 'AWARD';
633
+ severity: 'INFO' | 'WARN' | 'ALERT' | 'AWARD' | 'CHATLOG';
634
+ type: 'BROADCAST' | 'TENANT' | 'USER';
635
+ tenantID?: string;
636
+ userID?: string;
637
+ validFrom?: string;
638
+ validTo?: string;
634
639
  texts: {
635
640
  'it-IT': string;
636
641
  'en-US': string;