@aws-sdk/client-connect 3.301.0 → 3.306.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.
@@ -1,10 +1,9 @@
1
1
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
- export var ReferenceStatus;
4
- (function (ReferenceStatus) {
5
- ReferenceStatus["APPROVED"] = "APPROVED";
6
- ReferenceStatus["REJECTED"] = "REJECTED";
7
- })(ReferenceStatus || (ReferenceStatus = {}));
3
+ export const ReferenceStatus = {
4
+ APPROVED: "APPROVED",
5
+ REJECTED: "REJECTED",
6
+ };
8
7
  export var ReferenceSummary;
9
8
  (function (ReferenceSummary) {
10
9
  ReferenceSummary.visit = (value, visitor) => {
@@ -23,37 +22,31 @@ export var ReferenceSummary;
23
22
  return visitor._(value.$unknown[0], value.$unknown[1]);
24
23
  };
25
24
  })(ReferenceSummary || (ReferenceSummary = {}));
26
- export var QueueType;
27
- (function (QueueType) {
28
- QueueType["AGENT"] = "AGENT";
29
- QueueType["STANDARD"] = "STANDARD";
30
- })(QueueType || (QueueType = {}));
31
- export var SearchableQueueType;
32
- (function (SearchableQueueType) {
33
- SearchableQueueType["STANDARD"] = "STANDARD";
34
- })(SearchableQueueType || (SearchableQueueType = {}));
35
- export var StringComparisonType;
36
- (function (StringComparisonType) {
37
- StringComparisonType["CONTAINS"] = "CONTAINS";
38
- StringComparisonType["EXACT"] = "EXACT";
39
- StringComparisonType["STARTS_WITH"] = "STARTS_WITH";
40
- })(StringComparisonType || (StringComparisonType = {}));
41
- export var HierarchyGroupMatchType;
42
- (function (HierarchyGroupMatchType) {
43
- HierarchyGroupMatchType["EXACT"] = "EXACT";
44
- HierarchyGroupMatchType["WITH_CHILD_GROUPS"] = "WITH_CHILD_GROUPS";
45
- })(HierarchyGroupMatchType || (HierarchyGroupMatchType = {}));
46
- export var RehydrationType;
47
- (function (RehydrationType) {
48
- RehydrationType["ENTIRE_PAST_SESSION"] = "ENTIRE_PAST_SESSION";
49
- RehydrationType["FROM_SEGMENT"] = "FROM_SEGMENT";
50
- })(RehydrationType || (RehydrationType = {}));
51
- export var VoiceRecordingTrack;
52
- (function (VoiceRecordingTrack) {
53
- VoiceRecordingTrack["ALL"] = "ALL";
54
- VoiceRecordingTrack["FROM_AGENT"] = "FROM_AGENT";
55
- VoiceRecordingTrack["TO_AGENT"] = "TO_AGENT";
56
- })(VoiceRecordingTrack || (VoiceRecordingTrack = {}));
25
+ export const QueueType = {
26
+ AGENT: "AGENT",
27
+ STANDARD: "STANDARD",
28
+ };
29
+ export const SearchableQueueType = {
30
+ STANDARD: "STANDARD",
31
+ };
32
+ export const StringComparisonType = {
33
+ CONTAINS: "CONTAINS",
34
+ EXACT: "EXACT",
35
+ STARTS_WITH: "STARTS_WITH",
36
+ };
37
+ export const HierarchyGroupMatchType = {
38
+ EXACT: "EXACT",
39
+ WITH_CHILD_GROUPS: "WITH_CHILD_GROUPS",
40
+ };
41
+ export const RehydrationType = {
42
+ ENTIRE_PAST_SESSION: "ENTIRE_PAST_SESSION",
43
+ FROM_SEGMENT: "FROM_SEGMENT",
44
+ };
45
+ export const VoiceRecordingTrack = {
46
+ ALL: "ALL",
47
+ FROM_AGENT: "FROM_AGENT",
48
+ TO_AGENT: "TO_AGENT",
49
+ };
57
50
  export class DestinationNotAllowedException extends __BaseException {
58
51
  constructor(opts) {
59
52
  super({
@@ -80,11 +73,10 @@ export class OutboundContactNotPermittedException extends __BaseException {
80
73
  this.Message = opts.Message;
81
74
  }
82
75
  }
83
- export var TrafficType;
84
- (function (TrafficType) {
85
- TrafficType["CAMPAIGN"] = "CAMPAIGN";
86
- TrafficType["GENERAL"] = "GENERAL";
87
- })(TrafficType || (TrafficType = {}));
76
+ export const TrafficType = {
77
+ CAMPAIGN: "CAMPAIGN",
78
+ GENERAL: "GENERAL",
79
+ };
88
80
  export class ContactNotFoundException extends __BaseException {
89
81
  constructor(opts) {
90
82
  super({
@@ -98,20 +90,17 @@ export class ContactNotFoundException extends __BaseException {
98
90
  this.Message = opts.Message;
99
91
  }
100
92
  }
101
- export var TimerEligibleParticipantRoles;
102
- (function (TimerEligibleParticipantRoles) {
103
- TimerEligibleParticipantRoles["AGENT"] = "AGENT";
104
- TimerEligibleParticipantRoles["CUSTOMER"] = "CUSTOMER";
105
- })(TimerEligibleParticipantRoles || (TimerEligibleParticipantRoles = {}));
106
- export var ParticipantTimerType;
107
- (function (ParticipantTimerType) {
108
- ParticipantTimerType["DISCONNECT_NONCUSTOMER"] = "DISCONNECT_NONCUSTOMER";
109
- ParticipantTimerType["IDLE"] = "IDLE";
110
- })(ParticipantTimerType || (ParticipantTimerType = {}));
111
- export var ParticipantTimerAction;
112
- (function (ParticipantTimerAction) {
113
- ParticipantTimerAction["Unset"] = "Unset";
114
- })(ParticipantTimerAction || (ParticipantTimerAction = {}));
93
+ export const TimerEligibleParticipantRoles = {
94
+ AGENT: "AGENT",
95
+ CUSTOMER: "CUSTOMER",
96
+ };
97
+ export const ParticipantTimerType = {
98
+ DISCONNECT_NONCUSTOMER: "DISCONNECT_NONCUSTOMER",
99
+ IDLE: "IDLE",
100
+ };
101
+ export const ParticipantTimerAction = {
102
+ Unset: "Unset",
103
+ };
115
104
  export var ParticipantTimerValue;
116
105
  (function (ParticipantTimerValue) {
117
106
  ParticipantTimerValue.visit = (value, visitor) => {