@healthcloudai/hc-sdk 3.2.0 → 3.4.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.
- package/dist/index.cjs +31 -0
- package/dist/index.d.cts +117 -1
- package/dist/index.d.ts +117 -1
- package/dist/index.js +31 -0
- package/docs/clients/AppointmentsClient.md +1 -0
- package/docs/clients/GraphClient.md +3 -0
- package/docs/docs-manifest.json +13 -3
- package/docs/examples/index.md +4 -0
- package/docs/index.md +4 -0
- package/docs/models/GetVectorDocumentChunksResponse.md +30 -0
- package/docs/models/ListVectorCollectionsResponse.md +19 -0
- package/docs/models/VectorCollection.md +24 -0
- package/docs/models/VectorSearchDocumentsRequest.md +25 -0
- package/docs/models/VectorSearchHit.md +30 -0
- package/docs/models/VectorSearchResponse.md +22 -0
- package/docs/models/index.md +6 -0
- package/docs/operations/appointments.getTelehealthLink.md +118 -0
- package/docs/operations/graph.getVectorDocumentChunks.md +189 -0
- package/docs/operations/graph.listVectorCollections.md +138 -0
- package/docs/operations/graph.vectorSearchDocuments.md +207 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -364,6 +364,19 @@ var AppointmentsClient = class extends BaseServiceClient {
|
|
|
364
364
|
body: request
|
|
365
365
|
});
|
|
366
366
|
}
|
|
367
|
+
/**
|
|
368
|
+
* Get the telehealth join link for an Athena-booked telehealth appointment.
|
|
369
|
+
* GET /appointments/{appointment_id}/telehealth-link
|
|
370
|
+
*
|
|
371
|
+
* Reads the link back from the Athena appointment's notes (written at
|
|
372
|
+
* booking time) — `book`'s own response also carries it once, right after
|
|
373
|
+
* booking, but `listPatientAppointments`/`cancel`/`reschedule` do not.
|
|
374
|
+
*/
|
|
375
|
+
getTelehealthLink(appointmentId) {
|
|
376
|
+
return this.send("GET", "/appointments/{appointment_id}/telehealth-link", {
|
|
377
|
+
pathParams: { appointment_id: appointmentId }
|
|
378
|
+
});
|
|
379
|
+
}
|
|
367
380
|
// ─── Patient Appointments ────────────────────────────────────────────
|
|
368
381
|
/**
|
|
369
382
|
* List all appointments for a patient.
|
|
@@ -2996,6 +3009,24 @@ var GraphClient = class extends BaseServiceClient {
|
|
|
2996
3009
|
query
|
|
2997
3010
|
});
|
|
2998
3011
|
}
|
|
3012
|
+
// ─── Vector search (Milvus) ──────────────────────────────────────────
|
|
3013
|
+
//
|
|
3014
|
+
// The semantic tier, alongside the keyword (Algolia) and graph (Neo4j)
|
|
3015
|
+
// reads above. Searching the payer-policy collection requires
|
|
3016
|
+
// `payer_key`: that corpus is partitioned by payer, so one search only
|
|
3017
|
+
// ever returns one payer's policies.
|
|
3018
|
+
vectorSearchDocuments(request) {
|
|
3019
|
+
return this.send("POST", "/graph/vector/search", { body: request });
|
|
3020
|
+
}
|
|
3021
|
+
listVectorCollections() {
|
|
3022
|
+
return this.send("GET", "/graph/vector/collections");
|
|
3023
|
+
}
|
|
3024
|
+
getVectorDocumentChunks(docId, query) {
|
|
3025
|
+
return this.send("GET", "/graph/vector/documents/{doc_id}", {
|
|
3026
|
+
pathParams: { doc_id: docId },
|
|
3027
|
+
query
|
|
3028
|
+
});
|
|
3029
|
+
}
|
|
2999
3030
|
};
|
|
3000
3031
|
|
|
3001
3032
|
// src/clients/connectors/ConnectorFactory.ts
|