@brivioio/api-server-types 7.49.0 → 7.50.0

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.
@@ -13,12 +13,16 @@ export declare namespace VoiceTranscriptionAPITypes {
13
13
  /**
14
14
  * POST /api/voice/refine — cleans up a raw realtime transcript. `existingText`
15
15
  * (optional) is the recruiter's already-typed composer content, used only as
16
- * refinement context (never echoed back). `data.text` is the cleaned text to
17
- * append (already trimmed; may be empty when nothing intelligible was said).
16
+ * refinement context (never echoed back). `vocabulary` (optional) is a list of
17
+ * known proper nouns for this chat (company name, candidate names, role/tech
18
+ * terms) the refiner uses to correct mis-transcribed names to their exact
19
+ * spelling. `data.text` is the cleaned text to append (already trimmed; may be
20
+ * empty when nothing intelligible was said).
18
21
  */
19
22
  type TRefineRequestBody = {
20
23
  transcript: string;
21
24
  existingText?: string;
25
+ vocabulary?: string[];
22
26
  };
23
27
  type TRefineResponse = IResponse<{
24
28
  text: string;
@@ -1 +1 @@
1
- {"version":3,"file":"voice.types.d.ts","sourceRoot":"","sources":["../src/voice.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE/C,yBAAiB,0BAA0B,CAAC;IAC1C;;;;;OAKG;IACH,KAAY,sBAAsB,GAAG,SAAS,CAAC;QAC7C,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,EAAE,MAAM,CAAC;KACnB,GAAG,IAAI,CAAC,CAAC;IAEV;;;;;OAKG;IACH,KAAY,kBAAkB,GAAG;QAC/B,UAAU,EAAE,MAAM,CAAC;QACnB,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB,CAAC;IAEF,KAAY,eAAe,GAAG,SAAS,CAAC;QACtC,IAAI,EAAE,MAAM,CAAC;KACd,GAAG,IAAI,CAAC,CAAC;CACX"}
1
+ {"version":3,"file":"voice.types.d.ts","sourceRoot":"","sources":["../src/voice.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE/C,yBAAiB,0BAA0B,CAAC;IAC1C;;;;;OAKG;IACH,KAAY,sBAAsB,GAAG,SAAS,CAAC;QAC7C,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,EAAE,MAAM,CAAC;KACnB,GAAG,IAAI,CAAC,CAAC;IAEV;;;;;;;;OAQG;IACH,KAAY,kBAAkB,GAAG;QAC/B,UAAU,EAAE,MAAM,CAAC;QACnB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;KACvB,CAAC;IAEF,KAAY,eAAe,GAAG,SAAS,CAAC;QACtC,IAAI,EAAE,MAAM,CAAC;KACd,GAAG,IAAI,CAAC,CAAC;CACX"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brivioio/api-server-types",
3
- "version": "7.49.0",
3
+ "version": "7.50.0",
4
4
  "description": "TypeScript type definitions for Brivio API Server",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",