@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
@@ -4,17 +4,16 @@ import {
4
4
  AgentStatusSearchFilter,
5
5
  Campaign,
6
6
  Channel,
7
- ContactFlowStatus,
8
- ContactFlowType,
9
7
  ContactInitiationMethod,
8
+ Endpoint,
10
9
  EvaluationFormScoringStrategy,
11
- SegmentAttributeValue,
10
+ Reference,
12
11
  StringCondition,
12
+ UserInfo,
13
13
  } from "./models_0";
14
14
  import {
15
15
  AnsweringMachineDetectionStatus,
16
16
  AttributeCondition,
17
- ContactFlowState,
18
17
  Customer,
19
18
  CustomerVoiceActivity,
20
19
  DisconnectDetails,
@@ -29,40 +28,34 @@ import {
29
28
  } from "./models_1";
30
29
  import {
31
30
  AgentStatusSearchCriteria,
31
+ ChatMessage,
32
32
  ContactFlowModuleSearchCriteria,
33
33
  ContactFlowModuleSearchFilter,
34
+ ContactFlowSearchCriteria,
34
35
  ContactFlowSearchFilter,
36
+ EmailAddressInfo,
35
37
  EmailAddressSearchFilter,
38
+ EmailAttachment,
36
39
  EvaluationFormItem,
37
40
  HierarchyGroupCondition,
38
41
  HoursOfOperationSearchFilter,
42
+ InboundAdditionalRecipients,
43
+ InboundEmailContent,
39
44
  ListCondition,
45
+ ParticipantDetails,
46
+ PersistentChat,
40
47
  PromptSearchFilter,
48
+ QueueInfoInput,
41
49
  QueueSearchFilter,
42
50
  QuickConnectSearchFilter,
43
51
  RoutingCriteriaInputStepExpiry,
44
52
  RoutingProfileSearchFilter,
45
53
  SearchableQueueType,
46
54
  SecurityProfilesSearchFilter,
55
+ SegmentAttributeValue,
47
56
  UserHierarchyGroupSearchFilter,
48
57
  UserSearchFilter,
49
58
  } from "./models_2";
50
- export interface ContactFlowSearchCriteria {
51
- OrConditions?: ContactFlowSearchCriteria[] | undefined;
52
- AndConditions?: ContactFlowSearchCriteria[] | undefined;
53
- StringCondition?: StringCondition | undefined;
54
- TypeCondition?: ContactFlowType | undefined;
55
- StateCondition?: ContactFlowState | undefined;
56
- StatusCondition?: ContactFlowStatus | undefined;
57
- }
58
- export interface CreateEvaluationFormRequest {
59
- InstanceId: string | undefined;
60
- Title: string | undefined;
61
- Description?: string | undefined;
62
- Items: EvaluationFormItem[] | undefined;
63
- ScoringStrategy?: EvaluationFormScoringStrategy | undefined;
64
- ClientToken?: string | undefined;
65
- }
66
59
  export interface EmailAddressSearchCriteria {
67
60
  OrConditions?: EmailAddressSearchCriteria[] | undefined;
68
61
  AndConditions?: EmailAddressSearchCriteria[] | undefined;
@@ -134,6 +127,76 @@ export interface SecurityProfileSearchCriteria {
134
127
  AndConditions?: SecurityProfileSearchCriteria[] | undefined;
135
128
  StringCondition?: StringCondition | undefined;
136
129
  }
130
+ export interface StartChatContactRequest {
131
+ InstanceId: string | undefined;
132
+ ContactFlowId: string | undefined;
133
+ Attributes?: Record<string, string> | undefined;
134
+ ParticipantDetails: ParticipantDetails | undefined;
135
+ InitialMessage?: ChatMessage | undefined;
136
+ ClientToken?: string | undefined;
137
+ ChatDurationInMinutes?: number | undefined;
138
+ SupportedMessagingContentTypes?: string[] | undefined;
139
+ PersistentChat?: PersistentChat | undefined;
140
+ RelatedContactId?: string | undefined;
141
+ SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
142
+ }
143
+ export interface StartEmailContactRequest {
144
+ InstanceId: string | undefined;
145
+ FromEmailAddress: EmailAddressInfo | undefined;
146
+ DestinationEmailAddress: string | undefined;
147
+ Description?: string | undefined;
148
+ References?: Record<string, Reference> | undefined;
149
+ Name?: string | undefined;
150
+ EmailMessage: InboundEmailContent | undefined;
151
+ AdditionalRecipients?: InboundAdditionalRecipients | undefined;
152
+ Attachments?: EmailAttachment[] | undefined;
153
+ ContactFlowId?: string | undefined;
154
+ RelatedContactId?: string | undefined;
155
+ Attributes?: Record<string, string> | undefined;
156
+ SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
157
+ ClientToken?: string | undefined;
158
+ }
159
+ export interface StartOutboundChatContactRequest {
160
+ SourceEndpoint: Endpoint | undefined;
161
+ DestinationEndpoint: Endpoint | undefined;
162
+ InstanceId: string | undefined;
163
+ SegmentAttributes: Record<string, SegmentAttributeValue> | undefined;
164
+ Attributes?: Record<string, string> | undefined;
165
+ ContactFlowId: string | undefined;
166
+ ChatDurationInMinutes?: number | undefined;
167
+ ParticipantDetails?: ParticipantDetails | undefined;
168
+ InitialSystemMessage?: ChatMessage | undefined;
169
+ RelatedContactId?: string | undefined;
170
+ SupportedMessagingContentTypes?: string[] | undefined;
171
+ ClientToken?: string | undefined;
172
+ }
173
+ export interface StartTaskContactRequest {
174
+ InstanceId: string | undefined;
175
+ PreviousContactId?: string | undefined;
176
+ ContactFlowId?: string | undefined;
177
+ Attributes?: Record<string, string> | undefined;
178
+ Name: string | undefined;
179
+ References?: Record<string, Reference> | undefined;
180
+ Description?: string | undefined;
181
+ ClientToken?: string | undefined;
182
+ ScheduledTime?: Date | undefined;
183
+ TaskTemplateId?: string | undefined;
184
+ QuickConnectId?: string | undefined;
185
+ RelatedContactId?: string | undefined;
186
+ SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
187
+ }
188
+ export interface UpdateContactRequest {
189
+ InstanceId: string | undefined;
190
+ ContactId: string | undefined;
191
+ Name?: string | undefined;
192
+ Description?: string | undefined;
193
+ References?: Record<string, Reference> | undefined;
194
+ SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
195
+ QueueInfo?: QueueInfoInput | undefined;
196
+ UserInfo?: UserInfo | undefined;
197
+ CustomerEndpoint?: Endpoint | undefined;
198
+ SystemEndpoint?: Endpoint | undefined;
199
+ }
137
200
  export interface UpdateEvaluationFormRequest {
138
201
  InstanceId: string | undefined;
139
202
  EvaluationFormId: string | undefined;
@@ -271,6 +334,13 @@ export interface RoutingCriteria {
271
334
  export interface RoutingCriteriaInput {
272
335
  Steps?: RoutingCriteriaInputStep[] | undefined;
273
336
  }
337
+ export interface UpdateContactRoutingDataRequest {
338
+ InstanceId: string | undefined;
339
+ ContactId: string | undefined;
340
+ QueueTimeAdjustmentSeconds?: number | undefined;
341
+ QueuePriority?: number | undefined;
342
+ RoutingCriteria?: RoutingCriteriaInput | undefined;
343
+ }
274
344
  export interface Contact {
275
345
  Arn?: string | undefined;
276
346
  Id?: string | undefined;
@@ -309,16 +379,18 @@ export interface Contact {
309
379
  AdditionalEmailRecipients?: AdditionalEmailRecipients | undefined;
310
380
  SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
311
381
  }
312
- export interface UpdateContactRoutingDataRequest {
313
- InstanceId: string | undefined;
314
- ContactId: string | undefined;
315
- QueueTimeAdjustmentSeconds?: number | undefined;
316
- QueuePriority?: number | undefined;
317
- RoutingCriteria?: RoutingCriteriaInput | undefined;
318
- }
319
382
  export interface DescribeContactResponse {
320
383
  Contact?: Contact | undefined;
321
384
  }
385
+ export declare const StartEmailContactRequestFilterSensitiveLog: (
386
+ obj: StartEmailContactRequest
387
+ ) => any;
388
+ export declare const StartTaskContactRequestFilterSensitiveLog: (
389
+ obj: StartTaskContactRequest
390
+ ) => any;
391
+ export declare const UpdateContactRequestFilterSensitiveLog: (
392
+ obj: UpdateContactRequest
393
+ ) => any;
322
394
  export declare const ContactFilterSensitiveLog: (obj: Contact) => any;
323
395
  export declare const DescribeContactResponseFilterSensitiveLog: (
324
396
  obj: DescribeContactResponse
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connect",
3
3
  "description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
4
- "version": "3.699.0",
4
+ "version": "3.703.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-connect",