@memori.ai/memori-api-client 0.7.0 → 0.8.1
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 +30 -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 +20 -0
- package/package.json +1 -1
- package/src/backend/memori.ts +14 -0
- package/src/types.ts +20 -0
package/dist/types.d.ts
CHANGED
|
@@ -41,6 +41,20 @@ export declare type Memori = {
|
|
|
41
41
|
totalNumberOfRecoveryTokens?: number;
|
|
42
42
|
avatarURL?: string;
|
|
43
43
|
coverURL?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @readonly
|
|
46
|
+
* URL of the avatar 3D model represting this Memori object.
|
|
47
|
+
* It is obtained from the CustomData property of the public home page Integration object for this Memori, if present.
|
|
48
|
+
* To be changed, the Integration object must be changed. Returned during Get operations. Ignored in other cases.
|
|
49
|
+
*/
|
|
50
|
+
avatar3DURL?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @readonly
|
|
53
|
+
* Original URL of the avatar 3D model represting this Memori object.
|
|
54
|
+
* It is obtained from the CustomData property of the public home page Integration object for this Memori, if present.
|
|
55
|
+
* To be changed, the Integration object must be changed. Returned during Get operations. Ignored in other cases.
|
|
56
|
+
*/
|
|
57
|
+
avatarOriginal3DURL?: string;
|
|
44
58
|
needsPosition?: boolean;
|
|
45
59
|
voiceType: string;
|
|
46
60
|
culture?: string;
|
|
@@ -49,6 +63,9 @@ export declare type Memori = {
|
|
|
49
63
|
exposed?: boolean;
|
|
50
64
|
disableR2R3Loop?: boolean;
|
|
51
65
|
disableR4Loop?: boolean;
|
|
66
|
+
chainingMemoriID?: string;
|
|
67
|
+
chainingBaseURL?: string;
|
|
68
|
+
chainingPassword?: string;
|
|
52
69
|
properties?: {
|
|
53
70
|
[key: string]: any;
|
|
54
71
|
};
|
|
@@ -285,7 +302,10 @@ export declare type DialogState = {
|
|
|
285
302
|
stateName: string;
|
|
286
303
|
previousState: string;
|
|
287
304
|
confidence?: number;
|
|
305
|
+
confidenceLevel?: 'NONE' | 'LOW' | 'MEDIUM' | 'HIGH';
|
|
288
306
|
emission?: string;
|
|
307
|
+
continuationEmitted?: boolean;
|
|
308
|
+
lastMatchedMemoryID?: string;
|
|
289
309
|
acceptsTimeout?: boolean;
|
|
290
310
|
acceptsAbort?: boolean;
|
|
291
311
|
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
|
@@ -40,6 +40,20 @@ export declare type Memori = {
|
|
|
40
40
|
totalNumberOfRecoveryTokens?: number;
|
|
41
41
|
avatarURL?: string;
|
|
42
42
|
coverURL?: string;
|
|
43
|
+
/**
|
|
44
|
+
* @readonly
|
|
45
|
+
* URL of the avatar 3D model represting this Memori object.
|
|
46
|
+
* It is obtained from the CustomData property of the public home page Integration object for this Memori, if present.
|
|
47
|
+
* To be changed, the Integration object must be changed. Returned during Get operations. Ignored in other cases.
|
|
48
|
+
*/
|
|
49
|
+
avatar3DURL?: string;
|
|
50
|
+
/**
|
|
51
|
+
* @readonly
|
|
52
|
+
* Original URL of the avatar 3D model represting this Memori object.
|
|
53
|
+
* It is obtained from the CustomData property of the public home page Integration object for this Memori, if present.
|
|
54
|
+
* To be changed, the Integration object must be changed. Returned during Get operations. Ignored in other cases.
|
|
55
|
+
*/
|
|
56
|
+
avatarOriginal3DURL?: string;
|
|
43
57
|
needsPosition?: boolean;
|
|
44
58
|
voiceType: string;
|
|
45
59
|
culture?: string;
|
|
@@ -48,6 +62,9 @@ export declare type Memori = {
|
|
|
48
62
|
exposed?: boolean;
|
|
49
63
|
disableR2R3Loop?: boolean;
|
|
50
64
|
disableR4Loop?: boolean;
|
|
65
|
+
chainingMemoriID?: string;
|
|
66
|
+
chainingBaseURL?: string;
|
|
67
|
+
chainingPassword?: string;
|
|
51
68
|
properties?: { [key: string]: any };
|
|
52
69
|
creationTimestamp?: string;
|
|
53
70
|
lastChangeTimestamp?: string;
|
|
@@ -314,7 +331,10 @@ export declare type DialogState = {
|
|
|
314
331
|
stateName: string;
|
|
315
332
|
previousState: string;
|
|
316
333
|
confidence?: number;
|
|
334
|
+
confidenceLevel?: 'NONE' | 'LOW' | 'MEDIUM' | 'HIGH';
|
|
317
335
|
emission?: string;
|
|
336
|
+
continuationEmitted?: boolean;
|
|
337
|
+
lastMatchedMemoryID?: string;
|
|
318
338
|
acceptsTimeout?: boolean;
|
|
319
339
|
acceptsAbort?: boolean;
|
|
320
340
|
acceptsMedia?: boolean;
|