@proteos/sdk 0.42.2 → 0.43.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.
package/dist/index.d.cts CHANGED
@@ -3288,6 +3288,12 @@ interface Transcription {
3288
3288
  is_diarized: boolean;
3289
3289
  turns: TranscriptTurn[];
3290
3290
  speaker_count: number;
3291
+ /**
3292
+ * Index-aligned speaker identities: `speakers[turn.speaker]` is the person
3293
+ * behind the turn (provider participant id, name, email, resolved contact).
3294
+ * Empty for transcriptions whose source carries no speaker identities.
3295
+ */
3296
+ speakers?: ContactRef[];
3291
3297
  provider_request_id: string;
3292
3298
  conversation_id: string;
3293
3299
  error: string;
package/dist/index.d.ts CHANGED
@@ -3288,6 +3288,12 @@ interface Transcription {
3288
3288
  is_diarized: boolean;
3289
3289
  turns: TranscriptTurn[];
3290
3290
  speaker_count: number;
3291
+ /**
3292
+ * Index-aligned speaker identities: `speakers[turn.speaker]` is the person
3293
+ * behind the turn (provider participant id, name, email, resolved contact).
3294
+ * Empty for transcriptions whose source carries no speaker identities.
3295
+ */
3296
+ speakers?: ContactRef[];
3291
3297
  provider_request_id: string;
3292
3298
  conversation_id: string;
3293
3299
  error: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proteos/sdk",
3
- "version": "0.42.2",
3
+ "version": "0.43.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "TypeScript SDK for the Proteos platform",
6
6
  "repository": {
@@ -1346,6 +1346,12 @@ export interface Transcription {
1346
1346
  is_diarized: boolean
1347
1347
  turns: TranscriptTurn[]
1348
1348
  speaker_count: number
1349
+ /**
1350
+ * Index-aligned speaker identities: `speakers[turn.speaker]` is the person
1351
+ * behind the turn (provider participant id, name, email, resolved contact).
1352
+ * Empty for transcriptions whose source carries no speaker identities.
1353
+ */
1354
+ speakers?: ContactRef[]
1349
1355
  provider_request_id: string
1350
1356
  conversation_id: string
1351
1357
  error: string