@usecortex_ai/node 0.3.3 → 0.3.4

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.
@@ -4,8 +4,10 @@
4
4
  export interface ProcessingStatus {
5
5
  /** Identifier for the file whose status is being retrieved */
6
6
  file_id: string;
7
- /** Current status of the file. Possible values are 'queued', 'processing', 'completed', 'failed' */
7
+ /** Current status of the file. Possible values are 'queued', 'processing', 'completed', 'errored' */
8
8
  indexing_status: string;
9
+ /** Error code for the file. You may share this code with us to help us diagnose and resolve the issue. */
10
+ error_code?: string;
9
11
  success?: boolean;
10
12
  /** Detailed status message about the processing operation */
11
13
  message?: string;
package/package.json CHANGED
@@ -1,31 +1,34 @@
1
1
  {
2
- "name": "@usecortex_ai/node",
3
- "version": "0.3.3",
4
- "description": "The official TypeScript SDK for the Cortex AI platform.",
5
- "author": "Nishkarsh Shrivastava <nishkarsh@usecortex.ai>",
6
- "main": "./dist/index.js",
7
- "types": "./dist/index.d.ts",
8
- "files": [
9
- "dist"
10
- ],
11
- "keywords": [
12
- "cortex",
13
- "cortex-ai",
14
- "cortex-ai-sdk",
15
- "cortex-ai-typescript-sdk",
16
- "rag", "gen-ai", "memory", "ai"
17
- ],
18
- "scripts": {
19
- "build": "tsc",
20
- "prepublishOnly": "npm run build"
21
- },
22
- "dependencies": {
23
- "form-data": "^4.0.0",
24
- "node-fetch": "2.7.0"
25
- },
26
- "devDependencies": {
27
- "@types/node": "^18.19.3",
28
- "@types/node-fetch": "2.6.9",
29
- "typescript": "5.3.3"
30
- }
31
- }
2
+ "name": "@usecortex_ai/node",
3
+ "version": "0.3.4",
4
+ "description": "The official TypeScript SDK for the Cortex AI platform.",
5
+ "author": "Nishkarsh Shrivastava <nishkarsh@usecortex.ai>",
6
+ "main": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "files": [
9
+ "dist"
10
+ ],
11
+ "keywords": [
12
+ "cortex",
13
+ "cortex-ai",
14
+ "cortex-ai-sdk",
15
+ "cortex-ai-typescript-sdk",
16
+ "rag",
17
+ "gen-ai",
18
+ "memory",
19
+ "ai"
20
+ ],
21
+ "scripts": {
22
+ "build": "tsc",
23
+ "prepublishOnly": "npm run build"
24
+ },
25
+ "dependencies": {
26
+ "form-data": "^4.0.0",
27
+ "node-fetch": "2.7.0"
28
+ },
29
+ "devDependencies": {
30
+ "@types/node": "^18.19.3",
31
+ "@types/node-fetch": "2.6.9",
32
+ "typescript": "5.3.3"
33
+ }
34
+ }