@memori.ai/memori-api-client 2.2.1 → 2.3.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 +14 -0
- package/dist/types.d.ts +4 -2
- package/esm/types.d.ts +4 -2
- package/package.json +1 -1
- package/src/types.ts +12 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## [2.3.0](https://github.com/memori-ai/memori-api-client/compare/v2.2.2...v2.3.0) (2023-09-11)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* update import typings ([4bb0cdd](https://github.com/memori-ai/memori-api-client/commit/4bb0cddd0126fce7e210d4cca800c4f4cee3d7e3))
|
|
9
|
+
|
|
10
|
+
## [2.2.2](https://github.com/memori-ai/memori-api-client/compare/v2.2.1...v2.2.2) (2023-08-25)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Changes
|
|
14
|
+
|
|
15
|
+
* replace additionalInfo email + userID with loginToken ([10b2a03](https://github.com/memori-ai/memori-api-client/commit/10b2a03fd14104ca42c44f044327a8668b84eeb5))
|
|
16
|
+
|
|
3
17
|
## [2.2.1](https://github.com/memori-ai/memori-api-client/compare/v2.2.0...v2.2.1) (2023-08-22)
|
|
4
18
|
|
|
5
19
|
|
package/dist/types.d.ts
CHANGED
|
@@ -228,8 +228,7 @@ export declare type OpenSession = {
|
|
|
228
228
|
forceCloseSessions?: boolean;
|
|
229
229
|
birthDate?: string;
|
|
230
230
|
additionalInfo?: {
|
|
231
|
-
|
|
232
|
-
email?: string;
|
|
231
|
+
loginToken?: string;
|
|
233
232
|
language?: string;
|
|
234
233
|
referral?: string;
|
|
235
234
|
};
|
|
@@ -616,6 +615,7 @@ export interface ImportParams {
|
|
|
616
615
|
txtSpecs?: TxtSpecs;
|
|
617
616
|
conclusive?: boolean;
|
|
618
617
|
notPickable?: boolean;
|
|
618
|
+
importName?: string;
|
|
619
619
|
contextVarsToSet?: {
|
|
620
620
|
[key: string]: string;
|
|
621
621
|
};
|
|
@@ -636,6 +636,8 @@ export interface ImportResponse {
|
|
|
636
636
|
progress: number;
|
|
637
637
|
importType: 'CSV' | 'TXT';
|
|
638
638
|
importSize: number;
|
|
639
|
+
importName?: string;
|
|
640
|
+
importSpecsJSON?: string;
|
|
639
641
|
begin?: string;
|
|
640
642
|
end?: string;
|
|
641
643
|
eta?: number;
|
package/esm/types.d.ts
CHANGED
|
@@ -228,8 +228,7 @@ export declare type OpenSession = {
|
|
|
228
228
|
forceCloseSessions?: boolean;
|
|
229
229
|
birthDate?: string;
|
|
230
230
|
additionalInfo?: {
|
|
231
|
-
|
|
232
|
-
email?: string;
|
|
231
|
+
loginToken?: string;
|
|
233
232
|
language?: string;
|
|
234
233
|
referral?: string;
|
|
235
234
|
};
|
|
@@ -616,6 +615,7 @@ export interface ImportParams {
|
|
|
616
615
|
txtSpecs?: TxtSpecs;
|
|
617
616
|
conclusive?: boolean;
|
|
618
617
|
notPickable?: boolean;
|
|
618
|
+
importName?: string;
|
|
619
619
|
contextVarsToSet?: {
|
|
620
620
|
[key: string]: string;
|
|
621
621
|
};
|
|
@@ -636,6 +636,8 @@ export interface ImportResponse {
|
|
|
636
636
|
progress: number;
|
|
637
637
|
importType: 'CSV' | 'TXT';
|
|
638
638
|
importSize: number;
|
|
639
|
+
importName?: string;
|
|
640
|
+
importSpecsJSON?: string;
|
|
639
641
|
begin?: string;
|
|
640
642
|
end?: string;
|
|
641
643
|
eta?: number;
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -281,8 +281,7 @@ export declare type OpenSession = {
|
|
|
281
281
|
forceCloseSessions?: boolean;
|
|
282
282
|
birthDate?: string;
|
|
283
283
|
additionalInfo?: {
|
|
284
|
-
|
|
285
|
-
email?: string;
|
|
284
|
+
loginToken?: string;
|
|
286
285
|
language?: string;
|
|
287
286
|
referral?: string;
|
|
288
287
|
};
|
|
@@ -914,6 +913,7 @@ export interface ImportParams {
|
|
|
914
913
|
txtSpecs?: TxtSpecs;
|
|
915
914
|
conclusive?: boolean;
|
|
916
915
|
notPickable?: boolean;
|
|
916
|
+
importName?: string;
|
|
917
917
|
contextVarsToSet?: {
|
|
918
918
|
[key: string]: string;
|
|
919
919
|
};
|
|
@@ -975,6 +975,16 @@ export interface ImportResponse {
|
|
|
975
975
|
* Size of the imported document in characters.
|
|
976
976
|
*/
|
|
977
977
|
importSize: number;
|
|
978
|
+
/**
|
|
979
|
+
* @type {string?}
|
|
980
|
+
* Name of this import, if set when the Import process was requested.
|
|
981
|
+
*/
|
|
982
|
+
importName?: string;
|
|
983
|
+
/**
|
|
984
|
+
* @type {string?}
|
|
985
|
+
* Original parameters of the Import process request, as a JSON structure, excluding the document rows.
|
|
986
|
+
*/
|
|
987
|
+
importSpecsJSON?: string;
|
|
978
988
|
/**
|
|
979
989
|
* @type {string=}
|
|
980
990
|
* Timestamp of start of the Import process. Null until the Import process is in Starting status.
|