@aws-sdk/client-connect 3.301.0 → 3.303.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.
@@ -3,11 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ReplicateInstanceRequestFilterSensitiveLog = exports.ListInstancesResponseFilterSensitiveLog = exports.InstanceSummaryFilterSensitiveLog = exports.UpdateParticipantRoleConfigChannelInfo = exports.ParticipantTimerValue = exports.ParticipantTimerAction = exports.ParticipantTimerType = exports.TimerEligibleParticipantRoles = exports.ContactNotFoundException = exports.TrafficType = exports.OutboundContactNotPermittedException = exports.DestinationNotAllowedException = exports.VoiceRecordingTrack = exports.RehydrationType = exports.HierarchyGroupMatchType = exports.StringComparisonType = exports.SearchableQueueType = exports.QueueType = exports.ReferenceSummary = exports.ReferenceStatus = void 0;
4
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
5
  const ConnectServiceException_1 = require("./ConnectServiceException");
6
- var ReferenceStatus;
7
- (function (ReferenceStatus) {
8
- ReferenceStatus["APPROVED"] = "APPROVED";
9
- ReferenceStatus["REJECTED"] = "REJECTED";
10
- })(ReferenceStatus = exports.ReferenceStatus || (exports.ReferenceStatus = {}));
6
+ exports.ReferenceStatus = {
7
+ APPROVED: "APPROVED",
8
+ REJECTED: "REJECTED",
9
+ };
11
10
  var ReferenceSummary;
12
11
  (function (ReferenceSummary) {
13
12
  ReferenceSummary.visit = (value, visitor) => {
@@ -26,37 +25,31 @@ var ReferenceSummary;
26
25
  return visitor._(value.$unknown[0], value.$unknown[1]);
27
26
  };
28
27
  })(ReferenceSummary = exports.ReferenceSummary || (exports.ReferenceSummary = {}));
