@aws-sdk/client-connect 3.460.0 → 3.461.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.
Files changed (153) hide show
  1. package/README.md +104 -0
  2. package/dist-cjs/Connect.js +26 -0
  3. package/dist-cjs/commands/AssociateAnalyticsDataSetCommand.js +51 -0
  4. package/dist-cjs/commands/AssociateFlowCommand.js +51 -0
  5. package/dist-cjs/commands/BatchAssociateAnalyticsDataSetCommand.js +51 -0
  6. package/dist-cjs/commands/BatchDisassociateAnalyticsDataSetCommand.js +51 -0
  7. package/dist-cjs/commands/DisassociateAnalyticsDataSetCommand.js +51 -0
  8. package/dist-cjs/commands/DisassociateFlowCommand.js +51 -0
  9. package/dist-cjs/commands/GetFlowAssociationCommand.js +51 -0
  10. package/dist-cjs/commands/ImportPhoneNumberCommand.js +51 -0
  11. package/dist-cjs/commands/ListAnalyticsDataAssociationsCommand.js +51 -0
  12. package/dist-cjs/commands/ListFlowAssociationsCommand.js +51 -0
  13. package/dist-cjs/commands/ListRealtimeContactAnalysisSegmentsV2Command.js +51 -0
  14. package/dist-cjs/commands/SendChatIntegrationEventCommand.js +51 -0
  15. package/dist-cjs/commands/StartWebRTCContactCommand.js +52 -0
  16. package/dist-cjs/commands/index.js +13 -0
  17. package/dist-cjs/models/models_0.js +11 -10
  18. package/dist-cjs/models/models_1.js +81 -51
  19. package/dist-cjs/models/models_2.js +72 -1
  20. package/dist-cjs/pagination/ListFlowAssociationsPaginator.js +29 -0
  21. package/dist-cjs/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.js +29 -0
  22. package/dist-cjs/pagination/index.js +2 -0
  23. package/dist-cjs/protocols/Aws_restJson1.js +1056 -31
  24. package/dist-es/Connect.js +26 -0
  25. package/dist-es/commands/AssociateAnalyticsDataSetCommand.js +47 -0
  26. package/dist-es/commands/AssociateFlowCommand.js +47 -0
  27. package/dist-es/commands/BatchAssociateAnalyticsDataSetCommand.js +47 -0
  28. package/dist-es/commands/BatchDisassociateAnalyticsDataSetCommand.js +47 -0
  29. package/dist-es/commands/DisassociateAnalyticsDataSetCommand.js +47 -0
  30. package/dist-es/commands/DisassociateFlowCommand.js +47 -0
  31. package/dist-es/commands/GetFlowAssociationCommand.js +47 -0
  32. package/dist-es/commands/ImportPhoneNumberCommand.js +47 -0
  33. package/dist-es/commands/ListAnalyticsDataAssociationsCommand.js +47 -0
  34. package/dist-es/commands/ListFlowAssociationsCommand.js +47 -0
  35. package/dist-es/commands/ListRealtimeContactAnalysisSegmentsV2Command.js +47 -0
  36. package/dist-es/commands/SendChatIntegrationEventCommand.js +47 -0
  37. package/dist-es/commands/StartWebRTCContactCommand.js +48 -0
  38. package/dist-es/commands/index.js +13 -0
  39. package/dist-es/models/models_0.js +9 -8
  40. package/dist-es/models/models_1.js +79 -47
  41. package/dist-es/models/models_2.js +65 -0
  42. package/dist-es/pagination/ListFlowAssociationsPaginator.js +25 -0
  43. package/dist-es/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.js +25 -0
  44. package/dist-es/pagination/index.js +2 -0
  45. package/dist-es/protocols/Aws_restJson1.js +1019 -21
  46. package/dist-types/Connect.d.ts +91 -0
  47. package/dist-types/ConnectClient.d.ts +15 -2
  48. package/dist-types/commands/AssociateAnalyticsDataSetCommand.d.ts +95 -0
  49. package/dist-types/commands/AssociateFlowCommand.d.ts +92 -0
  50. package/dist-types/commands/BatchAssociateAnalyticsDataSetCommand.d.ts +107 -0
  51. package/dist-types/commands/BatchDisassociateAnalyticsDataSetCommand.d.ts +102 -0
  52. package/dist-types/commands/CreateRuleCommand.d.ts +1 -1
  53. package/dist-types/commands/CreateUserCommand.d.ts +1 -3
  54. package/dist-types/commands/DescribePhoneNumberCommand.d.ts +2 -1
  55. package/dist-types/commands/DescribeQuickConnectCommand.d.ts +1 -1
  56. package/dist-types/commands/DescribeRoutingProfileCommand.d.ts +1 -1
  57. package/dist-types/commands/DescribeRuleCommand.d.ts +2 -2
  58. package/dist-types/commands/DescribeSecurityProfileCommand.d.ts +1 -1
  59. package/dist-types/commands/DescribeTrafficDistributionGroupCommand.d.ts +1 -2
  60. package/dist-types/commands/DescribeUserCommand.d.ts +1 -1
  61. package/dist-types/commands/DisassociateAnalyticsDataSetCommand.d.ts +89 -0
  62. package/dist-types/commands/DisassociateFlowCommand.d.ts +91 -0
  63. package/dist-types/commands/GetFlowAssociationCommand.d.ts +95 -0
  64. package/dist-types/commands/ImportPhoneNumberCommand.d.ts +100 -0
  65. package/dist-types/commands/ListAnalyticsDataAssociationsCommand.d.ts +101 -0
  66. package/dist-types/commands/ListFlowAssociationsCommand.d.ts +101 -0
  67. package/dist-types/commands/ListPhoneNumbersCommand.d.ts +2 -2
  68. package/dist-types/commands/ListPhoneNumbersV2Command.d.ts +4 -2
  69. package/dist-types/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +185 -0
  70. package/dist-types/commands/ListRulesCommand.d.ts +2 -2
  71. package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +1 -1
  72. package/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +2 -2
  73. package/dist-types/commands/SendChatIntegrationEventCommand.d.ts +125 -0
  74. package/dist-types/commands/StartChatContactCommand.d.ts +1 -1
  75. package/dist-types/commands/StartContactEvaluationCommand.d.ts +1 -1
  76. package/dist-types/commands/StartContactRecordingCommand.d.ts +1 -1
  77. package/dist-types/commands/StartContactStreamingCommand.d.ts +1 -1
  78. package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +1 -1
  79. package/dist-types/commands/StartTaskContactCommand.d.ts +1 -1
  80. package/dist-types/commands/StartWebRTCContactCommand.d.ts +137 -0
  81. package/dist-types/commands/StopContactCommand.d.ts +1 -1
  82. package/dist-types/commands/StopContactRecordingCommand.d.ts +1 -1
  83. package/dist-types/commands/StopContactStreamingCommand.d.ts +1 -1
  84. package/dist-types/commands/SubmitContactEvaluationCommand.d.ts +1 -1
  85. package/dist-types/commands/SuspendContactRecordingCommand.d.ts +1 -1
  86. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  87. package/dist-types/commands/TransferContactCommand.d.ts +1 -1
  88. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  89. package/dist-types/commands/UpdateAgentStatusCommand.d.ts +1 -1
  90. package/dist-types/commands/UpdateContactAttributesCommand.d.ts +1 -1
  91. package/dist-types/commands/UpdateContactCommand.d.ts +1 -1
  92. package/dist-types/commands/UpdateContactEvaluationCommand.d.ts +1 -1
  93. package/dist-types/commands/UpdateContactFlowContentCommand.d.ts +1 -1
  94. package/dist-types/commands/UpdateContactFlowMetadataCommand.d.ts +1 -1
  95. package/dist-types/commands/UpdateContactFlowModuleContentCommand.d.ts +1 -2
  96. package/dist-types/commands/index.d.ts +13 -0
  97. package/dist-types/models/models_0.d.ts +271 -381
  98. package/dist-types/models/models_1.d.ts +3355 -3077
  99. package/dist-types/models/models_2.d.ts +1427 -2
  100. package/dist-types/pagination/ListFlowAssociationsPaginator.d.ts +7 -0
  101. package/dist-types/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.d.ts +7 -0
  102. package/dist-types/pagination/index.d.ts +2 -0
  103. package/dist-types/protocols/Aws_restJson1.d.ts +117 -0
  104. package/dist-types/ts3.4/Connect.d.ts +233 -0
  105. package/dist-types/ts3.4/ConnectClient.d.ts +78 -0
  106. package/dist-types/ts3.4/commands/AssociateAnalyticsDataSetCommand.d.ts +42 -0
  107. package/dist-types/ts3.4/commands/AssociateFlowCommand.d.ts +38 -0
  108. package/dist-types/ts3.4/commands/BatchAssociateAnalyticsDataSetCommand.d.ts +42 -0
  109. package/dist-types/ts3.4/commands/BatchDisassociateAnalyticsDataSetCommand.d.ts +42 -0
  110. package/dist-types/ts3.4/commands/DescribeQuickConnectCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/DescribeRoutingProfileCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/DescribeRuleCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/DescribeSecurityProfileCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/DescribeTrafficDistributionGroupCommand.d.ts +4 -2
  115. package/dist-types/ts3.4/commands/DisassociateAnalyticsDataSetCommand.d.ts +38 -0
  116. package/dist-types/ts3.4/commands/DisassociateFlowCommand.d.ts +38 -0
  117. package/dist-types/ts3.4/commands/GetFlowAssociationCommand.d.ts +39 -0
  118. package/dist-types/ts3.4/commands/ImportPhoneNumberCommand.d.ts +39 -0
  119. package/dist-types/ts3.4/commands/ListAnalyticsDataAssociationsCommand.d.ts +42 -0
  120. package/dist-types/ts3.4/commands/ListFlowAssociationsCommand.d.ts +42 -0
  121. package/dist-types/ts3.4/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +42 -0
  122. package/dist-types/ts3.4/commands/SendChatIntegrationEventCommand.d.ts +42 -0
  123. package/dist-types/ts3.4/commands/StartChatContactCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/StartContactEvaluationCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/StartContactRecordingCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/StartContactStreamingCommand.d.ts +1 -1
  127. package/dist-types/ts3.4/commands/StartOutboundVoiceContactCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/StartTaskContactCommand.d.ts +1 -1
  129. package/dist-types/ts3.4/commands/StartWebRTCContactCommand.d.ts +39 -0
  130. package/dist-types/ts3.4/commands/StopContactCommand.d.ts +1 -1
  131. package/dist-types/ts3.4/commands/StopContactRecordingCommand.d.ts +1 -1
  132. package/dist-types/ts3.4/commands/StopContactStreamingCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/SubmitContactEvaluationCommand.d.ts +1 -1
  134. package/dist-types/ts3.4/commands/SuspendContactRecordingCommand.d.ts +1 -1
  135. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  136. package/dist-types/ts3.4/commands/TransferContactCommand.d.ts +1 -1
  137. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  138. package/dist-types/ts3.4/commands/UpdateAgentStatusCommand.d.ts +1 -1
  139. package/dist-types/ts3.4/commands/UpdateContactAttributesCommand.d.ts +1 -1
  140. package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +1 -1
  141. package/dist-types/ts3.4/commands/UpdateContactEvaluationCommand.d.ts +1 -1
  142. package/dist-types/ts3.4/commands/UpdateContactFlowContentCommand.d.ts +1 -1
  143. package/dist-types/ts3.4/commands/UpdateContactFlowMetadataCommand.d.ts +1 -1
  144. package/dist-types/ts3.4/commands/UpdateContactFlowModuleContentCommand.d.ts +4 -2
  145. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  146. package/dist-types/ts3.4/models/models_0.d.ts +69 -94
  147. package/dist-types/ts3.4/models/models_1.d.ts +388 -256
  148. package/dist-types/ts3.4/models/models_2.d.ts +334 -0
  149. package/dist-types/ts3.4/pagination/ListFlowAssociationsPaginator.d.ts +11 -0
  150. package/dist-types/ts3.4/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.d.ts +11 -0
  151. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  152. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
  153. package/package.json +3 -3
