@wildix/wda-history-client 1.0.4 → 1.0.6
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.
|
@@ -44,19 +44,23 @@ export interface GetCallTranscriptionCommandOutput extends GetCallTranscriptionO
|
|
|
44
44
|
* // licenses: [ // LicensesList // required
|
|
45
45
|
* // "x-bees",
|
|
46
46
|
* // ],
|
|
47
|
-
* // transcriptions:
|
|
48
|
-
* //
|
|
49
|
-
* // "
|
|
50
|
-
* //
|
|
51
|
-
* //
|
|
52
|
-
* //
|
|
53
|
-
* //
|
|
54
|
-
* //
|
|
55
|
-
* //
|
|
47
|
+
* // transcriptions: [ // CallTranscriptionList // required
|
|
48
|
+
* // { // CallTranscription
|
|
49
|
+
* // flowIndex: Number("int"), // required
|
|
50
|
+
* // flowStartTime: Number("long"), // required
|
|
51
|
+
* // callStartTime: Number("long"), // required
|
|
52
|
+
* // chunks: { // CallTranscriptionChunksMap // required
|
|
53
|
+
* // "<keys>": { // CallTranscriptionChunk
|
|
54
|
+
* // id: "STRING_VALUE", // required
|
|
55
|
+
* // time: Number("long"), // required
|
|
56
|
+
* // speaker: "callee" || "caller", // required
|
|
57
|
+
* // text: "STRING_VALUE", // required
|
|
58
|
+
* // language: "STRING_VALUE",
|
|
59
|
+
* // isFinal: true || false, // required
|
|
60
|
+
* // },
|
|
56
61
|
* // },
|
|
57
62
|
* // },
|
|
58
|
-
* //
|
|
59
|
-
* // flowIndex: Number("int"), // required
|
|
63
|
+
* // ],
|
|
60
64
|
* // },
|
|
61
65
|
* // };
|
|
62
66
|
*
|
|
@@ -273,6 +273,9 @@ export interface CallTranscriptionChunk {
|
|
|
273
273
|
* @public
|
|
274
274
|
*/
|
|
275
275
|
export interface CallTranscription {
|
|
276
|
+
flowIndex: number;
|
|
277
|
+
flowStartTime: number;
|
|
278
|
+
callStartTime: number;
|
|
276
279
|
chunks: Record<string, CallTranscriptionChunk>;
|
|
277
280
|
}
|
|
278
281
|
/**
|
|
@@ -284,8 +287,7 @@ export interface CallTranscriptionRecord {
|
|
|
284
287
|
time: number;
|
|
285
288
|
company: string;
|
|
286
289
|
licenses: (License | string)[];
|
|
287
|
-
transcriptions: CallTranscription;
|
|
288
|
-
flowIndex: number;
|
|
290
|
+
transcriptions: (CallTranscription)[];
|
|
289
291
|
}
|
|
290
292
|
/**
|
|
291
293
|
* @public
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/wda-history-client",
|
|
3
3
|
"description": "@wildix/wda-history-client client",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.6",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|