29
- var QueueType;
30
- (function (QueueType) {
31
- QueueType["AGENT"] = "AGENT";
32
- QueueType["STANDARD"] = "STANDARD";
33
- })(QueueType = exports.QueueType || (exports.QueueType = {}));
34
- var SearchableQueueType;
35
- (function (SearchableQueueType) {
36
- SearchableQueueType["STANDARD"] = "STANDARD";
37
- })(SearchableQueueType = exports.SearchableQueueType || (exports.SearchableQueueType = {}));
38
- var StringComparisonType;
39
- (function (StringComparisonType) {
40
- StringComparisonType["CONTAINS"] = "CONTAINS";
41
- StringComparisonType["EXACT"] = "EXACT";
42
- StringComparisonType["STARTS_WITH"] = "STARTS_WITH";
43
- })(StringComparisonType = exports.StringComparisonType || (exports.StringComparisonType = {}));
44
- var HierarchyGroupMatchType;
45
- (function (HierarchyGroupMatchType) {
46
- HierarchyGroupMatchType["EXACT"] = "EXACT";
47
- HierarchyGroupMatchType["WITH_CHILD_GROUPS"] = "WITH_CHILD_GROUPS";
48
- })(HierarchyGroupMatchType = exports.HierarchyGroupMatchType || (exports.HierarchyGroupMatchType = {}));
49
- var RehydrationType;
50
- (function (RehydrationType) {
51
- RehydrationType["ENTIRE_PAST_SESSION"] = "ENTIRE_PAST_SESSION";
52
- RehydrationType["FROM_SEGMENT"] = "FROM_SEGMENT";
53
- })(RehydrationType = exports.RehydrationType || (exports.RehydrationType = {}));
54
- var VoiceRecordingTrack;
55
- (function (VoiceRecordingTrack) {
56
- VoiceRecordingTrack["ALL"] = "ALL";
57
- VoiceRecordingTrack["FROM_AGENT"] = "FROM_AGENT";
58
- VoiceRecordingTrack["TO_AGENT"] = "TO_AGENT";
59
- })(VoiceRecordingTrack = exports.VoiceRecordingTrack || (exports.VoiceRecordingTrack = {}));
28
+ exports.QueueType = {
29
+ AGENT: "AGENT",
30
+ STANDARD: "STANDARD",
31
+ };
32
+ exports.SearchableQueueType = {
33
+ STANDARD: "STANDARD",
34
+ };
35
+ exports.StringComparisonType = {
36
+ CONTAINS: "CONTAINS",
37
+ EXACT: "EXACT",
38
+ STARTS_WITH: "STARTS_WITH",
39
+ };
40
+ exports.HierarchyGroupMatchType = {
41
+ EXACT: "EXACT",
42
+ WITH_CHILD_GROUPS: "WITH_CHILD_GROUPS",
43
+ };
44
+ exports.RehydrationType = {
45
+ ENTIRE_PAST_SESSION: "ENTIRE_PAST_SESSION",
46
+ FROM_SEGMENT: "FROM_SEGMENT",
47
+ };
48
+ exports.VoiceRecordingTrack = {
49
+ ALL: "ALL",
50
+ FROM_AGENT: "FROM_AGENT",
51
+ TO_AGENT: "TO_AGENT",
52
+ };
60
53
  class DestinationNotAllowedException extends ConnectServiceException_1.ConnectServiceException {
61
54
  constructor(opts) {
62
55
  super({
@@ -85,11 +78,10 @@ class OutboundContactNotPermittedException extends ConnectServiceException_1.Con
85
78
  }
86
79
  }
87
80
  exports.OutboundContactNotPermittedException = OutboundContactNotPermittedException;
88
- var TrafficType;
89
- (function (TrafficType) {
90
- TrafficType["CAMPAIGN"] = "CAMPAIGN";
91
- TrafficType["GENERAL"] = "GENERAL";
92
- })(TrafficType = exports.TrafficType || (exports.TrafficType = {}));
81
+ exports.TrafficType = {
82
+ CAMPAIGN: "CAMPAIGN",
83
+ GENERAL: "GENERAL",
84
+ };
93
85
  class ContactNotFoundException extends ConnectServiceException_1.ConnectServiceException {
94
86
  constructor(opts) {
95
87
  super({
@@ -104,20 +96,17 @@ class ContactNotFoundException extends ConnectServiceException_1.ConnectServiceE
104
96
  }
105
97
  }
106
98
  exports.ContactNotFoundException = ContactNotFoundException;
107
- var TimerEligibleParticipantRoles;
108
- (function (TimerEligibleParticipantRoles) {
109
- TimerEligibleParticipantRoles["AGENT"] = "AGENT";
110
- TimerEligibleParticipantRoles["CUSTOMER"] = "CUSTOMER";
111
- })(TimerEligibleParticipantRoles = exports.TimerEligibleParticipantRoles || (exports.TimerEligibleParticipantRoles = {}));
112
- var ParticipantTimerType;
113
- (function (ParticipantTimerType) {
114
- ParticipantTimerType["DISCONNECT_NONCUSTOMER"] = "DISCONNECT_NONCUSTOMER";
115
- ParticipantTimerType["IDLE"] = "IDLE";
116
- })(ParticipantTimerType = exports.ParticipantTimerType || (exports.ParticipantTimerType = {}));
117
- var ParticipantTimerAction;
118
- (function (ParticipantTimerAction) {
119
- ParticipantTimerAction["Unset"] = "Unset";
120
- })(ParticipantTimerAction = exports.ParticipantTimerAction || (exports.ParticipantTimerAction = {}));
99
+ exports.TimerEligibleParticipantRoles = {
100
+ AGENT: "AGENT",
101
+ CUSTOMER: "CUSTOMER",
102
+ };
103
+ exports.ParticipantTimerType = {
104
+ DISCONNECT_NONCUSTOMER: "DISCONNECT_NONCUSTOMER",
105
+ IDLE: "IDLE",
106
+ };
107
+ exports.ParticipantTimerAction = {
108
+ Unset: "Unset",
109
+ };
121
110
  var ParticipantTimerValue;
122
111
  (function (ParticipantTimerValue) {
123
112
  ParticipantTimerValue.visit = (value, visitor) => {