@aws-sdk/client-connect-contact-lens 3.121.0 → 3.127.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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-connect-contact-lens
9
+
10
+
11
+
12
+
13
+
6
14
  # [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
7
15
 
8
16
 
@@ -14,10 +14,10 @@ const serializeAws_restJson1ListRealtimeContactAnalysisSegmentsCommand = async (
14
14
  "/realtime-contact-analysis/analysis-segments";
15
15
  let body;
16
16
  body = JSON.stringify({
17
- ...(input.ContactId !== undefined && input.ContactId !== null && { ContactId: input.ContactId }),
18
- ...(input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId }),
19
- ...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }),
20
- ...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
17
+ ...(input.ContactId != null && { ContactId: input.ContactId }),
18
+ ...(input.InstanceId != null && { InstanceId: input.InstanceId }),
19
+ ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
20
+ ...(input.NextToken != null && { NextToken: input.NextToken }),
21
21
  });
22
22
  return new protocol_http_1.HttpRequest({
23
23
  protocol,
@@ -146,17 +146,17 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
146
146
  };
147
147
  const deserializeAws_restJson1Categories = (output, context) => {
148
148
  return {
149
- MatchedCategories: output.MatchedCategories !== undefined && output.MatchedCategories !== null
149
+ MatchedCategories: output.MatchedCategories != null
150
150
  ? deserializeAws_restJson1MatchedCategories(output.MatchedCategories, context)
151
151
  : undefined,
152
- MatchedDetails: output.MatchedDetails !== undefined && output.MatchedDetails !== null
152
+ MatchedDetails: output.MatchedDetails != null
153
153
  ? deserializeAws_restJson1MatchedDetails(output.MatchedDetails, context)
154
154
  : undefined,
155
155
  };
156
156
  };
157
157
  const deserializeAws_restJson1CategoryDetails = (output, context) => {
158
158
  return {
159
- PointsOfInterest: output.PointsOfInterest !== undefined && output.PointsOfInterest !== null
159
+ PointsOfInterest: output.PointsOfInterest != null
160
160
  ? deserializeAws_restJson1PointsOfInterest(output.PointsOfInterest, context)
161
161
  : undefined,
162
162
  };
@@ -169,7 +169,7 @@ const deserializeAws_restJson1CharacterOffsets = (output, context) => {
169
169
  };
170
170
  const deserializeAws_restJson1IssueDetected = (output, context) => {
171
171
  return {
172
- CharacterOffsets: output.CharacterOffsets !== undefined && output.CharacterOffsets !== null
172
+ CharacterOffsets: output.CharacterOffsets != null
173
173
  ? deserializeAws_restJson1CharacterOffsets(output.CharacterOffsets, context)
174
174
  : undefined,
175
175
  };
@@ -226,12 +226,8 @@ const deserializeAws_restJson1PointsOfInterest = (output, context) => {
226
226
  };
227
227
  const deserializeAws_restJson1RealtimeContactAnalysisSegment = (output, context) => {
228
228
  return {
229
- Categories: output.Categories !== undefined && output.Categories !== null
230
- ? deserializeAws_restJson1Categories(output.Categories, context)
231
- : undefined,
232
- Transcript: output.Transcript !== undefined && output.Transcript !== null
233
- ? deserializeAws_restJson1Transcript(output.Transcript, context)
234
- : undefined,
229
+ Categories: output.Categories != null ? deserializeAws_restJson1Categories(output.Categories, context) : undefined,
230
+ Transcript: output.Transcript != null ? deserializeAws_restJson1Transcript(output.Transcript, context) : undefined,
235
231
  };
236
232
  };
237
233
  const deserializeAws_restJson1RealtimeContactAnalysisSegments = (output, context) => {
@@ -251,7 +247,7 @@ const deserializeAws_restJson1Transcript = (output, context) => {
251
247
  Content: (0, smithy_client_1.expectString)(output.Content),
252
248
  EndOffsetMillis: (0, smithy_client_1.expectInt32)(output.EndOffsetMillis),
253
249
  Id: (0, smithy_client_1.expectString)(output.Id),
254
- IssuesDetected: output.IssuesDetected !== undefined && output.IssuesDetected !== null
250
+ IssuesDetected: output.IssuesDetected != null
255
251
  ? deserializeAws_restJson1IssuesDetected(output.IssuesDetected, context)
256
252
  : undefined,
257
253
  ParticipantId: (0, smithy_client_1.expectString)(output.ParticipantId),
@@ -15,7 +15,7 @@ export var serializeAws_restJson1ListRealtimeContactAnalysisSegmentsCommand = fu
15
15
  };
16
16
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
17
17
  "/realtime-contact-analysis/analysis-segments";
18
- body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.ContactId !== undefined && input.ContactId !== null && { ContactId: input.ContactId })), (input.InstanceId !== undefined && input.InstanceId !== null && { InstanceId: input.InstanceId })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })));
18
+ body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.ContactId != null && { ContactId: input.ContactId })), (input.InstanceId != null && { InstanceId: input.InstanceId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })));
19
19
  return [2, new __HttpRequest({
20
20
  protocol: protocol,
21
21
  hostname: hostname,
@@ -167,17 +167,17 @@ var deserializeAws_restJson1ThrottlingExceptionResponse = function (parsedOutput
167
167
  }); };
168
168
  var deserializeAws_restJson1Categories = function (output, context) {
169
169
  return {
170
- MatchedCategories: output.MatchedCategories !== undefined && output.MatchedCategories !== null
170
+ MatchedCategories: output.MatchedCategories != null
171
171
  ? deserializeAws_restJson1MatchedCategories(output.MatchedCategories, context)
172
172
  : undefined,
173
- MatchedDetails: output.MatchedDetails !== undefined && output.MatchedDetails !== null
173
+ MatchedDetails: output.MatchedDetails != null
174
174
  ? deserializeAws_restJson1MatchedDetails(output.MatchedDetails, context)
175
175
  : undefined,
176
176
  };
177
177
  };
178
178
  var deserializeAws_restJson1CategoryDetails = function (output, context) {
179
179
  return {
180
- PointsOfInterest: output.PointsOfInterest !== undefined && output.PointsOfInterest !== null
180
+ PointsOfInterest: output.PointsOfInterest != null
181
181
  ? deserializeAws_restJson1PointsOfInterest(output.PointsOfInterest, context)
182
182
  : undefined,
183
183
  };
@@ -190,7 +190,7 @@ var deserializeAws_restJson1CharacterOffsets = function (output, context) {
190
190
  };
191
191
  var deserializeAws_restJson1IssueDetected = function (output, context) {
192
192
  return {
193
- CharacterOffsets: output.CharacterOffsets !== undefined && output.CharacterOffsets !== null
193
+ CharacterOffsets: output.CharacterOffsets != null
194
194
  ? deserializeAws_restJson1CharacterOffsets(output.CharacterOffsets, context)
195
195
  : undefined,
196
196
  };
@@ -246,12 +246,8 @@ var deserializeAws_restJson1PointsOfInterest = function (output, context) {
246
246
  };
247
247
  var deserializeAws_restJson1RealtimeContactAnalysisSegment = function (output, context) {
248
248
  return {
249
- Categories: output.Categories !== undefined && output.Categories !== null
250
- ? deserializeAws_restJson1Categories(output.Categories, context)
251
- : undefined,
252
- Transcript: output.Transcript !== undefined && output.Transcript !== null
253
- ? deserializeAws_restJson1Transcript(output.Transcript, context)
254
- : undefined,
249
+ Categories: output.Categories != null ? deserializeAws_restJson1Categories(output.Categories, context) : undefined,
250
+ Transcript: output.Transcript != null ? deserializeAws_restJson1Transcript(output.Transcript, context) : undefined,
255
251
  };
256
252
  };
257
253
  var deserializeAws_restJson1RealtimeContactAnalysisSegments = function (output, context) {
@@ -271,7 +267,7 @@ var deserializeAws_restJson1Transcript = function (output, context) {
271
267
  Content: __expectString(output.Content),
272
268
  EndOffsetMillis: __expectInt32(output.EndOffsetMillis),
273
269
  Id: __expectString(output.Id),
274
- IssuesDetected: output.IssuesDetected !== undefined && output.IssuesDetected !== null
270
+ IssuesDetected: output.IssuesDetected != null
275
271
  ? deserializeAws_restJson1IssuesDetected(output.IssuesDetected, context)
276
272
  : undefined,
277
273
  ParticipantId: __expectString(output.ParticipantId),
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.121.0",
4
+ "version": "3.127.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",
@@ -18,35 +18,35 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.121.0",
22
- "@aws-sdk/config-resolver": "3.110.0",
23
- "@aws-sdk/credential-provider-node": "3.121.0",
24
- "@aws-sdk/fetch-http-handler": "3.110.0",
25
- "@aws-sdk/hash-node": "3.110.0",
26
- "@aws-sdk/invalid-dependency": "3.110.0",
27
- "@aws-sdk/middleware-content-length": "3.110.0",
28
- "@aws-sdk/middleware-host-header": "3.110.0",
29
- "@aws-sdk/middleware-logger": "3.110.0",
30
- "@aws-sdk/middleware-recursion-detection": "3.110.0",
31
- "@aws-sdk/middleware-retry": "3.118.1",
32
- "@aws-sdk/middleware-serde": "3.110.0",
33
- "@aws-sdk/middleware-signing": "3.110.0",
34
- "@aws-sdk/middleware-stack": "3.110.0",
35
- "@aws-sdk/middleware-user-agent": "3.110.0",
36
- "@aws-sdk/node-config-provider": "3.110.0",
37
- "@aws-sdk/node-http-handler": "3.118.1",
38
- "@aws-sdk/protocol-http": "3.110.0",
39
- "@aws-sdk/smithy-client": "3.110.0",
40
- "@aws-sdk/types": "3.110.0",
41
- "@aws-sdk/url-parser": "3.110.0",
21
+ "@aws-sdk/client-sts": "3.127.0",
22
+ "@aws-sdk/config-resolver": "3.127.0",
23
+ "@aws-sdk/credential-provider-node": "3.127.0",
24
+ "@aws-sdk/fetch-http-handler": "3.127.0",
25
+ "@aws-sdk/hash-node": "3.127.0",
26
+ "@aws-sdk/invalid-dependency": "3.127.0",
27
+ "@aws-sdk/middleware-content-length": "3.127.0",
28
+ "@aws-sdk/middleware-host-header": "3.127.0",
29
+ "@aws-sdk/middleware-logger": "3.127.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.127.0",
31
+ "@aws-sdk/middleware-retry": "3.127.0",
32
+ "@aws-sdk/middleware-serde": "3.127.0",
33
+ "@aws-sdk/middleware-signing": "3.127.0",
34
+ "@aws-sdk/middleware-stack": "3.127.0",
35
+ "@aws-sdk/middleware-user-agent": "3.127.0",
36
+ "@aws-sdk/node-config-provider": "3.127.0",
37
+ "@aws-sdk/node-http-handler": "3.127.0",
38
+ "@aws-sdk/protocol-http": "3.127.0",
39
+ "@aws-sdk/smithy-client": "3.127.0",
40
+ "@aws-sdk/types": "3.127.0",
41
+ "@aws-sdk/url-parser": "3.127.0",
42
42
  "@aws-sdk/util-base64-browser": "3.109.0",
43
43
  "@aws-sdk/util-base64-node": "3.55.0",
44
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
- "@aws-sdk/util-defaults-mode-browser": "3.110.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.110.0",
48
- "@aws-sdk/util-user-agent-browser": "3.110.0",
49
- "@aws-sdk/util-user-agent-node": "3.118.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.127.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.127.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.127.0",
49
+ "@aws-sdk/util-user-agent-node": "3.127.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.109.0",
51
51
  "@aws-sdk/util-utf8-node": "3.109.0",
52
52
  "tslib": "^2.3.1"