@aws-sdk/client-connect 3.701.0 → 3.709.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 (62) hide show
  1. package/README.md +18 -2
  2. package/dist-cjs/index.js +186 -63
  3. package/dist-es/Connect.js +4 -0
  4. package/dist-es/commands/CreateContactCommand.js +1 -1
  5. package/dist-es/commands/CreatePushNotificationRegistrationCommand.js +22 -0
  6. package/dist-es/commands/DeletePushNotificationRegistrationCommand.js +22 -0
  7. package/dist-es/commands/index.js +2 -0
  8. package/dist-es/models/models_0.js +11 -0
  9. package/dist-es/models/models_1.js +0 -16
  10. package/dist-es/models/models_2.js +24 -5
  11. package/dist-es/models/models_3.js +5 -0
  12. package/dist-es/protocols/Aws_restJson1.js +62 -0
  13. package/dist-types/Connect.d.ts +16 -2
  14. package/dist-types/ConnectClient.d.ts +6 -4
  15. package/dist-types/commands/AssociateFlowCommand.d.ts +1 -1
  16. package/dist-types/commands/BatchGetFlowAssociationCommand.d.ts +2 -2
  17. package/dist-types/commands/CreateContactCommand.d.ts +1 -1
  18. package/dist-types/commands/CreateEvaluationFormCommand.d.ts +1 -1
  19. package/dist-types/commands/CreateIntegrationAssociationCommand.d.ts +1 -1
  20. package/dist-types/commands/CreatePushNotificationRegistrationCommand.d.ts +101 -0
  21. package/dist-types/commands/DeletePushNotificationRegistrationCommand.d.ts +86 -0
  22. package/dist-types/commands/DeleteUserHierarchyGroupCommand.d.ts +1 -1
  23. package/dist-types/commands/DeleteViewCommand.d.ts +1 -1
  24. package/dist-types/commands/DeleteViewVersionCommand.d.ts +1 -1
  25. package/dist-types/commands/DeleteVocabularyCommand.d.ts +1 -2
  26. package/dist-types/commands/DescribePhoneNumberCommand.d.ts +1 -2
  27. package/dist-types/commands/DisassociateFlowCommand.d.ts +1 -1
  28. package/dist-types/commands/GetFlowAssociationCommand.d.ts +2 -2
  29. package/dist-types/commands/ImportPhoneNumberCommand.d.ts +2 -3
  30. package/dist-types/commands/ListFlowAssociationsCommand.d.ts +2 -2
  31. package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +2 -2
  32. package/dist-types/commands/ResumeContactRecordingCommand.d.ts +1 -0
  33. package/dist-types/commands/SendChatIntegrationEventCommand.d.ts +2 -2
  34. package/dist-types/commands/StartContactRecordingCommand.d.ts +1 -0
  35. package/dist-types/commands/StartOutboundChatContactCommand.d.ts +2 -2
  36. package/dist-types/commands/StopContactRecordingCommand.d.ts +1 -0
  37. package/dist-types/commands/SuspendContactRecordingCommand.d.ts +1 -0
  38. package/dist-types/commands/UpdateContactCommand.d.ts +21 -0
  39. package/dist-types/commands/index.d.ts +2 -0
  40. package/dist-types/index.d.ts +2 -2
  41. package/dist-types/models/models_0.d.ts +142 -81
  42. package/dist-types/models/models_1.d.ts +202 -171
  43. package/dist-types/models/models_2.d.ts +215 -400
  44. package/dist-types/models/models_3.d.ts +430 -3
  45. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  46. package/dist-types/ts3.4/Connect.d.ts +46 -0
  47. package/dist-types/ts3.4/ConnectClient.d.ts +12 -0
  48. package/dist-types/ts3.4/commands/CreateContactCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/CreateEvaluationFormCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/CreatePushNotificationRegistrationCommand.d.ts +51 -0
  51. package/dist-types/ts3.4/commands/DeletePushNotificationRegistrationCommand.d.ts +51 -0
  52. package/dist-types/ts3.4/commands/DeleteUserHierarchyGroupCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/DeleteViewCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/DeleteViewVersionCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/DeleteVocabularyCommand.d.ts +4 -2
  56. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  57. package/dist-types/ts3.4/models/models_0.d.ts +34 -19
  58. package/dist-types/ts3.4/models/models_1.d.ts +19 -43
  59. package/dist-types/ts3.4/models/models_2.d.ts +65 -89
  60. package/dist-types/ts3.4/models/models_3.d.ts +92 -6
  61. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  62. package/package.json +35 -35
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ConnectClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ConnectClient";
8
+ import {
9
+ CreatePushNotificationRegistrationRequest,
10
+ CreatePushNotificationRegistrationResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CreatePushNotificationRegistrationCommandInput
15
+ extends CreatePushNotificationRegistrationRequest {}
16
+ export interface CreatePushNotificationRegistrationCommandOutput
17
+ extends CreatePushNotificationRegistrationResponse,
18
+ __MetadataBearer {}
19
+ declare const CreatePushNotificationRegistrationCommand_base: {
20
+ new (
21
+ input: CreatePushNotificationRegistrationCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ CreatePushNotificationRegistrationCommandInput,
24
+ CreatePushNotificationRegistrationCommandOutput,
25
+ ConnectClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: CreatePushNotificationRegistrationCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ CreatePushNotificationRegistrationCommandInput,
33
+ CreatePushNotificationRegistrationCommandOutput,
34
+ ConnectClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class CreatePushNotificationRegistrationCommand extends CreatePushNotificationRegistrationCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: CreatePushNotificationRegistrationRequest;
44
+ output: CreatePushNotificationRegistrationResponse;
45
+ };
46
+ sdk: {
47
+ input: CreatePushNotificationRegistrationCommandInput;
48
+ output: CreatePushNotificationRegistrationCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ConnectClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ConnectClient";
8
+ import {
9
+ DeletePushNotificationRegistrationRequest,
10
+ DeletePushNotificationRegistrationResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DeletePushNotificationRegistrationCommandInput
15
+ extends DeletePushNotificationRegistrationRequest {}
16
+ export interface DeletePushNotificationRegistrationCommandOutput
17
+ extends DeletePushNotificationRegistrationResponse,
18
+ __MetadataBearer {}
19
+ declare const DeletePushNotificationRegistrationCommand_base: {
20
+ new (
21
+ input: DeletePushNotificationRegistrationCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DeletePushNotificationRegistrationCommandInput,
24
+ DeletePushNotificationRegistrationCommandOutput,
25
+ ConnectClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: DeletePushNotificationRegistrationCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DeletePushNotificationRegistrationCommandInput,
33
+ DeletePushNotificationRegistrationCommandOutput,
34
+ ConnectClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DeletePushNotificationRegistrationCommand extends DeletePushNotificationRegistrationCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DeletePushNotificationRegistrationRequest;
44
+ output: {};
45
+ };
46
+ sdk: {
47
+ input: DeletePushNotificationRegistrationCommandInput;
48
+ output: DeletePushNotificationRegistrationCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../ConnectClient";
8
- import { DeleteUserHierarchyGroupRequest } from "../models/models_0";
8
+ import { DeleteUserHierarchyGroupRequest } from "../models/models_1";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface DeleteUserHierarchyGroupCommandInput
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../ConnectClient";
8
- import { DeleteViewRequest, DeleteViewResponse } from "../models/models_0";
8
+ import { DeleteViewRequest, DeleteViewResponse } from "../models/models_1";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface DeleteViewCommandInput extends DeleteViewRequest {}
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  DeleteViewVersionRequest,
10
10
  DeleteViewVersionResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface DeleteViewVersionCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../ConnectClient";
8
- import { DeleteVocabularyRequest } from "../models/models_0";
9
- import { DeleteVocabularyResponse } from "../models/models_1";
8
+ import {
9
+ DeleteVocabularyRequest,
10
+ DeleteVocabularyResponse,
11
+ } from "../models/models_1";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface DeleteVocabularyCommandInput extends DeleteVocabularyRequest {}
@@ -34,6 +34,7 @@ export * from "./CreateParticipantCommand";
34
34
  export * from "./CreatePersistentContactAssociationCommand";
35
35
  export * from "./CreatePredefinedAttributeCommand";
36
36
  export * from "./CreatePromptCommand";
37
+ export * from "./CreatePushNotificationRegistrationCommand";
37
38
  export * from "./CreateQueueCommand";
38
39
  export * from "./CreateQuickConnectCommand";
39
40
  export * from "./CreateRoutingProfileCommand";
@@ -59,6 +60,7 @@ export * from "./DeleteInstanceCommand";
59
60
  export * from "./DeleteIntegrationAssociationCommand";
60
61
  export * from "./DeletePredefinedAttributeCommand";
61
62
  export * from "./DeletePromptCommand";
63
+ export * from "./DeletePushNotificationRegistrationCommand";
62
64
  export * from "./DeleteQueueCommand";
63
65
  export * from "./DeleteQuickConnectCommand";
64
66
  export * from "./DeleteRoutingProfileCommand";
@@ -426,9 +426,11 @@ export interface AssociateDefaultVocabularyRequest {
426
426
  }
427
427
  export interface AssociateDefaultVocabularyResponse {}
428
428
  export declare const FlowAssociationResourceType: {
429
+ readonly ANALYTICS_CONNECTOR: "ANALYTICS_CONNECTOR";
429
430
  readonly INBOUND_EMAIL: "INBOUND_EMAIL";
430
431
  readonly OUTBOUND_EMAIL: "OUTBOUND_EMAIL";
431
432
  readonly SMS_PHONE_NUMBER: "SMS_PHONE_NUMBER";
433
+ readonly WHATSAPP_MESSAGING_PHONE_NUMBER: "WHATSAPP_MESSAGING_PHONE_NUMBER";
432
434
  };
433
435
  export type FlowAssociationResourceType =
434
436
  (typeof FlowAssociationResourceType)[keyof typeof FlowAssociationResourceType];
@@ -655,9 +657,11 @@ export interface BatchGetAttachedFileMetadataResponse {
655
657
  Errors?: AttachedFileError[] | undefined;
656
658
  }
657
659
  export declare const ListFlowAssociationResourceType: {
660
+ readonly ANALYTICS_CONNECTOR: "ANALYTICS_CONNECTOR";
658
661
  readonly INBOUND_EMAIL: "INBOUND_EMAIL";
659
662
  readonly OUTBOUND_EMAIL: "OUTBOUND_EMAIL";
660
663
  readonly VOICE_PHONE_NUMBER: "VOICE_PHONE_NUMBER";
664
+ readonly WHATSAPP_MESSAGING_PHONE_NUMBER: "WHATSAPP_MESSAGING_PHONE_NUMBER";
661
665
  };
662
666
  export type ListFlowAssociationResourceType =
663
667
  (typeof ListFlowAssociationResourceType)[keyof typeof ListFlowAssociationResourceType];
@@ -1130,7 +1134,9 @@ export interface CreateInstanceResponse {
1130
1134
  Arn?: string | undefined;
1131
1135
  }
1132
1136
  export declare const IntegrationType: {
1137
+ readonly ANALYTICS_CONNECTOR: "ANALYTICS_CONNECTOR";
1133
1138
  readonly APPLICATION: "APPLICATION";
1139
+ readonly CALL_TRANSFER_CONNECTOR: "CALL_TRANSFER_CONNECTOR";
1134
1140
  readonly CASES_DOMAIN: "CASES_DOMAIN";
1135
1141
  readonly EVENT: "EVENT";
1136
1142
  readonly FILE_SCANNER: "FILE_SCANNER";
@@ -1240,6 +1246,28 @@ export interface CreatePromptResponse {
1240
1246
  PromptARN?: string | undefined;
1241
1247
  PromptId?: string | undefined;
1242
1248
  }
1249
+ export interface ContactConfiguration {
1250
+ ContactId: string | undefined;
1251
+ ParticipantRole?: ParticipantRole | undefined;
1252
+ IncludeRawMessage?: boolean | undefined;
1253
+ }
1254
+ export declare const DeviceType: {
1255
+ readonly APNS: "APNS";
1256
+ readonly APNS_SANDBOX: "APNS_SANDBOX";
1257
+ readonly GCM: "GCM";
1258
+ };
1259
+ export type DeviceType = (typeof DeviceType)[keyof typeof DeviceType];
1260
+ export interface CreatePushNotificationRegistrationRequest {
1261
+ InstanceId: string | undefined;
1262
+ ClientToken?: string | undefined;
1263
+ PinpointAppArn: string | undefined;
1264
+ DeviceToken: string | undefined;
1265
+ DeviceType: DeviceType | undefined;
1266
+ ContactConfiguration: ContactConfiguration | undefined;
1267
+ }
1268
+ export interface CreatePushNotificationRegistrationResponse {
1269
+ RegistrationId: string | undefined;
1270
+ }
1243
1271
  export interface OutboundCallerConfig {
1244
1272
  OutboundCallerIdName?: string | undefined;
1245
1273
  OutboundCallerIdNumberId?: string | undefined;
@@ -1785,6 +1813,12 @@ export interface DeletePromptRequest {
1785
1813
  InstanceId: string | undefined;
1786
1814
  PromptId: string | undefined;
1787
1815
  }
1816
+ export interface DeletePushNotificationRegistrationRequest {
1817
+ InstanceId: string | undefined;
1818
+ RegistrationId: string | undefined;
1819
+ ContactId: string | undefined;
1820
+ }
1821
+ export interface DeletePushNotificationRegistrationResponse {}
1788
1822
  export interface DeleteQueueRequest {
1789
1823
  InstanceId: string | undefined;
1790
1824
  QueueId: string | undefined;
@@ -1823,25 +1857,6 @@ export interface DeleteUserRequest {
1823
1857
  InstanceId: string | undefined;
1824
1858
  UserId: string | undefined;
1825
1859
  }
1826
- export interface DeleteUserHierarchyGroupRequest {
1827
- HierarchyGroupId: string | undefined;
1828
- InstanceId: string | undefined;
1829
- }
1830
- export interface DeleteViewRequest {
1831
- InstanceId: string | undefined;
1832
- ViewId: string | undefined;
1833
- }
1834
- export interface DeleteViewResponse {}
1835
- export interface DeleteViewVersionRequest {
1836
- InstanceId: string | undefined;
1837
- ViewId: string | undefined;
1838
- ViewVersion: number | undefined;
1839
- }
1840
- export interface DeleteViewVersionResponse {}
1841
- export interface DeleteVocabularyRequest {
1842
- InstanceId: string | undefined;
1843
- VocabularyId: string | undefined;
1844
- }
1845
1860
  export declare const CreateEmailAddressRequestFilterSensitiveLog: (
1846
1861
  obj: CreateEmailAddressRequest
1847
1862
  ) => any;
@@ -59,6 +59,25 @@ import {
59
59
  VocabularyLanguageCode,
60
60
  VocabularyState,
61
61
  } from "./models_0";
62
+ export interface DeleteUserHierarchyGroupRequest {
63
+ HierarchyGroupId: string | undefined;
64
+ InstanceId: string | undefined;
65
+ }
66
+ export interface DeleteViewRequest {
67
+ InstanceId: string | undefined;
68
+ ViewId: string | undefined;
69
+ }
70
+ export interface DeleteViewResponse {}
71
+ export interface DeleteViewVersionRequest {
72
+ InstanceId: string | undefined;
73
+ ViewId: string | undefined;
74
+ ViewVersion: number | undefined;
75
+ }
76
+ export interface DeleteViewVersionResponse {}
77
+ export interface DeleteVocabularyRequest {
78
+ InstanceId: string | undefined;
79
+ VocabularyId: string | undefined;
80
+ }
62
81
  export interface DeleteVocabularyResponse {
63
82
  VocabularyArn: string | undefined;
64
83
  VocabularyId: string | undefined;
@@ -2142,49 +2161,6 @@ export interface RealTimeContactAnalysisIssueDetected {
2142
2161
  export interface RealTimeContactAnalysisSegmentIssues {
2143
2162
  IssuesDetected: RealTimeContactAnalysisIssueDetected[] | undefined;
2144
2163
  }
2145
- export declare const RealTimeContactAnalysisPostContactSummaryFailureCode: {
2146
- readonly FAILED_SAFETY_GUIDELINES: "FAILED_SAFETY_GUIDELINES";
2147
- readonly INSUFFICIENT_CONVERSATION_CONTENT: "INSUFFICIENT_CONVERSATION_CONTENT";
2148
- readonly INTERNAL_ERROR: "INTERNAL_ERROR";
2149
- readonly INVALID_ANALYSIS_CONFIGURATION: "INVALID_ANALYSIS_CONFIGURATION";
2150
- readonly QUOTA_EXCEEDED: "QUOTA_EXCEEDED";
2151
- };
2152
- export type RealTimeContactAnalysisPostContactSummaryFailureCode =
2153
- (typeof RealTimeContactAnalysisPostContactSummaryFailureCode)[keyof typeof RealTimeContactAnalysisPostContactSummaryFailureCode];
2154
- export declare const RealTimeContactAnalysisPostContactSummaryStatus: {
2155
- readonly COMPLETED: "COMPLETED";
2156
- readonly FAILED: "FAILED";
2157
- };
2158
- export type RealTimeContactAnalysisPostContactSummaryStatus =
2159
- (typeof RealTimeContactAnalysisPostContactSummaryStatus)[keyof typeof RealTimeContactAnalysisPostContactSummaryStatus];
2160
- export interface RealTimeContactAnalysisSegmentPostContactSummary {
2161
- Content?: string | undefined;
2162
- Status: RealTimeContactAnalysisPostContactSummaryStatus | undefined;
2163
- FailureCode?:
2164
- | RealTimeContactAnalysisPostContactSummaryFailureCode
2165
- | undefined;
2166
- }
2167
- export interface RealTimeContactAnalysisTranscriptItemRedaction {
2168
- CharacterOffsets?: RealTimeContactAnalysisCharacterInterval[] | undefined;
2169
- }
2170
- export declare const RealTimeContactAnalysisSentimentLabel: {
2171
- readonly NEGATIVE: "NEGATIVE";
2172
- readonly NEUTRAL: "NEUTRAL";
2173
- readonly POSITIVE: "POSITIVE";
2174
- };
2175
- export type RealTimeContactAnalysisSentimentLabel =
2176
- (typeof RealTimeContactAnalysisSentimentLabel)[keyof typeof RealTimeContactAnalysisSentimentLabel];
2177
- export interface RealTimeContactAnalysisSegmentTranscript {
2178
- Id: string | undefined;
2179
- ParticipantId: string | undefined;
2180
- ParticipantRole: ParticipantRole | undefined;
2181
- DisplayName?: string | undefined;
2182
- Content: string | undefined;
2183
- ContentType?: string | undefined;
2184
- Time: RealTimeContactAnalysisTimeData | undefined;
2185
- Redaction?: RealTimeContactAnalysisTranscriptItemRedaction | undefined;
2186
- Sentiment?: RealTimeContactAnalysisSentimentLabel | undefined;
2187
- }
2188
2164
  export declare const DescribeEmailAddressResponseFilterSensitiveLog: (
2189
2165
  obj: DescribeEmailAddressResponse
2190
2166
  ) => any;
@@ -10,18 +10,14 @@ import {
10
10
  AllowedCapabilities,
11
11
  Application,
12
12
  Channel,
13
- ContactFlowStatus,
14
- ContactFlowType,
15
13
  ContactInitiationMethod,
16
14
  ControlPlaneAttributeFilter,
17
15
  CreatedByInfo,
18
16
  EvaluationFormQuestion,
19
- EvaluationFormScoringStrategy,
20
17
  EventSourceName,
21
18
  FileStatusType,
22
19
  FileUseCaseType,
23
20
  HoursOfOperationConfig,
24
- InitiateAs,
25
21
  InstanceStorageConfig,
26
22
  InstanceStorageResourceType,
27
23
  MediaConcurrency,
@@ -45,7 +41,6 @@ import {
45
41
  TaskTemplateStatus,
46
42
  UseCaseType,
47
43
  UserIdentityInfo,
48
- UserInfo,
49
44
  UserPhoneConfig,
50
45
  UserProficiency,
51
46
  View,
@@ -61,7 +56,6 @@ import {
61
56
  ContactFlowModuleState,
62
57
  ContactFlowState,
63
58
  EvaluationAnswerData,
64
- EvaluationFormVersionStatus,
65
59
  EvaluationNote,
66
60
  HierarchyGroup,
67
61
  HierarchyGroupSummary,
@@ -74,19 +68,63 @@ import {
74
68
  Queue,
75
69
  QueueStatus,
76
70
  QuickConnect,
71
+ RealTimeContactAnalysisCharacterInterval,
77
72
  RealTimeContactAnalysisSegmentAttachments,
78
73
  RealTimeContactAnalysisSegmentCategories,
79
74
  RealTimeContactAnalysisSegmentEvent,
80
75
  RealTimeContactAnalysisSegmentIssues,
81
- RealTimeContactAnalysisSegmentPostContactSummary,
82
- RealTimeContactAnalysisSegmentTranscript,
83
76
  RealTimeContactAnalysisSupportedChannel,
77
+ RealTimeContactAnalysisTimeData,
84
78
  RoutingProfile,
85
79
  SignInConfig,
86
80
  SortOrder,
87
81
  TelephonyConfig,
88
82
  TrafficDistributionGroupStatus,
89
83
  } from "./models_1";
84
+ import { EvaluationFormSection } from "./models_3";
85
+ export declare const RealTimeContactAnalysisPostContactSummaryFailureCode: {
86
+ readonly FAILED_SAFETY_GUIDELINES: "FAILED_SAFETY_GUIDELINES";
87
+ readonly INSUFFICIENT_CONVERSATION_CONTENT: "INSUFFICIENT_CONVERSATION_CONTENT";
88
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
89
+ readonly INVALID_ANALYSIS_CONFIGURATION: "INVALID_ANALYSIS_CONFIGURATION";
90
+ readonly QUOTA_EXCEEDED: "QUOTA_EXCEEDED";
91
+ };
92
+ export type RealTimeContactAnalysisPostContactSummaryFailureCode =
93
+ (typeof RealTimeContactAnalysisPostContactSummaryFailureCode)[keyof typeof RealTimeContactAnalysisPostContactSummaryFailureCode];
94
+ export declare const RealTimeContactAnalysisPostContactSummaryStatus: {
95
+ readonly COMPLETED: "COMPLETED";
96
+ readonly FAILED: "FAILED";
97
+ };
98
+ export type RealTimeContactAnalysisPostContactSummaryStatus =
99
+ (typeof RealTimeContactAnalysisPostContactSummaryStatus)[keyof typeof RealTimeContactAnalysisPostContactSummaryStatus];
100
+ export interface RealTimeContactAnalysisSegmentPostContactSummary {
101
+ Content?: string | undefined;
102
+ Status: RealTimeContactAnalysisPostContactSummaryStatus | undefined;
103
+ FailureCode?:
104
+ | RealTimeContactAnalysisPostContactSummaryFailureCode
105
+ | undefined;
106
+ }
107
+ export interface RealTimeContactAnalysisTranscriptItemRedaction {
108
+ CharacterOffsets?: RealTimeContactAnalysisCharacterInterval[] | undefined;
109
+ }
110
+ export declare const RealTimeContactAnalysisSentimentLabel: {
111
+ readonly NEGATIVE: "NEGATIVE";
112
+ readonly NEUTRAL: "NEUTRAL";
113
+ readonly POSITIVE: "POSITIVE";
114
+ };
115
+ export type RealTimeContactAnalysisSentimentLabel =
116
+ (typeof RealTimeContactAnalysisSentimentLabel)[keyof typeof RealTimeContactAnalysisSentimentLabel];
117
+ export interface RealTimeContactAnalysisSegmentTranscript {
118
+ Id: string | undefined;
119
+ ParticipantId: string | undefined;
120
+ ParticipantRole: ParticipantRole | undefined;
121
+ DisplayName?: string | undefined;
122
+ Content: string | undefined;
123
+ ContentType?: string | undefined;
124
+ Time: RealTimeContactAnalysisTimeData | undefined;
125
+ Redaction?: RealTimeContactAnalysisTranscriptItemRedaction | undefined;
126
+ Sentiment?: RealTimeContactAnalysisSentimentLabel | undefined;
127
+ }
90
128
  export type RealtimeContactAnalysisSegment =
91
129
  | RealtimeContactAnalysisSegment.AttachmentsMember
92
130
  | RealtimeContactAnalysisSegment.CategoriesMember
@@ -500,10 +538,18 @@ export interface ResumeContactRequest {
500
538
  ContactFlowId?: string | undefined;
501
539
  }
502
540
  export interface ResumeContactResponse {}
541
+ export declare const ContactRecordingType: {
542
+ readonly AGENT: "AGENT";
543
+ readonly IVR: "IVR";
544
+ readonly SCREEN: "SCREEN";
545
+ };
546
+ export type ContactRecordingType =
547
+ (typeof ContactRecordingType)[keyof typeof ContactRecordingType];
503
548
  export interface ResumeContactRecordingRequest {
504
549
  InstanceId: string | undefined;
505
550
  ContactId: string | undefined;
506
551
  InitialContactId: string | undefined;
552
+ ContactRecordingType?: ContactRecordingType | undefined;
507
553
  }
508
554
  export interface ResumeContactRecordingResponse {}
509
555
  export interface SearchAgentStatusesResponse {
@@ -1012,6 +1058,11 @@ export interface StartContactEvaluationResponse {
1012
1058
  EvaluationId: string | undefined;
1013
1059
  EvaluationArn: string | undefined;
1014
1060
  }
1061
+ export declare const IvrRecordingTrack: {
1062
+ readonly ALL: "ALL";
1063
+ };
1064
+ export type IvrRecordingTrack =
1065
+ (typeof IvrRecordingTrack)[keyof typeof IvrRecordingTrack];
1015
1066
  export declare const VoiceRecordingTrack: {
1016
1067
  readonly ALL: "ALL";
1017
1068
  readonly FROM_AGENT: "FROM_AGENT";
@@ -1021,6 +1072,7 @@ export type VoiceRecordingTrack =
1021
1072
  (typeof VoiceRecordingTrack)[keyof typeof VoiceRecordingTrack];
1022
1073
  export interface VoiceRecordingConfiguration {
1023
1074
  VoiceRecordingTrack?: VoiceRecordingTrack | undefined;
1075
+ IvrRecordingTrack?: IvrRecordingTrack | undefined;
1024
1076
  }
1025
1077
  export interface StartContactRecordingRequest {
1026
1078
  InstanceId: string | undefined;
@@ -1210,6 +1262,7 @@ export interface StopContactRecordingRequest {
1210
1262
  InstanceId: string | undefined;
1211
1263
  ContactId: string | undefined;
1212
1264
  InitialContactId: string | undefined;
1265
+ ContactRecordingType?: ContactRecordingType | undefined;
1213
1266
  }
1214
1267
  export interface StopContactRecordingResponse {}
1215
1268
  export interface StopContactStreamingRequest {
@@ -1235,6 +1288,7 @@ export interface SuspendContactRecordingRequest {
1235
1288
  InstanceId: string | undefined;
1236
1289
  ContactId: string | undefined;
1237
1290
  InitialContactId: string | undefined;
1291
+ ContactRecordingType?: ContactRecordingType | undefined;
1238
1292
  }
1239
1293
  export interface SuspendContactRecordingResponse {}
1240
1294
  export interface TagContactRequest {
@@ -1287,6 +1341,9 @@ export interface UpdateAuthenticationProfileRequest {
1287
1341
  BlockedIps?: string[] | undefined;
1288
1342
  PeriodicSessionDuration?: number | undefined;
1289
1343
  }
1344
+ export interface QueueInfoInput {
1345
+ Id?: string | undefined;
1346
+ }
1290
1347
  export interface UpdateContactResponse {}
1291
1348
  export interface UpdateContactAttributesRequest {
1292
1349
  InitialContactId: string | undefined;
@@ -1723,84 +1780,6 @@ export declare namespace EvaluationFormItem {
1723
1780
  }
1724
1781
  const visit: <T>(value: EvaluationFormItem, visitor: Visitor<T>) => T;
1725
1782
  }
1726
- export interface EvaluationFormSection {
1727
- Title: string | undefined;
1728
- RefId: string | undefined;
1729
- Instructions?: string | undefined;
1730
- Items: EvaluationFormItem[] | undefined;
1731
- Weight?: number | undefined;
1732
- }
1733
- export interface AgentStatusSearchCriteria {
1734
- OrConditions?: AgentStatusSearchCriteria[] | undefined;
1735
- AndConditions?: AgentStatusSearchCriteria[] | undefined;
1736
- StringCondition?: StringCondition | undefined;
1737
- }
1738
- export interface ContactFlowModuleSearchCriteria {
1739
- OrConditions?: ContactFlowModuleSearchCriteria[] | undefined;
1740
- AndConditions?: ContactFlowModuleSearchCriteria[] | undefined;
1741
- StringCondition?: StringCondition | undefined;
1742
- }
1743
- export interface ContactFlowSearchCriteria {
1744
- OrConditions?: ContactFlowSearchCriteria[] | undefined;
1745
- AndConditions?: ContactFlowSearchCriteria[] | undefined;
1746
- StringCondition?: StringCondition | undefined;
1747
- TypeCondition?: ContactFlowType | undefined;
1748
- StateCondition?: ContactFlowState | undefined;
1749
- StatusCondition?: ContactFlowStatus | undefined;
1750
- }
1751
- export interface CreateContactRequest {
1752
- InstanceId: string | undefined;
1753
- ClientToken?: string | undefined;
1754
- RelatedContactId?: string | undefined;
1755
- Attributes?: Record<string, string> | undefined;
1756
- References?: Record<string, Reference> | undefined;
1757
- Channel: Channel | undefined;
1758
- InitiationMethod: ContactInitiationMethod | undefined;
1759
- ExpiryDurationInMinutes?: number | undefined;
1760
- UserInfo?: UserInfo | undefined;
1761
- InitiateAs?: InitiateAs | undefined;
1762
- Name?: string | undefined;
1763
- Description?: string | undefined;
1764
- SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
1765
- }
1766
- export interface CreateEvaluationFormRequest {
1767
- InstanceId: string | undefined;
1768
- Title: string | undefined;
1769
- Description?: string | undefined;
1770
- Items: EvaluationFormItem[] | undefined;
1771
- ScoringStrategy?: EvaluationFormScoringStrategy | undefined;
1772
- ClientToken?: string | undefined;
1773
- }
1774
- export interface EmailAddressSearchCriteria {
1775
- OrConditions?: EmailAddressSearchCriteria[] | undefined;
1776
- AndConditions?: EmailAddressSearchCriteria[] | undefined;
1777
- StringCondition?: StringCondition | undefined;
1778
- }
1779
- export interface EvaluationForm {
1780
- EvaluationFormId: string | undefined;
1781
- EvaluationFormVersion: number | undefined;
1782
- Locked: boolean | undefined;
1783
- EvaluationFormArn: string | undefined;
1784
- Title: string | undefined;
1785
- Description?: string | undefined;
1786
- Status: EvaluationFormVersionStatus | undefined;
1787
- Items: EvaluationFormItem[] | undefined;
1788
- ScoringStrategy?: EvaluationFormScoringStrategy | undefined;
1789
- CreatedTime: Date | undefined;
1790
- CreatedBy: string | undefined;
1791
- LastModifiedTime: Date | undefined;
1792
- LastModifiedBy: string | undefined;
1793
- Tags?: Record<string, string> | undefined;
1794
- }
1795
- export interface EvaluationFormContent {
1796
- EvaluationFormVersion: number | undefined;
1797
- EvaluationFormId: string | undefined;
1798
- EvaluationFormArn: string | undefined;
1799
- Title: string | undefined;
1800
- Description?: string | undefined;
1801
- Items: EvaluationFormItem[] | undefined;
1802
- ScoringStrategy?: EvaluationFormScoringStrategy | undefined;
1803
- }
1804
1783
  export declare const ViewSummaryFilterSensitiveLog: (obj: ViewSummary) => any;
1805
1784
  export declare const ListViewsResponseFilterSensitiveLog: (
1806
1785
  obj: ListViewsResponse
@@ -1909,6 +1888,3 @@ export declare const UpdateViewContentResponseFilterSensitiveLog: (
1909
1888
  export declare const UpdateViewMetadataRequestFilterSensitiveLog: (
1910
1889
  obj: UpdateViewMetadataRequest
1911
1890
  ) => any;
1912
- export declare const CreateContactRequestFilterSensitiveLog: (
1913
- obj: CreateContactRequest
1914
- ) => any;