@memori.ai/memori-api-client 0.7.0 → 0.8.0

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/dist/types.d.ts CHANGED
@@ -285,7 +285,10 @@ export declare type DialogState = {
285
285
  stateName: string;
286
286
  previousState: string;
287
287
  confidence?: number;
288
+ confidenceLevel?: 'NONE' | 'LOW' | 'MEDIUM' | 'HIGH';
288
289
  emission?: string;
290
+ continuationEmitted?: boolean;
291
+ lastMatchedMemoryID?: string;
289
292
  acceptsTimeout?: boolean;
290
293
  acceptsAbort?: boolean;
291
294
  acceptsMedia?: boolean;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.7.0",
2
+ "version": "0.8.0",
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",
@@ -16,6 +16,20 @@ export default (apiUrl: string) => ({
16
16
  }
17
17
  >,
18
18
 
19
+ /**
20
+ * Gets a list of all the public Memori objects published on the Metaverse for a specific Tenant.
21
+ * @param tenant - The name of the tenant
22
+ * @returns A list of Memori objects
23
+ */
24
+ getTenantMetaverseMemoriList: (tenant: string) =>
25
+ apiFetcher(`/TenantMetaverseMemori/${encodeURI(tenant)}`, {
26
+ apiUrl,
27
+ }) as Promise<
28
+ ResponseSpec & {
29
+ memori: Memori[];
30
+ }
31
+ >,
32
+
19
33
  /**
20
34
  * Gets a list of all the public Memori objects for a specific Tenant accessible from user session.
21
35
  * @param authToken - The login token
package/src/types.ts CHANGED
@@ -314,7 +314,10 @@ export declare type DialogState = {
314
314
  stateName: string;
315
315
  previousState: string;
316
316
  confidence?: number;
317
+ confidenceLevel?: 'NONE' | 'LOW' | 'MEDIUM' | 'HIGH';
317
318
  emission?: string;
319
+ continuationEmitted?: boolean;
320
+ lastMatchedMemoryID?: string;
318
321
  acceptsTimeout?: boolean;
319
322
  acceptsAbort?: boolean;
320
323
  acceptsMedia?: boolean;