@aws-sdk/client-connect 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.
@@ -9,6 +9,7 @@ exports.de_DisassociateTrafficDistributionGroupUserCommand = exports.de_Disassoc
9
9
  exports.de_MonitorContactCommand = exports.de_ListViewVersionsCommand = exports.de_ListViewsCommand = exports.de_ListUsersCommand = exports.de_ListUserHierarchyGroupsCommand = exports.de_ListUseCasesCommand = exports.de_ListTrafficDistributionGroupUsersCommand = exports.de_ListTrafficDistributionGroupsCommand = exports.de_ListTaskTemplatesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSecurityProfilesCommand = exports.de_ListSecurityProfilePermissionsCommand = exports.de_ListSecurityProfileApplicationsCommand = exports.de_ListSecurityKeysCommand = exports.de_ListRulesCommand = exports.de_ListRoutingProfilesCommand = exports.de_ListRoutingProfileQueuesCommand = exports.de_ListQuickConnectsCommand = exports.de_ListQueuesCommand = exports.de_ListQueueQuickConnectsCommand = exports.de_ListPromptsCommand = exports.de_ListPhoneNumbersV2Command = exports.de_ListPhoneNumbersCommand = exports.de_ListLexBotsCommand = exports.de_ListLambdaFunctionsCommand = exports.de_ListIntegrationAssociationsCommand = exports.de_ListInstanceStorageConfigsCommand = exports.de_ListInstancesCommand = exports.de_ListInstanceAttributesCommand = exports.de_ListHoursOfOperationsCommand = exports.de_ListEvaluationFormVersionsCommand = exports.de_ListEvaluationFormsCommand = exports.de_ListDefaultVocabulariesCommand = exports.de_ListContactReferencesCommand = exports.de_ListContactFlowsCommand = exports.de_ListContactFlowModulesCommand = exports.de_ListContactEvaluationsCommand = exports.de_ListBotsCommand = exports.de_ListApprovedOriginsCommand = exports.de_ListAgentStatusesCommand = exports.de_GetTrafficDistributionCommand = exports.de_GetTaskTemplateCommand = exports.de_GetPromptFileCommand = exports.de_GetMetricDataV2Command = exports.de_GetMetricDataCommand = exports.de_GetFederationTokenCommand = exports.de_GetCurrentUserDataCommand = exports.de_GetCurrentMetricDataCommand = exports.de_GetContactAttributesCommand = exports.de_DismissUserContactCommand = void 0;
10
10
  exports.de_UpdateQueueStatusCommand = exports.de_UpdateQueueOutboundCallerConfigCommand = exports.de_UpdateQueueNameCommand = exports.de_UpdateQueueMaxContactsCommand = exports.de_UpdateQueueHoursOfOperationCommand = exports.de_UpdatePromptCommand = exports.de_UpdatePhoneNumberCommand = exports.de_UpdateParticipantRoleConfigCommand = exports.de_UpdateInstanceStorageConfigCommand = exports.de_UpdateInstanceAttributeCommand = exports.de_UpdateHoursOfOperationCommand = exports.de_UpdateEvaluationFormCommand = exports.de_UpdateContactScheduleCommand = exports.de_UpdateContactFlowNameCommand = exports.de_UpdateContactFlowModuleMetadataCommand = exports.de_UpdateContactFlowModuleContentCommand = exports.de_UpdateContactFlowMetadataCommand = exports.de_UpdateContactFlowContentCommand = exports.de_UpdateContactEvaluationCommand = exports.de_UpdateContactAttributesCommand = exports.de_UpdateContactCommand = exports.de_UpdateAgentStatusCommand = exports.de_UntagResourceCommand = exports.de_TransferContactCommand = exports.de_TagResourceCommand = exports.de_SuspendContactRecordingCommand = exports.de_SubmitContactEvaluationCommand = exports.de_StopContactStreamingCommand = exports.de_StopContactRecordingCommand = exports.de_StopContactCommand = exports.de_StartTaskContactCommand = exports.de_StartOutboundVoiceContactCommand = exports.de_StartContactStreamingCommand = exports.de_StartContactRecordingCommand = exports.de_StartContactEvaluationCommand = exports.de_StartChatContactCommand = exports.de_SearchVocabulariesCommand = exports.de_SearchUsersCommand = exports.de_SearchSecurityProfilesCommand = exports.de_SearchRoutingProfilesCommand = exports.de_SearchResourceTagsCommand = exports.de_SearchQuickConnectsCommand = exports.de_SearchQueuesCommand = exports.de_SearchPromptsCommand = exports.de_SearchHoursOfOperationsCommand = exports.de_SearchAvailablePhoneNumbersCommand = exports.de_ResumeContactRecordingCommand = exports.de_ReplicateInstanceCommand = exports.de_ReleasePhoneNumberCommand = exports.de_PutUserStatusCommand = void 0;
