@aws-sdk/client-connecthealth 3.1064.0 → 3.1066.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/README.md +1 -1
- package/dist-cjs/schemas/schemas_0.js +11 -3
- package/dist-es/schemas/schemas_0.js +10 -2
- package/dist-types/ConnectHealth.d.ts +1 -1
- package/dist-types/ConnectHealthClient.d.ts +1 -1
- package/dist-types/commands/StartMedicalScribeListeningSessionCommand.d.ts +3 -0
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +28 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +16 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript ConnectHealth Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<p>Health
|
|
9
|
+
<p>Amazon Connect Health is an AI-powered healthcare service built on Amazon Connect. It provides pre-built agents that automate patient engagement workflows and support clinical documentation at the point of care.</p> <p>You can use the Amazon Connect Health API to programmatically manage domains, configure patient engagement agents, run patient insights jobs, and stream ambient documentation sessions. This API reference describes the available API operations and data types for Amazon Connect Health.</p> <p>We recommend that you use the AWS SDKs to make programmatic API calls to Amazon Connect Health.</p>
|
|
10
10
|
|
|
11
11
|
## Installing
|
|
12
12
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MedicalScribeAudioEvent$ = exports.ManagedTemplateResponse$ = exports.ManagedTemplate$ = exports.ListTagsForResourceOutput$ = exports.ListTagsForResourceInput$ = exports.ListSubscriptionsOutput$ = exports.ListSubscriptionsInput$ = exports.ListDomainsOutput$ = exports.ListDomainsInput$ = exports.InsightsOutput$ = exports.InsightsContext$ = exports.InputDataConfig$ = exports.GetSubscriptionOutput$ = exports.GetSubscriptionInput$ = exports.GetPatientInsightsJobResponse$ = exports.GetPatientInsightsJobRequest$ = exports.GetMedicalScribeListeningSessionOutput$ = exports.GetMedicalScribeListeningSessionInput$ = exports.GetDomainOutput$ = exports.GetDomainInput$ = exports.FHIRServer$ = exports.EncryptionContext$ = exports.EncounterContext$ = exports.DomainSummary$ = exports.DeleteDomainOutput$ = exports.DeleteDomainInput$ = exports.DeactivateSubscriptionOutput$ = exports.DeactivateSubscriptionInput$ = exports.CustomTemplateResponse$ = exports.CustomTemplate$ = exports.CreateWebAppConfiguration$ = exports.CreateSubscriptionOutput$ = exports.CreateSubscriptionInput$ = exports.CreateDomainOutput$ = exports.CreateDomainInput$ = exports.ClinicalNoteGenerationSettingsResponse$ = exports.ClinicalNoteGenerationSettings$ = exports.ClinicalNoteGenerationResult$ = exports.ArtifactDetails$ = exports.ActivateSubscriptionOutput$ = exports.ActivateSubscriptionInput$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.ConnectHealthServiceException$ = void 0;
|
|
4
|
-
exports.UntagResource$ = exports.TagResource$ = exports.StartPatientInsightsJob$ = exports.StartMedicalScribeListeningSession$ = exports.ListTagsForResource$ = exports.ListSubscriptions$ = exports.ListDomains$ = exports.GetSubscription$ = exports.GetPatientInsightsJob$ = exports.GetMedicalScribeListeningSession$ = exports.GetDomain$ = exports.DeleteDomain$ = exports.DeactivateSubscription$ = exports.CreateSubscription$ = exports.CreateDomain$ = exports.ActivateSubscription$ = exports.NoteTemplateSettingsResponse$ = exports.NoteTemplateSettings$ = exports.MedicalScribeOutputStream$ = exports.MedicalScribeInputStream$ = exports.WebAppConfiguration$ = exports.UserContext$ = exports.UntagResourceInput$ = exports.TemplateSectionInstruction$ = exports.TagResourceInput$ = exports.SubscriptionDescription$ = exports.StartPatientInsightsJobResponse$ = exports.StartPatientInsightsJobRequest$ = exports.StartMedicalScribeListeningSessionOutput$ = exports.StartMedicalScribeListeningSessionInput$ = exports.S3Source$ = exports.PatientInsightsPatientContext$ = exports.PatientInsightsEncounterContext$ = exports.OutputDataConfig$ = exports.MedicalScribeTranscriptSegment$ = exports.MedicalScribeTranscriptEvent$ = exports.MedicalScribeSessionControlEvent$ = exports.MedicalScribePostStreamActionsResult$ = exports.MedicalScribePostStreamActionSettingsResponse$ = exports.MedicalScribePostStreamActionSettings$ = exports.MedicalScribeListeningSessionDetails$ = exports.MedicalScribeConfigurationEvent$ = exports.MedicalScribeChannelDefinition$ = void 0;
|
|
4
|
+
exports.UntagResource$ = exports.TagResource$ = exports.StartPatientInsightsJob$ = exports.StartMedicalScribeListeningSession$ = exports.ListTagsForResource$ = exports.ListSubscriptions$ = exports.ListDomains$ = exports.GetSubscription$ = exports.GetPatientInsightsJob$ = exports.GetMedicalScribeListeningSession$ = exports.GetDomain$ = exports.DeleteDomain$ = exports.DeactivateSubscription$ = exports.CreateSubscription$ = exports.CreateDomain$ = exports.ActivateSubscription$ = exports.NoteTemplateSettingsResponse$ = exports.NoteTemplateSettings$ = exports.MedicalScribeOutputStream$ = exports.MedicalScribeInputStream$ = exports.WebAppConfiguration$ = exports.UserContext$ = exports.UntagResourceInput$ = exports.TemplateSectionInstruction$ = exports.TagResourceInput$ = exports.SubscriptionDescription$ = exports.StartPatientInsightsJobResponse$ = exports.StartPatientInsightsJobRequest$ = exports.StartMedicalScribeListeningSessionOutput$ = exports.StartMedicalScribeListeningSessionInput$ = exports.S3Source$ = exports.PatientInsightsPatientContext$ = exports.PatientInsightsEncounterContext$ = exports.OutputDataConfig$ = exports.MedicalScribeTranscriptSegment$ = exports.MedicalScribeTranscriptEvent$ = exports.MedicalScribeSessionControlEvent$ = exports.MedicalScribePostStreamActionsResult$ = exports.MedicalScribePostStreamActionSettingsResponse$ = exports.MedicalScribePostStreamActionSettings$ = exports.MedicalScribeListeningSessionDetails$ = exports.MedicalScribeConfigurationEvent$ = exports.MedicalScribeChannelDefinition$ = exports.MedicalScribeBinaryAudioEvent$ = void 0;
|
|
5
5
|
const _AD = "ArtifactDetails";
|
|
6
6
|
const _ADE = "AccessDeniedException";
|
|
7
7
|
const _AS = "ActivateSubscription";
|
|
@@ -57,6 +57,7 @@ const _LTFR = "ListTagsForResource";
|
|
|
57
57
|
const _LTFRI = "ListTagsForResourceInput";
|
|
58
58
|
const _LTFRO = "ListTagsForResourceOutput";
|
|
59
59
|
const _MSAE = "MedicalScribeAudioEvent";
|
|
60
|
+
const _MSBAE = "MedicalScribeBinaryAudioEvent";
|
|
60
61
|
const _MSCD = "MedicalScribeChannelDefinition";
|
|
61
62
|
const _MSCDe = "MedicalScribeChannelDefinitions";
|
|
62
63
|
const _MSCE = "MedicalScribeConfigurationEvent";
|
|
@@ -110,6 +111,7 @@ const _aC = "audioChunk";
|
|
|
110
111
|
const _aE = "audioEvent";
|
|
111
112
|
const _aEO = "audioEndOffset";
|
|
112
113
|
const _aVSR = "afterVisitSummaryResult";
|
|
114
|
+
const _bAE = "binaryAudioEvent";
|
|
113
115
|
const _c = "client";
|
|
114
116
|
const _cA = "createdAt";
|
|
115
117
|
const _cD = "channelDefinitions";
|
|
@@ -129,6 +131,7 @@ const _e = "error";
|
|
|
129
131
|
const _eC = "encryptionContext";
|
|
130
132
|
const _eCP = "encounterContextProvided";
|
|
131
133
|
const _eCn = "encounterContext";
|
|
134
|
+
const _eP = "eventPayload";
|
|
132
135
|
const _eR = "ehrRole";
|
|
133
136
|
const _eRn = "encounterReason";
|
|
134
137
|
const _eT = "encryptionType";
|
|
@@ -487,6 +490,11 @@ exports.MedicalScribeAudioEvent$ = [3, n0, _MSAE,
|
|
|
487
490
|
[_aC],
|
|
488
491
|
[21], 1
|
|
489
492
|
];
|
|
493
|
+
exports.MedicalScribeBinaryAudioEvent$ = [3, n0, _MSBAE,
|
|
494
|
+
0,
|
|
495
|
+
[_aC],
|
|
496
|
+
[[21, { [_eP]: 1 }]], 1
|
|
497
|
+
];
|
|
490
498
|
exports.MedicalScribeChannelDefinition$ = [3, n0, _MSCD,
|
|
491
499
|
0,
|
|
492
500
|
[_cI, _pR],
|
|
@@ -623,8 +631,8 @@ var TemplateInstructions = [1, n0, _TI,
|
|
|
623
631
|
var TagMap = 128 | 0;
|
|
624
632
|
exports.MedicalScribeInputStream$ = [4, n0, _MSIS,
|
|
625
633
|
{ [_str]: 1 },
|
|
626
|
-
[_aE, _sCE, _cE],
|
|
627
|
-
[() => exports.MedicalScribeAudioEvent$, () => exports.MedicalScribeSessionControlEvent$, [() => exports.MedicalScribeConfigurationEvent$, 0]]
|
|
634
|
+
[_aE, _bAE, _sCE, _cE],
|
|
635
|
+
[() => exports.MedicalScribeAudioEvent$, [() => exports.MedicalScribeBinaryAudioEvent$, 0], () => exports.MedicalScribeSessionControlEvent$, [() => exports.MedicalScribeConfigurationEvent$, 0]]
|
|
628
636
|
];
|
|
629
637
|
exports.MedicalScribeOutputStream$ = [4, n0, _MSOS,
|
|
630
638
|
{ [_str]: 1 },
|
|
@@ -53,6 +53,7 @@ const _LTFR = "ListTagsForResource";
|
|
|
53
53
|
const _LTFRI = "ListTagsForResourceInput";
|
|
54
54
|
const _LTFRO = "ListTagsForResourceOutput";
|
|
55
55
|
const _MSAE = "MedicalScribeAudioEvent";
|
|
56
|
+
const _MSBAE = "MedicalScribeBinaryAudioEvent";
|
|
56
57
|
const _MSCD = "MedicalScribeChannelDefinition";
|
|
57
58
|
const _MSCDe = "MedicalScribeChannelDefinitions";
|
|
58
59
|
const _MSCE = "MedicalScribeConfigurationEvent";
|
|
@@ -106,6 +107,7 @@ const _aC = "audioChunk";
|
|
|
106
107
|
const _aE = "audioEvent";
|
|
107
108
|
const _aEO = "audioEndOffset";
|
|
108
109
|
const _aVSR = "afterVisitSummaryResult";
|
|
110
|
+
const _bAE = "binaryAudioEvent";
|
|
109
111
|
const _c = "client";
|
|
110
112
|
const _cA = "createdAt";
|
|
111
113
|
const _cD = "channelDefinitions";
|
|
@@ -125,6 +127,7 @@ const _e = "error";
|
|
|
125
127
|
const _eC = "encryptionContext";
|
|
126
128
|
const _eCP = "encounterContextProvided";
|
|
127
129
|
const _eCn = "encounterContext";
|
|
130
|
+
const _eP = "eventPayload";
|
|
128
131
|
const _eR = "ehrRole";
|
|
129
132
|
const _eRn = "encounterReason";
|
|
130
133
|
const _eT = "encryptionType";
|
|
@@ -483,6 +486,11 @@ export var MedicalScribeAudioEvent$ = [3, n0, _MSAE,
|
|
|
483
486
|
[_aC],
|
|
484
487
|
[21], 1
|
|
485
488
|
];
|
|
489
|
+
export var MedicalScribeBinaryAudioEvent$ = [3, n0, _MSBAE,
|
|
490
|
+
0,
|
|
491
|
+
[_aC],
|
|
492
|
+
[[21, { [_eP]: 1 }]], 1
|
|
493
|
+
];
|
|
486
494
|
export var MedicalScribeChannelDefinition$ = [3, n0, _MSCD,
|
|
487
495
|
0,
|
|
488
496
|
[_cI, _pR],
|
|
@@ -619,8 +627,8 @@ var TemplateInstructions = [1, n0, _TI,
|
|
|
619
627
|
var TagMap = 128 | 0;
|
|
620
628
|
export var MedicalScribeInputStream$ = [4, n0, _MSIS,
|
|
621
629
|
{ [_str]: 1 },
|
|
622
|
-
[_aE, _sCE, _cE],
|
|
623
|
-
[() => MedicalScribeAudioEvent$, () => MedicalScribeSessionControlEvent$, [() => MedicalScribeConfigurationEvent$, 0]]
|
|
630
|
+
[_aE, _bAE, _sCE, _cE],
|
|
631
|
+
[() => MedicalScribeAudioEvent$, [() => MedicalScribeBinaryAudioEvent$, 0], () => MedicalScribeSessionControlEvent$, [() => MedicalScribeConfigurationEvent$, 0]]
|
|
624
632
|
];
|
|
625
633
|
export var MedicalScribeOutputStream$ = [4, n0, _MSOS,
|
|
626
634
|
{ [_str]: 1 },
|
|
@@ -130,7 +130,7 @@ export interface ConnectHealth {
|
|
|
130
130
|
paginateListSubscriptions(args: ListSubscriptionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSubscriptionsCommandOutput>;
|
|
131
131
|
}
|
|
132
132
|
/**
|
|
133
|
-
* <p>Health
|
|
133
|
+
* <p>Amazon Connect Health is an AI-powered healthcare service built on Amazon Connect. It provides pre-built agents that automate patient engagement workflows and support clinical documentation at the point of care.</p> <p>You can use the Amazon Connect Health API to programmatically manage domains, configure patient engagement agents, run patient insights jobs, and stream ambient documentation sessions. This API reference describes the available API operations and data types for Amazon Connect Health.</p> <p>We recommend that you use the AWS SDKs to make programmatic API calls to Amazon Connect Health.</p>
|
|
134
134
|
* @public
|
|
135
135
|
*/
|
|
136
136
|
export declare class ConnectHealth extends ConnectHealthClient implements ConnectHealth {
|
|
@@ -196,7 +196,7 @@ export type ConnectHealthClientResolvedConfigType = __SmithyResolvedConfiguratio
|
|
|
196
196
|
export interface ConnectHealthClientResolvedConfig extends ConnectHealthClientResolvedConfigType {
|
|
197
197
|
}
|
|
198
198
|
/**
|
|
199
|
-
* <p>Health
|
|
199
|
+
* <p>Amazon Connect Health is an AI-powered healthcare service built on Amazon Connect. It provides pre-built agents that automate patient engagement workflows and support clinical documentation at the point of care.</p> <p>You can use the Amazon Connect Health API to programmatically manage domains, configure patient engagement agents, run patient insights jobs, and stream ambient documentation sessions. This API reference describes the available API operations and data types for Amazon Connect Health.</p> <p>We recommend that you use the AWS SDKs to make programmatic API calls to Amazon Connect Health.</p>
|
|
200
200
|
* @public
|
|
201
201
|
*/
|
|
202
202
|
export declare class ConnectHealthClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ConnectHealthClientResolvedConfig> {
|
|
@@ -49,6 +49,9 @@ declare const StartMedicalScribeListeningSessionCommand_base: {
|
|
|
49
49
|
* audioEvent: { // MedicalScribeAudioEvent
|
|
50
50
|
* audioChunk: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
51
51
|
* },
|
|
52
|
+
* binaryAudioEvent: { // MedicalScribeBinaryAudioEvent
|
|
53
|
+
* audioChunk: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
54
|
+
* },
|
|
52
55
|
* sessionControlEvent: { // MedicalScribeSessionControlEvent
|
|
53
56
|
* type: "END_OF_SESSION",
|
|
54
57
|
* },
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* <p>Health
|
|
2
|
+
* <p>Amazon Connect Health is an AI-powered healthcare service built on Amazon Connect. It provides pre-built agents that automate patient engagement workflows and support clinical documentation at the point of care.</p> <p>You can use the Amazon Connect Health API to programmatically manage domains, configure patient engagement agents, run patient insights jobs, and stream ambient documentation sessions. This API reference describes the available API operations and data types for Amazon Connect Health.</p> <p>We recommend that you use the AWS SDKs to make programmatic API calls to Amazon Connect Health.</p>
|
|
3
3
|
*
|
|
4
4
|
* @packageDocumentation
|
|
5
5
|
*/
|
|
@@ -1113,6 +1113,17 @@ export interface MedicalScribeAudioEvent {
|
|
|
1113
1113
|
*/
|
|
1114
1114
|
audioChunk: Uint8Array | undefined;
|
|
1115
1115
|
}
|
|
1116
|
+
/**
|
|
1117
|
+
* <p>An event containing raw binary audio data for the Medical Scribe stream. The audio is sent as a raw binary payload rather than as a base64-encoded value.</p>
|
|
1118
|
+
* @public
|
|
1119
|
+
*/
|
|
1120
|
+
export interface MedicalScribeBinaryAudioEvent {
|
|
1121
|
+
/**
|
|
1122
|
+
* <p>The raw binary audio data chunk</p>
|
|
1123
|
+
* @public
|
|
1124
|
+
*/
|
|
1125
|
+
audioChunk: Uint8Array | undefined;
|
|
1126
|
+
}
|
|
1116
1127
|
/**
|
|
1117
1128
|
* <p>Context information about the clinical encounter</p>
|
|
1118
1129
|
* @public
|
|
@@ -1176,7 +1187,7 @@ export interface MedicalScribeSessionControlEvent {
|
|
|
1176
1187
|
* <p>Input stream for Medical Scribe containing audio and configuration events</p>
|
|
1177
1188
|
* @public
|
|
1178
1189
|
*/
|
|
1179
|
-
export type MedicalScribeInputStream = MedicalScribeInputStream.AudioEventMember | MedicalScribeInputStream.ConfigurationEventMember | MedicalScribeInputStream.SessionControlEventMember | MedicalScribeInputStream.$UnknownMember;
|
|
1190
|
+
export type MedicalScribeInputStream = MedicalScribeInputStream.AudioEventMember | MedicalScribeInputStream.BinaryAudioEventMember | MedicalScribeInputStream.ConfigurationEventMember | MedicalScribeInputStream.SessionControlEventMember | MedicalScribeInputStream.$UnknownMember;
|
|
1180
1191
|
/**
|
|
1181
1192
|
* @public
|
|
1182
1193
|
*/
|
|
@@ -1187,6 +1198,18 @@ export declare namespace MedicalScribeInputStream {
|
|
|
1187
1198
|
*/
|
|
1188
1199
|
interface AudioEventMember {
|
|
1189
1200
|
audioEvent: MedicalScribeAudioEvent;
|
|
1201
|
+
binaryAudioEvent?: never;
|
|
1202
|
+
sessionControlEvent?: never;
|
|
1203
|
+
configurationEvent?: never;
|
|
1204
|
+
$unknown?: never;
|
|
1205
|
+
}
|
|
1206
|
+
/**
|
|
1207
|
+
* <p>An event containing raw binary audio data for the Medical Scribe stream. The audio is sent as a raw binary payload rather than as a base64-encoded value.</p>
|
|
1208
|
+
* @public
|
|
1209
|
+
*/
|
|
1210
|
+
interface BinaryAudioEventMember {
|
|
1211
|
+
audioEvent?: never;
|
|
1212
|
+
binaryAudioEvent: MedicalScribeBinaryAudioEvent;
|
|
1190
1213
|
sessionControlEvent?: never;
|
|
1191
1214
|
configurationEvent?: never;
|
|
1192
1215
|
$unknown?: never;
|
|
@@ -1197,6 +1220,7 @@ export declare namespace MedicalScribeInputStream {
|
|
|
1197
1220
|
*/
|
|
1198
1221
|
interface SessionControlEventMember {
|
|
1199
1222
|
audioEvent?: never;
|
|
1223
|
+
binaryAudioEvent?: never;
|
|
1200
1224
|
sessionControlEvent: MedicalScribeSessionControlEvent;
|
|
1201
1225
|
configurationEvent?: never;
|
|
1202
1226
|
$unknown?: never;
|
|
@@ -1207,6 +1231,7 @@ export declare namespace MedicalScribeInputStream {
|
|
|
1207
1231
|
*/
|
|
1208
1232
|
interface ConfigurationEventMember {
|
|
1209
1233
|
audioEvent?: never;
|
|
1234
|
+
binaryAudioEvent?: never;
|
|
1210
1235
|
sessionControlEvent?: never;
|
|
1211
1236
|
configurationEvent: MedicalScribeConfigurationEvent;
|
|
1212
1237
|
$unknown?: never;
|
|
@@ -1216,6 +1241,7 @@ export declare namespace MedicalScribeInputStream {
|
|
|
1216
1241
|
*/
|
|
1217
1242
|
interface $UnknownMember {
|
|
1218
1243
|
audioEvent?: never;
|
|
1244
|
+
binaryAudioEvent?: never;
|
|
1219
1245
|
sessionControlEvent?: never;
|
|
1220
1246
|
configurationEvent?: never;
|
|
1221
1247
|
$unknown: [string, any];
|
|
@@ -1226,6 +1252,7 @@ export declare namespace MedicalScribeInputStream {
|
|
|
1226
1252
|
*/
|
|
1227
1253
|
interface Visitor<T> {
|
|
1228
1254
|
audioEvent: (value: MedicalScribeAudioEvent) => T;
|
|
1255
|
+
binaryAudioEvent: (value: MedicalScribeBinaryAudioEvent) => T;
|
|
1229
1256
|
sessionControlEvent: (value: MedicalScribeSessionControlEvent) => T;
|
|
1230
1257
|
configurationEvent: (value: MedicalScribeConfigurationEvent) => T;
|
|
1231
1258
|
_: (name: string, value: any) => T;
|
|
@@ -55,6 +55,7 @@ export declare var ListTagsForResourceOutput$: StaticStructureSchema;
|
|
|
55
55
|
export declare var ManagedTemplate$: StaticStructureSchema;
|
|
56
56
|
export declare var ManagedTemplateResponse$: StaticStructureSchema;
|
|
57
57
|
export declare var MedicalScribeAudioEvent$: StaticStructureSchema;
|
|
58
|
+
export declare var MedicalScribeBinaryAudioEvent$: StaticStructureSchema;
|
|
58
59
|
export declare var MedicalScribeChannelDefinition$: StaticStructureSchema;
|
|
59
60
|
export declare var MedicalScribeConfigurationEvent$: StaticStructureSchema;
|
|
60
61
|
export declare var MedicalScribeListeningSessionDetails$: StaticStructureSchema;
|
|
@@ -326,6 +326,9 @@ export interface ListTagsForResourceOutput {
|
|
|
326
326
|
export interface MedicalScribeAudioEvent {
|
|
327
327
|
audioChunk: Uint8Array | undefined;
|
|
328
328
|
}
|
|
329
|
+
export interface MedicalScribeBinaryAudioEvent {
|
|
330
|
+
audioChunk: Uint8Array | undefined;
|
|
331
|
+
}
|
|
329
332
|
export interface EncounterContext {
|
|
330
333
|
unstructuredContext?: string | undefined;
|
|
331
334
|
}
|
|
@@ -343,36 +346,49 @@ export interface MedicalScribeSessionControlEvent {
|
|
|
343
346
|
}
|
|
344
347
|
export type MedicalScribeInputStream =
|
|
345
348
|
| MedicalScribeInputStream.AudioEventMember
|
|
349
|
+
| MedicalScribeInputStream.BinaryAudioEventMember
|
|
346
350
|
| MedicalScribeInputStream.ConfigurationEventMember
|
|
347
351
|
| MedicalScribeInputStream.SessionControlEventMember
|
|
348
352
|
| MedicalScribeInputStream.$UnknownMember;
|
|
349
353
|
export declare namespace MedicalScribeInputStream {
|
|
350
354
|
interface AudioEventMember {
|
|
351
355
|
audioEvent: MedicalScribeAudioEvent;
|
|
356
|
+
binaryAudioEvent?: never;
|
|
357
|
+
sessionControlEvent?: never;
|
|
358
|
+
configurationEvent?: never;
|
|
359
|
+
$unknown?: never;
|
|
360
|
+
}
|
|
361
|
+
interface BinaryAudioEventMember {
|
|
362
|
+
audioEvent?: never;
|
|
363
|
+
binaryAudioEvent: MedicalScribeBinaryAudioEvent;
|
|
352
364
|
sessionControlEvent?: never;
|
|
353
365
|
configurationEvent?: never;
|
|
354
366
|
$unknown?: never;
|
|
355
367
|
}
|
|
356
368
|
interface SessionControlEventMember {
|
|
357
369
|
audioEvent?: never;
|
|
370
|
+
binaryAudioEvent?: never;
|
|
358
371
|
sessionControlEvent: MedicalScribeSessionControlEvent;
|
|
359
372
|
configurationEvent?: never;
|
|
360
373
|
$unknown?: never;
|
|
361
374
|
}
|
|
362
375
|
interface ConfigurationEventMember {
|
|
363
376
|
audioEvent?: never;
|
|
377
|
+
binaryAudioEvent?: never;
|
|
364
378
|
sessionControlEvent?: never;
|
|
365
379
|
configurationEvent: MedicalScribeConfigurationEvent;
|
|
366
380
|
$unknown?: never;
|
|
367
381
|
}
|
|
368
382
|
interface $UnknownMember {
|
|
369
383
|
audioEvent?: never;
|
|
384
|
+
binaryAudioEvent?: never;
|
|
370
385
|
sessionControlEvent?: never;
|
|
371
386
|
configurationEvent?: never;
|
|
372
387
|
$unknown: [string, any];
|
|
373
388
|
}
|
|
374
389
|
interface Visitor<T> {
|
|
375
390
|
audioEvent: (value: MedicalScribeAudioEvent) => T;
|
|
391
|
+
binaryAudioEvent: (value: MedicalScribeBinaryAudioEvent) => T;
|
|
376
392
|
sessionControlEvent: (value: MedicalScribeSessionControlEvent) => T;
|
|
377
393
|
configurationEvent: (value: MedicalScribeConfigurationEvent) => T;
|
|
378
394
|
_: (name: string, value: any) => T;
|
|
@@ -55,6 +55,7 @@ export declare var ListTagsForResourceOutput$: StaticStructureSchema;
|
|
|
55
55
|
export declare var ManagedTemplate$: StaticStructureSchema;
|
|
56
56
|
export declare var ManagedTemplateResponse$: StaticStructureSchema;
|
|
57
57
|
export declare var MedicalScribeAudioEvent$: StaticStructureSchema;
|
|
58
|
+
export declare var MedicalScribeBinaryAudioEvent$: StaticStructureSchema;
|
|
58
59
|
export declare var MedicalScribeChannelDefinition$: StaticStructureSchema;
|
|
59
60
|
export declare var MedicalScribeConfigurationEvent$: StaticStructureSchema;
|
|
60
61
|
export declare var MedicalScribeListeningSessionDetails$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connecthealth",
|
|
3
3
|
"description": "AWS SDK for JavaScript Connecthealth Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1066.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
"extract:docs": "api-extractor run --local",
|
|
14
14
|
"generate:client": "node ../../scripts/generate-clients/single-service --solo connecthealth",
|
|
15
15
|
"test": "yarn g:vitest run --passWithNoTests",
|
|
16
|
-
"test:
|
|
16
|
+
"test:watch": "yarn g:vitest watch --passWithNoTests",
|
|
17
17
|
"test:integration": "yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts",
|
|
18
18
|
"test:integration:watch": "yarn g:vitest watch --passWithNoTests -c vitest.config.integ.mts",
|
|
19
|
-
"test:
|
|
19
|
+
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
20
20
|
},
|
|
21
21
|
"main": "./dist-cjs/index.js",
|
|
22
22
|
"types": "./dist-types/index.d.ts",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
27
27
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
28
|
-
"@aws-sdk/core": "^3.974.
|
|
29
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
28
|
+
"@aws-sdk/core": "^3.974.20",
|
|
29
|
+
"@aws-sdk/credential-provider-node": "^3.972.55",
|
|
30
30
|
"@aws-sdk/eventstream-handler-node": "^3.972.21",
|
|
31
31
|
"@aws-sdk/middleware-eventstream": "^3.972.17",
|
|
32
32
|
"@aws-sdk/types": "^3.973.12",
|