@aws-sdk/client-connect 3.699.0 → 3.701.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 (55) hide show
  1. package/dist-cjs/index.js +96 -47
  2. package/dist-es/commands/CreateContactCommand.js +1 -1
  3. package/dist-es/commands/StartEmailContactCommand.js +1 -1
  4. package/dist-es/commands/StartTaskContactCommand.js +1 -1
  5. package/dist-es/commands/UpdateContactCommand.js +1 -1
  6. package/dist-es/models/models_0.js +0 -5
  7. package/dist-es/models/models_1.js +5 -0
  8. package/dist-es/models/models_2.js +5 -27
  9. package/dist-es/models/models_3.js +23 -0
  10. package/dist-es/protocols/Aws_restJson1.js +57 -8
  11. package/dist-types/commands/CreateContactCommand.d.ts +13 -2
  12. package/dist-types/commands/CreateEmailAddressCommand.d.ts +3 -1
  13. package/dist-types/commands/CreateEvaluationFormCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteEmailAddressCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteViewVersionCommand.d.ts +1 -2
  16. package/dist-types/commands/DeleteVocabularyCommand.d.ts +2 -1
  17. package/dist-types/commands/DescribeContactCommand.d.ts +10 -0
  18. package/dist-types/commands/DescribeContactFlowCommand.d.ts +1 -2
  19. package/dist-types/commands/DescribeContactFlowModuleCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeEmailAddressCommand.d.ts +1 -1
  21. package/dist-types/commands/ListAssociatedContactsCommand.d.ts +2 -1
  22. package/dist-types/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +1 -1
  23. package/dist-types/commands/SearchContactFlowsCommand.d.ts +1 -3
  24. package/dist-types/commands/SearchEmailAddressesCommand.d.ts +1 -1
  25. package/dist-types/commands/SendOutboundEmailCommand.d.ts +6 -1
  26. package/dist-types/commands/StartAttachedFileUploadCommand.d.ts +3 -1
  27. package/dist-types/commands/StartChatContactCommand.d.ts +12 -1
  28. package/dist-types/commands/StartEmailContactCommand.d.ts +14 -2
  29. package/dist-types/commands/StartOutboundChatContactCommand.d.ts +12 -1
  30. package/dist-types/commands/StartOutboundEmailContactCommand.d.ts +2 -1
  31. package/dist-types/commands/StartTaskContactCommand.d.ts +12 -1
  32. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  33. package/dist-types/commands/UpdateContactCommand.d.ts +12 -1
  34. package/dist-types/commands/UpdateContactFlowContentCommand.d.ts +1 -1
  35. package/dist-types/commands/UpdateContactFlowModuleContentCommand.d.ts +1 -1
  36. package/dist-types/commands/UpdateEmailAddressMetadataCommand.d.ts +2 -1
  37. package/dist-types/commands/UpdateQueueOutboundEmailConfigCommand.d.ts +2 -2
  38. package/dist-types/models/models_0.d.ts +60 -118
  39. package/dist-types/models/models_1.d.ts +117 -71
  40. package/dist-types/models/models_2.d.ts +544 -718
  41. package/dist-types/models/models_3.d.ts +545 -246
  42. package/dist-types/ts3.4/commands/CreateContactCommand.d.ts +2 -4
  43. package/dist-types/ts3.4/commands/CreateEvaluationFormCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/DeleteViewVersionCommand.d.ts +4 -2
  45. package/dist-types/ts3.4/commands/DeleteVocabularyCommand.d.ts +2 -4
  46. package/dist-types/ts3.4/commands/StartChatContactCommand.d.ts +2 -4
  47. package/dist-types/ts3.4/commands/StartEmailContactCommand.d.ts +2 -4
  48. package/dist-types/ts3.4/commands/StartOutboundChatContactCommand.d.ts +2 -4
  49. package/dist-types/ts3.4/commands/StartTaskContactCommand.d.ts +2 -4
  50. package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +2 -4
  51. package/dist-types/ts3.4/models/models_0.d.ts +5 -21
  52. package/dist-types/ts3.4/models/models_1.d.ts +18 -6
  53. package/dist-types/ts3.4/models/models_2.d.ts +76 -97
  54. package/dist-types/ts3.4/models/models_3.d.ts +96 -58
  55. package/package.json +1 -1
