@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.
@@ -19,13 +19,27 @@ declare enum LanguageCode {
19
19
  export declare interface OmniscribeProps {
20
20
  /** API base URL for backend communication */
21
21
  baseurl: string;
22
- /** WebSocket URL for real-time transcription */
23
- wssurl: string;
22
+ /**
23
+ * @deprecated This prop has no effect. The transcriber WebSocket URL is
24
+ * resolved from the settings API (GET /profiles/settings → transcriberUrl).
25
+ * This prop will be removed in v2.0.
26
+ */
27
+ wssurl?: string;
24
28
  /** API key for authentication */
25
29
  apikey: string;
26
- /** Unique identifier of the healthcare professional */
30
+ /**
31
+ * Unique identifier of the healthcare professional.
32
+ * SECURITY: Must be an INTERNAL system / surrogate id, never an MRN,
33
+ * national id, or other directly-identifying value. It is sent to the
34
+ * backend (and used as LLM context) without anonymization.
35
+ */
27
36
  userid: string;
28
- /** Unique identifier of the patient */
37
+ /**
38
+ * Unique identifier of the patient.
39
+ * SECURITY: Must be an INTERNAL system / surrogate id, never an MRN,
40
+ * national id, or other directly-identifying value. It is sent to the
41
+ * backend (and used as LLM context) without anonymization.
42
+ */
29
43
  patientid: string;
30
44
  /** Template ID - enables report generation when provided with template */
31
45
  templateid?: string;
@@ -90,6 +104,8 @@ export declare interface OmniscribeProps {
90
104
  disablegenerate?: boolean;
91
105
  /** Enable debug logging */
92
106
  debug?: boolean;
107
+ /** Doctor's medical specialty at the time of the event. Optional. When provided, it is attached to every tracked event for analytics segmentation. */
108
+ userMedicalSpecialty?: string;
93
109
  /** Expose function to get last generated report */
94
110
  setGetLastReport?: (fn: () => Promise<object | undefined>) => void;
95
111
  }