@@ -2,12 +2,13 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-cli
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
3
  import {
4
4
  ActionSummary,
5
+ AgentAvailabilityTimer,
5
6
  AgentConfig,
6
7
  AgentContactReference,
7
8
  AgentStatusReference,
8
- AgentStatusState,
9
9
  AgentStatusSummary,
10
10
  AgentStatusType,
11
+ AnalyticsDataAssociationResult,
11
12
  Application,
12
13
  Attribute,
13
14
  Channel,
@@ -17,12 +18,12 @@ import {
17
18
  ContactState,
18
19
  DirectoryType,
19
20
  Distribution,
20
- EvaluationAnswerData,
21
21
  EvaluationFormVersionStatus,
22
- EvaluationNote,
23
22
  EvaluationScore,
24
23
  EvaluationStatus,
25
24
  EventSourceName,
25
+ FlowAssociationResourceType,
26
+ FlowAssociationSummary,
26
27
  HoursOfOperation,
27
28
  InstanceStatus,
28
29
  InstanceStorageConfig,
@@ -30,26 +31,27 @@ import {
30
31
  IntegrationType,
31
32
  LexBot,
32
33
  LexV2Bot,
34
+ ListFlowAssociationResourceType,
35
+ MediaConcurrency,
33
36
  MonitorCapability,
37
+ ParticipantRole,
34
38
  PhoneNumberCountryCode,
35
39
  PhoneNumberType,
36
40
  Prompt,
37
41
  Queue,
38
42
  QueueReference,
39
- QuickConnect,
43
+ QuickConnectConfig,
40
44
  QuickConnectType,
41
- Reference,
42
45
  ReferenceType,
43
- RehydrationType,
44
- RoutingProfile,
45
46
  RoutingProfileQueueReference,
47
+ RuleAction,
46
48
  RulePublishStatus,
49
+ RuleTriggerEventSource,
47
50
  SourceType,
48
51
  TaskTemplateConstraints,
49
52
  TaskTemplateDefaults,
50
53
  TaskTemplateField,
51
54
  TaskTemplateStatus,
52
- TrafficDistributionGroupStatus,
53
55
  UseCaseType,
54
56
  UserIdentityInfo,
55
57
  UserPhoneConfig,
@@ -59,6 +61,98 @@ import {
59
61
  VocabularyLanguageCode,
60
62
  VocabularyState,
61
63
  } from "./models_0";
64
+ export interface DescribeQuickConnectRequest {
65
+ InstanceId: string | undefined;
66
+ QuickConnectId: string | undefined;
67
+ }
68
+ export interface QuickConnect {
69
+ QuickConnectARN?: string;
70
+ QuickConnectId?: string;
71
+ Name?: string;
72
+ Description?: string;
73
+ QuickConnectConfig?: QuickConnectConfig;
74
+ Tags?: Record<string, string>;
75
+ LastModifiedTime?: Date;
76
+ LastModifiedRegion?: string;
77
+ }
78
+ export interface DescribeQuickConnectResponse {
79
+ QuickConnect?: QuickConnect;
80
+ }
81
+ export interface DescribeRoutingProfileRequest {
82
+ InstanceId: string | undefined;
83
+ RoutingProfileId: string | undefined;
84
+ }
85
+ export interface RoutingProfile {
86
+ InstanceId?: string;
87
+ Name?: string;
88
+ RoutingProfileArn?: string;
89
+ RoutingProfileId?: string;
90
+ Description?: string;
91
+ MediaConcurrencies?: MediaConcurrency[];
92
+ DefaultOutboundQueueId?: string;
93
+ Tags?: Record<string, string>;
94
+ NumberOfAssociatedQueues?: number;
95
+ NumberOfAssociatedUsers?: number;
96
+ AgentAvailabilityTimer?: AgentAvailabilityTimer;
97
+ LastModifiedTime?: Date;
98
+ LastModifiedRegion?: string;
99
+ IsDefault?: boolean;
100
+ }
101
+ export interface DescribeRoutingProfileResponse {
102
+ RoutingProfile?: RoutingProfile;
103
+ }
104
+ export interface DescribeRuleRequest {
105
+ InstanceId: string | undefined;
106
+ RuleId: string | undefined;
107
+ }
108
+ export interface Rule {
109
+ Name: string | undefined;
110
+ RuleId: string | undefined;
111
+ RuleArn: string | undefined;
112
+ TriggerEventSource: RuleTriggerEventSource | undefined;
113
+ Function: string | undefined;
114
+ Actions: RuleAction[] | undefined;
115
+ PublishStatus: RulePublishStatus | undefined;
116
+ CreatedTime: Date | undefined;
117
+ LastUpdatedTime: Date | undefined;
118
+ LastUpdatedBy: string | undefined;
119
+ Tags?: Record<string, string>;
120
+ }
121
+ export interface DescribeRuleResponse {
122
+ Rule: Rule | undefined;
123
+ }
124
+ export interface DescribeSecurityProfileRequest {
125
+ SecurityProfileId: string | undefined;
126
+ InstanceId: string | undefined;
127
+ }
128
+ export interface SecurityProfile {
129
+ Id?: string;
130
+ OrganizationResourceId?: string;
131
+ Arn?: string;
132
+ SecurityProfileName?: string;
133
+ Description?: string;
134
+ Tags?: Record<string, string>;
135
+ AllowedAccessControlTags?: Record<string, string>;
136
+ TagRestrictedResources?: string[];
137
+ LastModifiedTime?: Date;
138
+ LastModifiedRegion?: string;
139
+ }
140
+ export interface DescribeSecurityProfileResponse {
141
+ SecurityProfile?: SecurityProfile;
142
+ }
143
+ export interface DescribeTrafficDistributionGroupRequest {
144
+ TrafficDistributionGroupId: string | undefined;
145
+ }
146
+ export declare const TrafficDistributionGroupStatus: {
147
+ readonly ACTIVE: "ACTIVE";
148
+ readonly CREATION_FAILED: "CREATION_FAILED";
149
+ readonly CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS";
150
+ readonly DELETION_FAILED: "DELETION_FAILED";
151
+ readonly PENDING_DELETION: "PENDING_DELETION";
152
+ readonly UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS";
153
+ };
154
+ export type TrafficDistributionGroupStatus =
155
+ (typeof TrafficDistributionGroupStatus)[keyof typeof TrafficDistributionGroupStatus];
62
156
  export interface TrafficDistributionGroup {
63
157
  Id?: string;
64
158
  Arn?: string;
@@ -169,6 +263,11 @@ export interface Vocabulary {
169
263
  export interface DescribeVocabularyResponse {
170
264
  Vocabulary: Vocabulary | undefined;
171
265
  }
266
+ export interface DisassociateAnalyticsDataSetRequest {
267
+ InstanceId: string | undefined;
268
+ DataSetId: string | undefined;
269
+ TargetAccountId?: string;
270
+ }
172
271
  export interface DisassociateApprovedOriginRequest {
173
272
  InstanceId: string | undefined;
174
273
  Origin: string | undefined;
@@ -178,6 +277,12 @@ export interface DisassociateBotRequest {
178
277
  LexBot?: LexBot;
179
278
  LexV2Bot?: LexV2Bot;
180
279
  }
280
+ export interface DisassociateFlowRequest {
281
+ InstanceId: string | undefined;
282
+ ResourceId: string | undefined;
283
+ ResourceType: FlowAssociationResourceType | undefined;
284
+ }
285
+ export interface DisassociateFlowResponse {}
181
286
  export interface DisassociateInstanceStorageConfigRequest {
182
287
  InstanceId: string | undefined;
183
288
  AssociationId: string | undefined;
@@ -378,6 +483,16 @@ export declare class UserNotFoundException extends __BaseException {
378
483
  opts: __ExceptionOptionType<UserNotFoundException, __BaseException>
379
484
  );
380
485
  }
486
+ export interface GetFlowAssociationRequest {
487
+ InstanceId: string | undefined;
488
+ ResourceId: string | undefined;
489
+ ResourceType: FlowAssociationResourceType | undefined;
490
+ }
491
+ export interface GetFlowAssociationResponse {
492
+ ResourceId?: string;
493
+ FlowId?: string;
494
+ ResourceType?: FlowAssociationResourceType;
495
+ }
381
496
  export declare const HistoricalMetricName: {
382
497
  readonly ABANDON_TIME: "ABANDON_TIME";
383
498
  readonly AFTER_CONTACT_WORK_TIME: "AFTER_CONTACT_WORK_TIME";
@@ -559,6 +674,17 @@ export interface GetTrafficDistributionResponse {
559
674
  SignInConfig?: SignInConfig;
560
675
  AgentConfig?: AgentConfig;
561
676
  }
677
+ export interface ImportPhoneNumberRequest {
678
+ InstanceId: string | undefined;
679
+ SourcePhoneNumberArn: string | undefined;
680
+ PhoneNumberDescription?: string;
681
+ Tags?: Record<string, string>;
682
+ ClientToken?: string;
683
+ }
684
+ export interface ImportPhoneNumberResponse {
685
+ PhoneNumberId?: string;
686
+ PhoneNumberArn?: string;
687
+ }
562
688
  export interface ListAgentStatusRequest {
563
689
  InstanceId: string | undefined;
564
690
  NextToken?: string;
@@ -569,6 +695,16 @@ export interface ListAgentStatusResponse {
569
695
  NextToken?: string;
570
696
  AgentStatusSummaryList?: AgentStatusSummary[];
571
697
  }
698
+ export interface ListAnalyticsDataAssociationsRequest {
699
+ InstanceId: string | undefined;
700
+ DataSetId?: string;
701
+ NextToken?: string;
702
+ MaxResults?: number;
703
+ }
704
+ export interface ListAnalyticsDataAssociationsResponse {
705
+ Results?: AnalyticsDataAssociationResult[];
706
+ NextToken?: string;
707
+ }
572
708
  export interface ListApprovedOriginsRequest {
573
709
  InstanceId: string | undefined;
574
710
  NextToken?: string;
@@ -833,6 +969,16 @@ export interface ListEvaluationFormVersionsResponse {
833
969
  EvaluationFormVersionSummaryList: EvaluationFormVersionSummary[] | undefined;
834
970
  NextToken?: string;
835
971
  }
972
+ export interface ListFlowAssociationsRequest {
973
+ InstanceId: string | undefined;
974
+ ResourceType?: ListFlowAssociationResourceType;
975
+ NextToken?: string;
976
+ MaxResults?: number;
977
+ }
978
+ export interface ListFlowAssociationsResponse {
979
+ FlowAssociationSummaryList?: FlowAssociationSummary[];
980
+ NextToken?: string;
981
+ }
836
982
  export interface ListHoursOfOperationsRequest {
837
983
  InstanceId: string | undefined;
838
984
  NextToken?: string;
@@ -962,6 +1108,8 @@ export interface ListPhoneNumbersSummary {
962
1108
  PhoneNumberType?: PhoneNumberType;
963
1109
  TargetArn?: string;
964
1110
  InstanceId?: string;
1111
+ PhoneNumberDescription?: string;
1112
+ SourcePhoneNumberArn?: string;
965
1113
  }
966
1114
  export interface ListPhoneNumbersV2Response {
967
1115
  NextToken?: string;
@@ -1036,6 +1184,228 @@ export interface ListQuickConnectsResponse {
1036
1184
  QuickConnectSummaryList?: QuickConnectSummary[];
1037
1185
  NextToken?: string;
1038
1186
  }
1187
+ export declare const RealTimeContactAnalysisOutputType: {
1188
+ readonly Raw: "Raw";
1189
+ readonly Redacted: "Redacted";
1190
+ };
1191
+ export type RealTimeContactAnalysisOutputType =
1192
+ (typeof RealTimeContactAnalysisOutputType)[keyof typeof RealTimeContactAnalysisOutputType];
1193
+ export declare const RealTimeContactAnalysisSegmentType: {
1194
+ readonly Attachments: "Attachments";
1195
+ readonly Categories: "Categories";
1196
+ readonly Event: "Event";
1197
+ readonly Issues: "Issues";
1198
+ readonly Transcript: "Transcript";
1199
+ };
1200
+ export type RealTimeContactAnalysisSegmentType =
1201
+ (typeof RealTimeContactAnalysisSegmentType)[keyof typeof RealTimeContactAnalysisSegmentType];
1202
+ export interface ListRealtimeContactAnalysisSegmentsV2Request {
1203
+ InstanceId: string | undefined;
1204
+ ContactId: string | undefined;
1205
+ MaxResults?: number;
1206
+ NextToken?: string;
1207
+ OutputType: RealTimeContactAnalysisOutputType | undefined;
1208
+ SegmentTypes: RealTimeContactAnalysisSegmentType[] | undefined;
1209
+ }
1210
+ export declare const RealTimeContactAnalysisSupportedChannel: {
1211
+ readonly CHAT: "CHAT";
1212
+ readonly VOICE: "VOICE";
1213
+ };
1214
+ export type RealTimeContactAnalysisSupportedChannel =
1215
+ (typeof RealTimeContactAnalysisSupportedChannel)[keyof typeof RealTimeContactAnalysisSupportedChannel];
1216
+ export declare const ArtifactStatus: {
1217
+ readonly APPROVED: "APPROVED";
1218
+ readonly IN_PROGRESS: "IN_PROGRESS";
1219
+ readonly REJECTED: "REJECTED";
1220
+ };
1221
+ export type ArtifactStatus =
1222
+ (typeof ArtifactStatus)[keyof typeof ArtifactStatus];
1223
+ export interface RealTimeContactAnalysisAttachment {
1224
+ AttachmentName: string | undefined;
1225
+ ContentType?: string;
1226
+ AttachmentId: string | undefined;
1227
+ Status?: ArtifactStatus;
1228
+ }
1229
+ export type RealTimeContactAnalysisTimeData =
1230
+ | RealTimeContactAnalysisTimeData.AbsoluteTimeMember
1231
+ | RealTimeContactAnalysisTimeData.$UnknownMember;
1232
+ export declare namespace RealTimeContactAnalysisTimeData {
1233
+ interface AbsoluteTimeMember {
1234
+ AbsoluteTime: Date;
1235
+ $unknown?: never;
1236
+ }
1237
+ interface $UnknownMember {
1238
+ AbsoluteTime?: never;
1239
+ $unknown: [string, any];
1240
+ }
1241
+ interface Visitor<T> {
1242
+ AbsoluteTime: (value: Date) => T;
1243
+ _: (name: string, value: any) => T;
1244
+ }
1245
+ const visit: <T>(
1246
+ value: RealTimeContactAnalysisTimeData,
1247
+ visitor: Visitor<T>
1248
+ ) => T;
1249
+ }
1250
+ export interface RealTimeContactAnalysisSegmentAttachments {
1251
+ Id: string | undefined;
1252
+ ParticipantId: string | undefined;
1253
+ ParticipantRole: ParticipantRole | undefined;
1254
+ DisplayName?: string;
1255
+ Attachments: RealTimeContactAnalysisAttachment[] | undefined;
1256
+ Time: RealTimeContactAnalysisTimeData | undefined;
1257
+ }
1258
+ export interface RealTimeContactAnalysisCharacterInterval {
1259
+ BeginOffsetChar: number | undefined;
1260
+ EndOffsetChar: number | undefined;
1261
+ }
1262
+ export interface RealTimeContactAnalysisTranscriptItemWithCharacterOffsets {
1263
+ Id: string | undefined;
1264
+ CharacterOffsets?: RealTimeContactAnalysisCharacterInterval;
1265
+ }
1266
+ export interface RealTimeContactAnalysisPointOfInterest {
1267
+ TranscriptItems?: RealTimeContactAnalysisTranscriptItemWithCharacterOffsets[];
1268
+ }
1269
+ export interface RealTimeContactAnalysisCategoryDetails {
1270
+ PointsOfInterest: RealTimeContactAnalysisPointOfInterest[] | undefined;
1271
+ }
1272
+ export interface RealTimeContactAnalysisSegmentCategories {
1273
+ MatchedDetails:
1274
+ | Record<string, RealTimeContactAnalysisCategoryDetails>
1275
+ | undefined;
1276
+ }
1277
+ export interface RealTimeContactAnalysisSegmentEvent {
1278
+ Id: string | undefined;
1279
+ ParticipantId?: string;
1280
+ ParticipantRole?: ParticipantRole;
1281
+ DisplayName?: string;
1282
+ EventType: string | undefined;
1283
+ Time: RealTimeContactAnalysisTimeData | undefined;
1284
+ }
1285
+ export interface RealTimeContactAnalysisTranscriptItemWithContent {
1286
+ Content?: string;
1287
+ Id: string | undefined;
1288
+ CharacterOffsets?: RealTimeContactAnalysisCharacterInterval;
1289
+ }
1290
+ export interface RealTimeContactAnalysisIssueDetected {
1291
+ TranscriptItems:
1292
+ | RealTimeContactAnalysisTranscriptItemWithContent[]
1293
+ | undefined;
1294
+ }
1295
+ export interface RealTimeContactAnalysisSegmentIssues {
1296
+ IssuesDetected: RealTimeContactAnalysisIssueDetected[] | undefined;
1297
+ }
1298
+ export interface RealTimeContactAnalysisTranscriptItemRedaction {
1299
+ CharacterOffsets?: RealTimeContactAnalysisCharacterInterval[];
1300
+ }
1301
+ export declare const RealTimeContactAnalysisSentimentLabel: {
1302
+ readonly NEGATIVE: "NEGATIVE";
1303
+ readonly NEUTRAL: "NEUTRAL";
1304
+ readonly POSITIVE: "POSITIVE";
1305
+ };
1306
+ export type RealTimeContactAnalysisSentimentLabel =
1307
+ (typeof RealTimeContactAnalysisSentimentLabel)[keyof typeof RealTimeContactAnalysisSentimentLabel];
1308
+ export interface RealTimeContactAnalysisSegmentTranscript {
1309
+ Id: string | undefined;
1310
+ ParticipantId: string | undefined;
1311
+ ParticipantRole: ParticipantRole | undefined;
1312
+ DisplayName?: string;
1313
+ Content: string | undefined;
1314
+ ContentType?: string;
1315
+ Time: RealTimeContactAnalysisTimeData | undefined;
1316
+ Redaction?: RealTimeContactAnalysisTranscriptItemRedaction;
1317
+ Sentiment?: RealTimeContactAnalysisSentimentLabel;
1318
+ }
1319
+ export type RealtimeContactAnalysisSegment =
1320
+ | RealtimeContactAnalysisSegment.AttachmentsMember
1321
+ | RealtimeContactAnalysisSegment.CategoriesMember
1322
+ | RealtimeContactAnalysisSegment.EventMember
1323
+ | RealtimeContactAnalysisSegment.IssuesMember
1324
+ | RealtimeContactAnalysisSegment.TranscriptMember
1325
+ | RealtimeContactAnalysisSegment.$UnknownMember;
1326
+ export declare namespace RealtimeContactAnalysisSegment {
1327
+ interface TranscriptMember {
1328
+ Transcript: RealTimeContactAnalysisSegmentTranscript;
1329
+ Categories?: never;
1330
+ Issues?: never;
1331
+ Event?: never;
1332
+ Attachments?: never;
1333
+ $unknown?: never;
1334
+ }
1335
+ interface CategoriesMember {
1336
+ Transcript?: never;
1337
+ Categories: RealTimeContactAnalysisSegmentCategories;
1338
+ Issues?: never;
1339
+ Event?: never;
1340
+ Attachments?: never;
1341
+ $unknown?: never;
1342
+ }
1343
+ interface IssuesMember {
1344
+ Transcript?: never;
1345
+ Categories?: never;
1346
+ Issues: RealTimeContactAnalysisSegmentIssues;
1347
+ Event?: never;
1348
+ Attachments?: never;
1349
+ $unknown?: never;
1350
+ }
1351
+ interface EventMember {
1352
+ Transcript?: never;
1353
+ Categories?: never;
1354
+ Issues?: never;
1355
+ Event: RealTimeContactAnalysisSegmentEvent;
1356
+ Attachments?: never;
1357
+ $unknown?: never;
1358
+ }
1359
+ interface AttachmentsMember {
1360
+ Transcript?: never;
1361
+ Categories?: never;
1362
+ Issues?: never;
1363
+ Event?: never;
1364
+ Attachments: RealTimeContactAnalysisSegmentAttachments;
1365
+ $unknown?: never;
1366
+ }
1367
+ interface $UnknownMember {
1368
+ Transcript?: never;
1369
+ Categories?: never;
1370
+ Issues?: never;
1371
+ Event?: never;
1372
+ Attachments?: never;
1373
+ $unknown: [string, any];
1374
+ }
1375
+ interface Visitor<T> {
1376
+ Transcript: (value: RealTimeContactAnalysisSegmentTranscript) => T;
1377
+ Categories: (value: RealTimeContactAnalysisSegmentCategories) => T;
1378
+ Issues: (value: RealTimeContactAnalysisSegmentIssues) => T;
1379
+ Event: (value: RealTimeContactAnalysisSegmentEvent) => T;
1380
+ Attachments: (value: RealTimeContactAnalysisSegmentAttachments) => T;
1381
+ _: (name: string, value: any) => T;
1382
+ }
1383
+ const visit: <T>(
1384
+ value: RealtimeContactAnalysisSegment,
1385
+ visitor: Visitor<T>
1386
+ ) => T;
1387
+ }
1388
+ export declare const RealTimeContactAnalysisStatus: {
1389
+ readonly COMPLETED: "COMPLETED";
1390
+ readonly FAILED: "FAILED";
1391
+ readonly IN_PROGRESS: "IN_PROGRESS";
1392
+ };
1393
+ export type RealTimeContactAnalysisStatus =
1394
+ (typeof RealTimeContactAnalysisStatus)[keyof typeof RealTimeContactAnalysisStatus];
1395
+ export interface ListRealtimeContactAnalysisSegmentsV2Response {
1396
+ Channel: RealTimeContactAnalysisSupportedChannel | undefined;
1397
+ Status: RealTimeContactAnalysisStatus | undefined;
1398
+ Segments: RealtimeContactAnalysisSegment[] | undefined;
1399
+ NextToken?: string;
1400
+ }
1401
+ export declare class OutputTypeNotFoundException extends __BaseException {
1402
+ readonly name: "OutputTypeNotFoundException";
1403
+ readonly $fault: "client";
1404
+ Message?: string;
1405
+ constructor(
1406
+ opts: __ExceptionOptionType<OutputTypeNotFoundException, __BaseException>
1407
+ );
1408
+ }
1039
1409
  export interface ListRoutingProfileQueuesRequest {
1040
1410
  InstanceId: string | undefined;
1041
1411
  RoutingProfileId: string | undefined;
@@ -1503,258 +1873,20 @@ export interface SearchVocabulariesResponse {
1503
1873
  VocabularySummaryList?: VocabularySummary[];
1504
1874
  NextToken?: string;
1505
1875
  }
1506
- export interface ChatMessage {
1507
- ContentType: string | undefined;
1508
- Content: string | undefined;
1876
+ export declare const ChatEventType: {
1877
+ readonly DISCONNECT: "DISCONNECT";
1878
+ readonly EVENT: "EVENT";
1879
+ readonly MESSAGE: "MESSAGE";
1880
+ };
1881
+ export type ChatEventType = (typeof ChatEventType)[keyof typeof ChatEventType];
1882
+ export interface ChatEvent {
1883
+ Type: ChatEventType | undefined;
1884
+ ContentType?: string;
1885
+ Content?: string;
1509
1886
  }
1510
1887
  export interface ParticipantDetails {
1511
1888
  DisplayName: string | undefined;
1512
1889
  }
1513
- export interface PersistentChat {
1514
- RehydrationType?: RehydrationType;
1515
- SourceContactId?: string;
1516
- }
1517
- export interface SegmentAttributeValue {
1518
- ValueString?: string;
1519
- }
1520
- export interface StartChatContactRequest {
1521
- InstanceId: string | undefined;
1522
- ContactFlowId: string | undefined;
1523
- Attributes?: Record<string, string>;
1524
- ParticipantDetails: ParticipantDetails | undefined;
1525
- InitialMessage?: ChatMessage;
1526
- ClientToken?: string;
1527
- ChatDurationInMinutes?: number;
1528
- SupportedMessagingContentTypes?: string[];
1529
- PersistentChat?: PersistentChat;
1530
- RelatedContactId?: string;
1531
- SegmentAttributes?: Record<string, SegmentAttributeValue>;
1532
- }
1533
- export interface StartChatContactResponse {
1534
- ContactId?: string;
1535
- ParticipantId?: string;
1536
- ParticipantToken?: string;
1537
- ContinuedFromContactId?: string;
1538
- }
1539
- export interface StartContactEvaluationRequest {
1540
- InstanceId: string | undefined;
1541
- ContactId: string | undefined;
1542
- EvaluationFormId: string | undefined;
1543
- ClientToken?: string;
1544
- }
1545
- export interface StartContactEvaluationResponse {
1546
- EvaluationId: string | undefined;
1547
- EvaluationArn: string | undefined;
1548
- }
1549
- export declare const VoiceRecordingTrack: {
1550
- readonly ALL: "ALL";
1551
- readonly FROM_AGENT: "FROM_AGENT";
1552
- readonly TO_AGENT: "TO_AGENT";
1553
- };
1554
- export type VoiceRecordingTrack =
1555
- (typeof VoiceRecordingTrack)[keyof typeof VoiceRecordingTrack];
1556
- export interface VoiceRecordingConfiguration {
1557
- VoiceRecordingTrack?: VoiceRecordingTrack;
1558
- }
1559
- export interface StartContactRecordingRequest {
1560
- InstanceId: string | undefined;
1561
- ContactId: string | undefined;
1562
- InitialContactId: string | undefined;
1563
- VoiceRecordingConfiguration: VoiceRecordingConfiguration | undefined;
1564
- }
1565
- export interface StartContactRecordingResponse {}
1566
- export interface ChatStreamingConfiguration {
1567
- StreamingEndpointArn: string | undefined;
1568
- }
1569
- export interface StartContactStreamingRequest {
1570
- InstanceId: string | undefined;
1571
- ContactId: string | undefined;
1572
- ChatStreamingConfiguration: ChatStreamingConfiguration | undefined;
1573
- ClientToken?: string;
1574
- }
1575
- export interface StartContactStreamingResponse {
1576
- StreamingId: string | undefined;
1577
- }
1578
- export declare class DestinationNotAllowedException extends __BaseException {
1579
- readonly name: "DestinationNotAllowedException";
1580
- readonly $fault: "client";
1581
- Message?: string;
1582
- constructor(
1583
- opts: __ExceptionOptionType<DestinationNotAllowedException, __BaseException>
1584
- );
1585
- }
1586
- export declare class OutboundContactNotPermittedException extends __BaseException {
1587
- readonly name: "OutboundContactNotPermittedException";
1588
- readonly $fault: "client";
1589
- Message?: string;
1590
- constructor(
1591
- opts: __ExceptionOptionType<
1592
- OutboundContactNotPermittedException,
1593
- __BaseException
1594
- >
1595
- );
1596
- }
1597
- export interface AnswerMachineDetectionConfig {
1598
- EnableAnswerMachineDetection?: boolean;
1599
- AwaitAnswerMachinePrompt?: boolean;
1600
- }
1601
- export declare const TrafficType: {
1602
- readonly CAMPAIGN: "CAMPAIGN";
1603
- readonly GENERAL: "GENERAL";
1604
- };
1605
- export type TrafficType = (typeof TrafficType)[keyof typeof TrafficType];
1606
- export interface StartOutboundVoiceContactRequest {
1607
- DestinationPhoneNumber: string | undefined;
1608
- ContactFlowId: string | undefined;
1609
- InstanceId: string | undefined;
1610
- ClientToken?: string;
1611
- SourcePhoneNumber?: string;
1612
- QueueId?: string;
1613
- Attributes?: Record<string, string>;
1614
- AnswerMachineDetectionConfig?: AnswerMachineDetectionConfig;
1615
- CampaignId?: string;
1616
- TrafficType?: TrafficType;
1617
- }
1618
- export interface StartOutboundVoiceContactResponse {
1619
- ContactId?: string;
1620
- }
1621
- export interface StartTaskContactRequest {
1622
- InstanceId: string | undefined;
1623
- PreviousContactId?: string;
1624
- ContactFlowId?: string;
1625
- Attributes?: Record<string, string>;
1626
- Name: string | undefined;
1627
- References?: Record<string, Reference>;
1628
- Description?: string;
1629
- ClientToken?: string;
1630
- ScheduledTime?: Date;
1631
- TaskTemplateId?: string;
1632
- QuickConnectId?: string;
1633
- RelatedContactId?: string;
1634
- }
1635
- export interface StartTaskContactResponse {
1636
- ContactId?: string;
1637
- }
1638
- export declare class ContactNotFoundException extends __BaseException {
1639
- readonly name: "ContactNotFoundException";
1640
- readonly $fault: "client";
1641
- Message?: string;
1642
- constructor(
1643
- opts: __ExceptionOptionType<ContactNotFoundException, __BaseException>
1644
- );
1645
- }
1646
- export interface DisconnectReason {
1647
- Code?: string;
1648
- }
1649
- export interface StopContactRequest {
1650
- ContactId: string | undefined;
1651
- InstanceId: string | undefined;
1652
- DisconnectReason?: DisconnectReason;
1653
- }
1654
- export interface StopContactResponse {}
1655
- export interface StopContactRecordingRequest {
1656
- InstanceId: string | undefined;
1657
- ContactId: string | undefined;
1658
- InitialContactId: string | undefined;
1659
- }
1660
- export interface StopContactRecordingResponse {}
1661
- export interface StopContactStreamingRequest {
1662
- InstanceId: string | undefined;
1663
- ContactId: string | undefined;
1664
- StreamingId: string | undefined;
1665
- }
1666
- export interface StopContactStreamingResponse {}
1667
- export interface EvaluationAnswerInput {
1668
- Value?: EvaluationAnswerData;
1669
- }
1670
- export interface SubmitContactEvaluationRequest {
1671
- InstanceId: string | undefined;
1672
- EvaluationId: string | undefined;
1673
- Answers?: Record<string, EvaluationAnswerInput>;
1674
- Notes?: Record<string, EvaluationNote>;
1675
- }
1676
- export interface SubmitContactEvaluationResponse {
1677
- EvaluationId: string | undefined;
1678
- EvaluationArn: string | undefined;
1679
- }
1680
- export interface SuspendContactRecordingRequest {
1681
- InstanceId: string | undefined;
1682
- ContactId: string | undefined;
1683
- InitialContactId: string | undefined;
1684
- }
1685
- export interface SuspendContactRecordingResponse {}
1686
- export interface TagResourceRequest {
1687
- resourceArn: string | undefined;
1688
- tags: Record<string, string> | undefined;
1689
- }
1690
- export interface TransferContactRequest {
1691
- InstanceId: string | undefined;
1692
- ContactId: string | undefined;
1693
- QueueId?: string;
1694
- UserId?: string;
1695
- ContactFlowId: string | undefined;
1696
- ClientToken?: string;
1697
- }
1698
- export interface TransferContactResponse {
1699
- ContactId?: string;
1700
- ContactArn?: string;
1701
- }
1702
- export interface UntagResourceRequest {
1703
- resourceArn: string | undefined;
1704
- tagKeys: string[] | undefined;
1705
- }
1706
- export interface UpdateAgentStatusRequest {
1707
- InstanceId: string | undefined;
1708
- AgentStatusId: string | undefined;
1709
- Name?: string;
1710
- Description?: string;
1711
- State?: AgentStatusState;
1712
- DisplayOrder?: number;
1713
- ResetOrderNumber?: boolean;
1714
- }
1715
- export interface UpdateContactRequest {
1716
- InstanceId: string | undefined;
1717
- ContactId: string | undefined;
1718
- Name?: string;
1719
- Description?: string;
1720
- References?: Record<string, Reference>;
1721
- }
1722
- export interface UpdateContactResponse {}
1723
- export interface UpdateContactAttributesRequest {
1724
- InitialContactId: string | undefined;
1725
- InstanceId: string | undefined;
1726
- Attributes: Record<string, string> | undefined;
1727
- }
1728
- export interface UpdateContactAttributesResponse {}
1729
- export interface UpdateContactEvaluationRequest {
1730
- InstanceId: string | undefined;
1731
- EvaluationId: string | undefined;
1732
- Answers?: Record<string, EvaluationAnswerInput>;
1733
- Notes?: Record<string, EvaluationNote>;
1734
- }
1735
- export interface UpdateContactEvaluationResponse {
1736
- EvaluationId: string | undefined;
1737
- EvaluationArn: string | undefined;
1738
- }
1739
- export interface UpdateContactFlowContentRequest {
1740
- InstanceId: string | undefined;
1741
- ContactFlowId: string | undefined;
1742
- Content: string | undefined;
1743
- }
1744
- export interface UpdateContactFlowContentResponse {}
1745
- export interface UpdateContactFlowMetadataRequest {
1746
- InstanceId: string | undefined;
1747
- ContactFlowId: string | undefined;
1748
- Name?: string;
1749
- Description?: string;
1750
- ContactFlowState?: ContactFlowState;
1751
- }
1752
- export interface UpdateContactFlowMetadataResponse {}
1753
- export interface UpdateContactFlowModuleContentRequest {
1754
- InstanceId: string | undefined;
1755
- ContactFlowModuleId: string | undefined;
1756
- Content: string | undefined;
1757
- }
1758
1890
  export declare const DescribeViewResponseFilterSensitiveLog: (
1759
1891
  obj: DescribeViewResponse
1760
1892
  ) => any;