@eka-care/ekascribe-ts-sdk 2.0.19 → 2.0.21
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 +1 -10
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -325,16 +325,7 @@ const response = await ekascribe.endRecording();
|
|
|
325
325
|
|
|
326
326
|
### 8. Get output recorded prescription
|
|
327
327
|
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
- `getTemplateOutput({ txn_id })`: polling is your responsibility; call repeatedly until processing finishes.
|
|
331
|
-
- `pollSessionOutput({ txn_id, max_polling_time })`: SDK polls for you and resolves when processing finishes (default max wait: 2 minutes; override via `max_polling_time`, pass time in milliseconds).
|
|
332
|
-
|
|
333
|
-
Example (manual polling):
|
|
334
|
-
|
|
335
|
-
```ts
|
|
336
|
-
const res = await ekascribe.getTemplateOutput({ txn_id: 'transaction-id' });
|
|
337
|
-
```
|
|
328
|
+
`pollSessionOutput({ txn_id, max_polling_time })`: SDK polls for you and resolves when processing finishes (default max wait: 2 minutes; override via `max_polling_time`, pass time in milliseconds).
|
|
338
329
|
|
|
339
330
|
Example (SDK-managed polling):
|
|
340
331
|
|
package/dist/index.d.ts
CHANGED
|
@@ -224,7 +224,7 @@ declare type TGetConfigV2Response = {
|
|
|
224
224
|
selected_preferences?: TSelectedPreferences;
|
|
225
225
|
clinic_name?: string;
|
|
226
226
|
specialization?: string;
|
|
227
|
-
|
|
227
|
+
emr_name?: string;
|
|
228
228
|
microphone_permission_check?: boolean;
|
|
229
229
|
consult_language?: string[];
|
|
230
230
|
};
|
|
@@ -331,7 +331,7 @@ declare type TPatchVoiceApiV2ConfigRequest = {
|
|
|
331
331
|
scribe_enabled?: boolean;
|
|
332
332
|
clinic_name?: string;
|
|
333
333
|
specialization?: string;
|
|
334
|
-
|
|
334
|
+
emr_name?: string;
|
|
335
335
|
microphone_permission_check?: boolean;
|
|
336
336
|
consult_language?: string[];
|
|
337
337
|
};
|