@@ -4,23 +4,20 @@ 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,
13
12
  } from "./models_0";
14
13
  import {
15
14
  AnsweringMachineDetectionStatus,
16
15
  AttributeCondition,
17
- ContactFlowState,
18
16
  Customer,
19
17
  CustomerVoiceActivity,
20
18
  DisconnectDetails,
21
19
  EndpointInfo,
22
20
  Evaluation,
23
- EvaluationFormVersionStatus,
24
21
  Expiry,
25
22
  QualityMetrics,
26
23
  QueueInfo,
@@ -29,14 +26,25 @@ import {
29
26
  } from "./models_1";
30
27
  import {
31
28
  AgentStatusSearchCriteria,
29
+ ChatMessage,
32
30
  ContactFlowModuleSearchCriteria,
33
31
  ContactFlowModuleSearchFilter,
32
+ ContactFlowSearchCriteria,
34
33
  ContactFlowSearchFilter,
34
+ EmailAddressInfo,
35
+ EmailAddressSearchCriteria,
35
36
  EmailAddressSearchFilter,
37
+ EmailAttachment,
38
+ EvaluationForm,
39
+ EvaluationFormContent,
36
40
  EvaluationFormItem,
37
41
  HierarchyGroupCondition,
38
42
  HoursOfOperationSearchFilter,
43
+ InboundAdditionalRecipients,
44
+ InboundEmailContent,
39
45
  ListCondition,
46
+ ParticipantDetails,
47
+ PersistentChat,
40
48
  PromptSearchFilter,
41
49
  QueueSearchFilter,
42
50
  QuickConnectSearchFilter,
@@ -44,55 +52,10 @@ import {
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
- export interface EmailAddressSearchCriteria {
67
- OrConditions?: EmailAddressSearchCriteria[] | undefined;
68
- AndConditions?: EmailAddressSearchCriteria[] | undefined;
69
- StringCondition?: StringCondition | undefined;
70
- }
71
- export interface EvaluationForm {
72
- EvaluationFormId: string | undefined;
73
- EvaluationFormVersion: number | undefined;
74
- Locked: boolean | undefined;
75
- EvaluationFormArn: string | undefined;
76
- Title: string | undefined;
77
- Description?: string | undefined;
78
- Status: EvaluationFormVersionStatus | undefined;
79
- Items: EvaluationFormItem[] | undefined;
80
- ScoringStrategy?: EvaluationFormScoringStrategy | undefined;
81
- CreatedTime: Date | undefined;
82
- CreatedBy: string | undefined;
83
- LastModifiedTime: Date | undefined;
84
- LastModifiedBy: string | undefined;
85
- Tags?: Record<string, string> | undefined;
86
- }
87
- export interface EvaluationFormContent {
88
- EvaluationFormVersion: number | undefined;
89
- EvaluationFormId: string | undefined;
90
- EvaluationFormArn: string | undefined;
91
- Title: string | undefined;
92
- Description?: string | undefined;
93
- Items: EvaluationFormItem[] | undefined;
94
- ScoringStrategy?: EvaluationFormScoringStrategy | undefined;
95
- }
96
59
  export interface Expression {
97
60
  AttributeCondition?: AttributeCondition | undefined;
98
61
  AndExpression?: Expression[] | undefined;
@@ -134,6 +97,72 @@ export interface SecurityProfileSearchCriteria {
134
97
  AndConditions?: SecurityProfileSearchCriteria[] | undefined;
135
98
  StringCondition?: StringCondition | undefined;
136
99
  }
100
+ export interface StartChatContactRequest {
101
+ InstanceId: string | undefined;
102
+ ContactFlowId: string | undefined;
103
+ Attributes?: Record<string, string> | undefined;
104
+ ParticipantDetails: ParticipantDetails | undefined;
105
+ InitialMessage?: ChatMessage | undefined;
106
+ ClientToken?: string | undefined;
107
+ ChatDurationInMinutes?: number | undefined;
108
+ SupportedMessagingContentTypes?: string[] | undefined;
109
+ PersistentChat?: PersistentChat | undefined;
110
+ RelatedContactId?: string | undefined;
111
+ SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
112
+ }
113
+ export interface StartEmailContactRequest {
114
+ InstanceId: string | undefined;
115
+ FromEmailAddress: EmailAddressInfo | undefined;
116
+ DestinationEmailAddress: string | undefined;
117
+ Description?: string | undefined;
118
+ References?: Record<string, Reference> | undefined;
119
+ Name?: string | undefined;
120
+ EmailMessage: InboundEmailContent | undefined;
121
+ AdditionalRecipients?: InboundAdditionalRecipients | undefined;
122
+ Attachments?: EmailAttachment[] | undefined;
123
+ ContactFlowId?: string | undefined;
124
+ RelatedContactId?: string | undefined;
125
+ Attributes?: Record<string, string> | undefined;
126
+ SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
127
+ ClientToken?: string | undefined;
128
+ }
129
+ export interface StartOutboundChatContactRequest {
130
+ SourceEndpoint: Endpoint | undefined;
131
+ DestinationEndpoint: Endpoint | undefined;
132
+ InstanceId: string | undefined;
133
+ SegmentAttributes: Record<string, SegmentAttributeValue> | undefined;
134
+ Attributes?: Record<string, string> | undefined;
135
+ ContactFlowId: string | undefined;
136
+ ChatDurationInMinutes?: number | undefined;
137
+ ParticipantDetails?: ParticipantDetails | undefined;
138
+ InitialSystemMessage?: ChatMessage | undefined;
139
+ RelatedContactId?: string | undefined;
140
+ SupportedMessagingContentTypes?: string[] | undefined;
141
+ ClientToken?: string | undefined;
142
+ }
143
+ export interface StartTaskContactRequest {
144
+ InstanceId: string | undefined;
145
+ PreviousContactId?: string | undefined;
146
+ ContactFlowId?: string | undefined;
147
+ Attributes?: Record<string, string> | undefined;
148
+ Name: string | undefined;
149
+ References?: Record<string, Reference> | undefined;
150
+ Description?: string | undefined;
151
+ ClientToken?: string | undefined;
152
+ ScheduledTime?: Date | undefined;
153
+ TaskTemplateId?: string | undefined;
154
+ QuickConnectId?: string | undefined;
155
+ RelatedContactId?: string | undefined;
156
+ SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
157
+ }
158
+ export interface UpdateContactRequest {
159
+ InstanceId: string | undefined;
160
+ ContactId: string | undefined;
161
+ Name?: string | undefined;
162
+ Description?: string | undefined;
163
+ References?: Record<string, Reference> | undefined;
164
+ SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
165
+ }
137
166
  export interface UpdateEvaluationFormRequest {
138
167
  InstanceId: string | undefined;
139
168
  EvaluationFormId: string | undefined;
@@ -271,6 +300,13 @@ export interface RoutingCriteria {
271
300
  export interface RoutingCriteriaInput {
272
301
  Steps?: RoutingCriteriaInputStep[] | undefined;
273
302
  }
303
+ export interface UpdateContactRoutingDataRequest {
304
+ InstanceId: string | undefined;
305
+ ContactId: string | undefined;
306
+ QueueTimeAdjustmentSeconds?: number | undefined;
307
+ QueuePriority?: number | undefined;
308
+ RoutingCriteria?: RoutingCriteriaInput | undefined;
309
+ }
274
310
  export interface Contact {
275
311
  Arn?: string | undefined;
276
312
  Id?: string | undefined;
@@ -309,16 +345,18 @@ export interface Contact {
309
345
  AdditionalEmailRecipients?: AdditionalEmailRecipients | undefined;
310
346
  SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
311
347
  }
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
348
  export interface DescribeContactResponse {
320
349
  Contact?: Contact | undefined;
321
350
  }
351
+ export declare const StartEmailContactRequestFilterSensitiveLog: (
352
+ obj: StartEmailContactRequest
353
+ ) => any;
354
+ export declare const StartTaskContactRequestFilterSensitiveLog: (
355
+ obj: StartTaskContactRequest
356
+ ) => any;
357
+ export declare const UpdateContactRequestFilterSensitiveLog: (
358
+ obj: UpdateContactRequest
359
+ ) => any;
322
360
  export declare const ContactFilterSensitiveLog: (obj: Contact) => any;
323
361
  export declare const DescribeContactResponseFilterSensitiveLog: (
324
362
  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.701.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",