11
11
  exports.de_UpdateViewMetadataCommand = exports.de_UpdateViewContentCommand = exports.de_UpdateUserSecurityProfilesCommand = exports.de_UpdateUserRoutingProfileCommand = exports.de_UpdateUserPhoneConfigCommand = exports.de_UpdateUserIdentityInfoCommand = exports.de_UpdateUserHierarchyStructureCommand = exports.de_UpdateUserHierarchyGroupNameCommand = exports.de_UpdateUserHierarchyCommand = exports.de_UpdateTrafficDistributionCommand = exports.de_UpdateTaskTemplateCommand = exports.de_UpdateSecurityProfileCommand = exports.de_UpdateRuleCommand = exports.de_UpdateRoutingProfileQueuesCommand = exports.de_UpdateRoutingProfileNameCommand = exports.de_UpdateRoutingProfileDefaultOutboundQueueCommand = exports.de_UpdateRoutingProfileConcurrencyCommand = exports.de_UpdateRoutingProfileAgentAvailabilityTimerCommand = exports.de_UpdateQuickConnectNameCommand = exports.de_UpdateQuickConnectConfigCommand = void 0;
12
+ const core_1 = require("@aws-sdk/core");
12
13
  const protocol_http_1 = require("@smithy/protocol-http");
13
14
  const smithy_client_1 = require("@smithy/smithy-client");
14
15
  const uuid_1 = require("uuid");
@@ -15191,8 +15192,8 @@ const de_EvaluationAnswerData = (output, context) => {
15191
15192
  };
15192
15193
  const de_EvaluationAnswerOutput = (output, context) => {
15193
15194
  return (0, smithy_client_1.take)(output, {
15194
- SystemSuggestedValue: (_) => de_EvaluationAnswerData((0, smithy_client_1.expectUnion)(_), context),
15195
- Value: (_) => de_EvaluationAnswerData((0, smithy_client_1.expectUnion)(_), context),
15195
+ SystemSuggestedValue: (_) => de_EvaluationAnswerData((0, core_1.awsExpectUnion)(_), context),
15196
+ Value: (_) => de_EvaluationAnswerData((0, core_1.awsExpectUnion)(_), context),
15196
15197
  });
15197
15198
  };
15198
15199
  const de_EvaluationAnswersOutputMap = (output, context) => {
@@ -15250,7 +15251,7 @@ const de_EvaluationFormItemsList = (output, context) => {
15250
15251
  const retVal = (output || [])
15251
15252
  .filter((e) => e != null)
15252
15253
  .map((entry) => {
15253
- return de_EvaluationFormItem((0, smithy_client_1.expectUnion)(entry), context);
15254
+ return de_EvaluationFormItem((0, core_1.awsExpectUnion)(entry), context);
15254
15255
  });
15255
15256
  return retVal;
15256
15257
  };
@@ -15259,7 +15260,7 @@ const de_EvaluationFormQuestion = (output, context) => {
15259
15260
  Instructions: smithy_client_1.expectString,
15260
15261
  NotApplicableEnabled: smithy_client_1.expectBoolean,
15261
15262
  QuestionType: smithy_client_1.expectString,
15262
- QuestionTypeProperties: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
15263
+ QuestionTypeProperties: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
15263
15264
  RefId: smithy_client_1.expectString,
15264
15265
  Title: smithy_client_1.expectString,
15265
15266
  Weight: smithy_client_1.limitedParseDouble,
@@ -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, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
3
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
3
4
  import { v4 as generateIdempotencyToken } from "uuid";
4
5
  import { ConnectServiceException as __BaseException } from "../models/ConnectServiceException";
5
6
  import { AccessDeniedException, ContactFlowNotPublishedException, DuplicateResourceException, EvaluationAnswerData, IdempotencyException, InternalServiceException, InvalidContactFlowException, InvalidContactFlowModuleException, InvalidParameterException, InvalidRequestException, LimitExceededException, PropertyValidationException, ResourceConflictException, ResourceInUseException, ResourceNotFoundException, ResourceNotReadyException, ServiceQuotaExceededException, ThrottlingException, TooManyRequestsException, } from "../models/models_0";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connect",
3
3
  "description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
4
- "version": "3.430.0",
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.430.0",
25
- "@aws-sdk/credential-provider-node": "3.430.0",
26
- "@aws-sdk/middleware-host-header": "3.429.0",
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",