@healthcloudai/hc-sdk 3.5.0 → 3.5.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.
@@ -52,7 +52,7 @@ Request model: [`VectorSearchDocumentsRequest`](../models/VectorSearchDocumentsR
52
52
  "network_id": "string",
53
53
  "payer_key": "string",
54
54
  "q": "string",
55
- "source": "string",
55
+ "source": "medlineplus",
56
56
  "tags": [
57
57
  "string"
58
58
  ],
@@ -174,7 +174,7 @@ const request = {
174
174
  "network_id": "string",
175
175
  "payer_key": "string",
176
176
  "q": "string",
177
- "source": "string",
177
+ "source": "medlineplus",
178
178
  "tags": [
179
179
  "string"
180
180
  ],
@@ -190,7 +190,7 @@ const result = await graph.vectorSearchDocuments(request);
190
190
  curl -X POST \
191
191
  -H 'Authorization: Bearer <ACCESS_TOKEN>' \
192
192
  -H 'Content-Type: application/json' \
193
- -d '{"collection":"string","collection_group":"string","language":"string","network_id":"string","payer_key":"string","q":"string","source":"string","tags":["string"],"top_k":10}' \
193
+ -d '{"collection":"string","collection_group":"string","language":"string","network_id":"string","payer_key":"string","q":"string","source":"medlineplus","tags":["string"],"top_k":10}' \
194
194
  'https://dev-api-graph.health.cloud/graph/vector/search'
195
195
  ```
196
196
 
@@ -46,6 +46,7 @@ Request model: [`AddInsuranceRequest`](../models/AddInsuranceRequest.md)
46
46
 
47
47
  ```json
48
48
  {
49
+ "image": "string",
49
50
  "member_id": "string",
50
51
  "payer_id": "string",
51
52
  "payer_name": "string",
@@ -68,9 +69,11 @@ Request model: [`AddInsuranceRequest`](../models/AddInsuranceRequest.md)
68
69
  ```json
69
70
  {
70
71
  "athena_best_match": {},
72
+ "athena_insurance_card_status": "string",
71
73
  "athena_insurance_error": "string",
72
74
  "athena_insurance_status": "string",
73
75
  "coverages_created": 0,
76
+ "fhir_document_reference_id": "string",
74
77
  "fhir_patient_id": "string",
75
78
  "openloop_best_match": {},
76
79
  "openloop_insurance_error": "string",
@@ -122,6 +125,7 @@ import type { CreateInsuranceRequest } from "@healthcloudai/hc-sdk";
122
125
 
123
126
  ```ts
124
127
  const request = {
128
+ "image": "string",
125
129
  "member_id": "string",
126
130
  "payer_id": "string",
127
131
  "payer_name": "string",
@@ -139,7 +143,7 @@ const result = await patient.createInsurance(request);
139
143
  curl -X POST \
140
144
  -H 'Authorization: Bearer <ACCESS_TOKEN>' \
141
145
  -H 'Content-Type: application/json' \
142
- -d '{"member_id":"string","payer_id":"string","payer_name":"string","priority":"primary","relationship":"self","state":"string"}' \
146
+ -d '{"image":"string","member_id":"string","payer_id":"string","payer_name":"string","priority":"primary","relationship":"self","state":"string"}' \
143
147
  'https://dev-api-patient.health.cloud/patients/insurance'
144
148
  ```
145
149
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@healthcloudai/hc-sdk",
3
- "version": "3.5.0",
3
+ "version": "3.5.2",
4
4
  "description": "All-in-one HealthCloud SDK with typed platform APIs and secure connector clients.",
5
5
  "author": "Healthcheck Systems Inc",
6
6
  "license": "MIT",
@@ -34,7 +34,7 @@
34
34
  "scripts": {
35
35
  "build": "tsup src/index.ts --format esm,cjs --dts --clean",
36
36
  "dev": "tsup src/index.ts --watch",
37
- "lint": "eslint src --ext .ts",
37
+ "lint": "eslint src",
38
38
  "typecheck": "tsc --noEmit",
39
39
  "test": "vitest run",
40
40
  "test:watch": "vitest",
@@ -53,15 +53,16 @@
53
53
  }
54
54
  },
55
55
  "devDependencies": {
56
+ "@eslint/js": "^10.0.1",
56
57
  "@types/node": "^24.0.0",
57
58
  "@typescript-eslint/eslint-plugin": "^8.70.0",
58
59
  "@typescript-eslint/parser": "^8.70.0",
59
- "eslint": "^8.57.1",
60
+ "eslint": "^10.11.0",
60
61
  "playwright": "^1.63.0",
61
62
  "tsup": "^8.0.0",
62
63
  "tsx": "^4.23.13",
63
64
  "typescript": "^5.3.0",
64
- "vitest": "^5.0.0"
65
+ "vitest": "^5.0.1"
65
66
  },
66
67
  "engines": {
67
68
  "node": ">=18"