@aws-sdk/client-connect 3.929.0 → 3.931.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -286,14 +286,6 @@ const AttachedFileInvalidRequestExceptionReason = {
286
286
  INVALID_FILE_SIZE: "INVALID_FILE_SIZE",
287
287
  INVALID_FILE_TYPE: "INVALID_FILE_TYPE",
288
288
  };
289
- exports.InvalidRequestExceptionReason = void 0;
290
- (function (InvalidRequestExceptionReason) {
291
- InvalidRequestExceptionReason.visit = (value, visitor) => {
292
- if (value.AttachedFileInvalidRequestExceptionReason !== undefined)
293
- return visitor.AttachedFileInvalidRequestExceptionReason(value.AttachedFileInvalidRequestExceptionReason);
294
- return visitor._(value.$unknown[0], value.$unknown[1]);
295
- };
296
- })(exports.InvalidRequestExceptionReason || (exports.InvalidRequestExceptionReason = {}));
297
289
  let InvalidRequestException$1 = class InvalidRequestException extends ConnectServiceException$1 {
298
290
  name = "InvalidRequestException";
299
291
  $fault = "client";
@@ -314,14 +306,6 @@ const AttachedFileServiceQuotaExceededExceptionReason = {
314
306
  TOTAL_FILE_COUNT_EXCEEDED: "TOTAL_FILE_COUNT_EXCEEDED",
315
307
  TOTAL_FILE_SIZE_EXCEEDED: "TOTAL_FILE_SIZE_EXCEEDED",
316
308
  };
317
- exports.ServiceQuotaExceededExceptionReason = void 0;
318
- (function (ServiceQuotaExceededExceptionReason) {
319
- ServiceQuotaExceededExceptionReason.visit = (value, visitor) => {
320
- if (value.AttachedFileServiceQuotaExceededExceptionReason !== undefined)
321
- return visitor.AttachedFileServiceQuotaExceededExceptionReason(value.AttachedFileServiceQuotaExceededExceptionReason);
322
- return visitor._(value.$unknown[0], value.$unknown[1]);
323
- };
324
- })(exports.ServiceQuotaExceededExceptionReason || (exports.ServiceQuotaExceededExceptionReason = {}));
325
309
  let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends ConnectServiceException$1 {
326
310
  name = "ServiceQuotaExceededException";
327
311
  $fault = "client";
@@ -432,16 +416,6 @@ const StorageType = {
432
416
  KINESIS_VIDEO_STREAM: "KINESIS_VIDEO_STREAM",
433
417
  S3: "S3",
434
418
  };
435
- exports.CreatedByInfo = void 0;
436
- (function (CreatedByInfo) {
437
- CreatedByInfo.visit = (value, visitor) => {
438
- if (value.ConnectUserArn !== undefined)
439
- return visitor.ConnectUserArn(value.ConnectUserArn);
440
- if (value.AWSIdentityArn !== undefined)
441
- return visitor.AWSIdentityArn(value.AWSIdentityArn);
442
- return visitor._(value.$unknown[0], value.$unknown[1]);
443
- };
444
- })(exports.CreatedByInfo || (exports.CreatedByInfo = {}));
445
419
  const FileStatusType = {
446
420
  APPROVED: "APPROVED",
447
421
  FAILED: "FAILED",
@@ -616,44 +590,14 @@ const NumericQuestionPropertyAutomationLabel = {
616
590
  OVERALL_AGENT_SENTIMENT_SCORE: "OVERALL_AGENT_SENTIMENT_SCORE",
617
591
  OVERALL_CUSTOMER_SENTIMENT_SCORE: "OVERALL_CUSTOMER_SENTIMENT_SCORE",
618
592
  };
619
- exports.EvaluationFormNumericQuestionAutomation = void 0;
620
- (function (EvaluationFormNumericQuestionAutomation) {
621
- EvaluationFormNumericQuestionAutomation.visit = (value, visitor) => {
622
- if (value.PropertyValue !== undefined)
623
- return visitor.PropertyValue(value.PropertyValue);
624
- if (value.AnswerSource !== undefined)
625
- return visitor.AnswerSource(value.AnswerSource);
626
- return visitor._(value.$unknown[0], value.$unknown[1]);
627
- };
628
- })(exports.EvaluationFormNumericQuestionAutomation || (exports.EvaluationFormNumericQuestionAutomation = {}));
629
593
  const SingleSelectQuestionRuleCategoryAutomationCondition = {
630
594
  NOT_PRESENT: "NOT_PRESENT",
631
595
  PRESENT: "PRESENT",
632
596
  };
633
- exports.EvaluationFormSingleSelectQuestionAutomationOption = void 0;
634
- (function (EvaluationFormSingleSelectQuestionAutomationOption) {
635
- EvaluationFormSingleSelectQuestionAutomationOption.visit = (value, visitor) => {
636
- if (value.RuleCategory !== undefined)
637
- return visitor.RuleCategory(value.RuleCategory);
638
- return visitor._(value.$unknown[0], value.$unknown[1]);
639
- };
640
- })(exports.EvaluationFormSingleSelectQuestionAutomationOption || (exports.EvaluationFormSingleSelectQuestionAutomationOption = {}));
641
597
  const EvaluationFormSingleSelectQuestionDisplayMode = {
642
598
  DROPDOWN: "DROPDOWN",
643
599
  RADIO: "RADIO",
644
600
  };
645
- exports.EvaluationFormQuestionTypeProperties = void 0;
646
- (function (EvaluationFormQuestionTypeProperties) {
647
- EvaluationFormQuestionTypeProperties.visit = (value, visitor) => {
648
- if (value.Numeric !== undefined)
649
- return visitor.Numeric(value.Numeric);
650
- if (value.SingleSelect !== undefined)
651
- return visitor.SingleSelect(value.SingleSelect);
652
- if (value.Text !== undefined)
653
- return visitor.Text(value.Text);
654
- return visitor._(value.$unknown[0], value.$unknown[1]);
655
- };
656
- })(exports.EvaluationFormQuestionTypeProperties || (exports.EvaluationFormQuestionTypeProperties = {}));
657
601
  const EvaluationFormScoringMode = {
658
602
  QUESTION_ONLY: "QUESTION_ONLY",
659
603
  SECTION_ONLY: "SECTION_ONLY",
@@ -717,14 +661,6 @@ const RehydrationType = {
717
661
  ENTIRE_PAST_SESSION: "ENTIRE_PAST_SESSION",
718
662
  FROM_SEGMENT: "FROM_SEGMENT",
719
663
  };
720
- exports.PredefinedAttributeValues = void 0;
721
- (function (PredefinedAttributeValues) {
722
- PredefinedAttributeValues.visit = (value, visitor) => {
723
- if (value.StringList !== undefined)
724
- return visitor.StringList(value.StringList);
725
- return visitor._(value.$unknown[0], value.$unknown[1]);
726
- };
727
- })(exports.PredefinedAttributeValues || (exports.PredefinedAttributeValues = {}));
728
664
  const DeviceType = {
729
665
  APNS: "APNS",
730
666
  APNS_SANDBOX: "APNS_SANDBOX",
@@ -938,16 +874,6 @@ const QuestionRuleCategoryAutomationCondition = {
938
874
  NOT_PRESENT: "NOT_PRESENT",
939
875
  PRESENT: "PRESENT",
940
876
  };
941
- exports.EvaluationQuestionAnswerAnalysisDetails = void 0;
942
- (function (EvaluationQuestionAnswerAnalysisDetails) {
943
- EvaluationQuestionAnswerAnalysisDetails.visit = (value, visitor) => {
944
- if (value.GenAI !== undefined)
945
- return visitor.GenAI(value.GenAI);
946
- if (value.ContactLens !== undefined)
947
- return visitor.ContactLens(value.ContactLens);
948
- return visitor._(value.$unknown[0], value.$unknown[1]);
949
- };
950
- })(exports.EvaluationQuestionAnswerAnalysisDetails || (exports.EvaluationQuestionAnswerAnalysisDetails = {}));
951
877
  const EvaluationQuestionAnswerAnalysisType = {
952
878
  CONTACT_LENS_DATA: "CONTACT_LENS_DATA",
953
879
  GEN_AI: "GEN_AI",
@@ -961,18 +887,6 @@ const EvaluationSuggestedAnswerStatus = {
961
887
  IN_PROGRESS: "IN_PROGRESS",
962
888
  SUCCEEDED: "SUCCEEDED",
963
889
  };
964
- exports.EvaluationAnswerData = void 0;
965
- (function (EvaluationAnswerData) {
966
- EvaluationAnswerData.visit = (value, visitor) => {
967
- if (value.StringValue !== undefined)
968
- return visitor.StringValue(value.StringValue);
969
- if (value.NumericValue !== undefined)
970
- return visitor.NumericValue(value.NumericValue);
971
- if (value.NotApplicable !== undefined)
972
- return visitor.NotApplicable(value.NotApplicable);
973
- return visitor._(value.$unknown[0], value.$unknown[1]);
974
- };
975
- })(exports.EvaluationAnswerData || (exports.EvaluationAnswerData = {}));
976
890
  const EvaluationType = {
977
891
  CALIBRATION: "CALIBRATION",
978
892
  STANDARD: "STANDARD",
@@ -1311,14 +1225,6 @@ const TrafficDistributionGroupStatus = {
1311
1225
  const ContactMetricName = {
1312
1226
  POSITION_IN_QUEUE: "POSITION_IN_QUEUE",
1313
1227
  };
1314
- exports.ContactMetricValue = void 0;
1315
- (function (ContactMetricValue) {
1316
- ContactMetricValue.visit = (value, visitor) => {
1317
- if (value.Number !== undefined)
1318
- return visitor.Number(value.Number);
1319
- return visitor._(value.$unknown[0], value.$unknown[1]);
1320
- };
1321
- })(exports.ContactMetricValue || (exports.ContactMetricValue = {}));
1322
1228
  const CurrentMetricName = {
1323
1229
  AGENTS_AFTER_CONTACT_WORK: "AGENTS_AFTER_CONTACT_WORK",
1324
1230
  AGENTS_AVAILABLE: "AGENTS_AVAILABLE",
@@ -1412,26 +1318,6 @@ const LexVersion = {
1412
1318
  V2: "V2",
1413
1319
  };
1414
1320
 
1415
- exports.ReferenceSummary = void 0;
1416
- (function (ReferenceSummary) {
1417
- ReferenceSummary.visit = (value, visitor) => {
1418
- if (value.Url !== undefined)
1419
- return visitor.Url(value.Url);
1420
- if (value.Attachment !== undefined)
1421
- return visitor.Attachment(value.Attachment);
1422
- if (value.EmailMessage !== undefined)
1423
- return visitor.EmailMessage(value.EmailMessage);
1424
- if (value.String !== undefined)
1425
- return visitor.String(value.String);
1426
- if (value.Number !== undefined)
1427
- return visitor.Number(value.Number);
1428
- if (value.Date !== undefined)
1429
- return visitor.Date(value.Date);
1430
- if (value.Email !== undefined)
1431
- return visitor.Email(value.Email);
1432
- return visitor._(value.$unknown[0], value.$unknown[1]);
1433
- };
1434
- })(exports.ReferenceSummary || (exports.ReferenceSummary = {}));
1435
1321
  const QueueType = {
1436
1322
  AGENT: "AGENT",
1437
1323
  STANDARD: "STANDARD",
@@ -1457,14 +1343,6 @@ const ArtifactStatus = {
1457
1343
  IN_PROGRESS: "IN_PROGRESS",
1458
1344
  REJECTED: "REJECTED",
1459
1345
  };
1460
- exports.RealTimeContactAnalysisTimeData = void 0;
1461
- (function (RealTimeContactAnalysisTimeData) {
1462
- RealTimeContactAnalysisTimeData.visit = (value, visitor) => {
1463
- if (value.AbsoluteTime !== undefined)
1464
- return visitor.AbsoluteTime(value.AbsoluteTime);
1465
- return visitor._(value.$unknown[0], value.$unknown[1]);
1466
- };
1467
- })(exports.RealTimeContactAnalysisTimeData || (exports.RealTimeContactAnalysisTimeData = {}));
1468
1346
  const RealTimeContactAnalysisPostContactSummaryFailureCode = {
1469
1347
  FAILED_SAFETY_GUIDELINES: "FAILED_SAFETY_GUIDELINES",
1470
1348
  INSUFFICIENT_CONVERSATION_CONTENT: "INSUFFICIENT_CONVERSATION_CONTENT",
@@ -1481,24 +1359,6 @@ const RealTimeContactAnalysisSentimentLabel = {
1481
1359
  NEUTRAL: "NEUTRAL",
1482
1360
  POSITIVE: "POSITIVE",
1483
1361
  };
1484
- exports.RealtimeContactAnalysisSegment = void 0;
1485
- (function (RealtimeContactAnalysisSegment) {
1486
- RealtimeContactAnalysisSegment.visit = (value, visitor) => {
1487
- if (value.Transcript !== undefined)
1488
- return visitor.Transcript(value.Transcript);
1489
- if (value.Categories !== undefined)
1490
- return visitor.Categories(value.Categories);
1491
- if (value.Issues !== undefined)
1492
- return visitor.Issues(value.Issues);
1493
- if (value.Event !== undefined)
1494
- return visitor.Event(value.Event);
1495
- if (value.Attachments !== undefined)
1496
- return visitor.Attachments(value.Attachments);
1497
- if (value.PostContactSummary !== undefined)
1498
- return visitor.PostContactSummary(value.PostContactSummary);
1499
- return visitor._(value.$unknown[0], value.$unknown[1]);
1500
- };
1501
- })(exports.RealtimeContactAnalysisSegment || (exports.RealtimeContactAnalysisSegment = {}));
1502
1362
  const RealTimeContactAnalysisStatus = {
1503
1363
  COMPLETED: "COMPLETED",
1504
1364
  FAILED: "FAILED",
@@ -1687,14 +1547,6 @@ let ContactNotFoundException$1 = class ContactNotFoundException extends ConnectS
1687
1547
  this.Message = opts.Message;
1688
1548
  }
1689
1549
  };
1690
- exports.EvaluatorUserUnion = void 0;
1691
- (function (EvaluatorUserUnion) {
1692
- EvaluatorUserUnion.visit = (value, visitor) => {
1693
- if (value.ConnectUserArn !== undefined)
1694
- return visitor.ConnectUserArn(value.ConnectUserArn);
1695
- return visitor._(value.$unknown[0], value.$unknown[1]);
1696
- };
1697
- })(exports.EvaluatorUserUnion || (exports.EvaluatorUserUnion = {}));
1698
1550
  let ConditionalOperationFailedException$1 = class ConditionalOperationFailedException extends ConnectServiceException$1 {
1699
1551
  name = "ConditionalOperationFailedException";
1700
1552
  $fault = "client";
@@ -1720,44 +1572,6 @@ const ParticipantTimerType = {
1720
1572
  const ParticipantTimerAction = {
1721
1573
  Unset: "Unset",
1722
1574
  };
1723
- exports.ParticipantTimerValue = void 0;
1724
- (function (ParticipantTimerValue) {
1725
- ParticipantTimerValue.visit = (value, visitor) => {
1726
- if (value.ParticipantTimerAction !== undefined)
1727
- return visitor.ParticipantTimerAction(value.ParticipantTimerAction);
1728
- if (value.ParticipantTimerDurationInMinutes !== undefined)
1729
- return visitor.ParticipantTimerDurationInMinutes(value.ParticipantTimerDurationInMinutes);
1730
- return visitor._(value.$unknown[0], value.$unknown[1]);
1731
- };
1732
- })(exports.ParticipantTimerValue || (exports.ParticipantTimerValue = {}));
1733
- exports.UpdateParticipantRoleConfigChannelInfo = void 0;
1734
- (function (UpdateParticipantRoleConfigChannelInfo) {
1735
- UpdateParticipantRoleConfigChannelInfo.visit = (value, visitor) => {
1736
- if (value.Chat !== undefined)
1737
- return visitor.Chat(value.Chat);
1738
- return visitor._(value.$unknown[0], value.$unknown[1]);
1739
- };
1740
- })(exports.UpdateParticipantRoleConfigChannelInfo || (exports.UpdateParticipantRoleConfigChannelInfo = {}));
1741
- exports.EvaluationFormItemEnablementConditionOperand = void 0;
1742
- (function (EvaluationFormItemEnablementConditionOperand) {
1743
- EvaluationFormItemEnablementConditionOperand.visit = (value, visitor) => {
1744
- if (value.Expression !== undefined)
1745
- return visitor.Expression(value.Expression);
1746
- if (value.Condition !== undefined)
1747
- return visitor.Condition(value.Condition);
1748
- return visitor._(value.$unknown[0], value.$unknown[1]);
1749
- };
1750
- })(exports.EvaluationFormItemEnablementConditionOperand || (exports.EvaluationFormItemEnablementConditionOperand = {}));
1751
- exports.EvaluationFormItem = void 0;
1752
- (function (EvaluationFormItem) {
1753
- EvaluationFormItem.visit = (value, visitor) => {
1754
- if (value.Section !== undefined)
1755
- return visitor.Section(value.Section);
1756
- if (value.Question !== undefined)
1757
- return visitor.Question(value.Question);
1758
- return visitor._(value.$unknown[0], value.$unknown[1]);
1759
- };
1760
- })(exports.EvaluationFormItem || (exports.EvaluationFormItem = {}));
1761
1575
 
1762
1576
  const _A = "Arn";
1763
1577
  const _AA = "AliasArn";
@@ -3451,8 +3265,10 @@ const _SHOOR = "SearchHoursOfOperationsRequest";
3451
3265
  const _SHOORe = "SearchHoursOfOperationsResponse";
3452
3266
  const _SI = "SourceId";
3453
3267
  const _SIC = "SignInConfig";
3454
- const _SID = "SignInDistribution";
3268
+ const _SID = "SessionInactivityDuration";
3455
3269
  const _SIDL = "SignInDistributionList";
3270
+ const _SIDi = "SignInDistribution";
3271
+ const _SIHE = "SessionInactivityHandlingEnabled";
3456
3272
  const _SIU = "SignInUrl";
3457
3273
  const _SIt = "StreamingId";
3458
3274
  const _SK = "SecurityKeys";
@@ -4277,8 +4093,8 @@ var AuthenticationProfile = [
4277
4093
  n0,
4278
4094
  _APu,
4279
4095
  0,
4280
- [_I, _A, _N, _D, _AIl, _BI, _ID, _CTre, _LMT, _LMR, _PSD, _MSD],
4281
- [0, 0, 0, 0, 64 | 0, 64 | 0, 2, 4, 4, 0, 1, 1],
4096
+ [_I, _A, _N, _D, _AIl, _BI, _ID, _CTre, _LMT, _LMR, _PSD, _MSD, _SID, _SIHE],
4097
+ [0, 0, 0, 0, 64 | 0, 64 | 0, 2, 4, 4, 0, 1, 1, 1, 2],
4282
4098
  ];
4283
4099
  var AuthenticationProfileSummary = [
4284
4100
  3,
@@ -9641,7 +9457,7 @@ var ServiceQuotaExceededException = [
9641
9457
  ];
9642
9458
  schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
9643
9459
  var SignInConfig = [3, n0, _SIC, 0, [_Di], [() => SignInDistributionList]];
9644
- var SignInDistribution = [3, n0, _SID, 0, [_Reg, _En], [0, 2]];
9460
+ var SignInDistribution = [3, n0, _SIDi, 0, [_Reg, _En], [0, 2]];
9645
9461
  var SingleSelectQuestionRuleCategoryAutomation = [
9646
9462
  3,
9647
9463
  n0,
@@ -10090,8 +9906,8 @@ var UpdateAuthenticationProfileRequest = [
10090
9906
  n0,
10091
9907
  _UAPR,
10092
9908
  0,
10093
- [_API, _II, _N, _D, _AIl, _BI, _PSD],
10094
- [[0, 1], [0, 1], 0, 0, 64 | 0, 64 | 0, 1],
9909
+ [_API, _II, _N, _D, _AIl, _BI, _PSD, _SID, _SIHE],
9910
+ [[0, 1], [0, 1], 0, 0, 64 | 0, 64 | 0, 1, 1, 2],
10095
9911
  ];
10096
9912
  var UpdateCaseActionDefinition = [3, n0, _UCAD, 0, [_Fi], [() => FieldValues]];
10097
9913
  var UpdateContactAttributesRequest = [
@@ -168,14 +168,6 @@ export const AttachedFileInvalidRequestExceptionReason = {
168
168
  INVALID_FILE_SIZE: "INVALID_FILE_SIZE",
169
169
  INVALID_FILE_TYPE: "INVALID_FILE_TYPE",
170
170
  };
171
- export var InvalidRequestExceptionReason;
172
- (function (InvalidRequestExceptionReason) {
173
- InvalidRequestExceptionReason.visit = (value, visitor) => {
174
- if (value.AttachedFileInvalidRequestExceptionReason !== undefined)
175
- return visitor.AttachedFileInvalidRequestExceptionReason(value.AttachedFileInvalidRequestExceptionReason);
176
- return visitor._(value.$unknown[0], value.$unknown[1]);
177
- };
178
- })(InvalidRequestExceptionReason || (InvalidRequestExceptionReason = {}));
179
171
  export class InvalidRequestException extends __BaseException {
180
172
  name = "InvalidRequestException";
181
173
  $fault = "client";
@@ -196,14 +188,6 @@ export const AttachedFileServiceQuotaExceededExceptionReason = {
196
188
  TOTAL_FILE_COUNT_EXCEEDED: "TOTAL_FILE_COUNT_EXCEEDED",
197
189
  TOTAL_FILE_SIZE_EXCEEDED: "TOTAL_FILE_SIZE_EXCEEDED",
198
190
  };
199
- export var ServiceQuotaExceededExceptionReason;
200
- (function (ServiceQuotaExceededExceptionReason) {
201
- ServiceQuotaExceededExceptionReason.visit = (value, visitor) => {
202
- if (value.AttachedFileServiceQuotaExceededExceptionReason !== undefined)
203
- return visitor.AttachedFileServiceQuotaExceededExceptionReason(value.AttachedFileServiceQuotaExceededExceptionReason);
204
- return visitor._(value.$unknown[0], value.$unknown[1]);
205
- };
206
- })(ServiceQuotaExceededExceptionReason || (ServiceQuotaExceededExceptionReason = {}));
207
191
  export class ServiceQuotaExceededException extends __BaseException {
208
192
  name = "ServiceQuotaExceededException";
209
193
  $fault = "client";
@@ -314,16 +298,6 @@ export const StorageType = {
314
298
  KINESIS_VIDEO_STREAM: "KINESIS_VIDEO_STREAM",
315
299
  S3: "S3",
316
300
  };
317
- export var CreatedByInfo;
318
- (function (CreatedByInfo) {
319
- CreatedByInfo.visit = (value, visitor) => {
320
- if (value.ConnectUserArn !== undefined)
321
- return visitor.ConnectUserArn(value.ConnectUserArn);
322
- if (value.AWSIdentityArn !== undefined)
323
- return visitor.AWSIdentityArn(value.AWSIdentityArn);
324
- return visitor._(value.$unknown[0], value.$unknown[1]);
325
- };
326
- })(CreatedByInfo || (CreatedByInfo = {}));
327
301
  export const FileStatusType = {
328
302
  APPROVED: "APPROVED",
329
303
  FAILED: "FAILED",
@@ -498,44 +472,14 @@ export const NumericQuestionPropertyAutomationLabel = {
498
472
  OVERALL_AGENT_SENTIMENT_SCORE: "OVERALL_AGENT_SENTIMENT_SCORE",
499
473
  OVERALL_CUSTOMER_SENTIMENT_SCORE: "OVERALL_CUSTOMER_SENTIMENT_SCORE",
500
474
  };
501
- export var EvaluationFormNumericQuestionAutomation;
502
- (function (EvaluationFormNumericQuestionAutomation) {
503
- EvaluationFormNumericQuestionAutomation.visit = (value, visitor) => {
504
- if (value.PropertyValue !== undefined)
505
- return visitor.PropertyValue(value.PropertyValue);
506
- if (value.AnswerSource !== undefined)
507
- return visitor.AnswerSource(value.AnswerSource);
508
- return visitor._(value.$unknown[0], value.$unknown[1]);
509
- };
510
- })(EvaluationFormNumericQuestionAutomation || (EvaluationFormNumericQuestionAutomation = {}));
511
475
  export const SingleSelectQuestionRuleCategoryAutomationCondition = {
512
476
  NOT_PRESENT: "NOT_PRESENT",
513
477
  PRESENT: "PRESENT",
514
478
  };
515
- export var EvaluationFormSingleSelectQuestionAutomationOption;
516
- (function (EvaluationFormSingleSelectQuestionAutomationOption) {
517
- EvaluationFormSingleSelectQuestionAutomationOption.visit = (value, visitor) => {
518
- if (value.RuleCategory !== undefined)
519
- return visitor.RuleCategory(value.RuleCategory);
520
- return visitor._(value.$unknown[0], value.$unknown[1]);
521
- };
522
- })(EvaluationFormSingleSelectQuestionAutomationOption || (EvaluationFormSingleSelectQuestionAutomationOption = {}));
523
479
  export const EvaluationFormSingleSelectQuestionDisplayMode = {
524
480
  DROPDOWN: "DROPDOWN",
525
481
  RADIO: "RADIO",
526
482
  };
527
- export var EvaluationFormQuestionTypeProperties;
528
- (function (EvaluationFormQuestionTypeProperties) {
529
- EvaluationFormQuestionTypeProperties.visit = (value, visitor) => {
530
- if (value.Numeric !== undefined)
531
- return visitor.Numeric(value.Numeric);
532
- if (value.SingleSelect !== undefined)
533
- return visitor.SingleSelect(value.SingleSelect);
534
- if (value.Text !== undefined)
535
- return visitor.Text(value.Text);
536
- return visitor._(value.$unknown[0], value.$unknown[1]);
537
- };
538
- })(EvaluationFormQuestionTypeProperties || (EvaluationFormQuestionTypeProperties = {}));
539
483
  export const EvaluationFormScoringMode = {
540
484
  QUESTION_ONLY: "QUESTION_ONLY",
541
485
  SECTION_ONLY: "SECTION_ONLY",
@@ -599,14 +543,6 @@ export const RehydrationType = {
599
543
  ENTIRE_PAST_SESSION: "ENTIRE_PAST_SESSION",
600
544
  FROM_SEGMENT: "FROM_SEGMENT",
601
545
  };
602
- export var PredefinedAttributeValues;
603
- (function (PredefinedAttributeValues) {
604
- PredefinedAttributeValues.visit = (value, visitor) => {
605
- if (value.StringList !== undefined)
606
- return visitor.StringList(value.StringList);
607
- return visitor._(value.$unknown[0], value.$unknown[1]);
608
- };
609
- })(PredefinedAttributeValues || (PredefinedAttributeValues = {}));
610
546
  export const DeviceType = {
611
547
  APNS: "APNS",
612
548
  APNS_SANDBOX: "APNS_SANDBOX",
@@ -93,16 +93,6 @@ export const QuestionRuleCategoryAutomationCondition = {
93
93
  NOT_PRESENT: "NOT_PRESENT",
94
94
  PRESENT: "PRESENT",
95
95
  };
96
- export var EvaluationQuestionAnswerAnalysisDetails;
97
- (function (EvaluationQuestionAnswerAnalysisDetails) {
98
- EvaluationQuestionAnswerAnalysisDetails.visit = (value, visitor) => {
99
- if (value.GenAI !== undefined)
100
- return visitor.GenAI(value.GenAI);
101
- if (value.ContactLens !== undefined)
102
- return visitor.ContactLens(value.ContactLens);
103
- return visitor._(value.$unknown[0], value.$unknown[1]);
104
- };
105
- })(EvaluationQuestionAnswerAnalysisDetails || (EvaluationQuestionAnswerAnalysisDetails = {}));
106
96
  export const EvaluationQuestionAnswerAnalysisType = {
107
97
  CONTACT_LENS_DATA: "CONTACT_LENS_DATA",
108
98
  GEN_AI: "GEN_AI",
@@ -116,18 +106,6 @@ export const EvaluationSuggestedAnswerStatus = {
116
106
  IN_PROGRESS: "IN_PROGRESS",
117
107
  SUCCEEDED: "SUCCEEDED",
118
108
  };
119
- export var EvaluationAnswerData;
120
- (function (EvaluationAnswerData) {
121
- EvaluationAnswerData.visit = (value, visitor) => {
122
- if (value.StringValue !== undefined)
123
- return visitor.StringValue(value.StringValue);
124
- if (value.NumericValue !== undefined)
125
- return visitor.NumericValue(value.NumericValue);
126
- if (value.NotApplicable !== undefined)
127
- return visitor.NotApplicable(value.NotApplicable);
128
- return visitor._(value.$unknown[0], value.$unknown[1]);
129
- };
130
- })(EvaluationAnswerData || (EvaluationAnswerData = {}));
131
109
  export const EvaluationType = {
132
110
  CALIBRATION: "CALIBRATION",
133
111
  STANDARD: "STANDARD",
@@ -466,14 +444,6 @@ export const TrafficDistributionGroupStatus = {
466
444
  export const ContactMetricName = {
467
445
  POSITION_IN_QUEUE: "POSITION_IN_QUEUE",
468
446
  };
469
- export var ContactMetricValue;
470
- (function (ContactMetricValue) {
471
- ContactMetricValue.visit = (value, visitor) => {
472
- if (value.Number !== undefined)
473
- return visitor.Number(value.Number);
474
- return visitor._(value.$unknown[0], value.$unknown[1]);
475
- };
476
- })(ContactMetricValue || (ContactMetricValue = {}));
477
447
  export const CurrentMetricName = {
478
448
  AGENTS_AFTER_CONTACT_WORK: "AGENTS_AFTER_CONTACT_WORK",
479
449
  AGENTS_AVAILABLE: "AGENTS_AVAILABLE",
@@ -1,24 +1,4 @@
1
1
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
2
- export var ReferenceSummary;
3
- (function (ReferenceSummary) {
4
- ReferenceSummary.visit = (value, visitor) => {
5
- if (value.Url !== undefined)
6
- return visitor.Url(value.Url);
7
- if (value.Attachment !== undefined)
8
- return visitor.Attachment(value.Attachment);
9
- if (value.EmailMessage !== undefined)
10
- return visitor.EmailMessage(value.EmailMessage);
11
- if (value.String !== undefined)
12
- return visitor.String(value.String);
13
- if (value.Number !== undefined)
14
- return visitor.Number(value.Number);
15
- if (value.Date !== undefined)
16
- return visitor.Date(value.Date);
17
- if (value.Email !== undefined)
18
- return visitor.Email(value.Email);
19
- return visitor._(value.$unknown[0], value.$unknown[1]);
20
- };
21
- })(ReferenceSummary || (ReferenceSummary = {}));
22
2
  export const QueueType = {
23
3
  AGENT: "AGENT",
24
4
  STANDARD: "STANDARD",
@@ -44,14 +24,6 @@ export const ArtifactStatus = {
44
24
  IN_PROGRESS: "IN_PROGRESS",
45
25
  REJECTED: "REJECTED",
46
26
  };
47
- export var RealTimeContactAnalysisTimeData;
48
- (function (RealTimeContactAnalysisTimeData) {
49
- RealTimeContactAnalysisTimeData.visit = (value, visitor) => {
50
- if (value.AbsoluteTime !== undefined)
51
- return visitor.AbsoluteTime(value.AbsoluteTime);
52
- return visitor._(value.$unknown[0], value.$unknown[1]);
53
- };
54
- })(RealTimeContactAnalysisTimeData || (RealTimeContactAnalysisTimeData = {}));
55
27
  export const RealTimeContactAnalysisPostContactSummaryFailureCode = {
56
28
  FAILED_SAFETY_GUIDELINES: "FAILED_SAFETY_GUIDELINES",
57
29
  INSUFFICIENT_CONVERSATION_CONTENT: "INSUFFICIENT_CONVERSATION_CONTENT",
@@ -68,24 +40,6 @@ export const RealTimeContactAnalysisSentimentLabel = {
68
40
  NEUTRAL: "NEUTRAL",
69
41
  POSITIVE: "POSITIVE",
70
42
  };
71
- export var RealtimeContactAnalysisSegment;
72
- (function (RealtimeContactAnalysisSegment) {
73
- RealtimeContactAnalysisSegment.visit = (value, visitor) => {
74
- if (value.Transcript !== undefined)
75
- return visitor.Transcript(value.Transcript);
76
- if (value.Categories !== undefined)
77
- return visitor.Categories(value.Categories);
78
- if (value.Issues !== undefined)
79
- return visitor.Issues(value.Issues);
80
- if (value.Event !== undefined)
81
- return visitor.Event(value.Event);
82
- if (value.Attachments !== undefined)
83
- return visitor.Attachments(value.Attachments);
84
- if (value.PostContactSummary !== undefined)
85
- return visitor.PostContactSummary(value.PostContactSummary);
86
- return visitor._(value.$unknown[0], value.$unknown[1]);
87
- };
88
- })(RealtimeContactAnalysisSegment || (RealtimeContactAnalysisSegment = {}));
89
43
  export const RealTimeContactAnalysisStatus = {
90
44
  COMPLETED: "COMPLETED",
91
45
  FAILED: "FAILED",
@@ -45,14 +45,6 @@ export class ContactNotFoundException extends __BaseException {
45
45
  this.Message = opts.Message;
46
46
  }
47
47
  }
48
- export var EvaluatorUserUnion;
49
- (function (EvaluatorUserUnion) {
50
- EvaluatorUserUnion.visit = (value, visitor) => {
51
- if (value.ConnectUserArn !== undefined)
52
- return visitor.ConnectUserArn(value.ConnectUserArn);
53
- return visitor._(value.$unknown[0], value.$unknown[1]);
54
- };
55
- })(EvaluatorUserUnion || (EvaluatorUserUnion = {}));
56
48
  export class ConditionalOperationFailedException extends __BaseException {
57
49
  name = "ConditionalOperationFailedException";
58
50
  $fault = "client";
@@ -78,41 +70,3 @@ export const ParticipantTimerType = {
78
70
  export const ParticipantTimerAction = {
79
71
  Unset: "Unset",
80
72
  };
81
- export var ParticipantTimerValue;
82
- (function (ParticipantTimerValue) {
83
- ParticipantTimerValue.visit = (value, visitor) => {
84
- if (value.ParticipantTimerAction !== undefined)
85
- return visitor.ParticipantTimerAction(value.ParticipantTimerAction);
86
- if (value.ParticipantTimerDurationInMinutes !== undefined)
87
- return visitor.ParticipantTimerDurationInMinutes(value.ParticipantTimerDurationInMinutes);
88
- return visitor._(value.$unknown[0], value.$unknown[1]);
89
- };
90
- })(ParticipantTimerValue || (ParticipantTimerValue = {}));
91
- export var UpdateParticipantRoleConfigChannelInfo;
92
- (function (UpdateParticipantRoleConfigChannelInfo) {
93
- UpdateParticipantRoleConfigChannelInfo.visit = (value, visitor) => {
94
- if (value.Chat !== undefined)
95
- return visitor.Chat(value.Chat);
96
- return visitor._(value.$unknown[0], value.$unknown[1]);
97
- };
98
- })(UpdateParticipantRoleConfigChannelInfo || (UpdateParticipantRoleConfigChannelInfo = {}));
99
- export var EvaluationFormItemEnablementConditionOperand;
100
- (function (EvaluationFormItemEnablementConditionOperand) {
101
- EvaluationFormItemEnablementConditionOperand.visit = (value, visitor) => {
102
- if (value.Expression !== undefined)
103
- return visitor.Expression(value.Expression);
104
- if (value.Condition !== undefined)
105
- return visitor.Condition(value.Condition);
106
- return visitor._(value.$unknown[0], value.$unknown[1]);
107
- };
108
- })(EvaluationFormItemEnablementConditionOperand || (EvaluationFormItemEnablementConditionOperand = {}));
109
- export var EvaluationFormItem;
110
- (function (EvaluationFormItem) {
111
- EvaluationFormItem.visit = (value, visitor) => {
112
- if (value.Section !== undefined)
113
- return visitor.Section(value.Section);
114
- if (value.Question !== undefined)
115
- return visitor.Question(value.Question);
116
- return visitor._(value.$unknown[0], value.$unknown[1]);
117
- };
118
- })(EvaluationFormItem || (EvaluationFormItem = {}));
@@ -1690,8 +1690,10 @@ const _SHOOR = "SearchHoursOfOperationsRequest";
1690
1690
  const _SHOORe = "SearchHoursOfOperationsResponse";
1691
1691
  const _SI = "SourceId";
1692
1692
  const _SIC = "SignInConfig";
1693
- const _SID = "SignInDistribution";
1693
+ const _SID = "SessionInactivityDuration";
1694
1694
  const _SIDL = "SignInDistributionList";
1695
+ const _SIDi = "SignInDistribution";
1696
+ const _SIHE = "SessionInactivityHandlingEnabled";
1695
1697
  const _SIU = "SignInUrl";
1696
1698
  const _SIt = "StreamingId";
1697
1699
  const _SK = "SecurityKeys";
@@ -2519,8 +2521,8 @@ export var AuthenticationProfile = [
2519
2521
  n0,
2520
2522
  _APu,
2521
2523
  0,
2522
- [_I, _A, _N, _D, _AIl, _BI, _ID, _CTre, _LMT, _LMR, _PSD, _MSD],
2523
- [0, 0, 0, 0, 64 | 0, 64 | 0, 2, 4, 4, 0, 1, 1],
2524
+ [_I, _A, _N, _D, _AIl, _BI, _ID, _CTre, _LMT, _LMR, _PSD, _MSD, _SID, _SIHE],
2525
+ [0, 0, 0, 0, 64 | 0, 64 | 0, 2, 4, 4, 0, 1, 1, 1, 2],
2524
2526
  ];
2525
2527
  export var AuthenticationProfileSummary = [
2526
2528
  3,
@@ -7883,7 +7885,7 @@ export var ServiceQuotaExceededException = [
7883
7885
  ];
7884
7886
  TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, __ServiceQuotaExceededException);
7885
7887
  export var SignInConfig = [3, n0, _SIC, 0, [_Di], [() => SignInDistributionList]];
7886
- export var SignInDistribution = [3, n0, _SID, 0, [_Reg, _En], [0, 2]];
7888
+ export var SignInDistribution = [3, n0, _SIDi, 0, [_Reg, _En], [0, 2]];
7887
7889
  export var SingleSelectQuestionRuleCategoryAutomation = [
7888
7890
  3,
7889
7891
  n0,
@@ -8332,8 +8334,8 @@ export var UpdateAuthenticationProfileRequest = [
8332
8334
  n0,
8333
8335
  _UAPR,
8334
8336
  0,
8335
- [_API, _II, _N, _D, _AIl, _BI, _PSD],
8336
- [[0, 1], [0, 1], 0, 0, 64 | 0, 64 | 0, 1],
8337
+ [_API, _II, _N, _D, _AIl, _BI, _PSD, _SID, _SIHE],
8338
+ [[0, 1], [0, 1], 0, 0, 64 | 0, 64 | 0, 1, 1, 2],
8337
8339
  ];
8338
8340
  export var UpdateCaseActionDefinition = [3, n0, _UCAD, 0, [_Fi], [() => FieldValues]];
8339
8341
  export var UpdateContactAttributesRequest = [
@@ -62,6 +62,8 @@ declare const DescribeAuthenticationProfileCommand_base: {
62
62
  * // LastModifiedRegion: "STRING_VALUE",
63
63
  * // PeriodicSessionDuration: Number("int"),
64
64
  * // MaxSessionDuration: Number("int"),
65
+ * // SessionInactivityDuration: Number("int"),
66
+ * // SessionInactivityHandlingEnabled: true || false,
65
67
  * // },
66
68
  * // };
67
69
  *
@@ -50,6 +50,8 @@ declare const UpdateAuthenticationProfileCommand_base: {
50
50
  * "STRING_VALUE",
51
51
  * ],
52
52
  * PeriodicSessionDuration: Number("int"),
53
+ * SessionInactivityDuration: Number("int"),
54
+ * SessionInactivityHandlingEnabled: true || false,
53
55
  * };
54
56
  * const command = new UpdateAuthenticationProfileCommand(input);
55
57
  * const response = await client.send(command);
@@ -1093,11 +1093,14 @@ export declare namespace InvalidRequestExceptionReason {
1093
1093
  AttachedFileInvalidRequestExceptionReason?: never;
1094
1094
  $unknown: [string, any];
1095
1095
  }
1096
+ /**
1097
+ * @deprecated unused in schema-serde mode.
1098
+ *
1099
+ */
1096
1100
  interface Visitor<T> {
1097
1101
  AttachedFileInvalidRequestExceptionReason: (value: AttachedFileInvalidRequestExceptionReason) => T;
1098
1102
  _: (name: string, value: any) => T;
1099
1103
  }
1100
- const visit: <T>(value: InvalidRequestExceptionReason, visitor: Visitor<T>) => T;
1101
1104
  }
1102
1105
  /**
1103
1106
  * <p>The request is not valid.</p>
@@ -1180,11 +1183,14 @@ export declare namespace ServiceQuotaExceededExceptionReason {
1180
1183
  AttachedFileServiceQuotaExceededExceptionReason?: never;
1181
1184
  $unknown: [string, any];
1182
1185
  }
1186
+ /**
1187
+ * @deprecated unused in schema-serde mode.
1188
+ *
1189
+ */
1183
1190
  interface Visitor<T> {
1184
1191
  AttachedFileServiceQuotaExceededExceptionReason: (value: AttachedFileServiceQuotaExceededExceptionReason) => T;
1185
1192
  _: (name: string, value: any) => T;
1186
1193
  }
1187
- const visit: <T>(value: ServiceQuotaExceededExceptionReason, visitor: Visitor<T>) => T;
1188
1194
  }
1189
1195
  /**
1190
1196
  * <p>The service quota has been exceeded.</p>
@@ -2185,12 +2191,15 @@ export declare namespace CreatedByInfo {
2185
2191
  AWSIdentityArn?: never;
2186
2192
  $unknown: [string, any];
2187
2193
  }
2194
+ /**
2195
+ * @deprecated unused in schema-serde mode.
2196
+ *
2197
+ */
2188
2198
  interface Visitor<T> {
2189
2199
  ConnectUserArn: (value: string) => T;
2190
2200
  AWSIdentityArn: (value: string) => T;
2191
2201
  _: (name: string, value: any) => T;
2192
2202
  }
2193
- const visit: <T>(value: CreatedByInfo, visitor: Visitor<T>) => T;
2194
2203
  }
2195
2204
  /**
2196
2205
  * @public
@@ -3412,12 +3421,15 @@ export declare namespace EvaluationFormNumericQuestionAutomation {
3412
3421
  AnswerSource?: never;
3413
3422
  $unknown: [string, any];
3414
3423
  }
3424
+ /**
3425
+ * @deprecated unused in schema-serde mode.
3426
+ *
3427
+ */
3415
3428
  interface Visitor<T> {
3416
3429
  PropertyValue: (value: NumericQuestionPropertyValueAutomation) => T;
3417
3430
  AnswerSource: (value: EvaluationFormQuestionAutomationAnswerSource) => T;
3418
3431
  _: (name: string, value: any) => T;
3419
3432
  }
3420
- const visit: <T>(value: EvaluationFormNumericQuestionAutomation, visitor: Visitor<T>) => T;
3421
3433
  }
3422
3434
  /**
3423
3435
  * <p>Information about automatic fail configuration for an evaluation form.</p>
@@ -3549,11 +3561,14 @@ export declare namespace EvaluationFormSingleSelectQuestionAutomationOption {
3549
3561
  RuleCategory?: never;
3550
3562
  $unknown: [string, any];
3551
3563
  }
3564
+ /**
3565
+ * @deprecated unused in schema-serde mode.
3566
+ *
3567
+ */
3552
3568
  interface Visitor<T> {
3553
3569
  RuleCategory: (value: SingleSelectQuestionRuleCategoryAutomation) => T;
3554
3570
  _: (name: string, value: any) => T;
3555
3571
  }
3556
- const visit: <T>(value: EvaluationFormSingleSelectQuestionAutomationOption, visitor: Visitor<T>) => T;
3557
3572
  }
3558
3573
  /**
3559
3574
  * <p>Information about the automation configuration in single select questions. Automation
@@ -3716,13 +3731,16 @@ export declare namespace EvaluationFormQuestionTypeProperties {
3716
3731
  Text?: never;
3717
3732
  $unknown: [string, any];
3718
3733
  }
3734
+ /**
3735
+ * @deprecated unused in schema-serde mode.
3736
+ *
3737
+ */
3719
3738
  interface Visitor<T> {
3720
3739
  Numeric: (value: EvaluationFormNumericQuestionProperties) => T;
3721
3740
  SingleSelect: (value: EvaluationFormSingleSelectQuestionProperties) => T;
3722
3741
  Text: (value: EvaluationFormTextQuestionProperties) => T;
3723
3742
  _: (name: string, value: any) => T;
3724
3743
  }
3725
- const visit: <T>(value: EvaluationFormQuestionTypeProperties, visitor: Visitor<T>) => T;
3726
3744
  }
3727
3745
  /**
3728
3746
  * @public
@@ -4448,11 +4466,14 @@ export declare namespace PredefinedAttributeValues {
4448
4466
  StringList?: never;
4449
4467
  $unknown: [string, any];
4450
4468
  }
4469
+ /**
4470
+ * @deprecated unused in schema-serde mode.
4471
+ *
4472
+ */
4451
4473
  interface Visitor<T> {
4452
4474
  StringList: (value: string[]) => T;
4453
4475
  _: (name: string, value: any) => T;
4454
4476
  }
4455
- const visit: <T>(value: PredefinedAttributeValues, visitor: Visitor<T>) => T;
4456
4477
  }
4457
4478
  /**
4458
4479
  * @public
@@ -860,6 +860,8 @@ export interface AuthenticationProfile {
860
860
  * minutes. This value determines the maximum possible time before an agent is authenticated. For
861
861
  * more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/authentication-profiles.html#configure-session-timeouts">Configure the session duration</a> in the <i>Amazon Connect Administrator
862
862
  * Guide</i>.</p>
863
+ *
864
+ * @deprecated PeriodicSessionDuration is deprecated. Use SessionInactivityDuration instead.
863
865
  * @public
864
866
  */
865
867
  PeriodicSessionDuration?: number | undefined;
@@ -870,6 +872,16 @@ export interface AuthenticationProfile {
870
872
  * @public
871
873
  */
872
874
  MaxSessionDuration?: number | undefined;
875
+ /**
876
+ * <p>The period, in minutes, before an agent is automatically signed out of the contact center when they go inactive.</p>
877
+ * @public
878
+ */
879
+ SessionInactivityDuration?: number | undefined;
880
+ /**
881
+ * <p>Determines if automatic logout on user inactivity is enabled.</p>
882
+ * @public
883
+ */
884
+ SessionInactivityHandlingEnabled?: boolean | undefined;
873
885
  }
874
886
  /**
875
887
  * @public
@@ -1600,12 +1612,15 @@ export declare namespace EvaluationQuestionAnswerAnalysisDetails {
1600
1612
  ContactLens?: never;
1601
1613
  $unknown: [string, any];
1602
1614
  }
1615
+ /**
1616
+ * @deprecated unused in schema-serde mode.
1617
+ *
1618
+ */
1603
1619
  interface Visitor<T> {
1604
1620
  GenAI: (value: EvaluationGenAIAnswerAnalysisDetails) => T;
1605
1621
  ContactLens: (value: EvaluationContactLensAnswerAnalysisDetails) => T;
1606
1622
  _: (name: string, value: any) => T;
1607
1623
  }
1608
- const visit: <T>(value: EvaluationQuestionAnswerAnalysisDetails, visitor: Visitor<T>) => T;
1609
1624
  }
1610
1625
  /**
1611
1626
  * @public
@@ -1704,13 +1719,16 @@ export declare namespace EvaluationAnswerData {
1704
1719
  NotApplicable?: never;
1705
1720
  $unknown: [string, any];
1706
1721
  }
1722
+ /**
1723
+ * @deprecated unused in schema-serde mode.
1724
+ *
1725
+ */
1707
1726
  interface Visitor<T> {
1708
1727
  StringValue: (value: string) => T;
1709
1728
  NumericValue: (value: number) => T;
1710
1729
  NotApplicable: (value: boolean) => T;
1711
1730
  _: (name: string, value: any) => T;
1712
1731
  }
1713
- const visit: <T>(value: EvaluationAnswerData, visitor: Visitor<T>) => T;
1714
1732
  }
1715
1733
  /**
1716
1734
  * <p>The information about the suggested answer for the question.</p>
@@ -4940,11 +4958,14 @@ export declare namespace ContactMetricValue {
4940
4958
  Number?: never;
4941
4959
  $unknown: [string, any];
4942
4960
  }
4961
+ /**
4962
+ * @deprecated unused in schema-serde mode.
4963
+ *
4964
+ */
4943
4965
  interface Visitor<T> {
4944
4966
  Number: (value: number) => T;
4945
4967
  _: (name: string, value: any) => T;
4946
4968
  }
4947
- const visit: <T>(value: ContactMetricValue, visitor: Visitor<T>) => T;
4948
4969
  }
4949
4970
  /**
4950
4971
  * <p>Object containing information about metric requested for the contact.</p>
@@ -652,6 +652,10 @@ export declare namespace ReferenceSummary {
652
652
  Email?: never;
653
653
  $unknown: [string, any];
654
654
  }
655
+ /**
656
+ * @deprecated unused in schema-serde mode.
657
+ *
658
+ */
655
659
  interface Visitor<T> {
656
660
  Url: (value: UrlReference) => T;
657
661
  Attachment: (value: AttachmentReference) => T;
@@ -662,7 +666,6 @@ export declare namespace ReferenceSummary {
662
666
  Email: (value: EmailReference) => T;
663
667
  _: (name: string, value: any) => T;
664
668
  }
665
- const visit: <T>(value: ReferenceSummary, visitor: Visitor<T>) => T;
666
669
  }
667
670
  /**
668
671
  * @public
@@ -2125,11 +2128,14 @@ export declare namespace RealTimeContactAnalysisTimeData {
2125
2128
  AbsoluteTime?: never;
2126
2129
  $unknown: [string, any];
2127
2130
  }
2131
+ /**
2132
+ * @deprecated unused in schema-serde mode.
2133
+ *
2134
+ */
2128
2135
  interface Visitor<T> {
2129
2136
  AbsoluteTime: (value: Date) => T;
2130
2137
  _: (name: string, value: any) => T;
2131
2138
  }
2132
- const visit: <T>(value: RealTimeContactAnalysisTimeData, visitor: Visitor<T>) => T;
2133
2139
  }
2134
2140
  /**
2135
2141
  * <p>Segment containing list of attachments.</p>
@@ -2572,6 +2578,10 @@ export declare namespace RealtimeContactAnalysisSegment {
2572
2578
  PostContactSummary?: never;
2573
2579
  $unknown: [string, any];
2574
2580
  }
2581
+ /**
2582
+ * @deprecated unused in schema-serde mode.
2583
+ *
2584
+ */
2575
2585
  interface Visitor<T> {
2576
2586
  Transcript: (value: RealTimeContactAnalysisSegmentTranscript) => T;
2577
2587
  Categories: (value: RealTimeContactAnalysisSegmentCategories) => T;
@@ -2581,7 +2591,6 @@ export declare namespace RealtimeContactAnalysisSegment {
2581
2591
  PostContactSummary: (value: RealTimeContactAnalysisSegmentPostContactSummary) => T;
2582
2592
  _: (name: string, value: any) => T;
2583
2593
  }
2584
- const visit: <T>(value: RealtimeContactAnalysisSegment, visitor: Visitor<T>) => T;
2585
2594
  }
2586
2595
  /**
2587
2596
  * @public
@@ -580,11 +580,14 @@ export declare namespace EvaluatorUserUnion {
580
580
  ConnectUserArn?: never;
581
581
  $unknown: [string, any];
582
582
  }
583
+ /**
584
+ * @deprecated unused in schema-serde mode.
585
+ *
586
+ */
583
587
  interface Visitor<T> {
584
588
  ConnectUserArn: (value: string) => T;
585
589
  _: (name: string, value: any) => T;
586
590
  }
587
- const visit: <T>(value: EvaluatorUserUnion, visitor: Visitor<T>) => T;
588
591
  }
589
592
  /**
590
593
  * @public
@@ -885,9 +888,21 @@ export interface UpdateAuthenticationProfileRequest {
885
888
  * minutes. This value determines the maximum possible time before an agent is authenticated. For
886
889
  * more information, For more information on how to configure IP addresses, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/authentication-profiles.html#configure-session-timeouts">Configure session timeouts</a> in the <i>Amazon Connect Administrator
887
890
  * Guide</i>. </p>
891
+ *
892
+ * @deprecated PeriodicSessionDuration is deprecated. Use SessionInactivityDuration instead.
888
893
  * @public
889
894
  */
890
895
  PeriodicSessionDuration?: number | undefined;
896
+ /**
897
+ * <p>The period, in minutes, before an agent is automatically signed out of the contact center when they go inactive.</p>
898
+ * @public
899
+ */
900
+ SessionInactivityDuration?: number | undefined;
901
+ /**
902
+ * <p>Determines if automatic logout on user inactivity is enabled.</p>
903
+ * @public
904
+ */
905
+ SessionInactivityHandlingEnabled?: boolean | undefined;
891
906
  }
892
907
  /**
893
908
  * <p>Information about a queue.</p>
@@ -1532,12 +1547,15 @@ export declare namespace ParticipantTimerValue {
1532
1547
  ParticipantTimerDurationInMinutes?: never;
1533
1548
  $unknown: [string, any];
1534
1549
  }
1550
+ /**
1551
+ * @deprecated unused in schema-serde mode.
1552
+ *
1553
+ */
1535
1554
  interface Visitor<T> {
1536
1555
  ParticipantTimerAction: (value: ParticipantTimerAction) => T;
1537
1556
  ParticipantTimerDurationInMinutes: (value: number) => T;
1538
1557
  _: (name: string, value: any) => T;
1539
1558
  }
1540
- const visit: <T>(value: ParticipantTimerValue, visitor: Visitor<T>) => T;
1541
1559
  }
1542
1560
  /**
1543
1561
  * <p>Configuration information for the timer. After the timer configuration is set, it persists
@@ -1603,11 +1621,14 @@ export declare namespace UpdateParticipantRoleConfigChannelInfo {
1603
1621
  Chat?: never;
1604
1622
  $unknown: [string, any];
1605
1623
  }
1624
+ /**
1625
+ * @deprecated unused in schema-serde mode.
1626
+ *
1627
+ */
1606
1628
  interface Visitor<T> {
1607
1629
  Chat: (value: ChatParticipantRoleConfig) => T;
1608
1630
  _: (name: string, value: any) => T;
1609
1631
  }
1610
- const visit: <T>(value: UpdateParticipantRoleConfigChannelInfo, visitor: Visitor<T>) => T;
1611
1632
  }
1612
1633
  /**
1613
1634
  * @public
@@ -2639,12 +2660,15 @@ export declare namespace EvaluationFormItemEnablementConditionOperand {
2639
2660
  Condition?: never;
2640
2661
  $unknown: [string, any];
2641
2662
  }
2663
+ /**
2664
+ * @deprecated unused in schema-serde mode.
2665
+ *
2666
+ */
2642
2667
  interface Visitor<T> {
2643
2668
  Expression: (value: EvaluationFormItemEnablementExpression) => T;
2644
2669
  Condition: (value: EvaluationFormItemEnablementCondition) => T;
2645
2670
  _: (name: string, value: any) => T;
2646
2671
  }
2647
- const visit: <T>(value: EvaluationFormItemEnablementConditionOperand, visitor: Visitor<T>) => T;
2648
2672
  }
2649
2673
  /**
2650
2674
  * <p>The search criteria to be used to return agent statuses.</p>
@@ -4545,12 +4569,15 @@ export declare namespace EvaluationFormItem {
4545
4569
  Question?: never;
4546
4570
  $unknown: [string, any];
4547
4571
  }
4572
+ /**
4573
+ * @deprecated unused in schema-serde mode.
4574
+ *
4575
+ */
4548
4576
  interface Visitor<T> {
4549
4577
  Section: (value: EvaluationFormSection) => T;
4550
4578
  Question: (value: EvaluationFormQuestion) => T;
4551
4579
  _: (name: string, value: any) => T;
4552
4580
  }
4553
- const visit: <T>(value: EvaluationFormItem, visitor: Visitor<T>) => T;
4554
4581
  }
4555
4582
  /**
4556
4583
  * <p>Latest routing criteria on the contact.</p>
@@ -350,10 +350,6 @@ export declare namespace InvalidRequestExceptionReason {
350
350
  ) => T;
351
351
  _: (name: string, value: any) => T;
352
352
  }
353
- const visit: <T>(
354
- value: InvalidRequestExceptionReason,
355
- visitor: Visitor<T>
356
- ) => T;
357
353
  }
358
354
  export declare class InvalidRequestException extends __BaseException {
359
355
  readonly name: "InvalidRequestException";
@@ -393,10 +389,6 @@ export declare namespace ServiceQuotaExceededExceptionReason {
393
389
  ) => T;
394
390
  _: (name: string, value: any) => T;
395
391
  }
396
- const visit: <T>(
397
- value: ServiceQuotaExceededExceptionReason,
398
- visitor: Visitor<T>
399
- ) => T;
400
392
  }
401
393
  export declare class ServiceQuotaExceededException extends __BaseException {
402
394
  readonly name: "ServiceQuotaExceededException";
@@ -702,7 +694,6 @@ export declare namespace CreatedByInfo {
702
694
  AWSIdentityArn: (value: string) => T;
703
695
  _: (name: string, value: any) => T;
704
696
  }
705
- const visit: <T>(value: CreatedByInfo, visitor: Visitor<T>) => T;
706
697
  }
707
698
  export declare const FileStatusType: {
708
699
  readonly APPROVED: "APPROVED";
@@ -1105,10 +1096,6 @@ export declare namespace EvaluationFormNumericQuestionAutomation {
1105
1096
  AnswerSource: (value: EvaluationFormQuestionAutomationAnswerSource) => T;
1106
1097
  _: (name: string, value: any) => T;
1107
1098
  }
1108
- const visit: <T>(
1109
- value: EvaluationFormNumericQuestionAutomation,
1110
- visitor: Visitor<T>
1111
- ) => T;
1112
1099
  }
1113
1100
  export interface AutomaticFailConfiguration {
1114
1101
  TargetSection?: string | undefined;
@@ -1153,10 +1140,6 @@ export declare namespace EvaluationFormSingleSelectQuestionAutomationOption {
1153
1140
  RuleCategory: (value: SingleSelectQuestionRuleCategoryAutomation) => T;
1154
1141
  _: (name: string, value: any) => T;
1155
1142
  }
1156
- const visit: <T>(
1157
- value: EvaluationFormSingleSelectQuestionAutomationOption,
1158
- visitor: Visitor<T>
1159
- ) => T;
1160
1143
  }
1161
1144
  export interface EvaluationFormSingleSelectQuestionAutomation {
1162
1145
  Options?: EvaluationFormSingleSelectQuestionAutomationOption[] | undefined;
@@ -1223,10 +1206,6 @@ export declare namespace EvaluationFormQuestionTypeProperties {
1223
1206
  Text: (value: EvaluationFormTextQuestionProperties) => T;
1224
1207
  _: (name: string, value: any) => T;
1225
1208
  }
1226
- const visit: <T>(
1227
- value: EvaluationFormQuestionTypeProperties,
1228
- visitor: Visitor<T>
1229
- ) => T;
1230
1209
  }
1231
1210
  export declare const EvaluationFormScoringMode: {
1232
1211
  readonly QUESTION_ONLY: "QUESTION_ONLY";
@@ -1430,7 +1409,6 @@ export declare namespace PredefinedAttributeValues {
1430
1409
  StringList: (value: string[]) => T;
1431
1410
  _: (name: string, value: any) => T;
1432
1411
  }
1433
- const visit: <T>(value: PredefinedAttributeValues, visitor: Visitor<T>) => T;
1434
1412
  }
1435
1413
  export interface CreatePredefinedAttributeRequest {
1436
1414
  InstanceId: string | undefined;
@@ -280,6 +280,8 @@ export interface AuthenticationProfile {
280
280
  LastModifiedRegion?: string | undefined;
281
281
  PeriodicSessionDuration?: number | undefined;
282
282
  MaxSessionDuration?: number | undefined;
283
+ SessionInactivityDuration?: number | undefined;
284
+ SessionInactivityHandlingEnabled?: boolean | undefined;
283
285
  }
284
286
  export interface DescribeAuthenticationProfileResponse {
285
287
  AuthenticationProfile?: AuthenticationProfile | undefined;
@@ -501,10 +503,6 @@ export declare namespace EvaluationQuestionAnswerAnalysisDetails {
501
503
  ContactLens: (value: EvaluationContactLensAnswerAnalysisDetails) => T;
502
504
  _: (name: string, value: any) => T;
503
505
  }
504
- const visit: <T>(
505
- value: EvaluationQuestionAnswerAnalysisDetails,
506
- visitor: Visitor<T>
507
- ) => T;
508
506
  }
509
507
  export declare const EvaluationQuestionAnswerAnalysisType: {
510
508
  readonly CONTACT_LENS_DATA: "CONTACT_LENS_DATA";
@@ -564,7 +562,6 @@ export declare namespace EvaluationAnswerData {
564
562
  NotApplicable: (value: boolean) => T;
565
563
  _: (name: string, value: any) => T;
566
564
  }
567
- const visit: <T>(value: EvaluationAnswerData, visitor: Visitor<T>) => T;
568
565
  }
569
566
  export interface EvaluationSuggestedAnswer {
570
567
  Value?: EvaluationAnswerData | undefined;
@@ -1549,7 +1546,6 @@ export declare namespace ContactMetricValue {
1549
1546
  Number: (value: number) => T;
1550
1547
  _: (name: string, value: any) => T;
1551
1548
  }
1552
- const visit: <T>(value: ContactMetricValue, visitor: Visitor<T>) => T;
1553
1549
  }
1554
1550
  export interface ContactMetricResult {
1555
1551
  Name: ContactMetricName | undefined;
@@ -288,7 +288,6 @@ export declare namespace ReferenceSummary {
288
288
  Email: (value: EmailReference) => T;
289
289
  _: (name: string, value: any) => T;
290
290
  }
291
- const visit: <T>(value: ReferenceSummary, visitor: Visitor<T>) => T;
292
291
  }
293
292
  export interface ListContactReferencesResponse {
294
293
  ReferenceSummaryList?: ReferenceSummary[] | undefined;
@@ -655,10 +654,6 @@ export declare namespace RealTimeContactAnalysisTimeData {
655
654
  AbsoluteTime: (value: Date) => T;
656
655
  _: (name: string, value: any) => T;
657
656
  }
658
- const visit: <T>(
659
- value: RealTimeContactAnalysisTimeData,
660
- visitor: Visitor<T>
661
- ) => T;
662
657
  }
663
658
  export interface RealTimeContactAnalysisSegmentAttachments {
664
659
  Id: string | undefined;
@@ -836,10 +831,6 @@ export declare namespace RealtimeContactAnalysisSegment {
836
831
  ) => T;
837
832
  _: (name: string, value: any) => T;
838
833
  }
839
- const visit: <T>(
840
- value: RealtimeContactAnalysisSegment,
841
- visitor: Visitor<T>
842
- ) => T;
843
834
  }
844
835
  export declare const RealTimeContactAnalysisStatus: {
845
836
  readonly COMPLETED: "COMPLETED";
@@ -265,7 +265,6 @@ export declare namespace EvaluatorUserUnion {
265
265
  ConnectUserArn: (value: string) => T;
266
266
  _: (name: string, value: any) => T;
267
267
  }
268
- const visit: <T>(value: EvaluatorUserUnion, visitor: Visitor<T>) => T;
269
268
  }
270
269
  export interface SubmitContactEvaluationRequest {
271
270
  InstanceId: string | undefined;
@@ -334,6 +333,8 @@ export interface UpdateAuthenticationProfileRequest {
334
333
  AllowedIps?: string[] | undefined;
335
334
  BlockedIps?: string[] | undefined;
336
335
  PeriodicSessionDuration?: number | undefined;
336
+ SessionInactivityDuration?: number | undefined;
337
+ SessionInactivityHandlingEnabled?: boolean | undefined;
337
338
  }
338
339
  export interface QueueInfoInput {
339
340
  Id?: string | undefined;
@@ -509,7 +510,6 @@ export declare namespace ParticipantTimerValue {
509
510
  ParticipantTimerDurationInMinutes: (value: number) => T;
510
511
  _: (name: string, value: any) => T;
511
512
  }
512
- const visit: <T>(value: ParticipantTimerValue, visitor: Visitor<T>) => T;
513
513
  }
514
514
  export interface ParticipantTimerConfiguration {
515
515
  ParticipantRole: TimerEligibleParticipantRoles | undefined;
@@ -535,10 +535,6 @@ export declare namespace UpdateParticipantRoleConfigChannelInfo {
535
535
  Chat: (value: ChatParticipantRoleConfig) => T;
536
536
  _: (name: string, value: any) => T;
537
537
  }
538
- const visit: <T>(
539
- value: UpdateParticipantRoleConfigChannelInfo,
540
- visitor: Visitor<T>
541
- ) => T;
542
538
  }
543
539
  export interface UpdateParticipantRoleConfigRequest {
544
540
  InstanceId: string | undefined;
@@ -794,10 +790,6 @@ export declare namespace EvaluationFormItemEnablementConditionOperand {
794
790
  Condition: (value: EvaluationFormItemEnablementCondition) => T;
795
791
  _: (name: string, value: any) => T;
796
792
  }
797
- const visit: <T>(
798
- value: EvaluationFormItemEnablementConditionOperand,
799
- visitor: Visitor<T>
800
- ) => T;
801
793
  }
802
794
  export interface AgentStatusSearchCriteria {
803
795
  OrConditions?: AgentStatusSearchCriteria[] | undefined;
@@ -1159,7 +1151,6 @@ export declare namespace EvaluationFormItem {
1159
1151
  Question: (value: EvaluationFormQuestion) => T;
1160
1152
  _: (name: string, value: any) => T;
1161
1153
  }
1162
- const visit: <T>(value: EvaluationFormItem, visitor: Visitor<T>) => T;
1163
1154
  }
1164
1155
  export interface RoutingCriteria {
1165
1156
  Steps?: Step[] | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connect",
3
3
  "description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
4
- "version": "3.929.0",
4
+ "version": "3.931.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-connect",
@@ -20,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.928.0",
24
- "@aws-sdk/credential-provider-node": "3.929.0",
25
- "@aws-sdk/middleware-host-header": "3.922.0",
26
- "@aws-sdk/middleware-logger": "3.922.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.922.0",
28
- "@aws-sdk/middleware-user-agent": "3.928.0",
29
- "@aws-sdk/region-config-resolver": "3.925.0",
30
- "@aws-sdk/types": "3.922.0",
31
- "@aws-sdk/util-endpoints": "3.922.0",
32
- "@aws-sdk/util-user-agent-browser": "3.922.0",
33
- "@aws-sdk/util-user-agent-node": "3.928.0",
34
- "@smithy/config-resolver": "^4.4.2",
35
- "@smithy/core": "^3.17.2",
36
- "@smithy/fetch-http-handler": "^5.3.5",
37
- "@smithy/hash-node": "^4.2.4",
38
- "@smithy/invalid-dependency": "^4.2.4",
39
- "@smithy/middleware-content-length": "^4.2.4",
40
- "@smithy/middleware-endpoint": "^4.3.6",
41
- "@smithy/middleware-retry": "^4.4.6",
42
- "@smithy/middleware-serde": "^4.2.4",
43
- "@smithy/middleware-stack": "^4.2.4",
44
- "@smithy/node-config-provider": "^4.3.4",
45
- "@smithy/node-http-handler": "^4.4.4",
46
- "@smithy/protocol-http": "^5.3.4",
47
- "@smithy/smithy-client": "^4.9.2",
48
- "@smithy/types": "^4.8.1",
49
- "@smithy/url-parser": "^4.2.4",
23
+ "@aws-sdk/core": "3.931.0",
24
+ "@aws-sdk/credential-provider-node": "3.931.0",
25
+ "@aws-sdk/middleware-host-header": "3.930.0",
26
+ "@aws-sdk/middleware-logger": "3.930.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.930.0",
28
+ "@aws-sdk/middleware-user-agent": "3.931.0",
29
+ "@aws-sdk/region-config-resolver": "3.930.0",
30
+ "@aws-sdk/types": "3.930.0",
31
+ "@aws-sdk/util-endpoints": "3.930.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.930.0",
33
+ "@aws-sdk/util-user-agent-node": "3.931.0",
34
+ "@smithy/config-resolver": "^4.4.3",
35
+ "@smithy/core": "^3.18.2",
36
+ "@smithy/fetch-http-handler": "^5.3.6",
37
+ "@smithy/hash-node": "^4.2.5",
38
+ "@smithy/invalid-dependency": "^4.2.5",
39
+ "@smithy/middleware-content-length": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.9",
41
+ "@smithy/middleware-retry": "^4.4.9",
42
+ "@smithy/middleware-serde": "^4.2.5",
43
+ "@smithy/middleware-stack": "^4.2.5",
44
+ "@smithy/node-config-provider": "^4.3.5",
45
+ "@smithy/node-http-handler": "^4.4.5",
46
+ "@smithy/protocol-http": "^5.3.5",
47
+ "@smithy/smithy-client": "^4.9.5",
48
+ "@smithy/types": "^4.9.0",
49
+ "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.5",
54
- "@smithy/util-defaults-mode-node": "^4.2.8",
55
- "@smithy/util-endpoints": "^3.2.4",
56
- "@smithy/util-middleware": "^4.2.4",
57
- "@smithy/util-retry": "^4.2.4",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.8",
54
+ "@smithy/util-defaults-mode-node": "^4.2.11",
55
+ "@smithy/util-endpoints": "^3.2.5",
56
+ "@smithy/util-middleware": "^4.2.5",
57
+ "@smithy/util-retry": "^4.2.5",
58
58
  "@smithy/util-utf8": "^4.2.0",
59
59
  "tslib": "^2.6.2"
60
60
  },