@aws-sdk/client-transcribe-streaming 3.934.0 → 3.935.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 +219 -173
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +215 -0
- package/dist-es/models/errors.js +85 -0
- package/dist-es/models/models_0.js +1 -255
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/commands/StartMedicalStreamTranscriptionCommand.d.ts +2 -2
- package/dist-types/commands/StartStreamTranscriptionCommand.d.ts +6 -6
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +407 -0
- package/dist-types/models/errors.d.ts +85 -0
- package/dist-types/models/models_0.d.ts +2 -447
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +256 -0
- package/dist-types/ts3.4/models/errors.d.ts +48 -0
- package/dist-types/ts3.4/models/models_0.d.ts +33 -259
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -1,5 +1,36 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import {
|
|
2
|
+
CallAnalyticsLanguageCode,
|
|
3
|
+
ClinicalNoteGenerationStatus,
|
|
4
|
+
ContentIdentificationType,
|
|
5
|
+
ContentRedactionOutput,
|
|
6
|
+
ContentRedactionType,
|
|
7
|
+
ItemType,
|
|
8
|
+
LanguageCode,
|
|
9
|
+
MediaEncoding,
|
|
10
|
+
MedicalContentIdentificationType,
|
|
11
|
+
MedicalScribeLanguageCode,
|
|
12
|
+
MedicalScribeMediaEncoding,
|
|
13
|
+
MedicalScribeNoteTemplate,
|
|
14
|
+
MedicalScribeParticipantRole,
|
|
15
|
+
MedicalScribeSessionControlEventType,
|
|
16
|
+
MedicalScribeStreamStatus,
|
|
17
|
+
MedicalScribeTranscriptItemType,
|
|
18
|
+
MedicalScribeVocabularyFilterMethod,
|
|
19
|
+
PartialResultsStability,
|
|
20
|
+
ParticipantRole,
|
|
21
|
+
Pronouns,
|
|
22
|
+
Sentiment,
|
|
23
|
+
Specialty,
|
|
24
|
+
Type,
|
|
25
|
+
VocabularyFilterMethod,
|
|
26
|
+
} from "./enums";
|
|
27
|
+
import {
|
|
28
|
+
BadRequestException,
|
|
29
|
+
ConflictException,
|
|
30
|
+
InternalFailureException,
|
|
31
|
+
LimitExceededException,
|
|
32
|
+
ServiceUnavailableException,
|
|
33
|
+
} from "./errors";
|
|
3
34
|
export interface Entity {
|
|
4
35
|
StartTime?: number | undefined;
|
|
5
36
|
EndTime?: number | undefined;
|
|
@@ -8,11 +39,6 @@ export interface Entity {
|
|
|
8
39
|
Content?: string | undefined;
|
|
9
40
|
Confidence?: number | undefined;
|
|
10
41
|
}
|
|
11
|
-
export declare const ItemType: {
|
|
12
|
-
readonly PRONUNCIATION: "pronunciation";
|
|
13
|
-
readonly PUNCTUATION: "punctuation";
|
|
14
|
-
};
|
|
15
|
-
export type ItemType = (typeof ItemType)[keyof typeof ItemType];
|
|
16
42
|
export interface Item {
|
|
17
43
|
StartTime?: number | undefined;
|
|
18
44
|
EndTime?: number | undefined;
|
|
@@ -31,22 +57,10 @@ export interface Alternative {
|
|
|
31
57
|
export interface AudioEvent {
|
|
32
58
|
AudioChunk?: Uint8Array | undefined;
|
|
33
59
|
}
|
|
34
|
-
export declare const ParticipantRole: {
|
|
35
|
-
readonly AGENT: "AGENT";
|
|
36
|
-
readonly CUSTOMER: "CUSTOMER";
|
|
37
|
-
};
|
|
38
|
-
export type ParticipantRole =
|
|
39
|
-
(typeof ParticipantRole)[keyof typeof ParticipantRole];
|
|
40
60
|
export interface ChannelDefinition {
|
|
41
61
|
ChannelId: number | undefined;
|
|
42
62
|
ParticipantRole: ParticipantRole | undefined;
|
|
43
63
|
}
|
|
44
|
-
export declare const ContentRedactionOutput: {
|
|
45
|
-
readonly REDACTED: "redacted";
|
|
46
|
-
readonly REDACTED_AND_UNREDACTED: "redacted_and_unredacted";
|
|
47
|
-
};
|
|
48
|
-
export type ContentRedactionOutput =
|
|
49
|
-
(typeof ContentRedactionOutput)[keyof typeof ContentRedactionOutput];
|
|
50
64
|
export interface PostCallAnalyticsSettings {
|
|
51
65
|
OutputLocation: string | undefined;
|
|
52
66
|
DataAccessRoleArn: string | undefined;
|
|
@@ -83,14 +97,6 @@ export declare namespace AudioStream {
|
|
|
83
97
|
_: (name: string, value: any) => T;
|
|
84
98
|
}
|
|
85
99
|
}
|
|
86
|
-
export declare class BadRequestException extends __BaseException {
|
|
87
|
-
readonly name: "BadRequestException";
|
|
88
|
-
readonly $fault: "client";
|
|
89
|
-
Message?: string | undefined;
|
|
90
|
-
constructor(
|
|
91
|
-
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
92
|
-
);
|
|
93
|
-
}
|
|
94
100
|
export interface CallAnalyticsEntity {
|
|
95
101
|
BeginOffsetMillis?: number | undefined;
|
|
96
102
|
EndOffsetMillis?: number | undefined;
|
|
@@ -108,19 +114,6 @@ export interface CallAnalyticsItem {
|
|
|
108
114
|
VocabularyFilterMatch?: boolean | undefined;
|
|
109
115
|
Stable?: boolean | undefined;
|
|
110
116
|
}
|
|
111
|
-
export declare const CallAnalyticsLanguageCode: {
|
|
112
|
-
readonly DE_DE: "de-DE";
|
|
113
|
-
readonly EN_AU: "en-AU";
|
|
114
|
-
readonly EN_GB: "en-GB";
|
|
115
|
-
readonly EN_US: "en-US";
|
|
116
|
-
readonly ES_US: "es-US";
|
|
117
|
-
readonly FR_CA: "fr-CA";
|
|
118
|
-
readonly FR_FR: "fr-FR";
|
|
119
|
-
readonly IT_IT: "it-IT";
|
|
120
|
-
readonly PT_BR: "pt-BR";
|
|
121
|
-
};
|
|
122
|
-
export type CallAnalyticsLanguageCode =
|
|
123
|
-
(typeof CallAnalyticsLanguageCode)[keyof typeof CallAnalyticsLanguageCode];
|
|
124
117
|
export interface CallAnalyticsLanguageWithScore {
|
|
125
118
|
LanguageCode?: CallAnalyticsLanguageCode | undefined;
|
|
126
119
|
Score?: number | undefined;
|
|
@@ -136,36 +129,6 @@ export interface CategoryEvent {
|
|
|
136
129
|
MatchedCategories?: string[] | undefined;
|
|
137
130
|
MatchedDetails?: Record<string, PointsOfInterest> | undefined;
|
|
138
131
|
}
|
|
139
|
-
export declare class ConflictException extends __BaseException {
|
|
140
|
-
readonly name: "ConflictException";
|
|
141
|
-
readonly $fault: "client";
|
|
142
|
-
Message?: string | undefined;
|
|
143
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
144
|
-
}
|
|
145
|
-
export declare class InternalFailureException extends __BaseException {
|
|
146
|
-
readonly name: "InternalFailureException";
|
|
147
|
-
readonly $fault: "server";
|
|
148
|
-
Message?: string | undefined;
|
|
149
|
-
constructor(
|
|
150
|
-
opts: __ExceptionOptionType<InternalFailureException, __BaseException>
|
|
151
|
-
);
|
|
152
|
-
}
|
|
153
|
-
export declare class LimitExceededException extends __BaseException {
|
|
154
|
-
readonly name: "LimitExceededException";
|
|
155
|
-
readonly $fault: "client";
|
|
156
|
-
Message?: string | undefined;
|
|
157
|
-
constructor(
|
|
158
|
-
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
159
|
-
);
|
|
160
|
-
}
|
|
161
|
-
export declare class ServiceUnavailableException extends __BaseException {
|
|
162
|
-
readonly name: "ServiceUnavailableException";
|
|
163
|
-
readonly $fault: "server";
|
|
164
|
-
Message?: string | undefined;
|
|
165
|
-
constructor(
|
|
166
|
-
opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
|
|
167
|
-
);
|
|
168
|
-
}
|
|
169
132
|
export interface CharacterOffsets {
|
|
170
133
|
Begin?: number | undefined;
|
|
171
134
|
End?: number | undefined;
|
|
@@ -173,13 +136,6 @@ export interface CharacterOffsets {
|
|
|
173
136
|
export interface IssueDetected {
|
|
174
137
|
CharacterOffsets?: CharacterOffsets | undefined;
|
|
175
138
|
}
|
|
176
|
-
export declare const Sentiment: {
|
|
177
|
-
readonly MIXED: "MIXED";
|
|
178
|
-
readonly NEGATIVE: "NEGATIVE";
|
|
179
|
-
readonly NEUTRAL: "NEUTRAL";
|
|
180
|
-
readonly POSITIVE: "POSITIVE";
|
|
181
|
-
};
|
|
182
|
-
export type Sentiment = (typeof Sentiment)[keyof typeof Sentiment];
|
|
183
139
|
export interface UtteranceEvent {
|
|
184
140
|
UtteranceId?: string | undefined;
|
|
185
141
|
IsPartial?: boolean | undefined;
|
|
@@ -295,53 +251,19 @@ export declare namespace CallAnalyticsTranscriptResultStream {
|
|
|
295
251
|
_: (name: string, value: any) => T;
|
|
296
252
|
}
|
|
297
253
|
}
|
|
298
|
-
export declare const ClinicalNoteGenerationStatus: {
|
|
299
|
-
readonly COMPLETED: "COMPLETED";
|
|
300
|
-
readonly FAILED: "FAILED";
|
|
301
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
302
|
-
};
|
|
303
|
-
export type ClinicalNoteGenerationStatus =
|
|
304
|
-
(typeof ClinicalNoteGenerationStatus)[keyof typeof ClinicalNoteGenerationStatus];
|
|
305
254
|
export interface ClinicalNoteGenerationResult {
|
|
306
255
|
ClinicalNoteOutputLocation?: string | undefined;
|
|
307
256
|
TranscriptOutputLocation?: string | undefined;
|
|
308
257
|
Status?: ClinicalNoteGenerationStatus | undefined;
|
|
309
258
|
FailureReason?: string | undefined;
|
|
310
259
|
}
|
|
311
|
-
export declare const MedicalScribeNoteTemplate: {
|
|
312
|
-
readonly BEHAVIORAL_SOAP: "BEHAVIORAL_SOAP";
|
|
313
|
-
readonly BIRP: "BIRP";
|
|
314
|
-
readonly DAP: "DAP";
|
|
315
|
-
readonly GIRPP: "GIRPP";
|
|
316
|
-
readonly HISTORY_AND_PHYSICAL: "HISTORY_AND_PHYSICAL";
|
|
317
|
-
readonly PHYSICAL_SOAP: "PHYSICAL_SOAP";
|
|
318
|
-
readonly SIRP: "SIRP";
|
|
319
|
-
};
|
|
320
|
-
export type MedicalScribeNoteTemplate =
|
|
321
|
-
(typeof MedicalScribeNoteTemplate)[keyof typeof MedicalScribeNoteTemplate];
|
|
322
260
|
export interface ClinicalNoteGenerationSettings {
|
|
323
261
|
OutputBucketName: string | undefined;
|
|
324
262
|
NoteTemplate?: MedicalScribeNoteTemplate | undefined;
|
|
325
263
|
}
|
|
326
|
-
export declare const ContentIdentificationType: {
|
|
327
|
-
readonly PII: "PII";
|
|
328
|
-
};
|
|
329
|
-
export type ContentIdentificationType =
|
|
330
|
-
(typeof ContentIdentificationType)[keyof typeof ContentIdentificationType];
|
|
331
|
-
export declare const ContentRedactionType: {
|
|
332
|
-
readonly PII: "PII";
|
|
333
|
-
};
|
|
334
|
-
export type ContentRedactionType =
|
|
335
|
-
(typeof ContentRedactionType)[keyof typeof ContentRedactionType];
|
|
336
264
|
export interface GetMedicalScribeStreamRequest {
|
|
337
265
|
SessionId: string | undefined;
|
|
338
266
|
}
|
|
339
|
-
export declare const MedicalScribeParticipantRole: {
|
|
340
|
-
readonly CLINICIAN: "CLINICIAN";
|
|
341
|
-
readonly PATIENT: "PATIENT";
|
|
342
|
-
};
|
|
343
|
-
export type MedicalScribeParticipantRole =
|
|
344
|
-
(typeof MedicalScribeParticipantRole)[keyof typeof MedicalScribeParticipantRole];
|
|
345
267
|
export interface MedicalScribeChannelDefinition {
|
|
346
268
|
ChannelId: number | undefined;
|
|
347
269
|
ParticipantRole: MedicalScribeParticipantRole | undefined;
|
|
@@ -350,39 +272,12 @@ export interface MedicalScribeEncryptionSettings {
|
|
|
350
272
|
KmsEncryptionContext?: Record<string, string> | undefined;
|
|
351
273
|
KmsKeyId: string | undefined;
|
|
352
274
|
}
|
|
353
|
-
export declare const MedicalScribeLanguageCode: {
|
|
354
|
-
readonly EN_US: "en-US";
|
|
355
|
-
};
|
|
356
|
-
export type MedicalScribeLanguageCode =
|
|
357
|
-
(typeof MedicalScribeLanguageCode)[keyof typeof MedicalScribeLanguageCode];
|
|
358
|
-
export declare const MedicalScribeMediaEncoding: {
|
|
359
|
-
readonly FLAC: "flac";
|
|
360
|
-
readonly OGG_OPUS: "ogg-opus";
|
|
361
|
-
readonly PCM: "pcm";
|
|
362
|
-
};
|
|
363
|
-
export type MedicalScribeMediaEncoding =
|
|
364
|
-
(typeof MedicalScribeMediaEncoding)[keyof typeof MedicalScribeMediaEncoding];
|
|
365
275
|
export interface MedicalScribePostStreamAnalyticsResult {
|
|
366
276
|
ClinicalNoteGenerationResult?: ClinicalNoteGenerationResult | undefined;
|
|
367
277
|
}
|
|
368
278
|
export interface MedicalScribePostStreamAnalyticsSettings {
|
|
369
279
|
ClinicalNoteGenerationSettings: ClinicalNoteGenerationSettings | undefined;
|
|
370
280
|
}
|
|
371
|
-
export declare const MedicalScribeStreamStatus: {
|
|
372
|
-
readonly COMPLETED: "COMPLETED";
|
|
373
|
-
readonly FAILED: "FAILED";
|
|
374
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
375
|
-
readonly PAUSED: "PAUSED";
|
|
376
|
-
};
|
|
377
|
-
export type MedicalScribeStreamStatus =
|
|
378
|
-
(typeof MedicalScribeStreamStatus)[keyof typeof MedicalScribeStreamStatus];
|
|
379
|
-
export declare const MedicalScribeVocabularyFilterMethod: {
|
|
380
|
-
readonly MASK: "mask";
|
|
381
|
-
readonly REMOVE: "remove";
|
|
382
|
-
readonly TAG: "tag";
|
|
383
|
-
};
|
|
384
|
-
export type MedicalScribeVocabularyFilterMethod =
|
|
385
|
-
(typeof MedicalScribeVocabularyFilterMethod)[keyof typeof MedicalScribeVocabularyFilterMethod];
|
|
386
281
|
export interface MedicalScribeStreamDetails {
|
|
387
282
|
SessionId?: string | undefined;
|
|
388
283
|
StreamCreatedAt?: Date | undefined;
|
|
@@ -408,81 +303,10 @@ export interface MedicalScribeStreamDetails {
|
|
|
408
303
|
export interface GetMedicalScribeStreamResponse {
|
|
409
304
|
MedicalScribeStreamDetails?: MedicalScribeStreamDetails | undefined;
|
|
410
305
|
}
|
|
411
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
412
|
-
readonly name: "ResourceNotFoundException";
|
|
413
|
-
readonly $fault: "client";
|
|
414
|
-
Message?: string | undefined;
|
|
415
|
-
constructor(
|
|
416
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
417
|
-
);
|
|
418
|
-
}
|
|
419
|
-
export declare const LanguageCode: {
|
|
420
|
-
readonly AF_ZA: "af-ZA";
|
|
421
|
-
readonly AR_AE: "ar-AE";
|
|
422
|
-
readonly AR_SA: "ar-SA";
|
|
423
|
-
readonly CA_ES: "ca-ES";
|
|
424
|
-
readonly CS_CZ: "cs-CZ";
|
|
425
|
-
readonly DA_DK: "da-DK";
|
|
426
|
-
readonly DE_CH: "de-CH";
|
|
427
|
-
readonly DE_DE: "de-DE";
|
|
428
|
-
readonly EL_GR: "el-GR";
|
|
429
|
-
readonly EN_AB: "en-AB";
|
|
430
|
-
readonly EN_AU: "en-AU";
|
|
431
|
-
readonly EN_GB: "en-GB";
|
|
432
|
-
readonly EN_IE: "en-IE";
|
|
433
|
-
readonly EN_IN: "en-IN";
|
|
434
|
-
readonly EN_NZ: "en-NZ";
|
|
435
|
-
readonly EN_US: "en-US";
|
|
436
|
-
readonly EN_WL: "en-WL";
|
|
437
|
-
readonly EN_ZA: "en-ZA";
|
|
438
|
-
readonly ES_ES: "es-ES";
|
|
439
|
-
readonly ES_US: "es-US";
|
|
440
|
-
readonly EU_ES: "eu-ES";
|
|
441
|
-
readonly FA_IR: "fa-IR";
|
|
442
|
-
readonly FI_FI: "fi-FI";
|
|
443
|
-
readonly FR_CA: "fr-CA";
|
|
444
|
-
readonly FR_FR: "fr-FR";
|
|
445
|
-
readonly GL_ES: "gl-ES";
|
|
446
|
-
readonly HE_IL: "he-IL";
|
|
447
|
-
readonly HI_IN: "hi-IN";
|
|
448
|
-
readonly HR_HR: "hr-HR";
|
|
449
|
-
readonly ID_ID: "id-ID";
|
|
450
|
-
readonly IT_IT: "it-IT";
|
|
451
|
-
readonly JA_JP: "ja-JP";
|
|
452
|
-
readonly KO_KR: "ko-KR";
|
|
453
|
-
readonly LV_LV: "lv-LV";
|
|
454
|
-
readonly MS_MY: "ms-MY";
|
|
455
|
-
readonly NL_NL: "nl-NL";
|
|
456
|
-
readonly NO_NO: "no-NO";
|
|
457
|
-
readonly PL_PL: "pl-PL";
|
|
458
|
-
readonly PT_BR: "pt-BR";
|
|
459
|
-
readonly PT_PT: "pt-PT";
|
|
460
|
-
readonly RO_RO: "ro-RO";
|
|
461
|
-
readonly RU_RU: "ru-RU";
|
|
462
|
-
readonly SK_SK: "sk-SK";
|
|
463
|
-
readonly SO_SO: "so-SO";
|
|
464
|
-
readonly SR_RS: "sr-RS";
|
|
465
|
-
readonly SV_SE: "sv-SE";
|
|
466
|
-
readonly TH_TH: "th-TH";
|
|
467
|
-
readonly TL_PH: "tl-PH";
|
|
468
|
-
readonly UK_UA: "uk-UA";
|
|
469
|
-
readonly VI_VN: "vi-VN";
|
|
470
|
-
readonly ZH_CN: "zh-CN";
|
|
471
|
-
readonly ZH_HK: "zh-HK";
|
|
472
|
-
readonly ZH_TW: "zh-TW";
|
|
473
|
-
readonly ZU_ZA: "zu-ZA";
|
|
474
|
-
};
|
|
475
|
-
export type LanguageCode = (typeof LanguageCode)[keyof typeof LanguageCode];
|
|
476
306
|
export interface LanguageWithScore {
|
|
477
307
|
LanguageCode?: LanguageCode | undefined;
|
|
478
308
|
Score?: number | undefined;
|
|
479
309
|
}
|
|
480
|
-
export declare const MediaEncoding: {
|
|
481
|
-
readonly FLAC: "flac";
|
|
482
|
-
readonly OGG_OPUS: "ogg-opus";
|
|
483
|
-
readonly PCM: "pcm";
|
|
484
|
-
};
|
|
485
|
-
export type MediaEncoding = (typeof MediaEncoding)[keyof typeof MediaEncoding];
|
|
486
310
|
export interface MedicalEntity {
|
|
487
311
|
StartTime?: number | undefined;
|
|
488
312
|
EndTime?: number | undefined;
|
|
@@ -503,11 +327,6 @@ export interface MedicalAlternative {
|
|
|
503
327
|
Items?: MedicalItem[] | undefined;
|
|
504
328
|
Entities?: MedicalEntity[] | undefined;
|
|
505
329
|
}
|
|
506
|
-
export declare const MedicalContentIdentificationType: {
|
|
507
|
-
readonly PHI: "PHI";
|
|
508
|
-
};
|
|
509
|
-
export type MedicalContentIdentificationType =
|
|
510
|
-
(typeof MedicalContentIdentificationType)[keyof typeof MedicalContentIdentificationType];
|
|
511
330
|
export interface MedicalResult {
|
|
512
331
|
ResultId?: string | undefined;
|
|
513
332
|
StartTime?: number | undefined;
|
|
@@ -519,12 +338,6 @@ export interface MedicalResult {
|
|
|
519
338
|
export interface MedicalScribeAudioEvent {
|
|
520
339
|
AudioChunk: Uint8Array | undefined;
|
|
521
340
|
}
|
|
522
|
-
export declare const Pronouns: {
|
|
523
|
-
readonly HE_HIM: "HE_HIM";
|
|
524
|
-
readonly SHE_HER: "SHE_HER";
|
|
525
|
-
readonly THEY_THEM: "THEY_THEM";
|
|
526
|
-
};
|
|
527
|
-
export type Pronouns = (typeof Pronouns)[keyof typeof Pronouns];
|
|
528
341
|
export interface MedicalScribePatientContext {
|
|
529
342
|
Pronouns?: Pronouns | undefined;
|
|
530
343
|
}
|
|
@@ -543,11 +356,6 @@ export interface MedicalScribeConfigurationEvent {
|
|
|
543
356
|
| undefined;
|
|
544
357
|
MedicalScribeContext?: MedicalScribeContext | undefined;
|
|
545
358
|
}
|
|
546
|
-
export declare const MedicalScribeSessionControlEventType: {
|
|
547
|
-
readonly END_OF_SESSION: "END_OF_SESSION";
|
|
548
|
-
};
|
|
549
|
-
export type MedicalScribeSessionControlEventType =
|
|
550
|
-
(typeof MedicalScribeSessionControlEventType)[keyof typeof MedicalScribeSessionControlEventType];
|
|
551
359
|
export interface MedicalScribeSessionControlEvent {
|
|
552
360
|
Type: MedicalScribeSessionControlEventType | undefined;
|
|
553
361
|
}
|
|
@@ -588,12 +396,6 @@ export declare namespace MedicalScribeInputStream {
|
|
|
588
396
|
_: (name: string, value: any) => T;
|
|
589
397
|
}
|
|
590
398
|
}
|
|
591
|
-
export declare const MedicalScribeTranscriptItemType: {
|
|
592
|
-
readonly PRONUNCIATION: "pronunciation";
|
|
593
|
-
readonly PUNCTUATION: "punctuation";
|
|
594
|
-
};
|
|
595
|
-
export type MedicalScribeTranscriptItemType =
|
|
596
|
-
(typeof MedicalScribeTranscriptItemType)[keyof typeof MedicalScribeTranscriptItemType];
|
|
597
399
|
export interface MedicalScribeTranscriptItem {
|
|
598
400
|
BeginAudioTime?: number | undefined;
|
|
599
401
|
EndAudioTime?: number | undefined;
|
|
@@ -784,13 +586,6 @@ export declare namespace MedicalTranscriptResultStream {
|
|
|
784
586
|
_: (name: string, value: any) => T;
|
|
785
587
|
}
|
|
786
588
|
}
|
|
787
|
-
export declare const PartialResultsStability: {
|
|
788
|
-
readonly HIGH: "high";
|
|
789
|
-
readonly LOW: "low";
|
|
790
|
-
readonly MEDIUM: "medium";
|
|
791
|
-
};
|
|
792
|
-
export type PartialResultsStability =
|
|
793
|
-
(typeof PartialResultsStability)[keyof typeof PartialResultsStability];
|
|
794
589
|
export interface Result {
|
|
795
590
|
ResultId?: string | undefined;
|
|
796
591
|
StartTime?: number | undefined;
|
|
@@ -801,22 +596,6 @@ export interface Result {
|
|
|
801
596
|
LanguageCode?: LanguageCode | undefined;
|
|
802
597
|
LanguageIdentification?: LanguageWithScore[] | undefined;
|
|
803
598
|
}
|
|
804
|
-
export declare const Specialty: {
|
|
805
|
-
readonly CARDIOLOGY: "CARDIOLOGY";
|
|
806
|
-
readonly NEUROLOGY: "NEUROLOGY";
|
|
807
|
-
readonly ONCOLOGY: "ONCOLOGY";
|
|
808
|
-
readonly PRIMARYCARE: "PRIMARYCARE";
|
|
809
|
-
readonly RADIOLOGY: "RADIOLOGY";
|
|
810
|
-
readonly UROLOGY: "UROLOGY";
|
|
811
|
-
};
|
|
812
|
-
export type Specialty = (typeof Specialty)[keyof typeof Specialty];
|
|
813
|
-
export declare const VocabularyFilterMethod: {
|
|
814
|
-
readonly MASK: "mask";
|
|
815
|
-
readonly REMOVE: "remove";
|
|
816
|
-
readonly TAG: "tag";
|
|
817
|
-
};
|
|
818
|
-
export type VocabularyFilterMethod =
|
|
819
|
-
(typeof VocabularyFilterMethod)[keyof typeof VocabularyFilterMethod];
|
|
820
599
|
export interface StartCallAnalyticsStreamTranscriptionRequest {
|
|
821
600
|
LanguageCode?: CallAnalyticsLanguageCode | undefined;
|
|
822
601
|
MediaSampleRateHertz: number | undefined;
|
|
@@ -877,11 +656,6 @@ export interface StartMedicalScribeStreamResponse {
|
|
|
877
656
|
MediaEncoding?: MedicalScribeMediaEncoding | undefined;
|
|
878
657
|
ResultStream?: AsyncIterable<MedicalScribeResultStream> | undefined;
|
|
879
658
|
}
|
|
880
|
-
export declare const Type: {
|
|
881
|
-
readonly CONVERSATION: "CONVERSATION";
|
|
882
|
-
readonly DICTATION: "DICTATION";
|
|
883
|
-
};
|
|
884
|
-
export type Type = (typeof Type)[keyof typeof Type];
|
|
885
659
|
export interface StartMedicalStreamTranscriptionRequest {
|
|
886
660
|
LanguageCode: LanguageCode | undefined;
|
|
887
661
|
MediaSampleRateHertz: number | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-transcribe-streaming",
|
|
3
3
|
"description": "AWS SDK for JavaScript Transcribe Streaming Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.935.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-transcribe-streaming",
|
|
@@ -22,23 +22,23 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/core": "3.935.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
27
27
|
"@aws-sdk/eventstream-handler-node": "3.930.0",
|
|
28
28
|
"@aws-sdk/middleware-eventstream": "3.930.0",
|
|
29
29
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
30
30
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
31
31
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
32
32
|
"@aws-sdk/middleware-sdk-transcribe-streaming": "3.930.0",
|
|
33
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
33
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
34
34
|
"@aws-sdk/middleware-websocket": "3.930.0",
|
|
35
35
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
36
36
|
"@aws-sdk/types": "3.930.0",
|
|
37
37
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
38
38
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
39
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
39
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
40
40
|
"@smithy/config-resolver": "^4.4.3",
|
|
41
|
-
"@smithy/core": "^3.18.
|
|
41
|
+
"@smithy/core": "^3.18.5",
|
|
42
42
|
"@smithy/eventstream-serde-browser": "^4.2.5",
|
|
43
43
|
"@smithy/eventstream-serde-config-resolver": "^4.3.5",
|
|
44
44
|
"@smithy/eventstream-serde-node": "^4.2.5",
|
|
@@ -46,21 +46,21 @@
|
|
|
46
46
|
"@smithy/hash-node": "^4.2.5",
|
|
47
47
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
48
48
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
49
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
50
|
-
"@smithy/middleware-retry": "^4.4.
|
|
51
|
-
"@smithy/middleware-serde": "^4.2.
|
|
49
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
50
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
51
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
52
52
|
"@smithy/middleware-stack": "^4.2.5",
|
|
53
53
|
"@smithy/node-config-provider": "^4.3.5",
|
|
54
54
|
"@smithy/node-http-handler": "^4.4.5",
|
|
55
55
|
"@smithy/protocol-http": "^5.3.5",
|
|
56
|
-
"@smithy/smithy-client": "^4.9.
|
|
56
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
57
57
|
"@smithy/types": "^4.9.0",
|
|
58
58
|
"@smithy/url-parser": "^4.2.5",
|
|
59
59
|
"@smithy/util-base64": "^4.3.0",
|
|
60
60
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
61
61
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
62
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
63
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
62
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
63
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
64
64
|
"@smithy/util-endpoints": "^3.2.5",
|
|
65
65
|
"@smithy/util-middleware": "^4.2.5",
|
|
66
66
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|