@aws-sdk/client-connectcases 3.430.0 → 3.431.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.
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.de_ListTagsForResourceCommand = exports.de_ListLayoutsCommand = exports.de_ListFieldsCommand = exports.de_ListFieldOptionsCommand = exports.de_ListDomainsCommand = exports.de_ListCasesForContactCommand = exports.de_GetTemplateCommand = exports.de_GetLayoutCommand = exports.de_GetDomainCommand = exports.de_GetCaseEventConfigurationCommand = exports.de_GetCaseCommand = exports.de_DeleteDomainCommand = exports.de_CreateTemplateCommand = exports.de_CreateRelatedItemCommand = exports.de_CreateLayoutCommand = exports.de_CreateFieldCommand = exports.de_CreateDomainCommand = exports.de_CreateCaseCommand = exports.de_BatchPutFieldOptionsCommand = exports.de_BatchGetFieldCommand = exports.se_UpdateTemplateCommand = exports.se_UpdateLayoutCommand = exports.se_UpdateFieldCommand = exports.se_UpdateCaseCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_SearchRelatedItemsCommand = exports.se_SearchCasesCommand = exports.se_PutCaseEventConfigurationCommand = exports.se_ListTemplatesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListLayoutsCommand = exports.se_ListFieldsCommand = exports.se_ListFieldOptionsCommand = exports.se_ListDomainsCommand = exports.se_ListCasesForContactCommand = exports.se_GetTemplateCommand = exports.se_GetLayoutCommand = exports.se_GetDomainCommand = exports.se_GetCaseEventConfigurationCommand = exports.se_GetCaseCommand = exports.se_DeleteDomainCommand = exports.se_CreateTemplateCommand = exports.se_CreateRelatedItemCommand = exports.se_CreateLayoutCommand = exports.se_CreateFieldCommand = exports.se_CreateDomainCommand = exports.se_CreateCaseCommand = exports.se_BatchPutFieldOptionsCommand = exports.se_BatchGetFieldCommand = void 0;
|
|
4
4
|
exports.de_UpdateTemplateCommand = exports.de_UpdateLayoutCommand = exports.de_UpdateFieldCommand = exports.de_UpdateCaseCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_SearchRelatedItemsCommand = exports.de_SearchCasesCommand = exports.de_PutCaseEventConfigurationCommand = exports.de_ListTemplatesCommand = void 0;
|
|
5
|
+
const core_1 = require("@aws-sdk/core");
|
|
5
6
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
6
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
8
|
const uuid_1 = require("uuid");
|
|
@@ -1291,7 +1292,7 @@ const de_GetLayoutCommand = async (output, context) => {
|
|
|
1291
1292
|
});
|
|
1292
1293
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1293
1294
|
const doc = (0, smithy_client_1.take)(data, {
|
|
1294
|
-
content: (_) => (0, smithy_client_1._json)((0,
|
|
1295
|
+
content: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
|
|
1295
1296
|
layoutArn: smithy_client_1.expectString,
|
|
1296
1297
|
layoutId: smithy_client_1.expectString,
|
|
1297
1298
|
name: smithy_client_1.expectString,
|
|
@@ -2286,7 +2287,7 @@ const de_ContactContent = (output, context) => {
|
|
|
2286
2287
|
const de_FieldValue = (output, context) => {
|
|
2287
2288
|
return (0, smithy_client_1.take)(output, {
|
|
2288
2289
|
id: smithy_client_1.expectString,
|
|
2289
|
-
value: (_) => de_FieldValueUnion((0,
|
|
2290
|
+
value: (_) => de_FieldValueUnion((0, core_1.awsExpectUnion)(_), context),
|
|
2290
2291
|
});
|
|
2291
2292
|
};
|
|
2292
2293
|
const de_FieldValueList = (output, context) => {
|
|
@@ -2358,7 +2359,7 @@ const de_SearchCasesResponseItemList = (output, context) => {
|
|
|
2358
2359
|
const de_SearchRelatedItemsResponseItem = (output, context) => {
|
|
2359
2360
|
return (0, smithy_client_1.take)(output, {
|
|
2360
2361
|
associationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
2361
|
-
content: (_) => de_RelatedItemContent((0,
|
|
2362
|
+
content: (_) => de_RelatedItemContent((0, core_1.awsExpectUnion)(_), context),
|
|
2362
2363
|
relatedItemId: smithy_client_1.expectString,
|
|
2363
2364
|
tags: (_) => de_Tags(_, context),
|
|
2364
2365
|
type: smithy_client_1.expectString,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { awsExpectUnion as __expectUnion } from "@aws-sdk/core";
|
|
1
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
2
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString,
|
|
3
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, strictParseInt32 as __strictParseInt32, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
5
|
import { ConnectCasesServiceException as __BaseException } from "../models/ConnectCasesServiceException";
|
|
5
6
|
import { AccessDeniedException, CaseFilter, ConflictException, FieldFilter, FieldValueUnion, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
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.
|
|
4
|
+
"version": "3.431.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,9 +21,10 @@
|
|
|
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/
|
|
26
|
-
"@aws-sdk/
|
|
24
|
+
"@aws-sdk/client-sts": "3.431.0",
|
|
25
|
+
"@aws-sdk/core": "3.431.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.431.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.431.0",
|
|
27
28
|
"@aws-sdk/middleware-logger": "3.428.0",
|
|
28
29
|
"@aws-sdk/middleware-recursion-detection": "3.428.0",
|
|
29
30
|
"@aws-sdk/middleware-signing": "3.428.0",
|