@memori.ai/memori-api-client 2.2.2 → 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 CHANGED
@@ -1,5 +1,12 @@
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
+
3
10
  ## [2.2.2](https://github.com/memori-ai/memori-api-client/compare/v2.2.1...v2.2.2) (2023-08-25)
4
11
 
5
12
 
package/dist/types.d.ts CHANGED
@@ -615,6 +615,7 @@ export interface ImportParams {
615
615
  txtSpecs?: TxtSpecs;
616
616
  conclusive?: boolean;
617
617
  notPickable?: boolean;
618
+ importName?: string;
618
619
  contextVarsToSet?: {
619
620
  [key: string]: string;
620
621
  };
@@ -635,6 +636,8 @@ export interface ImportResponse {
635
636
  progress: number;
636
637
  importType: 'CSV' | 'TXT';
637
638
  importSize: number;
639
+ importName?: string;
640
+ importSpecsJSON?: string;
638
641
  begin?: string;
639
642
  end?: string;
640
643
  eta?: number;
package/esm/types.d.ts CHANGED
@@ -615,6 +615,7 @@ export interface ImportParams {
615
615
  txtSpecs?: TxtSpecs;
616
616
  conclusive?: boolean;
617
617
  notPickable?: boolean;
618
+ importName?: string;
618
619
  contextVarsToSet?: {
619
620
  [key: string]: string;
620
621
  };
@@ -635,6 +636,8 @@ export interface ImportResponse {
635
636
  progress: number;
636
637
  importType: 'CSV' | 'TXT';
637
638
  importSize: number;
639
+ importName?: string;
640
+ importSpecsJSON?: string;
638
641
  begin?: string;
639
642
  end?: string;
640
643
  eta?: number;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.2.2",
2
+ "version": "2.3.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",
package/src/types.ts CHANGED
@@ -913,6 +913,7 @@ export interface ImportParams {
913
913
  txtSpecs?: TxtSpecs;
914
914
  conclusive?: boolean;
915
915
  notPickable?: boolean;
916
+ importName?: string;
916
917
  contextVarsToSet?: {
917
918
  [key: string]: string;
918
919
  };
@@ -974,6 +975,16 @@ export interface ImportResponse {
974
975
  * Size of the imported document in characters.
975
976
  */
976
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;
977
988
  /**
978
989
  * @type {string=}
979
990
  * Timestamp of start of the Import process. Null until the Import process is in Starting status.