@aws-sdk/client-connect-contact-lens 3.379.1 → 3.382.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.
|
@@ -44,18 +44,22 @@ export declare class InvalidRequestException extends __BaseException {
|
|
|
44
44
|
*/
|
|
45
45
|
export interface ListRealtimeContactAnalysisSegmentsRequest {
|
|
46
46
|
/**
|
|
47
|
+
* @public
|
|
47
48
|
* <p>The identifier of the Amazon Connect instance.</p>
|
|
48
49
|
*/
|
|
49
50
|
InstanceId: string | undefined;
|
|
50
51
|
/**
|
|
52
|
+
* @public
|
|
51
53
|
* <p>The identifier of the contact.</p>
|
|
52
54
|
*/
|
|
53
55
|
ContactId: string | undefined;
|
|
54
56
|
/**
|
|
57
|
+
* @public
|
|
55
58
|
* <p>The maximimum number of results to return per page.</p>
|
|
56
59
|
*/
|
|
57
60
|
MaxResults?: number;
|
|
58
61
|
/**
|
|
62
|
+
* @public
|
|
59
63
|
* <p>The token for the next set of results. Use the value returned in the previous
|
|
60
64
|
* response in the next request to retrieve the next set of results.</p>
|
|
61
65
|
*/
|
|
@@ -67,10 +71,12 @@ export interface ListRealtimeContactAnalysisSegmentsRequest {
|
|
|
67
71
|
*/
|
|
68
72
|
export interface PointOfInterest {
|
|
69
73
|
/**
|
|
74
|
+
* @public
|
|
70
75
|
* <p>The beginning offset in milliseconds where the category rule was detected.</p>
|
|
71
76
|
*/
|
|
72
77
|
BeginOffsetMillis: number | undefined;
|
|
73
78
|
/**
|
|
79
|
+
* @public
|
|
74
80
|
* <p>The ending offset in milliseconds where the category rule was detected.</p>
|
|
75
81
|
*/
|
|
76
82
|
EndOffsetMillis: number | undefined;
|
|
@@ -81,6 +87,7 @@ export interface PointOfInterest {
|
|
|
81
87
|
*/
|
|
82
88
|
export interface CategoryDetails {
|
|
83
89
|
/**
|
|
90
|
+
* @public
|
|
84
91
|
* <p>The section of audio where the category rule was detected.</p>
|
|
85
92
|
*/
|
|
86
93
|
PointsOfInterest: PointOfInterest[] | undefined;
|
|
@@ -92,10 +99,12 @@ export interface CategoryDetails {
|
|
|
92
99
|
*/
|
|
93
100
|
export interface Categories {
|
|
94
101
|
/**
|
|
102
|
+
* @public
|
|
95
103
|
* <p>The category rules that have been matched in the analyzed segment.</p>
|
|
96
104
|
*/
|
|
97
105
|
MatchedCategories: string[] | undefined;
|
|
98
106
|
/**
|
|
107
|
+
* @public
|
|
99
108
|
* <p>The category rule that was matched and when it occurred in the transcript.</p>
|
|
100
109
|
*/
|
|
101
110
|
MatchedDetails: Record<string, CategoryDetails> | undefined;
|
|
@@ -106,10 +115,12 @@ export interface Categories {
|
|
|
106
115
|
*/
|
|
107
116
|
export interface CharacterOffsets {
|
|
108
117
|
/**
|
|
118
|
+
* @public
|
|
109
119
|
* <p>The beginning of the issue.</p>
|
|
110
120
|
*/
|
|
111
121
|
BeginOffsetChar: number | undefined;
|
|
112
122
|
/**
|
|
123
|
+
* @public
|
|
113
124
|
* <p>The end of the issue.</p>
|
|
114
125
|
*/
|
|
115
126
|
EndOffsetChar: number | undefined;
|
|
@@ -121,6 +132,7 @@ export interface CharacterOffsets {
|
|
|
121
132
|
*/
|
|
122
133
|
export interface IssueDetected {
|
|
123
134
|
/**
|
|
135
|
+
* @public
|
|
124
136
|
* <p>The offset for when the issue was detected in the segment.</p>
|
|
125
137
|
*/
|
|
126
138
|
CharacterOffsets: CharacterOffsets | undefined;
|
|
@@ -144,34 +156,42 @@ export type SentimentValue = (typeof SentimentValue)[keyof typeof SentimentValue
|
|
|
144
156
|
*/
|
|
145
157
|
export interface Transcript {
|
|
146
158
|
/**
|
|
159
|
+
* @public
|
|
147
160
|
* <p>The identifier of the transcript.</p>
|
|
148
161
|
*/
|
|
149
162
|
Id: string | undefined;
|
|
150
163
|
/**
|
|
164
|
+
* @public
|
|
151
165
|
* <p>The identifier of the participant.</p>
|
|
152
166
|
*/
|
|
153
167
|
ParticipantId: string | undefined;
|
|
154
168
|
/**
|
|
169
|
+
* @public
|
|
155
170
|
* <p>The role of participant. For example, is it a customer, agent, or system.</p>
|
|
156
171
|
*/
|
|
157
172
|
ParticipantRole: string | undefined;
|
|
158
173
|
/**
|
|
174
|
+
* @public
|
|
159
175
|
* <p>The content of the transcript.</p>
|
|
160
176
|
*/
|
|
161
177
|
Content: string | undefined;
|
|
162
178
|
/**
|
|
179
|
+
* @public
|
|
163
180
|
* <p>The beginning offset in the contact for this transcript.</p>
|
|
164
181
|
*/
|
|
165
182
|
BeginOffsetMillis: number | undefined;
|
|
166
183
|
/**
|
|
184
|
+
* @public
|
|
167
185
|
* <p>The end offset in the contact for this transcript.</p>
|
|
168
186
|
*/
|
|
169
187
|
EndOffsetMillis: number | undefined;
|
|
170
188
|
/**
|
|
189
|
+
* @public
|
|
171
190
|
* <p>The sentiment of the detected for this piece of transcript.</p>
|
|
172
191
|
*/
|
|
173
192
|
Sentiment: SentimentValue | string | undefined;
|
|
174
193
|
/**
|
|
194
|
+
* @public
|
|
175
195
|
* <p>List of positions where issues were detected on the transcript.</p>
|
|
176
196
|
*/
|
|
177
197
|
IssuesDetected?: IssueDetected[];
|
|
@@ -182,10 +202,12 @@ export interface Transcript {
|
|
|
182
202
|
*/
|
|
183
203
|
export interface RealtimeContactAnalysisSegment {
|
|
184
204
|
/**
|
|
205
|
+
* @public
|
|
185
206
|
* <p>The analyzed transcript.</p>
|
|
186
207
|
*/
|
|
187
208
|
Transcript?: Transcript;
|
|
188
209
|
/**
|
|
210
|
+
* @public
|
|
189
211
|
* <p>The matched category rules.</p>
|
|
190
212
|
*/
|
|
191
213
|
Categories?: Categories;
|
|
@@ -195,10 +217,12 @@ export interface RealtimeContactAnalysisSegment {
|
|
|
195
217
|
*/
|
|
196
218
|
export interface ListRealtimeContactAnalysisSegmentsResponse {
|
|
197
219
|
/**
|
|
220
|
+
* @public
|
|
198
221
|
* <p>An analyzed transcript or category.</p>
|
|
199
222
|
*/
|
|
200
223
|
Segments: RealtimeContactAnalysisSegment[] | undefined;
|
|
201
224
|
/**
|
|
225
|
+
* @public
|
|
202
226
|
* <p>If there are additional results, this is the token for the next set of results. If response includes <code>nextToken</code> there are two possible scenarios:</p>
|
|
203
227
|
* <ul>
|
|
204
228
|
* <li>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connect-contact-lens",
|
|
3
3
|
"description": "AWS SDK for JavaScript Connect Contact Lens Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.382.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.382.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.382.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.379.1",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.378.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.378.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.379.1",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.382.0",
|
|
31
31
|
"@aws-sdk/types": "3.378.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.382.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.378.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-node": "3.378.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.0.1",
|