@memori.ai/memori-api-client 4.0.1 → 4.0.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 CHANGED
@@ -1,5 +1,12 @@
1
1
 
2
2
 
3
+ ## [4.0.2](https://github.com/memori-ai/memori-api-client/compare/v4.0.1...v4.0.2) (2024-03-25)
4
+
5
+
6
+ ### Maintenance
7
+
8
+ * add attributes to ProcessStatus ([c72da0a](https://github.com/memori-ai/memori-api-client/commit/c72da0adca92f7a799cbdba640b010ef3f9040ee))
9
+
3
10
  ## [4.0.1](https://github.com/memori-ai/memori-api-client/compare/v4.0.0...v4.0.1) (2024-03-22)
4
11
 
5
12
 
package/dist/types.d.ts CHANGED
@@ -688,6 +688,8 @@ export interface ProcessStatus {
688
688
  begin?: string;
689
689
  end?: string;
690
690
  eta?: number;
691
+ processedElements?: number;
692
+ totalElements?: number;
691
693
  creationTimestamp?: string;
692
694
  lastChangeTimestamp?: string;
693
695
  }
package/esm/types.d.ts CHANGED
@@ -688,6 +688,8 @@ export interface ProcessStatus {
688
688
  begin?: string;
689
689
  end?: string;
690
690
  eta?: number;
691
+ processedElements?: number;
692
+ totalElements?: number;
691
693
  creationTimestamp?: string;
692
694
  lastChangeTimestamp?: string;
693
695
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.0.1",
2
+ "version": "4.0.2",
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
@@ -1140,6 +1140,16 @@ export interface ProcessStatus {
1140
1140
  * Estimated time required to complete the Import process, in seconds.
1141
1141
  */
1142
1142
  eta?: number;
1143
+ /**
1144
+ * @type {number=}
1145
+ * Number of elements this Process has processed so far.
1146
+ */
1147
+ processedElements?: number;
1148
+ /**
1149
+ * @type {number=}
1150
+ * Total elements this Process is processing.
1151
+ */
1152
+ totalElements?: number;
1143
1153
  creationTimestamp?: string;
1144
1154
  lastChangeTimestamp?: string;
1145
1155
  }