@aws-sdk/client-connect 3.699.0 → 3.703.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 (73) hide show
  1. package/README.md +1 -1
  2. package/dist-cjs/index.js +123 -49
  3. package/dist-es/commands/CreateContactCommand.js +1 -1
  4. package/dist-es/commands/StartEmailContactCommand.js +1 -1
  5. package/dist-es/commands/StartTaskContactCommand.js +1 -1
  6. package/dist-es/commands/UpdateContactCommand.js +1 -1
  7. package/dist-es/models/models_0.js +6 -5
  8. package/dist-es/models/models_1.js +5 -0
  9. package/dist-es/models/models_2.js +13 -27
  10. package/dist-es/models/models_3.js +23 -0
  11. package/dist-es/protocols/Aws_restJson1.js +64 -8
  12. package/dist-types/Connect.d.ts +1 -1
  13. package/dist-types/ConnectClient.d.ts +1 -1
  14. package/dist-types/commands/AssociateFlowCommand.d.ts +1 -1
  15. package/dist-types/commands/BatchGetFlowAssociationCommand.d.ts +2 -2
  16. package/dist-types/commands/CreateContactCommand.d.ts +13 -2
  17. package/dist-types/commands/CreateEmailAddressCommand.d.ts +3 -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/DeleteEmailAddressCommand.d.ts +1 -1
  21. package/dist-types/commands/DeleteViewVersionCommand.d.ts +1 -2
  22. package/dist-types/commands/DeleteVocabularyCommand.d.ts +2 -1
  23. package/dist-types/commands/DescribeContactCommand.d.ts +10 -0
  24. package/dist-types/commands/DescribeContactFlowCommand.d.ts +1 -2
  25. package/dist-types/commands/DescribeContactFlowModuleCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribeEmailAddressCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribePhoneNumberCommand.d.ts +1 -1
  28. package/dist-types/commands/DisassociateFlowCommand.d.ts +1 -1
  29. package/dist-types/commands/GetFlowAssociationCommand.d.ts +2 -2
  30. package/dist-types/commands/ImportPhoneNumberCommand.d.ts +1 -1
  31. package/dist-types/commands/ListAssociatedContactsCommand.d.ts +2 -1
  32. package/dist-types/commands/ListFlowAssociationsCommand.d.ts +2 -2
  33. package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +2 -2
  34. package/dist-types/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +1 -1
  35. package/dist-types/commands/ResumeContactRecordingCommand.d.ts +1 -0
  36. package/dist-types/commands/SearchContactFlowsCommand.d.ts +1 -3
  37. package/dist-types/commands/SearchEmailAddressesCommand.d.ts +1 -1
  38. package/dist-types/commands/SendChatIntegrationEventCommand.d.ts +1 -1
  39. package/dist-types/commands/SendOutboundEmailCommand.d.ts +6 -1
  40. package/dist-types/commands/StartAttachedFileUploadCommand.d.ts +3 -1
  41. package/dist-types/commands/StartChatContactCommand.d.ts +12 -1
  42. package/dist-types/commands/StartContactRecordingCommand.d.ts +1 -0
  43. package/dist-types/commands/StartEmailContactCommand.d.ts +14 -2
  44. package/dist-types/commands/StartOutboundChatContactCommand.d.ts +14 -3
  45. package/dist-types/commands/StartOutboundEmailContactCommand.d.ts +2 -1
  46. package/dist-types/commands/StartTaskContactCommand.d.ts +12 -1
  47. package/dist-types/commands/StopContactRecordingCommand.d.ts +1 -0
  48. package/dist-types/commands/SuspendContactRecordingCommand.d.ts +1 -0
  49. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  50. package/dist-types/commands/UpdateContactCommand.d.ts +33 -1
  51. package/dist-types/commands/UpdateContactFlowContentCommand.d.ts +1 -1
  52. package/dist-types/commands/UpdateContactFlowModuleContentCommand.d.ts +1 -1
  53. package/dist-types/commands/UpdateEmailAddressMetadataCommand.d.ts +2 -1
  54. package/dist-types/commands/UpdateQueueOutboundEmailConfigCommand.d.ts +2 -2
  55. package/dist-types/index.d.ts +1 -1
  56. package/dist-types/models/models_0.d.ts +87 -119
  57. package/dist-types/models/models_1.d.ts +238 -89
  58. package/dist-types/models/models_2.d.ts +442 -699
  59. package/dist-types/models/models_3.d.ts +598 -127
  60. package/dist-types/ts3.4/commands/CreateContactCommand.d.ts +2 -4
  61. package/dist-types/ts3.4/commands/CreateEvaluationFormCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/DeleteViewVersionCommand.d.ts +4 -2
  63. package/dist-types/ts3.4/commands/DeleteVocabularyCommand.d.ts +2 -4
  64. package/dist-types/ts3.4/commands/StartChatContactCommand.d.ts +2 -4
  65. package/dist-types/ts3.4/commands/StartEmailContactCommand.d.ts +2 -4
  66. package/dist-types/ts3.4/commands/StartOutboundChatContactCommand.d.ts +2 -4
  67. package/dist-types/ts3.4/commands/StartTaskContactCommand.d.ts +2 -4
  68. package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +2 -4
  69. package/dist-types/ts3.4/models/models_0.d.ts +11 -21
  70. package/dist-types/ts3.4/models/models_1.d.ts +18 -6
  71. package/dist-types/ts3.4/models/models_2.d.ts +63 -96
  72. package/dist-types/ts3.4/models/models_3.d.ts +99 -27
  73. package/package.json +1 -1
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../ConnectClient";
8
- import {
9
- CreateContactRequest,
10
- CreateContactResponse,
11
- } from "../models/models_0";
8
+ import { CreateContactResponse } from "../models/models_0";
9
+ import { CreateContactRequest } from "../models/models_2";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface CreateContactCommandInput extends CreateContactRequest {}
@@ -6,7 +6,7 @@ import {
6
6
  ServiceOutputTypes,
7
7
  } from "../ConnectClient";
