@memori.ai/memori-api-client 0.8.0 → 0.8.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 +19 -0
- package/dist/backend/invitation.d.ts +9 -0
- package/dist/memori-api-client.cjs.development.js +12 -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 +12 -0
- package/dist/memori-api-client.esm.js.map +1 -1
- package/dist/types.d.ts +17 -0
- package/package.json +1 -1
- package/src/backend/invitation.ts +11 -0
- package/src/types.ts +17 -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
|
};
|
package/package.json
CHANGED
|
@@ -12,6 +12,17 @@ export default (apiUrl: string) => ({
|
|
|
12
12
|
apiUrl,
|
|
13
13
|
}) as Promise<ResponseSpec & { invitations: Invitation[] }>,
|
|
14
14
|
|
|
15
|
+
/**
|
|
16
|
+
* Gets a list of invitations sent for the specified Memori object
|
|
17
|
+
* @param {string} authToken - The login token
|
|
18
|
+
* @param {string} memoriId - The ID of the Memori object
|
|
19
|
+
* @returns The list of Invitation objects.
|
|
20
|
+
*/
|
|
21
|
+
getMemoriInvitations: (authToken: string, memoriId: string) =>
|
|
22
|
+
apiFetcher(`/MemoriInvitations/${authToken}/${memoriId}`, {
|
|
23
|
+
apiUrl,
|
|
24
|
+
}) as Promise<ResponseSpec & { invitations: Invitation[] }>,
|
|
25
|
+
|
|
15
26
|
/**
|
|
16
27
|
* Gets a list of invitations received by the currently logged in User.
|
|
17
28
|
* @param {string} 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;
|