@memori.ai/memori-api-client 6.12.1 → 6.12.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,11 +1,18 @@
1
1
 
2
2
 
3
- ## [6.12.1](https://github.com/memori-ai/memori-api-client/compare/v6.11.1...v6.12.1) (2025-08-22)
3
+ ## [6.12.2](https://github.com/memori-ai/memori-api-client/compare/v6.12.1...v6.12.2) (2025-08-28)
4
4
 
5
5
 
6
- ### Features
6
+ ### Maintenance
7
+
8
+ * add new changelog notifications api ([31a9cdf](https://github.com/memori-ai/memori-api-client/commit/31a9cdf9b3c3ae0b518053dbdbe53215a73a2b44))
9
+ * release v6.12.1 ([5ba4429](https://github.com/memori-ai/memori-api-client/commit/5ba4429e3001c195a2220ad6e8357e87554556b8))
10
+
11
+ ## [6.12.1](https://github.com/memori-ai/memori-api-client/compare/v6.11.1...v6.12.1) (2025-08-22)
12
+
13
+ ## Features
7
14
 
8
- * add minimumMessagesPerChat filter to ChatLogFilters ([0a6f63c](https://github.com/memori-ai/memori-api-client/commit/0a6f63c26a5b69add2818a2bba5c0845fc0e1c91))
15
+ * feat: add minimumMessagesPerChat filter to ChatLogFilters ([0a6f63c](https://github.com/memori-ai/memori-api-client/commit/0a6f63c26a5b69add2818a2bba5c0845fc0e1c91))
9
16
 
10
17
  ## [6.11.1](https://github.com/memori-ai/memori-api-client/compare/v6.11.0...v6.11.1) (2025-08-13)
11
18
 
@@ -6,6 +6,9 @@ declare const _default: (apiUrl: string) => {
6
6
  getUserNotifications: (authToken: string) => Promise<ResponseSpec & {
7
7
  notifications: Notification[];
8
8
  }>;
9
+ getChangelogNotifications: (tenant: string) => Promise<ResponseSpec & {
10
+ notifications: Notification[];
11
+ }>;
9
12
  createNotification: (token: string, notificationData: Notification) => Promise<ResponseSpec>;
10
13
  getNotification: (token: string, notificationId: string) => Promise<ResponseSpec>;
11
14
  deleteNotification: (token: string, notificationId: string) => Promise<ResponseSpec>;
@@ -8,6 +8,9 @@ exports.default = (apiUrl) => ({
8
8
  getUserNotifications: (authToken) => (0, apiFetcher_1.apiFetcher)(`/UserNotifications/${authToken}`, {
9
9
  apiUrl,
10
10
  }),
11
+ getChangelogNotifications: (tenant) => (0, apiFetcher_1.apiFetcher)(`/ChangelogNotifications/${tenant}`, {
12
+ apiUrl,
13
+ }),
11
14
  createNotification: (token, notificationData) => (0, apiFetcher_1.apiFetcher)(`/Notifications/${token}`, {
12
15
  apiUrl,
13
16
  method: 'POST',
@@ -1 +1 @@
1
- {"version":3,"file":"notifications.js","sourceRoot":"","sources":["../../src/backend/notifications.ts"],"names":[],"mappings":";;AACA,8CAA2C;AAE3C,kBAAe,CAAC,MAAc,EAAE,EAAE,CAAC,CAAC;IAMlC,sBAAsB,EAAE,CAAC,QAAgB,EAAE,EAAE,CAC3C,IAAA,uBAAU,EAAC,wBAAwB,QAAQ,EAAE,EAAE;QAC7C,MAAM;KACP,CAA8D;IAOjE,oBAAoB,EAAE,CAAC,SAAiB,EAAE,EAAE,CAC1C,IAAA,uBAAU,EAAC,sBAAsB,SAAS,EAAE,EAAE;QAC5C,MAAM;KACP,CAA8D;IAQjE,kBAAkB,EAAE,CAAC,KAAa,EAAE,gBAA8B,EAAE,EAAE,CACpE,IAAA,uBAAU,EAAC,kBAAkB,KAAK,EAAE,EAAE;QACpC,MAAM;QACN,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,gBAAgB;KACvB,CAA0B;IAQ7B,eAAe,EAAE,CAAC,KAAa,EAAE,cAAsB,EAAE,EAAE,CACzD,IAAA,uBAAU,EAAC,kBAAkB,KAAK,IAAI,cAAc,EAAE,EAAE;QACtD,MAAM;KACP,CAA0B;IAQ7B,kBAAkB,EAAE,CAAC,KAAa,EAAE,cAAsB,EAAE,EAAE,CAC5D,IAAA,uBAAU,EAAC,kBAAkB,KAAK,IAAI,cAAc,EAAE,EAAE;QACtD,MAAM;QACN,MAAM,EAAE,QAAQ;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CAA0B;IAQ7B,kBAAkB,EAAE,CAAC,KAAa,EAAE,cAAsB,EAAE,EAAE,CAC5D,IAAA,uBAAU,EAAC,kBAAkB,KAAK,IAAI,cAAc,EAAE,EAAE;QACtD,MAAM;QACN,MAAM,EAAE,QAAQ;KACjB,CAA0B;IAQ7B,oBAAoB,EAAE,CACpB,KAAa,EACb,SAAsD,mBAAmB,EACzE,EAAE,CACF,IAAA,uBAAU,EAAC,yBAAyB,KAAK,IAAI,MAAM,EAAE,EAAE;QACrD,MAAM;KACP,CAA0B;IAS7B,kBAAkB,EAAE,CAClB,KAAa,EACb,cAAsB,EACtB,gBAAuC,EACvC,EAAE,CACF,IAAA,uBAAU,EAAC,kBAAkB,KAAK,IAAI,cAAc,EAAE,EAAE;QACtD,MAAM;QACN,MAAM,EAAE,OAAO;QACf,IAAI,EAAE,gBAAgB;KACvB,CAA0B;CAC9B,CAAC,CAAC"}
package/dist/backend.d.ts CHANGED
@@ -99,6 +99,9 @@ declare const backendAPI: (apiUrl: string) => {
99
99
  getUserNotifications: (authToken: string) => Promise<import("./types").ResponseSpec & {
100
100
  notifications: import("./types").Notification[];
101
101
  }>;
102
+ getChangelogNotifications: (tenant: string) => Promise<import("./types").ResponseSpec & {
103
+ notifications: import("./types").Notification[];
104
+ }>;
102
105
  createNotification: (token: string, notificationData: import("./types").Notification) => Promise<import("./types").ResponseSpec>;
103
106
  getNotification: (token: string, notificationId: string) => Promise<import("./types").ResponseSpec>;
104
107
  deleteNotification: (token: string, notificationId: string) => Promise<import("./types").ResponseSpec>;
@@ -569,6 +572,9 @@ declare const backendAPI: (apiUrl: string) => {
569
572
  getUserNotifications: (authToken: string) => Promise<import("./types").ResponseSpec & {
570
573
  notifications: import("./types").Notification[];
571
574
  }>;
575
+ getChangelogNotifications: (tenant: string) => Promise<import("./types").ResponseSpec & {
576
+ notifications: import("./types").Notification[];
577
+ }>;
572
578
  createNotification: (token: string, notificationData: import("./types").Notification) => Promise<import("./types").ResponseSpec>;
573
579
  getNotification: (token: string, notificationId: string) => Promise<import("./types").ResponseSpec>;
574
580
  deleteNotification: (token: string, notificationId: string) => Promise<import("./types").ResponseSpec>;
package/dist/index.d.ts CHANGED
@@ -863,6 +863,9 @@ declare const api: (backendEndpoint?: string, engineEndpoint?: string) => {
863
863
  getUserNotifications: (authToken: string) => Promise<import("./types").ResponseSpec & {
864
864
  notifications: import("./types").Notification[];
865
865
  }>;
866
+ getChangelogNotifications: (tenant: string) => Promise<import("./types").ResponseSpec & {
867
+ notifications: import("./types").Notification[];
868
+ }>;
866
869
  createNotification: (token: string, notificationData: import("./types").Notification) => Promise<import("./types").ResponseSpec>;
867
870
  getNotification: (token: string, notificationId: string) => Promise<import("./types").ResponseSpec>;
868
871
  deleteNotification: (token: string, notificationId: string) => Promise<import("./types").ResponseSpec>;
@@ -1333,6 +1336,9 @@ declare const api: (backendEndpoint?: string, engineEndpoint?: string) => {
1333
1336
  getUserNotifications: (authToken: string) => Promise<import("./types").ResponseSpec & {
1334
1337
  notifications: import("./types").Notification[];
1335
1338
  }>;
1339
+ getChangelogNotifications: (tenant: string) => Promise<import("./types").ResponseSpec & {
1340
+ notifications: import("./types").Notification[];
1341
+ }>;
1336
1342
  createNotification: (token: string, notificationData: import("./types").Notification) => Promise<import("./types").ResponseSpec>;
1337
1343
  getNotification: (token: string, notificationId: string) => Promise<import("./types").ResponseSpec>;
1338
1344
  deleteNotification: (token: string, notificationId: string) => Promise<import("./types").ResponseSpec>;
@@ -6,6 +6,9 @@ declare const _default: (apiUrl: string) => {
6
6
  getUserNotifications: (authToken: string) => Promise<ResponseSpec & {
7
7
  notifications: Notification[];
8
8
  }>;
9
+ getChangelogNotifications: (tenant: string) => Promise<ResponseSpec & {
10
+ notifications: Notification[];
11
+ }>;
9
12
  createNotification: (token: string, notificationData: Notification) => Promise<ResponseSpec>;
10
13
  getNotification: (token: string, notificationId: string) => Promise<ResponseSpec>;
11
14
  deleteNotification: (token: string, notificationId: string) => Promise<ResponseSpec>;
@@ -6,6 +6,9 @@ export default (apiUrl) => ({
6
6
  getUserNotifications: (authToken) => apiFetcher(`/UserNotifications/${authToken}`, {
7
7
  apiUrl,
8
8
  }),
9
+ getChangelogNotifications: (tenant) => apiFetcher(`/ChangelogNotifications/${tenant}`, {
10
+ apiUrl,
11
+ }),
9
12
  createNotification: (token, notificationData) => apiFetcher(`/Notifications/${token}`, {
10
13
  apiUrl,
11
14
  method: 'POST',
@@ -1 +1 @@
1
- {"version":3,"file":"notifications.js","sourceRoot":"","sources":["../../src/backend/notifications.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,eAAe,CAAC,MAAc,EAAE,EAAE,CAAC,CAAC;IAMlC,sBAAsB,EAAE,CAAC,QAAgB,EAAE,EAAE,CAC3C,UAAU,CAAC,wBAAwB,QAAQ,EAAE,EAAE;QAC7C,MAAM;KACP,CAA8D;IAOjE,oBAAoB,EAAE,CAAC,SAAiB,EAAE,EAAE,CAC1C,UAAU,CAAC,sBAAsB,SAAS,EAAE,EAAE;QAC5C,MAAM;KACP,CAA8D;IAQjE,kBAAkB,EAAE,CAAC,KAAa,EAAE,gBAA8B,EAAE,EAAE,CACpE,UAAU,CAAC,kBAAkB,KAAK,EAAE,EAAE;QACpC,MAAM;QACN,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,gBAAgB;KACvB,CAA0B;IAQ7B,eAAe,EAAE,CAAC,KAAa,EAAE,cAAsB,EAAE,EAAE,CACzD,UAAU,CAAC,kBAAkB,KAAK,IAAI,cAAc,EAAE,EAAE;QACtD,MAAM;KACP,CAA0B;IAQ7B,kBAAkB,EAAE,CAAC,KAAa,EAAE,cAAsB,EAAE,EAAE,CAC5D,UAAU,CAAC,kBAAkB,KAAK,IAAI,cAAc,EAAE,EAAE;QACtD,MAAM;QACN,MAAM,EAAE,QAAQ;KACjB,CAA0B;IAQ7B,oBAAoB,EAAE,CACpB,KAAa,EACb,SAAsD,mBAAmB,EACzE,EAAE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K,IAAI,cAAc,EAAE,EAAE;QACtD,MAAM;QACN,MAAM,EAAE,QAAQ;KACjB,CAA0B;IAQ7B,oBAAoB,EAAE,CACpB,KAAa,EACb,SAAsD,mBAAmB,EACzE,EAAE,CACF,UAAU,CAAC,yBAAyB,KAAK,IAAI,MAAM,EAAE,EAAE;QACrD,MAAM;KACP,CAA0B;IAS7B,kBAAkB,EAAE,CAClB,KAAa,EACb,cAAsB,EACtB,gBAAuC,EACvC,EAAE,CACF,UAAU,CAAC,kBAAkB,KAAK,IAAI,cAAc,EAAE,EAAE;QACtD,MAAM;QACN,MAAM,EAAE,OAAO;QACf,IAAI,EAAE,gBAAgB;KACvB,CAA0B;CAC9B,CAAC,CAAC"}
package/esm/backend.d.ts CHANGED
@@ -99,6 +99,9 @@ declare const backendAPI: (apiUrl: string) => {
99
99
  getUserNotifications: (authToken: string) => Promise<import("./types").ResponseSpec & {
100
100
  notifications: import("./types").Notification[];
101
101
  }>;
102
+ getChangelogNotifications: (tenant: string) => Promise<import("./types").ResponseSpec & {
103
+ notifications: import("./types").Notification[];
104
+ }>;
102
105
  createNotification: (token: string, notificationData: import("./types").Notification) => Promise<import("./types").ResponseSpec>;
103
106
  getNotification: (token: string, notificationId: string) => Promise<import("./types").ResponseSpec>;
104
107
  deleteNotification: (token: string, notificationId: string) => Promise<import("./types").ResponseSpec>;
@@ -569,6 +572,9 @@ declare const backendAPI: (apiUrl: string) => {
569
572
  getUserNotifications: (authToken: string) => Promise<import("./types").ResponseSpec & {
570
573
  notifications: import("./types").Notification[];
571
574
  }>;
575
+ getChangelogNotifications: (tenant: string) => Promise<import("./types").ResponseSpec & {
576
+ notifications: import("./types").Notification[];
577
+ }>;
572
578
  createNotification: (token: string, notificationData: import("./types").Notification) => Promise<import("./types").ResponseSpec>;
573
579
  getNotification: (token: string, notificationId: string) => Promise<import("./types").ResponseSpec>;
574
580
  deleteNotification: (token: string, notificationId: string) => Promise<import("./types").ResponseSpec>;
package/esm/index.d.ts CHANGED
@@ -863,6 +863,9 @@ declare const api: (backendEndpoint?: string, engineEndpoint?: string) => {
863
863
  getUserNotifications: (authToken: string) => Promise<import("./types").ResponseSpec & {
864
864
  notifications: import("./types").Notification[];
865
865
  }>;
866
+ getChangelogNotifications: (tenant: string) => Promise<import("./types").ResponseSpec & {
867
+ notifications: import("./types").Notification[];
868
+ }>;
866
869
  createNotification: (token: string, notificationData: import("./types").Notification) => Promise<import("./types").ResponseSpec>;
867
870
  getNotification: (token: string, notificationId: string) => Promise<import("./types").ResponseSpec>;
868
871
  deleteNotification: (token: string, notificationId: string) => Promise<import("./types").ResponseSpec>;
@@ -1333,6 +1336,9 @@ declare const api: (backendEndpoint?: string, engineEndpoint?: string) => {
1333
1336
  getUserNotifications: (authToken: string) => Promise<import("./types").ResponseSpec & {
1334
1337
  notifications: import("./types").Notification[];
1335
1338
  }>;
1339
+ getChangelogNotifications: (tenant: string) => Promise<import("./types").ResponseSpec & {
1340
+ notifications: import("./types").Notification[];
1341
+ }>;
1336
1342
  createNotification: (token: string, notificationData: import("./types").Notification) => Promise<import("./types").ResponseSpec>;
1337
1343
  getNotification: (token: string, notificationId: string) => Promise<import("./types").ResponseSpec>;
1338
1344
  deleteNotification: (token: string, notificationId: string) => Promise<import("./types").ResponseSpec>;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "6.12.1",
2
+ "version": "6.12.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",
@@ -22,6 +22,15 @@ export default (apiUrl: string) => ({
22
22
  apiUrl,
23
23
  }) as Promise<ResponseSpec & { notifications: Notification[] }>,
24
24
 
25
+ /**
26
+ * Gets all the changelog Notification objects (including expired ones).
27
+ * @param {string} tenant - The name of the tenant
28
+ */
29
+ getChangelogNotifications: (tenant: string) =>
30
+ apiFetcher(`/ChangelogNotifications/${tenant}`, {
31
+ apiUrl,
32
+ }) as Promise<ResponseSpec & { notifications: Notification[] }>,
33
+
25
34
  /**
26
35
  * Create a new notification
27
36
  * @param {string} token - Authentication token