@amigo-ai/platform-sdk 0.9.0 → 0.9.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.
- package/README.md +7 -1
- package/api.md +1 -0
- package/dist/index.cjs +8 -0
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +8 -0
- package/dist/index.mjs.map +2 -2
- package/dist/resources/calls.js +6 -0
- package/dist/resources/calls.js.map +1 -1
- package/dist/types/generated/api.d.ts +281 -5
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/resources/calls.d.ts +73 -0
- package/dist/types/resources/calls.d.ts.map +1 -1
- package/dist/types/resources/functions.d.ts.map +1 -1
- package/dist/types/resources/metrics.d.ts.map +1 -1
- package/dist/types/resources/settings.d.ts +10 -0
- package/dist/types/resources/settings.d.ts.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -483,7 +483,13 @@ Build ambient clinical documentation tools. The SDK covers encounter review acti
|
|
|
483
483
|
```typescript
|
|
484
484
|
// Configure scribe settings
|
|
485
485
|
const settings = await client.settings.scribe.get()
|
|
486
|
-
await client.settings.scribe.update({
|
|
486
|
+
await client.settings.scribe.update({
|
|
487
|
+
enabled: true,
|
|
488
|
+
soap_style: 'detailed',
|
|
489
|
+
language: 'es',
|
|
490
|
+
keyterms: ['metformin', 'Ozempic', 'Dr. Ramirez'],
|
|
491
|
+
specialty: 'Primary care',
|
|
492
|
+
})
|
|
487
493
|
|
|
488
494
|
// Approve ICD-10 codes after physician review
|
|
489
495
|
await client.POST('/v1/{workspace_id}/scribe/encounters/{encounter_id}/icd10/approve', {
|
package/api.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1855,6 +1855,14 @@ var CallsResource = class extends WorkspaceScopedResource {
|
|
|
1855
1855
|
})
|
|
1856
1856
|
);
|
|
1857
1857
|
}
|
|
1858
|
+
/** Get the canonical playback timeline for a call */
|
|
1859
|
+
async getTimeline(callId2) {
|
|
1860
|
+
return extractData(
|
|
1861
|
+
await this.client.GET("/v1/{workspace_id}/calls/{call_id}/timeline", {
|
|
1862
|
+
params: { path: { workspace_id: this.workspaceId, call_id: callId2 } }
|
|
1863
|
+
})
|
|
1864
|
+
);
|
|
1865
|
+
}
|
|
1858
1866
|
/** Get AI intelligence for a call */
|
|
1859
1867
|
async getIntelligence(callId2) {
|
|
1860
1868
|
return extractData(
|