@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/CHANGELOG.md +18 -0
- package/dist/backend/memori.d.ts +8 -0
- package/dist/memori-api-client.cjs.development.js +11 -0
- package/dist/memori-api-client.cjs.development.js.map +1 -1
- package/dist/memori-api-client.cjs.production.min.js +1 -1
- package/dist/memori-api-client.cjs.production.min.js.map +1 -1
- package/dist/memori-api-client.esm.js +11 -0
- package/dist/memori-api-client.esm.js.map +1 -1
- package/dist/types.d.ts +3 -0
- package/package.json +1 -1
- package/src/backend/memori.ts +14 -0
- package/src/types.ts +3 -0
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
package/src/backend/memori.ts
CHANGED
|
@@ -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;
|