arche-sdk 0.1.0 → 0.1.146

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;
@@ -978,7 +969,6 @@ export type MacroContextHTTP = {
978
969
  "yield_curve_10y_2y": string;
979
970
  "retail_sales"?: (MacroObservationHTTP | null);
980
971
  "avg_hourly_earnings"?: (MacroObservationHTTP | null);
981
- "sp500_index"?: (MacroObservationHTTP | null);
982
972
  "macro_regime": MacroRegimeHTTP;
983
973
  };
984
974
  /** HTTP schema for one macro observation. */
@@ -1001,7 +991,7 @@ export type MacroRegimeHTTP = {
1001
991
  "inflation_yoy"?: (string | null);
1002
992
  };
1003
993
  /** Explicitly approved macro series codes. */
1004
- export type MacroSeriesCode = "CPIAUCSL" | "CPILFESL" | "UNRATE" | "FEDFUNDS" | "DGS2" | "DGS10" | "RSAFS" | "CES0500000003" | "SP500";
994
+ export type MacroSeriesCode = "CPIAUCSL" | "CPILFESL" | "UNRATE" | "FEDFUNDS" | "DGS2" | "DGS10" | "RSAFS" | "CES0500000003";
1005
995
  /** HTTP schema for an approved macro series definition. */
1006
996
  export type MacroSeriesDefinitionHTTP = {
1007
997
  "code": string;
@@ -1464,25 +1454,16 @@ export type PeerHTTP = {
1464
1454
  "peer_company_id": string;
1465
1455
  "similarity_score": string;
1466
1456
  "rank": number;
1467
- "attribution": Record<string, unknown>;
1468
1457
  };
1469
1458
  /** HTTP schema for a peer set. */
1470
1459
  export type PeerSetHTTP = {
1471
- "peer_set_id": string;
1472
1460
  "company_id": string;
1473
1461
  "cik": string;
1474
1462
  "as_of_timestamp": string;
1475
1463
  "embedding_type": EmbeddingType;
1476
1464
  "embedding_mode": EmbeddingMode;
1477
- "embedding_provider": string;
1478
- "embedding_model": string;
1479
- "model_id": string;
1480
1465
  "industry_code"?: (string | null);
1481
- "embedding_input_hash": string;
1482
- "cached"?: (boolean | null);
1483
- "input_hash": string;
1484
1466
  "peers": Array<PeerHTTP>;
1485
- "created_at": string;
1486
1467
  };
1487
1468
  export type PeerSetPage = {
1488
1469
  "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.146",
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"