med-scribe-alliance-ts-sdk 2.0.28 → 2.0.30
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.d.ts +4 -2
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -348,7 +348,8 @@ export interface PatientDetails {
|
|
|
348
348
|
mobile?: number;
|
|
349
349
|
}
|
|
350
350
|
export interface CreateSessionRequest {
|
|
351
|
-
templates: string[]
|
|
351
|
+
templates: string[] | [
|
|
352
|
+
];
|
|
352
353
|
model?: string;
|
|
353
354
|
language_hint?: string[];
|
|
354
355
|
transcript_language?: string;
|
|
@@ -455,7 +456,8 @@ export interface ProcessTemplateResponse {
|
|
|
455
456
|
message: string;
|
|
456
457
|
}
|
|
457
458
|
export interface RecordingOptions {
|
|
458
|
-
templates: string[]
|
|
459
|
+
templates: string[] | [
|
|
460
|
+
];
|
|
459
461
|
model?: string;
|
|
460
462
|
languageHint?: string[];
|
|
461
463
|
transcriptLanguage?: string;
|
package/dist/index.mjs
CHANGED
|
@@ -167,7 +167,7 @@ var r = "/.well-known/medscribealliance", i = 3600 * 1e3, a = /* @__PURE__ */ fu
|
|
|
167
167
|
auto_detection: e.boolean().optional()
|
|
168
168
|
})
|
|
169
169
|
}), ee = e.object({
|
|
170
|
-
templates: e.array(e.string()).
|
|
170
|
+
templates: e.array(e.string()).max(2, "templates cannot have more than 2 items"),
|
|
171
171
|
upload_type: e.string().min(1, "upload_type is required"),
|
|
172
172
|
communication_protocol: e.string().min(1, "communication_protocol is required"),
|
|
173
173
|
model: e.string().optional(),
|