arche-sdk 0.1.0 → 0.1.145

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.
@@ -688,22 +688,13 @@ export type EdgarStatementPage = {
688
688
  };
689
689
  /** HTTP schema for embedding metadata. */
690
690
  export type EmbeddingMetadataHTTP = {
691
- "embedding_id": string;
692
691
  "company_id": string;
693
692
  "cik": string;
694
693
  "as_of_timestamp": string;
695
694
  "embedding_type": EmbeddingType;
696
695
  "period_end"?: (string | null);
697
696
  "embedding_mode": EmbeddingMode;
698
- "embedding_provider": string;
699
- "embedding_model": string;
700
- "embedding_input_hash": string;
701
- "cached"?: (boolean | null);
702
- "model_id": string;
703
697
  "vector_dim": number;
704
- "input_hash": string;
705
- "input_payload": Record<string, unknown>;
706
- "created_at": string;
707
698
  };
708
699
  export type EmbeddingMetadataPage = {
709
700
  "page": number;
@@ -1464,25 +1455,16 @@ export type PeerHTTP = {
1464
1455
  "peer_company_id": string;
1465
1456
  "similarity_score": string;
1466
1457
  "rank": number;
1467
- "attribution": Record<string, unknown>;
1468
1458
  };
1469
1459
  /** HTTP schema for a peer set. */
1470
1460
  export type PeerSetHTTP = {
1471
- "peer_set_id": string;
1472
1461
  "company_id": string;
1473
1462
  "cik": string;
1474
1463
  "as_of_timestamp": string;
1475
1464
  "embedding_type": EmbeddingType;
1476
1465
  "embedding_mode": EmbeddingMode;
1477
- "embedding_provider": string;
1478
- "embedding_model": string;
1479
- "model_id": string;
1480
1466
  "industry_code"?: (string | null);
1481
- "embedding_input_hash": string;
1482
- "cached"?: (boolean | null);
1483
- "input_hash": string;
1484
1467
  "peers": Array<PeerHTTP>;
1485
- "created_at": string;
1486
1468
  };
1487
1469
  export type PeerSetPage = {
1488
1470
  "page": number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arche-sdk",
3
- "version": "0.1.0",
3
+ "version": "0.1.145",
4
4
  "description": "TypeScript client for the Arche API: point-in-time SEC financial statements with provenance and replay tokens.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -12,12 +12,23 @@
12
12
  "import": "./dist/index.js"
13
13
  }
14
14
  },
15
- "files": ["dist", "LICENSE", "README.md"],
15
+ "files": [
16
+ "dist",
17
+ "LICENSE",
18
+ "README.md"
19
+ ],
16
20
  "engines": {
17
21
  "node": ">=18"
18
22
  },
19
23
  "homepage": "https://docs.arche.fi",
20
- "keywords": ["sec", "edgar", "xbrl", "financial-statements", "point-in-time", "arche"],
24
+ "keywords": [
25
+ "sec",
26
+ "edgar",
27
+ "xbrl",
28
+ "financial-statements",
29
+ "point-in-time",
30
+ "arche"
31
+ ],
21
32
  "scripts": {
22
33
  "build": "tsc -p tsconfig.json",
23
34
  "test": "npm run build && node --test test/client.test.mjs"