@wildix/wda-history-client 1.0.10 → 1.0.12

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.
@@ -224,7 +224,7 @@ const de_GetCallTranscriptionTextCommand = async (output, context) => {
224
224
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
225
225
  const doc = (0, smithy_client_1.take)(data, {
226
226
  'chunks': smithy_client_1._json,
227
- 'key': smithy_client_1.expectString,
227
+ 'filename': smithy_client_1.expectString,
228
228
  'text': smithy_client_1.expectString,
229
229
  });
230
230
  Object.assign(contents, doc);
@@ -346,7 +346,7 @@ const de_GetConferenceTranscriptionTextCommand = async (output, context) => {
346
346
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
347
347
  const doc = (0, smithy_client_1.take)(data, {
348
348
  'chunks': smithy_client_1._json,
349
- 'key': smithy_client_1.expectString,
349
+ 'filename': smithy_client_1.expectString,
350
350
  'text': smithy_client_1.expectString,
351
351
  });
352
352
  Object.assign(contents, doc);
@@ -213,7 +213,7 @@ export const de_GetCallTranscriptionTextCommand = async (output, context) => {
213
213
  const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
214
214
  const doc = take(data, {
215
215
  'chunks': _json,
216
- 'key': __expectString,
216
+ 'filename': __expectString,
217
217
  'text': __expectString,
218
218
  });
219
219
  Object.assign(contents, doc);
@@ -332,7 +332,7 @@ export const de_GetConferenceTranscriptionTextCommand = async (output, context)
332
332
  const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
333
333
  const doc = take(data, {
334
334
  'chunks': _json,
335
- 'key': __expectString,
335
+ 'filename': __expectString,
336
336
  'text': __expectString,
337
337
  });
338
338
  Object.assign(contents, doc);
@@ -105,6 +105,7 @@ export interface GetCallCommandOutput extends GetCallOutput, __MetadataBearer {
105
105
  * // remotePhoneLocation: "STRING_VALUE",
106
106
  * // callStatus: "COMPLETED" || "MISSED",
107
107
  * // transcriptionStatus: "AVAILABLE" || "UNAVAILABLE", // required
108
+ * // transcriptionLanguage: "STRING_VALUE",
108
109
  * // attachment: "STRING_VALUE",
109
110
  * // attachmentType: "VOICEMAIL" || "FAX",
110
111
  * // attachmentDestinations: [ // CallFlowAttachmentDestinationList
@@ -37,7 +37,7 @@ export interface GetCallTranscriptionTextCommandOutput extends GetCallTranscript
37
37
  * const command = new GetCallTranscriptionTextCommand(input);
38
38
  * const response = await client.send(command);
39
39
  * // { // GetCallTranscriptionTextOutput
40
- * // key: "STRING_VALUE", // required
40
+ * // filename: "STRING_VALUE", // required
41
41
  * // text: "STRING_VALUE", // required
42
42
  * // chunks: [ // TranscriptionTextChunkList // required
43
43
  * // { // TranscriptionTextChunk
@@ -76,6 +76,7 @@ export interface GetConferenceCommandOutput extends GetConferenceOutput, __Metad
76
76
  * // },
77
77
  * // ],
78
78
  * // transcriptionStatus: "AVAILABLE" || "UNAVAILABLE", // required
79
+ * // transcriptionLanguage: "STRING_VALUE",
79
80
  * // type: "call" || "call_transcription" || "conference" || "conference_transcription", // required
80
81
  * // },
81
82
  * // };
@@ -36,7 +36,7 @@ export interface GetConferenceTranscriptionTextCommandOutput extends GetConferen
36
36
  * const command = new GetConferenceTranscriptionTextCommand(input);
37
37
  * const response = await client.send(command);
38
38
  * // { // GetConferenceTranscriptionTextOutput
39
- * // key: "STRING_VALUE", // required
39
+ * // filename: "STRING_VALUE", // required
40
40
  * // text: "STRING_VALUE", // required
41
41
  * // chunks: [ // TranscriptionTextChunkList // required
42
42
  * // { // TranscriptionTextChunk
@@ -218,6 +218,7 @@ export interface CallRecord {
218
218
  remotePhoneLocation?: string;
219
219
  callStatus?: ConversationStatus | string;
220
220
  transcriptionStatus: CallFlowTranscriptionStatus | string;
221
+ transcriptionLanguage?: string;
221
222
  attachment?: string;
222
223
  attachmentType?: CallFlowAttachmentType | string;
223
224
  attachmentDestinations?: (CallFlowAttachmentDestination)[];
@@ -395,6 +396,7 @@ export interface ConferenceRecord {
395
396
  participants: (ConferenceAnalyticsRecordParticipant)[];
396
397
  recordings?: (ConferenceRecording)[];
397
398
  transcriptionStatus: ConferenceTranscriptionStatus | string;
399
+ transcriptionLanguage?: string;
398
400
  type: RecordType | string;
399
401
  }
400
402
  /**
@@ -487,11 +489,7 @@ export interface TranscriptionTextChunk {
487
489
  * @public
488
490
  */
489
491
  export interface GetCallTranscriptionTextOutput {
490
- /**
491
- * @public
492
- * An identifier that could be used as a file name for the transcription.
493
- */
494
- key: string;
492
+ filename: string;
495
493
  text: string;
496
494
  chunks: (TranscriptionTextChunk)[];
497
495
  }
@@ -532,11 +530,7 @@ export interface GetConferenceTranscriptionTextInput {
532
530
  * @public
533
531
  */
534
532
  export interface GetConferenceTranscriptionTextOutput {
535
- /**
536
- * @public
537
- * An identifier that could be used as a file name for the transcription.
538
- */
539
- key: string;
533
+ filename: string;
540
534
  text: string;
541
535
  chunks: (TranscriptionTextChunk)[];
542
536
  }
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.10",
4
+ "version": "1.0.12",
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",