@aws-sdk/client-transcribe-streaming 3.928.0 → 3.929.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-cjs/index.js +1514 -1132
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/TranscribeStreamingClient.js +2 -0
- package/dist-es/commands/GetMedicalScribeStreamCommand.js +3 -9
- package/dist-es/commands/StartCallAnalyticsStreamTranscriptionCommand.js +2 -7
- package/dist-es/commands/StartMedicalScribeStreamCommand.js +2 -7
- package/dist-es/commands/StartMedicalStreamTranscriptionCommand.js +2 -7
- package/dist-es/commands/StartStreamTranscriptionCommand.js +2 -7
- package/dist-es/models/models_0.js +0 -131
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +1534 -0
- package/dist-types/TranscribeStreamingClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -68
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +92 -0
- package/dist-types/ts3.4/TranscribeStreamingClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -49
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +99 -0
- package/package.json +2 -2
- package/dist-es/protocols/Aws_restJson1.js +0 -988
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -47
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -68
package/dist-cjs/index.js
CHANGED
|
@@ -8,6 +8,7 @@ var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
|
8
8
|
var middlewareWebsocket = require('@aws-sdk/middleware-websocket');
|
|
9
9
|
var configResolver = require('@smithy/config-resolver');
|
|
10
10
|
var core = require('@smithy/core');
|
|
11
|
+
var schema = require('@smithy/core/schema');
|
|
11
12
|
var eventstreamSerdeConfigResolver = require('@smithy/eventstream-serde-config-resolver');
|
|
12
13
|
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
13
14
|
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
@@ -17,8 +18,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
17
18
|
var runtimeConfig = require('./runtimeConfig');
|
|
18
19
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
19
20
|
var protocolHttp = require('@smithy/protocol-http');
|
|
20
|
-
var middlewareSerde = require('@smithy/middleware-serde');
|
|
21
|
-
var core$1 = require('@aws-sdk/core');
|
|
22
21
|
var middlewareSdkTranscribeStreaming = require('@aws-sdk/middleware-sdk-transcribe-streaming');
|
|
23
22
|
|
|
24
23
|
const resolveClientEndpointParameters = (options) => {
|
|
@@ -98,6 +97,7 @@ class TranscribeStreamingClient extends smithyClient.Client {
|
|
|
98
97
|
const _config_10 = middlewareWebsocket.resolveWebSocketConfig(_config_9);
|
|
99
98
|
const _config_11 = resolveRuntimeExtensions(_config_10, configuration?.extensions || []);
|
|
100
99
|
this.config = _config_11;
|
|
100
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
101
101
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
102
102
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
103
103
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -117,12 +117,12 @@ class TranscribeStreamingClient extends smithyClient.Client {
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
class TranscribeStreamingServiceException extends smithyClient.ServiceException {
|
|
120
|
+
let TranscribeStreamingServiceException$1 = class TranscribeStreamingServiceException extends smithyClient.ServiceException {
|
|
121
121
|
constructor(options) {
|
|
122
122
|
super(options);
|
|
123
123
|
Object.setPrototypeOf(this, TranscribeStreamingServiceException.prototype);
|
|
124
124
|
}
|
|
125
|
-
}
|
|
125
|
+
};
|
|
126
126
|
|
|
127
127
|
const ItemType = {
|
|
128
128
|
PRONUNCIATION: "pronunciation",
|
|
@@ -146,7 +146,7 @@ exports.AudioStream = void 0;
|
|
|
146
146
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
147
147
|
};
|
|
148
148
|
})(exports.AudioStream || (exports.AudioStream = {}));
|
|
149
|
-
class BadRequestException extends TranscribeStreamingServiceException {
|
|
149
|
+
let BadRequestException$1 = class BadRequestException extends TranscribeStreamingServiceException$1 {
|
|
150
150
|
name = "BadRequestException";
|
|
151
151
|
$fault = "client";
|
|
152
152
|
Message;
|
|
@@ -159,7 +159,7 @@ class BadRequestException extends TranscribeStreamingServiceException {
|
|
|
159
159
|
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
160
160
|
this.Message = opts.Message;
|
|
161
161
|
}
|
|
162
|
-
}
|
|
162
|
+
};
|
|
163
163
|
const CallAnalyticsLanguageCode = {
|
|
164
164
|
DE_DE: "de-DE",
|
|
165
165
|
EN_AU: "en-AU",
|
|
@@ -171,7 +171,7 @@ const CallAnalyticsLanguageCode = {
|
|
|
171
171
|
IT_IT: "it-IT",
|
|
172
172
|
PT_BR: "pt-BR",
|
|
173
173
|
};
|
|
174
|
-
class ConflictException extends TranscribeStreamingServiceException {
|
|
174
|
+
let ConflictException$1 = class ConflictException extends TranscribeStreamingServiceException$1 {
|
|
175
175
|
name = "ConflictException";
|
|
176
176
|
$fault = "client";
|
|
177
177
|
Message;
|
|
@@ -184,8 +184,8 @@ class ConflictException extends TranscribeStreamingServiceException {
|
|
|
184
184
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
185
185
|
this.Message = opts.Message;
|
|
186
186
|
}
|
|
187
|
-
}
|
|
188
|
-
class InternalFailureException extends TranscribeStreamingServiceException {
|
|
187
|
+
};
|
|
188
|
+
let InternalFailureException$1 = class InternalFailureException extends TranscribeStreamingServiceException$1 {
|
|
189
189
|
name = "InternalFailureException";
|
|
190
190
|
$fault = "server";
|
|
191
191
|
Message;
|
|
@@ -198,8 +198,8 @@ class InternalFailureException extends TranscribeStreamingServiceException {
|
|
|
198
198
|
Object.setPrototypeOf(this, InternalFailureException.prototype);
|
|
199
199
|
this.Message = opts.Message;
|
|
200
200
|
}
|
|
201
|
-
}
|
|
202
|
-
class LimitExceededException extends TranscribeStreamingServiceException {
|
|
201
|
+
};
|
|
202
|
+
let LimitExceededException$1 = class LimitExceededException extends TranscribeStreamingServiceException$1 {
|
|
203
203
|
name = "LimitExceededException";
|
|
204
204
|
$fault = "client";
|
|
205
205
|
Message;
|
|
@@ -212,8 +212,8 @@ class LimitExceededException extends TranscribeStreamingServiceException {
|
|
|
212
212
|
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
213
213
|
this.Message = opts.Message;
|
|
214
214
|
}
|
|
215
|
-
}
|
|
216
|
-
class ServiceUnavailableException extends TranscribeStreamingServiceException {
|
|
215
|
+
};
|
|
216
|
+
let ServiceUnavailableException$1 = class ServiceUnavailableException extends TranscribeStreamingServiceException$1 {
|
|
217
217
|
name = "ServiceUnavailableException";
|
|
218
218
|
$fault = "server";
|
|
219
219
|
Message;
|
|
@@ -226,7 +226,7 @@ class ServiceUnavailableException extends TranscribeStreamingServiceException {
|
|
|
226
226
|
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
227
227
|
this.Message = opts.Message;
|
|
228
228
|
}
|
|
229
|
-
}
|
|
229
|
+
};
|
|
230
230
|
const Sentiment = {
|
|
231
231
|
MIXED: "MIXED",
|
|
232
232
|
NEGATIVE: "NEGATIVE",
|
|
@@ -296,7 +296,7 @@ const MedicalScribeVocabularyFilterMethod = {
|
|
|
296
296
|
REMOVE: "remove",
|
|
297
297
|
TAG: "tag",
|
|
298
298
|
};
|
|
299
|
-
class ResourceNotFoundException extends TranscribeStreamingServiceException {
|
|
299
|
+
let ResourceNotFoundException$1 = class ResourceNotFoundException extends TranscribeStreamingServiceException$1 {
|
|
300
300
|
name = "ResourceNotFoundException";
|
|
301
301
|
$fault = "client";
|
|
302
302
|
Message;
|
|
@@ -309,7 +309,7 @@ class ResourceNotFoundException extends TranscribeStreamingServiceException {
|
|
|
309
309
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
310
310
|
this.Message = opts.Message;
|
|
311
311
|
}
|
|
312
|
-
}
|
|
312
|
+
};
|
|
313
313
|
const LanguageCode = {
|
|
314
314
|
AF_ZA: "af-ZA",
|
|
315
315
|
AR_AE: "ar-AE",
|
|
@@ -374,7 +374,7 @@ const MediaEncoding = {
|
|
|
374
374
|
const MedicalContentIdentificationType = {
|
|
375
375
|
PHI: "PHI",
|
|
376
376
|
};
|
|
377
|
-
const Pronouns = {
|
|
377
|
+
const Pronouns$1 = {
|
|
378
378
|
HE_HIM: "HE_HIM",
|
|
379
379
|
SHE_HER: "SHE_HER",
|
|
380
380
|
THEY_THEM: "THEY_THEM",
|
|
@@ -474,1094 +474,183 @@ exports.TranscriptResultStream = void 0;
|
|
|
474
474
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
475
475
|
};
|
|
476
476
|
})(exports.TranscriptResultStream || (exports.TranscriptResultStream = {}));
|
|
477
|
-
const AudioStreamFilterSensitiveLog = (obj) => {
|
|
478
|
-
if (obj.AudioEvent !== undefined)
|
|
479
|
-
return { AudioEvent: obj.AudioEvent };
|
|
480
|
-
if (obj.ConfigurationEvent !== undefined)
|
|
481
|
-
return { ConfigurationEvent: obj.ConfigurationEvent };
|
|
482
|
-
if (obj.$unknown !== undefined)
|
|
483
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
484
|
-
};
|
|
485
|
-
const CallAnalyticsTranscriptResultStreamFilterSensitiveLog = (obj) => {
|
|
486
|
-
if (obj.UtteranceEvent !== undefined)
|
|
487
|
-
return { UtteranceEvent: obj.UtteranceEvent };
|
|
488
|
-
if (obj.CategoryEvent !== undefined)
|
|
489
|
-
return { CategoryEvent: obj.CategoryEvent };
|
|
490
|
-
if (obj.BadRequestException !== undefined)
|
|
491
|
-
return { BadRequestException: obj.BadRequestException };
|
|
492
|
-
if (obj.LimitExceededException !== undefined)
|
|
493
|
-
return { LimitExceededException: obj.LimitExceededException };
|
|
494
|
-
if (obj.InternalFailureException !== undefined)
|
|
495
|
-
return { InternalFailureException: obj.InternalFailureException };
|
|
496
|
-
if (obj.ConflictException !== undefined)
|
|
497
|
-
return { ConflictException: obj.ConflictException };
|
|
498
|
-
if (obj.ServiceUnavailableException !== undefined)
|
|
499
|
-
return { ServiceUnavailableException: obj.ServiceUnavailableException };
|
|
500
|
-
if (obj.$unknown !== undefined)
|
|
501
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
502
|
-
};
|
|
503
|
-
const MedicalScribePatientContextFilterSensitiveLog = (obj) => ({
|
|
504
|
-
...obj,
|
|
505
|
-
...(obj.Pronouns && { Pronouns: smithyClient.SENSITIVE_STRING }),
|
|
506
|
-
});
|
|
507
|
-
const MedicalScribeContextFilterSensitiveLog = (obj) => ({
|
|
508
|
-
...obj,
|
|
509
|
-
...(obj.PatientContext && { PatientContext: MedicalScribePatientContextFilterSensitiveLog(obj.PatientContext) }),
|
|
510
|
-
});
|
|
511
|
-
const MedicalScribeConfigurationEventFilterSensitiveLog = (obj) => ({
|
|
512
|
-
...obj,
|
|
513
|
-
...(obj.MedicalScribeContext && {
|
|
514
|
-
MedicalScribeContext: MedicalScribeContextFilterSensitiveLog(obj.MedicalScribeContext),
|
|
515
|
-
}),
|
|
516
|
-
});
|
|
517
|
-
const MedicalScribeInputStreamFilterSensitiveLog = (obj) => {
|
|
518
|
-
if (obj.AudioEvent !== undefined)
|
|
519
|
-
return { AudioEvent: obj.AudioEvent };
|
|
520
|
-
if (obj.SessionControlEvent !== undefined)
|
|
521
|
-
return { SessionControlEvent: obj.SessionControlEvent };
|
|
522
|
-
if (obj.ConfigurationEvent !== undefined)
|
|
523
|
-
return { ConfigurationEvent: MedicalScribeConfigurationEventFilterSensitiveLog(obj.ConfigurationEvent) };
|
|
524
|
-
if (obj.$unknown !== undefined)
|
|
525
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
526
|
-
};
|
|
527
|
-
const MedicalScribeResultStreamFilterSensitiveLog = (obj) => {
|
|
528
|
-
if (obj.TranscriptEvent !== undefined)
|
|
529
|
-
return { TranscriptEvent: obj.TranscriptEvent };
|
|
530
|
-
if (obj.BadRequestException !== undefined)
|
|
531
|
-
return { BadRequestException: obj.BadRequestException };
|
|
532
|
-
if (obj.LimitExceededException !== undefined)
|
|
533
|
-
return { LimitExceededException: obj.LimitExceededException };
|
|
534
|
-
if (obj.InternalFailureException !== undefined)
|
|
535
|
-
return { InternalFailureException: obj.InternalFailureException };
|
|
536
|
-
if (obj.ConflictException !== undefined)
|
|
537
|
-
return { ConflictException: obj.ConflictException };
|
|
538
|
-
if (obj.ServiceUnavailableException !== undefined)
|
|
539
|
-
return { ServiceUnavailableException: obj.ServiceUnavailableException };
|
|
540
|
-
if (obj.$unknown !== undefined)
|
|
541
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
542
|
-
};
|
|
543
|
-
const MedicalTranscriptResultStreamFilterSensitiveLog = (obj) => {
|
|
544
|
-
if (obj.TranscriptEvent !== undefined)
|
|
545
|
-
return { TranscriptEvent: obj.TranscriptEvent };
|
|
546
|
-
if (obj.BadRequestException !== undefined)
|
|
547
|
-
return { BadRequestException: obj.BadRequestException };
|
|
548
|
-
if (obj.LimitExceededException !== undefined)
|
|
549
|
-
return { LimitExceededException: obj.LimitExceededException };
|
|
550
|
-
if (obj.InternalFailureException !== undefined)
|
|
551
|
-
return { InternalFailureException: obj.InternalFailureException };
|
|
552
|
-
if (obj.ConflictException !== undefined)
|
|
553
|
-
return { ConflictException: obj.ConflictException };
|
|
554
|
-
if (obj.ServiceUnavailableException !== undefined)
|
|
555
|
-
return { ServiceUnavailableException: obj.ServiceUnavailableException };
|
|
556
|
-
if (obj.$unknown !== undefined)
|
|
557
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
558
|
-
};
|
|
559
|
-
const StartCallAnalyticsStreamTranscriptionRequestFilterSensitiveLog = (obj) => ({
|
|
560
|
-
...obj,
|
|
561
|
-
...(obj.AudioStream && { AudioStream: "STREAMING_CONTENT" }),
|
|
562
|
-
});
|
|
563
|
-
const StartCallAnalyticsStreamTranscriptionResponseFilterSensitiveLog = (obj) => ({
|
|
564
|
-
...obj,
|
|
565
|
-
...(obj.CallAnalyticsTranscriptResultStream && { CallAnalyticsTranscriptResultStream: "STREAMING_CONTENT" }),
|
|
566
|
-
});
|
|
567
|
-
const StartMedicalScribeStreamRequestFilterSensitiveLog = (obj) => ({
|
|
568
|
-
...obj,
|
|
569
|
-
...(obj.InputStream && { InputStream: "STREAMING_CONTENT" }),
|
|
570
|
-
});
|
|
571
|
-
const StartMedicalScribeStreamResponseFilterSensitiveLog = (obj) => ({
|
|
572
|
-
...obj,
|
|
573
|
-
...(obj.ResultStream && { ResultStream: "STREAMING_CONTENT" }),
|
|
574
|
-
});
|
|
575
|
-
const StartMedicalStreamTranscriptionRequestFilterSensitiveLog = (obj) => ({
|
|
576
|
-
...obj,
|
|
577
|
-
...(obj.AudioStream && { AudioStream: "STREAMING_CONTENT" }),
|
|
578
|
-
});
|
|
579
|
-
const StartMedicalStreamTranscriptionResponseFilterSensitiveLog = (obj) => ({
|
|
580
|
-
...obj,
|
|
581
|
-
...(obj.TranscriptResultStream && { TranscriptResultStream: "STREAMING_CONTENT" }),
|
|
582
|
-
});
|
|
583
|
-
const StartStreamTranscriptionRequestFilterSensitiveLog = (obj) => ({
|
|
584
|
-
...obj,
|
|
585
|
-
...(obj.AudioStream && { AudioStream: "STREAMING_CONTENT" }),
|
|
586
|
-
});
|
|
587
|
-
const TranscriptResultStreamFilterSensitiveLog = (obj) => {
|
|
588
|
-
if (obj.TranscriptEvent !== undefined)
|
|
589
|
-
return { TranscriptEvent: obj.TranscriptEvent };
|
|
590
|
-
if (obj.BadRequestException !== undefined)
|
|
591
|
-
return { BadRequestException: obj.BadRequestException };
|
|
592
|
-
if (obj.LimitExceededException !== undefined)
|
|
593
|
-
return { LimitExceededException: obj.LimitExceededException };
|
|
594
|
-
if (obj.InternalFailureException !== undefined)
|
|
595
|
-
return { InternalFailureException: obj.InternalFailureException };
|
|
596
|
-
if (obj.ConflictException !== undefined)
|
|
597
|
-
return { ConflictException: obj.ConflictException };
|
|
598
|
-
if (obj.ServiceUnavailableException !== undefined)
|
|
599
|
-
return { ServiceUnavailableException: obj.ServiceUnavailableException };
|
|
600
|
-
if (obj.$unknown !== undefined)
|
|
601
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
602
|
-
};
|
|
603
|
-
const StartStreamTranscriptionResponseFilterSensitiveLog = (obj) => ({
|
|
604
|
-
...obj,
|
|
605
|
-
...(obj.TranscriptResultStream && { TranscriptResultStream: "STREAMING_CONTENT" }),
|
|
606
|
-
});
|
|
607
477
|
|
|
608
|
-
const
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
const
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
[_xatvn_]: input[_VNo],
|
|
633
|
-
[_xatvfn_]: input[_VFNo],
|
|
634
|
-
[_xateprs]: [() => smithyClient.isSerializableHeaderValue(input[_EPRS]), () => input[_EPRS].toString()],
|
|
635
|
-
[_xatprs]: input[_PRS],
|
|
636
|
-
[_xatcit]: input[_CIT],
|
|
637
|
-
[_xatcrt]: input[_CRT],
|
|
638
|
-
[_xatpet]: input[_PET],
|
|
639
|
-
});
|
|
640
|
-
b.bp("/call-analytics-stream-transcription");
|
|
641
|
-
let body;
|
|
642
|
-
if (input.AudioStream !== undefined) {
|
|
643
|
-
body = se_AudioStream(input.AudioStream, context);
|
|
644
|
-
}
|
|
645
|
-
b.m("POST").h(headers).b(body);
|
|
646
|
-
return b.build();
|
|
647
|
-
};
|
|
648
|
-
const se_StartMedicalScribeStreamCommand = async (input, context) => {
|
|
649
|
-
const b = core.requestBuilder(input, context);
|
|
650
|
-
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
651
|
-
"content-type": "application/json",
|
|
652
|
-
[_xatsi]: input[_SI],
|
|
653
|
-
[_xatlc]: input[_LC],
|
|
654
|
-
[_xatsr]: [() => smithyClient.isSerializableHeaderValue(input[_MSRH]), () => input[_MSRH].toString()],
|
|
655
|
-
[_xatme]: input[_ME],
|
|
656
|
-
});
|
|
657
|
-
b.bp("/medical-scribe-stream");
|
|
658
|
-
let body;
|
|
659
|
-
if (input.InputStream !== undefined) {
|
|
660
|
-
body = se_MedicalScribeInputStream(input.InputStream, context);
|
|
661
|
-
}
|
|
662
|
-
b.m("POST").h(headers).b(body);
|
|
663
|
-
return b.build();
|
|
664
|
-
};
|
|
665
|
-
const se_StartMedicalStreamTranscriptionCommand = async (input, context) => {
|
|
666
|
-
const b = core.requestBuilder(input, context);
|
|
667
|
-
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
668
|
-
"content-type": "application/json",
|
|
669
|
-
[_xatlc]: input[_LC],
|
|
670
|
-
[_xatsr]: [() => smithyClient.isSerializableHeaderValue(input[_MSRH]), () => input[_MSRH].toString()],
|
|
671
|
-
[_xatme]: input[_ME],
|
|
672
|
-
[_xatvn]: input[_VN],
|
|
673
|
-
[_xats]: input[_S],
|
|
674
|
-
[_xatt]: input[_T],
|
|
675
|
-
[_xatssl]: [() => smithyClient.isSerializableHeaderValue(input[_SSL]), () => input[_SSL].toString()],
|
|
676
|
-
[_xatsi]: input[_SI],
|
|
677
|
-
[_xateci]: [() => smithyClient.isSerializableHeaderValue(input[_ECI]), () => input[_ECI].toString()],
|
|
678
|
-
[_xatnoc]: [() => smithyClient.isSerializableHeaderValue(input[_NOC]), () => input[_NOC].toString()],
|
|
679
|
-
[_xatcit]: input[_CIT],
|
|
680
|
-
});
|
|
681
|
-
b.bp("/medical-stream-transcription");
|
|
682
|
-
let body;
|
|
683
|
-
if (input.AudioStream !== undefined) {
|
|
684
|
-
body = se_AudioStream(input.AudioStream, context);
|
|
685
|
-
}
|
|
686
|
-
b.m("POST").h(headers).b(body);
|
|
687
|
-
return b.build();
|
|
688
|
-
};
|
|
689
|
-
const se_StartStreamTranscriptionCommand = async (input, context) => {
|
|
690
|
-
const b = core.requestBuilder(input, context);
|
|
691
|
-
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
692
|
-
"content-type": "application/json",
|
|
693
|
-
[_xatlc]: input[_LC],
|
|
694
|
-
[_xatsr]: [() => smithyClient.isSerializableHeaderValue(input[_MSRH]), () => input[_MSRH].toString()],
|
|
695
|
-
[_xatme]: input[_ME],
|
|
696
|
-
[_xatvn]: input[_VN],
|
|
697
|
-
[_xatsi]: input[_SI],
|
|
698
|
-
[_xatvfn]: input[_VFN],
|
|
699
|
-
[_xatvfm]: input[_VFM],
|
|
700
|
-
[_xatssl]: [() => smithyClient.isSerializableHeaderValue(input[_SSL]), () => input[_SSL].toString()],
|
|
701
|
-
[_xateci]: [() => smithyClient.isSerializableHeaderValue(input[_ECI]), () => input[_ECI].toString()],
|
|
702
|
-
[_xatnoc]: [() => smithyClient.isSerializableHeaderValue(input[_NOC]), () => input[_NOC].toString()],
|
|
703
|
-
[_xateprs]: [() => smithyClient.isSerializableHeaderValue(input[_EPRS]), () => input[_EPRS].toString()],
|
|
704
|
-
[_xatprs]: input[_PRS],
|
|
705
|
-
[_xatcit]: input[_CIT],
|
|
706
|
-
[_xatcrt]: input[_CRT],
|
|
707
|
-
[_xatpet]: input[_PET],
|
|
708
|
-
[_xatlmn]: input[_LMN],
|
|
709
|
-
[_xatil]: [() => smithyClient.isSerializableHeaderValue(input[_IL]), () => input[_IL].toString()],
|
|
710
|
-
[_xatlo]: input[_LO],
|
|
711
|
-
[_xatpl]: input[_PL],
|
|
712
|
-
[_xatiml]: [() => smithyClient.isSerializableHeaderValue(input[_IML]), () => input[_IML].toString()],
|
|
713
|
-
[_xatvn_]: input[_VNo],
|
|
714
|
-
[_xatvfn_]: input[_VFNo],
|
|
715
|
-
});
|
|
716
|
-
b.bp("/stream-transcription");
|
|
717
|
-
let body;
|
|
718
|
-
if (input.AudioStream !== undefined) {
|
|
719
|
-
body = se_AudioStream(input.AudioStream, context);
|
|
720
|
-
}
|
|
721
|
-
b.m("POST").h(headers).b(body);
|
|
722
|
-
return b.build();
|
|
723
|
-
};
|
|
724
|
-
const de_GetMedicalScribeStreamCommand = async (output, context) => {
|
|
725
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
726
|
-
return de_CommandError(output, context);
|
|
727
|
-
}
|
|
728
|
-
const contents = smithyClient.map({
|
|
729
|
-
$metadata: deserializeMetadata(output),
|
|
730
|
-
});
|
|
731
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
732
|
-
const doc = smithyClient.take(data, {
|
|
733
|
-
MedicalScribeStreamDetails: (_) => de_MedicalScribeStreamDetails(_),
|
|
734
|
-
});
|
|
735
|
-
Object.assign(contents, doc);
|
|
736
|
-
return contents;
|
|
737
|
-
};
|
|
738
|
-
const de_StartCallAnalyticsStreamTranscriptionCommand = async (output, context) => {
|
|
739
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
740
|
-
return de_CommandError(output, context);
|
|
741
|
-
}
|
|
742
|
-
const contents = smithyClient.map({
|
|
743
|
-
$metadata: deserializeMetadata(output),
|
|
744
|
-
[_RI]: [, output.headers[_xari]],
|
|
745
|
-
[_LC]: [, output.headers[_xatlc]],
|
|
746
|
-
[_MSRH]: [() => void 0 !== output.headers[_xatsr], () => smithyClient.strictParseInt32(output.headers[_xatsr])],
|
|
747
|
-
[_ME]: [, output.headers[_xatme]],
|
|
748
|
-
[_VN]: [, output.headers[_xatvn]],
|
|
749
|
-
[_SI]: [, output.headers[_xatsi]],
|
|
750
|
-
[_VFN]: [, output.headers[_xatvfn]],
|
|
751
|
-
[_VFM]: [, output.headers[_xatvfm]],
|
|
752
|
-
[_LMN]: [, output.headers[_xatlmn]],
|
|
753
|
-
[_IL]: [() => void 0 !== output.headers[_xatil], () => smithyClient.parseBoolean(output.headers[_xatil])],
|
|
754
|
-
[_LO]: [, output.headers[_xatlo]],
|
|
755
|
-
[_PL]: [, output.headers[_xatpl]],
|
|
756
|
-
[_VNo]: [, output.headers[_xatvn_]],
|
|
757
|
-
[_VFNo]: [, output.headers[_xatvfn_]],
|
|
758
|
-
[_EPRS]: [() => void 0 !== output.headers[_xateprs], () => smithyClient.parseBoolean(output.headers[_xateprs])],
|
|
759
|
-
[_PRS]: [, output.headers[_xatprs]],
|
|
760
|
-
[_CIT]: [, output.headers[_xatcit]],
|
|
761
|
-
[_CRT]: [, output.headers[_xatcrt]],
|
|
762
|
-
[_PET]: [, output.headers[_xatpet]],
|
|
763
|
-
});
|
|
764
|
-
const data = output.body;
|
|
765
|
-
contents.CallAnalyticsTranscriptResultStream = de_CallAnalyticsTranscriptResultStream(data, context);
|
|
766
|
-
return contents;
|
|
767
|
-
};
|
|
768
|
-
const de_StartMedicalScribeStreamCommand = async (output, context) => {
|
|
769
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
770
|
-
return de_CommandError(output, context);
|
|
771
|
-
}
|
|
772
|
-
const contents = smithyClient.map({
|
|
773
|
-
$metadata: deserializeMetadata(output),
|
|
774
|
-
[_SI]: [, output.headers[_xatsi]],
|
|
775
|
-
[_RI]: [, output.headers[_xari]],
|
|
776
|
-
[_LC]: [, output.headers[_xatlc]],
|
|
777
|
-
[_MSRH]: [() => void 0 !== output.headers[_xatsr], () => smithyClient.strictParseInt32(output.headers[_xatsr])],
|
|
778
|
-
[_ME]: [, output.headers[_xatme]],
|
|
779
|
-
});
|
|
780
|
-
const data = output.body;
|
|
781
|
-
contents.ResultStream = de_MedicalScribeResultStream(data, context);
|
|
782
|
-
return contents;
|
|
783
|
-
};
|
|
784
|
-
const de_StartMedicalStreamTranscriptionCommand = async (output, context) => {
|
|
785
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
786
|
-
return de_CommandError(output, context);
|
|
787
|
-
}
|
|
788
|
-
const contents = smithyClient.map({
|
|
789
|
-
$metadata: deserializeMetadata(output),
|
|
790
|
-
[_RI]: [, output.headers[_xari]],
|
|
791
|
-
[_LC]: [, output.headers[_xatlc]],
|
|
792
|
-
[_MSRH]: [() => void 0 !== output.headers[_xatsr], () => smithyClient.strictParseInt32(output.headers[_xatsr])],
|
|
793
|
-
[_ME]: [, output.headers[_xatme]],
|
|
794
|
-
[_VN]: [, output.headers[_xatvn]],
|
|
795
|
-
[_S]: [, output.headers[_xats]],
|
|
796
|
-
[_T]: [, output.headers[_xatt]],
|
|
797
|
-
[_SSL]: [() => void 0 !== output.headers[_xatssl], () => smithyClient.parseBoolean(output.headers[_xatssl])],
|
|
798
|
-
[_SI]: [, output.headers[_xatsi]],
|
|
799
|
-
[_ECI]: [() => void 0 !== output.headers[_xateci], () => smithyClient.parseBoolean(output.headers[_xateci])],
|
|
800
|
-
[_NOC]: [() => void 0 !== output.headers[_xatnoc], () => smithyClient.strictParseInt32(output.headers[_xatnoc])],
|
|
801
|
-
[_CIT]: [, output.headers[_xatcit]],
|
|
802
|
-
});
|
|
803
|
-
const data = output.body;
|
|
804
|
-
contents.TranscriptResultStream = de_MedicalTranscriptResultStream(data, context);
|
|
805
|
-
return contents;
|
|
806
|
-
};
|
|
807
|
-
const de_StartStreamTranscriptionCommand = async (output, context) => {
|
|
808
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
809
|
-
return de_CommandError(output, context);
|
|
810
|
-
}
|
|
811
|
-
const contents = smithyClient.map({
|
|
812
|
-
$metadata: deserializeMetadata(output),
|
|
813
|
-
[_RI]: [, output.headers[_xari]],
|
|
814
|
-
[_LC]: [, output.headers[_xatlc]],
|
|
815
|
-
[_MSRH]: [() => void 0 !== output.headers[_xatsr], () => smithyClient.strictParseInt32(output.headers[_xatsr])],
|
|
816
|
-
[_ME]: [, output.headers[_xatme]],
|
|
817
|
-
[_VN]: [, output.headers[_xatvn]],
|
|
818
|
-
[_SI]: [, output.headers[_xatsi]],
|
|
819
|
-
[_VFN]: [, output.headers[_xatvfn]],
|
|
820
|
-
[_VFM]: [, output.headers[_xatvfm]],
|
|
821
|
-
[_SSL]: [() => void 0 !== output.headers[_xatssl], () => smithyClient.parseBoolean(output.headers[_xatssl])],
|
|
822
|
-
[_ECI]: [() => void 0 !== output.headers[_xateci], () => smithyClient.parseBoolean(output.headers[_xateci])],
|
|
823
|
-
[_NOC]: [() => void 0 !== output.headers[_xatnoc], () => smithyClient.strictParseInt32(output.headers[_xatnoc])],
|
|
824
|
-
[_EPRS]: [() => void 0 !== output.headers[_xateprs], () => smithyClient.parseBoolean(output.headers[_xateprs])],
|
|
825
|
-
[_PRS]: [, output.headers[_xatprs]],
|
|
826
|
-
[_CIT]: [, output.headers[_xatcit]],
|
|
827
|
-
[_CRT]: [, output.headers[_xatcrt]],
|
|
828
|
-
[_PET]: [, output.headers[_xatpet]],
|
|
829
|
-
[_LMN]: [, output.headers[_xatlmn]],
|
|
830
|
-
[_IL]: [() => void 0 !== output.headers[_xatil], () => smithyClient.parseBoolean(output.headers[_xatil])],
|
|
831
|
-
[_LO]: [, output.headers[_xatlo]],
|
|
832
|
-
[_PL]: [, output.headers[_xatpl]],
|
|
833
|
-
[_IML]: [() => void 0 !== output.headers[_xatiml], () => smithyClient.parseBoolean(output.headers[_xatiml])],
|
|
834
|
-
[_VNo]: [, output.headers[_xatvn_]],
|
|
835
|
-
[_VFNo]: [, output.headers[_xatvfn_]],
|
|
836
|
-
});
|
|
837
|
-
const data = output.body;
|
|
838
|
-
contents.TranscriptResultStream = de_TranscriptResultStream(data, context);
|
|
839
|
-
return contents;
|
|
840
|
-
};
|
|
841
|
-
const de_CommandError = async (output, context) => {
|
|
842
|
-
const parsedOutput = {
|
|
843
|
-
...output,
|
|
844
|
-
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
845
|
-
};
|
|
846
|
-
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
847
|
-
switch (errorCode) {
|
|
848
|
-
case "BadRequestException":
|
|
849
|
-
case "com.amazonaws.transcribestreaming#BadRequestException":
|
|
850
|
-
throw await de_BadRequestExceptionRes(parsedOutput);
|
|
851
|
-
case "InternalFailureException":
|
|
852
|
-
case "com.amazonaws.transcribestreaming#InternalFailureException":
|
|
853
|
-
throw await de_InternalFailureExceptionRes(parsedOutput);
|
|
854
|
-
case "LimitExceededException":
|
|
855
|
-
case "com.amazonaws.transcribestreaming#LimitExceededException":
|
|
856
|
-
throw await de_LimitExceededExceptionRes(parsedOutput);
|
|
857
|
-
case "ResourceNotFoundException":
|
|
858
|
-
case "com.amazonaws.transcribestreaming#ResourceNotFoundException":
|
|
859
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
860
|
-
case "ConflictException":
|
|
861
|
-
case "com.amazonaws.transcribestreaming#ConflictException":
|
|
862
|
-
throw await de_ConflictExceptionRes(parsedOutput);
|
|
863
|
-
case "ServiceUnavailableException":
|
|
864
|
-
case "com.amazonaws.transcribestreaming#ServiceUnavailableException":
|
|
865
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput);
|
|
866
|
-
default:
|
|
867
|
-
const parsedBody = parsedOutput.body;
|
|
868
|
-
return throwDefaultError({
|
|
869
|
-
output,
|
|
870
|
-
parsedBody,
|
|
871
|
-
errorCode,
|
|
872
|
-
});
|
|
873
|
-
}
|
|
874
|
-
};
|
|
875
|
-
const throwDefaultError = smithyClient.withBaseException(TranscribeStreamingServiceException);
|
|
876
|
-
const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
877
|
-
const contents = smithyClient.map({});
|
|
878
|
-
const data = parsedOutput.body;
|
|
879
|
-
const doc = smithyClient.take(data, {
|
|
880
|
-
Message: smithyClient.expectString,
|
|
881
|
-
});
|
|
882
|
-
Object.assign(contents, doc);
|
|
883
|
-
const exception = new BadRequestException({
|
|
884
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
885
|
-
...contents,
|
|
886
|
-
});
|
|
887
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
888
|
-
};
|
|
889
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
890
|
-
const contents = smithyClient.map({});
|
|
891
|
-
const data = parsedOutput.body;
|
|
892
|
-
const doc = smithyClient.take(data, {
|
|
893
|
-
Message: smithyClient.expectString,
|
|
894
|
-
});
|
|
895
|
-
Object.assign(contents, doc);
|
|
896
|
-
const exception = new ConflictException({
|
|
897
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
898
|
-
...contents,
|
|
899
|
-
});
|
|
900
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
901
|
-
};
|
|
902
|
-
const de_InternalFailureExceptionRes = async (parsedOutput, context) => {
|
|
903
|
-
const contents = smithyClient.map({});
|
|
904
|
-
const data = parsedOutput.body;
|
|
905
|
-
const doc = smithyClient.take(data, {
|
|
906
|
-
Message: smithyClient.expectString,
|
|
907
|
-
});
|
|
908
|
-
Object.assign(contents, doc);
|
|
909
|
-
const exception = new InternalFailureException({
|
|
910
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
911
|
-
...contents,
|
|
912
|
-
});
|
|
913
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
914
|
-
};
|
|
915
|
-
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
916
|
-
const contents = smithyClient.map({});
|
|
917
|
-
const data = parsedOutput.body;
|
|
918
|
-
const doc = smithyClient.take(data, {
|
|
919
|
-
Message: smithyClient.expectString,
|
|
920
|
-
});
|
|
921
|
-
Object.assign(contents, doc);
|
|
922
|
-
const exception = new LimitExceededException({
|
|
923
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
924
|
-
...contents,
|
|
925
|
-
});
|
|
926
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
927
|
-
};
|
|
928
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
929
|
-
const contents = smithyClient.map({});
|
|
930
|
-
const data = parsedOutput.body;
|
|
931
|
-
const doc = smithyClient.take(data, {
|
|
932
|
-
Message: smithyClient.expectString,
|
|
933
|
-
});
|
|
934
|
-
Object.assign(contents, doc);
|
|
935
|
-
const exception = new ResourceNotFoundException({
|
|
936
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
937
|
-
...contents,
|
|
938
|
-
});
|
|
939
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
940
|
-
};
|
|
941
|
-
const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
942
|
-
const contents = smithyClient.map({});
|
|
943
|
-
const data = parsedOutput.body;
|
|
944
|
-
const doc = smithyClient.take(data, {
|
|
945
|
-
Message: smithyClient.expectString,
|
|
946
|
-
});
|
|
947
|
-
Object.assign(contents, doc);
|
|
948
|
-
const exception = new ServiceUnavailableException({
|
|
949
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
950
|
-
...contents,
|
|
951
|
-
});
|
|
952
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
953
|
-
};
|
|
954
|
-
const se_AudioStream = (input, context) => {
|
|
955
|
-
const eventMarshallingVisitor = (event) => exports.AudioStream.visit(event, {
|
|
956
|
-
AudioEvent: (value) => se_AudioEvent_event(value),
|
|
957
|
-
ConfigurationEvent: (value) => se_ConfigurationEvent_event(value, context),
|
|
958
|
-
_: (value) => value,
|
|
959
|
-
});
|
|
960
|
-
return context.eventStreamMarshaller.serialize(input, eventMarshallingVisitor);
|
|
961
|
-
};
|
|
962
|
-
const se_MedicalScribeInputStream = (input, context) => {
|
|
963
|
-
const eventMarshallingVisitor = (event) => exports.MedicalScribeInputStream.visit(event, {
|
|
964
|
-
AudioEvent: (value) => se_MedicalScribeAudioEvent_event(value),
|
|
965
|
-
SessionControlEvent: (value) => se_MedicalScribeSessionControlEvent_event(value, context),
|
|
966
|
-
ConfigurationEvent: (value) => se_MedicalScribeConfigurationEvent_event(value, context),
|
|
967
|
-
_: (value) => value,
|
|
968
|
-
});
|
|
969
|
-
return context.eventStreamMarshaller.serialize(input, eventMarshallingVisitor);
|
|
970
|
-
};
|
|
971
|
-
const se_AudioEvent_event = (input, context) => {
|
|
972
|
-
const headers = {
|
|
973
|
-
":event-type": { type: "string", value: "AudioEvent" },
|
|
974
|
-
":message-type": { type: "string", value: "event" },
|
|
975
|
-
":content-type": { type: "string", value: "application/octet-stream" },
|
|
976
|
-
};
|
|
977
|
-
let body = new Uint8Array();
|
|
978
|
-
if (input.AudioChunk != null) {
|
|
979
|
-
body = input.AudioChunk;
|
|
980
|
-
}
|
|
981
|
-
return { headers, body };
|
|
982
|
-
};
|
|
983
|
-
const se_ConfigurationEvent_event = (input, context) => {
|
|
984
|
-
const headers = {
|
|
985
|
-
":event-type": { type: "string", value: "ConfigurationEvent" },
|
|
986
|
-
":message-type": { type: "string", value: "event" },
|
|
987
|
-
":content-type": { type: "string", value: "application/json" },
|
|
988
|
-
};
|
|
989
|
-
let body = new Uint8Array();
|
|
990
|
-
body = smithyClient._json(input);
|
|
991
|
-
body = context.utf8Decoder(JSON.stringify(body));
|
|
992
|
-
return { headers, body };
|
|
993
|
-
};
|
|
994
|
-
const se_MedicalScribeAudioEvent_event = (input, context) => {
|
|
995
|
-
const headers = {
|
|
996
|
-
":event-type": { type: "string", value: "AudioEvent" },
|
|
997
|
-
":message-type": { type: "string", value: "event" },
|
|
998
|
-
":content-type": { type: "string", value: "application/octet-stream" },
|
|
999
|
-
};
|
|
1000
|
-
let body = new Uint8Array();
|
|
1001
|
-
if (input.AudioChunk != null) {
|
|
1002
|
-
body = input.AudioChunk;
|
|
1003
|
-
}
|
|
1004
|
-
return { headers, body };
|
|
1005
|
-
};
|
|
1006
|
-
const se_MedicalScribeConfigurationEvent_event = (input, context) => {
|
|
1007
|
-
const headers = {
|
|
1008
|
-
":event-type": { type: "string", value: "ConfigurationEvent" },
|
|
1009
|
-
":message-type": { type: "string", value: "event" },
|
|
1010
|
-
":content-type": { type: "string", value: "application/json" },
|
|
1011
|
-
};
|
|
1012
|
-
let body = new Uint8Array();
|
|
1013
|
-
body = smithyClient._json(input);
|
|
1014
|
-
body = context.utf8Decoder(JSON.stringify(body));
|
|
1015
|
-
return { headers, body };
|
|
1016
|
-
};
|
|
1017
|
-
const se_MedicalScribeSessionControlEvent_event = (input, context) => {
|
|
1018
|
-
const headers = {
|
|
1019
|
-
":event-type": { type: "string", value: "SessionControlEvent" },
|
|
1020
|
-
":message-type": { type: "string", value: "event" },
|
|
1021
|
-
":content-type": { type: "string", value: "application/json" },
|
|
1022
|
-
};
|
|
1023
|
-
let body = new Uint8Array();
|
|
1024
|
-
body = smithyClient._json(input);
|
|
1025
|
-
body = context.utf8Decoder(JSON.stringify(body));
|
|
1026
|
-
return { headers, body };
|
|
1027
|
-
};
|
|
1028
|
-
const de_CallAnalyticsTranscriptResultStream = (output, context) => {
|
|
1029
|
-
return context.eventStreamMarshaller.deserialize(output, async (event) => {
|
|
1030
|
-
if (event["UtteranceEvent"] != null) {
|
|
1031
|
-
return {
|
|
1032
|
-
UtteranceEvent: await de_UtteranceEvent_event(event["UtteranceEvent"], context),
|
|
1033
|
-
};
|
|
1034
|
-
}
|
|
1035
|
-
if (event["CategoryEvent"] != null) {
|
|
1036
|
-
return {
|
|
1037
|
-
CategoryEvent: await de_CategoryEvent_event(event["CategoryEvent"], context),
|
|
1038
|
-
};
|
|
1039
|
-
}
|
|
1040
|
-
if (event["BadRequestException"] != null) {
|
|
1041
|
-
return {
|
|
1042
|
-
BadRequestException: await de_BadRequestException_event(event["BadRequestException"], context),
|
|
1043
|
-
};
|
|
1044
|
-
}
|
|
1045
|
-
if (event["LimitExceededException"] != null) {
|
|
1046
|
-
return {
|
|
1047
|
-
LimitExceededException: await de_LimitExceededException_event(event["LimitExceededException"], context),
|
|
1048
|
-
};
|
|
1049
|
-
}
|
|
1050
|
-
if (event["InternalFailureException"] != null) {
|
|
1051
|
-
return {
|
|
1052
|
-
InternalFailureException: await de_InternalFailureException_event(event["InternalFailureException"], context),
|
|
1053
|
-
};
|
|
1054
|
-
}
|
|
1055
|
-
if (event["ConflictException"] != null) {
|
|
1056
|
-
return {
|
|
1057
|
-
ConflictException: await de_ConflictException_event(event["ConflictException"], context),
|
|
1058
|
-
};
|
|
1059
|
-
}
|
|
1060
|
-
if (event["ServiceUnavailableException"] != null) {
|
|
1061
|
-
return {
|
|
1062
|
-
ServiceUnavailableException: await de_ServiceUnavailableException_event(event["ServiceUnavailableException"], context),
|
|
1063
|
-
};
|
|
1064
|
-
}
|
|
1065
|
-
return { $unknown: event };
|
|
1066
|
-
});
|
|
1067
|
-
};
|
|
1068
|
-
const de_MedicalScribeResultStream = (output, context) => {
|
|
1069
|
-
return context.eventStreamMarshaller.deserialize(output, async (event) => {
|
|
1070
|
-
if (event["TranscriptEvent"] != null) {
|
|
1071
|
-
return {
|
|
1072
|
-
TranscriptEvent: await de_MedicalScribeTranscriptEvent_event(event["TranscriptEvent"], context),
|
|
1073
|
-
};
|
|
1074
|
-
}
|
|
1075
|
-
if (event["BadRequestException"] != null) {
|
|
1076
|
-
return {
|
|
1077
|
-
BadRequestException: await de_BadRequestException_event(event["BadRequestException"], context),
|
|
1078
|
-
};
|
|
1079
|
-
}
|
|
1080
|
-
if (event["LimitExceededException"] != null) {
|
|
1081
|
-
return {
|
|
1082
|
-
LimitExceededException: await de_LimitExceededException_event(event["LimitExceededException"], context),
|
|
1083
|
-
};
|
|
1084
|
-
}
|
|
1085
|
-
if (event["InternalFailureException"] != null) {
|
|
1086
|
-
return {
|
|
1087
|
-
InternalFailureException: await de_InternalFailureException_event(event["InternalFailureException"], context),
|
|
1088
|
-
};
|
|
1089
|
-
}
|
|
1090
|
-
if (event["ConflictException"] != null) {
|
|
1091
|
-
return {
|
|
1092
|
-
ConflictException: await de_ConflictException_event(event["ConflictException"], context),
|
|
1093
|
-
};
|
|
1094
|
-
}
|
|
1095
|
-
if (event["ServiceUnavailableException"] != null) {
|
|
1096
|
-
return {
|
|
1097
|
-
ServiceUnavailableException: await de_ServiceUnavailableException_event(event["ServiceUnavailableException"], context),
|
|
1098
|
-
};
|
|
1099
|
-
}
|
|
1100
|
-
return { $unknown: event };
|
|
1101
|
-
});
|
|
1102
|
-
};
|
|
1103
|
-
const de_MedicalTranscriptResultStream = (output, context) => {
|
|
1104
|
-
return context.eventStreamMarshaller.deserialize(output, async (event) => {
|
|
1105
|
-
if (event["TranscriptEvent"] != null) {
|
|
1106
|
-
return {
|
|
1107
|
-
TranscriptEvent: await de_MedicalTranscriptEvent_event(event["TranscriptEvent"], context),
|
|
1108
|
-
};
|
|
1109
|
-
}
|
|
1110
|
-
if (event["BadRequestException"] != null) {
|
|
1111
|
-
return {
|
|
1112
|
-
BadRequestException: await de_BadRequestException_event(event["BadRequestException"], context),
|
|
1113
|
-
};
|
|
1114
|
-
}
|
|
1115
|
-
if (event["LimitExceededException"] != null) {
|
|
1116
|
-
return {
|
|
1117
|
-
LimitExceededException: await de_LimitExceededException_event(event["LimitExceededException"], context),
|
|
1118
|
-
};
|
|
1119
|
-
}
|
|
1120
|
-
if (event["InternalFailureException"] != null) {
|
|
1121
|
-
return {
|
|
1122
|
-
InternalFailureException: await de_InternalFailureException_event(event["InternalFailureException"], context),
|
|
1123
|
-
};
|
|
1124
|
-
}
|
|
1125
|
-
if (event["ConflictException"] != null) {
|
|
1126
|
-
return {
|
|
1127
|
-
ConflictException: await de_ConflictException_event(event["ConflictException"], context),
|
|
1128
|
-
};
|
|
1129
|
-
}
|
|
1130
|
-
if (event["ServiceUnavailableException"] != null) {
|
|
1131
|
-
return {
|
|
1132
|
-
ServiceUnavailableException: await de_ServiceUnavailableException_event(event["ServiceUnavailableException"], context),
|
|
1133
|
-
};
|
|
1134
|
-
}
|
|
1135
|
-
return { $unknown: event };
|
|
1136
|
-
});
|
|
1137
|
-
};
|
|
1138
|
-
const de_TranscriptResultStream = (output, context) => {
|
|
1139
|
-
return context.eventStreamMarshaller.deserialize(output, async (event) => {
|
|
1140
|
-
if (event["TranscriptEvent"] != null) {
|
|
1141
|
-
return {
|
|
1142
|
-
TranscriptEvent: await de_TranscriptEvent_event(event["TranscriptEvent"], context),
|
|
1143
|
-
};
|
|
1144
|
-
}
|
|
1145
|
-
if (event["BadRequestException"] != null) {
|
|
1146
|
-
return {
|
|
1147
|
-
BadRequestException: await de_BadRequestException_event(event["BadRequestException"], context),
|
|
1148
|
-
};
|
|
1149
|
-
}
|
|
1150
|
-
if (event["LimitExceededException"] != null) {
|
|
1151
|
-
return {
|
|
1152
|
-
LimitExceededException: await de_LimitExceededException_event(event["LimitExceededException"], context),
|
|
1153
|
-
};
|
|
1154
|
-
}
|
|
1155
|
-
if (event["InternalFailureException"] != null) {
|
|
1156
|
-
return {
|
|
1157
|
-
InternalFailureException: await de_InternalFailureException_event(event["InternalFailureException"], context),
|
|
1158
|
-
};
|
|
1159
|
-
}
|
|
1160
|
-
if (event["ConflictException"] != null) {
|
|
1161
|
-
return {
|
|
1162
|
-
ConflictException: await de_ConflictException_event(event["ConflictException"], context),
|
|
1163
|
-
};
|
|
1164
|
-
}
|
|
1165
|
-
if (event["ServiceUnavailableException"] != null) {
|
|
1166
|
-
return {
|
|
1167
|
-
ServiceUnavailableException: await de_ServiceUnavailableException_event(event["ServiceUnavailableException"], context),
|
|
1168
|
-
};
|
|
1169
|
-
}
|
|
1170
|
-
return { $unknown: event };
|
|
1171
|
-
});
|
|
1172
|
-
};
|
|
1173
|
-
const de_BadRequestException_event = async (output, context) => {
|
|
1174
|
-
const parsedOutput = {
|
|
1175
|
-
...output,
|
|
1176
|
-
body: await core$1.parseJsonBody(output.body, context),
|
|
1177
|
-
};
|
|
1178
|
-
return de_BadRequestExceptionRes(parsedOutput);
|
|
1179
|
-
};
|
|
1180
|
-
const de_CategoryEvent_event = async (output, context) => {
|
|
1181
|
-
const contents = {};
|
|
1182
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
1183
|
-
Object.assign(contents, smithyClient._json(data));
|
|
1184
|
-
return contents;
|
|
1185
|
-
};
|
|
1186
|
-
const de_ConflictException_event = async (output, context) => {
|
|
1187
|
-
const parsedOutput = {
|
|
1188
|
-
...output,
|
|
1189
|
-
body: await core$1.parseJsonBody(output.body, context),
|
|
1190
|
-
};
|
|
1191
|
-
return de_ConflictExceptionRes(parsedOutput);
|
|
1192
|
-
};
|
|
1193
|
-
const de_InternalFailureException_event = async (output, context) => {
|
|
1194
|
-
const parsedOutput = {
|
|
1195
|
-
...output,
|
|
1196
|
-
body: await core$1.parseJsonBody(output.body, context),
|
|
1197
|
-
};
|
|
1198
|
-
return de_InternalFailureExceptionRes(parsedOutput);
|
|
1199
|
-
};
|
|
1200
|
-
const de_LimitExceededException_event = async (output, context) => {
|
|
1201
|
-
const parsedOutput = {
|
|
1202
|
-
...output,
|
|
1203
|
-
body: await core$1.parseJsonBody(output.body, context),
|
|
1204
|
-
};
|
|
1205
|
-
return de_LimitExceededExceptionRes(parsedOutput);
|
|
1206
|
-
};
|
|
1207
|
-
const de_MedicalScribeTranscriptEvent_event = async (output, context) => {
|
|
1208
|
-
const contents = {};
|
|
1209
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
1210
|
-
Object.assign(contents, de_MedicalScribeTranscriptEvent(data));
|
|
1211
|
-
return contents;
|
|
1212
|
-
};
|
|
1213
|
-
const de_MedicalTranscriptEvent_event = async (output, context) => {
|
|
1214
|
-
const contents = {};
|
|
1215
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
1216
|
-
Object.assign(contents, de_MedicalTranscriptEvent(data));
|
|
1217
|
-
return contents;
|
|
1218
|
-
};
|
|
1219
|
-
const de_ServiceUnavailableException_event = async (output, context) => {
|
|
1220
|
-
const parsedOutput = {
|
|
1221
|
-
...output,
|
|
1222
|
-
body: await core$1.parseJsonBody(output.body, context),
|
|
1223
|
-
};
|
|
1224
|
-
return de_ServiceUnavailableExceptionRes(parsedOutput);
|
|
1225
|
-
};
|
|
1226
|
-
const de_TranscriptEvent_event = async (output, context) => {
|
|
1227
|
-
const contents = {};
|
|
1228
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
1229
|
-
Object.assign(contents, de_TranscriptEvent(data));
|
|
1230
|
-
return contents;
|
|
1231
|
-
};
|
|
1232
|
-
const de_UtteranceEvent_event = async (output, context) => {
|
|
1233
|
-
const contents = {};
|
|
1234
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
1235
|
-
Object.assign(contents, de_UtteranceEvent(data));
|
|
1236
|
-
return contents;
|
|
1237
|
-
};
|
|
1238
|
-
const de_Alternative = (output, context) => {
|
|
1239
|
-
return smithyClient.take(output, {
|
|
1240
|
-
Entities: (_) => de_EntityList(_),
|
|
1241
|
-
Items: (_) => de_ItemList(_),
|
|
1242
|
-
Transcript: smithyClient.expectString,
|
|
1243
|
-
});
|
|
1244
|
-
};
|
|
1245
|
-
const de_AlternativeList = (output, context) => {
|
|
1246
|
-
const retVal = (output || [])
|
|
1247
|
-
.filter((e) => e != null)
|
|
1248
|
-
.map((entry) => {
|
|
1249
|
-
return de_Alternative(entry);
|
|
1250
|
-
});
|
|
1251
|
-
return retVal;
|
|
1252
|
-
};
|
|
1253
|
-
const de_CallAnalyticsEntity = (output, context) => {
|
|
1254
|
-
return smithyClient.take(output, {
|
|
1255
|
-
BeginOffsetMillis: smithyClient.expectLong,
|
|
1256
|
-
Category: smithyClient.expectString,
|
|
1257
|
-
Confidence: smithyClient.limitedParseDouble,
|
|
1258
|
-
Content: smithyClient.expectString,
|
|
1259
|
-
EndOffsetMillis: smithyClient.expectLong,
|
|
1260
|
-
Type: smithyClient.expectString,
|
|
1261
|
-
});
|
|
1262
|
-
};
|
|
1263
|
-
const de_CallAnalyticsEntityList = (output, context) => {
|
|
1264
|
-
const retVal = (output || [])
|
|
1265
|
-
.filter((e) => e != null)
|
|
1266
|
-
.map((entry) => {
|
|
1267
|
-
return de_CallAnalyticsEntity(entry);
|
|
1268
|
-
});
|
|
1269
|
-
return retVal;
|
|
1270
|
-
};
|
|
1271
|
-
const de_CallAnalyticsItem = (output, context) => {
|
|
1272
|
-
return smithyClient.take(output, {
|
|
1273
|
-
BeginOffsetMillis: smithyClient.expectLong,
|
|
1274
|
-
Confidence: smithyClient.limitedParseDouble,
|
|
1275
|
-
Content: smithyClient.expectString,
|
|
1276
|
-
EndOffsetMillis: smithyClient.expectLong,
|
|
1277
|
-
Stable: smithyClient.expectBoolean,
|
|
1278
|
-
Type: smithyClient.expectString,
|
|
1279
|
-
VocabularyFilterMatch: smithyClient.expectBoolean,
|
|
1280
|
-
});
|
|
1281
|
-
};
|
|
1282
|
-
const de_CallAnalyticsItemList = (output, context) => {
|
|
1283
|
-
const retVal = (output || [])
|
|
1284
|
-
.filter((e) => e != null)
|
|
1285
|
-
.map((entry) => {
|
|
1286
|
-
return de_CallAnalyticsItem(entry);
|
|
1287
|
-
});
|
|
1288
|
-
return retVal;
|
|
1289
|
-
};
|
|
1290
|
-
const de_CallAnalyticsLanguageIdentification = (output, context) => {
|
|
1291
|
-
const retVal = (output || [])
|
|
1292
|
-
.filter((e) => e != null)
|
|
1293
|
-
.map((entry) => {
|
|
1294
|
-
return de_CallAnalyticsLanguageWithScore(entry);
|
|
1295
|
-
});
|
|
1296
|
-
return retVal;
|
|
1297
|
-
};
|
|
1298
|
-
const de_CallAnalyticsLanguageWithScore = (output, context) => {
|
|
1299
|
-
return smithyClient.take(output, {
|
|
1300
|
-
LanguageCode: smithyClient.expectString,
|
|
1301
|
-
Score: smithyClient.limitedParseDouble,
|
|
1302
|
-
});
|
|
1303
|
-
};
|
|
1304
|
-
const de_Entity = (output, context) => {
|
|
1305
|
-
return smithyClient.take(output, {
|
|
1306
|
-
Category: smithyClient.expectString,
|
|
1307
|
-
Confidence: smithyClient.limitedParseDouble,
|
|
1308
|
-
Content: smithyClient.expectString,
|
|
1309
|
-
EndTime: smithyClient.limitedParseDouble,
|
|
1310
|
-
StartTime: smithyClient.limitedParseDouble,
|
|
1311
|
-
Type: smithyClient.expectString,
|
|
1312
|
-
});
|
|
1313
|
-
};
|
|
1314
|
-
const de_EntityList = (output, context) => {
|
|
1315
|
-
const retVal = (output || [])
|
|
1316
|
-
.filter((e) => e != null)
|
|
1317
|
-
.map((entry) => {
|
|
1318
|
-
return de_Entity(entry);
|
|
1319
|
-
});
|
|
1320
|
-
return retVal;
|
|
1321
|
-
};
|
|
1322
|
-
const de_Item = (output, context) => {
|
|
1323
|
-
return smithyClient.take(output, {
|
|
1324
|
-
Confidence: smithyClient.limitedParseDouble,
|
|
1325
|
-
Content: smithyClient.expectString,
|
|
1326
|
-
EndTime: smithyClient.limitedParseDouble,
|
|
1327
|
-
Speaker: smithyClient.expectString,
|
|
1328
|
-
Stable: smithyClient.expectBoolean,
|
|
1329
|
-
StartTime: smithyClient.limitedParseDouble,
|
|
1330
|
-
Type: smithyClient.expectString,
|
|
1331
|
-
VocabularyFilterMatch: smithyClient.expectBoolean,
|
|
1332
|
-
});
|
|
1333
|
-
};
|
|
1334
|
-
const de_ItemList = (output, context) => {
|
|
1335
|
-
const retVal = (output || [])
|
|
1336
|
-
.filter((e) => e != null)
|
|
1337
|
-
.map((entry) => {
|
|
1338
|
-
return de_Item(entry);
|
|
1339
|
-
});
|
|
1340
|
-
return retVal;
|
|
1341
|
-
};
|
|
1342
|
-
const de_LanguageIdentification = (output, context) => {
|
|
1343
|
-
const retVal = (output || [])
|
|
1344
|
-
.filter((e) => e != null)
|
|
1345
|
-
.map((entry) => {
|
|
1346
|
-
return de_LanguageWithScore(entry);
|
|
1347
|
-
});
|
|
1348
|
-
return retVal;
|
|
1349
|
-
};
|
|
1350
|
-
const de_LanguageWithScore = (output, context) => {
|
|
1351
|
-
return smithyClient.take(output, {
|
|
1352
|
-
LanguageCode: smithyClient.expectString,
|
|
1353
|
-
Score: smithyClient.limitedParseDouble,
|
|
1354
|
-
});
|
|
1355
|
-
};
|
|
1356
|
-
const de_MedicalAlternative = (output, context) => {
|
|
1357
|
-
return smithyClient.take(output, {
|
|
1358
|
-
Entities: (_) => de_MedicalEntityList(_),
|
|
1359
|
-
Items: (_) => de_MedicalItemList(_),
|
|
1360
|
-
Transcript: smithyClient.expectString,
|
|
1361
|
-
});
|
|
1362
|
-
};
|
|
1363
|
-
const de_MedicalAlternativeList = (output, context) => {
|
|
1364
|
-
const retVal = (output || [])
|
|
1365
|
-
.filter((e) => e != null)
|
|
1366
|
-
.map((entry) => {
|
|
1367
|
-
return de_MedicalAlternative(entry);
|
|
1368
|
-
});
|
|
1369
|
-
return retVal;
|
|
1370
|
-
};
|
|
1371
|
-
const de_MedicalEntity = (output, context) => {
|
|
1372
|
-
return smithyClient.take(output, {
|
|
1373
|
-
Category: smithyClient.expectString,
|
|
1374
|
-
Confidence: smithyClient.limitedParseDouble,
|
|
1375
|
-
Content: smithyClient.expectString,
|
|
1376
|
-
EndTime: smithyClient.limitedParseDouble,
|
|
1377
|
-
StartTime: smithyClient.limitedParseDouble,
|
|
1378
|
-
});
|
|
1379
|
-
};
|
|
1380
|
-
const de_MedicalEntityList = (output, context) => {
|
|
1381
|
-
const retVal = (output || [])
|
|
1382
|
-
.filter((e) => e != null)
|
|
1383
|
-
.map((entry) => {
|
|
1384
|
-
return de_MedicalEntity(entry);
|
|
1385
|
-
});
|
|
1386
|
-
return retVal;
|
|
1387
|
-
};
|
|
1388
|
-
const de_MedicalItem = (output, context) => {
|
|
1389
|
-
return smithyClient.take(output, {
|
|
1390
|
-
Confidence: smithyClient.limitedParseDouble,
|
|
1391
|
-
Content: smithyClient.expectString,
|
|
1392
|
-
EndTime: smithyClient.limitedParseDouble,
|
|
1393
|
-
Speaker: smithyClient.expectString,
|
|
1394
|
-
StartTime: smithyClient.limitedParseDouble,
|
|
1395
|
-
Type: smithyClient.expectString,
|
|
1396
|
-
});
|
|
1397
|
-
};
|
|
1398
|
-
const de_MedicalItemList = (output, context) => {
|
|
1399
|
-
const retVal = (output || [])
|
|
1400
|
-
.filter((e) => e != null)
|
|
1401
|
-
.map((entry) => {
|
|
1402
|
-
return de_MedicalItem(entry);
|
|
1403
|
-
});
|
|
1404
|
-
return retVal;
|
|
1405
|
-
};
|
|
1406
|
-
const de_MedicalResult = (output, context) => {
|
|
1407
|
-
return smithyClient.take(output, {
|
|
1408
|
-
Alternatives: (_) => de_MedicalAlternativeList(_),
|
|
1409
|
-
ChannelId: smithyClient.expectString,
|
|
1410
|
-
EndTime: smithyClient.limitedParseDouble,
|
|
1411
|
-
IsPartial: smithyClient.expectBoolean,
|
|
1412
|
-
ResultId: smithyClient.expectString,
|
|
1413
|
-
StartTime: smithyClient.limitedParseDouble,
|
|
1414
|
-
});
|
|
1415
|
-
};
|
|
1416
|
-
const de_MedicalResultList = (output, context) => {
|
|
1417
|
-
const retVal = (output || [])
|
|
1418
|
-
.filter((e) => e != null)
|
|
1419
|
-
.map((entry) => {
|
|
1420
|
-
return de_MedicalResult(entry);
|
|
1421
|
-
});
|
|
1422
|
-
return retVal;
|
|
1423
|
-
};
|
|
1424
|
-
const de_MedicalScribeStreamDetails = (output, context) => {
|
|
1425
|
-
return smithyClient.take(output, {
|
|
1426
|
-
ChannelDefinitions: smithyClient._json,
|
|
1427
|
-
EncryptionSettings: smithyClient._json,
|
|
1428
|
-
LanguageCode: smithyClient.expectString,
|
|
1429
|
-
MediaEncoding: smithyClient.expectString,
|
|
1430
|
-
MediaSampleRateHertz: smithyClient.expectInt32,
|
|
1431
|
-
MedicalScribeContextProvided: smithyClient.expectBoolean,
|
|
1432
|
-
PostStreamAnalyticsResult: smithyClient._json,
|
|
1433
|
-
PostStreamAnalyticsSettings: smithyClient._json,
|
|
1434
|
-
ResourceAccessRoleArn: smithyClient.expectString,
|
|
1435
|
-
SessionId: smithyClient.expectString,
|
|
1436
|
-
StreamCreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1437
|
-
StreamEndedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1438
|
-
StreamStatus: smithyClient.expectString,
|
|
1439
|
-
VocabularyFilterMethod: smithyClient.expectString,
|
|
1440
|
-
VocabularyFilterName: smithyClient.expectString,
|
|
1441
|
-
VocabularyName: smithyClient.expectString,
|
|
1442
|
-
});
|
|
1443
|
-
};
|
|
1444
|
-
const de_MedicalScribeTranscriptEvent = (output, context) => {
|
|
1445
|
-
return smithyClient.take(output, {
|
|
1446
|
-
TranscriptSegment: (_) => de_MedicalScribeTranscriptSegment(_),
|
|
1447
|
-
});
|
|
1448
|
-
};
|
|
1449
|
-
const de_MedicalScribeTranscriptItem = (output, context) => {
|
|
1450
|
-
return smithyClient.take(output, {
|
|
1451
|
-
BeginAudioTime: smithyClient.limitedParseDouble,
|
|
1452
|
-
Confidence: smithyClient.limitedParseDouble,
|
|
1453
|
-
Content: smithyClient.expectString,
|
|
1454
|
-
EndAudioTime: smithyClient.limitedParseDouble,
|
|
1455
|
-
Type: smithyClient.expectString,
|
|
1456
|
-
VocabularyFilterMatch: smithyClient.expectBoolean,
|
|
1457
|
-
});
|
|
1458
|
-
};
|
|
1459
|
-
const de_MedicalScribeTranscriptItemList = (output, context) => {
|
|
1460
|
-
const retVal = (output || [])
|
|
1461
|
-
.filter((e) => e != null)
|
|
1462
|
-
.map((entry) => {
|
|
1463
|
-
return de_MedicalScribeTranscriptItem(entry);
|
|
1464
|
-
});
|
|
1465
|
-
return retVal;
|
|
1466
|
-
};
|
|
1467
|
-
const de_MedicalScribeTranscriptSegment = (output, context) => {
|
|
1468
|
-
return smithyClient.take(output, {
|
|
1469
|
-
BeginAudioTime: smithyClient.limitedParseDouble,
|
|
1470
|
-
ChannelId: smithyClient.expectString,
|
|
1471
|
-
Content: smithyClient.expectString,
|
|
1472
|
-
EndAudioTime: smithyClient.limitedParseDouble,
|
|
1473
|
-
IsPartial: smithyClient.expectBoolean,
|
|
1474
|
-
Items: (_) => de_MedicalScribeTranscriptItemList(_),
|
|
1475
|
-
SegmentId: smithyClient.expectString,
|
|
1476
|
-
});
|
|
1477
|
-
};
|
|
1478
|
-
const de_MedicalTranscript = (output, context) => {
|
|
1479
|
-
return smithyClient.take(output, {
|
|
1480
|
-
Results: (_) => de_MedicalResultList(_),
|
|
1481
|
-
});
|
|
1482
|
-
};
|
|
1483
|
-
const de_MedicalTranscriptEvent = (output, context) => {
|
|
1484
|
-
return smithyClient.take(output, {
|
|
1485
|
-
Transcript: (_) => de_MedicalTranscript(_),
|
|
1486
|
-
});
|
|
1487
|
-
};
|
|
1488
|
-
const de_Result = (output, context) => {
|
|
1489
|
-
return smithyClient.take(output, {
|
|
1490
|
-
Alternatives: (_) => de_AlternativeList(_),
|
|
1491
|
-
ChannelId: smithyClient.expectString,
|
|
1492
|
-
EndTime: smithyClient.limitedParseDouble,
|
|
1493
|
-
IsPartial: smithyClient.expectBoolean,
|
|
1494
|
-
LanguageCode: smithyClient.expectString,
|
|
1495
|
-
LanguageIdentification: (_) => de_LanguageIdentification(_),
|
|
1496
|
-
ResultId: smithyClient.expectString,
|
|
1497
|
-
StartTime: smithyClient.limitedParseDouble,
|
|
1498
|
-
});
|
|
1499
|
-
};
|
|
1500
|
-
const de_ResultList = (output, context) => {
|
|
1501
|
-
const retVal = (output || [])
|
|
1502
|
-
.filter((e) => e != null)
|
|
1503
|
-
.map((entry) => {
|
|
1504
|
-
return de_Result(entry);
|
|
1505
|
-
});
|
|
1506
|
-
return retVal;
|
|
1507
|
-
};
|
|
1508
|
-
const de_Transcript = (output, context) => {
|
|
1509
|
-
return smithyClient.take(output, {
|
|
1510
|
-
Results: (_) => de_ResultList(_),
|
|
1511
|
-
});
|
|
1512
|
-
};
|
|
1513
|
-
const de_TranscriptEvent = (output, context) => {
|
|
1514
|
-
return smithyClient.take(output, {
|
|
1515
|
-
Transcript: (_) => de_Transcript(_),
|
|
1516
|
-
});
|
|
1517
|
-
};
|
|
1518
|
-
const de_UtteranceEvent = (output, context) => {
|
|
1519
|
-
return smithyClient.take(output, {
|
|
1520
|
-
BeginOffsetMillis: smithyClient.expectLong,
|
|
1521
|
-
EndOffsetMillis: smithyClient.expectLong,
|
|
1522
|
-
Entities: (_) => de_CallAnalyticsEntityList(_),
|
|
1523
|
-
IsPartial: smithyClient.expectBoolean,
|
|
1524
|
-
IssuesDetected: smithyClient._json,
|
|
1525
|
-
Items: (_) => de_CallAnalyticsItemList(_),
|
|
1526
|
-
LanguageCode: smithyClient.expectString,
|
|
1527
|
-
LanguageIdentification: (_) => de_CallAnalyticsLanguageIdentification(_),
|
|
1528
|
-
ParticipantRole: smithyClient.expectString,
|
|
1529
|
-
Sentiment: smithyClient.expectString,
|
|
1530
|
-
Transcript: smithyClient.expectString,
|
|
1531
|
-
UtteranceId: smithyClient.expectString,
|
|
1532
|
-
});
|
|
1533
|
-
};
|
|
1534
|
-
const deserializeMetadata = (output) => ({
|
|
1535
|
-
httpStatusCode: output.statusCode,
|
|
1536
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1537
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1538
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
1539
|
-
});
|
|
478
|
+
const _A = "Alternative";
|
|
479
|
+
const _AC = "AudioChunk";
|
|
480
|
+
const _AE = "AudioEvent";
|
|
481
|
+
const _AL = "AlternativeList";
|
|
482
|
+
const _AS = "AudioStream";
|
|
483
|
+
const _Al = "Alternatives";
|
|
484
|
+
const _B = "Begin";
|
|
485
|
+
const _BAT = "BeginAudioTime";
|
|
486
|
+
const _BOM = "BeginOffsetMillis";
|
|
487
|
+
const _BRE = "BadRequestException";
|
|
488
|
+
const _C = "Category";
|
|
489
|
+
const _CAE = "CallAnalyticsEntity";
|
|
490
|
+
const _CAEL = "CallAnalyticsEntityList";
|
|
491
|
+
const _CAI = "CallAnalyticsItem";
|
|
492
|
+
const _CAIL = "CallAnalyticsItemList";
|
|
493
|
+
const _CALI = "CallAnalyticsLanguageIdentification";
|
|
494
|
+
const _CALWS = "CallAnalyticsLanguageWithScore";
|
|
495
|
+
const _CATRS = "CallAnalyticsTranscriptResultStream";
|
|
496
|
+
const _CD = "ChannelDefinition";
|
|
497
|
+
const _CDh = "ChannelDefinitions";
|
|
498
|
+
const _CE = "CategoryEvent";
|
|
499
|
+
const _CEo = "ConfigurationEvent";
|
|
500
|
+
const _CEon = "ConflictException";
|
|
501
|
+
const _CI = "ChannelId";
|
|
1540
502
|
const _CIT = "ContentIdentificationType";
|
|
503
|
+
const _CNGR = "ClinicalNoteGenerationResult";
|
|
504
|
+
const _CNGS = "ClinicalNoteGenerationSettings";
|
|
505
|
+
const _CNOL = "ClinicalNoteOutputLocation";
|
|
506
|
+
const _CO = "CharacterOffsets";
|
|
507
|
+
const _CRO = "ContentRedactionOutput";
|
|
1541
508
|
const _CRT = "ContentRedactionType";
|
|
509
|
+
const _Co = "Content";
|
|
510
|
+
const _Con = "Confidence";
|
|
511
|
+
const _DARA = "DataAccessRoleArn";
|
|
512
|
+
const _E = "Entities";
|
|
513
|
+
const _EAT = "EndAudioTime";
|
|
1542
514
|
const _ECI = "EnableChannelIdentification";
|
|
515
|
+
const _EL = "EntityList";
|
|
516
|
+
const _EOM = "EndOffsetMillis";
|
|
1543
517
|
const _EPRS = "EnablePartialResultsStabilization";
|
|
518
|
+
const _ES = "EncryptionSettings";
|
|
519
|
+
const _ET = "EndTime";
|
|
520
|
+
const _En = "End";
|
|
521
|
+
const _Ent = "Entity";
|
|
522
|
+
const _FR = "FailureReason";
|
|
523
|
+
const _GMSS = "GetMedicalScribeStream";
|
|
524
|
+
const _GMSSR = "GetMedicalScribeStreamRequest";
|
|
525
|
+
const _GMSSRe = "GetMedicalScribeStreamResponse";
|
|
526
|
+
const _I = "Items";
|
|
527
|
+
const _ID = "IssueDetected";
|
|
528
|
+
const _IDs = "IssuesDetected";
|
|
529
|
+
const _IFE = "InternalFailureException";
|
|
1544
530
|
const _IL = "IdentifyLanguage";
|
|
531
|
+
const _ILt = "ItemList";
|
|
1545
532
|
const _IML = "IdentifyMultipleLanguages";
|
|
533
|
+
const _IP = "IsPartial";
|
|
534
|
+
const _IS = "InputStream";
|
|
535
|
+
const _It = "Item";
|
|
536
|
+
const _KEC = "KmsEncryptionContext";
|
|
537
|
+
const _KKI = "KmsKeyId";
|
|
1546
538
|
const _LC = "LanguageCode";
|
|
539
|
+
const _LEE = "LimitExceededException";
|
|
540
|
+
const _LI = "LanguageIdentification";
|
|
1547
541
|
const _LMN = "LanguageModelName";
|
|
1548
542
|
const _LO = "LanguageOptions";
|
|
1549
|
-
const
|
|
543
|
+
const _LWS = "LanguageWithScore";
|
|
544
|
+
const _M = "Message";
|
|
545
|
+
const _MA = "MedicalAlternative";
|
|
546
|
+
const _MAL = "MedicalAlternativeList";
|
|
547
|
+
const _MC = "MatchedCategories";
|
|
548
|
+
const _MCD = "MatchedCategoryDetails";
|
|
549
|
+
const _MD = "MatchedDetails";
|
|
550
|
+
const _ME = "MedicalEntity";
|
|
551
|
+
const _MEL = "MedicalEntityList";
|
|
552
|
+
const _MEe = "MediaEncoding";
|
|
553
|
+
const _MI = "MedicalItem";
|
|
554
|
+
const _MIL = "MedicalItemList";
|
|
555
|
+
const _MR = "MedicalResult";
|
|
556
|
+
const _MRL = "MedicalResultList";
|
|
557
|
+
const _MSAE = "MedicalScribeAudioEvent";
|
|
558
|
+
const _MSC = "MedicalScribeContext";
|
|
559
|
+
const _MSCD = "MedicalScribeChannelDefinition";
|
|
560
|
+
const _MSCDe = "MedicalScribeChannelDefinitions";
|
|
561
|
+
const _MSCE = "MedicalScribeConfigurationEvent";
|
|
562
|
+
const _MSCP = "MedicalScribeContextProvided";
|
|
563
|
+
const _MSES = "MedicalScribeEncryptionSettings";
|
|
564
|
+
const _MSIS = "MedicalScribeInputStream";
|
|
565
|
+
const _MSPC = "MedicalScribePatientContext";
|
|
566
|
+
const _MSPSAR = "MedicalScribePostStreamAnalyticsResult";
|
|
567
|
+
const _MSPSAS = "MedicalScribePostStreamAnalyticsSettings";
|
|
1550
568
|
const _MSRH = "MediaSampleRateHertz";
|
|
569
|
+
const _MSRS = "MedicalScribeResultStream";
|
|
570
|
+
const _MSSCE = "MedicalScribeSessionControlEvent";
|
|
571
|
+
const _MSSD = "MedicalScribeStreamDetails";
|
|
572
|
+
const _MSTE = "MedicalScribeTranscriptEvent";
|
|
573
|
+
const _MSTI = "MedicalScribeTranscriptItem";
|
|
574
|
+
const _MSTIL = "MedicalScribeTranscriptItemList";
|
|
575
|
+
const _MSTS = "MedicalScribeTranscriptSegment";
|
|
576
|
+
const _MT = "MedicalTranscript";
|
|
577
|
+
const _MTE = "MedicalTranscriptEvent";
|
|
578
|
+
const _MTRS = "MedicalTranscriptResultStream";
|
|
1551
579
|
const _NOC = "NumberOfChannels";
|
|
580
|
+
const _NT = "NoteTemplate";
|
|
581
|
+
const _OBN = "OutputBucketName";
|
|
582
|
+
const _OEKMSKI = "OutputEncryptionKMSKeyId";
|
|
583
|
+
const _OL = "OutputLocation";
|
|
584
|
+
const _P = "Pronouns";
|
|
585
|
+
const _PC = "PatientContext";
|
|
586
|
+
const _PCAS = "PostCallAnalyticsSettings";
|
|
1552
587
|
const _PET = "PiiEntityTypes";
|
|
1553
588
|
const _PL = "PreferredLanguage";
|
|
589
|
+
const _POI = "PointsOfInterest";
|
|
590
|
+
const _PR = "ParticipantRole";
|
|
1554
591
|
const _PRS = "PartialResultsStability";
|
|
1555
|
-
const
|
|
1556
|
-
const
|
|
592
|
+
const _PSAR = "PostStreamAnalyticsResult";
|
|
593
|
+
const _PSAS = "PostStreamAnalyticsSettings";
|
|
594
|
+
const _R = "Results";
|
|
595
|
+
const _RARA = "ResourceAccessRoleArn";
|
|
596
|
+
const _RI = "ResultId";
|
|
597
|
+
const _RIe = "RequestId";
|
|
598
|
+
const _RL = "ResultList";
|
|
599
|
+
const _RNFE = "ResourceNotFoundException";
|
|
600
|
+
const _RS = "ResultStream";
|
|
601
|
+
const _Re = "Result";
|
|
602
|
+
const _S = "Stable";
|
|
603
|
+
const _SCA = "StreamCreatedAt";
|
|
604
|
+
const _SCAST = "StartCallAnalyticsStreamTranscription";
|
|
605
|
+
const _SCASTR = "StartCallAnalyticsStreamTranscriptionRequest";
|
|
606
|
+
const _SCASTRt = "StartCallAnalyticsStreamTranscriptionResponse";
|
|
607
|
+
const _SCE = "SessionControlEvent";
|
|
608
|
+
const _SEA = "StreamEndedAt";
|
|
1557
609
|
const _SI = "SessionId";
|
|
610
|
+
const _SIe = "SegmentId";
|
|
611
|
+
const _SMSS = "StartMedicalScribeStream";
|
|
612
|
+
const _SMSSR = "StartMedicalScribeStreamRequest";
|
|
613
|
+
const _SMSSRt = "StartMedicalScribeStreamResponse";
|
|
614
|
+
const _SMST = "StartMedicalStreamTranscription";
|
|
615
|
+
const _SMSTR = "StartMedicalStreamTranscriptionRequest";
|
|
616
|
+
const _SMSTRt = "StartMedicalStreamTranscriptionResponse";
|
|
617
|
+
const _SS = "StreamStatus";
|
|
1558
618
|
const _SSL = "ShowSpeakerLabel";
|
|
1559
|
-
const
|
|
1560
|
-
const
|
|
619
|
+
const _SST = "StartStreamTranscription";
|
|
620
|
+
const _SSTR = "StartStreamTranscriptionRequest";
|
|
621
|
+
const _SSTRt = "StartStreamTranscriptionResponse";
|
|
622
|
+
const _ST = "StartTime";
|
|
623
|
+
const _SUE = "ServiceUnavailableException";
|
|
624
|
+
const _Sc = "Score";
|
|
625
|
+
const _Se = "Sentiment";
|
|
626
|
+
const _Sp = "Speaker";
|
|
627
|
+
const _Spe = "Specialty";
|
|
628
|
+
const _St = "Status";
|
|
629
|
+
const _T = "Transcript";
|
|
630
|
+
const _TE = "TranscriptEvent";
|
|
631
|
+
const _TOL = "TranscriptOutputLocation";
|
|
632
|
+
const _TR = "TimestampRanges";
|
|
633
|
+
const _TRS = "TranscriptResultStream";
|
|
634
|
+
const _TRi = "TimestampRange";
|
|
635
|
+
const _TS = "TranscriptSegment";
|
|
636
|
+
const _Ty = "Type";
|
|
637
|
+
const _UE = "UtteranceEvent";
|
|
638
|
+
const _UI = "UtteranceId";
|
|
639
|
+
const _VFM = "VocabularyFilterMatch";
|
|
640
|
+
const _VFMo = "VocabularyFilterMethod";
|
|
1561
641
|
const _VFN = "VocabularyFilterName";
|
|
1562
642
|
const _VFNo = "VocabularyFilterNames";
|
|
1563
643
|
const _VN = "VocabularyName";
|
|
1564
644
|
const _VNo = "VocabularyNames";
|
|
645
|
+
const _c = "client";
|
|
646
|
+
const _e = "error";
|
|
647
|
+
const _eP = "eventPayload";
|
|
648
|
+
const _h = "http";
|
|
649
|
+
const _hE = "httpError";
|
|
650
|
+
const _hH = "httpHeader";
|
|
651
|
+
const _s = "server";
|
|
652
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.transcribestreaming";
|
|
653
|
+
const _st = "streaming";
|
|
1565
654
|
const _xari = "x-amzn-request-id";
|
|
1566
655
|
const _xatcit = "x-amzn-transcribe-content-identification-type";
|
|
1567
656
|
const _xatcrt = "x-amzn-transcribe-content-redaction-type";
|
|
@@ -1587,21 +676,1343 @@ const _xatvfn = "x-amzn-transcribe-vocabulary-filter-name";
|
|
|
1587
676
|
const _xatvfn_ = "x-amzn-transcribe-vocabulary-filter-names";
|
|
1588
677
|
const _xatvn = "x-amzn-transcribe-vocabulary-name";
|
|
1589
678
|
const _xatvn_ = "x-amzn-transcribe-vocabulary-names";
|
|
679
|
+
const n0 = "com.amazonaws.transcribestreaming";
|
|
680
|
+
var Pronouns = [0, n0, _P, 8, 0];
|
|
681
|
+
var Alternative = [3, n0, _A, 0, [_T, _I, _E], [0, () => ItemList, () => EntityList]];
|
|
682
|
+
var AudioEvent = [
|
|
683
|
+
3,
|
|
684
|
+
n0,
|
|
685
|
+
_AE,
|
|
686
|
+
0,
|
|
687
|
+
[_AC],
|
|
688
|
+
[
|
|
689
|
+
[
|
|
690
|
+
21,
|
|
691
|
+
{
|
|
692
|
+
[_eP]: 1,
|
|
693
|
+
},
|
|
694
|
+
],
|
|
695
|
+
],
|
|
696
|
+
];
|
|
697
|
+
var BadRequestException = [
|
|
698
|
+
-3,
|
|
699
|
+
n0,
|
|
700
|
+
_BRE,
|
|
701
|
+
{
|
|
702
|
+
[_e]: _c,
|
|
703
|
+
[_hE]: 400,
|
|
704
|
+
},
|
|
705
|
+
[_M],
|
|
706
|
+
[0],
|
|
707
|
+
];
|
|
708
|
+
schema.TypeRegistry.for(n0).registerError(BadRequestException, BadRequestException$1);
|
|
709
|
+
var CallAnalyticsEntity = [
|
|
710
|
+
3,
|
|
711
|
+
n0,
|
|
712
|
+
_CAE,
|
|
713
|
+
0,
|
|
714
|
+
[_BOM, _EOM, _C, _Ty, _Co, _Con],
|
|
715
|
+
[1, 1, 0, 0, 0, 1],
|
|
716
|
+
];
|
|
717
|
+
var CallAnalyticsItem = [
|
|
718
|
+
3,
|
|
719
|
+
n0,
|
|
720
|
+
_CAI,
|
|
721
|
+
0,
|
|
722
|
+
[_BOM, _EOM, _Ty, _Co, _Con, _VFM, _S],
|
|
723
|
+
[1, 1, 0, 0, 1, 2, 2],
|
|
724
|
+
];
|
|
725
|
+
var CallAnalyticsLanguageWithScore = [3, n0, _CALWS, 0, [_LC, _Sc], [0, 1]];
|
|
726
|
+
var CategoryEvent = [3, n0, _CE, 0, [_MC, _MD], [64 | 0, () => MatchedCategoryDetails]];
|
|
727
|
+
var ChannelDefinition = [3, n0, _CD, 0, [_CI, _PR], [1, 0]];
|
|
728
|
+
var CharacterOffsets = [3, n0, _CO, 0, [_B, _En], [1, 1]];
|
|
729
|
+
var ClinicalNoteGenerationResult = [
|
|
730
|
+
3,
|
|
731
|
+
n0,
|
|
732
|
+
_CNGR,
|
|
733
|
+
0,
|
|
734
|
+
[_CNOL, _TOL, _St, _FR],
|
|
735
|
+
[0, 0, 0, 0],
|
|
736
|
+
];
|
|
737
|
+
var ClinicalNoteGenerationSettings = [3, n0, _CNGS, 0, [_OBN, _NT], [0, 0]];
|
|
738
|
+
var ConfigurationEvent = [
|
|
739
|
+
3,
|
|
740
|
+
n0,
|
|
741
|
+
_CEo,
|
|
742
|
+
0,
|
|
743
|
+
[_CDh, _PCAS],
|
|
744
|
+
[() => ChannelDefinitions, () => PostCallAnalyticsSettings],
|
|
745
|
+
];
|
|
746
|
+
var ConflictException = [
|
|
747
|
+
-3,
|
|
748
|
+
n0,
|
|
749
|
+
_CEon,
|
|
750
|
+
{
|
|
751
|
+
[_e]: _c,
|
|
752
|
+
[_hE]: 409,
|
|
753
|
+
},
|
|
754
|
+
[_M],
|
|
755
|
+
[0],
|
|
756
|
+
];
|
|
757
|
+
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
758
|
+
var Entity = [3, n0, _Ent, 0, [_ST, _ET, _C, _Ty, _Co, _Con], [1, 1, 0, 0, 0, 1]];
|
|
759
|
+
var GetMedicalScribeStreamRequest = [3, n0, _GMSSR, 0, [_SI], [[0, 1]]];
|
|
760
|
+
var GetMedicalScribeStreamResponse = [
|
|
761
|
+
3,
|
|
762
|
+
n0,
|
|
763
|
+
_GMSSRe,
|
|
764
|
+
0,
|
|
765
|
+
[_MSSD],
|
|
766
|
+
[() => MedicalScribeStreamDetails],
|
|
767
|
+
];
|
|
768
|
+
var InternalFailureException = [
|
|
769
|
+
-3,
|
|
770
|
+
n0,
|
|
771
|
+
_IFE,
|
|
772
|
+
{
|
|
773
|
+
[_e]: _s,
|
|
774
|
+
[_hE]: 500,
|
|
775
|
+
},
|
|
776
|
+
[_M],
|
|
777
|
+
[0],
|
|
778
|
+
];
|
|
779
|
+
schema.TypeRegistry.for(n0).registerError(InternalFailureException, InternalFailureException$1);
|
|
780
|
+
var IssueDetected = [3, n0, _ID, 0, [_CO], [() => CharacterOffsets]];
|
|
781
|
+
var Item = [
|
|
782
|
+
3,
|
|
783
|
+
n0,
|
|
784
|
+
_It,
|
|
785
|
+
0,
|
|
786
|
+
[_ST, _ET, _Ty, _Co, _VFM, _Sp, _Con, _S],
|
|
787
|
+
[1, 1, 0, 0, 2, 0, 1, 2],
|
|
788
|
+
];
|
|
789
|
+
var LanguageWithScore = [3, n0, _LWS, 0, [_LC, _Sc], [0, 1]];
|
|
790
|
+
var LimitExceededException = [
|
|
791
|
+
-3,
|
|
792
|
+
n0,
|
|
793
|
+
_LEE,
|
|
794
|
+
{
|
|
795
|
+
[_e]: _c,
|
|
796
|
+
[_hE]: 429,
|
|
797
|
+
},
|
|
798
|
+
[_M],
|
|
799
|
+
[0],
|
|
800
|
+
];
|
|
801
|
+
schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
|
|
802
|
+
var MedicalAlternative = [
|
|
803
|
+
3,
|
|
804
|
+
n0,
|
|
805
|
+
_MA,
|
|
806
|
+
0,
|
|
807
|
+
[_T, _I, _E],
|
|
808
|
+
[0, () => MedicalItemList, () => MedicalEntityList],
|
|
809
|
+
];
|
|
810
|
+
var MedicalEntity = [3, n0, _ME, 0, [_ST, _ET, _C, _Co, _Con], [1, 1, 0, 0, 1]];
|
|
811
|
+
var MedicalItem = [3, n0, _MI, 0, [_ST, _ET, _Ty, _Co, _Con, _Sp], [1, 1, 0, 0, 1, 0]];
|
|
812
|
+
var MedicalResult = [
|
|
813
|
+
3,
|
|
814
|
+
n0,
|
|
815
|
+
_MR,
|
|
816
|
+
0,
|
|
817
|
+
[_RI, _ST, _ET, _IP, _Al, _CI],
|
|
818
|
+
[0, 1, 1, 2, () => MedicalAlternativeList, 0],
|
|
819
|
+
];
|
|
820
|
+
var MedicalScribeAudioEvent = [
|
|
821
|
+
3,
|
|
822
|
+
n0,
|
|
823
|
+
_MSAE,
|
|
824
|
+
0,
|
|
825
|
+
[_AC],
|
|
826
|
+
[
|
|
827
|
+
[
|
|
828
|
+
21,
|
|
829
|
+
{
|
|
830
|
+
[_eP]: 1,
|
|
831
|
+
},
|
|
832
|
+
],
|
|
833
|
+
],
|
|
834
|
+
];
|
|
835
|
+
var MedicalScribeChannelDefinition = [3, n0, _MSCD, 0, [_CI, _PR], [1, 0]];
|
|
836
|
+
var MedicalScribeConfigurationEvent = [
|
|
837
|
+
3,
|
|
838
|
+
n0,
|
|
839
|
+
_MSCE,
|
|
840
|
+
0,
|
|
841
|
+
[_VN, _VFN, _VFMo, _RARA, _CDh, _ES, _PSAS, _MSC],
|
|
842
|
+
[
|
|
843
|
+
0,
|
|
844
|
+
0,
|
|
845
|
+
0,
|
|
846
|
+
0,
|
|
847
|
+
() => MedicalScribeChannelDefinitions,
|
|
848
|
+
() => MedicalScribeEncryptionSettings,
|
|
849
|
+
() => MedicalScribePostStreamAnalyticsSettings,
|
|
850
|
+
[() => MedicalScribeContext, 0],
|
|
851
|
+
],
|
|
852
|
+
];
|
|
853
|
+
var MedicalScribeContext = [
|
|
854
|
+
3,
|
|
855
|
+
n0,
|
|
856
|
+
_MSC,
|
|
857
|
+
0,
|
|
858
|
+
[_PC],
|
|
859
|
+
[[() => MedicalScribePatientContext, 0]],
|
|
860
|
+
];
|
|
861
|
+
var MedicalScribeEncryptionSettings = [3, n0, _MSES, 0, [_KEC, _KKI], [128 | 0, 0]];
|
|
862
|
+
var MedicalScribePatientContext = [3, n0, _MSPC, 0, [_P], [[() => Pronouns, 0]]];
|
|
863
|
+
var MedicalScribePostStreamAnalyticsResult = [
|
|
864
|
+
3,
|
|
865
|
+
n0,
|
|
866
|
+
_MSPSAR,
|
|
867
|
+
0,
|
|
868
|
+
[_CNGR],
|
|
869
|
+
[() => ClinicalNoteGenerationResult],
|
|
870
|
+
];
|
|
871
|
+
var MedicalScribePostStreamAnalyticsSettings = [
|
|
872
|
+
3,
|
|
873
|
+
n0,
|
|
874
|
+
_MSPSAS,
|
|
875
|
+
0,
|
|
876
|
+
[_CNGS],
|
|
877
|
+
[() => ClinicalNoteGenerationSettings],
|
|
878
|
+
];
|
|
879
|
+
var MedicalScribeSessionControlEvent = [3, n0, _MSSCE, 0, [_Ty], [0]];
|
|
880
|
+
var MedicalScribeStreamDetails = [
|
|
881
|
+
3,
|
|
882
|
+
n0,
|
|
883
|
+
_MSSD,
|
|
884
|
+
0,
|
|
885
|
+
[_SI, _SCA, _SEA, _LC, _MSRH, _MEe, _VN, _VFN, _VFMo, _RARA, _CDh, _ES, _SS, _PSAS, _PSAR, _MSCP],
|
|
886
|
+
[
|
|
887
|
+
0,
|
|
888
|
+
4,
|
|
889
|
+
4,
|
|
890
|
+
0,
|
|
891
|
+
1,
|
|
892
|
+
0,
|
|
893
|
+
0,
|
|
894
|
+
0,
|
|
895
|
+
0,
|
|
896
|
+
0,
|
|
897
|
+
() => MedicalScribeChannelDefinitions,
|
|
898
|
+
() => MedicalScribeEncryptionSettings,
|
|
899
|
+
0,
|
|
900
|
+
() => MedicalScribePostStreamAnalyticsSettings,
|
|
901
|
+
() => MedicalScribePostStreamAnalyticsResult,
|
|
902
|
+
2,
|
|
903
|
+
],
|
|
904
|
+
];
|
|
905
|
+
var MedicalScribeTranscriptEvent = [
|
|
906
|
+
3,
|
|
907
|
+
n0,
|
|
908
|
+
_MSTE,
|
|
909
|
+
0,
|
|
910
|
+
[_TS],
|
|
911
|
+
[() => MedicalScribeTranscriptSegment],
|
|
912
|
+
];
|
|
913
|
+
var MedicalScribeTranscriptItem = [
|
|
914
|
+
3,
|
|
915
|
+
n0,
|
|
916
|
+
_MSTI,
|
|
917
|
+
0,
|
|
918
|
+
[_BAT, _EAT, _Ty, _Con, _Co, _VFM],
|
|
919
|
+
[1, 1, 0, 1, 0, 2],
|
|
920
|
+
];
|
|
921
|
+
var MedicalScribeTranscriptSegment = [
|
|
922
|
+
3,
|
|
923
|
+
n0,
|
|
924
|
+
_MSTS,
|
|
925
|
+
0,
|
|
926
|
+
[_SIe, _BAT, _EAT, _Co, _I, _IP, _CI],
|
|
927
|
+
[0, 1, 1, 0, () => MedicalScribeTranscriptItemList, 2, 0],
|
|
928
|
+
];
|
|
929
|
+
var MedicalTranscript = [3, n0, _MT, 0, [_R], [() => MedicalResultList]];
|
|
930
|
+
var MedicalTranscriptEvent = [3, n0, _MTE, 0, [_T], [() => MedicalTranscript]];
|
|
931
|
+
var PointsOfInterest = [3, n0, _POI, 0, [_TR], [() => TimestampRanges]];
|
|
932
|
+
var PostCallAnalyticsSettings = [
|
|
933
|
+
3,
|
|
934
|
+
n0,
|
|
935
|
+
_PCAS,
|
|
936
|
+
0,
|
|
937
|
+
[_OL, _DARA, _CRO, _OEKMSKI],
|
|
938
|
+
[0, 0, 0, 0],
|
|
939
|
+
];
|
|
940
|
+
var ResourceNotFoundException = [
|
|
941
|
+
-3,
|
|
942
|
+
n0,
|
|
943
|
+
_RNFE,
|
|
944
|
+
{
|
|
945
|
+
[_e]: _c,
|
|
946
|
+
[_hE]: 404,
|
|
947
|
+
},
|
|
948
|
+
[_M],
|
|
949
|
+
[0],
|
|
950
|
+
];
|
|
951
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
952
|
+
var Result = [
|
|
953
|
+
3,
|
|
954
|
+
n0,
|
|
955
|
+
_Re,
|
|
956
|
+
0,
|
|
957
|
+
[_RI, _ST, _ET, _IP, _Al, _CI, _LC, _LI],
|
|
958
|
+
[0, 1, 1, 2, () => AlternativeList, 0, 0, () => LanguageIdentification],
|
|
959
|
+
];
|
|
960
|
+
var ServiceUnavailableException = [
|
|
961
|
+
-3,
|
|
962
|
+
n0,
|
|
963
|
+
_SUE,
|
|
964
|
+
{
|
|
965
|
+
[_e]: _s,
|
|
966
|
+
[_hE]: 503,
|
|
967
|
+
},
|
|
968
|
+
[_M],
|
|
969
|
+
[0],
|
|
970
|
+
];
|
|
971
|
+
schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException, ServiceUnavailableException$1);
|
|
972
|
+
var StartCallAnalyticsStreamTranscriptionRequest = [
|
|
973
|
+
3,
|
|
974
|
+
n0,
|
|
975
|
+
_SCASTR,
|
|
976
|
+
0,
|
|
977
|
+
[_LC, _MSRH, _MEe, _VN, _SI, _AS, _VFN, _VFMo, _LMN, _IL, _LO, _PL, _VNo, _VFNo, _EPRS, _PRS, _CIT, _CRT, _PET],
|
|
978
|
+
[
|
|
979
|
+
[
|
|
980
|
+
0,
|
|
981
|
+
{
|
|
982
|
+
[_hH]: _xatlc,
|
|
983
|
+
},
|
|
984
|
+
],
|
|
985
|
+
[
|
|
986
|
+
1,
|
|
987
|
+
{
|
|
988
|
+
[_hH]: _xatsr,
|
|
989
|
+
},
|
|
990
|
+
],
|
|
991
|
+
[
|
|
992
|
+
0,
|
|
993
|
+
{
|
|
994
|
+
[_hH]: _xatme,
|
|
995
|
+
},
|
|
996
|
+
],
|
|
997
|
+
[
|
|
998
|
+
0,
|
|
999
|
+
{
|
|
1000
|
+
[_hH]: _xatvn,
|
|
1001
|
+
},
|
|
1002
|
+
],
|
|
1003
|
+
[
|
|
1004
|
+
0,
|
|
1005
|
+
{
|
|
1006
|
+
[_hH]: _xatsi,
|
|
1007
|
+
},
|
|
1008
|
+
],
|
|
1009
|
+
[() => AudioStream, 16],
|
|
1010
|
+
[
|
|
1011
|
+
0,
|
|
1012
|
+
{
|
|
1013
|
+
[_hH]: _xatvfn,
|
|
1014
|
+
},
|
|
1015
|
+
],
|
|
1016
|
+
[
|
|
1017
|
+
0,
|
|
1018
|
+
{
|
|
1019
|
+
[_hH]: _xatvfm,
|
|
1020
|
+
},
|
|
1021
|
+
],
|
|
1022
|
+
[
|
|
1023
|
+
0,
|
|
1024
|
+
{
|
|
1025
|
+
[_hH]: _xatlmn,
|
|
1026
|
+
},
|
|
1027
|
+
],
|
|
1028
|
+
[
|
|
1029
|
+
2,
|
|
1030
|
+
{
|
|
1031
|
+
[_hH]: _xatil,
|
|
1032
|
+
},
|
|
1033
|
+
],
|
|
1034
|
+
[
|
|
1035
|
+
0,
|
|
1036
|
+
{
|
|
1037
|
+
[_hH]: _xatlo,
|
|
1038
|
+
},
|
|
1039
|
+
],
|
|
1040
|
+
[
|
|
1041
|
+
0,
|
|
1042
|
+
{
|
|
1043
|
+
[_hH]: _xatpl,
|
|
1044
|
+
},
|
|
1045
|
+
],
|
|
1046
|
+
[
|
|
1047
|
+
0,
|
|
1048
|
+
{
|
|
1049
|
+
[_hH]: _xatvn_,
|
|
1050
|
+
},
|
|
1051
|
+
],
|
|
1052
|
+
[
|
|
1053
|
+
0,
|
|
1054
|
+
{
|
|
1055
|
+
[_hH]: _xatvfn_,
|
|
1056
|
+
},
|
|
1057
|
+
],
|
|
1058
|
+
[
|
|
1059
|
+
2,
|
|
1060
|
+
{
|
|
1061
|
+
[_hH]: _xateprs,
|
|
1062
|
+
},
|
|
1063
|
+
],
|
|
1064
|
+
[
|
|
1065
|
+
0,
|
|
1066
|
+
{
|
|
1067
|
+
[_hH]: _xatprs,
|
|
1068
|
+
},
|
|
1069
|
+
],
|
|
1070
|
+
[
|
|
1071
|
+
0,
|
|
1072
|
+
{
|
|
1073
|
+
[_hH]: _xatcit,
|
|
1074
|
+
},
|
|
1075
|
+
],
|
|
1076
|
+
[
|
|
1077
|
+
0,
|
|
1078
|
+
{
|
|
1079
|
+
[_hH]: _xatcrt,
|
|
1080
|
+
},
|
|
1081
|
+
],
|
|
1082
|
+
[
|
|
1083
|
+
0,
|
|
1084
|
+
{
|
|
1085
|
+
[_hH]: _xatpet,
|
|
1086
|
+
},
|
|
1087
|
+
],
|
|
1088
|
+
],
|
|
1089
|
+
];
|
|
1090
|
+
var StartCallAnalyticsStreamTranscriptionResponse = [
|
|
1091
|
+
3,
|
|
1092
|
+
n0,
|
|
1093
|
+
_SCASTRt,
|
|
1094
|
+
0,
|
|
1095
|
+
[
|
|
1096
|
+
_RIe,
|
|
1097
|
+
_LC,
|
|
1098
|
+
_MSRH,
|
|
1099
|
+
_MEe,
|
|
1100
|
+
_VN,
|
|
1101
|
+
_SI,
|
|
1102
|
+
_CATRS,
|
|
1103
|
+
_VFN,
|
|
1104
|
+
_VFMo,
|
|
1105
|
+
_LMN,
|
|
1106
|
+
_IL,
|
|
1107
|
+
_LO,
|
|
1108
|
+
_PL,
|
|
1109
|
+
_VNo,
|
|
1110
|
+
_VFNo,
|
|
1111
|
+
_EPRS,
|
|
1112
|
+
_PRS,
|
|
1113
|
+
_CIT,
|
|
1114
|
+
_CRT,
|
|
1115
|
+
_PET,
|
|
1116
|
+
],
|
|
1117
|
+
[
|
|
1118
|
+
[
|
|
1119
|
+
0,
|
|
1120
|
+
{
|
|
1121
|
+
[_hH]: _xari,
|
|
1122
|
+
},
|
|
1123
|
+
],
|
|
1124
|
+
[
|
|
1125
|
+
0,
|
|
1126
|
+
{
|
|
1127
|
+
[_hH]: _xatlc,
|
|
1128
|
+
},
|
|
1129
|
+
],
|
|
1130
|
+
[
|
|
1131
|
+
1,
|
|
1132
|
+
{
|
|
1133
|
+
[_hH]: _xatsr,
|
|
1134
|
+
},
|
|
1135
|
+
],
|
|
1136
|
+
[
|
|
1137
|
+
0,
|
|
1138
|
+
{
|
|
1139
|
+
[_hH]: _xatme,
|
|
1140
|
+
},
|
|
1141
|
+
],
|
|
1142
|
+
[
|
|
1143
|
+
0,
|
|
1144
|
+
{
|
|
1145
|
+
[_hH]: _xatvn,
|
|
1146
|
+
},
|
|
1147
|
+
],
|
|
1148
|
+
[
|
|
1149
|
+
0,
|
|
1150
|
+
{
|
|
1151
|
+
[_hH]: _xatsi,
|
|
1152
|
+
},
|
|
1153
|
+
],
|
|
1154
|
+
[() => CallAnalyticsTranscriptResultStream, 16],
|
|
1155
|
+
[
|
|
1156
|
+
0,
|
|
1157
|
+
{
|
|
1158
|
+
[_hH]: _xatvfn,
|
|
1159
|
+
},
|
|
1160
|
+
],
|
|
1161
|
+
[
|
|
1162
|
+
0,
|
|
1163
|
+
{
|
|
1164
|
+
[_hH]: _xatvfm,
|
|
1165
|
+
},
|
|
1166
|
+
],
|
|
1167
|
+
[
|
|
1168
|
+
0,
|
|
1169
|
+
{
|
|
1170
|
+
[_hH]: _xatlmn,
|
|
1171
|
+
},
|
|
1172
|
+
],
|
|
1173
|
+
[
|
|
1174
|
+
2,
|
|
1175
|
+
{
|
|
1176
|
+
[_hH]: _xatil,
|
|
1177
|
+
},
|
|
1178
|
+
],
|
|
1179
|
+
[
|
|
1180
|
+
0,
|
|
1181
|
+
{
|
|
1182
|
+
[_hH]: _xatlo,
|
|
1183
|
+
},
|
|
1184
|
+
],
|
|
1185
|
+
[
|
|
1186
|
+
0,
|
|
1187
|
+
{
|
|
1188
|
+
[_hH]: _xatpl,
|
|
1189
|
+
},
|
|
1190
|
+
],
|
|
1191
|
+
[
|
|
1192
|
+
0,
|
|
1193
|
+
{
|
|
1194
|
+
[_hH]: _xatvn_,
|
|
1195
|
+
},
|
|
1196
|
+
],
|
|
1197
|
+
[
|
|
1198
|
+
0,
|
|
1199
|
+
{
|
|
1200
|
+
[_hH]: _xatvfn_,
|
|
1201
|
+
},
|
|
1202
|
+
],
|
|
1203
|
+
[
|
|
1204
|
+
2,
|
|
1205
|
+
{
|
|
1206
|
+
[_hH]: _xateprs,
|
|
1207
|
+
},
|
|
1208
|
+
],
|
|
1209
|
+
[
|
|
1210
|
+
0,
|
|
1211
|
+
{
|
|
1212
|
+
[_hH]: _xatprs,
|
|
1213
|
+
},
|
|
1214
|
+
],
|
|
1215
|
+
[
|
|
1216
|
+
0,
|
|
1217
|
+
{
|
|
1218
|
+
[_hH]: _xatcit,
|
|
1219
|
+
},
|
|
1220
|
+
],
|
|
1221
|
+
[
|
|
1222
|
+
0,
|
|
1223
|
+
{
|
|
1224
|
+
[_hH]: _xatcrt,
|
|
1225
|
+
},
|
|
1226
|
+
],
|
|
1227
|
+
[
|
|
1228
|
+
0,
|
|
1229
|
+
{
|
|
1230
|
+
[_hH]: _xatpet,
|
|
1231
|
+
},
|
|
1232
|
+
],
|
|
1233
|
+
],
|
|
1234
|
+
];
|
|
1235
|
+
var StartMedicalScribeStreamRequest = [
|
|
1236
|
+
3,
|
|
1237
|
+
n0,
|
|
1238
|
+
_SMSSR,
|
|
1239
|
+
0,
|
|
1240
|
+
[_SI, _LC, _MSRH, _MEe, _IS],
|
|
1241
|
+
[
|
|
1242
|
+
[
|
|
1243
|
+
0,
|
|
1244
|
+
{
|
|
1245
|
+
[_hH]: _xatsi,
|
|
1246
|
+
},
|
|
1247
|
+
],
|
|
1248
|
+
[
|
|
1249
|
+
0,
|
|
1250
|
+
{
|
|
1251
|
+
[_hH]: _xatlc,
|
|
1252
|
+
},
|
|
1253
|
+
],
|
|
1254
|
+
[
|
|
1255
|
+
1,
|
|
1256
|
+
{
|
|
1257
|
+
[_hH]: _xatsr,
|
|
1258
|
+
},
|
|
1259
|
+
],
|
|
1260
|
+
[
|
|
1261
|
+
0,
|
|
1262
|
+
{
|
|
1263
|
+
[_hH]: _xatme,
|
|
1264
|
+
},
|
|
1265
|
+
],
|
|
1266
|
+
[() => MedicalScribeInputStream, 16],
|
|
1267
|
+
],
|
|
1268
|
+
];
|
|
1269
|
+
var StartMedicalScribeStreamResponse = [
|
|
1270
|
+
3,
|
|
1271
|
+
n0,
|
|
1272
|
+
_SMSSRt,
|
|
1273
|
+
0,
|
|
1274
|
+
[_SI, _RIe, _LC, _MSRH, _MEe, _RS],
|
|
1275
|
+
[
|
|
1276
|
+
[
|
|
1277
|
+
0,
|
|
1278
|
+
{
|
|
1279
|
+
[_hH]: _xatsi,
|
|
1280
|
+
},
|
|
1281
|
+
],
|
|
1282
|
+
[
|
|
1283
|
+
0,
|
|
1284
|
+
{
|
|
1285
|
+
[_hH]: _xari,
|
|
1286
|
+
},
|
|
1287
|
+
],
|
|
1288
|
+
[
|
|
1289
|
+
0,
|
|
1290
|
+
{
|
|
1291
|
+
[_hH]: _xatlc,
|
|
1292
|
+
},
|
|
1293
|
+
],
|
|
1294
|
+
[
|
|
1295
|
+
1,
|
|
1296
|
+
{
|
|
1297
|
+
[_hH]: _xatsr,
|
|
1298
|
+
},
|
|
1299
|
+
],
|
|
1300
|
+
[
|
|
1301
|
+
0,
|
|
1302
|
+
{
|
|
1303
|
+
[_hH]: _xatme,
|
|
1304
|
+
},
|
|
1305
|
+
],
|
|
1306
|
+
[() => MedicalScribeResultStream, 16],
|
|
1307
|
+
],
|
|
1308
|
+
];
|
|
1309
|
+
var StartMedicalStreamTranscriptionRequest = [
|
|
1310
|
+
3,
|
|
1311
|
+
n0,
|
|
1312
|
+
_SMSTR,
|
|
1313
|
+
0,
|
|
1314
|
+
[_LC, _MSRH, _MEe, _VN, _Spe, _Ty, _SSL, _SI, _AS, _ECI, _NOC, _CIT],
|
|
1315
|
+
[
|
|
1316
|
+
[
|
|
1317
|
+
0,
|
|
1318
|
+
{
|
|
1319
|
+
[_hH]: _xatlc,
|
|
1320
|
+
},
|
|
1321
|
+
],
|
|
1322
|
+
[
|
|
1323
|
+
1,
|
|
1324
|
+
{
|
|
1325
|
+
[_hH]: _xatsr,
|
|
1326
|
+
},
|
|
1327
|
+
],
|
|
1328
|
+
[
|
|
1329
|
+
0,
|
|
1330
|
+
{
|
|
1331
|
+
[_hH]: _xatme,
|
|
1332
|
+
},
|
|
1333
|
+
],
|
|
1334
|
+
[
|
|
1335
|
+
0,
|
|
1336
|
+
{
|
|
1337
|
+
[_hH]: _xatvn,
|
|
1338
|
+
},
|
|
1339
|
+
],
|
|
1340
|
+
[
|
|
1341
|
+
0,
|
|
1342
|
+
{
|
|
1343
|
+
[_hH]: _xats,
|
|
1344
|
+
},
|
|
1345
|
+
],
|
|
1346
|
+
[
|
|
1347
|
+
0,
|
|
1348
|
+
{
|
|
1349
|
+
[_hH]: _xatt,
|
|
1350
|
+
},
|
|
1351
|
+
],
|
|
1352
|
+
[
|
|
1353
|
+
2,
|
|
1354
|
+
{
|
|
1355
|
+
[_hH]: _xatssl,
|
|
1356
|
+
},
|
|
1357
|
+
],
|
|
1358
|
+
[
|
|
1359
|
+
0,
|
|
1360
|
+
{
|
|
1361
|
+
[_hH]: _xatsi,
|
|
1362
|
+
},
|
|
1363
|
+
],
|
|
1364
|
+
[() => AudioStream, 16],
|
|
1365
|
+
[
|
|
1366
|
+
2,
|
|
1367
|
+
{
|
|
1368
|
+
[_hH]: _xateci,
|
|
1369
|
+
},
|
|
1370
|
+
],
|
|
1371
|
+
[
|
|
1372
|
+
1,
|
|
1373
|
+
{
|
|
1374
|
+
[_hH]: _xatnoc,
|
|
1375
|
+
},
|
|
1376
|
+
],
|
|
1377
|
+
[
|
|
1378
|
+
0,
|
|
1379
|
+
{
|
|
1380
|
+
[_hH]: _xatcit,
|
|
1381
|
+
},
|
|
1382
|
+
],
|
|
1383
|
+
],
|
|
1384
|
+
];
|
|
1385
|
+
var StartMedicalStreamTranscriptionResponse = [
|
|
1386
|
+
3,
|
|
1387
|
+
n0,
|
|
1388
|
+
_SMSTRt,
|
|
1389
|
+
0,
|
|
1390
|
+
[_RIe, _LC, _MSRH, _MEe, _VN, _Spe, _Ty, _SSL, _SI, _TRS, _ECI, _NOC, _CIT],
|
|
1391
|
+
[
|
|
1392
|
+
[
|
|
1393
|
+
0,
|
|
1394
|
+
{
|
|
1395
|
+
[_hH]: _xari,
|
|
1396
|
+
},
|
|
1397
|
+
],
|
|
1398
|
+
[
|
|
1399
|
+
0,
|
|
1400
|
+
{
|
|
1401
|
+
[_hH]: _xatlc,
|
|
1402
|
+
},
|
|
1403
|
+
],
|
|
1404
|
+
[
|
|
1405
|
+
1,
|
|
1406
|
+
{
|
|
1407
|
+
[_hH]: _xatsr,
|
|
1408
|
+
},
|
|
1409
|
+
],
|
|
1410
|
+
[
|
|
1411
|
+
0,
|
|
1412
|
+
{
|
|
1413
|
+
[_hH]: _xatme,
|
|
1414
|
+
},
|
|
1415
|
+
],
|
|
1416
|
+
[
|
|
1417
|
+
0,
|
|
1418
|
+
{
|
|
1419
|
+
[_hH]: _xatvn,
|
|
1420
|
+
},
|
|
1421
|
+
],
|
|
1422
|
+
[
|
|
1423
|
+
0,
|
|
1424
|
+
{
|
|
1425
|
+
[_hH]: _xats,
|
|
1426
|
+
},
|
|
1427
|
+
],
|
|
1428
|
+
[
|
|
1429
|
+
0,
|
|
1430
|
+
{
|
|
1431
|
+
[_hH]: _xatt,
|
|
1432
|
+
},
|
|
1433
|
+
],
|
|
1434
|
+
[
|
|
1435
|
+
2,
|
|
1436
|
+
{
|
|
1437
|
+
[_hH]: _xatssl,
|
|
1438
|
+
},
|
|
1439
|
+
],
|
|
1440
|
+
[
|
|
1441
|
+
0,
|
|
1442
|
+
{
|
|
1443
|
+
[_hH]: _xatsi,
|
|
1444
|
+
},
|
|
1445
|
+
],
|
|
1446
|
+
[() => MedicalTranscriptResultStream, 16],
|
|
1447
|
+
[
|
|
1448
|
+
2,
|
|
1449
|
+
{
|
|
1450
|
+
[_hH]: _xateci,
|
|
1451
|
+
},
|
|
1452
|
+
],
|
|
1453
|
+
[
|
|
1454
|
+
1,
|
|
1455
|
+
{
|
|
1456
|
+
[_hH]: _xatnoc,
|
|
1457
|
+
},
|
|
1458
|
+
],
|
|
1459
|
+
[
|
|
1460
|
+
0,
|
|
1461
|
+
{
|
|
1462
|
+
[_hH]: _xatcit,
|
|
1463
|
+
},
|
|
1464
|
+
],
|
|
1465
|
+
],
|
|
1466
|
+
];
|
|
1467
|
+
var StartStreamTranscriptionRequest = [
|
|
1468
|
+
3,
|
|
1469
|
+
n0,
|
|
1470
|
+
_SSTR,
|
|
1471
|
+
0,
|
|
1472
|
+
[
|
|
1473
|
+
_LC,
|
|
1474
|
+
_MSRH,
|
|
1475
|
+
_MEe,
|
|
1476
|
+
_VN,
|
|
1477
|
+
_SI,
|
|
1478
|
+
_AS,
|
|
1479
|
+
_VFN,
|
|
1480
|
+
_VFMo,
|
|
1481
|
+
_SSL,
|
|
1482
|
+
_ECI,
|
|
1483
|
+
_NOC,
|
|
1484
|
+
_EPRS,
|
|
1485
|
+
_PRS,
|
|
1486
|
+
_CIT,
|
|
1487
|
+
_CRT,
|
|
1488
|
+
_PET,
|
|
1489
|
+
_LMN,
|
|
1490
|
+
_IL,
|
|
1491
|
+
_LO,
|
|
1492
|
+
_PL,
|
|
1493
|
+
_IML,
|
|
1494
|
+
_VNo,
|
|
1495
|
+
_VFNo,
|
|
1496
|
+
],
|
|
1497
|
+
[
|
|
1498
|
+
[
|
|
1499
|
+
0,
|
|
1500
|
+
{
|
|
1501
|
+
[_hH]: _xatlc,
|
|
1502
|
+
},
|
|
1503
|
+
],
|
|
1504
|
+
[
|
|
1505
|
+
1,
|
|
1506
|
+
{
|
|
1507
|
+
[_hH]: _xatsr,
|
|
1508
|
+
},
|
|
1509
|
+
],
|
|
1510
|
+
[
|
|
1511
|
+
0,
|
|
1512
|
+
{
|
|
1513
|
+
[_hH]: _xatme,
|
|
1514
|
+
},
|
|
1515
|
+
],
|
|
1516
|
+
[
|
|
1517
|
+
0,
|
|
1518
|
+
{
|
|
1519
|
+
[_hH]: _xatvn,
|
|
1520
|
+
},
|
|
1521
|
+
],
|
|
1522
|
+
[
|
|
1523
|
+
0,
|
|
1524
|
+
{
|
|
1525
|
+
[_hH]: _xatsi,
|
|
1526
|
+
},
|
|
1527
|
+
],
|
|
1528
|
+
[() => AudioStream, 16],
|
|
1529
|
+
[
|
|
1530
|
+
0,
|
|
1531
|
+
{
|
|
1532
|
+
[_hH]: _xatvfn,
|
|
1533
|
+
},
|
|
1534
|
+
],
|
|
1535
|
+
[
|
|
1536
|
+
0,
|
|
1537
|
+
{
|
|
1538
|
+
[_hH]: _xatvfm,
|
|
1539
|
+
},
|
|
1540
|
+
],
|
|
1541
|
+
[
|
|
1542
|
+
2,
|
|
1543
|
+
{
|
|
1544
|
+
[_hH]: _xatssl,
|
|
1545
|
+
},
|
|
1546
|
+
],
|
|
1547
|
+
[
|
|
1548
|
+
2,
|
|
1549
|
+
{
|
|
1550
|
+
[_hH]: _xateci,
|
|
1551
|
+
},
|
|
1552
|
+
],
|
|
1553
|
+
[
|
|
1554
|
+
1,
|
|
1555
|
+
{
|
|
1556
|
+
[_hH]: _xatnoc,
|
|
1557
|
+
},
|
|
1558
|
+
],
|
|
1559
|
+
[
|
|
1560
|
+
2,
|
|
1561
|
+
{
|
|
1562
|
+
[_hH]: _xateprs,
|
|
1563
|
+
},
|
|
1564
|
+
],
|
|
1565
|
+
[
|
|
1566
|
+
0,
|
|
1567
|
+
{
|
|
1568
|
+
[_hH]: _xatprs,
|
|
1569
|
+
},
|
|
1570
|
+
],
|
|
1571
|
+
[
|
|
1572
|
+
0,
|
|
1573
|
+
{
|
|
1574
|
+
[_hH]: _xatcit,
|
|
1575
|
+
},
|
|
1576
|
+
],
|
|
1577
|
+
[
|
|
1578
|
+
0,
|
|
1579
|
+
{
|
|
1580
|
+
[_hH]: _xatcrt,
|
|
1581
|
+
},
|
|
1582
|
+
],
|
|
1583
|
+
[
|
|
1584
|
+
0,
|
|
1585
|
+
{
|
|
1586
|
+
[_hH]: _xatpet,
|
|
1587
|
+
},
|
|
1588
|
+
],
|
|
1589
|
+
[
|
|
1590
|
+
0,
|
|
1591
|
+
{
|
|
1592
|
+
[_hH]: _xatlmn,
|
|
1593
|
+
},
|
|
1594
|
+
],
|
|
1595
|
+
[
|
|
1596
|
+
2,
|
|
1597
|
+
{
|
|
1598
|
+
[_hH]: _xatil,
|
|
1599
|
+
},
|
|
1600
|
+
],
|
|
1601
|
+
[
|
|
1602
|
+
0,
|
|
1603
|
+
{
|
|
1604
|
+
[_hH]: _xatlo,
|
|
1605
|
+
},
|
|
1606
|
+
],
|
|
1607
|
+
[
|
|
1608
|
+
0,
|
|
1609
|
+
{
|
|
1610
|
+
[_hH]: _xatpl,
|
|
1611
|
+
},
|
|
1612
|
+
],
|
|
1613
|
+
[
|
|
1614
|
+
2,
|
|
1615
|
+
{
|
|
1616
|
+
[_hH]: _xatiml,
|
|
1617
|
+
},
|
|
1618
|
+
],
|
|
1619
|
+
[
|
|
1620
|
+
0,
|
|
1621
|
+
{
|
|
1622
|
+
[_hH]: _xatvn_,
|
|
1623
|
+
},
|
|
1624
|
+
],
|
|
1625
|
+
[
|
|
1626
|
+
0,
|
|
1627
|
+
{
|
|
1628
|
+
[_hH]: _xatvfn_,
|
|
1629
|
+
},
|
|
1630
|
+
],
|
|
1631
|
+
],
|
|
1632
|
+
];
|
|
1633
|
+
var StartStreamTranscriptionResponse = [
|
|
1634
|
+
3,
|
|
1635
|
+
n0,
|
|
1636
|
+
_SSTRt,
|
|
1637
|
+
0,
|
|
1638
|
+
[
|
|
1639
|
+
_RIe,
|
|
1640
|
+
_LC,
|
|
1641
|
+
_MSRH,
|
|
1642
|
+
_MEe,
|
|
1643
|
+
_VN,
|
|
1644
|
+
_SI,
|
|
1645
|
+
_TRS,
|
|
1646
|
+
_VFN,
|
|
1647
|
+
_VFMo,
|
|
1648
|
+
_SSL,
|
|
1649
|
+
_ECI,
|
|
1650
|
+
_NOC,
|
|
1651
|
+
_EPRS,
|
|
1652
|
+
_PRS,
|
|
1653
|
+
_CIT,
|
|
1654
|
+
_CRT,
|
|
1655
|
+
_PET,
|
|
1656
|
+
_LMN,
|
|
1657
|
+
_IL,
|
|
1658
|
+
_LO,
|
|
1659
|
+
_PL,
|
|
1660
|
+
_IML,
|
|
1661
|
+
_VNo,
|
|
1662
|
+
_VFNo,
|
|
1663
|
+
],
|
|
1664
|
+
[
|
|
1665
|
+
[
|
|
1666
|
+
0,
|
|
1667
|
+
{
|
|
1668
|
+
[_hH]: _xari,
|
|
1669
|
+
},
|
|
1670
|
+
],
|
|
1671
|
+
[
|
|
1672
|
+
0,
|
|
1673
|
+
{
|
|
1674
|
+
[_hH]: _xatlc,
|
|
1675
|
+
},
|
|
1676
|
+
],
|
|
1677
|
+
[
|
|
1678
|
+
1,
|
|
1679
|
+
{
|
|
1680
|
+
[_hH]: _xatsr,
|
|
1681
|
+
},
|
|
1682
|
+
],
|
|
1683
|
+
[
|
|
1684
|
+
0,
|
|
1685
|
+
{
|
|
1686
|
+
[_hH]: _xatme,
|
|
1687
|
+
},
|
|
1688
|
+
],
|
|
1689
|
+
[
|
|
1690
|
+
0,
|
|
1691
|
+
{
|
|
1692
|
+
[_hH]: _xatvn,
|
|
1693
|
+
},
|
|
1694
|
+
],
|
|
1695
|
+
[
|
|
1696
|
+
0,
|
|
1697
|
+
{
|
|
1698
|
+
[_hH]: _xatsi,
|
|
1699
|
+
},
|
|
1700
|
+
],
|
|
1701
|
+
[() => TranscriptResultStream, 16],
|
|
1702
|
+
[
|
|
1703
|
+
0,
|
|
1704
|
+
{
|
|
1705
|
+
[_hH]: _xatvfn,
|
|
1706
|
+
},
|
|
1707
|
+
],
|
|
1708
|
+
[
|
|
1709
|
+
0,
|
|
1710
|
+
{
|
|
1711
|
+
[_hH]: _xatvfm,
|
|
1712
|
+
},
|
|
1713
|
+
],
|
|
1714
|
+
[
|
|
1715
|
+
2,
|
|
1716
|
+
{
|
|
1717
|
+
[_hH]: _xatssl,
|
|
1718
|
+
},
|
|
1719
|
+
],
|
|
1720
|
+
[
|
|
1721
|
+
2,
|
|
1722
|
+
{
|
|
1723
|
+
[_hH]: _xateci,
|
|
1724
|
+
},
|
|
1725
|
+
],
|
|
1726
|
+
[
|
|
1727
|
+
1,
|
|
1728
|
+
{
|
|
1729
|
+
[_hH]: _xatnoc,
|
|
1730
|
+
},
|
|
1731
|
+
],
|
|
1732
|
+
[
|
|
1733
|
+
2,
|
|
1734
|
+
{
|
|
1735
|
+
[_hH]: _xateprs,
|
|
1736
|
+
},
|
|
1737
|
+
],
|
|
1738
|
+
[
|
|
1739
|
+
0,
|
|
1740
|
+
{
|
|
1741
|
+
[_hH]: _xatprs,
|
|
1742
|
+
},
|
|
1743
|
+
],
|
|
1744
|
+
[
|
|
1745
|
+
0,
|
|
1746
|
+
{
|
|
1747
|
+
[_hH]: _xatcit,
|
|
1748
|
+
},
|
|
1749
|
+
],
|
|
1750
|
+
[
|
|
1751
|
+
0,
|
|
1752
|
+
{
|
|
1753
|
+
[_hH]: _xatcrt,
|
|
1754
|
+
},
|
|
1755
|
+
],
|
|
1756
|
+
[
|
|
1757
|
+
0,
|
|
1758
|
+
{
|
|
1759
|
+
[_hH]: _xatpet,
|
|
1760
|
+
},
|
|
1761
|
+
],
|
|
1762
|
+
[
|
|
1763
|
+
0,
|
|
1764
|
+
{
|
|
1765
|
+
[_hH]: _xatlmn,
|
|
1766
|
+
},
|
|
1767
|
+
],
|
|
1768
|
+
[
|
|
1769
|
+
2,
|
|
1770
|
+
{
|
|
1771
|
+
[_hH]: _xatil,
|
|
1772
|
+
},
|
|
1773
|
+
],
|
|
1774
|
+
[
|
|
1775
|
+
0,
|
|
1776
|
+
{
|
|
1777
|
+
[_hH]: _xatlo,
|
|
1778
|
+
},
|
|
1779
|
+
],
|
|
1780
|
+
[
|
|
1781
|
+
0,
|
|
1782
|
+
{
|
|
1783
|
+
[_hH]: _xatpl,
|
|
1784
|
+
},
|
|
1785
|
+
],
|
|
1786
|
+
[
|
|
1787
|
+
2,
|
|
1788
|
+
{
|
|
1789
|
+
[_hH]: _xatiml,
|
|
1790
|
+
},
|
|
1791
|
+
],
|
|
1792
|
+
[
|
|
1793
|
+
0,
|
|
1794
|
+
{
|
|
1795
|
+
[_hH]: _xatvn_,
|
|
1796
|
+
},
|
|
1797
|
+
],
|
|
1798
|
+
[
|
|
1799
|
+
0,
|
|
1800
|
+
{
|
|
1801
|
+
[_hH]: _xatvfn_,
|
|
1802
|
+
},
|
|
1803
|
+
],
|
|
1804
|
+
],
|
|
1805
|
+
];
|
|
1806
|
+
var TimestampRange = [3, n0, _TRi, 0, [_BOM, _EOM], [1, 1]];
|
|
1807
|
+
var Transcript = [3, n0, _T, 0, [_R], [() => ResultList]];
|
|
1808
|
+
var TranscriptEvent = [3, n0, _TE, 0, [_T], [() => Transcript]];
|
|
1809
|
+
var UtteranceEvent = [
|
|
1810
|
+
3,
|
|
1811
|
+
n0,
|
|
1812
|
+
_UE,
|
|
1813
|
+
0,
|
|
1814
|
+
[_UI, _IP, _PR, _BOM, _EOM, _T, _I, _E, _Se, _IDs, _LC, _LI],
|
|
1815
|
+
[
|
|
1816
|
+
0,
|
|
1817
|
+
2,
|
|
1818
|
+
0,
|
|
1819
|
+
1,
|
|
1820
|
+
1,
|
|
1821
|
+
0,
|
|
1822
|
+
() => CallAnalyticsItemList,
|
|
1823
|
+
() => CallAnalyticsEntityList,
|
|
1824
|
+
0,
|
|
1825
|
+
() => IssuesDetected,
|
|
1826
|
+
0,
|
|
1827
|
+
() => CallAnalyticsLanguageIdentification,
|
|
1828
|
+
],
|
|
1829
|
+
];
|
|
1830
|
+
var TranscribeStreamingServiceException = [
|
|
1831
|
+
-3,
|
|
1832
|
+
_sm,
|
|
1833
|
+
"TranscribeStreamingServiceException",
|
|
1834
|
+
0,
|
|
1835
|
+
[],
|
|
1836
|
+
[],
|
|
1837
|
+
];
|
|
1838
|
+
schema.TypeRegistry.for(_sm).registerError(TranscribeStreamingServiceException, TranscribeStreamingServiceException$1);
|
|
1839
|
+
var AlternativeList = [1, n0, _AL, 0, () => Alternative];
|
|
1840
|
+
var CallAnalyticsEntityList = [1, n0, _CAEL, 0, () => CallAnalyticsEntity];
|
|
1841
|
+
var CallAnalyticsItemList = [1, n0, _CAIL, 0, () => CallAnalyticsItem];
|
|
1842
|
+
var CallAnalyticsLanguageIdentification = [
|
|
1843
|
+
1,
|
|
1844
|
+
n0,
|
|
1845
|
+
_CALI,
|
|
1846
|
+
0,
|
|
1847
|
+
() => CallAnalyticsLanguageWithScore,
|
|
1848
|
+
];
|
|
1849
|
+
var ChannelDefinitions = [1, n0, _CDh, 0, () => ChannelDefinition];
|
|
1850
|
+
var EntityList = [1, n0, _EL, 0, () => Entity];
|
|
1851
|
+
var IssuesDetected = [1, n0, _IDs, 0, () => IssueDetected];
|
|
1852
|
+
var ItemList = [1, n0, _ILt, 0, () => Item];
|
|
1853
|
+
var LanguageIdentification = [1, n0, _LI, 0, () => LanguageWithScore];
|
|
1854
|
+
var MedicalAlternativeList = [1, n0, _MAL, 0, () => MedicalAlternative];
|
|
1855
|
+
var MedicalEntityList = [1, n0, _MEL, 0, () => MedicalEntity];
|
|
1856
|
+
var MedicalItemList = [1, n0, _MIL, 0, () => MedicalItem];
|
|
1857
|
+
var MedicalResultList = [1, n0, _MRL, 0, () => MedicalResult];
|
|
1858
|
+
var MedicalScribeChannelDefinitions = [1, n0, _MSCDe, 0, () => MedicalScribeChannelDefinition];
|
|
1859
|
+
var MedicalScribeTranscriptItemList = [1, n0, _MSTIL, 0, () => MedicalScribeTranscriptItem];
|
|
1860
|
+
var ResultList = [1, n0, _RL, 0, () => Result];
|
|
1861
|
+
var TimestampRanges = [1, n0, _TR, 0, () => TimestampRange];
|
|
1862
|
+
var MatchedCategoryDetails = [2, n0, _MCD, 0, 0, () => PointsOfInterest];
|
|
1863
|
+
var AudioStream = [
|
|
1864
|
+
3,
|
|
1865
|
+
n0,
|
|
1866
|
+
_AS,
|
|
1867
|
+
{
|
|
1868
|
+
[_st]: 1,
|
|
1869
|
+
},
|
|
1870
|
+
[_AE, _CEo],
|
|
1871
|
+
[[() => AudioEvent, 0], () => ConfigurationEvent],
|
|
1872
|
+
];
|
|
1873
|
+
var CallAnalyticsTranscriptResultStream = [
|
|
1874
|
+
3,
|
|
1875
|
+
n0,
|
|
1876
|
+
_CATRS,
|
|
1877
|
+
{
|
|
1878
|
+
[_st]: 1,
|
|
1879
|
+
},
|
|
1880
|
+
[_UE, _CE, _BRE, _LEE, _IFE, _CEon, _SUE],
|
|
1881
|
+
[
|
|
1882
|
+
() => UtteranceEvent,
|
|
1883
|
+
() => CategoryEvent,
|
|
1884
|
+
[() => BadRequestException, 0],
|
|
1885
|
+
[() => LimitExceededException, 0],
|
|
1886
|
+
[() => InternalFailureException, 0],
|
|
1887
|
+
[() => ConflictException, 0],
|
|
1888
|
+
[() => ServiceUnavailableException, 0],
|
|
1889
|
+
],
|
|
1890
|
+
];
|
|
1891
|
+
var MedicalScribeInputStream = [
|
|
1892
|
+
3,
|
|
1893
|
+
n0,
|
|
1894
|
+
_MSIS,
|
|
1895
|
+
{
|
|
1896
|
+
[_st]: 1,
|
|
1897
|
+
},
|
|
1898
|
+
[_AE, _SCE, _CEo],
|
|
1899
|
+
[
|
|
1900
|
+
[() => MedicalScribeAudioEvent, 0],
|
|
1901
|
+
() => MedicalScribeSessionControlEvent,
|
|
1902
|
+
[() => MedicalScribeConfigurationEvent, 0],
|
|
1903
|
+
],
|
|
1904
|
+
];
|
|
1905
|
+
var MedicalScribeResultStream = [
|
|
1906
|
+
3,
|
|
1907
|
+
n0,
|
|
1908
|
+
_MSRS,
|
|
1909
|
+
{
|
|
1910
|
+
[_st]: 1,
|
|
1911
|
+
},
|
|
1912
|
+
[_TE, _BRE, _LEE, _IFE, _CEon, _SUE],
|
|
1913
|
+
[
|
|
1914
|
+
() => MedicalScribeTranscriptEvent,
|
|
1915
|
+
[() => BadRequestException, 0],
|
|
1916
|
+
[() => LimitExceededException, 0],
|
|
1917
|
+
[() => InternalFailureException, 0],
|
|
1918
|
+
[() => ConflictException, 0],
|
|
1919
|
+
[() => ServiceUnavailableException, 0],
|
|
1920
|
+
],
|
|
1921
|
+
];
|
|
1922
|
+
var MedicalTranscriptResultStream = [
|
|
1923
|
+
3,
|
|
1924
|
+
n0,
|
|
1925
|
+
_MTRS,
|
|
1926
|
+
{
|
|
1927
|
+
[_st]: 1,
|
|
1928
|
+
},
|
|
1929
|
+
[_TE, _BRE, _LEE, _IFE, _CEon, _SUE],
|
|
1930
|
+
[
|
|
1931
|
+
() => MedicalTranscriptEvent,
|
|
1932
|
+
[() => BadRequestException, 0],
|
|
1933
|
+
[() => LimitExceededException, 0],
|
|
1934
|
+
[() => InternalFailureException, 0],
|
|
1935
|
+
[() => ConflictException, 0],
|
|
1936
|
+
[() => ServiceUnavailableException, 0],
|
|
1937
|
+
],
|
|
1938
|
+
];
|
|
1939
|
+
var TranscriptResultStream = [
|
|
1940
|
+
3,
|
|
1941
|
+
n0,
|
|
1942
|
+
_TRS,
|
|
1943
|
+
{
|
|
1944
|
+
[_st]: 1,
|
|
1945
|
+
},
|
|
1946
|
+
[_TE, _BRE, _LEE, _IFE, _CEon, _SUE],
|
|
1947
|
+
[
|
|
1948
|
+
() => TranscriptEvent,
|
|
1949
|
+
[() => BadRequestException, 0],
|
|
1950
|
+
[() => LimitExceededException, 0],
|
|
1951
|
+
[() => InternalFailureException, 0],
|
|
1952
|
+
[() => ConflictException, 0],
|
|
1953
|
+
[() => ServiceUnavailableException, 0],
|
|
1954
|
+
],
|
|
1955
|
+
];
|
|
1956
|
+
var GetMedicalScribeStream = [
|
|
1957
|
+
9,
|
|
1958
|
+
n0,
|
|
1959
|
+
_GMSS,
|
|
1960
|
+
{
|
|
1961
|
+
[_h]: ["GET", "/medical-scribe-stream/{SessionId}", 200],
|
|
1962
|
+
},
|
|
1963
|
+
() => GetMedicalScribeStreamRequest,
|
|
1964
|
+
() => GetMedicalScribeStreamResponse,
|
|
1965
|
+
];
|
|
1966
|
+
var StartCallAnalyticsStreamTranscription = [
|
|
1967
|
+
9,
|
|
1968
|
+
n0,
|
|
1969
|
+
_SCAST,
|
|
1970
|
+
{
|
|
1971
|
+
[_h]: ["POST", "/call-analytics-stream-transcription", 200],
|
|
1972
|
+
},
|
|
1973
|
+
() => StartCallAnalyticsStreamTranscriptionRequest,
|
|
1974
|
+
() => StartCallAnalyticsStreamTranscriptionResponse,
|
|
1975
|
+
];
|
|
1976
|
+
var StartMedicalScribeStream = [
|
|
1977
|
+
9,
|
|
1978
|
+
n0,
|
|
1979
|
+
_SMSS,
|
|
1980
|
+
{
|
|
1981
|
+
[_h]: ["POST", "/medical-scribe-stream", 200],
|
|
1982
|
+
},
|
|
1983
|
+
() => StartMedicalScribeStreamRequest,
|
|
1984
|
+
() => StartMedicalScribeStreamResponse,
|
|
1985
|
+
];
|
|
1986
|
+
var StartMedicalStreamTranscription = [
|
|
1987
|
+
9,
|
|
1988
|
+
n0,
|
|
1989
|
+
_SMST,
|
|
1990
|
+
{
|
|
1991
|
+
[_h]: ["POST", "/medical-stream-transcription", 200],
|
|
1992
|
+
},
|
|
1993
|
+
() => StartMedicalStreamTranscriptionRequest,
|
|
1994
|
+
() => StartMedicalStreamTranscriptionResponse,
|
|
1995
|
+
];
|
|
1996
|
+
var StartStreamTranscription = [
|
|
1997
|
+
9,
|
|
1998
|
+
n0,
|
|
1999
|
+
_SST,
|
|
2000
|
+
{
|
|
2001
|
+
[_h]: ["POST", "/stream-transcription", 200],
|
|
2002
|
+
},
|
|
2003
|
+
() => StartStreamTranscriptionRequest,
|
|
2004
|
+
() => StartStreamTranscriptionResponse,
|
|
2005
|
+
];
|
|
1590
2006
|
|
|
1591
2007
|
class GetMedicalScribeStreamCommand extends smithyClient.Command
|
|
1592
2008
|
.classBuilder()
|
|
1593
2009
|
.ep(commonParams)
|
|
1594
2010
|
.m(function (Command, cs, config, o) {
|
|
1595
|
-
return [
|
|
1596
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1597
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1598
|
-
];
|
|
2011
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1599
2012
|
})
|
|
1600
2013
|
.s("Transcribe", "GetMedicalScribeStream", {})
|
|
1601
2014
|
.n("TranscribeStreamingClient", "GetMedicalScribeStreamCommand")
|
|
1602
|
-
.
|
|
1603
|
-
.ser(se_GetMedicalScribeStreamCommand)
|
|
1604
|
-
.de(de_GetMedicalScribeStreamCommand)
|
|
2015
|
+
.sc(GetMedicalScribeStream)
|
|
1605
2016
|
.build() {
|
|
1606
2017
|
}
|
|
1607
2018
|
|
|
@@ -1610,7 +2021,6 @@ class StartCallAnalyticsStreamTranscriptionCommand extends smithyClient.Command
|
|
|
1610
2021
|
.ep(commonParams)
|
|
1611
2022
|
.m(function (Command, cs, config, o) {
|
|
1612
2023
|
return [
|
|
1613
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1614
2024
|
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1615
2025
|
middlewareEventstream.getEventStreamPlugin(config),
|
|
1616
2026
|
middlewareWebsocket.getWebSocketPlugin(config, {
|
|
@@ -1626,9 +2036,7 @@ class StartCallAnalyticsStreamTranscriptionCommand extends smithyClient.Command
|
|
|
1626
2036
|
},
|
|
1627
2037
|
})
|
|
1628
2038
|
.n("TranscribeStreamingClient", "StartCallAnalyticsStreamTranscriptionCommand")
|
|
1629
|
-
.
|
|
1630
|
-
.ser(se_StartCallAnalyticsStreamTranscriptionCommand)
|
|
1631
|
-
.de(de_StartCallAnalyticsStreamTranscriptionCommand)
|
|
2039
|
+
.sc(StartCallAnalyticsStreamTranscription)
|
|
1632
2040
|
.build() {
|
|
1633
2041
|
}
|
|
1634
2042
|
|
|
@@ -1637,7 +2045,6 @@ class StartMedicalScribeStreamCommand extends smithyClient.Command
|
|
|
1637
2045
|
.ep(commonParams)
|
|
1638
2046
|
.m(function (Command, cs, config, o) {
|
|
1639
2047
|
return [
|
|
1640
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1641
2048
|
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1642
2049
|
middlewareEventstream.getEventStreamPlugin(config),
|
|
1643
2050
|
middlewareWebsocket.getWebSocketPlugin(config, {
|
|
@@ -1653,9 +2060,7 @@ class StartMedicalScribeStreamCommand extends smithyClient.Command
|
|
|
1653
2060
|
},
|
|
1654
2061
|
})
|
|
1655
2062
|
.n("TranscribeStreamingClient", "StartMedicalScribeStreamCommand")
|
|
1656
|
-
.
|
|
1657
|
-
.ser(se_StartMedicalScribeStreamCommand)
|
|
1658
|
-
.de(de_StartMedicalScribeStreamCommand)
|
|
2063
|
+
.sc(StartMedicalScribeStream)
|
|
1659
2064
|
.build() {
|
|
1660
2065
|
}
|
|
1661
2066
|
|
|
@@ -1664,7 +2069,6 @@ class StartMedicalStreamTranscriptionCommand extends smithyClient.Command
|
|
|
1664
2069
|
.ep(commonParams)
|
|
1665
2070
|
.m(function (Command, cs, config, o) {
|
|
1666
2071
|
return [
|
|
1667
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1668
2072
|
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1669
2073
|
middlewareEventstream.getEventStreamPlugin(config),
|
|
1670
2074
|
middlewareWebsocket.getWebSocketPlugin(config, {
|
|
@@ -1680,9 +2084,7 @@ class StartMedicalStreamTranscriptionCommand extends smithyClient.Command
|
|
|
1680
2084
|
},
|
|
1681
2085
|
})
|
|
1682
2086
|
.n("TranscribeStreamingClient", "StartMedicalStreamTranscriptionCommand")
|
|
1683
|
-
.
|
|
1684
|
-
.ser(se_StartMedicalStreamTranscriptionCommand)
|
|
1685
|
-
.de(de_StartMedicalStreamTranscriptionCommand)
|
|
2087
|
+
.sc(StartMedicalStreamTranscription)
|
|
1686
2088
|
.build() {
|
|
1687
2089
|
}
|
|
1688
2090
|
|
|
@@ -1691,7 +2093,6 @@ class StartStreamTranscriptionCommand extends smithyClient.Command
|
|
|
1691
2093
|
.ep(commonParams)
|
|
1692
2094
|
.m(function (Command, cs, config, o) {
|
|
1693
2095
|
return [
|
|
1694
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1695
2096
|
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1696
2097
|
middlewareEventstream.getEventStreamPlugin(config),
|
|
1697
2098
|
middlewareWebsocket.getWebSocketPlugin(config, {
|
|
@@ -1707,9 +2108,7 @@ class StartStreamTranscriptionCommand extends smithyClient.Command
|
|
|
1707
2108
|
},
|
|
1708
2109
|
})
|
|
1709
2110
|
.n("TranscribeStreamingClient", "StartStreamTranscriptionCommand")
|
|
1710
|
-
.
|
|
1711
|
-
.ser(se_StartStreamTranscriptionCommand)
|
|
1712
|
-
.de(de_StartStreamTranscriptionCommand)
|
|
2111
|
+
.sc(StartStreamTranscription)
|
|
1713
2112
|
.build() {
|
|
1714
2113
|
}
|
|
1715
2114
|
|
|
@@ -1732,58 +2131,41 @@ Object.defineProperty(exports, "__Client", {
|
|
|
1732
2131
|
enumerable: true,
|
|
1733
2132
|
get: function () { return smithyClient.Client; }
|
|
1734
2133
|
});
|
|
1735
|
-
exports.
|
|
1736
|
-
exports.BadRequestException = BadRequestException;
|
|
2134
|
+
exports.BadRequestException = BadRequestException$1;
|
|
1737
2135
|
exports.CallAnalyticsLanguageCode = CallAnalyticsLanguageCode;
|
|
1738
|
-
exports.CallAnalyticsTranscriptResultStreamFilterSensitiveLog = CallAnalyticsTranscriptResultStreamFilterSensitiveLog;
|
|
1739
2136
|
exports.ClinicalNoteGenerationStatus = ClinicalNoteGenerationStatus;
|
|
1740
|
-
exports.ConflictException = ConflictException;
|
|
2137
|
+
exports.ConflictException = ConflictException$1;
|
|
1741
2138
|
exports.ContentIdentificationType = ContentIdentificationType;
|
|
1742
2139
|
exports.ContentRedactionOutput = ContentRedactionOutput;
|
|
1743
2140
|
exports.ContentRedactionType = ContentRedactionType;
|
|
1744
2141
|
exports.GetMedicalScribeStreamCommand = GetMedicalScribeStreamCommand;
|
|
1745
|
-
exports.InternalFailureException = InternalFailureException;
|
|
2142
|
+
exports.InternalFailureException = InternalFailureException$1;
|
|
1746
2143
|
exports.ItemType = ItemType;
|
|
1747
2144
|
exports.LanguageCode = LanguageCode;
|
|
1748
|
-
exports.LimitExceededException = LimitExceededException;
|
|
2145
|
+
exports.LimitExceededException = LimitExceededException$1;
|
|
1749
2146
|
exports.MediaEncoding = MediaEncoding;
|
|
1750
2147
|
exports.MedicalContentIdentificationType = MedicalContentIdentificationType;
|
|
1751
|
-
exports.MedicalScribeConfigurationEventFilterSensitiveLog = MedicalScribeConfigurationEventFilterSensitiveLog;
|
|
1752
|
-
exports.MedicalScribeContextFilterSensitiveLog = MedicalScribeContextFilterSensitiveLog;
|
|
1753
|
-
exports.MedicalScribeInputStreamFilterSensitiveLog = MedicalScribeInputStreamFilterSensitiveLog;
|
|
1754
2148
|
exports.MedicalScribeLanguageCode = MedicalScribeLanguageCode;
|
|
1755
2149
|
exports.MedicalScribeMediaEncoding = MedicalScribeMediaEncoding;
|
|
1756
2150
|
exports.MedicalScribeNoteTemplate = MedicalScribeNoteTemplate;
|
|
1757
2151
|
exports.MedicalScribeParticipantRole = MedicalScribeParticipantRole;
|
|
1758
|
-
exports.MedicalScribePatientContextFilterSensitiveLog = MedicalScribePatientContextFilterSensitiveLog;
|
|
1759
|
-
exports.MedicalScribeResultStreamFilterSensitiveLog = MedicalScribeResultStreamFilterSensitiveLog;
|
|
1760
2152
|
exports.MedicalScribeSessionControlEventType = MedicalScribeSessionControlEventType;
|
|
1761
2153
|
exports.MedicalScribeStreamStatus = MedicalScribeStreamStatus;
|
|
1762
2154
|
exports.MedicalScribeTranscriptItemType = MedicalScribeTranscriptItemType;
|
|
1763
2155
|
exports.MedicalScribeVocabularyFilterMethod = MedicalScribeVocabularyFilterMethod;
|
|
1764
|
-
exports.MedicalTranscriptResultStreamFilterSensitiveLog = MedicalTranscriptResultStreamFilterSensitiveLog;
|
|
1765
2156
|
exports.PartialResultsStability = PartialResultsStability;
|
|
1766
2157
|
exports.ParticipantRole = ParticipantRole;
|
|
1767
|
-
exports.Pronouns = Pronouns;
|
|
1768
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
2158
|
+
exports.Pronouns = Pronouns$1;
|
|
2159
|
+
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
1769
2160
|
exports.Sentiment = Sentiment;
|
|
1770
|
-
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
2161
|
+
exports.ServiceUnavailableException = ServiceUnavailableException$1;
|
|
1771
2162
|
exports.Specialty = Specialty;
|
|
1772
2163
|
exports.StartCallAnalyticsStreamTranscriptionCommand = StartCallAnalyticsStreamTranscriptionCommand;
|
|
1773
|
-
exports.StartCallAnalyticsStreamTranscriptionRequestFilterSensitiveLog = StartCallAnalyticsStreamTranscriptionRequestFilterSensitiveLog;
|
|
1774
|
-
exports.StartCallAnalyticsStreamTranscriptionResponseFilterSensitiveLog = StartCallAnalyticsStreamTranscriptionResponseFilterSensitiveLog;
|
|
1775
2164
|
exports.StartMedicalScribeStreamCommand = StartMedicalScribeStreamCommand;
|
|
1776
|
-
exports.StartMedicalScribeStreamRequestFilterSensitiveLog = StartMedicalScribeStreamRequestFilterSensitiveLog;
|
|
1777
|
-
exports.StartMedicalScribeStreamResponseFilterSensitiveLog = StartMedicalScribeStreamResponseFilterSensitiveLog;
|
|
1778
2165
|
exports.StartMedicalStreamTranscriptionCommand = StartMedicalStreamTranscriptionCommand;
|
|
1779
|
-
exports.StartMedicalStreamTranscriptionRequestFilterSensitiveLog = StartMedicalStreamTranscriptionRequestFilterSensitiveLog;
|
|
1780
|
-
exports.StartMedicalStreamTranscriptionResponseFilterSensitiveLog = StartMedicalStreamTranscriptionResponseFilterSensitiveLog;
|
|
1781
2166
|
exports.StartStreamTranscriptionCommand = StartStreamTranscriptionCommand;
|
|
1782
|
-
exports.StartStreamTranscriptionRequestFilterSensitiveLog = StartStreamTranscriptionRequestFilterSensitiveLog;
|
|
1783
|
-
exports.StartStreamTranscriptionResponseFilterSensitiveLog = StartStreamTranscriptionResponseFilterSensitiveLog;
|
|
1784
2167
|
exports.TranscribeStreaming = TranscribeStreaming;
|
|
1785
2168
|
exports.TranscribeStreamingClient = TranscribeStreamingClient;
|
|
1786
|
-
exports.TranscribeStreamingServiceException = TranscribeStreamingServiceException;
|
|
1787
|
-
exports.TranscriptResultStreamFilterSensitiveLog = TranscriptResultStreamFilterSensitiveLog;
|
|
2169
|
+
exports.TranscribeStreamingServiceException = TranscribeStreamingServiceException$1;
|
|
1788
2170
|
exports.Type = Type;
|
|
1789
2171
|
exports.VocabularyFilterMethod = VocabularyFilterMethod;
|