Skip to content

Commit 1411825

Browse files
author
awstools
committed
feat(client-connect): The voice enhancement mode used by the agent can now be viewed on the contact record via the DescribeContact api.
1 parent 4959747 commit 1411825

5 files changed

Lines changed: 31 additions & 16 deletions

File tree

clients/client-connect/src/commands/DescribeContactCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ export interface DescribeContactCommandOutput extends DescribeContactResponse, _
138138
* // StateEndTimestamp: new Date("TIMESTAMP"),
139139
* // },
140140
* // ],
141+
* // VoiceEnhancementMode: "VOICE_ISOLATION" || "NOISE_SUPPRESSION" || "NONE",
141142
* // },
142143
* // InitiationTimestamp: new Date("TIMESTAMP"),
143144
* // DisconnectTimestamp: new Date("TIMESTAMP"),

clients/client-connect/src/models/enums.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,20 @@ export const ParticipantState = {
154154
*/
155155
export type ParticipantState = (typeof ParticipantState)[keyof typeof ParticipantState];
156156

157+
/**
158+
* @public
159+
* @enum
160+
*/
161+
export const VoiceEnhancementMode = {
162+
NOISE_SUPPRESSION: "NOISE_SUPPRESSION",
163+
NONE: "NONE",
164+
VOICE_ISOLATION: "VOICE_ISOLATION",
165+
} as const;
166+
/**
167+
* @public
168+
*/
169+
export type VoiceEnhancementMode = (typeof VoiceEnhancementMode)[keyof typeof VoiceEnhancementMode];
170+
157171
/**
158172
* @public
159173
* @enum
@@ -1297,20 +1311,6 @@ export const PhoneType = {
12971311
*/
12981312
export type PhoneType = (typeof PhoneType)[keyof typeof PhoneType];
12991313

1300-
/**
1301-
* @public
1302-
* @enum
1303-
*/
1304-
export const VoiceEnhancementMode = {
1305-
NOISE_SUPPRESSION: "NOISE_SUPPRESSION",
1306-
NONE: "NONE",
1307-
VOICE_ISOLATION: "VOICE_ISOLATION",
1308-
} as const;
1309-
/**
1310-
* @public
1311-
*/
1312-
export type VoiceEnhancementMode = (typeof VoiceEnhancementMode)[keyof typeof VoiceEnhancementMode];
1313-
13141314
/**
13151315
* @public
13161316
* @enum

clients/client-connect/src/models/models_0.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,14 @@ export interface AgentInfo {
604604
* @public
605605
*/
606606
StateTransitions?: StateTransition[] | undefined;
607+
608+
/**
609+
* <p>The voice enhancement mode used by the agent as the call is ending.
610+
* Valid values: VOICE_ISOLATION | NOISE_SUPPRESSION | NONE.
611+
* A value of null indicates this mode has not yet been set for this user.</p>
612+
* @public
613+
*/
614+
VoiceEnhancementMode?: VoiceEnhancementMode | undefined;
607615
}
608616

609617
/**

clients/client-connect/src/schemas/schemas_0.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3094,8 +3094,8 @@ export var AgentHierarchyGroups$: StaticStructureSchema = [3, n0, _AHGg,
30943094
];
30953095
export var AgentInfo$: StaticStructureSchema = [3, n0, _AI,
30963096
0,
3097-
[_I, _ABAT, _PET, _CTAT, _APDIS, _HG, _DI, _Ca, _ACWD, _ACWST, _ACWET, _AIHD, _STt],
3098-
[0, 4, 4, 4, 1, () => HierarchyGroups$, () => DeviceInfo$, () => ParticipantCapabilities$, 1, 4, 4, 1, () => StateTransitions]
3097+
[_I, _ABAT, _PET, _CTAT, _APDIS, _HG, _DI, _Ca, _ACWD, _ACWST, _ACWET, _AIHD, _STt, _VEM],
3098+
[0, 4, 4, 4, 1, () => HierarchyGroups$, () => DeviceInfo$, () => ParticipantCapabilities$, 1, 4, 4, 1, () => StateTransitions, 0]
30993099
];
31003100
export var AgentQualityMetrics$: StaticStructureSchema = [3, n0, _AQM,
31013101
0,

codegen/sdk-codegen/aws-models/connect.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,12 @@
600600
"traits": {
601601
"smithy.api#documentation": "<p>List of <code>StateTransition</code> for a supervisor.</p>"
602602
}
603+
},
604+
"VoiceEnhancementMode": {
605+
"target": "com.amazonaws.connect#VoiceEnhancementMode",
606+
"traits": {
607+
"smithy.api#documentation": "<p>The voice enhancement mode used by the agent as the call is ending. \n Valid values: VOICE_ISOLATION | NOISE_SUPPRESSION | NONE. \n A value of null indicates this mode has not yet been set for this user.</p>"
608+
}
603609
}
604610
},
605611
"traits": {

0 commit comments

Comments
 (0)