@aws-sdk/client-connect 3.474.0 → 3.476.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.
- package/README.md +16 -0
- package/dist-cjs/Connect.js +4 -0
- package/dist-cjs/commands/PauseContactCommand.js +51 -0
- package/dist-cjs/commands/ResumeContactCommand.js +51 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +7 -5
- package/dist-cjs/models/models_1.js +19 -6
- package/dist-cjs/models/models_2.js +6 -1
- package/dist-cjs/protocols/Aws_restJson1.js +281 -10
- package/dist-es/Connect.js +4 -0
- package/dist-es/commands/PauseContactCommand.js +47 -0
- package/dist-es/commands/ResumeContactCommand.js +47 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +6 -4
- package/dist-es/models/models_1.js +17 -5
- package/dist-es/models/models_2.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +271 -4
- package/dist-types/Connect.d.ts +14 -0
- package/dist-types/ConnectClient.d.ts +4 -2
- package/dist-types/commands/CreateIntegrationAssociationCommand.d.ts +1 -1
- package/dist-types/commands/CreateRuleCommand.d.ts +30 -2
- package/dist-types/commands/DescribeContactCommand.d.ts +5 -0
- package/dist-types/commands/DescribePromptCommand.d.ts +2 -1
- package/dist-types/commands/DescribeQueueCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRuleCommand.d.ts +30 -2
- package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListRulesCommand.d.ts +3 -3
- package/dist-types/commands/PauseContactCommand.d.ts +97 -0
- package/dist-types/commands/ResumeContactCommand.d.ts +94 -0
- package/dist-types/commands/SearchUsersCommand.d.ts +1 -2
- package/dist-types/commands/SearchVocabulariesCommand.d.ts +1 -1
- package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +9 -0
- package/dist-types/commands/UpdateRuleCommand.d.ts +29 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +132 -149
- package/dist-types/models/models_1.d.ts +225 -307
- package/dist-types/models/models_2.d.ts +336 -2
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/Connect.d.ts +34 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/DescribePromptCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeQueueCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PauseContactCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ResumeContactCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/SearchVocabulariesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +33 -37
- package/dist-types/ts3.4/models/models_1.d.ts +56 -65
- package/dist-types/ts3.4/models/models_2.d.ts +72 -5
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +4 -4
|
@@ -1,7 +1,313 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
|
|
3
|
-
import { AgentAvailabilityTimer, AgentConfig, AgentStatusState, AllowedCapabilities, Application, ContactFlowModuleState, ContactFlowState, Evaluation, EvaluationAnswerData, EvaluationFormQuestion, EvaluationFormScoringStrategy, EvaluationFormVersionStatus, EvaluationNote, HoursOfOperationConfig, InstanceAttributeType, InstanceStorageConfig, InstanceStorageResourceType, MediaConcurrency, OutboundCallerConfig,
|
|
4
|
-
import {
|
|
3
|
+
import { AgentAvailabilityTimer, AgentConfig, AgentStatusState, AllowedCapabilities, Application, ContactFlowModuleState, ContactFlowState, Evaluation, EvaluationAnswerData, EvaluationFormQuestion, EvaluationFormScoringStrategy, EvaluationFormVersionStatus, EvaluationNote, HoursOfOperationConfig, InstanceAttributeType, InstanceStorageConfig, InstanceStorageResourceType, MediaConcurrency, OutboundCallerConfig, QuickConnectConfig, Reference, RehydrationType, RoutingProfileQueueConfig, RuleAction, RulePublishStatus, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UserIdentityInfo, UserPhoneConfig, View, ViewInputContent, ViewStatus, VocabularyLanguageCode, VocabularyState } from "./models_0";
|
|
4
|
+
import { ControlPlaneTagFilter, HierarchyGroupMatchType, HoursOfOperationSearchFilter, PromptSearchFilter, QueueSearchFilter, QueueStatus, QuickConnectSearchFilter, RoutingProfileSearchFilter, SearchableQueueType, SecurityProfilesSearchFilter, SignInConfig, StringCondition, TelephonyConfig } from "./models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
* <p>A leaf node condition which can be used to specify a hierarchy group condition.</p>
|
|
8
|
+
*/
|
|
9
|
+
export interface HierarchyGroupCondition {
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
* <p>The value in the hierarchy group condition.</p>
|
|
13
|
+
*/
|
|
14
|
+
Value?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
* <p>The type of hierarchy group match.</p>
|
|
18
|
+
*/
|
|
19
|
+
HierarchyGroupMatchType?: HierarchyGroupMatchType;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
* <p>Filters to be applied to search results.</p>
|
|
24
|
+
*/
|
|
25
|
+
export interface UserSearchFilter {
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
* <p>An object that can be used to specify Tag conditions inside the <code>SearchFilter</code>.
|
|
29
|
+
* This accepts an <code>OR</code> of <code>AND</code> (List of List) input where: </p>
|
|
30
|
+
* <ul>
|
|
31
|
+
* <li>
|
|
32
|
+
* <p>Top level list specifies conditions that need to be applied with <code>OR</code>
|
|
33
|
+
* operator</p>
|
|
34
|
+
* </li>
|
|
35
|
+
* <li>
|
|
36
|
+
* <p>Inner list specifies conditions that need to be applied with <code>AND</code>
|
|
37
|
+
* operator.</p>
|
|
38
|
+
* </li>
|
|
39
|
+
* </ul>
|
|
40
|
+
*/
|
|
41
|
+
TagFilter?: ControlPlaneTagFilter;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @public
|
|
45
|
+
* <p>The user's first name and last name.</p>
|
|
46
|
+
*/
|
|
47
|
+
export interface UserIdentityInfoLite {
|
|
48
|
+
/**
|
|
49
|
+
* @public
|
|
50
|
+
* <p>The user's first name.</p>
|
|
51
|
+
*/
|
|
52
|
+
FirstName?: string;
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
* <p>The user's last name.</p>
|
|
56
|
+
*/
|
|
57
|
+
LastName?: string;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
* <p>Information about the returned users.</p>
|
|
62
|
+
*/
|
|
63
|
+
export interface UserSearchSummary {
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
* <p>The Amazon Resource Name (ARN) of the user.</p>
|
|
67
|
+
*/
|
|
68
|
+
Arn?: string;
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
* <p>The directory identifier of the user.</p>
|
|
72
|
+
*/
|
|
73
|
+
DirectoryUserId?: string;
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
* <p>The identifier of the user's hierarchy group.</p>
|
|
77
|
+
*/
|
|
78
|
+
HierarchyGroupId?: string;
|
|
79
|
+
/**
|
|
80
|
+
* @public
|
|
81
|
+
* <p>The identifier of the user's summary.</p>
|
|
82
|
+
*/
|
|
83
|
+
Id?: string;
|
|
84
|
+
/**
|
|
85
|
+
* @public
|
|
86
|
+
* <p>The user's first name and last name.</p>
|
|
87
|
+
*/
|
|
88
|
+
IdentityInfo?: UserIdentityInfoLite;
|
|
89
|
+
/**
|
|
90
|
+
* @public
|
|
91
|
+
* <p>Contains information about the phone configuration settings for a user.</p>
|
|
92
|
+
*/
|
|
93
|
+
PhoneConfig?: UserPhoneConfig;
|
|
94
|
+
/**
|
|
95
|
+
* @public
|
|
96
|
+
* <p>The identifier of the user's routing profile.</p>
|
|
97
|
+
*/
|
|
98
|
+
RoutingProfileId?: string;
|
|
99
|
+
/**
|
|
100
|
+
* @public
|
|
101
|
+
* <p>The identifiers of the user's security profiles.</p>
|
|
102
|
+
*/
|
|
103
|
+
SecurityProfileIds?: string[];
|
|
104
|
+
/**
|
|
105
|
+
* @public
|
|
106
|
+
* <p>The tags used to organize, track, or control access for this resource. For example, \{ "Tags": \{"key1":"value1", "key2":"value2"\} \}.</p>
|
|
107
|
+
*/
|
|
108
|
+
Tags?: Record<string, string>;
|
|
109
|
+
/**
|
|
110
|
+
* @public
|
|
111
|
+
* <p>The name of the user.</p>
|
|
112
|
+
*/
|
|
113
|
+
Username?: string;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
118
|
+
export interface SearchUsersResponse {
|
|
119
|
+
/**
|
|
120
|
+
* @public
|
|
121
|
+
* <p>Information about the users.</p>
|
|
122
|
+
*/
|
|
123
|
+
Users?: UserSearchSummary[];
|
|
124
|
+
/**
|
|
125
|
+
* @public
|
|
126
|
+
* <p>If there are additional results, this is the token for the next set of results.</p>
|
|
127
|
+
*/
|
|
128
|
+
NextToken?: string;
|
|
129
|
+
/**
|
|
130
|
+
* @public
|
|
131
|
+
* <p>The total number of users who matched your search query.</p>
|
|
132
|
+
*/
|
|
133
|
+
ApproximateTotalCount?: number;
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
export interface SearchVocabulariesRequest {
|
|
139
|
+
/**
|
|
140
|
+
* @public
|
|
141
|
+
* <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
|
|
142
|
+
*/
|
|
143
|
+
InstanceId: string | undefined;
|
|
144
|
+
/**
|
|
145
|
+
* @public
|
|
146
|
+
* <p>The maximum number of results to return per page.</p>
|
|
147
|
+
*/
|
|
148
|
+
MaxResults?: number;
|
|
149
|
+
/**
|
|
150
|
+
* @public
|
|
151
|
+
* <p>The token for the next set of results. Use the value returned in the previous
|
|
152
|
+
* response in the next request to retrieve the next set of results.</p>
|
|
153
|
+
*/
|
|
154
|
+
NextToken?: string;
|
|
155
|
+
/**
|
|
156
|
+
* @public
|
|
157
|
+
* <p>The current state of the custom vocabulary.</p>
|
|
158
|
+
*/
|
|
159
|
+
State?: VocabularyState;
|
|
160
|
+
/**
|
|
161
|
+
* @public
|
|
162
|
+
* <p>The starting pattern of the name of the vocabulary.</p>
|
|
163
|
+
*/
|
|
164
|
+
NameStartsWith?: string;
|
|
165
|
+
/**
|
|
166
|
+
* @public
|
|
167
|
+
* <p>The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see
|
|
168
|
+
* <a href="https://docs.aws.amazon.com/transcribe/latest/dg/transcribe-whatis.html">What is Amazon Transcribe?</a>
|
|
169
|
+
* </p>
|
|
170
|
+
*/
|
|
171
|
+
LanguageCode?: VocabularyLanguageCode;
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* @public
|
|
175
|
+
* <p>Contains summary information about the custom vocabulary.</p>
|
|
176
|
+
*/
|
|
177
|
+
export interface VocabularySummary {
|
|
178
|
+
/**
|
|
179
|
+
* @public
|
|
180
|
+
* <p>A unique name of the custom vocabulary.</p>
|
|
181
|
+
*/
|
|
182
|
+
Name: string | undefined;
|
|
183
|
+
/**
|
|
184
|
+
* @public
|
|
185
|
+
* <p>The identifier of the custom vocabulary.</p>
|
|
186
|
+
*/
|
|
187
|
+
Id: string | undefined;
|
|
188
|
+
/**
|
|
189
|
+
* @public
|
|
190
|
+
* <p>The Amazon Resource Name (ARN) of the custom vocabulary.</p>
|
|
191
|
+
*/
|
|
192
|
+
Arn: string | undefined;
|
|
193
|
+
/**
|
|
194
|
+
* @public
|
|
195
|
+
* <p>The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see
|
|
196
|
+
* <a href="https://docs.aws.amazon.com/transcribe/latest/dg/transcribe-whatis.html">What is Amazon Transcribe?</a>
|
|
197
|
+
* </p>
|
|
198
|
+
*/
|
|
199
|
+
LanguageCode: VocabularyLanguageCode | undefined;
|
|
200
|
+
/**
|
|
201
|
+
* @public
|
|
202
|
+
* <p>The current state of the custom vocabulary.</p>
|
|
203
|
+
*/
|
|
204
|
+
State: VocabularyState | undefined;
|
|
205
|
+
/**
|
|
206
|
+
* @public
|
|
207
|
+
* <p>The timestamp when the custom vocabulary was last modified.</p>
|
|
208
|
+
*/
|
|
209
|
+
LastModifiedTime: Date | undefined;
|
|
210
|
+
/**
|
|
211
|
+
* @public
|
|
212
|
+
* <p>The reason why the custom vocabulary was not created.</p>
|
|
213
|
+
*/
|
|
214
|
+
FailureReason?: string;
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* @public
|
|
218
|
+
*/
|
|
219
|
+
export interface SearchVocabulariesResponse {
|
|
220
|
+
/**
|
|
221
|
+
* @public
|
|
222
|
+
* <p>The list of the available custom vocabularies.</p>
|
|
223
|
+
*/
|
|
224
|
+
VocabularySummaryList?: VocabularySummary[];
|
|
225
|
+
/**
|
|
226
|
+
* @public
|
|
227
|
+
* <p>If there are additional results, this is the token for the next set of results.</p>
|
|
228
|
+
*/
|
|
229
|
+
NextToken?: string;
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* @public
|
|
233
|
+
* @enum
|
|
234
|
+
*/
|
|
235
|
+
export declare const ChatEventType: {
|
|
236
|
+
readonly DISCONNECT: "DISCONNECT";
|
|
237
|
+
readonly EVENT: "EVENT";
|
|
238
|
+
readonly MESSAGE: "MESSAGE";
|
|
239
|
+
};
|
|
240
|
+
/**
|
|
241
|
+
* @public
|
|
242
|
+
*/
|
|
243
|
+
export type ChatEventType = (typeof ChatEventType)[keyof typeof ChatEventType];
|
|
244
|
+
/**
|
|
245
|
+
* @public
|
|
246
|
+
* <p>Chat integration event containing payload to perform different chat actions such as:</p>
|
|
247
|
+
* <ul>
|
|
248
|
+
* <li>
|
|
249
|
+
* <p>Sending a chat message</p>
|
|
250
|
+
* </li>
|
|
251
|
+
* <li>
|
|
252
|
+
* <p>Sending a chat event, such as typing</p>
|
|
253
|
+
* </li>
|
|
254
|
+
* <li>
|
|
255
|
+
* <p>Disconnecting from a chat</p>
|
|
256
|
+
* </li>
|
|
257
|
+
* </ul>
|
|
258
|
+
*/
|
|
259
|
+
export interface ChatEvent {
|
|
260
|
+
/**
|
|
261
|
+
* @public
|
|
262
|
+
* <p>Type of chat integration event. </p>
|
|
263
|
+
*/
|
|
264
|
+
Type: ChatEventType | undefined;
|
|
265
|
+
/**
|
|
266
|
+
* @public
|
|
267
|
+
* <p>Type of content. This is required when <code>Type</code> is <code>MESSAGE</code> or
|
|
268
|
+
* <code>EVENT</code>. </p>
|
|
269
|
+
* <ul>
|
|
270
|
+
* <li>
|
|
271
|
+
* <p>For allowed message content types, see the <code>ContentType</code> parameter in the
|
|
272
|
+
* <a href="https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_SendMessage.html">SendMessage</a> topic in the <i>Amazon Connect Participant Service API
|
|
273
|
+
* Reference</i>.</p>
|
|
274
|
+
* </li>
|
|
275
|
+
* <li>
|
|
276
|
+
* <p>For allowed event content types, see the <code>ContentType</code> parameter in the <a href="https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_SendEvent.html">SendEvent</a> topic in the <i>Amazon Connect Participant Service API
|
|
277
|
+
* Reference</i>. </p>
|
|
278
|
+
* </li>
|
|
279
|
+
* </ul>
|
|
280
|
+
*/
|
|
281
|
+
ContentType?: string;
|
|
282
|
+
/**
|
|
283
|
+
* @public
|
|
284
|
+
* <p>Content of the message or event. This is required when <code>Type</code> is
|
|
285
|
+
* <code>MESSAGE</code> and for certain <code>ContentTypes</code> when <code>Type</code> is
|
|
286
|
+
* <code>EVENT</code>.</p>
|
|
287
|
+
* <ul>
|
|
288
|
+
* <li>
|
|
289
|
+
* <p>For allowed message content, see the <code>Content</code> parameter in the <a href="https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_SendMessage.html">SendMessage</a> topic in the <i>Amazon Connect Participant Service API
|
|
290
|
+
* Reference</i>.</p>
|
|
291
|
+
* </li>
|
|
292
|
+
* <li>
|
|
293
|
+
* <p>For allowed event content, see the <code>Content</code> parameter in the <a href="https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_SendEvent.html">SendEvent</a> topic in the <i>Amazon Connect Participant Service API
|
|
294
|
+
* Reference</i>. </p>
|
|
295
|
+
* </li>
|
|
296
|
+
* </ul>
|
|
297
|
+
*/
|
|
298
|
+
Content?: string;
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
* @public
|
|
302
|
+
* <p>The customer's details.</p>
|
|
303
|
+
*/
|
|
304
|
+
export interface ParticipantDetails {
|
|
305
|
+
/**
|
|
306
|
+
* @public
|
|
307
|
+
* <p>Display name of the participant.</p>
|
|
308
|
+
*/
|
|
309
|
+
DisplayName: string | undefined;
|
|
310
|
+
}
|
|
5
311
|
/**
|
|
6
312
|
* @public
|
|
7
313
|
* <p>The streaming configuration, such as the Amazon SNS streaming endpoint.</p>
|
|
@@ -518,6 +824,34 @@ export type TrafficType = (typeof TrafficType)[keyof typeof TrafficType];
|
|
|
518
824
|
* @public
|
|
519
825
|
*/
|
|
520
826
|
export interface StartOutboundVoiceContactRequest {
|
|
827
|
+
/**
|
|
828
|
+
* @public
|
|
829
|
+
* <p>The name of a voice contact that is shown to an agent in the Contact Control Panel
|
|
830
|
+
* (CCP).</p>
|
|
831
|
+
*/
|
|
832
|
+
Name?: string;
|
|
833
|
+
/**
|
|
834
|
+
* @public
|
|
835
|
+
* <p>A description of the voice contact that is shown to an agent in the Contact Control Panel
|
|
836
|
+
* (CCP).</p>
|
|
837
|
+
*/
|
|
838
|
+
Description?: string;
|
|
839
|
+
/**
|
|
840
|
+
* @public
|
|
841
|
+
* <p>A formatted URL that is shown to an agent in the Contact Control Panel (CCP). Contacts can
|
|
842
|
+
* have the following reference types at the time of creation: <code>URL</code> | <code>NUMBER</code> | <code>STRING</code> | <code>DATE</code> | <code>EMAIL</code>.
|
|
843
|
+
* <code>ATTACHMENT</code> is not a supported reference type during voice contact creation.</p>
|
|
844
|
+
*/
|
|
845
|
+
References?: Record<string, Reference>;
|
|
846
|
+
/**
|
|
847
|
+
* @public
|
|
848
|
+
* <p>The <code>contactId</code> that is related to this contact. Linking voice, task, or chat by using
|
|
849
|
+
* <code>RelatedContactID</code> copies over contact attributes from the related contact to the new contact. All
|
|
850
|
+
* updates to user-defined attributes in the new contact are limited to the individual contact ID.
|
|
851
|
+
* There are no limits to the number of contacts that can be linked by using <code>RelatedContactId</code>.
|
|
852
|
+
* </p>
|
|
853
|
+
*/
|
|
854
|
+
RelatedContactId?: string;
|
|
521
855
|
/**
|
|
522
856
|
* @public
|
|
523
857
|
* <p>The phone number of the customer, in E.164 format.</p>
|
|
@@ -154,9 +154,11 @@ import { ListUsersCommandInput, ListUsersCommandOutput } from "../commands/ListU
|
|
|
154
154
|
import { ListViewsCommandInput, ListViewsCommandOutput } from "../commands/ListViewsCommand";
|
|
155
155
|
import { ListViewVersionsCommandInput, ListViewVersionsCommandOutput } from "../commands/ListViewVersionsCommand";
|
|
156
156
|
import { MonitorContactCommandInput, MonitorContactCommandOutput } from "../commands/MonitorContactCommand";
|
|
157
|
+
import { PauseContactCommandInput, PauseContactCommandOutput } from "../commands/PauseContactCommand";
|
|
157
158
|
import { PutUserStatusCommandInput, PutUserStatusCommandOutput } from "../commands/PutUserStatusCommand";
|
|
158
159
|
import { ReleasePhoneNumberCommandInput, ReleasePhoneNumberCommandOutput } from "../commands/ReleasePhoneNumberCommand";
|
|
159
160
|
import { ReplicateInstanceCommandInput, ReplicateInstanceCommandOutput } from "../commands/ReplicateInstanceCommand";
|
|
161
|
+
import { ResumeContactCommandInput, ResumeContactCommandOutput } from "../commands/ResumeContactCommand";
|
|
160
162
|
import { ResumeContactRecordingCommandInput, ResumeContactRecordingCommandOutput } from "../commands/ResumeContactRecordingCommand";
|
|
161
163
|
import { SearchAvailablePhoneNumbersCommandInput, SearchAvailablePhoneNumbersCommandOutput } from "../commands/SearchAvailablePhoneNumbersCommand";
|
|
162
164
|
import { SearchHoursOfOperationsCommandInput, SearchHoursOfOperationsCommandOutput } from "../commands/SearchHoursOfOperationsCommand";
|
|
@@ -845,6 +847,10 @@ export declare const se_ListViewVersionsCommand: (input: ListViewVersionsCommand
|
|
|
845
847
|
* serializeAws_restJson1MonitorContactCommand
|
|
846
848
|
*/
|
|
847
849
|
export declare const se_MonitorContactCommand: (input: MonitorContactCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
850
|
+
/**
|
|
851
|
+
* serializeAws_restJson1PauseContactCommand
|
|
852
|
+
*/
|
|
853
|
+
export declare const se_PauseContactCommand: (input: PauseContactCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
848
854
|
/**
|
|
849
855
|
* serializeAws_restJson1PutUserStatusCommand
|
|
850
856
|
*/
|
|
@@ -857,6 +863,10 @@ export declare const se_ReleasePhoneNumberCommand: (input: ReleasePhoneNumberCom
|
|
|
857
863
|
* serializeAws_restJson1ReplicateInstanceCommand
|
|
858
864
|
*/
|
|
859
865
|
export declare const se_ReplicateInstanceCommand: (input: ReplicateInstanceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
866
|
+
/**
|
|
867
|
+
* serializeAws_restJson1ResumeContactCommand
|
|
868
|
+
*/
|
|
869
|
+
export declare const se_ResumeContactCommand: (input: ResumeContactCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
860
870
|
/**
|
|
861
871
|
* serializeAws_restJson1ResumeContactRecordingCommand
|
|
862
872
|
*/
|
|
@@ -1761,6 +1771,10 @@ export declare const de_ListViewVersionsCommand: (output: __HttpResponse, contex
|
|
|
1761
1771
|
* deserializeAws_restJson1MonitorContactCommand
|
|
1762
1772
|
*/
|
|
1763
1773
|
export declare const de_MonitorContactCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<MonitorContactCommandOutput>;
|
|
1774
|
+
/**
|
|
1775
|
+
* deserializeAws_restJson1PauseContactCommand
|
|
1776
|
+
*/
|
|
1777
|
+
export declare const de_PauseContactCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PauseContactCommandOutput>;
|
|
1764
1778
|
/**
|
|
1765
1779
|
* deserializeAws_restJson1PutUserStatusCommand
|
|
1766
1780
|
*/
|
|
@@ -1773,6 +1787,10 @@ export declare const de_ReleasePhoneNumberCommand: (output: __HttpResponse, cont
|
|
|
1773
1787
|
* deserializeAws_restJson1ReplicateInstanceCommand
|
|
1774
1788
|
*/
|
|
1775
1789
|
export declare const de_ReplicateInstanceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ReplicateInstanceCommandOutput>;
|
|
1790
|
+
/**
|
|
1791
|
+
* deserializeAws_restJson1ResumeContactCommand
|
|
1792
|
+
*/
|
|
1793
|
+
export declare const de_ResumeContactCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ResumeContactCommandOutput>;
|
|
1776
1794
|
/**
|
|
1777
1795
|
* deserializeAws_restJson1ResumeContactRecordingCommand
|
|
1778
1796
|
*/
|
|
@@ -615,6 +615,10 @@ import {
|
|
|
615
615
|
MonitorContactCommandInput,
|
|
616
616
|
MonitorContactCommandOutput,
|
|
617
617
|
} from "./commands/MonitorContactCommand";
|
|
618
|
+
import {
|
|
619
|
+
PauseContactCommandInput,
|
|
620
|
+
PauseContactCommandOutput,
|
|
621
|
+
} from "./commands/PauseContactCommand";
|
|
618
622
|
import {
|
|
619
623
|
PutUserStatusCommandInput,
|
|
620
624
|
PutUserStatusCommandOutput,
|
|
@@ -627,6 +631,10 @@ import {
|
|
|
627
631
|
ReplicateInstanceCommandInput,
|
|
628
632
|
ReplicateInstanceCommandOutput,
|
|
629
633
|
} from "./commands/ReplicateInstanceCommand";
|
|
634
|
+
import {
|
|
635
|
+
ResumeContactCommandInput,
|
|
636
|
+
ResumeContactCommandOutput,
|
|
637
|
+
} from "./commands/ResumeContactCommand";
|
|
630
638
|
import {
|
|
631
639
|
ResumeContactRecordingCommandInput,
|
|
632
640
|
ResumeContactRecordingCommandOutput,
|
|
@@ -2967,6 +2975,19 @@ export interface Connect {
|
|
|
2967
2975
|
options: __HttpHandlerOptions,
|
|
2968
2976
|
cb: (err: any, data?: MonitorContactCommandOutput) => void
|
|
2969
2977
|
): void;
|
|
2978
|
+
pauseContact(
|
|
2979
|
+
args: PauseContactCommandInput,
|
|
2980
|
+
options?: __HttpHandlerOptions
|
|
2981
|
+
): Promise<PauseContactCommandOutput>;
|
|
2982
|
+
pauseContact(
|
|
2983
|
+
args: PauseContactCommandInput,
|
|
2984
|
+
cb: (err: any, data?: PauseContactCommandOutput) => void
|
|
2985
|
+
): void;
|
|
2986
|
+
pauseContact(
|
|
2987
|
+
args: PauseContactCommandInput,
|
|
2988
|
+
options: __HttpHandlerOptions,
|
|
2989
|
+
cb: (err: any, data?: PauseContactCommandOutput) => void
|
|
2990
|
+
): void;
|
|
2970
2991
|
putUserStatus(
|
|
2971
2992
|
args: PutUserStatusCommandInput,
|
|
2972
2993
|
options?: __HttpHandlerOptions
|
|
@@ -3006,6 +3027,19 @@ export interface Connect {
|
|
|
3006
3027
|
options: __HttpHandlerOptions,
|
|
3007
3028
|
cb: (err: any, data?: ReplicateInstanceCommandOutput) => void
|
|
3008
3029
|
): void;
|
|
3030
|
+
resumeContact(
|
|
3031
|
+
args: ResumeContactCommandInput,
|
|
3032
|
+
options?: __HttpHandlerOptions
|
|
3033
|
+
): Promise<ResumeContactCommandOutput>;
|
|
3034
|
+
resumeContact(
|
|
3035
|
+
args: ResumeContactCommandInput,
|
|
3036
|
+
cb: (err: any, data?: ResumeContactCommandOutput) => void
|
|
3037
|
+
): void;
|
|
3038
|
+
resumeContact(
|
|
3039
|
+
args: ResumeContactCommandInput,
|
|
3040
|
+
options: __HttpHandlerOptions,
|
|
3041
|
+
cb: (err: any, data?: ResumeContactCommandOutput) => void
|
|
3042
|
+
): void;
|
|
3009
3043
|
resumeContactRecording(
|
|
3010
3044
|
args: ResumeContactRecordingCommandInput,
|
|
3011
3045
|
options?: __HttpHandlerOptions
|
|
@@ -661,6 +661,10 @@ import {
|
|
|
661
661
|
MonitorContactCommandInput,
|
|
662
662
|
MonitorContactCommandOutput,
|
|
663
663
|
} from "./commands/MonitorContactCommand";
|
|
664
|
+
import {
|
|
665
|
+
PauseContactCommandInput,
|
|
666
|
+
PauseContactCommandOutput,
|
|
667
|
+
} from "./commands/PauseContactCommand";
|
|
664
668
|
import {
|
|
665
669
|
PutUserStatusCommandInput,
|
|
666
670
|
PutUserStatusCommandOutput,
|
|
@@ -673,6 +677,10 @@ import {
|
|
|
673
677
|
ReplicateInstanceCommandInput,
|
|
674
678
|
ReplicateInstanceCommandOutput,
|
|
675
679
|
} from "./commands/ReplicateInstanceCommand";
|
|
680
|
+
import {
|
|
681
|
+
ResumeContactCommandInput,
|
|
682
|
+
ResumeContactCommandOutput,
|
|
683
|
+
} from "./commands/ResumeContactCommand";
|
|
676
684
|
import {
|
|
677
685
|
ResumeContactRecordingCommandInput,
|
|
678
686
|
ResumeContactRecordingCommandOutput,
|
|
@@ -1123,9 +1131,11 @@ export type ServiceInputTypes =
|
|
|
1123
1131
|
| ListViewVersionsCommandInput
|
|
1124
1132
|
| ListViewsCommandInput
|
|
1125
1133
|
| MonitorContactCommandInput
|
|
1134
|
+
| PauseContactCommandInput
|
|
1126
1135
|
| PutUserStatusCommandInput
|
|
1127
1136
|
| ReleasePhoneNumberCommandInput
|
|
1128
1137
|
| ReplicateInstanceCommandInput
|
|
1138
|
+
| ResumeContactCommandInput
|
|
1129
1139
|
| ResumeContactRecordingCommandInput
|
|
1130
1140
|
| SearchAvailablePhoneNumbersCommandInput
|
|
1131
1141
|
| SearchHoursOfOperationsCommandInput
|
|
@@ -1353,9 +1363,11 @@ export type ServiceOutputTypes =
|
|
|
1353
1363
|
| ListViewVersionsCommandOutput
|
|
1354
1364
|
| ListViewsCommandOutput
|
|
1355
1365
|
| MonitorContactCommandOutput
|
|
1366
|
+
| PauseContactCommandOutput
|
|
1356
1367
|
| PutUserStatusCommandOutput
|
|
1357
1368
|
| ReleasePhoneNumberCommandOutput
|
|
1358
1369
|
| ReplicateInstanceCommandOutput
|
|
1370
|
+
| ResumeContactCommandOutput
|
|
1359
1371
|
| ResumeContactRecordingCommandOutput
|
|
1360
1372
|
| SearchAvailablePhoneNumbersCommandOutput
|
|
1361
1373
|
| SearchHoursOfOperationsCommandOutput
|
|
@@ -11,10 +11,8 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../ConnectClient";
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
DescribePromptResponse,
|
|
17
|
-
} from "../models/models_0";
|
|
14
|
+
import { DescribePromptRequest } from "../models/models_0";
|
|
15
|
+
import { DescribePromptResponse } from "../models/models_1";
|
|
18
16
|
export { __MetadataBearer, $Command };
|
|
19
17
|
export interface DescribePromptCommandInput extends DescribePromptRequest {}
|
|
20
18
|
export interface DescribePromptCommandOutput
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
DescribeQueueRequest,
|
|
16
16
|
DescribeQueueResponse,
|
|
17
|
-
} from "../models/
|
|
17
|
+
} from "../models/models_1";
|
|
18
18
|
export { __MetadataBearer, $Command };
|
|
19
19
|
export interface DescribeQueueCommandInput extends DescribeQueueRequest {}
|
|
20
20
|
export interface DescribeQueueCommandOutput
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
ConnectClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../ConnectClient";
|
|
14
|
+
import { PauseContactRequest, PauseContactResponse } from "../models/models_1";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
16
|
+
export interface PauseContactCommandInput extends PauseContactRequest {}
|
|
17
|
+
export interface PauseContactCommandOutput
|
|
18
|
+
extends PauseContactResponse,
|
|
19
|
+
__MetadataBearer {}
|
|
20
|
+
export declare class PauseContactCommand extends $Command<
|
|
21
|
+
PauseContactCommandInput,
|
|
22
|
+
PauseContactCommandOutput,
|
|
23
|
+
ConnectClientResolvedConfig
|
|
24
|
+
> {
|
|
25
|
+
readonly input: PauseContactCommandInput;
|
|
26
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
|
+
constructor(input: PauseContactCommandInput);
|
|
28
|
+
resolveMiddleware(
|
|
29
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
30
|
+
configuration: ConnectClientResolvedConfig,
|
|
31
|
+
options?: __HttpHandlerOptions
|
|
32
|
+
): Handler<PauseContactCommandInput, PauseContactCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
ConnectClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../ConnectClient";
|
|
14
|
+
import {
|
|
15
|
+
ResumeContactRequest,
|
|
16
|
+
ResumeContactResponse,
|
|
17
|
+
} from "../models/models_1";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface ResumeContactCommandInput extends ResumeContactRequest {}
|
|
20
|
+
export interface ResumeContactCommandOutput
|
|
21
|
+
extends ResumeContactResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class ResumeContactCommand extends $Command<
|
|
24
|
+
ResumeContactCommandInput,
|
|
25
|
+
ResumeContactCommandOutput,
|
|
26
|
+
ConnectClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: ResumeContactCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ResumeContactCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: ConnectClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<ResumeContactCommandInput, ResumeContactCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -11,8 +11,7 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../ConnectClient";
|
|
14
|
-
import { SearchUsersResponse } from "../models/
|
|
15
|
-
import { SearchUsersRequest } from "../models/models_2";
|
|
14
|
+
import { SearchUsersRequest, SearchUsersResponse } from "../models/models_2";
|
|
16
15
|
export { __MetadataBearer, $Command };
|
|
17
16
|
export interface SearchUsersCommandInput extends SearchUsersRequest {}
|
|
18
17
|
export interface SearchUsersCommandOutput
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
SearchVocabulariesRequest,
|
|
16
16
|
SearchVocabulariesResponse,
|
|
17
|
-
} from "../models/
|
|
17
|
+
} from "../models/models_2";
|
|
18
18
|
export { __MetadataBearer, $Command };
|
|
19
19
|
export interface SearchVocabulariesCommandInput
|
|
20
20
|
extends SearchVocabulariesRequest {}
|
|
@@ -152,9 +152,11 @@ export * from "./ListUsersCommand";
|
|
|
152
152
|
export * from "./ListViewVersionsCommand";
|
|
153
153
|
export * from "./ListViewsCommand";
|
|
154
154
|
export * from "./MonitorContactCommand";
|
|
155
|
+
export * from "./PauseContactCommand";
|
|
155
156
|
export * from "./PutUserStatusCommand";
|
|
156
157
|
export * from "./ReleasePhoneNumberCommand";
|
|
157
158
|
export * from "./ReplicateInstanceCommand";
|
|
159
|
+
export * from "./ResumeContactCommand";
|
|
158
160
|
export * from "./ResumeContactRecordingCommand";
|
|
159
161
|
export * from "./SearchAvailablePhoneNumbersCommand";
|
|
160
162
|
export * from "./SearchHoursOfOperationsCommand";
|