@omniloy/sofia-sdk 1.0.5 → 1.0.7
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/legacy/webcomponents.d.ts +20 -4
- package/dist/legacy/webcomponents.es.js +2765 -1036
- package/dist/legacy/webcomponents.umd.js +2765 -1036
- package/dist/react/index.css +17 -1
- package/dist/react/index.d.ts +20 -4
- package/dist/react/index.es.js +3488 -1301
- package/dist/webcomponents.d.ts +20 -4
- package/dist/webcomponents.es.js +3250 -1190
- package/dist/webcomponents.umd.js +3250 -1190
- package/package.json +1 -1
package/dist/react/index.css
CHANGED
|
@@ -4335,6 +4335,10 @@
|
|
|
4335
4335
|
border: solid 1px var(--light-border);
|
|
4336
4336
|
cursor: pointer;
|
|
4337
4337
|
}
|
|
4338
|
+
.omniscribe_select-button:disabled {
|
|
4339
|
+
cursor: not-allowed;
|
|
4340
|
+
opacity: 0.6;
|
|
4341
|
+
}
|
|
4338
4342
|
.omniscribe_select-text {
|
|
4339
4343
|
display: flex;
|
|
4340
4344
|
align-items: center;
|
|
@@ -4711,6 +4715,14 @@
|
|
|
4711
4715
|
flex-direction: column;
|
|
4712
4716
|
}
|
|
4713
4717
|
|
|
4718
|
+
/* Audio-environment (VAD) section: titled control with helper text below. */
|
|
4719
|
+
.omniscribe_config-audio-env {
|
|
4720
|
+
display: flex;
|
|
4721
|
+
flex-direction: column;
|
|
4722
|
+
gap: 8px;
|
|
4723
|
+
margin-top: 16px;
|
|
4724
|
+
}
|
|
4725
|
+
|
|
4714
4726
|
.omniscribe_config-language-section-title {
|
|
4715
4727
|
font-size: 16px;
|
|
4716
4728
|
font-weight: 600;
|
|
@@ -4718,7 +4730,8 @@
|
|
|
4718
4730
|
margin-bottom: 8px;
|
|
4719
4731
|
}
|
|
4720
4732
|
|
|
4721
|
-
.omniscribe_config-subscreen-description
|
|
4733
|
+
.omniscribe_config-subscreen-description,
|
|
4734
|
+
.omniscribe_config-subscreen-subdescription {
|
|
4722
4735
|
margin: 0 0 0 0;
|
|
4723
4736
|
font-size: 14px;
|
|
4724
4737
|
line-height: 18px;
|
|
@@ -4726,6 +4739,9 @@
|
|
|
4726
4739
|
font-weight: 400;
|
|
4727
4740
|
}
|
|
4728
4741
|
|
|
4742
|
+
.omniscribe_config-subscreen-subdescription {
|
|
4743
|
+
font-style: italic;
|
|
4744
|
+
}
|
|
4729
4745
|
/* Dictionary Options View Styles */
|
|
4730
4746
|
.omniscribe_config-dictionary-section {
|
|
4731
4747
|
display: flex;
|
package/dist/react/index.d.ts
CHANGED
|
@@ -53,13 +53,27 @@ export declare const Omniscribe: React_2.FC<OmniscribeProps>;
|
|
|
53
53
|
export declare interface OmniscribeProps {
|
|
54
54
|
/** API base URL for backend communication */
|
|
55
55
|
baseurl: string;
|
|
56
|
-
/**
|
|
57
|
-
|
|
56
|
+
/**
|
|
57
|
+
* @deprecated This prop has no effect. The transcriber WebSocket URL is
|
|
58
|
+
* resolved from the settings API (GET /profiles/settings → transcriberUrl).
|
|
59
|
+
* This prop will be removed in v2.0.
|
|
60
|
+
*/
|
|
61
|
+
wssurl?: string;
|
|
58
62
|
/** API key for authentication */
|
|
59
63
|
apikey: string;
|
|
60
|
-
/**
|
|
64
|
+
/**
|
|
65
|
+
* Unique identifier of the healthcare professional.
|
|
66
|
+
* SECURITY: Must be an INTERNAL system / surrogate id, never an MRN,
|
|
67
|
+
* national id, or other directly-identifying value. It is sent to the
|
|
68
|
+
* backend (and used as LLM context) without anonymization.
|
|
69
|
+
*/
|
|
61
70
|
userid: string;
|
|
62
|
-
/**
|
|
71
|
+
/**
|
|
72
|
+
* Unique identifier of the patient.
|
|
73
|
+
* SECURITY: Must be an INTERNAL system / surrogate id, never an MRN,
|
|
74
|
+
* national id, or other directly-identifying value. It is sent to the
|
|
75
|
+
* backend (and used as LLM context) without anonymization.
|
|
76
|
+
*/
|
|
63
77
|
patientid: string;
|
|
64
78
|
/** Template ID - enables report generation when provided with template */
|
|
65
79
|
templateid?: string;
|
|
@@ -124,6 +138,8 @@ export declare interface OmniscribeProps {
|
|
|
124
138
|
disablegenerate?: boolean;
|
|
125
139
|
/** Enable debug logging */
|
|
126
140
|
debug?: boolean;
|
|
141
|
+
/** Doctor's medical specialty at the time of the event. Optional. When provided, it is attached to every tracked event for analytics segmentation. */
|
|
142
|
+
userMedicalSpecialty?: string;
|
|
127
143
|
/** Expose function to get last generated report */
|
|
128
144
|
setGetLastReport?: (fn: () => Promise<object | undefined>) => void;
|
|
129
145
|
}
|