8
8
  import { CreateEvaluationFormResponse } from "../models/models_0";
9
- import { CreateEvaluationFormRequest } from "../models/models_3";
9
+ import { CreateEvaluationFormRequest } from "../models/models_2";
10
10
  export { __MetadataBearer };
11
11
  export { $Command };
12
12
  export interface CreateEvaluationFormCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../ConnectClient";
8
- import { DeleteViewVersionRequest } from "../models/models_0";
9
- import { DeleteViewVersionResponse } from "../models/models_1";
8
+ import {
9
+ DeleteViewVersionRequest,
10
+ DeleteViewVersionResponse,
11
+ } from "../models/models_0";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface DeleteViewVersionCommandInput
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../ConnectClient";
8
- import {
9
- DeleteVocabularyRequest,
10
- DeleteVocabularyResponse,
11
- } from "../models/models_1";
8
+ import { DeleteVocabularyRequest } from "../models/models_0";
9
+ import { DeleteVocabularyResponse } from "../models/models_1";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface DeleteVocabularyCommandInput extends DeleteVocabularyRequest {}
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../ConnectClient";
8
- import {
9
- StartChatContactRequest,
10
- StartChatContactResponse,
11
- } from "../models/models_2";
8
+ import { StartChatContactResponse } from "../models/models_2";
9
+ import { StartChatContactRequest } from "../models/models_3";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface StartChatContactCommandInput extends StartChatContactRequest {}
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../ConnectClient";
8
- import {
9
- StartEmailContactRequest,
10
- StartEmailContactResponse,
11
- } from "../models/models_2";
8
+ import { StartEmailContactResponse } from "../models/models_2";
9
+ import { StartEmailContactRequest } from "../models/models_3";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface StartEmailContactCommandInput
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../ConnectClient";
8
- import {
9
- StartOutboundChatContactRequest,
10
- StartOutboundChatContactResponse,
11
- } from "../models/models_2";
8
+ import { StartOutboundChatContactResponse } from "../models/models_2";
9
+ import { StartOutboundChatContactRequest } from "../models/models_3";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface StartOutboundChatContactCommandInput
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../ConnectClient";
8
- import {
9
- StartTaskContactRequest,
10
- StartTaskContactResponse,
11
- } from "../models/models_2";
8
+ import { StartTaskContactResponse } from "../models/models_2";
9
+ import { StartTaskContactRequest } from "../models/models_3";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface StartTaskContactCommandInput extends StartTaskContactRequest {}
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../ConnectClient";
8
- import {
9
- UpdateContactRequest,
10
- UpdateContactResponse,
11
- } from "../models/models_2";
8
+ import { UpdateContactResponse } from "../models/models_2";
9
+ import { UpdateContactRequest } from "../models/models_3";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface UpdateContactCommandInput extends UpdateContactRequest {}
@@ -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];
@@ -813,27 +817,9 @@ export interface Reference {
813
817
  Arn?: string | undefined;
814
818
  StatusReason?: string | undefined;
815
819
  }
