@aws-sdk/client-connectcases 3.259.0 → 3.262.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.
@@ -1210,7 +1210,7 @@ const deserializeAws_restJson1GetDomainCommand = async (output, context) => {
1210
1210
  });
1211
1211
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1212
1212
  if (data.createdTime != null) {
1213
- contents.createdTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.createdTime));
1213
+ contents.createdTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.createdTime));
1214
1214
  }
1215
1215
  if (data.domainArn != null) {
1216
1216
  contents.domainArn = (0, smithy_client_1.expectString)(data.domainArn);
@@ -2533,7 +2533,7 @@ const deserializeAws_restJson1ContactContent = (output, context) => {
2533
2533
  return {
2534
2534
  channel: (0, smithy_client_1.expectString)(output.channel),
2535
2535
  connectedToSystemTime: output.connectedToSystemTime != null
2536
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.connectedToSystemTime))
2536
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.connectedToSystemTime))
2537
2537
  : undefined,
2538
2538
  contactArn: (0, smithy_client_1.expectString)(output.contactArn),
2539
2539
  };
@@ -2800,7 +2800,9 @@ const deserializeAws_restJson1SearchCasesResponseItemList = (output, context) =>
2800
2800
  };
2801
2801
  const deserializeAws_restJson1SearchRelatedItemsResponseItem = (output, context) => {
2802
2802
  return {
2803
- associationTime: output.associationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.associationTime)) : undefined,
2803
+ associationTime: output.associationTime != null
2804
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.associationTime))
2805
+ : undefined,
2804
2806
  content: output.content != null
2805
2807
  ? deserializeAws_restJson1RelatedItemContent((0, smithy_client_1.expectUnion)(output.content), context)
2806
2808
  : undefined,
@@ -1,5 +1,5 @@
1
1
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
- import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, limitedParseDouble as __limitedParseDouble, map as __map, parseRfc3339DateTime as __parseRfc3339DateTime, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, strictParseInt32 as __strictParseInt32, throwDefaultError, } from "@aws-sdk/smithy-client";
2
+ import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, limitedParseDouble as __limitedParseDouble, map as __map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, strictParseInt32 as __strictParseInt32, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { v4 as generateIdempotencyToken } from "uuid";
4
4
  import { ConnectCasesServiceException as __BaseException } from "../models/ConnectCasesServiceException";
5
5
  import { AccessDeniedException, CaseFilter, ConflictException, FieldFilter, FieldValueUnion, InternalServerException, LayoutContent, RelatedItemInputContent, RelatedItemTypeFilter, ResourceNotFoundException, Section, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
@@ -1167,7 +1167,7 @@ export const deserializeAws_restJson1GetDomainCommand = async (output, context)
1167
1167
  });
1168
1168
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1169
1169
  if (data.createdTime != null) {
1170
- contents.createdTime = __expectNonNull(__parseRfc3339DateTime(data.createdTime));
1170
+ contents.createdTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.createdTime));
1171
1171
  }
1172
1172
  if (data.domainArn != null) {
1173
1173
  contents.domainArn = __expectString(data.domainArn);
@@ -2471,7 +2471,7 @@ const deserializeAws_restJson1ContactContent = (output, context) => {
2471
2471
  return {
2472
2472
  channel: __expectString(output.channel),
2473
2473
  connectedToSystemTime: output.connectedToSystemTime != null
2474
- ? __expectNonNull(__parseRfc3339DateTime(output.connectedToSystemTime))
2474
+ ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.connectedToSystemTime))
2475
2475
  : undefined,
2476
2476
  contactArn: __expectString(output.contactArn),
2477
2477
  };
@@ -2738,7 +2738,9 @@ const deserializeAws_restJson1SearchCasesResponseItemList = (output, context) =>
2738
2738
  };
2739
2739
  const deserializeAws_restJson1SearchRelatedItemsResponseItem = (output, context) => {
2740
2740
  return {
2741
- associationTime: output.associationTime != null ? __expectNonNull(__parseRfc3339DateTime(output.associationTime)) : undefined,
2741
+ associationTime: output.associationTime != null
2742
+ ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.associationTime))
2743
+ : undefined,
2742
2744
  content: output.content != null
2743
2745
  ? deserializeAws_restJson1RelatedItemContent(__expectUnion(output.content), context)
2744
2746
  : undefined,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connectcases",
3
3
  "description": "AWS SDK for JavaScript Connectcases Client for Node.js, Browser and React Native",
4
- "version": "3.259.0",
4
+ "version": "3.262.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",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.259.0",
23
+ "@aws-sdk/client-sts": "3.262.0",
24
24
  "@aws-sdk/config-resolver": "3.259.0",
25
- "@aws-sdk/credential-provider-node": "3.259.0",
25
+ "@aws-sdk/credential-provider-node": "3.261.0",
26
26
  "@aws-sdk/fetch-http-handler": "3.257.0",
27
27
  "@aws-sdk/hash-node": "3.257.0",
28
28
  "@aws-sdk/invalid-dependency": "3.257.0",
@@ -39,14 +39,14 @@
39
39
  "@aws-sdk/node-config-provider": "3.259.0",
40
40
  "@aws-sdk/node-http-handler": "3.257.0",
41
41
  "@aws-sdk/protocol-http": "3.257.0",
42
- "@aws-sdk/smithy-client": "3.257.0",
42
+ "@aws-sdk/smithy-client": "3.261.0",
43
43
  "@aws-sdk/types": "3.257.0",
44
44
  "@aws-sdk/url-parser": "3.257.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.257.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.259.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.261.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.261.0",
50
50
  "@aws-sdk/util-endpoints": "3.257.0",
51
51
  "@aws-sdk/util-retry": "3.257.0",
52
52
  "@aws-sdk/util-user-agent-browser": "3.257.0",