File Explorer

/var/runtime/node_modules/@aws-sdk/client-connect/dist-cjs

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

2 dirs
3 files
index.js819 KB · 13437 lines · preview
"use strict";var __defProp = Object.defineProperty;var __getOwnPropDesc = Object.getOwnPropertyDescriptor;var __getOwnPropNames = Object.getOwnPropertyNames;var __hasOwnProp = Object.prototype.hasOwnProperty;var __name = (target, value) => __defProp(target, "name", { value, configurable: true });var __export = (target, all) => {  for (var name in all)    __defProp(target, name, { get: all[name], enumerable: true });};var __copyProps = (to, from, except, desc) => {  if (from && typeof from === "object" || typeof from === "function") {    for (let key of __getOwnPropNames(from))      if (!__hasOwnProp.call(to, key) && key !== except)        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });  }  return to;};var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/index.tsvar index_exports = {};__export(index_exports, {  AccessDeniedException: () => AccessDeniedException,  ActionType: () => ActionType,  ActivateEvaluationFormCommand: () => ActivateEvaluationFormCommand,  AgentAvailabilityTimer: () => AgentAvailabilityTimer,  AgentStatusState: () => AgentStatusState,  AgentStatusType: () => AgentStatusType,  AnsweringMachineDetectionStatus: () => AnsweringMachineDetectionStatus,  ArtifactStatus: () => ArtifactStatus,  AssociateAnalyticsDataSetCommand: () => AssociateAnalyticsDataSetCommand,  AssociateApprovedOriginCommand: () => AssociateApprovedOriginCommand,  AssociateBotCommand: () => AssociateBotCommand,  AssociateDefaultVocabularyCommand: () => AssociateDefaultVocabularyCommand,  AssociateFlowCommand: () => AssociateFlowCommand,  AssociateInstanceStorageConfigCommand: () => AssociateInstanceStorageConfigCommand,  AssociateLambdaFunctionCommand: () => AssociateLambdaFunctionCommand,  AssociateLexBotCommand: () => AssociateLexBotCommand,  AssociatePhoneNumberContactFlowCommand: () => AssociatePhoneNumberContactFlowCommand,  AssociateQueueQuickConnectsCommand: () => AssociateQueueQuickConnectsCommand,  AssociateRoutingProfileQueuesCommand: () => AssociateRoutingProfileQueuesCommand,  AssociateSecurityKeyCommand: () => AssociateSecurityKeyCommand,  AssociateTrafficDistributionGroupUserCommand: () => AssociateTrafficDistributionGroupUserCommand,  AssociateUserProficienciesCommand: () => AssociateUserProficienciesCommand,  AttachedFileInvalidRequestExceptionReason: () => AttachedFileInvalidRequestExceptionReason,  AttachedFileServiceQuotaExceededExceptionReason: () => AttachedFileServiceQuotaExceededExceptionReason,  AttendeeFilterSensitiveLog: () => AttendeeFilterSensitiveLog,  BatchAssociateAnalyticsDataSetCommand: () => BatchAssociateAnalyticsDataSetCommand,  BatchDisassociateAnalyticsDataSetCommand: () => BatchDisassociateAnalyticsDataSetCommand,  BatchGetAttachedFileMetadataCommand: () => BatchGetAttachedFileMetadataCommand,  BatchGetFlowAssociationCommand: () => BatchGetFlowAssociationCommand,  BatchPutContactCommand: () => BatchPutContactCommand,  BehaviorType: () => BehaviorType,  Channel: () => Channel,  ChatEventType: () => ChatEventType,  ClaimPhoneNumberCommand: () => ClaimPhoneNumberCommand,  Comparison: () => Comparison,  CompleteAttachedFileUploadCommand: () => CompleteAttachedFileUploadCommand,  ConditionalOperationFailedException: () => ConditionalOperationFailedException,  ConflictException: () => ConflictException,  Connect: () => Connect,  ConnectClient: () => ConnectClient,  ConnectServiceException: () => ConnectServiceException,  ConnectionDataFilterSensitiveLog: () => ConnectionDataFilterSensitiveLog,  ContactAnalysisFilterSensitiveLog: () => ContactAnalysisFilterSensitiveLog,  ContactFilterSensitiveLog: () => ContactFilterSensitiveLog,  ContactFlowModuleState: () => ContactFlowModuleState,  ContactFlowModuleStatus: () => ContactFlowModuleStatus,  ContactFlowNotPublishedException: () => ContactFlowNotPublishedException,  ContactFlowState: () => ContactFlowState,  ContactFlowStatus: () => ContactFlowStatus,  ContactFlowType: () => ContactFlowType,  ContactInitiationMethod: () => ContactInitiationMethod,  ContactMetricName: () => ContactMetricName,  ContactMetricValue: () => ContactMetricValue,  ContactNotFoundException: () => ContactNotFoundException,  ContactRecordingType: () => ContactRecordingType,  ContactSearchSummaryFilterSensitiveLog: () => ContactSearchSummaryFilterSensitiveLog,  ContactState: () => ContactState,  CreateAgentStatusCommand: () => CreateAgentStatusCommand,  CreateContactCommand: () => CreateContactCommand,  CreateContactFlowCommand: () => CreateContactFlowCommand,  CreateContactFlowModuleCommand: () => CreateContactFlowModuleCommand,  CreateContactFlowVersionCommand: () => CreateContactFlowVersionCommand,  CreateContactRequestFilterSensitiveLog: () => CreateContactRequestFilterSensitiveLog,  CreateEmailAddressCommand: () => CreateEmailAddressCommand,  CreateEmailAddressRequestFilterSensitiveLog: () => CreateEmailAddressRequestFilterSensitiveLog,  CreateEvaluationFormCommand: () => CreateEvaluationFormCommand,  CreateHoursOfOperationCommand: () => CreateHoursOfOperationCommand,  CreateHoursOfOperationOverrideCommand: () => CreateHoursOfOperationOverrideCommand,  CreateInstanceCommand: () => CreateInstanceCommand,  CreateInstanceRequestFilterSensitiveLog: () => CreateInstanceRequestFilterSensitiveLog,  CreateIntegrationAssociationCommand: () => CreateIntegrationAssociationCommand,  CreateParticipantCommand: () => CreateParticipantCommand,  CreatePersistentContactAssociationCommand: () => CreatePersistentContactAssociationCommand,  CreatePredefinedAttributeCommand: () => CreatePredefinedAttributeCommand,  CreatePromptCommand: () => CreatePromptCommand,  CreatePushNotificationRegistrationCommand: () => CreatePushNotificationRegistrationCommand,  CreateQueueCommand: () => CreateQueueCommand,  CreateQuickConnectCommand: () => CreateQuickConnectCommand,  CreateRoutingProfileCommand: () => CreateRoutingProfileCommand,  CreateRuleCommand: () => CreateRuleCommand,  CreateSecurityProfileCommand: () => CreateSecurityProfileCommand,  CreateTaskTemplateCommand: () => CreateTaskTemplateCommand,  CreateTrafficDistributionGroupCommand: () => CreateTrafficDistributionGroupCommand,  CreateUseCaseCommand: () => CreateUseCaseCommand,  CreateUserCommand: () => CreateUserCommand,  CreateUserHierarchyGroupCommand: () => CreateUserHierarchyGroupCommand,  CreateUserRequestFilterSensitiveLog: () => CreateUserRequestFilterSensitiveLog,  CreateViewCommand: () => CreateViewCommand,  CreateViewRequestFilterSensitiveLog: () => CreateViewRequestFilterSensitiveLog,  CreateViewResponseFilterSensitiveLog: () => CreateViewResponseFilterSensitiveLog,  CreateViewVersionCommand: () => CreateViewVersionCommand,  CreateViewVersionResponseFilterSensitiveLog: () => CreateViewVersionResponseFilterSensitiveLog,  CreateVocabularyCommand: () => CreateVocabularyCommand,  CreatedByInfo: () => CreatedByInfo,  CredentialsFilterSensitiveLog: () => CredentialsFilterSensitiveLog,  CurrentMetricName: () => CurrentMetricName,  DateComparisonType: () => DateComparisonType,  DeactivateEvaluationFormCommand: () => DeactivateEvaluationFormCommand,  DeleteAttachedFileCommand: () => DeleteAttachedFileCommand,  DeleteContactEvaluationCommand: () => DeleteContactEvaluationCommand,  DeleteContactFlowCommand: () => DeleteContactFlowCommand,  DeleteContactFlowModuleCommand: () => DeleteContactFlowModuleCommand,  DeleteContactFlowVersionCommand: () => DeleteContactFlowVersionCommand,  DeleteEmailAddressCommand: () => DeleteEmailAddressCommand,  DeleteEvaluationFormCommand: () => DeleteEvaluationFormCommand,  DeleteHoursOfOperationCommand: () => DeleteHoursOfOperationCommand,  DeleteHoursOfOperationOverrideCommand: () => DeleteHoursOfOperationOverrideCommand,  DeleteInstanceCommand: () => DeleteInstanceCommand,  DeleteIntegrationAssociationCommand: () => DeleteIntegrationAssociationCommand,  DeletePredefinedAttributeCommand: () => DeletePredefinedAttributeCommand,  DeletePromptCommand: () => DeletePromptCommand,  DeletePushNotificationRegistrationCommand: () => DeletePushNotificationRegistrationCommand,  DeleteQueueCommand: () => DeleteQueueCommand,  DeleteQuickConnectCommand: () => DeleteQuickConnectCommand,  DeleteRoutingProfileCommand: () => DeleteRoutingProfileCommand,  DeleteRuleCommand: () => DeleteRuleCommand,  DeleteSecurityProfileCommand: () => DeleteSecurityProfileCommand,  DeleteTaskTemplateCommand: () => DeleteTaskTemplateCommand,  DeleteTrafficDistributionGroupCommand: () => DeleteTrafficDistributionGroupCommand,  DeleteUseCaseCommand: () => DeleteUseCaseCommand,  DeleteUserCommand: () => DeleteUserCommand,  DeleteUserHierarchyGroupCommand: () => DeleteUserHierarchyGroupCommand,  DeleteViewCommand: () => DeleteViewCommand,  DeleteViewVersionCommand: () => DeleteViewVersionCommand,  DeleteVocabularyCommand: () => DeleteVocabularyCommand,  DescribeAgentStatusCommand: () => DescribeAgentStatusCommand,  DescribeAuthenticationProfileCommand: () => DescribeAuthenticationProfileCommand,  DescribeContactCommand: () => DescribeContactCommand,  DescribeContactEvaluationCommand: () => DescribeContactEvaluationCommand,  DescribeContactFlowCommand: () => DescribeContactFlowCommand,  DescribeContactFlowModuleCommand: () => DescribeContactFlowModuleCommand,  DescribeContactResponseFilterSensitiveLog: () => DescribeContactResponseFilterSensitiveLog,  DescribeEmailAddressCommand: () => DescribeEmailAddressCommand,  DescribeEmailAddressResponseFilterSensitiveLog: () => DescribeEmailAddressResponseFilterSensitiveLog,  DescribeEvaluationFormCommand: () => DescribeEvaluationFormCommand,  DescribeHoursOfOperationCommand: () => DescribeHoursOfOperationCommand,  DescribeHoursOfOperationOverrideCommand: () => DescribeHoursOfOperationOverrideCommand,  DescribeInstanceAttributeCommand: () => DescribeInstanceAttributeCommand,  DescribeInstanceCommand: () => DescribeInstanceCommand,  DescribeInstanceResponseFilterSensitiveLog: () => DescribeInstanceResponseFilterSensitiveLog,  DescribeInstanceStorageConfigCommand: () => DescribeInstanceStorageConfigCommand,  DescribePhoneNumberCommand: () => DescribePhoneNumberCommand,  DescribePredefinedAttributeCommand: () => DescribePredefinedAttributeCommand,  DescribePromptCommand: () => DescribePromptCommand,  DescribeQueueCommand: () => DescribeQueueCommand,  DescribeQuickConnectCommand: () => DescribeQuickConnectCommand,  DescribeRoutingProfileCommand: () => DescribeRoutingProfileCommand,  DescribeRuleCommand: () => DescribeRuleCommand,  DescribeSecurityProfileCommand: () => DescribeSecurityProfileCommand,  DescribeTrafficDistributionGroupCommand: () => DescribeTrafficDistributionGroupCommand,  DescribeUserCommand: () => DescribeUserCommand,  DescribeUserHierarchyGroupCommand: () => DescribeUserHierarchyGroupCommand,  DescribeUserHierarchyStructureCommand: () => DescribeUserHierarchyStructureCommand,  DescribeUserResponseFilterSensitiveLog: () => DescribeUserResponseFilterSensitiveLog,  DescribeViewCommand: () => DescribeViewCommand,  DescribeViewResponseFilterSensitiveLog: () => DescribeViewResponseFilterSensitiveLog,  DescribeVocabularyCommand: () => DescribeVocabularyCommand,  DestinationNotAllowedException: () => DestinationNotAllowedException,  DeviceType: () => DeviceType,  DirectoryType: () => DirectoryType,  DisassociateAnalyticsDataSetCommand: () => DisassociateAnalyticsDataSetCommand,  DisassociateApprovedOriginCommand: () => DisassociateApprovedOriginCommand,  DisassociateBotCommand: () => DisassociateBotCommand,  DisassociateFlowCommand: () => DisassociateFlowCommand,  DisassociateInstanceStorageConfigCommand: () => DisassociateInstanceStorageConfigCommand,  DisassociateLambdaFunctionCommand: () => DisassociateLambdaFunctionCommand,  DisassociateLexBotCommand: () => DisassociateLexBotCommand,  DisassociatePhoneNumberContactFlowCommand: () => DisassociatePhoneNumberContactFlowCommand,  DisassociateQueueQuickConnectsCommand: () => DisassociateQueueQuickConnectsCommand,  DisassociateRoutingProfileQueuesCommand: () => DisassociateRoutingProfileQueuesCommand,  DisassociateSecurityKeyCommand: () => DisassociateSecurityKeyCommand,  DisassociateTrafficDistributionGroupUserCommand: () => DisassociateTrafficDistributionGroupUserCommand,  DisassociateUserProficienciesCommand: () => DisassociateUserProficienciesCommand,  DismissUserContactCommand: () => DismissUserContactCommand,  DuplicateResourceException: () => DuplicateResourceException,  EmailAddressInfoFilterSensitiveLog: () => EmailAddressInfoFilterSensitiveLog,  EmailAddressMetadataFilterSensitiveLog: () => EmailAddressMetadataFilterSensitiveLog,  EmailHeaderType: () => EmailHeaderType,  EncryptionType: () => EncryptionType,  EndpointType: () => EndpointType,  EvaluationAnswerData: () => EvaluationAnswerData,  EvaluationFormItem: () => EvaluationFormItem,  EvaluationFormNumericQuestionAutomation: () => EvaluationFormNumericQuestionAutomation,  EvaluationFormQuestionType: () => EvaluationFormQuestionType,  EvaluationFormQuestionTypeProperties: () => EvaluationFormQuestionTypeProperties,  EvaluationFormScoringMode: () => EvaluationFormScoringMode,  EvaluationFormScoringStatus: () => EvaluationFormScoringStatus,  EvaluationFormSingleSelectQuestionAutomationOption: () => EvaluationFormSingleSelectQuestionAutomationOption,  EvaluationFormSingleSelectQuestionDisplayMode: () => EvaluationFormSingleSelectQuestionDisplayMode,  EvaluationFormVersionStatus: () => EvaluationFormVersionStatus,  EvaluationStatus: () => EvaluationStatus,  EventSourceName: () => EventSourceName,  FailureReasonCode: () => FailureReasonCode,  FileStatusType: () => FileStatusType,  FileUseCaseType: () => FileUseCaseType,  FlowAssociationResourceType: () => FlowAssociationResourceType,  GetAttachedFileCommand: () => GetAttachedFileCommand,  GetContactAttributesCommand: () => GetContactAttributesCommand,  GetContactMetricsCommand: () => GetContactMetricsCommand,  GetCurrentMetricDataCommand: () => GetCurrentMetricDataCommand,  GetCurrentUserDataCommand: () => GetCurrentUserDataCommand,  GetEffectiveHoursOfOperationsCommand: () => GetEffectiveHoursOfOperationsCommand,  GetFederationTokenCommand: () => GetFederationTokenCommand,  GetFederationTokenResponseFilterSensitiveLog: () => GetFederationTokenResponseFilterSensitiveLog,  GetFlowAssociationCommand: () => GetFlowAssociationCommand,  GetMetricDataCommand: () => GetMetricDataCommand,  GetMetricDataV2Command: () => GetMetricDataV2Command,  GetPromptFileCommand: () => GetPromptFileCommand,  GetTaskTemplateCommand: () => GetTaskTemplateCommand,  GetTrafficDistributionCommand: () => GetTrafficDistributionCommand,  Grouping: () => Grouping,  HierarchyGroupMatchType: () => HierarchyGroupMatchType,  HistoricalMetricName: () => HistoricalMetricName,  HoursOfOperationDays: () => HoursOfOperationDays,  IdempotencyException: () => IdempotencyException,  ImportPhoneNumberCommand: () => ImportPhoneNumberCommand,  InboundAdditionalRecipientsFilterSensitiveLog: () => InboundAdditionalRecipientsFilterSensitiveLog,  InboundEmailContentFilterSensitiveLog: () => InboundEmailContentFilterSensitiveLog,  InboundMessageSourceType: () => InboundMessageSourceType,  InboundRawMessageFilterSensitiveLog: () => InboundRawMessageFilterSensitiveLog,  InitiateAs: () => InitiateAs,  InstanceAttributeType: () => InstanceAttributeType,  InstanceFilterSensitiveLog: () => InstanceFilterSensitiveLog,  InstanceReplicationStatus: () => InstanceReplicationStatus,  InstanceStatus: () => InstanceStatus,  InstanceStorageResourceType: () => InstanceStorageResourceType,  InstanceSummaryFilterSensitiveLog: () => InstanceSummaryFilterSensitiveLog,  IntegrationType: () => IntegrationType,  InternalServiceException: () => InternalServiceException,  IntervalPeriod: () => IntervalPeriod,  InvalidContactFlowException: () => InvalidContactFlowException,  InvalidContactFlowModuleException: () => InvalidContactFlowModuleException,  InvalidParameterException: () => InvalidParameterException,  InvalidRequestException: () => InvalidRequestException,  InvalidRequestExceptionReason: () => InvalidRequestExceptionReason,  IvrRecordingTrack: () => IvrRecordingTrack,  LexVersion: () => LexVersion,  LimitExceededException: () => LimitExceededException,  ListAgentStatusesCommand: () => ListAgentStatusesCommand,  ListAnalyticsDataAssociationsCommand: () => ListAnalyticsDataAssociationsCommand,  ListAnalyticsDataLakeDataSetsCommand: () => ListAnalyticsDataLakeDataSetsCommand,  ListApprovedOriginsCommand: () => ListApprovedOriginsCommand,  ListAssociatedContactsCommand: () => ListAssociatedContactsCommand,  ListAuthenticationProfilesCommand: () => ListAuthenticationProfilesCommand,  ListBotsCommand: () => ListBotsCommand,  ListContactEvaluationsCommand: () => ListContactEvaluationsCommand,  ListContactFlowModulesCommand: () => ListContactFlowModulesCommand,  ListContactFlowVersionsCommand: () => ListContactFlowVersionsCommand,  ListContactFlowsCommand: () => ListContactFlowsCommand,  ListContactReferencesCommand: () => ListContactReferencesCommand,  ListDefaultVocabulariesCommand: () => ListDefaultVocabulariesCommand,  ListEvaluationFormVersionsCommand: () => ListEvaluationFormVersionsCommand,  ListEvaluationFormsCommand: () => ListEvaluationFormsCommand,  ListFlowAssociationResourceType: () => ListFlowAssociationResourceType,  ListFlowAssociationsCommand: () => ListFlowAssociationsCommand,  ListHoursOfOperationOverridesCommand: () => ListHoursOfOperationOverridesCommand,  ListHoursOfOperationsCommand: () => ListHoursOfOperationsCommand,  ListInstanceAttributesCommand: () => ListInstanceAttributesCommand,  ListInstanceStorageConfigsCommand: () => ListInstanceStorageConfigsCommand,  ListInstancesCommand: () => ListInstancesCommand,  ListInstancesResponseFilterSensitiveLog: () => ListInstancesResponseFilterSensitiveLog,  ListIntegrationAssociationsCommand: () => ListIntegrationAssociationsCommand,  ListLambdaFunctionsCommand: () => ListLambdaFunctionsCommand,  ListLexBotsCommand: () => ListLexBotsCommand,  ListPhoneNumbersCommand: () => ListPhoneNumbersCommand,  ListPhoneNumbersV2Command: () => ListPhoneNumbersV2Command,  ListPredefinedAttributesCommand: () => ListPredefinedAttributesCommand,  ListPromptsCommand: () => ListPromptsCommand,  ListQueueQuickConnectsCommand: () => ListQueueQuickConnectsCommand,  ListQueuesCommand: () => ListQueuesCommand,  ListQuickConnectsCommand: () => ListQuickConnectsCommand,  ListRealtimeContactAnalysisSegmentsV2Command: () => ListRealtimeContactAnalysisSegmentsV2Command,  ListRoutingProfileQueuesCommand: () => ListRoutingProfileQueuesCommand,  ListRoutingProfilesCommand: () => ListRoutingProfilesCommand,  ListRulesCommand: () => ListRulesCommand,  ListSecurityKeysCommand: () => ListSecurityKeysCommand,  ListSecurityProfileApplicationsCommand: () => ListSecurityProfileApplicationsCommand,  ListSecurityProfilePermissionsCommand: () => ListSecurityProfilePermissionsCommand,  ListSecurityProfilesCommand: () => ListSecurityProfilesCommand,  ListTagsForResourceCommand: () => ListTagsForResourceCommand,  ListTaskTemplatesCommand: () => ListTaskTemplatesCommand,  ListTrafficDistributionGroupUsersCommand: () => ListTrafficDistributionGroupUsersCommand,  ListTrafficDistributionGroupsCommand: () => ListTrafficDistributionGroupsCommand,  ListUseCasesCommand: () => ListUseCasesCommand,  ListUserHierarchyGroupsCommand: () => ListUserHierarchyGroupsCommand,  ListUserProficienciesCommand: () => ListUserProficienciesCommand,  ListUsersCommand: () => ListUsersCommand,  ListViewVersionsCommand: () => ListViewVersionsCommand,  ListViewVersionsResponseFilterSensitiveLog: () => ListViewVersionsResponseFilterSensitiveLog,  ListViewsCommand: () => ListViewsCommand,  ListViewsResponseFilterSensitiveLog: () => ListViewsResponseFilterSensitiveLog,  MaximumResultReturnedException: () => MaximumResultReturnedException,  MediaStreamType: () => MediaStreamType,  MeetingFeatureStatus: () => MeetingFeatureStatus,  MonitorCapability: () => MonitorCapability,  MonitorContactCommand: () => MonitorContactCommand,  NotificationContentType: () => NotificationContentType,  NotificationDeliveryType: () => NotificationDeliveryType,  NumberComparisonType: () => NumberComparisonType,  NumericQuestionPropertyAutomationLabel: () => NumericQuestionPropertyAutomationLabel,  OutboundAdditionalRecipientsFilterSensitiveLog: () => OutboundAdditionalRecipientsFilterSensitiveLog,  OutboundContactNotPermittedException: () => OutboundContactNotPermittedException,  OutboundEmailContentFilterSensitiveLog: () => OutboundEmailContentFilterSensitiveLog,  OutboundMessageSourceType: () => OutboundMessageSourceType,  OutboundRawMessageFilterSensitiveLog: () => OutboundRawMessageFilterSensitiveLog,  OutputTypeNotFoundException: () => OutputTypeNotFoundException,  OverrideDays: () => OverrideDays,  ParticipantRole: () => ParticipantRole,  ParticipantState: () => ParticipantState,  ParticipantTimerAction: () => ParticipantTimerAction,  ParticipantTimerType: () => ParticipantTimerType,  ParticipantTimerValue: () => ParticipantTimerValue,  ParticipantType: () => ParticipantType,  PauseContactCommand: () => PauseContactCommand,  PhoneNumberCountryCode: () => PhoneNumberCountryCode,  PhoneNumberType: () => PhoneNumberType,  PhoneNumberWorkflowStatus: () => PhoneNumberWorkflowStatus,  PhoneType: () => PhoneType,  PredefinedAttributeValues: () => PredefinedAttributeValues,  PropertyValidationException: () => PropertyValidationException,  PropertyValidationExceptionReason: () => PropertyValidationExceptionReason,  PutUserStatusCommand: () => PutUserStatusCommand,  QueueStatus: () => QueueStatus,  QueueType: () => QueueType,  QuickConnectType: () => QuickConnectType,  RealTimeContactAnalysisOutputType: () => RealTimeContactAnalysisOutputType,  RealTimeContactAnalysisPostContactSummaryFailureCode: () => RealTimeContactAnalysisPostContactSummaryFailureCode,  RealTimeContactAnalysisPostContactSummaryStatus: () => RealTimeContactAnalysisPostContactSummaryStatus,  RealTimeContactAnalysisSegmentType: () => RealTimeContactAnalysisSegmentType,  RealTimeContactAnalysisSentimentLabel: () => RealTimeContactAnalysisSentimentLabel,  RealTimeContactAnalysisStatus: () => RealTimeContactAnalysisStatus,  RealTimeContactAnalysisSupportedChannel: () => RealTimeContactAnalysisSupportedChannel,  RealTimeContactAnalysisTimeData: () => RealTimeContactAnalysisTimeData,  RealtimeContactAnalysisSegment: () => RealtimeContactAnalysisSegment,  RecordingStatus: () => RecordingStatus,  ReferenceStatus: () => ReferenceStatus,  ReferenceSummary: () => ReferenceSummary,  ReferenceType: () => ReferenceType,  RehydrationType: () => RehydrationType,  ReleasePhoneNumberCommand: () => ReleasePhoneNumberCommand,  ReplicateInstanceCommand: () => ReplicateInstanceCommand,  ReplicateInstanceRequestFilterSensitiveLog: () => ReplicateInstanceRequestFilterSensitiveLog,  ResourceConflictException: () => ResourceConflictException,  ResourceInUseException: () => ResourceInUseException,  ResourceNotFoundException: () => ResourceNotFoundException,  ResourceNotReadyException: () => ResourceNotReadyException,  ResourceType: () => ResourceType,  ResumeContactCommand: () => ResumeContactCommand,  ResumeContactRecordingCommand: () => ResumeContactRecordingCommand,  RoutingCriteriaStepStatus: () => RoutingCriteriaStepStatus,  RulePublishStatus: () => RulePublishStatus,  ScreenShareCapability: () => ScreenShareCapability,  SearchAgentStatusesCommand: () => SearchAgentStatusesCommand,  SearchAvailablePhoneNumbersCommand: () => SearchAvailablePhoneNumbersCommand,  SearchContactFlowModulesCommand: () => SearchContactFlowModulesCommand,  SearchContactFlowsCommand: () => SearchContactFlowsCommand,  SearchContactsCommand: () => SearchContactsCommand,  SearchContactsMatchType: () => SearchContactsMatchType,  SearchContactsRequestFilterSensitiveLog: () => SearchContactsRequestFilterSensitiveLog,  SearchContactsResponseFilterSensitiveLog: () => SearchContactsResponseFilterSensitiveLog,  SearchContactsTimeRangeType: () => SearchContactsTimeRangeType,  SearchCriteriaFilterSensitiveLog: () => SearchCriteriaFilterSensitiveLog,  SearchEmailAddressesCommand: () => SearchEmailAddressesCommand,  SearchEmailAddressesResponseFilterSensitiveLog: () => SearchEmailAddressesResponseFilterSensitiveLog,  SearchHoursOfOperationOverridesCommand: () => SearchHoursOfOperationOverridesCommand,  SearchHoursOfOperationsCommand: () => SearchHoursOfOperationsCommand,  SearchPredefinedAttributesCommand: () => SearchPredefinedAttributesCommand,  SearchPromptsCommand: () => SearchPromptsCommand,  SearchQueuesCommand: () => SearchQueuesCommand,  SearchQuickConnectsCommand: () => SearchQuickConnectsCommand,  SearchResourceTagsCommand: () => SearchResourceTagsCommand,  SearchRoutingProfilesCommand: () => SearchRoutingProfilesCommand,  SearchSecurityProfilesCommand: () => SearchSecurityProfilesCommand,  SearchUserHierarchyGroupsCommand: () => SearchUserHierarchyGroupsCommand,  SearchUsersCommand: () => SearchUsersCommand,  SearchUsersResponseFilterSensitiveLog: () => SearchUsersResponseFilterSensitiveLog,  SearchVocabulariesCommand: () => SearchVocabulariesCommand,  SearchableContactAttributesCriteriaFilterSensitiveLog: () => SearchableContactAttributesCriteriaFilterSensitiveLog,  SearchableContactAttributesFilterSensitiveLog: () => SearchableContactAttributesFilterSensitiveLog,  SearchableQueueType: () => SearchableQueueType,  SearchableSegmentAttributesCriteriaFilterSensitiveLog: () => SearchableSegmentAttributesCriteriaFilterSensitiveLog,  SearchableSegmentAttributesFilterSensitiveLog: () => SearchableSegmentAttributesFilterSensitiveLog,  SendChatIntegrationEventCommand: () => SendChatIntegrationEventCommand,  SendOutboundEmailCommand: () => SendOutboundEmailCommand,  SendOutboundEmailRequestFilterSensitiveLog: () => SendOutboundEmailRequestFilterSensitiveLog,  ServiceQuotaExceededException: () => ServiceQuotaExceededException,  ServiceQuotaExceededExceptionReason: () => ServiceQuotaExceededExceptionReason,  SingleSelectQuestionRuleCategoryAutomationCondition: () => SingleSelectQuestionRuleCategoryAutomationCondition,  SlaAssignmentType: () => SlaAssignmentType,  SlaType: () => SlaType,  SortOrder: () => SortOrder,  SortableFieldName: () => SortableFieldName,  SourceType: () => SourceType,  StartAttachedFileUploadCommand: () => StartAttachedFileUploadCommand,  StartChatContactCommand: () => StartChatContactCommand,  StartChatContactRequestFilterSensitiveLog: () => StartChatContactRequestFilterSensitiveLog,  StartContactEvaluationCommand: () => StartContactEvaluationCommand,  StartContactRecordingCommand: () => StartContactRecordingCommand,  StartContactStreamingCommand: () => StartContactStreamingCommand,  StartEmailContactCommand: () => StartEmailContactCommand,  StartEmailContactRequestFilterSensitiveLog: () => StartEmailContactRequestFilterSensitiveLog,  StartOutboundChatContactCommand: () => StartOutboundChatContactCommand,  StartOutboundEmailContactCommand: () => StartOutboundEmailContactCommand,  StartOutboundEmailContactRequestFilterSensitiveLog: () => StartOutboundEmailContactRequestFilterSensitiveLog,  StartOutboundVoiceContactCommand: () => StartOutboundVoiceContactCommand,  StartOutboundVoiceContactRequestFilterSensitiveLog: () => StartOutboundVoiceContactRequestFilterSensitiveLog,  StartScreenSharingCommand: () => StartScreenSharingCommand,  StartTaskContactCommand: () => StartTaskContactCommand,  StartTaskContactRequestFilterSensitiveLog: () => StartTaskContactRequestFilterSensitiveLog,  StartWebRTCContactCommand: () => StartWebRTCContactCommand,  StartWebRTCContactRequestFilterSensitiveLog: () => StartWebRTCContactRequestFilterSensitiveLog,  StartWebRTCContactResponseFilterSensitiveLog: () => StartWebRTCContactResponseFilterSensitiveLog,  Statistic: () => Statistic,  Status: () => Status,  StopContactCommand: () => StopContactCommand,  StopContactRecordingCommand: () => StopContactRecordingCommand,  StopContactStreamingCommand: () => StopContactStreamingCommand,  StorageType: () => StorageType,  StringComparisonType: () => StringComparisonType,  SubmitContactEvaluationCommand: () => SubmitContactEvaluationCommand,  SuspendContactRecordingCommand: () => SuspendContactRecordingCommand,  TagContactCommand: () => TagContactCommand,  TagResourceCommand: () => TagResourceCommand,  TargetListType: () => TargetListType,  TaskTemplateFieldType: () => TaskTemplateFieldType,  TaskTemplateStatus: () => TaskTemplateStatus,  ThrottlingException: () => ThrottlingException,  TimerEligibleParticipantRoles: () => TimerEligibleParticipantRoles,  TooManyRequestsException: () => TooManyRequestsException,  TrafficDistributionGroupStatus: () => TrafficDistributionGroupStatus,  TrafficType: () => TrafficType,  TranscriptCriteriaFilterSensitiveLog: () => TranscriptCriteriaFilterSensitiveLog,  TranscriptFilterSensitiveLog: () => TranscriptFilterSensitiveLog,  TransferContactCommand: () => TransferContactCommand,  Unit: () => Unit,  UntagContactCommand: () => UntagContactCommand,  UntagResourceCommand: () => UntagResourceCommand,  UpdateAgentStatusCommand: () => UpdateAgentStatusCommand,  UpdateAuthenticationProfileCommand: () => UpdateAuthenticationProfileCommand,  UpdateContactAttributesCommand: () => UpdateContactAttributesCommand,  UpdateContactCommand: () => UpdateContactCommand,  UpdateContactEvaluationCommand: () => UpdateContactEvaluationCommand,  UpdateContactFlowContentCommand: () => UpdateContactFlowContentCommand,  UpdateContactFlowMetadataCommand: () => UpdateContactFlowMetadataCommand,  UpdateContactFlowModuleContentCommand: () => UpdateContactFlowModuleContentCommand,  UpdateContactFlowModuleMetadataCommand: () => UpdateContactFlowModuleMetadataCommand,  UpdateContactFlowNameCommand: () => UpdateContactFlowNameCommand,  UpdateContactRequestFilterSensitiveLog: () => UpdateContactRequestFilterSensitiveLog,  UpdateContactRoutingDataCommand: () => UpdateContactRoutingDataCommand,  UpdateContactScheduleCommand: () => UpdateContactScheduleCommand,  UpdateEmailAddressMetadataCommand: () => UpdateEmailAddressMetadataCommand,  UpdateEmailAddressMetadataRequestFilterSensitiveLog: () => UpdateEmailAddressMetadataRequestFilterSensitiveLog,  UpdateEvaluationFormCommand: () => UpdateEvaluationFormCommand,  UpdateHoursOfOperationCommand: () => UpdateHoursOfOperationCommand,  UpdateHoursOfOperationOverrideCommand: () => UpdateHoursOfOperationOverrideCommand,  UpdateInstanceAttributeCommand: () => UpdateInstanceAttributeCommand,  UpdateInstanceStorageConfigCommand: () => UpdateInstanceStorageConfigCommand,  UpdateParticipantAuthenticationCommand: () => UpdateParticipantAuthenticationCommand,  UpdateParticipantAuthenticationRequestFilterSensitiveLog: () => UpdateParticipantAuthenticationRequestFilterSensitiveLog,  UpdateParticipantRoleConfigChannelInfo: () => UpdateParticipantRoleConfigChannelInfo,  UpdateParticipantRoleConfigCommand: () => UpdateParticipantRoleConfigCommand,  UpdatePhoneNumberCommand: () => UpdatePhoneNumberCommand,  UpdatePhoneNumberMetadataCommand: () => UpdatePhoneNumberMetadataCommand,  UpdatePredefinedAttributeCommand: () => UpdatePredefinedAttributeCommand,  UpdatePromptCommand: () => UpdatePromptCommand,  UpdateQueueHoursOfOperationCommand: () => UpdateQueueHoursOfOperationCommand,  UpdateQueueMaxContactsCommand: () => UpdateQueueMaxContactsCommand,  UpdateQueueNameCommand: () => UpdateQueueNameCommand,  UpdateQueueOutboundCallerConfigCommand: () => UpdateQueueOutboundCallerConfigCommand,  UpdateQueueOutboundEmailConfigCommand: () => UpdateQueueOutboundEmailConfigCommand,  UpdateQueueStatusCommand: () => UpdateQueueStatusCommand,  UpdateQuickConnectConfigCommand: () => UpdateQuickConnectConfigCommand,  UpdateQuickConnectNameCommand: () => UpdateQuickConnectNameCommand,  UpdateRoutingProfileAgentAvailabilityTimerCommand: () => UpdateRoutingProfileAgentAvailabilityTimerCommand,  UpdateRoutingProfileConcurrencyCommand: () => UpdateRoutingProfileConcurrencyCommand,  UpdateRoutingProfileDefaultOutboundQueueCommand: () => UpdateRoutingProfileDefaultOutboundQueueCommand,  UpdateRoutingProfileNameCommand: () => UpdateRoutingProfileNameCommand,  UpdateRoutingProfileQueuesCommand: () => UpdateRoutingProfileQueuesCommand,  UpdateRuleCommand: () => UpdateRuleCommand,  UpdateSecurityProfileCommand: () => UpdateSecurityProfileCommand,  UpdateTaskTemplateCommand: () => UpdateTaskTemplateCommand,  UpdateTrafficDistributionCommand: () => UpdateTrafficDistributionCommand,  UpdateUserHierarchyCommand: () => UpdateUserHierarchyCommand,  UpdateUserHierarchyGroupNameCommand: () => UpdateUserHierarchyGroupNameCommand,  UpdateUserHierarchyStructureCommand: () => UpdateUserHierarchyStructureCommand,  UpdateUserIdentityInfoCommand: () => UpdateUserIdentityInfoCommand,  UpdateUserIdentityInfoRequestFilterSensitiveLog: () => UpdateUserIdentityInfoRequestFilterSensitiveLog,  UpdateUserPhoneConfigCommand: () => UpdateUserPhoneConfigCommand,  UpdateUserProficienciesCommand: () => UpdateUserProficienciesCommand,  UpdateUserRoutingProfileCommand: () => UpdateUserRoutingProfileCommand,  UpdateUserSecurityProfilesCommand: () => UpdateUserSecurityProfilesCommand,  UpdateViewContentCommand: () => UpdateViewContentCommand,  UpdateViewContentRequestFilterSensitiveLog: () => UpdateViewContentRequestFilterSensitiveLog,  UpdateViewContentResponseFilterSensitiveLog: () => UpdateViewContentResponseFilterSensitiveLog,  UpdateViewMetadataCommand: () => UpdateViewMetadataCommand,  UpdateViewMetadataRequestFilterSensitiveLog: () => UpdateViewMetadataRequestFilterSensitiveLog,  UseCaseType: () => UseCaseType,  UserFilterSensitiveLog: () => UserFilterSensitiveLog,  UserIdentityInfoFilterSensitiveLog: () => UserIdentityInfoFilterSensitiveLog,  UserIdentityInfoLiteFilterSensitiveLog: () => UserIdentityInfoLiteFilterSensitiveLog,  UserNotFoundException: () => UserNotFoundException,  UserSearchSummaryFilterSensitiveLog: () => UserSearchSummaryFilterSensitiveLog,  VideoCapability: () => VideoCapability,  ViewContentFilterSensitiveLog: () => ViewContentFilterSensitiveLog,  ViewFilterSensitiveLog: () => ViewFilterSensitiveLog,  ViewInputContentFilterSensitiveLog: () => ViewInputContentFilterSensitiveLog,  ViewStatus: () => ViewStatus,  ViewSummaryFilterSensitiveLog: () => ViewSummaryFilterSensitiveLog,  ViewType: () => ViewType,  ViewVersionSummaryFilterSensitiveLog: () => ViewVersionSummaryFilterSensitiveLog,  VocabularyLanguageCode: () => VocabularyLanguageCode,  VocabularyState: () => VocabularyState,  VoiceRecordingTrack: () => VoiceRecordingTrack,  __Client: () => import_smithy_client.Client,  paginateGetCurrentMetricData: () => paginateGetCurrentMetricData,  paginateGetCurrentUserData: () => paginateGetCurrentUserData,  paginateGetMetricData: () => paginateGetMetricData,  paginateGetMetricDataV2: () => paginateGetMetricDataV2,  paginateListAgentStatuses: () => paginateListAgentStatuses,  paginateListApprovedOrigins: () => paginateListApprovedOrigins,  paginateListAuthenticationProfiles: () => paginateListAuthenticationProfiles,  paginateListBots: () => paginateListBots,  paginateListContactEvaluations: () => paginateListContactEvaluations,  paginateListContactFlowModules: () => paginateListContactFlowModules,  paginateListContactFlowVersions: () => paginateListContactFlowVersions,  paginateListContactFlows: () => paginateListContactFlows,  paginateListContactReferences: () => paginateListContactReferences,  paginateListDefaultVocabularies: () => paginateListDefaultVocabularies,  paginateListEvaluationFormVersions: () => paginateListEvaluationFormVersions,  paginateListEvaluationForms: () => paginateListEvaluationForms,  paginateListFlowAssociations: () => paginateListFlowAssociations,  paginateListHoursOfOperationOverrides: () => paginateListHoursOfOperationOverrides,  paginateListHoursOfOperations: () => paginateListHoursOfOperations,  paginateListInstanceAttributes: () => paginateListInstanceAttributes,  paginateListInstanceStorageConfigs: () => paginateListInstanceStorageConfigs,  paginateListInstances: () => paginateListInstances,  paginateListIntegrationAssociations: () => paginateListIntegrationAssociations,  paginateListLambdaFunctions: () => paginateListLambdaFunctions,  paginateListLexBots: () => paginateListLexBots,  paginateListPhoneNumbers: () => paginateListPhoneNumbers,  paginateListPhoneNumbersV2: () => paginateListPhoneNumbersV2,  paginateListPredefinedAttributes: () => paginateListPredefinedAttributes,  paginateListPrompts: () => paginateListPrompts,  paginateListQueueQuickConnects: () => paginateListQueueQuickConnects,  paginateListQueues: () => paginateListQueues,  paginateListQuickConnects: () => paginateListQuickConnects,  paginateListRealtimeContactAnalysisSegmentsV2: () => paginateListRealtimeContactAnalysisSegmentsV2,  paginateListRoutingProfileQueues: () => paginateListRoutingProfileQueues,  paginateListRoutingProfiles: () => paginateListRoutingProfiles,  paginateListRules: () => paginateListRules,  paginateListSecurityKeys: () => paginateListSecurityKeys,  paginateListSecurityProfileApplications: () => paginateListSecurityProfileApplications,  paginateListSecurityProfilePermissions: () => paginateListSecurityProfilePermissions,  paginateListSecurityProfiles: () => paginateListSecurityProfiles,  paginateListTaskTemplates: () => paginateListTaskTemplates,  paginateListTrafficDistributionGroupUsers: () => paginateListTrafficDistributionGroupUsers,  paginateListTrafficDistributionGroups: () => paginateListTrafficDistributionGroups,  paginateListUseCases: () => paginateListUseCases,  paginateListUserHierarchyGroups: () => paginateListUserHierarchyGroups,  paginateListUserProficiencies: () => paginateListUserProficiencies,  paginateListUsers: () => paginateListUsers,  paginateListViewVersions: () => paginateListViewVersions,  paginateListViews: () => paginateListViews,  paginateSearchAgentStatuses: () => paginateSearchAgentStatuses,  paginateSearchAvailablePhoneNumbers: () => paginateSearchAvailablePhoneNumbers,  paginateSearchContactFlowModules: () => paginateSearchContactFlowModules,  paginateSearchContactFlows: () => paginateSearchContactFlows,  paginateSearchContacts: () => paginateSearchContacts,  paginateSearchHoursOfOperationOverrides: () => paginateSearchHoursOfOperationOverrides,  paginateSearchHoursOfOperations: () => paginateSearchHoursOfOperations,  paginateSearchPredefinedAttributes: () => paginateSearchPredefinedAttributes,  paginateSearchPrompts: () => paginateSearchPrompts,  paginateSearchQueues: () => paginateSearchQueues,  paginateSearchQuickConnects: () => paginateSearchQuickConnects,  paginateSearchResourceTags: () => paginateSearchResourceTags,  paginateSearchRoutingProfiles: () => paginateSearchRoutingProfiles,  paginateSearchSecurityProfiles: () => paginateSearchSecurityProfiles,  paginateSearchUserHierarchyGroups: () => paginateSearchUserHierarchyGroups,  paginateSearchUsers: () => paginateSearchUsers,  paginateSearchVocabularies: () => paginateSearchVocabularies});module.exports = __toCommonJS(index_exports); // src/ConnectClient.tsvar import_middleware_host_header = require("@aws-sdk/middleware-host-header");var import_middleware_logger = require("@aws-sdk/middleware-logger");var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");var import_config_resolver = require("@smithy/config-resolver");var import_core = require("@smithy/core");var import_middleware_content_length = require("@smithy/middleware-content-length");var import_middleware_endpoint = require("@smithy/middleware-endpoint");var import_middleware_retry = require("@smithy/middleware-retry"); var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider"); // src/endpoint/EndpointParameters.tsvar resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {  return Object.assign(options, {    useDualstackEndpoint: options.useDualstackEndpoint ?? false,    useFipsEndpoint: options.useFipsEndpoint ?? false,    defaultSigningName: "connect"  });}, "resolveClientEndpointParameters");var commonParams = {  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },  Endpoint: { type: "builtInParams", name: "endpoint" },  Region: { type: "builtInParams", name: "region" },  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }}; // src/ConnectClient.tsvar import_runtimeConfig = require("././runtimeConfig"); // src/runtimeExtensions.tsvar import_region_config_resolver = require("@aws-sdk/region-config-resolver");var import_protocol_http = require("@smithy/protocol-http");var import_smithy_client = require("@smithy/smithy-client"); // src/auth/httpAuthExtensionConfiguration.tsvar getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;  let _credentials = runtimeConfig.credentials;  return {    setHttpAuthScheme(httpAuthScheme) {      const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);      if (index === -1) {        _httpAuthSchemes.push(httpAuthScheme);      } else {        _httpAuthSchemes.splice(index, 1, httpAuthScheme);      }    },    httpAuthSchemes() {      return _httpAuthSchemes;    },    setHttpAuthSchemeProvider(httpAuthSchemeProvider) {      _httpAuthSchemeProvider = httpAuthSchemeProvider;    },    httpAuthSchemeProvider() {      return _httpAuthSchemeProvider;    },    setCredentials(credentials) {      _credentials = credentials;    },    credentials() {      return _credentials;    }  };}, "getHttpAuthExtensionConfiguration");var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {  return {    httpAuthSchemes: config.httpAuthSchemes(),    httpAuthSchemeProvider: config.httpAuthSchemeProvider(),    credentials: config.credentials()  };}, "resolveHttpAuthRuntimeConfig"); // src/runtimeExtensions.tsvar resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {  const extensionConfiguration = Object.assign(    (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),    (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),    (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),    getHttpAuthExtensionConfiguration(runtimeConfig)  );  extensions.forEach((extension) => extension.configure(extensionConfiguration));  return Object.assign(    runtimeConfig,    (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),    (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),    (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),    resolveHttpAuthRuntimeConfig(extensionConfiguration)  );}, "resolveRuntimeExtensions"); // src/ConnectClient.tsvar ConnectClient = class extends import_smithy_client.Client {  static {    __name(this, "ConnectClient");  }  /**   * The resolved configuration of ConnectClient class. This is resolved and normalized from the {@link ConnectClientConfig | constructor configuration interface}.   */  config;  constructor(...[configuration]) {    const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});    super(_config_0);    this.initConfig = _config_0;    const _config_1 = resolveClientEndpointParameters(_config_0);    const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);    const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);    const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);    const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);    const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);    const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);    const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);    this.config = _config_8;    this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));    this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));    this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));    this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));    this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));    this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));    this.middlewareStack.use(      (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {        httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultConnectHttpAuthSchemeParametersProvider,        identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({          "aws.auth#sigv4": config.credentials        }), "identityProviderConfigProvider")      })    );    this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));  }  /**   * Destroy underlying resources, like sockets. It's usually not necessary to do this.   * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.   * Otherwise, sockets might stay open for quite a long time before the server terminates them.   */  destroy() {    super.destroy();  }}; // src/Connect.ts  // src/commands/ActivateEvaluationFormCommand.ts var import_middleware_serde = require("@smithy/middleware-serde");  // src/protocols/Aws_restJson1.tsvar import_core2 = require("@aws-sdk/core");  var import_uuid = require("uuid"); // src/models/ConnectServiceException.ts var ConnectServiceException = class _ConnectServiceException extends import_smithy_client.ServiceException {  static {    __name(this, "ConnectServiceException");  }  /**   * @internal   */  constructor(options) {    super(options);    Object.setPrototypeOf(this, _ConnectServiceException.prototype);  }}; // src/models/models_0.ts var AccessDeniedException = class _AccessDeniedException extends ConnectServiceException {  static {    __name(this, "AccessDeniedException");  }  name = "AccessDeniedException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "AccessDeniedException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _AccessDeniedException.prototype);    this.Message = opts.Message;  }};var ActionType = {  ASSIGN_CONTACT_CATEGORY: "ASSIGN_CONTACT_CATEGORY",  ASSIGN_SLA: "ASSIGN_SLA",  CREATE_CASE: "CREATE_CASE",  CREATE_TASK: "CREATE_TASK",  END_ASSOCIATED_TASKS: "END_ASSOCIATED_TASKS",  GENERATE_EVENTBRIDGE_EVENT: "GENERATE_EVENTBRIDGE_EVENT",  SEND_NOTIFICATION: "SEND_NOTIFICATION",  SUBMIT_AUTO_EVALUATION: "SUBMIT_AUTO_EVALUATION",  UPDATE_CASE: "UPDATE_CASE"};var InternalServiceException = class _InternalServiceException extends ConnectServiceException {  static {    __name(this, "InternalServiceException");  }  name = "InternalServiceException";  $fault = "server";  /**   * <p>The message.</p>   * @public   */  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "InternalServiceException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _InternalServiceException.prototype);    this.Message = opts.Message;  }};var InvalidParameterException = class _InvalidParameterException extends ConnectServiceException {  static {    __name(this, "InvalidParameterException");  }  name = "InvalidParameterException";  $fault = "client";  /**   * <p>The message about the parameters.</p>   * @public   */  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "InvalidParameterException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _InvalidParameterException.prototype);    this.Message = opts.Message;  }};var ResourceConflictException = class _ResourceConflictException extends ConnectServiceException {  static {    __name(this, "ResourceConflictException");  }  name = "ResourceConflictException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "ResourceConflictException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ResourceConflictException.prototype);    this.Message = opts.Message;  }};var ResourceNotFoundException = class _ResourceNotFoundException extends ConnectServiceException {  static {    __name(this, "ResourceNotFoundException");  }  name = "ResourceNotFoundException";  $fault = "client";  /**   * <p>The message about the resource.</p>   * @public   */  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "ResourceNotFoundException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);    this.Message = opts.Message;  }};var ThrottlingException = class _ThrottlingException extends ConnectServiceException {  static {    __name(this, "ThrottlingException");  }  name = "ThrottlingException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "ThrottlingException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ThrottlingException.prototype);    this.Message = opts.Message;  }};var AgentAvailabilityTimer = {  TIME_SINCE_LAST_ACTIVITY: "TIME_SINCE_LAST_ACTIVITY",  TIME_SINCE_LAST_INBOUND: "TIME_SINCE_LAST_INBOUND"};var ContactState = {  CONNECTED: "CONNECTED",  CONNECTED_ONHOLD: "CONNECTED_ONHOLD",  CONNECTING: "CONNECTING",  ENDED: "ENDED",  ERROR: "ERROR",  INCOMING: "INCOMING",  MISSED: "MISSED",  PENDING: "PENDING",  REJECTED: "REJECTED"};var Channel = {  CHAT: "CHAT",  EMAIL: "EMAIL",  TASK: "TASK",  VOICE: "VOICE"};var ContactInitiationMethod = {  AGENT_REPLY: "AGENT_REPLY",  API: "API",  CALLBACK: "CALLBACK",  DISCONNECT: "DISCONNECT",  EXTERNAL_OUTBOUND: "EXTERNAL_OUTBOUND",  FLOW: "FLOW",  INBOUND: "INBOUND",  MONITOR: "MONITOR",  OUTBOUND: "OUTBOUND",  QUEUE_TRANSFER: "QUEUE_TRANSFER",  TRANSFER: "TRANSFER",  WEBRTC_API: "WEBRTC_API"};var ScreenShareCapability = {  SEND: "SEND"};var VideoCapability = {  SEND: "SEND"};var ParticipantState = {  CONNECTED: "CONNECTED",  DISCONNECTED: "DISCONNECTED",  INITIAL: "INITIAL",  MISSED: "MISSED"};var AgentStatusState = {  DISABLED: "DISABLED",  ENABLED: "ENABLED"};var AgentStatusType = {  CUSTOM: "CUSTOM",  OFFLINE: "OFFLINE",  ROUTABLE: "ROUTABLE"};var StringComparisonType = {  CONTAINS: "CONTAINS",  EXACT: "EXACT",  STARTS_WITH: "STARTS_WITH"};var MonitorCapability = {  BARGE: "BARGE",  SILENT_MONITOR: "SILENT_MONITOR"};var AttachedFileInvalidRequestExceptionReason = {  INVALID_FILE_NAME: "INVALID_FILE_NAME",  INVALID_FILE_SIZE: "INVALID_FILE_SIZE",  INVALID_FILE_TYPE: "INVALID_FILE_TYPE"};var InvalidRequestExceptionReason;((InvalidRequestExceptionReason2) => {  InvalidRequestExceptionReason2.visit = /* @__PURE__ */ __name((value, visitor) => {    if (value.AttachedFileInvalidRequestExceptionReason !== void 0)      return visitor.AttachedFileInvalidRequestExceptionReason(value.AttachedFileInvalidRequestExceptionReason);    return visitor._(value.$unknown[0], value.$unknown[1]);  }, "visit");})(InvalidRequestExceptionReason || (InvalidRequestExceptionReason = {}));var InvalidRequestException = class _InvalidRequestException extends ConnectServiceException {  static {    __name(this, "InvalidRequestException");  }  name = "InvalidRequestException";  $fault = "client";  /**   * <p>The message about the request.</p>   * @public   */  Message;  /**   * <p>Reason why the request was invalid.</p>   * @public   */  Reason;  /**   * @internal   */  constructor(opts) {    super({      name: "InvalidRequestException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _InvalidRequestException.prototype);    this.Message = opts.Message;    this.Reason = opts.Reason;  }};var AttachedFileServiceQuotaExceededExceptionReason = {  TOTAL_FILE_COUNT_EXCEEDED: "TOTAL_FILE_COUNT_EXCEEDED",  TOTAL_FILE_SIZE_EXCEEDED: "TOTAL_FILE_SIZE_EXCEEDED"};var ServiceQuotaExceededExceptionReason;((ServiceQuotaExceededExceptionReason2) => {  ServiceQuotaExceededExceptionReason2.visit = /* @__PURE__ */ __name((value, visitor) => {    if (value.AttachedFileServiceQuotaExceededExceptionReason !== void 0)      return visitor.AttachedFileServiceQuotaExceededExceptionReason(        value.AttachedFileServiceQuotaExceededExceptionReason      );    return visitor._(value.$unknown[0], value.$unknown[1]);  }, "visit");})(ServiceQuotaExceededExceptionReason || (ServiceQuotaExceededExceptionReason = {}));var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends ConnectServiceException {  static {    __name(this, "ServiceQuotaExceededException");  }  name = "ServiceQuotaExceededException";  $fault = "client";  Message;  /**   * <p>The reason for the exception.</p>   * @public   */  Reason;  /**   * @internal   */  constructor(opts) {    super({      name: "ServiceQuotaExceededException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);    this.Message = opts.Message;    this.Reason = opts.Reason;  }};var LimitExceededException = class _LimitExceededException extends ConnectServiceException {  static {    __name(this, "LimitExceededException");  }  name = "LimitExceededException";  $fault = "client";  /**   * <p>The message about the limit.</p>   * @public   */  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "LimitExceededException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _LimitExceededException.prototype);    this.Message = opts.Message;  }};var VocabularyLanguageCode = {  AR_AE: "ar-AE",  CA_ES: "ca-ES",  DA_DK: "da-DK",  DE_CH: "de-CH",  DE_DE: "de-DE",  EN_AB: "en-AB",  EN_AU: "en-AU",  EN_GB: "en-GB",  EN_IE: "en-IE",  EN_IN: "en-IN",  EN_NZ: "en-NZ",  EN_US: "en-US",  EN_WL: "en-WL",  EN_ZA: "en-ZA",  ES_ES: "es-ES",  ES_US: "es-US",  FI_FI: "fi-FI",  FR_CA: "fr-CA",  FR_FR: "fr-FR",  HI_IN: "hi-IN",  ID_ID: "id-ID",  IT_IT: "it-IT",  JA_JP: "ja-JP",  KO_KR: "ko-KR",  MS_MY: "ms-MY",  NL_NL: "nl-NL",  NO_NO: "no-NO",  PL_PL: "pl-PL",  PT_BR: "pt-BR",  PT_PT: "pt-PT",  SV_SE: "sv-SE",  TL_PH: "tl-PH",  ZH_CN: "zh-CN"};var FlowAssociationResourceType = {  ANALYTICS_CONNECTOR: "ANALYTICS_CONNECTOR",  INBOUND_EMAIL: "INBOUND_EMAIL",  OUTBOUND_EMAIL: "OUTBOUND_EMAIL",  SMS_PHONE_NUMBER: "SMS_PHONE_NUMBER",  WHATSAPP_MESSAGING_PHONE_NUMBER: "WHATSAPP_MESSAGING_PHONE_NUMBER"};var InstanceStorageResourceType = {  AGENT_EVENTS: "AGENT_EVENTS",  ATTACHMENTS: "ATTACHMENTS",  CALL_RECORDINGS: "CALL_RECORDINGS",  CHAT_TRANSCRIPTS: "CHAT_TRANSCRIPTS",  CONTACT_EVALUATIONS: "CONTACT_EVALUATIONS",  CONTACT_TRACE_RECORDS: "CONTACT_TRACE_RECORDS",  EMAIL_MESSAGES: "EMAIL_MESSAGES",  MEDIA_STREAMS: "MEDIA_STREAMS",  REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS: "REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS",  REAL_TIME_CONTACT_ANALYSIS_SEGMENTS: "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS",  REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS: "REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS",  SCHEDULED_REPORTS: "SCHEDULED_REPORTS",  SCREEN_RECORDINGS: "SCREEN_RECORDINGS"};var EncryptionType = {  KMS: "KMS"};var StorageType = {  KINESIS_FIREHOSE: "KINESIS_FIREHOSE",  KINESIS_STREAM: "KINESIS_STREAM",  KINESIS_VIDEO_STREAM: "KINESIS_VIDEO_STREAM",  S3: "S3"};var CreatedByInfo;((CreatedByInfo4) => {  CreatedByInfo4.visit = /* @__PURE__ */ __name((value, visitor) => {    if (value.ConnectUserArn !== void 0) return visitor.ConnectUserArn(value.ConnectUserArn);    if (value.AWSIdentityArn !== void 0) return visitor.AWSIdentityArn(value.AWSIdentityArn);    return visitor._(value.$unknown[0], value.$unknown[1]);  }, "visit");})(CreatedByInfo || (CreatedByInfo = {}));var FileStatusType = {  APPROVED: "APPROVED",  FAILED: "FAILED",  PROCESSING: "PROCESSING",  REJECTED: "REJECTED"};var FileUseCaseType = {  ATTACHMENT: "ATTACHMENT",  EMAIL_MESSAGE: "EMAIL_MESSAGE"};var ListFlowAssociationResourceType = {  ANALYTICS_CONNECTOR: "ANALYTICS_CONNECTOR",  INBOUND_EMAIL: "INBOUND_EMAIL",  OUTBOUND_EMAIL: "OUTBOUND_EMAIL",  VOICE_PHONE_NUMBER: "VOICE_PHONE_NUMBER",  WHATSAPP_MESSAGING_PHONE_NUMBER: "WHATSAPP_MESSAGING_PHONE_NUMBER"};var EndpointType = {  CONNECT_PHONENUMBER_ARN: "CONNECT_PHONENUMBER_ARN",  CONTACT_FLOW: "CONTACT_FLOW",  EMAIL_ADDRESS: "EMAIL_ADDRESS",  TELEPHONE_NUMBER: "TELEPHONE_NUMBER",  VOIP: "VOIP"};var FailureReasonCode = {  IDEMPOTENCY_EXCEPTION: "IDEMPOTENCY_EXCEPTION",  INTERNAL_ERROR: "INTERNAL_ERROR",  INVALID_ATTRIBUTE_KEY: "INVALID_ATTRIBUTE_KEY",  INVALID_CUSTOMER_ENDPOINT: "INVALID_CUSTOMER_ENDPOINT",  INVALID_QUEUE: "INVALID_QUEUE",  INVALID_SYSTEM_ENDPOINT: "INVALID_SYSTEM_ENDPOINT",  MISSING_CAMPAIGN: "MISSING_CAMPAIGN",  MISSING_CUSTOMER_ENDPOINT: "MISSING_CUSTOMER_ENDPOINT",  MISSING_QUEUE_ID_AND_SYSTEM_ENDPOINT: "MISSING_QUEUE_ID_AND_SYSTEM_ENDPOINT",  REQUEST_THROTTLED: "REQUEST_THROTTLED"};var IdempotencyException = class _IdempotencyException extends ConnectServiceException {  static {    __name(this, "IdempotencyException");  }  name = "IdempotencyException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "IdempotencyException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _IdempotencyException.prototype);    this.Message = opts.Message;  }};var DuplicateResourceException = class _DuplicateResourceException extends ConnectServiceException {  static {    __name(this, "DuplicateResourceException");  }  name = "DuplicateResourceException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "DuplicateResourceException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _DuplicateResourceException.prototype);    this.Message = opts.Message;  }};var ConflictException = class _ConflictException extends ConnectServiceException {  static {    __name(this, "ConflictException");  }  name = "ConflictException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "ConflictException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ConflictException.prototype);    this.Message = opts.Message;  }};var InitiateAs = {  COMPLETED: "COMPLETED",  CONNECTED_TO_USER: "CONNECTED_TO_USER"};var ReferenceStatus = {  APPROVED: "APPROVED",  AVAILABLE: "AVAILABLE",  DELETED: "DELETED",  FAILED: "FAILED",  PROCESSING: "PROCESSING",  REJECTED: "REJECTED"};var ReferenceType = {  ATTACHMENT: "ATTACHMENT",  CONTACT_ANALYSIS: "CONTACT_ANALYSIS",  DATE: "DATE",  EMAIL: "EMAIL",  EMAIL_MESSAGE: "EMAIL_MESSAGE",  NUMBER: "NUMBER",  STRING: "STRING",  URL: "URL"};var ContactFlowStatus = {  PUBLISHED: "PUBLISHED",  SAVED: "SAVED"};var ContactFlowType = {  AGENT_HOLD: "AGENT_HOLD",  AGENT_TRANSFER: "AGENT_TRANSFER",  AGENT_WHISPER: "AGENT_WHISPER",  CAMPAIGN: "CAMPAIGN",  CONTACT_FLOW: "CONTACT_FLOW",  CUSTOMER_HOLD: "CUSTOMER_HOLD",  CUSTOMER_QUEUE: "CUSTOMER_QUEUE",  CUSTOMER_WHISPER: "CUSTOMER_WHISPER",  OUTBOUND_WHISPER: "OUTBOUND_WHISPER",  QUEUE_TRANSFER: "QUEUE_TRANSFER"};var InvalidContactFlowException = class _InvalidContactFlowException extends ConnectServiceException {  static {    __name(this, "InvalidContactFlowException");  }  name = "InvalidContactFlowException";  $fault = "client";  /**   * <p>The problems with the flow. Please fix before trying again.</p>   * @public   */  problems;  /**   * @internal   */  constructor(opts) {    super({      name: "InvalidContactFlowException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _InvalidContactFlowException.prototype);    this.problems = opts.problems;  }};var InvalidContactFlowModuleException = class _InvalidContactFlowModuleException extends ConnectServiceException {  static {    __name(this, "InvalidContactFlowModuleException");  }  name = "InvalidContactFlowModuleException";  $fault = "client";  Problems;  /**   * @internal   */  constructor(opts) {    super({      name: "InvalidContactFlowModuleException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _InvalidContactFlowModuleException.prototype);    this.Problems = opts.Problems;  }};var EvaluationFormQuestionType = {  NUMERIC: "NUMERIC",  SINGLESELECT: "SINGLESELECT",  TEXT: "TEXT"};var NumericQuestionPropertyAutomationLabel = {  AGENT_INTERACTION_DURATION: "AGENT_INTERACTION_DURATION",  CONTACT_DURATION: "CONTACT_DURATION",  CUSTOMER_HOLD_TIME: "CUSTOMER_HOLD_TIME",  NON_TALK_TIME: "NON_TALK_TIME",  NON_TALK_TIME_PERCENTAGE: "NON_TALK_TIME_PERCENTAGE",  NUMBER_OF_INTERRUPTIONS: "NUMBER_OF_INTERRUPTIONS",  OVERALL_AGENT_SENTIMENT_SCORE: "OVERALL_AGENT_SENTIMENT_SCORE",  OVERALL_CUSTOMER_SENTIMENT_SCORE: "OVERALL_CUSTOMER_SENTIMENT_SCORE"};var EvaluationFormNumericQuestionAutomation;((EvaluationFormNumericQuestionAutomation3) => {  EvaluationFormNumericQuestionAutomation3.visit = /* @__PURE__ */ __name((value, visitor) => {    if (value.PropertyValue !== void 0) return visitor.PropertyValue(value.PropertyValue);    return visitor._(value.$unknown[0], value.$unknown[1]);  }, "visit");})(EvaluationFormNumericQuestionAutomation || (EvaluationFormNumericQuestionAutomation = {}));var SingleSelectQuestionRuleCategoryAutomationCondition = {  NOT_PRESENT: "NOT_PRESENT",  PRESENT: "PRESENT"};var EvaluationFormSingleSelectQuestionAutomationOption;((EvaluationFormSingleSelectQuestionAutomationOption3) => {  EvaluationFormSingleSelectQuestionAutomationOption3.visit = /* @__PURE__ */ __name((value, visitor) => {    if (value.RuleCategory !== void 0) return visitor.RuleCategory(value.RuleCategory);    return visitor._(value.$unknown[0], value.$unknown[1]);  }, "visit");})(EvaluationFormSingleSelectQuestionAutomationOption || (EvaluationFormSingleSelectQuestionAutomationOption = {}));var EvaluationFormSingleSelectQuestionDisplayMode = {  DROPDOWN: "DROPDOWN",  RADIO: "RADIO"};var EvaluationFormQuestionTypeProperties;((EvaluationFormQuestionTypeProperties3) => {  EvaluationFormQuestionTypeProperties3.visit = /* @__PURE__ */ __name((value, visitor) => {    if (value.Numeric !== void 0) return visitor.Numeric(value.Numeric);    if (value.SingleSelect !== void 0) return visitor.SingleSelect(value.SingleSelect);    return visitor._(value.$unknown[0], value.$unknown[1]);  }, "visit");})(EvaluationFormQuestionTypeProperties || (EvaluationFormQuestionTypeProperties = {}));var EvaluationFormScoringMode = {  QUESTION_ONLY: "QUESTION_ONLY",  SECTION_ONLY: "SECTION_ONLY"};var EvaluationFormScoringStatus = {  DISABLED: "DISABLED",  ENABLED: "ENABLED"};var HoursOfOperationDays = {  FRIDAY: "FRIDAY",  MONDAY: "MONDAY",  SATURDAY: "SATURDAY",  SUNDAY: "SUNDAY",  THURSDAY: "THURSDAY",  TUESDAY: "TUESDAY",  WEDNESDAY: "WEDNESDAY"};var OverrideDays = {  FRIDAY: "FRIDAY",  MONDAY: "MONDAY",  SATURDAY: "SATURDAY",  SUNDAY: "SUNDAY",  THURSDAY: "THURSDAY",  TUESDAY: "TUESDAY",  WEDNESDAY: "WEDNESDAY"};var DirectoryType = {  CONNECT_MANAGED: "CONNECT_MANAGED",  EXISTING_DIRECTORY: "EXISTING_DIRECTORY",  SAML: "SAML"};var IntegrationType = {  ANALYTICS_CONNECTOR: "ANALYTICS_CONNECTOR",  APPLICATION: "APPLICATION",  CALL_TRANSFER_CONNECTOR: "CALL_TRANSFER_CONNECTOR",  CASES_DOMAIN: "CASES_DOMAIN",  COGNITO_USER_POOL: "COGNITO_USER_POOL",  EVENT: "EVENT",  FILE_SCANNER: "FILE_SCANNER",  PINPOINT_APP: "PINPOINT_APP",  Q_MESSAGE_TEMPLATES: "Q_MESSAGE_TEMPLATES",  SES_IDENTITY: "SES_IDENTITY",  VOICE_ID: "VOICE_ID",  WISDOM_ASSISTANT: "WISDOM_ASSISTANT",  WISDOM_KNOWLEDGE_BASE: "WISDOM_KNOWLEDGE_BASE",  WISDOM_QUICK_RESPONSES: "WISDOM_QUICK_RESPONSES"};var SourceType = {  CASES: "CASES",  SALESFORCE: "SALESFORCE",  ZENDESK: "ZENDESK"};var ParticipantRole = {  AGENT: "AGENT",  CUSTOMER: "CUSTOMER",  CUSTOM_BOT: "CUSTOM_BOT",  SUPERVISOR: "SUPERVISOR",  SYSTEM: "SYSTEM"};var RehydrationType = {  ENTIRE_PAST_SESSION: "ENTIRE_PAST_SESSION",  FROM_SEGMENT: "FROM_SEGMENT"};var PredefinedAttributeValues;((PredefinedAttributeValues5) => {  PredefinedAttributeValues5.visit = /* @__PURE__ */ __name((value, visitor) => {    if (value.StringList !== void 0) return visitor.StringList(value.StringList);    return visitor._(value.$unknown[0], value.$unknown[1]);  }, "visit");})(PredefinedAttributeValues || (PredefinedAttributeValues = {}));var DeviceType = {  APNS: "APNS",  APNS_SANDBOX: "APNS_SANDBOX",  GCM: "GCM"};var QuickConnectType = {  PHONE_NUMBER: "PHONE_NUMBER",  QUEUE: "QUEUE",  USER: "USER"};var BehaviorType = {  ROUTE_ANY_CHANNEL: "ROUTE_ANY_CHANNEL",  ROUTE_CURRENT_CHANNEL_ONLY: "ROUTE_CURRENT_CHANNEL_ONLY"};var SlaType = {  CASE_FIELD: "CaseField"};var SlaAssignmentType = {  CASES: "CASES"};var NotificationContentType = {  PLAIN_TEXT: "PLAIN_TEXT"};var NotificationDeliveryType = {  EMAIL: "EMAIL"};var RulePublishStatus = {  DRAFT: "DRAFT",  PUBLISHED: "PUBLISHED"};var EventSourceName = {  OnCaseCreate: "OnCaseCreate",  OnCaseUpdate: "OnCaseUpdate",  OnContactEvaluationSubmit: "OnContactEvaluationSubmit",  OnMetricDataUpdate: "OnMetricDataUpdate",  OnPostCallAnalysisAvailable: "OnPostCallAnalysisAvailable",  OnPostChatAnalysisAvailable: "OnPostChatAnalysisAvailable",  OnRealTimeCallAnalysisAvailable: "OnRealTimeCallAnalysisAvailable",  OnRealTimeChatAnalysisAvailable: "OnRealTimeChatAnalysisAvailable",  OnSalesforceCaseCreate: "OnSalesforceCaseCreate",  OnSlaBreach: "OnSlaBreach",  OnZendeskTicketCreate: "OnZendeskTicketCreate",  OnZendeskTicketStatusUpdate: "OnZendeskTicketStatusUpdate"};var TaskTemplateFieldType = {  BOOLEAN: "BOOLEAN",  DATE_TIME: "DATE_TIME",  DESCRIPTION: "DESCRIPTION",  EMAIL: "EMAIL",  EXPIRY_DURATION: "EXPIRY_DURATION",  NAME: "NAME",  NUMBER: "NUMBER",  QUICK_CONNECT: "QUICK_CONNECT",  SCHEDULED_TIME: "SCHEDULED_TIME",  SELF_ASSIGN: "SELF_ASSIGN",  SINGLE_SELECT: "SINGLE_SELECT",  TEXT: "TEXT",  TEXT_AREA: "TEXT_AREA",  URL: "URL"};var TaskTemplateStatus = {  ACTIVE: "ACTIVE",  INACTIVE: "INACTIVE"};var PropertyValidationExceptionReason = {  INVALID_FORMAT: "INVALID_FORMAT",  NOT_SUPPORTED: "NOT_SUPPORTED",  REFERENCED_RESOURCE_NOT_FOUND: "REFERENCED_RESOURCE_NOT_FOUND",  REQUIRED_PROPERTY_MISSING: "REQUIRED_PROPERTY_MISSING",  RESOURCE_NAME_ALREADY_EXISTS: "RESOURCE_NAME_ALREADY_EXISTS",  UNIQUE_CONSTRAINT_VIOLATED: "UNIQUE_CONSTRAINT_VIOLATED"};var PropertyValidationException = class _PropertyValidationException extends ConnectServiceException {  static {    __name(this, "PropertyValidationException");  }  name = "PropertyValidationException";  $fault = "client";  Message;  PropertyList;  /**   * @internal   */  constructor(opts) {    super({      name: "PropertyValidationException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _PropertyValidationException.prototype);    this.Message = opts.Message;    this.PropertyList = opts.PropertyList;  }};var ResourceNotReadyException = class _ResourceNotReadyException extends ConnectServiceException {  static {    __name(this, "ResourceNotReadyException");  }  name = "ResourceNotReadyException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "ResourceNotReadyException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ResourceNotReadyException.prototype);    this.Message = opts.Message;  }};var UseCaseType = {  CONNECT_CAMPAIGNS: "CONNECT_CAMPAIGNS",  RULES_EVALUATION: "RULES_EVALUATION"};var PhoneType = {  DESK_PHONE: "DESK_PHONE",  SOFT_PHONE: "SOFT_PHONE"};var ViewStatus = {  PUBLISHED: "PUBLISHED",  SAVED: "SAVED"};var ViewType = {  AWS_MANAGED: "AWS_MANAGED",  CUSTOMER_MANAGED: "CUSTOMER_MANAGED"};var ResourceType = {  CONTACT: "CONTACT",  CONTACT_FLOW: "CONTACT_FLOW",  HIERARCHY_GROUP: "HIERARCHY_GROUP",  HIERARCHY_LEVEL: "HIERARCHY_LEVEL",  INSTANCE: "INSTANCE",  PARTICIPANT: "PARTICIPANT",  PHONE_NUMBER: "PHONE_NUMBER",  USER: "USER"};var ResourceInUseException = class _ResourceInUseException extends ConnectServiceException {  static {    __name(this, "ResourceInUseException");  }  name = "ResourceInUseException";  $fault = "client";  Message;  /**   * <p>The type of resource.</p>   * @public   */  ResourceType;  /**   * <p>The identifier for the resource.</p>   * @public   */  ResourceId;  /**   * @internal   */  constructor(opts) {    super({      name: "ResourceInUseException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ResourceInUseException.prototype);    this.Message = opts.Message;    this.ResourceType = opts.ResourceType;    this.ResourceId = opts.ResourceId;  }};var TooManyRequestsException = class _TooManyRequestsException extends ConnectServiceException {  static {    __name(this, "TooManyRequestsException");  }  name = "TooManyRequestsException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "TooManyRequestsException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _TooManyRequestsException.prototype);    this.Message = opts.Message;  }};var VocabularyState = {  ACTIVE: "ACTIVE",  CREATION_FAILED: "CREATION_FAILED",  CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS",  DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS"};var CreateEmailAddressRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING },  ...obj.EmailAddress && { EmailAddress: import_smithy_client.SENSITIVE_STRING },  ...obj.DisplayName && { DisplayName: import_smithy_client.SENSITIVE_STRING }}), "CreateEmailAddressRequestFilterSensitiveLog");var CreateInstanceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.InstanceAlias && { InstanceAlias: import_smithy_client.SENSITIVE_STRING }}), "CreateInstanceRequestFilterSensitiveLog");var UserIdentityInfoFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.FirstName && { FirstName: import_smithy_client.SENSITIVE_STRING },  ...obj.LastName && { LastName: import_smithy_client.SENSITIVE_STRING },  ...obj.Email && { Email: import_smithy_client.SENSITIVE_STRING },  ...obj.SecondaryEmail && { SecondaryEmail: import_smithy_client.SENSITIVE_STRING }}), "UserIdentityInfoFilterSensitiveLog");var CreateUserRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.Password && { Password: import_smithy_client.SENSITIVE_STRING },  ...obj.IdentityInfo && { IdentityInfo: UserIdentityInfoFilterSensitiveLog(obj.IdentityInfo) }}), "CreateUserRequestFilterSensitiveLog");var ViewInputContentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.Actions && { Actions: import_smithy_client.SENSITIVE_STRING }}), "ViewInputContentFilterSensitiveLog");var CreateViewRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.Content && { Content: ViewInputContentFilterSensitiveLog(obj.Content) },  ...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING }}), "CreateViewRequestFilterSensitiveLog");var ViewContentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.InputSchema && { InputSchema: import_smithy_client.SENSITIVE_STRING },  ...obj.Actions && { Actions: import_smithy_client.SENSITIVE_STRING }}), "ViewContentFilterSensitiveLog");var ViewFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },  ...obj.Content && { Content: ViewContentFilterSensitiveLog(obj.Content) }}), "ViewFilterSensitiveLog");var CreateViewResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.View && { View: ViewFilterSensitiveLog(obj.View) }}), "CreateViewResponseFilterSensitiveLog");var CreateViewVersionResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.View && { View: ViewFilterSensitiveLog(obj.View) }}), "CreateViewVersionResponseFilterSensitiveLog"); // src/models/models_1.ts var AnsweringMachineDetectionStatus = {  AMD_ERROR: "AMD_ERROR",  AMD_NOT_APPLICABLE: "AMD_NOT_APPLICABLE",  AMD_UNANSWERED: "AMD_UNANSWERED",  AMD_UNRESOLVED: "AMD_UNRESOLVED",  ANSWERED: "ANSWERED",  ERROR: "ERROR",  FAX_MACHINE_DETECTED: "FAX_MACHINE_DETECTED",  HUMAN_ANSWERED: "HUMAN_ANSWERED",  SIT_TONE_BUSY: "SIT_TONE_BUSY",  SIT_TONE_DETECTED: "SIT_TONE_DETECTED",  SIT_TONE_INVALID_NUMBER: "SIT_TONE_INVALID_NUMBER",  UNDETECTED: "UNDETECTED",  VOICEMAIL_BEEP: "VOICEMAIL_BEEP",  VOICEMAIL_NO_BEEP: "VOICEMAIL_NO_BEEP"};var ParticipantType = {  AGENT: "AGENT",  ALL: "ALL",  CUSTOMER: "CUSTOMER",  MANAGER: "MANAGER",  THIRDPARTY: "THIRDPARTY"};var Status = {  COMPLETE: "COMPLETE",  DELETED: "DELETED",  IN_PROGRESS: "IN_PROGRESS"};var MediaStreamType = {  AUDIO: "AUDIO",  VIDEO: "VIDEO"};var RecordingStatus = {  AVAILABLE: "AVAILABLE",  DELETED: "DELETED"};var RoutingCriteriaStepStatus = {  ACTIVE: "ACTIVE",  EXPIRED: "EXPIRED",  INACTIVE: "INACTIVE",  JOINED: "JOINED"};var EvaluationAnswerData;((EvaluationAnswerData2) => {  EvaluationAnswerData2.visit = /* @__PURE__ */ __name((value, visitor) => {    if (value.StringValue !== void 0) return visitor.StringValue(value.StringValue);    if (value.NumericValue !== void 0) return visitor.NumericValue(value.NumericValue);    if (value.NotApplicable !== void 0) return visitor.NotApplicable(value.NotApplicable);    return visitor._(value.$unknown[0], value.$unknown[1]);  }, "visit");})(EvaluationAnswerData || (EvaluationAnswerData = {}));var EvaluationStatus = {  DRAFT: "DRAFT",  SUBMITTED: "SUBMITTED"};var ContactFlowNotPublishedException = class _ContactFlowNotPublishedException extends ConnectServiceException {  static {    __name(this, "ContactFlowNotPublishedException");  }  name = "ContactFlowNotPublishedException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "ContactFlowNotPublishedException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ContactFlowNotPublishedException.prototype);    this.Message = opts.Message;  }};var ContactFlowState = {  ACTIVE: "ACTIVE",  ARCHIVED: "ARCHIVED"};var ContactFlowModuleState = {  ACTIVE: "ACTIVE",  ARCHIVED: "ARCHIVED"};var ContactFlowModuleStatus = {  PUBLISHED: "PUBLISHED",  SAVED: "SAVED"};var EvaluationFormVersionStatus = {  ACTIVE: "ACTIVE",  DRAFT: "DRAFT"};var InstanceStatus = {  ACTIVE: "ACTIVE",  CREATION_FAILED: "CREATION_FAILED",  CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS"};var InstanceReplicationStatus = {  INSTANCE_REPLICATION_COMPLETE: "INSTANCE_REPLICATION_COMPLETE",  INSTANCE_REPLICATION_DELETION_FAILED: "INSTANCE_REPLICATION_DELETION_FAILED",  INSTANCE_REPLICATION_FAILED: "INSTANCE_REPLICATION_FAILED",  INSTANCE_REPLICATION_IN_PROGRESS: "INSTANCE_REPLICATION_IN_PROGRESS",  INSTANCE_REPLICA_DELETING: "INSTANCE_REPLICA_DELETING",  RESOURCE_REPLICATION_NOT_STARTED: "RESOURCE_REPLICATION_NOT_STARTED"};var InstanceAttributeType = {  AUTO_RESOLVE_BEST_VOICES: "AUTO_RESOLVE_BEST_VOICES",  CONTACTFLOW_LOGS: "CONTACTFLOW_LOGS",  CONTACT_LENS: "CONTACT_LENS",  EARLY_MEDIA: "EARLY_MEDIA",  ENHANCED_CHAT_MONITORING: "ENHANCED_CHAT_MONITORING",  ENHANCED_CONTACT_MONITORING: "ENHANCED_CONTACT_MONITORING",  HIGH_VOLUME_OUTBOUND: "HIGH_VOLUME_OUTBOUND",  INBOUND_CALLS: "INBOUND_CALLS",  MULTI_PARTY_CHAT_CONFERENCE: "MULTI_PARTY_CHAT_CONFERENCE",  MULTI_PARTY_CONFERENCE: "MULTI_PARTY_CONFERENCE",  OUTBOUND_CALLS: "OUTBOUND_CALLS",  USE_CUSTOM_TTS_VOICES: "USE_CUSTOM_TTS_VOICES"};var PhoneNumberCountryCode = {  AD: "AD",  AE: "AE",  AF: "AF",  AG: "AG",  AI: "AI",  AL: "AL",  AM: "AM",  AN: "AN",  AO: "AO",  AQ: "AQ",  AR: "AR",  AS: "AS",  AT: "AT",  AU: "AU",  AW: "AW",  AZ: "AZ",  BA: "BA",  BB: "BB",  BD: "BD",  BE: "BE",  BF: "BF",  BG: "BG",  BH: "BH",  BI: "BI",  BJ: "BJ",  BL: "BL",  BM: "BM",  BN: "BN",  BO: "BO",  BR: "BR",  BS: "BS",  BT: "BT",  BW: "BW",  BY: "BY",  BZ: "BZ",  CA: "CA",  CC: "CC",  CD: "CD",  CF: "CF",  CG: "CG",  CH: "CH",  CI: "CI",  CK: "CK",  CL: "CL",  CM: "CM",  CN: "CN",  CO: "CO",  CR: "CR",  CU: "CU",  CV: "CV",  CW: "CW",  CX: "CX",  CY: "CY",  CZ: "CZ",  DE: "DE",  DJ: "DJ",  DK: "DK",  DM: "DM",  DO: "DO",  DZ: "DZ",  EC: "EC",  EE: "EE",  EG: "EG",  EH: "EH",  ER: "ER",  ES: "ES",  ET: "ET",  FI: "FI",  FJ: "FJ",  FK: "FK",  FM: "FM",  FO: "FO",  FR: "FR",  GA: "GA",  GB: "GB",  GD: "GD",  GE: "GE",  GG: "GG",  GH: "GH",  GI: "GI",  GL: "GL",  GM: "GM",  GN: "GN",  GQ: "GQ",  GR: "GR",  GT: "GT",  GU: "GU",  GW: "GW",  GY: "GY",  HK: "HK",  HN: "HN",  HR: "HR",  HT: "HT",  HU: "HU",  ID: "ID",  IE: "IE",  IL: "IL",  IM: "IM",  IN: "IN",  IO: "IO",  IQ: "IQ",  IR: "IR",  IS: "IS",  IT: "IT",  JE: "JE",  JM: "JM",  JO: "JO",  JP: "JP",  KE: "KE",  KG: "KG",  KH: "KH",  KI: "KI",  KM: "KM",  KN: "KN",  KP: "KP",  KR: "KR",  KW: "KW",  KY: "KY",  KZ: "KZ",  LA: "LA",  LB: "LB",  LC: "LC",  LI: "LI",  LK: "LK",  LR: "LR",  LS: "LS",  LT: "LT",  LU: "LU",  LV: "LV",  LY: "LY",  MA: "MA",  MC: "MC",  MD: "MD",  ME: "ME",  MF: "MF",  MG: "MG",  MH: "MH",  MK: "MK",  ML: "ML",  MM: "MM",  MN: "MN",  MO: "MO",  MP: "MP",  MR: "MR",  MS: "MS",  MT: "MT",  MU: "MU",  MV: "MV",  MW: "MW",  MX: "MX",  MY: "MY",  MZ: "MZ",  NA: "NA",  NC: "NC",  NE: "NE",  NG: "NG",  NI: "NI",  NL: "NL",  NO: "NO",  NP: "NP",  NR: "NR",  NU: "NU",  NZ: "NZ",  OM: "OM",  PA: "PA",  PE: "PE",  PF: "PF",  PG: "PG",  PH: "PH",  PK: "PK",  PL: "PL",  PM: "PM",  PN: "PN",  PR: "PR",  PT: "PT",  PW: "PW",  PY: "PY",  QA: "QA",  RE: "RE",  RO: "RO",  RS: "RS",  RU: "RU",  RW: "RW",  SA: "SA",  SB: "SB",  SC: "SC",  SD: "SD",  SE: "SE",  SG: "SG",  SH: "SH",  SI: "SI",  SJ: "SJ",  SK: "SK",  SL: "SL",  SM: "SM",  SN: "SN",  SO: "SO",  SR: "SR",  ST: "ST",  SV: "SV",  SX: "SX",  SY: "SY",  SZ: "SZ",  TC: "TC",  TD: "TD",  TG: "TG",  TH: "TH",  TJ: "TJ",  TK: "TK",  TL: "TL",  TM: "TM",  TN: "TN",  TO: "TO",  TR: "TR",  TT: "TT",  TV: "TV",  TW: "TW",  TZ: "TZ",  UA: "UA",  UG: "UG",  US: "US",  UY: "UY",  UZ: "UZ",  VA: "VA",  VC: "VC",  VE: "VE",  VG: "VG",  VI: "VI",  VN: "VN",  VU: "VU",  WF: "WF",  WS: "WS",  YE: "YE",  YT: "YT",  ZA: "ZA",  ZM: "ZM",  ZW: "ZW"};var PhoneNumberWorkflowStatus = {  Claimed: "CLAIMED",  Failed: "FAILED",  InProgress: "IN_PROGRESS"};var PhoneNumberType = {  DID: "DID",  SHARED: "SHARED",  SHORT_CODE: "SHORT_CODE",  THIRD_PARTY_DID: "THIRD_PARTY_DID",  THIRD_PARTY_TF: "THIRD_PARTY_TF",  TOLL_FREE: "TOLL_FREE",  UIFN: "UIFN"};var QueueStatus = {  DISABLED: "DISABLED",  ENABLED: "ENABLED"};var TrafficDistributionGroupStatus = {  ACTIVE: "ACTIVE",  CREATION_FAILED: "CREATION_FAILED",  CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS",  DELETION_FAILED: "DELETION_FAILED",  PENDING_DELETION: "PENDING_DELETION",  UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS"};var ContactMetricName = {  POSITION_IN_QUEUE: "POSITION_IN_QUEUE"};var ContactMetricValue;((ContactMetricValue3) => {  ContactMetricValue3.visit = /* @__PURE__ */ __name((value, visitor) => {    if (value.Number !== void 0) return visitor.Number(value.Number);    return visitor._(value.$unknown[0], value.$unknown[1]);  }, "visit");})(ContactMetricValue || (ContactMetricValue = {}));var CurrentMetricName = {  AGENTS_AFTER_CONTACT_WORK: "AGENTS_AFTER_CONTACT_WORK",  AGENTS_AVAILABLE: "AGENTS_AVAILABLE",  AGENTS_ERROR: "AGENTS_ERROR",  AGENTS_NON_PRODUCTIVE: "AGENTS_NON_PRODUCTIVE",  AGENTS_ONLINE: "AGENTS_ONLINE",  AGENTS_ON_CALL: "AGENTS_ON_CALL",  AGENTS_ON_CONTACT: "AGENTS_ON_CONTACT",  AGENTS_STAFFED: "AGENTS_STAFFED",  CONTACTS_IN_QUEUE: "CONTACTS_IN_QUEUE",  CONTACTS_SCHEDULED: "CONTACTS_SCHEDULED",  OLDEST_CONTACT_AGE: "OLDEST_CONTACT_AGE",  SLOTS_ACTIVE: "SLOTS_ACTIVE",  SLOTS_AVAILABLE: "SLOTS_AVAILABLE"};var Unit = {  COUNT: "COUNT",  PERCENT: "PERCENT",  SECONDS: "SECONDS"};var Grouping = {  AGENT_STATUS: "AGENT_STATUS",  CHANNEL: "CHANNEL",  QUEUE: "QUEUE",  ROUTING_PROFILE: "ROUTING_PROFILE",  ROUTING_STEP_EXPRESSION: "ROUTING_STEP_EXPRESSION"};var SortOrder = {  ASCENDING: "ASCENDING",  DESCENDING: "DESCENDING"};var UserNotFoundException = class _UserNotFoundException extends ConnectServiceException {  static {    __name(this, "UserNotFoundException");  }  name = "UserNotFoundException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "UserNotFoundException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _UserNotFoundException.prototype);    this.Message = opts.Message;  }};var HistoricalMetricName = {  ABANDON_TIME: "ABANDON_TIME",  AFTER_CONTACT_WORK_TIME: "AFTER_CONTACT_WORK_TIME",  API_CONTACTS_HANDLED: "API_CONTACTS_HANDLED",  CALLBACK_CONTACTS_HANDLED: "CALLBACK_CONTACTS_HANDLED",  CONTACTS_ABANDONED: "CONTACTS_ABANDONED",  CONTACTS_AGENT_HUNG_UP_FIRST: "CONTACTS_AGENT_HUNG_UP_FIRST",  CONTACTS_CONSULTED: "CONTACTS_CONSULTED",  CONTACTS_HANDLED: "CONTACTS_HANDLED",  CONTACTS_HANDLED_INCOMING: "CONTACTS_HANDLED_INCOMING",  CONTACTS_HANDLED_OUTBOUND: "CONTACTS_HANDLED_OUTBOUND",  CONTACTS_HOLD_ABANDONS: "CONTACTS_HOLD_ABANDONS",  CONTACTS_MISSED: "CONTACTS_MISSED",  CONTACTS_QUEUED: "CONTACTS_QUEUED",  CONTACTS_TRANSFERRED_IN: "CONTACTS_TRANSFERRED_IN",  CONTACTS_TRANSFERRED_IN_FROM_QUEUE: "CONTACTS_TRANSFERRED_IN_FROM_QUEUE",  CONTACTS_TRANSFERRED_OUT: "CONTACTS_TRANSFERRED_OUT",  CONTACTS_TRANSFERRED_OUT_FROM_QUEUE: "CONTACTS_TRANSFERRED_OUT_FROM_QUEUE",  HANDLE_TIME: "HANDLE_TIME",  HOLD_TIME: "HOLD_TIME",  INTERACTION_AND_HOLD_TIME: "INTERACTION_AND_HOLD_TIME",  INTERACTION_TIME: "INTERACTION_TIME",  OCCUPANCY: "OCCUPANCY",  QUEUED_TIME: "QUEUED_TIME",  QUEUE_ANSWER_TIME: "QUEUE_ANSWER_TIME",  SERVICE_LEVEL: "SERVICE_LEVEL"};var Statistic = {  AVG: "AVG",  MAX: "MAX",  SUM: "SUM"};var Comparison = {  LT: "LT"};var IntervalPeriod = {  DAY: "DAY",  FIFTEEN_MIN: "FIFTEEN_MIN",  HOUR: "HOUR",  THIRTY_MIN: "THIRTY_MIN",  TOTAL: "TOTAL",  WEEK: "WEEK"};var LexVersion = {  V1: "V1",  V2: "V2"};var ReferenceSummary;((ReferenceSummary2) => {  ReferenceSummary2.visit = /* @__PURE__ */ __name((value, visitor) => {    if (value.Url !== void 0) return visitor.Url(value.Url);    if (value.Attachment !== void 0) return visitor.Attachment(value.Attachment);    if (value.EmailMessage !== void 0) return visitor.EmailMessage(value.EmailMessage);    if (value.String !== void 0) return visitor.String(value.String);    if (value.Number !== void 0) return visitor.Number(value.Number);    if (value.Date !== void 0) return visitor.Date(value.Date);    if (value.Email !== void 0) return visitor.Email(value.Email);    return visitor._(value.$unknown[0], value.$unknown[1]);  }, "visit");})(ReferenceSummary || (ReferenceSummary = {}));var DescribeEmailAddressResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.EmailAddress && { EmailAddress: import_smithy_client.SENSITIVE_STRING },  ...obj.DisplayName && { DisplayName: import_smithy_client.SENSITIVE_STRING },  ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }}), "DescribeEmailAddressResponseFilterSensitiveLog");var InstanceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.InstanceAlias && { InstanceAlias: import_smithy_client.SENSITIVE_STRING }}), "InstanceFilterSensitiveLog");var DescribeInstanceResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.Instance && { Instance: InstanceFilterSensitiveLog(obj.Instance) }}), "DescribeInstanceResponseFilterSensitiveLog");var UserFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.IdentityInfo && { IdentityInfo: UserIdentityInfoFilterSensitiveLog(obj.IdentityInfo) }}), "UserFilterSensitiveLog");var DescribeUserResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.User && { User: UserFilterSensitiveLog(obj.User) }}), "DescribeUserResponseFilterSensitiveLog");var DescribeViewResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.View && { View: ViewFilterSensitiveLog(obj.View) }}), "DescribeViewResponseFilterSensitiveLog");var CredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.AccessToken && { AccessToken: import_smithy_client.SENSITIVE_STRING },  ...obj.RefreshToken && { RefreshToken: import_smithy_client.SENSITIVE_STRING }}), "CredentialsFilterSensitiveLog");var GetFederationTokenResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.Credentials && { Credentials: import_smithy_client.SENSITIVE_STRING }}), "GetFederationTokenResponseFilterSensitiveLog");var InstanceSummaryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.InstanceAlias && { InstanceAlias: import_smithy_client.SENSITIVE_STRING }}), "InstanceSummaryFilterSensitiveLog");var ListInstancesResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.InstanceSummaryList && {    InstanceSummaryList: obj.InstanceSummaryList.map((item) => InstanceSummaryFilterSensitiveLog(item))  }}), "ListInstancesResponseFilterSensitiveLog"); // src/models/models_2.ts var QueueType = {  AGENT: "AGENT",  STANDARD: "STANDARD"};var RealTimeContactAnalysisOutputType = {  Raw: "Raw",  Redacted: "Redacted"};var RealTimeContactAnalysisSegmentType = {  Attachments: "Attachments",  Categories: "Categories",  Event: "Event",  Issues: "Issues",  PostContactSummary: "PostContactSummary",  Transcript: "Transcript"};var RealTimeContactAnalysisSupportedChannel = {  CHAT: "CHAT",  VOICE: "VOICE"};var ArtifactStatus = {  APPROVED: "APPROVED",  IN_PROGRESS: "IN_PROGRESS",  REJECTED: "REJECTED"};var RealTimeContactAnalysisTimeData;((RealTimeContactAnalysisTimeData3) => {  RealTimeContactAnalysisTimeData3.visit = /* @__PURE__ */ __name((value, visitor) => {    if (value.AbsoluteTime !== void 0) return visitor.AbsoluteTime(value.AbsoluteTime);    return visitor._(value.$unknown[0], value.$unknown[1]);  }, "visit");})(RealTimeContactAnalysisTimeData || (RealTimeContactAnalysisTimeData = {}));var RealTimeContactAnalysisPostContactSummaryFailureCode = {  FAILED_SAFETY_GUIDELINES: "FAILED_SAFETY_GUIDELINES",  INSUFFICIENT_CONVERSATION_CONTENT: "INSUFFICIENT_CONVERSATION_CONTENT",  INTERNAL_ERROR: "INTERNAL_ERROR",  INVALID_ANALYSIS_CONFIGURATION: "INVALID_ANALYSIS_CONFIGURATION",  QUOTA_EXCEEDED: "QUOTA_EXCEEDED"};var RealTimeContactAnalysisPostContactSummaryStatus = {  COMPLETED: "COMPLETED",  FAILED: "FAILED"};var RealTimeContactAnalysisSentimentLabel = {  NEGATIVE: "NEGATIVE",  NEUTRAL: "NEUTRAL",  POSITIVE: "POSITIVE"};var RealtimeContactAnalysisSegment;((RealtimeContactAnalysisSegment3) => {  RealtimeContactAnalysisSegment3.visit = /* @__PURE__ */ __name((value, visitor) => {    if (value.Transcript !== void 0) return visitor.Transcript(value.Transcript);    if (value.Categories !== void 0) return visitor.Categories(value.Categories);    if (value.Issues !== void 0) return visitor.Issues(value.Issues);    if (value.Event !== void 0) return visitor.Event(value.Event);    if (value.Attachments !== void 0) return visitor.Attachments(value.Attachments);    if (value.PostContactSummary !== void 0) return visitor.PostContactSummary(value.PostContactSummary);    return visitor._(value.$unknown[0], value.$unknown[1]);  }, "visit");})(RealtimeContactAnalysisSegment || (RealtimeContactAnalysisSegment = {}));var RealTimeContactAnalysisStatus = {  COMPLETED: "COMPLETED",  FAILED: "FAILED",  IN_PROGRESS: "IN_PROGRESS"};var OutputTypeNotFoundException = class _OutputTypeNotFoundException extends ConnectServiceException {  static {    __name(this, "OutputTypeNotFoundException");  }  name = "OutputTypeNotFoundException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "OutputTypeNotFoundException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _OutputTypeNotFoundException.prototype);    this.Message = opts.Message;  }};var ContactRecordingType = {  AGENT: "AGENT",  IVR: "IVR",  SCREEN: "SCREEN"};var SearchContactsMatchType = {  MATCH_ALL: "MATCH_ALL",  MATCH_ANY: "MATCH_ANY"};var SortableFieldName = {  CHANNEL: "CHANNEL",  CONNECTED_TO_AGENT_TIMESTAMP: "CONNECTED_TO_AGENT_TIMESTAMP",  DISCONNECT_TIMESTAMP: "DISCONNECT_TIMESTAMP",  INITIATION_METHOD: "INITIATION_METHOD",  INITIATION_TIMESTAMP: "INITIATION_TIMESTAMP",  SCHEDULED_TIMESTAMP: "SCHEDULED_TIMESTAMP"};var SearchContactsTimeRangeType = {  CONNECTED_TO_AGENT_TIMESTAMP: "CONNECTED_TO_AGENT_TIMESTAMP",  DISCONNECT_TIMESTAMP: "DISCONNECT_TIMESTAMP",  INITIATION_TIMESTAMP: "INITIATION_TIMESTAMP",  SCHEDULED_TIMESTAMP: "SCHEDULED_TIMESTAMP"};var DateComparisonType = {  EQUAL_TO: "EQUAL_TO",  GREATER_THAN: "GREATER_THAN",  GREATER_THAN_OR_EQUAL_TO: "GREATER_THAN_OR_EQUAL_TO",  LESS_THAN: "LESS_THAN",  LESS_THAN_OR_EQUAL_TO: "LESS_THAN_OR_EQUAL_TO"};var SearchableQueueType = {  STANDARD: "STANDARD"};var MaximumResultReturnedException = class _MaximumResultReturnedException extends ConnectServiceException {  static {    __name(this, "MaximumResultReturnedException");  }  name = "MaximumResultReturnedException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "MaximumResultReturnedException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _MaximumResultReturnedException.prototype);    this.Message = opts.Message;  }};var HierarchyGroupMatchType = {  EXACT: "EXACT",  WITH_CHILD_GROUPS: "WITH_CHILD_GROUPS"};var NumberComparisonType = {  EQUAL: "EQUAL",  GREATER: "GREATER",  GREATER_OR_EQUAL: "GREATER_OR_EQUAL",  LESSER: "LESSER",  LESSER_OR_EQUAL: "LESSER_OR_EQUAL",  NOT_EQUAL: "NOT_EQUAL",  RANGE: "RANGE"};var TargetListType = {  PROFICIENCIES: "PROFICIENCIES"};var ChatEventType = {  DISCONNECT: "DISCONNECT",  EVENT: "EVENT",  MESSAGE: "MESSAGE"};var OutboundMessageSourceType = {  RAW: "RAW",  TEMPLATE: "TEMPLATE"};var TrafficType = {  CAMPAIGN: "CAMPAIGN",  GENERAL: "GENERAL"};var IvrRecordingTrack = {  ALL: "ALL"};var VoiceRecordingTrack = {  ALL: "ALL",  FROM_AGENT: "FROM_AGENT",  TO_AGENT: "TO_AGENT"};var InboundMessageSourceType = {  RAW: "RAW"};var EmailHeaderType = {  IN_REPLY_TO: "IN_REPLY_TO",  MESSAGE_ID: "MESSAGE_ID",  REFERENCES: "REFERENCES",  X_SES_SPAM_VERDICT: "X_SES_SPAM_VERDICT",  X_SES_VIRUS_VERDICT: "X_SES_VIRUS_VERDICT"};var DestinationNotAllowedException = class _DestinationNotAllowedException extends ConnectServiceException {  static {    __name(this, "DestinationNotAllowedException");  }  name = "DestinationNotAllowedException";  $fault = "client";  /**   * <p>The message about the outbound calls.</p>   * @public   */  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "DestinationNotAllowedException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _DestinationNotAllowedException.prototype);    this.Message = opts.Message;  }};var OutboundContactNotPermittedException = class _OutboundContactNotPermittedException extends ConnectServiceException {  static {    __name(this, "OutboundContactNotPermittedException");  }  name = "OutboundContactNotPermittedException";  $fault = "client";  /**   * <p>The message about the contact.</p>   * @public   */  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "OutboundContactNotPermittedException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _OutboundContactNotPermittedException.prototype);    this.Message = opts.Message;  }};var MeetingFeatureStatus = {  AVAILABLE: "AVAILABLE",  UNAVAILABLE: "UNAVAILABLE"};var ContactNotFoundException = class _ContactNotFoundException extends ConnectServiceException {  static {    __name(this, "ContactNotFoundException");  }  name = "ContactNotFoundException";  $fault = "client";  /**   * <p>The message.</p>   * @public   */  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "ContactNotFoundException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ContactNotFoundException.prototype);    this.Message = opts.Message;  }};var ConditionalOperationFailedException = class _ConditionalOperationFailedException extends ConnectServiceException {  static {    __name(this, "ConditionalOperationFailedException");  }  name = "ConditionalOperationFailedException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "ConditionalOperationFailedException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ConditionalOperationFailedException.prototype);    this.Message = opts.Message;  }};var ViewSummaryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING }}), "ViewSummaryFilterSensitiveLog");var ListViewsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.ViewsSummaryList && {    ViewsSummaryList: obj.ViewsSummaryList.map((item) => ViewSummaryFilterSensitiveLog(item))  }}), "ListViewsResponseFilterSensitiveLog");var ViewVersionSummaryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING }}), "ViewVersionSummaryFilterSensitiveLog");var ListViewVersionsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.ViewVersionSummaryList && {    ViewVersionSummaryList: obj.ViewVersionSummaryList.map((item) => ViewVersionSummaryFilterSensitiveLog(item))  }}), "ListViewVersionsResponseFilterSensitiveLog");var ReplicateInstanceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.ReplicaAlias && { ReplicaAlias: import_smithy_client.SENSITIVE_STRING }}), "ReplicateInstanceRequestFilterSensitiveLog");var TranscriptCriteriaFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.SearchText && { SearchText: import_smithy_client.SENSITIVE_STRING }}), "TranscriptCriteriaFilterSensitiveLog");var TranscriptFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.Criteria && { Criteria: obj.Criteria.map((item) => TranscriptCriteriaFilterSensitiveLog(item)) }}), "TranscriptFilterSensitiveLog");var ContactAnalysisFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.Transcript && { Transcript: TranscriptFilterSensitiveLog(obj.Transcript) }}), "ContactAnalysisFilterSensitiveLog");var SearchableContactAttributesCriteriaFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.Key && { Key: import_smithy_client.SENSITIVE_STRING },  ...obj.Values && { Values: import_smithy_client.SENSITIVE_STRING }}), "SearchableContactAttributesCriteriaFilterSensitiveLog");var SearchableContactAttributesFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.Criteria && {    Criteria: obj.Criteria.map((item) => SearchableContactAttributesCriteriaFilterSensitiveLog(item))  }}), "SearchableContactAttributesFilterSensitiveLog");var SearchableSegmentAttributesCriteriaFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.Key && { Key: import_smithy_client.SENSITIVE_STRING },  ...obj.Values && { Values: import_smithy_client.SENSITIVE_STRING }}), "SearchableSegmentAttributesCriteriaFilterSensitiveLog");var SearchableSegmentAttributesFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.Criteria && {    Criteria: obj.Criteria.map((item) => SearchableSegmentAttributesCriteriaFilterSensitiveLog(item))  }}), "SearchableSegmentAttributesFilterSensitiveLog");var SearchCriteriaFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.ContactAnalysis && { ContactAnalysis: ContactAnalysisFilterSensitiveLog(obj.ContactAnalysis) },  ...obj.SearchableContactAttributes && {    SearchableContactAttributes: SearchableContactAttributesFilterSensitiveLog(obj.SearchableContactAttributes)  },  ...obj.SearchableSegmentAttributes && {    SearchableSegmentAttributes: SearchableSegmentAttributesFilterSensitiveLog(obj.SearchableSegmentAttributes)  }}), "SearchCriteriaFilterSensitiveLog");var SearchContactsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.SearchCriteria && { SearchCriteria: SearchCriteriaFilterSensitiveLog(obj.SearchCriteria) }}), "SearchContactsRequestFilterSensitiveLog");var ContactSearchSummaryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.SegmentAttributes && { SegmentAttributes: import_smithy_client.SENSITIVE_STRING }}), "ContactSearchSummaryFilterSensitiveLog");var SearchContactsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.Contacts && { Contacts: obj.Contacts.map((item) => ContactSearchSummaryFilterSensitiveLog(item)) }}), "SearchContactsResponseFilterSensitiveLog");var EmailAddressMetadataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.EmailAddress && { EmailAddress: import_smithy_client.SENSITIVE_STRING },  ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING },  ...obj.DisplayName && { DisplayName: import_smithy_client.SENSITIVE_STRING }}), "EmailAddressMetadataFilterSensitiveLog");var SearchEmailAddressesResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.EmailAddresses && {    EmailAddresses: obj.EmailAddresses.map((item) => EmailAddressMetadataFilterSensitiveLog(item))  }}), "SearchEmailAddressesResponseFilterSensitiveLog");var UserIdentityInfoLiteFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.FirstName && { FirstName: import_smithy_client.SENSITIVE_STRING },  ...obj.LastName && { LastName: import_smithy_client.SENSITIVE_STRING }}), "UserIdentityInfoLiteFilterSensitiveLog");var UserSearchSummaryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.IdentityInfo && { IdentityInfo: UserIdentityInfoLiteFilterSensitiveLog(obj.IdentityInfo) }}), "UserSearchSummaryFilterSensitiveLog");var SearchUsersResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.Users && { Users: obj.Users.map((item) => UserSearchSummaryFilterSensitiveLog(item)) }}), "SearchUsersResponseFilterSensitiveLog");var EmailAddressInfoFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.EmailAddress && { EmailAddress: import_smithy_client.SENSITIVE_STRING },  ...obj.DisplayName && { DisplayName: import_smithy_client.SENSITIVE_STRING }}), "EmailAddressInfoFilterSensitiveLog");var OutboundAdditionalRecipientsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.CcEmailAddresses && {    CcEmailAddresses: obj.CcEmailAddresses.map((item) => EmailAddressInfoFilterSensitiveLog(item))  }}), "OutboundAdditionalRecipientsFilterSensitiveLog");var OutboundRawMessageFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.Subject && { Subject: import_smithy_client.SENSITIVE_STRING },  ...obj.Body && { Body: import_smithy_client.SENSITIVE_STRING }}), "OutboundRawMessageFilterSensitiveLog");var OutboundEmailContentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.RawMessage && { RawMessage: OutboundRawMessageFilterSensitiveLog(obj.RawMessage) }}), "OutboundEmailContentFilterSensitiveLog");var SendOutboundEmailRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.FromEmailAddress && { FromEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.FromEmailAddress) },  ...obj.DestinationEmailAddress && {    DestinationEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.DestinationEmailAddress)  },  ...obj.AdditionalRecipients && {    AdditionalRecipients: OutboundAdditionalRecipientsFilterSensitiveLog(obj.AdditionalRecipients)  },  ...obj.EmailMessage && { EmailMessage: OutboundEmailContentFilterSensitiveLog(obj.EmailMessage) }}), "SendOutboundEmailRequestFilterSensitiveLog");var InboundAdditionalRecipientsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.ToAddresses && { ToAddresses: obj.ToAddresses.map((item) => EmailAddressInfoFilterSensitiveLog(item)) },  ...obj.CcAddresses && { CcAddresses: obj.CcAddresses.map((item) => EmailAddressInfoFilterSensitiveLog(item)) }}), "InboundAdditionalRecipientsFilterSensitiveLog");var InboundRawMessageFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.Subject && { Subject: import_smithy_client.SENSITIVE_STRING },  ...obj.Body && { Body: import_smithy_client.SENSITIVE_STRING }}), "InboundRawMessageFilterSensitiveLog");var InboundEmailContentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.RawMessage && { RawMessage: InboundRawMessageFilterSensitiveLog(obj.RawMessage) }}), "InboundEmailContentFilterSensitiveLog");var StartOutboundEmailContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.FromEmailAddress && { FromEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.FromEmailAddress) },  ...obj.DestinationEmailAddress && {    DestinationEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.DestinationEmailAddress)  },  ...obj.AdditionalRecipients && {    AdditionalRecipients: OutboundAdditionalRecipientsFilterSensitiveLog(obj.AdditionalRecipients)  },  ...obj.EmailMessage && { EmailMessage: OutboundEmailContentFilterSensitiveLog(obj.EmailMessage) }}), "StartOutboundEmailContactRequestFilterSensitiveLog");var StartOutboundVoiceContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },  ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }}), "StartOutboundVoiceContactRequestFilterSensitiveLog");var StartWebRTCContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }}), "StartWebRTCContactRequestFilterSensitiveLog");var AttendeeFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.JoinToken && { JoinToken: import_smithy_client.SENSITIVE_STRING }}), "AttendeeFilterSensitiveLog");var ConnectionDataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.Attendee && { Attendee: AttendeeFilterSensitiveLog(obj.Attendee) }}), "ConnectionDataFilterSensitiveLog");var StartWebRTCContactResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.ConnectionData && { ConnectionData: ConnectionDataFilterSensitiveLog(obj.ConnectionData) }}), "StartWebRTCContactResponseFilterSensitiveLog");var UpdateEmailAddressMetadataRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING },  ...obj.DisplayName && { DisplayName: import_smithy_client.SENSITIVE_STRING }}), "UpdateEmailAddressMetadataRequestFilterSensitiveLog"); // src/models/models_3.ts var TimerEligibleParticipantRoles = {  AGENT: "AGENT",  CUSTOMER: "CUSTOMER"};var ParticipantTimerType = {  DISCONNECT_NONCUSTOMER: "DISCONNECT_NONCUSTOMER",  IDLE: "IDLE"};var ParticipantTimerAction = {  Unset: "Unset"};var ParticipantTimerValue;((ParticipantTimerValue3) => {  ParticipantTimerValue3.visit = /* @__PURE__ */ __name((value, visitor) => {    if (value.ParticipantTimerAction !== void 0) return visitor.ParticipantTimerAction(value.ParticipantTimerAction);    if (value.ParticipantTimerDurationInMinutes !== void 0)      return visitor.ParticipantTimerDurationInMinutes(value.ParticipantTimerDurationInMinutes);    return visitor._(value.$unknown[0], value.$unknown[1]);  }, "visit");})(ParticipantTimerValue || (ParticipantTimerValue = {}));var UpdateParticipantRoleConfigChannelInfo;((UpdateParticipantRoleConfigChannelInfo3) => {  UpdateParticipantRoleConfigChannelInfo3.visit = /* @__PURE__ */ __name((value, visitor) => {    if (value.Chat !== void 0) return visitor.Chat(value.Chat);    return visitor._(value.$unknown[0], value.$unknown[1]);  }, "visit");})(UpdateParticipantRoleConfigChannelInfo || (UpdateParticipantRoleConfigChannelInfo = {}));var EvaluationFormItem;((EvaluationFormItem2) => {  EvaluationFormItem2.visit = /* @__PURE__ */ __name((value, visitor) => {    if (value.Section !== void 0) return visitor.Section(value.Section);    if (value.Question !== void 0) return visitor.Question(value.Question);    return visitor._(value.$unknown[0], value.$unknown[1]);  }, "visit");})(EvaluationFormItem || (EvaluationFormItem = {}));var UpdateParticipantAuthenticationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.Code && { Code: import_smithy_client.SENSITIVE_STRING },  ...obj.Error && { Error: import_smithy_client.SENSITIVE_STRING },  ...obj.ErrorDescription && { ErrorDescription: import_smithy_client.SENSITIVE_STRING }}), "UpdateParticipantAuthenticationRequestFilterSensitiveLog");var UpdateUserIdentityInfoRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.IdentityInfo && { IdentityInfo: UserIdentityInfoFilterSensitiveLog(obj.IdentityInfo) }}), "UpdateUserIdentityInfoRequestFilterSensitiveLog");var UpdateViewContentRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.Content && { Content: ViewInputContentFilterSensitiveLog(obj.Content) }}), "UpdateViewContentRequestFilterSensitiveLog");var UpdateViewContentResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.View && { View: ViewFilterSensitiveLog(obj.View) }}), "UpdateViewContentResponseFilterSensitiveLog");var UpdateViewMetadataRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING }}), "UpdateViewMetadataRequestFilterSensitiveLog");var CreateContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },  ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }}), "CreateContactRequestFilterSensitiveLog");var StartChatContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.CustomerId && { CustomerId: import_smithy_client.SENSITIVE_STRING }}), "StartChatContactRequestFilterSensitiveLog");var StartEmailContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.FromEmailAddress && { FromEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.FromEmailAddress) },  ...obj.DestinationEmailAddress && { DestinationEmailAddress: import_smithy_client.SENSITIVE_STRING },  ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING },  ...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },  ...obj.EmailMessage && { EmailMessage: InboundEmailContentFilterSensitiveLog(obj.EmailMessage) },  ...obj.AdditionalRecipients && {    AdditionalRecipients: InboundAdditionalRecipientsFilterSensitiveLog(obj.AdditionalRecipients)  },  ...obj.Attachments && { Attachments: import_smithy_client.SENSITIVE_STRING }}), "StartEmailContactRequestFilterSensitiveLog");var StartTaskContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },  ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }}), "StartTaskContactRequestFilterSensitiveLog");var UpdateContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },  ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }}), "UpdateContactRequestFilterSensitiveLog");var ContactFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },  ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }}), "ContactFilterSensitiveLog");var DescribeContactResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.Contact && { Contact: ContactFilterSensitiveLog(obj.Contact) }}), "DescribeContactResponseFilterSensitiveLog"); // src/protocols/Aws_restJson1.tsvar se_ActivateEvaluationFormCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/evaluation-forms/{InstanceId}/{EvaluationFormId}/activate");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("EvaluationFormId", () => input.EvaluationFormId, "{EvaluationFormId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      EvaluationFormVersion: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ActivateEvaluationFormCommand");var se_AssociateAnalyticsDataSetCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/analytics-data/instance/{InstanceId}/association");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      DataSetId: [],      TargetAccountId: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_AssociateAnalyticsDataSetCommand");var se_AssociateApprovedOriginCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/instance/{InstanceId}/approved-origin");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      Origin: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_AssociateApprovedOriginCommand");var se_AssociateBotCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/instance/{InstanceId}/bot");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      LexBot: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "LexBot"),      LexV2Bot: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "LexV2Bot")    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_AssociateBotCommand");var se_AssociateDefaultVocabularyCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/default-vocabulary/{InstanceId}/{LanguageCode}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("LanguageCode", () => input.LanguageCode, "{LanguageCode}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      VocabularyId: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_AssociateDefaultVocabularyCommand");var se_AssociateFlowCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/flow-associations/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      FlowId: [],      ResourceId: [],      ResourceType: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_AssociateFlowCommand");var se_AssociateInstanceStorageConfigCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/instance/{InstanceId}/storage-config");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      ResourceType: [],      StorageConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "StorageConfig")    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_AssociateInstanceStorageConfigCommand");var se_AssociateLambdaFunctionCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/instance/{InstanceId}/lambda-function");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      FunctionArn: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_AssociateLambdaFunctionCommand");var se_AssociateLexBotCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/instance/{InstanceId}/lex-bot");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      LexBot: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "LexBot")    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_AssociateLexBotCommand");var se_AssociatePhoneNumberContactFlowCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/phone-number/{PhoneNumberId}/contact-flow");  b.p("PhoneNumberId", () => input.PhoneNumberId, "{PhoneNumberId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ContactFlowId: [],      InstanceId: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_AssociatePhoneNumberContactFlowCommand");var se_AssociateQueueQuickConnectsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/queues/{InstanceId}/{QueueId}/associate-quick-connects");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("QueueId", () => input.QueueId, "{QueueId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      QuickConnectIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "QuickConnectIds")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_AssociateQueueQuickConnectsCommand");var se_AssociateRoutingProfileQueuesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/routing-profiles/{InstanceId}/{RoutingProfileId}/associate-queues");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("RoutingProfileId", () => input.RoutingProfileId, "{RoutingProfileId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      QueueConfigs: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "QueueConfigs")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_AssociateRoutingProfileQueuesCommand");var se_AssociateSecurityKeyCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/instance/{InstanceId}/security-key");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      Key: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_AssociateSecurityKeyCommand");var se_AssociateTrafficDistributionGroupUserCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/traffic-distribution-group/{TrafficDistributionGroupId}/user");  b.p("TrafficDistributionGroupId", () => input.TrafficDistributionGroupId, "{TrafficDistributionGroupId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      InstanceId: [],      UserId: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_AssociateTrafficDistributionGroupUserCommand");var se_AssociateUserProficienciesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/users/{InstanceId}/{UserId}/associate-proficiencies");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("UserId", () => input.UserId, "{UserId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      UserProficiencies: /* @__PURE__ */ __name((_) => se_UserProficiencyList(_, context), "UserProficiencies")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_AssociateUserProficienciesCommand");var se_BatchAssociateAnalyticsDataSetCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/analytics-data/instance/{InstanceId}/associations");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      DataSetIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "DataSetIds"),      TargetAccountId: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_BatchAssociateAnalyticsDataSetCommand");var se_BatchDisassociateAnalyticsDataSetCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/analytics-data/instance/{InstanceId}/associations");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      DataSetIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "DataSetIds"),      TargetAccountId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_BatchDisassociateAnalyticsDataSetCommand");var se_BatchGetAttachedFileMetadataCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/attached-files/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_aRA]: [, (0, import_smithy_client.expectNonNull)(input[_ARA], `AssociatedResourceArn`)]  });  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      FileIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "FileIds")    })  );  b.m("POST").h(headers).q(query).b(body);  return b.build();}, "se_BatchGetAttachedFileMetadataCommand");var se_BatchGetFlowAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/flow-associations-batch/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ResourceIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ResourceIds"),      ResourceType: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_BatchGetFlowAssociationCommand");var se_BatchPutContactCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact/batch/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      ContactDataRequestList: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ContactDataRequestList")    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_BatchPutContactCommand");var se_ClaimPhoneNumberCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/phone-number/claim");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      InstanceId: [],      PhoneNumber: [],      PhoneNumberDescription: [],      Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags"),      TargetArn: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ClaimPhoneNumberCommand");var se_CompleteAttachedFileUploadCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/attached-files/{InstanceId}/{FileId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("FileId", () => input.FileId, "{FileId}", false);  const query = (0, import_smithy_client.map)({    [_aRA]: [, (0, import_smithy_client.expectNonNull)(input[_ARA], `AssociatedResourceArn`)]  });  let body;  b.m("POST").h(headers).q(query).b(body);  return b.build();}, "se_CompleteAttachedFileUploadCommand");var se_CreateAgentStatusCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/agent-status/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Description: [],      DisplayOrder: [],      Name: [],      State: [],      Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_CreateAgentStatusCommand");var se_CreateContactCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact/create-contact");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Attributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Attributes"),      Channel: [],      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      Description: [],      ExpiryDurationInMinutes: [],      InitiateAs: [],      InitiationMethod: [],      InstanceId: [],      Name: [],      PreviousContactId: [],      References: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "References"),      RelatedContactId: [],      SegmentAttributes: /* @__PURE__ */ __name((_) => se_SegmentAttributes(_, context), "SegmentAttributes"),      UserInfo: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "UserInfo")    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_CreateContactCommand");var se_CreateContactFlowCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact-flows/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Content: [],      Description: [],      Name: [],      Status: [],      Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags"),      Type: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_CreateContactFlowCommand");var se_CreateContactFlowModuleCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact-flow-modules/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      Content: [],      Description: [],      Name: [],      Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_CreateContactFlowModuleCommand");var se_CreateContactFlowVersionCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact-flows/{InstanceId}/{ContactFlowId}/version");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("ContactFlowId", () => input.ContactFlowId, "{ContactFlowId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ContactFlowVersion: [],      Description: [],      FlowContentSha256: [],      LastModifiedRegion: [],      LastModifiedTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "LastModifiedTime")    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_CreateContactFlowVersionCommand");var se_CreateEmailAddressCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/email-addresses/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ClientToken: [],      Description: [],      DisplayName: [],      EmailAddress: [],      Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_CreateEmailAddressCommand");var se_CreateEvaluationFormCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/evaluation-forms/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      Description: [],      Items: /* @__PURE__ */ __name((_) => se_EvaluationFormItemsList(_, context), "Items"),      ScoringStrategy: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ScoringStrategy"),      Title: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_CreateEvaluationFormCommand");var se_CreateHoursOfOperationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/hours-of-operations/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Config: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Config"),      Description: [],      Name: [],      Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags"),      TimeZone: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_CreateHoursOfOperationCommand");var se_CreateHoursOfOperationOverrideCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/hours-of-operations/{InstanceId}/{HoursOfOperationId}/overrides");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("HoursOfOperationId", () => input.HoursOfOperationId, "{HoursOfOperationId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Config: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Config"),      Description: [],      EffectiveFrom: [],      EffectiveTill: [],      Name: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_CreateHoursOfOperationOverrideCommand");var se_CreateInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/instance");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      DirectoryId: [],      IdentityManagementType: [],      InboundCallsEnabled: [],      InstanceAlias: [],      OutboundCallsEnabled: [],      Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_CreateInstanceCommand");var se_CreateIntegrationAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/instance/{InstanceId}/integration-associations");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      IntegrationArn: [],      IntegrationType: [],      SourceApplicationName: [],      SourceApplicationUrl: [],      SourceType: [],      Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_CreateIntegrationAssociationCommand");var se_CreateParticipantCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact/create-participant");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      ContactId: [],      InstanceId: [],      ParticipantDetails: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ParticipantDetails")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateParticipantCommand");var se_CreatePersistentContactAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact/persistent-contact-association/{InstanceId}/{InitialContactId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("InitialContactId", () => input.InitialContactId, "{InitialContactId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ClientToken: [],      RehydrationType: [],      SourceContactId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreatePersistentContactAssociationCommand");var se_CreatePredefinedAttributeCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/predefined-attributes/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      AttributeConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AttributeConfiguration"),      Name: [],      Purposes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Purposes"),      Values: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Values")    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_CreatePredefinedAttributeCommand");var se_CreatePromptCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/prompts/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Description: [],      Name: [],      S3Uri: [],      Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_CreatePromptCommand");var se_CreatePushNotificationRegistrationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/push-notification/{InstanceId}/registrations");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      ContactConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ContactConfiguration"),      DeviceToken: [],      DeviceType: [],      PinpointAppArn: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_CreatePushNotificationRegistrationCommand");var se_CreateQueueCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/queues/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Description: [],      HoursOfOperationId: [],      MaxContacts: [],      Name: [],      OutboundCallerConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "OutboundCallerConfig"),      OutboundEmailConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "OutboundEmailConfig"),      QuickConnectIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "QuickConnectIds"),      Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_CreateQueueCommand");var se_CreateQuickConnectCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/quick-connects/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Description: [],      Name: [],      QuickConnectConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "QuickConnectConfig"),      Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_CreateQuickConnectCommand");var se_CreateRoutingProfileCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/routing-profiles/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      AgentAvailabilityTimer: [],      DefaultOutboundQueueId: [],      Description: [],      MediaConcurrencies: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "MediaConcurrencies"),      Name: [],      QueueConfigs: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "QueueConfigs"),      Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_CreateRoutingProfileCommand");var se_CreateRuleCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/rules/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Actions: /* @__PURE__ */ __name((_) => se_RuleActions(_, context), "Actions"),      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      Function: [],      Name: [],      PublishStatus: [],      TriggerEventSource: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TriggerEventSource")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateRuleCommand");var se_CreateSecurityProfileCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/security-profiles/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      AllowedAccessControlHierarchyGroupId: [],      AllowedAccessControlTags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AllowedAccessControlTags"),      Applications: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Applications"),      Description: [],      HierarchyRestrictedResources: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "HierarchyRestrictedResources"),      Permissions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Permissions"),      SecurityProfileName: [],      TagRestrictedResources: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TagRestrictedResources"),      Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_CreateSecurityProfileCommand");var se_CreateTaskTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/instance/{InstanceId}/task/template");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      Constraints: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Constraints"),      ContactFlowId: [],      Defaults: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Defaults"),      Description: [],      Fields: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Fields"),      Name: [],      SelfAssignFlowId: [],      Status: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_CreateTaskTemplateCommand");var se_CreateTrafficDistributionGroupCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/traffic-distribution-group");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      Description: [],      InstanceId: [],      Name: [],      Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_CreateTrafficDistributionGroupCommand");var se_CreateUseCaseCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/instance/{InstanceId}/integration-associations/{IntegrationAssociationId}/use-cases");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("IntegrationAssociationId", () => input.IntegrationAssociationId, "{IntegrationAssociationId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags"),      UseCaseType: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_CreateUseCaseCommand");var se_CreateUserCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/users/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      DirectoryUserId: [],      HierarchyGroupId: [],      IdentityInfo: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "IdentityInfo"),      Password: [],      PhoneConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "PhoneConfig"),      RoutingProfileId: [],      SecurityProfileIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SecurityProfileIds"),      Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags"),      Username: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_CreateUserCommand");var se_CreateUserHierarchyGroupCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/user-hierarchy-groups/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Name: [],      ParentGroupId: [],      Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_CreateUserHierarchyGroupCommand");var se_CreateViewCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/views/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ClientToken: [],      Content: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Content"),      Description: [],      Name: [],      Status: [],      Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_CreateViewCommand");var se_CreateViewVersionCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/views/{InstanceId}/{ViewId}/versions");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("ViewId", () => input.ViewId, "{ViewId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      VersionDescription: [],      ViewContentSha256: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_CreateViewVersionCommand");var se_CreateVocabularyCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/vocabulary/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      Content: [],      LanguageCode: [],      Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags"),      VocabularyName: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateVocabularyCommand");var se_DeactivateEvaluationFormCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/evaluation-forms/{InstanceId}/{EvaluationFormId}/deactivate");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("EvaluationFormId", () => input.EvaluationFormId, "{EvaluationFormId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      EvaluationFormVersion: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_DeactivateEvaluationFormCommand");var se_DeleteAttachedFileCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/attached-files/{InstanceId}/{FileId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("FileId", () => input.FileId, "{FileId}", false);  const query = (0, import_smithy_client.map)({    [_aRA]: [, (0, import_smithy_client.expectNonNull)(input[_ARA], `AssociatedResourceArn`)]  });  let body;  b.m("DELETE").h(headers).q(query).b(body);  return b.build();}, "se_DeleteAttachedFileCommand");var se_DeleteContactEvaluationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/contact-evaluations/{InstanceId}/{EvaluationId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("EvaluationId", () => input.EvaluationId, "{EvaluationId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteContactEvaluationCommand");var se_DeleteContactFlowCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/contact-flows/{InstanceId}/{ContactFlowId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("ContactFlowId", () => input.ContactFlowId, "{ContactFlowId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteContactFlowCommand");var se_DeleteContactFlowModuleCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/contact-flow-modules/{InstanceId}/{ContactFlowModuleId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("ContactFlowModuleId", () => input.ContactFlowModuleId, "{ContactFlowModuleId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteContactFlowModuleCommand");var se_DeleteContactFlowVersionCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/contact-flows/{InstanceId}/{ContactFlowId}/version/{ContactFlowVersion}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("ContactFlowId", () => input.ContactFlowId, "{ContactFlowId}", false);  b.p("ContactFlowVersion", () => input.ContactFlowVersion.toString(), "{ContactFlowVersion}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteContactFlowVersionCommand");var se_DeleteEmailAddressCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/email-addresses/{InstanceId}/{EmailAddressId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("EmailAddressId", () => input.EmailAddressId, "{EmailAddressId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteEmailAddressCommand");var se_DeleteEvaluationFormCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/evaluation-forms/{InstanceId}/{EvaluationFormId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("EvaluationFormId", () => input.EvaluationFormId, "{EvaluationFormId}", false);  const query = (0, import_smithy_client.map)({    [_v]: [() => input.EvaluationFormVersion !== void 0, () => input[_EFV].toString()]  });  let body;  b.m("DELETE").h(headers).q(query).b(body);  return b.build();}, "se_DeleteEvaluationFormCommand");var se_DeleteHoursOfOperationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/hours-of-operations/{InstanceId}/{HoursOfOperationId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("HoursOfOperationId", () => input.HoursOfOperationId, "{HoursOfOperationId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteHoursOfOperationCommand");var se_DeleteHoursOfOperationOverrideCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/hours-of-operations/{InstanceId}/{HoursOfOperationId}/overrides/{HoursOfOperationOverrideId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("HoursOfOperationId", () => input.HoursOfOperationId, "{HoursOfOperationId}", false);  b.p("HoursOfOperationOverrideId", () => input.HoursOfOperationOverrideId, "{HoursOfOperationOverrideId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteHoursOfOperationOverrideCommand");var se_DeleteInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/instance/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_cT]: [, input[_CT] ?? (0, import_uuid.v4)()]  });  let body;  b.m("DELETE").h(headers).q(query).b(body);  return b.build();}, "se_DeleteInstanceCommand");var se_DeleteIntegrationAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/instance/{InstanceId}/integration-associations/{IntegrationAssociationId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("IntegrationAssociationId", () => input.IntegrationAssociationId, "{IntegrationAssociationId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteIntegrationAssociationCommand");var se_DeletePredefinedAttributeCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/predefined-attributes/{InstanceId}/{Name}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("Name", () => input.Name, "{Name}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeletePredefinedAttributeCommand");var se_DeletePromptCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/prompts/{InstanceId}/{PromptId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("PromptId", () => input.PromptId, "{PromptId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeletePromptCommand");var se_DeletePushNotificationRegistrationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/push-notification/{InstanceId}/registrations/{RegistrationId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("RegistrationId", () => input.RegistrationId, "{RegistrationId}", false);  const query = (0, import_smithy_client.map)({    [_cI]: [, (0, import_smithy_client.expectNonNull)(input[_CI], `ContactId`)]  });  let body;  b.m("DELETE").h(headers).q(query).b(body);  return b.build();}, "se_DeletePushNotificationRegistrationCommand");var se_DeleteQueueCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/queues/{InstanceId}/{QueueId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("QueueId", () => input.QueueId, "{QueueId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteQueueCommand");var se_DeleteQuickConnectCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/quick-connects/{InstanceId}/{QuickConnectId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("QuickConnectId", () => input.QuickConnectId, "{QuickConnectId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteQuickConnectCommand");var se_DeleteRoutingProfileCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/routing-profiles/{InstanceId}/{RoutingProfileId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("RoutingProfileId", () => input.RoutingProfileId, "{RoutingProfileId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteRoutingProfileCommand");var se_DeleteRuleCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/rules/{InstanceId}/{RuleId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("RuleId", () => input.RuleId, "{RuleId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteRuleCommand");var se_DeleteSecurityProfileCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/security-profiles/{InstanceId}/{SecurityProfileId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("SecurityProfileId", () => input.SecurityProfileId, "{SecurityProfileId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteSecurityProfileCommand");var se_DeleteTaskTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/instance/{InstanceId}/task/template/{TaskTemplateId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("TaskTemplateId", () => input.TaskTemplateId, "{TaskTemplateId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteTaskTemplateCommand");var se_DeleteTrafficDistributionGroupCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/traffic-distribution-group/{TrafficDistributionGroupId}");  b.p("TrafficDistributionGroupId", () => input.TrafficDistributionGroupId, "{TrafficDistributionGroupId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteTrafficDistributionGroupCommand");var se_DeleteUseCaseCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/instance/{InstanceId}/integration-associations/{IntegrationAssociationId}/use-cases/{UseCaseId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("IntegrationAssociationId", () => input.IntegrationAssociationId, "{IntegrationAssociationId}", false);  b.p("UseCaseId", () => input.UseCaseId, "{UseCaseId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteUseCaseCommand");var se_DeleteUserCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/users/{InstanceId}/{UserId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("UserId", () => input.UserId, "{UserId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteUserCommand");var se_DeleteUserHierarchyGroupCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}");  b.p("HierarchyGroupId", () => input.HierarchyGroupId, "{HierarchyGroupId}", false);  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteUserHierarchyGroupCommand");var se_DeleteViewCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/views/{InstanceId}/{ViewId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("ViewId", () => input.ViewId, "{ViewId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteViewCommand");var se_DeleteViewVersionCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/views/{InstanceId}/{ViewId}/versions/{ViewVersion}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("ViewId", () => input.ViewId, "{ViewId}", false);  b.p("ViewVersion", () => input.ViewVersion.toString(), "{ViewVersion}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteViewVersionCommand");var se_DeleteVocabularyCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/vocabulary-remove/{InstanceId}/{VocabularyId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("VocabularyId", () => input.VocabularyId, "{VocabularyId}", false);  let body;  b.m("POST").h(headers).b(body);  return b.build();}, "se_DeleteVocabularyCommand");var se_DescribeAgentStatusCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/agent-status/{InstanceId}/{AgentStatusId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("AgentStatusId", () => input.AgentStatusId, "{AgentStatusId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_DescribeAgentStatusCommand");var se_DescribeAuthenticationProfileCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/authentication-profiles/{InstanceId}/{AuthenticationProfileId}");  b.p("AuthenticationProfileId", () => input.AuthenticationProfileId, "{AuthenticationProfileId}", false);  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_DescribeAuthenticationProfileCommand");var se_DescribeContactCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/contacts/{InstanceId}/{ContactId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("ContactId", () => input.ContactId, "{ContactId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_DescribeContactCommand");var se_DescribeContactEvaluationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/contact-evaluations/{InstanceId}/{EvaluationId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("EvaluationId", () => input.EvaluationId, "{EvaluationId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_DescribeContactEvaluationCommand");var se_DescribeContactFlowCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/contact-flows/{InstanceId}/{ContactFlowId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("ContactFlowId", () => input.ContactFlowId, "{ContactFlowId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_DescribeContactFlowCommand");var se_DescribeContactFlowModuleCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/contact-flow-modules/{InstanceId}/{ContactFlowModuleId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("ContactFlowModuleId", () => input.ContactFlowModuleId, "{ContactFlowModuleId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_DescribeContactFlowModuleCommand");var se_DescribeEmailAddressCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/email-addresses/{InstanceId}/{EmailAddressId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("EmailAddressId", () => input.EmailAddressId, "{EmailAddressId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_DescribeEmailAddressCommand");var se_DescribeEvaluationFormCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/evaluation-forms/{InstanceId}/{EvaluationFormId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("EvaluationFormId", () => input.EvaluationFormId, "{EvaluationFormId}", false);  const query = (0, import_smithy_client.map)({    [_v]: [() => input.EvaluationFormVersion !== void 0, () => input[_EFV].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_DescribeEvaluationFormCommand");var se_DescribeHoursOfOperationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/hours-of-operations/{InstanceId}/{HoursOfOperationId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("HoursOfOperationId", () => input.HoursOfOperationId, "{HoursOfOperationId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_DescribeHoursOfOperationCommand");var se_DescribeHoursOfOperationOverrideCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/hours-of-operations/{InstanceId}/{HoursOfOperationId}/overrides/{HoursOfOperationOverrideId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("HoursOfOperationId", () => input.HoursOfOperationId, "{HoursOfOperationId}", false);  b.p("HoursOfOperationOverrideId", () => input.HoursOfOperationOverrideId, "{HoursOfOperationOverrideId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_DescribeHoursOfOperationOverrideCommand");var se_DescribeInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/instance/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_DescribeInstanceCommand");var se_DescribeInstanceAttributeCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/instance/{InstanceId}/attribute/{AttributeType}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("AttributeType", () => input.AttributeType, "{AttributeType}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_DescribeInstanceAttributeCommand");var se_DescribeInstanceStorageConfigCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/instance/{InstanceId}/storage-config/{AssociationId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("AssociationId", () => input.AssociationId, "{AssociationId}", false);  const query = (0, import_smithy_client.map)({    [_rT]: [, (0, import_smithy_client.expectNonNull)(input[_RT], `ResourceType`)]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_DescribeInstanceStorageConfigCommand");var se_DescribePhoneNumberCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/phone-number/{PhoneNumberId}");  b.p("PhoneNumberId", () => input.PhoneNumberId, "{PhoneNumberId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_DescribePhoneNumberCommand");var se_DescribePredefinedAttributeCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/predefined-attributes/{InstanceId}/{Name}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("Name", () => input.Name, "{Name}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_DescribePredefinedAttributeCommand");var se_DescribePromptCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/prompts/{InstanceId}/{PromptId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("PromptId", () => input.PromptId, "{PromptId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_DescribePromptCommand");var se_DescribeQueueCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/queues/{InstanceId}/{QueueId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("QueueId", () => input.QueueId, "{QueueId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_DescribeQueueCommand");var se_DescribeQuickConnectCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/quick-connects/{InstanceId}/{QuickConnectId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("QuickConnectId", () => input.QuickConnectId, "{QuickConnectId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_DescribeQuickConnectCommand");var se_DescribeRoutingProfileCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/routing-profiles/{InstanceId}/{RoutingProfileId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("RoutingProfileId", () => input.RoutingProfileId, "{RoutingProfileId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_DescribeRoutingProfileCommand");var se_DescribeRuleCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/rules/{InstanceId}/{RuleId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("RuleId", () => input.RuleId, "{RuleId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_DescribeRuleCommand");var se_DescribeSecurityProfileCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/security-profiles/{InstanceId}/{SecurityProfileId}");  b.p("SecurityProfileId", () => input.SecurityProfileId, "{SecurityProfileId}", false);  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_DescribeSecurityProfileCommand");var se_DescribeTrafficDistributionGroupCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/traffic-distribution-group/{TrafficDistributionGroupId}");  b.p("TrafficDistributionGroupId", () => input.TrafficDistributionGroupId, "{TrafficDistributionGroupId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_DescribeTrafficDistributionGroupCommand");var se_DescribeUserCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/users/{InstanceId}/{UserId}");  b.p("UserId", () => input.UserId, "{UserId}", false);  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_DescribeUserCommand");var se_DescribeUserHierarchyGroupCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}");  b.p("HierarchyGroupId", () => input.HierarchyGroupId, "{HierarchyGroupId}", false);  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_DescribeUserHierarchyGroupCommand");var se_DescribeUserHierarchyStructureCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/user-hierarchy-structure/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_DescribeUserHierarchyStructureCommand");var se_DescribeViewCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/views/{InstanceId}/{ViewId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("ViewId", () => input.ViewId, "{ViewId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_DescribeViewCommand");var se_DescribeVocabularyCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/vocabulary/{InstanceId}/{VocabularyId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("VocabularyId", () => input.VocabularyId, "{VocabularyId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_DescribeVocabularyCommand");var se_DisassociateAnalyticsDataSetCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/analytics-data/instance/{InstanceId}/association");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      DataSetId: [],      TargetAccountId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_DisassociateAnalyticsDataSetCommand");var se_DisassociateApprovedOriginCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/instance/{InstanceId}/approved-origin");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_o]: [, (0, import_smithy_client.expectNonNull)(input[_O], `Origin`)],    [_cT]: [, input[_CT] ?? (0, import_uuid.v4)()]  });  let body;  b.m("DELETE").h(headers).q(query).b(body);  return b.build();}, "se_DisassociateApprovedOriginCommand");var se_DisassociateBotCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/instance/{InstanceId}/bot");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      LexBot: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "LexBot"),      LexV2Bot: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "LexV2Bot")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_DisassociateBotCommand");var se_DisassociateFlowCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/flow-associations/{InstanceId}/{ResourceId}/{ResourceType}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("ResourceId", () => input.ResourceId, "{ResourceId}", false);  b.p("ResourceType", () => input.ResourceType, "{ResourceType}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DisassociateFlowCommand");var se_DisassociateInstanceStorageConfigCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/instance/{InstanceId}/storage-config/{AssociationId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("AssociationId", () => input.AssociationId, "{AssociationId}", false);  const query = (0, import_smithy_client.map)({    [_rT]: [, (0, import_smithy_client.expectNonNull)(input[_RT], `ResourceType`)],    [_cT]: [, input[_CT] ?? (0, import_uuid.v4)()]  });  let body;  b.m("DELETE").h(headers).q(query).b(body);  return b.build();}, "se_DisassociateInstanceStorageConfigCommand");var se_DisassociateLambdaFunctionCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/instance/{InstanceId}/lambda-function");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_fA]: [, (0, import_smithy_client.expectNonNull)(input[_FA], `FunctionArn`)],    [_cT]: [, input[_CT] ?? (0, import_uuid.v4)()]  });  let body;  b.m("DELETE").h(headers).q(query).b(body);  return b.build();}, "se_DisassociateLambdaFunctionCommand");var se_DisassociateLexBotCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/instance/{InstanceId}/lex-bot");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_bN]: [, (0, import_smithy_client.expectNonNull)(input[_BN], `BotName`)],    [_lR]: [, (0, import_smithy_client.expectNonNull)(input[_LR], `LexRegion`)],    [_cT]: [, input[_CT] ?? (0, import_uuid.v4)()]  });  let body;  b.m("DELETE").h(headers).q(query).b(body);  return b.build();}, "se_DisassociateLexBotCommand");var se_DisassociatePhoneNumberContactFlowCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/phone-number/{PhoneNumberId}/contact-flow");  b.p("PhoneNumberId", () => input.PhoneNumberId, "{PhoneNumberId}", false);  const query = (0, import_smithy_client.map)({    [_iI]: [, (0, import_smithy_client.expectNonNull)(input[_II], `InstanceId`)]  });  let body;  b.m("DELETE").h(headers).q(query).b(body);  return b.build();}, "se_DisassociatePhoneNumberContactFlowCommand");var se_DisassociateQueueQuickConnectsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/queues/{InstanceId}/{QueueId}/disassociate-quick-connects");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("QueueId", () => input.QueueId, "{QueueId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      QuickConnectIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "QuickConnectIds")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_DisassociateQueueQuickConnectsCommand");var se_DisassociateRoutingProfileQueuesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/routing-profiles/{InstanceId}/{RoutingProfileId}/disassociate-queues");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("RoutingProfileId", () => input.RoutingProfileId, "{RoutingProfileId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      QueueReferences: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "QueueReferences")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_DisassociateRoutingProfileQueuesCommand");var se_DisassociateSecurityKeyCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/instance/{InstanceId}/security-key/{AssociationId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("AssociationId", () => input.AssociationId, "{AssociationId}", false);  const query = (0, import_smithy_client.map)({    [_cT]: [, input[_CT] ?? (0, import_uuid.v4)()]  });  let body;  b.m("DELETE").h(headers).q(query).b(body);  return b.build();}, "se_DisassociateSecurityKeyCommand");var se_DisassociateTrafficDistributionGroupUserCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/traffic-distribution-group/{TrafficDistributionGroupId}/user");  b.p("TrafficDistributionGroupId", () => input.TrafficDistributionGroupId, "{TrafficDistributionGroupId}", false);  const query = (0, import_smithy_client.map)({    [_UI]: [, (0, import_smithy_client.expectNonNull)(input[_UI], `UserId`)],    [_II]: [, (0, import_smithy_client.expectNonNull)(input[_II], `InstanceId`)]  });  let body;  b.m("DELETE").h(headers).q(query).b(body);  return b.build();}, "se_DisassociateTrafficDistributionGroupUserCommand");var se_DisassociateUserProficienciesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/users/{InstanceId}/{UserId}/disassociate-proficiencies");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("UserId", () => input.UserId, "{UserId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      UserProficiencies: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "UserProficiencies")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_DisassociateUserProficienciesCommand");var se_DismissUserContactCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/users/{InstanceId}/{UserId}/contact");  b.p("UserId", () => input.UserId, "{UserId}", false);  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ContactId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_DismissUserContactCommand");var se_GetAttachedFileCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/attached-files/{InstanceId}/{FileId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("FileId", () => input.FileId, "{FileId}", false);  const query = (0, import_smithy_client.map)({    [_uEIS]: [() => input.UrlExpiryInSeconds !== void 0, () => input[_UEIS].toString()],    [_aRA]: [, (0, import_smithy_client.expectNonNull)(input[_ARA], `AssociatedResourceArn`)]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetAttachedFileCommand");var se_GetContactAttributesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/contact/attributes/{InstanceId}/{InitialContactId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("InitialContactId", () => input.InitialContactId, "{InitialContactId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetContactAttributesCommand");var se_GetContactMetricsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/metrics/contact");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ContactId: [],      InstanceId: [],      Metrics: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Metrics")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_GetContactMetricsCommand");var se_GetCurrentMetricDataCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/metrics/current/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      CurrentMetrics: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "CurrentMetrics"),      Filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Filters"),      Groupings: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Groupings"),      MaxResults: [],      NextToken: [],      SortCriteria: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SortCriteria")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_GetCurrentMetricDataCommand");var se_GetCurrentUserDataCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/metrics/userdata/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Filters"),      MaxResults: [],      NextToken: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_GetCurrentUserDataCommand");var se_GetEffectiveHoursOfOperationsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/effective-hours-of-operations/{InstanceId}/{HoursOfOperationId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("HoursOfOperationId", () => input.HoursOfOperationId, "{HoursOfOperationId}", false);  const query = (0, import_smithy_client.map)({    [_fD]: [, (0, import_smithy_client.expectNonNull)(input[_FD], `FromDate`)],    [_tD]: [, (0, import_smithy_client.expectNonNull)(input[_TD], `ToDate`)]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetEffectiveHoursOfOperationsCommand");var se_GetFederationTokenCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/user/federate/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetFederationTokenCommand");var se_GetFlowAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/flow-associations/{InstanceId}/{ResourceId}/{ResourceType}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("ResourceId", () => input.ResourceId, "{ResourceId}", false);  b.p("ResourceType", () => input.ResourceType, "{ResourceType}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetFlowAssociationCommand");var se_GetMetricDataCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/metrics/historical/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      EndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTime"),      Filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Filters"),      Groupings: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Groupings"),      HistoricalMetrics: /* @__PURE__ */ __name((_) => se_HistoricalMetrics(_, context), "HistoricalMetrics"),      MaxResults: [],      NextToken: [],      StartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTime")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_GetMetricDataCommand");var se_GetMetricDataV2Command = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/metrics/data");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      EndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTime"),      Filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Filters"),      Groupings: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Groupings"),      Interval: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Interval"),      MaxResults: [],      Metrics: /* @__PURE__ */ __name((_) => se_MetricsV2(_, context), "Metrics"),      NextToken: [],      ResourceArn: [],      StartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTime")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_GetMetricDataV2Command");var se_GetPromptFileCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/prompts/{InstanceId}/{PromptId}/file");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("PromptId", () => input.PromptId, "{PromptId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetPromptFileCommand");var se_GetTaskTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/instance/{InstanceId}/task/template/{TaskTemplateId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("TaskTemplateId", () => input.TaskTemplateId, "{TaskTemplateId}", false);  const query = (0, import_smithy_client.map)({    [_sV]: [, input[_SV]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetTaskTemplateCommand");var se_GetTrafficDistributionCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/traffic-distribution/{Id}");  b.p("Id", () => input.Id, "{Id}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetTrafficDistributionCommand");var se_ImportPhoneNumberCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/phone-number/import");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      InstanceId: [],      PhoneNumberDescription: [],      SourcePhoneNumberArn: [],      Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ImportPhoneNumberCommand");var se_ListAgentStatusesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/agent-status/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],    [_AST]: [() => input.AgentStatusTypes !== void 0, () => input[_AST] || []]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListAgentStatusesCommand");var se_ListAnalyticsDataAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/analytics-data/instance/{InstanceId}/association");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_DSI]: [, input[_DSI]],    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListAnalyticsDataAssociationsCommand");var se_ListAnalyticsDataLakeDataSetsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/analytics-data/instance/{InstanceId}/datasets");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListAnalyticsDataLakeDataSetsCommand");var se_ListApprovedOriginsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/instance/{InstanceId}/approved-origins");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListApprovedOriginsCommand");var se_ListAssociatedContactsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/contact/associated/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_cI]: [, (0, import_smithy_client.expectNonNull)(input[_CI], `ContactId`)],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],    [_nT]: [, input[_NT]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListAssociatedContactsCommand");var se_ListAuthenticationProfilesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/authentication-profiles-summary/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],    [_nT]: [, input[_NT]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListAuthenticationProfilesCommand");var se_ListBotsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/instance/{InstanceId}/bots");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],    [_lV]: [, (0, import_smithy_client.expectNonNull)(input[_LV], `LexVersion`)]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListBotsCommand");var se_ListContactEvaluationsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/contact-evaluations/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_cI]: [, (0, import_smithy_client.expectNonNull)(input[_CI], `ContactId`)],    [_nT]: [, input[_NT]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListContactEvaluationsCommand");var se_ListContactFlowModulesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/contact-flow-modules-summary/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],    [_s]: [, input[_CFMS]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListContactFlowModulesCommand");var se_ListContactFlowsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/contact-flows-summary/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_cFT]: [() => input.ContactFlowTypes !== void 0, () => input[_CFT] || []],    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListContactFlowsCommand");var se_ListContactFlowVersionsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/contact-flows/{InstanceId}/{ContactFlowId}/versions");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("ContactFlowId", () => input.ContactFlowId, "{ContactFlowId}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListContactFlowVersionsCommand");var se_ListContactReferencesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/contact/references/{InstanceId}/{ContactId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("ContactId", () => input.ContactId, "{ContactId}", false);  const query = (0, import_smithy_client.map)({    [_rTe]: [(0, import_smithy_client.expectNonNull)(input.ReferenceTypes, `ReferenceTypes`) != null, () => input[_RTe] || []],    [_nT]: [, input[_NT]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListContactReferencesCommand");var se_ListDefaultVocabulariesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/default-vocabulary-summary/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      LanguageCode: [],      MaxResults: [],      NextToken: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ListDefaultVocabulariesCommand");var se_ListEvaluationFormsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/evaluation-forms/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],    [_nT]: [, input[_NT]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListEvaluationFormsCommand");var se_ListEvaluationFormVersionsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/evaluation-forms/{InstanceId}/{EvaluationFormId}/versions");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("EvaluationFormId", () => input.EvaluationFormId, "{EvaluationFormId}", false);  const query = (0, import_smithy_client.map)({    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],    [_nT]: [, input[_NT]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListEvaluationFormVersionsCommand");var se_ListFlowAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/flow-associations-summary/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_RT]: [, input[_RT]],    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListFlowAssociationsCommand");var se_ListHoursOfOperationOverridesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/hours-of-operations/{InstanceId}/{HoursOfOperationId}/overrides");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("HoursOfOperationId", () => input.HoursOfOperationId, "{HoursOfOperationId}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListHoursOfOperationOverridesCommand");var se_ListHoursOfOperationsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/hours-of-operations-summary/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListHoursOfOperationsCommand");var se_ListInstanceAttributesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/instance/{InstanceId}/attributes");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListInstanceAttributesCommand");var se_ListInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/instance");  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListInstancesCommand");var se_ListInstanceStorageConfigsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/instance/{InstanceId}/storage-configs");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_rT]: [, (0, import_smithy_client.expectNonNull)(input[_RT], `ResourceType`)],    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListInstanceStorageConfigsCommand");var se_ListIntegrationAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/instance/{InstanceId}/integration-associations");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_iT]: [, input[_IT]],    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],    [_iA]: [, input[_IA]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListIntegrationAssociationsCommand");var se_ListLambdaFunctionsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/instance/{InstanceId}/lambda-functions");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListLambdaFunctionsCommand");var se_ListLexBotsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/instance/{InstanceId}/lex-bots");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListLexBotsCommand");var se_ListPhoneNumbersCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/phone-numbers-summary/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_pNT]: [() => input.PhoneNumberTypes !== void 0, () => input[_PNT] || []],    [_pNCC]: [() => input.PhoneNumberCountryCodes !== void 0, () => input[_PNCC] || []],    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListPhoneNumbersCommand");var se_ListPhoneNumbersV2Command = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/phone-number/list");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      InstanceId: [],      MaxResults: [],      NextToken: [],      PhoneNumberCountryCodes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "PhoneNumberCountryCodes"),      PhoneNumberPrefix: [],      PhoneNumberTypes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "PhoneNumberTypes"),      TargetArn: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ListPhoneNumbersV2Command");var se_ListPredefinedAttributesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/predefined-attributes/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListPredefinedAttributesCommand");var se_ListPromptsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/prompts-summary/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListPromptsCommand");var se_ListQueueQuickConnectsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/queues/{InstanceId}/{QueueId}/quick-connects");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("QueueId", () => input.QueueId, "{QueueId}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListQueueQuickConnectsCommand");var se_ListQueuesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/queues-summary/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_qT]: [() => input.QueueTypes !== void 0, () => input[_QT] || []],    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListQueuesCommand");var se_ListQuickConnectsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/quick-connects/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],    [_QCT]: [() => input.QuickConnectTypes !== void 0, () => input[_QCT] || []]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListQuickConnectsCommand");var se_ListRealtimeContactAnalysisSegmentsV2Command = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact/list-real-time-analysis-segments-v2/{InstanceId}/{ContactId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("ContactId", () => input.ContactId, "{ContactId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      MaxResults: [],      NextToken: [],      OutputType: [],      SegmentTypes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SegmentTypes")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ListRealtimeContactAnalysisSegmentsV2Command");var se_ListRoutingProfileQueuesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/routing-profiles/{InstanceId}/{RoutingProfileId}/queues");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("RoutingProfileId", () => input.RoutingProfileId, "{RoutingProfileId}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListRoutingProfileQueuesCommand");var se_ListRoutingProfilesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/routing-profiles-summary/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListRoutingProfilesCommand");var se_ListRulesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/rules/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_pS]: [, input[_PS]],    [_eSN]: [, input[_ESN]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],    [_nT]: [, input[_NT]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListRulesCommand");var se_ListSecurityKeysCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/instance/{InstanceId}/security-keys");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListSecurityKeysCommand");var se_ListSecurityProfileApplicationsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/security-profiles-applications/{InstanceId}/{SecurityProfileId}");  b.p("SecurityProfileId", () => input.SecurityProfileId, "{SecurityProfileId}", false);  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListSecurityProfileApplicationsCommand");var se_ListSecurityProfilePermissionsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/security-profiles-permissions/{InstanceId}/{SecurityProfileId}");  b.p("SecurityProfileId", () => input.SecurityProfileId, "{SecurityProfileId}", false);  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListSecurityProfilePermissionsCommand");var se_ListSecurityProfilesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/security-profiles-summary/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListSecurityProfilesCommand");var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/tags/{resourceArn}");  b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_ListTagsForResourceCommand");var se_ListTaskTemplatesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/instance/{InstanceId}/task/template");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],    [_st]: [, input[_S]],    [_n]: [, input[_N]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListTaskTemplatesCommand");var se_ListTrafficDistributionGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/traffic-distribution-groups");  const query = (0, import_smithy_client.map)({    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],    [_nT]: [, input[_NT]],    [_iI]: [, input[_II]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListTrafficDistributionGroupsCommand");var se_ListTrafficDistributionGroupUsersCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/traffic-distribution-group/{TrafficDistributionGroupId}/user");  b.p("TrafficDistributionGroupId", () => input.TrafficDistributionGroupId, "{TrafficDistributionGroupId}", false);  const query = (0, import_smithy_client.map)({    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],    [_nT]: [, input[_NT]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListTrafficDistributionGroupUsersCommand");var se_ListUseCasesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/instance/{InstanceId}/integration-associations/{IntegrationAssociationId}/use-cases");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("IntegrationAssociationId", () => input.IntegrationAssociationId, "{IntegrationAssociationId}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListUseCasesCommand");var se_ListUserHierarchyGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/user-hierarchy-groups-summary/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListUserHierarchyGroupsCommand");var se_ListUserProficienciesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/users/{InstanceId}/{UserId}/proficiencies");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("UserId", () => input.UserId, "{UserId}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListUserProficienciesCommand");var se_ListUsersCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/users-summary/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListUsersCommand");var se_ListViewsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/views/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_t]: [, input[_T]],    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListViewsCommand");var se_ListViewVersionsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/views/{InstanceId}/{ViewId}/versions");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("ViewId", () => input.ViewId, "{ViewId}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListViewVersionsCommand");var se_MonitorContactCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact/monitor");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      AllowedMonitorCapabilities: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AllowedMonitorCapabilities"),      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      ContactId: [],      InstanceId: [],      UserId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_MonitorContactCommand");var se_PauseContactCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact/pause");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ContactFlowId: [],      ContactId: [],      InstanceId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_PauseContactCommand");var se_PutUserStatusCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/users/{InstanceId}/{UserId}/status");  b.p("UserId", () => input.UserId, "{UserId}", false);  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      AgentStatusId: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_PutUserStatusCommand");var se_ReleasePhoneNumberCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/phone-number/{PhoneNumberId}");  b.p("PhoneNumberId", () => input.PhoneNumberId, "{PhoneNumberId}", false);  const query = (0, import_smithy_client.map)({    [_cT]: [, input[_CT] ?? (0, import_uuid.v4)()]  });  let body;  b.m("DELETE").h(headers).q(query).b(body);  return b.build();}, "se_ReleasePhoneNumberCommand");var se_ReplicateInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/instance/{InstanceId}/replicate");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      ReplicaAlias: [],      ReplicaRegion: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ReplicateInstanceCommand");var se_ResumeContactCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact/resume");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ContactFlowId: [],      ContactId: [],      InstanceId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ResumeContactCommand");var se_ResumeContactRecordingCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact/resume-recording");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ContactId: [],      ContactRecordingType: [],      InitialContactId: [],      InstanceId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_ResumeContactRecordingCommand");var se_SearchAgentStatusesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/search-agent-statuses");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      InstanceId: [],      MaxResults: [],      NextToken: [],      SearchCriteria: /* @__PURE__ */ __name((_) => se_AgentStatusSearchCriteria(_, context), "SearchCriteria"),      SearchFilter: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SearchFilter")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_SearchAgentStatusesCommand");var se_SearchAvailablePhoneNumbersCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/phone-number/search-available");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      InstanceId: [],      MaxResults: [],      NextToken: [],      PhoneNumberCountryCode: [],      PhoneNumberPrefix: [],      PhoneNumberType: [],      TargetArn: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_SearchAvailablePhoneNumbersCommand");var se_SearchContactFlowModulesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/search-contact-flow-modules");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      InstanceId: [],      MaxResults: [],      NextToken: [],      SearchCriteria: /* @__PURE__ */ __name((_) => se_ContactFlowModuleSearchCriteria(_, context), "SearchCriteria"),      SearchFilter: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SearchFilter")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_SearchContactFlowModulesCommand");var se_SearchContactFlowsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/search-contact-flows");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      InstanceId: [],      MaxResults: [],      NextToken: [],      SearchCriteria: /* @__PURE__ */ __name((_) => se_ContactFlowSearchCriteria(_, context), "SearchCriteria"),      SearchFilter: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SearchFilter")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_SearchContactFlowsCommand");var se_SearchContactsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/search-contacts");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      InstanceId: [],      MaxResults: [],      NextToken: [],      SearchCriteria: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SearchCriteria"),      Sort: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Sort"),      TimeRange: /* @__PURE__ */ __name((_) => se_SearchContactsTimeRange(_, context), "TimeRange")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_SearchContactsCommand");var se_SearchEmailAddressesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/search-email-addresses");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      InstanceId: [],      MaxResults: [],      NextToken: [],      SearchCriteria: /* @__PURE__ */ __name((_) => se_EmailAddressSearchCriteria(_, context), "SearchCriteria"),      SearchFilter: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SearchFilter")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_SearchEmailAddressesCommand");var se_SearchHoursOfOperationOverridesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/search-hours-of-operation-overrides");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      InstanceId: [],      MaxResults: [],      NextToken: [],      SearchCriteria: /* @__PURE__ */ __name((_) => se_HoursOfOperationOverrideSearchCriteria(_, context), "SearchCriteria"),      SearchFilter: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SearchFilter")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_SearchHoursOfOperationOverridesCommand");var se_SearchHoursOfOperationsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/search-hours-of-operations");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      InstanceId: [],      MaxResults: [],      NextToken: [],      SearchCriteria: /* @__PURE__ */ __name((_) => se_HoursOfOperationSearchCriteria(_, context), "SearchCriteria"),      SearchFilter: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SearchFilter")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_SearchHoursOfOperationsCommand");var se_SearchPredefinedAttributesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/search-predefined-attributes");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      InstanceId: [],      MaxResults: [],      NextToken: [],      SearchCriteria: /* @__PURE__ */ __name((_) => se_PredefinedAttributeSearchCriteria(_, context), "SearchCriteria")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_SearchPredefinedAttributesCommand");var se_SearchPromptsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/search-prompts");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      InstanceId: [],      MaxResults: [],      NextToken: [],      SearchCriteria: /* @__PURE__ */ __name((_) => se_PromptSearchCriteria(_, context), "SearchCriteria"),      SearchFilter: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SearchFilter")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_SearchPromptsCommand");var se_SearchQueuesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/search-queues");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      InstanceId: [],      MaxResults: [],      NextToken: [],      SearchCriteria: /* @__PURE__ */ __name((_) => se_QueueSearchCriteria(_, context), "SearchCriteria"),      SearchFilter: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SearchFilter")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_SearchQueuesCommand");var se_SearchQuickConnectsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/search-quick-connects");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      InstanceId: [],      MaxResults: [],      NextToken: [],      SearchCriteria: /* @__PURE__ */ __name((_) => se_QuickConnectSearchCriteria(_, context), "SearchCriteria"),      SearchFilter: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SearchFilter")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_SearchQuickConnectsCommand");var se_SearchResourceTagsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/search-resource-tags");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      InstanceId: [],      MaxResults: [],      NextToken: [],      ResourceTypes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ResourceTypes"),      SearchCriteria: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SearchCriteria")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_SearchResourceTagsCommand");var se_SearchRoutingProfilesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/search-routing-profiles");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      InstanceId: [],      MaxResults: [],      NextToken: [],      SearchCriteria: /* @__PURE__ */ __name((_) => se_RoutingProfileSearchCriteria(_, context), "SearchCriteria"),      SearchFilter: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SearchFilter")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_SearchRoutingProfilesCommand");var se_SearchSecurityProfilesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/search-security-profiles");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      InstanceId: [],      MaxResults: [],      NextToken: [],      SearchCriteria: /* @__PURE__ */ __name((_) => se_SecurityProfileSearchCriteria(_, context), "SearchCriteria"),      SearchFilter: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SearchFilter")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_SearchSecurityProfilesCommand");var se_SearchUserHierarchyGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/search-user-hierarchy-groups");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      InstanceId: [],      MaxResults: [],      NextToken: [],      SearchCriteria: /* @__PURE__ */ __name((_) => se_UserHierarchyGroupSearchCriteria(_, context), "SearchCriteria"),      SearchFilter: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SearchFilter")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_SearchUserHierarchyGroupsCommand");var se_SearchUsersCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/search-users");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      InstanceId: [],      MaxResults: [],      NextToken: [],      SearchCriteria: /* @__PURE__ */ __name((_) => se_UserSearchCriteria(_, context), "SearchCriteria"),      SearchFilter: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SearchFilter")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_SearchUsersCommand");var se_SearchVocabulariesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/vocabulary-summary/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      LanguageCode: [],      MaxResults: [],      NameStartsWith: [],      NextToken: [],      State: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_SearchVocabulariesCommand");var se_SendChatIntegrationEventCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/chat-integration-event");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      DestinationId: [],      Event: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Event"),      NewSessionDetails: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "NewSessionDetails"),      SourceId: [],      Subtype: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_SendChatIntegrationEventCommand");var se_SendOutboundEmailCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/instance/{InstanceId}/outbound-email");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      AdditionalRecipients: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AdditionalRecipients"),      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      DestinationEmailAddress: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "DestinationEmailAddress"),      EmailMessage: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "EmailMessage"),      FromEmailAddress: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "FromEmailAddress"),      SourceCampaign: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SourceCampaign"),      TrafficType: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_SendOutboundEmailCommand");var se_StartAttachedFileUploadCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/attached-files/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_aRA]: [, (0, import_smithy_client.expectNonNull)(input[_ARA], `AssociatedResourceArn`)]  });  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      CreatedBy: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "CreatedBy"),      FileName: [],      FileSizeInBytes: [],      FileUseCaseType: [],      Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags"),      UrlExpiryInSeconds: []    })  );  b.m("PUT").h(headers).q(query).b(body);  return b.build();}, "se_StartAttachedFileUploadCommand");var se_StartChatContactCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact/chat");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Attributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Attributes"),      ChatDurationInMinutes: [],      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      ContactFlowId: [],      CustomerId: [],      InitialMessage: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "InitialMessage"),      InstanceId: [],      ParticipantDetails: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ParticipantDetails"),      PersistentChat: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "PersistentChat"),      RelatedContactId: [],      SegmentAttributes: /* @__PURE__ */ __name((_) => se_SegmentAttributes(_, context), "SegmentAttributes"),      SupportedMessagingContentTypes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SupportedMessagingContentTypes")    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_StartChatContactCommand");var se_StartContactEvaluationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact-evaluations/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      ContactId: [],      EvaluationFormId: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_StartContactEvaluationCommand");var se_StartContactRecordingCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact/start-recording");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ContactId: [],      InitialContactId: [],      InstanceId: [],      VoiceRecordingConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "VoiceRecordingConfiguration")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_StartContactRecordingCommand");var se_StartContactStreamingCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact/start-streaming");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ChatStreamingConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ChatStreamingConfiguration"),      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      ContactId: [],      InstanceId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_StartContactStreamingCommand");var se_StartEmailContactCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact/email");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      AdditionalRecipients: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AdditionalRecipients"),      Attachments: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Attachments"),      Attributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Attributes"),      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      ContactFlowId: [],      Description: [],      DestinationEmailAddress: [],      EmailMessage: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "EmailMessage"),      FromEmailAddress: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "FromEmailAddress"),      InstanceId: [],      Name: [],      References: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "References"),      RelatedContactId: [],      SegmentAttributes: /* @__PURE__ */ __name((_) => se_SegmentAttributes(_, context), "SegmentAttributes")    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_StartEmailContactCommand");var se_StartOutboundChatContactCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact/outbound-chat");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Attributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Attributes"),      ChatDurationInMinutes: [],      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      ContactFlowId: [],      DestinationEndpoint: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "DestinationEndpoint"),      InitialSystemMessage: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "InitialSystemMessage"),      InstanceId: [],      ParticipantDetails: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ParticipantDetails"),      RelatedContactId: [],      SegmentAttributes: /* @__PURE__ */ __name((_) => se_SegmentAttributes(_, context), "SegmentAttributes"),      SourceEndpoint: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SourceEndpoint"),      SupportedMessagingContentTypes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SupportedMessagingContentTypes")    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_StartOutboundChatContactCommand");var se_StartOutboundEmailContactCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact/outbound-email");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      AdditionalRecipients: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AdditionalRecipients"),      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      ContactId: [],      DestinationEmailAddress: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "DestinationEmailAddress"),      EmailMessage: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "EmailMessage"),      FromEmailAddress: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "FromEmailAddress"),      InstanceId: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_StartOutboundEmailContactCommand");var se_StartOutboundVoiceContactCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact/outbound-voice");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      AnswerMachineDetectionConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AnswerMachineDetectionConfig"),      Attributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Attributes"),      CampaignId: [],      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      ContactFlowId: [],      Description: [],      DestinationPhoneNumber: [],      InstanceId: [],      Name: [],      QueueId: [],      References: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "References"),      RelatedContactId: [],      SourcePhoneNumber: [],      TrafficType: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_StartOutboundVoiceContactCommand");var se_StartScreenSharingCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact/screen-sharing");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      ContactId: [],      InstanceId: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_StartScreenSharingCommand");var se_StartTaskContactCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact/task");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Attributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Attributes"),      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      ContactFlowId: [],      Description: [],      InstanceId: [],      Name: [],      PreviousContactId: [],      QuickConnectId: [],      References: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "References"),      RelatedContactId: [],      ScheduledTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "ScheduledTime"),      SegmentAttributes: /* @__PURE__ */ __name((_) => se_SegmentAttributes(_, context), "SegmentAttributes"),      TaskTemplateId: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_StartTaskContactCommand");var se_StartWebRTCContactCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact/webrtc");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      AllowedCapabilities: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AllowedCapabilities"),      Attributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Attributes"),      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      ContactFlowId: [],      Description: [],      InstanceId: [],      ParticipantDetails: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ParticipantDetails"),      References: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "References"),      RelatedContactId: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_StartWebRTCContactCommand");var se_StopContactCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact/stop");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ContactId: [],      DisconnectReason: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "DisconnectReason"),      InstanceId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_StopContactCommand");var se_StopContactRecordingCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact/stop-recording");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ContactId: [],      ContactRecordingType: [],      InitialContactId: [],      InstanceId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_StopContactRecordingCommand");var se_StopContactStreamingCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact/stop-streaming");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ContactId: [],      InstanceId: [],      StreamingId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_StopContactStreamingCommand");var se_SubmitContactEvaluationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact-evaluations/{InstanceId}/{EvaluationId}/submit");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("EvaluationId", () => input.EvaluationId, "{EvaluationId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Answers: /* @__PURE__ */ __name((_) => se_EvaluationAnswersInputMap(_, context), "Answers"),      Notes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Notes")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_SubmitContactEvaluationCommand");var se_SuspendContactRecordingCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact/suspend-recording");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ContactId: [],      ContactRecordingType: [],      InitialContactId: [],      InstanceId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_SuspendContactRecordingCommand");var se_TagContactCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact/tags");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ContactId: [],      InstanceId: [],      Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_TagContactCommand");var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/tags/{resourceArn}");  b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_TagResourceCommand");var se_TransferContactCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact/transfer");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      ContactFlowId: [],      ContactId: [],      InstanceId: [],      QueueId: [],      UserId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_TransferContactCommand");var se_UntagContactCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/contact/tags/{InstanceId}/{ContactId}");  b.p("ContactId", () => input.ContactId, "{ContactId}", false);  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  const query = (0, import_smithy_client.map)({    [_TK]: [(0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []]  });  let body;  b.m("DELETE").h(headers).q(query).b(body);  return b.build();}, "se_UntagContactCommand");var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/tags/{resourceArn}");  b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);  const query = (0, import_smithy_client.map)({    [_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []]  });  let body;  b.m("DELETE").h(headers).q(query).b(body);  return b.build();}, "se_UntagResourceCommand");var se_UpdateAgentStatusCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/agent-status/{InstanceId}/{AgentStatusId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("AgentStatusId", () => input.AgentStatusId, "{AgentStatusId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Description: [],      DisplayOrder: [],      Name: [],      ResetOrderNumber: [],      State: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateAgentStatusCommand");var se_UpdateAuthenticationProfileCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/authentication-profiles/{InstanceId}/{AuthenticationProfileId}");  b.p("AuthenticationProfileId", () => input.AuthenticationProfileId, "{AuthenticationProfileId}", false);  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      AllowedIps: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AllowedIps"),      BlockedIps: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "BlockedIps"),      Description: [],      Name: [],      PeriodicSessionDuration: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateAuthenticationProfileCommand");var se_UpdateContactCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contacts/{InstanceId}/{ContactId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("ContactId", () => input.ContactId, "{ContactId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      CustomerEndpoint: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "CustomerEndpoint"),      Description: [],      Name: [],      QueueInfo: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "QueueInfo"),      References: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "References"),      SegmentAttributes: /* @__PURE__ */ __name((_) => se_SegmentAttributes(_, context), "SegmentAttributes"),      SystemEndpoint: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SystemEndpoint"),      UserInfo: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "UserInfo")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateContactCommand");var se_UpdateContactAttributesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact/attributes");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Attributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Attributes"),      InitialContactId: [],      InstanceId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateContactAttributesCommand");var se_UpdateContactEvaluationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact-evaluations/{InstanceId}/{EvaluationId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("EvaluationId", () => input.EvaluationId, "{EvaluationId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Answers: /* @__PURE__ */ __name((_) => se_EvaluationAnswersInputMap(_, context), "Answers"),      Notes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Notes")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateContactEvaluationCommand");var se_UpdateContactFlowContentCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact-flows/{InstanceId}/{ContactFlowId}/content");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("ContactFlowId", () => input.ContactFlowId, "{ContactFlowId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Content: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateContactFlowContentCommand");var se_UpdateContactFlowMetadataCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact-flows/{InstanceId}/{ContactFlowId}/metadata");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("ContactFlowId", () => input.ContactFlowId, "{ContactFlowId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ContactFlowState: [],      Description: [],      Name: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateContactFlowMetadataCommand");var se_UpdateContactFlowModuleContentCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact-flow-modules/{InstanceId}/{ContactFlowModuleId}/content");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("ContactFlowModuleId", () => input.ContactFlowModuleId, "{ContactFlowModuleId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Content: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateContactFlowModuleContentCommand");var se_UpdateContactFlowModuleMetadataCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact-flow-modules/{InstanceId}/{ContactFlowModuleId}/metadata");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("ContactFlowModuleId", () => input.ContactFlowModuleId, "{ContactFlowModuleId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Description: [],      Name: [],      State: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateContactFlowModuleMetadataCommand");var se_UpdateContactFlowNameCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact-flows/{InstanceId}/{ContactFlowId}/name");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("ContactFlowId", () => input.ContactFlowId, "{ContactFlowId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Description: [],      Name: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateContactFlowNameCommand");var se_UpdateContactRoutingDataCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contacts/{InstanceId}/{ContactId}/routing-data");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("ContactId", () => input.ContactId, "{ContactId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      QueuePriority: [],      QueueTimeAdjustmentSeconds: [],      RoutingCriteria: /* @__PURE__ */ __name((_) => se_RoutingCriteriaInput(_, context), "RoutingCriteria")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateContactRoutingDataCommand");var se_UpdateContactScheduleCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact/schedule");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ContactId: [],      InstanceId: [],      ScheduledTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "ScheduledTime")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateContactScheduleCommand");var se_UpdateEmailAddressMetadataCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/email-addresses/{InstanceId}/{EmailAddressId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("EmailAddressId", () => input.EmailAddressId, "{EmailAddressId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ClientToken: [],      Description: [],      DisplayName: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateEmailAddressMetadataCommand");var se_UpdateEvaluationFormCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/evaluation-forms/{InstanceId}/{EvaluationFormId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("EvaluationFormId", () => input.EvaluationFormId, "{EvaluationFormId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      CreateNewVersion: [],      Description: [],      EvaluationFormVersion: [],      Items: /* @__PURE__ */ __name((_) => se_EvaluationFormItemsList(_, context), "Items"),      ScoringStrategy: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ScoringStrategy"),      Title: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_UpdateEvaluationFormCommand");var se_UpdateHoursOfOperationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/hours-of-operations/{InstanceId}/{HoursOfOperationId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("HoursOfOperationId", () => input.HoursOfOperationId, "{HoursOfOperationId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Config: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Config"),      Description: [],      Name: [],      TimeZone: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateHoursOfOperationCommand");var se_UpdateHoursOfOperationOverrideCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/hours-of-operations/{InstanceId}/{HoursOfOperationId}/overrides/{HoursOfOperationOverrideId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("HoursOfOperationId", () => input.HoursOfOperationId, "{HoursOfOperationId}", false);  b.p("HoursOfOperationOverrideId", () => input.HoursOfOperationOverrideId, "{HoursOfOperationOverrideId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Config: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Config"),      Description: [],      EffectiveFrom: [],      EffectiveTill: [],      Name: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateHoursOfOperationOverrideCommand");var se_UpdateInstanceAttributeCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/instance/{InstanceId}/attribute/{AttributeType}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("AttributeType", () => input.AttributeType, "{AttributeType}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      Value: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateInstanceAttributeCommand");var se_UpdateInstanceStorageConfigCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/instance/{InstanceId}/storage-config/{AssociationId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("AssociationId", () => input.AssociationId, "{AssociationId}", false);  const query = (0, import_smithy_client.map)({    [_rT]: [, (0, import_smithy_client.expectNonNull)(input[_RT], `ResourceType`)]  });  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      StorageConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "StorageConfig")    })  );  b.m("POST").h(headers).q(query).b(body);  return b.build();}, "se_UpdateInstanceStorageConfigCommand");var se_UpdateParticipantAuthenticationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact/update-participant-authentication");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Code: [],      Error: [],      ErrorDescription: [],      InstanceId: [],      State: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateParticipantAuthenticationCommand");var se_UpdateParticipantRoleConfigCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/contact/participant-role-config/{InstanceId}/{ContactId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("ContactId", () => input.ContactId, "{ContactId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ChannelConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ChannelConfiguration")    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_UpdateParticipantRoleConfigCommand");var se_UpdatePhoneNumberCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/phone-number/{PhoneNumberId}");  b.p("PhoneNumberId", () => input.PhoneNumberId, "{PhoneNumberId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      InstanceId: [],      TargetArn: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_UpdatePhoneNumberCommand");var se_UpdatePhoneNumberMetadataCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/phone-number/{PhoneNumberId}/metadata");  b.p("PhoneNumberId", () => input.PhoneNumberId, "{PhoneNumberId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],      PhoneNumberDescription: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_UpdatePhoneNumberMetadataCommand");var se_UpdatePredefinedAttributeCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/predefined-attributes/{InstanceId}/{Name}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("Name", () => input.Name, "{Name}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      AttributeConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AttributeConfiguration"),      Purposes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Purposes"),      Values: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Values")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdatePredefinedAttributeCommand");var se_UpdatePromptCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/prompts/{InstanceId}/{PromptId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("PromptId", () => input.PromptId, "{PromptId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Description: [],      Name: [],      S3Uri: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdatePromptCommand");var se_UpdateQueueHoursOfOperationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/queues/{InstanceId}/{QueueId}/hours-of-operation");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("QueueId", () => input.QueueId, "{QueueId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      HoursOfOperationId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateQueueHoursOfOperationCommand");var se_UpdateQueueMaxContactsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/queues/{InstanceId}/{QueueId}/max-contacts");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("QueueId", () => input.QueueId, "{QueueId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      MaxContacts: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateQueueMaxContactsCommand");var se_UpdateQueueNameCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/queues/{InstanceId}/{QueueId}/name");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("QueueId", () => input.QueueId, "{QueueId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Description: [],      Name: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateQueueNameCommand");var se_UpdateQueueOutboundCallerConfigCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/queues/{InstanceId}/{QueueId}/outbound-caller-config");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("QueueId", () => input.QueueId, "{QueueId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      OutboundCallerConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "OutboundCallerConfig")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateQueueOutboundCallerConfigCommand");var se_UpdateQueueOutboundEmailConfigCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/queues/{InstanceId}/{QueueId}/outbound-email-config");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("QueueId", () => input.QueueId, "{QueueId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      OutboundEmailConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "OutboundEmailConfig")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateQueueOutboundEmailConfigCommand");var se_UpdateQueueStatusCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/queues/{InstanceId}/{QueueId}/status");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("QueueId", () => input.QueueId, "{QueueId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Status: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateQueueStatusCommand");var se_UpdateQuickConnectConfigCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/quick-connects/{InstanceId}/{QuickConnectId}/config");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("QuickConnectId", () => input.QuickConnectId, "{QuickConnectId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      QuickConnectConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "QuickConnectConfig")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateQuickConnectConfigCommand");var se_UpdateQuickConnectNameCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/quick-connects/{InstanceId}/{QuickConnectId}/name");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("QuickConnectId", () => input.QuickConnectId, "{QuickConnectId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Description: [],      Name: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateQuickConnectNameCommand");var se_UpdateRoutingProfileAgentAvailabilityTimerCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/routing-profiles/{InstanceId}/{RoutingProfileId}/agent-availability-timer");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("RoutingProfileId", () => input.RoutingProfileId, "{RoutingProfileId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      AgentAvailabilityTimer: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateRoutingProfileAgentAvailabilityTimerCommand");var se_UpdateRoutingProfileConcurrencyCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/routing-profiles/{InstanceId}/{RoutingProfileId}/concurrency");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("RoutingProfileId", () => input.RoutingProfileId, "{RoutingProfileId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      MediaConcurrencies: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "MediaConcurrencies")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateRoutingProfileConcurrencyCommand");var se_UpdateRoutingProfileDefaultOutboundQueueCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/routing-profiles/{InstanceId}/{RoutingProfileId}/default-outbound-queue");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("RoutingProfileId", () => input.RoutingProfileId, "{RoutingProfileId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      DefaultOutboundQueueId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateRoutingProfileDefaultOutboundQueueCommand");var se_UpdateRoutingProfileNameCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/routing-profiles/{InstanceId}/{RoutingProfileId}/name");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("RoutingProfileId", () => input.RoutingProfileId, "{RoutingProfileId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Description: [],      Name: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateRoutingProfileNameCommand");var se_UpdateRoutingProfileQueuesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/routing-profiles/{InstanceId}/{RoutingProfileId}/queues");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("RoutingProfileId", () => input.RoutingProfileId, "{RoutingProfileId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      QueueConfigs: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "QueueConfigs")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateRoutingProfileQueuesCommand");var se_UpdateRuleCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/rules/{InstanceId}/{RuleId}");  b.p("RuleId", () => input.RuleId, "{RuleId}", false);  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Actions: /* @__PURE__ */ __name((_) => se_RuleActions(_, context), "Actions"),      Function: [],      Name: [],      PublishStatus: []    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_UpdateRuleCommand");var se_UpdateSecurityProfileCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/security-profiles/{InstanceId}/{SecurityProfileId}");  b.p("SecurityProfileId", () => input.SecurityProfileId, "{SecurityProfileId}", false);  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      AllowedAccessControlHierarchyGroupId: [],      AllowedAccessControlTags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AllowedAccessControlTags"),      Applications: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Applications"),      Description: [],      HierarchyRestrictedResources: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "HierarchyRestrictedResources"),      Permissions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Permissions"),      TagRestrictedResources: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TagRestrictedResources")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateSecurityProfileCommand");var se_UpdateTaskTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/instance/{InstanceId}/task/template/{TaskTemplateId}");  b.p("TaskTemplateId", () => input.TaskTemplateId, "{TaskTemplateId}", false);  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Constraints: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Constraints"),      ContactFlowId: [],      Defaults: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Defaults"),      Description: [],      Fields: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Fields"),      Name: [],      SelfAssignFlowId: [],      Status: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateTaskTemplateCommand");var se_UpdateTrafficDistributionCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/traffic-distribution/{Id}");  b.p("Id", () => input.Id, "{Id}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      AgentConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AgentConfig"),      SignInConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SignInConfig"),      TelephonyConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TelephonyConfig")    })  );  b.m("PUT").h(headers).b(body);  return b.build();}, "se_UpdateTrafficDistributionCommand");var se_UpdateUserHierarchyCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/users/{InstanceId}/{UserId}/hierarchy");  b.p("UserId", () => input.UserId, "{UserId}", false);  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      HierarchyGroupId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateUserHierarchyCommand");var se_UpdateUserHierarchyGroupNameCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}/name");  b.p("HierarchyGroupId", () => input.HierarchyGroupId, "{HierarchyGroupId}", false);  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Name: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateUserHierarchyGroupNameCommand");var se_UpdateUserHierarchyStructureCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/user-hierarchy-structure/{InstanceId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      HierarchyStructure: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "HierarchyStructure")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateUserHierarchyStructureCommand");var se_UpdateUserIdentityInfoCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/users/{InstanceId}/{UserId}/identity-info");  b.p("UserId", () => input.UserId, "{UserId}", false);  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      IdentityInfo: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "IdentityInfo")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateUserIdentityInfoCommand");var se_UpdateUserPhoneConfigCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/users/{InstanceId}/{UserId}/phone-config");  b.p("UserId", () => input.UserId, "{UserId}", false);  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      PhoneConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "PhoneConfig")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateUserPhoneConfigCommand");var se_UpdateUserProficienciesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/users/{InstanceId}/{UserId}/proficiencies");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("UserId", () => input.UserId, "{UserId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      UserProficiencies: /* @__PURE__ */ __name((_) => se_UserProficiencyList(_, context), "UserProficiencies")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateUserProficienciesCommand");var se_UpdateUserRoutingProfileCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/users/{InstanceId}/{UserId}/routing-profile");  b.p("UserId", () => input.UserId, "{UserId}", false);  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      RoutingProfileId: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateUserRoutingProfileCommand");var se_UpdateUserSecurityProfilesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/users/{InstanceId}/{UserId}/security-profiles");  b.p("UserId", () => input.UserId, "{UserId}", false);  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      SecurityProfileIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SecurityProfileIds")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateUserSecurityProfilesCommand");var se_UpdateViewContentCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/views/{InstanceId}/{ViewId}");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("ViewId", () => input.ViewId, "{ViewId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Content: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Content"),      Status: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateViewContentCommand");var se_UpdateViewMetadataCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/views/{InstanceId}/{ViewId}/metadata");  b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);  b.p("ViewId", () => input.ViewId, "{ViewId}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Description: [],      Name: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_UpdateViewMetadataCommand");var de_ActivateEvaluationFormCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    EvaluationFormArn: import_smithy_client.expectString,    EvaluationFormId: import_smithy_client.expectString,    EvaluationFormVersion: import_smithy_client.expectInt32  });  Object.assign(contents, doc);  return contents;}, "de_ActivateEvaluationFormCommand");var de_AssociateAnalyticsDataSetCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    DataSetId: import_smithy_client.expectString,    ResourceShareArn: import_smithy_client.expectString,    ResourceShareId: import_smithy_client.expectString,    TargetAccountId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_AssociateAnalyticsDataSetCommand");var de_AssociateApprovedOriginCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_AssociateApprovedOriginCommand");var de_AssociateBotCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_AssociateBotCommand");var de_AssociateDefaultVocabularyCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_AssociateDefaultVocabularyCommand");var de_AssociateFlowCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_AssociateFlowCommand");var de_AssociateInstanceStorageConfigCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    AssociationId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_AssociateInstanceStorageConfigCommand");var de_AssociateLambdaFunctionCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_AssociateLambdaFunctionCommand");var de_AssociateLexBotCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_AssociateLexBotCommand");var de_AssociatePhoneNumberContactFlowCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_AssociatePhoneNumberContactFlowCommand");var de_AssociateQueueQuickConnectsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_AssociateQueueQuickConnectsCommand");var de_AssociateRoutingProfileQueuesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_AssociateRoutingProfileQueuesCommand");var de_AssociateSecurityKeyCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    AssociationId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_AssociateSecurityKeyCommand");var de_AssociateTrafficDistributionGroupUserCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_AssociateTrafficDistributionGroupUserCommand");var de_AssociateUserProficienciesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_AssociateUserProficienciesCommand");var de_BatchAssociateAnalyticsDataSetCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Created: import_smithy_client._json,    Errors: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_BatchAssociateAnalyticsDataSetCommand");var de_BatchDisassociateAnalyticsDataSetCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Deleted: import_smithy_client._json,    Errors: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_BatchDisassociateAnalyticsDataSetCommand");var de_BatchGetAttachedFileMetadataCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Errors: import_smithy_client._json,    Files: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_BatchGetAttachedFileMetadataCommand");var de_BatchGetFlowAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    FlowAssociationSummaryList: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_BatchGetFlowAssociationCommand");var de_BatchPutContactCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    FailedRequestList: import_smithy_client._json,    SuccessfulRequestList: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_BatchPutContactCommand");var de_ClaimPhoneNumberCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    PhoneNumberArn: import_smithy_client.expectString,    PhoneNumberId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ClaimPhoneNumberCommand");var de_CompleteAttachedFileUploadCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_CompleteAttachedFileUploadCommand");var de_CreateAgentStatusCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    AgentStatusARN: import_smithy_client.expectString,    AgentStatusId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateAgentStatusCommand");var de_CreateContactCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ContactArn: import_smithy_client.expectString,    ContactId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateContactCommand");var de_CreateContactFlowCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ContactFlowArn: import_smithy_client.expectString,    ContactFlowId: import_smithy_client.expectString,    FlowContentSha256: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateContactFlowCommand");var de_CreateContactFlowModuleCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Arn: import_smithy_client.expectString,    Id: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateContactFlowModuleCommand");var de_CreateContactFlowVersionCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ContactFlowArn: import_smithy_client.expectString,    Version: import_smithy_client.expectLong  });  Object.assign(contents, doc);  return contents;}, "de_CreateContactFlowVersionCommand");var de_CreateEmailAddressCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    EmailAddressArn: import_smithy_client.expectString,    EmailAddressId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateEmailAddressCommand");var de_CreateEvaluationFormCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    EvaluationFormArn: import_smithy_client.expectString,    EvaluationFormId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateEvaluationFormCommand");var de_CreateHoursOfOperationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    HoursOfOperationArn: import_smithy_client.expectString,    HoursOfOperationId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateHoursOfOperationCommand");var de_CreateHoursOfOperationOverrideCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    HoursOfOperationOverrideId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateHoursOfOperationOverrideCommand");var de_CreateInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Arn: import_smithy_client.expectString,    Id: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateInstanceCommand");var de_CreateIntegrationAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    IntegrationAssociationArn: import_smithy_client.expectString,    IntegrationAssociationId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateIntegrationAssociationCommand");var de_CreateParticipantCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ParticipantCredentials: import_smithy_client._json,    ParticipantId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateParticipantCommand");var de_CreatePersistentContactAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ContinuedFromContactId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreatePersistentContactAssociationCommand");var de_CreatePredefinedAttributeCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_CreatePredefinedAttributeCommand");var de_CreatePromptCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    PromptARN: import_smithy_client.expectString,    PromptId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreatePromptCommand");var de_CreatePushNotificationRegistrationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    RegistrationId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreatePushNotificationRegistrationCommand");var de_CreateQueueCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    QueueArn: import_smithy_client.expectString,    QueueId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateQueueCommand");var de_CreateQuickConnectCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    QuickConnectARN: import_smithy_client.expectString,    QuickConnectId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateQuickConnectCommand");var de_CreateRoutingProfileCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    RoutingProfileArn: import_smithy_client.expectString,    RoutingProfileId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateRoutingProfileCommand");var de_CreateRuleCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    RuleArn: import_smithy_client.expectString,    RuleId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateRuleCommand");var de_CreateSecurityProfileCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    SecurityProfileArn: import_smithy_client.expectString,    SecurityProfileId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateSecurityProfileCommand");var de_CreateTaskTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Arn: import_smithy_client.expectString,    Id: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateTaskTemplateCommand");var de_CreateTrafficDistributionGroupCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Arn: import_smithy_client.expectString,    Id: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateTrafficDistributionGroupCommand");var de_CreateUseCaseCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    UseCaseArn: import_smithy_client.expectString,    UseCaseId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateUseCaseCommand");var de_CreateUserCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    UserArn: import_smithy_client.expectString,    UserId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateUserCommand");var de_CreateUserHierarchyGroupCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    HierarchyGroupArn: import_smithy_client.expectString,    HierarchyGroupId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateUserHierarchyGroupCommand");var de_CreateViewCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    View: /* @__PURE__ */ __name((_) => de_View(_, context), "View")  });  Object.assign(contents, doc);  return contents;}, "de_CreateViewCommand");var de_CreateViewVersionCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    View: /* @__PURE__ */ __name((_) => de_View(_, context), "View")  });  Object.assign(contents, doc);  return contents;}, "de_CreateViewVersionCommand");var de_CreateVocabularyCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    State: import_smithy_client.expectString,    VocabularyArn: import_smithy_client.expectString,    VocabularyId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_CreateVocabularyCommand");var de_DeactivateEvaluationFormCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    EvaluationFormArn: import_smithy_client.expectString,    EvaluationFormId: import_smithy_client.expectString,    EvaluationFormVersion: import_smithy_client.expectInt32  });  Object.assign(contents, doc);  return contents;}, "de_DeactivateEvaluationFormCommand");var de_DeleteAttachedFileCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteAttachedFileCommand");var de_DeleteContactEvaluationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteContactEvaluationCommand");var de_DeleteContactFlowCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteContactFlowCommand");var de_DeleteContactFlowModuleCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteContactFlowModuleCommand");var de_DeleteContactFlowVersionCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteContactFlowVersionCommand");var de_DeleteEmailAddressCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteEmailAddressCommand");var de_DeleteEvaluationFormCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteEvaluationFormCommand");var de_DeleteHoursOfOperationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteHoursOfOperationCommand");var de_DeleteHoursOfOperationOverrideCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteHoursOfOperationOverrideCommand");var de_DeleteInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteInstanceCommand");var de_DeleteIntegrationAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteIntegrationAssociationCommand");var de_DeletePredefinedAttributeCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeletePredefinedAttributeCommand");var de_DeletePromptCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeletePromptCommand");var de_DeletePushNotificationRegistrationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeletePushNotificationRegistrationCommand");var de_DeleteQueueCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteQueueCommand");var de_DeleteQuickConnectCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteQuickConnectCommand");var de_DeleteRoutingProfileCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteRoutingProfileCommand");var de_DeleteRuleCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteRuleCommand");var de_DeleteSecurityProfileCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteSecurityProfileCommand");var de_DeleteTaskTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteTaskTemplateCommand");var de_DeleteTrafficDistributionGroupCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteTrafficDistributionGroupCommand");var de_DeleteUseCaseCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteUseCaseCommand");var de_DeleteUserCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteUserCommand");var de_DeleteUserHierarchyGroupCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteUserHierarchyGroupCommand");var de_DeleteViewCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteViewCommand");var de_DeleteViewVersionCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteViewVersionCommand");var de_DeleteVocabularyCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    State: import_smithy_client.expectString,    VocabularyArn: import_smithy_client.expectString,    VocabularyId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_DeleteVocabularyCommand");var de_DescribeAgentStatusCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    AgentStatus: /* @__PURE__ */ __name((_) => de_AgentStatus(_, context), "AgentStatus")  });  Object.assign(contents, doc);  return contents;}, "de_DescribeAgentStatusCommand");var de_DescribeAuthenticationProfileCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    AuthenticationProfile: /* @__PURE__ */ __name((_) => de_AuthenticationProfile(_, context), "AuthenticationProfile")  });  Object.assign(contents, doc);  return contents;}, "de_DescribeAuthenticationProfileCommand");var de_DescribeContactCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Contact: /* @__PURE__ */ __name((_) => de_Contact(_, context), "Contact")  });  Object.assign(contents, doc);  return contents;}, "de_DescribeContactCommand");var de_DescribeContactEvaluationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Evaluation: /* @__PURE__ */ __name((_) => de_Evaluation(_, context), "Evaluation"),    EvaluationForm: /* @__PURE__ */ __name((_) => de_EvaluationFormContent(_, context), "EvaluationForm")  });  Object.assign(contents, doc);  return contents;}, "de_DescribeContactEvaluationCommand");var de_DescribeContactFlowCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ContactFlow: /* @__PURE__ */ __name((_) => de_ContactFlow(_, context), "ContactFlow")  });  Object.assign(contents, doc);  return contents;}, "de_DescribeContactFlowCommand");var de_DescribeContactFlowModuleCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ContactFlowModule: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_DescribeContactFlowModuleCommand");var de_DescribeEmailAddressCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    CreateTimestamp: import_smithy_client.expectString,    Description: import_smithy_client.expectString,    DisplayName: import_smithy_client.expectString,    EmailAddress: import_smithy_client.expectString,    EmailAddressArn: import_smithy_client.expectString,    EmailAddressId: import_smithy_client.expectString,    ModifiedTimestamp: import_smithy_client.expectString,    Tags: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_DescribeEmailAddressCommand");var de_DescribeEvaluationFormCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    EvaluationForm: /* @__PURE__ */ __name((_) => de_EvaluationForm(_, context), "EvaluationForm")  });  Object.assign(contents, doc);  return contents;}, "de_DescribeEvaluationFormCommand");var de_DescribeHoursOfOperationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    HoursOfOperation: /* @__PURE__ */ __name((_) => de_HoursOfOperation(_, context), "HoursOfOperation")  });  Object.assign(contents, doc);  return contents;}, "de_DescribeHoursOfOperationCommand");var de_DescribeHoursOfOperationOverrideCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    HoursOfOperationOverride: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_DescribeHoursOfOperationOverrideCommand");var de_DescribeInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Instance: /* @__PURE__ */ __name((_) => de_Instance(_, context), "Instance"),    ReplicationConfiguration: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_DescribeInstanceCommand");var de_DescribeInstanceAttributeCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Attribute: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_DescribeInstanceAttributeCommand");var de_DescribeInstanceStorageConfigCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    StorageConfig: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_DescribeInstanceStorageConfigCommand");var de_DescribePhoneNumberCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ClaimedPhoneNumberSummary: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_DescribePhoneNumberCommand");var de_DescribePredefinedAttributeCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    PredefinedAttribute: /* @__PURE__ */ __name((_) => de_PredefinedAttribute(_, context), "PredefinedAttribute")  });  Object.assign(contents, doc);  return contents;}, "de_DescribePredefinedAttributeCommand");var de_DescribePromptCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Prompt: /* @__PURE__ */ __name((_) => de_Prompt(_, context), "Prompt")  });  Object.assign(contents, doc);  return contents;}, "de_DescribePromptCommand");var de_DescribeQueueCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Queue: /* @__PURE__ */ __name((_) => de_Queue(_, context), "Queue")  });  Object.assign(contents, doc);  return contents;}, "de_DescribeQueueCommand");var de_DescribeQuickConnectCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    QuickConnect: /* @__PURE__ */ __name((_) => de_QuickConnect(_, context), "QuickConnect")  });  Object.assign(contents, doc);  return contents;}, "de_DescribeQuickConnectCommand");var de_DescribeRoutingProfileCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    RoutingProfile: /* @__PURE__ */ __name((_) => de_RoutingProfile(_, context), "RoutingProfile")  });  Object.assign(contents, doc);  return contents;}, "de_DescribeRoutingProfileCommand");var de_DescribeRuleCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Rule: /* @__PURE__ */ __name((_) => de_Rule(_, context), "Rule")  });  Object.assign(contents, doc);  return contents;}, "de_DescribeRuleCommand");var de_DescribeSecurityProfileCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    SecurityProfile: /* @__PURE__ */ __name((_) => de_SecurityProfile(_, context), "SecurityProfile")  });  Object.assign(contents, doc);  return contents;}, "de_DescribeSecurityProfileCommand");var de_DescribeTrafficDistributionGroupCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    TrafficDistributionGroup: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_DescribeTrafficDistributionGroupCommand");var de_DescribeUserCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    User: /* @__PURE__ */ __name((_) => de_User(_, context), "User")  });  Object.assign(contents, doc);  return contents;}, "de_DescribeUserCommand");var de_DescribeUserHierarchyGroupCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    HierarchyGroup: /* @__PURE__ */ __name((_) => de_HierarchyGroup(_, context), "HierarchyGroup")  });  Object.assign(contents, doc);  return contents;}, "de_DescribeUserHierarchyGroupCommand");var de_DescribeUserHierarchyStructureCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    HierarchyStructure: /* @__PURE__ */ __name((_) => de_HierarchyStructure(_, context), "HierarchyStructure")  });  Object.assign(contents, doc);  return contents;}, "de_DescribeUserHierarchyStructureCommand");var de_DescribeViewCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    View: /* @__PURE__ */ __name((_) => de_View(_, context), "View")  });  Object.assign(contents, doc);  return contents;}, "de_DescribeViewCommand");var de_DescribeVocabularyCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Vocabulary: /* @__PURE__ */ __name((_) => de_Vocabulary(_, context), "Vocabulary")  });  Object.assign(contents, doc);  return contents;}, "de_DescribeVocabularyCommand");var de_DisassociateAnalyticsDataSetCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DisassociateAnalyticsDataSetCommand");var de_DisassociateApprovedOriginCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DisassociateApprovedOriginCommand");var de_DisassociateBotCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DisassociateBotCommand");var de_DisassociateFlowCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DisassociateFlowCommand");var de_DisassociateInstanceStorageConfigCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DisassociateInstanceStorageConfigCommand");var de_DisassociateLambdaFunctionCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DisassociateLambdaFunctionCommand");var de_DisassociateLexBotCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DisassociateLexBotCommand");var de_DisassociatePhoneNumberContactFlowCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DisassociatePhoneNumberContactFlowCommand");var de_DisassociateQueueQuickConnectsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DisassociateQueueQuickConnectsCommand");var de_DisassociateRoutingProfileQueuesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DisassociateRoutingProfileQueuesCommand");var de_DisassociateSecurityKeyCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DisassociateSecurityKeyCommand");var de_DisassociateTrafficDistributionGroupUserCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DisassociateTrafficDistributionGroupUserCommand");var de_DisassociateUserProficienciesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DisassociateUserProficienciesCommand");var de_DismissUserContactCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DismissUserContactCommand");var de_GetAttachedFileCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    AssociatedResourceArn: import_smithy_client.expectString,    CreatedBy: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "CreatedBy"),    CreationTime: import_smithy_client.expectString,    DownloadUrlMetadata: import_smithy_client._json,    FileArn: import_smithy_client.expectString,    FileId: import_smithy_client.expectString,    FileName: import_smithy_client.expectString,    FileSizeInBytes: import_smithy_client.expectLong,    FileStatus: import_smithy_client.expectString,    FileUseCaseType: import_smithy_client.expectString,    Tags: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_GetAttachedFileCommand");var de_GetContactAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Attributes: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_GetContactAttributesCommand");var de_GetContactMetricsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Arn: import_smithy_client.expectString,    Id: import_smithy_client.expectString,    MetricResults: /* @__PURE__ */ __name((_) => de_ContactMetricResults(_, context), "MetricResults")  });  Object.assign(contents, doc);  return contents;}, "de_GetContactMetricsCommand");var de_GetCurrentMetricDataCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ApproximateTotalCount: import_smithy_client.expectLong,    DataSnapshotTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "DataSnapshotTime"),    MetricResults: /* @__PURE__ */ __name((_) => de_CurrentMetricResults(_, context), "MetricResults"),    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_GetCurrentMetricDataCommand");var de_GetCurrentUserDataCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ApproximateTotalCount: import_smithy_client.expectLong,    NextToken: import_smithy_client.expectString,    UserDataList: /* @__PURE__ */ __name((_) => de_UserDataList(_, context), "UserDataList")  });  Object.assign(contents, doc);  return contents;}, "de_GetCurrentUserDataCommand");var de_GetEffectiveHoursOfOperationsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    EffectiveHoursOfOperationList: import_smithy_client._json,    TimeZone: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_GetEffectiveHoursOfOperationsCommand");var de_GetFederationTokenCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Credentials: /* @__PURE__ */ __name((_) => de_Credentials(_, context), "Credentials"),    SignInUrl: import_smithy_client.expectString,    UserArn: import_smithy_client.expectString,    UserId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_GetFederationTokenCommand");var de_GetFlowAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    FlowId: import_smithy_client.expectString,    ResourceId: import_smithy_client.expectString,    ResourceType: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_GetFlowAssociationCommand");var de_GetMetricDataCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    MetricResults: /* @__PURE__ */ __name((_) => de_HistoricalMetricResults(_, context), "MetricResults"),    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_GetMetricDataCommand");var de_GetMetricDataV2Command = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    MetricResults: /* @__PURE__ */ __name((_) => de_MetricResultsV2(_, context), "MetricResults"),    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_GetMetricDataV2Command");var de_GetPromptFileCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    LastModifiedRegion: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    PromptPresignedUrl: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_GetPromptFileCommand");var de_GetTaskTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Arn: import_smithy_client.expectString,    Constraints: import_smithy_client._json,    ContactFlowId: import_smithy_client.expectString,    CreatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTime"),    Defaults: import_smithy_client._json,    Description: import_smithy_client.expectString,    Fields: import_smithy_client._json,    Id: import_smithy_client.expectString,    InstanceId: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    Name: import_smithy_client.expectString,    SelfAssignFlowId: import_smithy_client.expectString,    Status: import_smithy_client.expectString,    Tags: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_GetTaskTemplateCommand");var de_GetTrafficDistributionCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    AgentConfig: import_smithy_client._json,    Arn: import_smithy_client.expectString,    Id: import_smithy_client.expectString,    SignInConfig: import_smithy_client._json,    TelephonyConfig: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_GetTrafficDistributionCommand");var de_ImportPhoneNumberCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    PhoneNumberArn: import_smithy_client.expectString,    PhoneNumberId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ImportPhoneNumberCommand");var de_ListAgentStatusesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    AgentStatusSummaryList: /* @__PURE__ */ __name((_) => de_AgentStatusSummaryList(_, context), "AgentStatusSummaryList"),    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListAgentStatusesCommand");var de_ListAnalyticsDataAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    NextToken: import_smithy_client.expectString,    Results: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_ListAnalyticsDataAssociationsCommand");var de_ListAnalyticsDataLakeDataSetsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    NextToken: import_smithy_client.expectString,    Results: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_ListAnalyticsDataLakeDataSetsCommand");var de_ListApprovedOriginsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    NextToken: import_smithy_client.expectString,    Origins: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_ListApprovedOriginsCommand");var de_ListAssociatedContactsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ContactSummaryList: /* @__PURE__ */ __name((_) => de_AssociatedContactSummaryList(_, context), "ContactSummaryList"),    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListAssociatedContactsCommand");var de_ListAuthenticationProfilesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    AuthenticationProfileSummaryList: /* @__PURE__ */ __name((_) => de_AuthenticationProfileSummaryList(_, context), "AuthenticationProfileSummaryList"),    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListAuthenticationProfilesCommand");var de_ListBotsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    LexBots: import_smithy_client._json,    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListBotsCommand");var de_ListContactEvaluationsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    EvaluationSummaryList: /* @__PURE__ */ __name((_) => de_EvaluationSummaryList(_, context), "EvaluationSummaryList"),    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListContactEvaluationsCommand");var de_ListContactFlowModulesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ContactFlowModulesSummaryList: import_smithy_client._json,    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListContactFlowModulesCommand");var de_ListContactFlowsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ContactFlowSummaryList: import_smithy_client._json,    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListContactFlowsCommand");var de_ListContactFlowVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ContactFlowVersionSummaryList: import_smithy_client._json,    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListContactFlowVersionsCommand");var de_ListContactReferencesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    NextToken: import_smithy_client.expectString,    ReferenceSummaryList: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_ListContactReferencesCommand");var de_ListDefaultVocabulariesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    DefaultVocabularyList: import_smithy_client._json,    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListDefaultVocabulariesCommand");var de_ListEvaluationFormsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    EvaluationFormSummaryList: /* @__PURE__ */ __name((_) => de_EvaluationFormSummaryList(_, context), "EvaluationFormSummaryList"),    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListEvaluationFormsCommand");var de_ListEvaluationFormVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    EvaluationFormVersionSummaryList: /* @__PURE__ */ __name((_) => de_EvaluationFormVersionSummaryList(_, context), "EvaluationFormVersionSummaryList"),    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListEvaluationFormVersionsCommand");var de_ListFlowAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    FlowAssociationSummaryList: import_smithy_client._json,    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListFlowAssociationsCommand");var de_ListHoursOfOperationOverridesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    HoursOfOperationOverrideList: import_smithy_client._json,    LastModifiedRegion: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListHoursOfOperationOverridesCommand");var de_ListHoursOfOperationsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    HoursOfOperationSummaryList: /* @__PURE__ */ __name((_) => de_HoursOfOperationSummaryList(_, context), "HoursOfOperationSummaryList"),    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListHoursOfOperationsCommand");var de_ListInstanceAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Attributes: import_smithy_client._json,    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListInstanceAttributesCommand");var de_ListInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    InstanceSummaryList: /* @__PURE__ */ __name((_) => de_InstanceSummaryList(_, context), "InstanceSummaryList"),    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListInstancesCommand");var de_ListInstanceStorageConfigsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    NextToken: import_smithy_client.expectString,    StorageConfigs: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_ListInstanceStorageConfigsCommand");var de_ListIntegrationAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    IntegrationAssociationSummaryList: import_smithy_client._json,    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListIntegrationAssociationsCommand");var de_ListLambdaFunctionsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    LambdaFunctions: import_smithy_client._json,    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListLambdaFunctionsCommand");var de_ListLexBotsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    LexBots: import_smithy_client._json,    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListLexBotsCommand");var de_ListPhoneNumbersCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    NextToken: import_smithy_client.expectString,    PhoneNumberSummaryList: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_ListPhoneNumbersCommand");var de_ListPhoneNumbersV2Command = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ListPhoneNumbersSummaryList: import_smithy_client._json,    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListPhoneNumbersV2Command");var de_ListPredefinedAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    NextToken: import_smithy_client.expectString,    PredefinedAttributeSummaryList: /* @__PURE__ */ __name((_) => de_PredefinedAttributeSummaryList(_, context), "PredefinedAttributeSummaryList")  });  Object.assign(contents, doc);  return contents;}, "de_ListPredefinedAttributesCommand");var de_ListPromptsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    NextToken: import_smithy_client.expectString,    PromptSummaryList: /* @__PURE__ */ __name((_) => de_PromptSummaryList(_, context), "PromptSummaryList")  });  Object.assign(contents, doc);  return contents;}, "de_ListPromptsCommand");var de_ListQueueQuickConnectsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    LastModifiedRegion: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    NextToken: import_smithy_client.expectString,    QuickConnectSummaryList: /* @__PURE__ */ __name((_) => de_QuickConnectSummaryList(_, context), "QuickConnectSummaryList")  });  Object.assign(contents, doc);  return contents;}, "de_ListQueueQuickConnectsCommand");var de_ListQueuesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    NextToken: import_smithy_client.expectString,    QueueSummaryList: /* @__PURE__ */ __name((_) => de_QueueSummaryList(_, context), "QueueSummaryList")  });  Object.assign(contents, doc);  return contents;}, "de_ListQueuesCommand");var de_ListQuickConnectsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    NextToken: import_smithy_client.expectString,    QuickConnectSummaryList: /* @__PURE__ */ __name((_) => de_QuickConnectSummaryList(_, context), "QuickConnectSummaryList")  });  Object.assign(contents, doc);  return contents;}, "de_ListQuickConnectsCommand");var de_ListRealtimeContactAnalysisSegmentsV2Command = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Channel: import_smithy_client.expectString,    NextToken: import_smithy_client.expectString,    Segments: /* @__PURE__ */ __name((_) => de_RealtimeContactAnalysisSegments(_, context), "Segments"),    Status: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListRealtimeContactAnalysisSegmentsV2Command");var de_ListRoutingProfileQueuesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    LastModifiedRegion: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    NextToken: import_smithy_client.expectString,    RoutingProfileQueueConfigSummaryList: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_ListRoutingProfileQueuesCommand");var de_ListRoutingProfilesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    NextToken: import_smithy_client.expectString,    RoutingProfileSummaryList: /* @__PURE__ */ __name((_) => de_RoutingProfileSummaryList(_, context), "RoutingProfileSummaryList")  });  Object.assign(contents, doc);  return contents;}, "de_ListRoutingProfilesCommand");var de_ListRulesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    NextToken: import_smithy_client.expectString,    RuleSummaryList: /* @__PURE__ */ __name((_) => de_RuleSummaryList(_, context), "RuleSummaryList")  });  Object.assign(contents, doc);  return contents;}, "de_ListRulesCommand");var de_ListSecurityKeysCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    NextToken: import_smithy_client.expectString,    SecurityKeys: /* @__PURE__ */ __name((_) => de_SecurityKeysList(_, context), "SecurityKeys")  });  Object.assign(contents, doc);  return contents;}, "de_ListSecurityKeysCommand");var de_ListSecurityProfileApplicationsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Applications: import_smithy_client._json,    LastModifiedRegion: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListSecurityProfileApplicationsCommand");var de_ListSecurityProfilePermissionsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    LastModifiedRegion: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    NextToken: import_smithy_client.expectString,    Permissions: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_ListSecurityProfilePermissionsCommand");var de_ListSecurityProfilesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    NextToken: import_smithy_client.expectString,    SecurityProfileSummaryList: /* @__PURE__ */ __name((_) => de_SecurityProfileSummaryList(_, context), "SecurityProfileSummaryList")  });  Object.assign(contents, doc);  return contents;}, "de_ListSecurityProfilesCommand");var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    tags: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_ListTagsForResourceCommand");var de_ListTaskTemplatesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    NextToken: import_smithy_client.expectString,    TaskTemplates: /* @__PURE__ */ __name((_) => de_TaskTemplateList(_, context), "TaskTemplates")  });  Object.assign(contents, doc);  return contents;}, "de_ListTaskTemplatesCommand");var de_ListTrafficDistributionGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    NextToken: import_smithy_client.expectString,    TrafficDistributionGroupSummaryList: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_ListTrafficDistributionGroupsCommand");var de_ListTrafficDistributionGroupUsersCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    NextToken: import_smithy_client.expectString,    TrafficDistributionGroupUserSummaryList: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_ListTrafficDistributionGroupUsersCommand");var de_ListUseCasesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    NextToken: import_smithy_client.expectString,    UseCaseSummaryList: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_ListUseCasesCommand");var de_ListUserHierarchyGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    NextToken: import_smithy_client.expectString,    UserHierarchyGroupSummaryList: /* @__PURE__ */ __name((_) => de_HierarchyGroupSummaryList(_, context), "UserHierarchyGroupSummaryList")  });  Object.assign(contents, doc);  return contents;}, "de_ListUserHierarchyGroupsCommand");var de_ListUserProficienciesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    LastModifiedRegion: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    NextToken: import_smithy_client.expectString,    UserProficiencyList: /* @__PURE__ */ __name((_) => de_UserProficiencyList(_, context), "UserProficiencyList")  });  Object.assign(contents, doc);  return contents;}, "de_ListUserProficienciesCommand");var de_ListUsersCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    NextToken: import_smithy_client.expectString,    UserSummaryList: /* @__PURE__ */ __name((_) => de_UserSummaryList(_, context), "UserSummaryList")  });  Object.assign(contents, doc);  return contents;}, "de_ListUsersCommand");var de_ListViewsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    NextToken: import_smithy_client.expectString,    ViewsSummaryList: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_ListViewsCommand");var de_ListViewVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    NextToken: import_smithy_client.expectString,    ViewVersionSummaryList: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_ListViewVersionsCommand");var de_MonitorContactCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ContactArn: import_smithy_client.expectString,    ContactId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_MonitorContactCommand");var de_PauseContactCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_PauseContactCommand");var de_PutUserStatusCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_PutUserStatusCommand");var de_ReleasePhoneNumberCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_ReleasePhoneNumberCommand");var de_ReplicateInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Arn: import_smithy_client.expectString,    Id: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ReplicateInstanceCommand");var de_ResumeContactCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_ResumeContactCommand");var de_ResumeContactRecordingCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_ResumeContactRecordingCommand");var de_SearchAgentStatusesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    AgentStatuses: /* @__PURE__ */ __name((_) => de_AgentStatusList(_, context), "AgentStatuses"),    ApproximateTotalCount: import_smithy_client.expectLong,    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_SearchAgentStatusesCommand");var de_SearchAvailablePhoneNumbersCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    AvailableNumbersList: import_smithy_client._json,    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_SearchAvailablePhoneNumbersCommand");var de_SearchContactFlowModulesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ApproximateTotalCount: import_smithy_client.expectLong,    ContactFlowModules: import_smithy_client._json,    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_SearchContactFlowModulesCommand");var de_SearchContactFlowsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ApproximateTotalCount: import_smithy_client.expectLong,    ContactFlows: /* @__PURE__ */ __name((_) => de_ContactFlowSearchSummaryList(_, context), "ContactFlows"),    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_SearchContactFlowsCommand");var de_SearchContactsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Contacts: /* @__PURE__ */ __name((_) => de_Contacts(_, context), "Contacts"),    NextToken: import_smithy_client.expectString,    TotalCount: import_smithy_client.expectLong  });  Object.assign(contents, doc);  return contents;}, "de_SearchContactsCommand");var de_SearchEmailAddressesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ApproximateTotalCount: import_smithy_client.expectLong,    EmailAddresses: import_smithy_client._json,    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_SearchEmailAddressesCommand");var de_SearchHoursOfOperationOverridesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ApproximateTotalCount: import_smithy_client.expectLong,    HoursOfOperationOverrides: import_smithy_client._json,    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_SearchHoursOfOperationOverridesCommand");var de_SearchHoursOfOperationsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ApproximateTotalCount: import_smithy_client.expectLong,    HoursOfOperations: /* @__PURE__ */ __name((_) => de_HoursOfOperationList(_, context), "HoursOfOperations"),    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_SearchHoursOfOperationsCommand");var de_SearchPredefinedAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ApproximateTotalCount: import_smithy_client.expectLong,    NextToken: import_smithy_client.expectString,    PredefinedAttributes: /* @__PURE__ */ __name((_) => de_PredefinedAttributeSearchSummaryList(_, context), "PredefinedAttributes")  });  Object.assign(contents, doc);  return contents;}, "de_SearchPredefinedAttributesCommand");var de_SearchPromptsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ApproximateTotalCount: import_smithy_client.expectLong,    NextToken: import_smithy_client.expectString,    Prompts: /* @__PURE__ */ __name((_) => de_PromptList(_, context), "Prompts")  });  Object.assign(contents, doc);  return contents;}, "de_SearchPromptsCommand");var de_SearchQueuesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ApproximateTotalCount: import_smithy_client.expectLong,    NextToken: import_smithy_client.expectString,    Queues: /* @__PURE__ */ __name((_) => de_QueueSearchSummaryList(_, context), "Queues")  });  Object.assign(contents, doc);  return contents;}, "de_SearchQueuesCommand");var de_SearchQuickConnectsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ApproximateTotalCount: import_smithy_client.expectLong,    NextToken: import_smithy_client.expectString,    QuickConnects: /* @__PURE__ */ __name((_) => de_QuickConnectSearchSummaryList(_, context), "QuickConnects")  });  Object.assign(contents, doc);  return contents;}, "de_SearchQuickConnectsCommand");var de_SearchResourceTagsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    NextToken: import_smithy_client.expectString,    Tags: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_SearchResourceTagsCommand");var de_SearchRoutingProfilesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ApproximateTotalCount: import_smithy_client.expectLong,    NextToken: import_smithy_client.expectString,    RoutingProfiles: /* @__PURE__ */ __name((_) => de_RoutingProfileList(_, context), "RoutingProfiles")  });  Object.assign(contents, doc);  return contents;}, "de_SearchRoutingProfilesCommand");var de_SearchSecurityProfilesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ApproximateTotalCount: import_smithy_client.expectLong,    NextToken: import_smithy_client.expectString,    SecurityProfiles: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_SearchSecurityProfilesCommand");var de_SearchUserHierarchyGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ApproximateTotalCount: import_smithy_client.expectLong,    NextToken: import_smithy_client.expectString,    UserHierarchyGroups: /* @__PURE__ */ __name((_) => de_UserHierarchyGroupList(_, context), "UserHierarchyGroups")  });  Object.assign(contents, doc);  return contents;}, "de_SearchUserHierarchyGroupsCommand");var de_SearchUsersCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ApproximateTotalCount: import_smithy_client.expectLong,    NextToken: import_smithy_client.expectString,    Users: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_SearchUsersCommand");var de_SearchVocabulariesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    NextToken: import_smithy_client.expectString,    VocabularySummaryList: /* @__PURE__ */ __name((_) => de_VocabularySummaryList(_, context), "VocabularySummaryList")  });  Object.assign(contents, doc);  return contents;}, "de_SearchVocabulariesCommand");var de_SendChatIntegrationEventCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    InitialContactId: import_smithy_client.expectString,    NewChatCreated: import_smithy_client.expectBoolean  });  Object.assign(contents, doc);  return contents;}, "de_SendChatIntegrationEventCommand");var de_SendOutboundEmailCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_SendOutboundEmailCommand");var de_StartAttachedFileUploadCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    CreatedBy: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "CreatedBy"),    CreationTime: import_smithy_client.expectString,    FileArn: import_smithy_client.expectString,    FileId: import_smithy_client.expectString,    FileStatus: import_smithy_client.expectString,    UploadUrlMetadata: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_StartAttachedFileUploadCommand");var de_StartChatContactCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ContactId: import_smithy_client.expectString,    ContinuedFromContactId: import_smithy_client.expectString,    ParticipantId: import_smithy_client.expectString,    ParticipantToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_StartChatContactCommand");var de_StartContactEvaluationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    EvaluationArn: import_smithy_client.expectString,    EvaluationId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_StartContactEvaluationCommand");var de_StartContactRecordingCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_StartContactRecordingCommand");var de_StartContactStreamingCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    StreamingId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_StartContactStreamingCommand");var de_StartEmailContactCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ContactId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_StartEmailContactCommand");var de_StartOutboundChatContactCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ContactId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_StartOutboundChatContactCommand");var de_StartOutboundEmailContactCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ContactId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_StartOutboundEmailContactCommand");var de_StartOutboundVoiceContactCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ContactId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_StartOutboundVoiceContactCommand");var de_StartScreenSharingCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_StartScreenSharingCommand");var de_StartTaskContactCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ContactId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_StartTaskContactCommand");var de_StartWebRTCContactCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ConnectionData: import_smithy_client._json,    ContactId: import_smithy_client.expectString,    ParticipantId: import_smithy_client.expectString,    ParticipantToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_StartWebRTCContactCommand");var de_StopContactCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_StopContactCommand");var de_StopContactRecordingCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_StopContactRecordingCommand");var de_StopContactStreamingCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_StopContactStreamingCommand");var de_SubmitContactEvaluationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    EvaluationArn: import_smithy_client.expectString,    EvaluationId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_SubmitContactEvaluationCommand");var de_SuspendContactRecordingCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_SuspendContactRecordingCommand");var de_TagContactCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_TagContactCommand");var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_TagResourceCommand");var de_TransferContactCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ContactArn: import_smithy_client.expectString,    ContactId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_TransferContactCommand");var de_UntagContactCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UntagContactCommand");var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UntagResourceCommand");var de_UpdateAgentStatusCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateAgentStatusCommand");var de_UpdateAuthenticationProfileCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateAuthenticationProfileCommand");var de_UpdateContactCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateContactCommand");var de_UpdateContactAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateContactAttributesCommand");var de_UpdateContactEvaluationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    EvaluationArn: import_smithy_client.expectString,    EvaluationId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_UpdateContactEvaluationCommand");var de_UpdateContactFlowContentCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateContactFlowContentCommand");var de_UpdateContactFlowMetadataCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateContactFlowMetadataCommand");var de_UpdateContactFlowModuleContentCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateContactFlowModuleContentCommand");var de_UpdateContactFlowModuleMetadataCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateContactFlowModuleMetadataCommand");var de_UpdateContactFlowNameCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateContactFlowNameCommand");var de_UpdateContactRoutingDataCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateContactRoutingDataCommand");var de_UpdateContactScheduleCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateContactScheduleCommand");var de_UpdateEmailAddressMetadataCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    EmailAddressArn: import_smithy_client.expectString,    EmailAddressId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_UpdateEmailAddressMetadataCommand");var de_UpdateEvaluationFormCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    EvaluationFormArn: import_smithy_client.expectString,    EvaluationFormId: import_smithy_client.expectString,    EvaluationFormVersion: import_smithy_client.expectInt32  });  Object.assign(contents, doc);  return contents;}, "de_UpdateEvaluationFormCommand");var de_UpdateHoursOfOperationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateHoursOfOperationCommand");var de_UpdateHoursOfOperationOverrideCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateHoursOfOperationOverrideCommand");var de_UpdateInstanceAttributeCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateInstanceAttributeCommand");var de_UpdateInstanceStorageConfigCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateInstanceStorageConfigCommand");var de_UpdateParticipantAuthenticationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateParticipantAuthenticationCommand");var de_UpdateParticipantRoleConfigCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateParticipantRoleConfigCommand");var de_UpdatePhoneNumberCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    PhoneNumberArn: import_smithy_client.expectString,    PhoneNumberId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_UpdatePhoneNumberCommand");var de_UpdatePhoneNumberMetadataCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdatePhoneNumberMetadataCommand");var de_UpdatePredefinedAttributeCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdatePredefinedAttributeCommand");var de_UpdatePromptCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    PromptARN: import_smithy_client.expectString,    PromptId: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_UpdatePromptCommand");var de_UpdateQueueHoursOfOperationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateQueueHoursOfOperationCommand");var de_UpdateQueueMaxContactsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateQueueMaxContactsCommand");var de_UpdateQueueNameCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateQueueNameCommand");var de_UpdateQueueOutboundCallerConfigCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateQueueOutboundCallerConfigCommand");var de_UpdateQueueOutboundEmailConfigCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateQueueOutboundEmailConfigCommand");var de_UpdateQueueStatusCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateQueueStatusCommand");var de_UpdateQuickConnectConfigCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateQuickConnectConfigCommand");var de_UpdateQuickConnectNameCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateQuickConnectNameCommand");var de_UpdateRoutingProfileAgentAvailabilityTimerCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateRoutingProfileAgentAvailabilityTimerCommand");var de_UpdateRoutingProfileConcurrencyCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateRoutingProfileConcurrencyCommand");var de_UpdateRoutingProfileDefaultOutboundQueueCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateRoutingProfileDefaultOutboundQueueCommand");var de_UpdateRoutingProfileNameCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateRoutingProfileNameCommand");var de_UpdateRoutingProfileQueuesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateRoutingProfileQueuesCommand");var de_UpdateRuleCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateRuleCommand");var de_UpdateSecurityProfileCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateSecurityProfileCommand");var de_UpdateTaskTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Arn: import_smithy_client.expectString,    Constraints: import_smithy_client._json,    ContactFlowId: import_smithy_client.expectString,    CreatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTime"),    Defaults: import_smithy_client._json,    Description: import_smithy_client.expectString,    Fields: import_smithy_client._json,    Id: import_smithy_client.expectString,    InstanceId: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    Name: import_smithy_client.expectString,    SelfAssignFlowId: import_smithy_client.expectString,    Status: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_UpdateTaskTemplateCommand");var de_UpdateTrafficDistributionCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateTrafficDistributionCommand");var de_UpdateUserHierarchyCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateUserHierarchyCommand");var de_UpdateUserHierarchyGroupNameCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateUserHierarchyGroupNameCommand");var de_UpdateUserHierarchyStructureCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateUserHierarchyStructureCommand");var de_UpdateUserIdentityInfoCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateUserIdentityInfoCommand");var de_UpdateUserPhoneConfigCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateUserPhoneConfigCommand");var de_UpdateUserProficienciesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateUserProficienciesCommand");var de_UpdateUserRoutingProfileCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateUserRoutingProfileCommand");var de_UpdateUserSecurityProfilesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateUserSecurityProfilesCommand");var de_UpdateViewContentCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    View: /* @__PURE__ */ __name((_) => de_View(_, context), "View")  });  Object.assign(contents, doc);  return contents;}, "de_UpdateViewContentCommand");var de_UpdateViewMetadataCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UpdateViewMetadataCommand");var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {  const parsedOutput = {    ...output,    body: await (0, import_core2.parseJsonErrorBody)(output.body, context)  };  const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);  switch (errorCode) {    case "InternalServiceException":    case "com.amazonaws.connect#InternalServiceException":      throw await de_InternalServiceExceptionRes(parsedOutput, context);    case "InvalidParameterException":    case "com.amazonaws.connect#InvalidParameterException":      throw await de_InvalidParameterExceptionRes(parsedOutput, context);    case "ResourceConflictException":    case "com.amazonaws.connect#ResourceConflictException":      throw await de_ResourceConflictExceptionRes(parsedOutput, context);    case "ResourceNotFoundException":    case "com.amazonaws.connect#ResourceNotFoundException":      throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);    case "ThrottlingException":    case "com.amazonaws.connect#ThrottlingException":      throw await de_ThrottlingExceptionRes(parsedOutput, context);    case "InvalidRequestException":    case "com.amazonaws.connect#InvalidRequestException":      throw await de_InvalidRequestExceptionRes(parsedOutput, context);    case "ServiceQuotaExceededException":    case "com.amazonaws.connect#ServiceQuotaExceededException":      throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);    case "LimitExceededException":    case "com.amazonaws.connect#LimitExceededException":      throw await de_LimitExceededExceptionRes(parsedOutput, context);    case "AccessDeniedException":    case "com.amazonaws.connect#AccessDeniedException":      throw await de_AccessDeniedExceptionRes(parsedOutput, context);    case "IdempotencyException":    case "com.amazonaws.connect#IdempotencyException":      throw await de_IdempotencyExceptionRes(parsedOutput, context);    case "DuplicateResourceException":    case "com.amazonaws.connect#DuplicateResourceException":      throw await de_DuplicateResourceExceptionRes(parsedOutput, context);    case "ConflictException":    case "com.amazonaws.connect#ConflictException":      throw await de_ConflictExceptionRes(parsedOutput, context);    case "InvalidContactFlowException":    case "com.amazonaws.connect#InvalidContactFlowException":      throw await de_InvalidContactFlowExceptionRes(parsedOutput, context);    case "InvalidContactFlowModuleException":    case "com.amazonaws.connect#InvalidContactFlowModuleException":      throw await de_InvalidContactFlowModuleExceptionRes(parsedOutput, context);    case "PropertyValidationException":    case "com.amazonaws.connect#PropertyValidationException":      throw await de_PropertyValidationExceptionRes(parsedOutput, context);    case "ResourceNotReadyException":    case "com.amazonaws.connect#ResourceNotReadyException":      throw await de_ResourceNotReadyExceptionRes(parsedOutput, context);    case "ResourceInUseException":    case "com.amazonaws.connect#ResourceInUseException":      throw await de_ResourceInUseExceptionRes(parsedOutput, context);    case "TooManyRequestsException":    case "com.amazonaws.connect#TooManyRequestsException":      throw await de_TooManyRequestsExceptionRes(parsedOutput, context);    case "ContactFlowNotPublishedException":    case "com.amazonaws.connect#ContactFlowNotPublishedException":      throw await de_ContactFlowNotPublishedExceptionRes(parsedOutput, context);    case "UserNotFoundException":    case "com.amazonaws.connect#UserNotFoundException":      throw await de_UserNotFoundExceptionRes(parsedOutput, context);    case "OutputTypeNotFoundException":    case "com.amazonaws.connect#OutputTypeNotFoundException":      throw await de_OutputTypeNotFoundExceptionRes(parsedOutput, context);    case "MaximumResultReturnedException":    case "com.amazonaws.connect#MaximumResultReturnedException":      throw await de_MaximumResultReturnedExceptionRes(parsedOutput, context);    case "DestinationNotAllowedException":    case "com.amazonaws.connect#DestinationNotAllowedException":      throw await de_DestinationNotAllowedExceptionRes(parsedOutput, context);    case "OutboundContactNotPermittedException":    case "com.amazonaws.connect#OutboundContactNotPermittedException":      throw await de_OutboundContactNotPermittedExceptionRes(parsedOutput, context);    case "ContactNotFoundException":    case "com.amazonaws.connect#ContactNotFoundException":      throw await de_ContactNotFoundExceptionRes(parsedOutput, context);    case "ConditionalOperationFailedException":    case "com.amazonaws.connect#ConditionalOperationFailedException":      throw await de_ConditionalOperationFailedExceptionRes(parsedOutput, context);    default:      const parsedBody = parsedOutput.body;      return throwDefaultError({        output,        parsedBody,        errorCode      });  }}, "de_CommandError");var throwDefaultError = (0, import_smithy_client.withBaseException)(ConnectServiceException);var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new AccessDeniedException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_AccessDeniedExceptionRes");var de_ConditionalOperationFailedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ConditionalOperationFailedException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ConditionalOperationFailedExceptionRes");var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ConflictException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ConflictExceptionRes");var de_ContactFlowNotPublishedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ContactFlowNotPublishedException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ContactFlowNotPublishedExceptionRes");var de_ContactNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ContactNotFoundException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ContactNotFoundExceptionRes");var de_DestinationNotAllowedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new DestinationNotAllowedException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_DestinationNotAllowedExceptionRes");var de_DuplicateResourceExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new DuplicateResourceException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_DuplicateResourceExceptionRes");var de_IdempotencyExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new IdempotencyException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_IdempotencyExceptionRes");var de_InternalServiceExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new InternalServiceException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InternalServiceExceptionRes");var de_InvalidContactFlowExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    problems: import_smithy_client._json  });  Object.assign(contents, doc);  const exception = new InvalidContactFlowException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InvalidContactFlowExceptionRes");var de_InvalidContactFlowModuleExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Problems: import_smithy_client._json  });  Object.assign(contents, doc);  const exception = new InvalidContactFlowModuleException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InvalidContactFlowModuleExceptionRes");var de_InvalidParameterExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new InvalidParameterException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InvalidParameterExceptionRes");var de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString,    Reason: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "Reason")  });  Object.assign(contents, doc);  const exception = new InvalidRequestException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InvalidRequestExceptionRes");var de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new LimitExceededException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_LimitExceededExceptionRes");var de_MaximumResultReturnedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new MaximumResultReturnedException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_MaximumResultReturnedExceptionRes");var de_OutboundContactNotPermittedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new OutboundContactNotPermittedException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_OutboundContactNotPermittedExceptionRes");var de_OutputTypeNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new OutputTypeNotFoundException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_OutputTypeNotFoundExceptionRes");var de_PropertyValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString,    PropertyList: import_smithy_client._json  });  Object.assign(contents, doc);  const exception = new PropertyValidationException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_PropertyValidationExceptionRes");var de_ResourceConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ResourceConflictException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ResourceConflictExceptionRes");var de_ResourceInUseExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString,    ResourceId: import_smithy_client.expectString,    ResourceType: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ResourceInUseException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ResourceInUseExceptionRes");var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ResourceNotFoundException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ResourceNotFoundExceptionRes");var de_ResourceNotReadyExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ResourceNotReadyException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ResourceNotReadyExceptionRes");var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString,    Reason: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "Reason")  });  Object.assign(contents, doc);  const exception = new ServiceQuotaExceededException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ServiceQuotaExceededExceptionRes");var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ThrottlingException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ThrottlingExceptionRes");var de_TooManyRequestsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new TooManyRequestsException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_TooManyRequestsExceptionRes");var de_UserNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new UserNotFoundException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_UserNotFoundExceptionRes");var se_AgentStatusSearchConditionList = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_AgentStatusSearchCriteria(entry, context);  });}, "se_AgentStatusSearchConditionList");var se_AgentStatusSearchCriteria = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    AndConditions: /* @__PURE__ */ __name((_) => se_AgentStatusSearchConditionList(_, context), "AndConditions"),    OrConditions: /* @__PURE__ */ __name((_) => se_AgentStatusSearchConditionList(_, context), "OrConditions"),    StringCondition: import_smithy_client._json  });}, "se_AgentStatusSearchCriteria");var se_AssignSlaActionDefinition = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    CaseSlaConfiguration: /* @__PURE__ */ __name((_) => se_CaseSlaConfiguration(_, context), "CaseSlaConfiguration"),    SlaAssignmentType: []  });}, "se_AssignSlaActionDefinition");var se_AttributeCondition = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    ComparisonOperator: [],    MatchCriteria: import_smithy_client._json,    Name: [],    ProficiencyLevel: import_smithy_client.serializeFloat,    Range: /* @__PURE__ */ __name((_) => se_Range(_, context), "Range"),    Value: []  });}, "se_AttributeCondition");var se_CaseSlaConfiguration = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    FieldId: [],    Name: [],    TargetFieldValues: /* @__PURE__ */ __name((_) => se_SlaFieldValueUnionList(_, context), "TargetFieldValues"),    TargetSlaMinutes: [],    Type: []  });}, "se_CaseSlaConfiguration");var se_ContactFlowModuleSearchConditionList = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_ContactFlowModuleSearchCriteria(entry, context);  });}, "se_ContactFlowModuleSearchConditionList");var se_ContactFlowModuleSearchCriteria = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    AndConditions: /* @__PURE__ */ __name((_) => se_ContactFlowModuleSearchConditionList(_, context), "AndConditions"),    OrConditions: /* @__PURE__ */ __name((_) => se_ContactFlowModuleSearchConditionList(_, context), "OrConditions"),    StateCondition: [],    StatusCondition: [],    StringCondition: import_smithy_client._json  });}, "se_ContactFlowModuleSearchCriteria");var se_ContactFlowSearchConditionList = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_ContactFlowSearchCriteria(entry, context);  });}, "se_ContactFlowSearchConditionList");var se_ContactFlowSearchCriteria = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    AndConditions: /* @__PURE__ */ __name((_) => se_ContactFlowSearchConditionList(_, context), "AndConditions"),    OrConditions: /* @__PURE__ */ __name((_) => se_ContactFlowSearchConditionList(_, context), "OrConditions"),    StateCondition: [],    StatusCondition: [],    StringCondition: import_smithy_client._json,    TypeCondition: []  });}, "se_ContactFlowSearchCriteria");var se_CreateCaseActionDefinition = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Fields: /* @__PURE__ */ __name((_) => se_FieldValues(_, context), "Fields"),    TemplateId: []  });}, "se_CreateCaseActionDefinition");var se_EmailAddressSearchConditionList = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_EmailAddressSearchCriteria(entry, context);  });}, "se_EmailAddressSearchConditionList");var se_EmailAddressSearchCriteria = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    AndConditions: /* @__PURE__ */ __name((_) => se_EmailAddressSearchConditionList(_, context), "AndConditions"),    OrConditions: /* @__PURE__ */ __name((_) => se_EmailAddressSearchConditionList(_, context), "OrConditions"),    StringCondition: import_smithy_client._json  });}, "se_EmailAddressSearchCriteria");var se_EvaluationAnswerData = /* @__PURE__ */ __name((input, context) => {  return EvaluationAnswerData.visit(input, {    NotApplicable: /* @__PURE__ */ __name((value) => ({ NotApplicable: value }), "NotApplicable"),    NumericValue: /* @__PURE__ */ __name((value) => ({ NumericValue: (0, import_smithy_client.serializeFloat)(value) }), "NumericValue"),    StringValue: /* @__PURE__ */ __name((value) => ({ StringValue: value }), "StringValue"),    _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")  });}, "se_EvaluationAnswerData");var se_EvaluationAnswerInput = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Value: /* @__PURE__ */ __name((_) => se_EvaluationAnswerData(_, context), "Value")  });}, "se_EvaluationAnswerInput");var se_EvaluationAnswersInputMap = /* @__PURE__ */ __name((input, context) => {  return Object.entries(input).reduce((acc, [key, value]) => {    if (value === null) {      return acc;    }    acc[key] = se_EvaluationAnswerInput(value, context);    return acc;  }, {});}, "se_EvaluationAnswersInputMap");var se_EvaluationFormItem = /* @__PURE__ */ __name((input, context) => {  return EvaluationFormItem.visit(input, {    Question: /* @__PURE__ */ __name((value) => ({ Question: se_EvaluationFormQuestion(value, context) }), "Question"),    Section: /* @__PURE__ */ __name((value) => ({ Section: se_EvaluationFormSection(value, context) }), "Section"),    _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")  });}, "se_EvaluationFormItem");var se_EvaluationFormItemsList = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_EvaluationFormItem(entry, context);  });}, "se_EvaluationFormItemsList");var se_EvaluationFormQuestion = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Instructions: [],    NotApplicableEnabled: [],    QuestionType: [],    QuestionTypeProperties: import_smithy_client._json,    RefId: [],    Title: [],    Weight: import_smithy_client.serializeFloat  });}, "se_EvaluationFormQuestion");var se_EvaluationFormSection = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Instructions: [],    Items: /* @__PURE__ */ __name((_) => se_EvaluationFormItemsList(_, context), "Items"),    RefId: [],    Title: [],    Weight: import_smithy_client.serializeFloat  });}, "se_EvaluationFormSection");var se_Expression = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    AndExpression: /* @__PURE__ */ __name((_) => se_Expressions(_, context), "AndExpression"),    AttributeCondition: /* @__PURE__ */ __name((_) => se_AttributeCondition(_, context), "AttributeCondition"),    NotAttributeCondition: /* @__PURE__ */ __name((_) => se_AttributeCondition(_, context), "NotAttributeCondition"),    OrExpression: /* @__PURE__ */ __name((_) => se_Expressions(_, context), "OrExpression")  });}, "se_Expression");var se_Expressions = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_Expression(entry, context);  });}, "se_Expressions");var se_FieldValue = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Id: [],    Value: /* @__PURE__ */ __name((_) => se_FieldValueUnion(_, context), "Value")  });}, "se_FieldValue");var se_FieldValues = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_FieldValue(entry, context);  });}, "se_FieldValues");var se_FieldValueUnion = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    BooleanValue: [],    DoubleValue: import_smithy_client.serializeFloat,    EmptyValue: import_smithy_client._json,    StringValue: []  });}, "se_FieldValueUnion");var se_HistoricalMetric = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Name: [],    Statistic: [],    Threshold: /* @__PURE__ */ __name((_) => se_Threshold(_, context), "Threshold"),    Unit: []  });}, "se_HistoricalMetric");var se_HistoricalMetrics = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_HistoricalMetric(entry, context);  });}, "se_HistoricalMetrics");var se_HoursOfOperationOverrideSearchConditionList = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_HoursOfOperationOverrideSearchCriteria(entry, context);  });}, "se_HoursOfOperationOverrideSearchConditionList");var se_HoursOfOperationOverrideSearchCriteria = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    AndConditions: /* @__PURE__ */ __name((_) => se_HoursOfOperationOverrideSearchConditionList(_, context), "AndConditions"),    DateCondition: import_smithy_client._json,    OrConditions: /* @__PURE__ */ __name((_) => se_HoursOfOperationOverrideSearchConditionList(_, context), "OrConditions"),    StringCondition: import_smithy_client._json  });}, "se_HoursOfOperationOverrideSearchCriteria");var se_HoursOfOperationSearchConditionList = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_HoursOfOperationSearchCriteria(entry, context);  });}, "se_HoursOfOperationSearchConditionList");var se_HoursOfOperationSearchCriteria = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    AndConditions: /* @__PURE__ */ __name((_) => se_HoursOfOperationSearchConditionList(_, context), "AndConditions"),    OrConditions: /* @__PURE__ */ __name((_) => se_HoursOfOperationSearchConditionList(_, context), "OrConditions"),    StringCondition: import_smithy_client._json  });}, "se_HoursOfOperationSearchCriteria");var se_MetricsV2 = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_MetricV2(entry, context);  });}, "se_MetricsV2");var se_MetricV2 = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    MetricFilters: import_smithy_client._json,    Name: [],    Threshold: /* @__PURE__ */ __name((_) => se_ThresholdCollections(_, context), "Threshold")  });}, "se_MetricV2");var se_PredefinedAttributeSearchConditionList = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_PredefinedAttributeSearchCriteria(entry, context);  });}, "se_PredefinedAttributeSearchConditionList");var se_PredefinedAttributeSearchCriteria = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    AndConditions: /* @__PURE__ */ __name((_) => se_PredefinedAttributeSearchConditionList(_, context), "AndConditions"),    OrConditions: /* @__PURE__ */ __name((_) => se_PredefinedAttributeSearchConditionList(_, context), "OrConditions"),    StringCondition: import_smithy_client._json  });}, "se_PredefinedAttributeSearchCriteria");var se_PromptSearchConditionList = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_PromptSearchCriteria(entry, context);  });}, "se_PromptSearchConditionList");var se_PromptSearchCriteria = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    AndConditions: /* @__PURE__ */ __name((_) => se_PromptSearchConditionList(_, context), "AndConditions"),    OrConditions: /* @__PURE__ */ __name((_) => se_PromptSearchConditionList(_, context), "OrConditions"),    StringCondition: import_smithy_client._json  });}, "se_PromptSearchCriteria");var se_QueueSearchConditionList = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_QueueSearchCriteria(entry, context);  });}, "se_QueueSearchConditionList");var se_QueueSearchCriteria = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    AndConditions: /* @__PURE__ */ __name((_) => se_QueueSearchConditionList(_, context), "AndConditions"),    OrConditions: /* @__PURE__ */ __name((_) => se_QueueSearchConditionList(_, context), "OrConditions"),    QueueTypeCondition: [],    StringCondition: import_smithy_client._json  });}, "se_QueueSearchCriteria");var se_QuickConnectSearchConditionList = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_QuickConnectSearchCriteria(entry, context);  });}, "se_QuickConnectSearchConditionList");var se_QuickConnectSearchCriteria = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    AndConditions: /* @__PURE__ */ __name((_) => se_QuickConnectSearchConditionList(_, context), "AndConditions"),    OrConditions: /* @__PURE__ */ __name((_) => se_QuickConnectSearchConditionList(_, context), "OrConditions"),    StringCondition: import_smithy_client._json  });}, "se_QuickConnectSearchCriteria");var se_Range = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    MaxProficiencyLevel: import_smithy_client.serializeFloat,    MinProficiencyLevel: import_smithy_client.serializeFloat  });}, "se_Range");var se_RoutingCriteriaInput = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Steps: /* @__PURE__ */ __name((_) => se_RoutingCriteriaInputSteps(_, context), "Steps")  });}, "se_RoutingCriteriaInput");var se_RoutingCriteriaInputStep = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Expiry: import_smithy_client._json,    Expression: /* @__PURE__ */ __name((_) => se_Expression(_, context), "Expression")  });}, "se_RoutingCriteriaInputStep");var se_RoutingCriteriaInputSteps = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_RoutingCriteriaInputStep(entry, context);  });}, "se_RoutingCriteriaInputSteps");var se_RoutingProfileSearchConditionList = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_RoutingProfileSearchCriteria(entry, context);  });}, "se_RoutingProfileSearchConditionList");var se_RoutingProfileSearchCriteria = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    AndConditions: /* @__PURE__ */ __name((_) => se_RoutingProfileSearchConditionList(_, context), "AndConditions"),    OrConditions: /* @__PURE__ */ __name((_) => se_RoutingProfileSearchConditionList(_, context), "OrConditions"),    StringCondition: import_smithy_client._json  });}, "se_RoutingProfileSearchCriteria");var se_RuleAction = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    ActionType: [],    AssignContactCategoryAction: import_smithy_client._json,    AssignSlaAction: /* @__PURE__ */ __name((_) => se_AssignSlaActionDefinition(_, context), "AssignSlaAction"),    CreateCaseAction: /* @__PURE__ */ __name((_) => se_CreateCaseActionDefinition(_, context), "CreateCaseAction"),    EndAssociatedTasksAction: import_smithy_client._json,    EventBridgeAction: import_smithy_client._json,    SendNotificationAction: import_smithy_client._json,    SubmitAutoEvaluationAction: import_smithy_client._json,    TaskAction: import_smithy_client._json,    UpdateCaseAction: /* @__PURE__ */ __name((_) => se_UpdateCaseActionDefinition(_, context), "UpdateCaseAction")  });}, "se_RuleAction");var se_RuleActions = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_RuleAction(entry, context);  });}, "se_RuleActions");var se_SearchContactsTimeRange = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    EndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTime"),    StartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTime"),    Type: []  });}, "se_SearchContactsTimeRange");var se_SecurityProfileSearchConditionList = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_SecurityProfileSearchCriteria(entry, context);  });}, "se_SecurityProfileSearchConditionList");var se_SecurityProfileSearchCriteria = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    AndConditions: /* @__PURE__ */ __name((_) => se_SecurityProfileSearchConditionList(_, context), "AndConditions"),    OrConditions: /* @__PURE__ */ __name((_) => se_SecurityProfileSearchConditionList(_, context), "OrConditions"),    StringCondition: import_smithy_client._json  });}, "se_SecurityProfileSearchCriteria");var se_SegmentAttributes = /* @__PURE__ */ __name((input, context) => {  return Object.entries(input).reduce((acc, [key, value]) => {    if (value === null) {      return acc;    }    acc[key] = se_SegmentAttributeValue(value, context);    return acc;  }, {});}, "se_SegmentAttributes");var se_SegmentAttributeValue = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    ValueArn: [],    ValueInteger: [],    ValueList: /* @__PURE__ */ __name((_) => se_SegmentAttributeValueList(_, context), "ValueList"),    ValueMap: /* @__PURE__ */ __name((_) => se_SegmentAttributeValueMap(_, context), "ValueMap"),    ValueString: []  });}, "se_SegmentAttributeValue");var se_SegmentAttributeValueList = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_SegmentAttributeValue(entry, context);  });}, "se_SegmentAttributeValueList");var se_SegmentAttributeValueMap = /* @__PURE__ */ __name((input, context) => {  return Object.entries(input).reduce((acc, [key, value]) => {    if (value === null) {      return acc;    }    acc[key] = se_SegmentAttributeValue(value, context);    return acc;  }, {});}, "se_SegmentAttributeValueMap");var se_SlaFieldValueUnionList = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_FieldValueUnion(entry, context);  });}, "se_SlaFieldValueUnionList");var se_Threshold = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Comparison: [],    ThresholdValue: import_smithy_client.serializeFloat  });}, "se_Threshold");var se_ThresholdCollections = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_ThresholdV2(entry, context);  });}, "se_ThresholdCollections");var se_ThresholdV2 = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Comparison: [],    ThresholdValue: import_smithy_client.serializeFloat  });}, "se_ThresholdV2");var se_UpdateCaseActionDefinition = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Fields: /* @__PURE__ */ __name((_) => se_FieldValues(_, context), "Fields")  });}, "se_UpdateCaseActionDefinition");var se_UserHierarchyGroupSearchConditionList = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_UserHierarchyGroupSearchCriteria(entry, context);  });}, "se_UserHierarchyGroupSearchConditionList");var se_UserHierarchyGroupSearchCriteria = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    AndConditions: /* @__PURE__ */ __name((_) => se_UserHierarchyGroupSearchConditionList(_, context), "AndConditions"),    OrConditions: /* @__PURE__ */ __name((_) => se_UserHierarchyGroupSearchConditionList(_, context), "OrConditions"),    StringCondition: import_smithy_client._json  });}, "se_UserHierarchyGroupSearchCriteria");var se_UserProficiency = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    AttributeName: [],    AttributeValue: [],    Level: import_smithy_client.serializeFloat  });}, "se_UserProficiency");var se_UserProficiencyList = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_UserProficiency(entry, context);  });}, "se_UserProficiencyList");var se_UserSearchConditionList = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_UserSearchCriteria(entry, context);  });}, "se_UserSearchConditionList");var se_UserSearchCriteria = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    AndConditions: /* @__PURE__ */ __name((_) => se_UserSearchConditionList(_, context), "AndConditions"),    HierarchyGroupCondition: import_smithy_client._json,    ListCondition: import_smithy_client._json,    OrConditions: /* @__PURE__ */ __name((_) => se_UserSearchConditionList(_, context), "OrConditions"),    StringCondition: import_smithy_client._json  });}, "se_UserSearchCriteria");var de_AgentContactReference = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    AgentContactState: import_smithy_client.expectString,    Channel: import_smithy_client.expectString,    ConnectedToAgentTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ConnectedToAgentTimestamp"),    ContactId: import_smithy_client.expectString,    InitiationMethod: import_smithy_client.expectString,    Queue: import_smithy_client._json,    StateStartTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StateStartTimestamp")  });}, "de_AgentContactReference");var de_AgentContactReferenceList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_AgentContactReference(entry, context);  });  return retVal;}, "de_AgentContactReferenceList");var de_AgentInfo = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    AfterContactWorkDuration: import_smithy_client.expectInt32,    AfterContactWorkEndTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "AfterContactWorkEndTimestamp"),    AfterContactWorkStartTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "AfterContactWorkStartTimestamp"),    AgentInitiatedHoldDuration: import_smithy_client.expectInt32,    AgentPauseDurationInSeconds: import_smithy_client.expectInt32,    Capabilities: import_smithy_client._json,    ConnectedToAgentTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ConnectedToAgentTimestamp"),    DeviceInfo: import_smithy_client._json,    HierarchyGroups: import_smithy_client._json,    Id: import_smithy_client.expectString,    StateTransitions: /* @__PURE__ */ __name((_) => de_StateTransitions(_, context), "StateTransitions")  });}, "de_AgentInfo");var de_AgentQualityMetrics = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Audio: /* @__PURE__ */ __name((_) => de_AudioQualityMetricsInfo(_, context), "Audio")  });}, "de_AgentQualityMetrics");var de_AgentStatus = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    AgentStatusARN: import_smithy_client.expectString,    AgentStatusId: import_smithy_client.expectString,    Description: import_smithy_client.expectString,    DisplayOrder: import_smithy_client.expectInt32,    LastModifiedRegion: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    Name: import_smithy_client.expectString,    State: import_smithy_client.expectString,    Tags: import_smithy_client._json,    Type: import_smithy_client.expectString  });}, "de_AgentStatus");var de_AgentStatusList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_AgentStatus(entry, context);  });  return retVal;}, "de_AgentStatusList");var de_AgentStatusReference = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    StatusArn: import_smithy_client.expectString,    StatusName: import_smithy_client.expectString,    StatusStartTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StatusStartTimestamp")  });}, "de_AgentStatusReference");var de_AgentStatusSummary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Arn: import_smithy_client.expectString,    Id: import_smithy_client.expectString,    LastModifiedRegion: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    Name: import_smithy_client.expectString,    Type: import_smithy_client.expectString  });}, "de_AgentStatusSummary");var de_AgentStatusSummaryList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_AgentStatusSummary(entry, context);  });  return retVal;}, "de_AgentStatusSummaryList");var de_AssignSlaActionDefinition = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    CaseSlaConfiguration: /* @__PURE__ */ __name((_) => de_CaseSlaConfiguration(_, context), "CaseSlaConfiguration"),    SlaAssignmentType: import_smithy_client.expectString  });}, "de_AssignSlaActionDefinition");var de_AssociatedContactSummary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Channel: import_smithy_client.expectString,    ContactArn: import_smithy_client.expectString,    ContactId: import_smithy_client.expectString,    DisconnectTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "DisconnectTimestamp"),    InitialContactId: import_smithy_client.expectString,    InitiationMethod: import_smithy_client.expectString,    InitiationTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "InitiationTimestamp"),    PreviousContactId: import_smithy_client.expectString,    RelatedContactId: import_smithy_client.expectString  });}, "de_AssociatedContactSummary");var de_AssociatedContactSummaryList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_AssociatedContactSummary(entry, context);  });  return retVal;}, "de_AssociatedContactSummaryList");var de_AttributeCondition = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    ComparisonOperator: import_smithy_client.expectString,    MatchCriteria: import_smithy_client._json,    Name: import_smithy_client.expectString,    ProficiencyLevel: import_smithy_client.limitedParseFloat32,    Range: /* @__PURE__ */ __name((_) => de_Range(_, context), "Range"),    Value: import_smithy_client.expectString  });}, "de_AttributeCondition");var de_AudioQualityMetricsInfo = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    PotentialQualityIssues: import_smithy_client._json,    QualityScore: import_smithy_client.limitedParseFloat32  });}, "de_AudioQualityMetricsInfo");var de_AuthenticationProfile = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    AllowedIps: import_smithy_client._json,    Arn: import_smithy_client.expectString,    BlockedIps: import_smithy_client._json,    CreatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTime"),    Description: import_smithy_client.expectString,    Id: import_smithy_client.expectString,    IsDefault: import_smithy_client.expectBoolean,    LastModifiedRegion: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    MaxSessionDuration: import_smithy_client.expectInt32,    Name: import_smithy_client.expectString,    PeriodicSessionDuration: import_smithy_client.expectInt32  });}, "de_AuthenticationProfile");var de_AuthenticationProfileSummary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Arn: import_smithy_client.expectString,    Id: import_smithy_client.expectString,    IsDefault: import_smithy_client.expectBoolean,    LastModifiedRegion: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    Name: import_smithy_client.expectString  });}, "de_AuthenticationProfileSummary");var de_AuthenticationProfileSummaryList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_AuthenticationProfileSummary(entry, context);  });  return retVal;}, "de_AuthenticationProfileSummaryList");var de_CaseSlaConfiguration = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    FieldId: import_smithy_client.expectString,    Name: import_smithy_client.expectString,    TargetFieldValues: /* @__PURE__ */ __name((_) => de_SlaFieldValueUnionList(_, context), "TargetFieldValues"),    TargetSlaMinutes: import_smithy_client.expectLong,    Type: import_smithy_client.expectString  });}, "de_CaseSlaConfiguration");var de_ChatContactMetrics = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    AgentFirstResponseTimeInMillis: import_smithy_client.expectLong,    AgentFirstResponseTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "AgentFirstResponseTimestamp"),    ConversationCloseTimeInMillis: import_smithy_client.expectLong,    ConversationTurnCount: import_smithy_client.expectInt32,    MultiParty: import_smithy_client.expectBoolean,    TotalBotMessageLengthInChars: import_smithy_client.expectInt32,    TotalBotMessages: import_smithy_client.expectInt32,    TotalMessages: import_smithy_client.expectInt32  });}, "de_ChatContactMetrics");var de_ChatMetrics = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    AgentMetrics: /* @__PURE__ */ __name((_) => de_ParticipantMetrics(_, context), "AgentMetrics"),    ChatContactMetrics: /* @__PURE__ */ __name((_) => de_ChatContactMetrics(_, context), "ChatContactMetrics"),    CustomerMetrics: /* @__PURE__ */ __name((_) => de_ParticipantMetrics(_, context), "CustomerMetrics")  });}, "de_ChatMetrics");var de_Contact = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    AdditionalEmailRecipients: import_smithy_client._json,    AgentInfo: /* @__PURE__ */ __name((_) => de_AgentInfo(_, context), "AgentInfo"),    AnsweringMachineDetectionStatus: import_smithy_client.expectString,    Arn: import_smithy_client.expectString,    Attributes: import_smithy_client._json,    Campaign: import_smithy_client._json,    Channel: import_smithy_client.expectString,    ChatMetrics: /* @__PURE__ */ __name((_) => de_ChatMetrics(_, context), "ChatMetrics"),    ConnectedToSystemTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ConnectedToSystemTimestamp"),    ContactAssociationId: import_smithy_client.expectString,    ContactDetails: import_smithy_client._json,    ContactEvaluations: /* @__PURE__ */ __name((_) => de_ContactEvaluations(_, context), "ContactEvaluations"),    Customer: import_smithy_client._json,    CustomerEndpoint: import_smithy_client._json,    CustomerId: import_smithy_client.expectString,    CustomerVoiceActivity: /* @__PURE__ */ __name((_) => de_CustomerVoiceActivity(_, context), "CustomerVoiceActivity"),    Description: import_smithy_client.expectString,    DisconnectDetails: import_smithy_client._json,    DisconnectReason: import_smithy_client.expectString,    DisconnectTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "DisconnectTimestamp"),    Id: import_smithy_client.expectString,    InitialContactId: import_smithy_client.expectString,    InitiationMethod: import_smithy_client.expectString,    InitiationTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "InitiationTimestamp"),    LastPausedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastPausedTimestamp"),    LastResumedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastResumedTimestamp"),    LastUpdateTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdateTimestamp"),    Name: import_smithy_client.expectString,    PreviousContactId: import_smithy_client.expectString,    QualityMetrics: /* @__PURE__ */ __name((_) => de_QualityMetrics(_, context), "QualityMetrics"),    QueueInfo: /* @__PURE__ */ __name((_) => de_QueueInfo(_, context), "QueueInfo"),    QueuePriority: import_smithy_client.expectLong,    QueueTimeAdjustmentSeconds: import_smithy_client.expectInt32,    Recordings: /* @__PURE__ */ __name((_) => de_Recordings(_, context), "Recordings"),    RelatedContactId: import_smithy_client.expectString,    RoutingCriteria: /* @__PURE__ */ __name((_) => de_RoutingCriteria(_, context), "RoutingCriteria"),    ScheduledTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ScheduledTimestamp"),    SegmentAttributes: /* @__PURE__ */ __name((_) => de_SegmentAttributes(_, context), "SegmentAttributes"),    SystemEndpoint: import_smithy_client._json,    Tags: import_smithy_client._json,    TotalPauseCount: import_smithy_client.expectInt32,    TotalPauseDurationInSeconds: import_smithy_client.expectInt32,    WisdomInfo: import_smithy_client._json  });}, "de_Contact");var de_ContactEvaluation = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    DeleteTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "DeleteTimestamp"),    EndTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTimestamp"),    EvaluationArn: import_smithy_client.expectString,    ExportLocation: import_smithy_client.expectString,    FormId: import_smithy_client.expectString,    StartTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTimestamp"),    Status: import_smithy_client.expectString  });}, "de_ContactEvaluation");var de_ContactEvaluations = /* @__PURE__ */ __name((output, context) => {  return Object.entries(output).reduce((acc, [key, value]) => {    if (value === null) {      return acc;    }    acc[key] = de_ContactEvaluation(value, context);    return acc;  }, {});}, "de_ContactEvaluations");var de_ContactFlow = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Arn: import_smithy_client.expectString,    Content: import_smithy_client.expectString,    Description: import_smithy_client.expectString,    FlowContentSha256: import_smithy_client.expectString,    Id: import_smithy_client.expectString,    LastModifiedRegion: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    Name: import_smithy_client.expectString,    State: import_smithy_client.expectString,    Status: import_smithy_client.expectString,    Tags: import_smithy_client._json,    Type: import_smithy_client.expectString,    Version: import_smithy_client.expectLong,    VersionDescription: import_smithy_client.expectString  });}, "de_ContactFlow");var de_ContactFlowSearchSummaryList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_ContactFlow(entry, context);  });  return retVal;}, "de_ContactFlowSearchSummaryList");var de_ContactMetricResult = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Name: import_smithy_client.expectString,    Value: /* @__PURE__ */ __name((_) => de_ContactMetricValue((0, import_core2.awsExpectUnion)(_), context), "Value")  });}, "de_ContactMetricResult");var de_ContactMetricResults = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_ContactMetricResult(entry, context);  });  return retVal;}, "de_ContactMetricResults");var de_ContactMetricValue = /* @__PURE__ */ __name((output, context) => {  if ((0, import_smithy_client.limitedParseDouble)(output.Number) !== void 0) {    return { Number: (0, import_smithy_client.limitedParseDouble)(output.Number) };  }  return { $unknown: Object.entries(output)[0] };}, "de_ContactMetricValue");var de_Contacts = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_ContactSearchSummary(entry, context);  });  return retVal;}, "de_Contacts");var de_ContactSearchSummary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    AgentInfo: /* @__PURE__ */ __name((_) => de_ContactSearchSummaryAgentInfo(_, context), "AgentInfo"),    Arn: import_smithy_client.expectString,    Channel: import_smithy_client.expectString,    DisconnectTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "DisconnectTimestamp"),    Id: import_smithy_client.expectString,    InitialContactId: import_smithy_client.expectString,    InitiationMethod: import_smithy_client.expectString,    InitiationTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "InitiationTimestamp"),    PreviousContactId: import_smithy_client.expectString,    QueueInfo: /* @__PURE__ */ __name((_) => de_ContactSearchSummaryQueueInfo(_, context), "QueueInfo"),    ScheduledTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ScheduledTimestamp"),    SegmentAttributes: import_smithy_client._json  });}, "de_ContactSearchSummary");var de_ContactSearchSummaryAgentInfo = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    ConnectedToAgentTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ConnectedToAgentTimestamp"),    Id: import_smithy_client.expectString  });}, "de_ContactSearchSummaryAgentInfo");var de_ContactSearchSummaryQueueInfo = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    EnqueueTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EnqueueTimestamp"),    Id: import_smithy_client.expectString  });}, "de_ContactSearchSummaryQueueInfo");var de_CreateCaseActionDefinition = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Fields: /* @__PURE__ */ __name((_) => de_FieldValues(_, context), "Fields"),    TemplateId: import_smithy_client.expectString  });}, "de_CreateCaseActionDefinition");var de_Credentials = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    AccessToken: import_smithy_client.expectString,    AccessTokenExpiration: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "AccessTokenExpiration"),    RefreshToken: import_smithy_client.expectString,    RefreshTokenExpiration: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "RefreshTokenExpiration")  });}, "de_Credentials");var de_CurrentMetricData = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Metric: import_smithy_client._json,    Value: import_smithy_client.limitedParseDouble  });}, "de_CurrentMetricData");var de_CurrentMetricDataCollections = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_CurrentMetricData(entry, context);  });  return retVal;}, "de_CurrentMetricDataCollections");var de_CurrentMetricResult = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Collections: /* @__PURE__ */ __name((_) => de_CurrentMetricDataCollections(_, context), "Collections"),    Dimensions: import_smithy_client._json  });}, "de_CurrentMetricResult");var de_CurrentMetricResults = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_CurrentMetricResult(entry, context);  });  return retVal;}, "de_CurrentMetricResults");var de_CustomerQualityMetrics = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Audio: /* @__PURE__ */ __name((_) => de_AudioQualityMetricsInfo(_, context), "Audio")  });}, "de_CustomerQualityMetrics");var de_CustomerVoiceActivity = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    GreetingEndTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "GreetingEndTimestamp"),    GreetingStartTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "GreetingStartTimestamp")  });}, "de_CustomerVoiceActivity");var de_Evaluation = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Answers: /* @__PURE__ */ __name((_) => de_EvaluationAnswersOutputMap(_, context), "Answers"),    CreatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTime"),    EvaluationArn: import_smithy_client.expectString,    EvaluationId: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    Metadata: /* @__PURE__ */ __name((_) => de_EvaluationMetadata(_, context), "Metadata"),    Notes: import_smithy_client._json,    Scores: /* @__PURE__ */ __name((_) => de_EvaluationScoresMap(_, context), "Scores"),    Status: import_smithy_client.expectString,    Tags: import_smithy_client._json  });}, "de_Evaluation");var de_EvaluationAnswerData = /* @__PURE__ */ __name((output, context) => {  if ((0, import_smithy_client.expectBoolean)(output.NotApplicable) !== void 0) {    return { NotApplicable: (0, import_smithy_client.expectBoolean)(output.NotApplicable) };  }  if ((0, import_smithy_client.limitedParseDouble)(output.NumericValue) !== void 0) {    return { NumericValue: (0, import_smithy_client.limitedParseDouble)(output.NumericValue) };  }  if ((0, import_smithy_client.expectString)(output.StringValue) !== void 0) {    return { StringValue: (0, import_smithy_client.expectString)(output.StringValue) };  }  return { $unknown: Object.entries(output)[0] };}, "de_EvaluationAnswerData");var de_EvaluationAnswerOutput = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    SystemSuggestedValue: /* @__PURE__ */ __name((_) => de_EvaluationAnswerData((0, import_core2.awsExpectUnion)(_), context), "SystemSuggestedValue"),    Value: /* @__PURE__ */ __name((_) => de_EvaluationAnswerData((0, import_core2.awsExpectUnion)(_), context), "Value")  });}, "de_EvaluationAnswerOutput");var de_EvaluationAnswersOutputMap = /* @__PURE__ */ __name((output, context) => {  return Object.entries(output).reduce((acc, [key, value]) => {    if (value === null) {      return acc;    }    acc[key] = de_EvaluationAnswerOutput(value, context);    return acc;  }, {});}, "de_EvaluationAnswersOutputMap");var de_EvaluationForm = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    CreatedBy: import_smithy_client.expectString,    CreatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTime"),    Description: import_smithy_client.expectString,    EvaluationFormArn: import_smithy_client.expectString,    EvaluationFormId: import_smithy_client.expectString,    EvaluationFormVersion: import_smithy_client.expectInt32,    Items: /* @__PURE__ */ __name((_) => de_EvaluationFormItemsList(_, context), "Items"),    LastModifiedBy: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    Locked: import_smithy_client.expectBoolean,    ScoringStrategy: import_smithy_client._json,    Status: import_smithy_client.expectString,    Tags: import_smithy_client._json,    Title: import_smithy_client.expectString  });}, "de_EvaluationForm");var de_EvaluationFormContent = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Description: import_smithy_client.expectString,    EvaluationFormArn: import_smithy_client.expectString,    EvaluationFormId: import_smithy_client.expectString,    EvaluationFormVersion: import_smithy_client.expectInt32,    Items: /* @__PURE__ */ __name((_) => de_EvaluationFormItemsList(_, context), "Items"),    ScoringStrategy: import_smithy_client._json,    Title: import_smithy_client.expectString  });}, "de_EvaluationFormContent");var de_EvaluationFormItem = /* @__PURE__ */ __name((output, context) => {  if (output.Question != null) {    return {      Question: de_EvaluationFormQuestion(output.Question, context)    };  }  if (output.Section != null) {    return {      Section: de_EvaluationFormSection(output.Section, context)    };  }  return { $unknown: Object.entries(output)[0] };}, "de_EvaluationFormItem");var de_EvaluationFormItemsList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_EvaluationFormItem((0, import_core2.awsExpectUnion)(entry), context);  });  return retVal;}, "de_EvaluationFormItemsList");var de_EvaluationFormQuestion = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Instructions: import_smithy_client.expectString,    NotApplicableEnabled: import_smithy_client.expectBoolean,    QuestionType: import_smithy_client.expectString,    QuestionTypeProperties: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "QuestionTypeProperties"),    RefId: import_smithy_client.expectString,    Title: import_smithy_client.expectString,    Weight: import_smithy_client.limitedParseDouble  });}, "de_EvaluationFormQuestion");var de_EvaluationFormSection = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Instructions: import_smithy_client.expectString,    Items: /* @__PURE__ */ __name((_) => de_EvaluationFormItemsList(_, context), "Items"),    RefId: import_smithy_client.expectString,    Title: import_smithy_client.expectString,    Weight: import_smithy_client.limitedParseDouble  });}, "de_EvaluationFormSection");var de_EvaluationFormSummary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    ActiveVersion: import_smithy_client.expectInt32,    CreatedBy: import_smithy_client.expectString,    CreatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTime"),    EvaluationFormArn: import_smithy_client.expectString,    EvaluationFormId: import_smithy_client.expectString,    LastActivatedBy: import_smithy_client.expectString,    LastActivatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastActivatedTime"),    LastModifiedBy: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    LatestVersion: import_smithy_client.expectInt32,    Title: import_smithy_client.expectString  });}, "de_EvaluationFormSummary");var de_EvaluationFormSummaryList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_EvaluationFormSummary(entry, context);  });  return retVal;}, "de_EvaluationFormSummaryList");var de_EvaluationFormVersionSummary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    CreatedBy: import_smithy_client.expectString,    CreatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTime"),    EvaluationFormArn: import_smithy_client.expectString,    EvaluationFormId: import_smithy_client.expectString,    EvaluationFormVersion: import_smithy_client.expectInt32,    LastModifiedBy: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    Locked: import_smithy_client.expectBoolean,    Status: import_smithy_client.expectString  });}, "de_EvaluationFormVersionSummary");var de_EvaluationFormVersionSummaryList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_EvaluationFormVersionSummary(entry, context);  });  return retVal;}, "de_EvaluationFormVersionSummaryList");var de_EvaluationMetadata = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    ContactAgentId: import_smithy_client.expectString,    ContactId: import_smithy_client.expectString,    EvaluatorArn: import_smithy_client.expectString,    Score: /* @__PURE__ */ __name((_) => de_EvaluationScore(_, context), "Score")  });}, "de_EvaluationMetadata");var de_EvaluationScore = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    AutomaticFail: import_smithy_client.expectBoolean,    NotApplicable: import_smithy_client.expectBoolean,    Percentage: import_smithy_client.limitedParseDouble  });}, "de_EvaluationScore");var de_EvaluationScoresMap = /* @__PURE__ */ __name((output, context) => {  return Object.entries(output).reduce((acc, [key, value]) => {    if (value === null) {      return acc;    }    acc[key] = de_EvaluationScore(value, context);    return acc;  }, {});}, "de_EvaluationScoresMap");var de_EvaluationSummary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    CreatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTime"),    EvaluationArn: import_smithy_client.expectString,    EvaluationFormId: import_smithy_client.expectString,    EvaluationFormTitle: import_smithy_client.expectString,    EvaluationId: import_smithy_client.expectString,    EvaluatorArn: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    Score: /* @__PURE__ */ __name((_) => de_EvaluationScore(_, context), "Score"),    Status: import_smithy_client.expectString  });}, "de_EvaluationSummary");var de_EvaluationSummaryList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_EvaluationSummary(entry, context);  });  return retVal;}, "de_EvaluationSummaryList");var de_Expiry = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    DurationInSeconds: import_smithy_client.expectInt32,    ExpiryTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ExpiryTimestamp")  });}, "de_Expiry");var de_Expression = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    AndExpression: /* @__PURE__ */ __name((_) => de_Expressions(_, context), "AndExpression"),    AttributeCondition: /* @__PURE__ */ __name((_) => de_AttributeCondition(_, context), "AttributeCondition"),    NotAttributeCondition: /* @__PURE__ */ __name((_) => de_AttributeCondition(_, context), "NotAttributeCondition"),    OrExpression: /* @__PURE__ */ __name((_) => de_Expressions(_, context), "OrExpression")  });}, "de_Expression");var de_Expressions = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_Expression(entry, context);  });  return retVal;}, "de_Expressions");var de_FieldValue = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Id: import_smithy_client.expectString,    Value: /* @__PURE__ */ __name((_) => de_FieldValueUnion(_, context), "Value")  });}, "de_FieldValue");var de_FieldValues = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_FieldValue(entry, context);  });  return retVal;}, "de_FieldValues");var de_FieldValueUnion = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    BooleanValue: import_smithy_client.expectBoolean,    DoubleValue: import_smithy_client.limitedParseDouble,    EmptyValue: import_smithy_client._json,    StringValue: import_smithy_client.expectString  });}, "de_FieldValueUnion");var de_HierarchyGroup = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Arn: import_smithy_client.expectString,    HierarchyPath: /* @__PURE__ */ __name((_) => de_HierarchyPath(_, context), "HierarchyPath"),    Id: import_smithy_client.expectString,    LastModifiedRegion: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    LevelId: import_smithy_client.expectString,    Name: import_smithy_client.expectString,    Tags: import_smithy_client._json  });}, "de_HierarchyGroup");var de_HierarchyGroupSummary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Arn: import_smithy_client.expectString,    Id: import_smithy_client.expectString,    LastModifiedRegion: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    Name: import_smithy_client.expectString  });}, "de_HierarchyGroupSummary");var de_HierarchyGroupSummaryList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_HierarchyGroupSummary(entry, context);  });  return retVal;}, "de_HierarchyGroupSummaryList");var de_HierarchyLevel = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Arn: import_smithy_client.expectString,    Id: import_smithy_client.expectString,    LastModifiedRegion: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    Name: import_smithy_client.expectString  });}, "de_HierarchyLevel");var de_HierarchyPath = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    LevelFive: /* @__PURE__ */ __name((_) => de_HierarchyGroupSummary(_, context), "LevelFive"),    LevelFour: /* @__PURE__ */ __name((_) => de_HierarchyGroupSummary(_, context), "LevelFour"),    LevelOne: /* @__PURE__ */ __name((_) => de_HierarchyGroupSummary(_, context), "LevelOne"),    LevelThree: /* @__PURE__ */ __name((_) => de_HierarchyGroupSummary(_, context), "LevelThree"),    LevelTwo: /* @__PURE__ */ __name((_) => de_HierarchyGroupSummary(_, context), "LevelTwo")  });}, "de_HierarchyPath");var de_HierarchyStructure = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    LevelFive: /* @__PURE__ */ __name((_) => de_HierarchyLevel(_, context), "LevelFive"),    LevelFour: /* @__PURE__ */ __name((_) => de_HierarchyLevel(_, context), "LevelFour"),    LevelOne: /* @__PURE__ */ __name((_) => de_HierarchyLevel(_, context), "LevelOne"),    LevelThree: /* @__PURE__ */ __name((_) => de_HierarchyLevel(_, context), "LevelThree"),    LevelTwo: /* @__PURE__ */ __name((_) => de_HierarchyLevel(_, context), "LevelTwo")  });}, "de_HierarchyStructure");var de_HistoricalMetric = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Name: import_smithy_client.expectString,    Statistic: import_smithy_client.expectString,    Threshold: /* @__PURE__ */ __name((_) => de_Threshold(_, context), "Threshold"),    Unit: import_smithy_client.expectString  });}, "de_HistoricalMetric");var de_HistoricalMetricData = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Metric: /* @__PURE__ */ __name((_) => de_HistoricalMetric(_, context), "Metric"),    Value: import_smithy_client.limitedParseDouble  });}, "de_HistoricalMetricData");var de_HistoricalMetricDataCollections = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_HistoricalMetricData(entry, context);  });  return retVal;}, "de_HistoricalMetricDataCollections");var de_HistoricalMetricResult = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Collections: /* @__PURE__ */ __name((_) => de_HistoricalMetricDataCollections(_, context), "Collections"),    Dimensions: import_smithy_client._json  });}, "de_HistoricalMetricResult");var de_HistoricalMetricResults = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_HistoricalMetricResult(entry, context);  });  return retVal;}, "de_HistoricalMetricResults");var de_HoursOfOperation = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Config: import_smithy_client._json,    Description: import_smithy_client.expectString,    HoursOfOperationArn: import_smithy_client.expectString,    HoursOfOperationId: import_smithy_client.expectString,    LastModifiedRegion: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    Name: import_smithy_client.expectString,    Tags: import_smithy_client._json,    TimeZone: import_smithy_client.expectString  });}, "de_HoursOfOperation");var de_HoursOfOperationList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_HoursOfOperation(entry, context);  });  return retVal;}, "de_HoursOfOperationList");var de_HoursOfOperationSummary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Arn: import_smithy_client.expectString,    Id: import_smithy_client.expectString,    LastModifiedRegion: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    Name: import_smithy_client.expectString  });}, "de_HoursOfOperationSummary");var de_HoursOfOperationSummaryList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_HoursOfOperationSummary(entry, context);  });  return retVal;}, "de_HoursOfOperationSummaryList");var de_Instance = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Arn: import_smithy_client.expectString,    CreatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTime"),    Id: import_smithy_client.expectString,    IdentityManagementType: import_smithy_client.expectString,    InboundCallsEnabled: import_smithy_client.expectBoolean,    InstanceAccessUrl: import_smithy_client.expectString,    InstanceAlias: import_smithy_client.expectString,    InstanceStatus: import_smithy_client.expectString,    OutboundCallsEnabled: import_smithy_client.expectBoolean,    ServiceRole: import_smithy_client.expectString,    StatusReason: import_smithy_client._json,    Tags: import_smithy_client._json  });}, "de_Instance");var de_InstanceSummary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Arn: import_smithy_client.expectString,    CreatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTime"),    Id: import_smithy_client.expectString,    IdentityManagementType: import_smithy_client.expectString,    InboundCallsEnabled: import_smithy_client.expectBoolean,    InstanceAccessUrl: import_smithy_client.expectString,    InstanceAlias: import_smithy_client.expectString,    InstanceStatus: import_smithy_client.expectString,    OutboundCallsEnabled: import_smithy_client.expectBoolean,    ServiceRole: import_smithy_client.expectString  });}, "de_InstanceSummary");var de_InstanceSummaryList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_InstanceSummary(entry, context);  });  return retVal;}, "de_InstanceSummaryList");var de_MetricDataCollectionsV2 = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_MetricDataV2(entry, context);  });  return retVal;}, "de_MetricDataCollectionsV2");var de_MetricDataV2 = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Metric: /* @__PURE__ */ __name((_) => de_MetricV2(_, context), "Metric"),    Value: import_smithy_client.limitedParseDouble  });}, "de_MetricDataV2");var de_MetricInterval = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"),    Interval: import_smithy_client.expectString,    StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime")  });}, "de_MetricInterval");var de_MetricResultsV2 = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_MetricResultV2(entry, context);  });  return retVal;}, "de_MetricResultsV2");var de_MetricResultV2 = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Collections: /* @__PURE__ */ __name((_) => de_MetricDataCollectionsV2(_, context), "Collections"),    Dimensions: import_smithy_client._json,    MetricInterval: /* @__PURE__ */ __name((_) => de_MetricInterval(_, context), "MetricInterval")  });}, "de_MetricResultV2");var de_MetricV2 = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    MetricFilters: import_smithy_client._json,    Name: import_smithy_client.expectString,    Threshold: /* @__PURE__ */ __name((_) => de_ThresholdCollections(_, context), "Threshold")  });}, "de_MetricV2");var de_ParticipantMetrics = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    ConversationAbandon: import_smithy_client.expectBoolean,    LastMessageTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastMessageTimestamp"),    MaxResponseTimeInMillis: import_smithy_client.expectLong,    MessageLengthInChars: import_smithy_client.expectInt32,    MessagesSent: import_smithy_client.expectInt32,    NumResponses: import_smithy_client.expectInt32,    ParticipantId: import_smithy_client.expectString,    ParticipantType: import_smithy_client.expectString,    TotalResponseTimeInMillis: import_smithy_client.expectLong  });}, "de_ParticipantMetrics");var de_PredefinedAttribute = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    AttributeConfiguration: import_smithy_client._json,    LastModifiedRegion: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    Name: import_smithy_client.expectString,    Purposes: import_smithy_client._json,    Values: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "Values")  });}, "de_PredefinedAttribute");var de_PredefinedAttributeSearchSummaryList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_PredefinedAttribute(entry, context);  });  return retVal;}, "de_PredefinedAttributeSearchSummaryList");var de_PredefinedAttributeSummary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    LastModifiedRegion: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    Name: import_smithy_client.expectString  });}, "de_PredefinedAttributeSummary");var de_PredefinedAttributeSummaryList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_PredefinedAttributeSummary(entry, context);  });  return retVal;}, "de_PredefinedAttributeSummaryList");var de_Prompt = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Description: import_smithy_client.expectString,    LastModifiedRegion: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    Name: import_smithy_client.expectString,    PromptARN: import_smithy_client.expectString,    PromptId: import_smithy_client.expectString,    Tags: import_smithy_client._json  });}, "de_Prompt");var de_PromptList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_Prompt(entry, context);  });  return retVal;}, "de_PromptList");var de_PromptSummary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Arn: import_smithy_client.expectString,    Id: import_smithy_client.expectString,    LastModifiedRegion: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    Name: import_smithy_client.expectString  });}, "de_PromptSummary");var de_PromptSummaryList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_PromptSummary(entry, context);  });  return retVal;}, "de_PromptSummaryList");var de_QualityMetrics = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Agent: /* @__PURE__ */ __name((_) => de_AgentQualityMetrics(_, context), "Agent"),    Customer: /* @__PURE__ */ __name((_) => de_CustomerQualityMetrics(_, context), "Customer")  });}, "de_QualityMetrics");var de_Queue = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Description: import_smithy_client.expectString,    HoursOfOperationId: import_smithy_client.expectString,    LastModifiedRegion: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    MaxContacts: import_smithy_client.expectInt32,    Name: import_smithy_client.expectString,    OutboundCallerConfig: import_smithy_client._json,    OutboundEmailConfig: import_smithy_client._json,    QueueArn: import_smithy_client.expectString,    QueueId: import_smithy_client.expectString,    Status: import_smithy_client.expectString,    Tags: import_smithy_client._json  });}, "de_Queue");var de_QueueInfo = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    EnqueueTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EnqueueTimestamp"),    Id: import_smithy_client.expectString  });}, "de_QueueInfo");var de_QueueSearchSummaryList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_Queue(entry, context);  });  return retVal;}, "de_QueueSearchSummaryList");var de_QueueSummary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Arn: import_smithy_client.expectString,    Id: import_smithy_client.expectString,    LastModifiedRegion: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    Name: import_smithy_client.expectString,    QueueType: import_smithy_client.expectString  });}, "de_QueueSummary");var de_QueueSummaryList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_QueueSummary(entry, context);  });  return retVal;}, "de_QueueSummaryList");var de_QuickConnect = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Description: import_smithy_client.expectString,    LastModifiedRegion: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    Name: import_smithy_client.expectString,    QuickConnectARN: import_smithy_client.expectString,    QuickConnectConfig: import_smithy_client._json,    QuickConnectId: import_smithy_client.expectString,    Tags: import_smithy_client._json  });}, "de_QuickConnect");var de_QuickConnectSearchSummaryList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_QuickConnect(entry, context);  });  return retVal;}, "de_QuickConnectSearchSummaryList");var de_QuickConnectSummary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Arn: import_smithy_client.expectString,    Id: import_smithy_client.expectString,    LastModifiedRegion: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    Name: import_smithy_client.expectString,    QuickConnectType: import_smithy_client.expectString  });}, "de_QuickConnectSummary");var de_QuickConnectSummaryList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_QuickConnectSummary(entry, context);  });  return retVal;}, "de_QuickConnectSummaryList");var de_Range = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    MaxProficiencyLevel: import_smithy_client.limitedParseFloat32,    MinProficiencyLevel: import_smithy_client.limitedParseFloat32  });}, "de_Range");var de_RealtimeContactAnalysisSegment = /* @__PURE__ */ __name((output, context) => {  if (output.Attachments != null) {    return {      Attachments: de_RealTimeContactAnalysisSegmentAttachments(output.Attachments, context)    };  }  if (output.Categories != null) {    return {      Categories: (0, import_smithy_client._json)(output.Categories)    };  }  if (output.Event != null) {    return {      Event: de_RealTimeContactAnalysisSegmentEvent(output.Event, context)    };  }  if (output.Issues != null) {    return {      Issues: (0, import_smithy_client._json)(output.Issues)    };  }  if (output.PostContactSummary != null) {    return {      PostContactSummary: (0, import_smithy_client._json)(output.PostContactSummary)    };  }  if (output.Transcript != null) {    return {      Transcript: de_RealTimeContactAnalysisSegmentTranscript(output.Transcript, context)    };  }  return { $unknown: Object.entries(output)[0] };}, "de_RealtimeContactAnalysisSegment");var de_RealTimeContactAnalysisSegmentAttachments = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Attachments: import_smithy_client._json,    DisplayName: import_smithy_client.expectString,    Id: import_smithy_client.expectString,    ParticipantId: import_smithy_client.expectString,    ParticipantRole: import_smithy_client.expectString,    Time: /* @__PURE__ */ __name((_) => de_RealTimeContactAnalysisTimeData((0, import_core2.awsExpectUnion)(_), context), "Time")  });}, "de_RealTimeContactAnalysisSegmentAttachments");var de_RealTimeContactAnalysisSegmentEvent = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    DisplayName: import_smithy_client.expectString,    EventType: import_smithy_client.expectString,    Id: import_smithy_client.expectString,    ParticipantId: import_smithy_client.expectString,    ParticipantRole: import_smithy_client.expectString,    Time: /* @__PURE__ */ __name((_) => de_RealTimeContactAnalysisTimeData((0, import_core2.awsExpectUnion)(_), context), "Time")  });}, "de_RealTimeContactAnalysisSegmentEvent");var de_RealtimeContactAnalysisSegments = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_RealtimeContactAnalysisSegment((0, import_core2.awsExpectUnion)(entry), context);  });  return retVal;}, "de_RealtimeContactAnalysisSegments");var de_RealTimeContactAnalysisSegmentTranscript = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Content: import_smithy_client.expectString,    ContentType: import_smithy_client.expectString,    DisplayName: import_smithy_client.expectString,    Id: import_smithy_client.expectString,    ParticipantId: import_smithy_client.expectString,    ParticipantRole: import_smithy_client.expectString,    Redaction: import_smithy_client._json,    Sentiment: import_smithy_client.expectString,    Time: /* @__PURE__ */ __name((_) => de_RealTimeContactAnalysisTimeData((0, import_core2.awsExpectUnion)(_), context), "Time")  });}, "de_RealTimeContactAnalysisSegmentTranscript");var de_RealTimeContactAnalysisTimeData = /* @__PURE__ */ __name((output, context) => {  if (output.AbsoluteTime != null) {    return {      AbsoluteTime: (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output.AbsoluteTime))    };  }  return { $unknown: Object.entries(output)[0] };}, "de_RealTimeContactAnalysisTimeData");var de_RecordingInfo = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    DeletionReason: import_smithy_client.expectString,    FragmentStartNumber: import_smithy_client.expectString,    FragmentStopNumber: import_smithy_client.expectString,    Location: import_smithy_client.expectString,    MediaStreamType: import_smithy_client.expectString,    ParticipantType: import_smithy_client.expectString,    StartTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTimestamp"),    Status: import_smithy_client.expectString,    StopTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StopTimestamp"),    StorageType: import_smithy_client.expectString  });}, "de_RecordingInfo");var de_Recordings = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_RecordingInfo(entry, context);  });  return retVal;}, "de_Recordings");var de_RoutingCriteria = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    ActivationTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ActivationTimestamp"),    Index: import_smithy_client.expectInt32,    Steps: /* @__PURE__ */ __name((_) => de_Steps(_, context), "Steps")  });}, "de_RoutingCriteria");var de_RoutingProfile = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    AgentAvailabilityTimer: import_smithy_client.expectString,    AssociatedQueueIds: import_smithy_client._json,    DefaultOutboundQueueId: import_smithy_client.expectString,    Description: import_smithy_client.expectString,    InstanceId: import_smithy_client.expectString,    IsDefault: import_smithy_client.expectBoolean,    LastModifiedRegion: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    MediaConcurrencies: import_smithy_client._json,    Name: import_smithy_client.expectString,    NumberOfAssociatedQueues: import_smithy_client.expectLong,    NumberOfAssociatedUsers: import_smithy_client.expectLong,    RoutingProfileArn: import_smithy_client.expectString,    RoutingProfileId: import_smithy_client.expectString,    Tags: import_smithy_client._json  });}, "de_RoutingProfile");var de_RoutingProfileList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_RoutingProfile(entry, context);  });  return retVal;}, "de_RoutingProfileList");var de_RoutingProfileSummary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Arn: import_smithy_client.expectString,    Id: import_smithy_client.expectString,    LastModifiedRegion: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    Name: import_smithy_client.expectString  });}, "de_RoutingProfileSummary");var de_RoutingProfileSummaryList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_RoutingProfileSummary(entry, context);  });  return retVal;}, "de_RoutingProfileSummaryList");var de_Rule = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Actions: /* @__PURE__ */ __name((_) => de_RuleActions(_, context), "Actions"),    CreatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTime"),    Function: import_smithy_client.expectString,    LastUpdatedBy: import_smithy_client.expectString,    LastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTime"),    Name: import_smithy_client.expectString,    PublishStatus: import_smithy_client.expectString,    RuleArn: import_smithy_client.expectString,    RuleId: import_smithy_client.expectString,    Tags: import_smithy_client._json,    TriggerEventSource: import_smithy_client._json  });}, "de_Rule");var de_RuleAction = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    ActionType: import_smithy_client.expectString,    AssignContactCategoryAction: import_smithy_client._json,    AssignSlaAction: /* @__PURE__ */ __name((_) => de_AssignSlaActionDefinition(_, context), "AssignSlaAction"),    CreateCaseAction: /* @__PURE__ */ __name((_) => de_CreateCaseActionDefinition(_, context), "CreateCaseAction"),    EndAssociatedTasksAction: import_smithy_client._json,    EventBridgeAction: import_smithy_client._json,    SendNotificationAction: import_smithy_client._json,    SubmitAutoEvaluationAction: import_smithy_client._json,    TaskAction: import_smithy_client._json,    UpdateCaseAction: /* @__PURE__ */ __name((_) => de_UpdateCaseActionDefinition(_, context), "UpdateCaseAction")  });}, "de_RuleAction");var de_RuleActions = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_RuleAction(entry, context);  });  return retVal;}, "de_RuleActions");var de_RuleSummary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    ActionSummaries: import_smithy_client._json,    CreatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTime"),    EventSourceName: import_smithy_client.expectString,    LastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTime"),    Name: import_smithy_client.expectString,    PublishStatus: import_smithy_client.expectString,    RuleArn: import_smithy_client.expectString,    RuleId: import_smithy_client.expectString  });}, "de_RuleSummary");var de_RuleSummaryList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_RuleSummary(entry, context);  });  return retVal;}, "de_RuleSummaryList");var de_SecurityKey = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    AssociationId: import_smithy_client.expectString,    CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),    Key: import_smithy_client.expectString  });}, "de_SecurityKey");var de_SecurityKeysList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_SecurityKey(entry, context);  });  return retVal;}, "de_SecurityKeysList");var de_SecurityProfile = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    AllowedAccessControlHierarchyGroupId: import_smithy_client.expectString,    AllowedAccessControlTags: import_smithy_client._json,    Arn: import_smithy_client.expectString,    Description: import_smithy_client.expectString,    HierarchyRestrictedResources: import_smithy_client._json,    Id: import_smithy_client.expectString,    LastModifiedRegion: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    OrganizationResourceId: import_smithy_client.expectString,    SecurityProfileName: import_smithy_client.expectString,    TagRestrictedResources: import_smithy_client._json,    Tags: import_smithy_client._json  });}, "de_SecurityProfile");var de_SecurityProfileSummary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Arn: import_smithy_client.expectString,    Id: import_smithy_client.expectString,    LastModifiedRegion: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    Name: import_smithy_client.expectString  });}, "de_SecurityProfileSummary");var de_SecurityProfileSummaryList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_SecurityProfileSummary(entry, context);  });  return retVal;}, "de_SecurityProfileSummaryList");var de_SegmentAttributes = /* @__PURE__ */ __name((output, context) => {  return Object.entries(output).reduce((acc, [key, value]) => {    if (value === null) {      return acc;    }    acc[key] = de_SegmentAttributeValue(value, context);    return acc;  }, {});}, "de_SegmentAttributes");var de_SegmentAttributeValue = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    ValueArn: import_smithy_client.expectString,    ValueInteger: import_smithy_client.expectInt32,    ValueList: /* @__PURE__ */ __name((_) => de_SegmentAttributeValueList(_, context), "ValueList"),    ValueMap: /* @__PURE__ */ __name((_) => de_SegmentAttributeValueMap(_, context), "ValueMap"),    ValueString: import_smithy_client.expectString  });}, "de_SegmentAttributeValue");var de_SegmentAttributeValueList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_SegmentAttributeValue(entry, context);  });  return retVal;}, "de_SegmentAttributeValueList");var de_SegmentAttributeValueMap = /* @__PURE__ */ __name((output, context) => {  return Object.entries(output).reduce((acc, [key, value]) => {    if (value === null) {      return acc;    }    acc[key] = de_SegmentAttributeValue(value, context);    return acc;  }, {});}, "de_SegmentAttributeValueMap");var de_SlaFieldValueUnionList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_FieldValueUnion(entry, context);  });  return retVal;}, "de_SlaFieldValueUnionList");var de_StateTransition = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    State: import_smithy_client.expectString,    StateEndTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StateEndTimestamp"),    StateStartTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StateStartTimestamp")  });}, "de_StateTransition");var de_StateTransitions = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_StateTransition(entry, context);  });  return retVal;}, "de_StateTransitions");var de_Step = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Expiry: /* @__PURE__ */ __name((_) => de_Expiry(_, context), "Expiry"),    Expression: /* @__PURE__ */ __name((_) => de_Expression(_, context), "Expression"),    Status: import_smithy_client.expectString  });}, "de_Step");var de_Steps = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_Step(entry, context);  });  return retVal;}, "de_Steps");var de_TaskTemplateList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_TaskTemplateMetadata(entry, context);  });  return retVal;}, "de_TaskTemplateList");var de_TaskTemplateMetadata = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Arn: import_smithy_client.expectString,    CreatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTime"),    Description: import_smithy_client.expectString,    Id: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    Name: import_smithy_client.expectString,    Status: import_smithy_client.expectString  });}, "de_TaskTemplateMetadata");var de_Threshold = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Comparison: import_smithy_client.expectString,    ThresholdValue: import_smithy_client.limitedParseDouble  });}, "de_Threshold");var de_ThresholdCollections = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_ThresholdV2(entry, context);  });  return retVal;}, "de_ThresholdCollections");var de_ThresholdV2 = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Comparison: import_smithy_client.expectString,    ThresholdValue: import_smithy_client.limitedParseDouble  });}, "de_ThresholdV2");var de_UpdateCaseActionDefinition = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Fields: /* @__PURE__ */ __name((_) => de_FieldValues(_, context), "Fields")  });}, "de_UpdateCaseActionDefinition");var de_User = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Arn: import_smithy_client.expectString,    DirectoryUserId: import_smithy_client.expectString,    HierarchyGroupId: import_smithy_client.expectString,    Id: import_smithy_client.expectString,    IdentityInfo: import_smithy_client._json,    LastModifiedRegion: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    PhoneConfig: import_smithy_client._json,    RoutingProfileId: import_smithy_client.expectString,    SecurityProfileIds: import_smithy_client._json,    Tags: import_smithy_client._json,    Username: import_smithy_client.expectString  });}, "de_User");var de_UserData = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    ActiveSlotsByChannel: import_smithy_client._json,    AvailableSlotsByChannel: import_smithy_client._json,    Contacts: /* @__PURE__ */ __name((_) => de_AgentContactReferenceList(_, context), "Contacts"),    HierarchyPath: import_smithy_client._json,    MaxSlotsByChannel: import_smithy_client._json,    NextStatus: import_smithy_client.expectString,    RoutingProfile: import_smithy_client._json,    Status: /* @__PURE__ */ __name((_) => de_AgentStatusReference(_, context), "Status"),    User: import_smithy_client._json  });}, "de_UserData");var de_UserDataList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_UserData(entry, context);  });  return retVal;}, "de_UserDataList");var de_UserHierarchyGroupList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_HierarchyGroup(entry, context);  });  return retVal;}, "de_UserHierarchyGroupList");var de_UserProficiency = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    AttributeName: import_smithy_client.expectString,    AttributeValue: import_smithy_client.expectString,    Level: import_smithy_client.limitedParseFloat32  });}, "de_UserProficiency");var de_UserProficiencyList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_UserProficiency(entry, context);  });  return retVal;}, "de_UserProficiencyList");var de_UserSummary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Arn: import_smithy_client.expectString,    Id: import_smithy_client.expectString,    LastModifiedRegion: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    Username: import_smithy_client.expectString  });}, "de_UserSummary");var de_UserSummaryList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_UserSummary(entry, context);  });  return retVal;}, "de_UserSummaryList");var de_View = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Arn: import_smithy_client.expectString,    Content: import_smithy_client._json,    CreatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTime"),    Description: import_smithy_client.expectString,    Id: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    Name: import_smithy_client.expectString,    Status: import_smithy_client.expectString,    Tags: import_smithy_client._json,    Type: import_smithy_client.expectString,    Version: import_smithy_client.expectInt32,    VersionDescription: import_smithy_client.expectString,    ViewContentSha256: import_smithy_client.expectString  });}, "de_View");var de_Vocabulary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Arn: import_smithy_client.expectString,    Content: import_smithy_client.expectString,    FailureReason: import_smithy_client.expectString,    Id: import_smithy_client.expectString,    LanguageCode: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    Name: import_smithy_client.expectString,    State: import_smithy_client.expectString,    Tags: import_smithy_client._json  });}, "de_Vocabulary");var de_VocabularySummary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Arn: import_smithy_client.expectString,    FailureReason: import_smithy_client.expectString,    Id: import_smithy_client.expectString,    LanguageCode: import_smithy_client.expectString,    LastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedTime"),    Name: import_smithy_client.expectString,    State: import_smithy_client.expectString  });}, "de_VocabularySummary");var de_VocabularySummaryList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_VocabularySummary(entry, context);  });  return retVal;}, "de_VocabularySummaryList");var deserializeMetadata = /* @__PURE__ */ __name((output) => ({  httpStatusCode: output.statusCode,  requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],  extendedRequestId: output.headers["x-amz-id-2"],  cfId: output.headers["x-amz-cf-id"]}), "deserializeMetadata");var _ARA = "AssociatedResourceArn";var _AST = "AgentStatusTypes";var _BN = "BotName";var _CFMS = "ContactFlowModuleState";var _CFT = "ContactFlowTypes";var _CI = "ContactId";var _CT = "ClientToken";var _DSI = "DataSetId";var _EFV = "EvaluationFormVersion";var _ESN = "EventSourceName";var _FA = "FunctionArn";var _FD = "FromDate";var _IA = "IntegrationArn";var _II = "InstanceId";var _IT = "IntegrationType";var _LR = "LexRegion";var _LV = "LexVersion";var _MR = "MaxResults";var _N = "Name";var _NT = "NextToken";var _O = "Origin";var _PNCC = "PhoneNumberCountryCodes";var _PNT = "PhoneNumberTypes";var _PS = "PublishStatus";var _QCT = "QuickConnectTypes";var _QT = "QueueTypes";var _RT = "ResourceType";var _RTe = "Refe

Preview truncated. File is larger than the inline limit.