816
- export interface SegmentAttributeValue {
817
- ValueString?: string | undefined;
818
- }
819
820
  export interface UserInfo {
820
821
  UserId?: string | undefined;
821
822
  }
822
- export interface CreateContactRequest {
823
- InstanceId: string | undefined;
824
- ClientToken?: string | undefined;
825
- RelatedContactId?: string | undefined;
826
- Attributes?: Record<string, string> | undefined;
827
- References?: Record<string, Reference> | undefined;
828
- Channel: Channel | undefined;
829
- InitiationMethod: ContactInitiationMethod | undefined;
830
- ExpiryDurationInMinutes?: number | undefined;
831
- UserInfo?: UserInfo | undefined;
832
- InitiateAs?: InitiateAs | undefined;
833
- Name?: string | undefined;
834
- Description?: string | undefined;
835
- SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
836
- }
837
823
  export interface CreateContactResponse {
838
824
  ContactId?: string | undefined;
839
825
  ContactArn?: string | undefined;
@@ -1148,7 +1134,9 @@ export interface CreateInstanceResponse {
1148
1134
  Arn?: string | undefined;
1149
1135
  }
1150
1136
  export declare const IntegrationType: {
1137
+ readonly ANALYTICS_CONNECTOR: "ANALYTICS_CONNECTOR";
1151
1138
  readonly APPLICATION: "APPLICATION";
1139
+ readonly CALL_TRANSFER_CONNECTOR: "CALL_TRANSFER_CONNECTOR";
1152
1140
  readonly CASES_DOMAIN: "CASES_DOMAIN";
1153
1141
  readonly EVENT: "EVENT";
1154
1142
  readonly FILE_SCANNER: "FILE_SCANNER";
@@ -1855,9 +1843,11 @@ export interface DeleteViewVersionRequest {
1855
1843
  ViewId: string | undefined;
1856
1844
  ViewVersion: number | undefined;
1857
1845
  }
1858
- export declare const CreateContactRequestFilterSensitiveLog: (
1859
- obj: CreateContactRequest
1860
- ) => any;
1846
+ export interface DeleteViewVersionResponse {}
1847
+ export interface DeleteVocabularyRequest {
1848
+ InstanceId: string | undefined;
1849
+ VocabularyId: string | undefined;
1850
+ }
1861
1851
  export declare const CreateEmailAddressRequestFilterSensitiveLog: (
1862
1852
  obj: CreateEmailAddressRequest
1863
1853
  ) => any;
@@ -59,11 +59,6 @@ import {
59
59
  VocabularyLanguageCode,
60
60
  VocabularyState,
61
61
  } from "./models_0";
62
- export interface DeleteViewVersionResponse {}
63
- export interface DeleteVocabularyRequest {
64
- InstanceId: string | undefined;
65
- VocabularyId: string | undefined;
66
- }
67
62
  export interface DeleteVocabularyResponse {
68
63
  VocabularyArn: string | undefined;
69
64
  VocabularyId: string | undefined;
@@ -280,7 +275,6 @@ export interface ContactFlow {
280
275
  Description?: string | undefined;
281
276
  Content?: string | undefined;
282
277
  Tags?: Record<string, string> | undefined;
283
- IsDefault?: boolean | undefined;
284
278
  FlowContentSha256?: string | undefined;
285
279
  Version?: number | undefined;
286
280
  VersionDescription?: string | undefined;
@@ -2173,6 +2167,24 @@ export interface RealTimeContactAnalysisSegmentPostContactSummary {
2173
2167
  export interface RealTimeContactAnalysisTranscriptItemRedaction {
2174
2168
  CharacterOffsets?: RealTimeContactAnalysisCharacterInterval[] | undefined;
2175
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
+ }
2176
2188
  export declare const DescribeEmailAddressResponseFilterSensitiveLog: (
2177
2189
  obj: DescribeEmailAddressResponse
2178
2190
  ) => any;
@@ -10,15 +10,18 @@ import {
10
10
  AllowedCapabilities,
11
11
  Application,
12
12
  Channel,
13
+ ContactFlowStatus,
14
+ ContactFlowType,
13
15
  ContactInitiationMethod,
14
16
  ControlPlaneAttributeFilter,
15
17
  CreatedByInfo,
16
- Endpoint,
17
18
  EvaluationFormQuestion,
19
+ EvaluationFormScoringStrategy,
18
20
  EventSourceName,
19
21
  FileStatusType,
20
22
  FileUseCaseType,
21
23
  HoursOfOperationConfig,
24
+ InitiateAs,
22
25
  InstanceStorageConfig,
23
26
  InstanceStorageResourceType,
24
27
  MediaConcurrency,
@@ -33,7 +36,6 @@ import {
33
36
  RoutingProfileQueueConfig,
34
37
  RuleAction,
35
38
  RulePublishStatus,
36
- SegmentAttributeValue,
37
39
  StringComparisonType,
38
40
  StringCondition,
39
41
  TagCondition,
@@ -43,6 +45,7 @@ import {
43
45
  TaskTemplateStatus,
44
46
  UseCaseType,
45
47
  UserIdentityInfo,
48
+ UserInfo,
46
49
  UserPhoneConfig,
47
50
  UserProficiency,
48
51
  View,
@@ -75,33 +78,14 @@ import {
75
78
  RealTimeContactAnalysisSegmentEvent,
76
79
  RealTimeContactAnalysisSegmentIssues,
77
80
  RealTimeContactAnalysisSegmentPostContactSummary,
81
+ RealTimeContactAnalysisSegmentTranscript,
78
82
  RealTimeContactAnalysisSupportedChannel,
79
- RealTimeContactAnalysisTimeData,
80
- RealTimeContactAnalysisTranscriptItemRedaction,
81
83
  RoutingProfile,
82
84
  SignInConfig,
83
85
  SortOrder,
84
86
  TelephonyConfig,
85
87
  TrafficDistributionGroupStatus,
86
88
  } from "./models_1";
87
- export declare const RealTimeContactAnalysisSentimentLabel: {
88
- readonly NEGATIVE: "NEGATIVE";
89
- readonly NEUTRAL: "NEUTRAL";
90
- readonly POSITIVE: "POSITIVE";
91
- };
92
- export type RealTimeContactAnalysisSentimentLabel =
93
- (typeof RealTimeContactAnalysisSentimentLabel)[keyof typeof RealTimeContactAnalysisSentimentLabel];
94
- export interface RealTimeContactAnalysisSegmentTranscript {
95
- Id: string | undefined;
96
- ParticipantId: string | undefined;
97
- ParticipantRole: ParticipantRole | undefined;
98
- DisplayName?: string | undefined;
99
- Content: string | undefined;
100
- ContentType?: string | undefined;
101
- Time: RealTimeContactAnalysisTimeData | undefined;
102
- Redaction?: RealTimeContactAnalysisTranscriptItemRedaction | undefined;
103
- Sentiment?: RealTimeContactAnalysisSentimentLabel | undefined;
104
- }
105
89
  export type RealtimeContactAnalysisSegment =
106
90
  | RealtimeContactAnalysisSegment.AttachmentsMember
107
91
  | RealtimeContactAnalysisSegment.CategoriesMember
@@ -515,10 +499,18 @@ export interface ResumeContactRequest {
515
499
  ContactFlowId?: string | undefined;
516
500
  }
517
501
  export interface ResumeContactResponse {}
502
+ export declare const ContactRecordingType: {
503
+ readonly AGENT: "AGENT";
504
+ readonly IVR: "IVR";
505
+ readonly SCREEN: "SCREEN";
506
+ };
507
+ export type ContactRecordingType =
508
+ (typeof ContactRecordingType)[keyof typeof ContactRecordingType];
518
509
  export interface ResumeContactRecordingRequest {
519
510
  InstanceId: string | undefined;
520
511
  ContactId: string | undefined;
521
512
  InitialContactId: string | undefined;
513
+ ContactRecordingType?: ContactRecordingType | undefined;
522
514
  }
523
515
  export interface ResumeContactRecordingResponse {}
524
516
  export interface SearchAgentStatusesResponse {
@@ -1011,19 +1003,6 @@ export interface PersistentChat {
1011
1003
  RehydrationType?: RehydrationType | undefined;
1012
1004
  SourceContactId?: string | undefined;
1013
1005
  }
1014
- export interface StartChatContactRequest {
1015
- InstanceId: string | undefined;
1016
- ContactFlowId: string | undefined;
1017
- Attributes?: Record<string, string> | undefined;
1018
- ParticipantDetails: ParticipantDetails | undefined;
1019
- InitialMessage?: ChatMessage | undefined;
1020
- ClientToken?: string | undefined;
1021
- ChatDurationInMinutes?: number | undefined;
1022
- SupportedMessagingContentTypes?: string[] | undefined;
1023
- PersistentChat?: PersistentChat | undefined;
1024
- RelatedContactId?: string | undefined;
1025
- SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
1026
- }
1027
1006
  export interface StartChatContactResponse {
1028
1007
  ContactId?: string | undefined;
1029
1008
  ParticipantId?: string | undefined;
@@ -1040,6 +1019,11 @@ export interface StartContactEvaluationResponse {
1040
1019
  EvaluationId: string | undefined;
1041
1020
  EvaluationArn: string | undefined;
1042
1021
  }
1022
+ export declare const IvrRecordingTrack: {
1023
+ readonly ALL: "ALL";
1024
+ };
1025
+ export type IvrRecordingTrack =
1026
+ (typeof IvrRecordingTrack)[keyof typeof IvrRecordingTrack];
1043
1027
  export declare const VoiceRecordingTrack: {
1044
1028
  readonly ALL: "ALL";
1045
1029
  readonly FROM_AGENT: "FROM_AGENT";
@@ -1049,6 +1033,7 @@ export type VoiceRecordingTrack =
1049
1033
  (typeof VoiceRecordingTrack)[keyof typeof VoiceRecordingTrack];
1050
1034
  export interface VoiceRecordingConfiguration {
1051
1035
  VoiceRecordingTrack?: VoiceRecordingTrack | undefined;
1036
+ IvrRecordingTrack?: IvrRecordingTrack | undefined;
1052
1037
  }
1053
1038
  export interface StartContactRecordingRequest {
1054
1039
  InstanceId: string | undefined;
@@ -1098,39 +1083,9 @@ export interface InboundEmailContent {
1098
1083
  MessageSourceType: InboundMessageSourceType | undefined;
1099
1084
  RawMessage?: InboundRawMessage | undefined;
1100
1085
  }
1101
- export interface StartEmailContactRequest {
1102
- InstanceId: string | undefined;
1103
- FromEmailAddress: EmailAddressInfo | undefined;
1104
- DestinationEmailAddress: string | undefined;
1105
- Description?: string | undefined;
1106
- References?: Record<string, Reference> | undefined;
1107
- Name?: string | undefined;
1108
- EmailMessage: InboundEmailContent | undefined;
1109
- AdditionalRecipients?: InboundAdditionalRecipients | undefined;
1110
- Attachments?: EmailAttachment[] | undefined;
1111
- ContactFlowId?: string | undefined;
1112
- RelatedContactId?: string | undefined;
1113
- Attributes?: Record<string, string> | undefined;
1114
- SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
1115
- ClientToken?: string | undefined;
1116
- }
1117
1086
  export interface StartEmailContactResponse {
1118
1087
  ContactId?: string | undefined;
1119
1088
  }
1120
- export interface StartOutboundChatContactRequest {
1121
- SourceEndpoint: Endpoint | undefined;
1122
- DestinationEndpoint: Endpoint | undefined;
1123
- InstanceId: string | undefined;
1124
- SegmentAttributes: Record<string, SegmentAttributeValue> | undefined;
1125
- Attributes?: Record<string, string> | undefined;
1126
- ContactFlowId: string | undefined;
1127
- ChatDurationInMinutes?: number | undefined;
1128
- ParticipantDetails?: ParticipantDetails | undefined;
1129
- InitialSystemMessage?: ChatMessage | undefined;
1130
- RelatedContactId?: string | undefined;
1131
- SupportedMessagingContentTypes?: string[] | undefined;
1132
- ClientToken?: string | undefined;
1133
- }
1134
1089
  export interface StartOutboundChatContactResponse {
1135
1090
  ContactId?: string | undefined;
1136
1091
  }
@@ -1194,21 +1149,6 @@ export interface StartScreenSharingRequest {
1194
1149
  ContactId: string | undefined;
1195
1150
  }
1196
1151
  export interface StartScreenSharingResponse {}
1197
- export interface StartTaskContactRequest {
1198
- InstanceId: string | undefined;
1199
- PreviousContactId?: string | undefined;
1200
- ContactFlowId?: string | undefined;
1201
- Attributes?: Record<string, string> | undefined;
1202
- Name: string | undefined;
1203
- References?: Record<string, Reference> | undefined;
1204
- Description?: string | undefined;
1205
- ClientToken?: string | undefined;
1206
- ScheduledTime?: Date | undefined;
1207
- TaskTemplateId?: string | undefined;
1208
- QuickConnectId?: string | undefined;
1209
- RelatedContactId?: string | undefined;
1210
- SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
1211
- }
1212
1152
  export interface StartTaskContactResponse {
1213
1153
  ContactId?: string | undefined;
1214
1154
  }
@@ -1283,6 +1223,7 @@ export interface StopContactRecordingRequest {
1283
1223
  InstanceId: string | undefined;
1284
1224
  ContactId: string | undefined;
1285
1225
  InitialContactId: string | undefined;
1226
+ ContactRecordingType?: ContactRecordingType | undefined;
1286
1227
  }
1287
1228
  export interface StopContactRecordingResponse {}
1288
1229
  export interface StopContactStreamingRequest {
@@ -1308,6 +1249,7 @@ export interface SuspendContactRecordingRequest {
1308
1249
  InstanceId: string | undefined;
1309
1250
  ContactId: string | undefined;
1310
1251
  InitialContactId: string | undefined;
1252
+ ContactRecordingType?: ContactRecordingType | undefined;
1311
1253
  }
1312
1254
  export interface SuspendContactRecordingResponse {}
1313
1255
  export interface TagContactRequest {
@@ -1360,13 +1302,8 @@ export interface UpdateAuthenticationProfileRequest {
1360
1302
  BlockedIps?: string[] | undefined;
1361
1303
  PeriodicSessionDuration?: number | undefined;
1362
1304
  }
1363
- export interface UpdateContactRequest {
1364
- InstanceId: string | undefined;
1365
- ContactId: string | undefined;
1366
- Name?: string | undefined;
1367
- Description?: string | undefined;
1368
- References?: Record<string, Reference> | undefined;
1369
- SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
1305
+ export interface QueueInfoInput {
1306
+ Id?: string | undefined;
1370
1307
  }
1371
1308
  export interface UpdateContactResponse {}
1372
1309
  export interface UpdateContactAttributesRequest {
@@ -1772,6 +1709,11 @@ export interface UpdateViewMetadataRequest {
1772
1709
  Description?: string | undefined;
1773
1710
  }
1774
1711
  export interface UpdateViewMetadataResponse {}
1712
+ export interface SegmentAttributeValue {
1713
+ ValueString?: string | undefined;
1714
+ ValueMap?: Record<string, SegmentAttributeValue> | undefined;
1715
+ ValueInteger?: number | undefined;
1716
+ }
1775
1717
  export type EvaluationFormItem =
1776
1718
  | EvaluationFormItem.QuestionMember
1777
1719
  | EvaluationFormItem.SectionMember
@@ -1816,6 +1758,37 @@ export interface ContactFlowModuleSearchCriteria {
1816
1758
  AndConditions?: ContactFlowModuleSearchCriteria[] | undefined;
1817
1759
  StringCondition?: StringCondition | undefined;
1818
1760
  }
1761
+ export interface ContactFlowSearchCriteria {
1762
+ OrConditions?: ContactFlowSearchCriteria[] | undefined;
1763
+ AndConditions?: ContactFlowSearchCriteria[] | undefined;
1764
+ StringCondition?: StringCondition | undefined;
1765
+ TypeCondition?: ContactFlowType | undefined;
1766
+ StateCondition?: ContactFlowState | undefined;
1767
+ StatusCondition?: ContactFlowStatus | undefined;
1768
+ }
1769
+ export interface CreateContactRequest {
1770
+ InstanceId: string | undefined;
1771
+ ClientToken?: string | undefined;
1772
+ RelatedContactId?: string | undefined;
1773
+ Attributes?: Record<string, string> | undefined;
1774
+ References?: Record<string, Reference> | undefined;
1775
+ Channel: Channel | undefined;
1776
+ InitiationMethod: ContactInitiationMethod | undefined;
1777
+ ExpiryDurationInMinutes?: number | undefined;
1778
+ UserInfo?: UserInfo | undefined;
1779
+ InitiateAs?: InitiateAs | undefined;
1780
+ Name?: string | undefined;
1781
+ Description?: string | undefined;
1782
+ SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
1783
+ }
1784
+ export interface CreateEvaluationFormRequest {
1785
+ InstanceId: string | undefined;
1786
+ Title: string | undefined;
1787
+ Description?: string | undefined;
1788
+ Items: EvaluationFormItem[] | undefined;
1789
+ ScoringStrategy?: EvaluationFormScoringStrategy | undefined;
1790
+ ClientToken?: string | undefined;
1791
+ }
1819
1792
  export declare const ViewSummaryFilterSensitiveLog: (obj: ViewSummary) => any;
1820
1793
  export declare const ListViewsResponseFilterSensitiveLog: (
1821
1794
  obj: ListViewsResponse
@@ -1893,18 +1866,12 @@ export declare const InboundRawMessageFilterSensitiveLog: (
1893
1866
  export declare const InboundEmailContentFilterSensitiveLog: (
1894
1867
  obj: InboundEmailContent
1895
1868
  ) => any;
1896
- export declare const StartEmailContactRequestFilterSensitiveLog: (
1897
- obj: StartEmailContactRequest
1898
- ) => any;
1899
1869
  export declare const StartOutboundEmailContactRequestFilterSensitiveLog: (
1900
1870
  obj: StartOutboundEmailContactRequest
1901
1871
  ) => any;
1902
1872
  export declare const StartOutboundVoiceContactRequestFilterSensitiveLog: (
1903
1873
  obj: StartOutboundVoiceContactRequest
1904
1874
  ) => any;
1905
- export declare const StartTaskContactRequestFilterSensitiveLog: (
1906
- obj: StartTaskContactRequest
1907
- ) => any;
1908
1875
  export declare const StartWebRTCContactRequestFilterSensitiveLog: (
1909
1876
  obj: StartWebRTCContactRequest
1910
1877
  ) => any;
@@ -1915,9 +1882,6 @@ export declare const ConnectionDataFilterSensitiveLog: (
1915
1882
  export declare const StartWebRTCContactResponseFilterSensitiveLog: (
1916
1883
  obj: StartWebRTCContactResponse
1917
1884
  ) => any;
1918
- export declare const UpdateContactRequestFilterSensitiveLog: (
1919
- obj: UpdateContactRequest
1920
- ) => any;
1921
1885
  export declare const UpdateEmailAddressMetadataRequestFilterSensitiveLog: (
1922
1886
  obj: UpdateEmailAddressMetadataRequest
1923
1887
  ) => any;
@@ -1933,3 +1897,6 @@ export declare const UpdateViewContentResponseFilterSensitiveLog: (
1933
1897
  export declare const UpdateViewMetadataRequestFilterSensitiveLog: (
1934
1898
  obj: UpdateViewMetadataRequest
1935
1899
  ) => any;
1900
+ export declare const CreateContactRequestFilterSensitiveLog: (
1901
+ obj: CreateContactRequest
1902
+ ) => any;