@healthcloudai/hc-sdk 3.1.0 → 3.2.0

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.
Files changed (38) hide show
  1. package/dist/index.cjs +21 -1
  2. package/dist/index.d.cts +999 -11
  3. package/dist/index.d.ts +999 -11
  4. package/dist/index.js +21 -1
  5. package/docs/clients/AmsClient.md +1 -1
  6. package/docs/clients/GrokClient.md +2 -2
  7. package/docs/docs-manifest.json +4 -3
  8. package/docs/examples/index.md +2 -2
  9. package/docs/index.md +2 -2
  10. package/docs/models/Appointment.md +1 -0
  11. package/docs/models/AthenaCreatePatientRequest.md +1 -0
  12. package/docs/models/AthenaVitalFailedReading.md +25 -0
  13. package/docs/models/AthenaVitalsMirrorResult.md +1 -0
  14. package/docs/models/CarequalityRetrieveDocumentsRequest.md +1 -1
  15. package/docs/models/GetPreferredPharmacyResponse.md +15 -0
  16. package/docs/models/NearestLocationsResponse.md +1 -1
  17. package/docs/models/OpenAIEmbedRequest.md +1 -1
  18. package/docs/models/PatientIntakeResponse.md +2 -0
  19. package/docs/models/SendGridSendEmailRequest.md +1 -1
  20. package/docs/models/index.md +2 -1
  21. package/docs/operations/appointments.book.md +1 -0
  22. package/docs/operations/appointments.cancel.md +1 -0
  23. package/docs/operations/appointments.listPatientAppointments.md +1 -0
  24. package/docs/operations/appointments.reschedule.md +1 -0
  25. package/docs/operations/connectors.athenaListSocialHistoryQuestions.md +1 -1
  26. package/docs/operations/connectors.carequalityRetrieveDocuments.md +7 -11
  27. package/docs/operations/connectors.grokCreateHpiSummary.md +2 -2
  28. package/docs/operations/connectors.grokCreateScreeningSummary.md +2 -2
  29. package/docs/operations/connectors.openaiEmbed.md +7 -3
  30. package/docs/operations/connectors.sendgridSend.md +7 -3
  31. package/docs/operations/list_public_and_orchestrator_agent_ids_api_ams_application_agents__tenant_id__get.md +3 -3
  32. package/docs/operations/patient.getPatientIntake.md +8 -35
  33. package/docs/operations/patient.getPreferredPharmacy.md +2 -4
  34. package/docs/operations/patient.importVitals.md +9 -0
  35. package/docs/operations/patient.submitPatientIntake.md +8 -35
  36. package/docs/operations/vitals.recordVitals.md +9 -0
  37. package/package.json +4 -4
  38. package/docs/models/FhirResource.md +0 -19
@@ -82,6 +82,15 @@ Request model: [`VitalsRecordRequest`](../models/VitalsRecordRequest.md)
82
82
  "athena_vitals": {
83
83
  "created": 0,
84
84
  "error": "string",
85
+ "failed_readings": [
86
+ {
87
+ "clinicalelementid": "string",
88
+ "error": "string",
89
+ "loinc": "",
90
+ "readingtaken": "string",
91
+ "value": "string"
92
+ }
93
+ ],
85
94
  "skipped": 0,
86
95
  "status": "synced"
87
96
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@healthcloudai/hc-sdk",
3
- "version": "3.1.0",
3
+ "version": "3.2.0",
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",
@@ -54,9 +54,9 @@
54
54
  },
55
55
  "devDependencies": {
56
56
  "@types/node": "^24.0.0",
57
- "@typescript-eslint/eslint-plugin": "^7.18.0",
58
- "@typescript-eslint/parser": "^7.18.0",
59
- "eslint": "^8.56.0",
57
+ "@typescript-eslint/eslint-plugin": "^8.70.0",
58
+ "@typescript-eslint/parser": "^8.70.0",
59
+ "eslint": "^8.57.1",
60
60
  "playwright": "^1.63.0",
61
61
  "tsup": "^8.0.0",
62
62
  "tsx": "^4.23.13",
@@ -1,19 +0,0 @@
1
- # FhirResource
2
-
3
- Model ID: `FhirResource`
4
-
5
- A FHIR R4 resource exactly as the FHIR server returned it. HealthCloud stores and echoes the resource without reshaping it, so the remaining fields are those the FHIR specification defines for this resource type.
6
-
7
- Type: `object`
8
-
9
- ## Fields
10
-
11
- | Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
12
- |---|---|---:|---|---|---|---:|---|
13
- | `id` | `string` | No | | | | No | Server-assigned logical id. |
14
- | `meta` | `object` | No | | | | No | FHIR resource metadata (versionId, lastUpdated). |
15
- | `resourceType` | `string` | Yes | | | | No | FHIR resource type name. |
16
-
17
- ## Example
18
-
19
- None declared in canonical OpenAPI.